Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error in Jenkins Job #63

Closed
ctasca opened this issue Apr 8, 2012 · 1 comment
Closed

Error in Jenkins Job #63

ctasca opened this issue Apr 8, 2012 · 1 comment

Comments

@ctasca
Copy link

ctasca commented Apr 8, 2012

Hello,

Do you know why this is happening?

Thanks

phpdox:
[exec] phpdox 0.4.0 - Copyright (C) 2010 - 2012 by Arne Blankerts
[exec]
[exec] [08.04.2012 - 14:29:47] Using config file '/Users/Shared/Jenkins/Home/jobs/jenkings-test/workspace/phpdox.xml.dist'
[exec] [08.04.2012 - 14:29:47] Registered output engine 'html'
[exec] [08.04.2012 - 14:29:47]
[exec]
[exec] Oups... phpDox encountered a problem and has terminated!
[exec] It most likely means you've found a bug, so please file a report for this and paste the stacktrace (if given) along!
[exec]
[exec] Exception: ErrorException
[exec] Location: /Applications/MAMP/bin/php/php5.3.6/lib/php/TheSeer/phpDox/collector/Collector.php (Line 98)
[exec]
[exec] touch(): Utime failed: Operation not permitted
[exec]
[exec] #0 /Applications/MAMP/bin/php/php5.3.6/lib/php/TheSeer/phpDox/collector/Collector.php(98): Arraytouch()
[exec] #1 /Applications/MAMP/bin/php/php5.3.6/lib/php/TheSeer/phpDox/Application.php(123): TheSeer\phpDox\Collector->run()
[exec] #2 /Applications/MAMP/bin/php/php5.3.6/lib/php/TheSeer/phpDox/CLIRegistered output engine 'graph'
[exec] [08.04.2012 - 14:29:47] Registered output engine 'todo'
[exec] [08.04.2012 - 14:29:47] Registered outp.php(124): TheSeer\phpDox\Application->runCollector()
[exec] #3 /Applications/MAMP/bin/php/php5.3.6/bin/phpdox(62): TheSeer\phpDox\CLI-ut engine 'xslrunner'
[exec] [08.04.2012 - 14:29:47] Starting to process project 'jenkins-test'
[exec] [08.04.2012 - 14:29:47] Starting collec>run()
[exec]
[exec]
[exec]
[exec] tor
[exec]
[exec] f
[exec] Result: 1

@theseer
Copy link
Owner

theseer commented Apr 10, 2012

phpDox uses the utime value of the files generated to see whether or not the source file changed, so a touch() call is performed to adjust the time accordingly. As shown by the error message

touch(): Utime failed: Operation not permitted

this fails on your system. I cannot really say as to why that happens but obviously some permission issues prohibit the user account phpDox is being run under to execute said statement. Quite a few people are using phpDox with Jenkins already - despite its early version - without a problem.

This does not seem to be an issue with phpDox but the user permissions.

@theseer theseer closed this as completed Apr 10, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants