Go to Post You guys can send [Wisconsin] some warm Florida weather, its getting cold up here again. - Ricky Q. [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread Yesterday, 17:33
Espo Espo is offline
Registered User
AKA: Ben
FRC #5113 (Combustible Lemons)
Team Role: Programmer
 
Join Date: Jan 2016
Rookie Year: 2016
Location: Moorestown, NJ
Posts: 9
Espo is an unknown quantity at this point
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.
Reply With Quote
  #2   Spotlight this post!  
Unread Yesterday, 17:50
nickbrickmaster's Avatar
nickbrickmaster nickbrickmaster is offline
Not Allowed Near Power Tools
AKA: Nick Schatz
FRC #3184 (Blaze Robotics)
Team Role: Leadership
 
Join Date: Jan 2015
Rookie Year: 2014
Location: Eagan MN
Posts: 167
nickbrickmaster is an unknown quantity at this point
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.
__________________
I have approximate knowledge of many things.

FRC 3184: 2014-, FTC 10648: 2015-
Reply With Quote
  #3   Spotlight this post!  
Unread Yesterday, 18:09
Espo Espo is offline
Registered User
AKA: Ben
FRC #5113 (Combustible Lemons)
Team Role: Programmer
 
Join Date: Jan 2016
Rookie Year: 2016
Location: Moorestown, NJ
Posts: 9
Espo is an unknown quantity at this point
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.
Reply With Quote
  #4   Spotlight this post!  
Unread Yesterday, 20:41
nickbrickmaster's Avatar
nickbrickmaster nickbrickmaster is offline
Not Allowed Near Power Tools
AKA: Nick Schatz
FRC #3184 (Blaze Robotics)
Team Role: Leadership
 
Join Date: Jan 2015
Rookie Year: 2014
Location: Eagan MN
Posts: 167
nickbrickmaster is an unknown quantity at this point
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.
__________________
I have approximate knowledge of many things.

FRC 3184: 2014-, FTC 10648: 2015-
Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


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

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


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