Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Programming (http://www.chiefdelphi.com/forums/forumdisplay.php?f=51)
-   -   BUILD FAILED - Remote command failed with exit status 1 (http://www.chiefdelphi.com/forums/showthread.php?t=155057)

Espo 10-02-2017 17:33

BUILD FAILED - Remote command failed with exit status 1
 
I have this error, which I can't figure out how to fix. I have the latest FRC Plugins and just imaged the Rio with 2017 v8. Here is the full output:

Code:

Buildfile: C:\Users\MHS\Documents\GitHub\FRC5113_2017\build.xml
Trying to override old definition of task classloader
clean:
  [delete] Deleting directory C:\Users\MHS\Documents\GitHub\FRC5113_2017\build
  [delete] Deleting directory C:\Users\MHS\Documents\GitHub\FRC5113_2017\dist
compile:
    [mkdir] Created dir: C:\Users\MHS\Documents\GitHub\FRC5113_2017\build
    [echo] [athena-compile] Compiling src with classpath=C:\Users\MHS\wpilib\java\current\lib\WPILib.jar;C:\Users\MHS\wpilib\java\current\lib\NetworkTables.jar;C:\Users\MHS\wpilib\java\current\lib\opencv.jar;C:\Users\MHS\wpilib\java\current\lib\cscore.jar to build
    [javac] Compiling 10 source files to C:\Users\MHS\Documents\GitHub\FRC5113_2017\build
jar:
    [echo] [athena-jar] Making jar dist/FRCUserProgram.jar.
    [mkdir] Created dir: C:\Users\MHS\Documents\GitHub\FRC5113_2017\dist
    [mkdir] Created dir: C:\Users\MHS\Documents\GitHub\FRC5113_2017\build\jars
    [echo] [athena-jar] Copying jars to build/jars.
    [copy] Copying 4 files to C:\Users\MHS\Documents\GitHub\FRC5113_2017\build\jars
      [jar] Building jar: C:\Users\MHS\Documents\GitHub\FRC5113_2017\dist\FRCUserProgram.jar
get-target-ip:
    [echo] Trying Target: roboRIO-5113-FRC.local
    [echo] roboRIO found via mDNS
dependencies:
    [echo] roboRIO image version validated
    [echo] Checking for JRE. If this fails install the JRE using these instructions: https://wpilib.screenstepslive.com/s/4485/m/13503/l/288822-installing-java-8-on-the-roborio-using-the-frc-roborio-java-installer-java-only
  [sshexec] Connecting to roboRIO-5113-FRC.local:22
  [sshexec] cmd : test -d /usr/local/frc/JRE

BUILD FAILED
C:\Users\MHS\wpilib\java\current\ant\build.xml:293: Remote command failed with exit status 1

Total time: 8 seconds

Here is our code - https://github.com/FRC5113/FRC2016_5...bce97d1b0d358d

I was not getting this error before I updated the plugins and reimaged the Rio. I have tried this on two different Rios, both on the same version - 2017 v8.

nickbrickmaster 10-02-2017 17:50

Re: BUILD FAILED - Remote command failed with exit status 1
 
Install the JRE on the rio. There's a link to instructions in your error message.

Espo 10-02-2017 18:09

Re: BUILD FAILED - Remote command failed with exit status 1
 
Sorry, that is the code from last year. You can go to the organization and click on this year's repository.

nickbrickmaster 10-02-2017 20:41

Re: BUILD FAILED - Remote command failed with exit status 1
 
Answer remains the same. Your log output has this section here that tells you exactly what's going on:

Code:

    [echo] Checking for JRE. If this fails install the JRE using these instructions: https://wpilib.screenstepslive.com/s/4485/m/13503/l/288822-installing-java-8-on-the-roborio-using-the-frc-roborio-java-installer-java-only
  [sshexec] Connecting to roboRIO-5113-FRC.local:22
  [sshexec] cmd : test -d /usr/local/frc/JRE

On the linked page there's this little blurb:

Quote:

Note: Whenever a new image is installed on the roboRIO (either when initially setting it up or later if the image is updated or reinstalled) the Java runtime must be replaced. This is an easy to overlook step so be sure to keep this in mind.
The process to install the JRE is super simple. The program does most of it for you.


All times are GMT -5. The time now is 19:19.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi