10 of 10 shard(s) failed: shard 0: ERROR: Shared workspace preparation failed. Elapsed: 794452ms. SSH channel running '# buildtest-shared-cache-preparation-child
setsid --wait bash -c ' set -e
child_root='\''/root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba/child-0'\''
preparation_root='\''/root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba'\''
pid_path='\''/root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba/child-0/.buildtest-preparation.pid'\''
cancel_path='\''/root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba/child-0/.buildtest-preparation.cancel'\''
child_pid="$BASHPID"
(
# Only the claim creates the generation root; a fenced child must not recreate it.
: # An old owner may not recreate a removed root.
exec 9>>'\''/root/.buildtest-shared-cache-publication.lock'\''
if ! flock 9; then
echo '\''The remote root '\''\'\'''\''/root'\''\'\'''\'' is publishing or recovering a shared-cache generation.'\'' >&2
exit 75
fi
if [ ! -d '\''/root/.buildtest-shared-cache-owner/c42b1c75f9c74e188d4659e891955bba'\'' ]; then
echo '\''Shared-cache preparation '\''\'\'''\''c42b1c75f9c74e188d4659e891955bba'\''\'\'''\'' no longer owns remote root '\''\'\'''\''/root'\''\'\'''\''; recovery fenced this generation.'\'' >&2
exit 75
fi
if [ ! -d "$preparation_root" ]; then
echo '\''Shared-cache preparation '\''\'\'''\''c42b1c75f9c74e188d4659e891955bba'\''\'\'''\'' no longer owns remote root '\''\'\'''\''/root'\''\'\'''\''; recovery fenced this generation.'\'' >&2
exit 75
fi
exec 8>>"$preparation_root/control.lock"
flock 8
if [ -e "$preparation_root/canceled" ] || [ -e "$cancel_path" ]; then exit 143; fi
mkdir -p "$child_root"
echo "$child_pid" > "$pid_path"
)
(
: # An old owner may not recreate a removed root.
exec 9>>'\''/root/.buildtest-shared-cache-publication.lock'\''
if ! flock 9; then
echo '\''The remote root '\''\'\'''\''/root'\''\'\'''\'' is publishing or recovering a shared-cache generation.'\'' >&2
exit 75
fi
if [ ! -d '\''/root/.buildtest-shared-cache-owner/c42b1c75f9c74e188d4659e891955bba'\'' ]; then
echo '\''Shared-cache preparation '\''\'\'''\''c42b1c75f9c74e188d4659e891955bba'\''\'\'''\'' no longer owns remote root '\''\'\'''\''/root'\''\'\'''\''; recovery fenced this generation.'\'' >&2
exit 75
fi
if [ -e "$cancel_path" ] || [ -e "$preparation_root/canceled" ]; then exit 143; fi
mkdir -p "$child_root/home"
)
# The setup subshell releases the root lock before any runner or callback executes.
# Keep the session marker until coordinator cleanup. Foreground exit does not
# terminate the background runner or release its workspace ownership.
if [ -e "$cancel_path" ]; then exit 143; fi
# The runner arguments intentionally use paths rooted at [remoteRoot]. Keep the
# command'\''s established remote-root working directory here; changing into child_root
# would make a relative test root (used by the real SSH test seam) resolve again below
# that child and would point the runner at a second, nonexistent copy of its files.
cd '\''/root'\''
export HOME="$child_root/home"
export XDG_CACHE_HOME='\''/root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba/stage/.cache'\''
export COURSIER_CACHE='\''/root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba/stage/.cache/coursier'\''
export COURSIER_CACHE_DIR='\''/root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba/stage/.cache/coursier'\''
rm -f '\''/root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba/child-0/btr-events.spool'\'' '\''/root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba/child-0/kompile-exit-code'\'' '\''/root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba/child-0/btr-runner.pid'\''
: > '\''/root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba/child-0/btr-events.spool'\''
(
trap '\'''\'' HUP
BTR_RUNNER_PID=$BASHPID
echo $BTR_RUNNER_PID > '\''/root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba/child-0/btr-runner.pid.starting'\''
mv '\''/root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba/child-0/btr-runner.pid.starting'\'' '\''/root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba/child-0/btr-runner.pid'\''
printf '\''##BTR## {"event":"runner_process_started","runnerStreamId":"2911dd56-c288-41a4-b6c9-542f61244f55","timestamp":%s,"processId":%s}\n'\'' "1793298291159" "$BTR_RUNNER_PID"
TOTAL_MEM_KB=$(grep MemTotal /proc/meminfo | awk '\''{print $2}'\'')
HEAP_MB=$((TOTAL_MEM_KB / 1024 / 2))
if [ "$HEAP_MB" -gt 1024 ]; then HEAP_MB=1024; fi
echo "System memory: $((TOTAL_MEM_KB / 1024))MB, JVM heap: ${HEAP_MB}MB"
if [ -f '\''/root/.buildtest-no-cache-preparation-override.jar'\'' ]; then
echo "Using kompile-cli override JAR: /root/.buildtest-no-cache-preparation-override.jar"
java \
-Xmx${HEAP_MB}m \
-ea \
-XX:+HeapDumpOnOutOfMemoryError \
-XX:HeapDumpPath=/root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba/child-0/heapdump-oom.hprof \
-jar '\''/root/.buildtest-no-cache-preparation-override.jar'\'' \
-w /root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba/stage/projects \
--test '\''/root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba/stage/projects'\'' \
--log /root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba/child-0/test-results.xml \
--runner-stream-id '\''2911dd56-c288-41a4-b6c9-542f61244f55'\'' \
--build '\''foundation.url.resolver.buildActiveLifetimePingTestSupport'\'' --build '\''foundation.url.resolver.buildActiveLifetimeQueuePublicationSupport'\'' --build '\''foundation.url.resolver.buildAutomaticAnnounceAddressesTestSupport'\'' --build '\''foundation.url.resolver.buildAutomaticLatePeerTestSupport'\'' --build '\''foundation.url.resolver.buildAutomaticRelayTestSupport'\'' --build '\''foundation.url.resolver.buildCloseDoesNotWaitForGossipDispatcherAdmissionTestSupport'\'' --build '\''foundation.url.resolver.buildCompletionBeforeSubmissionReturnsTestSupport'\'' --build '\''foundation.url.resolver.buildCrossedRelayEvictionTestSupport'\'' --build '\''foundation.url.resolver.buildCurrentMainCloseResourceLifecycleConstructorCompatibilityTestSupport'\'' --build '\''foundation.url.resolver.buildDefaultCloseReportsNonBindListenPortReservationFailureTestSupport'\'' --build '\''foundation.url.resolver.buildDuplicateSandboxAttemptCloseTestSupport'\'' --build '\''foundation.url.resolver.buildEagerJoinHostCreationTwoCarrierTestSupport'\'' --build '\''foundation.url.resolver.buildEagerJoinTwoCarrierTestSupport'\'' --build '\''foundation.url.resolver.buildExplicitAnnounceAddressesTestSupport'\'' --build '\''foundation.url.resolver.buildExplicitPublicIpKeepsEachResolverAddressesTestSupport'\'' --build '\''foundation.url.resolver.buildGossipRetryDeadlineExpiresBeforeTransportAdmissionTestSupport'\'' --build '\''foundation.url.resolver.buildGossipRetryDeadlineExpiresDuringRelayAdmissionTestSupport'\'' --build '\''foundation.url.resolver.buildLegacyCloseResourceLifecycleConstructorCompatibilityTestSupport'\'' --build '\''foundation.url.resolver.buildLegacyUrlProtocol2ConstructorCompatibilityTestSupport'\'' --build '\''foundation.url.resolver.buildMalformedPublicIpRelayTestSupport'\'' --build '\''foundation.url.resolver.buildMaven'\'' --build '\''foundation.url.resolver.buildNativePersistentReaderStartupFailureTestSupport'\'' --build '\''foundation.url.resolver.buildNewPeerRelayRefreshQueueTestSupport'\'' --build '\''foundation.url.resolver.buildOneCarrierSandboxRetirementTestSupport'\'' --build '\''foundation.url.resolver.buildPersistentReaderCarrierIsolationTestSupport'\'' --build '\''foundation.url.resolver.buildRelaySnapshotRetentionScaleTestSupport'\'' --build '\''foundation.url.resolver.buildRelayStartFailureTestSupport'\'' --build '\''foundation.url.resolver.buildRelayedBytecodeResponseParsedInPlaceCoversProductionHeapTestSupport'\'' --build '\''foundation.url.resolver.buildResolverCloseLateCandidateTestSupport'\'' --build '\''foundation.url.resolver.buildResolverCloseRootStartFailureTestSupport'\'' --build '\''foundation.url.resolver.buildSandboxCleanupOwnerStartupTestSupport'\'' --build '\''foundation.url.resolver.buildSandboxCleanupStartupCancellationTestSupport'\'' --build '\''foundation.url.resolver.buildScheduledPruneForwardingTestSupport'\'' --build '\''foundation.url.resolver.buildTimedDialWaitPoolTestSupport'\'' --build '\''foundation.url.resolver.buildWithdrawalRebroadcastTwoCarrierTestSupport'\'' --build-only --cache '\''/root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba/stage/.buildcache'\'' --test-parallelism 4 \
2>&1
else
/root/tools/coursier launch \
-M buildtest.runner.MainKt \
buildtest.runner:buildtest-runner:0.0.124 \
--no-default \
-r https://kotlin.directory \
-r central \
--java-opt -Xmx${HEAP_MB}m \
--java-opt -ea \
--java-opt -XX:+HeapDumpOnOutOfMemoryError \
--java-opt -XX:HeapDumpPath=/root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba/child-0/heapdump-oom.hprof \
-- \
-w /root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba/stage/projects \
--test '\''/root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba/stage/projects'\'' \
--log /root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba/child-0/test-results.xml \
--runner-stream-id '\''2911dd56-c288-41a4-b6c9-542f61244f55'\'' \
--build '\''foundation.url.resolver.buildActiveLifetimePingTestSupport'\'' --build '\''foundation.url.resolver.buildActiveLifetimeQueuePublicationSupport'\'' --build '\''foundation.url.resolver.buildAutomaticAnnounceAddressesTestSupport'\'' --build '\''foundation.url.resolver.buildAutomaticLatePeerTestSupport'\'' --build '\''foundation.url.resolver.buildAutomaticRelayTestSupport'\'' --build '\''foundation.url.resolver.buildCloseDoesNotWaitForGossipDispatcherAdmissionTestSupport'\'' --build '\''foundation.url.resolver.buildCompletionBeforeSubmissionReturnsTestSupport'\'' --build '\''foundation.url.resolver.buildCrossedRelayEvictionTestSupport'\'' --build '\''foundation.url.resolver.buildCurrentMainCloseResourceLifecycleConstructorCompatibilityTestSupport'\'' --build '\''foundation.url.resolver.buildDefaultCloseReportsNonBindListenPortReservationFailureTestSupport'\'' --build '\''foundation.url.resolver.buildDuplicateSandboxAttemptCloseTestSupport'\'' --build '\''foundation.url.resolver.buildEagerJoinHostCreationTwoCarrierTestSupport'\'' --build '\''foundation.url.resolver.buildEagerJoinTwoCarrierTestSupport'\'' --build '\''foundation.url.resolver.buildExplicitAnnounceAddressesTestSupport'\'' --build '\''foundation.url.resolver.buildExplicitPublicIpKeepsEachResolverAddressesTestSupport'\'' --build '\''foundation.url.resolver.buildGossipRetryDeadlineExpiresBeforeTransportAdmissionTestSupport'\'' --build '\''foundation.url.resolver.buildGossipRetryDeadlineExpiresDuringRelayAdmissionTestSupport'\'' --build '\''foundation.url.resolver.buildLegacyCloseResourceLifecycleConstructorCompatibilityTestSupport'\'' --build '\''foundation.url.resolver.buildLegacyUrlProtocol2ConstructorCompatibilityTestSupport'\'' --build '\''foundation.url.resolver.buildMalformedPublicIpRelayTestSupport'\'' --build '\''foundation.url.resolver.buildMaven'\'' --build '\''foundation.url.resolver.buildNativePersistentReaderStartupFailureTestSupport'\'' --build '\''foundation.url.resolver.buildNewPeerRelayRefreshQueueTestSupport'\'' --build '\''foundation.url.resolver.buildOneCarrierSandboxRetirementTestSupport'\'' --build '\''foundation.url.resolver.buildPersistentReaderCarrierIsolationTestSupport'\'' --build '\''foundation.url.resolver.buildRelaySnapshotRetentionScaleTestSupport'\'' --build '\''foundation.url.resolver.buildRelayStartFailureTestSupport'\'' --build '\''foundation.url.resolver.buildRelayedBytecodeResponseParsedInPlaceCoversProductionHeapTestSupport'\'' --build '\''foundation.url.resolver.buildResolverCloseLateCandidateTestSupport'\'' --build '\''foundation.url.resolver.buildResolverCloseRootStartFailureTestSupport'\'' --build '\''foundation.url.resolver.buildSandboxCleanupOwnerStartupTestSupport'\'' --build '\''foundation.url.resolver.buildSandboxCleanupStartupCancellationTestSupport'\'' --build '\''foundation.url.resolver.buildScheduledPruneForwardingTestSupport'\'' --build '\''foundation.url.resolver.buildTimedDialWaitPoolTestSupport'\'' --build '\''foundation.url.resolver.buildWithdrawalRebroadcastTwoCarrierTestSupport'\'' --build-only --cache '\''/root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba/stage/.buildcache'\'' --test-parallelism 4 \
2>&1
fi
_KOMPILE_EC=$?
echo $_KOMPILE_EC > /root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba/child-0/kompile-exit-code
) </dev/null >> '\''/root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba/child-0/btr-events.spool'\'' 2>&1 &
BTR_RUNNER_PID=$!
echo $BTR_RUNNER_PID > '\''/root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba/child-0/btr-runner.pid'\''
tail -n +1 -f '\''/root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba/child-0/btr-events.spool'\'' --pid=$BTR_RUNNER_PID 2>/dev/null
wait "$BTR_RUNNER_PID"
_BTR_EC=1
if [ -f '\''/root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba/child-0/kompile-exit-code'\'' ]; then
IFS= read -r _BTR_EC < '\''/root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba/child-0/kompile-exit-code'\'' || _BTR_EC=1
fi
exit ${_BTR_EC:-1}'' exceeded its unread output bound of 8388608 bytes: the consumer was 8388608 bytes behind; this channel's stream ended without closing its shared SSH session.; shard 1: ERROR: Shared workspace preparation failed. Elapsed: 794452ms. SSH channel running '# buildtest-shared-cache-preparation-child
setsid --wait bash -c ' set -e
child_root='\''/root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba/child-0'\''
preparation_root='\''/root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba'\''
pid_path='\''/root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba/child-0/.buildtest-preparation.pid'\''
cancel_path='\''/root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba/child-0/.buildtest-preparation.cancel'\''
child_pid="$BASHPID"
(
# Only the claim creates the generation root; a fenced child must not recreate it.
: # An old owner may not recreate a removed root.
exec 9>>'\''/root/.buildtest-shared-cache-publication.lock'\''
if ! flock 9; then
echo '\''The remote root '\''\'\'''\''/root'\''\'\'''\'' is publishing or recovering a shared-cache generation.'\'' >&2
exit 75
fi
if [ ! -d '\''/root/.buildtest-shared-cache-owner/c42b1c75f9c74e188d4659e891955bba'\'' ]; then
echo '\''Shared-cache preparation '\''\'\'''\''c42b1c75f9c74e188d4659e891955bba'\''\'\'''\'' no longer owns remote root '\''\'\'''\''/root'\''\'\'''\''; recovery fenced this generation.'\'' >&2
exit 75
fi
if [ ! -d "$preparation_root" ]; then
echo '\''Shared-cache preparation '\''\'\'''\''c42b1c75f9c74e188d4659e891955bba'\''\'\'''\'' no longer owns remote root '\''\'\'''\''/root'\''\'\'''\''; recovery fenced this generation.'\'' >&2
exit 75
fi
exec 8>>"$preparation_root/control.lock"
flock 8
if [ -e "$preparation_root/canceled" ] || [ -e "$cancel_path" ]; then exit 143; fi
mkdir -p "$child_root"
echo "$child_pid" > "$pid_path"
)
(
: # An old owner may not recreate a removed root.
exec 9>>'\''/root/.buildtest-shared-cache-publication.lock'\''
if ! flock 9; then
echo '\''The remote root '\''\'\'''\''/root'\''\'\'''\'' is publishing or recovering a shared-cache generation.'\'' >&2
exit 75
fi
if [ ! -d '\''/root/.buildtest-shared-cache-owner/c42b1c75f9c74e188d4659e891955bba'\'' ]; then
echo '\''Shared-cache preparation '\''\'\'''\''c42b1c75f9c74e188d4659e891955bba'\''\'\'''\'' no longer owns remote root '\''\'\'''\''/root'\''\'\'''\''; recovery fenced this generation.'\'' >&2
exit 75
fi
if [ -e "$cancel_path" ] || [ -e "$preparation_root/canceled" ]; then exit 143; fi
mkdir -p "$child_root/home"
)
# The setup subshell releases the root lock before any runner or callback executes.
# Keep the session marker until coordinator cleanup. Foreground exit does not
# terminate the background runner or release its workspace ownership.
if [ -e "$cancel_path" ]; then exit 143; fi
# The runner arguments intentionally use paths rooted at [remoteRoot]. Keep the
# command'\''s established remote-root working directory here; changing into child_root
# would make a relative test root (used by the real SSH test seam) resolve again below
# that child and would point the runner at a second, nonexistent copy of its files.
cd '\''/root'\''
export HOME="$child_root/home"
export XDG_CACHE_HOME='\''/root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba/stage/.cache'\''
export COURSIER_CACHE='\''/root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba/stage/.cache/coursier'\''
export COURSIER_CACHE_DIR='\''/root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba/stage/.cache/coursier'\''
rm -f '\''/root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba/child-0/btr-events.spool'\'' '\''/root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba/child-0/kompile-exit-code'\'' '\''/root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba/child-0/btr-runner.pid'\''
: > '\''/root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba/child-0/btr-events.spool'\''
(
trap '\'''\'' HUP
BTR_RUNNER_PID=$BASHPID
echo $BTR_RUNNER_PID > '\''/root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba/child-0/btr-runner.pid.starting'\''
mv '\''/root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba/child-0/btr-runner.pid.starting'\'' '\''/root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba/child-0/btr-runner.pid'\''
printf '\''##BTR## {"event":"runner_process_started","runnerStreamId":"2911dd56-c288-41a4-b6c9-542f61244f55","timestamp":%s,"processId":%s}\n'\'' "1793298291159" "$BTR_RUNNER_PID"
TOTAL_MEM_KB=$(grep MemTotal /proc/meminfo | awk '\''{print $2}'\'')
HEAP_MB=$((TOTAL_MEM_KB / 1024 / 2))
if [ "$HEAP_MB" -gt 1024 ]; then HEAP_MB=1024; fi
echo "System memory: $((TOTAL_MEM_KB / 1024))MB, JVM heap: ${HEAP_MB}MB"
if [ -f '\''/root/.buildtest-no-cache-preparation-override.jar'\'' ]; then
echo "Using kompile-cli override JAR: /root/.buildtest-no-cache-preparation-override.jar"
java \
-Xmx${HEAP_MB}m \
-ea \
-XX:+HeapDumpOnOutOfMemoryError \
-XX:HeapDumpPath=/root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba/child-0/heapdump-oom.hprof \
-jar '\''/root/.buildtest-no-cache-preparation-override.jar'\'' \
-w /root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba/stage/projects \
--test '\''/root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba/stage/projects'\'' \
--log /root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba/child-0/test-results.xml \
--runner-stream-id '\''2911dd56-c288-41a4-b6c9-542f61244f55'\'' \
--build '\''foundation.url.resolver.buildActiveLifetimePingTestSupport'\'' --build '\''foundation.url.resolver.buildActiveLifetimeQueuePublicationSupport'\'' --build '\''foundation.url.resolver.buildAutomaticAnnounceAddressesTestSupport'\'' --build '\''foundation.url.resolver.buildAutomaticLatePeerTestSupport'\'' --build '\''foundation.url.resolver.buildAutomaticRelayTestSupport'\'' --build '\''foundation.url.resolver.buildCloseDoesNotWaitForGossipDispatcherAdmissionTestSupport'\'' --build '\''foundation.url.resolver.buildCompletionBeforeSubmissionReturnsTestSupport'\'' --build '\''foundation.url.resolver.buildCrossedRelayEvictionTestSupport'\'' --build '\''foundation.url.resolver.buildCurrentMainCloseResourceLifecycleConstructorCompatibilityTestSupport'\'' --build '\''foundation.url.resolver.buildDefaultCloseReportsNonBindListenPortReservationFailureTestSupport'\'' --build '\''foundation.url.resolver.buildDuplicateSandboxAttemptCloseTestSupport'\'' --build '\''foundation.url.resolver.buildEagerJoinHostCreationTwoCarrierTestSupport'\'' --build '\''foundation.url.resolver.buildEagerJoinTwoCarrierTestSupport'\'' --build '\''foundation.url.resolver.buildExplicitAnnounceAddressesTestSupport'\'' --build '\''foundation.url.resolver.buildExplicitPublicIpKeepsEachResolverAddressesTestSupport'\'' --build '\''foundation.url.resolver.buildGossipRetryDeadlineExpiresBeforeTransportAdmissionTestSupport'\'' --build '\''foundation.url.resolver.buildGossipRetryDeadlineExpiresDuringRelayAdmissionTestSupport'\'' --build '\''foundation.url.resolver.buildLegacyCloseResourceLifecycleConstructorCompatibilityTestSupport'\'' --build '\''foundation.url.resolver.buildLegacyUrlProtocol2ConstructorCompatibilityTestSupport'\'' --build '\''foundation.url.resolver.buildMalformedPublicIpRelayTestSupport'\'' --build '\''foundation.url.resolver.buildMaven'\'' --build '\''foundation.url.resolver.buildNativePersistentReaderStartupFailureTestSupport'\'' --build '\''foundation.url.resolver.buildNewPeerRelayRefreshQueueTestSupport'\'' --build '\''foundation.url.resolver.buildOneCarrierSandboxRetirementTestSupport'\'' --build '\''foundation.url.resolver.buildPersistentReaderCarrierIsolationTestSupport'\'' --build '\''foundation.url.resolver.buildRelaySnapshotRetentionScaleTestSupport'\'' --build '\''foundation.url.resolver.buildRelayStartFailureTestSupport'\'' --build '\''foundation.url.resolver.buildRelayedBytecodeResponseParsedInPlaceCoversProductionHeapTestSupport'\'' --build '\''foundation.url.resolver.buildResolverCloseLateCandidateTestSupport'\'' --build '\''foundation.url.resolver.buildResolverCloseRootStartFailureTestSupport'\'' --build '\''foundation.url.resolver.buildSandboxCleanupOwnerStartupTestSupport'\'' --build '\''foundation.url.resolver.buildSandboxCleanupStartupCancellationTestSupport'\'' --build '\''foundation.url.resolver.buildScheduledPruneForwardingTestSupport'\'' --build '\''foundation.url.resolver.buildTimedDialWaitPoolTestSupport'\'' --build '\''foundation.url.resolver.buildWithdrawalRebroadcastTwoCarrierTestSupport'\'' --build-only --cache '\''/root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba/stage/.buildcache'\'' --test-parallelism 4 \
2>&1
else
/root/tools/coursier launch \
-M buildtest.runner.MainKt \
buildtest.runner:buildtest-runner:0.0.124 \
--no-default \
-r https://kotlin.directory \
-r central \
--java-opt -Xmx${HEAP_MB}m \
--java-opt -ea \
--java-opt -XX:+HeapDumpOnOutOfMemoryError \
--java-opt -XX:HeapDumpPath=/root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba/child-0/heapdump-oom.hprof \
-- \
-w /root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba/stage/projects \
--test '\''/root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba/stage/projects'\'' \
--log /root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba/child-0/test-results.xml \
--runner-stream-id '\''2911dd56-c288-41a4-b6c9-542f61244f55'\'' \
--build '\''foundation.url.resolver.buildActiveLifetimePingTestSupport'\'' --build '\''foundation.url.resolver.buildActiveLifetimeQueuePublicationSupport'\'' --build '\''foundation.url.resolver.buildAutomaticAnnounceAddressesTestSupport'\'' --build '\''foundation.url.resolver.buildAutomaticLatePeerTestSupport'\'' --build '\''foundation.url.resolver.buildAutomaticRelayTestSupport'\'' --build '\''foundation.url.resolver.buildCloseDoesNotWaitForGossipDispatcherAdmissionTestSupport'\'' --build '\''foundation.url.resolver.buildCompletionBeforeSubmissionReturnsTestSupport'\'' --build '\''foundation.url.resolver.buildCrossedRelayEvictionTestSupport'\'' --build '\''foundation.url.resolver.buildCurrentMainCloseResourceLifecycleConstructorCompatibilityTestSupport'\'' --build '\''foundation.url.resolver.buildDefaultCloseReportsNonBindListenPortReservationFailureTestSupport'\'' --build '\''foundation.url.resolver.buildDuplicateSandboxAttemptCloseTestSupport'\'' --build '\''foundation.url.resolver.buildEagerJoinHostCreationTwoCarrierTestSupport'\'' --build '\''foundation.url.resolver.buildEagerJoinTwoCarrierTestSupport'\'' --build '\''foundation.url.resolver.buildExplicitAnnounceAddressesTestSupport'\'' --build '\''foundation.url.resolver.buildExplicitPublicIpKeepsEachResolverAddressesTestSupport'\'' --build '\''foundation.url.resolver.buildGossipRetryDeadlineExpiresBeforeTransportAdmissionTestSupport'\'' --build '\''foundation.url.resolver.buildGossipRetryDeadlineExpiresDuringRelayAdmissionTestSupport'\'' --build '\''foundation.url.resolver.buildLegacyCloseResourceLifecycleConstructorCompatibilityTestSupport'\'' --build '\''foundation.url.resolver.buildLegacyUrlProtocol2ConstructorCompatibilityTestSupport'\'' --build '\''foundation.url.resolver.buildMalformedPublicIpRelayTestSupport'\'' --build '\''foundation.url.resolver.buildMaven'\'' --build '\''foundation.url.resolver.buildNativePersistentReaderStartupFailureTestSupport'\'' --build '\''foundation.url.resolver.buildNewPeerRelayRefreshQueueTestSupport'\'' --build '\''foundation.url.resolver.buildOneCarrierSandboxRetirementTestSupport'\'' --build '\''foundation.url.resolver.buildPersistentReaderCarrierIsolationTestSupport'\'' --build '\''foundation.url.resolver.buildRelaySnapshotRetentionScaleTestSupport'\'' --build '\''foundation.url.resolver.buildRelayStartFailureTestSupport'\'' --build '\''foundation.url.resolver.buildRelayedBytecodeResponseParsedInPlaceCoversProductionHeapTestSupport'\'' --build '\''foundation.url.resolver.buildResolverCloseLateCandidateTestSupport'\'' --build '\''foundation.url.resolver.buildResolverCloseRootStartFailureTestSupport'\'' --build '\''foundation.url.resolver.buildSandboxCleanupOwnerStartupTestSupport'\'' --build '\''foundation.url.resolver.buildSandboxCleanupStartupCancellationTestSupport'\'' --build '\''foundation.url.resolver.buildScheduledPruneForwardingTestSupport'\'' --build '\''foundation.url.resolver.buildTimedDialWaitPoolTestSupport'\'' --build '\''foundation.url.resolver.buildWithdrawalRebroadcastTwoCarrierTestSupport'\'' --build-only --cache '\''/root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba/stage/.buildcache'\'' --test-parallelism 4 \
2>&1
fi
_KOMPILE_EC=$?
echo $_KOMPILE_EC > /root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba/child-0/kompile-exit-code
) </dev/null >> '\''/root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba/child-0/btr-events.spool'\'' 2>&1 &
BTR_RUNNER_PID=$!
echo $BTR_RUNNER_PID > '\''/root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba/child-0/btr-runner.pid'\''
tail -n +1 -f '\''/root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba/child-0/btr-events.spool'\'' --pid=$BTR_RUNNER_PID 2>/dev/null
wait "$BTR_RUNNER_PID"
_BTR_EC=1
if [ -f '\''/root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba/child-0/kompile-exit-code'\'' ]; then
IFS= read -r _BTR_EC < '\''/root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba/child-0/kompile-exit-code'\'' || _BTR_EC=1
fi
exit ${_BTR_EC:-1}'' exceeded its unread output bound of 8388608 bytes: the consumer was 8388608 bytes behind; this channel's stream ended without closing its shared SSH session.; shard 2: ERROR: Shared workspace preparation failed. Elapsed: 794452ms. SSH channel running '# buildtest-shared-cache-preparation-child
setsid --wait bash -c ' set -e
child_root='\''/root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba/child-0'\''
preparation_root='\''/root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba'\''
pid_path='\''/root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba/child-0/.buildtest-preparation.pid'\''
cancel_path='\''/root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba/child-0/.buildtest-preparation.cancel'\''
child_pid="$BASHPID"
(
# Only the claim creates the generation root; a fenced child must not recreate it.
: # An old owner may not recreate a removed root.
exec 9>>'\''/root/.buildtest-shared-cache-publication.lock'\''
if ! flock 9; then
echo '\''The remote root '\''\'\'''\''/root'\''\'\'''\'' is publishing or recovering a shared-cache generation.'\'' >&2
exit 75
fi
if [ ! -d '\''/root/.buildtest-shared-cache-owner/c42b1c75f9c74e188d4659e891955bba'\'' ]; then
echo '\''Shared-cache preparation '\''\'\'''\''c42b1c75f9c74e188d4659e891955bba'\''\'\'''\'' no longer owns remote root '\''\'\'''\''/root'\''\'\'''\''; recovery fenced this generation.'\'' >&2
exit 75
fi
if [ ! -d "$preparation_root" ]; then
echo '\''Shared-cache preparation '\''\'\'''\''c42b1c75f9c74e188d4659e891955bba'\''\'\'''\'' no longer owns remote root '\''\'\'''\''/root'\''\'\'''\''; recovery fenced this generation.'\'' >&2
exit 75
fi
exec 8>>"$preparation_root/control.lock"
flock 8
if [ -e "$preparation_root/canceled" ] || [ -e "$cancel_path" ]; then exit 143; fi
mkdir -p "$child_root"
echo "$child_pid" > "$pid_path"
)
(
: # An old owner may not recreate a removed root.
exec 9>>'\''/root/.buildtest-shared-cache-publication.lock'\''
if ! flock 9; then
echo '\''The remote root '\''\'\'''\''/root'\''\'\'''\'' is publishing or recovering a shared-cache generation.'\'' >&2
exit 75
fi
if [ ! -d '\''/root/.buildtest-shared-cache-owner/c42b1c75f9c74e188d4659e891955bba'\'' ]; then
echo '\''Shared-cache preparation '\''\'\'''\''c42b1c75f9c74e188d4659e891955bba'\''\'\'''\'' no longer owns remote root '\''\'\'''\''/root'\''\'\'''\''; recovery fenced this generation.'\'' >&2
exit 75
fi
if [ -e "$cancel_path" ] || [ -e "$preparation_root/canceled" ]; then exit 143; fi
mkdir -p "$child_root/home"
)
# The setup subshell releases the root lock before any runner or callback executes.
# Keep the session marker until coordinator cleanup. Foreground exit does not
# terminate the background runner or release its workspace ownership.
if [ -e "$cancel_path" ]; then exit 143; fi
# The runner arguments intentionally use paths rooted at [remoteRoot]. Keep the
# command'\''s established remote-root working directory here; changing into child_root
# would make a relative test root (used by the real SSH test seam) resolve again below
# that child and would point the runner at a second, nonexistent copy of its files.
cd '\''/root'\''
export HOME="$child_root/home"
export XDG_CACHE_HOME='\''/root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba/stage/.cache'\''
export COURSIER_CACHE='\''/root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba/stage/.cache/coursier'\''
export COURSIER_CACHE_DIR='\''/root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba/stage/.cache/coursier'\''
rm -f '\''/root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba/child-0/btr-events.spool'\'' '\''/root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba/child-0/kompile-exit-code'\'' '\''/root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba/child-0/btr-runner.pid'\''
: > '\''/root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba/child-0/btr-events.spool'\''
(
trap '\'''\'' HUP
BTR_RUNNER_PID=$BASHPID
echo $BTR_RUNNER_PID > '\''/root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba/child-0/btr-runner.pid.starting'\''
mv '\''/root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba/child-0/btr-runner.pid.starting'\'' '\''/root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba/child-0/btr-runner.pid'\''
printf '\''##BTR## {"event":"runner_process_started","runnerStreamId":"2911dd56-c288-41a4-b6c9-542f61244f55","timestamp":%s,"processId":%s}\n'\'' "1793298291159" "$BTR_RUNNER_PID"
TOTAL_MEM_KB=$(grep MemTotal /proc/meminfo | awk '\''{print $2}'\'')
HEAP_MB=$((TOTAL_MEM_KB / 1024 / 2))
if [ "$HEAP_MB" -gt 1024 ]; then HEAP_MB=1024; fi
echo "System memory: $((TOTAL_MEM_KB / 1024))MB, JVM heap: ${HEAP_MB}MB"
if [ -f '\''/root/.buildtest-no-cache-preparation-override.jar'\'' ]; then
echo "Using kompile-cli override JAR: /root/.buildtest-no-cache-preparation-override.jar"
java \
-Xmx${HEAP_MB}m \
-ea \
-XX:+HeapDumpOnOutOfMemoryError \
-XX:HeapDumpPath=/root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba/child-0/heapdump-oom.hprof \
-jar '\''/root/.buildtest-no-cache-preparation-override.jar'\'' \
-w /root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba/stage/projects \
--test '\''/root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba/stage/projects'\'' \
--log /root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba/child-0/test-results.xml \
--runner-stream-id '\''2911dd56-c288-41a4-b6c9-542f61244f55'\'' \
--build '\''foundation.url.resolver.buildActiveLifetimePingTestSupport'\'' --build '\''foundation.url.resolver.buildActiveLifetimeQueuePublicationSupport'\'' --build '\''foundation.url.resolver.buildAutomaticAnnounceAddressesTestSupport'\'' --build '\''foundation.url.resolver.buildAutomaticLatePeerTestSupport'\'' --build '\''foundation.url.resolver.buildAutomaticRelayTestSupport'\'' --build '\''foundation.url.resolver.buildCloseDoesNotWaitForGossipDispatcherAdmissionTestSupport'\'' --build '\''foundation.url.resolver.buildCompletionBeforeSubmissionReturnsTestSupport'\'' --build '\''foundation.url.resolver.buildCrossedRelayEvictionTestSupport'\'' --build '\''foundation.url.resolver.buildCurrentMainCloseResourceLifecycleConstructorCompatibilityTestSupport'\'' --build '\''foundation.url.resolver.buildDefaultCloseReportsNonBindListenPortReservationFailureTestSupport'\'' --build '\''foundation.url.resolver.buildDuplicateSandboxAttemptCloseTestSupport'\'' --build '\''foundation.url.resolver.buildEagerJoinHostCreationTwoCarrierTestSupport'\'' --build '\''foundation.url.resolver.buildEagerJoinTwoCarrierTestSupport'\'' --build '\''foundation.url.resolver.buildExplicitAnnounceAddressesTestSupport'\'' --build '\''foundation.url.resolver.buildExplicitPublicIpKeepsEachResolverAddressesTestSupport'\'' --build '\''foundation.url.resolver.buildGossipRetryDeadlineExpiresBeforeTransportAdmissionTestSupport'\'' --build '\''foundation.url.resolver.buildGossipRetryDeadlineExpiresDuringRelayAdmissionTestSupport'\'' --build '\''foundation.url.resolver.buildLegacyCloseResourceLifecycleConstructorCompatibilityTestSupport'\'' --build '\''foundation.url.resolver.buildLegacyUrlProtocol2ConstructorCompatibilityTestSupport'\'' --build '\''foundation.url.resolver.buildMalformedPublicIpRelayTestSupport'\'' --build '\''foundation.url.resolver.buildMaven'\'' --build '\''foundation.url.resolver.buildNativePersistentReaderStartupFailureTestSupport'\'' --build '\''foundation.url.resolver.buildNewPeerRelayRefreshQueueTestSupport'\'' --build '\''foundation.url.resolver.buildOneCarrierSandboxRetirementTestSupport'\'' --build '\''foundation.url.resolver.buildPersistentReaderCarrierIsolationTestSupport'\'' --build '\''foundation.url.resolver.buildRelaySnapshotRetentionScaleTestSupport'\'' --build '\''foundation.url.resolver.buildRelayStartFailureTestSupport'\'' --build '\''foundation.url.resolver.buildRelayedBytecodeResponseParsedInPlaceCoversProductionHeapTestSupport'\'' --build '\''foundation.url.resolver.buildResolverCloseLateCandidateTestSupport'\'' --build '\''foundation.url.resolver.buildResolverCloseRootStartFailureTestSupport'\'' --build '\''foundation.url.resolver.buildSandboxCleanupOwnerStartupTestSupport'\'' --build '\''foundation.url.resolver.buildSandboxCleanupStartupCancellationTestSupport'\'' --build '\''foundation.url.resolver.buildScheduledPruneForwardingTestSupport'\'' --build '\''foundation.url.resolver.buildTimedDialWaitPoolTestSupport'\'' --build '\''foundation.url.resolver.buildWithdrawalRebroadcastTwoCarrierTestSupport'\'' --build-only --cache '\''/root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba/stage/.buildcache'\'' --test-parallelism 4 \
2>&1
else
/root/tools/coursier launch \
-M buildtest.runner.MainKt \
buildtest.runner:buildtest-runner:0.0.124 \
--no-default \
-r https://kotlin.directory \
-r central \
--java-opt -Xmx${HEAP_MB}m \
--java-opt -ea \
--java-opt -XX:+HeapDumpOnOutOfMemoryError \
--java-opt -XX:HeapDumpPath=/root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba/child-0/heapdump-oom.hprof \
-- \
-w /root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba/stage/projects \
--test '\''/root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba/stage/projects'\'' \
--log /root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba/child-0/test-results.xml \
--runner-stream-id '\''2911dd56-c288-41a4-b6c9-542f61244f55'\'' \
--build '\''foundation.url.resolver.buildActiveLifetimePingTestSupport'\'' --build '\''foundation.url.resolver.buildActiveLifetimeQueuePublicationSupport'\'' --build '\''foundation.url.resolver.buildAutomaticAnnounceAddressesTestSupport'\'' --build '\''foundation.url.resolver.buildAutomaticLatePeerTestSupport'\'' --build '\''foundation.url.resolver.buildAutomaticRelayTestSupport'\'' --build '\''foundation.url.resolver.buildCloseDoesNotWaitForGossipDispatcherAdmissionTestSupport'\'' --build '\''foundation.url.resolver.buildCompletionBeforeSubmissionReturnsTestSupport'\'' --build '\''foundation.url.resolver.buildCrossedRelayEvictionTestSupport'\'' --build '\''foundation.url.resolver.buildCurrentMainCloseResourceLifecycleConstructorCompatibilityTestSupport'\'' --build '\''foundation.url.resolver.buildDefaultCloseReportsNonBindListenPortReservationFailureTestSupport'\'' --build '\''foundation.url.resolver.buildDuplicateSandboxAttemptCloseTestSupport'\'' --build '\''foundation.url.resolver.buildEagerJoinHostCreationTwoCarrierTestSupport'\'' --build '\''foundation.url.resolver.buildEagerJoinTwoCarrierTestSupport'\'' --build '\''foundation.url.resolver.buildExplicitAnnounceAddressesTestSupport'\'' --build '\''foundation.url.resolver.buildExplicitPublicIpKeepsEachResolverAddressesTestSupport'\'' --build '\''foundation.url.resolver.buildGossipRetryDeadlineExpiresBeforeTransportAdmissionTestSupport'\'' --build '\''foundation.url.resolver.buildGossipRetryDeadlineExpiresDuringRelayAdmissionTestSupport'\'' --build '\''foundation.url.resolver.buildLegacyCloseResourceLifecycleConstructorCompatibilityTestSupport'\'' --build '\''foundation.url.resolver.buildLegacyUrlProtocol2ConstructorCompatibilityTestSupport'\'' --build '\''foundation.url.resolver.buildMalformedPublicIpRelayTestSupport'\'' --build '\''foundation.url.resolver.buildMaven'\'' --build '\''foundation.url.resolver.buildNativePersistentReaderStartupFailureTestSupport'\'' --build '\''foundation.url.resolver.buildNewPeerRelayRefreshQueueTestSupport'\'' --build '\''foundation.url.resolver.buildOneCarrierSandboxRetirementTestSupport'\'' --build '\''foundation.url.resolver.buildPersistentReaderCarrierIsolationTestSupport'\'' --build '\''foundation.url.resolver.buildRelaySnapshotRetentionScaleTestSupport'\'' --build '\''foundation.url.resolver.buildRelayStartFailureTestSupport'\'' --build '\''foundation.url.resolver.buildRelayedBytecodeResponseParsedInPlaceCoversProductionHeapTestSupport'\'' --build '\''foundation.url.resolver.buildResolverCloseLateCandidateTestSupport'\'' --build '\''foundation.url.resolver.buildResolverCloseRootStartFailureTestSupport'\'' --build '\''foundation.url.resolver.buildSandboxCleanupOwnerStartupTestSupport'\'' --build '\''foundation.url.resolver.buildSandboxCleanupStartupCancellationTestSupport'\'' --build '\''foundation.url.resolver.buildScheduledPruneForwardingTestSupport'\'' --build '\''foundation.url.resolver.buildTimedDialWaitPoolTestSupport'\'' --build '\''foundation.url.resolver.buildWithdrawalRebroadcastTwoCarrierTestSupport'\'' --build-only --cache '\''/root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba/stage/.buildcache'\'' --test-parallelism 4 \
2>&1
fi
_KOMPILE_EC=$?
echo $_KOMPILE_EC > /root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba/child-0/kompile-exit-code
) </dev/null >> '\''/root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba/child-0/btr-events.spool'\'' 2>&1 &
BTR_RUNNER_PID=$!
echo $BTR_RUNNER_PID > '\''/root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba/child-0/btr-runner.pid'\''
tail -n +1 -f '\''/root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba/child-0/btr-events.spool'\'' --pid=$BTR_RUNNER_PID 2>/dev/null
wait "$BTR_RUNNER_PID"
_BTR_EC=1
if [ -f '\''/root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba/child-0/kompile-exit-code'\'' ]; then
IFS= read -r _BTR_EC < '\''/root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba/child-0/kompile-exit-code'\'' || _BTR_EC=1
fi
exit ${_BTR_EC:-1}'' exceeded its unread output bound of 8388608 bytes: the consumer was 8388608 bytes behind; this channel's stream ended without closing its shared SSH session.; shard 3: ERROR: Shared workspace preparation failed. Elapsed: 794452ms. SSH channel running '# buildtest-shared-cache-preparation-child
setsid --wait bash -c ' set -e
child_root='\''/root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba/child-0'\''
preparation_root='\''/root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba'\''
pid_path='\''/root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba/child-0/.buildtest-preparation.pid'\''
cancel_path='\''/root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba/child-0/.buildtest-preparation.cancel'\''
child_pid="$BASHPID"
(
# Only the claim creates the generation root; a fenced child must not recreate it.
: # An old owner may not recreate a removed root.
exec 9>>'\''/root/.buildtest-shared-cache-publication.lock'\''
if ! flock 9; then
echo '\''The remote root '\''\'\'''\''/root'\''\'\'''\'' is publishing or recovering a shared-cache generation.'\'' >&2
exit 75
fi
if [ ! -d '\''/root/.buildtest-shared-cache-owner/c42b1c75f9c74e188d4659e891955bba'\'' ]; then
echo '\''Shared-cache preparation '\''\'\'''\''c42b1c75f9c74e188d4659e891955bba'\''\'\'''\'' no longer owns remote root '\''\'\'''\''/root'\''\'\'''\''; recovery fenced this generation.'\'' >&2
exit 75
fi
if [ ! -d "$preparation_root" ]; then
echo '\''Shared-cache preparation '\''\'\'''\''c42b1c75f9c74e188d4659e891955bba'\''\'\'''\'' no longer owns remote root '\''\'\'''\''/root'\''\'\'''\''; recovery fenced this generation.'\'' >&2
exit 75
fi
exec 8>>"$preparation_root/control.lock"
flock 8
if [ -e "$preparation_root/canceled" ] || [ -e "$cancel_path" ]; then exit 143; fi
mkdir -p "$child_root"
echo "$child_pid" > "$pid_path"
)
(
: # An old owner may not recreate a removed root.
exec 9>>'\''/root/.buildtest-shared-cache-publication.lock'\''
if ! flock 9; then
echo '\''The remote root '\''\'\'''\''/root'\''\'\'''\'' is publishing or recovering a shared-cache generation.'\'' >&2
exit 75
fi
if [ ! -d '\''/root/.buildtest-shared-cache-owner/c42b1c75f9c74e188d4659e891955bba'\'' ]; then
echo '\''Shared-cache preparation '\''\'\'''\''c42b1c75f9c74e188d4659e891955bba'\''\'\'''\'' no longer owns remote root '\''\'\'''\''/root'\''\'\'''\''; recovery fenced this generation.'\'' >&2
exit 75
fi
if [ -e "$cancel_path" ] || [ -e "$preparation_root/canceled" ]; then exit 143; fi
mkdir -p "$child_root/home"
)
# The setup subshell releases the root lock before any runner or callback executes.
# Keep the session marker until coordinator cleanup. Foreground exit does not
# terminate the background runner or release its workspace ownership.
if [ -e "$cancel_path" ]; then exit 143; fi
# The runner arguments intentionally use paths rooted at [remoteRoot]. Keep the
# command'\''s established remote-root working directory here; changing into child_root
# would make a relative test root (used by the real SSH test seam) resolve again below
# that child and would point the runner at a second, nonexistent copy of its files.
cd '\''/root'\''
export HOME="$child_root/home"
export XDG_CACHE_HOME='\''/root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba/stage/.cache'\''
export COURSIER_CACHE='\''/root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba/stage/.cache/coursier'\''
export COURSIER_CACHE_DIR='\''/root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba/stage/.cache/coursier'\''
rm -f '\''/root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba/child-0/btr-events.spool'\'' '\''/root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba/child-0/kompile-exit-code'\'' '\''/root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba/child-0/btr-runner.pid'\''
: > '\''/root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba/child-0/btr-events.spool'\''
(
trap '\'''\'' HUP
BTR_RUNNER_PID=$BASHPID
echo $BTR_RUNNER_PID > '\''/root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba/child-0/btr-runner.pid.starting'\''
mv '\''/root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba/child-0/btr-runner.pid.starting'\'' '\''/root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba/child-0/btr-runner.pid'\''
printf '\''##BTR## {"event":"runner_process_started","runnerStreamId":"2911dd56-c288-41a4-b6c9-542f61244f55","timestamp":%s,"processId":%s}\n'\'' "1793298291159" "$BTR_RUNNER_PID"
TOTAL_MEM_KB=$(grep MemTotal /proc/meminfo | awk '\''{print $2}'\'')
HEAP_MB=$((TOTAL_MEM_KB / 1024 / 2))
if [ "$HEAP_MB" -gt 1024 ]; then HEAP_MB=1024; fi
echo "System memory: $((TOTAL_MEM_KB / 1024))MB, JVM heap: ${HEAP_MB}MB"
if [ -f '\''/root/.buildtest-no-cache-preparation-override.jar'\'' ]; then
echo "Using kompile-cli override JAR: /root/.buildtest-no-cache-preparation-override.jar"
java \
-Xmx${HEAP_MB}m \
-ea \
-XX:+HeapDumpOnOutOfMemoryError \
-XX:HeapDumpPath=/root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba/child-0/heapdump-oom.hprof \
-jar '\''/root/.buildtest-no-cache-preparation-override.jar'\'' \
-w /root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba/stage/projects \
--test '\''/root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba/stage/projects'\'' \
--log /root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba/child-0/test-results.xml \
--runner-stream-id '\''2911dd56-c288-41a4-b6c9-542f61244f55'\'' \
--build '\''foundation.url.resolver.buildActiveLifetimePingTestSupport'\'' --build '\''foundation.url.resolver.buildActiveLifetimeQueuePublicationSupport'\'' --build '\''foundation.url.resolver.buildAutomaticAnnounceAddressesTestSupport'\'' --build '\''foundation.url.resolver.buildAutomaticLatePeerTestSupport'\'' --build '\''foundation.url.resolver.buildAutomaticRelayTestSupport'\'' --build '\''foundation.url.resolver.buildCloseDoesNotWaitForGossipDispatcherAdmissionTestSupport'\'' --build '\''foundation.url.resolver.buildCompletionBeforeSubmissionReturnsTestSupport'\'' --build '\''foundation.url.resolver.buildCrossedRelayEvictionTestSupport'\'' --build '\''foundation.url.resolver.buildCurrentMainCloseResourceLifecycleConstructorCompatibilityTestSupport'\'' --build '\''foundation.url.resolver.buildDefaultCloseReportsNonBindListenPortReservationFailureTestSupport'\'' --build '\''foundation.url.resolver.buildDuplicateSandboxAttemptCloseTestSupport'\'' --build '\''foundation.url.resolver.buildEagerJoinHostCreationTwoCarrierTestSupport'\'' --build '\''foundation.url.resolver.buildEagerJoinTwoCarrierTestSupport'\'' --build '\''foundation.url.resolver.buildExplicitAnnounceAddressesTestSupport'\'' --build '\''foundation.url.resolver.buildExplicitPublicIpKeepsEachResolverAddressesTestSupport'\'' --build '\''foundation.url.resolver.buildGossipRetryDeadlineExpiresBeforeTransportAdmissionTestSupport'\'' --build '\''foundation.url.resolver.buildGossipRetryDeadlineExpiresDuringRelayAdmissionTestSupport'\'' --build '\''foundation.url.resolver.buildLegacyCloseResourceLifecycleConstructorCompatibilityTestSupport'\'' --build '\''foundation.url.resolver.buildLegacyUrlProtocol2ConstructorCompatibilityTestSupport'\'' --build '\''foundation.url.resolver.buildMalformedPublicIpRelayTestSupport'\'' --build '\''foundation.url.resolver.buildMaven'\'' --build '\''foundation.url.resolver.buildNativePersistentReaderStartupFailureTestSupport'\'' --build '\''foundation.url.resolver.buildNewPeerRelayRefreshQueueTestSupport'\'' --build '\''foundation.url.resolver.buildOneCarrierSandboxRetirementTestSupport'\'' --build '\''foundation.url.resolver.buildPersistentReaderCarrierIsolationTestSupport'\'' --build '\''foundation.url.resolver.buildRelaySnapshotRetentionScaleTestSupport'\'' --build '\''foundation.url.resolver.buildRelayStartFailureTestSupport'\'' --build '\''foundation.url.resolver.buildRelayedBytecodeResponseParsedInPlaceCoversProductionHeapTestSupport'\'' --build '\''foundation.url.resolver.buildResolverCloseLateCandidateTestSupport'\'' --build '\''foundation.url.resolver.buildResolverCloseRootStartFailureTestSupport'\'' --build '\''foundation.url.resolver.buildSandboxCleanupOwnerStartupTestSupport'\'' --build '\''foundation.url.resolver.buildSandboxCleanupStartupCancellationTestSupport'\'' --build '\''foundation.url.resolver.buildScheduledPruneForwardingTestSupport'\'' --build '\''foundation.url.resolver.buildTimedDialWaitPoolTestSupport'\'' --build '\''foundation.url.resolver.buildWithdrawalRebroadcastTwoCarrierTestSupport'\'' --build-only --cache '\''/root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba/stage/.buildcache'\'' --test-parallelism 4 \
2>&1
else
/root/tools/coursier launch \
-M buildtest.runner.MainKt \
buildtest.runner:buildtest-runner:0.0.124 \
--no-default \
-r https://kotlin.directory \
-r central \
--java-opt -Xmx${HEAP_MB}m \
--java-opt -ea \
--java-opt -XX:+HeapDumpOnOutOfMemoryError \
--java-opt -XX:HeapDumpPath=/root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba/child-0/heapdump-oom.hprof \
-- \
-w /root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba/stage/projects \
--test '\''/root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba/stage/projects'\'' \
--log /root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba/child-0/test-results.xml \
--runner-stream-id '\''2911dd56-c288-41a4-b6c9-542f61244f55'\'' \
--build '\''foundation.url.resolver.buildActiveLifetimePingTestSupport'\'' --build '\''foundation.url.resolver.buildActiveLifetimeQueuePublicationSupport'\'' --build '\''foundation.url.resolver.buildAutomaticAnnounceAddressesTestSupport'\'' --build '\''foundation.url.resolver.buildAutomaticLatePeerTestSupport'\'' --build '\''foundation.url.resolver.buildAutomaticRelayTestSupport'\'' --build '\''foundation.url.resolver.buildCloseDoesNotWaitForGossipDispatcherAdmissionTestSupport'\'' --build '\''foundation.url.resolver.buildCompletionBeforeSubmissionReturnsTestSupport'\'' --build '\''foundation.url.resolver.buildCrossedRelayEvictionTestSupport'\'' --build '\''foundation.url.resolver.buildCurrentMainCloseResourceLifecycleConstructorCompatibilityTestSupport'\'' --build '\''foundation.url.resolver.buildDefaultCloseReportsNonBindListenPortReservationFailureTestSupport'\'' --build '\''foundation.url.resolver.buildDuplicateSandboxAttemptCloseTestSupport'\'' --build '\''foundation.url.resolver.buildEagerJoinHostCreationTwoCarrierTestSupport'\'' --build '\''foundation.url.resolver.buildEagerJoinTwoCarrierTestSupport'\'' --build '\''foundation.url.resolver.buildExplicitAnnounceAddressesTestSupport'\'' --build '\''foundation.url.resolver.buildExplicitPublicIpKeepsEachResolverAddressesTestSupport'\'' --build '\''foundation.url.resolver.buildGossipRetryDeadlineExpiresBeforeTransportAdmissionTestSupport'\'' --build '\''foundation.url.resolver.buildGossipRetryDeadlineExpiresDuringRelayAdmissionTestSupport'\'' --build '\''foundation.url.resolver.buildLegacyCloseResourceLifecycleConstructorCompatibilityTestSupport'\'' --build '\''foundation.url.resolver.buildLegacyUrlProtocol2ConstructorCompatibilityTestSupport'\'' --build '\''foundation.url.resolver.buildMalformedPublicIpRelayTestSupport'\'' --build '\''foundation.url.resolver.buildMaven'\'' --build '\''foundation.url.resolver.buildNativePersistentReaderStartupFailureTestSupport'\'' --build '\''foundation.url.resolver.buildNewPeerRelayRefreshQueueTestSupport'\'' --build '\''foundation.url.resolver.buildOneCarrierSandboxRetirementTestSupport'\'' --build '\''foundation.url.resolver.buildPersistentReaderCarrierIsolationTestSupport'\'' --build '\''foundation.url.resolver.buildRelaySnapshotRetentionScaleTestSupport'\'' --build '\''foundation.url.resolver.buildRelayStartFailureTestSupport'\'' --build '\''foundation.url.resolver.buildRelayedBytecodeResponseParsedInPlaceCoversProductionHeapTestSupport'\'' --build '\''foundation.url.resolver.buildResolverCloseLateCandidateTestSupport'\'' --build '\''foundation.url.resolver.buildResolverCloseRootStartFailureTestSupport'\'' --build '\''foundation.url.resolver.buildSandboxCleanupOwnerStartupTestSupport'\'' --build '\''foundation.url.resolver.buildSandboxCleanupStartupCancellationTestSupport'\'' --build '\''foundation.url.resolver.buildScheduledPruneForwardingTestSupport'\'' --build '\''foundation.url.resolver.buildTimedDialWaitPoolTestSupport'\'' --build '\''foundation.url.resolver.buildWithdrawalRebroadcastTwoCarrierTestSupport'\'' --build-only --cache '\''/root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba/stage/.buildcache'\'' --test-parallelism 4 \
2>&1
fi
_KOMPILE_EC=$?
echo $_KOMPILE_EC > /root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba/child-0/kompile-exit-code
) </dev/null >> '\''/root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba/child-0/btr-events.spool'\'' 2>&1 &
BTR_RUNNER_PID=$!
echo $BTR_RUNNER_PID > '\''/root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba/child-0/btr-runner.pid'\''
tail -n +1 -f '\''/root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba/child-0/btr-events.spool'\'' --pid=$BTR_RUNNER_PID 2>/dev/null
wait "$BTR_RUNNER_PID"
_BTR_EC=1
if [ -f '\''/root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba/child-0/kompile-exit-code'\'' ]; then
IFS= read -r _BTR_EC < '\''/root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba/child-0/kompile-exit-code'\'' || _BTR_EC=1
fi
exit ${_BTR_EC:-1}'' exceeded its unread output bound of 8388608 bytes: the consumer was 8388608 bytes behind; this channel's stream ended without closing its shared SSH session.; shard 4: ERROR: Shared workspace preparation failed. Elapsed: 794452ms. SSH channel running '# buildtest-shared-cache-preparation-child
setsid --wait bash -c ' set -e
child_root='\''/root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba/child-0'\''
preparation_root='\''/root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba'\''
pid_path='\''/root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba/child-0/.buildtest-preparation.pid'\''
cancel_path='\''/root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba/child-0/.buildtest-preparation.cancel'\''
child_pid="$BASHPID"
(
# Only the claim creates the generation root; a fenced child must not recreate it.
: # An old owner may not recreate a removed root.
exec 9>>'\''/root/.buildtest-shared-cache-publication.lock'\''
if ! flock 9; then
echo '\''The remote root '\''\'\'''\''/root'\''\'\'''\'' is publishing or recovering a shared-cache generation.'\'' >&2
exit 75
fi
if [ ! -d '\''/root/.buildtest-shared-cache-owner/c42b1c75f9c74e188d4659e891955bba'\'' ]; then
echo '\''Shared-cache preparation '\''\'\'''\''c42b1c75f9c74e188d4659e891955bba'\''\'\'''\'' no longer owns remote root '\''\'\'''\''/root'\''\'\'''\''; recovery fenced this generation.'\'' >&2
exit 75
fi
if [ ! -d "$preparation_root" ]; then
echo '\''Shared-cache preparation '\''\'\'''\''c42b1c75f9c74e188d4659e891955bba'\''\'\'''\'' no longer owns remote root '\''\'\'''\''/root'\''\'\'''\''; recovery fenced this generation.'\'' >&2
exit 75
fi
exec 8>>"$preparation_root/control.lock"
flock 8
if [ -e "$preparation_root/canceled" ] || [ -e "$cancel_path" ]; then exit 143; fi
mkdir -p "$child_root"
echo "$child_pid" > "$pid_path"
)
(
: # An old owner may not recreate a removed root.
exec 9>>'\''/root/.buildtest-shared-cache-publication.lock'\''
if ! flock 9; then
echo '\''The remote root '\''\'\'''\''/root'\''\'\'''\'' is publishing or recovering a shared-cache generation.'\'' >&2
exit 75
fi
if [ ! -d '\''/root/.buildtest-shared-cache-owner/c42b1c75f9c74e188d4659e891955bba'\'' ]; then
echo '\''Shared-cache preparation '\''\'\'''\''c42b1c75f9c74e188d4659e891955bba'\''\'\'''\'' no longer owns remote root '\''\'\'''\''/root'\''\'\'''\''; recovery fenced this generation.'\'' >&2
exit 75
fi
if [ -e "$cancel_path" ] || [ -e "$preparation_root/canceled" ]; then exit 143; fi
mkdir -p "$child_root/home"
)
# The setup subshell releases the root lock before any runner or callback executes.
# Keep the session marker until coordinator cleanup. Foreground exit does not
# terminate the background runner or release its workspace ownership.
if [ -e "$cancel_path" ]; then exit 143; fi
# The runner arguments intentionally use paths rooted at [remoteRoot]. Keep the
# command'\''s established remote-root working directory here; changing into child_root
# would make a relative test root (used by the real SSH test seam) resolve again below
# that child and would point the runner at a second, nonexistent copy of its files.
cd '\''/root'\''
export HOME="$child_root/home"
export XDG_CACHE_HOME='\''/root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba/stage/.cache'\''
export COURSIER_CACHE='\''/root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba/stage/.cache/coursier'\''
export COURSIER_CACHE_DIR='\''/root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba/stage/.cache/coursier'\''
rm -f '\''/root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba/child-0/btr-events.spool'\'' '\''/root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba/child-0/kompile-exit-code'\'' '\''/root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba/child-0/btr-runner.pid'\''
: > '\''/root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba/child-0/btr-events.spool'\''
(
trap '\'''\'' HUP
BTR_RUNNER_PID=$BASHPID
echo $BTR_RUNNER_PID > '\''/root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba/child-0/btr-runner.pid.starting'\''
mv '\''/root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba/child-0/btr-runner.pid.starting'\'' '\''/root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba/child-0/btr-runner.pid'\''
printf '\''##BTR## {"event":"runner_process_started","runnerStreamId":"2911dd56-c288-41a4-b6c9-542f61244f55","timestamp":%s,"processId":%s}\n'\'' "1793298291159" "$BTR_RUNNER_PID"
TOTAL_MEM_KB=$(grep MemTotal /proc/meminfo | awk '\''{print $2}'\'')
HEAP_MB=$((TOTAL_MEM_KB / 1024 / 2))
if [ "$HEAP_MB" -gt 1024 ]; then HEAP_MB=1024; fi
echo "System memory: $((TOTAL_MEM_KB / 1024))MB, JVM heap: ${HEAP_MB}MB"
if [ -f '\''/root/.buildtest-no-cache-preparation-override.jar'\'' ]; then
echo "Using kompile-cli override JAR: /root/.buildtest-no-cache-preparation-override.jar"
java \
-Xmx${HEAP_MB}m \
-ea \
-XX:+HeapDumpOnOutOfMemoryError \
-XX:HeapDumpPath=/root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba/child-0/heapdump-oom.hprof \
-jar '\''/root/.buildtest-no-cache-preparation-override.jar'\'' \
-w /root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba/stage/projects \
--test '\''/root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba/stage/projects'\'' \
--log /root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba/child-0/test-results.xml \
--runner-stream-id '\''2911dd56-c288-41a4-b6c9-542f61244f55'\'' \
--build '\''foundation.url.resolver.buildActiveLifetimePingTestSupport'\'' --build '\''foundation.url.resolver.buildActiveLifetimeQueuePublicationSupport'\'' --build '\''foundation.url.resolver.buildAutomaticAnnounceAddressesTestSupport'\'' --build '\''foundation.url.resolver.buildAutomaticLatePeerTestSupport'\'' --build '\''foundation.url.resolver.buildAutomaticRelayTestSupport'\'' --build '\''foundation.url.resolver.buildCloseDoesNotWaitForGossipDispatcherAdmissionTestSupport'\'' --build '\''foundation.url.resolver.buildCompletionBeforeSubmissionReturnsTestSupport'\'' --build '\''foundation.url.resolver.buildCrossedRelayEvictionTestSupport'\'' --build '\''foundation.url.resolver.buildCurrentMainCloseResourceLifecycleConstructorCompatibilityTestSupport'\'' --build '\''foundation.url.resolver.buildDefaultCloseReportsNonBindListenPortReservationFailureTestSupport'\'' --build '\''foundation.url.resolver.buildDuplicateSandboxAttemptCloseTestSupport'\'' --build '\''foundation.url.resolver.buildEagerJoinHostCreationTwoCarrierTestSupport'\'' --build '\''foundation.url.resolver.buildEagerJoinTwoCarrierTestSupport'\'' --build '\''foundation.url.resolver.buildExplicitAnnounceAddressesTestSupport'\'' --build '\''foundation.url.resolver.buildExplicitPublicIpKeepsEachResolverAddressesTestSupport'\'' --build '\''foundation.url.resolver.buildGossipRetryDeadlineExpiresBeforeTransportAdmissionTestSupport'\'' --build '\''foundation.url.resolver.buildGossipRetryDeadlineExpiresDuringRelayAdmissionTestSupport'\'' --build '\''foundation.url.resolver.buildLegacyCloseResourceLifecycleConstructorCompatibilityTestSupport'\'' --build '\''foundation.url.resolver.buildLegacyUrlProtocol2ConstructorCompatibilityTestSupport'\'' --build '\''foundation.url.resolver.buildMalformedPublicIpRelayTestSupport'\'' --build '\''foundation.url.resolver.buildMaven'\'' --build '\''foundation.url.resolver.buildNativePersistentReaderStartupFailureTestSupport'\'' --build '\''foundation.url.resolver.buildNewPeerRelayRefreshQueueTestSupport'\'' --build '\''foundation.url.resolver.buildOneCarrierSandboxRetirementTestSupport'\'' --build '\''foundation.url.resolver.buildPersistentReaderCarrierIsolationTestSupport'\'' --build '\''foundation.url.resolver.buildRelaySnapshotRetentionScaleTestSupport'\'' --build '\''foundation.url.resolver.buildRelayStartFailureTestSupport'\'' --build '\''foundation.url.resolver.buildRelayedBytecodeResponseParsedInPlaceCoversProductionHeapTestSupport'\'' --build '\''foundation.url.resolver.buildResolverCloseLateCandidateTestSupport'\'' --build '\''foundation.url.resolver.buildResolverCloseRootStartFailureTestSupport'\'' --build '\''foundation.url.resolver.buildSandboxCleanupOwnerStartupTestSupport'\'' --build '\''foundation.url.resolver.buildSandboxCleanupStartupCancellationTestSupport'\'' --build '\''foundation.url.resolver.buildScheduledPruneForwardingTestSupport'\'' --build '\''foundation.url.resolver.buildTimedDialWaitPoolTestSupport'\'' --build '\''foundation.url.resolver.buildWithdrawalRebroadcastTwoCarrierTestSupport'\'' --build-only --cache '\''/root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba/stage/.buildcache'\'' --test-parallelism 4 \
2>&1
else
/root/tools/coursier launch \
-M buildtest.runner.MainKt \
buildtest.runner:buildtest-runner:0.0.124 \
--no-default \
-r https://kotlin.directory \
-r central \
--java-opt -Xmx${HEAP_MB}m \
--java-opt -ea \
--java-opt -XX:+HeapDumpOnOutOfMemoryError \
--java-opt -XX:HeapDumpPath=/root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba/child-0/heapdump-oom.hprof \
-- \
-w /root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba/stage/projects \
--test '\''/root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba/stage/projects'\'' \
--log /root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba/child-0/test-results.xml \
--runner-stream-id '\''2911dd56-c288-41a4-b6c9-542f61244f55'\'' \
--build '\''foundation.url.resolver.buildActiveLifetimePingTestSupport'\'' --build '\''foundation.url.resolver.buildActiveLifetimeQueuePublicationSupport'\'' --build '\''foundation.url.resolver.buildAutomaticAnnounceAddressesTestSupport'\'' --build '\''foundation.url.resolver.buildAutomaticLatePeerTestSupport'\'' --build '\''foundation.url.resolver.buildAutomaticRelayTestSupport'\'' --build '\''foundation.url.resolver.buildCloseDoesNotWaitForGossipDispatcherAdmissionTestSupport'\'' --build '\''foundation.url.resolver.buildCompletionBeforeSubmissionReturnsTestSupport'\'' --build '\''foundation.url.resolver.buildCrossedRelayEvictionTestSupport'\'' --build '\''foundation.url.resolver.buildCurrentMainCloseResourceLifecycleConstructorCompatibilityTestSupport'\'' --build '\''foundation.url.resolver.buildDefaultCloseReportsNonBindListenPortReservationFailureTestSupport'\'' --build '\''foundation.url.resolver.buildDuplicateSandboxAttemptCloseTestSupport'\'' --build '\''foundation.url.resolver.buildEagerJoinHostCreationTwoCarrierTestSupport'\'' --build '\''foundation.url.resolver.buildEagerJoinTwoCarrierTestSupport'\'' --build '\''foundation.url.resolver.buildExplicitAnnounceAddressesTestSupport'\'' --build '\''foundation.url.resolver.buildExplicitPublicIpKeepsEachResolverAddressesTestSupport'\'' --build '\''foundation.url.resolver.buildGossipRetryDeadlineExpiresBeforeTransportAdmissionTestSupport'\'' --build '\''foundation.url.resolver.buildGossipRetryDeadlineExpiresDuringRelayAdmissionTestSupport'\'' --build '\''foundation.url.resolver.buildLegacyCloseResourceLifecycleConstructorCompatibilityTestSupport'\'' --build '\''foundation.url.resolver.buildLegacyUrlProtocol2ConstructorCompatibilityTestSupport'\'' --build '\''foundation.url.resolver.buildMalformedPublicIpRelayTestSupport'\'' --build '\''foundation.url.resolver.buildMaven'\'' --build '\''foundation.url.resolver.buildNativePersistentReaderStartupFailureTestSupport'\'' --build '\''foundation.url.resolver.buildNewPeerRelayRefreshQueueTestSupport'\'' --build '\''foundation.url.resolver.buildOneCarrierSandboxRetirementTestSupport'\'' --build '\''foundation.url.resolver.buildPersistentReaderCarrierIsolationTestSupport'\'' --build '\''foundation.url.resolver.buildRelaySnapshotRetentionScaleTestSupport'\'' --build '\''foundation.url.resolver.buildRelayStartFailureTestSupport'\'' --build '\''foundation.url.resolver.buildRelayedBytecodeResponseParsedInPlaceCoversProductionHeapTestSupport'\'' --build '\''foundation.url.resolver.buildResolverCloseLateCandidateTestSupport'\'' --build '\''foundation.url.resolver.buildResolverCloseRootStartFailureTestSupport'\'' --build '\''foundation.url.resolver.buildSandboxCleanupOwnerStartupTestSupport'\'' --build '\''foundation.url.resolver.buildSandboxCleanupStartupCancellationTestSupport'\'' --build '\''foundation.url.resolver.buildScheduledPruneForwardingTestSupport'\'' --build '\''foundation.url.resolver.buildTimedDialWaitPoolTestSupport'\'' --build '\''foundation.url.resolver.buildWithdrawalRebroadcastTwoCarrierTestSupport'\'' --build-only --cache '\''/root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba/stage/.buildcache'\'' --test-parallelism 4 \
2>&1
fi
_KOMPILE_EC=$?
echo $_KOMPILE_EC > /root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba/child-0/kompile-exit-code
) </dev/null >> '\''/root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba/child-0/btr-events.spool'\'' 2>&1 &
BTR_RUNNER_PID=$!
echo $BTR_RUNNER_PID > '\''/root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba/child-0/btr-runner.pid'\''
tail -n +1 -f '\''/root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba/child-0/btr-events.spool'\'' --pid=$BTR_RUNNER_PID 2>/dev/null
wait "$BTR_RUNNER_PID"
_BTR_EC=1
if [ -f '\''/root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba/child-0/kompile-exit-code'\'' ]; then
IFS= read -r _BTR_EC < '\''/root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba/child-0/kompile-exit-code'\'' || _BTR_EC=1
fi
exit ${_BTR_EC:-1}'' exceeded its unread output bound of 8388608 bytes: the consumer was 8388608 bytes behind; this channel's stream ended without closing its shared SSH session.; shard 5: ERROR: Shared workspace preparation failed. Elapsed: 794452ms. SSH channel running '# buildtest-shared-cache-preparation-child
setsid --wait bash -c ' set -e
child_root='\''/root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba/child-0'\''
preparation_root='\''/root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba'\''
pid_path='\''/root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba/child-0/.buildtest-preparation.pid'\''
cancel_path='\''/root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba/child-0/.buildtest-preparation.cancel'\''
child_pid="$BASHPID"
(
# Only the claim creates the generation root; a fenced child must not recreate it.
: # An old owner may not recreate a removed root.
exec 9>>'\''/root/.buildtest-shared-cache-publication.lock'\''
if ! flock 9; then
echo '\''The remote root '\''\'\'''\''/root'\''\'\'''\'' is publishing or recovering a shared-cache generation.'\'' >&2
exit 75
fi
if [ ! -d '\''/root/.buildtest-shared-cache-owner/c42b1c75f9c74e188d4659e891955bba'\'' ]; then
echo '\''Shared-cache preparation '\''\'\'''\''c42b1c75f9c74e188d4659e891955bba'\''\'\'''\'' no longer owns remote root '\''\'\'''\''/root'\''\'\'''\''; recovery fenced this generation.'\'' >&2
exit 75
fi
if [ ! -d "$preparation_root" ]; then
echo '\''Shared-cache preparation '\''\'\'''\''c42b1c75f9c74e188d4659e891955bba'\''\'\'''\'' no longer owns remote root '\''\'\'''\''/root'\''\'\'''\''; recovery fenced this generation.'\'' >&2
exit 75
fi
exec 8>>"$preparation_root/control.lock"
flock 8
if [ -e "$preparation_root/canceled" ] || [ -e "$cancel_path" ]; then exit 143; fi
mkdir -p "$child_root"
echo "$child_pid" > "$pid_path"
)
(
: # An old owner may not recreate a removed root.
exec 9>>'\''/root/.buildtest-shared-cache-publication.lock'\''
if ! flock 9; then
echo '\''The remote root '\''\'\'''\''/root'\''\'\'''\'' is publishing or recovering a shared-cache generation.'\'' >&2
exit 75
fi
if [ ! -d '\''/root/.buildtest-shared-cache-owner/c42b1c75f9c74e188d4659e891955bba'\'' ]; then
echo '\''Shared-cache preparation '\''\'\'''\''c42b1c75f9c74e188d4659e891955bba'\''\'\'''\'' no longer owns remote root '\''\'\'''\''/root'\''\'\'''\''; recovery fenced this generation.'\'' >&2
exit 75
fi
if [ -e "$cancel_path" ] || [ -e "$preparation_root/canceled" ]; then exit 143; fi
mkdir -p "$child_root/home"
)
# The setup subshell releases the root lock before any runner or callback executes.
# Keep the session marker until coordinator cleanup. Foreground exit does not
# terminate the background runner or release its workspace ownership.
if [ -e "$cancel_path" ]; then exit 143; fi
# The runner arguments intentionally use paths rooted at [remoteRoot]. Keep the
# command'\''s established remote-root working directory here; changing into child_root
# would make a relative test root (used by the real SSH test seam) resolve again below
# that child and would point the runner at a second, nonexistent copy of its files.
cd '\''/root'\''
export HOME="$child_root/home"
export XDG_CACHE_HOME='\''/root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba/stage/.cache'\''
export COURSIER_CACHE='\''/root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba/stage/.cache/coursier'\''
export COURSIER_CACHE_DIR='\''/root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba/stage/.cache/coursier'\''
rm -f '\''/root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba/child-0/btr-events.spool'\'' '\''/root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba/child-0/kompile-exit-code'\'' '\''/root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba/child-0/btr-runner.pid'\''
: > '\''/root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba/child-0/btr-events.spool'\''
(
trap '\'''\'' HUP
BTR_RUNNER_PID=$BASHPID
echo $BTR_RUNNER_PID > '\''/root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba/child-0/btr-runner.pid.starting'\''
mv '\''/root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba/child-0/btr-runner.pid.starting'\'' '\''/root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba/child-0/btr-runner.pid'\''
printf '\''##BTR## {"event":"runner_process_started","runnerStreamId":"2911dd56-c288-41a4-b6c9-542f61244f55","timestamp":%s,"processId":%s}\n'\'' "1793298291159" "$BTR_RUNNER_PID"
TOTAL_MEM_KB=$(grep MemTotal /proc/meminfo | awk '\''{print $2}'\'')
HEAP_MB=$((TOTAL_MEM_KB / 1024 / 2))
if [ "$HEAP_MB" -gt 1024 ]; then HEAP_MB=1024; fi
echo "System memory: $((TOTAL_MEM_KB / 1024))MB, JVM heap: ${HEAP_MB}MB"
if [ -f '\''/root/.buildtest-no-cache-preparation-override.jar'\'' ]; then
echo "Using kompile-cli override JAR: /root/.buildtest-no-cache-preparation-override.jar"
java \
-Xmx${HEAP_MB}m \
-ea \
-XX:+HeapDumpOnOutOfMemoryError \
-XX:HeapDumpPath=/root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba/child-0/heapdump-oom.hprof \
-jar '\''/root/.buildtest-no-cache-preparation-override.jar'\'' \
-w /root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba/stage/projects \
--test '\''/root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba/stage/projects'\'' \
--log /root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba/child-0/test-results.xml \
--runner-stream-id '\''2911dd56-c288-41a4-b6c9-542f61244f55'\'' \
--build '\''foundation.url.resolver.buildActiveLifetimePingTestSupport'\'' --build '\''foundation.url.resolver.buildActiveLifetimeQueuePublicationSupport'\'' --build '\''foundation.url.resolver.buildAutomaticAnnounceAddressesTestSupport'\'' --build '\''foundation.url.resolver.buildAutomaticLatePeerTestSupport'\'' --build '\''foundation.url.resolver.buildAutomaticRelayTestSupport'\'' --build '\''foundation.url.resolver.buildCloseDoesNotWaitForGossipDispatcherAdmissionTestSupport'\'' --build '\''foundation.url.resolver.buildCompletionBeforeSubmissionReturnsTestSupport'\'' --build '\''foundation.url.resolver.buildCrossedRelayEvictionTestSupport'\'' --build '\''foundation.url.resolver.buildCurrentMainCloseResourceLifecycleConstructorCompatibilityTestSupport'\'' --build '\''foundation.url.resolver.buildDefaultCloseReportsNonBindListenPortReservationFailureTestSupport'\'' --build '\''foundation.url.resolver.buildDuplicateSandboxAttemptCloseTestSupport'\'' --build '\''foundation.url.resolver.buildEagerJoinHostCreationTwoCarrierTestSupport'\'' --build '\''foundation.url.resolver.buildEagerJoinTwoCarrierTestSupport'\'' --build '\''foundation.url.resolver.buildExplicitAnnounceAddressesTestSupport'\'' --build '\''foundation.url.resolver.buildExplicitPublicIpKeepsEachResolverAddressesTestSupport'\'' --build '\''foundation.url.resolver.buildGossipRetryDeadlineExpiresBeforeTransportAdmissionTestSupport'\'' --build '\''foundation.url.resolver.buildGossipRetryDeadlineExpiresDuringRelayAdmissionTestSupport'\'' --build '\''foundation.url.resolver.buildLegacyCloseResourceLifecycleConstructorCompatibilityTestSupport'\'' --build '\''foundation.url.resolver.buildLegacyUrlProtocol2ConstructorCompatibilityTestSupport'\'' --build '\''foundation.url.resolver.buildMalformedPublicIpRelayTestSupport'\'' --build '\''foundation.url.resolver.buildMaven'\'' --build '\''foundation.url.resolver.buildNativePersistentReaderStartupFailureTestSupport'\'' --build '\''foundation.url.resolver.buildNewPeerRelayRefreshQueueTestSupport'\'' --build '\''foundation.url.resolver.buildOneCarrierSandboxRetirementTestSupport'\'' --build '\''foundation.url.resolver.buildPersistentReaderCarrierIsolationTestSupport'\'' --build '\''foundation.url.resolver.buildRelaySnapshotRetentionScaleTestSupport'\'' --build '\''foundation.url.resolver.buildRelayStartFailureTestSupport'\'' --build '\''foundation.url.resolver.buildRelayedBytecodeResponseParsedInPlaceCoversProductionHeapTestSupport'\'' --build '\''foundation.url.resolver.buildResolverCloseLateCandidateTestSupport'\'' --build '\''foundation.url.resolver.buildResolverCloseRootStartFailureTestSupport'\'' --build '\''foundation.url.resolver.buildSandboxCleanupOwnerStartupTestSupport'\'' --build '\''foundation.url.resolver.buildSandboxCleanupStartupCancellationTestSupport'\'' --build '\''foundation.url.resolver.buildScheduledPruneForwardingTestSupport'\'' --build '\''foundation.url.resolver.buildTimedDialWaitPoolTestSupport'\'' --build '\''foundation.url.resolver.buildWithdrawalRebroadcastTwoCarrierTestSupport'\'' --build-only --cache '\''/root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba/stage/.buildcache'\'' --test-parallelism 4 \
2>&1
else
/root/tools/coursier launch \
-M buildtest.runner.MainKt \
buildtest.runner:buildtest-runner:0.0.124 \
--no-default \
-r https://kotlin.directory \
-r central \
--java-opt -Xmx${HEAP_MB}m \
--java-opt -ea \
--java-opt -XX:+HeapDumpOnOutOfMemoryError \
--java-opt -XX:HeapDumpPath=/root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba/child-0/heapdump-oom.hprof \
-- \
-w /root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba/stage/projects \
--test '\''/root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba/stage/projects'\'' \
--log /root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba/child-0/test-results.xml \
--runner-stream-id '\''2911dd56-c288-41a4-b6c9-542f61244f55'\'' \
--build '\''foundation.url.resolver.buildActiveLifetimePingTestSupport'\'' --build '\''foundation.url.resolver.buildActiveLifetimeQueuePublicationSupport'\'' --build '\''foundation.url.resolver.buildAutomaticAnnounceAddressesTestSupport'\'' --build '\''foundation.url.resolver.buildAutomaticLatePeerTestSupport'\'' --build '\''foundation.url.resolver.buildAutomaticRelayTestSupport'\'' --build '\''foundation.url.resolver.buildCloseDoesNotWaitForGossipDispatcherAdmissionTestSupport'\'' --build '\''foundation.url.resolver.buildCompletionBeforeSubmissionReturnsTestSupport'\'' --build '\''foundation.url.resolver.buildCrossedRelayEvictionTestSupport'\'' --build '\''foundation.url.resolver.buildCurrentMainCloseResourceLifecycleConstructorCompatibilityTestSupport'\'' --build '\''foundation.url.resolver.buildDefaultCloseReportsNonBindListenPortReservationFailureTestSupport'\'' --build '\''foundation.url.resolver.buildDuplicateSandboxAttemptCloseTestSupport'\'' --build '\''foundation.url.resolver.buildEagerJoinHostCreationTwoCarrierTestSupport'\'' --build '\''foundation.url.resolver.buildEagerJoinTwoCarrierTestSupport'\'' --build '\''foundation.url.resolver.buildExplicitAnnounceAddressesTestSupport'\'' --build '\''foundation.url.resolver.buildExplicitPublicIpKeepsEachResolverAddressesTestSupport'\'' --build '\''foundation.url.resolver.buildGossipRetryDeadlineExpiresBeforeTransportAdmissionTestSupport'\'' --build '\''foundation.url.resolver.buildGossipRetryDeadlineExpiresDuringRelayAdmissionTestSupport'\'' --build '\''foundation.url.resolver.buildLegacyCloseResourceLifecycleConstructorCompatibilityTestSupport'\'' --build '\''foundation.url.resolver.buildLegacyUrlProtocol2ConstructorCompatibilityTestSupport'\'' --build '\''foundation.url.resolver.buildMalformedPublicIpRelayTestSupport'\'' --build '\''foundation.url.resolver.buildMaven'\'' --build '\''foundation.url.resolver.buildNativePersistentReaderStartupFailureTestSupport'\'' --build '\''foundation.url.resolver.buildNewPeerRelayRefreshQueueTestSupport'\'' --build '\''foundation.url.resolver.buildOneCarrierSandboxRetirementTestSupport'\'' --build '\''foundation.url.resolver.buildPersistentReaderCarrierIsolationTestSupport'\'' --build '\''foundation.url.resolver.buildRelaySnapshotRetentionScaleTestSupport'\'' --build '\''foundation.url.resolver.buildRelayStartFailureTestSupport'\'' --build '\''foundation.url.resolver.buildRelayedBytecodeResponseParsedInPlaceCoversProductionHeapTestSupport'\'' --build '\''foundation.url.resolver.buildResolverCloseLateCandidateTestSupport'\'' --build '\''foundation.url.resolver.buildResolverCloseRootStartFailureTestSupport'\'' --build '\''foundation.url.resolver.buildSandboxCleanupOwnerStartupTestSupport'\'' --build '\''foundation.url.resolver.buildSandboxCleanupStartupCancellationTestSupport'\'' --build '\''foundation.url.resolver.buildScheduledPruneForwardingTestSupport'\'' --build '\''foundation.url.resolver.buildTimedDialWaitPoolTestSupport'\'' --build '\''foundation.url.resolver.buildWithdrawalRebroadcastTwoCarrierTestSupport'\'' --build-only --cache '\''/root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba/stage/.buildcache'\'' --test-parallelism 4 \
2>&1
fi
_KOMPILE_EC=$?
echo $_KOMPILE_EC > /root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba/child-0/kompile-exit-code
) </dev/null >> '\''/root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba/child-0/btr-events.spool'\'' 2>&1 &
BTR_RUNNER_PID=$!
echo $BTR_RUNNER_PID > '\''/root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba/child-0/btr-runner.pid'\''
tail -n +1 -f '\''/root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba/child-0/btr-events.spool'\'' --pid=$BTR_RUNNER_PID 2>/dev/null
wait "$BTR_RUNNER_PID"
_BTR_EC=1
if [ -f '\''/root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba/child-0/kompile-exit-code'\'' ]; then
IFS= read -r _BTR_EC < '\''/root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba/child-0/kompile-exit-code'\'' || _BTR_EC=1
fi
exit ${_BTR_EC:-1}'' exceeded its unread output bound of 8388608 bytes: the consumer was 8388608 bytes behind; this channel's stream ended without closing its shared SSH session.; shard 6: ERROR: Shared workspace preparation failed. Elapsed: 794452ms. SSH channel running '# buildtest-shared-cache-preparation-child
setsid --wait bash -c ' set -e
child_root='\''/root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba/child-0'\''
preparation_root='\''/root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba'\''
pid_path='\''/root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba/child-0/.buildtest-preparation.pid'\''
cancel_path='\''/root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba/child-0/.buildtest-preparation.cancel'\''
child_pid="$BASHPID"
(
# Only the claim creates the generation root; a fenced child must not recreate it.
: # An old owner may not recreate a removed root.
exec 9>>'\''/root/.buildtest-shared-cache-publication.lock'\''
if ! flock 9; then
echo '\''The remote root '\''\'\'''\''/root'\''\'\'''\'' is publishing or recovering a shared-cache generation.'\'' >&2
exit 75
fi
if [ ! -d '\''/root/.buildtest-shared-cache-owner/c42b1c75f9c74e188d4659e891955bba'\'' ]; then
echo '\''Shared-cache preparation '\''\'\'''\''c42b1c75f9c74e188d4659e891955bba'\''\'\'''\'' no longer owns remote root '\''\'\'''\''/root'\''\'\'''\''; recovery fenced this generation.'\'' >&2
exit 75
fi
if [ ! -d "$preparation_root" ]; then
echo '\''Shared-cache preparation '\''\'\'''\''c42b1c75f9c74e188d4659e891955bba'\''\'\'''\'' no longer owns remote root '\''\'\'''\''/root'\''\'\'''\''; recovery fenced this generation.'\'' >&2
exit 75
fi
exec 8>>"$preparation_root/control.lock"
flock 8
if [ -e "$preparation_root/canceled" ] || [ -e "$cancel_path" ]; then exit 143; fi
mkdir -p "$child_root"
echo "$child_pid" > "$pid_path"
)
(
: # An old owner may not recreate a removed root.
exec 9>>'\''/root/.buildtest-shared-cache-publication.lock'\''
if ! flock 9; then
echo '\''The remote root '\''\'\'''\''/root'\''\'\'''\'' is publishing or recovering a shared-cache generation.'\'' >&2
exit 75
fi
if [ ! -d '\''/root/.buildtest-shared-cache-owner/c42b1c75f9c74e188d4659e891955bba'\'' ]; then
echo '\''Shared-cache preparation '\''\'\'''\''c42b1c75f9c74e188d4659e891955bba'\''\'\'''\'' no longer owns remote root '\''\'\'''\''/root'\''\'\'''\''; recovery fenced this generation.'\'' >&2
exit 75
fi
if [ -e "$cancel_path" ] || [ -e "$preparation_root/canceled" ]; then exit 143; fi
mkdir -p "$child_root/home"
)
# The setup subshell releases the root lock before any runner or callback executes.
# Keep the session marker until coordinator cleanup. Foreground exit does not
# terminate the background runner or release its workspace ownership.
if [ -e "$cancel_path" ]; then exit 143; fi
# The runner arguments intentionally use paths rooted at [remoteRoot]. Keep the
# command'\''s established remote-root working directory here; changing into child_root
# would make a relative test root (used by the real SSH test seam) resolve again below
# that child and would point the runner at a second, nonexistent copy of its files.
cd '\''/root'\''
export HOME="$child_root/home"
export XDG_CACHE_HOME='\''/root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba/stage/.cache'\''
export COURSIER_CACHE='\''/root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba/stage/.cache/coursier'\''
export COURSIER_CACHE_DIR='\''/root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba/stage/.cache/coursier'\''
rm -f '\''/root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba/child-0/btr-events.spool'\'' '\''/root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba/child-0/kompile-exit-code'\'' '\''/root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba/child-0/btr-runner.pid'\''
: > '\''/root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba/child-0/btr-events.spool'\''
(
trap '\'''\'' HUP
BTR_RUNNER_PID=$BASHPID
echo $BTR_RUNNER_PID > '\''/root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba/child-0/btr-runner.pid.starting'\''
mv '\''/root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba/child-0/btr-runner.pid.starting'\'' '\''/root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba/child-0/btr-runner.pid'\''
printf '\''##BTR## {"event":"runner_process_started","runnerStreamId":"2911dd56-c288-41a4-b6c9-542f61244f55","timestamp":%s,"processId":%s}\n'\'' "1793298291159" "$BTR_RUNNER_PID"
TOTAL_MEM_KB=$(grep MemTotal /proc/meminfo | awk '\''{print $2}'\'')
HEAP_MB=$((TOTAL_MEM_KB / 1024 / 2))
if [ "$HEAP_MB" -gt 1024 ]; then HEAP_MB=1024; fi
echo "System memory: $((TOTAL_MEM_KB / 1024))MB, JVM heap: ${HEAP_MB}MB"
if [ -f '\''/root/.buildtest-no-cache-preparation-override.jar'\'' ]; then
echo "Using kompile-cli override JAR: /root/.buildtest-no-cache-preparation-override.jar"
java \
-Xmx${HEAP_MB}m \
-ea \
-XX:+HeapDumpOnOutOfMemoryError \
-XX:HeapDumpPath=/root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba/child-0/heapdump-oom.hprof \
-jar '\''/root/.buildtest-no-cache-preparation-override.jar'\'' \
-w /root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba/stage/projects \
--test '\''/root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba/stage/projects'\'' \
--log /root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba/child-0/test-results.xml \
--runner-stream-id '\''2911dd56-c288-41a4-b6c9-542f61244f55'\'' \
--build '\''foundation.url.resolver.buildActiveLifetimePingTestSupport'\'' --build '\''foundation.url.resolver.buildActiveLifetimeQueuePublicationSupport'\'' --build '\''foundation.url.resolver.buildAutomaticAnnounceAddressesTestSupport'\'' --build '\''foundation.url.resolver.buildAutomaticLatePeerTestSupport'\'' --build '\''foundation.url.resolver.buildAutomaticRelayTestSupport'\'' --build '\''foundation.url.resolver.buildCloseDoesNotWaitForGossipDispatcherAdmissionTestSupport'\'' --build '\''foundation.url.resolver.buildCompletionBeforeSubmissionReturnsTestSupport'\'' --build '\''foundation.url.resolver.buildCrossedRelayEvictionTestSupport'\'' --build '\''foundation.url.resolver.buildCurrentMainCloseResourceLifecycleConstructorCompatibilityTestSupport'\'' --build '\''foundation.url.resolver.buildDefaultCloseReportsNonBindListenPortReservationFailureTestSupport'\'' --build '\''foundation.url.resolver.buildDuplicateSandboxAttemptCloseTestSupport'\'' --build '\''foundation.url.resolver.buildEagerJoinHostCreationTwoCarrierTestSupport'\'' --build '\''foundation.url.resolver.buildEagerJoinTwoCarrierTestSupport'\'' --build '\''foundation.url.resolver.buildExplicitAnnounceAddressesTestSupport'\'' --build '\''foundation.url.resolver.buildExplicitPublicIpKeepsEachResolverAddressesTestSupport'\'' --build '\''foundation.url.resolver.buildGossipRetryDeadlineExpiresBeforeTransportAdmissionTestSupport'\'' --build '\''foundation.url.resolver.buildGossipRetryDeadlineExpiresDuringRelayAdmissionTestSupport'\'' --build '\''foundation.url.resolver.buildLegacyCloseResourceLifecycleConstructorCompatibilityTestSupport'\'' --build '\''foundation.url.resolver.buildLegacyUrlProtocol2ConstructorCompatibilityTestSupport'\'' --build '\''foundation.url.resolver.buildMalformedPublicIpRelayTestSupport'\'' --build '\''foundation.url.resolver.buildMaven'\'' --build '\''foundation.url.resolver.buildNativePersistentReaderStartupFailureTestSupport'\'' --build '\''foundation.url.resolver.buildNewPeerRelayRefreshQueueTestSupport'\'' --build '\''foundation.url.resolver.buildOneCarrierSandboxRetirementTestSupport'\'' --build '\''foundation.url.resolver.buildPersistentReaderCarrierIsolationTestSupport'\'' --build '\''foundation.url.resolver.buildRelaySnapshotRetentionScaleTestSupport'\'' --build '\''foundation.url.resolver.buildRelayStartFailureTestSupport'\'' --build '\''foundation.url.resolver.buildRelayedBytecodeResponseParsedInPlaceCoversProductionHeapTestSupport'\'' --build '\''foundation.url.resolver.buildResolverCloseLateCandidateTestSupport'\'' --build '\''foundation.url.resolver.buildResolverCloseRootStartFailureTestSupport'\'' --build '\''foundation.url.resolver.buildSandboxCleanupOwnerStartupTestSupport'\'' --build '\''foundation.url.resolver.buildSandboxCleanupStartupCancellationTestSupport'\'' --build '\''foundation.url.resolver.buildScheduledPruneForwardingTestSupport'\'' --build '\''foundation.url.resolver.buildTimedDialWaitPoolTestSupport'\'' --build '\''foundation.url.resolver.buildWithdrawalRebroadcastTwoCarrierTestSupport'\'' --build-only --cache '\''/root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba/stage/.buildcache'\'' --test-parallelism 4 \
2>&1
else
/root/tools/coursier launch \
-M buildtest.runner.MainKt \
buildtest.runner:buildtest-runner:0.0.124 \
--no-default \
-r https://kotlin.directory \
-r central \
--java-opt -Xmx${HEAP_MB}m \
--java-opt -ea \
--java-opt -XX:+HeapDumpOnOutOfMemoryError \
--java-opt -XX:HeapDumpPath=/root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba/child-0/heapdump-oom.hprof \
-- \
-w /root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba/stage/projects \
--test '\''/root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba/stage/projects'\'' \
--log /root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba/child-0/test-results.xml \
--runner-stream-id '\''2911dd56-c288-41a4-b6c9-542f61244f55'\'' \
--build '\''foundation.url.resolver.buildActiveLifetimePingTestSupport'\'' --build '\''foundation.url.resolver.buildActiveLifetimeQueuePublicationSupport'\'' --build '\''foundation.url.resolver.buildAutomaticAnnounceAddressesTestSupport'\'' --build '\''foundation.url.resolver.buildAutomaticLatePeerTestSupport'\'' --build '\''foundation.url.resolver.buildAutomaticRelayTestSupport'\'' --build '\''foundation.url.resolver.buildCloseDoesNotWaitForGossipDispatcherAdmissionTestSupport'\'' --build '\''foundation.url.resolver.buildCompletionBeforeSubmissionReturnsTestSupport'\'' --build '\''foundation.url.resolver.buildCrossedRelayEvictionTestSupport'\'' --build '\''foundation.url.resolver.buildCurrentMainCloseResourceLifecycleConstructorCompatibilityTestSupport'\'' --build '\''foundation.url.resolver.buildDefaultCloseReportsNonBindListenPortReservationFailureTestSupport'\'' --build '\''foundation.url.resolver.buildDuplicateSandboxAttemptCloseTestSupport'\'' --build '\''foundation.url.resolver.buildEagerJoinHostCreationTwoCarrierTestSupport'\'' --build '\''foundation.url.resolver.buildEagerJoinTwoCarrierTestSupport'\'' --build '\''foundation.url.resolver.buildExplicitAnnounceAddressesTestSupport'\'' --build '\''foundation.url.resolver.buildExplicitPublicIpKeepsEachResolverAddressesTestSupport'\'' --build '\''foundation.url.resolver.buildGossipRetryDeadlineExpiresBeforeTransportAdmissionTestSupport'\'' --build '\''foundation.url.resolver.buildGossipRetryDeadlineExpiresDuringRelayAdmissionTestSupport'\'' --build '\''foundation.url.resolver.buildLegacyCloseResourceLifecycleConstructorCompatibilityTestSupport'\'' --build '\''foundation.url.resolver.buildLegacyUrlProtocol2ConstructorCompatibilityTestSupport'\'' --build '\''foundation.url.resolver.buildMalformedPublicIpRelayTestSupport'\'' --build '\''foundation.url.resolver.buildMaven'\'' --build '\''foundation.url.resolver.buildNativePersistentReaderStartupFailureTestSupport'\'' --build '\''foundation.url.resolver.buildNewPeerRelayRefreshQueueTestSupport'\'' --build '\''foundation.url.resolver.buildOneCarrierSandboxRetirementTestSupport'\'' --build '\''foundation.url.resolver.buildPersistentReaderCarrierIsolationTestSupport'\'' --build '\''foundation.url.resolver.buildRelaySnapshotRetentionScaleTestSupport'\'' --build '\''foundation.url.resolver.buildRelayStartFailureTestSupport'\'' --build '\''foundation.url.resolver.buildRelayedBytecodeResponseParsedInPlaceCoversProductionHeapTestSupport'\'' --build '\''foundation.url.resolver.buildResolverCloseLateCandidateTestSupport'\'' --build '\''foundation.url.resolver.buildResolverCloseRootStartFailureTestSupport'\'' --build '\''foundation.url.resolver.buildSandboxCleanupOwnerStartupTestSupport'\'' --build '\''foundation.url.resolver.buildSandboxCleanupStartupCancellationTestSupport'\'' --build '\''foundation.url.resolver.buildScheduledPruneForwardingTestSupport'\'' --build '\''foundation.url.resolver.buildTimedDialWaitPoolTestSupport'\'' --build '\''foundation.url.resolver.buildWithdrawalRebroadcastTwoCarrierTestSupport'\'' --build-only --cache '\''/root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba/stage/.buildcache'\'' --test-parallelism 4 \
2>&1
fi
_KOMPILE_EC=$?
echo $_KOMPILE_EC > /root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba/child-0/kompile-exit-code
) </dev/null >> '\''/root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba/child-0/btr-events.spool'\'' 2>&1 &
BTR_RUNNER_PID=$!
echo $BTR_RUNNER_PID > '\''/root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba/child-0/btr-runner.pid'\''
tail -n +1 -f '\''/root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba/child-0/btr-events.spool'\'' --pid=$BTR_RUNNER_PID 2>/dev/null
wait "$BTR_RUNNER_PID"
_BTR_EC=1
if [ -f '\''/root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba/child-0/kompile-exit-code'\'' ]; then
IFS= read -r _BTR_EC < '\''/root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba/child-0/kompile-exit-code'\'' || _BTR_EC=1
fi
exit ${_BTR_EC:-1}'' exceeded its unread output bound of 8388608 bytes: the consumer was 8388608 bytes behind; this channel's stream ended without closing its shared SSH session.; shard 7: ERROR: Shared workspace preparation failed. Elapsed: 794452ms. SSH channel running '# buildtest-shared-cache-preparation-child
setsid --wait bash -c ' set -e
child_root='\''/root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba/child-0'\''
preparation_root='\''/root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba'\''
pid_path='\''/root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba/child-0/.buildtest-preparation.pid'\''
cancel_path='\''/root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba/child-0/.buildtest-preparation.cancel'\''
child_pid="$BASHPID"
(
# Only the claim creates the generation root; a fenced child must not recreate it.
: # An old owner may not recreate a removed root.
exec 9>>'\''/root/.buildtest-shared-cache-publication.lock'\''
if ! flock 9; then
echo '\''The remote root '\''\'\'''\''/root'\''\'\'''\'' is publishing or recovering a shared-cache generation.'\'' >&2
exit 75
fi
if [ ! -d '\''/root/.buildtest-shared-cache-owner/c42b1c75f9c74e188d4659e891955bba'\'' ]; then
echo '\''Shared-cache preparation '\''\'\'''\''c42b1c75f9c74e188d4659e891955bba'\''\'\'''\'' no longer owns remote root '\''\'\'''\''/root'\''\'\'''\''; recovery fenced this generation.'\'' >&2
exit 75
fi
if [ ! -d "$preparation_root" ]; then
echo '\''Shared-cache preparation '\''\'\'''\''c42b1c75f9c74e188d4659e891955bba'\''\'\'''\'' no longer owns remote root '\''\'\'''\''/root'\''\'\'''\''; recovery fenced this generation.'\'' >&2
exit 75
fi
exec 8>>"$preparation_root/control.lock"
flock 8
if [ -e "$preparation_root/canceled" ] || [ -e "$cancel_path" ]; then exit 143; fi
mkdir -p "$child_root"
echo "$child_pid" > "$pid_path"
)
(
: # An old owner may not recreate a removed root.
exec 9>>'\''/root/.buildtest-shared-cache-publication.lock'\''
if ! flock 9; then
echo '\''The remote root '\''\'\'''\''/root'\''\'\'''\'' is publishing or recovering a shared-cache generation.'\'' >&2
exit 75
fi
if [ ! -d '\''/root/.buildtest-shared-cache-owner/c42b1c75f9c74e188d4659e891955bba'\'' ]; then
echo '\''Shared-cache preparation '\''\'\'''\''c42b1c75f9c74e188d4659e891955bba'\''\'\'''\'' no longer owns remote root '\''\'\'''\''/root'\''\'\'''\''; recovery fenced this generation.'\'' >&2
exit 75
fi
if [ -e "$cancel_path" ] || [ -e "$preparation_root/canceled" ]; then exit 143; fi
mkdir -p "$child_root/home"
)
# The setup subshell releases the root lock before any runner or callback executes.
# Keep the session marker until coordinator cleanup. Foreground exit does not
# terminate the background runner or release its workspace ownership.
if [ -e "$cancel_path" ]; then exit 143; fi
# The runner arguments intentionally use paths rooted at [remoteRoot]. Keep the
# command'\''s established remote-root working directory here; changing into child_root
# would make a relative test root (used by the real SSH test seam) resolve again below
# that child and would point the runner at a second, nonexistent copy of its files.
cd '\''/root'\''
export HOME="$child_root/home"
export XDG_CACHE_HOME='\''/root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba/stage/.cache'\''
export COURSIER_CACHE='\''/root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba/stage/.cache/coursier'\''
export COURSIER_CACHE_DIR='\''/root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba/stage/.cache/coursier'\''
rm -f '\''/root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba/child-0/btr-events.spool'\'' '\''/root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba/child-0/kompile-exit-code'\'' '\''/root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba/child-0/btr-runner.pid'\''
: > '\''/root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba/child-0/btr-events.spool'\''
(
trap '\'''\'' HUP
BTR_RUNNER_PID=$BASHPID
echo $BTR_RUNNER_PID > '\''/root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba/child-0/btr-runner.pid.starting'\''
mv '\''/root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba/child-0/btr-runner.pid.starting'\'' '\''/root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba/child-0/btr-runner.pid'\''
printf '\''##BTR## {"event":"runner_process_started","runnerStreamId":"2911dd56-c288-41a4-b6c9-542f61244f55","timestamp":%s,"processId":%s}\n'\'' "1793298291159" "$BTR_RUNNER_PID"
TOTAL_MEM_KB=$(grep MemTotal /proc/meminfo | awk '\''{print $2}'\'')
HEAP_MB=$((TOTAL_MEM_KB / 1024 / 2))
if [ "$HEAP_MB" -gt 1024 ]; then HEAP_MB=1024; fi
echo "System memory: $((TOTAL_MEM_KB / 1024))MB, JVM heap: ${HEAP_MB}MB"
if [ -f '\''/root/.buildtest-no-cache-preparation-override.jar'\'' ]; then
echo "Using kompile-cli override JAR: /root/.buildtest-no-cache-preparation-override.jar"
java \
-Xmx${HEAP_MB}m \
-ea \
-XX:+HeapDumpOnOutOfMemoryError \
-XX:HeapDumpPath=/root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba/child-0/heapdump-oom.hprof \
-jar '\''/root/.buildtest-no-cache-preparation-override.jar'\'' \
-w /root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba/stage/projects \
--test '\''/root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba/stage/projects'\'' \
--log /root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba/child-0/test-results.xml \
--runner-stream-id '\''2911dd56-c288-41a4-b6c9-542f61244f55'\'' \
--build '\''foundation.url.resolver.buildActiveLifetimePingTestSupport'\'' --build '\''foundation.url.resolver.buildActiveLifetimeQueuePublicationSupport'\'' --build '\''foundation.url.resolver.buildAutomaticAnnounceAddressesTestSupport'\'' --build '\''foundation.url.resolver.buildAutomaticLatePeerTestSupport'\'' --build '\''foundation.url.resolver.buildAutomaticRelayTestSupport'\'' --build '\''foundation.url.resolver.buildCloseDoesNotWaitForGossipDispatcherAdmissionTestSupport'\'' --build '\''foundation.url.resolver.buildCompletionBeforeSubmissionReturnsTestSupport'\'' --build '\''foundation.url.resolver.buildCrossedRelayEvictionTestSupport'\'' --build '\''foundation.url.resolver.buildCurrentMainCloseResourceLifecycleConstructorCompatibilityTestSupport'\'' --build '\''foundation.url.resolver.buildDefaultCloseReportsNonBindListenPortReservationFailureTestSupport'\'' --build '\''foundation.url.resolver.buildDuplicateSandboxAttemptCloseTestSupport'\'' --build '\''foundation.url.resolver.buildEagerJoinHostCreationTwoCarrierTestSupport'\'' --build '\''foundation.url.resolver.buildEagerJoinTwoCarrierTestSupport'\'' --build '\''foundation.url.resolver.buildExplicitAnnounceAddressesTestSupport'\'' --build '\''foundation.url.resolver.buildExplicitPublicIpKeepsEachResolverAddressesTestSupport'\'' --build '\''foundation.url.resolver.buildGossipRetryDeadlineExpiresBeforeTransportAdmissionTestSupport'\'' --build '\''foundation.url.resolver.buildGossipRetryDeadlineExpiresDuringRelayAdmissionTestSupport'\'' --build '\''foundation.url.resolver.buildLegacyCloseResourceLifecycleConstructorCompatibilityTestSupport'\'' --build '\''foundation.url.resolver.buildLegacyUrlProtocol2ConstructorCompatibilityTestSupport'\'' --build '\''foundation.url.resolver.buildMalformedPublicIpRelayTestSupport'\'' --build '\''foundation.url.resolver.buildMaven'\'' --build '\''foundation.url.resolver.buildNativePersistentReaderStartupFailureTestSupport'\'' --build '\''foundation.url.resolver.buildNewPeerRelayRefreshQueueTestSupport'\'' --build '\''foundation.url.resolver.buildOneCarrierSandboxRetirementTestSupport'\'' --build '\''foundation.url.resolver.buildPersistentReaderCarrierIsolationTestSupport'\'' --build '\''foundation.url.resolver.buildRelaySnapshotRetentionScaleTestSupport'\'' --build '\''foundation.url.resolver.buildRelayStartFailureTestSupport'\'' --build '\''foundation.url.resolver.buildRelayedBytecodeResponseParsedInPlaceCoversProductionHeapTestSupport'\'' --build '\''foundation.url.resolver.buildResolverCloseLateCandidateTestSupport'\'' --build '\''foundation.url.resolver.buildResolverCloseRootStartFailureTestSupport'\'' --build '\''foundation.url.resolver.buildSandboxCleanupOwnerStartupTestSupport'\'' --build '\''foundation.url.resolver.buildSandboxCleanupStartupCancellationTestSupport'\'' --build '\''foundation.url.resolver.buildScheduledPruneForwardingTestSupport'\'' --build '\''foundation.url.resolver.buildTimedDialWaitPoolTestSupport'\'' --build '\''foundation.url.resolver.buildWithdrawalRebroadcastTwoCarrierTestSupport'\'' --build-only --cache '\''/root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba/stage/.buildcache'\'' --test-parallelism 4 \
2>&1
else
/root/tools/coursier launch \
-M buildtest.runner.MainKt \
buildtest.runner:buildtest-runner:0.0.124 \
--no-default \
-r https://kotlin.directory \
-r central \
--java-opt -Xmx${HEAP_MB}m \
--java-opt -ea \
--java-opt -XX:+HeapDumpOnOutOfMemoryError \
--java-opt -XX:HeapDumpPath=/root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba/child-0/heapdump-oom.hprof \
-- \
-w /root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba/stage/projects \
--test '\''/root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba/stage/projects'\'' \
--log /root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba/child-0/test-results.xml \
--runner-stream-id '\''2911dd56-c288-41a4-b6c9-542f61244f55'\'' \
--build '\''foundation.url.resolver.buildActiveLifetimePingTestSupport'\'' --build '\''foundation.url.resolver.buildActiveLifetimeQueuePublicationSupport'\'' --build '\''foundation.url.resolver.buildAutomaticAnnounceAddressesTestSupport'\'' --build '\''foundation.url.resolver.buildAutomaticLatePeerTestSupport'\'' --build '\''foundation.url.resolver.buildAutomaticRelayTestSupport'\'' --build '\''foundation.url.resolver.buildCloseDoesNotWaitForGossipDispatcherAdmissionTestSupport'\'' --build '\''foundation.url.resolver.buildCompletionBeforeSubmissionReturnsTestSupport'\'' --build '\''foundation.url.resolver.buildCrossedRelayEvictionTestSupport'\'' --build '\''foundation.url.resolver.buildCurrentMainCloseResourceLifecycleConstructorCompatibilityTestSupport'\'' --build '\''foundation.url.resolver.buildDefaultCloseReportsNonBindListenPortReservationFailureTestSupport'\'' --build '\''foundation.url.resolver.buildDuplicateSandboxAttemptCloseTestSupport'\'' --build '\''foundation.url.resolver.buildEagerJoinHostCreationTwoCarrierTestSupport'\'' --build '\''foundation.url.resolver.buildEagerJoinTwoCarrierTestSupport'\'' --build '\''foundation.url.resolver.buildExplicitAnnounceAddressesTestSupport'\'' --build '\''foundation.url.resolver.buildExplicitPublicIpKeepsEachResolverAddressesTestSupport'\'' --build '\''foundation.url.resolver.buildGossipRetryDeadlineExpiresBeforeTransportAdmissionTestSupport'\'' --build '\''foundation.url.resolver.buildGossipRetryDeadlineExpiresDuringRelayAdmissionTestSupport'\'' --build '\''foundation.url.resolver.buildLegacyCloseResourceLifecycleConstructorCompatibilityTestSupport'\'' --build '\''foundation.url.resolver.buildLegacyUrlProtocol2ConstructorCompatibilityTestSupport'\'' --build '\''foundation.url.resolver.buildMalformedPublicIpRelayTestSupport'\'' --build '\''foundation.url.resolver.buildMaven'\'' --build '\''foundation.url.resolver.buildNativePersistentReaderStartupFailureTestSupport'\'' --build '\''foundation.url.resolver.buildNewPeerRelayRefreshQueueTestSupport'\'' --build '\''foundation.url.resolver.buildOneCarrierSandboxRetirementTestSupport'\'' --build '\''foundation.url.resolver.buildPersistentReaderCarrierIsolationTestSupport'\'' --build '\''foundation.url.resolver.buildRelaySnapshotRetentionScaleTestSupport'\'' --build '\''foundation.url.resolver.buildRelayStartFailureTestSupport'\'' --build '\''foundation.url.resolver.buildRelayedBytecodeResponseParsedInPlaceCoversProductionHeapTestSupport'\'' --build '\''foundation.url.resolver.buildResolverCloseLateCandidateTestSupport'\'' --build '\''foundation.url.resolver.buildResolverCloseRootStartFailureTestSupport'\'' --build '\''foundation.url.resolver.buildSandboxCleanupOwnerStartupTestSupport'\'' --build '\''foundation.url.resolver.buildSandboxCleanupStartupCancellationTestSupport'\'' --build '\''foundation.url.resolver.buildScheduledPruneForwardingTestSupport'\'' --build '\''foundation.url.resolver.buildTimedDialWaitPoolTestSupport'\'' --build '\''foundation.url.resolver.buildWithdrawalRebroadcastTwoCarrierTestSupport'\'' --build-only --cache '\''/root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba/stage/.buildcache'\'' --test-parallelism 4 \
2>&1
fi
_KOMPILE_EC=$?
echo $_KOMPILE_EC > /root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba/child-0/kompile-exit-code
) </dev/null >> '\''/root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba/child-0/btr-events.spool'\'' 2>&1 &
BTR_RUNNER_PID=$!
echo $BTR_RUNNER_PID > '\''/root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba/child-0/btr-runner.pid'\''
tail -n +1 -f '\''/root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba/child-0/btr-events.spool'\'' --pid=$BTR_RUNNER_PID 2>/dev/null
wait "$BTR_RUNNER_PID"
_BTR_EC=1
if [ -f '\''/root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba/child-0/kompile-exit-code'\'' ]; then
IFS= read -r _BTR_EC < '\''/root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba/child-0/kompile-exit-code'\'' || _BTR_EC=1
fi
exit ${_BTR_EC:-1}'' exceeded its unread output bound of 8388608 bytes: the consumer was 8388608 bytes behind; this channel's stream ended without closing its shared SSH session.; shard 8: ERROR: Shared workspace preparation failed. Elapsed: 794452ms. SSH channel running '# buildtest-shared-cache-preparation-child
setsid --wait bash -c ' set -e
child_root='\''/root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba/child-0'\''
preparation_root='\''/root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba'\''
pid_path='\''/root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba/child-0/.buildtest-preparation.pid'\''
cancel_path='\''/root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba/child-0/.buildtest-preparation.cancel'\''
child_pid="$BASHPID"
(
# Only the claim creates the generation root; a fenced child must not recreate it.
: # An old owner may not recreate a removed root.
exec 9>>'\''/root/.buildtest-shared-cache-publication.lock'\''
if ! flock 9; then
echo '\''The remote root '\''\'\'''\''/root'\''\'\'''\'' is publishing or recovering a shared-cache generation.'\'' >&2
exit 75
fi
if [ ! -d '\''/root/.buildtest-shared-cache-owner/c42b1c75f9c74e188d4659e891955bba'\'' ]; then
echo '\''Shared-cache preparation '\''\'\'''\''c42b1c75f9c74e188d4659e891955bba'\''\'\'''\'' no longer owns remote root '\''\'\'''\''/root'\''\'\'''\''; recovery fenced this generation.'\'' >&2
exit 75
fi
if [ ! -d "$preparation_root" ]; then
echo '\''Shared-cache preparation '\''\'\'''\''c42b1c75f9c74e188d4659e891955bba'\''\'\'''\'' no longer owns remote root '\''\'\'''\''/root'\''\'\'''\''; recovery fenced this generation.'\'' >&2
exit 75
fi
exec 8>>"$preparation_root/control.lock"
flock 8
if [ -e "$preparation_root/canceled" ] || [ -e "$cancel_path" ]; then exit 143; fi
mkdir -p "$child_root"
echo "$child_pid" > "$pid_path"
)
(
: # An old owner may not recreate a removed root.
exec 9>>'\''/root/.buildtest-shared-cache-publication.lock'\''
if ! flock 9; then
echo '\''The remote root '\''\'\'''\''/root'\''\'\'''\'' is publishing or recovering a shared-cache generation.'\'' >&2
exit 75
fi
if [ ! -d '\''/root/.buildtest-shared-cache-owner/c42b1c75f9c74e188d4659e891955bba'\'' ]; then
echo '\''Shared-cache preparation '\''\'\'''\''c42b1c75f9c74e188d4659e891955bba'\''\'\'''\'' no longer owns remote root '\''\'\'''\''/root'\''\'\'''\''; recovery fenced this generation.'\'' >&2
exit 75
fi
if [ -e "$cancel_path" ] || [ -e "$preparation_root/canceled" ]; then exit 143; fi
mkdir -p "$child_root/home"
)
# The setup subshell releases the root lock before any runner or callback executes.
# Keep the session marker until coordinator cleanup. Foreground exit does not
# terminate the background runner or release its workspace ownership.
if [ -e "$cancel_path" ]; then exit 143; fi
# The runner arguments intentionally use paths rooted at [remoteRoot]. Keep the
# command'\''s established remote-root working directory here; changing into child_root
# would make a relative test root (used by the real SSH test seam) resolve again below
# that child and would point the runner at a second, nonexistent copy of its files.
cd '\''/root'\''
export HOME="$child_root/home"
export XDG_CACHE_HOME='\''/root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba/stage/.cache'\''
export COURSIER_CACHE='\''/root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba/stage/.cache/coursier'\''
export COURSIER_CACHE_DIR='\''/root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba/stage/.cache/coursier'\''
rm -f '\''/root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba/child-0/btr-events.spool'\'' '\''/root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba/child-0/kompile-exit-code'\'' '\''/root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba/child-0/btr-runner.pid'\''
: > '\''/root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba/child-0/btr-events.spool'\''
(
trap '\'''\'' HUP
BTR_RUNNER_PID=$BASHPID
echo $BTR_RUNNER_PID > '\''/root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba/child-0/btr-runner.pid.starting'\''
mv '\''/root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba/child-0/btr-runner.pid.starting'\'' '\''/root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba/child-0/btr-runner.pid'\''
printf '\''##BTR## {"event":"runner_process_started","runnerStreamId":"2911dd56-c288-41a4-b6c9-542f61244f55","timestamp":%s,"processId":%s}\n'\'' "1793298291159" "$BTR_RUNNER_PID"
TOTAL_MEM_KB=$(grep MemTotal /proc/meminfo | awk '\''{print $2}'\'')
HEAP_MB=$((TOTAL_MEM_KB / 1024 / 2))
if [ "$HEAP_MB" -gt 1024 ]; then HEAP_MB=1024; fi
echo "System memory: $((TOTAL_MEM_KB / 1024))MB, JVM heap: ${HEAP_MB}MB"
if [ -f '\''/root/.buildtest-no-cache-preparation-override.jar'\'' ]; then
echo "Using kompile-cli override JAR: /root/.buildtest-no-cache-preparation-override.jar"
java \
-Xmx${HEAP_MB}m \
-ea \
-XX:+HeapDumpOnOutOfMemoryError \
-XX:HeapDumpPath=/root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba/child-0/heapdump-oom.hprof \
-jar '\''/root/.buildtest-no-cache-preparation-override.jar'\'' \
-w /root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba/stage/projects \
--test '\''/root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba/stage/projects'\'' \
--log /root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba/child-0/test-results.xml \
--runner-stream-id '\''2911dd56-c288-41a4-b6c9-542f61244f55'\'' \
--build '\''foundation.url.resolver.buildActiveLifetimePingTestSupport'\'' --build '\''foundation.url.resolver.buildActiveLifetimeQueuePublicationSupport'\'' --build '\''foundation.url.resolver.buildAutomaticAnnounceAddressesTestSupport'\'' --build '\''foundation.url.resolver.buildAutomaticLatePeerTestSupport'\'' --build '\''foundation.url.resolver.buildAutomaticRelayTestSupport'\'' --build '\''foundation.url.resolver.buildCloseDoesNotWaitForGossipDispatcherAdmissionTestSupport'\'' --build '\''foundation.url.resolver.buildCompletionBeforeSubmissionReturnsTestSupport'\'' --build '\''foundation.url.resolver.buildCrossedRelayEvictionTestSupport'\'' --build '\''foundation.url.resolver.buildCurrentMainCloseResourceLifecycleConstructorCompatibilityTestSupport'\'' --build '\''foundation.url.resolver.buildDefaultCloseReportsNonBindListenPortReservationFailureTestSupport'\'' --build '\''foundation.url.resolver.buildDuplicateSandboxAttemptCloseTestSupport'\'' --build '\''foundation.url.resolver.buildEagerJoinHostCreationTwoCarrierTestSupport'\'' --build '\''foundation.url.resolver.buildEagerJoinTwoCarrierTestSupport'\'' --build '\''foundation.url.resolver.buildExplicitAnnounceAddressesTestSupport'\'' --build '\''foundation.url.resolver.buildExplicitPublicIpKeepsEachResolverAddressesTestSupport'\'' --build '\''foundation.url.resolver.buildGossipRetryDeadlineExpiresBeforeTransportAdmissionTestSupport'\'' --build '\''foundation.url.resolver.buildGossipRetryDeadlineExpiresDuringRelayAdmissionTestSupport'\'' --build '\''foundation.url.resolver.buildLegacyCloseResourceLifecycleConstructorCompatibilityTestSupport'\'' --build '\''foundation.url.resolver.buildLegacyUrlProtocol2ConstructorCompatibilityTestSupport'\'' --build '\''foundation.url.resolver.buildMalformedPublicIpRelayTestSupport'\'' --build '\''foundation.url.resolver.buildMaven'\'' --build '\''foundation.url.resolver.buildNativePersistentReaderStartupFailureTestSupport'\'' --build '\''foundation.url.resolver.buildNewPeerRelayRefreshQueueTestSupport'\'' --build '\''foundation.url.resolver.buildOneCarrierSandboxRetirementTestSupport'\'' --build '\''foundation.url.resolver.buildPersistentReaderCarrierIsolationTestSupport'\'' --build '\''foundation.url.resolver.buildRelaySnapshotRetentionScaleTestSupport'\'' --build '\''foundation.url.resolver.buildRelayStartFailureTestSupport'\'' --build '\''foundation.url.resolver.buildRelayedBytecodeResponseParsedInPlaceCoversProductionHeapTestSupport'\'' --build '\''foundation.url.resolver.buildResolverCloseLateCandidateTestSupport'\'' --build '\''foundation.url.resolver.buildResolverCloseRootStartFailureTestSupport'\'' --build '\''foundation.url.resolver.buildSandboxCleanupOwnerStartupTestSupport'\'' --build '\''foundation.url.resolver.buildSandboxCleanupStartupCancellationTestSupport'\'' --build '\''foundation.url.resolver.buildScheduledPruneForwardingTestSupport'\'' --build '\''foundation.url.resolver.buildTimedDialWaitPoolTestSupport'\'' --build '\''foundation.url.resolver.buildWithdrawalRebroadcastTwoCarrierTestSupport'\'' --build-only --cache '\''/root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba/stage/.buildcache'\'' --test-parallelism 4 \
2>&1
else
/root/tools/coursier launch \
-M buildtest.runner.MainKt \
buildtest.runner:buildtest-runner:0.0.124 \
--no-default \
-r https://kotlin.directory \
-r central \
--java-opt -Xmx${HEAP_MB}m \
--java-opt -ea \
--java-opt -XX:+HeapDumpOnOutOfMemoryError \
--java-opt -XX:HeapDumpPath=/root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba/child-0/heapdump-oom.hprof \
-- \
-w /root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba/stage/projects \
--test '\''/root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba/stage/projects'\'' \
--log /root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba/child-0/test-results.xml \
--runner-stream-id '\''2911dd56-c288-41a4-b6c9-542f61244f55'\'' \
--build '\''foundation.url.resolver.buildActiveLifetimePingTestSupport'\'' --build '\''foundation.url.resolver.buildActiveLifetimeQueuePublicationSupport'\'' --build '\''foundation.url.resolver.buildAutomaticAnnounceAddressesTestSupport'\'' --build '\''foundation.url.resolver.buildAutomaticLatePeerTestSupport'\'' --build '\''foundation.url.resolver.buildAutomaticRelayTestSupport'\'' --build '\''foundation.url.resolver.buildCloseDoesNotWaitForGossipDispatcherAdmissionTestSupport'\'' --build '\''foundation.url.resolver.buildCompletionBeforeSubmissionReturnsTestSupport'\'' --build '\''foundation.url.resolver.buildCrossedRelayEvictionTestSupport'\'' --build '\''foundation.url.resolver.buildCurrentMainCloseResourceLifecycleConstructorCompatibilityTestSupport'\'' --build '\''foundation.url.resolver.buildDefaultCloseReportsNonBindListenPortReservationFailureTestSupport'\'' --build '\''foundation.url.resolver.buildDuplicateSandboxAttemptCloseTestSupport'\'' --build '\''foundation.url.resolver.buildEagerJoinHostCreationTwoCarrierTestSupport'\'' --build '\''foundation.url.resolver.buildEagerJoinTwoCarrierTestSupport'\'' --build '\''foundation.url.resolver.buildExplicitAnnounceAddressesTestSupport'\'' --build '\''foundation.url.resolver.buildExplicitPublicIpKeepsEachResolverAddressesTestSupport'\'' --build '\''foundation.url.resolver.buildGossipRetryDeadlineExpiresBeforeTransportAdmissionTestSupport'\'' --build '\''foundation.url.resolver.buildGossipRetryDeadlineExpiresDuringRelayAdmissionTestSupport'\'' --build '\''foundation.url.resolver.buildLegacyCloseResourceLifecycleConstructorCompatibilityTestSupport'\'' --build '\''foundation.url.resolver.buildLegacyUrlProtocol2ConstructorCompatibilityTestSupport'\'' --build '\''foundation.url.resolver.buildMalformedPublicIpRelayTestSupport'\'' --build '\''foundation.url.resolver.buildMaven'\'' --build '\''foundation.url.resolver.buildNativePersistentReaderStartupFailureTestSupport'\'' --build '\''foundation.url.resolver.buildNewPeerRelayRefreshQueueTestSupport'\'' --build '\''foundation.url.resolver.buildOneCarrierSandboxRetirementTestSupport'\'' --build '\''foundation.url.resolver.buildPersistentReaderCarrierIsolationTestSupport'\'' --build '\''foundation.url.resolver.buildRelaySnapshotRetentionScaleTestSupport'\'' --build '\''foundation.url.resolver.buildRelayStartFailureTestSupport'\'' --build '\''foundation.url.resolver.buildRelayedBytecodeResponseParsedInPlaceCoversProductionHeapTestSupport'\'' --build '\''foundation.url.resolver.buildResolverCloseLateCandidateTestSupport'\'' --build '\''foundation.url.resolver.buildResolverCloseRootStartFailureTestSupport'\'' --build '\''foundation.url.resolver.buildSandboxCleanupOwnerStartupTestSupport'\'' --build '\''foundation.url.resolver.buildSandboxCleanupStartupCancellationTestSupport'\'' --build '\''foundation.url.resolver.buildScheduledPruneForwardingTestSupport'\'' --build '\''foundation.url.resolver.buildTimedDialWaitPoolTestSupport'\'' --build '\''foundation.url.resolver.buildWithdrawalRebroadcastTwoCarrierTestSupport'\'' --build-only --cache '\''/root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba/stage/.buildcache'\'' --test-parallelism 4 \
2>&1
fi
_KOMPILE_EC=$?
echo $_KOMPILE_EC > /root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba/child-0/kompile-exit-code
) </dev/null >> '\''/root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba/child-0/btr-events.spool'\'' 2>&1 &
BTR_RUNNER_PID=$!
echo $BTR_RUNNER_PID > '\''/root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba/child-0/btr-runner.pid'\''
tail -n +1 -f '\''/root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba/child-0/btr-events.spool'\'' --pid=$BTR_RUNNER_PID 2>/dev/null
wait "$BTR_RUNNER_PID"
_BTR_EC=1
if [ -f '\''/root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba/child-0/kompile-exit-code'\'' ]; then
IFS= read -r _BTR_EC < '\''/root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba/child-0/kompile-exit-code'\'' || _BTR_EC=1
fi
exit ${_BTR_EC:-1}'' exceeded its unread output bound of 8388608 bytes: the consumer was 8388608 bytes behind; this channel's stream ended without closing its shared SSH session.; shard 9: ERROR: Shared workspace preparation failed. Elapsed: 794452ms. SSH channel running '# buildtest-shared-cache-preparation-child
setsid --wait bash -c ' set -e
child_root='\''/root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba/child-0'\''
preparation_root='\''/root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba'\''
pid_path='\''/root/.buildtest-shared-cache-preparation-c42b1c75f9c74e188d4659e891955bba/child-0/.buildtest-preparation.pid'\''
cancel_path='\''/root/.build... [truncated: 144944 bytes total]
Build Rules
16 built, 1 failed, 18 pending, 35 total
Tests
0 passed, 0 failed, 3436 total
Requested
1 minute
spent waiting (pending)
Started
test time
0ms
cpu time
waiting for completed tests
Finished
Notes
Branch: checkpoint/W6-174711-green9
Commit https://github.com/CodexCoder21Organization/UrlResolver/commit/32178d762837651a6003dceec4fc6d65257f296f
kotlin-build-ci-upload-request=ad06db58-186c-497f-bf6a-3372ca01c789
Retention: archive.tar.gz: archive.tar.gz retained until 2026-10-29T22:11:45.826Z; removed under the runs-pool size policy.
Retention: build.log: log retained until 2026-10-29T22:11:52.610Z; removed under the runs-pool size policy.
Retention: test-events.jsonl: test-events.jsonl retained until 2026-10-29T22:11:58.447Z; removed under the runs-pool size policy.
Build rule foundation.url.resolver.buildLegacyUrlProtocol2ConstructorCompatibilityTestSupport started but its build did not report completion before the run ended with status FAILED