-
Bug
-
Resolution: Fixed
-
Major
-
None
-
support-core
-
-
support-core:2.65
The CheckFilterTest is failing with the following issues:
=== Starting checkFilterTest(com.cloudbees.jenkins.support.CheckFilterTest) 0.067 [id=14] INFO o.jvnet.hudson.test.WarExploder#explode: Picking up existing exploded jenkins.war at /Users/allan/Projects/dohbedoh/jenkins-plugins/support-core-plugin/target/jenkins-for-test 0.388 [id=14] INFO o.jvnet.hudson.test.JenkinsRule#createWebServer: Running on http://localhost:54708/jenkins/ 1.934 [id=24] INFO jenkins.InitReactorRunner$1#onAttained: Started initialization 2.377 [id=35] WARNING hudson.ClassicPluginStrategy#createClassJarFromWebInfClasses: Created /var/folders/m7/lghwdpdx70d6454dsp825bxc0000gn/T/jenkins2715125141041055036/async-http-client/WEB-INF/lib/classes.jar; update plugin to a version created with a newer harness 3.017 [id=37] INFO jenkins.InitReactorRunner$1#onAttained: Listed all plugins 5.225 [id=30] INFO jenkins.InitReactorRunner$1#onAttained: Prepared all plugins 5.245 [id=31] INFO jenkins.InitReactorRunner$1#onAttained: Started all plugins 5.248 [id=27] INFO jenkins.InitReactorRunner$1#onAttained: Augmented all extensions 6.204 [id=26] INFO jenkins.InitReactorRunner$1#onAttained: Loaded all jobs 6.417 [id=22] INFO jenkins.InitReactorRunner$1#onAttained: Completed initialization 6.436 [id=52] INFO hudson.UDPBroadcastThread#run: Cannot listen to UDP port 33,848, skipping: java.net.SocketException: Can't assign requested address 8.946 [id=54] INFO o.j.h.test.SimpleCommandLauncher#launch: agent launched for slave0 14.563 [id=14] INFO jenkins.model.Jenkins#cleanUp: Stopping Jenkins 14.801 [id=14] INFO jenkins.model.Jenkins#cleanUp: Jenkins stopped java.lang.AssertionError: The file 'nodes/master/environment.txt' should have the word 'user_molecular_volunteer'. File content:
nodes/master/environment.txt and nodes/slave/*/environment.txt are supposed have the word path filtered but they don't. The issue look transient though as the test is sometimes passing in jenkins.io, sometimes no:
- Passing: https://ci.jenkins.io/blue/organizations/jenkins/Plugins%2Fsupport-core-plugin/detail/PR-189/5/pipeline
- Failing: https://ci.jenkins.io/blue/organizations/jenkins/Plugins%2Fsupport-core-plugin/detail/PR-191/1/tests
On my local machine OSX, this test always fails with the error above. On other colleague in Linux (Ubuntu) it works.
In jenkins.io's build failure, the PATH word is just not replaced. In my environment, it is different, the PATH word is not there anymore and the value of my PATH environment variable is truncated.
I have noticed that:
It is my understanding that this test relies on the Environment Variables content to be filtered ? When I use a PrefilteredContent instead of the a PrintedContent and filter the entire line, it fix the text for me locally. Removing the cache however has no effect.
Maybe mramonleon knows what is going on ?