Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-59455

CheckFilterTest failing on environment.txt

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • support-core-plugin
    • 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:

      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.

            egutierrez Evaristo Gutierrez
            allan_burdajewicz Allan BURDAJEWICZ
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: