can't startup Jenkins

1,699 views
Skip to first unread message

敬錞潘

unread,
Mar 19, 2014, 4:40:18 AM3/19/14
to jenkins...@googlegroups.com
I can startup Jenkins yesterday ,
and it can auto build my project
(but xcodebuild fail always,this is another problem,i want to fix it later)

Today morning I install Tap plugin&TestFlight plugin

and add a Tap & TestFlight setting in my project configuration,
Jenkins checkout new one version again then auto build,
build failed....
Upload to Testflight fail ...
Parsing TAP test result fail...
then it don't finish the build,it start to hang up


I don't know how to setup TAP pattern,
Based on my observation,
TAP plugin will process all file to Parsing TAP test result,
but it should only process .TAP file
Q1:how to fill in TAP pattern field in Jenkins?

I reboot my computer,
then I execute this command below:
java -jar jenkins.war
Output:
Running from: /Applications/jenkins.war
webroot: $user.home/.jenkins
2014/3/19 ?U?? 04:15:35 org.eclipse.jetty.util.log.JavaUtilLog info
??T: jetty-8.y.z-SNAPSHOT
2014/3/19 ?U?? 04:15:35 org.eclipse.jetty.util.log.JavaUtilLog info
??T: Extract jar:file:/Applications/jenkins.war!/ to /private/var/folders/5c/h9rryxsj2p79kbvdms9dhc4c0000gn/T/jetty-0.0.0.0-8080-jenkins.war--any-/webapp
2014/3/19 ?U?? 04:15:39 org.eclipse.jetty.util.log.JavaUtilLog info
??T: NO JSP Support for , did not find org.apache.jasper.servlet.JspServlet
Jenkins home directory: /Users/peter/.jenkins found at: $user.home/.jenkins
2014/3/19 ?U?? 04:15:40 org.eclipse.jetty.util.log.JavaUtilLog warn
ĵ?i: FAILED SelectChann...@0.0.0.0:8080: java.net.BindException: Address already in use
java.net.BindException: Address already in use
    at sun.nio.ch.Net.bind(Native Method)
    at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:124)
    at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:59)
    at org.eclipse.jetty.server.nio.SelectChannelConnector.open(SelectChannelConnector.java:187)
    at org.eclipse.jetty.server.AbstractConnector.doStart(AbstractConnector.java:316)
    at org.eclipse.jetty.server.nio.SelectChannelConnector.doStart(SelectChannelConnector.java:265)
    at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
    at org.eclipse.jetty.server.Server.doStart(Server.java:293)
    at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
    at winstone.Launcher.<init>(Launcher.java:154)
    at winstone.Launcher.main(Launcher.java:354)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at Main._main(Main.java:293)
    at Main.main(Main.java:98)
2014/3/19 ?U?? 04:15:40 org.eclipse.jetty.util.log.JavaUtilLog warn
ĵ?i: FAILED org.eclipse.jetty.server.Server@524c71d2: java.net.BindException: Address already in use
java.net.BindException: Address already in use
    at sun.nio.ch.Net.bind(Native Method)
    at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:124)
    at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:59)
    at org.eclipse.jetty.server.nio.SelectChannelConnector.open(SelectChannelConnector.java:187)
    at org.eclipse.jetty.server.AbstractConnector.doStart(AbstractConnector.java:316)
    at org.eclipse.jetty.server.nio.SelectChannelConnector.doStart(SelectChannelConnector.java:265)
    at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
    at org.eclipse.jetty.server.Server.doStart(Server.java:293)
    at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
    at winstone.Launcher.<init>(Launcher.java:154)
    at winstone.Launcher.main(Launcher.java:354)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at Main._main(Main.java:293)
    at Main.main(Main.java:98)
2014/3/19 ?U?? 04:15:40 org.eclipse.jetty.util.log.JavaUtilLog info
??T: stopped w.{,file:/private/var/folders/5c/h9rryxsj2p79kbvdms9dhc4c0000gn/T/jetty-0.0.0.0-8080-jenkins.war--any-/webapp/},/Applications/jenkins.war
2014/3/19 ?U?? 04:15:41 winstone.Logger logInternal
??T: Winstone shutdown successfully
2014/3/19 ?U?? 04:15:41 winstone.Logger logInternal
?Y????: Container startup failed
java.io.IOException: Failed to start Jetty
    at winstone.Launcher.<init>(Launcher.java:156)
    at winstone.Launcher.main(Launcher.java:354)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at Main._main(Main.java:293)
    at Main.main(Main.java:98)
