Does anyone know how to debug geode-assembly Jetty dunit tests that fail to
launch modify_war?

It passes 100% locally in intellij and with gradle cli. It only fails in
concourse PR precheckin.

Right now, this is the last thing blocking me from submitting a non-draft
PR to move all log4j-core code from geode-core to geode-log4j. This is
blocking the creation of geode-log4j.

The only changes in my branch are moving all log4j-core code from
geode-core to geode-log4j.

If anyone else wants to see this change make it to develop, then I need
help!

When the test tries to execute modify_war, it fails with the following
output and stack trace. No other info is available for debugging as
apparently this kills the gradle daemon.

Failed PR precheckin dunit job:
https://concourse.apachegeode-ci.info/builds/88240
PR: https://github.com/apache/geode/pull/3914

> Task :geode-assembly:distributedTest

org.apache.geode.session.tests.Jetty9CachingClientServerTest >
containersShouldHavePersistentSessionData FAILED
    java.lang.RuntimeException: Something very bad happened when trying to
start container
JETTY9_client-server_containersShouldHavePersistentSessionData_0_a6ebd229-072b-47db-a9bf-ca3713175f05_<unknown>

        Caused by:
        java.lang.RuntimeException: Something very bad happened to this
container when starting. Check the cargo_logs folder for container logs.

            Caused by:
            java.io.IOException: Unable to run modify_war script, command:
[/tmp/geode_container_install17845041006471328987/cargo_modules/Apache_Geode_Modules-1.11.0-SNAPSHOT-AppServer/bin/modify_war,
-J, -Xmx2096m, -w,
/home/geode/geode/geode-assembly/build/distributedTest254/../../../extensions/session-testing-war/build/libs/session-testing-war.war,
-t, client-server, -o,
/tmp/geode_container_install17845041006471328987/cargo_wars/JETTY9_client-server_containersShouldHavePersistentSessionData_0_a6ebd229-072b-47db-a9bf-ca3713175f053692095078744488223.war,
-p, gemfire.cache.enable_local_cache=true, -p,
gemfire.property.log-file=/home/geode/geode/geode-assembly/build/distributedTest254/cargo_logs/JETTY9_client-server_containersShouldHavePersistentSessionData_0_a6ebd229-072b-47db-a9bf-ca3713175f05/gemfire.log,
-p,
gemfire.property.cache-xml-file=/home/geode/geode/geode-assembly/build/distributedTest254/cargo_logs/JETTY9_client-server_containersShouldHavePersistentSessionData_0_a6ebd229-072b-47db-a9bf-ca3713175f05/cache-client.xml]
            log file:
            ERROR: Error updating web.xml
            ng: INFO: os::commit_memory(0x000000077d000000, 2147483648, 0)
failed; error='Not enough space' (errno=12)

Reply via email to