[JIRA] (JENKINS-12378) Error running agvtool mvers -terse1

classic Classic list List threaded Threaded
8 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

[JIRA] (JENKINS-12378) Error running agvtool mvers -terse1

JIRA noreply@jenkins-ci.org
Stephen Cook created JENKINS-12378:
--------------------------------------

             Summary: Error running agvtool mvers -terse1
                 Key: JENKINS-12378
                 URL: https://issues.jenkins-ci.org/browse/JENKINS-12378
             Project: Jenkins
          Issue Type: Bug
          Components: xcode
    Affects Versions: current
         Environment: Building on Jenkins slave running Mac OS X Snow Leopard: Darwin worms.openpeak.com 10.8.0 Darwin Kernel Version 10.8.0: Tue Jun  7 16:32:41 PDT 2011; root:xnu-1504.15.3~1/RELEASE_X86_64 x86_64
            Reporter: Stephen Cook
            Priority: Blocker
             Fix For: current


When my build job starts I get this Console Output (I have sanitized some doman names and replaced my job name with "myjob":

Started by timer
Building remotely on Worms_IOS
Reverting <sanitized>
Updating https://<sanitized>
At revision 66
no change for <sanitized> since the previous build
No emails were triggered.
Working directory is /Users/builder/workspace/<myjob>.
[<myjob>] $ /usr/bin/xcodebuild -version
Xcode 4.2
Build version 4C199
Fetching marketing version number (CFBundleShortVersionString) from project.
[myjob] $ /usr/bin/agvtool mvers -terse1
FATAL: java.lang.String.isEmpty()Z
java.lang.NoSuchMethodError: java.lang.String.isEmpty()Z
        at au.com.rayh.XCodeBuilder.perform(XCodeBuilder.java:195)
        at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19)
        at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:695)
        at hudson.model.Build$RunnerImpl.build(Build.java:178)
        at hudson.model.Build$RunnerImpl.doRun(Build.java:139)
        at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:461)
        at hudson.model.Run.run(Run.java:1404)
        at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
        at hudson.model.ResourceController.execute(ResourceController.java:88)
        at hudson.model.Executor.run(Executor.java:230)

Let me add that when I run agvtool mvers -terse1 from the command line in that working directory it displays "1.0".
Here is my java info for the slave:
worms:~ builder$ java -version
java version "1.6.0_29"
Java(TM) SE Runtime Environment (build 1.6.0_29-b11-402-10M3527)
Java HotSpot(TM) 64-Bit Server VM (build 20.4-b02-402, mixed mode)


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

[JIRA] (JENKINS-12378) Error running agvtool mvers -terse1

JIRA noreply@jenkins-ci.org

     [ https://issues.jenkins-ci.org/browse/JENKINS-12378?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

aheritier reassigned JENKINS-12378:
-----------------------------------

    Assignee: aheritier
   

> Error running agvtool mvers -terse1
> -----------------------------------
>
>                 Key: JENKINS-12378
>                 URL: https://issues.jenkins-ci.org/browse/JENKINS-12378
>             Project: Jenkins
>          Issue Type: Bug
>          Components: xcode
>    Affects Versions: current
>         Environment: Building on Jenkins slave running Mac OS X Snow Leopard: Darwin worms.openpeak.com 10.8.0 Darwin Kernel Version 10.8.0: Tue Jun  7 16:32:41 PDT 2011; root:xnu-1504.15.3~1/RELEASE_X86_64 x86_64
>            Reporter: Stephen Cook
>            Assignee: aheritier
>            Priority: Blocker
>             Fix For: current
>
>
> When my build job starts I get this Console Output (I have sanitized some doman names and replaced my job name with "myjob":
> Started by timer
> Building remotely on Worms_IOS
> Reverting <sanitized>
> Updating https://<sanitized>
> At revision 66
> no change for <sanitized> since the previous build
> No emails were triggered.
> Working directory is /Users/builder/workspace/<myjob>.
> [<myjob>] $ /usr/bin/xcodebuild -version
> Xcode 4.2
> Build version 4C199
> Fetching marketing version number (CFBundleShortVersionString) from project.
> [myjob] $ /usr/bin/agvtool mvers -terse1
> FATAL: java.lang.String.isEmpty()Z
> java.lang.NoSuchMethodError: java.lang.String.isEmpty()Z
> at au.com.rayh.XCodeBuilder.perform(XCodeBuilder.java:195)
> at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19)
> at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:695)
> at hudson.model.Build$RunnerImpl.build(Build.java:178)
> at hudson.model.Build$RunnerImpl.doRun(Build.java:139)
> at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:461)
> at hudson.model.Run.run(Run.java:1404)
> at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
> at hudson.model.ResourceController.execute(ResourceController.java:88)
> at hudson.model.Executor.run(Executor.java:230)
> Let me add that when I run agvtool mvers -terse1 from the command line in that working directory it displays "1.0".
> Here is my java info for the slave:
> worms:~ builder$ java -version
> java version "1.6.0_29"
> Java(TM) SE Runtime Environment (build 1.6.0_29-b11-402-10M3527)
> Java HotSpot(TM) 64-Bit Server VM (build 20.4-b02-402, mixed mode)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

