Build failed in Jenkins: Platform-IntegrationTests #1525

41 views
Skip to first unread message

Jenkins

unread,
May 11, 2015, 9:13:25 AM5/11/15
to motec...@googlegroups.com, aman.ja...@gmail.com
See <http://ci.motechproject.org/job/Platform-IntegrationTests/1525/changes>

Changes:

[aman.jaiswal53] MOTECH-1506: Make email field optional in user profile.

------------------------------------------
[...truncated 3284 lines...]
[INFO] motech-platform-osgi-web-util-0.26-SNAPSHOT.jar already exists in destination.
[INFO] commons-io-2.4.jar already exists in destination.
[INFO] plexus-container-default-1.5.5.jar already exists in destination.
[INFO] mysql-connector-java-5.1.32.jar already exists in destination.
[INFO] pax-url-aether-1.6.0.jar already exists in destination.
[INFO] spring-expression-3.1.0.RELEASE.jar already exists in destination.
[INFO] aether-spi-1.13.1.jar already exists in destination.
[INFO] spring-security-config-3.1.0.RELEASE.jar already exists in destination.
[INFO] postgresql-9.1-901.jdbc4.jar already exists in destination.
[INFO] ops4j-base-util-property-1.4.0.jar already exists in destination.
[INFO] openid4java-nodeps-0.9.6.jar already exists in destination.
[INFO] motech-platform-osgi-extender-fragment-0.26-SNAPSHOT.jar already exists in destination.
[INFO] slf4j-log4j12-1.7.2.jar already exists in destination.
[INFO] spring-security-openid-3.1.0.RELEASE.jar already exists in destination.
[INFO] motech-platform-commons-date-0.26-SNAPSHOT.jar already exists in destination.
[INFO] guava-18.0.jar already exists in destination.
[INFO] spring-security-core-3.1.0.RELEASE.jar already exists in destination.
[INFO] datanucleus-rdbms-3.2.12.jar already exists in destination.
[INFO] kahadb-5.4.2.jar already exists in destination.
[INFO] commons-digester-2.1.jar already exists in destination.
[INFO] org.apache.servicemix.bundles.paranamer-2.6_1.jar already exists in destination.
[INFO] pax-url-maven-commons-1.6.0.jar already exists in destination.
[INFO] commons-logging-1.1.1.jar already exists in destination.
[INFO] org.motechproject.com.google.code.gson-1.7.1-r029.jar already exists in destination.
[INFO] jsoup-1.6.1.jar already exists in destination.
[INFO] commons-lang-2.6.jar already exists in destination.
[INFO] commons-net-3.2.jar already exists in destination.
[INFO] maven-scm-api-1.4.jar already exists in destination.
[INFO] aether-api-1.13.1.jar already exists in destination.
[INFO] maven-scm-provider-svnexe-1.4.jar already exists in destination.
[INFO] asm-5.0.3.jar already exists in destination.
[INFO] annotations-2.0.1.jar already exists in destination.
[INFO] spring-integration-core-2.1.0.RELEASE.jar already exists in destination.
[INFO] httpclient-cache-4.4.1.jar already exists in destination.
[INFO] spring-web-3.1.0.RELEASE.jar already exists in destination.
[INFO] jdo-api-3.0.1.jar already exists in destination.
[INFO] spring-webmvc-3.1.0.RELEASE.jar already exists in destination.
[INFO] httpcore-nio-4.4.1.jar already exists in destination.
[INFO] log4j-1.2.17.jar already exists in destination.
[INFO] slf4j-api-1.7.2.jar already exists in destination.
[INFO] org.eclipse.gemini.blueprint.core-1.0.2.RELEASE.jar already exists in destination.
[INFO] aether-util-1.13.1.jar already exists in destination.
[INFO] org.eclipse.gemini.blueprint.extender-1.0.2.RELEASE.jar already exists in destination.
[INFO] reflections-0.9.9.jar already exists in destination.
[INFO] xbean-reflect-3.4.jar already exists in destination.
[INFO] motech-platform-server-config-0.26-SNAPSHOT.jar already exists in destination.
[INFO] spring-context-support-3.1.0.RELEASE.jar already exists in destination.
[INFO] pax-url-commons-1.6.0.jar already exists in destination.
[INFO] maven-model-builder-3.0.4.jar already exists in destination.
[INFO] time-api-0.6.3.jar already exists in destination.
[INFO] paranamer-2.6-sources.jar already exists in destination.
[INFO] com.springsource.org.cyberneko.html-1.9.13.jar already exists in destination.
[INFO] aopalliance-1.0.jar already exists in destination.
[INFO] jta-1.1.jar already exists in destination.
[INFO] plexus-interpolation-1.14.jar already exists in destination.
[INFO] jcl-over-slf4j-1.7.2.jar already exists in destination.
[INFO] datanucleus-jodatime-3.2.1.jar already exists in destination.
[INFO] plexus-utils-2.0.6.jar already exists in destination.
[INFO] org.motechproject.org.codehaus.jackson-1.9.7-r029.jar already exists in destination.
[INFO] org.apache.servicemix.bundles.aspectj-1.8.5_1.jar already exists in destination.
[INFO] datanucleus-api-jdo-3.2.7.jar already exists in destination.
[INFO] spring-security-web-3.1.0.RELEASE.jar already exists in destination.
[INFO] com.springsource.javax.xml.soap-1.3.0.jar already exists in destination.
[INFO] org.motechproject.org.postgresql-9.1-901.jdbc4-r029.jar already exists in destination.
[INFO] commons-collections-3.2.1.jar already exists in destination.
[INFO] jackrabbit-webdav-2.9.1.jar already exists in destination.
[INFO] ops4j-base-lang-1.4.0.jar already exists in destination.
[INFO] org.apache.servicemix.bundles.cglib-2.2.2_1.jar already exists in destination.
[INFO] commons-codec-1.10.jar already exists in destination.
[INFO] com.springsource.javax.transaction-1.1.0.jar already exists in destination.
[INFO] spring-beans-3.1.0.RELEASE.jar already exists in destination.
[INFO] flyway-core-2.3.1.jar already exists in destination.
[INFO] ops4j-base-util-xml-1.4.0.jar already exists in destination.
[INFO] org.apache.servicemix.bundles.velocity-1.6.4_4.jar already exists in destination.
[INFO] motech-platform-dataservices-0.26-SNAPSHOT.jar already exists in destination.
[INFO] spring-tx-3.1.0.RELEASE.jar already exists in destination.
[INFO] com.springsource.org.openid4java-0.9.5.jar already exists in destination.
[INFO] pax-swissbox-property-1.7.0.jar already exists in destination.
[INFO] ow2-ejb-3.1-spec-1.0.13.jar already exists in destination.
[INFO] org.apache.servicemix.bundles.hamcrest-1.3_1.jar already exists in destination.
[INFO] org.apache.felix.http.api-2.2.0.jar already exists in destination.
[INFO] commons-vfs2-2.0.jar already exists in destination.
[INFO] org.eclipse.gemini.blueprint.io-1.0.2.RELEASE.jar already exists in destination.
[INFO] org.apache.servicemix.bundles.dom4j-1.6.1_5.jar already exists in destination.
[INFO] plexus-component-annotations-1.5.5.jar already exists in destination.
[INFO] httpclient-4.4.1.jar already exists in destination.
[INFO] javax.management.j2ee-api-1.1.1.jar already exists in destination.
[INFO] spring-aop-3.1.0.RELEASE.jar already exists in destination.
[INFO] maven-scm-provider-svn-commons-1.4.jar already exists in destination.
[INFO] org.motechproject.org.quartz-scheduler-2.1.5-r029.jar already exists in destination.
[INFO] wagon-file-1.0.jar already exists in destination.
[INFO] org.apache.servicemix.bundles.c3p0-0.9.1.2_1.jar already exists in destination.
[INFO] wagon-http-lightweight-1.0.jar already exists in destination.
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ motech-platform-web-security ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 29 resources
[INFO]
[INFO] --- maven-compiler-plugin:2.5.1:compile (default-compile) @ motech-platform-web-security ---
[INFO] Compiling 82 source files to <http://ci.motechproject.org/job/Platform-IntegrationTests/ws/platform/web-security/target/classes>
[INFO]
[INFO] >>> maven-pmd-plugin:2.7.1:check (default) @ motech-platform-web-security >>>
[INFO]
[INFO] --- maven-pmd-plugin:2.7.1:pmd (pmd) @ motech-platform-web-security ---
[INFO]
[INFO] <<< maven-pmd-plugin:2.7.1:check (default) @ motech-platform-web-security <<<
[INFO]
[INFO] --- maven-pmd-plugin:2.7.1:check (default) @ motech-platform-web-security ---
[INFO]
[INFO]
[INFO] >>> maven-pmd-plugin:2.7.1:cpd-check (default) @ motech-platform-web-security >>>
[INFO]
[INFO] --- maven-pmd-plugin:2.7.1:cpd (cpd) @ motech-platform-web-security ---
[INFO]
[INFO] <<< maven-pmd-plugin:2.7.1:cpd-check (default) @ motech-platform-web-security <<<
[INFO]
[INFO] --- maven-pmd-plugin:2.7.1:cpd-check (default) @ motech-platform-web-security ---
[INFO]
[INFO]
[INFO] --- maven-checkstyle-plugin:2.10:check (default) @ motech-platform-web-security ---
[INFO] Starting audit...
<http://ci.motechproject.org/job/Platform-IntegrationTests/ws/platform/web-security/src/main/java/org/motechproject/security/service/SecurityRuleLoader.java>:51:26: '}' is not followed by whitespace.
<http://ci.motechproject.org/job/Platform-IntegrationTests/ws/platform/web-security/src/main/java/org/motechproject/security/service/SecurityRoleLoader.java>:47:26: '}' is not followed by whitespace.
<http://ci.motechproject.org/job/Platform-IntegrationTests/ws/platform/web-security/src/main/java/org/motechproject/security/osgi/RolePermissionRegistrationListener.java>:33:21: warning: Variable 'trackerOpened' explicitly initialized to 'false' (default value for its type).
Audit done.

