[BUILDTOOLS-55] Crash on build Created: 05/Jan/15  Updated: 11/Dec/17  Resolved: 06/Jan/15

Status: Resolved
Project: BuildTools
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Minor
Reporter: Mike T Assignee: Unassigned
Resolution: Invalid Votes: 0
Labels: None
Environment:

Ubuntu Server 14.04 LTS, Java 8-25, all updated


Attachments: Text File BuildTools.log.txt    

 Description   

Here's the end of the log with the crash. I also attached the complete log.

Tests in error:
testRemovePermissionByNameCamel(org.bukkit.plugin.PluginManagerTest): java.lang.UnsatisfiedLinkError:
/usr/lib/jvm/java-8-oracle/jre/lib/amd64/libawt_xawt.so: libXrender.so.1: cannot open shared object fi
le: No such file or directory
testRemovePermissionByNameLower(org.bukkit.plugin.PluginManagerTest): Could not initialize class org.
bukkit.plugin.PluginManagerTest
testRemovePermissionByNameUpper(org.bukkit.plugin.PluginManagerTest): Could not initialize class org.
bukkit.plugin.PluginManagerTest
testAsyncLocked(org.bukkit.plugin.PluginManagerTest): Could not initialize class org.bukkit.plugin.Pl
uginManagerTest
testRemovePermissionByPermissionCamel(org.bukkit.plugin.PluginManagerTest): Could not initialize clas
s org.bukkit.plugin.PluginManagerTest
testRemovePermissionByPermissionUpper(org.bukkit.plugin.PluginManagerTest): Could not initialize clas
s org.bukkit.plugin.PluginManagerTest
testSyncSameThread(org.bukkit.plugin.PluginManagerTest): Could not initialize class org.bukkit.plugin
.PluginManagerTest
testAsyncUnlocked(org.bukkit.plugin.PluginManagerTest): Could not initialize class org.bukkit.plugin.
PluginManagerTest
testAsyncSameThread(org.bukkit.plugin.PluginManagerTest): Could not initialize class org.bukkit.plugi
n.PluginManagerTest
testSyncLocked(org.bukkit.plugin.PluginManagerTest): Could not initialize class org.bukkit.plugin.Plu
ginManagerTest
testSyncUnlocked(org.bukkit.plugin.PluginManagerTest): Could not initialize class org.bukkit.plugin.P
luginManagerTest

Tests run: 906, Failures: 0, Errors: 11, Skipped: 3

[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2.978 s
[INFO] Finished at: 2015-01-05T07:27:45-05:00
[INFO] Final Memory: 15M/281M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12.4:test (default-test
) on project bukkit: There are test failures.
[ERROR]
[ERROR] Please refer to /home/scrufdog/spigot2/Bukkit/target/surefire-reports for the individual test r
esults.
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following article
s:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
Exception in thread "main" java.lang.RuntimeException: Error running command, return status !=0: [sh, /
home/scrufdog/spigot2/apache-maven-3.2.3/bin/mvn, clean, install]
at org.spigotmc.builder.Builder.runProcess(Builder.java:388)
at org.spigotmc.builder.Builder.main(Builder.java:304)

.....

Similiar to an error I was recieving with BuildTools #19

I tried this is 2 different empty directories, same error. Tried to rerun BuildTools in one of those directories and the same error happened, just quicker.

This was on a freshly rebooted machine, already running Spigot and Bungeecord stable. 8GB total memory, about 4GB free. BuildTools was working fine until about 3 days ago. No changes to the system have been made.



 Comments   
Comment by Mike T [ 06/Jan/15 ]

Solved.

on the Ubuntu rig...

sudo apt-get install libxtst6
sudo apt-get install libxtst-dev

Apparently BuildTools dependencies changed around #19 or these libs disappeared from my rig for some reason.

Comment by Mike T [ 06/Jan/15 ]

similiar error on the Ubuntu machine with Build #22

[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2.816 s
[INFO] Finished at: 2015-01-05T20:43:09-05:00
[INFO] Final Memory: 15M/281M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12.4:test (
default-test) on project bukkit: There are test failures.
[ERROR]
[ERROR] Please refer to /home/scrufdog/spigot/Bukkit/target/surefire-reports for the indivi
dual test results.
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the follo
wing articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
Exception in thread "main" java.lang.RuntimeException: Error running command, return status
!=0: [sh, /home/scrufdog/spigot/apache-maven-3.2.3/bin/mvn, clean, install]
at org.spigotmc.builder.Builder.runProcess(Builder.java:386)
at org.spigotmc.builder.Builder.main(Builder.java:302)

Comment by Mike T [ 05/Jan/15 ]

Tried again on an old Windows 7 Home 32bit laptop over Mobile data connection and it built fine. Copied it to the Ubuntu machine and all servers are running properly. Not sure if this helps. The other machines I get this build error on are 64bit, Ubuntu Server 14.04 and Windows 7 Ultimate 64bit.

All 3 have Java 8_25 on them, with the appropriate 32 or 64 bit version.

Generated at Thu Dec 18 23:15:52 UTC 2025 using Jira 10.3.15#10030015-sha1:909cc43d292ca09e774c1a243d9819be3f2628cd.