You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by "ppalaga (via GitHub)" <gi...@apache.org> on 2024/09/23 12:04:38 UTC
[I] Debezium tests are failing on the Platform due to failed startup of `mcr.microsoft.com/mssql/server:2022-latest` [camel-quarkus]
ppalaga opened a new issue, #6517:
URL: https://github.com/apache/camel-quarkus/issues/6517
### Bug description
```
[INFO] Using auto detected provider org.apache.maven.surefire.junitplatform.JUnitPlatformProvider
[INFO]
[INFO] -------------------------------------------------------
[INFO] T E S T S
[INFO] -------------------------------------------------------
[INFO] Running org.apache.camel.quarkus.component.debezium.common.it.mongodb.DebeziumMongodbTest
[WARNING] Tests run: 4, Failures: 0, Errors: 0, Skipped: 4, Time elapsed: 0.006 s - in org.apache.camel.quarkus.component.debezium.common.it.mongodb.DebeziumMongodbTest
[INFO] Running org.apache.camel.quarkus.component.debezium.common.it.mysql.DebeziumMysqlTest
[INFO] [stdout] Downloading from confluent: https://packages.confluent.io/maven/org/apache/camel/quarkus/camel-quarkus-debezium-postgres/3.15.0-SNAPSHOT/maven-metadata.xml
[INFO] [stdout] Downloading from confluent: https://packages.confluent.io/maven/org/apache/camel/quarkus/camel-quarkus-debezium-postgres-parent/3.15.0-SNAPSHOT/maven-metadata.xml
[INFO] [stdout] Downloading from confluent: https://packages.confluent.io/maven/org/apache/camel/quarkus/camel-quarkus-extensions/3.15.0-SNAPSHOT/maven-metadata.xml
[INFO] [stdout] Downloading from confluent: https://packages.confluent.io/maven/org/apache/camel/quarkus/camel-quarkus-build-parent/3.15.0-SNAPSHOT/maven-metadata.xml
[INFO] [stdout] Downloading from confluent: https://packages.confluent.io/maven/org/apache/camel/quarkus/camel-quarkus-poms/3.15.0-SNAPSHOT/maven-metadata.xml
[INFO] [stdout] Downloading from confluent: https://packages.confluent.io/maven/org/apache/camel/quarkus/camel-quarkus/3.15.0-SNAPSHOT/maven-metadata.xml
[INFO] [stdout] Downloading from confluent: https://packages.confluent.io/maven/org/apache/camel/quarkus/camel-quarkus-bom/3.15.0-SNAPSHOT/maven-metadata.xml
[INFO] [stdout] Downloading from confluent: https://packages.confluent.io/maven/org/apache/camel/quarkus/camel-quarkus-core/3.15.0-SNAPSHOT/maven-metadata.xml
[INFO] [stdout] Downloading from confluent: https://packages.confluent.io/maven/org/apache/camel/quarkus/camel-quarkus-core-parent/3.15.0-SNAPSHOT/maven-metadata.xml
[INFO] [stdout] Downloading from confluent: https://packages.confluent.io/maven/org/apache/camel/quarkus/camel-quarkus-extensions-core/3.15.0-SNAPSHOT/maven-metadata.xml
[INFO] [stdout] Downloading from confluent: https://packages.confluent.io/maven/org/apache/camel/quarkus/camel-quarkus-support-debezium/3.15.0-SNAPSHOT/maven-metadata.xml
[INFO] [stdout] Downloading from confluent: https://packages.confluent.io/maven/org/apache/camel/quarkus/camel-quarkus-support-debezium-parent/3.15.0-SNAPSHOT/maven-metadata.xml
[INFO] [stdout] Downloading from confluent: https://packages.confluent.io/maven/org/apache/camel/quarkus/camel-quarkus-extensions-support/3.15.0-SNAPSHOT/maven-metadata.xml
[INFO] [stdout] Downloading from confluent: https://packages.confluent.io/maven/org/apache/camel/quarkus/camel-quarkus-debezium-mongodb/3.15.0-SNAPSHOT/maven-metadata.xml
[INFO] [stdout] Downloading from confluent: https://packages.confluent.io/maven/org/apache/camel/quarkus/camel-quarkus-debezium-mongodb-parent/3.15.0-SNAPSHOT/maven-metadata.xml
[INFO] [stdout] Downloading from confluent: https://packages.confluent.io/maven/org/apache/camel/quarkus/camel-quarkus-mongodb/3.15.0-SNAPSHOT/maven-metadata.xml
[INFO] [stdout] Downloading from confluent: https://packages.confluent.io/maven/org/apache/camel/quarkus/camel-quarkus-mongodb-parent/3.15.0-SNAPSHOT/maven-metadata.xml
[INFO] [stdout] Downloading from confluent: https://packages.confluent.io/maven/org/apache/camel/quarkus/camel-quarkus-support-mongodb/3.15.0-SNAPSHOT/maven-metadata.xml
[INFO] [stdout] Downloading from confluent: https://packages.confluent.io/maven/org/apache/camel/quarkus/camel-quarkus-support-mongodb-parent/3.15.0-SNAPSHOT/maven-metadata.xml
[INFO] [stdout] Downloading from confluent: https://packages.confluent.io/maven/org/apache/camel/quarkus/camel-quarkus-debezium-mysql/3.15.0-SNAPSHOT/maven-metadata.xml
[INFO] [stdout] Downloading from confluent: https://packages.confluent.io/maven/org/apache/camel/quarkus/camel-quarkus-debezium-mysql-parent/3.15.0-SNAPSHOT/maven-metadata.xml
[INFO] [stdout] Downloading from confluent: https://packages.confluent.io/maven/org/apache/camel/quarkus/camel-quarkus-debezium-sqlserver/3.15.0-SNAPSHOT/maven-metadata.xml
[INFO] [stdout] Downloading from confluent: https://packages.confluent.io/maven/org/apache/camel/quarkus/camel-quarkus-debezium-sqlserver-parent/3.15.0-SNAPSHOT/maven-metadata.xml
[INFO] [stdout] Downloading from confluent: https://packages.confluent.io/maven/org/apache/camel/quarkus/camel-quarkus-debezium-postgres-deployment/3.15.0-SNAPSHOT/maven-metadata.xml
[INFO] [stdout] Downloading from confluent: https://packages.confluent.io/maven/org/apache/camel/quarkus/camel-quarkus-core-deployment/3.15.0-SNAPSHOT/maven-metadata.xml
[INFO] [stdout] Downloading from confluent: https://packages.confluent.io/maven/org/apache/camel/quarkus/camel-quarkus-support-debezium-deployment/3.15.0-SNAPSHOT/maven-metadata.xml
[INFO] [stdout] Downloading from confluent: https://packages.confluent.io/maven/org/apache/camel/quarkus/camel-quarkus-debezium-mongodb-deployment/3.15.0-SNAPSHOT/maven-metadata.xml
[INFO] [stdout] Downloading from confluent: https://packages.confluent.io/maven/org/apache/camel/quarkus/camel-quarkus-mongodb-deployment/3.15.0-SNAPSHOT/maven-metadata.xml
[INFO] [stdout] Downloading from confluent: https://packages.confluent.io/maven/org/apache/camel/quarkus/camel-quarkus-support-mongodb-deployment/3.15.0-SNAPSHOT/maven-metadata.xml
[INFO] [stdout] Downloading from confluent: https://packages.confluent.io/maven/org/apache/camel/quarkus/camel-quarkus-debezium-mysql-deployment/3.15.0-SNAPSHOT/maven-metadata.xml
[INFO] [stdout] Downloading from confluent: https://packages.confluent.io/maven/org/apache/camel/quarkus/camel-quarkus-debezium-sqlserver-deployment/3.15.0-SNAPSHOT/maven-metadata.xml
[INFO] [stdout] 2024-09-23 14:00:08,548 WARN [io.qua.arc.dep.SplitPackageProcessor] (build-10) Detected a split package usage which is considered a bad practice and should be avoided. Following packages were detected in multiple archives:
[INFO] [stdout] - "org.apache.camel.component.debezium.configuration" found in [org.apache.camel:camel-debezium-common:4.8.0, org.apache.camel:camel-debezium-mongodb:4.8.0, org.apache.camel:camel-debezium-mysql:4.8.0, org.apache.camel:camel-debezium-postgres:4.8.0, org.apache.camel:camel-debezium-sqlserver:4.8.0]
[INFO] [stdout] - "org.apache.camel.component.debezium" found in [org.apache.camel:camel-debezium-common:4.8.0, org.apache.camel:camel-debezium-mongodb:4.8.0, org.apache.camel:camel-debezium-mysql:4.8.0, org.apache.camel:camel-debezium-postgres:4.8.0, org.apache.camel:camel-debezium-sqlserver:4.8.0]
[INFO] [stdout] 2024-09-23 14:00:09,356 INFO [org.apa.cam.qua.tes.AvailablePortFinder] (main) org.apache.camel.quarkus.component.debezium.common.it.mongodb.DebeziumMongodbTestResource reserved port 41779
[INFO] [stdout] 2024-09-23 14:00:09,370 INFO [org.apa.cam.qua.com.deb.com.it.AbstractDebeziumTestResource] (pool-3-thread-1) TestcontainersConfiguration(userProperties={docker.client.strategy=org.testcontainers.dockerclient.UnixSocketClientProviderStrategy, testcontainers.reuse.enable=false}, classpathProperties={}, environment={PATH=/home/ppalaga/gems/bin:/home/ppalaga/.jbang/bin:/home/ppalaga/bin/vscode-installations/code/bin:/home/ppalaga/gems/bin:/home/ppalaga/.sdkman/candidates/mvnd/current/bin:/home/ppalaga/.sdkman/candidates/maven/current/bin:/home/ppalaga/.sdkman/candidates/jbang/current/bin:/home/ppalaga/.sdkman/candidates/jbake/current/bin:/home/ppalaga/.sdkman/candidates/java/current/bin:/home/ppalaga/.jbang/bin:/home/ppalaga/bin/vscode-installations/code/bin:/home/ppalaga/.local/bin:/home/ppalaga/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin, IMSETTINGS_MODULE=none, SDKMAN_VERSION=5.18.0, HISTCONTROL=ignoredups, XMODIFIERS=@im=none, LMOD_SETTARG_FUL
L_SUPPORT=no, DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus, QT_AUTO_SCREEN_SCALE_FACTOR=0, SSH_AGENT_PID=1879, LMOD_DIR=/usr/share/lmod/lmod/libexec, SDKMAN_DIR=/home/ppalaga/.sdkman, SESSION_MANAGER=local/unix:@/tmp/.ICE-unix/2183,unix/unix:/tmp/.ICE-unix/2183, MANAGERPID=1627, PWD=/home/ppalaga/orgs/quarkus/quarkus-platform/generated-platform-project/quarkus-camel/integration-tests/camel-quarkus-integration-test-debezium, LANGUAGE=en_US, LMOD_VERSION=8.7.32, KDE_SESSION_VERSION=5, LESSOPEN=||/usr/bin/lesspipe.sh %s, SDKMAN_CANDIDATES_API=https://api.sdkman.io/2, IMSETTINGS_INTEGRATE_DESKTOP=yes, MVND_HOME=/home/ppalaga/.sdkman/candidates/mvnd/current, SHLVL=1, QT_QPA_PLATFORM=xcb, OXYGEN_DISABLE_INNER_SHADOWS_HACK=1, D=-Dmaven.surefire.debug=-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=8000 -Xnoagent -Djava.compiler=NONE, HISTSIZE=100000, JAVA_HOME=/home/ppalaga/.sdkman/candidates/java/current, TERM=xterm, KDE_SESSION_UID=1000, XDG_CONFIG_DIRS=/home/pp
alaga/.config/kdedefaults:/etc/xdg:/usr/share/kde-settings/kde-profile/default/xdg, XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0, XDG_SESSION_ID=1, GTK_RC_FILES=/etc/gtk/gtkrc:/home/ppalaga/.gtkrc:/home/ppalaga/.config/gtkrc, _=/home/ppalaga/.sdkman/candidates/java/17.0.12-tem/bin/java, XDG_SESSION_CLASS=user, XCURSOR_SIZE=24, LIBOVERLAY_SCROLLBAR=0, GDK_CORE_DEVICE_EVENTS=1, DESKTOP_SESSION=plasmax11, GTK2_RC_FILES=/home/ppalaga/.gtkrc-2.0-kde4, XDG_MENU_PREFIX=kf5-, BASH_FUNC_ml%%=() { eval "$($LMOD_DIR/ml_cmd "$@")"
[INFO] [stdout] }, INVOCATION_ID=e63c39e039f8412fa77fd0a1394e657d, XAUTHORITY=/run/user/1000/xauth_YfpQVt, XDG_DATA_DIRS=/home/ppalaga/.local/share/flatpak/exports/share:/var/lib/flatpak/exports/share:/usr/local/share:/usr/share, MODULEPATH=/etc/modulefiles:/usr/share/modulefiles:/usr/share/modulefiles/Linux:/usr/share/modulefiles/Core:/usr/share/lmod/lmod/modulefiles/Core, GTK_IM_MODULE=gtk-im-context-simple, XDG_CURRENT_DESKTOP=KDE, JOURNAL_STREAM=8:21807, MAVEN_HOME=/home/ppalaga/.sdkman/candidates/maven/current, MODULEPATH_ROOT=/usr/share/modulefiles, MAIL=/var/spool/mail/ppalaga, GRAALVM_HOME=/home/ppalaga/.sdkman/candidates/java/22.3.r17-grl, LOGNAME=ppalaga, JBANG_EDITOR=code, XCURSOR_THEME=breeze_cursors, LMOD_CMD=/usr/share/lmod/lmod/libexec/lmod, SHELL=/bin/bash, BASH_ENV=/usr/share/lmod/lmod/init/bash, ECLIPSE_WORKSPACE=/home/ppalaga/orgs/quarkus, OLDPWD=/home/ppalaga/orgs/quarkus/quarkus-platform/generated-platform-project/quarkus-camel/integration-tests/camel-quarkus-
integration-test-debezium, GEM_HOME=/home/ppalaga/gems, KDE_FULL_SESSION=true, SSH_ASKPASS=/usr/bin/ksshaskpass, XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0, DEBUGINFOD_URLS=https://debuginfod.fedoraproject.org/, SYSTEMD_EXEC_PID=2231, LS_COLORS=rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=01;37;41:su=37;41:sg=30;43:ca=00:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.zst=01;31:*.tzst=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.wim=01;31:*.swm=01;31:*.dwm=01;31:*.esd=01;31:*.avif=01;35:*.jpg=01;35:*.
jpeg=01;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.webp=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=01;36:*.au=01;36:*.flac=01;36:*.m4a=01;36:*.mid=01;36:*.midi=01;36:*.mka=01;36:*.mp3=01;36:*.mpc=01;36:*.ogg=01;36:*.ra=01;36:*.wav=01;36:*.oga=01;36:*.opus=01;36:*.spx=01;36:*.xspf=01;36:*~=00;90:*#=00;90:*.bak=00;90:*.old=00;90:*.orig=00;90:*.part=00;90:*.rej=00;90:*.swp=00;90:*.tmp=00;90:*.dpkg-dist=00;90:*.dpkg-old=00;90:*.ucf-dist=00;90:*.ucf-new=00;90:*.ucf-old=00;90:*.rpmnew=00;90:*.rpmor
ig=00;90:*.rpmsave=00;90:, XDG_SESSION_DESKTOP=KDE, KDE_APPLICATIONS_AS_SCOPE=1, MANPATH=/usr/share/lmod/lmod/share/man:, QT_IM_MODULE=xim, SDKMAN_OLD_PWD=/home/ppalaga/orgs/quarkus/quarkus-platform/generated-platform-project/quarkus-camel/integration-tests/camel-quarkus-integration-test-debezium, JBANG_HOME=/home/ppalaga/.sdkman/candidates/jbang/current, LANG=en_IE.UTF-8, XDG_SESSION_TYPE=x11, HISTFILESIZE=100000, LMOD_PKG=/usr/share/lmod/lmod, DISPLAY=:0, BASH_FUNC_module%%=() { if [ -z "${LMOD_SH_DBG_ON+x}" ]; then
[INFO] [stdout] case "$-" in
[INFO] [stdout] *v*x*)
[INFO] [stdout] __lmod_sh_dbg='vx'
[INFO] [stdout] ;;
[INFO] [stdout] *v*)
[INFO] [stdout] __lmod_sh_dbg='v'
[INFO] [stdout] ;;
[INFO] [stdout] *x*)
[INFO] [stdout] __lmod_sh_dbg='x'
[INFO] [stdout] ;;
[INFO] [stdout] esac;
[INFO] [stdout] fi;
[INFO] [stdout] if [ -n "${__lmod_sh_dbg:-}" ]; then
[INFO] [stdout] set +$__lmod_sh_dbg;
[INFO] [stdout] echo "Shell debugging temporarily silenced: export LMOD_SH_DBG_ON=1 for Lmod's output" 1>&2;
[INFO] [stdout] fi;
[INFO] [stdout] eval "$($LMOD_CMD shell "$@")" && eval "$(${LMOD_SETTARG_CMD:-:} -s sh)";
[INFO] [stdout] __lmod_my_status=$?;
[INFO] [stdout] if [ -n "${__lmod_sh_dbg:-}" ]; then
[INFO] [stdout] echo "Shell debugging restarted" 1>&2;
[INFO] [stdout] set -$__lmod_sh_dbg;
[INFO] [stdout] fi;
[INFO] [stdout] unset __lmod_sh_dbg;
[INFO] [stdout] return $__lmod_my_status
[INFO] [stdout] }, ECLIPSE_HOME=/home/ppalaga/bin/eclipse-installations/java-latest/eclipse, SDKMAN_CANDIDATES_DIR=/home/ppalaga/.sdkman/candidates, JBAKE_HOME=/home/ppalaga/.sdkman/candidates/jbake/current, GDK_BACKEND=x11, LMOD_ROOT=/usr/share/lmod, SDKMAN_PLATFORM=linuxx64, USER=ppalaga, XDG_SEAT=seat0, SSH_AUTH_SOCK=/tmp/ssh-XXXXXXJdpYo7/agent.1689, EDITOR=/home/ppalaga/bin/nano-ansi.sh, HOSTNAME=terpistone, MODULESHOME=/usr/share/lmod/lmod, LMOD_sys=Linux, KDEDIRS=/usr, XDG_RUNTIME_DIR=/run/user/1000, XDG_VTNR=1, HOME=/home/ppalaga})
[INFO] [stdout] 2024-09-23 14:00:09,377 INFO [org.tes.ima.PullPolicy] (pool-3-thread-1) Image pull policy will be performed by: DefaultPullPolicy()
[INFO] [stdout] 2024-09-23 14:00:09,379 INFO [org.tes.uti.ImageNameSubstitutor] (pool-3-thread-1) Image name substitution will be performed by: DefaultImageNameSubstitutor (composite of 'ConfigurationFileImageNameSubstitutor' and 'PrefixingImageNameSubstitutor')
[INFO] [stdout] 2024-09-23 14:00:09,384 INFO [org.tes.DockerClientFactory] (pool-3-thread-1) Testcontainers version: 1.20.1
[INFO] [stdout] 2024-09-23 14:00:09,488 INFO [org.tes.doc.DockerClientProviderStrategy] (pool-3-thread-1) Loaded org.testcontainers.dockerclient.UnixSocketClientProviderStrategy from ~/.testcontainers.properties, will try it first
[INFO] [stdout] 2024-09-23 14:00:09,708 INFO [org.tes.doc.DockerClientProviderStrategy] (pool-3-thread-1) Found Docker environment with local Unix socket (unix:///var/run/docker.sock)
[INFO] [stdout] 2024-09-23 14:00:09,709 INFO [org.tes.DockerClientFactory] (pool-3-thread-1) Docker host IP address is localhost
[INFO] [stdout] 2024-09-23 14:00:09,724 INFO [org.tes.DockerClientFactory] (pool-3-thread-1) Connected to docker:
[INFO] [stdout] Server Version: 26.1.4
[INFO] [stdout] API Version: 1.45
[INFO] [stdout] Operating System: Fedora Linux 38 (KDE Plasma)
[INFO] [stdout] Total Memory: 64149 MB
[INFO] [stdout] 2024-09-23 14:00:09,818 INFO [tc.tes.8.1] (pool-3-thread-1) Creating container for image: testcontainers/ryuk:0.8.1
[INFO] [stdout] 2024-09-23 14:00:09,822 INFO [org.tes.uti.RegistryAuthLocator] (pool-3-thread-1) Failure when attempting to lookup auth config. Please ignore if you don't have images in an authenticated registry. Details: (dockerImageName: testcontainers/ryuk:0.8.1, configFile: /home/ppalaga/.docker/config.json, configEnv: DOCKER_AUTH_CONFIG). Falling back to docker-java default behaviour. Exception message: Status 404: No config supplied. Checked in order: /home/ppalaga/.docker/config.json (file not found), DOCKER_AUTH_CONFIG (not set)
[INFO] [stdout] 2024-09-23 14:00:09,904 INFO [tc.tes.8.1] (pool-3-thread-1) Container testcontainers/ryuk:0.8.1 is starting: 95fadc5753cb2e6703222247eaf11809e737491dc6bd0fe3ad1b658aa4d75ab9
[INFO] [stdout] 2024-09-23 14:00:10,245 INFO [tc.tes.8.1] (pool-3-thread-1) Container testcontainers/ryuk:0.8.1 started in PT0.426914915S
[INFO] [stdout] 2024-09-23 14:00:10,249 INFO [org.tes.uti.RyukResourceReaper] (pool-3-thread-1) Ryuk started - will monitor and terminate Testcontainers containers on JVM exit
[INFO] [stdout] 2024-09-23 14:00:10,249 INFO [org.tes.DockerClientFactory] (pool-3-thread-1) Checking the system...
[INFO] [stdout] 2024-09-23 14:00:10,250 INFO [org.tes.DockerClientFactory] (pool-3-thread-1) ✔︎ Docker server version should be at least 1.6.0
[INFO] [stdout] 2024-09-23 14:00:10,258 ERROR [org.apa.cam.qua.com.deb.com.it.AbstractDebeziumTestResource] (pool-3-thread-1) Container does not start: org.testcontainers.containers.ContainerLaunchException: Container startup failed for image mcr.microsoft.com/mssql/server:2022-latest
[INFO] [stdout] at org.testcontainers.containers.GenericContainer.doStart(GenericContainer.java:359)
[INFO] [stdout] at org.testcontainers.containers.GenericContainer.start(GenericContainer.java:330)
[INFO] [stdout] at org.apache.camel.quarkus.component.debezium.common.it.AbstractDebeziumTestResource.startContainer(AbstractDebeziumTestResource.java:87)
[INFO] [stdout] at org.apache.camel.quarkus.component.debezium.common.it.AbstractDebeziumTestResource.start(AbstractDebeziumTestResource.java:65)
[INFO] [stdout] at org.apache.camel.quarkus.component.debezium.common.it.sqlserver.DebeziumSqlserverTestResource.start(DebeziumSqlserverTestResource.java:68)
[INFO] [stdout] at io.quarkus.test.common.TestResourceManager$TestResourceEntryRunnable.run(TestResourceManager.java:542)
[INFO] [stdout] at java.base/java.util.concurrent.CompletableFuture$AsyncRun.run(CompletableFuture.java:1804)
[INFO] [stdout] at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
[INFO] [stdout] at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
[INFO] [stdout] at java.base/java.lang.Thread.run(Thread.java:840)
[INFO] [stdout] Caused by: java.lang.IllegalStateException: The image mcr.microsoft.com/mssql/server:2022-latest requires you to accept a license agreement. Please place a file at the root of the classpath named container-license-acceptance.txt, e.g. at src/test/resources/container-license-acceptance.txt. This file should contain the line:
[INFO] [stdout] mcr.microsoft.com/mssql/server:2022-latest
[INFO] [stdout] at org.testcontainers.utility.LicenseAcceptance.assertLicenseAccepted(LicenseAcceptance.java:30)
[INFO] [stdout] at org.testcontainers.containers.MSSQLServerContainer.configure(MSSQLServerContainer.java:77)
[INFO] [stdout] at org.testcontainers.containers.GenericContainer.doStart(GenericContainer.java:339)
[INFO] [stdout] ... 9 more
[INFO] [stdout]
[INFO] [stdout] 2024-09-23 14:00:10,259 WARN [org.apa.cam.qua.com.deb.com.it.sql.DebeziumSqlserverTestResource] (pool-3-thread-1) If initSqlScript.sql fails with the message 'The error returned was 14258: 'Cannot perform this operation while SQLServerAgent is starting.', please increase a delay interval in the script.
[INFO] [stdout] 2024-09-23 14:00:10,262 INFO [org.apa.cam.qua.tes.AvailablePortFinder] (main) Releasing port 41779 reserved by org.apache.camel.quarkus.component.debezium.common.it.mongodb.DebeziumMongodbTestResource
[ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 17.957 s <<< FAILURE! - in org.apache.camel.quarkus.component.debezium.common.it.mysql.DebeziumMysqlTest
[ERROR] org.apache.camel.quarkus.component.debezium.common.it.mysql.DebeziumMysqlTest Time elapsed: 17.957 s <<< ERROR!
java.lang.RuntimeException: java.lang.RuntimeException: Unable to start Quarkus test resource class org.apache.camel.quarkus.component.debezium.common.it.sqlserver.DebeziumSqlserverTestResource
at io.quarkus.test.junit.QuarkusTestExtension.throwBootFailureException(QuarkusTestExtension.java:634)
at io.quarkus.test.junit.QuarkusTestExtension.interceptBeforeAllMethod(QuarkusTestExtension.java:702)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
Suppressed: java.lang.NullPointerException: Cannot invoke "io.quarkus.bootstrap.app.RunningQuarkusApplication.getClassLoader()" because "io.quarkus.test.junit.QuarkusTestExtension.runningQuarkusApplication" is null
at io.quarkus.test.junit.QuarkusTestExtension.runExtensionMethod(QuarkusTestExtension.java:911)
at io.quarkus.test.junit.QuarkusTestExtension.runExtensionMethod(QuarkusTestExtension.java:903)
at io.quarkus.test.junit.QuarkusTestExtension.interceptAfterAllMethod(QuarkusTestExtension.java:897)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
at java.base/java.util.Collections$UnmodifiableCollection.forEach(Collections.java:1092)
... 1 more
Caused by: java.lang.RuntimeException: Unable to start Quarkus test resource class org.apache.camel.quarkus.component.debezium.common.it.sqlserver.DebeziumSqlserverTestResource
at io.quarkus.test.common.TestResourceManager$TestResourceEntryRunnable.run(TestResourceManager.java:548)
at java.base/java.util.concurrent.CompletableFuture$AsyncRun.run(CompletableFuture.java:1804)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
at java.base/java.lang.Thread.run(Thread.java:840)
Caused by: java.lang.RuntimeException: org.testcontainers.containers.ContainerLaunchException: Container startup failed for image mcr.microsoft.com/mssql/server:2022-latest
at org.apache.camel.quarkus.component.debezium.common.it.AbstractDebeziumTestResource.start(AbstractDebeziumTestResource.java:82)
at org.apache.camel.quarkus.component.debezium.common.it.sqlserver.DebeziumSqlserverTestResource.start(DebeziumSqlserverTestResource.java:68)
at io.quarkus.test.common.TestResourceManager$TestResourceEntryRunnable.run(TestResourceManager.java:542)
... 4 more
Caused by: org.testcontainers.containers.ContainerLaunchException: Container startup failed for image mcr.microsoft.com/mssql/server:2022-latest
at org.testcontainers.containers.GenericContainer.doStart(GenericContainer.java:359)
at org.testcontainers.containers.GenericContainer.start(GenericContainer.java:330)
at org.apache.camel.quarkus.component.debezium.common.it.AbstractDebeziumTestResource.startContainer(AbstractDebeziumTestResource.java:87)
at org.apache.camel.quarkus.component.debezium.common.it.AbstractDebeziumTestResource.start(AbstractDebeziumTestResource.java:65)
... 6 more
Caused by: java.lang.IllegalStateException: The image mcr.microsoft.com/mssql/server:2022-latest requires you to accept a license agreement. Please place a file at the root of the classpath named container-license-acceptance.txt, e.g. at src/test/resources/container-license-acceptance.txt. This file should contain the line:
mcr.microsoft.com/mssql/server:2022-latest
at org.testcontainers.utility.LicenseAcceptance.assertLicenseAccepted(LicenseAcceptance.java:30)
at org.testcontainers.containers.MSSQLServerContainer.configure(MSSQLServerContainer.java:77)
at org.testcontainers.containers.GenericContainer.doStart(GenericContainer.java:339)
... 9 more
[INFO] Running org.apache.camel.quarkus.component.debezium.common.it.postgres.DebeziumPostgresTest
[ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.001 s <<< FAILURE! - in org.apache.camel.quarkus.component.debezium.common.it.postgres.DebeziumPostgresTest
[ERROR] org.apache.camel.quarkus.component.debezium.common.it.postgres.DebeziumPostgresTest Time elapsed: 0.001 s <<< ERROR!
java.lang.NullPointerException: Cannot invoke "io.quarkus.bootstrap.app.RunningQuarkusApplication.getClassLoader()" because "io.quarkus.test.junit.QuarkusTestExtension.runningQuarkusApplication" is null
at io.quarkus.test.junit.QuarkusTestExtension.runExtensionMethod(QuarkusTestExtension.java:911)
at io.quarkus.test.junit.QuarkusTestExtension.runExtensionMethod(QuarkusTestExtension.java:903)
at io.quarkus.test.junit.QuarkusTestExtension.interceptAfterAllMethod(QuarkusTestExtension.java:897)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
at java.base/java.util.Collections$UnmodifiableCollection.forEach(Collections.java:1092)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
Suppressed: org.opentest4j.TestAbortedException: Boot failed
at io.quarkus.test.junit.QuarkusTestExtension.throwBootFailureException(QuarkusTestExtension.java:636)
at io.quarkus.test.junit.QuarkusTestExtension.interceptBeforeAllMethod(QuarkusTestExtension.java:702)
... 1 more
Suppressed: [CIRCULAR REFERENCE: org.opentest4j.TestAbortedException: Boot failed]
[INFO] Running org.apache.camel.quarkus.component.debezium.common.it.sqlserver.DebeziumSqlserverTest
[ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.002 s <<< FAILURE! - in org.apache.camel.quarkus.component.debezium.common.it.sqlserver.DebeziumSqlserverTest
[ERROR] org.apache.camel.quarkus.component.debezium.common.it.sqlserver.DebeziumSqlserverTest Time elapsed: 0.002 s <<< ERROR!
java.lang.NullPointerException: Cannot invoke "io.quarkus.bootstrap.app.RunningQuarkusApplication.getClassLoader()" because "io.quarkus.test.junit.QuarkusTestExtension.runningQuarkusApplication" is null
at io.quarkus.test.junit.QuarkusTestExtension.runExtensionMethod(QuarkusTestExtension.java:911)
at io.quarkus.test.junit.QuarkusTestExtension.runExtensionMethod(QuarkusTestExtension.java:903)
at io.quarkus.test.junit.QuarkusTestExtension.interceptAfterAllMethod(QuarkusTestExtension.java:897)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
at java.base/java.util.Collections$UnmodifiableCollection.forEach(Collections.java:1092)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
Suppressed: org.opentest4j.TestAbortedException: Boot failed
at io.quarkus.test.junit.QuarkusTestExtension.throwBootFailureException(QuarkusTestExtension.java:636)
at io.quarkus.test.junit.QuarkusTestExtension.interceptBeforeAllMethod(QuarkusTestExtension.java:702)
... 1 more
Suppressed: [CIRCULAR REFERENCE: org.opentest4j.TestAbortedException: Boot failed]
[INFO]
[INFO] Results:
[INFO]
[ERROR] Errors:
[ERROR] DebeziumMysqlTest » Runtime java.lang.RuntimeException: Unable to start Quarkus test resource class org.apache.camel.quarkus.component.debezium.common.it.sqlserver.DebeziumSqlserverTestResource
[ERROR] DebeziumPostgresTest » NullPointer Cannot invoke "io.quarkus.bootstrap.app.RunningQuarkusApplication.getClassLoader()" because "io.quarkus.test.junit.QuarkusTestExtension.runningQuarkusApplication" is null
[ERROR] DebeziumSqlserverTest » NullPointer Cannot invoke "io.quarkus.bootstrap.app.RunningQuarkusApplication.getClassLoader()" because "io.quarkus.test.junit.QuarkusTestExtension.runningQuarkusApplication" is null
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Debezium tests are failing on the Platform due to failed startup of `mcr.microsoft.com/mssql/server:2022-latest` [camel-quarkus]
Posted by "apupier (via GitHub)" <gi...@apache.org>.
apupier commented on issue #6517:
URL: https://github.com/apache/camel-quarkus/issues/6517#issuecomment-3375654613
```
The image mcr.microsoft.com/mssql/server:2022-latest requires you to accept a license agreement. Please place a file at the root of the classpath named container-license-acceptance.txt, e.g. at src/test/resources/container-license-acceptance.txt. This file should contain the line:
mcr.microsoft.com/mssql/server:2022-latest
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Debezium tests are failing on the Platform due to failed startup of `mcr.microsoft.com/mssql/server:2022-latest` [camel-quarkus]
Posted by "llowinge (via GitHub)" <gi...@apache.org>.
llowinge commented on issue #6517:
URL: https://github.com/apache/camel-quarkus/issues/6517#issuecomment-3437198207
@ppalaga Or it can be baked into the test-jar with eg.:
```
<build>
<resources>
<resource>
<directory>src/test/resources</directory>
<filtering>false</filtering>
<includes>
<include>**/container-license-acceptance.txt</include>
</includes>
</resource>
</resources>
</build>
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Debezium tests are failing on the Platform due to failed startup of `mcr.microsoft.com/mssql/server:2022-latest` [camel-quarkus]
Posted by "jamesnetherton (via GitHub)" <gi...@apache.org>.
jamesnetherton closed issue #6517: Debezium tests are failing on the Platform due to failed startup of `mcr.microsoft.com/mssql/server:2022-latest`
URL: https://github.com/apache/camel-quarkus/issues/6517
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Debezium tests are failing on the Platform due to failed startup of `mcr.microsoft.com/mssql/server:2022-latest` [camel-quarkus]
Posted by "jamesnetherton (via GitHub)" <gi...@apache.org>.
jamesnetherton commented on issue #6517:
URL: https://github.com/apache/camel-quarkus/issues/6517#issuecomment-3570163544
I enabled Debeizum tests in the platform for 3.30 and they passed.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Debezium tests are failing on the Platform due to failed startup of `mcr.microsoft.com/mssql/server:2022-latest` [camel-quarkus]
Posted by "ppalaga (via GitHub)" <gi...@apache.org>.
ppalaga commented on issue #6517:
URL: https://github.com/apache/camel-quarkus/issues/6517#issuecomment-3376012257
Thanks for the investigation @apupier. We should write that file from a TestResource before starting the container rather than relying on Maven resources plugin. That would work both here and on the Platform.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Debezium tests are failing on the Platform due to failed startup of `mcr.microsoft.com/mssql/server:2022-latest` [camel-quarkus]
Posted by "llowinge (via GitHub)" <gi...@apache.org>.
llowinge commented on issue #6517:
URL: https://github.com/apache/camel-quarkus/issues/6517#issuecomment-3437233584
@ppalaga Sorry, i meant something more like
```
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
<execution>
<id>copy-test-resources</id>
<phase>process-test-resources</phase>
<goals>
<goal>testResources</goal>
</goals>
</execution>
</executions>
</plugin>
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org