[JIRA] (JENKINS-12378) Error running agvtool mvers -terse1

JIRA noreply@jenkins-ci.org
In reply to this post by JIRA noreply@jenkins-ci.org

    [ https://issues.jenkins-ci.org/browse/JENKINS-12378?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=157699#comment-157699 ]

aheritier commented on JENKINS-12378:
-------------------------------------

Do you have some logs in your node logs like : http://YOUR_URL/computer/Worms_IOS/log
Are you launching the agent from JNLP or with SSH ?
               

> Error running agvtool mvers -terse1
> -----------------------------------
>
>                 Key: JENKINS-12378
>                 URL: https://issues.jenkins-ci.org/browse/JENKINS-12378
>             Project: Jenkins
>          Issue Type: Bug
>          Components: xcode
>    Affects Versions: current
>         Environment: Building on Jenkins slave running Mac OS X Snow Leopard: Darwin worms.openpeak.com 10.8.0 Darwin Kernel Version 10.8.0: Tue Jun  7 16:32:41 PDT 2011; root:xnu-1504.15.3~1/RELEASE_X86_64 x86_64
>            Reporter: Stephen Cook
>            Assignee: aheritier
>            Priority: Blocker
>             Fix For: current
>
>
> When my build job starts I get this Console Output (I have sanitized some doman names and replaced my job name with "myjob":
> Started by timer
> Building remotely on Worms_IOS
> Reverting <sanitized>
> Updating https://<sanitized>
> At revision 66
> no change for <sanitized> since the previous build
> No emails were triggered.
> Working directory is /Users/builder/workspace/<myjob>.
> [<myjob>] $ /usr/bin/xcodebuild -version
> Xcode 4.2
> Build version 4C199
> Fetching marketing version number (CFBundleShortVersionString) from project.
> [myjob] $ /usr/bin/agvtool mvers -terse1
> FATAL: java.lang.String.isEmpty()Z
> java.lang.NoSuchMethodError: java.lang.String.isEmpty()Z
> at au.com.rayh.XCodeBuilder.perform(XCodeBuilder.java:195)
> at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19)
> at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:695)
> at hudson.model.Build$RunnerImpl.build(Build.java:178)
> at hudson.model.Build$RunnerImpl.doRun(Build.java:139)
> at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:461)
> at hudson.model.Run.run(Run.java:1404)
> at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
> at hudson.model.ResourceController.execute(ResourceController.java:88)
> at hudson.model.Executor.run(Executor.java:230)
> Let me add that when I run agvtool mvers -terse1 from the command line in that working directory it displays "1.0".
> Here is my java info for the slave:
> worms:~ builder$ java -version
> java version "1.6.0_29"
> Java(TM) SE Runtime Environment (build 1.6.0_29-b11-402-10M3527)
> Java HotSpot(TM) 64-Bit Server VM (build 20.4-b02-402, mixed mode)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

[JIRA] (JENKINS-12378) Error running agvtool mvers -terse1