[INFO]
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ motech-platform-web-security ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 11 resources
[INFO]
[INFO] --- maven-compiler-plugin:2.5.1:testCompile (default-testCompile) @ motech-platform-web-security ---
[INFO] Compiling 32 source files to <http://ci.motechproject.org/job/Platform-IntegrationTests/ws/platform/web-security/target/test-classes>
[INFO]
[INFO] --- maven-surefire-plugin:2.17:test (default-test) @ motech-platform-web-security ---
[INFO] Tests are skipped.
[INFO]
[INFO] --- maven-bundle-plugin:2.3.4:bundle (default-bundle) @ motech-platform-web-security ---
[INFO]
[INFO] --- maven-resources-plugin:2.6:copy-resources (copy-bundles) @ motech-platform-web-security ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO]
[INFO] --- maven-resources-plugin:2.6:copy-resources (copy-test-config-files) @ motech-platform-web-security ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO] Copying 1 resource
[INFO]
[INFO] --- sql-maven-plugin:1.5:execute (drop-db) @ motech-platform-web-security ---
[INFO] Executing commands
[INFO] 1 of 1 SQL statements executed successfully
[INFO]
[INFO] --- sql-maven-plugin:1.5:execute (create-db) @ motech-platform-web-security ---
[INFO] Executing commands
[INFO] 1 of 1 SQL statements executed successfully
[INFO]
[INFO] --- maven-failsafe-plugin:2.17:integration-test (integration-test) @ motech-platform-web-security ---
[INFO] Failsafe report directory: <http://ci.motechproject.org/job/Platform-IntegrationTests/ws/platform/web-security/target/failsafe-reports>

-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running org.motechproject.security.it.WebSecurityBundleIntegrationTests
[INFO] Started jetty 6.1.x at port(s) HTTP:8282
2015-05-11 13:13:26,637 ERROR [org.ops4j.pax.exam.nat.internal.NativeTestContainer] Bundle [org.motechproject.motech-platform-web-security [13]] is not resolved
2015-05-11 13:13:26,649 ERROR [org.ops4j.pax.exam.nat.internal.NativeTestContainer] Bundle [org.motechproject.motech-platform-server-config [72]] is not resolved
2015-05-11 13:13:26,649 ERROR [org.ops4j.pax.exam.nat.internal.NativeTestContainer] Bundle [org.motechproject.motech-osgi-integration-tests [100]] is not resolved
[INFO] Initializing Spring FrameworkServlet 'servlet_1'
[INFO] Initialized servlet for org.motechproject.motech-platform-osgi-web-util [44]
May 11, 2015 1:13:36 PM com.googlecode.flyway.core.metadatatable.MetaDataTableImpl createIfNotExists
INFO: Creating Metadata table: `motech_data_services`.`schema_version`
May 11, 2015 1:13:36 PM com.googlecode.flyway.core.command.DbMigrate migrate
INFO: Current version of schema `motech_data_services`: << Empty Schema >>
May 11, 2015 1:13:36 PM com.googlecode.flyway.core.command.DbMigrate applyMigration
INFO: Migrating schema `motech_data_services` to version 1
May 11, 2015 1:13:37 PM com.googlecode.flyway.core.command.DbMigrate applyMigration
INFO: Migrating schema `motech_data_services` to version 2
May 11, 2015 1:13:37 PM com.googlecode.flyway.core.command.DbMigrate applyMigration
INFO: Migrating schema `motech_data_services` to version 3
May 11, 2015 1:13:37 PM com.googlecode.flyway.core.command.DbMigrate applyMigration
INFO: Migrating schema `motech_data_services` to version 4
May 11, 2015 1:13:37 PM com.googlecode.flyway.core.command.DbMigrate applyMigration
INFO: Migrating schema `motech_data_services` to version 5
May 11, 2015 1:13:37 PM com.googlecode.flyway.core.command.DbMigrate applyMigration
INFO: Migrating schema `motech_data_services` to version 6
May 11, 2015 1:13:37 PM com.googlecode.flyway.core.command.DbMigrate applyMigration
INFO: Migrating schema `motech_data_services` to version 7
May 11, 2015 1:13:37 PM com.googlecode.flyway.core.command.DbMigrate applyMigration
INFO: Migrating schema `motech_data_services` to version 8
May 11, 2015 1:13:38 PM com.googlecode.flyway.core.command.DbMigrate applyMigration
INFO: Migrating schema `motech_data_services` to version 9
May 11, 2015 1:13:38 PM com.googlecode.flyway.core.command.DbMigrate applyMigration
INFO: Migrating schema `motech_data_services` to version 10
May 11, 2015 1:13:38 PM com.googlecode.flyway.core.command.DbMigrate applyMigration
INFO: Migrating schema `motech_data_services` to version 11
May 11, 2015 1:13:38 PM com.googlecode.flyway.core.command.DbMigrate applyMigration
INFO: Migrating schema `motech_data_services` to version 12
May 11, 2015 1:13:38 PM com.googlecode.flyway.core.command.DbMigrate applyMigration
INFO: Migrating schema `motech_data_services` to version 13
May 11, 2015 1:13:38 PM com.googlecode.flyway.core.command.DbMigrate applyMigration
INFO: Migrating schema `motech_data_services` to version 14
May 11, 2015 1:13:38 PM com.googlecode.flyway.core.command.DbMigrate applyMigration
INFO: Migrating schema `motech_data_services` to version 15
May 11, 2015 1:13:38 PM com.googlecode.flyway.core.command.DbMigrate applyMigration
INFO: Migrating schema `motech_data_services` to version 16
May 11, 2015 1:13:38 PM com.googlecode.flyway.core.command.DbMigrate applyMigration
INFO: Migrating schema `motech_data_services` to version 17
May 11, 2015 1:13:38 PM com.googlecode.flyway.core.command.DbMigrate applyMigration
INFO: Migrating schema `motech_data_services` to version 18
May 11, 2015 1:13:38 PM com.googlecode.flyway.core.command.DbMigrate applyMigration
INFO: Migrating schema `motech_data_services` to version 19
May 11, 2015 1:13:38 PM com.googlecode.flyway.core.command.DbMigrate applyMigration
INFO: Migrating schema `motech_data_services` to version 20
May 11, 2015 1:13:38 PM com.googlecode.flyway.core.command.DbMigrate applyMigration
INFO: Migrating schema `motech_data_services` to version 21
May 11, 2015 1:13:38 PM com.googlecode.flyway.core.command.DbMigrate applyMigration
INFO: Migrating schema `motech_data_services` to version 22
May 11, 2015 1:13:38 PM com.googlecode.flyway.core.command.DbMigrate applyMigration
INFO: Migrating schema `motech_data_services` to version 23
May 11, 2015 1:13:38 PM com.googlecode.flyway.core.command.DbMigrate applyMigration
INFO: Migrating schema `motech_data_services` to version 24
May 11, 2015 1:13:38 PM com.googlecode.flyway.core.command.DbMigrate applyMigration
INFO: Migrating schema `motech_data_services` to version 25
May 11, 2015 1:13:38 PM com.googlecode.flyway.core.command.DbMigrate applyMigration
INFO: Migrating schema `motech_data_services` to version 26
May 11, 2015 1:13:38 PM com.googlecode.flyway.core.command.DbMigrate applyMigration
INFO: Migrating schema `motech_data_services` to version 27
May 11, 2015 1:13:38 PM com.googlecode.flyway.core.command.DbMigrate applyMigration
INFO: Migrating schema `motech_data_services` to version 28
May 11, 2015 1:13:38 PM com.googlecode.flyway.core.command.DbMigrate applyMigration
INFO: Migrating schema `motech_data_services` to version 29
May 11, 2015 1:13:38 PM com.googlecode.flyway.core.command.DbMigrate applyMigration
INFO: Migrating schema `motech_data_services` to version 30
May 11, 2015 1:13:38 PM com.googlecode.flyway.core.command.DbMigrate applyMigration
INFO: Migrating schema `motech_data_services` to version 31
May 11, 2015 1:13:38 PM com.googlecode.flyway.core.command.DbMigrate applyMigration
INFO: Migrating schema `motech_data_services` to version 32
May 11, 2015 1:13:38 PM com.googlecode.flyway.core.command.DbMigrate applyMigration
INFO: Migrating schema `motech_data_services` to version 33
May 11, 2015 1:13:38 PM com.googlecode.flyway.core.command.DbMigrate applyMigration
INFO: Migrating schema `motech_data_services` to version 34
May 11, 2015 1:13:38 PM com.googlecode.flyway.core.command.DbMigrate logSummary
INFO: Successfully applied 34 migrations to schema `motech_data_services` (execution time 00:02.860s).
2015-05-11 13:14:09,782 INFO [org.motechproject.security.osgi.Activator] Starting web security bundle
[INFO] Initializing Spring FrameworkServlet 'servlet_3'
2015-05-11 13:14:09,797 INFO [org.motechproject.security.osgi.Activator$WebSecurityApplicationContext] Refreshing Activator.WebSecurityApplicationContext(bundle=org.motechproject.motech-platform-web-security, config=osgibundle:/META-INF/spring/*.xml): startup date [Mon May 11 13:14:09 UTC 2015]; root of context hierarchy
2015-05-11 13:14:09,798 INFO [org.motechproject.security.osgi.Activator$WebSecurityApplicationContext] Application Context service already unpublished
Build step 'Invoke top-level Maven targets' marked build as failure
Recording test results

Jenkins

unread,
May 11, 2015, 3:18:11 PM5/11/15
to motec...@googlegroups.com, r...@larubbio.org, tst...@soldevelo.com, aman.ja...@gmail.com
See <http://ci.motechproject.org/job/Platform-IntegrationTests/1526/changes>

Changes:

[tstalka] MOTECH-1588: bundle admin privileges reset when installing/uploading

[rob] Add a method to SimpleHttpClient that returns a SimpleHttpResponse so

------------------------------------------
[...truncated 16305 lines...]
INFO: Stopping service Catalina
May 11, 2015 7:19:16 PM org.apache.catalina.core.ApplicationContext log
INFO: SessionListener: contextDestroyed()
May 11, 2015 7:19:16 PM org.apache.catalina.core.ApplicationContext log
INFO: ContextListener: contextDestroyed()
May 11, 2015 7:19:16 PM org.apache.catalina.core.ApplicationContext log
INFO: Destroying Spring FrameworkServlet 'bootstrap-servlet'
[INFO] Destroying Spring FrameworkServlet 'servlet_3'
[INFO] Destroying Spring FrameworkServlet 'servlet_5'
May 11, 2015 7:19:16 PM org.apache.catalina.core.ApplicationContext log
INFO: Closing Spring root WebApplicationContext
May 11, 2015 7:19:16 PM org.apache.catalina.loader.WebappClassLoader clearReferencesJdbc
SEVERE: The web application [/motech-platform-server] registered the JDBC driver [com.mysql.fabric.jdbc.FabricMySQLDriver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.
May 11, 2015 7:19:16 PM org.apache.catalina.loader.WebappClassLoader clearReferencesJdbc
SEVERE: The web application [/motech-platform-server] registered the JDBC driver [org.postgresql.Driver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.
May 11, 2015 7:19:16 PM org.apache.catalina.loader.WebappClassLoader clearReferencesJdbc
SEVERE: The web application [/motech-platform-server] registered the JDBC driver [com.mysql.jdbc.Driver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.
May 11, 2015 7:19:16 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [/motech-platform-server] appears to have started a thread named [FelixDispatchQueue] but has failed to stop it. This is very likely to create a memory leak.
May 11, 2015 7:19:16 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [/motech-platform-server] appears to have started a thread named [FelixStartLevel] but has failed to stop it. This is very likely to create a memory leak.
May 11, 2015 7:19:16 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [/motech-platform-server] appears to have started a thread named [SCR Component Actor] but has failed to stop it. This is very likely to create a memory leak.
May 11, 2015 7:19:16 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [/motech-platform-server] appears to have started a thread named [Gemini Blueprint context shutdown thread] but has failed to stop it. This is very likely to create a memory leak.
May 11, 2015 7:19:16 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [/motech-platform-server] appears to have started a thread named [Spring DM Context Creation Timer] but has failed to stop it. This is very likely to create a memory leak.
May 11, 2015 7:19:16 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [/motech-platform-server] appears to have started a thread named [Gemini Blueprint context shutdown thread] but has failed to stop it. This is very likely to create a memory leak.
May 11, 2015 7:19:16 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [/motech-platform-server] appears to have started a thread named [Spring DM Context Creation Timer] but has failed to stop it. This is very likely to create a memory leak.
May 11, 2015 7:19:16 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [/motech-platform-server] appears to have started a thread named [Thread-81] but has failed to stop it. This is very likely to create a memory leak.
May 11, 2015 7:19:16 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [/motech-platform-server] appears to have started a thread named [FelixShutdown] but has failed to stop it. This is very likely to create a memory leak.
May 11, 2015 7:19:16 PM org.apache.catalina.loader.WebappClassLoader checkThreadLocalMapForLeaks
SEVERE: The web application [/motech-platform-server] created a ThreadLocal with key of type [org.springframework.core.NamedInheritableThreadLocal] (value [Current invoker bundle context]) and a value of type [org.apache.felix.framework.BundleContextImpl] (value [org.apache.felix.framework.BundleContextImpl@7863d7a3]) but failed to remove it when the web application was stopped. Threads are going to be renewed over time to try and avoid a probable memory leak.
May 11, 2015 7:19:16 PM org.apache.catalina.loader.WebappClassLoader checkThreadLocalMapForLeaks
SEVERE: The web application [/motech-platform-server] created a ThreadLocal with key of type [org.springframework.core.NamedInheritableThreadLocal] (value [Current invoker bundle context]) and a value of type [org.apache.felix.framework.BundleContextImpl] (value [org.apache.felix.framework.BundleContextImpl@7863d7a3]) but failed to remove it when the web application was stopped. Threads are going to be renewed over time to try and avoid a probable memory leak.
May 11, 2015 7:19:16 PM org.apache.coyote.AbstractProtocol stop
INFO: Stopping ProtocolHandler ["http-bio-9090"]
May 11, 2015 7:19:16 PM org.apache.coyote.AbstractProtocol destroy
INFO: Destroying ProtocolHandler ["http-bio-9090"]
May 11, 2015 7:19:19 PM org.apache.catalina.loader.WebappClassLoader loadClass
INFO: Illegal access: this web application instance has been stopped already. Could not load org.osgi.framework.ServiceRegistration. The eventual following stack trace is caused by an error thrown for debugging purposes as well as to attempt to terminate the thread which caused the illegal access, and has no functional impact.
java.lang.IllegalStateException
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1597)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1556)
at org.apache.felix.framework.ExtensionManager$ExtensionManagerWiring.getClassByDelegation(ExtensionManager.java:873)
at org.apache.felix.framework.BundleWiringImpl.searchImports(BundleWiringImpl.java:1553)
at org.apache.felix.framework.BundleWiringImpl.findClassOrResourceByDelegation(BundleWiringImpl.java:1484)
at org.apache.felix.framework.BundleWiringImpl.access$400(BundleWiringImpl.java:75)
at org.apache.felix.framework.BundleWiringImpl$BundleClassLoader.loadClass(BundleWiringImpl.java:1955)
at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
at org.apache.felix.eventadmin.impl.Configuration.destroy(Configuration.java:355)
at org.apache.felix.eventadmin.impl.Activator.stop(Activator.java:83)
at org.apache.felix.framework.util.SecureAction.stopActivator(SecureAction.java:667)
at org.apache.felix.framework.Felix.stopBundle(Felix.java:2530)
at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1309)
at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:304)
at java.lang.Thread.run(Thread.java:744)

May 11, 2015 7:19:19 PM org.apache.catalina.loader.WebappClassLoader loadClass
INFO: Illegal access: this web application instance has been stopped already. Could not load org.osgi.framework.ServiceRegistration. The eventual following stack trace is caused by an error thrown for debugging purposes as well as to attempt to terminate the thread which caused the illegal access, and has no functional impact.
java.lang.IllegalStateException
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1597)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1556)
at org.apache.felix.framework.ExtensionManager$ExtensionManagerWiring.getClassByDelegation(ExtensionManager.java:873)
at org.apache.felix.framework.BundleWiringImpl.searchImports(BundleWiringImpl.java:1553)
at org.apache.felix.framework.BundleWiringImpl.findClassOrResourceByDelegation(BundleWiringImpl.java:1484)
at org.apache.felix.framework.BundleWiringImpl.access$400(BundleWiringImpl.java:75)
at org.apache.felix.framework.BundleWiringImpl$BundleClassLoader.loadClass(BundleWiringImpl.java:1955)
at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
at org.apache.felix.webconsole.internal.core.ServicesServlet.deactivate(ServicesServlet.java:137)
at org.apache.felix.webconsole.internal.servlet.PluginHolder$InternalPlugin.doUngetConsolePlugin(PluginHolder.java:846)
at org.apache.felix.webconsole.internal.servlet.PluginHolder$Plugin.dispose(PluginHolder.java:526)
at org.apache.felix.webconsole.internal.servlet.PluginHolder.close(PluginHolder.java:127)
at org.apache.felix.webconsole.internal.servlet.OsgiManager.dispose(OsgiManager.java:379)
at org.apache.felix.webconsole.internal.OsgiManagerActivator.stop(OsgiManagerActivator.java:77)
at org.apache.felix.framework.util.SecureAction.stopActivator(SecureAction.java:667)
at org.apache.felix.framework.Felix.stopBundle(Felix.java:2530)
at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1309)
at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:304)
at java.lang.Thread.run(Thread.java:744)

ERROR: Bundle org.apache.servicemix.specs.activation-api-1.1 [65] Error stopping bundle. (java.lang.NullPointerException)
java.lang.NullPointerException
at org.apache.catalina.loader.WebappClassLoader.findResources(WebappClassLoader.java:1294)
at java.lang.ClassLoader.getResources(ClassLoader.java:1185)
at javax.activation.MailcapCommandMap.<init>(MailcapCommandMap.java:71)
at javax.activation.CommandMap.setDefaultCommandMap(CommandMap.java:48)
at org.apache.servicemix.specs.activation.Activator.stop(Activator.java:52)
at org.apache.felix.framework.util.SecureAction.stopActivator(SecureAction.java:667)
at org.apache.felix.framework.Felix.stopBundle(Felix.java:2530)
at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1309)
at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:304)
at java.lang.Thread.run(Thread.java:744)
ERROR: Bundle org.apache.servicemix.specs.activation-api-1.1 [65] Error stopping file:/mnt/jenkins/.motech/bundles/org.apache.servicemix.specs.activation-api-1.1-2.4.0.jar (org.osgi.framework.BundleException: Activator stop error in bundle org.apache.servicemix.specs.activation-api-1.1 [65].)
java.lang.NullPointerException
at org.apache.catalina.loader.WebappClassLoader.findResources(WebappClassLoader.java:1294)
at java.lang.ClassLoader.getResources(ClassLoader.java:1185)
at javax.activation.MailcapCommandMap.<init>(MailcapCommandMap.java:71)
at javax.activation.CommandMap.setDefaultCommandMap(CommandMap.java:48)
at org.apache.servicemix.specs.activation.Activator.stop(Activator.java:52)
at org.apache.felix.framework.util.SecureAction.stopActivator(SecureAction.java:667)
at org.apache.felix.framework.Felix.stopBundle(Felix.java:2530)
at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1309)
at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:304)
at java.lang.Thread.run(Thread.java:744)
May 11, 2015 7:19:19 PM org.apache.catalina.loader.WebappClassLoader loadClass
INFO: Illegal access: this web application instance has been stopped already. Could not load org.osgi.framework.ServiceRegistration. The eventual following stack trace is caused by an error thrown for debugging purposes as well as to attempt to terminate the thread which caused the illegal access, and has no functional impact.
java.lang.IllegalStateException
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1597)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1556)
at org.apache.felix.framework.ExtensionManager$ExtensionManagerWiring.getClassByDelegation(ExtensionManager.java:873)
at org.apache.felix.framework.BundleWiringImpl.searchImports(BundleWiringImpl.java:1553)
at org.apache.felix.framework.BundleWiringImpl.findClassOrResourceByDelegation(BundleWiringImpl.java:1484)
at org.apache.felix.framework.BundleWiringImpl.access$400(BundleWiringImpl.java:75)
at org.apache.felix.framework.BundleWiringImpl$BundleClassLoader.loadClass(BundleWiringImpl.java:1955)
at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
at org.apache.felix.scr.impl.ComponentRegistry.dispose(ComponentRegistry.java:182)
at org.apache.felix.scr.impl.Activator.doStop(Activator.java:136)
at org.apache.felix.utils.extender.AbstractExtender.stop(AbstractExtender.java:128)
at org.apache.felix.framework.util.SecureAction.stopActivator(SecureAction.java:667)
at org.apache.felix.framework.Felix.stopBundle(Felix.java:2530)
at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1309)
at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:304)
at java.lang.Thread.run(Thread.java:744)

May 11, 2015 7:19:19 PM org.apache.catalina.loader.WebappClassLoader loadClass
INFO: Illegal access: this web application instance has been stopped already. Could not load org.osgi.framework.ServiceRegistration. The eventual following stack trace is caused by an error thrown for debugging purposes as well as to attempt to terminate the thread which caused the illegal access, and has no functional impact.
java.lang.IllegalStateException
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1597)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1556)
at org.apache.felix.framework.ExtensionManager$ExtensionManagerWiring.getClassByDelegation(ExtensionManager.java:873)
at org.apache.felix.framework.BundleWiringImpl.searchImports(BundleWiringImpl.java:1553)
at org.apache.felix.framework.BundleWiringImpl.findClassOrResourceByDelegation(BundleWiringImpl.java:1484)
at org.apache.felix.framework.BundleWiringImpl.access$400(BundleWiringImpl.java:75)
at org.apache.felix.framework.BundleWiringImpl$BundleClassLoader.loadClass(BundleWiringImpl.java:1955)
at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
at org.apache.http.osgi.impl.HttpProxyConfigurationActivator.stop(HttpProxyConfigurationActivator.java:98)
at org.apache.felix.framework.util.SecureAction.stopActivator(SecureAction.java:667)
at org.apache.felix.framework.Felix.stopBundle(Felix.java:2530)
at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1309)
at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:304)
at java.lang.Thread.run(Thread.java:744)

May 11, 2015 7:19:19 PM org.apache.catalina.loader.WebappClassLoader loadClass
INFO: Illegal access: this web application instance has been stopped already. Could not load org.osgi.framework.ServiceRegistration. The eventual following stack trace is caused by an error thrown for debugging purposes as well as to attempt to terminate the thread which caused the illegal access, and has no functional impact.
java.lang.IllegalStateException
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1597)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1556)
at org.apache.felix.framework.ExtensionManager$ExtensionManagerWiring.getClassByDelegation(ExtensionManager.java:873)
at org.apache.felix.framework.BundleWiringImpl.searchImports(BundleWiringImpl.java:1553)
at org.apache.felix.framework.BundleWiringImpl.findClassOrResourceByDelegation(BundleWiringImpl.java:1484)
at org.apache.felix.framework.BundleWiringImpl.access$400(BundleWiringImpl.java:75)
at org.apache.felix.framework.BundleWiringImpl$BundleClassLoader.loadClass(BundleWiringImpl.java:1955)
at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
at org.ops4j.pax.url.commons.handler.HandlerActivator.stop(HandlerActivator.java:141)
at org.apache.felix.framework.util.SecureAction.stopActivator(SecureAction.java:667)
at org.apache.felix.framework.Felix.stopBundle(Felix.java:2530)
at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1309)
at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:304)
at java.lang.Thread.run(Thread.java:744)

May 11, 2015 7:19:19 PM org.apache.catalina.loader.WebappClassLoader loadClass
INFO: Illegal access: this web application instance has been stopped already. Could not load java.nio.channels.FileLock. The eventual following stack trace is caused by an error thrown for debugging purposes as well as to attempt to terminate the thread which caused the illegal access, and has no functional impact.
java.lang.IllegalStateException
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1597)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1556)
at org.apache.felix.framework.cache.BundleCache.release(BundleCache.java:191)
at org.apache.felix.framework.Felix$SystemBundleActivator.stop(Felix.java:4741)
at org.apache.felix.framework.util.SecureAction.stopActivator(SecureAction.java:667)
at org.apache.felix.framework.Felix.stopBundle(Felix.java:2530)
at org.apache.felix.framework.Felix$2.run(Felix.java:959)
at java.lang.Thread.run(Thread.java:744)

[INFO] Bootstrap-instance stopped, MBean-Server cleaned up.
[INFO]
[INFO] --- maven-enforcer-plugin:1.3.1:enforce (enforce-no-package-cycles) @ motech-platform-server ---
[INFO] Searching directory <http://ci.motechproject.org/job/Platform-IntegrationTests/ws/platform/server/target/classes> for package cycles.
[INFO]
[INFO] --- maven-failsafe-plugin:2.17:verify (verify) @ motech-platform-server ---
[INFO] Failsafe report directory: <http://ci.motechproject.org/job/Platform-IntegrationTests/ws/platform/server/target/failsafe-reports>
[WARNING] File encoding has not been set, using platform encoding ANSI_X3.4-1968, i.e. build is platform dependent!
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] MOTECH ............................................ SUCCESS [4.314s]
[INFO] MOTECH OSGi Platform .............................. SUCCESS [6.575s]
[INFO] MOTECH Platform Server API ........................ SUCCESS [1.921s]
[INFO] MOTECH Platform Commons API ....................... SUCCESS [2.167s]
[INFO] MOTECH Platform Commons Date ...................... SUCCESS [1.476s]
[INFO] MOTECH Pax Test Container ......................... SUCCESS [3.262s]
[INFO] MOTECH Testing Utils .............................. SUCCESS [2.267s]
[INFO] MOTECH Pax Testing ................................ SUCCESS [2.652s]
[INFO] MOTECH Core Config ................................ SUCCESS [8.419s]
[INFO] MOTECH Platform OSGi Extender Fragment ............ SUCCESS [0.947s]
[INFO] MOTECH OSGI Web Util .............................. SUCCESS [14.530s]
[INFO] MOTECH Platform Event ............................. SUCCESS [43.173s]
[INFO] MOTECH Platform Commons SQL ....................... SUCCESS [5.800s]
[INFO] MOTECH Platform Data Services Migration ........... SUCCESS [0.808s]
[INFO] MOTECH Platform Data Services ..................... SUCCESS [1:41.021s]
[INFO] MOTECH Platform Server Config ..................... SUCCESS [38.208s]
[INFO] MOTECH OSGi Integration Tests ..................... SUCCESS [18.432s]
[INFO] MOTECH Web Security ............................... SUCCESS [1:49.841s]
[INFO] MOTECH Platform Server Bundle ..................... SUCCESS [1:03.332s]
[INFO] MOTECH Platform Data Services Web ................. SUCCESS [48.529s]
[INFO] MOTECH Scheduler Migration ........................ SUCCESS [0.743s]
[INFO] MOTECH Scheduler .................................. SUCCESS [1:23.766s]
[INFO] MOTECH Platform Email ............................. SUCCESS [1:15.009s]
[INFO] MOTECH Admin ...................................... SUCCESS [1:04.259s]
[INFO] MOTECH Platform Server ............................ FAILURE [2:25.728s]
[INFO] MOTECH Tasks ...................................... SKIPPED
[INFO] MOTECH Tasks Test Utils ........................... SKIPPED
[INFO] MOTECH Tasks Test Bundle .......................... SKIPPED
[INFO] MOTECH Platform Data Services Test Bundle ......... SKIPPED
[INFO] MOTECH Platform Data Services Secondary Test Bundle SKIPPED
[INFO] MOTECH Platform Data Services Performance Tests ... SKIPPED
[INFO] MOTECH Minimal Bundle Archetype ................... SKIPPED
[INFO] MOTECH HTTP Bundle Archetype ...................... SKIPPED
[INFO] MOTECH Repository Bundle Archetype ................ SKIPPED
[INFO] MOTECH Settings Bundle Archetype .................. SKIPPED
[INFO] MOTECH Debian Packages ............................ SKIPPED
[INFO] MOTECH Base RPM package ........................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 14:09.253s
[INFO] Finished at: Mon May 11 19:19:20 UTC 2015
[INFO] Final Memory: 176M/809M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-failsafe-plugin:2.17:verify (verify) on project motech-platform-server: There are test failures.
[ERROR]
[ERROR] Please refer to <http://ci.motechproject.org/job/Platform-IntegrationTests/ws/platform/server/target/failsafe-reports> for the individual test results.
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn <goals> -rf :motech-platform-server
[INFO] Stopping Tomcat ...
[INFO] Tomcat stopped

Jenkins

unread,
May 12, 2015, 4:04:08 AM5/12/15
to motec...@googlegroups.com, r...@larubbio.org, tst...@soldevelo.com, ngrac...@soldevelo.com, aman.ja...@gmail.com
See <http://ci.motechproject.org/job/Platform-IntegrationTests/1527/changes>

Changes:

[ngraczewski] MOTECH-1617: Added integration tests for inheritance strategies.

------------------------------------------
[...truncated 16194 lines...]
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
at org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:45)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:182)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:182)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:105)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:87)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
at org.springframework.security.web.access.channel.ChannelProcessingFilter.doFilter(ChannelProcessingFilter.java:144)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:173)
at org.motechproject.security.filter.MotechDelegatingFilterProxy.doFilter(MotechDelegatingFilterProxy.java:66)
at org.apache.felix.http.base.internal.handler.FilterHandler.doHandle(FilterHandler.java:88)
at org.apache.felix.http.base.internal.handler.FilterHandler.handle(FilterHandler.java:76)
at org.apache.felix.http.base.internal.dispatch.InvocationFilterChain.doFilter(InvocationFilterChain.java:47)
at org.apache.felix.http.base.internal.dispatch.HttpFilterChain.doFilter(HttpFilterChain.java:33)
at org.apache.felix.http.base.internal.dispatch.FilterPipeline.dispatch(FilterPipeline.java:48)
at org.apache.felix.http.base.internal.dispatch.Dispatcher.dispatch(Dispatcher.java:39)
at org.apache.felix.http.base.internal.DispatcherServlet.service(DispatcherServlet.java:67)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
at org.motechproject.server.impl.ProxyServlet.service(ProxyServlet.java:46)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:225)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:927)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1001)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:585)
at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:312)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:744)
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 49.214 sec <<< FAILURE! - in org.motechproject.server.it.StartupIT
shouldStartServerAndMakeAllBundlesActive(org.motechproject.server.it.StartupIT) Time elapsed: 48.451 sec <<< ERROR!
org.apache.http.client.HttpResponseException: Bad Request
at org.apache.http.impl.client.AbstractResponseHandler.handleResponse(AbstractResponseHandler.java:69)
at org.apache.http.impl.client.BasicResponseHandler.handleResponse(BasicResponseHandler.java:65)
at org.apache.http.impl.client.BasicResponseHandler.handleResponse(BasicResponseHandler.java:51)
at org.motechproject.testing.utils.PollingHttpClient.executeWithWaitForUriAvailability(PollingHttpClient.java:91)
at org.motechproject.testing.utils.PollingHttpClient.execute(PollingHttpClient.java:62)
at org.motechproject.testing.utils.PollingHttpClient.execute(PollingHttpClient.java:57)
at org.motechproject.server.it.StartupIT.getBundleStatusFromServer(StartupIT.java:106)
at org.motechproject.server.it.StartupIT.shouldStartServerAndMakeAllBundlesActive(StartupIT.java:36)

Running org.motechproject.server.it.RestAPIAuthenticationIT
2015-05-12 08:04:13,775 INFO [org.motechproject.server.it.RestAPIAuthenticationIT] Waiting for tomcat
2015-05-12 08:04:13,805 WARN [org.motechproject.testing.utils.PollingHttpClient] Response not found. Thread stopped for 2 seconds.
2015-05-12 08:04:15,815 WARN [org.motechproject.testing.utils.PollingHttpClient] Response not found. Thread stopped for 2 seconds.
2015-05-12 08:04:17,836 WARN [org.motechproject.testing.utils.PollingHttpClient] Response not found. Thread stopped for 2 seconds.
2015-05-12 08:04:19,859 WARN [org.motechproject.testing.utils.PollingHttpClient] Response not found. Thread stopped for 2 seconds.
2015-05-12 08:04:21,869 WARN [org.motechproject.testing.utils.PollingHttpClient] Response not found. Thread stopped for 2 seconds.
2015-05-12 08:04:23,876 WARN [org.motechproject.testing.utils.PollingHttpClient] Response not found. Thread stopped for 2 seconds.
2015-05-12 08:04:25,883 WARN [org.motechproject.testing.utils.PollingHttpClient] Response not found. Thread stopped for 2 seconds.
2015-05-12 08:04:27,889 WARN [org.motechproject.testing.utils.PollingHttpClient] Response not found. Thread stopped for 2 seconds.
2015-05-12 08:04:29,897 WARN [org.motechproject.testing.utils.PollingHttpClient] Response not found. Thread stopped for 2 seconds.
2015-05-12 08:04:31,903 WARN [org.motechproject.testing.utils.PollingHttpClient] Response not found. Thread stopped for 2 seconds.
2015-05-12 08:04:33,910 WARN [org.motechproject.testing.utils.PollingHttpClient] Response not found. Thread stopped for 2 seconds.
2015-05-12 08:04:35,917 WARN [org.motechproject.testing.utils.PollingHttpClient] Response not found. Thread stopped for 2 seconds.
2015-05-12 08:04:37,923 WARN [org.motechproject.testing.utils.PollingHttpClient] Response not found. Thread stopped for 2 seconds.
2015-05-12 08:04:39,929 WARN [org.motechproject.testing.utils.PollingHttpClient] Response not found. Thread stopped for 2 seconds.
2015-05-12 08:04:41,936 WARN [org.motechproject.testing.utils.PollingHttpClient] Response not found. Thread stopped for 2 seconds.
2015-05-12 08:04:43,944 WARN [org.motechproject.testing.utils.PollingHttpClient] Response not found. Thread stopped for 2 seconds.
2015-05-12 08:04:45,953 WARN [org.motechproject.testing.utils.PollingHttpClient] Response not found. Thread stopped for 2 seconds.
2015-05-12 08:04:47,961 WARN [org.motechproject.testing.utils.PollingHttpClient] Response not found. Thread stopped for 2 seconds.
2015-05-12 08:04:49,969 WARN [org.motechproject.testing.utils.PollingHttpClient] Response not found. Thread stopped for 2 seconds.
2015-05-12 08:04:51,978 WARN [org.motechproject.testing.utils.PollingHttpClient] Response not found. Thread stopped for 2 seconds.
2015-05-12 08:04:53,986 WARN [org.motechproject.testing.utils.PollingHttpClient] Response not found. Thread stopped for 2 seconds.
2015-05-12 08:04:55,994 WARN [org.motechproject.testing.utils.PollingHttpClient] Response not found. Thread stopped for 2 seconds.
2015-05-12 08:04:58,002 WARN [org.motechproject.testing.utils.PollingHttpClient] Response not found. Thread stopped for 2 seconds.
2015-05-12 08:05:00,009 WARN [org.motechproject.testing.utils.PollingHttpClient] Response not found. Thread stopped for 2 seconds.
2015-05-12 08:05:02,015 WARN [org.motechproject.testing.utils.PollingHttpClient] Response not found. Thread stopped for 2 seconds.
2015-05-12 08:05:04,021 WARN [org.motechproject.testing.utils.PollingHttpClient] Response not found. Thread stopped for 2 seconds.
2015-05-12 08:05:06,030 WARN [org.motechproject.testing.utils.PollingHttpClient] Response not found. Thread stopped for 2 seconds.
2015-05-12 08:05:08,037 WARN [org.motechproject.testing.utils.PollingHttpClient] Response not found. Thread stopped for 2 seconds.
2015-05-12 08:05:10,045 WARN [org.motechproject.testing.utils.PollingHttpClient] Response not found. Thread stopped for 2 seconds.
2015-05-12 08:05:12,053 WARN [org.motechproject.testing.utils.PollingHttpClient] Response not found. Thread stopped for 2 seconds.
2015-05-12 08:05:14,054 INFO [org.motechproject.server.it.RestAPIAuthenticationIT] Proceeding after getting a response: HTTP/1.1 404 Not Found [Server: Apache-Coyote/1.1, Content-Type: text/html;charset=UTF-8, Content-Language: en, Transfer-Encoding: chunked, Date: Tue, 12 May 2015 08:05:12 GMT] org.apache.http.conn.BasicManagedEntity@7c2f2087
2015-05-12 08:05:14,054 INFO [org.motechproject.server.it.RestAPIAuthenticationIT] Tomcat is running
2015-05-12 08:05:14,055 INFO [org.motechproject.server.it.RestAPIAuthenticationIT] Trying to create admin user (motech) in MOTECH
2015-05-12 08:05:14,065 INFO [org.motechproject.server.it.RestAPIAuthenticationIT] Response status: 200
2015-05-12 08:05:14,066 INFO [org.motechproject.server.it.RestAPIAuthenticationIT] Created admin user (motech) in MOTECH
2015-05-12 08:05:14,066 INFO [org.motechproject.server.it.RestAPIAuthenticationIT] Trying to logout from MOTECH
2015-05-12 08:05:14,265 INFO [org.motechproject.server.it.RestAPIAuthenticationIT] Response status: 200
2015-05-12 08:05:14,265 INFO [org.motechproject.server.it.RestAPIAuthenticationIT] Logged out from MOTECH
2015-05-12 08:05:14,313 INFO [org.motechproject.server.it.RestAPIAuthenticationIT] Trying to login into MOTECH as motech
2015-05-12 08:05:14,431 INFO [org.motechproject.server.it.RestAPIAuthenticationIT] Response status: 302
2015-05-12 08:05:14,431 INFO [org.motechproject.server.it.RestAPIAuthenticationIT] Logged into MOTECH as motech
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 60.616 sec - in org.motechproject.server.it.RestAPIAuthenticationIT

Results :

Tests in error:
StartupIT.shouldStartServerAndMakeAllBundlesActive:36->getBundleStatusFromServer:106 ? HttpResponse

Tests run: 2, Failures: 0, Errors: 1, Skipped: 0

[INFO]
[INFO] --- maven-t7-plugin:0.9.10.M8:stop (tomcat-stop) @ motech-platform-server ---
[INFO] Executing stop-mojo ...
[INFO] Stopping Stoppable-instance ...
May 12, 2015 8:05:14 AM org.apache.coyote.AbstractProtocol pause
INFO: Pausing ProtocolHandler ["http-bio-9090"]
May 12, 2015 8:05:14 AM org.apache.catalina.core.StandardService stopInternal
INFO: Stopping service Catalina
May 12, 2015 8:05:14 AM org.apache.catalina.core.ApplicationContext log
INFO: SessionListener: contextDestroyed()
May 12, 2015 8:05:14 AM org.apache.catalina.core.ApplicationContext log
INFO: ContextListener: contextDestroyed()
May 12, 2015 8:05:14 AM org.apache.catalina.core.ApplicationContext log
INFO: Destroying Spring FrameworkServlet 'bootstrap-servlet'
[INFO] Destroying Spring FrameworkServlet 'servlet_1'
[INFO] Destroying Spring FrameworkServlet 'servlet_5'
May 12, 2015 8:05:14 AM org.apache.catalina.core.ApplicationContext log
INFO: Closing Spring root WebApplicationContext
May 12, 2015 8:05:14 AM org.apache.catalina.loader.WebappClassLoader clearReferencesJdbc
SEVERE: The web application [/motech-platform-server] registered the JDBC driver [com.mysql.fabric.jdbc.FabricMySQLDriver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.
May 12, 2015 8:05:14 AM org.apache.catalina.loader.WebappClassLoader clearReferencesJdbc
SEVERE: The web application [/motech-platform-server] registered the JDBC driver [org.postgresql.Driver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.
May 12, 2015 8:05:14 AM org.apache.catalina.loader.WebappClassLoader clearReferencesJdbc
SEVERE: The web application [/motech-platform-server] registered the JDBC driver [com.mysql.jdbc.Driver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.
May 12, 2015 8:05:14 AM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [/motech-platform-server] appears to have started a thread named [FelixDispatchQueue] but has failed to stop it. This is very likely to create a memory leak.
May 12, 2015 8:05:14 AM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [/motech-platform-server] appears to have started a thread named [FelixStartLevel] but has failed to stop it. This is very likely to create a memory leak.
May 12, 2015 8:05:14 AM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [/motech-platform-server] appears to have started a thread named [SCR Component Actor] but has failed to stop it. This is very likely to create a memory leak.
May 12, 2015 8:05:14 AM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [/motech-platform-server] appears to have started a thread named [Gemini Blueprint context shutdown thread] but has failed to stop it. This is very likely to create a memory leak.
May 12, 2015 8:05:14 AM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [/motech-platform-server] appears to have started a thread named [Gemini Blueprint context shutdown thread] but has failed to stop it. This is very likely to create a memory leak.
May 12, 2015 8:05:14 AM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [/motech-platform-server] appears to have started a thread named [Spring DM Context Creation Timer] but has failed to stop it. This is very likely to create a memory leak.
May 12, 2015 8:05:14 AM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [/motech-platform-server] appears to have started a thread named [Thread-81] but has failed to stop it. This is very likely to create a memory leak.
May 12, 2015 8:05:14 AM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [/motech-platform-server] appears to have started a thread named [FelixShutdown] but has failed to stop it. This is very likely to create a memory leak.
May 12, 2015 8:05:14 AM org.apache.catalina.loader.WebappClassLoader checkThreadLocalMapForLeaks
SEVERE: The web application [/motech-platform-server] created a ThreadLocal with key of type [org.springframework.core.NamedInheritableThreadLocal] (value [Current invoker bundle context]) and a value of type [org.apache.felix.framework.BundleContextImpl] (value [org.apache.felix.framework.BundleContextImpl@45a73dfb]) but failed to remove it when the web application was stopped. Threads are going to be renewed over time to try and avoid a probable memory leak.
May 12, 2015 8:05:14 AM org.apache.catalina.loader.WebappClassLoader checkThreadLocalMapForLeaks
SEVERE: The web application [/motech-platform-server] created a ThreadLocal with key of type [org.springframework.core.NamedInheritableThreadLocal] (value [Current invoker bundle context]) and a value of type [org.apache.felix.framework.BundleContextImpl] (value [org.apache.felix.framework.BundleContextImpl@45a73dfb]) but failed to remove it when the web application was stopped. Threads are going to be renewed over time to try and avoid a probable memory leak.
May 12, 2015 8:05:14 AM org.apache.coyote.AbstractProtocol stop
INFO: Stopping ProtocolHandler ["http-bio-9090"]
May 12, 2015 8:05:14 AM org.apache.coyote.AbstractProtocol destroy
INFO: Destroying ProtocolHandler ["http-bio-9090"]
[INFO] Bootstrap-instance stopped, MBean-Server cleaned up.
[INFO]
[INFO] --- maven-enforcer-plugin:1.3.1:enforce (enforce-no-package-cycles) @ motech-platform-server ---
[INFO] Searching directory <http://ci.motechproject.org/job/Platform-IntegrationTests/ws/platform/server/target/classes> for package cycles.
[INFO]
[INFO] --- maven-failsafe-plugin:2.17:verify (verify) @ motech-platform-server ---
[INFO] Failsafe report directory: <http://ci.motechproject.org/job/Platform-IntegrationTests/ws/platform/server/target/failsafe-reports>
[WARNING] File encoding has not been set, using platform encoding ANSI_X3.4-1968, i.e. build is platform dependent!
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] MOTECH ............................................ SUCCESS [5.608s]
[INFO] MOTECH OSGi Platform .............................. SUCCESS [10.219s]
[INFO] MOTECH Platform Server API ........................ SUCCESS [3.813s]
[INFO] MOTECH Platform Commons API ....................... SUCCESS [3.498s]
[INFO] MOTECH Platform Commons Date ...................... SUCCESS [2.264s]
[INFO] MOTECH Pax Test Container ......................... SUCCESS [5.100s]
[INFO] MOTECH Testing Utils .............................. SUCCESS [2.814s]
[INFO] MOTECH Pax Testing ................................ SUCCESS [3.736s]
[INFO] MOTECH Core Config ................................ SUCCESS [13.544s]
[INFO] MOTECH Platform OSGi Extender Fragment ............ SUCCESS [1.037s]
[INFO] MOTECH OSGI Web Util .............................. SUCCESS [15.954s]
[INFO] MOTECH Platform Event ............................. SUCCESS [47.366s]
[INFO] MOTECH Platform Commons SQL ....................... SUCCESS [9.930s]
[INFO] MOTECH Platform Data Services Migration ........... SUCCESS [1.428s]
[INFO] MOTECH Platform Data Services ..................... SUCCESS [2:07.056s]
[INFO] MOTECH Platform Server Config ..................... SUCCESS [35.777s]
[INFO] MOTECH OSGi Integration Tests ..................... SUCCESS [19.199s]
[INFO] MOTECH Web Security ............................... SUCCESS [2:13.529s]
[INFO] MOTECH Platform Server Bundle ..................... SUCCESS [1:00.810s]
[INFO] MOTECH Platform Data Services Web ................. SUCCESS [1:08.969s]
[INFO] MOTECH Scheduler Migration ........................ SUCCESS [1.043s]
[INFO] MOTECH Scheduler .................................. SUCCESS [1:39.070s]
[INFO] MOTECH Platform Email ............................. SUCCESS [1:14.227s]
[INFO] MOTECH Admin ...................................... SUCCESS [1:00.886s]
[INFO] MOTECH Platform Server ............................ FAILURE [2:28.201s]
[INFO] MOTECH Tasks ...................................... SKIPPED
[INFO] MOTECH Tasks Test Utils ........................... SKIPPED
[INFO] MOTECH Tasks Test Bundle .......................... SKIPPED
[INFO] MOTECH Platform Data Services Test Bundle ......... SKIPPED
[INFO] MOTECH Platform Data Services Secondary Test Bundle SKIPPED
[INFO] MOTECH Platform Data Services Performance Tests ... SKIPPED
[INFO] MOTECH Minimal Bundle Archetype ................... SKIPPED
[INFO] MOTECH HTTP Bundle Archetype ...................... SKIPPED
[INFO] MOTECH Repository Bundle Archetype ................ SKIPPED
[INFO] MOTECH Settings Bundle Archetype .................. SKIPPED
[INFO] MOTECH Debian Packages ............................ SKIPPED
[INFO] MOTECH Base RPM package ........................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 15:59.205s
[INFO] Finished at: Tue May 12 08:05:17 UTC 2015
[INFO] Final Memory: 184M/900M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-failsafe-plugin:2.17:verify (verify) on project motech-platform-server: There are test failures.
[ERROR]
[ERROR] Please refer to <http://ci.motechproject.org/job/Platform-IntegrationTests/ws/platform/server/target/failsafe-reports> for the individual test results.
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn <goals> -rf :motech-platform-server
[INFO] Stopping Tomcat ...
[INFO] Tomcat stopped
ERROR: Bundle org.apache.servicemix.specs.activation-api-1.1 [65] Error stopping bundle. (java.lang.NullPointerException)
java.lang.NullPointerException
at org.apache.catalina.loader.WebappClassLoader.findResources(WebappClassLoader.java:1294)
at java.lang.ClassLoader.getResources(ClassLoader.java:1185)
at javax.activation.MailcapCommandMap.<init>(MailcapCommandMap.java:71)
at javax.activation.CommandMap.setDefaultCommandMap(CommandMap.java:48)
at org.apache.servicemix.specs.activation.Activator.stop(Activator.java:52)
at org.apache.felix.framework.util.SecureAction.stopActivator(SecureAction.java:667)
at org.apache.felix.framework.Felix.stopBundle(Felix.java:2530)
at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1309)
at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:304)
at java.lang.Thread.run(Thread.java:744)
ERROR: Bundle org.apache.servicemix.specs.activation-api-1.1 [65] Error stopping file:/mnt/jenkins/.motech/bundles/org.apache.servicemix.specs.activation-api-1.1-2.4.0.jar (org.osgi.framework.BundleException: Activator stop error in bundle org.apache.servicemix.specs.activation-api-1.1 [65].)
java.lang.NullPointerException
at org.apache.catalina.loader.WebappClassLoader.findResources(WebappClassLoader.java:1294)
at java.lang.ClassLoader.getResources(ClassLoader.java:1185)
at javax.activation.MailcapCommandMap.<init>(MailcapCommandMap.java:71)
at javax.activation.CommandMap.setDefaultCommandMap(CommandMap.java:48)
at org.apache.servicemix.specs.activation.Activator.stop(Activator.java:52)
at org.apache.felix.framework.util.SecureAction.stopActivator(SecureAction.java:667)
at org.apache.felix.framework.Felix.stopBundle(Felix.java:2530)
at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1309)
at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:304)
at java.lang.Thread.run(Thread.java:744)

Jenkins

unread,
May 12, 2015, 8:53:58 AM5/12/15
to motec...@googlegroups.com, r...@larubbio.org, tst...@soldevelo.com, ngrac...@soldevelo.com, aman.ja...@gmail.com, pge...@soldevelo.com
Reply all
Reply to author
Forward
0 new messages