Skip to content

Commit

Permalink
Debug java tests
Browse files Browse the repository at this point in the history
(00.062248) Handling VMA with the following smaps entry: 7fc5dda00000-7fc5ddc00000 rw-s 00000000 00:32 11413275                   /criu/test/javaTests/omrvmem_000000626_Mlm48x (deleted)
(00.062297) Found regular file mapping, OK
(00.062353) Dumping path for -3 fd via self 12 [/criu/test/javaTests/omrvmem_000000626_Mlm48x (deleted)]
(00.062358) Strip ' (deleted)' tag from './criu/test/javaTests/omrvmem_000000626_Mlm48x (deleted)'
(00.062360) Dumping ghost file for fd 12 id 0x2
(00.062363) Error (criu/files-reg.c:1031): Can't dump ghost file /criu/test/javaTests/omrvmem_000000626_Mlm48x of 2097152 size, increase limit
(00.062374) Error (criu/cr-dump.c:1570): Collect mappings (pid: 626) failed with -1
  • Loading branch information
avagin committed Dec 7, 2024
1 parent 8b8893e commit 5c01686
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/build/Dockerfile.openj9-ubuntu
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,10 @@ RUN apt-install protobuf-c-compiler \
gcc \
maven

RUN mkdir -p /etc/criu && echo 'ghost-limit 16777216' > /etc/criu/default.conf
COPY . /criu
WORKDIR /criu

RUN make mrproper && make -j $(nproc) CC="$CC"

ENTRYPOINT mvn -q -f test/javaTests/pom.xml test
ENTRYPOINT mvn -f test/javaTests/pom.xml test
2 changes: 2 additions & 0 deletions scripts/ci/java-test.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#!/bin/bash

set -x

cd ../.. || exit 1

failures=""
Expand Down

0 comments on commit 5c01686

Please sign in to comment.