JIRA noreply@jenkins-ci.org
In reply to this post by JIRA noreply@jenkins-ci.org

     [ https://issues.jenkins-ci.org/browse/JENKINS-12378?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

aheritier updated JENKINS-12378:
--------------------------------

    Attachment: xcode-plugin.hpi

I attached the latest SNAPSHOT of the plugin. Can you check if it fixes the issue. I removed all usages of String.isEmpty() but I always don't understand how it could be a problem for a java 6 slave.
               

> Error running agvtool mvers -terse1
> -----------------------------------
>
>                 Key: JENKINS-12378
>                 URL: https://issues.jenkins-ci.org/browse/JENKINS-12378
>             Project: Jenkins
>          Issue Type: Bug
>          Components: xcode
>    Affects Versions: current
>         Environment: Building on Jenkins slave running Mac OS X Snow Leopard: Darwin worms.openpeak.com 10.8.0 Darwin Kernel Version 10.8.0: Tue Jun  7 16:32:41 PDT 2011; root:xnu-1504.15.3~1/RELEASE_X86_64 x86_64
>            Reporter: Stephen Cook
>            Assignee: aheritier
>            Priority: Blocker
>             Fix For: current
>
>         Attachments: xcode-plugin.hpi
>
>
> When my build job starts I get this Console Output (I have sanitized some doman names and replaced my job name with "myjob":
> Started by timer
> Building remotely on Worms_IOS
> Reverting <sanitized>
> Updating https://<sanitized>
> At revision 66
> no change for <sanitized> since the previous build
> No emails were triggered.
> Working directory is /Users/builder/workspace/<myjob>.
> [<myjob>] $ /usr/bin/xcodebuild -version
> Xcode 4.2
> Build version 4C199
> Fetching marketing version number (CFBundleShortVersionString) from project.
> [myjob] $ /usr/bin/agvtool mvers -terse1
> FATAL: java.lang.String.isEmpty()Z
> java.lang.NoSuchMethodError: java.lang.String.isEmpty()Z
> at au.com.rayh.XCodeBuilder.perform(XCodeBuilder.java:195)
> at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19)
> at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:695)
> at hudson.model.Build$RunnerImpl.build(Build.java:178)
> at hudson.model.Build$RunnerImpl.doRun(Build.java:139)
> at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:461)
> at hudson.model.Run.run(Run.java:1404)
> at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
> at hudson.model.ResourceController.execute(ResourceController.java:88)
> at hudson.model.Executor.run(Executor.java:230)
> Let me add that when I run agvtool mvers -terse1 from the command line in that working directory it displays "1.0".
> Here is my java info for the slave:
> worms:~ builder$ java -version
> java version "1.6.0_29"
> Java(TM) SE Runtime Environment (build 1.6.0_29-b11-402-10M3527)
> Java HotSpot(TM) 64-Bit Server VM (build 20.4-b02-402, mixed mode)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

[JIRA] (JENKINS-12378) Error running agvtool mvers -terse1

