We work in VMX PI controller, suddenly the deploy for controller does not work

Executing task: gradlew deploy -PteamNumber=1234 --offline -Dorg.gradle.java.home=“C:\Users\Public\wpilib\2020\jdk” <

Configure project :
ИНФОРМАЦИЯ: не удается найти файлы по заданным шаблонам.

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

Task :deployJreRoborio FAILED

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

Task :deployFrcCppLibrariesRoborio
31 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/lib
-[-1]->
-C-> ldconfig @ /usr/local/frc/third-party/lib
-[-1]->

Task :deployFrcCppRoborio
-C-> . /etc/profile.d/natinst-path.sh; /usr/local/frc/bin/frcKillRobot.sh -t 2> /dev/null @ /home/lvuser
-[-1]-> Shutting Down FRC Robot managed by FRC Robot Daemon PID: 627
Sent SIGTERM to FRC Robot Daemon child PID: 629
Sent SIGTERM to FRC Robot Daemon child PID: 630
Sent SIGKILL to FRC Robot Daemon child PID: 629

-C-> rm -f "/home/lvuser/frcUserProgram" @ /home/lvuser
-F-> C:\Users\ITPark\Desktop\robotDeployCode\xdrive\build\exe\frcUserProgram\release\frcUserProgram -> frcUserProgram @ /home/lvuser
-C-> echo ' "/home/lvuser/frcUserProgram" ' > /home/lvuser/robotCommand @ /home/lvuser
  -[-1]->
-C-> chmod +x /home/lvuser/robotCommand; chown lvuser /home/lvuser/robotCommand @ /home/lvuser
  -[1]->
-C-> chmod +x "/home/lvuser/frcUserProgram"; chown lvuser "/home/lvuser/frcUserProgram" @ /home/lvuser
  -[1]->
-C-> sync @ /home/lvuser
-C-> ldconfig @ /home/lvuser
  -[127]->
-C-> . /etc/profile.d/natinst-path.sh; /usr/local/frc/bin/frcKillRobot.sh -t -r 2> /dev/null @ /home/lvuser
  -[0]-> No FRC Robot Daemon PID File found at /var/run/kauailabs/FRC_UserProgram.pid

Restarting FRC Robot
Starting FRC Robot using commands in /home/lvuser/robotCommand
Starting “/home/lvuser/frcUserProgram” with Arguments

FAILURE: Build failed with an exception.

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

Could not resolve all files for configuration ‘:jrefrcjre’.
Could not resolve edu.wpi.first.jdk:roborio-2020:11.0.4u10-2.
Required by:
project :
No cached version of edu.wpi.first.jdk:roborio-2020:11.0.4u10-2 available for offline mode.
No cached version of edu.wpi.first.jdk:roborio-2020:11.0.4u10-2 available for offline mode.
No cached version of edu.wpi.first.jdk:roborio-2020:11.0.4u10-2 available for offline mode.
No cached version of edu.wpi.first.jdk:roborio-2020:11.0.4u10-2 available for offline mode.

  • 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.

  • Get more help at https://help.gradle.org

Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
Use ‘–warning-mode all’ to show the individual deprecation warnings.
See Command-Line Interface

BUILD FAILED in 11s
9 actionable tasks: 5 executed, 4 up-to-date
The terminal process terminated with exit code: 1

Terminal will be reused by tasks, press any key to close it.

It looks like some cached artifacts (specifically the JDK) were removed locally. Try doing an online build when connected to the internet to download them again. You can do this by running the same command manually, and removing the —offline option, eg gradlew deploy -PteamNumber=1234 -Dorg.gradle.java.home=“C:\Users\Public\wpilib\2020\jdk”.

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