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

unexplained "Process exited with code 1" #5

Open
nafg opened this issue Dec 23, 2014 · 5 comments
Open

unexplained "Process exited with code 1" #5

nafg opened this issue Dec 23, 2014 · 5 comments

Comments

@nafg
Copy link

nafg commented Dec 23, 2014

Please help! My sbt build step keeps failing in TeamCity 9. Here's the log:

[04:53:53]i: TeamCity server version is 9.0 (build 32060)
[04:53:53]E: bt1 (31s)
[04:53:53] : Checking for changes (running for 31s)
[04:53:53] : Collecting changes in 1 VCS root
[04:53:53] :     [Collecting changes in 1 VCS root] VCS Root details
[04:53:53] :         [VCS Root details] "JJ-ASM" {instance id=5, parent internal id=1, parent id=JjAsm_JjAs, description: "[email protected]:XXXXXXXX.git#refs/heads/master"}
[04:53:54]i:     [Collecting changes in 1 VCS root] Waiting for completion of current operations for the VCS root 'JJ-ASM'
[04:53:54]i:     [Collecting changes in 1 VCS root] Detecting changes in VCS root 'JJ-ASM' (used in deploy)
[04:53:54]i:     [Collecting changes in 1 VCS root] Will collect changes for 'JJ-ASM' starting from revision 8045b3a260a3e867db504c1361d27bfa51cadb9b
[04:53:54]i: Agent time zone: America/New_York
[04:53:54]i: Agent is running under JRE: 1.8.0_25-b17
[04:53:54] : Publishing internal artifacts
[04:53:54] :     [Publishing internal artifacts] Sending using WebPublisher
[04:53:54] :     [Publishing internal artifacts] Sending using ArtifactsCachePublisher
[04:53:54] : Clearing temporary directory: /home/teamcity/TeamCity/buildAgent/temp/buildTmp
[04:53:54] : Checkout directory: /home/teamcity/TeamCity/buildAgent/work/ba59548f3b1a8b03
[04:53:54] : Updating sources: server side checkout
[04:53:54] :     [Updating sources] Using vcs information from agent file: ba59548f3b1a8b03.xml
[04:53:54] :     [Updating sources] Building incremental patch for VCS root: JJ-ASM; checkout rules: =>; revision: 8045b3a260a3e867db504c1361d27bfa51cadb9b --> 8045b3a260a3e867db504c1361d27bfa51cadb9b
[04:53:54] :     [Updating sources] Repository sources transferred
[04:53:54]i: ##teamcity[buildStatisticValue key='buildStageDuration:sourcesUpdate' value='327.0']
[04:53:54] : Build preparation done
[04:53:54] : Step 1/2: sbt assembly (Command Line)
[04:53:54] :     [Step 1/2] Disabled build step sbt assembly (Command Line) is skipped
[04:53:54]E: Step 2/2: Simple Build Tool (Scala) (29s)
[04:53:54]i:     [Step 2/2] ##teamcity[buildStatisticValue key='buildStageDuration:firstStepPreparation' value='79.0']
[04:53:54]i:     [Step 2/2] ##teamcity[buildStatisticValue key='buildStageDuration:buildStepRUNNER_2' value='0.0']
[04:53:54] :     [Step 2/2] SBT installation: 'Auto' mode was selected in SBT runner plugin settings
[04:53:54] :         [SBT installation] SBT will be install to: /home/teamcity/TeamCity/buildAgent/temp/agentTmp/agent-sbt
[04:53:54] :         [SBT installation] Resource was copied to: /home/teamcity/TeamCity/buildAgent/temp/agentTmp/agent-sbt/bin/sbt-launch.jar
[04:53:54] :         [SBT installation] Resource was copied to: /home/teamcity/TeamCity/buildAgent/temp/agentTmp/agent-sbt/plugins/lib/sbt-teamcity-logger.jar
[04:53:54] :         [SBT installation] SBT home set to: /home/teamcity/TeamCity/buildAgent/temp/agentTmp/agent-sbt
[04:53:54] :         [SBT installation] SBT main class name will be retrieved from: /home/teamcity/TeamCity/buildAgent/temp/agentTmp/agent-sbt/bin/sbt-launch.jar
[04:53:54] :     [Step 2/2] Java home set to: /usr/lib/jvm/java-8-oracle
[04:53:54] :     [Step 2/2] SBT home set to: /home/teamcity/TeamCity/buildAgent/temp/agentTmp/agent-sbt
[04:53:54] :     [Step 2/2] Starting: /usr/lib/jvm/java-8-oracle/bin/java -Dagent.home.dir=/home/teamcity/TeamCity/buildAgent -Dagent.name=Default Agent -Dagent.ownPort=9090 -Dagent.work.dir=/home/teamcity/TeamCity/buildAgent/work -Dbuild.number=256 -Dbuild.vcs.number=8045b3a260a3e867db504c1361d27bfa51cadb9b -Dbuild.vcs.number.1=8045b3a260a3e867db504c1361d27bfa51cadb9b -Dbuild.vcs.number.JjAsm_JjAs=8045b3a260a3e867db504c1361d27bfa51cadb9b -Djava.io.tmpdir=/home/teamcity/TeamCity/buildAgent/temp/buildTmp -Dsbt.ivy.home=/home/teamcity/TeamCity/buildAgent/system/sbt_ivy -Dteamcity.agent.cpuBenchmark=308 -Dteamcity.agent.dotnet.agent_url=http://localhost:9090/RPC2 -Dteamcity.agent.dotnet.build_id=280 -Dteamcity.auth.password=YuEh2MgNjr2ZnEeN3RaFuibv1mYgynXU -Dteamcity.auth.userId=TeamCityBuildId=280 -Dteamcity.build.changedFiles.file=/home/teamcity/TeamCity/buildAgent/temp/buildTmp/changedFiles4040548913247679421.txt -Dteamcity.build.checkoutDir=/home/teamcity/TeamCity/buildAgent/work/ba59548f3b1a8b03 -Dteamcity.build.id=280 -Dteamcity.build.properties.file=/home/teamcity/TeamCity/buildAgent/temp/buildTmp/teamcity.build8212603673920644950.properties -Dteamcity.build.tempDir=/home/teamcity/TeamCity/buildAgent/temp/buildTmp -Dteamcity.build.workingDir=/home/teamcity/TeamCity/buildAgent/work/ba59548f3b1a8b03 -Dteamcity.buildConfName=deploy -Dteamcity.buildType.id=JjAsm_Deploy -Dteamcity.configuration.properties.file=/home/teamcity/TeamCity/buildAgent/temp/buildTmp/teamcity.config4776572492304022610.properties -Dteamcity.projectName=JJ-ASM -Dteamcity.runner.properties.file=/home/teamcity/TeamCity/buildAgent/temp/buildTmp/teamcity.runner3590470628268905846.properties -Dteamcity.tests.recentlyFailedTests.file=/home/teamcity/TeamCity/buildAgent/temp/buildTmp/testsToRunFirst8083564845011417145.txt -Dteamcity.version=9.0 (build 32060) -Xmx300m -XX:ReservedCodeCacheSize=128m -Dsbt.log.noformat=true -Dsbt.log.format=false -classpath /home/teamcity/TeamCity/buildAgent/temp/agentTmp/agent-sbt/bin/sbt-launch.jar:/home/teamcity/TeamCity/buildAgent/temp/agentTmp/agent-sbt/bin/classes: xsbt.boot.Boot -Dsbt.global.base=/home/teamcity/TeamCity/buildAgent/temp/agentTmp/agent-sbt 'set logLevel := Level.Debug' test
[04:53:54] :     [Step 2/2] in directory: /home/teamcity/TeamCity/buildAgent/work/ba59548f3b1a8b03
[04:53:55] :     [Step 2/2] Getting org.scala-sbt sbt 0.13.7 ...
[04:53:57] :     [Step 2/2] :: retrieving :: org.scala-sbt#boot-app
[04:53:57] :     [Step 2/2]     confs: [default]
[04:53:57] :     [Step 2/2]     51 artifacts copied, 0 already retrieved (15709kB/147ms)
[04:53:57] :     [Step 2/2] Getting Scala 2.10.4 (for sbt)...
[04:53:57] :     [Step 2/2] :: retrieving :: org.scala-sbt#boot-scala
[04:53:57] :     [Step 2/2]     confs: [default]
[04:53:57] :     [Step 2/2]     5 artifacts copied, 0 already retrieved (24459kB/114ms)
[04:54:12] :     [Step 2/2] Scala compiler (6s)
[04:54:12] :         [Scala compiler] Updating {file:/home/teamcity/TeamCity/buildAgent/work/ba59548f3b1a8b03/project/}ba59548f3b1a8b03-build...
[04:54:12] :         [Scala compiler] Resolving org.scala-sbt#global-plugins;0.0 ...
[04:54:12] :         [Scala compiler] Resolving com.typesafe.play#sbt-plugin;2.3.6 ...
[04:54:12] :         [Scala compiler] Resolving com.typesafe.play#build-link;2.3.6 ...
[04:54:12] :         [Scala compiler] Resolving com.typesafe.play#play-exceptions;2.3.6 ...
[04:54:12] :         [Scala compiler] Resolving org.javassist#javassist;3.18.2-GA ...
[04:54:12] :         [Scala compiler] Resolving com.typesafe.play#routes-compiler_2.10;2.3.6 ...
[04:54:12] :         [Scala compiler] Resolving org.scala-lang#scala-library;2.10.4 ...
[04:54:12] :         [Scala compiler] Resolving commons-io#commons-io;2.0.1 ...
[04:54:12] :         [Scala compiler] Resolving com.typesafe.play#sbt-run-support-210_2.10;2.3.6 ...
[04:54:12] :         [Scala compiler] Resolving org.scala-sbt#io;0.13.5 ...
[04:54:12] :         [Scala compiler] Resolving org.scala-sbt#control;0.13.5 ...
[04:54:12] :         [Scala compiler] Resolving com.typesafe#config;1.2.1 ...
[04:54:12] :         [Scala compiler] Resolving org.mozilla#rhino;1.7R4 ...
[04:54:12] :         [Scala compiler] Resolving com.google.javascript#closure-compiler;v20130603 ...
[04:54:12] :         [Scala compiler] Resolving org.json#json;20090211 ...
[04:54:12] :         [Scala compiler] Resolving com.google.guava#guava;16.0.1 ...
[04:54:12] :         [Scala compiler] Resolving org.avaje.ebeanorm#avaje-ebeanorm-agent;3.2.2 ...
[04:54:12] :         [Scala compiler] Resolving com.h2database#h2;1.3.175 ...
[04:54:12] :         [Scala compiler] Resolving net.contentobjects.jnotify#jnotify;0.94 ...
[04:54:12] :         [Scala compiler] Resolving com.typesafe.sbt#sbt-twirl;1.0.2 ...
[04:54:12] :         [Scala compiler] Resolving com.typesafe.play#twirl-compiler_2.10;1.0.2 ...
[04:54:12] :         [Scala compiler] Resolving org.scala-lang#scala-compiler;2.10.4 ...
[04:54:12] :         [Scala compiler] Resolving org.scala-lang#scala-reflect;2.10.4 ...
[04:54:12] :         [Scala compiler] Resolving com.typesafe.play#twirl-api_2.10;1.0.2 ...
[04:54:12] :         [Scala compiler] Resolving org.apache.commons#commons-lang3;3.1 ...
[04:54:12] :         [Scala compiler] Resolving com.typesafe.play#twirl-parser_2.10;1.0.2 ...
[04:54:12] :         [Scala compiler] Resolving com.typesafe.sbteclipse#sbteclipse-plugin;2.4.0 ...
[04:54:12] :         [Scala compiler] Resolving com.typesafe.sbteclipse#sbteclipse-core;2.4.0 ...
[04:54:12] :         [Scala compiler] Resolving org.scalaz#scalaz-core_2.10;7.0.2 ...
[04:54:12] :         [Scala compiler] Resolving org.scalaz#scalaz-effect_2.10;7.0.2 ...
[04:54:12] :         [Scala compiler] Resolving com.github.mpeltonen#sbt-idea;1.5.1 ...
[04:54:12] :         [Scala compiler] Resolving com.typesafe.sbt#sbt-native-packager;0.7.4 ...
[04:54:12] :         [Scala compiler] Resolving org.apache.commons#commons-compress;1.4.1 ...
[04:54:12] :         [Scala compiler] Resolving org.tukaani#xz;1.0 ...
[04:54:12] :         [Scala compiler] Resolving org.vafer#jdeb;1.3 ...
[04:54:12] :         [Scala compiler] Resolving commons-io#commons-io;2.4 ...
[04:54:12] :         [Scala compiler] Resolving org.apache.commons#commons-compress;1.7 ...
[04:54:12] :         [Scala compiler] Resolving org.tukaani#xz;1.4 ...
[04:54:12] :         [Scala compiler] Resolving org.apache.maven#maven-core;3.2.2 ...
[04:54:13] :         [Scala compiler] Resolving org.apache.maven#maven-model;3.2.2 ...
[04:54:13] :         [Scala compiler] Resolving org.codehaus.plexus#plexus-utils;3.0.17 ...
[04:54:13] :         [Scala compiler] Resolving org.apache.maven#maven-settings;3.2.2 ...
[04:54:13] :         [Scala compiler] Resolving org.apache.maven#maven-settings-builder;3.2.2 ...
[04:54:13] :         [Scala compiler] Resolving org.codehaus.plexus#plexus-interpolation;1.19 ...
[04:54:13] :         [Scala compiler] Resolving org.codehaus.plexus#plexus-component-annotations;1.5.5 ...
[04:54:13] :         [Scala compiler] Resolving org.sonatype.plexus#plexus-sec-dispatcher;1.3 ...
[04:54:13] :         [Scala compiler] Resolving org.sonatype.plexus#plexus-cipher;1.7 ...
[04:54:13] :         [Scala compiler] Resolving org.apache.maven#maven-repository-metadata;3.2.2 ...
[04:54:13] :         [Scala compiler] Resolving org.apache.maven#maven-artifact;3.2.2 ...
[04:54:13] :         [Scala compiler] Resolving org.apache.maven#maven-plugin-api;3.2.2 ...
[04:54:13] :         [Scala compiler] Resolving org.eclipse.sisu#org.eclipse.sisu.plexus;0.0.0.M5 ...
[04:54:13] :         [Scala compiler] Resolving javax.enterprise#cdi-api;1.0 ...
[04:54:13] :         [Scala compiler] Resolving javax.annotation#jsr250-api;1.0 ...
[04:54:13] :         [Scala compiler] Resolving javax.inject#javax.inject;1 ...
[04:54:13] :         [Scala compiler] Resolving org.sonatype.sisu#sisu-guice;3.1.3 ...
[04:54:13] :         [Scala compiler] Resolving aopalliance#aopalliance;1.0 ...
[04:54:13] :         [Scala compiler] Resolving org.eclipse.sisu#org.eclipse.sisu.inject;0.0.0.M5 ...
[04:54:13] :         [Scala compiler] Resolving org.codehaus.plexus#plexus-classworlds;2.5.1 ...
[04:54:13] :         [Scala compiler] Resolving org.apache.maven#maven-model-builder;3.2.2 ...
[04:54:13] :         [Scala compiler] Resolving org.apache.maven#maven-aether-provider;3.2.2 ...
[04:54:13] :         [Scala compiler] Resolving org.eclipse.aether#aether-api;0.9.0.M2 ...
[04:54:13] :         [Scala compiler] Resolving org.eclipse.aether#aether-spi;0.9.0.M2 ...
[04:54:13] :         [Scala compiler] Resolving org.eclipse.aether#aether-util;0.9.0.M2 ...
[04:54:13] :         [Scala compiler] Resolving org.eclipse.aether#aether-impl;0.9.0.M2 ...
[04:54:13] :         [Scala compiler] Resolving org.apache.ant#ant;1.9.3 ...
[04:54:13] :         [Scala compiler] Resolving org.apache.ant#ant-launcher;1.9.3 ...
[04:54:13] :         [Scala compiler] Resolving org.bouncycastle#bcpg-jdk15on;1.51 ...
[04:54:13] :         [Scala compiler] Resolving org.bouncycastle#bcprov-jdk15on;1.51 ...
[04:54:13] :         [Scala compiler] Resolving com.typesafe.sbt#sbt-js-engine;1.0.1 ...
[04:54:13] :         [Scala compiler] Resolving com.typesafe#jse_2.10;1.0.0 ...
[04:54:13] :         [Scala compiler] Resolving com.typesafe.akka#akka-actor_2.10;2.3.2 ...
[04:54:13] :         [Scala compiler] Resolving com.typesafe.akka#akka-contrib_2.10;2.3.2 ...
[04:54:13] :         [Scala compiler] Resolving com.typesafe.akka#akka-remote_2.10;2.3.2 ...
[04:54:13] :         [Scala compiler] Resolving io.netty#netty;3.8.0.Final ...
[04:54:13] :         [Scala compiler] Resolving com.google.protobuf#protobuf-java;2.5.0 ...
[04:54:13] :         [Scala compiler] Resolving org.uncommons.maths#uncommons-maths;1.2.2a ...
[04:54:13] :         [Scala compiler] Resolving com.typesafe.akka#akka-cluster_2.10;2.3.2 ...
[04:54:13] :         [Scala compiler] Resolving com.typesafe.akka#akka-persistence-experimental_2.10;2.3.2 ...
[04:54:13] :         [Scala compiler] Resolving org.iq80.leveldb#leveldb;0.5 ...
[04:54:13] :         [Scala compiler] Resolving org.iq80.leveldb#leveldb-api;0.5 ...
[04:54:13] :         [Scala compiler] Resolving org.fusesource.leveldbjni#leveldbjni-all;1.7 ...
[04:54:13] :         [Scala compiler] Resolving org.fusesource.leveldbjni#leveldbjni;1.7 ...
[04:54:13] :         [Scala compiler] Resolving org.fusesource.hawtjni#hawtjni-runtime;1.8 ...
[04:54:13] :         [Scala compiler] Resolving org.fusesource.leveldbjni#leveldbjni-osx;1.5 ...
[04:54:13] :         [Scala compiler] Resolving org.fusesource.leveldbjni#leveldbjni-linux32;1.5 ...
[04:54:13] :         [Scala compiler] Resolving org.fusesource.leveldbjni#leveldbjni-linux64;1.5 ...
[04:54:13] :         [Scala compiler] Resolving org.fusesource.leveldbjni#leveldbjni-win32;1.5 ...
[04:54:13] :         [Scala compiler] Resolving org.fusesource.leveldbjni#leveldbjni-win64;1.5 ...
[04:54:13] :         [Scala compiler] Resolving io.apigee.trireme#trireme-core;0.7.5 ...
[04:54:13] :         [Scala compiler] Resolving org.slf4j#slf4j-api;1.7.2 ...
[04:54:13] :         [Scala compiler] Resolving io.apigee.trireme#trireme-node10src;0.7.5 ...
[04:54:13] :         [Scala compiler] Resolving io.spray#spray-json_2.10;1.2.6 ...
[04:54:13] :         [Scala compiler] Resolving org.parboiled#parboiled-scala_2.10;1.1.6 ...
[04:54:13] :         [Scala compiler] Resolving org.parboiled#parboiled-core;1.1.6 ...
[04:54:13] :         [Scala compiler] Resolving org.slf4j#slf4j-simple;1.7.7 ...
[04:54:13] :         [Scala compiler] Resolving org.slf4j#slf4j-api;1.7.7 ...
[04:54:13] :         [Scala compiler] Resolving com.typesafe#npm_2.10;1.0.0 ...
[04:54:13] :         [Scala compiler] Resolving org.webjars#npm;1.3.26 ...
[04:54:13] :         [Scala compiler] Resolving org.webjars#webjars-locator;0.14 ...
[04:54:13] :         [Scala compiler] Resolving com.fasterxml.jackson.core#jackson-databind;2.3.3 ...
[04:54:13] :         [Scala compiler] Resolving com.fasterxml.jackson.core#jackson-annotations;2.3.0 ...
[04:54:13] :         [Scala compiler] Resolving com.fasterxml.jackson.core#jackson-core;2.3.3 ...
[04:54:13] :         [Scala compiler] Resolving com.typesafe.sbt#sbt-web;1.0.2 ...
[04:54:13] :         [Scala compiler] Resolving com.typesafe.sbt#sbt-webdriver;1.0.0 ...
[04:54:13] :         [Scala compiler] Resolving com.typesafe#webdriver_2.10;1.0.0 ...
[04:54:13] :         [Scala compiler] Resolving io.spray#spray-client;1.3.1 ...
[04:54:13] :         [Scala compiler] Resolving io.spray#spray-can;1.3.1 ...
[04:54:13] :         [Scala compiler] Resolving io.spray#spray-io;1.3.1 ...
[04:54:13] :         [Scala compiler] Resolving io.spray#spray-util;1.3.1 ...
[04:54:13] :         [Scala compiler] Resolving io.spray#spray-http;1.3.1 ...
[04:54:13] :         [Scala compiler] Resolving io.spray#spray-httpx;1.3.1 ...
[04:54:13] :         [Scala compiler] Resolving org.jvnet.mimepull#mimepull;1.9.4 ...
[04:54:13] :         [Scala compiler] Resolving net.sourceforge.htmlunit#htmlunit;2.14 ...
[04:54:13] :         [Scala compiler] Resolving xalan#xalan;2.7.1 ...
[04:54:13] :         [Scala compiler] Resolving xalan#serializer;2.7.1 ...
[04:54:13] :         [Scala compiler] Resolving xml-apis#xml-apis;1.3.04 ...
[04:54:14] :         [Scala compiler] Resolving commons-collections#commons-collections;3.2.1 ...
[04:54:14] :         [Scala compiler] Resolving org.apache.commons#commons-lang3;3.2.1 ...
[04:54:14] :         [Scala compiler] Resolving org.apache.httpcomponents#httpclient;4.3.2 ...
[04:54:14] :         [Scala compiler] Resolving org.apache.httpcomponents#httpcore;4.3.1 ...
[04:54:14] :         [Scala compiler] Resolving commons-logging#commons-logging;1.1.3 ...
[04:54:14] :         [Scala compiler] Resolving commons-codec#commons-codec;1.6 ...
[04:54:14] :         [Scala compiler] Resolving org.apache.httpcomponents#httpmime;4.3.2 ...
[04:54:14] :         [Scala compiler] Resolving commons-codec#commons-codec;1.9 ...
[04:54:14] :         [Scala compiler] Resolving net.sourceforge.htmlunit#htmlunit-core-js;2.14 ...
[04:54:14] :         [Scala compiler] Resolving xerces#xercesImpl;2.11.0 ...
[04:54:14] :         [Scala compiler] Resolving xml-apis#xml-apis;1.4.01 ...
[04:54:14] :         [Scala compiler] Resolving net.sourceforge.nekohtml#nekohtml;1.9.20 ...
[04:54:14] :         [Scala compiler] Resolving net.sourceforge.cssparser#cssparser;0.9.13 ...
[04:54:14] :         [Scala compiler] Resolving org.w3c.css#sac;1.3 ...
[04:54:14] :         [Scala compiler] Resolving org.eclipse.jetty#jetty-websocket;8.1.14.v20131031 ...
[04:54:14] :         [Scala compiler] Resolving org.eclipse.jetty#jetty-util;8.1.14.v20131031 ...
[04:54:14] :         [Scala compiler] Resolving org.eclipse.jetty#jetty-io;8.1.14.v20131031 ...
[04:54:14] :         [Scala compiler] Resolving org.eclipse.jetty#jetty-http;8.1.14.v20131031 ...
[04:54:14] :         [Scala compiler] Resolving com.typesafe.sbt#sbt-coffeescript;1.0.0 ...
[04:54:14] :         [Scala compiler] Resolving org.webjars#coffee-script-node;1.7.1 ...
[04:54:14] :         [Scala compiler] Resolving org.webjars#mkdirp;0.3.5 ...
[04:54:14] :         [Scala compiler] Resolving com.typesafe.sbt#sbt-less;1.0.0 ...
[04:54:14] :         [Scala compiler] Resolving org.webjars#less-node;1.6.0-1 ...
[04:54:14] :         [Scala compiler] Resolving org.webjars#source-map;0.1.31-2 ...
[04:54:14] :         [Scala compiler] Resolving org.webjars#amdefine;0.1.0-1 ...
[04:54:14] :         [Scala compiler] Resolving com.typesafe.sbt#sbt-jshint;1.0.1 ...
[04:54:14] :         [Scala compiler] Resolving org.webjars#jshint-node;2.4.1-1 ...
[04:54:14] :         [Scala compiler] Resolving org.webjars#underscorejs;1.5.2-2 ...
[04:54:14] :         [Scala compiler] Resolving org.webjars#console-browserify;0.1.6-1 ...
[04:54:14] :         [Scala compiler] Resolving com.typesafe.sbt#sbt-rjs;1.0.1 ...
[04:54:14] :         [Scala compiler] Resolving org.webjars#rjs;2.1.11-1-trireme ...
[04:54:14] :         [Scala compiler] Resolving com.typesafe.sbt#sbt-digest;1.0.0 ...
[04:54:14] :         [Scala compiler] Resolving com.typesafe.sbt#sbt-mocha;1.0.0 ...
[04:54:14] :         [Scala compiler] Resolving org.webjars#mocha;1.17.1 ...
[04:54:14] :         [Scala compiler] Resolving org.webjars#debug;0.7.4 ...
[04:54:14] :         [Scala compiler] Resolving org.webjars#diff;1.0.7 ...
[04:54:14] :         [Scala compiler] Resolving com.lihaoyi#workbench;0.2.3 ...
[04:54:14] :         [Scala compiler] Resolving io.spray#spray-routing;1.3.1 ...
[04:54:14] :         [Scala compiler] Resolving com.chuusai#shapeless_2.10;1.2.4 ...
[04:54:14] :         [Scala compiler] Resolving com.lihaoyi#autowire_2.10;0.2.3 ...
[04:54:14] :         [Scala compiler] Resolving org.scalamacros#quasiquotes_2.10;2.0.0 ...
[04:54:14] :         [Scala compiler] Resolving com.lihaoyi#upickle_2.10;0.2.5 ...
[04:54:14] :         [Scala compiler] Resolving org.spire-math#jawn-parser_2.10;0.6.0 ...
[04:54:14] :         [Scala compiler] Resolving com.eed3si9n#sbt-assembly;0.12.0 ...
[04:54:14] :         [Scala compiler] Resolving com.typesafe.slick#slick-codegen_2.10;2.1.0 ...
[04:54:14] :         [Scala compiler] Resolving com.typesafe.slick#slick_2.10;2.1.0 ...
[04:54:14] :         [Scala compiler] Resolving mysql#mysql-connector-java;5.1.34 ...
[04:54:15] :         [Scala compiler] Resolving org.scala-sbt#sbt;0.13.7 ...
[04:54:15] :         [Scala compiler] Resolving org.scala-sbt#main;0.13.7 ...
[04:54:15] :         [Scala compiler] Resolving org.scala-sbt#actions;0.13.7 ...
[04:54:15] :         [Scala compiler] Resolving org.scala-sbt#classpath;0.13.7 ...
[04:54:15] :         [Scala compiler] Resolving org.scala-sbt#launcher-interface;0.13.7 ...
[04:54:15] :         [Scala compiler] Resolving org.scala-sbt#interface;0.13.7 ...
[04:54:15] :         [Scala compiler] Resolving org.scala-sbt#io;0.13.7 ...
[04:54:15] :         [Scala compiler] Resolving org.scala-sbt#control;0.13.7 ...
[04:54:15] :         [Scala compiler] Resolving org.scala-sbt#completion;0.13.7 ...
[04:54:15] :         [Scala compiler] Resolving org.scala-sbt#collections;0.13.7 ...
[04:54:15] :         [Scala compiler] Resolving jline#jline;2.11 ...
[04:54:15] :         [Scala compiler] Resolving org.scala-sbt#api;0.13.7 ...
[04:54:15] :         [Scala compiler] Resolving org.scala-sbt#compiler-integration;0.13.7 ...
[04:54:15] :         [Scala compiler] Resolving org.scala-sbt#incremental-compiler;0.13.7 ...
[04:54:15] :         [Scala compiler] Resolving org.scala-sbt#logging;0.13.7 ...
[04:54:15] :         [Scala compiler] Resolving org.scala-sbt#process;0.13.7 ...
[04:54:15] :         [Scala compiler] Resolving org.scala-sbt#relation;0.13.7 ...
[04:54:15] :         [Scala compiler] Resolving org.scala-sbt#compile;0.13.7 ...
[04:54:15] :         [Scala compiler] Resolving org.scala-sbt#persist;0.13.7 ...
[04:54:15] :         [Scala compiler] Resolving org.scala-tools.sbinary#sbinary_2.10;0.4.2 ...
[04:54:15] :         [Scala compiler] Resolving org.scala-sbt#classfile;0.13.7 ...
[04:54:15] :         [Scala compiler] Resolving org.scala-sbt#compiler-ivy-integration;0.13.7 ...
[04:54:15] :         [Scala compiler] Resolving org.scala-sbt#ivy;0.13.7 ...
[04:54:15] :         [Scala compiler] Resolving org.scala-sbt#cross;0.13.7 ...
[04:54:15] :         [Scala compiler] Resolving org.scala-sbt.ivy#ivy;2.3.0-sbt-fccfbd44c9f64523b61398a0155784dcbaeae28f ...
[04:54:15] :         [Scala compiler] Resolving com.jcraft#jsch;0.1.46 ...
[04:54:15] :         [Scala compiler] Resolving org.json4s#json4s-native_2.10;3.2.10 ...
[04:54:15] :         [Scala compiler] Resolving org.json4s#json4s-core_2.10;3.2.10 ...
[04:54:15] :         [Scala compiler] Resolving org.json4s#json4s-ast_2.10;3.2.10 ...
[04:54:15] :         [Scala compiler] Resolving com.thoughtworks.paranamer#paranamer;2.6 ...
[04:54:15] :         [Scala compiler] Resolving org.scala-lang#scalap;2.10.0 ...
[04:54:15] :         [Scala compiler] Resolving org.spire-math#json4s-support_2.10;0.6.0 ...
[04:54:15] :         [Scala compiler] Resolving org.scala-sbt#run;0.13.7 ...
[04:54:15] :         [Scala compiler] Resolving org.scala-sbt#task-system;0.13.7 ...
[04:54:15] :         [Scala compiler] Resolving org.scala-sbt#tasks;0.13.7 ...
[04:54:15] :         [Scala compiler] Resolving org.scala-sbt#tracking;0.13.7 ...
[04:54:15] :         [Scala compiler] Resolving org.scala-sbt#cache;0.13.7 ...
[04:54:15] :         [Scala compiler] Resolving org.scala-sbt#testing;0.13.7 ...
[04:54:15] :         [Scala compiler] Resolving org.scala-sbt#test-agent;0.13.7 ...
[04:54:15] :         [Scala compiler] Resolving org.scala-sbt#test-interface;1.0 ...
[04:54:15] :         [Scala compiler] Resolving org.scala-sbt#main-settings;0.13.7 ...
[04:54:15] :         [Scala compiler] Resolving org.scala-sbt#apply-macro;0.13.7 ...
[04:54:15] :         [Scala compiler] Resolving org.scala-sbt#command;0.13.7 ...
[04:54:15] :         [Scala compiler] Resolving org.scala-sbt#logic;0.13.7 ...
[04:54:15] :         [Scala compiler] Resolving org.scala-sbt#compiler-interface;0.13.7 ...
[04:54:15] :         [Scala compiler] Resolving org.scala-sbt#precompiled-2_8_2;0.13.7 ...
[04:54:15] :         [Scala compiler] Resolving org.scala-sbt#precompiled-2_9_2;0.13.7 ...
[04:54:15] :         [Scala compiler] Resolving org.scala-sbt#precompiled-2_9_3;0.13.7 ...
[04:54:17] :         [Scala compiler] Resolving org.scala-lang#jline;2.10.4 ...
[04:54:17] :         [Scala compiler] Resolving org.fusesource.jansi#jansi;1.4 ...
[04:54:18] :         [Scala compiler] Done updating.
[04:54:24]W:     [Step 2/2] Process exited with code 1
[04:54:24]i:     [Step 2/2] ##teamcity[buildStatisticValue key='buildStageDuration:buildStepRUNNER_2' value='29409.0']
[04:54:24]E:     [Step 2/2] Step Simple Build Tool (Scala) failed
[04:54:25]i: ##teamcity[buildStatisticValue key='buildStageDuration:buildFinishing' value='1083.0']
[04:54:25] : Publishing internal artifacts
[04:54:25] :     [Publishing internal artifacts] Sending using WebPublisher
[04:54:25] :     [Publishing internal artifacts] Sending using ArtifactsCachePublisher
[04:54:25]i: ##teamcity[buildStatisticValue key='buildStageDuration:artifactsPublishing' value='356.0']
[04:54:25] : Build finished
@bondarchukYV
Copy link

