Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JenkinsTest is intermittent #151

Open
garethjevans opened this issue May 3, 2021 · 0 comments
Open

JenkinsTest is intermittent #151

garethjevans opened this issue May 3, 2021 · 0 comments
Labels
bug Something isn't working

Comments

@garethjevans
Copy link
Contributor

When JenkinsTest runs on ci.jenkins.io it intermittently fails with:

10:32:15  [ERROR] org.waveywaves.jenkins.plugins.tekton.client.build.create.JenkinsTest.testFreestyleJobWithExpandedYamlInput  Time elapsed: 1.599 s  <<< FAILURE!
10:32:15  java.lang.AssertionError: 
10:32:15  
10:32:15  Expected: a string containing "Whoop! This is the pod log"
10:32:15       but: was "Legacy code started this job.  No cause information is available
10:32:15  Running as SYSTEM
10:32:15  [EnvInject] - Loading node environment variables.
10:32:15  Building in workspace /home/jenkins/workspace/gins_tekton-client-plugin_PR-147/target/tmp/jenkinsTests.tmp/jenkins5080825060315866721test/workspace/p
10:32:15  Deleting existing workspace /home/jenkins/workspace/gins_tekton-client-plugin_PR-147/target/tmp/jenkinsTests.tmp/jenkins5080825060315866721test/workspace/p
10:32:15  Staging file:/home/jenkins/workspace/gins_tekton-client-plugin_PR-147/target/test-classes/org/waveywaves/jenkins/plugins/tekton/client/build/create/tekton-test-project.zip
10:32:15  [Checks API] No suitable checks publisher found.
10:32:15  [Tekton] Pod test/hello-world-pod
10:32:15  [Tekton] Pod test/hello-world-pod - Running...
10:32:15  [Tekton] Container hello-world-container
10:32:15  [Tekton] Container hello-world-container - Completed
10:32:15  W[Tekton] Pod test/hello-world-pod Status: Succeeded
10:32:15  [Tekton] Completed PipelineTask pipelineTaskName
10:32:15  hoop! This is the pod logFinished: SUCCESS
10:32:15  "
10:32:15  	at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:20)
10:32:15  	at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:6)
10:32:15  	at org.waveywaves.jenkins.plugins.tekton.client.build.create.JenkinsTest.testFreestyleJobWithExpandedYamlInput(JenkinsTest.java:427)
10:32:15  	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
10:32:15  	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
10:32:15  	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
10:32:15  	at java.lang.reflect.Method.invoke(Method.java:498)
10:32:15  	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59)
10:32:15  	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
10:32:15  	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56)
10:32:15  	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
10:32:15  	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
10:32:15  	at org.jvnet.hudson.test.JenkinsRule$1.evaluate(JenkinsRule.java:548)
10:32:15  	at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:299)
10:32:15  	at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:293)
10:32:15  	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
10:32:15  	at java.lang.Thread.run(Thread.java:748)
@garethjevans garethjevans added the bug Something isn't working label May 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant