Files
qt-migration-copilot-demo/0d/9a8cfb0768/0/prompt.txt
T
torsten f3341b31df Checkpoint: 0d9a8cfb0768
Entire-Session: bee883d0-1a8f-422e-a79d-a65585432852
Entire-Strategy: manual-commit
Entire-Agent: Copilot CLI
Ephemeral-branch: entire/4f6b09d-e3b0c4
2026-10-22 19:36:20 +02:00

680 lines
38 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
jenkins@8fe7179eb15c:/$ ls -al /var/jenkins_home/workspace/qt-migration-copilot-demo_PR-3
total 12
drwxr-xr-x 3 jenkins jenkins 4096 Oct 22 16:15 .
drwxr-xr-x 8 jenkins jenkins 4096 Oct 22 16:11 ..
drwxr-xr-x 6 root root 4096 Oct 22 16:14 build enkins@8fe7179eb15c:/$ ls -al /var/jenkins_home/workspace/qt-migration-copilot-demo_PR-3/build | head
total 256
drwxr-xr-x 6 root root 4096 Oct 22 16:14 .
drwxr-xr-x 3 jenkins jenkins 4096 Oct 22 16:15 ..
-rw-r--r-- 1 root root 110148 Oct 22 16:14 .ninja_deps
-rw-r--r-- 1 root root 1879 Oct 22 16:14 .ninja_log
drwxr-xr-x 2 root root 4096 Oct 22 16:14 .qt
-rw-r--r-- 1 root root 57311 Oct 22 16:14 CMakeCache.txt
drwxr-xr-x 10 root root 4096 Oct 22 16:14 CMakeFiles
-rw-r--r-- 1 root root 804 Oct 22 16:14 CTestTestfile.cmake
drwxr-xr-x 4 root root 4096 Oct 22 16:14 Qt6MigratedBenchmarkTest_autogen is there an error in ./ci/Dockerfile.ci oder in compose.yml? jenkins:
build:
context: ${SETUP_ROOT}/compose
dockerfile: Dockerfile.jenkins
container_name: jenkins
restart: unless-stopped
group_add:
- "986"
environment:
JAVA_OPTS: "-Djenkins.install.runSetupWizard=true"
JENKINS_OPTS: "--httpPort=${JENKINS_HTTP_INTERNAL_PORT}"
volumes:
- ${SETUP_ROOT}/jenkins/home:/var/jenkins_home
- /var/run/docker.sock:/var/run/docker.sock
networks:
- devnet cat Dockerfile.jenkins
FROM docker:27-cli AS dockercli
FROM jenkins/jenkins:lts-jdk25
USER root
RUN apt-get update && \
apt-get install -y --no-install-recommends \
git \
ca-certificates && \
rm -rf /var/lib/apt/lists/*
COPY --from=dockercli /usr/local/bin/docker /usr/local/bin/docker
USER jenkins
COPY --chown=jenkins:jenkins plugins.txt /usr/share/jenkins/ref/plugins.txt
RUN jenkins-plugin-cli --plugin-file /usr/share/jenkins/ref/plugins.txt
---
error persists, still root:root in bild/ in jenkins container? how to restart ?
---
Started by user twi
Looking up repository lifemaps/qt-migration-copilot-demo
Querying the current revision of pull request #3...
Current revision of pull request #3 is 947e910c1a822984b7121c66cda072f607771501
Obtained Jenkinsfile from 9e3c6eef2e21fca64404f0eaf274fcc626698176+947e910c1a822984b7121c66cda072f607771501
[Pipeline] Start of Pipeline
[Pipeline] getContext
[Pipeline] node
Running on Jenkins
in /var/jenkins_home/workspace/qt-migration-copilot-demo_PR-3
[Pipeline] {
[Pipeline] stage
[Pipeline] { (Declarative: Checkout SCM)
[Pipeline] checkout
The recommended git tool is: NONE
using credential gitea-token
Cloning the remote Git repository
Cloning with configured refspecs honoured and without tags
Cloning repository https://gitea.life-maps.com/lifemaps/qt-migration-copilot-demo.git
> git init /var/jenkins_home/workspace/qt-migration-copilot-demo_PR-3 # timeout=10
Fetching upstream changes from https://gitea.life-maps.com/lifemaps/qt-migration-copilot-demo.git
> git --version # timeout=10
> git --version # 'git version 2.47.3'
using GIT_ASKPASS to set credentials Gitea token for Jenkins hook management
> git fetch --no-tags --force --progress -- https://gitea.life-maps.com/lifemaps/qt-migration-copilot-demo.git +refs/pull/3/head:refs/remotes/origin/PR-3 +refs/heads/main:refs/remotes/origin/main # timeout=10
> git config remote.origin.url https://gitea.life-maps.com/lifemaps/qt-migration-copilot-demo.git # timeout=10
> git config --add remote.origin.fetch +refs/pull/3/head:refs/remotes/origin/PR-3 # timeout=10
> git config --add remote.origin.fetch +refs/heads/main:refs/remotes/origin/main # timeout=10
> git config remote.origin.url https://gitea.life-maps.com/lifemaps/qt-migration-copilot-demo.git # timeout=10
Fetching without tags
Fetching upstream changes from https://gitea.life-maps.com/lifemaps/qt-migration-copilot-demo.git
using GIT_ASKPASS to set credentials Gitea token for Jenkins hook management
> git fetch --no-tags --force --progress -- https://gitea.life-maps.com/lifemaps/qt-migration-copilot-demo.git +refs/pull/3/head:refs/remotes/origin/PR-3 +refs/heads/main:refs/remotes/origin/main # timeout=10
Merging remotes/origin/main commit 9e3c6eef2e21fca64404f0eaf274fcc626698176 into PR head commit 947e910c1a822984b7121c66cda072f607771501
> git config core.sparsecheckout # timeout=10
> git checkout -f 947e910c1a822984b7121c66cda072f607771501 # timeout=10
> git remote # timeout=10
> git config --get remote.origin.url # timeout=10
using GIT_ASKPASS to set credentials Gitea token for Jenkins hook management
> git merge 9e3c6eef2e21fca64404f0eaf274fcc626698176 # timeout=10
> git rev-parse HEAD^{commit} # timeout=10
Merge succeeded, producing 947e910c1a822984b7121c66cda072f607771501
Checking out Revision 947e910c1a822984b7121c66cda072f607771501 (feature/integrate-jenkins-code-coverage)
> git config core.sparsecheckout # timeout=10
> git checkout -f 947e910c1a822984b7121c66cda072f607771501 # timeout=10
Commit message: "Fix Jenkins workspace permission issue"
First time build. Skipping changelog.
[Gitea] Notifying pull request build status: PENDING Build started...
[Gitea] Notified
[Pipeline] }
[Pipeline] // stage
[Pipeline] withEnv
[Pipeline] {
[Pipeline] isUnix
[Pipeline] withEnv
[Pipeline] {
[Pipeline] sh
+ docker inspect -f . lifemaps/ci-cpp:latest
.
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] withDockerContainer
Jenkins seems to be running inside container 8fe7179eb15c26aacbb1972da0e1405424375ee4357f5f0628ebafd5a4ea78a3
$ docker run -t -d -u 1000:1000 -w /var/jenkins_home/workspace/qt-migration-copilot-demo_PR-3 --volumes-from 8fe7179eb15c26aacbb1972da0e1405424375ee4357f5f0628ebafd5a4ea78a3 -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** lifemaps/ci-cpp:latest cat
$ docker top 3e3b0d678983c07686a7751def1a4d4a881d9b89ad9747902d0f3ed5a627b76a -eo pid,comm
[Pipeline] {
[Pipeline] withEnv
[Pipeline] {
[Pipeline] timestamps
[Pipeline] {
[Pipeline] stage
[Pipeline] { (Cleanup)
[Pipeline] script
[Pipeline] {
[Pipeline] echo
18:39:26 Cleaning workspace to avoid corruption issues...
[Pipeline] sh
18:39:26 + [ -d /var/jenkins_home/workspace/qt-migration-copilot-demo_PR-3/build ]
18:39:26 + [ -d /var/jenkins_home/workspace/qt-migration-copilot-demo_PR-3/build-coverage ]
18:39:26 + [ -d /var/jenkins_home/workspace/qt-migration-copilot-demo_PR-3/coverage ]
[Pipeline] }
[Pipeline] // script
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Checkout)
[Pipeline] checkout
18:39:26 The recommended git tool is: NONE
18:39:26 using credential gitea-token
18:39:26 Warning: JENKINS-30600: special launcher org.jenkinsci.plugins.docker.workflow.WithContainerStep$Decorator$1@49e98ee3; decorates hudson.Launcher$LocalLauncher@36168523 will be ignored (a typical symptom is the Git executable not being run inside a designated container)
18:39:26 > git rev-parse --resolve-git-dir /var/jenkins_home/workspace/qt-migration-copilot-demo_PR-3/.git # timeout=10
18:39:26 Fetching changes from the remote Git repository
18:39:26 > git config remote.origin.url https://gitea.life-maps.com/lifemaps/qt-migration-copilot-demo.git # timeout=10
18:39:26 Fetching without tags
18:39:26 Fetching upstream changes from https://gitea.life-maps.com/lifemaps/qt-migration-copilot-demo.git
18:39:26 > git --version # timeout=10
18:39:26 > git --version # 'git version 2.47.3'
18:39:26 using GIT_ASKPASS to set credentials Gitea token for Jenkins hook management
18:39:26 > git fetch --no-tags --force --progress -- https://gitea.life-maps.com/lifemaps/qt-migration-copilot-demo.git +refs/pull/3/head:refs/remotes/origin/PR-3 +refs/heads/main:refs/remotes/origin/main # timeout=10
18:39:26 Merging remotes/origin/main commit 9e3c6eef2e21fca64404f0eaf274fcc626698176 into PR head commit 947e910c1a822984b7121c66cda072f607771501
18:39:26 > git config core.sparsecheckout # timeout=10
18:39:26 > git checkout -f 947e910c1a822984b7121c66cda072f607771501 # timeout=10
18:39:26 > git remote # timeout=10
18:39:26 > git config --get remote.origin.url # timeout=10
18:39:27 using GIT_ASKPASS to set credentials Gitea token for Jenkins hook management
18:39:27 > git merge 9e3c6eef2e21fca64404f0eaf274fcc626698176 # timeout=10
18:39:27 > git rev-parse HEAD^{commit} # timeout=10
18:39:27 Merge succeeded, producing 947e910c1a822984b7121c66cda072f607771501
18:39:27 Checking out Revision 947e910c1a822984b7121c66cda072f607771501 (feature/integrate-jenkins-code-coverage)
18:39:27 > git config core.sparsecheckout # timeout=10
18:39:27 > git checkout -f 947e910c1a822984b7121c66cda072f607771501 # timeout=10
18:39:27 Commit message: "Fix Jenkins workspace permission issue"
18:39:27 [Gitea] Notifying pull request build status: PENDING Build started...
18:39:27 [Gitea] Notified
[Pipeline] sh
18:39:27 + git fetch --all --prune
[Pipeline] sh
18:39:27 + git submodule update --init --recursive
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Tool Versions)
[Pipeline] sh
18:39:27 + python3 --version
18:39:27 Python 3.14.4
18:39:27 + cmake --version
18:39:27 cmake version 4.2.3
18:39:27
18:39:27 CMake suite maintained and supported by Kitware (kitware.com/cmake).
18:39:27 + ninja --version
18:39:27 1.13.2
18:39:27 + g++ --version
18:39:27 g++ (Ubuntu 15.2.0-16ubuntu1) 15.2.0
18:39:27 Copyright (C) 2025 Free Software Foundation, Inc.
18:39:27 This is free software; see the source for copying conditions. There is NO
18:39:27 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
18:39:27
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Qt Diagnostics)
[Pipeline] sh
18:39:28 + echo QT_QPA_PLATFORM=offscreen
18:39:28 QT_QPA_PLATFORM=offscreen
18:39:28 + echo LANG=
18:39:28 LANG=
18:39:28 + echo LC_ALL=C.UTF-8
18:39:28 LC_ALL=C.UTF-8
18:39:28 + dpkg -l
18:39:28 + grep -E qt6-base-dev|qtbase5-dev|qt6-tools
18:39:28 ii qt6-base-dev:amd64 6.10.2+dfsg-7 amd64 Qt 6 base development files
18:39:28 ii qt6-base-dev-tools 6.10.2+dfsg-7 amd64 Qt 6 base development programs
18:39:28 ii qt6-tools-dev:amd64 6.10.2-1 amd64 Qt 6 Tools - development files
18:39:28 ii qt6-tools-dev-tools 6.10.2-1 amd64 Qt 6 development tools
18:39:28 ii qtbase5-dev:amd64 5.15.18+dfsg-1ubuntu1 amd64 Qt 5 base development files
18:39:28 ii qtbase5-dev-tools 5.15.18+dfsg-1ubuntu1 amd64 Qt 5 base development programs
18:39:28 + pkg-config --list-all
18:39:28 + grep -i qt
18:39:28 Qt6Widgets Qt6 Widgets - Qt Widgets module
18:39:28 Qt6Linguist Qt6 Linguist - Qt Linguist module
18:39:28 Qt6Network Qt6 Network - Qt Network module
18:39:28 Qt6OpenGL Qt6 OpenGL - Qt OpenGL module
18:39:28 Qt5Gui Qt5 Gui - Qt Gui module
18:39:28 Qt5Test Qt5 Test - Qt Unit Testing Library
18:39:28 Qt5Widgets Qt5 Widgets - Qt Widgets module
18:39:28 Qt5Network Qt5 Network - Qt Network module
18:39:28 Qt6Core Qt6 Core - Qt Core module
18:39:28 Qt6OpenGLWidgets Qt6 OpenGLWidgets - Qt OpenGLWidgets module
18:39:28 Qt5Core Qt5 Core - Qt Core module
18:39:28 Qt6Test Qt6 Test - Qt Test module
18:39:28 Qt5Xml Qt5 Xml - Qt Xml module
18:39:28 Qt6Platform Qt6 Platform - Qt Platform module
18:39:28 Qt6Gui Qt6 Gui - Qt Gui module
18:39:28 Qt5DBus Qt5 DBus - Qt DBus module
18:39:28 Qt6Sql Qt6 Sql - Qt Sql module
18:39:28 Qt6PrintSupport Qt6 PrintSupport - Qt PrintSupport module
18:39:28 Qt6WaylandClient Qt6 WaylandClient - Qt WaylandClient module
18:39:28 Qt5Sql Qt5 Sql - Qt Sql module
18:39:28 Qt6UiTools Qt6 UiTools - Qt UiTools module
18:39:28 Qt6Designer Qt6 Designer - Qt Designer module
18:39:28 Qt6Xml Qt6 Xml - Qt Xml module
18:39:28 Qt5OpenGLExtensions Qt5 OpenGLExtensions - Qt OpenGLExtensions module
18:39:28 Qt5Concurrent Qt5 Concurrent - Qt Concurrent module
18:39:28 Qt6Concurrent Qt6 Concurrent - Qt Concurrent module
18:39:28 Qt5PrintSupport Qt5 PrintSupport - Qt PrintSupport module
18:39:28 Qt6UiPlugin Qt6 UiPlugin - Qt UiPlugin module
18:39:28 Qt6Help Qt6 Help - Qt Help module
18:39:28 Qt6DBus Qt6 DBus - Qt DBus module
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Policy Checks)
[Pipeline] sh
18:39:28 + python3 ci/check_pr_policies.py
18:39:28 Vergleiche gegen Ziel-Ref: origin/main
18:39:28 Prüfe SSH-Signatur: 947e910c1a822984b7121c66cda072f607771501
18:39:28 ERROR: Commit ist nicht gültig mit erlaubtem SSH-Signierer signiert: 947e910c1a822984b7121c66cda072f607771501
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Configure)
Stage "Configure" skipped due to earlier failure(s)
[Pipeline] getContext
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Build)
Stage "Build" skipped due to earlier failure(s)
[Pipeline] getContext
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Test)
Stage "Test" skipped due to earlier failure(s)
[Pipeline] getContext
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Coverage)
Stage "Coverage" skipped due to earlier failure(s)
[Pipeline] getContext
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Declarative: Post Actions)
[Pipeline] script
[Pipeline] {
[Pipeline] getContext
[Pipeline] sh
18:39:29 + [ -d /var/jenkins_home/workspace/qt-migration-copilot-demo_PR-3/build ]
18:39:29 + [ -d /var/jenkins_home/workspace/qt-migration-copilot-demo_PR-3/build-coverage ]
18:39:29 + [ -d /var/jenkins_home/workspace/qt-migration-copilot-demo_PR-3/coverage ]
[Pipeline] }
[Pipeline] // script
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[Pipeline] // timestamps
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] }
$ docker stop --time=1 3e3b0d678983c07686a7751def1a4d4a881d9b89ad9747902d0f3ed5a627b76a
$ docker rm -f --volumes 3e3b0d678983c07686a7751def1a4d4a881d9b89ad9747902d0f3ed5a627b76a
[Pipeline] // withDockerContainer
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] }
[Pipeline] // node
[Pipeline] End of Pipeline
ERROR: script returned exit code 1
[Gitea] Notifying pull request build status: FAILURE There was a failure building this commit
[Gitea] Notified
[Gitea] do not publish assets due to build being non-Successfully
Finished: FAILURE
---
Pull request #3 event
Looking up repository lifemaps/qt-migration-copilot-demo
Querying the current revision of pull request #3...
Current revision of pull request #3 is 0d37751d8c286894bbe9551811dff6e0bccefe76
Obtained Jenkinsfile from 9e3c6eef2e21fca64404f0eaf274fcc626698176+0d37751d8c286894bbe9551811dff6e0bccefe76
[Pipeline] Start of Pipeline
[Pipeline] getContext
[Pipeline] node
Running on Jenkins
in /var/jenkins_home/workspace/qt-migration-copilot-demo_PR-3
[Pipeline] {
[Pipeline] stage
[Pipeline] { (Declarative: Checkout SCM)
[Pipeline] checkout
The recommended git tool is: NONE
using credential gitea-token
> git rev-parse --resolve-git-dir /var/jenkins_home/workspace/qt-migration-copilot-demo_PR-3/.git # timeout=10
Fetching changes from the remote Git repository
> git config remote.origin.url https://gitea.life-maps.com/lifemaps/qt-migration-copilot-demo.git # timeout=10
Fetching without tags
Fetching upstream changes from https://gitea.life-maps.com/lifemaps/qt-migration-copilot-demo.git
> git --version # timeout=10
> git --version # 'git version 2.47.3'
using GIT_ASKPASS to set credentials Gitea token for Jenkins hook management
> git fetch --no-tags --force --progress -- https://gitea.life-maps.com/lifemaps/qt-migration-copilot-demo.git +refs/pull/3/head:refs/remotes/origin/PR-3 +refs/heads/main:refs/remotes/origin/main # timeout=10
Merging remotes/origin/main commit 9e3c6eef2e21fca64404f0eaf274fcc626698176 into PR head commit 0d37751d8c286894bbe9551811dff6e0bccefe76
> git config core.sparsecheckout # timeout=10
> git checkout -f 0d37751d8c286894bbe9551811dff6e0bccefe76 # timeout=10
> git remote # timeout=10
> git config --get remote.origin.url # timeout=10
using GIT_ASKPASS to set credentials Gitea token for Jenkins hook management
> git merge 9e3c6eef2e21fca64404f0eaf274fcc626698176 # timeout=10
> git rev-parse HEAD^{commit} # timeout=10
Merge succeeded, producing 0d37751d8c286894bbe9551811dff6e0bccefe76
Checking out Revision 0d37751d8c286894bbe9551811dff6e0bccefe76 (feature/integrate-jenkins-code-coverage)
> git config core.sparsecheckout # timeout=10
> git checkout -f 0d37751d8c286894bbe9551811dff6e0bccefe76 # timeout=10
Commit message: "Fix Jenkins workspace permission issue"
> git rev-list --no-walk 947e910c1a822984b7121c66cda072f607771501 # timeout=10
[Gitea] Notifying pull request build status: PENDING Build started...
[Gitea] Notified
[Pipeline] }
[Pipeline] // stage
[Pipeline] withEnv
[Pipeline] {
[Pipeline] isUnix
[Pipeline] withEnv
[Pipeline] {
[Pipeline] sh
+ docker inspect -f . lifemaps/ci-cpp:latest
.
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] withDockerContainer
Jenkins seems to be running inside container 8fe7179eb15c26aacbb1972da0e1405424375ee4357f5f0628ebafd5a4ea78a3
$ docker run -t -d -u 1000:1000 -w /var/jenkins_home/workspace/qt-migration-copilot-demo_PR-3 --volumes-from 8fe7179eb15c26aacbb1972da0e1405424375ee4357f5f0628ebafd5a4ea78a3 -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** lifemaps/ci-cpp:latest cat
$ docker top a8777b2f5e77b6f4ddc5c5d44460243fac102e7e338e512213e5305fa91dc0a3 -eo pid,comm
[Pipeline] {
[Pipeline] withEnv
[Pipeline] {
[Pipeline] timestamps
[Pipeline] {
[Pipeline] stage
[Pipeline] { (Cleanup)
[Pipeline] script
[Pipeline] {
[Pipeline] echo
18:41:28 Cleaning workspace to avoid corruption issues...
[Pipeline] sh
18:41:28 + [ -d /var/jenkins_home/workspace/qt-migration-copilot-demo_PR-3/build ]
18:41:28 + [ -d /var/jenkins_home/workspace/qt-migration-copilot-demo_PR-3/build-coverage ]
18:41:28 + [ -d /var/jenkins_home/workspace/qt-migration-copilot-demo_PR-3/coverage ]
[Pipeline] }
[Pipeline] // script
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Checkout)
[Pipeline] checkout
18:41:28 The recommended git tool is: NONE
18:41:28 using credential gitea-token
18:41:28 Warning: JENKINS-30600: special launcher org.jenkinsci.plugins.docker.workflow.WithContainerStep$Decorator$1@2294f98e; decorates hudson.Launcher$LocalLauncher@66500a6c will be ignored (a typical symptom is the Git executable not being run inside a designated container)
18:41:28 > git rev-parse --resolve-git-dir /var/jenkins_home/workspace/qt-migration-copilot-demo_PR-3/.git # timeout=10
18:41:28 Fetching changes from the remote Git repository
18:41:28 > git config remote.origin.url https://gitea.life-maps.com/lifemaps/qt-migration-copilot-demo.git # timeout=10
18:41:28 Fetching without tags
18:41:28 Fetching upstream changes from https://gitea.life-maps.com/lifemaps/qt-migration-copilot-demo.git
18:41:28 > git --version # timeout=10
18:41:28 > git --version # 'git version 2.47.3'
18:41:28 using GIT_ASKPASS to set credentials Gitea token for Jenkins hook management
18:41:28 > git fetch --no-tags --force --progress -- https://gitea.life-maps.com/lifemaps/qt-migration-copilot-demo.git +refs/pull/3/head:refs/remotes/origin/PR-3 +refs/heads/main:refs/remotes/origin/main # timeout=10
18:41:28 Merging remotes/origin/main commit 9e3c6eef2e21fca64404f0eaf274fcc626698176 into PR head commit 0d37751d8c286894bbe9551811dff6e0bccefe76
18:41:28 > git config core.sparsecheckout # timeout=10
18:41:28 > git checkout -f 0d37751d8c286894bbe9551811dff6e0bccefe76 # timeout=10
18:41:28 > git remote # timeout=10
18:41:28 > git config --get remote.origin.url # timeout=10
18:41:28 using GIT_ASKPASS to set credentials Gitea token for Jenkins hook management
18:41:28 > git merge 9e3c6eef2e21fca64404f0eaf274fcc626698176 # timeout=10
18:41:28 > git rev-parse HEAD^{commit} # timeout=10
18:41:28 Merge succeeded, producing 0d37751d8c286894bbe9551811dff6e0bccefe76
18:41:28 Checking out Revision 0d37751d8c286894bbe9551811dff6e0bccefe76 (feature/integrate-jenkins-code-coverage)
18:41:28 > git config core.sparsecheckout # timeout=10
18:41:28 > git checkout -f 0d37751d8c286894bbe9551811dff6e0bccefe76 # timeout=10
18:41:28 Commit message: "Fix Jenkins workspace permission issue"
18:41:28 [Gitea] Notifying pull request build status: PENDING Build started...
18:41:28 [Gitea] Notified
[Pipeline] sh
18:41:29 + git fetch --all --prune
[Pipeline] sh
18:41:29 + git submodule update --init --recursive
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Tool Versions)
[Pipeline] sh
18:41:29 + python3 --version
18:41:29 Python 3.14.4
18:41:29 + cmake --version
18:41:29 cmake version 4.2.3
18:41:29
18:41:29 CMake suite maintained and supported by Kitware (kitware.com/cmake).
18:41:29 + ninja --version
18:41:29 1.13.2
18:41:29 + g++ --version
18:41:29 g++ (Ubuntu 15.2.0-16ubuntu1) 15.2.0
18:41:29 Copyright (C) 2025 Free Software Foundation, Inc.
18:41:29 This is free software; see the source for copying conditions. There is NO
18:41:29 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
18:41:29
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Qt Diagnostics)
[Pipeline] sh
18:41:30 + echo QT_QPA_PLATFORM=offscreen
18:41:30 QT_QPA_PLATFORM=offscreen
18:41:30 + echo LANG=
18:41:30 LANG=
18:41:30 + echo LC_ALL=C.UTF-8
18:41:30 LC_ALL=C.UTF-8
18:41:30 + dpkg -l
18:41:30 + grep -E qt6-base-dev|qtbase5-dev|qt6-tools
18:41:30 ii qt6-base-dev:amd64 6.10.2+dfsg-7 amd64 Qt 6 base development files
18:41:30 ii qt6-base-dev-tools 6.10.2+dfsg-7 amd64 Qt 6 base development programs
18:41:30 ii qt6-tools-dev:amd64 6.10.2-1 amd64 Qt 6 Tools - development files
18:41:30 ii qt6-tools-dev-tools 6.10.2-1 amd64 Qt 6 development tools
18:41:30 ii qtbase5-dev:amd64 5.15.18+dfsg-1ubuntu1 amd64 Qt 5 base development files
18:41:30 ii qtbase5-dev-tools 5.15.18+dfsg-1ubuntu1 amd64 Qt 5 base development programs
18:41:30 + pkg-config --list-all
18:41:30 + grep -i qt
18:41:30 Qt6Widgets Qt6 Widgets - Qt Widgets module
18:41:30 Qt6Linguist Qt6 Linguist - Qt Linguist module
18:41:30 Qt6Network Qt6 Network - Qt Network module
18:41:30 Qt6OpenGL Qt6 OpenGL - Qt OpenGL module
18:41:30 Qt5Gui Qt5 Gui - Qt Gui module
18:41:30 Qt5Test Qt5 Test - Qt Unit Testing Library
18:41:30 Qt5Widgets Qt5 Widgets - Qt Widgets module
18:41:30 Qt5Network Qt5 Network - Qt Network module
18:41:30 Qt6Core Qt6 Core - Qt Core module
18:41:30 Qt6OpenGLWidgets Qt6 OpenGLWidgets - Qt OpenGLWidgets module
18:41:30 Qt5Core Qt5 Core - Qt Core module
18:41:30 Qt6Test Qt6 Test - Qt Test module
18:41:30 Qt5Xml Qt5 Xml - Qt Xml module
18:41:30 Qt6Platform Qt6 Platform - Qt Platform module
18:41:30 Qt6Gui Qt6 Gui - Qt Gui module
18:41:30 Qt5DBus Qt5 DBus - Qt DBus module
18:41:30 Qt6Sql Qt6 Sql - Qt Sql module
18:41:30 Qt6PrintSupport Qt6 PrintSupport - Qt PrintSupport module
18:41:30 Qt6WaylandClient Qt6 WaylandClient - Qt WaylandClient module
18:41:30 Qt5Sql Qt5 Sql - Qt Sql module
18:41:30 Qt6UiTools Qt6 UiTools - Qt UiTools module
18:41:30 Qt6Designer Qt6 Designer - Qt Designer module
18:41:30 Qt6Xml Qt6 Xml - Qt Xml module
18:41:30 Qt5OpenGLExtensions Qt5 OpenGLExtensions - Qt OpenGLExtensions module
18:41:30 Qt5Concurrent Qt5 Concurrent - Qt Concurrent module
18:41:30 Qt6Concurrent Qt6 Concurrent - Qt Concurrent module
18:41:30 Qt5PrintSupport Qt5 PrintSupport - Qt PrintSupport module
18:41:30 Qt6UiPlugin Qt6 UiPlugin - Qt UiPlugin module
18:41:30 Qt6Help Qt6 Help - Qt Help module
18:41:30 Qt6DBus Qt6 DBus - Qt DBus module
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Policy Checks)
[Pipeline] sh
18:41:30 + python3 ci/check_pr_policies.py
18:41:30 Vergleiche gegen Ziel-Ref: origin/main
18:41:30 Prüfe SSH-Signatur: 0d37751d8c286894bbe9551811dff6e0bccefe76
18:41:30 Prüfe SSH-Signatur: ba8479fa8dfff71495412d90ca442359cd635ef1
18:41:30 ERROR: Commit ist nicht gültig mit erlaubtem SSH-Signierer signiert: ba8479fa8dfff71495412d90ca442359cd635ef1
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Configure)
Stage "Configure" skipped due to earlier failure(s)
[Pipeline] getContext
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Build)
Stage "Build" skipped due to earlier failure(s)
[Pipeline] getContext
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Test)
Stage "Test" skipped due to earlier failure(s)
[Pipeline] getContext
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Coverage)
Stage "Coverage" skipped due to earlier failure(s)
[Pipeline] getContext
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Declarative: Post Actions)
[Pipeline] script
[Pipeline] {
[Pipeline] getContext
[Pipeline] sh
18:41:30 + [ -d /var/jenkins_home/workspace/qt-migration-copilot-demo_PR-3/build ]
18:41:30 + [ -d /var/jenkins_home/workspace/qt-migration-copilot-demo_PR-3/build-coverage ]
18:41:30 + [ -d /var/jenkins_home/workspace/qt-migration-copilot-demo_PR-3/coverage ]
[Pipeline] }
[Pipeline] // script
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[Pipeline] // timestamps
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] }
$ docker stop --time=1 a8777b2f5e77b6f4ddc5c5d44460243fac102e7e338e512213e5305fa91dc0a3
$ docker rm -f --volumes a8777b2f5e77b6f4ddc5c5d44460243fac102e7e338e512213e5305fa91dc0a3
[Pipeline] // withDockerContainer
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] }
[Pipeline] // node
[Pipeline] End of Pipeline
ERROR: script returned exit code 1
[Gitea] Notifying pull request build status: FAILURE There was a failure building this commit
[Gitea] Notified
[Gitea] do not publish assets due to build being non-Successfully
Finished: FAILURE
---
[2026-10-22T16:43:03.866Z] + cmake --build build --parallel
[2026-10-22T16:43:04.418Z] [1/13] Automatic MOC and UIC for target Qt6MigratedBenchmark
[2026-10-22T16:43:04.418Z] [2/13] Automatic RCC for resources.qrc
[2026-10-22T16:43:04.418Z] [3/13] Building CXX object CMakeFiles/Qt6MigratedBenchmark.dir/Qt6MigratedBenchmark_autogen/EWIEGA46WW/qrc_resources.cpp.o
[2026-10-22T16:43:04.418Z] [4/13] Automatic MOC and UIC for target Qt6MigratedBenchmarkTest
[2026-10-22T16:43:06.902Z] [5/13] Building CXX object CMakeFiles/Qt6MigratedBenchmark.dir/Qt6MigratedBenchmark_autogen/mocs_compilation.cpp.o
[2026-10-22T16:43:06.902Z] [6/13] Building CXX object CMakeFiles/Qt6MigratedBenchmark.dir/main.cpp.o
[2026-10-22T16:43:06.902Z] [7/13] Building CXX object CMakeFiles/Qt6MigratedBenchmark.dir/MainWindow.cpp.o
[2026-10-22T16:43:06.902Z] [8/13] Building CXX object CMakeFiles/Qt6MigratedBenchmarkTest.dir/Qt6MigratedBenchmarkTest_autogen/mocs_compilation.cpp.o
[2026-10-22T16:43:07.153Z] [9/13] Linking CXX executable Qt6MigratedBenchmark
[2026-10-22T16:43:07.404Z] [10/13] Building CXX object CMakeFiles/Qt6MigratedBenchmarkTest.dir/MainWindow.cpp.o
[2026-10-22T16:43:08.748Z] [11/13] Building CXX object CMakeFiles/Qt6MigratedBenchmarkTest.dir/tests/test_mainwindow.cpp.o
[2026-10-22T16:43:08.748Z] FAILED: [code=1] CMakeFiles/Qt6MigratedBenchmarkTest.dir/tests/test_mainwindow.cpp.o
[2026-10-22T16:43:08.748Z] /usr/bin/c++ -DQT_CORE_LIB -DQT_GUI_LIB -DQT_TESTCASE_BUILDDIR=\"/var/jenkins_home/workspace/qt-migration-copilot-demo_PR-3/build\" -DQT_TESTCASE_SOURCEDIR=\"/var/jenkins_home/workspace/qt-migration-copilot-demo_PR-3/qt6-after/qt6-migrated-benchmark\" -DQT_TESTLIB_LIB -DQT_WIDGETS_LIB -I/var/jenkins_home/workspace/qt-migration-copilot-demo_PR-3/build/Qt6MigratedBenchmarkTest_autogen/include -I/var/jenkins_home/workspace/qt-migration-copilot-demo_PR-3/qt6-after/qt6-migrated-benchmark -isystem /usr/include/x86_64-linux-gnu/qt6/QtCore -isystem /usr/include/x86_64-linux-gnu/qt6 -isystem /usr/lib/x86_64-linux-gnu/qt6/mkspecs/linux-g++ -isystem /usr/include/x86_64-linux-gnu/qt6/QtGui -isystem /usr/include/x86_64-linux-gnu/qt6/QtWidgets -isystem /usr/include/x86_64-linux-gnu/qt6/QtTest -g -std=c++23 -MD -MT CMakeFiles/Qt6MigratedBenchmarkTest.dir/tests/test_mainwindow.cpp.o -MF CMakeFiles/Qt6MigratedBenchmarkTest.dir/tests/test_mainwindow.cpp.o.d -o CMakeFiles/Qt6MigratedBenchmarkTest.dir/tests/test_mainwindow.cpp.o -c /var/jenkins_home/workspace/qt-migration-copilot-demo_PR-3/qt6-after/qt6-migrated-benchmark/tests/test_mainwindow.cpp
[2026-10-22T16:43:08.748Z] In file included from /usr/include/x86_64-linux-gnu/qt6/QtTest/qtesteventloop.h:8,
[2026-10-22T16:43:08.748Z] from /usr/include/x86_64-linux-gnu/qt6/QtTest/qsignalspy.h:10,
[2026-10-22T16:43:08.748Z] from /usr/include/x86_64-linux-gnu/qt6/QtTest/QtTest:10,
[2026-10-22T16:43:08.748Z] from /var/jenkins_home/workspace/qt-migration-copilot-demo_PR-3/qt6-after/qt6-migrated-benchmark/tests/test_mainwindow.cpp:4:
[2026-10-22T16:43:08.748Z] /var/jenkins_home/workspace/qt-migration-copilot-demo_PR-3/qt6-after/qt6-migrated-benchmark/tests/test_mainwindow.cpp: In member function ‘void TestMainWindowWidget::testWindowTitle()’:
[2026-10-22T16:43:08.748Z] /var/jenkins_home/workspace/qt-migration-copilot-demo_PR-3/qt6-after/qt6-migrated-benchmark/tests/test_mainwindow.cpp:26:36: error: unable to find string literal operator ‘operator""_s’ with ‘const char16_t [31]’, ‘long unsigned int’ arguments
[2026-10-22T16:43:08.748Z] 26 | QCOMPARE(window.windowTitle(), u"Qt6 Legacy Migration Benchmark"_s);
[2026-10-22T16:43:08.748Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[2026-10-22T16:43:08.748Z] /var/jenkins_home/workspace/qt-migration-copilot-demo_PR-3/qt6-after/qt6-migrated-benchmark/tests/test_mainwindow.cpp: In member function ‘void TestMainWindowWidget::testValidateInputMethod()’:
[2026-10-22T16:43:08.748Z] /var/jenkins_home/workspace/qt-migration-copilot-demo_PR-3/qt6-after/qt6-migrated-benchmark/tests/test_mainwindow.cpp:33:34: error: unable to find string literal operator ‘operator""_s’ with ‘const char16_t [8]’, ‘long unsigned int’ arguments
[2026-10-22T16:43:08.748Z] 33 | QVERIFY(window.validateInput(u"Test123"_s));
[2026-10-22T16:43:08.748Z] | ^~~~~~~~~~~~
[2026-10-22T16:43:08.748Z] /var/jenkins_home/workspace/qt-migration-copilot-demo_PR-3/qt6-after/qt6-migrated-benchmark/tests/test_mainwindow.cpp:34:34: error: unable to find string literal operator ‘operator""_s’ with ‘const char16_t [7]’, ‘long unsigned int’ arguments
[2026-10-22T16:43:08.748Z] 34 | QVERIFY(window.validateInput(u"abc456"_s));
[2026-10-22T16:43:08.748Z] | ^~~~~~~~~~~
[2026-10-22T16:43:08.748Z] /var/jenkins_home/workspace/qt-migration-copilot-demo_PR-3/qt6-after/qt6-migrated-benchmark/tests/test_mainwindow.cpp:35:35: error: unable to find string literal operator ‘operator""_s’ with ‘const char16_t [8]’, ‘long unsigned int’ arguments
[2026-10-22T16:43:08.748Z] 35 | QVERIFY(!window.validateInput(u"123Test"_s));
[2026-10-22T16:43:08.748Z] | ^~~~~~~~~~~~
[2026-10-22T16:43:08.748Z] /var/jenkins_home/workspace/qt-migration-copilot-demo_PR-3/qt6-after/qt6-migrated-benchmark/tests/test_mainwindow.cpp:36:35: error: unable to find string literal operator ‘operator""_s’ with ‘const char16_t [1]’, ‘long unsigned int’ arguments
[2026-10-22T16:43:08.748Z] 36 | QVERIFY(!window.validateInput(u""_s));
[2026-10-22T16:43:08.748Z] | ^~~~~
[2026-10-22T16:43:08.748Z] /var/jenkins_home/workspace/qt-migration-copilot-demo_PR-3/qt6-after/qt6-migrated-benchmark/tests/test_mainwindow.cpp: In member function ‘void TestMainWindowWidget::testGetScreenInfo()’:
[2026-10-22T16:43:08.748Z] /var/jenkins_home/workspace/qt-migration-copilot-demo_PR-3/qt6-after/qt6-migrated-benchmark/tests/test_mainwindow.cpp:44:27: error: unable to find string literal operator ‘operator""_s’ with ‘const char16_t [8]’, ‘long unsigned int’ arguments
[2026-10-22T16:43:08.748Z] 44 | QVERIFY(info.contains(u"Screen:"_s));
[2026-10-22T16:43:08.748Z] | ^~~~~~~~~~~~
[2026-10-22T16:43:09.300Z] [12/13] Building CXX object CMakeFiles/Qt6MigratedBenchmarkTest.dir/tests/test_main.cpp.o
[2026-10-22T16:43:09.300Z] ninja: build stopped: subcommand failed.
script returned exit code 1
---
[2026-10-22T16:45:59.289Z] [13/13] Linking CXX executable Qt6MigratedBenchmarkTest
[2026-10-22T16:45:59.289Z] FAILED: [code=1] Qt6MigratedBenchmarkTest
[2026-10-22T16:45:59.289Z] : && /usr/bin/c++ -g -Wl,--dependency-file=CMakeFiles/Qt6MigratedBenchmarkTest.dir/link.d CMakeFiles/Qt6MigratedBenchmarkTest.dir/Qt6MigratedBenchmarkTest_autogen/mocs_compilation.cpp.o CMakeFiles/Qt6MigratedBenchmarkTest.dir/tests/test_main.cpp.o CMakeFiles/Qt6MigratedBenchmarkTest.dir/tests/test_mainwindow.cpp.o CMakeFiles/Qt6MigratedBenchmarkTest.dir/MainWindow.cpp.o -o Qt6MigratedBenchmarkTest /usr/lib/x86_64-linux-gnu/libQt6Widgets.so.6.10.2 /usr/lib/x86_64-linux-gnu/libQt6Test.so.6.10.2 /usr/lib/x86_64-linux-gnu/libQt6Gui.so.6.10.2 /usr/lib/x86_64-linux-gnu/libGLX.so /usr/lib/x86_64-linux-gnu/libOpenGL.so /usr/lib/x86_64-linux-gnu/libQt6Core.so.6.10.2 && :
[2026-10-22T16:45:59.289Z] /usr/bin/x86_64-linux-gnu-ld.bfd: CMakeFiles/Qt6MigratedBenchmarkTest.dir/tests/test_mainwindow.cpp.o: in function `main':
[2026-10-22T16:45:59.289Z] /var/jenkins_home/workspace/qt-migration-copilot-demo_PR-3/qt6-after/qt6-migrated-benchmark/tests/test_mainwindow.cpp:47: multiple definition of `main'; CMakeFiles/Qt6MigratedBenchmarkTest.dir/tests/test_main.cpp.o:/var/jenkins_home/workspace/qt-migration-copilot-demo_PR-3/qt6-after/qt6-migrated-benchmark/tests/test_main.cpp:50: first defined here
[2026-10-22T16:45:59.289Z] collect2: error: ld returned 1 exit status
[2026-10-22T16:45:59.289Z] ninja: build stopped: subcommand failed.
script returned exit code 1
---
18:49:27 Prüfe: qt6-after/qt6-migrated-benchmark/MainWindow.cpp
18:49:27 ERROR: Kein passender Test unter tests/, test/ oder qt6-after/qt6-migrated-benchmark/tests/ gefunden für: qt6-after/qt6-migrated-benchmark/MainWindow.cpp
script returned exit code 1
---
[2026-10-22T16:53:48.802Z] + cmake --build build --parallel
[2026-10-22T16:53:48.802Z] [1/12] Automatic MOC and UIC for target Qt6MigratedBenchmarkTest
[2026-10-22T16:53:48.802Z] FAILED: [code=1] Qt6MigratedBenchmarkTest_autogen/timestamp Qt6MigratedBenchmarkTest_autogen/mocs_compilation.cpp /var/jenkins_home/workspace/qt-migration-copilot-demo_PR-3/build/Qt6MigratedBenchmarkTest_autogen/timestamp /var/jenkins_home/workspace/qt-migration-copilot-demo_PR-3/build/Qt6MigratedBenchmarkTest_autogen/mocs_compilation.cpp
[2026-10-22T16:53:48.802Z] cd /var/jenkins_home/workspace/qt-migration-copilot-demo_PR-3/build && /usr/bin/cmake -E cmake_autogen /var/jenkins_home/workspace/qt-migration-copilot-demo_PR-3/build/CMakeFiles/Qt6MigratedBenchmarkTest_autogen.dir/AutogenInfo.json Debug && /usr/bin/cmake -E touch /var/jenkins_home/workspace/qt-migration-copilot-demo_PR-3/build/Qt6MigratedBenchmarkTest_autogen/timestamp && /usr/bin/cmake -E cmake_transform_depfile Ninja gccdepfile /var/jenkins_home/workspace/qt-migration-copilot-demo_PR-3/qt6-after/qt6-migrated-benchmark /var/jenkins_home/workspace/qt-migration-copilot-demo_PR-3/qt6-after/qt6-migrated-benchmark /var/jenkins_home/workspace/qt-migration-copilot-demo_PR-3/build /var/jenkins_home/workspace/qt-migration-copilot-demo_PR-3/build /var/jenkins_home/workspace/qt-migration-copilot-demo_PR-3/build/Qt6MigratedBenchmarkTest_autogen/deps /var/jenkins_home/workspace/qt-migration-copilot-demo_PR-3/build/CMakeFiles/d/80d1d52c971334693865e19c8e17af9205fe4438e16997ad4b6c5a9ac844a4a5.d
[2026-10-22T16:53:48.802Z]
[2026-10-22T16:53:48.802Z] AutoMoc error
[2026-10-22T16:53:48.802Z] -------------
[2026-10-22T16:53:48.802Z] "SRC:/tests/test_mainwindow.cpp"
[2026-10-22T16:53:48.802Z] contains a "Q_OBJECT" macro, but does not include "test_mainwindow.moc"!
[2026-10-22T16:53:48.802Z] Consider to
[2026-10-22T16:53:48.802Z] - add #include "test_mainwindow.moc"
[2026-10-22T16:53:48.802Z] - enable SKIP_AUTOMOC for this file
[2026-10-22T16:53:48.802Z]
[2026-10-22T16:53:49.353Z] [2/12] Automatic MOC and UIC for target Qt6MigratedBenchmark
[2026-10-22T16:53:49.353Z] ninja: build stopped: subcommand failed.
script returned exit code 1
---
this commit worked but code-coverage is grayed/bypassed in jenkins-GUI
---
option 2
---
still grayed/bypassed
---
19:27:21 Step 4: Running tests to generate coverage data...
19:27:21 Test project /var/jenkins_home/workspace/qt-migration-copilot-demo_PR-3/build-coverage
19:27:21 Start 1: Qt6MigratedBenchmarkTest
19:27:21 1/1 Test #1: Qt6MigratedBenchmarkTest ......... Passed 0.02 sec
19:27:21
19:27:21 100% tests passed, 0 tests failed out of 1
19:27:21
19:27:21 Total Test time (real) = 0.02 sec
19:27:21
19:27:21 Step 5: Collecting coverage data with lcov...
19:27:21 qt6-after/qt6-migrated-benchmark/scripts/collect-coverage.sh: line 60: lcov: command not found
script returned exit code 127