Caused by: java.net.BindException: Address already in use
    at sun.nio.ch.Net.bind(Native Method)
    at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:124)
    at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:59)
    at org.eclipse.jetty.server.nio.SelectChannelConnector.open(SelectChannelConnector.java:187)
    at org.eclipse.jetty.server.AbstractConnector.doStart(AbstractConnector.java:316)
    at org.eclipse.jetty.server.nio.SelectChannelConnector.doStart(SelectChannelConnector.java:265)
    at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
    at org.eclipse.jetty.server.Server.doStart(Server.java:293)
    at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
    at winstone.Launcher.<init>(Launcher.java:154)
    ... 7 more
2014/3/19 ?U?? 04:15:41 hudson.util.BootFailure publish
?Y????: Failed to initialize Jenkins
hudson.util.HudsonFailedToLoad: java.lang.InterruptedException
    at hudson.WebAppMain$3.run(WebAppMain.java:234)
Caused by: java.lang.InterruptedException
    at java.lang.Object.wait(Native Method)
    at java.lang.Object.wait(Object.java:485)
    at org.jvnet.hudson.reactor.Reactor.execute(Reactor.java:267)
    at jenkins.InitReactorRunner.run(InitReactorRunner.java:44)
    at jenkins.model.Jenkins.executeReactor(Jenkins.java:910)
    at jenkins.model.Jenkins.<init>(Jenkins.java:809)
    at hudson.model.Hudson.<init>(Hudson.java:82)
    at hudson.model.Hudson.<init>(Hudson.java:78)
    at hudson.WebAppMain$3.run(WebAppMain.java:222)
java.io.IOException: Stream closed
    at java.io.BufferedInputStream.getInIfOpen(BufferedInputStream.java:134)
    at java.io.BufferedInputStream.fill(BufferedInputStream.java:218)
    at java.io.BufferedInputStream.read(BufferedInputStream.java:237)
    at java.io.DataInputStream.readUnsignedShort(DataInputStream.java:320)
    at java.io.DataInputStream.readUTF(DataInputStream.java:572)
    at java.io.DataInputStream.readUTF(DataInputStream.java:547)
    at org.codehaus.groovy.reflection.GeneratedMetaMethod$DgmMethodRecord.loadDgmInfo(GeneratedMetaMethod.java:172)
    at org.codehaus.groovy.runtime.metaclass.MetaClassRegistryImpl.registerMethods(MetaClassRegistryImpl.java:155)
    at org.codehaus.groovy.runtime.metaclass.MetaClassRegistryImpl.<init>(MetaClassRegistryImpl.java:83)
    at org.codehaus.groovy.runtime.metaclass.MetaClassRegistryImpl.<init>(MetaClassRegistryImpl.java:61)
    at groovy.lang.GroovySystem.<clinit>(GroovySystem.java:29)
    at org.codehaus.groovy.runtime.InvokerHelper.<clinit>(InvokerHelper.java:49)
    at groovy.lang.GroovyObjectSupport.<init>(GroovyObjectSupport.java:32)
    at groovy.lang.Binding.<init>(Binding.java:34)
    at jenkins.util.groovy.GroovyHookScript.<init>(GroovyHookScript.java:42)
    at hudson.util.BootFailure.publish(BootFailure.java:43)
    at hudson.WebAppMain$3.run(WebAppMain.java:234)

I can't startup Jenkins finally.
Q2:How can I reinstall Jenkins or fix this runtime error?

Thanks.
Regards.

Richard Bywater

unread,
Mar 19, 2014, 6:08:13 AM3/19/14
to jenkins...@googlegroups.com
Re Q2, looks like the port is in use. Do you perhaps have Jenkins set to autostart when you boot your computer? Either that or some other application has grabbed it.

Richard.


--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-use...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages