rm: /Applications/Thinkbox/Deadline6/DeadlineCommand.app/Contents/Resources: No such file or directory
ln: /Applications/Thinkbox/Deadline6/DeadlineCommand.app/Contents/Resources/Resources: File exists
The link exists on my machine. Maybe duplicate entry on the 2nd line is causing the issue? ie: “Resources/Resources” - doesn’t exist?
Connecting to Pulse (mbp.local:17062)...
---- 2013/12/06 13:14 ----
Server Thread - Auto Config: Listening for auto configuration requests on :::17061:17061
Web Service - Web Service listening for connections on port 8080...
Connecting to Pulse log
Power Management - Thermal Shutdown: There are no temperature zones to check
Power Management - Idle Shutdown: There are no idle shutdown groups to check
Power Management - Machine Startup: There are no slaves that need to be woken up at this time
Power Management - Machine Restart: There are no machine groups to check
Power Management - Slave Scheduling: There are no scheduling groups to check
Pending Job Scan Thread - Performing pending job scan
Update timeout has been set to 300 seconds
Stdout Handling Enabled: False
Popup Handling Enabled: False
Using Process Tree: True
Hiding DOS Window: True
Creating New Console: False
Executable: "/Applications/Thinkbox/Deadline6/Resources/deadlinecommand"
Argument: -DoPendingJobScan True
Startup Directory: "/Applications/Thinkbox/Deadline6/Resources"
Clean Up Thread - Performing house cleaning
Update timeout has been set to 300 seconds
Stdout Handling Enabled: False
Popup Handling Enabled: False
Using Process Tree: True
Hiding DOS Window: True
Creating New Console: False
Executable: "/Applications/Thinkbox/Deadline6/Resources/deadlinecommand"
Argument: -DoHouseCleaning 10 True
Startup Directory: "/Applications/Thinkbox/Deadline6/Resources"
Process Priority: BelowNormal
Process Affinity: default
Process Priority: BelowNormal
Process is now running
Process Affinity: default
Process is now running
rm: /Applications/Thinkbox/Deadline6/DeadlineCommand.app/Contents/Resources: No such file or directory
ln: /Applications/Thinkbox/Deadline6/DeadlineCommand.app/Contents/Resources/Resources: File exists
Purging Unsubmitted Jobs
Unsubmitted Job Scan - Loading unsubmitted jobs
Performing Pending Job Scan...
Unsubmitted Job Scan - Loaded 0 unsubmitted jobs in 3.343 ms
Unsubmitted Job Scan - Done.
Performing Stalled Slave Scan...
Stalled Slave Scan - Loading slave states
Stalled Slave Scan - Loaded 3 slave states in 95.745 ms
Stalled Slave Scan - Loading job IDs
Stalled Slave Scan - Loaded 2 job IDs in 8.751 ms
Stalled Slave Scan - Scanning slave states
Pending Job Scan - Loading pending and active jobs
Pending Job Scan - Loaded 0 pending and active jobs in 2.501 ms
Pending Job Scan - Done.
Stalled Slave Scan - Cleaned up 0 stalled slaves in 67.792 ms
Stalled Slave Scan - Done.
Process exit code: 0
Process exit code: 0
interesting…it only seems to fail on the first run. Subsequent house-cleaning, each 60sec’s seems to be ok?
Connecting to Pulse (mbp.local:17062)...
---- 2013/12/06 13:23 ----
Server Thread - Auto Config: Listening for auto configuration requests on :::17061:17061
Web Service - Web Service listening for connections on port 8080...
Connecting to Pulse log
Power Management - Thermal Shutdown: There are no temperature zones to check
Power Management - Idle Shutdown: There are no idle shutdown groups to check
Power Management - Machine Startup: There are no slaves that need to be woken up at this time
Power Management - Machine Restart: There are no machine groups to check
Power Management - Slave Scheduling: There are no scheduling groups to check
Clean Up Thread - Performing house cleaning
Pending Job Scan Thread - Performing pending job scan
Update timeout has been set to 300 seconds
Update timeout has been set to 300 seconds
Stdout Handling Enabled: False
Popup Handling Enabled: False
Using Process Tree: True
Hiding DOS Window: True
Creating New Console: False
Stdout Handling Enabled: False
Popup Handling Enabled: False
Using Process Tree: True
Hiding DOS Window: True
Creating New Console: False
Executable: "/Applications/Thinkbox/Deadline6/Resources/deadlinecommand"
Executable: "/Applications/Thinkbox/Deadline6/Resources/deadlinecommand"
Argument: -DoHouseCleaning 10 True
Argument: -DoPendingJobScan True
Startup Directory: "/Applications/Thinkbox/Deadline6/Resources"
Startup Directory: "/Applications/Thinkbox/Deadline6/Resources"
Process Priority: BelowNormal
Process Affinity: default
Process Priority: BelowNormal
Process is now running
Process Affinity: default
Process is now running
rm: /Applications/Thinkbox/Deadline6/DeadlineCommand.app/Contents/Resources: No such file or directory
ln: /Applications/Thinkbox/Deadline6/DeadlineCommand.app/Contents/Resources/Resources: File exists
Performing Pending Job Scan...
Performing Job Cleanup Scan...
Pending Job Scan - Loading pending and active jobs
Job Cleanup Scan - Loading completed jobs
Job Cleanup Scan - Loaded 0 completed jobs in 892.000 μs
Job Cleanup Scan - Done.
Purging Deleted Jobs
Deleted Job Scan - Loading deleted jobs
Deleted Job Scan - Loaded 0 deleted jobs in 519.000 μs
Deleted Job Scan - Done.
Performing Stalled Slave Scan...
Stalled Slave Scan - Loading slave states
Pending Job Scan - Loaded 0 pending and active jobs in 2.179 ms
Pending Job Scan - Done.
Stalled Slave Scan - Loaded 3 slave states in 11.818 ms
Stalled Slave Scan - Loading job IDs
Stalled Slave Scan - Loaded 2 job IDs in 5.935 ms
Stalled Slave Scan - Scanning slave states
Stalled Slave Scan - Cleaned up 0 stalled slaves in 6.582 ms
Stalled Slave Scan - Done.
Process exit code: 0
Process exit code: 0
Pending Job Scan Thread - Performing pending job scan
Update timeout has been set to 300 seconds
Stdout Handling Enabled: False
Popup Handling Enabled: False
Using Process Tree: True
Hiding DOS Window: True
Creating New Console: False
Executable: "/Applications/Thinkbox/Deadline6/Resources/deadlinecommand"
Argument: -DoPendingJobScan True
Startup Directory: "/Applications/Thinkbox/Deadline6/Resources"
Process Priority: BelowNormal
Process Affinity: default
Process is now running
Clean Up Thread - Performing house cleaning
Update timeout has been set to 300 seconds
Stdout Handling Enabled: False
Popup Handling Enabled: False
Using Process Tree: True
Hiding DOS Window: True
Creating New Console: False
Executable: "/Applications/Thinkbox/Deadline6/Resources/deadlinecommand"
Argument: -DoHouseCleaning 10 True
Startup Directory: "/Applications/Thinkbox/Deadline6/Resources"
Process Priority: BelowNormal
Process Affinity: default
Process is now running
Performing Pending Job Scan...
Performing Job Cleanup Scan...
Pending Job Scan - Loading pending and active jobs
Pending Job Scan - Loaded 0 pending and active jobs in 2.685 ms
Pending Job Scan - Done.
Job Cleanup Scan - Loading completed jobs
Job Cleanup Scan - Loaded 0 completed jobs in 917.000 μs
Job Cleanup Scan - Done.
Purging Obsolete Slaves
Obsolete Slave Scan - Skipping because it is disabled in the Repository Options
Performing Stalled Slave Scan...
Stalled Slave Scan - Loading slave states
Stalled Slave Scan - Loaded 3 slave states in 13.587 ms
Stalled Slave Scan - Loading job IDs
Stalled Slave Scan - Loaded 2 job IDs in 6.176 ms
Stalled Slave Scan - Scanning slave states
Stalled Slave Scan - Cleaned up 0 stalled slaves in 6.695 ms
Stalled Slave Scan - Done.
Process exit code: 0
Process exit code: 0
Weird. It doesn’t look like it affected the first run either, because there is stdout from both commands, and they both return an exit code of 0.
It’s repeatable for me. Every time I open Pulse on OSX and give it a chance to execute it’s first run:
Connecting to Pulse (mbp.local:17062)...
---- 2013/12/06 16:16 ----
Server Thread - Auto Config: Listening for auto configuration requests on :::17061:17061
Web Service - Web Service listening for connections on port 8080...
Connecting to Pulse log
---- 2013/12/06 16:17 ----
Power Management - Thermal Shutdown: There are no temperature zones to check
Power Management - Idle Shutdown: There are no idle shutdown groups to check
Power Management - Machine Startup: There are no slaves that need to be woken up at this time
Power Management - Machine Restart: There are no machine groups to check
Power Management - Slave Scheduling: There are no scheduling groups to check
Pending Job Scan Thread - Performing pending job scan
Update timeout has been set to 300 seconds
Stdout Handling Enabled: False
Popup Handling Enabled: False
Using Process Tree: True
Hiding DOS Window: True
Creating New Console: False
Executable: "/Applications/Thinkbox/Deadline6/Resources/deadlinecommand"
Argument: -DoPendingJobScan True
Startup Directory: "/Applications/Thinkbox/Deadline6/Resources"
Clean Up Thread - Performing house cleaning
Update timeout has been set to 300 seconds
Stdout Handling Enabled: False
Popup Handling Enabled: False
Using Process Tree: True
Hiding DOS Window: True
Creating New Console: False
Executable: "/Applications/Thinkbox/Deadline6/Resources/deadlinecommand"
Argument: -DoHouseCleaning 10 True
Startup Directory: "/Applications/Thinkbox/Deadline6/Resources"
Process Priority: BelowNormal
Process Affinity: default
Process is now running
rm: /Applications/Thinkbox/Deadline6/DeadlineCommand.app/Contents/Resources: No such file or directory
Process Priority: BelowNormal
Process Affinity: default
Process is now running
ln: /Applications/Thinkbox/Deadline6/DeadlineCommand.app/Contents/Resources/Resources: File exists
Performing Pending Job Scan...
Performing Orphaned Task Scan...
Orphaned Task Scan - Loading rendering jobs
Orphaned Task Scan - Loaded 0 rendering jobs in 4.072 ms
Orphaned Task Scan - Done.
Performing Orphaned Limit Stub Scan...
Orphaned Limit Stub Scan - Loading limits
Pending Job Scan - Loading pending and active jobs
Orphaned Limit Stub Scan - Loaded 6 limits in 71.734 ms
Orphaned Limit Stub Scan - Loading slave states
Orphaned Limit Stub Scan - Loaded 3 slave states in 9.812 ms
Orphaned Limit Stub Scan - Returned 0 orphaned limit stubs in 32.000 μs
Orphaned Limit Stub Scan - Done.
Performing Stalled Slave Scan...
Stalled Slave Scan - Loading slave states
Stalled Slave Scan - Loaded 3 slave states in 320.000 μs
Stalled Slave Scan - Loading job IDs
Stalled Slave Scan - Loaded 3 job IDs in 7.346 ms
Stalled Slave Scan - Scanning slave states
Pending Job Scan - Loaded 0 pending and active jobs in 2.226 ms
Pending Job Scan - Done.
Stalled Slave Scan - Cleaned up 0 stalled slaves in 34.130 ms
Stalled Slave Scan - Done.
Process exit code: 0
Process exit code: 0
---- 2013/12/06 16:18 ----
Pending Job Scan Thread - Performing pending job scan
Update timeout has been set to 300 seconds
Stdout Handling Enabled: False
Popup Handling Enabled: False
Using Process Tree: True
Hiding DOS Window: True
Creating New Console: False
Executable: "/Applications/Thinkbox/Deadline6/Resources/deadlinecommand"
Argument: -DoPendingJobScan True
Startup Directory: "/Applications/Thinkbox/Deadline6/Resources"
Process Priority: BelowNormal
Process Affinity: default
Process is now running
Performing Pending Job Scan...
Clean Up Thread - Performing house cleaning
Update timeout has been set to 300 seconds
Stdout Handling Enabled: False
Popup Handling Enabled: False
Using Process Tree: True
Hiding DOS Window: True
Creating New Console: False
Executable: "/Applications/Thinkbox/Deadline6/Resources/deadlinecommand"
Argument: -DoHouseCleaning 10 True
Startup Directory: "/Applications/Thinkbox/Deadline6/Resources"
Process Priority: BelowNormal
Process Affinity: default
Process is now running
Pending Job Scan - Loading pending and active jobs
Pending Job Scan - Loaded 0 pending and active jobs in 2.212 ms
Pending Job Scan - Done.
Performing Orphaned Task Scan...
Orphaned Task Scan - Loading rendering jobs
Orphaned Task Scan - Loaded 0 rendering jobs in 4.049 ms
Orphaned Task Scan - Done.
Performing Orphaned Limit Stub Scan...
Orphaned Limit Stub Scan - Loading limits
Orphaned Limit Stub Scan - Loaded 6 limits in 72.006 ms
Orphaned Limit Stub Scan - Loading slave states
Orphaned Limit Stub Scan - Loaded 3 slave states in 11.879 ms
Orphaned Limit Stub Scan - Returned 0 orphaned limit stubs in 30.000 μs
Orphaned Limit Stub Scan - Done.
Purging Old Statistics
Old Statistics - Skipping job statistics because the option to purge them is disabled in the Repository Options
Old Statistics - Purging slave statistics that are older than Aug 08/13 16:18:57
Old Statistics - Purged old slave statistics in 1.618 ms
Old Statistics - Purging repository statistics that are older than Aug 08/13 16:18:57
Old Statistics - Purged old repository statistics in 516.000 μs
Performing Stalled Slave Scan...
Stalled Slave Scan - Loading slave states
Stalled Slave Scan - Loaded 3 slave states in 341.000 μs
Stalled Slave Scan - Loading job IDs
Stalled Slave Scan - Loaded 3 job IDs in 8.119 ms
Stalled Slave Scan - Scanning slave states
Stalled Slave Scan - Cleaned up 0 stalled slaves in 6.975 ms
Stalled Slave Scan - Done.
Process exit code: 0
Process exit code: 0
---- 2013/12/06 16:19 ----
Pending Job Scan Thread - Performing pending job scan
Update timeout has been set to 300 seconds
Stdout Handling Enabled: False
Popup Handling Enabled: False
Using Process Tree: True
Hiding DOS Window: True
Creating New Console: False
Executable: "/Applications/Thinkbox/Deadline6/Resources/deadlinecommand"
Argument: -DoPendingJobScan True
Startup Directory: "/Applications/Thinkbox/Deadline6/Resources"
Process Priority: BelowNormal
Process Affinity: default
Process is now running
Performing Pending Job Scan...
Clean Up Thread - Performing house cleaning
Update timeout has been set to 300 seconds
Stdout Handling Enabled: False
Popup Handling Enabled: False
Using Process Tree: True
Hiding DOS Window: True
Creating New Console: False
Executable: "/Applications/Thinkbox/Deadline6/Resources/deadlinecommand"
Argument: -DoHouseCleaning 10 True
Startup Directory: "/Applications/Thinkbox/Deadline6/Resources"
Process Priority: BelowNormal
Process Affinity: default
Process is now running
Pending Job Scan - Loading pending and active jobs
Pending Job Scan - Loaded 0 pending and active jobs in 2.896 ms
Pending Job Scan - Done.
Performing Stalled Slave Scan...
Stalled Slave Scan - Loading slave states
Stalled Slave Scan - Loaded 3 slave states in 87.183 ms
Stalled Slave Scan - Loading job IDs
Stalled Slave Scan - Loaded 3 job IDs in 7.769 ms
Stalled Slave Scan - Scanning slave states
Stalled Slave Scan - Cleaned up 0 stalled slaves in 57.666 ms
Stalled Slave Scan - Done.
Process exit code: 0
Process exit code: 0
---- 2013/12/06 16:20 ----
Connecting to Pulse log
It seems to like the first job pending scan, but has an issue for the houseCleaning first scan/run? I guess the code is identical in terms of how it’s being passed?
Can’t seem to reproduce it here…
Both the pending job scan and house cleaning processes are running fine though (you can see the stdout from them interleaved), so it’s probably not a big deal…
It’s Friday. I can’t let this thing beat me!
So, removed the Resources soft link in the Resources directory under my local OSX Deadline install and that got rid of one of the messages.
So, I did an uninstall and re-install clean using beta 12. Now I get this:
rm: /Applications/Thinkbox/Deadline6/DeadlineCommand.app/Contents/Resources/DeadlineCommand.icns: No such file or directory
rm: /Applications/Thinkbox/Deadline6/DeadlineCommand.app/Contents/Resources: No such file or directory
and the next attempt gives me this again:
rm: /Applications/Thinkbox/Deadline6/DeadlineCommand.app/Contents/Resources: No such file or directory
ln: /Applications/Thinkbox/Deadline6/DeadlineCommand.app/Contents/Resources/Resources: File exists
Looks like the soft link gets re-created at some point and the “DeadlineCommand” resources link inside of the “Resources” directory, is a link back to itself?
/Applications/Thinkbox/Deadline6/DeadlineCommand.app/Contents/Resources
lrwxr-xr-x 1 owenm admin 42B 6 Dec 19:07 Resources -> /Applications/Thinkbox/Deadline6/Resources
Am I misreading this?
Because all Deadline apps share the same Resources folder, we just link them all to that folder. I guess ideally, we would be suppressing any output from the rm and ln calls so that they don’t appear in the log, so maybe we should just do that.