Theodul jasmine test issues

Steps to reproduce

[JENKINS] Recording test results
[INFO]
[INFO] — jasmine-maven-plugin:2.0-beta-01:test (default) @ matterhorn-engage-theodul-core —
[INFO] jetty-8.1.14.v20131031
[INFO] Started SelectChannelConnector@0.0.0.0:51672
[INFO] Executing Jasmine Specs
[INFO] executable: /var/lib/jenkins/workspace/entwine_matterhorn_revision/410/modules/matterhorn-engage-theodul-core/target/phantomjs-maven-plugin/phantomjs-1.9.8-linux-x86_64/bin/phantomjs
[INFO] port: 1478
[INFO] arguments: [--webdriver=1478, --webdriver-logfile=/var/lib/jenkins/workspace/entwine_matterhorn_revision/410/phantomjsdriver.log]
[INFO] environment: {}
PhantomJS is launching GhostDriver...
[INFO - 2015-06-09T10:28:27.385Z] GhostDriver - Main - running on port 1478
[INFO - 2015-06-09T10:28:28.122Z] Session [44739df0-0e92-11e5-9745-b51f38bd0fca] - page.settings - {"XSSAuditingEnabled":false,"javascriptCanCloseWindows":true,"javascriptCanOpenWindows":true,"javascriptEnabled":true,"loadImages":true,"localToRemoteUrlAccessEnabled":false,"userAgent":"Mozilla/5.0 (Unknown; Linux x86_64) AppleWebKit/534.34 (KHTML, like Gecko) PhantomJS/1.9.8 Safari/534.34","webSecurityEnabled":true}
[INFO - 2015-06-09T10:28:28.123Z] Session [44739df0-0e92-11e5-9745-b51f38bd0fca] - page.customHeaders: - {}
[INFO - 2015-06-09T10:28:28.123Z] Session [44739df0-0e92-11e5-9745-b51f38bd0fca] - Session.negotiatedCapabilities - {"browserName":"phantomjs","version":"1.9.8","driverName":"ghostdriver","driverVersion":"1.1.0","platform":"linux-unknown-64bit","javascriptEnabled":true,"takesScreenshot":true,"handlesAlerts":false,"databaseEnabled":false,"locationContextEnabled":false,"applicationCacheEnabled":false,"browserConnectionEnabled":false,"cssSelectorsEnabled":true,"webStorageEnabled":false,"rotatable":false,"acceptSslCerts":false,"nativeEvents":true,"proxy":{"proxyType":"direct"}}
[INFO - 2015-06-09T10:28:28.124Z] SessionManagerReqHand - _postNewSessionCommand - New Session Created: 44739df0-0e92-11e5-9745-b51f38bd0fca
[ERROR - 2015-06-09T10:28:29.062Z] Session [44739df0-0e92-11e5-9745-b51f38bd0fca] - page.onError - msg: Error: Script error for: engage/core
http://requirejs.org/docs/errors.html#scripterror
[ERROR - 2015-06-09T10:28:29.063Z] Session [44739df0-0e92-11e5-9745-b51f38bd0fca] - page.onError - stack:
defaultOnError (http://localhost:51672/src/js/lib/require.js:141)
onError (http://localhost:51672/src/js/lib/require.js:545)
(anonymous function) (http://localhost:51672/src/js/lib/require.js:1696)
[INFO - 2015-06-09T10:33:27.390Z] SessionManagerReqHand - _cleanupWindowlessSessions - Asynchronous Sessions clean-up phase starting NOW
[INFO] stopped o.e.j.s.h.ContextHandler{/webjars,file:/var/lib/jenkins/workspace/entwine_matterhorn_revision/410/}
[INFO] stopped o.e.j.s.h.ContextHandler{/classpath,file:/var/lib/jenkins/workspace/entwine_matterhorn_revision/410/}
[INFO] stopped o.e.j.s.h.ContextHandler{/,file:/var/lib/jenkins/workspace/entwine_matterhorn_revision/410/}
[INFO] stopped o.e.j.s.h.ContextHandler{/spec,file:/var/lib/jenkins/workspace/entwine_matterhorn_revision/410/}
[INFO] stopped o.e.j.s.h.ContextHandler{/src,file:/var/lib/jenkins/workspace/entwine_matterhorn_revision/410/}
[JENKINS] Recording test results
hudson.AbortException: Test reports were found but none of them are new. Did tests run?
For example, /var/lib/jenkins/workspace/entwine_matterhorn_revision/410/modules/matterhorn-engage-theodul-core/target/jasmine/TEST-jasmine.xml is 45 yr old

at hudson.tasks.junit.TestResult.parse(TestResult.java:212)
at hudson.maven.reporters.SurefireArchiver.postExecute(SurefireArchiver.java:148)
at hudson.maven.Maven3Builder$MavenExecutionListener.recordMojoEnded(Maven3Builder.java:634)
at hudson.maven.Maven3Builder$MavenExecutionListener.mojoFailed(Maven3Builder.java:667)
at hudson.maven.Maven3Builder$JenkinsEventSpy.onEvent(Maven3Builder.java:311)
at org.apache.maven.eventspy.internal.EventSpyDispatcher.onEvent(EventSpyDispatcher.java:108)
at org.apache.maven.eventspy.internal.EventSpyExecutionListener.mojoFailed(EventSpyExecutionListener.java:138)
at org.apache.maven.lifecycle.internal.DefaultExecutionEventCatapult.fire(DefaultExecutionEventCatapult.java:90)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:231)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:120)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:347)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:154)
at org.jvnet.hudson.maven3.launcher.Maven32Launcher.main(Maven32Launcher.java:132)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchStandard(Launcher.java:330)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:238)
at jenkins.maven3.agent.Maven32Main.launch(Maven32Main.java:181)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at hudson.maven.Maven3Builder.call(Maven3Builder.java:136)
at hudson.maven.Maven3Builder.call(Maven3Builder.java:71)
at hudson.remoting.UserRequest.perform(UserRequest.java:121)
at hudson.remoting.UserRequest.perform(UserRequest.java:49)
at hudson.remoting.Request$2.run(Request.java:325)
at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
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:745)

Activity

Show:
Lukas Rohner
June 9, 2015, 11:33 AM

There is an intermittent issue with the jasmine test of the matterhorn-engage-theodul-core bundle. I executed the test multiple times successively and got sometimes an error and sometimes not.

Lars Kiesow
June 9, 2015, 1:53 PM

This is a duplicate of which actually was discussed in the technical meeting month ago. But maybe it is time we bring it up again.

Assignee

Unassigned

Reporter

Lukas Rohner

Severity

Non Functioning

Tags (folksonomy)

None

Components

Fix versions

Affects versions

Priority

Blocker
Configure