JIRA noreply@jenkins-ci.org
In reply to this post by JIRA noreply@jenkins-ci.org

    [ https://issues.jenkins-ci.org/browse/JENKINS-12378?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=157705#comment-157705 ]

Stephen Cook commented on JENKINS-12378:
----------------------------------------

Here is my log from .../computer/Worms_IOS/log which is highly suggestive.  Referring to my last comment below, it looks like it is hung:

[01/09/12 13:29:06] [SSH] Opening SSH connection to worms.openpeak.com:22.
[01/09/12 13:29:06] [SSH] Authenticating as builder with /home/builder/.ssh/id_rsa.
[01/09/12 13:29:06] [SSH] Authentication successful.
[01/09/12 13:29:06] [SSH] The remote users environment is:
BASH=/bin/bash
BASH_ARGC=()
BASH_ARGV=()
BASH_EXECUTION_STRING=set
BASH_LINENO=()
BASH_SOURCE=()
BASH_VERSINFO=([0]="3" [1]="2" [2]="48" [3]="1" [4]="release" [5]="x86_64-apple-darwin10.0")
BASH_VERSION='3.2.48(1)-release'
DIRSTACK=()
EUID=508
GROUPS=()
HOME=/Users/builder
HOSTNAME=worms.openpeak.com
HOSTTYPE=x86_64
IFS=$' \t\n'
LOGNAME=builder
MACHTYPE=x86_64-apple-darwin10.0
MAIL=/var/mail/builder
OPTERR=1
OPTIND=1
OSTYPE=darwin10.0
PATH=/usr/bin:/bin:/usr/sbin:/sbin
PIPESTATUS=([0]="0")
PPID=59359
PS4='+ '
PWD=/Users/builder
SHELL=/bin/bash
SHELLOPTS=braceexpand:hashall:interactive-comments
SHLVL=1
SSH_CLIENT='xx.xx.xx.xx 37693 22'
SSH_CONNECTION='xx.xx.xx.xx 37693 xx.xx.xx.xx 22'
TERM=dumb
UID=508
USER=builder
_=']'
[01/09/12 13:29:06] [SSH] Starting sftp client.
[01/09/12 13:29:06] [SSH] Copying latest slave.jar...
[01/09/12 13:29:07] [SSH] Copied 250,903 bytes.
[01/09/12 13:29:07] [SSH] Starting slave process: cd '/Users/builder' && /usr/bin/java  -jar slave.jar
<===[JENKINS REMOTING CAPACITY]===>
(HERE I have the circular clock-like icon indicating it is waiting for more input)

               

> Error running agvtool mvers -terse1
> -----------------------------------
>
>                 Key: JENKINS-12378
>                 URL: https://issues.jenkins-ci.org/browse/JENKINS-12378
>             Project: Jenkins
>          Issue Type: Bug
>          Components: xcode
>    Affects Versions: current
>         Environment: Building on Jenkins slave running Mac OS X Snow Leopard: Darwin worms.openpeak.com 10.8.0 Darwin Kernel Version 10.8.0: Tue Jun  7 16:32:41 PDT 2011; root:xnu-1504.15.3~1/RELEASE_X86_64 x86_64
>            Reporter: Stephen Cook
>            Assignee: aheritier
>            Priority: Blocker
>             Fix For: current
>
>         Attachments: xcode-plugin.hpi
>
>
> When my build job starts I get this Console Output (I have sanitized some doman names and replaced my job name with "myjob":
> Started by timer
> Building remotely on Worms_IOS
> Reverting <sanitized>
> Updating https://<sanitized>
> At revision 66
> no change for <sanitized> since the previous build
> No emails were triggered.
> Working directory is /Users/builder/workspace/<myjob>.
> [<myjob>] $ /usr/bin/xcodebuild -version
> Xcode 4.2
> Build version 4C199
> Fetching marketing version number (CFBundleShortVersionString) from project.
> [myjob] $ /usr/bin/agvtool mvers -terse1
> FATAL: java.lang.String.isEmpty()Z
> java.lang.NoSuchMethodError: java.lang.String.isEmpty()Z
> at au.com.rayh.XCodeBuilder.perform(XCodeBuilder.java:195)
> at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19)
> at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:695)
> at hudson.model.Build$RunnerImpl.build(Build.java:178)
> at hudson.model.Build$RunnerImpl.doRun(Build.java:139)
> at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:461)
> at hudson.model.Run.run(Run.java:1404)
> at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
> at hudson.model.ResourceController.execute(ResourceController.java:88)
> at hudson.model.Executor.run(Executor.java:230)
> Let me add that when I run agvtool mvers -terse1 from the command line in that working directory it displays "1.0".
> Here is my java info for the slave:
> worms:~ builder$ java -version
> java version "1.6.0_29"
> Java(TM) SE Runtime Environment (build 1.6.0_29-b11-402-10M3527)
> Java HotSpot(TM) 64-Bit Server VM (build 20.4-b02-402, mixed mode)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

[JIRA] (JENKINS-12378) Error running agvtool mvers -terse1