I have exactly the same problem.
Have you found the way how to fix it?

@nafg
Copy link
Author

nafg commented Sep 18, 2015

Not directly but I think 9.1 is better

@rtyley
Copy link

rtyley commented May 7, 2021

We also have been experiencing problems with the sbt process dying consistently during tests on TeamCity Enterprise 2019.2.4 (build 72059). This seems to happen quite consistently on certain branches (with very small changes), not currently on our main branch:

image

The TeamCity build always dies - at the same point, but without a helpful error message- just Process exited with code 1 (Step: Simple Build Tool (Scala)) :

image

Unfortunately, the various problems with the TeamCity SBT runner mean that we'll have to stop using it, resort to a bash script instead.

@dwickern
Copy link

dwickern commented May 7, 2021

@rtyley I had the same problem and was able to work around it. Maybe this will help you.

For some background, my TeamCity is configured with SBT Commands: test ui/test it:test

ui/test is a custom sbt task which launches a process, waits for it to finish, and checks the exit code:

ui/test := {
  val logger = streams.value.log("ui")
  sys.process.Process("npm run test") ! logger match {
    case 0 => // success
    case x => sys.error(s"Process failed with exit code $x")
  }
}

When the external process fails, it prints useful information to stderr and exits with a non-zero exit code. But the TeamCity SBT runner terminates with an unexplained "Process exited with code 1", without logging any stderr.

My workaround was to redirect all stderr to stdout using java.lang.ProcessBuilder#redirectErrorStream(true).

@rtyley
Copy link

rtyley commented May 7, 2021

Wow, thanks @dwickern - that's really interesting!

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

4 participants