[GH-ISSUE #1186] Travis Tests failing #926

Closed
opened 2026-02-27 02:54:21 +03:00 by kerem · 8 comments
Owner

Originally created by @dgibbs64 on GitHub (Nov 13, 2016).
Original GitHub issue: https://github.com/GameServerManagers/LinuxGSM/issues/1186

Originally assigned to: @hurdad, @marvinlehmann, @dgibbs64, @Scarsz, @UltimateByte, @cedarlug on GitHub.

Looking in to the issue of why travis is failing. I believe it might be due to a recent update to Just Cause 2 server at a guess

Not Found
=================================
/home/travis/build/GameServerManagers/LinuxGSM/tests/serverfiles/Jcmp-Server
	liblua.so => not found
	libsteam_api.so => not found
/home/travis/build/GameServerManagers/LinuxGSM/tests/serverfiles/libvstdlib_s.so
	libtier0_s.so => not found

I believe the server is not starting because of a dependency issue

here is a working setup

	ldd
	=================================
    linux-gate.so.1 =>  (0xf77c1000)
    liblua.so => ./liblua.so (0xf778b000)
    librt.so.1 => /lib/i386-linux-gnu/librt.so.1 (0xf777b000)
    libsteam_api.so => ./libsteam_api.so (0xf776a000)
    libpthread.so.0 => /lib/i386-linux-gnu/libpthread.so.0 (0xf774d000)
    libdl.so.2 => /lib/i386-linux-gnu/libdl.so.2 (0xf7748000)
    libm.so.6 => /lib/i386-linux-gnu/libm.so.6 (0xf76f3000)
    libc.so.6 => /lib/i386-linux-gnu/libc.so.6 (0xf753d000)
    /lib/ld-linux.so.2 (0x565a8000)
    libstdc++.so.6 => /usr/lib/i386-linux-gnu/libstdc++.so.6 (0xf73c5000)
    libgcc_s.so.1 => /lib/i386-linux-gnu/libgcc_s.so.1 (0xf73a8000)
Originally created by @dgibbs64 on GitHub (Nov 13, 2016). Original GitHub issue: https://github.com/GameServerManagers/LinuxGSM/issues/1186 Originally assigned to: @hurdad, @marvinlehmann, @dgibbs64, @Scarsz, @UltimateByte, @cedarlug on GitHub. Looking in to the issue of why travis is failing. I believe it might be due to a recent update to Just Cause 2 server at a guess Not Found ================================= /home/travis/build/GameServerManagers/LinuxGSM/tests/serverfiles/Jcmp-Server liblua.so => not found libsteam_api.so => not found /home/travis/build/GameServerManagers/LinuxGSM/tests/serverfiles/libvstdlib_s.so libtier0_s.so => not found I believe the server is not starting because of a dependency issue here is a working setup ldd ================================= linux-gate.so.1 => (0xf77c1000) liblua.so => ./liblua.so (0xf778b000) librt.so.1 => /lib/i386-linux-gnu/librt.so.1 (0xf777b000) libsteam_api.so => ./libsteam_api.so (0xf776a000) libpthread.so.0 => /lib/i386-linux-gnu/libpthread.so.0 (0xf774d000) libdl.so.2 => /lib/i386-linux-gnu/libdl.so.2 (0xf7748000) libm.so.6 => /lib/i386-linux-gnu/libm.so.6 (0xf76f3000) libc.so.6 => /lib/i386-linux-gnu/libc.so.6 (0xf753d000) /lib/ld-linux.so.2 (0x565a8000) libstdc++.so.6 => /usr/lib/i386-linux-gnu/libstdc++.so.6 (0xf73c5000) libgcc_s.so.1 => /lib/i386-linux-gnu/libgcc_s.so.1 (0xf73a8000)
kerem 2026-02-27 02:54:21 +03:00
  • closed this issue
  • added the
    type: bug
    label
Author
Owner

@dgibbs64 commented on GitHub (Nov 14, 2016):

I can confirm that re running tests on passing builds are now failing. I am unsure if there is anything I can do to fix this currently

<!-- gh-comment-id:260223879 --> @dgibbs64 commented on GitHub (Nov 14, 2016): I can confirm that re running tests on passing builds are now failing. I am unsure if there is anything I can do to fix this currently
Author
Owner

@UltimateByte commented on GitHub (Nov 20, 2016):

Travis output:

Command: ./jc2server start
    fetching check_status.sh...OK
Required status: OFFLINE
Current status:  OFFLINE
New status:  OFFLINE
Test starting:
[ .... ] Starting jc2-server:     fetching check_logs.sh...OK
    fetching check_ip.sh...OK
    fetching check_config.sh...OK
    fetching fix_steamcmd.sh...OK
[  OK  ] Fix jc2-server: Applying steamclient.so general fix: Just Cause 2
    fetching info_config.sh...OK
    fetching logs.sh...OK
failed to connect to server: Connection refused
[ FAIL ] Starting jc2-server: Unable to start JC2-MP Server
command_start.sh exiting with code: 1

My output (reproducing the exact some test as Travis)

ultimatebyte@game:~$ ./jc2server start
[ .... ] Starting jc2-server:     fetching check_logs.sh...OK
    fetching check_ip.sh...OK
    fetching info_config.sh...OK
    fetching check_config.sh...OK
    fetching check_status.sh...OK
    fetching fix_steamcmd.sh...OK
    fetching logs.sh...OK
[  OK  ] Starting jc2-server: JC2-MP Server

command_start.sh exiting with code: 0

My guess is that there is an issue with Fix jc2-server: Applying steamclient.so general fix: Just Cause 2 for jc2 into the travis test. I'll have a closer look at the fix to see if any other idea comes out.

Edit:
Interestingly enough, this fix means that ${HOME}/.steam/sdk32/steamclient.so" doesn't exist on the travis test machine, and possibly that the applied fix isn't enough to fix it.
https://github.com/GameServerManagers/LinuxGSM/blob/master/lgsm/functions/fix_steamcmd.sh#L11-L18

Is there a way to see other logs from the test ? Like steamcmd logs and dev-debug ?

Edit2:
I reread your output @dgibbs64 to refresh my memory.
It's missing files into serverfiles, right ? How the ?!

<!-- gh-comment-id:261773228 --> @UltimateByte commented on GitHub (Nov 20, 2016): Travis output: ``` Command: ./jc2server start fetching check_status.sh...OK Required status: OFFLINE Current status: OFFLINE New status: OFFLINE Test starting: [ .... ] Starting jc2-server: fetching check_logs.sh...OK fetching check_ip.sh...OK fetching check_config.sh...OK fetching fix_steamcmd.sh...OK [ OK ] Fix jc2-server: Applying steamclient.so general fix: Just Cause 2 fetching info_config.sh...OK fetching logs.sh...OK failed to connect to server: Connection refused [ FAIL ] Starting jc2-server: Unable to start JC2-MP Server command_start.sh exiting with code: 1 ``` My output (reproducing the exact some test as Travis) ``` ultimatebyte@game:~$ ./jc2server start [ .... ] Starting jc2-server: fetching check_logs.sh...OK fetching check_ip.sh...OK fetching info_config.sh...OK fetching check_config.sh...OK fetching check_status.sh...OK fetching fix_steamcmd.sh...OK fetching logs.sh...OK [ OK ] Starting jc2-server: JC2-MP Server command_start.sh exiting with code: 0 ``` My guess is that there is an issue with `Fix jc2-server: Applying steamclient.so general fix: Just Cause 2` for jc2 into the travis test. I'll have a closer look at the fix to see if any other idea comes out. Edit: Interestingly enough, this fix means that `${HOME}/.steam/sdk32/steamclient.so"` doesn't exist on the travis test machine, and possibly that the applied fix isn't enough to fix it. https://github.com/GameServerManagers/LinuxGSM/blob/master/lgsm/functions/fix_steamcmd.sh#L11-L18 Is there a way to see other logs from the test ? Like steamcmd logs and dev-debug ? Edit2: I reread your output @dgibbs64 to refresh my memory. It's missing files into serverfiles, right ? How the ?!
Author
Owner

@dgibbs64 commented on GitHub (Nov 20, 2016):

I think its something to do with an update to jc2mp recently that is causing the problem. However I am unsure what they have done that would cause the issue. Travis runs Ubuntu trusty for its tests. So might be worth testing out on trusty ourselves.

<!-- gh-comment-id:261788255 --> @dgibbs64 commented on GitHub (Nov 20, 2016): I think its something to do with an update to jc2mp recently that is causing the problem. However I am unsure what they have done that would cause the issue. Travis runs Ubuntu trusty for its tests. So might be worth testing out on trusty ourselves.
Author
Owner

@UltimateByte commented on GitHub (Jan 13, 2017):

We need to figure this out.

<!-- gh-comment-id:272504376 --> @UltimateByte commented on GitHub (Jan 13, 2017): We need to figure this out.
Author
Owner

@cedarlug commented on GitHub (Jan 15, 2017):

(Ref PR #1249)
Is making sudo required an acceptable fix? My original guess didn't pan out to be the issue, but in the process it turned out simply changing sudo from false to required allows just cause test 3.1 to complete correctly.

If that's not the fix, I can dig deeper into the crux of the issue.

<!-- gh-comment-id:272668735 --> @cedarlug commented on GitHub (Jan 15, 2017): (Ref PR #1249) Is making sudo required an acceptable fix? My original guess didn't pan out to be the issue, but in the process it turned out simply changing `sudo` from `false` to `required` allows just cause test 3.1 to complete correctly. If that's not the fix, I can dig deeper into the crux of the issue.
Author
Owner

@UltimateByte commented on GitHub (Jan 15, 2017):

Why?!

<!-- gh-comment-id:272670715 --> @UltimateByte commented on GitHub (Jan 15, 2017): Why?!
Author
Owner

@UltimateByte commented on GitHub (Jan 19, 2017):

Well, @cedarlug fixed it! Good job!

<!-- gh-comment-id:273918718 --> @UltimateByte commented on GitHub (Jan 19, 2017): Well, @cedarlug fixed it! Good job!
Author
Owner

@lock[bot] commented on GitHub (Jul 19, 2018):

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

<!-- gh-comment-id:406119526 --> @lock[bot] commented on GitHub (Jul 19, 2018): This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Sign in to join this conversation.
No labels
Atomic
Epic
cannot reproduce
command: backup
command: console
command: debug
command: details
command: fast-dl
command: install
command: mods
command: monitor
command: post-details
command: restart
command: send
command: start
command: stop
command: update
command: update-lgsm
command: validate
command: wipe
distro: AlmaLinux
distro: Arch Linux
distro: CentOS
distro: Debian
distro: Fedora
distro: RedHat
distro: Rocky Linux
distro: Ubuntu
distro: openSUSE
engine: goldsrc
engine: source
game: 7 Days to Die
game: ARMA 3
game: Ark: Survival Evolved
game: Assetto Corsa
game: Avorion
game: BATTALION: Legacy
game: Barotrauma
game: Battalion 1944
game: Battlefield 1942
game: Black Mesa: Deathmatch
game: Blade Symphony
game: Call of Duty 2
game: Call of Duty 4
game: Call of Duty: United Offensive
game: Counter-Strike 1.6
game: Counter-Strike 2
game: Counter-Strike: Global Offensive
game: Counter-Strike: Source
game: Day of Infamy
game: Dayz
game: Death Match Classic
game: Don't Starve Together
game: ET: Legacy
game: Eco
game: Factorio
game: Factorio
game: Garry's Mod
game: Half-Life
game: Hurtword
game: Insurgecy
game: Insurgecy
game: Insurgency: Sandstorm
game: Just Cause 3
game: Killing Floor
game: Killing Floor 2
game: Left 4 Dead 2
game: Minecraft
game: Minecraft Bedrock
game: Mordhau
game: Multi Theft Auto
game: Mumble
game: Natural Selection 2
game: No More Room in Hell
game: Pavlov VR
game: Post Scriptum
game: Project Zomboid
game: Quake 3
game: QuakeWorld
game: Red Orchestra: Ostfront 41-45
game: Return to Castle Wolfenstein
game: Rising World
game: Rust
game: San Andreas Multiplayer
game: Satisfactory
game: Soldat
game: Soldier of Fortune 2
game: Squad
game: Squad 44
game: Starbound
game: Stationeers
game: Sven Co-op
game: Team Fortress 2
game: Teamspeak 3
game: Teeworlds
game: Terraria
game: The Front
game: Unreal Tournament 2004
game: Unreal Tournament 3
game: Unreal Tournament 99
game: Unturned
game: Valheim
game: Wurm Unlimited
game: Zombie Master Reborn
game: label missing
good first issue
help wanted
info: alerts
info: dependency
info: docker
info: docs
info: email
info: query
info: steamcmd
info: systemd
info: tmux
info: website
info: website
needs more info
outcome: duplicate
outcome: issue resolved
outcome: issue resolved
outcome: issue unresolved
outcome: pr accepted
outcome: pr rejected
outcome: unconfirmed
outcome: wontfix
outcome: wrong forum
potential-duplicate
priority
pull-request
type: bug
type: feature
type: feature
type: feature request
type: game server request
type: refactor
waiting response
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/LinuxGSM#926
No description provided.