JIRA noreply@jenkins-ci.org
In reply to this post by JIRA noreply@jenkins-ci.org

    [ https://issues.jenkins-ci.org/browse/JENKINS-12378?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=157707#comment-157707 ]

Stephen Cook commented on JENKINS-12378:
----------------------------------------

I tried the attached plugin-in which seems to fix it:

Working directory is /Users/builder/workspace/<myjob>.
[<myjob>] $ /usr/bin/xcodebuild -version
Xcode 4.2
Build version 4C199
Fetching marketing version number (CFBundleShortVersionString) from project.
[<myjob>] $ /usr/bin/agvtool mvers -terse1
Found marketing version (CFBundleShortVersionString): 1.0.
Marketing version (CFBundleShortVersionString) found in project configuration: 1.0.
Fetching technical version number (CFBundleVersion) from project.
[<myjob>] $ /usr/bin/agvtool vers -terse
No marketing version found (CFBundleVersion)
Technical version (CFBundleVersion) found in project configuration: .
...

Of course, I now find standard build errors I will need to address on my side.

Thanks.
               

> Error running agvtool mvers -terse1
> -----------------------------------
>
>                 Key: JENKINS-12378
>                 URL: https://issues.jenkins-ci.org/browse/JENKINS-12378
>             Project: Jenkins
>          Issue Type: Bug
>          Components: xcode
>    Affects Versions: current
>         Environment: Building on Jenkins slave running Mac OS X Snow Leopard: Darwin worms.openpeak.com 10.8.0 Darwin Kernel Version 10.8.0: Tue Jun  7 16:32:41 PDT 2011; root:xnu-1504.15.3~1/RELEASE_X86_64 x86_64
>            Reporter: Stephen Cook
>            Assignee: aheritier
>            Priority: Blocker
>             Fix For: current
>
>         Attachments: xcode-plugin.hpi
>
>
> When my build job starts I get this Console Output (I have sanitized some doman names and replaced my job name with "myjob":
> Started by timer
> Building remotely on Worms_IOS
> Reverting <sanitized>
> Updating https://<sanitized>
> At revision 66
> no change for <sanitized> since the previous build
> No emails were triggered.
> Working directory is /Users/builder/workspace/<myjob>.
> [<myjob>] $ /usr/bin/xcodebuild -version
> Xcode 4.2
> Build version 4C199
> Fetching marketing version number (CFBundleShortVersionString) from project.
> [myjob] $ /usr/bin/agvtool mvers -terse1
> FATAL: java.lang.String.isEmpty()Z
> java.lang.NoSuchMethodError: java.lang.String.isEmpty()Z
> at au.com.rayh.XCodeBuilder.perform(XCodeBuilder.java:195)
> at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19)
> at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:695)
> at hudson.model.Build$RunnerImpl.build(Build.java:178)
> at hudson.model.Build$RunnerImpl.doRun(Build.java:139)
> at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:461)
> at hudson.model.Run.run(Run.java:1404)
> at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
> at hudson.model.ResourceController.execute(ResourceController.java:88)
> at hudson.model.Executor.run(Executor.java:230)
> Let me add that when I run agvtool mvers -terse1 from the command line in that working directory it displays "1.0".
> Here is my java info for the slave:
> worms:~ builder$ java -version
> java version "1.6.0_29"
> Java(TM) SE Runtime Environment (build 1.6.0_29-b11-402-10M3527)
> Java HotSpot(TM) 64-Bit Server VM (build 20.4-b02-402, mixed mode)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

[JIRA] (JENKINS-12378) Error running agvtool mvers -terse1

