Can't run agent build 3811 on HP-UX

Hello,

I'm trying to run the TeamCity agent, build 3811, on HP-UX, and get the following stack trace on launch:

Exception in thread "main" java.lang.ExceptionInInitializerError
at com.jniwrapper.DefaultLibraryLoader.(SourceFile:105) at com.jniwrapper.DefaultLibraryLoader.getInstance(SourceFile:122) at jetbrains.buildServer.agent.impl.BuildAgentImpl.fixPathsForJNIWrapper(BuildAgentImpl.java:162) at jetbrains.buildServer.agent.impl.BuildAgentImpl.(BuildAgentImpl.java:128) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:494) at org.picocontainer.defaults.InstantiatingComponentAdapter.newInstance(InstantiatingComponentAdapter.java:193) at org.picocontainer.defaults.ConstructorInjectionComponentAdapter$1.run(ConstructorInjectionComponentAdapter.java:220) at org.picocontainer.defaults.ThreadLocalCyclicDependencyGuard.observe(ThreadLocalCyclicDependencyGuard.java:53) at org.picocontainer.defaults.ConstructorInjectionComponentAdapter.getComponentInstance(ConstructorInjectionComponentAdapter.java:248) at org.picocontainer.defaults.DecoratingComponentAdapter.getComponentInstance(DecoratingComponentAdapter.java:60) at org.picocontainer.defaults.CachingComponentAdapter.getComponentInstance(CachingComponentAdapter.java:58) at org.picocontainer.defaults.DefaultPicoContainer.getInstance(DefaultPicoContainer.java:395) at org.picocontainer.defaults.DefaultPicoContainer.getComponentInstanceOfType(DefaultPicoContainer.java:383) at jetbrains.buildServer.agent.AgentMain.main(AgentMain.java:13) Caused by: java.lang.UnsupportedOperationException: Unsupported operation system. at com.jniwrapper.P.b(SourceFile:24) at com.jniwrapper.Library.(SourceFile:21) ... 17 more Exception in thread "main" java.lang.ExceptionInInitializerError at com.jniwrapper.DefaultLibraryLoader.(SourceFile:105) at com.jniwrapper.DefaultLibraryLoader.getInstance(SourceFile:122) at jetbrains.buildServer.agent.impl.BuildAgentImpl.fixPathsForJNIWrapper(BuildAgentImpl.java:162) at jetbrains.buildServer.agent.impl.BuildAgentImpl.(BuildAgentImpl.java:128) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:494) at org.picocontainer.defaults.InstantiatingComponentAdapter.newInstance(InstantiatingComponentAdapter.java:193) at org.picocontainer.defaults.ConstructorInjectionComponentAdapter$1.run(ConstructorInjectionComponentAdapter.java:220) at org.picocontainer.defaults.ThreadLocalCyclicDependencyGuard.observe(ThreadLocalCyclicDependencyGuard.java:53) at org.picocontainer.defaults.ConstructorInjectionComponentAdapter.getComponentInstance(ConstructorInjectionComponentAdapter.java:248) at org.picocontainer.defaults.DecoratingComponentAdapter.getComponentInstance(DecoratingComponentAdapter.java:60) at org.picocontainer.defaults.CachingComponentAdapter.getComponentInstance(CachingComponentAdapter.java:58) at org.picocontainer.defaults.DefaultPicoContainer.getInstance(DefaultPicoContainer.java:395) at org.picocontainer.defaults.DefaultPicoContainer.getComponentInstanceOfType(DefaultPicoContainer.java:383) at jetbrains.buildServer.agent.AgentMain.main(AgentMain.java:13) Caused by: java.lang.UnsupportedOperationException: Unsupported operation system. at com.jniwrapper.P.b(SourceFile:24) at com.jniwrapper.Library.]]>(SourceFile:21)
... 17 more

That last, "Unsupported operation system," exception is the most interesting. According to the TeamCity agent system requirements (http://www.jetbrains.net/confluence/display/TW/System+Requirements), only Java 1.5 is required. JAVA_HOME points to:

$JAVA_HOME/bin/java -version
java version "1.5.0.05"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0.05-_17_oct_2006_02_15)
Java HotSpot(TM) Server VM (build 1.5.0.05 jinteg:10.17.06-01:20 PA2.0 (aCC_AP), mixed mode)

Any ideas?

2 comments
Comment actions Permalink

Hello Ben,

In fact we use some native code to be able to stop builds on build agents reliably.
And this native code doesn't support HP-UP. But we shouldn't fail on agents where such native code doesn't work in any case, so please file a request for that in our Jira at http://www.jetbrains.net/jira/browse/TW .

Sorry for inconvinience,

KIR

0
Comment actions Permalink

Hello Kirill,

Thanks for your reply. The issue has been filed: http://www.jetbrains.net/jira/browse/TW-1962

Thanks,
Ben

0

Please sign in to leave a comment.