Errors deploying

Task :discoverroborio
Discovering Target roborio
Using [email protected]:22 for target roborio

Task :compileJava
C:\Users\lucas\Documents\GitHub\TyRapXXIII\src\main\java\frc\robot\subsystems\Arm.java:195: warning: [dep-ann] deprecated item is not annotated with @Deprecated
public double getSpatialArmAngles(double localArmAngles) {
^
1 warning

Task :deployprogramKillroborioroborio
-C-> . /etc/profile.d/natinst-path.sh; /usr/local/frc/bin/frcKillRobot.sh -t 2> /dev/null @ /home/lvuser

Task :deployrobotCommandfrcJavaroborio
-C-> echo '/usr/local/frc/JRE/bin/java -XX:+UseG1GC -XX:MaxGCPauseMillis=1 -XX:GCTimeRatio=1 -XX:+AlwaysPreTouch -Djava.lang.invoke.stringConcat=BC_SB -Djava.library.path=/usr/local/frc/third-party/lib -jar “/home/lvuser/TyRapXXIII.jar” ’ > /home/lvuser/robotCommand @ /home/lvuser
-C-> chmod +x /home/lvuser/robotCommand; chown lvuser /home/lvuser/robotCommand @ /home/lvuser

Task :deployjrefrcJavaroborio
-C-> if [[ -f “/usr/local/frc/JRE/bin/java” ]]; then echo OK; else echo MISSING; fi @ /tmp
-[0]-> OK

-C-> opkg list-installed | grep openjdk @ /tmp
  -[0]-> frc2023-openjdk-17-jre - 17.0.5u7-1 - FRC OpenJDK Java Runtime Environment

Searching for JRE 17.0.5u7-1
Found JRE frc2023-openjdk-17-jre - 17.0.5u7-1 - FRC OpenJDK Java Runtime Environment
JRE Is Correct Version
Artifact skipped

Task :deployfrcStaticFileDeployroborio
-C-> mkdir -p @ /home/lvuser/deploy
-[1]
1 file(s) are up-to-date and were not deployed

Task :deployfrcJavaroborio
-F-> C:\Users\lucas\Documents\GitHub\TyRapXXIII\build\libs\TyRapXXIII.jar → TyRapXXIII.jar @ /home/lvuser

Task :deploynativeZipsfrcJavaroborio
33 file(s) are up-to-date and were not deployed
-C-> chmod -R 777 “/usr/local/frc/third-party/lib” || true; chown -R lvuser:ni “/usr/local/frc/third-party/lib” @ /usr/local/frc/third-party/li

Task :deployfrcJavaroborio FAILED
Task :deploynativeZipsfrcJavaroborio FAILED

FAILURE: Build completed with 2 failures.

1: Task failed with an exception.

  • What went wrong:
    Execution failed for task ‘:deployfrcJavaroborio’.

A failure occurred while executing edu.wpi.first.deployutils.deploy.artifact.ArtifactDeployWorker
4: java.io.IOException: inputstream is closed

  • Try:

Run with --stacktrace option to get the stack trace.
Run with --info or --debug option to get more log output.
Run with --scan to get full insights.
==============================================================================

2: Task failed with an exception.

  • What went wrong:
    Execution failed for task ‘:deploynativeZipsfrcJavaroborio’.

A failure occurred while executing edu.wpi.first.deployutils.deploy.artifact.ArtifactDeployWorker
com.jcraft.jsch.JSchException: session is down

  • Try:

Run with --stacktrace option to get the stack trace.
Run with --info or --debug option to get more log output.
Run with --scan to get full insights.
==============================================================================

BUILD FAILED in 38s
10 actionable tasks: 10 executed

  • The terminal process “cmd.exe /d /c gradlew deploy -PteamNumber=386 --offline -Dorg.gradle.java.home=“C:\Users\Public\wpilib\2023\jdk”” terminated with exit code: 1.
  • Terminal will be reused by tasks, press any key to close it.

It seems like something timed out trying to connect to the robot? This is an uncommon failure message though. How are you connected to the robot?

1 Like

I believe the radio was setup as “2.4 GHz access point”. We deployed other code to the robot from another computer and it worked, so now I’m thinking its probably MY install of WPILib and tools.

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.