Pull request #513 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of Tylerg2471 for edgexfoundry/device-sdk-c Loading trusted files from base branch main at b5fd43aa6b4e8069e65248caa2e7d6db03f961ef rather than c5a2e83cc9eed401c9d22d0044bc9e373fc06a76 Obtained Jenkinsfile from b5fd43aa6b4e8069e65248caa2e7d6db03f961ef Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh11739395951157383250.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision f3350a1713306dce7682ed7e37d5774890d03277 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh5261122573157340257.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision f3350a1713306dce7682ed7e37d5774890d03277 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-513/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-513/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13231627960566805405.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-513/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5591089742243333421.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision f3350a1713306dce7682ed7e37d5774890d03277 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f f3350a1713306dce7682ed7e37d5774890d03277 # timeout=10 Commit message: "Merge pull request #455 from cherrycl/issue-452-3" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh10834415561665171032.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-513/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-513/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh9835028693370734952.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object f3350a1713306dce7682ed7e37d5774890d03277 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildCApp] RAW Config: [project:device-sdk-c, dockerBuildFilePath:scripts/Dockerfile.alpine-base, dockerFilePath:scripts/Dockerfile.alpine, pushImage:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildCApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-c-settings PROJECT: device-sdk-c USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build DOCKER_FILE_PATH: scripts/Dockerfile.alpine DOCKER_BUILD_FILE_PATH: scripts/Dockerfile.alpine-base DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-10605 in /w/workspace/edgexfoundry_device-sdk-c_PR-513 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-c.git > git init /w/workspace/edgexfoundry_device-sdk-c_PR-513 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/513/head:refs/remotes/origin/PR-513 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit b5fd43aa6b4e8069e65248caa2e7d6db03f961ef into PR head commit c5a2e83cc9eed401c9d22d0044bc9e373fc06a76 Merge succeeded, producing c5a2e83cc9eed401c9d22d0044bc9e373fc06a76 Checking out Revision c5a2e83cc9eed401c9d22d0044bc9e373fc06a76 (PR-513) > git config core.sparsecheckout # timeout=10 > git checkout -f c5a2e83cc9eed401c9d22d0044bc9e373fc06a76 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge b5fd43aa6b4e8069e65248caa2e7d6db03f961ef # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c5a2e83cc9eed401c9d22d0044bc9e373fc06a76 # timeout=10 Commit message: "feat: Update function comment" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object f3350a1713306dce7682ed7e37d5774890d03277 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-09-18T14:02:05.202Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-09-18T14:02:05.418Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-09-18T14:02:05.547Z] ========================================================= [2024-09-18T14:02:05.547Z] EdgeX Global Pipelines Version Info [2024-09-18T14:02:05.547Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-09-18T14:02:06.693Z] ------------------- [2024-09-18T14:02:06.693Z] stable info: [2024-09-18T14:02:06.693Z] ------------------- [2024-09-18T14:02:06.693Z] Commited By: Cherry Wang cherry@iotechsys.com [2024-09-18T14:02:06.693Z] Commit SHA: f3350a1713306dce7682ed7e37d5774890d03277 [2024-09-18T14:02:06.693Z] Message: update stable to v1.0.263 [2024-09-18T14:02:07.261Z] ------------------- [2024-09-18T14:02:07.261Z] experimental info: [2024-09-18T14:02:07.261Z] ------------------- [2024-09-18T14:02:07.261Z] Commited By: Cherry Wang cherry@iotechsys.com [2024-09-18T14:02:07.261Z] Commit SHA: f3350a1713306dce7682ed7e37d5774890d03277 [2024-09-18T14:02:07.261Z] Message: update experimental to v1.0.263 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-09-18T14:02:07.487Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo [2024-09-18T14:02:07.546Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo [2024-09-18T14:02:07.617Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-09-18T14:02:07.666Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-09-18T14:02:07.717Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-09-18T14:02:07.778Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo [2024-09-18T14:02:07.840Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo [2024-09-18T14:02:07.909Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-09-18T14:02:07.967Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-09-18T14:02:08.023Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo [2024-09-18T14:02:08.083Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-09-18T14:02:08.138Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-09-18T14:02:08.191Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-09-18T14:02:08.244Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2024-09-18T14:02:08.298Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-09-18T14:02:08.352Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-09-18T14:02:08.408Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-09-18T14:02:08.476Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-513 [Pipeline] echo [2024-09-18T14:02:08.532Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-513 [Pipeline] echo [2024-09-18T14:02:08.588Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-513 [Pipeline] echo [2024-09-18T14:02:08.645Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c5a2e83cc9eed401c9d22d0044bc9e373fc06a76 [Pipeline] echo [2024-09-18T14:02:08.701Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c5a2e83 [Pipeline] echo [2024-09-18T14:02:08.759Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-09-18T14:02:08.906Z] provisioning config files... [2024-09-18T14:02:08.922Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-513@tmp/config8401436731444700850tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-09-18T14:02:09.316Z] ---> ****-login.sh [2024-09-18T14:02:09.316Z] nexus3.edgexfoundry.org:10001 [2024-09-18T14:02:09.578Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-18T14:02:09.579Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-18T14:02:09.579Z] Configure a credential helper to remove this warning. See [2024-09-18T14:02:09.579Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-18T14:02:09.579Z] [2024-09-18T14:02:09.579Z] Login Succeeded [2024-09-18T14:02:09.579Z] nexus3.edgexfoundry.org:10002 [2024-09-18T14:02:09.848Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-18T14:02:09.849Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-18T14:02:09.849Z] Configure a credential helper to remove this warning. See [2024-09-18T14:02:09.849Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-18T14:02:09.849Z] [2024-09-18T14:02:09.849Z] Login Succeeded [2024-09-18T14:02:09.849Z] nexus3.edgexfoundry.org:10003 [2024-09-18T14:02:09.849Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-18T14:02:09.849Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-18T14:02:09.849Z] Configure a credential helper to remove this warning. See [2024-09-18T14:02:09.849Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-18T14:02:09.849Z] [2024-09-18T14:02:09.849Z] Login Succeeded [2024-09-18T14:02:09.849Z] nexus3.edgexfoundry.org:10004 [2024-09-18T14:02:10.110Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-18T14:02:10.110Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-18T14:02:10.111Z] Configure a credential helper to remove this warning. See [2024-09-18T14:02:10.111Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-18T14:02:10.111Z] [2024-09-18T14:02:10.111Z] Login Succeeded [2024-09-18T14:02:10.111Z] ****.io [2024-09-18T14:02:10.111Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-18T14:02:10.374Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-18T14:02:10.374Z] Configure a credential helper to remove this warning. See [2024-09-18T14:02:10.374Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-18T14:02:10.374Z] [2024-09-18T14:02:10.374Z] Login Succeeded [2024-09-18T14:02:10.374Z] ---> ****-login.sh ends [Pipeline] } [2024-09-18T14:02:10.407Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build LTS Release Image) [Pipeline] sh [2024-09-18T14:02:11.101Z] + git rev-list -1 --merges c5a2e83cc9eed401c9d22d0044bc9e373fc06a76~1..c5a2e83cc9eed401c9d22d0044bc9e373fc06a76 [Pipeline] echo [2024-09-18T14:02:11.156Z] -----------> git rev-list -1 --merges c5a2e83cc9eed401c9d22d0044bc9e373fc06a76~1..c5a2e83cc9eed401c9d22d0044bc9e373fc06a76 c5a2e83cc9eed401c9d22d0044bc9e373fc06a76 [false] [Pipeline] sh [2024-09-18T14:02:11.481Z] + git log --format=format:%s -1 c5a2e83cc9eed401c9d22d0044bc9e373fc06a76 [Pipeline] echo [2024-09-18T14:02:11.525Z] ========================================================= [2024-09-18T14:02:11.525Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-09-18T14:02:11.525Z] ========================================================= Stage "Build LTS Release Image" skipped due to when conditional [Pipeline] getContext [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) Stage "amd64" skipped due to when conditional [Pipeline] getContext [Pipeline] } Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] // stage [Pipeline] } [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-09-18T14:02:12.597Z] + git rev-list -1 --merges c5a2e83cc9eed401c9d22d0044bc9e373fc06a76~1..c5a2e83cc9eed401c9d22d0044bc9e373fc06a76 [Pipeline] echo [2024-09-18T14:02:12.641Z] -----------> git rev-list -1 --merges c5a2e83cc9eed401c9d22d0044bc9e373fc06a76~1..c5a2e83cc9eed401c9d22d0044bc9e373fc06a76 c5a2e83cc9eed401c9d22d0044bc9e373fc06a76 [false] [Pipeline] sh [2024-09-18T14:02:12.971Z] + git log --format=format:%s -1 c5a2e83cc9eed401c9d22d0044bc9e373fc06a76 [Pipeline] echo [2024-09-18T14:02:13.017Z] ========================================================= [2024-09-18T14:02:13.017Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-09-18T14:02:13.017Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh [2024-09-18T14:02:13.678Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-09-18T14:02:13.679Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-09-18T14:02:13.679Z] + [ -e /tmp/ssh_known_hosts ] [2024-09-18T14:02:13.679Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-09-18T14:02:13.679Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-09-18T14:02:13.679Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-09-18T14:02:13.679Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-18T14:02:14.243Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-09-18T14:02:14.244Z] [2024-09-18T14:02:14.244Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-18T14:02:14.650Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-09-18T14:02:14.650Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-09-18T14:02:14.650Z] b85a868b505f: Pulling fs layer [2024-09-18T14:02:14.650Z] e2be974225ed: Pulling fs layer [2024-09-18T14:02:14.650Z] 339a4e72a1f5: Pulling fs layer [2024-09-18T14:02:14.650Z] 988bab9f4d93: Pulling fs layer [2024-09-18T14:02:14.650Z] 1469e6f7b9e6: Pulling fs layer [2024-09-18T14:02:14.650Z] eaf3925da568: Pulling fs layer [2024-09-18T14:02:14.650Z] bab4dde63d76: Pulling fs layer [2024-09-18T14:02:14.650Z] bde34c3a00c8: Pulling fs layer [2024-09-18T14:02:14.650Z] b352a97aabf1: Pulling fs layer [2024-09-18T14:02:14.650Z] 1469e6f7b9e6: Waiting [2024-09-18T14:02:14.650Z] eaf3925da568: Waiting [2024-09-18T14:02:14.650Z] 988bab9f4d93: Waiting [2024-09-18T14:02:14.650Z] bab4dde63d76: Waiting [2024-09-18T14:02:14.650Z] bde34c3a00c8: Waiting [2024-09-18T14:02:14.650Z] 4872d77fe225: Pulling fs layer [2024-09-18T14:02:14.650Z] 5851b861e8e6: Pulling fs layer [2024-09-18T14:02:14.650Z] b352a97aabf1: Waiting [2024-09-18T14:02:14.650Z] 4872d77fe225: Waiting [2024-09-18T14:02:14.650Z] e2be974225ed: Verifying Checksum [2024-09-18T14:02:14.650Z] e2be974225ed: Download complete [2024-09-18T14:02:14.650Z] 988bab9f4d93: Download complete [2024-09-18T14:02:14.650Z] 339a4e72a1f5: Verifying Checksum [2024-09-18T14:02:14.650Z] 339a4e72a1f5: Download complete [2024-09-18T14:02:14.912Z] 1469e6f7b9e6: Verifying Checksum [2024-09-18T14:02:14.912Z] 1469e6f7b9e6: Download complete [2024-09-18T14:02:14.912Z] eaf3925da568: Verifying Checksum [2024-09-18T14:02:14.912Z] eaf3925da568: Download complete [2024-09-18T14:02:14.912Z] bde34c3a00c8: Verifying Checksum [2024-09-18T14:02:14.912Z] bde34c3a00c8: Download complete [2024-09-18T14:02:14.912Z] b352a97aabf1: Download complete [2024-09-18T14:02:14.912Z] 4872d77fe225: Verifying Checksum [2024-09-18T14:02:14.912Z] 4872d77fe225: Download complete [2024-09-18T14:02:14.912Z] 5851b861e8e6: Verifying Checksum [2024-09-18T14:02:14.912Z] 5851b861e8e6: Download complete [2024-09-18T14:02:14.912Z] b85a868b505f: Verifying Checksum [2024-09-18T14:02:14.912Z] b85a868b505f: Download complete [2024-09-18T14:02:15.172Z] bab4dde63d76: Verifying Checksum [2024-09-18T14:02:15.172Z] bab4dde63d76: Download complete [2024-09-18T14:02:16.112Z] b85a868b505f: Pull complete [2024-09-18T14:02:16.380Z] e2be974225ed: Pull complete [2024-09-18T14:02:16.950Z] 339a4e72a1f5: Pull complete [2024-09-18T14:02:16.950Z] 988bab9f4d93: Pull complete [2024-09-18T14:02:17.211Z] 1469e6f7b9e6: Pull complete [2024-09-18T14:02:17.211Z] eaf3925da568: Pull complete [2024-09-18T14:02:19.116Z] bab4dde63d76: Pull complete [2024-09-18T14:02:19.116Z] bde34c3a00c8: Pull complete [2024-09-18T14:02:19.375Z] b352a97aabf1: Pull complete [2024-09-18T14:02:19.375Z] 4872d77fe225: Pull complete [2024-09-18T14:02:19.375Z] 5851b861e8e6: Pull complete [2024-09-18T14:02:19.375Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-09-18T14:02:19.375Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-09-18T14:02:19.375Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-09-18T14:02:19.678Z] prd-ubuntu20.04-docker-8c-8g-10605 does not seem to be running inside a container [2024-09-18T14:02:19.709Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-513 -v /w/workspace/edgexfoundry_device-sdk-c_PR-513:/w/workspace/edgexfoundry_device-sdk-c_PR-513:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-513@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-513@tmp:rw,z -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 ******** -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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-09-18T14:02:23.026Z] $ docker top 93fe72f858913b953b98e4d12b1b16db29c657d4f22b2161b449a573e68c6e75 -eo pid,comm [2024-09-18T14:02:23.085Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2024-09-18T14:02:23.085Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-09-18T14:02:23.250Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-09-18T14:02:23.250Z] [ssh-agent] Looking for ssh-agent implementation... [2024-09-18T14:02:23.373Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-09-18T14:02:23.374Z] $ docker exec 93fe72f858913b953b98e4d12b1b16db29c657d4f22b2161b449a573e68c6e75 ssh-agent [2024-09-18T14:02:23.484Z] SSH_AUTH_SOCK=/tmp/ssh-53Olf4uqq8sf/agent.32 [2024-09-18T14:02:23.484Z] SSH_AGENT_PID=38 [2024-09-18T14:02:23.490Z] Running ssh-add (command line suppressed) [2024-09-18T14:02:23.583Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-513@tmp/private_key_14129241951710126.key (/w/workspace/edgexfoundry_device-sdk-c_PR-513@tmp/private_key_14129241951710126.key) [2024-09-18T14:02:23.598Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-09-18T14:02:23.938Z] + git tag --points-at HEAD [Pipeline] } [2024-09-18T14:02:23.963Z] $ docker exec --env ******** --env ******** 93fe72f858913b953b98e4d12b1b16db29c657d4f22b2161b449a573e68c6e75 ssh-agent -k [2024-09-18T14:02:24.059Z] unset SSH_AUTH_SOCK; [2024-09-18T14:02:24.060Z] unset SSH_AGENT_PID; [2024-09-18T14:02:24.060Z] echo Agent pid 38 killed; [2024-09-18T14:02:24.071Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-09-18T14:02:24.185Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-09-18T14:02:24.185Z] [ssh-agent] Looking for ssh-agent implementation... [2024-09-18T14:02:24.290Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-09-18T14:02:24.291Z] $ docker exec 93fe72f858913b953b98e4d12b1b16db29c657d4f22b2161b449a573e68c6e75 ssh-agent [2024-09-18T14:02:24.404Z] SSH_AUTH_SOCK=/tmp/ssh-CPhQ5H49GOLq/agent.71 [2024-09-18T14:02:24.404Z] SSH_AGENT_PID=77 [2024-09-18T14:02:24.413Z] Running ssh-add (command line suppressed) [2024-09-18T14:02:24.501Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-513@tmp/private_key_7858374539388541681.key (/w/workspace/edgexfoundry_device-sdk-c_PR-513@tmp/private_key_7858374539388541681.key) [2024-09-18T14:02:24.514Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-09-18T14:02:24.858Z] + git semver init [2024-09-18T14:02:25.118Z] 2024-09-18 14:02:25,027 [run_init] DEBUG init version:0.0.0 force:False [2024-09-18T14:02:25.118Z] 2024-09-18 14:02:25,027 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-c_PR-513/.semver [2024-09-18T14:02:25.118Z] 2024-09-18 14:02:25,028 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-c.git /w/workspace/edgexfoundry_device-sdk-c_PR-513/.semver [2024-09-18T14:02:25.118Z] 2024-09-18 14:02:25,028 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-c.git', '/w/workspace/edgexfoundry_device-sdk-c_PR-513/.semver'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-513, universal_newlines=False, shell=None, istream=None) [2024-09-18T14:02:26.060Z] 2024-09-18 14:02:25,862 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-c_PR-513/.git/info/exclude [2024-09-18T14:02:26.060Z] 2024-09-18 14:02:25,862 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-c_PR-513/.semver/PR-513 with force:False [2024-09-18T14:02:26.060Z] 2024-09-18 14:02:25,863 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-c_PR-513/.semver/PR-513 [2024-09-18T14:02:26.060Z] 2024-09-18 14:02:25,867 [execute] INFO git cat-file --batch-check [2024-09-18T14:02:26.060Z] 2024-09-18 14:02:25,867 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-513/.semver, universal_newlines=False, shell=None, istream=) [2024-09-18T14:02:26.060Z] 2024-09-18 14:02:25,873 [execute] INFO git cat-file --batch [2024-09-18T14:02:26.060Z] 2024-09-18 14:02:25,874 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-513/.semver, universal_newlines=False, shell=None, istream=) [2024-09-18T14:02:26.060Z] 2024-09-18 14:02:25,879 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_PR-513/.semver/PR-513 [2024-09-18T14:02:26.060Z] 0.0.0 [Pipeline] } [2024-09-18T14:02:26.086Z] $ docker exec --env ******** --env ******** 93fe72f858913b953b98e4d12b1b16db29c657d4f22b2161b449a573e68c6e75 ssh-agent -k [2024-09-18T14:02:26.195Z] unset SSH_AUTH_SOCK; [2024-09-18T14:02:26.195Z] unset SSH_AGENT_PID; [2024-09-18T14:02:26.195Z] echo Agent pid 77 killed; [2024-09-18T14:02:26.207Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-09-18T14:02:26.681Z] + git semver [Pipeline] } [2024-09-18T14:02:26.972Z] $ docker stop --time=1 93fe72f858913b953b98e4d12b1b16db29c657d4f22b2161b449a573e68c6e75 [2024-09-18T14:02:28.297Z] $ docker rm -f --volumes 93fe72f858913b953b98e4d12b1b16db29c657d4f22b2161b449a573e68c6e75 [Pipeline] // withDockerContainer [Pipeline] sh [2024-09-18T14:02:28.725Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-09-18T14:02:29.013Z] Stashed 1 file(s) [Pipeline] echo [2024-09-18T14:02:29.037Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-09-18T14:02:29.676Z] provisioning config files... [2024-09-18T14:02:29.687Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-513@tmp/config9179034602550445206tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-09-18T14:02:30.059Z] ---> ****-login.sh [2024-09-18T14:02:30.059Z] nexus3.edgexfoundry.org:10001 [2024-09-18T14:02:30.059Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-18T14:02:30.059Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-18T14:02:30.059Z] Configure a credential helper to remove this warning. See [2024-09-18T14:02:30.059Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-18T14:02:30.059Z] [2024-09-18T14:02:30.059Z] Login Succeeded [2024-09-18T14:02:30.059Z] nexus3.edgexfoundry.org:10002 [2024-09-18T14:02:30.059Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-18T14:02:30.059Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-18T14:02:30.059Z] Configure a credential helper to remove this warning. See [2024-09-18T14:02:30.059Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-18T14:02:30.059Z] [2024-09-18T14:02:30.059Z] Login Succeeded [2024-09-18T14:02:30.059Z] nexus3.edgexfoundry.org:10003 [2024-09-18T14:02:30.322Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-18T14:02:30.323Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-18T14:02:30.323Z] Configure a credential helper to remove this warning. See [2024-09-18T14:02:30.323Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-18T14:02:30.323Z] [2024-09-18T14:02:30.323Z] Login Succeeded [2024-09-18T14:02:30.323Z] nexus3.edgexfoundry.org:10004 [2024-09-18T14:02:30.323Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-18T14:02:30.323Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-18T14:02:30.323Z] Configure a credential helper to remove this warning. See [2024-09-18T14:02:30.323Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-18T14:02:30.323Z] [2024-09-18T14:02:30.323Z] Login Succeeded [2024-09-18T14:02:30.323Z] ****.io [2024-09-18T14:02:30.323Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-18T14:02:30.584Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-18T14:02:30.584Z] Configure a credential helper to remove this warning. See [2024-09-18T14:02:30.584Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-18T14:02:30.584Z] [2024-09-18T14:02:30.584Z] Login Succeeded [2024-09-18T14:02:30.584Z] ---> ****-login.sh ends [Pipeline] } [2024-09-18T14:02:30.620Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-09-18T14:02:30.852Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-09-18T14:02:30.895Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo [2024-09-18T14:02:30.950Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-09-18T14:02:30.995Z] ========================================================= [2024-09-18T14:02:30.995Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] [2024-09-18T14:02:30.995Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-18T14:02:31.451Z] + docker build -t ci-base-image-x86_64 -f scripts/Dockerfile.alpine-base --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest . [2024-09-18T14:02:31.451Z] Sending build context to Docker daemon 5.195MB [2024-09-18T14:02:31.451Z] Step 1/22 : ARG BASE=alpine:3.18 [2024-09-18T14:02:31.451Z] Step 2/22 : FROM ${BASE} as builder [2024-09-18T14:02:31.451Z] latest: Pulling from edgex-devops/edgex-gcc-base [2024-09-18T14:02:31.451Z] 96526aa774ef: Pulling fs layer [2024-09-18T14:02:31.451Z] da60e534fd72: Pulling fs layer [2024-09-18T14:02:31.711Z] 96526aa774ef: Verifying Checksum [2024-09-18T14:02:31.711Z] 96526aa774ef: Download complete [2024-09-18T14:02:31.711Z] 96526aa774ef: Pull complete [2024-09-18T14:02:32.648Z] da60e534fd72: Verifying Checksum [2024-09-18T14:02:32.648Z] da60e534fd72: Download complete [2024-09-18T14:02:35.942Z] da60e534fd72: Pull complete [2024-09-18T14:02:35.942Z] Digest: sha256:86f282524b252fca782185160d82ec4889448d07d1475dd6b76f2052073facff [2024-09-18T14:02:35.942Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [2024-09-18T14:02:35.942Z] ---> 6605166a5db4 [2024-09-18T14:02:35.942Z] Step 3/22 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2024-09-18T14:02:37.855Z] ---> Running in 3cc71a4da60b [2024-09-18T14:02:38.425Z] Connecting to iotech.jfrog.io (54.73.4.50:443) [2024-09-18T14:02:38.685Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-09-18T14:02:38.685Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-09-18T14:02:38.685Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-09-18T14:02:38.947Z] Removing intermediate container 3cc71a4da60b [2024-09-18T14:02:38.947Z] ---> 787fa17cd3ef [2024-09-18T14:02:38.947Z] Step 4/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-09-18T14:02:38.947Z] ---> Running in c3d2c4562521 [2024-09-18T14:02:39.517Z] Removing intermediate container c3d2c4562521 [2024-09-18T14:02:39.517Z] ---> 7494a4bb154a [2024-09-18T14:02:39.517Z] Step 5/22 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml-dev curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev libcbor-dev iotech-paho-mqtt-c-dev-1.3 iotech-iot-1.5-dev hiredis-dev [2024-09-18T14:02:39.782Z] ---> Running in 04cb16afa6b4 [2024-09-18T14:02:40.042Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-09-18T14:02:40.042Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-09-18T14:02:40.301Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-09-18T14:02:40.870Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-09-18T14:02:40.870Z] (1/17) Installing hiredis (1.1.0-r2) [2024-09-18T14:02:40.870Z] (2/17) Installing hiredis-dev (1.1.0-r2) [2024-09-18T14:02:41.131Z] (3/17) Installing libcbor (0.10.2-r1) [2024-09-18T14:02:41.131Z] (4/17) Installing iotech-iot-1.5 (1.5.4-r2) [2024-09-18T14:02:42.071Z] (5/17) Installing iotech-iot-1.5-dev (1.5.4-r2) [2024-09-18T14:02:42.071Z] (6/17) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) [2024-09-18T14:02:42.331Z] (7/17) Installing libcbor-dev (0.10.2-r1) [2024-09-18T14:02:42.331Z] (8/17) Installing libmenuw (6.4_p20230506-r0) [2024-09-18T14:02:42.331Z] (9/17) Installing libpanelw (6.4_p20230506-r0) [2024-09-18T14:02:42.331Z] (10/17) Installing libncurses++ (6.4_p20230506-r0) [2024-09-18T14:02:42.331Z] (11/17) Installing ncurses-dev (6.4_p20230506-r0) [2024-09-18T14:02:42.331Z] (12/17) Installing libblkid (2.38.1-r8) [2024-09-18T14:02:42.331Z] (13/17) Installing libuuid (2.38.1-r8) [2024-09-18T14:02:42.331Z] (14/17) Installing libfdisk (2.38.1-r8) [2024-09-18T14:02:42.331Z] (15/17) Installing libmount (2.38.1-r8) [2024-09-18T14:02:42.331Z] (16/17) Installing libsmartcols (2.38.1-r8) [2024-09-18T14:02:42.670Z] (17/17) Installing util-linux-dev (2.38.1-r8) [2024-09-18T14:02:42.670Z] Executing busybox-1.36.1-r4.trigger [2024-09-18T14:02:42.670Z] OK: 336 MiB in 99 packages [2024-09-18T14:02:43.240Z] Removing intermediate container 04cb16afa6b4 [2024-09-18T14:02:43.240Z] ---> 66a12f96b6ec [2024-09-18T14:02:43.240Z] Step 6/22 : RUN mkdir /tmp/sdk [2024-09-18T14:02:43.240Z] ---> Running in 01cf1d6053e8 [2024-09-18T14:02:43.809Z] Removing intermediate container 01cf1d6053e8 [2024-09-18T14:02:43.809Z] ---> 35bb83e04ec5 [2024-09-18T14:02:43.809Z] Step 7/22 : COPY VERSION /tmp/sdk [2024-09-18T14:02:43.809Z] ---> ee1a176c7499 [2024-09-18T14:02:43.809Z] Step 8/22 : COPY src /tmp/sdk/src [2024-09-18T14:02:44.067Z] ---> fcf5e7cf417b [2024-09-18T14:02:44.067Z] Step 9/22 : COPY include /tmp/sdk/include [2024-09-18T14:02:44.326Z] ---> f9d6cfab7b52 [2024-09-18T14:02:44.326Z] Step 10/22 : COPY scripts /tmp/sdk/scripts [2024-09-18T14:02:44.326Z] ---> 2176926bd8d1 [2024-09-18T14:02:44.326Z] Step 11/22 : COPY LICENSE /tmp/sdk [2024-09-18T14:02:44.461Z] Still waiting to schedule task [2024-09-18T14:02:44.461Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2024-09-18T14:02:44.585Z] ---> 53dee46bbd16 [2024-09-18T14:02:44.585Z] Step 12/22 : COPY Attribution.txt /tmp/sdk [2024-09-18T14:02:44.585Z] ---> a2233fc19336 [2024-09-18T14:02:44.585Z] Step 13/22 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2024-09-18T14:02:44.585Z] ---> Running in d774055bdb2b [2024-09-18T14:02:44.845Z] + CPPCHECK=false [2024-09-18T14:02:44.845Z] + DOCGEN=false [2024-09-18T14:02:44.845Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2024-09-18T14:02:44.845Z] + '[' 0 -gt 0 ] [2024-09-18T14:02:44.845Z] + readlink -f ./scripts/build.sh [2024-09-18T14:02:44.845Z] + dirname /tmp/sdk/scripts/build.sh [2024-09-18T14:02:44.845Z] + dirname /tmp/sdk/scripts [2024-09-18T14:02:44.845Z] + ROOT=/tmp/sdk [2024-09-18T14:02:44.845Z] + cd /tmp/sdk [2024-09-18T14:02:44.845Z] + mkdir -p /tmp/sdk/build/release [2024-09-18T14:02:44.845Z] + cd /tmp/sdk/build/release [2024-09-18T14:02:44.845Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2024-09-18T14:02:45.104Z] -- The C compiler identification is GNU 12.2.1 [2024-09-18T14:02:45.104Z] -- Detecting C compiler ABI info [2024-09-18T14:02:45.104Z] -- Detecting C compiler ABI info - done [2024-09-18T14:02:45.104Z] -- Check for working C compiler: /usr/bin/cc - skipped [2024-09-18T14:02:45.104Z] -- Detecting C compile features [2024-09-18T14:02:45.104Z] -- Detecting C compile features - done [2024-09-18T14:02:45.104Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2024-09-18T14:02:45.104Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") [2024-09-18T14:02:45.104Z] -- Found LIBYAML: /usr/lib/libyaml.so [2024-09-18T14:02:45.104Z] -- Found LIBUUID: /usr/lib/libuuid.so [2024-09-18T14:02:45.104Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2024-09-18T14:02:45.104Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2024-09-18T14:02:45.104Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2024-09-18T14:02:45.104Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2024-09-18T14:02:45.104Z] -- /opt/iotech/iot/1.5/include [2024-09-18T14:02:45.104Z] -- C SDK 0.0.0 for Linux [2024-09-18T14:02:45.104Z] -- Performing Test CSDK_HAVE_ATOMIC [2024-09-18T14:02:45.364Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2024-09-18T14:02:45.364Z] -- Found Curses: /usr/lib/libcurses.so [2024-09-18T14:02:45.364Z] -- Configuring done (0.4s) [2024-09-18T14:02:45.364Z] -- Generating done (0.0s) [2024-09-18T14:02:45.364Z] -- Build files have been written to: /tmp/sdk/build/release [2024-09-18T14:02:45.364Z] + make all package [2024-09-18T14:02:45.364Z] + tee release.log [2024-09-18T14:02:45.364Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2024-09-18T14:02:45.624Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2024-09-18T14:02:45.624Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2024-09-18T14:02:45.883Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2024-09-18T14:02:45.883Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2024-09-18T14:02:46.142Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2024-09-18T14:02:46.402Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2024-09-18T14:02:46.402Z] /tmp/sdk/src/c/consul.c: In function 'edgex_consul_client_get_common_config': [2024-09-18T14:02:46.402Z] /tmp/sdk/src/c/consul.c:294:10: warning: 'privateConfig' may be used uninitialized [-Wmaybe-uninitialized] [2024-09-18T14:02:46.402Z] 294 | while (privateConfig) [2024-09-18T14:02:46.402Z] | ^~~~~~~~~~~~~ [2024-09-18T14:02:46.402Z] /tmp/sdk/src/c/consul.c:214:28: note: 'privateConfig' was declared here [2024-09-18T14:02:46.402Z] 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; [2024-09-18T14:02:46.402Z] | ^~~~~~~~~~~~~ [2024-09-18T14:02:46.402Z] /tmp/sdk/src/c/consul.c:271:10: warning: 'result' may be used uninitialized [-Wmaybe-uninitialized] [2024-09-18T14:02:46.402Z] 271 | while (result) [2024-09-18T14:02:46.402Z] | ^~~~~~ [2024-09-18T14:02:46.402Z] /tmp/sdk/src/c/consul.c:214:19: note: 'result' was declared here [2024-09-18T14:02:46.402Z] 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; [2024-09-18T14:02:46.402Z] | ^~~~~~ [2024-09-18T14:02:46.402Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2024-09-18T14:02:46.402Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2024-09-18T14:02:46.662Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2024-09-18T14:02:46.922Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2024-09-18T14:02:46.922Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2024-09-18T14:02:47.182Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2024-09-18T14:02:47.182Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2024-09-18T14:02:47.441Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2024-09-18T14:02:47.441Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2024-09-18T14:02:47.701Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2024-09-18T14:02:47.960Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2024-09-18T14:02:47.960Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2024-09-18T14:02:48.220Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2024-09-18T14:02:48.220Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2024-09-18T14:02:49.160Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2024-09-18T14:02:49.419Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2024-09-18T14:02:49.419Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2024-09-18T14:02:49.419Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2024-09-18T14:02:49.679Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2024-09-18T14:02:49.939Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2024-09-18T14:02:50.200Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2024-09-18T14:02:50.200Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2024-09-18T14:02:50.461Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2024-09-18T14:02:50.461Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2024-09-18T14:02:50.461Z] /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2024-09-18T14:02:50.461Z] /tmp/sdk/src/c/service.c:892:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-09-18T14:02:50.461Z] 892 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); [2024-09-18T14:02:50.461Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-09-18T14:02:50.461Z] /tmp/sdk/src/c/service.c:893:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-09-18T14:02:50.461Z] 893 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); [2024-09-18T14:02:50.461Z] | ^ [2024-09-18T14:02:50.723Z] /tmp/sdk/src/c/service.c:1047:5: warning: 'deviceservices_config' may be used uninitialized [-Wmaybe-uninitialized] [2024-09-18T14:02:50.723Z] 1047 | edgex_device_parseClients (svc->logger, iot_data_string_map_get (deviceservices_config, "Clients"), &svc->config.endpoints); [2024-09-18T14:02:50.723Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-09-18T14:02:50.723Z] /tmp/sdk/src/c/service.c:859:68: note: 'deviceservices_config' was declared here [2024-09-18T14:02:50.723Z] 859 | iot_data_t *common_config_map, *private_config_map, *configmap, *deviceservices_config; [2024-09-18T14:02:50.723Z] | ^~~~~~~~~~~~~~~~~~~~~ [2024-09-18T14:02:50.983Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2024-09-18T14:02:50.983Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2024-09-18T14:02:50.983Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2024-09-18T14:02:51.245Z] [ 68%] Linking C shared library libcsdk.so [2024-09-18T14:02:51.245Z] [ 68%] Built target csdk [2024-09-18T14:02:51.245Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2024-09-18T14:02:51.245Z] /tmp/sdk/src/c/examples/template.c: In function 'main': [2024-09-18T14:02:51.245Z] /tmp/sdk/src/c/examples/template.c:265:50: warning: passing argument 2 of 'devsdk_callbacks_set_discovery' from incompatible pointer type [-Wincompatible-pointer-types] [2024-09-18T14:02:51.245Z] 265 | devsdk_callbacks_set_discovery (templateImpls, template_discover, NULL); [2024-09-18T14:02:51.245Z] | ^~~~~~~~~~~~~~~~~ [2024-09-18T14:02:51.245Z] | | [2024-09-18T14:02:51.245Z] | void (*)(void *) [2024-09-18T14:02:51.245Z] In file included from /tmp/sdk/src/c/examples/template.c:11: [2024-09-18T14:02:51.245Z] /tmp/sdk/src/c/examples/../../../include/devsdk/devsdk.h:257:76: note: expected 'devsdk_discover' {aka 'void (*)(void *, const char *)'} but argument is of type 'void (*)(void *)' [2024-09-18T14:02:51.245Z] 257 | void devsdk_callbacks_set_discovery (devsdk_callbacks *cb, devsdk_discover discover, devsdk_describe describe); [2024-09-18T14:02:51.245Z] | ~~~~~~~~~~~~~~~~^~~~~~~~ [2024-09-18T14:02:51.245Z] [ 72%] Linking C executable template [2024-09-18T14:02:51.505Z] [ 72%] Built target template [2024-09-18T14:02:51.505Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2024-09-18T14:02:51.505Z] [ 76%] Linking C executable device-counter [2024-09-18T14:02:51.505Z] [ 76%] Built target device-counter [2024-09-18T14:02:51.505Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2024-09-18T14:02:51.766Z] [ 80%] Linking C executable device-random [2024-09-18T14:02:51.766Z] [ 80%] Built target device-random [2024-09-18T14:02:51.766Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2024-09-18T14:02:51.766Z] [ 84%] Linking C executable device-gyro [2024-09-18T14:02:52.038Z] [ 84%] Built target device-gyro [2024-09-18T14:02:52.038Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2024-09-18T14:02:52.038Z] [ 88%] Linking C executable device-bitfields [2024-09-18T14:02:52.038Z] [ 88%] Built target device-bitfields [2024-09-18T14:02:52.038Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2024-09-18T14:02:52.038Z] /tmp/sdk/src/c/examples/discovery/template.c: In function 'main': [2024-09-18T14:02:52.038Z] /tmp/sdk/src/c/examples/discovery/template.c:289:50: warning: passing argument 2 of 'devsdk_callbacks_set_discovery' from incompatible pointer type [-Wincompatible-pointer-types] [2024-09-18T14:02:52.038Z] 289 | devsdk_callbacks_set_discovery (templateImpls, template_discover, NULL); [2024-09-18T14:02:52.038Z] | ^~~~~~~~~~~~~~~~~ [2024-09-18T14:02:52.038Z] | | [2024-09-18T14:02:52.038Z] | void (*)(void *) [2024-09-18T14:02:52.038Z] In file included from /tmp/sdk/src/c/examples/discovery/template.c:11: [2024-09-18T14:02:52.038Z] /tmp/sdk/src/c/examples/discovery/../../../../include/devsdk/devsdk.h:257:76: note: expected 'devsdk_discover' {aka 'void (*)(void *, const char *)'} but argument is of type 'void (*)(void *)' [2024-09-18T14:02:52.038Z] 257 | void devsdk_callbacks_set_discovery (devsdk_callbacks *cb, devsdk_discover discover, devsdk_describe describe); [2024-09-18T14:02:52.038Z] | ~~~~~~~~~~~~~~~~^~~~~~~~ [2024-09-18T14:02:52.298Z] [ 92%] Linking C executable template-discovery [2024-09-18T14:02:52.298Z] [ 92%] Built target template-discovery [2024-09-18T14:02:52.298Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2024-09-18T14:02:52.560Z] [ 96%] Linking C executable device-file [2024-09-18T14:02:52.560Z] [ 96%] Built target device-file [2024-09-18T14:02:52.560Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2024-09-18T14:02:52.560Z] [100%] Linking C executable device-terminal [2024-09-18T14:02:52.820Z] [100%] Built target device-terminal [2024-09-18T14:02:52.820Z] Run CPack packaging tool... [2024-09-18T14:02:52.820Z] CPack: Create package using TGZ [2024-09-18T14:02:52.820Z] CPack: Install projects [2024-09-18T14:02:52.820Z] CPack: - Run preinstall target for: Csdk [2024-09-18T14:02:53.082Z] CPack: - Install project: Csdk [] [2024-09-18T14:02:53.082Z] CPack: Create package [2024-09-18T14:02:53.082Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2024-09-18T14:02:53.082Z] + '[' false '=' true ] [2024-09-18T14:02:53.082Z] + '[' false '=' true ] [2024-09-18T14:02:53.082Z] + mkdir -p /tmp/sdk/build/debug [2024-09-18T14:02:53.082Z] + cd /tmp/sdk/build/debug [2024-09-18T14:02:53.082Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2024-09-18T14:02:53.082Z] -- The C compiler identification is GNU 12.2.1 [2024-09-18T14:02:53.082Z] -- Detecting C compiler ABI info [2024-09-18T14:02:53.343Z] -- Detecting C compiler ABI info - done [2024-09-18T14:02:53.343Z] -- Check for working C compiler: /usr/bin/cc - skipped [2024-09-18T14:02:53.343Z] -- Detecting C compile features [2024-09-18T14:02:53.343Z] -- Detecting C compile features - done [2024-09-18T14:02:53.343Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2024-09-18T14:02:53.343Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") [2024-09-18T14:02:53.343Z] -- Found LIBYAML: /usr/lib/libyaml.so [2024-09-18T14:02:53.343Z] -- Found LIBUUID: /usr/lib/libuuid.so [2024-09-18T14:02:53.343Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2024-09-18T14:02:53.343Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2024-09-18T14:02:53.343Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2024-09-18T14:02:53.343Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2024-09-18T14:02:53.343Z] -- /opt/iotech/iot/1.5/include [2024-09-18T14:02:53.343Z] -- C SDK 0.0.0 for Linux [2024-09-18T14:02:53.343Z] -- Performing Test CSDK_HAVE_ATOMIC [2024-09-18T14:02:53.343Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2024-09-18T14:02:53.343Z] -- Found Curses: /usr/lib/libcurses.so [2024-09-18T14:02:53.343Z] -- Configuring done (0.4s) [2024-09-18T14:02:53.605Z] -- Generating done (0.0s) [2024-09-18T14:02:53.605Z] -- Build files have been written to: /tmp/sdk/build/debug [2024-09-18T14:02:53.605Z] + make [2024-09-18T14:02:53.605Z] + tee debug.log [2024-09-18T14:02:53.605Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2024-09-18T14:02:53.605Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2024-09-18T14:02:53.605Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2024-09-18T14:02:53.865Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2024-09-18T14:02:53.865Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2024-09-18T14:02:53.865Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2024-09-18T14:02:54.128Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2024-09-18T14:02:54.128Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2024-09-18T14:02:54.128Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2024-09-18T14:02:54.128Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2024-09-18T14:02:54.389Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2024-09-18T14:02:54.389Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2024-09-18T14:02:54.389Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2024-09-18T14:02:54.648Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2024-09-18T14:02:54.648Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2024-09-18T14:02:54.648Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2024-09-18T14:02:54.648Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2024-09-18T14:02:54.908Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2024-09-18T14:02:54.908Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2024-09-18T14:02:54.908Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2024-09-18T14:02:55.169Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2024-09-18T14:02:55.169Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2024-09-18T14:02:55.439Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2024-09-18T14:02:55.439Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2024-09-18T14:02:55.439Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2024-09-18T14:02:55.439Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2024-09-18T14:02:55.699Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2024-09-18T14:02:55.699Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2024-09-18T14:02:55.959Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2024-09-18T14:02:55.959Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2024-09-18T14:02:55.959Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2024-09-18T14:02:55.959Z] /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2024-09-18T14:02:55.959Z] /tmp/sdk/src/c/service.c:892:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-09-18T14:02:55.959Z] 892 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); [2024-09-18T14:02:55.959Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-09-18T14:02:55.959Z] /tmp/sdk/src/c/service.c:893:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-09-18T14:02:55.959Z] 893 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); [2024-09-18T14:02:55.959Z] | ^ [2024-09-18T14:02:56.221Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2024-09-18T14:02:56.221Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2024-09-18T14:02:56.221Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2024-09-18T14:02:56.221Z] [ 68%] Linking C shared library libcsdk.so [2024-09-18T14:02:56.482Z] [ 68%] Built target csdk [2024-09-18T14:02:56.482Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2024-09-18T14:02:56.482Z] /tmp/sdk/src/c/examples/template.c: In function 'main': [2024-09-18T14:02:56.482Z] /tmp/sdk/src/c/examples/template.c:265:50: warning: passing argument 2 of 'devsdk_callbacks_set_discovery' from incompatible pointer type [-Wincompatible-pointer-types] [2024-09-18T14:02:56.482Z] 265 | devsdk_callbacks_set_discovery (templateImpls, template_discover, NULL); [2024-09-18T14:02:56.482Z] | ^~~~~~~~~~~~~~~~~ [2024-09-18T14:02:56.482Z] | | [2024-09-18T14:02:56.482Z] | void (*)(void *) [2024-09-18T14:02:56.482Z] In file included from /tmp/sdk/src/c/examples/template.c:11: [2024-09-18T14:02:56.482Z] /tmp/sdk/src/c/examples/../../../include/devsdk/devsdk.h:257:76: note: expected 'devsdk_discover' {aka 'void (*)(void *, const char *)'} but argument is of type 'void (*)(void *)' [2024-09-18T14:02:56.482Z] 257 | void devsdk_callbacks_set_discovery (devsdk_callbacks *cb, devsdk_discover discover, devsdk_describe describe); [2024-09-18T14:02:56.482Z] | ~~~~~~~~~~~~~~~~^~~~~~~~ [2024-09-18T14:02:56.482Z] [ 72%] Linking C executable template [2024-09-18T14:02:56.482Z] [ 72%] Built target template [2024-09-18T14:02:56.482Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2024-09-18T14:02:56.743Z] [ 76%] Linking C executable device-counter [2024-09-18T14:02:56.743Z] [ 76%] Built target device-counter [2024-09-18T14:02:56.743Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2024-09-18T14:02:56.743Z] [ 80%] Linking C executable device-random [2024-09-18T14:02:56.743Z] [ 80%] Built target device-random [2024-09-18T14:02:56.743Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2024-09-18T14:02:57.002Z] [ 84%] Linking C executable device-gyro [2024-09-18T14:02:57.002Z] [ 84%] Built target device-gyro [2024-09-18T14:02:57.002Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2024-09-18T14:02:57.002Z] [ 88%] Linking C executable device-bitfields [2024-09-18T14:02:57.262Z] [ 88%] Built target device-bitfields [2024-09-18T14:02:57.262Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2024-09-18T14:02:57.262Z] /tmp/sdk/src/c/examples/discovery/template.c: In function 'main': [2024-09-18T14:02:57.262Z] /tmp/sdk/src/c/examples/discovery/template.c:289:50: warning: passing argument 2 of 'devsdk_callbacks_set_discovery' from incompatible pointer type [-Wincompatible-pointer-types] [2024-09-18T14:02:57.262Z] 289 | devsdk_callbacks_set_discovery (templateImpls, template_discover, NULL); [2024-09-18T14:02:57.262Z] | ^~~~~~~~~~~~~~~~~ [2024-09-18T14:02:57.262Z] | | [2024-09-18T14:02:57.262Z] | void (*)(void *) [2024-09-18T14:02:57.262Z] In file included from /tmp/sdk/src/c/examples/discovery/template.c:11: [2024-09-18T14:02:57.262Z] /tmp/sdk/src/c/examples/discovery/../../../../include/devsdk/devsdk.h:257:76: note: expected 'devsdk_discover' {aka 'void (*)(void *, const char *)'} but argument is of type 'void (*)(void *)' [2024-09-18T14:02:57.262Z] 257 | void devsdk_callbacks_set_discovery (devsdk_callbacks *cb, devsdk_discover discover, devsdk_describe describe); [2024-09-18T14:02:57.262Z] | ~~~~~~~~~~~~~~~~^~~~~~~~ [2024-09-18T14:02:57.262Z] [ 92%] Linking C executable template-discovery [2024-09-18T14:02:57.262Z] [ 92%] Built target template-discovery [2024-09-18T14:02:57.262Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2024-09-18T14:02:57.262Z] [ 96%] Linking C executable device-file [2024-09-18T14:02:57.523Z] [ 96%] Built target device-file [2024-09-18T14:02:57.523Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2024-09-18T14:02:57.523Z] [100%] Linking C executable device-terminal [2024-09-18T14:02:57.523Z] [100%] Built target device-terminal [2024-09-18T14:02:57.523Z] make: Entering directory '/tmp/sdk/build/release' [2024-09-18T14:02:57.784Z] [ 68%] Built target csdk [2024-09-18T14:02:57.784Z] [ 72%] Built target template [2024-09-18T14:02:57.784Z] [ 76%] Built target device-counter [2024-09-18T14:02:57.784Z] [ 80%] Built target device-random [2024-09-18T14:02:57.784Z] [ 84%] Built target device-gyro [2024-09-18T14:02:57.784Z] [ 88%] Built target device-bitfields [2024-09-18T14:02:57.784Z] [ 92%] Built target template-discovery [2024-09-18T14:02:57.784Z] [ 96%] Built target device-file [2024-09-18T14:02:57.784Z] [100%] Built target device-terminal [2024-09-18T14:02:57.784Z] Install the project... [2024-09-18T14:02:57.784Z] -- Install configuration: "Release" [2024-09-18T14:02:57.784Z] -- Installing: /usr/local/lib/libcsdk.so [2024-09-18T14:02:57.784Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2024-09-18T14:02:57.784Z] -- Installing: /usr/local/include [2024-09-18T14:02:57.784Z] -- Installing: /usr/local/include/devsdk [2024-09-18T14:02:57.784Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2024-09-18T14:02:57.784Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2024-09-18T14:02:57.784Z] -- Installing: /usr/local/include/edgex [2024-09-18T14:02:57.784Z] -- Installing: /usr/local/include/edgex/edgex.h [2024-09-18T14:02:57.784Z] -- Installing: /usr/local/include/edgex/devices.h [2024-09-18T14:02:57.784Z] -- Installing: /usr/local/include/edgex/profiles.h [2024-09-18T14:02:57.784Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2024-09-18T14:02:57.784Z] -- Installing: /usr/local/include/edgex/rest-server.h [2024-09-18T14:02:57.784Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2024-09-18T14:02:57.784Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2024-09-18T14:02:57.784Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2024-09-18T14:02:57.784Z] make: Leaving directory '/tmp/sdk/build/release' [2024-09-18T14:02:58.724Z] Removing intermediate container d774055bdb2b [2024-09-18T14:02:58.724Z] ---> 19629b55585a [2024-09-18T14:02:58.724Z] Step 14/22 : FROM ${BASE} [2024-09-18T14:02:58.724Z] ---> 6605166a5db4 [2024-09-18T14:02:58.724Z] Step 15/22 : LABEL maintainer="IOTech " [2024-09-18T14:02:58.724Z] ---> Running in 59531cb9afcd [2024-09-18T14:02:58.724Z] Removing intermediate container 59531cb9afcd [2024-09-18T14:02:58.724Z] ---> c69360c7cd32 [2024-09-18T14:02:58.724Z] Step 16/22 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2024-09-18T14:02:58.724Z] ---> Running in 2ca4c6f2631f [2024-09-18T14:02:58.985Z] Connecting to iotech.jfrog.io (34.246.139.145:443) [2024-09-18T14:02:59.553Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-09-18T14:02:59.553Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-09-18T14:02:59.553Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-09-18T14:02:59.553Z] Removing intermediate container 2ca4c6f2631f [2024-09-18T14:02:59.553Z] ---> 21a5850382ba [2024-09-18T14:02:59.553Z] Step 17/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-09-18T14:02:59.814Z] ---> Running in 5936062fa1a0 [2024-09-18T14:03:00.383Z] Removing intermediate container 5936062fa1a0 [2024-09-18T14:03:00.383Z] ---> a46ec5bcd23c [2024-09-18T14:03:00.383Z] Step 18/22 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml curl libmicrohttpd libuuid libcbor iotech-paho-mqtt-c-dev-1.3 iotech-iot-1.5 hiredis-dev dumb-init [2024-09-18T14:03:00.383Z] ---> Running in b3c325ed942a [2024-09-18T14:03:00.644Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-09-18T14:03:00.644Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-09-18T14:03:00.904Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-09-18T14:03:01.476Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-09-18T14:03:01.476Z] (1/10) Upgrading libcurl (8.4.0-r0 -> 8.9.1-r0) [2024-09-18T14:03:01.476Z] (2/10) Installing curl (8.9.1-r0) [2024-09-18T14:03:01.476Z] (3/10) Upgrading curl-dev (8.4.0-r0 -> 8.9.1-r0) [2024-09-18T14:03:01.476Z] (4/10) Installing dumb-init (1.2.5-r2) [2024-09-18T14:03:01.476Z] (5/10) Installing hiredis (1.1.0-r2) [2024-09-18T14:03:01.476Z] (6/10) Installing hiredis-dev (1.1.0-r2) [2024-09-18T14:03:01.476Z] (7/10) Installing libcbor (0.10.2-r1) [2024-09-18T14:03:01.476Z] (8/10) Installing iotech-iot-1.5 (1.5.4-r2) [2024-09-18T14:03:02.415Z] (9/10) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) [2024-09-18T14:03:02.415Z] (10/10) Installing libuuid (2.38.1-r8) [2024-09-18T14:03:02.415Z] Executing busybox-1.36.1-r4.trigger [2024-09-18T14:03:02.415Z] OK: 331 MiB in 90 packages [2024-09-18T14:03:02.984Z] Removing intermediate container b3c325ed942a [2024-09-18T14:03:02.984Z] ---> 790a4a83c8db [2024-09-18T14:03:02.984Z] Step 19/22 : RUN apk --no-cache upgrade [2024-09-18T14:03:02.984Z] ---> Running in 5cb39c4e295d [2024-09-18T14:03:03.243Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-09-18T14:03:03.243Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-09-18T14:03:03.501Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-09-18T14:03:04.071Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-09-18T14:03:04.071Z] Upgrading critical system libraries and apk-tools: [2024-09-18T14:03:04.071Z] (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) [2024-09-18T14:03:04.071Z] Executing busybox-1.36.1-r4.trigger [2024-09-18T14:03:04.071Z] Continuing the upgrade transaction with new apk-tools: [2024-09-18T14:03:04.071Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-09-18T14:03:04.071Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-09-18T14:03:04.331Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-09-18T14:03:04.591Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-09-18T14:03:04.591Z] (1/14) Upgrading busybox (1.36.1-r4 -> 1.36.1-r7) [2024-09-18T14:03:04.591Z] Executing busybox-1.36.1-r7.post-upgrade [2024-09-18T14:03:04.853Z] (2/14) Upgrading busybox-binsh (1.36.1-r4 -> 1.36.1-r7) [2024-09-18T14:03:04.853Z] (3/14) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) [2024-09-18T14:03:04.853Z] (4/14) Upgrading libcrypto3 (3.1.4-r0 -> 3.1.7-r0) [2024-09-18T14:03:04.853Z] (5/14) Upgrading libssl3 (3.1.4-r0 -> 3.1.7-r0) [2024-09-18T14:03:04.853Z] (6/14) Upgrading ssl_client (1.36.1-r4 -> 1.36.1-r7) [2024-09-18T14:03:04.853Z] (7/14) Upgrading libexpat (2.5.0-r1 -> 2.6.3-r0) [2024-09-18T14:03:04.853Z] (8/14) Upgrading libarchive (3.7.2-r0 -> 3.7.5-r0) [2024-09-18T14:03:04.853Z] (9/14) Upgrading ca-certificates (20230506-r0 -> 20240226-r0) [2024-09-18T14:03:04.853Z] (10/14) Upgrading openssl-dev (3.1.4-r0 -> 3.1.7-r0) [2024-09-18T14:03:04.853Z] (11/14) Upgrading git (2.40.1-r0 -> 2.40.3-r0) [2024-09-18T14:03:04.853Z] (12/14) Upgrading gnutls (3.8.0-r2 -> 3.8.4-r0) [2024-09-18T14:03:05.113Z] (13/14) Upgrading gnutls-c++ (3.8.0-r2 -> 3.8.4-r0) [2024-09-18T14:03:05.113Z] (14/14) Upgrading gnutls-dev (3.8.0-r2 -> 3.8.4-r0) [2024-09-18T14:03:05.113Z] Executing busybox-1.36.1-r7.trigger [2024-09-18T14:03:05.113Z] Executing ca-certificates-20240226-r0.trigger [2024-09-18T14:03:05.113Z] OK: 331 MiB in 90 packages [2024-09-18T14:03:06.051Z] Removing intermediate container 5cb39c4e295d [2024-09-18T14:03:06.051Z] ---> eef97bc24346 [2024-09-18T14:03:06.051Z] Step 20/22 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2024-09-18T14:03:06.310Z] ---> 30f0702a0e68 [2024-09-18T14:03:06.310Z] Step 21/22 : COPY --from=builder /usr/local/lib /usr/local/lib [2024-09-18T14:03:06.310Z] ---> f04ec9dac95c [2024-09-18T14:03:06.310Z] Step 22/22 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2024-09-18T14:03:06.569Z] ---> b5e215cc5365 [2024-09-18T14:03:06.569Z] Successfully built b5e215cc5365 [2024-09-18T14:03:06.569Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-18T14:03:07.337Z] + docker inspect -f . ci-base-image-x86_64 [2024-09-18T14:03:07.337Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-09-18T14:03:07.511Z] prd-ubuntu20.04-docker-8c-8g-10605 does not seem to be running inside a container [2024-09-18T14:03:07.533Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-c_PR-513 -v /w/workspace/edgexfoundry_device-sdk-c_PR-513:/w/workspace/edgexfoundry_device-sdk-c_PR-513:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-513@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-513@tmp:rw,z -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 ******** -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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-09-18T14:03:07.914Z] $ docker top fb45dee54f7c50be0919bed67b93a5fcbf9295f4a945b79102561619fc30051b -eo pid,comm [Pipeline] { [Pipeline] sh [2024-09-18T14:03:08.341Z] + make test [2024-09-18T14:03:08.341Z] echo "make test" [2024-09-18T14:03:08.341Z] make test [Pipeline] } [2024-09-18T14:03:08.373Z] $ docker stop --time=1 fb45dee54f7c50be0919bed67b93a5fcbf9295f4a945b79102561619fc30051b [2024-09-18T14:03:09.640Z] $ docker rm -f --volumes fb45dee54f7c50be0919bed67b93a5fcbf9295f4a945b79102561619fc30051b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-09-18T14:03:10.574Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-09-18T14:03:10.890Z] + ls -al . [2024-09-18T14:03:10.890Z] total 212 [2024-09-18T14:03:10.890Z] drwxrwxr-x 9 jenkins jenkins 4096 Sep 18 14:02 . [2024-09-18T14:03:10.890Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 18 14:01 .. [2024-09-18T14:03:10.890Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 18 14:02 .git [2024-09-18T14:03:10.890Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 18 14:02 .github [2024-09-18T14:03:10.890Z] -rw-rw-r-- 1 jenkins jenkins 176 Sep 18 14:02 .gitignore [2024-09-18T14:03:10.890Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 18 14:02 .semver [2024-09-18T14:03:10.890Z] -rw-rw-r-- 1 jenkins jenkins 2908 Sep 18 14:02 Attribution.txt [2024-09-18T14:03:10.890Z] -rw-rw-r-- 1 jenkins jenkins 11953 Sep 18 14:02 CHANGELOG.md [2024-09-18T14:03:10.890Z] -rw-rw-r-- 1 jenkins jenkins 108574 Sep 18 14:02 Doxyfile [2024-09-18T14:03:10.890Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 18 14:02 GOVERNANCE.md [2024-09-18T14:03:10.890Z] -rw-rw-r-- 1 jenkins jenkins 784 Sep 18 14:02 Jenkinsfile [2024-09-18T14:03:10.890Z] -rw-rw-r-- 1 jenkins jenkins 10174 Sep 18 14:02 LICENSE [2024-09-18T14:03:10.890Z] -rw-rw-r-- 1 jenkins jenkins 444 Sep 18 14:02 Makefile [2024-09-18T14:03:10.890Z] -rw-rw-r-- 1 jenkins jenkins 618 Sep 18 14:02 OWNERS.md [2024-09-18T14:03:10.890Z] -rw-rw-r-- 1 jenkins jenkins 1651 Sep 18 14:02 README.IOT.md [2024-09-18T14:03:10.890Z] -rw-rw-r-- 1 jenkins jenkins 4215 Sep 18 14:02 README.md [2024-09-18T14:03:10.890Z] -rw-rw-r-- 1 jenkins jenkins 1245 Sep 18 14:02 README.v3.md [2024-09-18T14:03:10.890Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 18 14:02 VERSION [2024-09-18T14:03:10.890Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 18 14:02 docs [2024-09-18T14:03:10.890Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 18 14:02 include [2024-09-18T14:03:10.890Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 18 14:02 scripts [2024-09-18T14:03:10.890Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 18 14:02 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-18T14:03:11.315Z] + docker build -t device-sdk -f scripts/Dockerfile.alpine --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=c5a2e83cc9eed401c9d22d0044bc9e373fc06a76 --label arch=amd64 --label version=0.0.0 . [2024-09-18T14:03:11.315Z] Sending build context to Docker daemon 5.195MB [2024-09-18T14:03:11.315Z] Step 1/18 : ARG BASE=alpine:3.18 [2024-09-18T14:03:11.315Z] Step 2/18 : FROM ${BASE} [2024-09-18T14:03:11.315Z] ---> b5e215cc5365 [2024-09-18T14:03:11.315Z] Step 3/18 : LABEL maintainer="IOTech " [2024-09-18T14:03:11.315Z] ---> Running in 793cbcdd8f20 [2024-09-18T14:03:11.576Z] Removing intermediate container 793cbcdd8f20 [2024-09-18T14:03:11.576Z] ---> 3c1f1fabae30 [2024-09-18T14:03:11.576Z] Step 4/18 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2024-09-18T14:03:11.576Z] ---> Running in c04d64474a99 [2024-09-18T14:03:11.836Z] Connecting to iotech.jfrog.io (34.247.22.236:443) [2024-09-18T14:03:12.096Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-09-18T14:03:12.096Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-09-18T14:03:12.096Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-09-18T14:03:12.665Z] Removing intermediate container c04d64474a99 [2024-09-18T14:03:12.665Z] ---> 7ea93e67c251 [2024-09-18T14:03:12.665Z] Step 5/18 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-09-18T14:03:12.665Z] ---> Running in d30f3d8aea44 [2024-09-18T14:03:13.234Z] Removing intermediate container d30f3d8aea44 [2024-09-18T14:03:13.234Z] ---> 1508408a787a [2024-09-18T14:03:13.234Z] Step 6/18 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml-dev curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev libcbor-dev iotech-paho-mqtt-c-dev-1.3 hiredis-dev iotech-iot-1.5-dev dumb-init && mkdir -p /edgex-c-sdk/build [2024-09-18T14:03:13.234Z] ---> Running in e3e75f800c61 [2024-09-18T14:03:13.494Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-09-18T14:03:13.494Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-09-18T14:03:14.066Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-09-18T14:03:14.644Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-09-18T14:03:14.644Z] (1/11) Installing iotech-iot-1.5-dev (1.5.4-r2) [2024-09-18T14:03:14.644Z] (2/11) Installing libcbor-dev (0.10.2-r1) [2024-09-18T14:03:14.644Z] (3/11) Installing libmenuw (6.4_p20230506-r0) [2024-09-18T14:03:14.644Z] (4/11) Installing libpanelw (6.4_p20230506-r0) [2024-09-18T14:03:14.644Z] (5/11) Installing libncurses++ (6.4_p20230506-r0) [2024-09-18T14:03:14.644Z] (6/11) Installing ncurses-dev (6.4_p20230506-r0) [2024-09-18T14:03:14.644Z] (7/11) Installing libblkid (2.38.1-r8) [2024-09-18T14:03:14.644Z] (8/11) Installing libfdisk (2.38.1-r8) [2024-09-18T14:03:14.644Z] (9/11) Installing libmount (2.38.1-r8) [2024-09-18T14:03:14.644Z] (10/11) Installing libsmartcols (2.38.1-r8) [2024-09-18T14:03:14.644Z] (11/11) Installing util-linux-dev (2.38.1-r8) [2024-09-18T14:03:14.644Z] Executing busybox-1.36.1-r7.trigger [2024-09-18T14:03:14.644Z] OK: 337 MiB in 101 packages [2024-09-18T14:03:15.226Z] Removing intermediate container e3e75f800c61 [2024-09-18T14:03:15.226Z] ---> 3ae4c2e1cbd9 [2024-09-18T14:03:15.226Z] Step 7/18 : RUN apk --no-cache upgrade [2024-09-18T14:03:15.485Z] ---> Running in bb644717a72a [2024-09-18T14:03:15.744Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-09-18T14:03:15.744Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-09-18T14:03:15.744Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-09-18T14:03:16.310Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-09-18T14:03:16.310Z] OK: 337 MiB in 101 packages [2024-09-18T14:03:16.883Z] Removing intermediate container bb644717a72a [2024-09-18T14:03:16.883Z] ---> d72fd826ef2f [2024-09-18T14:03:16.883Z] Step 8/18 : COPY VERSION /edgex-c-sdk/ [2024-09-18T14:03:16.883Z] ---> 0a6670a1a27c [2024-09-18T14:03:16.883Z] Step 9/18 : COPY src /edgex-c-sdk/src/ [2024-09-18T14:03:17.167Z] ---> d700c5315028 [2024-09-18T14:03:17.167Z] Step 10/18 : COPY include /edgex-c-sdk/include/ [2024-09-18T14:03:17.167Z] ---> 9f1461562c41 [2024-09-18T14:03:17.167Z] Step 11/18 : COPY scripts /edgex-c-sdk/scripts [2024-09-18T14:03:17.428Z] ---> 476c0b1a1c1c [2024-09-18T14:03:17.428Z] Step 12/18 : COPY LICENSE /edgex-c-sdk/ [2024-09-18T14:03:17.428Z] ---> 4486be337281 [2024-09-18T14:03:17.428Z] Step 13/18 : COPY Attribution.txt /edgex-c-sdk/ [2024-09-18T14:03:17.688Z] ---> e1c9688d64e9 [2024-09-18T14:03:17.688Z] Step 14/18 : WORKDIR /edgex-c-sdk [2024-09-18T14:03:17.688Z] ---> Running in a0136419e1d7 [2024-09-18T14:03:17.688Z] Removing intermediate container a0136419e1d7 [2024-09-18T14:03:17.688Z] ---> 3336b07a6463 [2024-09-18T14:03:17.688Z] Step 15/18 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2024-09-18T14:03:17.688Z] ---> Running in a2a31d75101b [2024-09-18T14:03:17.688Z] Removing intermediate container a2a31d75101b [2024-09-18T14:03:17.688Z] ---> 6572dcb1d519 [2024-09-18T14:03:17.688Z] Step 16/18 : LABEL arch=amd64 [2024-09-18T14:03:17.688Z] ---> Running in 0121d0f1ab91 [2024-09-18T14:03:17.948Z] Removing intermediate container 0121d0f1ab91 [2024-09-18T14:03:17.948Z] ---> 4eeda2b3e444 [2024-09-18T14:03:17.948Z] Step 17/18 : LABEL git_sha=c5a2e83cc9eed401c9d22d0044bc9e373fc06a76 [2024-09-18T14:03:17.948Z] ---> Running in 4c519cb423cc [2024-09-18T14:03:17.948Z] Removing intermediate container 4c519cb423cc [2024-09-18T14:03:17.948Z] ---> ce61c773e0a3 [2024-09-18T14:03:17.948Z] Step 18/18 : LABEL version=0.0.0 [2024-09-18T14:03:17.948Z] ---> Running in 656e34c2dfe7 [2024-09-18T14:03:18.207Z] Removing intermediate container 656e34c2dfe7 [2024-09-18T14:03:18.207Z] ---> ced786c21ae5 [2024-09-18T14:03:18.207Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2024-09-18T14:03:18.207Z] Successfully built ced786c21ae5 [2024-09-18T14:03:18.207Z] Successfully tagged device-sdk:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-18T14:03:19.284Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-09-18T14:03:19.284Z] [2024-09-18T14:03:19.284Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-18T14:03:19.680Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-09-18T14:03:19.680Z] latest: Pulling from edgex-lftools-log-publisher [2024-09-18T14:03:19.680Z] 5eb5b503b376: Pulling fs layer [2024-09-18T14:03:19.680Z] 5c69ac0246d0: Pulling fs layer [2024-09-18T14:03:19.680Z] ec43610c2a17: Pulling fs layer [2024-09-18T14:03:19.680Z] 3a2ae6a8a46f: Pulling fs layer [2024-09-18T14:03:19.680Z] 33b1e0a273af: Pulling fs layer [2024-09-18T14:03:19.680Z] 3a2ae6a8a46f: Waiting [2024-09-18T14:03:19.680Z] 33b1e0a273af: Waiting [2024-09-18T14:03:19.680Z] 5d3b04190fa2: Pulling fs layer [2024-09-18T14:03:19.680Z] 2f39f015ded8: Pulling fs layer [2024-09-18T14:03:19.680Z] 5d3b04190fa2: Waiting [2024-09-18T14:03:19.680Z] 2f39f015ded8: Waiting [2024-09-18T14:03:19.680Z] 5c69ac0246d0: Verifying Checksum [2024-09-18T14:03:19.680Z] 5c69ac0246d0: Download complete [2024-09-18T14:03:19.680Z] 3a2ae6a8a46f: Download complete [2024-09-18T14:03:19.680Z] 33b1e0a273af: Verifying Checksum [2024-09-18T14:03:19.680Z] 33b1e0a273af: Download complete [2024-09-18T14:03:19.680Z] 5d3b04190fa2: Download complete [2024-09-18T14:03:19.680Z] ec43610c2a17: Download complete [2024-09-18T14:03:19.939Z] 5eb5b503b376: Download complete [2024-09-18T14:03:20.504Z] 2f39f015ded8: Download complete [2024-09-18T14:03:21.073Z] 5eb5b503b376: Pull complete [2024-09-18T14:03:21.332Z] 5c69ac0246d0: Pull complete [2024-09-18T14:03:21.899Z] ec43610c2a17: Pull complete [2024-09-18T14:03:21.899Z] 3a2ae6a8a46f: Pull complete [2024-09-18T14:03:22.159Z] 33b1e0a273af: Pull complete [2024-09-18T14:03:22.159Z] 5d3b04190fa2: Pull complete [2024-09-18T14:03:27.519Z] 2f39f015ded8: Pull complete [2024-09-18T14:03:27.519Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-09-18T14:03:27.519Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-09-18T14:03:27.519Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-09-18T14:03:27.781Z] prd-ubuntu20.04-docker-8c-8g-10605 does not seem to be running inside a container [2024-09-18T14:03:27.811Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-c_PR-513 -v /w/workspace/edgexfoundry_device-sdk-c_PR-513:/w/workspace/edgexfoundry_device-sdk-c_PR-513:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-513@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-513@tmp:rw,z -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 ******** -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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-09-18T14:03:32.406Z] $ docker top 4e31d19bd33c0b86824e253ed14480f877cf0e83c111c1b31ee211f652cc3b0d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-09-18T14:03:32.904Z] ---> job-cost.sh [2024-09-18T14:03:32.904Z] lf-activate-venv: SKIPPING [2024-09-18T14:03:32.904Z] INFO: No Stack... [2024-09-18T14:03:33.163Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-09-18T14:03:33.733Z] INFO: Archiving Costs [Pipeline] sh [2024-09-18T14:03:34.057Z] + cat /w/workspace/edgexfoundry_device-sdk-c_PR-513/archives/cost.csv [2024-09-18T14:03:34.057Z] + cut -d, -f6 [Pipeline] lock [2024-09-18T14:03:34.100Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-c-PR-513-1-stack-cost] [2024-09-18T14:03:34.108Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-513-1-stack-cost] did not exist. Created. [2024-09-18T14:03:34.115Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-c-PR-513-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-09-18T14:03:34.537Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-09-18T14:03:34.618Z] Stashed 1 file(s) [Pipeline] } [2024-09-18T14:03:34.640Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-c-PR-513-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-09-18T14:03:34.857Z] $ docker stop --time=1 4e31d19bd33c0b86824e253ed14480f877cf0e83c111c1b31ee211f652cc3b0d [2024-09-18T14:03:36.046Z] $ docker rm -f --volumes 4e31d19bd33c0b86824e253ed14480f877cf0e83c111c1b31ee211f652cc3b0d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-09-18T14:04:30.446Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-10606 in /w/workspace/edgexfoundry_device-sdk-c_PR-513 [Pipeline] { [Pipeline] ws [2024-09-18T14:04:30.524Z] Running in /w/workspace/device-sdk-c/1 [Pipeline] { [Pipeline] checkout [2024-09-18T14:04:30.621Z] Selected Git installation does not exist. Using Default [2024-09-18T14:04:30.621Z] The recommended git tool is: NONE [2024-09-18T14:04:37.189Z] using credential edgex-jenkins-ssh [2024-09-18T14:04:37.214Z] Cloning the remote Git repository [2024-09-18T14:04:37.282Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2024-09-18T14:04:37.402Z] > git init /w/workspace/device-sdk-c/1 # timeout=10 [2024-09-18T14:04:37.688Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2024-09-18T14:04:37.689Z] > git --version # timeout=10 [2024-09-18T14:04:37.714Z] > git --version # 'git version 2.25.1' [2024-09-18T14:04:37.716Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-09-18T14:04:37.986Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-09-18T14:04:39.209Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2024-09-18T14:04:39.235Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-09-18T14:04:40.798Z] Merging remotes/origin/main commit b5fd43aa6b4e8069e65248caa2e7d6db03f961ef into PR head commit c5a2e83cc9eed401c9d22d0044bc9e373fc06a76 [2024-09-18T14:04:40.936Z] ERROR: Checkout failed [2024-09-18T14:04:40.936Z] hudson.plugins.git.GitException: Command "git checkout -f c5a2e83cc9eed401c9d22d0044bc9e373fc06a76" returned status code 128: [2024-09-18T14:04:40.936Z] stdout: [2024-09-18T14:04:40.936Z] stderr: fatal: reference is not a tree: c5a2e83cc9eed401c9d22d0044bc9e373fc06a76 [2024-09-18T14:04:40.936Z] [2024-09-18T14:04:40.936Z] at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:2846) [2024-09-18T14:04:40.936Z] at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$9.execute(CliGitAPIImpl.java:3174) [2024-09-18T14:04:40.936Z] Also: hudson.remoting.Channel$CallSiteStackTrace: Remote call to prd-ubuntu20.04-docker-arm64-4c-16g-10606 [2024-09-18T14:04:40.936Z] at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1787) [2024-09-18T14:04:40.936Z] at hudson.remoting.UserRequest$ExceptionResponse.retrieve(UserRequest.java:356) [2024-09-18T14:04:40.936Z] at hudson.remoting.Channel.call(Channel.java:1003) [2024-09-18T14:04:40.936Z] at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler.execute(RemoteGitImpl.java:153) [2024-09-18T14:04:40.936Z] at jdk.internal.reflect.GeneratedMethodAccessor684.invoke(Unknown Source) [2024-09-18T14:04:40.936Z] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [2024-09-18T14:04:40.936Z] at java.base/java.lang.reflect.Method.invoke(Method.java:566) [2024-09-18T14:04:40.936Z] at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler.invoke(RemoteGitImpl.java:138) [2024-09-18T14:04:40.936Z] at com.sun.proxy.$Proxy230.execute(Unknown Source) [2024-09-18T14:04:40.936Z] at jenkins.plugins.git.MergeWithGitSCMExtension.checkout(MergeWithGitSCMExtension.java:144) [2024-09-18T14:04:40.936Z] at jenkins.plugins.git.MergeWithGitSCMExtension.decorateRevisionToBuild(MergeWithGitSCMExtension.java:110) [2024-09-18T14:04:40.936Z] at hudson.plugins.git.GitSCM.determineRevisionToBuild(GitSCM.java:1162) [2024-09-18T14:04:40.936Z] at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1306) [2024-09-18T14:04:40.936Z] at org.jenkinsci.plugins.workflow.steps.scm.SCMStep.checkout(SCMStep.java:136) [2024-09-18T14:04:40.936Z] at org.jenkinsci.plugins.workflow.steps.scm.SCMStep$StepExecutionImpl.run(SCMStep.java:101) [2024-09-18T14:04:40.936Z] at org.jenkinsci.plugins.workflow.steps.scm.SCMStep$StepExecutionImpl.run(SCMStep.java:88) [2024-09-18T14:04:40.936Z] at org.jenkinsci.plugins.workflow.steps.SynchronousNonBlockingStepExecution.lambda$start$0(SynchronousNonBlockingStepExecution.java:47) [2024-09-18T14:04:40.936Z] at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) [2024-09-18T14:04:40.936Z] at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) [2024-09-18T14:04:40.936Z] at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) [2024-09-18T14:04:40.936Z] at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) [2024-09-18T14:04:40.936Z] at java.base/java.lang.Thread.run(Thread.java:829) [2024-09-18T14:04:40.936Z] Caused: hudson.plugins.git.GitException: Could not checkout c5a2e83cc9eed401c9d22d0044bc9e373fc06a76 [2024-09-18T14:04:40.936Z] at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$9.execute(CliGitAPIImpl.java:3202) [2024-09-18T14:04:40.936Z] at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler$GitCommandMasterToSlaveCallable.call(RemoteGitImpl.java:170) [2024-09-18T14:04:40.936Z] at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler$GitCommandMasterToSlaveCallable.call(RemoteGitImpl.java:161) [2024-09-18T14:04:40.936Z] at hudson.remoting.UserRequest.perform(UserRequest.java:211) [2024-09-18T14:04:40.936Z] at hudson.remoting.UserRequest.perform(UserRequest.java:54) [2024-09-18T14:04:40.936Z] at hudson.remoting.Request$2.run(Request.java:377) [2024-09-18T14:04:40.936Z] at hudson.remoting.InterceptingExecutorService.lambda$wrap$0(InterceptingExecutorService.java:78) [2024-09-18T14:04:40.936Z] at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) [2024-09-18T14:04:40.936Z] at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) [2024-09-18T14:04:40.936Z] at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) [2024-09-18T14:04:40.936Z] at java.base/java.lang.Thread.run(Thread.java:829) [2024-09-18T14:04:40.936Z] ERROR: Maximum checkout retry attempts reached, aborting [Pipeline] } [Pipeline] // ws [2024-09-18T14:04:40.136Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2024-09-18T14:04:40.176Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2024-09-18T14:04:40.177Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-09-18T14:04:40.202Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/513/head:refs/remotes/origin/PR-513 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-09-18T14:04:40.822Z] > git config core.sparsecheckout # timeout=10 [2024-09-18T14:04:40.884Z] > git checkout -f c5a2e83cc9eed401c9d22d0044bc9e373fc06a76 # timeout=10 [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-09-18T14:04:41.292Z] Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2024-09-18T14:04:42.818Z] + [ -d /w/workspace/edgexfoundry_device-sdk-c_PR-513/archives ] [2024-09-18T14:04:42.818Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-513/archives [2024-09-18T14:04:42.818Z] total 16 [2024-09-18T14:04:42.818Z] drwxr-xr-x 3 root root 4096 Sep 18 14:03 . [2024-09-18T14:04:42.818Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 18 14:03 .. [2024-09-18T14:04:42.818Z] drwxr-xr-x 2 root root 4096 Sep 18 14:03 cost [2024-09-18T14:04:42.818Z] -rw-r--r-- 1 root root 84 Sep 18 14:03 cost.csv [2024-09-18T14:04:42.818Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_PR-513/archives [2024-09-18T14:04:42.818Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-513/archives [2024-09-18T14:04:42.818Z] total 16 [2024-09-18T14:04:42.818Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 18 14:03 . [2024-09-18T14:04:42.818Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 18 14:03 .. [2024-09-18T14:04:42.818Z] drwxr-xr-x 2 jenkins jenkins 4096 Sep 18 14:03 cost [2024-09-18T14:04:42.818Z] -rw-r--r-- 1 jenkins jenkins 84 Sep 18 14:03 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-09-18T14:04:43.161Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-09-18T14:04:44.055Z] ---> package-listing.sh [2024-09-18T14:04:44.055Z] ++ facter osfamily [2024-09-18T14:04:44.055Z] ++ tr '[:upper:]' '[:lower:]' [2024-09-18T14:04:44.313Z] + OS_FAMILY=debian [2024-09-18T14:04:44.313Z] + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-513 [2024-09-18T14:04:44.313Z] + START_PACKAGES=/tmp/packages_start.txt [2024-09-18T14:04:44.313Z] + END_PACKAGES=/tmp/packages_end.txt [2024-09-18T14:04:44.313Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-09-18T14:04:44.313Z] + PACKAGES=/tmp/packages_start.txt [2024-09-18T14:04:44.313Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-513 ']' [2024-09-18T14:04:44.313Z] + PACKAGES=/tmp/packages_end.txt [2024-09-18T14:04:44.313Z] + case "${OS_FAMILY}" in [2024-09-18T14:04:44.313Z] + dpkg -l [2024-09-18T14:04:44.313Z] + grep '^ii' [2024-09-18T14:04:44.313Z] + '[' -f /tmp/packages_start.txt ']' [2024-09-18T14:04:44.313Z] + '[' -f /tmp/packages_end.txt ']' [2024-09-18T14:04:44.313Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-09-18T14:04:44.313Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-513 ']' [2024-09-18T14:04:44.313Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-513/archives/ [2024-09-18T14:04:44.313Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-513/archives/ [Pipeline] echo [2024-09-18T14:04:44.361Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-c_PR-513/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-09-18T14:04:44.671Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-18T14:04:45.081Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-09-18T14:04:45.081Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-09-18T14:04:45.252Z] prd-ubuntu20.04-docker-8c-8g-10605 does not seem to be running inside a container [2024-09-18T14:04:45.275Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-c_PR-513/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-c_PR-513 -v /w/workspace/edgexfoundry_device-sdk-c_PR-513:/w/workspace/edgexfoundry_device-sdk-c_PR-513:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-513@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-513@tmp:rw,z -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 ******** -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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-09-18T14:04:45.482Z] $ docker top 2df4c4cfc045697e3bfa5264abe2ace6e0cf696a35f415343cbcb6f651ce1bba -eo pid,comm [Pipeline] { [Pipeline] sh [2024-09-18T14:04:45.898Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-09-18T14:04:46.217Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-09-18T14:04:46.528Z] + ls /var/log/sa-host [2024-09-18T14:04:46.528Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-09-18T14:04:46.777Z] provisioning config files... [2024-09-18T14:04:46.786Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-513@tmp/config17878431730605448456tmp [Pipeline] { [Pipeline] echo [2024-09-18T14:04:46.859Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-09-18T14:04:47.185Z] ---> create-netrc.sh [Pipeline] } [2024-09-18T14:04:47.219Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-09-18T14:04:47.635Z] ---> python-tools-install.sh [Pipeline] echo [2024-09-18T14:04:47.676Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-09-18T14:04:48.003Z] ---> sudo-logs.sh [2024-09-18T14:04:48.003Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-09-18T14:04:48.270Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-09-18T14:04:48.597Z] ---> job-cost.sh [2024-09-18T14:04:48.597Z] lf-activate-venv: SKIPPING [2024-09-18T14:04:48.597Z] DEBUG: total: 0.2199999988079071 [2024-09-18T14:04:48.597Z] INFO: Retrieving Stack Cost... [2024-09-18T14:04:48.856Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-09-18T14:04:49.115Z] INFO: Archiving Costs [Pipeline] echo [2024-09-18T14:04:49.163Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-09-18T14:04:49.491Z] ---> logs-deploy.sh [2024-09-18T14:04:49.491Z] lf-activate-venv: SKIPPING [2024-09-18T14:04:49.491Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-513/1 [2024-09-18T14:04:49.491Z] INFO: archiving workspace using pattern(s): [2024-09-18T14:04:50.426Z] Archives upload complete. [2024-09-18T14:04:50.426Z] INFO: archiving logs to Nexus