Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Minor
    • Resolution: Incomplete
    • Component/s: core
    • Labels:
    • Environment:
      Jenkins-1.520, JRE1.7.0_17, Windows7 64bits
    • Similar Issues:

      Description

      Some tests in jenkins-test-harness fails in Windows.
      This is very inconvenient for I cannot test regressions in Windows.

      I know following tests fails with Jenkins-1.520:

      • hudson.bugs.JnlpAccessWithSecuredHudsonTest: fails with Java1.6, and not finish with Java 1.7.
      • hudson.ClassicPluginStrategyTest: fails to delete classes.jar.
      • hudson.console.ConsoleAnnotatorTest: problem with CRLF.
      • hudson.maven.AbortedMavenBuildTest: fails to delete temporary directory in tearDown.
      • hudson.maven.MavenProjectTest: build interrupted.
      • hudson.model.JobQueueTest: fails to delete temporary directory in tearDown.
      • hudson.model.QueueTest: problem with CRLF.
      • hudson.model.UpdateSiteTest: fails to access local files with query parameters.
      • hudson.PluginManagerTest: fails to delete classes.jar.
      • hudson.tasks.junit.JUnitResultArchiverTest: build timeouted.
      • hudson.util.FormFieldValidatorTest: fails to delete classes.jar.

        Attachments

          Issue Links

            Activity

            Hide
            oleg_nenashev Oleg Nenashev added a comment -

            Unfortunately, the answer no.

            Jenkins builds do not work on Windows.
            In particular, the harness test suite usually fails on temporary data cleanup.

            Show
            oleg_nenashev Oleg Nenashev added a comment - Unfortunately, the answer no. Jenkins builds do not work on Windows. In particular, the harness test suite usually fails on temporary data cleanup.
            Hide
            ikedam ikedam added a comment -

            I gave up this for JENKINS-4409, the problem a temporary folder created in a test cannot be deleted in Windows.

            Show
            ikedam ikedam added a comment - I gave up this for JENKINS-4409 , the problem a temporary folder created in a test cannot be deleted in Windows.
            Hide
            jglick Jesse Glick added a comment -

            Are there specific problems here not already covered by JENKINS-4409?

            Show
            jglick Jesse Glick added a comment - Are there specific problems here not already covered by JENKINS-4409 ?
            Hide
            ikedam ikedam added a comment -

            All problems I listed in the description are resolved. Thanks a lot!

            I tried run all tests on Windows with the latest master (dac7dfe), and saw following new problems:

            • hudson.PluginManagerTest#prevalidateConfig
              • Tries to access a local file with a query string (trailing ?param=value).
              • This is the same problem to 5cfc002 and can be fixed in the same way.
            • hudson.tasks.MavenTest#sensitiveParameters
              • The build log contains the content of the password parameter.
              • The build log was:
                Legacy code started this job.  No cause information is available
                Building in workspace C:\Users\ikedam\Desktop\workspace\jenkins\test\target\hudson5918984730964172897test\workspace\test0
                Deleting existing workspace C:\Users\ikedam\Desktop\workspace\jenkins\test\target\hudson5918984730964172897test\workspace\test0
                Staging file:/C:/Users/ikedam/Desktop/workspace/jenkins/test/target/test-classes/hudson/tasks/maven-empty.zip
                [test0] $ cmd.exe /C '"mvn.bat -Dstring2=Value2 -Dstring=defaultValue -Dpassword=12345 clean package && exit %%ERRORLEVEL%%"'
                
              • I'm not sure what's the expected result.
            • hudson.bugs.JnlpAccessWithSecuredHudsonTest#testServiceUsingDirectSecret
              • Hangs up. It can stack for 1 minutes for its implementation, but apparently it stacked over 10 minutes...

            Let me have more time to see details of those failures.

            Show
            ikedam ikedam added a comment - All problems I listed in the description are resolved. Thanks a lot! I tried run all tests on Windows with the latest master ( dac7dfe ), and saw following new problems: hudson.PluginManagerTest#prevalidateConfig Tries to access a local file with a query string (trailing ?param=value). This is the same problem to 5cfc002 and can be fixed in the same way. hudson.tasks.MavenTest#sensitiveParameters The build log contains the content of the password parameter. The build log was: Legacy code started this job. No cause information is available Building in workspace C:\Users\ikedam\Desktop\workspace\jenkins\test\target\hudson5918984730964172897test\workspace\test0 Deleting existing workspace C:\Users\ikedam\Desktop\workspace\jenkins\test\target\hudson5918984730964172897test\workspace\test0 Staging file:/C:/Users/ikedam/Desktop/workspace/jenkins/test/target/test-classes/hudson/tasks/maven-empty.zip [test0] $ cmd.exe /C '"mvn.bat -Dstring2=Value2 -Dstring=defaultValue -Dpassword=12345 clean package && exit %%ERRORLEVEL%%"' I'm not sure what's the expected result. hudson.bugs.JnlpAccessWithSecuredHudsonTest#testServiceUsingDirectSecret Hangs up. It can stack for 1 minutes for its implementation, but apparently it stacked over 10 minutes... Let me have more time to see details of those failures.
            Hide
            ikedam ikedam added a comment -

            Sorry, but I give up this issue as I don't enough time to work on.

            Show
            ikedam ikedam added a comment - Sorry, but I give up this issue as I don't enough time to work on.

              People

              • Assignee:
                ikedam ikedam
                Reporter:
                ikedam ikedam
              • Votes:
                1 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: