LacledesLAN / gamesvr-csgo-test

LL Counter-Strike GO Client Test Server in Docker
https://hub.docker.com/r/lacledeslan/gamesvr-csgo-test/
The Unlicense
0 stars 1 forks source link

Build Script continues even if error occurs #5

Closed dudleycodes closed 1 year ago

dudleycodes commented 1 year ago
»»  Initialized low level socket/threading support.
»»  SDR_LISTEN_PORT is set, but not SDR_CERT/SDR_PRIVATE_KEY.
»»  Set SteamNetworkingSockets P2P_STUN_ServerList to '' as per SteamNetworkingSocketsSerialized
»»  SteamDatagramServer_Init succeeded
»»  Assigned anonymous gameserver Steam ID [A:1:970077189:23288].
»»  Gameserver logged on to Steam, assigned identity steamid:90172014715876357
»»  Set SteamNetworkingSockets P2P_STUN_ServerList to '162.254.193.102:3478' as per SteamNetworkingSocketsSerialized
»»  VAC secure mode disabled.
»»  GC Connection established for server version 1560, instance idx 1
»»  say STARTING COMMAND TESTS
»»  Console: STARTING COMMAND TESTS
»»  L 04/30/2023 - 19:56:56: "Console<0><Console><Console>" say "STARTING COMMAND TESTS"
»»  sv_cheats
»»  "sv_cheats" = "0" notify replicated                                              - Allow cheats on server

[TEST RESULTS]

[PASS] - Sever started executing
[PASS] - Server is not boot-looping
[PASS] - Server is not running under root
[PASS] - srcds_run loaded CSGO
[PASS] - srcds_run succesfully hibernated
[PASS] - Server was able to load custom-content the map
[PASS] - Server is not reporting itself as out of date
[PASS] - 'say STARTING COMMAND TESTS' should result in 'Console: STARTING COMMAND TESTS' (loop iterations: 1)
[PASS] - Logging is enabled
[PASS] - Server is logging to the logs directory
[PASS] - 2019.03.28 bug not found (https://forums.alliedmods.net/showthread.php?t=315229)
[PASS] - Meta Mod and Source Mod are both running
[FAIL] - LL status mod ran
[PASS] - LL status mod is not showing any SM plugins with errors
[FAIL] - LL status mod reports itself
[FAIL] - LL status mod reports admin file reader
[FAIL] - LL status mod reports LL version of "log connections"
[FAIL] - LL status mod reports basic comm control
[FAIL] - LL status mod reports basic info triggers
[FAIL] - LL status mod reports anti-flood
[FAIL] - LL status mod reports basic votes
[PASS] - 'sv_cheats' should result in '"sv_cheats" = "0" notify replicated' (loop iterations: 2)

[OUTCOME]

Checks have failures!

[Pushing to Docker Hub]
> push lacledeslan/gamesvr-csgo-test:latest
The push refers to repository [docker.io/lacledeslan/gamesvr-csgo-test]
5f70bf18a086: Layer already exists
dudleycodes commented 1 year ago

Was an issue with how parent script was creating a subshell. This script works thanks to set -e.