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

Piping action sometimes kick in just after Editor.log has been removed

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Critical Critical
    • unity3d-plugin
    • None

      Received by mail:

      I do have a small problem that -batchmode doesn't always catch the log. It must try and access it at exactly the same moment Unity is moving it to the Editor-prev.log

      Started by user anonymous
      Building in workspace XXXXX
      Reverting XXXX.
      Updating YYYYY
      At revision 1020
      no change for YYYYY since the previous build
      Piping unity Editor.log from /Users/Shared/Jenkins/Home/Library/Logs/Unity/Editor.log
      [workspace] $ /Applications/Unity/Unity.app/Contents/MacOS/Unity -projectpath /Users/Shared/Jenkins/Home/jobs/QuickQuestTestFlight/workspace -quit -batchmode -executeMethod AutomatedBuildUtils.BuildCommandLineiOSTestFilght
      java.io.FileNotFoundException: /Users/Shared/Jenkins/Home/Library/Logs/Unity/Editor.log (No such file or directory)
      	at java.io.RandomAccessFile.open(Native Method)
      	at java.io.RandomAccessFile.<init>(RandomAccessFile.java:216)
      	at java.io.RandomAccessFile.<init>(RandomAccessFile.java:101)
      	at org.jenkinsci.plugins.unity3d.io.PipeFileAfterModificationAction.call(PipeFileAfterModificationAction.java:52)
      	at org.jenkinsci.plugins.unity3d.Unity3dInstallation$2.call(Unity3dInstallation.java:97)
      	at org.jenkinsci.plugins.unity3d.Unity3dInstallation$2.call(Unity3dInstallation.java:95)
      	at hudson.remoting.LocalChannel$1.call(LocalChannel.java:52)
      	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
      	at java.util.concurrent.FutureTask.run(FutureTask.java:138)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
      	at java.lang.Thread.run(Thread.java:680)
      

            lacostej lacostej
            lacostej lacostej
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: