[dss-buildreports] Build failed in Hudson: dss-git #13432
dss-buildreports at forum.digitalstrom.org
dss-buildreports at forum.digitalstrom.org
Mon May 3 16:11:08 CEST 2010
See <http://192.168.1.244:8080/job/dss-git/13432/changes>
Changes:
[Sergey 'Jin' Bostandzhyan] Made subscription event listener class reusable
So far webservices were using a WebServiceEventListener class which was
not exposed to the rest of the code.
Separated it out of the webservices so that it can be used somewhere
else.
[Sergey 'Jin' Bostandzhyan] Merge branch 'master' of git://gitorious.digitalstrom.org/dss/dss-mainline into feature-277
[Sergey 'Jin' Bostandzhyan] Added JSON eventing API
Subscribe to event:
json/event/subscribe?token=int&name=string
Unsubscribe from event:
json/event/unsubscribe?token=int
Get event data (this call blocks if no data is available!!):
json/event/get?token=int
[Sergey 'Jin' Bostandzhyan] Added possibility to store arbitrary data
Whoever uses a session may need to store arbitrary data in the session
object. Implemented a possibility to store any data which is identified
by a string key.
[Sergey 'Jin' Bostandzhyan] Making use of the new data storing mechanism
Event request handler is now using the new possibilities of the session
object to store various data that it needs for event subscription
processing.
[Sergey 'Jin' Bostandzhyan] Added libcore at the end of the chain
Solves a linker problem, where webservices failed to find event
collector symbols.
[Sergey 'Jin' Bostandzhyan] Added documentation for new event functions
Documented /json/event - subscribe/unsubscribe/get
[Sergey 'Jin' Bostandzhyan] Updated copyright headers
[Sergey 'Jin' Bostandzhyan] First version of cookie based session handling
All json calls will now look for a session cookie "token" and will ask
the session manager for the session. If the cookie is not found, a
Set-Cookie header with an appropriate session id is generated and passed
to the browser. The browser will then issue all further request with our
cookie in the headers, which allows us to identify the session.
The session will be passed to the handlers, which may store any data
they need.
TODO
* currently sessions remain forever, we need a mechanism to track idle
sessions and remove them after they time out
* so far the cookies are handled in the json callback, we need to add
some sort of "cookie manager" class that will take care of parsing the
cookie, generating a new session and updating the cookie, etc.
* make sure that the cookies are handled not only within the json
callback, but for all HTTP requests going to dSS
[Sergey 'Jin' Bostandzhyan] Not using shared_ptr as reference anymore
[Patrick Stählin] assert that we can bind to the SOAP socket on startup
[Patrick Stählin] print out error if we can't accept() SOAP connection
[Patrick Stählin] open SOAP socket with SO_REUSEADDR
[Patrick Stählin] Using ssl again
Did some debugging without ssl and forgot to turn ssl on again
[Patrick Stählin] Added shortAddress to device properties
...needed for ping.
[Patrick Stählin] Configurable log directory for js plugin logs
[Patrick Stählin] Added js logger extension
This extension allows js plugins to log stuff into separate log files.
var l = new Logger("logfile.log");
l.log("some string\n");
l.log("some other string\n");
The log files go to the log directory that can be configured via the
property tree.
[Patrick Stählin] Worked on EventRelayTarget
* Added tests
* New InternalEventRelayTarget for relaying events to functions
* Cleanup in subscription code
* Don't rely on DSS::getInstance
[Patrick Stählin] Made sure that "Command" is set correctly
The function that converts the frame from js to native object was not
setting the command so the frame got discarded by the
BusInterfaceHandler.
[Patrick Stählin] Added logln function (automatic line breaks)
[Patrick Stählin] Made sure that new logfiles are downloadable
Making new logfiles available to the webserver for download.
[Patrick Stählin] Renamed xxxLogDirectory to xxxJSLogDirectory
[Patrick Stählin] Automatically allowing to download all js logfiles
At start we will go through the js log directory and offer *.log and
*.LOG files for download via the webserver.
[Patrick Stählin] Simplified JSON that is returned by an event
[Patrick Stählin] Added .byShortAddress(meterid, shortaddr) function
[Patrick Stählin] Made sure to list js logs under js properties too
[Patrick Stählin] First version of the ping script
Pinging multiple devices does not yet work, Patrick will have a closer
look
[Patrick Stählin] Root objects and callback functions in JS
[Patrick Stählin] Don't set the type but the command
[Patrick Stählin] Works with libjs 1.7 and takes seconds not msec
[Patrick Stählin] Tests almost working again
[Patrick Stählin] Fixed function check when using xulrunner for js
Copied/adapted CheckFunctionExists from:
http://code.google.com/p/google-gadgets-for-linux/source/browse/
trunk/cmake/GGLCheckFunctionExists.cmake
[Patrick Stählin] Disable JS_Set/ClearContextThread calls for now
This stops the deadlocking of the unit-tests but it's still unclear if
we even need those calls so I've just commented them out.
[Patrick Stählin] Use a mutex to guard the use-count of a Session
[Patrick Stählin] Don't use shared_ptr::get() for comparison to NULL
It just bloats the code but doesn't add any functionality as the
overloaded operator== does the same thing.
[Patrick Stählin] Factored-out log-loading into a separate function
* Use boost to iterate the files
* Some whitespace corrections
[Patrick Stählin] Merge branch 'ping_integration' of git://gitorious.digitalstrom.org/~packi/dss/packis-dss-mainline
------------------------------------------
Build wurde durch eine SCM-Änderung ausgelöst.
Checkout:workspace / <http://192.168.1.244:8080/job/dss-git/ws/> - hudson.remoting.LocalChannel at 791a9134
Last Build : #13431
Last Built Revision: Revision a3a6163a0eeaa2a508a6c44dd6e8cefbb4a49241 (origin/master )
Checkout:workspace / <http://192.168.1.244:8080/job/dss-git/ws/> - hudson.remoting.LocalChannel at 791a9134
Fetching changes from the remote Git repository
Fetching upstream changes from git://gitorious.digitalstrom.org/dss/dss-mainline.git
[workspace] $ git fetch git://gitorious.digitalstrom.org/dss/dss-mainline.git +refs/heads/*:refs/remotes/origin/*
[workspace] $ git ls-tree HEAD
Fetching upstream changes from git://gitorious.digitalstrom.org/dss/dss-mainline.git/websrc/.git
[websrc] $ git fetch git://gitorious.digitalstrom.org/dss/dss-mainline.git/websrc/.git +refs/heads/*:refs/remotes/origin/*
fatal: protocol error: expected sha/ref, got '
----------------------------------------------
Cannot find repository: /dss/dss-mainline.git/websrc/.git
----------------------------------------------'
ERROR: Problem fetching from origin - could be unavailable. Continuing anyway
Seen branch in repository origin/0.7.6
Seen branch in repository origin/0.7.8
Seen branch in repository origin/0.7.7
Seen branch in repository origin/master
Commencing build of Revision 66e3b05bc0d271d5b47a71a1e0c2844dbb3d296e (origin/master )
Checking out Revision 66e3b05bc0d271d5b47a71a1e0c2844dbb3d296e (origin/master )
[workspace] $ git checkout -f 66e3b05bc0d271d5b47a71a1e0c2844dbb3d296e
[workspace] $ git submodule init
Fetching upstream changes from git://gitorious.digitalstrom.org/dss/dss-mainline.git
[workspace] $ git fetch git://gitorious.digitalstrom.org/dss/dss-mainline.git +refs/heads/*:refs/remotes/origin/*
[workspace] $ git ls-tree HEAD
Fetching upstream changes from git://gitorious.digitalstrom.org/dss/dss-mainline.git/websrc/.git
[websrc] $ git fetch git://gitorious.digitalstrom.org/dss/dss-mainline.git/websrc/.git +refs/heads/*:refs/remotes/origin/*
fatal: protocol error: expected sha/ref, got '
----------------------------------------------
Cannot find repository: /dss/dss-mainline.git/websrc/.git
----------------------------------------------'
ERROR: Problem fetching from origin - could be unavailable. Continuing anyway
[workspace] $ git submodule update
[workspace] $ git tag -a -f -m "Hudson Build #13432" hudson-dss-git-13432
Recording changes in branch origin/master
[workspace] $ git log --numstat -M --summary --pretty=raw a3a6163a0eeaa2a508a6c44dd6e8cefbb4a49241..66e3b05bc0d271d5b47a71a1e0c2844dbb3d296e
[workspace] $ /bin/sh -xe /tmp/hudson2979478062371128335.sh
+ <http://192.168.1.244:8080/job/dss-git/ws/tools/hudson_cmake_build> <http://192.168.1.244:8080/job/dss-git/ws/>
gsoap: 2.7
libxml-2.0: 2.7.5
Using built-in specs.
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu 4.4.1-4ubuntu8' --with-bugurl=file:///usr/share/doc/gcc-4.4/README.Bugs --enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --enable-shared --enable-multiarch --enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.4 --program-suffix=-4.4 --enable-nls --enable-clocale=gnu --enable-libstdcxx-debug --enable-objc-gc --disable-werror --with-arch-32=i486 --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
gcc version 4.4.1 (Ubuntu 4.4.1-4ubuntu8)
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Performing Test HAVE_WNO_DEPRECATED
-- Performing Test HAVE_WNO_DEPRECATED - Success
-- Looking for include files HAVE_STDINT
-- Looking for include files HAVE_STDINT - found
-- Could NOT find Avahi (missing: AVAHI_LIBRARY-COMMON AVAHI_LIBRARY-CLIENT AVAHI_INCLUDE_DIR)
-- Could NOT find DNSSD (missing: DNSSD_LIBRARY-COMMON DNSSD_INCLUDE_DIR)
-- Found SpiderMonkey: /usr/local/lib/libjs.so
-- Looking for include files HAVE_MOZJS_JSAPI_H
-- Looking for include files HAVE_MOZJS_JSAPI_H - not found.
-- Looking for include files HAVE_JS_JSAPI_H
-- Looking for include files HAVE_JS_JSAPI_H - found
-- Looking for include files HAVE_JSAPI_H
-- Looking for include files HAVE_JSAPI_H - not found.
-- Looking for JS_ClearContextThread
-- Looking for JS_ClearContextThread - not found
CMake Error at CMakeLists.txt:110 (message):
Need threadsafe build of spidermonkey (libjs)
-- Configuring incomplete, errors occurred!
More information about the dss-buildreports
mailing list