JIRA noreply@jenkins-ci.org
In reply to this post by JIRA noreply@jenkins-ci.org

     [ https://issues.jenkins-ci.org/browse/JENKINS-12378?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

aheritier resolved JENKINS-12378.
---------------------------------

    Resolution: Fixed

ok thus I mark it as fixed for 1.3 even if in your case I don't understand why you may have a java 1.6 incompatibility on a Java 6 VM.
               

> Error running agvtool mvers -terse1
> -----------------------------------
>
>                 Key: JENKINS-12378
>                 URL: https://issues.jenkins-ci.org/browse/JENKINS-12378
>             Project: Jenkins
>          Issue Type: Bug
>          Components: xcode
>    Affects Versions: current
>         Environment: Building on Jenkins slave running Mac OS X Snow Leopard: Darwin worms.openpeak.com 10.8.0 Darwin Kernel Version 10.8.0: Tue Jun  7 16:32:41 PDT 2011; root:xnu-1504.15.3~1/RELEASE_X86_64 x86_64
>            Reporter: Stephen Cook
>            Assignee: aheritier
>            Priority: Blocker
>             Fix For: current
>
>         Attachments: xcode-plugin.hpi
>
>
> When my build job starts I get this Console Output (I have sanitized some doman names and replaced my job name with "myjob":
> Started by timer
> Building remotely on Worms_IOS
> Reverting <sanitized>
> Updating https://<sanitized>
> At revision 66
> no change for <sanitized> since the previous build
> No emails were triggered.
> Working directory is /Users/builder/workspace/<myjob>.
> [<myjob>] $ /usr/bin/xcodebuild -version
> Xcode 4.2
> Build version 4C199
> Fetching marketing version number (CFBundleShortVersionString) from project.
> [myjob] $ /usr/bin/agvtool mvers -terse1
> FATAL: java.lang.String.isEmpty()Z
> java.lang.NoSuchMethodError: java.lang.String.isEmpty()Z
> at au.com.rayh.XCodeBuilder.perform(XCodeBuilder.java:195)
> at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19)
> at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:695)
> at hudson.model.Build$RunnerImpl.build(Build.java:178)
> at hudson.model.Build$RunnerImpl.doRun(Build.java:139)
> at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:461)
> at hudson.model.Run.run(Run.java:1404)
> at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
> at hudson.model.ResourceController.execute(ResourceController.java:88)
> at hudson.model.Executor.run(Executor.java:230)
> Let me add that when I run agvtool mvers -terse1 from the command line in that working directory it displays "1.0".
> Here is my java info for the slave:
> worms:~ builder$ java -version
> java version "1.6.0_29"
> Java(TM) SE Runtime Environment (build 1.6.0_29-b11-402-10M3527)
> Java HotSpot(TM) 64-Bit Server VM (build 20.4-b02-402, mixed mode)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

[JIRA] (JENKINS-12378) Error running agvtool mvers -terse1

JIRA noreply@jenkins-ci.org
In reply to this post by JIRA noreply@jenkins-ci.org

     [ https://issues.jenkins-ci.org/browse/JENKINS-12378?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Arnaud Héritier closed JENKINS-12378.
-------------------------------------

   

> Error running agvtool mvers -terse1
> -----------------------------------
>
>                 Key: JENKINS-12378
>                 URL: https://issues.jenkins-ci.org/browse/JENKINS-12378
>             Project: Jenkins
>          Issue Type: Bug
>          Components: xcode
>    Affects Versions: current
>         Environment: Building on Jenkins slave running Mac OS X Snow Leopard: Darwin worms.openpeak.com 10.8.0 Darwin Kernel Version 10.8.0: Tue Jun  7 16:32:41 PDT 2011; root:xnu-1504.15.3~1/RELEASE_X86_64 x86_64
>            Reporter: Stephen Cook
>            Assignee: Arnaud Héritier
>            Priority: Blocker
>             Fix For: current
>
>         Attachments: xcode-plugin.hpi
>
>
> When my build job starts I get this Console Output (I have sanitized some doman names and replaced my job name with "myjob":
> Started by timer
> Building remotely on Worms_IOS
> Reverting <sanitized>
> Updating https://<sanitized>
> At revision 66
> no change for <sanitized> since the previous build
> No emails were triggered.
> Working directory is /Users/builder/workspace/<myjob>.
> [<myjob>] $ /usr/bin/xcodebuild -version
> Xcode 4.2
> Build version 4C199
> Fetching marketing version number (CFBundleShortVersionString) from project.
> [myjob] $ /usr/bin/agvtool mvers -terse1
> FATAL: java.lang.String.isEmpty()Z
> java.lang.NoSuchMethodError: java.lang.String.isEmpty()Z
> at au.com.rayh.XCodeBuilder.perform(XCodeBuilder.java:195)
> at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19)
> at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:695)
> at hudson.model.Build$RunnerImpl.build(Build.java:178)
> at hudson.model.Build$RunnerImpl.doRun(Build.java:139)
> at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:461)
> at hudson.model.Run.run(Run.java:1404)
> at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
> at hudson.model.ResourceController.execute(ResourceController.java:88)
> at hudson.model.Executor.run(Executor.java:230)
> Let me add that when I run agvtool mvers -terse1 from the command line in that working directory it displays "1.0".
> Here is my java info for the slave:
> worms:~ builder$ java -version
> java version "1.6.0_29"
> Java(TM) SE Runtime Environment (build 1.6.0_29-b11-402-10M3527)
> Java HotSpot(TM) 64-Bit Server VM (build 20.4-b02-402, mixed mode)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


Loading...