FelixTing commented: recheck 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 eaton-coreymutter for edgexfoundry/device-sdk-c Obtained Jenkinsfile from c3442cc74ec8b65f1284546aceb8079855459ced+62fc64c90db9bc421ef18031b23432b09bce4dbe (577a26e79d4b654473885d5b732e9086d22bcbfc) 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-ssh3586304587119017519.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 7928b8837ad34b090831a72fcdf53bff9dae4c17 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-ssh10892294584504224949.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 7928b8837ad34b090831a72fcdf53bff9dae4c17 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-517/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > 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 > 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-517/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12292937189991547232.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 7928b8837ad34b090831a72fcdf53bff9dae4c17 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 7928b8837ad34b090831a72fcdf53bff9dae4c17 # timeout=10 Commit message: "Merge pull request #462 from cherrycl/skip-arm-c-sdk-2" > 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 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-ssh4723937689627012162.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-517/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags 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-517/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh4021286643343318009.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 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 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-34776 in /w/workspace/edgexfoundry_device-sdk-c_PR-517 [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-517 # 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 Merging remotes/origin/main commit 62fc64c90db9bc421ef18031b23432b09bce4dbe into PR head commit c3442cc74ec8b65f1284546aceb8079855459ced > 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/517/head:refs/remotes/origin/PR-517 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merge succeeded, producing 506358abacb92560c78d7c246556615498fa6531 Checking out Revision 506358abacb92560c78d7c246556615498fa6531 (PR-517) > git config core.sparsecheckout # timeout=10 > git checkout -f c3442cc74ec8b65f1284546aceb8079855459ced # 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 62fc64c90db9bc421ef18031b23432b09bce4dbe # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 506358abacb92560c78d7c246556615498fa6531 # timeout=10 Commit message: "Merge commit '62fc64c90db9bc421ef18031b23432b09bce4dbe' into HEAD" First time build. Skipping changelog. > git rev-list --no-walk b10d9a62ef29e07938a20c3ce994961c8ef303d7 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-12-09T08:15:26.369Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-12-09T08:15:26.430Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-12-09T08:15:26.451Z] ========================================================= [2024-12-09T08:15:26.451Z] EdgeX Global Pipelines Version Info [2024-12-09T08:15:26.451Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-12-09T08:15:27.566Z] ------------------- [2024-12-09T08:15:27.566Z] stable info: [2024-12-09T08:15:27.566Z] ------------------- [2024-12-09T08:15:27.566Z] Commited By: Cherry Wang cherry@iotechsys.com [2024-12-09T08:15:27.566Z] Commit SHA: 7928b8837ad34b090831a72fcdf53bff9dae4c17 [2024-12-09T08:15:27.566Z] Message: update stable to v1.0.269 [2024-12-09T08:15:27.826Z] ------------------- [2024-12-09T08:15:27.826Z] experimental info: [2024-12-09T08:15:27.826Z] ------------------- [2024-12-09T08:15:27.826Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2024-12-09T08:15:27.826Z] Commit SHA: 7928b8837ad34b090831a72fcdf53bff9dae4c17 [2024-12-09T08:15:27.826Z] Message: update experimental to v1.0.269 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-12-09T08:15:27.897Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo [2024-12-09T08:15:27.912Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo [2024-12-09T08:15:27.926Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-12-09T08:15:27.944Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-12-09T08:15:27.965Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-12-09T08:15:27.983Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo [2024-12-09T08:15:28.007Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo [2024-12-09T08:15:28.024Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-12-09T08:15:28.044Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-12-09T08:15:28.061Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo [2024-12-09T08:15:28.080Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-12-09T08:15:28.098Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-12-09T08:15:28.116Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-12-09T08:15:28.134Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2024-12-09T08:15:28.153Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-12-09T08:15:28.174Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-12-09T08:15:28.195Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-12-09T08:15:28.216Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-517 [Pipeline] echo [2024-12-09T08:15:28.236Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-517 [Pipeline] echo [2024-12-09T08:15:28.258Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-517 [Pipeline] echo [2024-12-09T08:15:28.276Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 506358abacb92560c78d7c246556615498fa6531 [Pipeline] echo [2024-12-09T08:15:28.301Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 506358a [Pipeline] echo [2024-12-09T08:15:28.318Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-12-09T08:15:28.379Z] provisioning config files... [2024-12-09T08:15:28.390Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-517@tmp/config9605625998472600785tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-12-09T08:15:28.752Z] ---> ****-login.sh [2024-12-09T08:15:28.752Z] nexus3.edgexfoundry.org:10001 [2024-12-09T08:15:29.010Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-12-09T08:15:29.010Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-12-09T08:15:29.010Z] Configure a credential helper to remove this warning. See [2024-12-09T08:15:29.010Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-12-09T08:15:29.010Z] [2024-12-09T08:15:29.010Z] Login Succeeded [2024-12-09T08:15:29.010Z] nexus3.edgexfoundry.org:10002 [2024-12-09T08:15:29.278Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-12-09T08:15:29.278Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-12-09T08:15:29.278Z] Configure a credential helper to remove this warning. See [2024-12-09T08:15:29.278Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-12-09T08:15:29.278Z] [2024-12-09T08:15:29.278Z] Login Succeeded [2024-12-09T08:15:29.278Z] nexus3.edgexfoundry.org:10003 [2024-12-09T08:15:29.278Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-12-09T08:15:29.278Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-12-09T08:15:29.278Z] Configure a credential helper to remove this warning. See [2024-12-09T08:15:29.278Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-12-09T08:15:29.278Z] [2024-12-09T08:15:29.278Z] Login Succeeded [2024-12-09T08:15:29.278Z] nexus3.edgexfoundry.org:10004 [2024-12-09T08:15:29.279Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-12-09T08:15:29.539Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-12-09T08:15:29.539Z] Configure a credential helper to remove this warning. See [2024-12-09T08:15:29.540Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-12-09T08:15:29.540Z] [2024-12-09T08:15:29.540Z] Login Succeeded [2024-12-09T08:15:29.540Z] ****.io [2024-12-09T08:15:29.540Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-12-09T08:15:29.799Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-12-09T08:15:29.799Z] Configure a credential helper to remove this warning. See [2024-12-09T08:15:29.799Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-12-09T08:15:29.799Z] [2024-12-09T08:15:29.799Z] Login Succeeded [2024-12-09T08:15:29.799Z] ---> ****-login.sh ends [Pipeline] } [2024-12-09T08:15:29.811Z] 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-12-09T08:15:30.196Z] + git rev-list -1 --merges 506358abacb92560c78d7c246556615498fa6531~1..506358abacb92560c78d7c246556615498fa6531 [Pipeline] echo [2024-12-09T08:15:30.226Z] -----------> git rev-list -1 --merges 506358abacb92560c78d7c246556615498fa6531~1..506358abacb92560c78d7c246556615498fa6531 506358abacb92560c78d7c246556615498fa6531 [2024-12-09T08:15:30.226Z] 506358abacb92560c78d7c246556615498fa6531 [false] [Pipeline] sh [2024-12-09T08:15:30.519Z] + git log --format=format:%s -1 506358abacb92560c78d7c246556615498fa6531 [Pipeline] echo [2024-12-09T08:15:30.530Z] ========================================================= [2024-12-09T08:15:30.530Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-12-09T08:15:30.530Z] ========================================================= 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-12-09T08:15:30.907Z] + git rev-list -1 --merges 506358abacb92560c78d7c246556615498fa6531~1..506358abacb92560c78d7c246556615498fa6531 [Pipeline] echo [2024-12-09T08:15:30.918Z] -----------> git rev-list -1 --merges 506358abacb92560c78d7c246556615498fa6531~1..506358abacb92560c78d7c246556615498fa6531 506358abacb92560c78d7c246556615498fa6531 [2024-12-09T08:15:30.918Z] 506358abacb92560c78d7c246556615498fa6531 [false] [Pipeline] sh [2024-12-09T08:15:31.208Z] + git log --format=format:%s -1 506358abacb92560c78d7c246556615498fa6531 [Pipeline] echo [2024-12-09T08:15:31.223Z] ========================================================= [2024-12-09T08:15:31.223Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-12-09T08:15:31.223Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh [2024-12-09T08:15:31.654Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-12-09T08:15:31.654Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-12-09T08:15:31.654Z] + [ -e /tmp/ssh_known_hosts ] [2024-12-09T08:15:31.654Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-12-09T08:15:31.654Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-12-09T08:15:31.654Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-12-09T08:15:31.654Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-12-09T08:15:32.067Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-12-09T08:15:32.067Z] [2024-12-09T08:15:32.067Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-12-09T08:15:32.381Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-12-09T08:15:32.381Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-12-09T08:15:32.381Z] b85a868b505f: Pulling fs layer [2024-12-09T08:15:32.381Z] e2be974225ed: Pulling fs layer [2024-12-09T08:15:32.381Z] 339a4e72a1f5: Pulling fs layer [2024-12-09T08:15:32.381Z] 988bab9f4d93: Pulling fs layer [2024-12-09T08:15:32.381Z] 1469e6f7b9e6: Pulling fs layer [2024-12-09T08:15:32.381Z] eaf3925da568: Pulling fs layer [2024-12-09T08:15:32.381Z] bab4dde63d76: Pulling fs layer [2024-12-09T08:15:32.381Z] bde34c3a00c8: Pulling fs layer [2024-12-09T08:15:32.381Z] b352a97aabf1: Pulling fs layer [2024-12-09T08:15:32.381Z] 4872d77fe225: Pulling fs layer [2024-12-09T08:15:32.381Z] 5851b861e8e6: Pulling fs layer [2024-12-09T08:15:32.381Z] 988bab9f4d93: Waiting [2024-12-09T08:15:32.381Z] eaf3925da568: Waiting [2024-12-09T08:15:32.381Z] bab4dde63d76: Waiting [2024-12-09T08:15:32.381Z] 4872d77fe225: Waiting [2024-12-09T08:15:32.381Z] 1469e6f7b9e6: Waiting [2024-12-09T08:15:32.381Z] bde34c3a00c8: Waiting [2024-12-09T08:15:32.381Z] b352a97aabf1: Waiting [2024-12-09T08:15:32.381Z] 5851b861e8e6: Waiting [2024-12-09T08:15:32.381Z] e2be974225ed: Verifying Checksum [2024-12-09T08:15:32.381Z] e2be974225ed: Download complete [2024-12-09T08:15:32.381Z] 988bab9f4d93: Verifying Checksum [2024-12-09T08:15:32.381Z] 988bab9f4d93: Download complete [2024-12-09T08:15:32.381Z] 1469e6f7b9e6: Verifying Checksum [2024-12-09T08:15:32.381Z] 1469e6f7b9e6: Download complete [2024-12-09T08:15:32.640Z] eaf3925da568: Download complete [2024-12-09T08:15:32.640Z] 339a4e72a1f5: Verifying Checksum [2024-12-09T08:15:32.640Z] 339a4e72a1f5: Download complete [2024-12-09T08:15:32.640Z] bde34c3a00c8: Download complete [2024-12-09T08:15:32.640Z] b352a97aabf1: Verifying Checksum [2024-12-09T08:15:32.640Z] 4872d77fe225: Verifying Checksum [2024-12-09T08:15:32.640Z] 4872d77fe225: Download complete [2024-12-09T08:15:32.640Z] 5851b861e8e6: Download complete [2024-12-09T08:15:32.640Z] b85a868b505f: Verifying Checksum [2024-12-09T08:15:32.640Z] b85a868b505f: Download complete [2024-12-09T08:15:32.900Z] bab4dde63d76: Verifying Checksum [2024-12-09T08:15:32.900Z] bab4dde63d76: Download complete [2024-12-09T08:15:33.855Z] b85a868b505f: Pull complete [2024-12-09T08:15:34.115Z] e2be974225ed: Pull complete [2024-12-09T08:15:34.685Z] 339a4e72a1f5: Pull complete [2024-12-09T08:15:34.685Z] 988bab9f4d93: Pull complete [2024-12-09T08:15:34.945Z] 1469e6f7b9e6: Pull complete [2024-12-09T08:15:34.945Z] eaf3925da568: Pull complete [2024-12-09T08:15:36.855Z] bab4dde63d76: Pull complete [2024-12-09T08:15:36.855Z] bde34c3a00c8: Pull complete [2024-12-09T08:15:36.855Z] b352a97aabf1: Pull complete [2024-12-09T08:15:37.115Z] 4872d77fe225: Pull complete [2024-12-09T08:15:37.115Z] 5851b861e8e6: Pull complete [2024-12-09T08:15:37.115Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-12-09T08:15:37.115Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-12-09T08:15:37.115Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-12-09T08:15:37.252Z] prd-ubuntu20.04-docker-8c-8g-34776 does not seem to be running inside a container [2024-12-09T08:15:37.275Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-517 -v /w/workspace/edgexfoundry_device-sdk-c_PR-517:/w/workspace/edgexfoundry_device-sdk-c_PR-517:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-517@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-517@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-12-09T08:15:41.353Z] $ docker top bc52e687e4858d2eee9038d52cccc5d547fcaf0ed64605144f701a6408c907b0 -eo pid,comm [2024-12-09T08:15:41.446Z] 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-12-09T08:15:41.446Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-12-09T08:15:41.496Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-12-09T08:15:41.496Z] [ssh-agent] Looking for ssh-agent implementation... [2024-12-09T08:15:41.633Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-12-09T08:15:41.633Z] $ docker exec bc52e687e4858d2eee9038d52cccc5d547fcaf0ed64605144f701a6408c907b0 ssh-agent [2024-12-09T08:15:41.759Z] SSH_AUTH_SOCK=/tmp/ssh-yYYUtt1x1Lh9/agent.32 [2024-12-09T08:15:41.759Z] SSH_AGENT_PID=38 [2024-12-09T08:15:41.765Z] Running ssh-add (command line suppressed) [2024-12-09T08:15:41.880Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-517@tmp/private_key_2515052271493599559.key (/w/workspace/edgexfoundry_device-sdk-c_PR-517@tmp/private_key_2515052271493599559.key) [2024-12-09T08:15:41.899Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-12-09T08:15:42.201Z] + git tag --points-at HEAD [Pipeline] } [2024-12-09T08:15:42.215Z] $ docker exec --env ******** --env ******** bc52e687e4858d2eee9038d52cccc5d547fcaf0ed64605144f701a6408c907b0 ssh-agent -k [2024-12-09T08:15:42.309Z] unset SSH_AUTH_SOCK; [2024-12-09T08:15:42.309Z] unset SSH_AGENT_PID; [2024-12-09T08:15:42.309Z] echo Agent pid 38 killed; [2024-12-09T08:15:42.323Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-12-09T08:15:42.375Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-12-09T08:15:42.375Z] [ssh-agent] Looking for ssh-agent implementation... [2024-12-09T08:15:42.484Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-12-09T08:15:42.483Z] $ docker exec bc52e687e4858d2eee9038d52cccc5d547fcaf0ed64605144f701a6408c907b0 ssh-agent [2024-12-09T08:15:42.590Z] SSH_AUTH_SOCK=/tmp/ssh-m8m5UNB3YkZd/agent.71 [2024-12-09T08:15:42.590Z] SSH_AGENT_PID=77 [2024-12-09T08:15:42.595Z] Running ssh-add (command line suppressed) [2024-12-09T08:15:42.697Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-517@tmp/private_key_13929823702976739589.key (/w/workspace/edgexfoundry_device-sdk-c_PR-517@tmp/private_key_13929823702976739589.key) [2024-12-09T08:15:42.714Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-12-09T08:15:43.014Z] + git semver init [2024-12-09T08:15:43.272Z] 2024-12-09 08:15:43,199 [run_init] DEBUG init version:0.0.0 force:False [2024-12-09T08:15:43.272Z] 2024-12-09 08:15:43,200 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-c_PR-517/.semver [2024-12-09T08:15:43.272Z] 2024-12-09 08:15:43,201 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-c.git /w/workspace/edgexfoundry_device-sdk-c_PR-517/.semver [2024-12-09T08:15:43.272Z] 2024-12-09 08:15:43,201 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-c.git', '/w/workspace/edgexfoundry_device-sdk-c_PR-517/.semver'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-517, universal_newlines=False, shell=None, istream=None) [2024-12-09T08:15:44.212Z] 2024-12-09 08:15:43,996 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-c_PR-517/.git/info/exclude [2024-12-09T08:15:44.212Z] 2024-12-09 08:15:43,997 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-c_PR-517/.semver/PR-517 with force:False [2024-12-09T08:15:44.212Z] 2024-12-09 08:15:43,997 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-c_PR-517/.semver/PR-517 [2024-12-09T08:15:44.212Z] 2024-12-09 08:15:44,001 [execute] INFO git cat-file --batch-check [2024-12-09T08:15:44.212Z] 2024-12-09 08:15:44,002 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-517/.semver, universal_newlines=False, shell=None, istream=) [2024-12-09T08:15:44.212Z] 2024-12-09 08:15:44,007 [execute] INFO git cat-file --batch [2024-12-09T08:15:44.212Z] 2024-12-09 08:15:44,008 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-517/.semver, universal_newlines=False, shell=None, istream=) [2024-12-09T08:15:44.212Z] 2024-12-09 08:15:44,012 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_PR-517/.semver/PR-517 [2024-12-09T08:15:44.212Z] 0.0.0 [Pipeline] } [2024-12-09T08:15:44.218Z] $ docker exec --env ******** --env ******** bc52e687e4858d2eee9038d52cccc5d547fcaf0ed64605144f701a6408c907b0 ssh-agent -k [2024-12-09T08:15:44.326Z] unset SSH_AUTH_SOCK; [2024-12-09T08:15:44.326Z] unset SSH_AGENT_PID; [2024-12-09T08:15:44.326Z] echo Agent pid 77 killed; [2024-12-09T08:15:44.341Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-12-09T08:15:44.676Z] + git semver [Pipeline] } [2024-12-09T08:15:44.946Z] $ docker stop --time=1 bc52e687e4858d2eee9038d52cccc5d547fcaf0ed64605144f701a6408c907b0 [2024-12-09T08:15:46.260Z] $ docker rm -f --volumes bc52e687e4858d2eee9038d52cccc5d547fcaf0ed64605144f701a6408c907b0 [Pipeline] // withDockerContainer [Pipeline] sh [2024-12-09T08:15:46.606Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-12-09T08:15:46.845Z] Stashed 1 file(s) [Pipeline] echo [2024-12-09T08:15:46.849Z] [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) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Prep) [Pipeline] stage [Pipeline] { (Test) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-12-09T08:15:47.058Z] provisioning config files... [2024-12-09T08:15:47.067Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-517@tmp/config4291041573752494303tmp [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] { [Pipeline] } [Pipeline] libraryResource [Pipeline] sh [2024-12-09T08:15:47.382Z] ---> ****-login.sh [2024-12-09T08:15:47.382Z] nexus3.edgexfoundry.org:10001 [2024-12-09T08:15:47.382Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-12-09T08:15:47.383Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-12-09T08:15:47.383Z] Configure a credential helper to remove this warning. See [2024-12-09T08:15:47.383Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-12-09T08:15:47.383Z] [2024-12-09T08:15:47.383Z] Login Succeeded [2024-12-09T08:15:47.383Z] nexus3.edgexfoundry.org:10002 [2024-12-09T08:15:47.383Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-12-09T08:15:47.383Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-12-09T08:15:47.383Z] Configure a credential helper to remove this warning. See [2024-12-09T08:15:47.383Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-12-09T08:15:47.383Z] [2024-12-09T08:15:47.383Z] Login Succeeded [2024-12-09T08:15:47.383Z] nexus3.edgexfoundry.org:10003 [2024-12-09T08:15:47.643Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-12-09T08:15:47.643Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-12-09T08:15:47.643Z] Configure a credential helper to remove this warning. See [2024-12-09T08:15:47.643Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-12-09T08:15:47.643Z] [2024-12-09T08:15:47.643Z] Login Succeeded [2024-12-09T08:15:47.643Z] nexus3.edgexfoundry.org:10004 [2024-12-09T08:15:47.643Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-12-09T08:15:47.643Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-12-09T08:15:47.643Z] Configure a credential helper to remove this warning. See [2024-12-09T08:15:47.643Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-12-09T08:15:47.643Z] [2024-12-09T08:15:47.643Z] Login Succeeded [2024-12-09T08:15:47.643Z] ****.io [2024-12-09T08:15:47.903Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-12-09T08:15:47.903Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-12-09T08:15:47.903Z] Configure a credential helper to remove this warning. See [2024-12-09T08:15:47.903Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-12-09T08:15:47.903Z] [2024-12-09T08:15:47.903Z] Login Succeeded [2024-12-09T08:15:47.903Z] ---> ****-login.sh ends [Pipeline] } [2024-12-09T08:15:47.911Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-12-09T08:15:48.009Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-12-09T08:15:48.029Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo [2024-12-09T08:15:48.044Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-12-09T08:15:48.059Z] ========================================================= [2024-12-09T08:15:48.059Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] [2024-12-09T08:15:48.059Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-12-09T08:15:48.367Z] + 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-12-09T08:15:48.367Z] Sending build context to Docker daemon 5.211MB [2024-12-09T08:15:48.367Z] Step 1/22 : ARG BASE=alpine:3.18 [2024-12-09T08:15:48.367Z] Step 2/22 : FROM ${BASE} as builder [2024-12-09T08:15:48.367Z] latest: Pulling from edgex-devops/edgex-gcc-base [2024-12-09T08:15:48.367Z] 96526aa774ef: Pulling fs layer [2024-12-09T08:15:48.367Z] da60e534fd72: Pulling fs layer [2024-12-09T08:15:48.626Z] 96526aa774ef: Verifying Checksum [2024-12-09T08:15:48.626Z] 96526aa774ef: Download complete [2024-12-09T08:15:48.626Z] 96526aa774ef: Pull complete [2024-12-09T08:15:49.567Z] da60e534fd72: Verifying Checksum [2024-12-09T08:15:49.567Z] da60e534fd72: Download complete [2024-12-09T08:15:52.856Z] da60e534fd72: Pull complete [2024-12-09T08:15:52.856Z] Digest: sha256:86f282524b252fca782185160d82ec4889448d07d1475dd6b76f2052073facff [2024-12-09T08:15:52.856Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [2024-12-09T08:15:52.856Z] ---> 6605166a5db4 [2024-12-09T08:15:52.856Z] 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-12-09T08:15:54.239Z] ---> Running in ec7015e36873 [2024-12-09T08:15:54.501Z] Connecting to iotech.jfrog.io (34.247.22.236:443) [2024-12-09T08:15:55.070Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-12-09T08:15:55.070Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-12-09T08:15:55.070Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-12-09T08:15:55.330Z] Removing intermediate container ec7015e36873 [2024-12-09T08:15:55.330Z] ---> 06569cea80ec [2024-12-09T08:15:55.330Z] Step 4/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-12-09T08:15:55.330Z] ---> Running in d7677473f58a [2024-12-09T08:15:55.896Z] Removing intermediate container d7677473f58a [2024-12-09T08:15:55.896Z] ---> 7f2187cf4021 [2024-12-09T08:15:55.896Z] 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 [2024-12-09T08:15:55.896Z] ---> Running in e259b9a83459 [2024-12-09T08:15:56.154Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-12-09T08:15:56.415Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-12-09T08:15:56.415Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-12-09T08:15:57.354Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-12-09T08:15:57.354Z] (1/15) Installing libcbor (0.10.2-r1) [2024-12-09T08:15:57.354Z] (2/15) Installing iotech-iot-1.5 (1.5.5-r0) [2024-12-09T08:15:58.293Z] (3/15) Installing iotech-iot-1.5-dev (1.5.5-r0) [2024-12-09T08:15:58.551Z] (4/15) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) [2024-12-09T08:15:59.119Z] (5/15) Installing libcbor-dev (0.10.2-r1) [2024-12-09T08:15:59.119Z] (6/15) Installing libmenuw (6.4_p20230506-r0) [2024-12-09T08:15:59.119Z] (7/15) Installing libpanelw (6.4_p20230506-r0) [2024-12-09T08:15:59.119Z] (8/15) Installing libncurses++ (6.4_p20230506-r0) [2024-12-09T08:15:59.119Z] (9/15) Installing ncurses-dev (6.4_p20230506-r0) [2024-12-09T08:15:59.119Z] (10/15) Installing libblkid (2.38.1-r8) [2024-12-09T08:15:59.119Z] (11/15) Installing libuuid (2.38.1-r8) [2024-12-09T08:15:59.119Z] (12/15) Installing libfdisk (2.38.1-r8) [2024-12-09T08:15:59.119Z] (13/15) Installing libmount (2.38.1-r8) [2024-12-09T08:15:59.119Z] (14/15) Installing libsmartcols (2.38.1-r8) [2024-12-09T08:15:59.119Z] (15/15) Installing util-linux-dev (2.38.1-r8) [2024-12-09T08:15:59.119Z] Executing busybox-1.36.1-r4.trigger [2024-12-09T08:15:59.119Z] OK: 336 MiB in 97 packages [2024-12-09T08:16:00.057Z] Removing intermediate container e259b9a83459 [2024-12-09T08:16:00.057Z] ---> 6e2ead1cec4a [2024-12-09T08:16:00.057Z] Step 6/22 : RUN mkdir /tmp/sdk [2024-12-09T08:16:00.057Z] ---> Running in fb46ac57314b [2024-12-09T08:16:00.625Z] Removing intermediate container fb46ac57314b [2024-12-09T08:16:00.625Z] ---> ba47218f781d [2024-12-09T08:16:00.625Z] Step 7/22 : COPY VERSION /tmp/sdk [2024-12-09T08:16:00.625Z] ---> 138eac0646f3 [2024-12-09T08:16:00.625Z] Step 8/22 : COPY src /tmp/sdk/src [2024-12-09T08:16:01.194Z] ---> 9fd3fe3d351c [2024-12-09T08:16:01.194Z] Step 9/22 : COPY include /tmp/sdk/include [2024-12-09T08:16:01.194Z] ---> ed401f025829 [2024-12-09T08:16:01.194Z] Step 10/22 : COPY scripts /tmp/sdk/scripts [2024-12-09T08:16:01.194Z] ---> 172624f770bc [2024-12-09T08:16:01.194Z] Step 11/22 : COPY LICENSE /tmp/sdk [2024-12-09T08:16:01.455Z] ---> 711a0a3bc2c9 [2024-12-09T08:16:01.455Z] Step 12/22 : COPY Attribution.txt /tmp/sdk [2024-12-09T08:16:01.720Z] ---> 8aa1f93f91ec [2024-12-09T08:16:01.720Z] Step 13/22 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2024-12-09T08:16:01.980Z] ---> Running in ba8aecb6c255 [2024-12-09T08:16:02.240Z] + CPPCHECK=false [2024-12-09T08:16:02.240Z] + DOCGEN=false [2024-12-09T08:16:02.240Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2024-12-09T08:16:02.240Z] + '[' 0 -gt 0 ] [2024-12-09T08:16:02.240Z] + readlink -f ./scripts/build.sh [2024-12-09T08:16:02.240Z] + dirname /tmp/sdk/scripts/build.sh [2024-12-09T08:16:02.240Z] + dirname /tmp/sdk/scripts [2024-12-09T08:16:02.240Z] + ROOT=/tmp/sdk [2024-12-09T08:16:02.240Z] + cd /tmp/sdk [2024-12-09T08:16:02.240Z] + mkdir -p /tmp/sdk/build/release [2024-12-09T08:16:02.240Z] + cd /tmp/sdk/build/release [2024-12-09T08:16:02.240Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2024-12-09T08:16:02.499Z] -- The C compiler identification is GNU 12.2.1 [2024-12-09T08:16:02.499Z] -- Detecting C compiler ABI info [2024-12-09T08:16:02.499Z] -- Detecting C compiler ABI info - done [2024-12-09T08:16:02.499Z] -- Check for working C compiler: /usr/bin/cc - skipped [2024-12-09T08:16:02.499Z] -- Detecting C compile features [2024-12-09T08:16:02.499Z] -- Detecting C compile features - done [2024-12-09T08:16:02.499Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2024-12-09T08:16:02.499Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") [2024-12-09T08:16:02.499Z] -- Found LIBYAML: /usr/lib/libyaml.so [2024-12-09T08:16:02.499Z] -- Found LIBUUID: /usr/lib/libuuid.so [2024-12-09T08:16:02.499Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2024-12-09T08:16:02.499Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2024-12-09T08:16:02.499Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2024-12-09T08:16:02.499Z] -- /opt/iotech/iot/1.5/include [2024-12-09T08:16:02.499Z] -- C SDK 0.0.0 for Linux [2024-12-09T08:16:02.499Z] -- Performing Test CSDK_HAVE_ATOMIC [2024-12-09T08:16:02.758Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2024-12-09T08:16:02.758Z] -- Found Curses: /usr/lib/libcurses.so [2024-12-09T08:16:02.758Z] -- Configuring done (0.4s) [2024-12-09T08:16:02.758Z] -- Generating done (0.0s) [2024-12-09T08:16:02.758Z] -- Build files have been written to: /tmp/sdk/build/release [2024-12-09T08:16:02.758Z] + make all package [2024-12-09T08:16:02.758Z] + tee release.log [2024-12-09T08:16:02.758Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2024-12-09T08:16:02.758Z] In file included from /tmp/sdk/src/c/../../include/devsdk/devsdk.h:18, [2024-12-09T08:16:02.758Z] from /tmp/sdk/src/c/service.h:12, [2024-12-09T08:16:02.758Z] from /tmp/sdk/src/c/autoevent.h:12, [2024-12-09T08:16:02.758Z] from /tmp/sdk/src/c/autoevent.c:9: [2024-12-09T08:16:02.758Z] /tmp/sdk/src/c/autoevent.c: In function 'ae_runner': [2024-12-09T08:16:02.758Z] /tmp/sdk/src/c/autoevent.c:81:47: warning: format '%d' expects argument of type 'int', but argument 4 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] [2024-12-09T08:16:02.758Z] 81 | iot_log_error (ai->svc->logger, "Auto Event size (%d KiB) exceeds configured MaxEventSize", edgex_event_cooked_size (event) / 1024); [2024-12-09T08:16:02.758Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-12-09T08:16:02.758Z] | | [2024-12-09T08:16:02.758Z] | size_t {aka long unsigned int} [2024-12-09T08:16:02.758Z] /opt/iotech/iot/1.5/include/iot/logger.h:185:104: note: in definition of macro 'iot_log_error' [2024-12-09T08:16:02.758Z] 185 | #define iot_log_error(l,...) if ((l) && (l)->level >= IOT_LOG_ERROR) iot_log__log ((l), IOT_LOG_ERROR, __VA_ARGS__) [2024-12-09T08:16:02.758Z] | ^~~~~~~~~~~ [2024-12-09T08:16:02.758Z] /tmp/sdk/src/c/autoevent.c:81:66: note: format string is defined here [2024-12-09T08:16:02.758Z] 81 | iot_log_error (ai->svc->logger, "Auto Event size (%d KiB) exceeds configured MaxEventSize", edgex_event_cooked_size (event) / 1024); [2024-12-09T08:16:02.758Z] | ~^ [2024-12-09T08:16:02.758Z] | | [2024-12-09T08:16:02.758Z] | int [2024-12-09T08:16:02.758Z] | %ld [2024-12-09T08:16:03.017Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2024-12-09T08:16:03.017Z] /tmp/sdk/src/c/bus-mqtt.c: In function 'edgex_bus_mqtt_subscribe': [2024-12-09T08:16:03.017Z] /tmp/sdk/src/c/bus-mqtt.c:85:13: error: invalid storage class for function 'edgex_bus_mqtt_post' [2024-12-09T08:16:03.017Z] 85 | static void edgex_bus_mqtt_post (void *ctx, const char *topic, const iot_data_t *envelope) [2024-12-09T08:16:03.017Z] | ^~~~~~~~~~~~~~~~~~~ [2024-12-09T08:16:03.017Z] /tmp/sdk/src/c/bus-mqtt.c:108:13: error: invalid storage class for function 'edgex_bus_mqtt_onconnect' [2024-12-09T08:16:03.017Z] 108 | static void edgex_bus_mqtt_onconnect(void *context, MQTTAsync_successData *response) [2024-12-09T08:16:03.017Z] | ^~~~~~~~~~~~~~~~~~~~~~~~ [2024-12-09T08:16:03.017Z] /tmp/sdk/src/c/bus-mqtt.c:118:13: error: invalid storage class for function 'edgex_bus_mqtt_onconnectfail' [2024-12-09T08:16:03.017Z] 118 | static void edgex_bus_mqtt_onconnectfail (void *context, MQTTAsync_failureData *response) [2024-12-09T08:16:03.017Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-12-09T08:16:03.017Z] /tmp/sdk/src/c/bus-mqtt.c:131:12: error: invalid storage class for function 'edgex_bus_mqtt_msgarrvd' [2024-12-09T08:16:03.017Z] 131 | static int edgex_bus_mqtt_msgarrvd (void *context, char *topicName, int topicLen, MQTTAsync_message *message) [2024-12-09T08:16:03.017Z] | ^~~~~~~~~~~~~~~~~~~~~~~ [2024-12-09T08:16:03.017Z] /tmp/sdk/src/c/bus-mqtt.c:318:1: error: expected declaration or statement at end of input [2024-12-09T08:16:03.017Z] 318 | } [2024-12-09T08:16:03.017Z] | ^ [2024-12-09T08:16:03.017Z] /tmp/sdk/src/c/bus-mqtt.c: At top level: [2024-12-09T08:16:03.017Z] /tmp/sdk/src/c/bus-mqtt.c:161:14: warning: 'edgex_bus_create_mqtt' defined but not used [-Wunused-function] [2024-12-09T08:16:03.017Z] 161 | edgex_bus_t *edgex_bus_create_mqtt (iot_logger_t *lc, const char *svcname, const iot_data_t *cfg, edgex_secret_provider_t *secstore, iot_threadpool_t *queue, const devsdk_timeout *tm) [2024-12-09T08:16:03.017Z] | ^~~~~~~~~~~~~~~~~~~~~ [2024-12-09T08:16:03.017Z] make[2]: *** [c/CMakeFiles/csdk.dir/build.make:90: c/CMakeFiles/csdk.dir/bus-mqtt.c.o] Error 1 [2024-12-09T08:16:03.017Z] make[1]: *** [CMakeFiles/Makefile2:240: c/CMakeFiles/csdk.dir/all] Error 2 [2024-12-09T08:16:03.017Z] make: *** [Makefile:156: all] Error 2 [2024-12-09T08:16:03.017Z] + '[' false '=' true ] [2024-12-09T08:16:03.017Z] + '[' false '=' true ] [2024-12-09T08:16:03.017Z] + mkdir -p /tmp/sdk/build/debug [2024-12-09T08:16:03.017Z] + cd /tmp/sdk/build/debug [2024-12-09T08:16:03.017Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2024-12-09T08:16:03.017Z] -- The C compiler identification is GNU 12.2.1 [2024-12-09T08:16:03.017Z] -- Detecting C compiler ABI info [2024-12-09T08:16:03.017Z] -- Detecting C compiler ABI info - done [2024-12-09T08:16:03.275Z] -- Check for working C compiler: /usr/bin/cc - skipped [2024-12-09T08:16:03.275Z] -- Detecting C compile features [2024-12-09T08:16:03.275Z] -- Detecting C compile features - done [2024-12-09T08:16:03.276Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2024-12-09T08:16:03.276Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") [2024-12-09T08:16:03.276Z] -- Found LIBYAML: /usr/lib/libyaml.so [2024-12-09T08:16:03.276Z] -- Found LIBUUID: /usr/lib/libuuid.so [2024-12-09T08:16:03.276Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2024-12-09T08:16:03.276Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2024-12-09T08:16:03.276Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2024-12-09T08:16:03.276Z] -- /opt/iotech/iot/1.5/include [2024-12-09T08:16:03.276Z] -- C SDK 0.0.0 for Linux [2024-12-09T08:16:03.276Z] -- Performing Test CSDK_HAVE_ATOMIC [2024-12-09T08:16:03.276Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2024-12-09T08:16:03.276Z] -- Found Curses: /usr/lib/libcurses.so [2024-12-09T08:16:03.276Z] -- Configuring done (0.4s) [2024-12-09T08:16:03.535Z] -- Generating done (0.0s) [2024-12-09T08:16:03.535Z] -- Build files have been written to: /tmp/sdk/build/debug [2024-12-09T08:16:03.535Z] + make [2024-12-09T08:16:03.535Z] + tee debug.log [2024-12-09T08:16:03.535Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2024-12-09T08:16:03.535Z] In file included from /tmp/sdk/src/c/../../include/devsdk/devsdk.h:18, [2024-12-09T08:16:03.535Z] from /tmp/sdk/src/c/service.h:12, [2024-12-09T08:16:03.535Z] from /tmp/sdk/src/c/autoevent.h:12, [2024-12-09T08:16:03.535Z] from /tmp/sdk/src/c/autoevent.c:9: [2024-12-09T08:16:03.535Z] /tmp/sdk/src/c/autoevent.c: In function 'ae_runner': [2024-12-09T08:16:03.535Z] /tmp/sdk/src/c/autoevent.c:81:47: warning: format '%d' expects argument of type 'int', but argument 4 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] [2024-12-09T08:16:03.535Z] 81 | iot_log_error (ai->svc->logger, "Auto Event size (%d KiB) exceeds configured MaxEventSize", edgex_event_cooked_size (event) / 1024); [2024-12-09T08:16:03.535Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-12-09T08:16:03.535Z] | | [2024-12-09T08:16:03.535Z] | size_t {aka long unsigned int} [2024-12-09T08:16:03.535Z] /opt/iotech/iot/1.5/include/iot/logger.h:185:104: note: in definition of macro 'iot_log_error' [2024-12-09T08:16:03.535Z] 185 | #define iot_log_error(l,...) if ((l) && (l)->level >= IOT_LOG_ERROR) iot_log__log ((l), IOT_LOG_ERROR, __VA_ARGS__) [2024-12-09T08:16:03.535Z] | ^~~~~~~~~~~ [2024-12-09T08:16:03.535Z] /tmp/sdk/src/c/autoevent.c:81:66: note: format string is defined here [2024-12-09T08:16:03.535Z] 81 | iot_log_error (ai->svc->logger, "Auto Event size (%d KiB) exceeds configured MaxEventSize", edgex_event_cooked_size (event) / 1024); [2024-12-09T08:16:03.535Z] | ~^ [2024-12-09T08:16:03.535Z] | | [2024-12-09T08:16:03.535Z] | int [2024-12-09T08:16:03.535Z] | %ld [2024-12-09T08:16:03.535Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2024-12-09T08:16:03.535Z] /tmp/sdk/src/c/bus-mqtt.c: In function 'edgex_bus_mqtt_subscribe': [2024-12-09T08:16:03.535Z] /tmp/sdk/src/c/bus-mqtt.c:85:13: error: invalid storage class for function 'edgex_bus_mqtt_post' [2024-12-09T08:16:03.535Z] 85 | static void edgex_bus_mqtt_post (void *ctx, const char *topic, const iot_data_t *envelope) [2024-12-09T08:16:03.535Z] | ^~~~~~~~~~~~~~~~~~~ [2024-12-09T08:16:03.535Z] /tmp/sdk/src/c/bus-mqtt.c:108:13: error: invalid storage class for function 'edgex_bus_mqtt_onconnect' [2024-12-09T08:16:03.535Z] 108 | static void edgex_bus_mqtt_onconnect(void *context, MQTTAsync_successData *response) [2024-12-09T08:16:03.535Z] | ^~~~~~~~~~~~~~~~~~~~~~~~ [2024-12-09T08:16:03.535Z] /tmp/sdk/src/c/bus-mqtt.c:118:13: error: invalid storage class for function 'edgex_bus_mqtt_onconnectfail' [2024-12-09T08:16:03.535Z] 118 | static void edgex_bus_mqtt_onconnectfail (void *context, MQTTAsync_failureData *response) [2024-12-09T08:16:03.535Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-12-09T08:16:03.535Z] /tmp/sdk/src/c/bus-mqtt.c:131:12: error: invalid storage class for function 'edgex_bus_mqtt_msgarrvd' [2024-12-09T08:16:03.535Z] 131 | static int edgex_bus_mqtt_msgarrvd (void *context, char *topicName, int topicLen, MQTTAsync_message *message) [2024-12-09T08:16:03.535Z] | ^~~~~~~~~~~~~~~~~~~~~~~ [2024-12-09T08:16:03.535Z] /tmp/sdk/src/c/bus-mqtt.c:318:1: error: expected declaration or statement at end of input [2024-12-09T08:16:03.535Z] 318 | } [2024-12-09T08:16:03.535Z] | ^ [2024-12-09T08:16:03.535Z] /tmp/sdk/src/c/bus-mqtt.c: At top level: [2024-12-09T08:16:03.535Z] /tmp/sdk/src/c/bus-mqtt.c:161:14: warning: 'edgex_bus_create_mqtt' defined but not used [-Wunused-function] [2024-12-09T08:16:03.535Z] 161 | edgex_bus_t *edgex_bus_create_mqtt (iot_logger_t *lc, const char *svcname, const iot_data_t *cfg, edgex_secret_provider_t *secstore, iot_threadpool_t *queue, const devsdk_timeout *tm) [2024-12-09T08:16:03.535Z] | ^~~~~~~~~~~~~~~~~~~~~ [2024-12-09T08:16:03.535Z] make[2]: *** [c/CMakeFiles/csdk.dir/build.make:90: c/CMakeFiles/csdk.dir/bus-mqtt.c.o] Error 1 [2024-12-09T08:16:03.535Z] make[1]: *** [CMakeFiles/Makefile2:240: c/CMakeFiles/csdk.dir/all] Error 2 [2024-12-09T08:16:03.535Z] make: *** [Makefile:156: all] Error 2 [2024-12-09T08:16:03.535Z] make: Entering directory '/tmp/sdk/build/release' [2024-12-09T08:16:03.535Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2024-12-09T08:16:03.535Z] /tmp/sdk/src/c/bus-mqtt.c: In function 'edgex_bus_mqtt_subscribe': [2024-12-09T08:16:03.535Z] /tmp/sdk/src/c/bus-mqtt.c:85:13: error: invalid storage class for function 'edgex_bus_mqtt_post' [2024-12-09T08:16:03.535Z] 85 | static void edgex_bus_mqtt_post (void *ctx, const char *topic, const iot_data_t *envelope) [2024-12-09T08:16:03.535Z] | ^~~~~~~~~~~~~~~~~~~ [2024-12-09T08:16:03.535Z] /tmp/sdk/src/c/bus-mqtt.c:108:13: error: invalid storage class for function 'edgex_bus_mqtt_onconnect' [2024-12-09T08:16:03.535Z] 108 | static void edgex_bus_mqtt_onconnect(void *context, MQTTAsync_successData *response) [2024-12-09T08:16:03.535Z] | ^~~~~~~~~~~~~~~~~~~~~~~~ [2024-12-09T08:16:03.535Z] /tmp/sdk/src/c/bus-mqtt.c:118:13: error: invalid storage class for function 'edgex_bus_mqtt_onconnectfail' [2024-12-09T08:16:03.535Z] 118 | static void edgex_bus_mqtt_onconnectfail (void *context, MQTTAsync_failureData *response) [2024-12-09T08:16:03.535Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-12-09T08:16:03.535Z] /tmp/sdk/src/c/bus-mqtt.c:131:12: error: invalid storage class for function 'edgex_bus_mqtt_msgarrvd' [2024-12-09T08:16:03.535Z] 131 | static int edgex_bus_mqtt_msgarrvd (void *context, char *topicName, int topicLen, MQTTAsync_message *message) [2024-12-09T08:16:03.535Z] | ^~~~~~~~~~~~~~~~~~~~~~~ [2024-12-09T08:16:03.535Z] /tmp/sdk/src/c/bus-mqtt.c:318:1: error: expected declaration or statement at end of input [2024-12-09T08:16:03.535Z] 318 | } [2024-12-09T08:16:03.535Z] | ^ [2024-12-09T08:16:03.535Z] /tmp/sdk/src/c/bus-mqtt.c: At top level: [2024-12-09T08:16:03.535Z] /tmp/sdk/src/c/bus-mqtt.c:161:14: warning: 'edgex_bus_create_mqtt' defined but not used [-Wunused-function] [2024-12-09T08:16:03.535Z] 161 | edgex_bus_t *edgex_bus_create_mqtt (iot_logger_t *lc, const char *svcname, const iot_data_t *cfg, edgex_secret_provider_t *secstore, iot_threadpool_t *queue, const devsdk_timeout *tm) [2024-12-09T08:16:03.535Z] | ^~~~~~~~~~~~~~~~~~~~~ [2024-12-09T08:16:03.535Z] make[2]: *** [c/CMakeFiles/csdk.dir/build.make:90: c/CMakeFiles/csdk.dir/bus-mqtt.c.o] Error 1 [2024-12-09T08:16:03.535Z] make[1]: *** [CMakeFiles/Makefile2:240: c/CMakeFiles/csdk.dir/all] Error 2 [2024-12-09T08:16:03.535Z] make: Leaving directory '/tmp/sdk/build/release' [2024-12-09T08:16:03.535Z] make: *** [Makefile:156: all] Error 2 [2024-12-09T08:16:04.103Z] The command '/bin/sh -c cd /tmp/sdk && ./scripts/build.sh && make -C build/release install' returned a non-zero code: 2 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) Stage "Test" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-12-09T08:16:04.669Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-12-09T08:16:04.670Z] [2024-12-09T08:16:04.670Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-12-09T08:16:04.965Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-12-09T08:16:04.965Z] latest: Pulling from edgex-lftools-log-publisher [2024-12-09T08:16:04.965Z] 5eb5b503b376: Pulling fs layer [2024-12-09T08:16:04.965Z] 5c69ac0246d0: Pulling fs layer [2024-12-09T08:16:04.965Z] ec43610c2a17: Pulling fs layer [2024-12-09T08:16:04.965Z] 3a2ae6a8a46f: Pulling fs layer [2024-12-09T08:16:04.965Z] 33b1e0a273af: Pulling fs layer [2024-12-09T08:16:04.965Z] 5d3b04190fa2: Pulling fs layer [2024-12-09T08:16:04.965Z] 2f39f015ded8: Pulling fs layer [2024-12-09T08:16:04.965Z] 33b1e0a273af: Waiting [2024-12-09T08:16:04.965Z] 5d3b04190fa2: Waiting [2024-12-09T08:16:04.965Z] 2f39f015ded8: Waiting [2024-12-09T08:16:04.965Z] 3a2ae6a8a46f: Waiting [2024-12-09T08:16:04.965Z] 5c69ac0246d0: Verifying Checksum [2024-12-09T08:16:04.965Z] 5c69ac0246d0: Download complete [2024-12-09T08:16:04.965Z] 3a2ae6a8a46f: Verifying Checksum [2024-12-09T08:16:04.965Z] 3a2ae6a8a46f: Download complete [2024-12-09T08:16:04.965Z] 33b1e0a273af: Verifying Checksum [2024-12-09T08:16:04.965Z] 33b1e0a273af: Download complete [2024-12-09T08:16:04.965Z] 5d3b04190fa2: Verifying Checksum [2024-12-09T08:16:04.965Z] 5d3b04190fa2: Download complete [2024-12-09T08:16:04.965Z] ec43610c2a17: Verifying Checksum [2024-12-09T08:16:04.965Z] ec43610c2a17: Download complete [2024-12-09T08:16:05.223Z] 5eb5b503b376: Verifying Checksum [2024-12-09T08:16:05.223Z] 5eb5b503b376: Download complete [2024-12-09T08:16:05.787Z] 2f39f015ded8: Download complete [2024-12-09T08:16:06.354Z] 5eb5b503b376: Pull complete [2024-12-09T08:16:06.612Z] 5c69ac0246d0: Pull complete [2024-12-09T08:16:07.178Z] ec43610c2a17: Pull complete [2024-12-09T08:16:07.178Z] 3a2ae6a8a46f: Pull complete [2024-12-09T08:16:07.436Z] 33b1e0a273af: Pull complete [2024-12-09T08:16:07.436Z] 5d3b04190fa2: Pull complete [2024-12-09T08:16:11.626Z] 2f39f015ded8: Pull complete [2024-12-09T08:16:11.626Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-12-09T08:16:11.626Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-12-09T08:16:11.626Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-12-09T08:16:11.728Z] prd-ubuntu20.04-docker-8c-8g-34776 does not seem to be running inside a container [2024-12-09T08:16:11.759Z] $ 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-517 -v /w/workspace/edgexfoundry_device-sdk-c_PR-517:/w/workspace/edgexfoundry_device-sdk-c_PR-517:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-517@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-517@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 ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-12-09T08:16:16.982Z] $ docker top 6f38c26c8be9b9d79b14dcb1f37b9a3d012964cff7da4cfff453c80f7572b8b7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-12-09T08:16:17.392Z] ---> job-cost.sh [2024-12-09T08:16:17.392Z] lf-activate-venv: SKIPPING [2024-12-09T08:16:17.392Z] INFO: No Stack... [2024-12-09T08:16:17.654Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-12-09T08:16:17.913Z] INFO: Archiving Costs [Pipeline] sh [2024-12-09T08:16:18.202Z] + cat /w/workspace/edgexfoundry_device-sdk-c_PR-517/archives/cost.csv [2024-12-09T08:16:18.202Z] + cut -d, -f6 [Pipeline] lock [2024-12-09T08:16:18.217Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-c-PR-517-11-stack-cost] [2024-12-09T08:16:18.228Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-517-11-stack-cost] did not exist. Created. [2024-12-09T08:16:18.235Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-c-PR-517-11-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-12-09T08:16:18.545Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-12-09T08:16:18.593Z] Stashed 1 file(s) [Pipeline] } [2024-12-09T08:16:18.602Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-c-PR-517-11-stack-cost] [Pipeline] // lock [Pipeline] } [2024-12-09T08:16:18.631Z] $ docker stop --time=1 6f38c26c8be9b9d79b14dcb1f37b9a3d012964cff7da4cfff453c80f7572b8b7 [2024-12-09T08:16:19.802Z] $ docker rm -f --volumes 6f38c26c8be9b9d79b14dcb1f37b9a3d012964cff7da4cfff453c80f7572b8b7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-12-09T08:16:19.937Z] Failed in branch amd64 [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-12-09T08:16:20.473Z] + [ -d /w/workspace/edgexfoundry_device-sdk-c_PR-517/archives ] [2024-12-09T08:16:20.473Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-517/archives [2024-12-09T08:16:20.473Z] total 16 [2024-12-09T08:16:20.473Z] drwxr-xr-x 3 root root 4096 Dec 9 08:16 . [2024-12-09T08:16:20.473Z] drwxrwxr-x 10 jenkins jenkins 4096 Dec 9 08:16 .. [2024-12-09T08:16:20.473Z] drwxr-xr-x 2 root root 4096 Dec 9 08:16 cost [2024-12-09T08:16:20.473Z] -rw-r--r-- 1 root root 85 Dec 9 08:16 cost.csv [2024-12-09T08:16:20.473Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_PR-517/archives [2024-12-09T08:16:20.473Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-517/archives [2024-12-09T08:16:20.473Z] total 16 [2024-12-09T08:16:20.473Z] drwxr-xr-x 3 jenkins jenkins 4096 Dec 9 08:16 . [2024-12-09T08:16:20.473Z] drwxrwxr-x 10 jenkins jenkins 4096 Dec 9 08:16 .. [2024-12-09T08:16:20.473Z] drwxr-xr-x 2 jenkins jenkins 4096 Dec 9 08:16 cost [2024-12-09T08:16:20.473Z] -rw-r--r-- 1 jenkins jenkins 85 Dec 9 08:16 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-12-09T08:16:20.771Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-12-09T08:16:21.635Z] ---> package-listing.sh [2024-12-09T08:16:21.635Z] ++ facter osfamily [2024-12-09T08:16:21.635Z] ++ tr '[:upper:]' '[:lower:]' [2024-12-09T08:16:21.895Z] + OS_FAMILY=debian [2024-12-09T08:16:21.895Z] + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-517 [2024-12-09T08:16:21.895Z] + START_PACKAGES=/tmp/packages_start.txt [2024-12-09T08:16:21.895Z] + END_PACKAGES=/tmp/packages_end.txt [2024-12-09T08:16:21.895Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-12-09T08:16:21.895Z] + PACKAGES=/tmp/packages_start.txt [2024-12-09T08:16:21.895Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-517 ']' [2024-12-09T08:16:21.895Z] + PACKAGES=/tmp/packages_end.txt [2024-12-09T08:16:21.895Z] + case "${OS_FAMILY}" in [2024-12-09T08:16:21.895Z] + dpkg -l [2024-12-09T08:16:21.895Z] + grep '^ii' [2024-12-09T08:16:21.895Z] + '[' -f /tmp/packages_start.txt ']' [2024-12-09T08:16:21.895Z] + '[' -f /tmp/packages_end.txt ']' [2024-12-09T08:16:21.895Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-12-09T08:16:21.895Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-517 ']' [2024-12-09T08:16:21.895Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-517/archives/ [2024-12-09T08:16:21.895Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-517/archives/ [Pipeline] echo [2024-12-09T08:16:21.907Z] 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-517/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-12-09T08:16:22.214Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-12-09T08:16:22.521Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-12-09T08:16:22.521Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-12-09T08:16:22.600Z] prd-ubuntu20.04-docker-8c-8g-34776 does not seem to be running inside a container [2024-12-09T08:16:22.631Z] $ 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-517/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-517 -v /w/workspace/edgexfoundry_device-sdk-c_PR-517:/w/workspace/edgexfoundry_device-sdk-c_PR-517:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-517@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-517@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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-12-09T08:16:22.858Z] $ docker top ecef5258bc86a97b926d70134a4f3c239698151e401e68ed477f8ce8067a0980 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-12-09T08:16:23.203Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-12-09T08:16:23.487Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-12-09T08:16:23.776Z] + ls /var/log/sa-host [2024-12-09T08:16:23.776Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-12-09T08:16:23.853Z] provisioning config files... [2024-12-09T08:16:23.862Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-517@tmp/config685454890453305641tmp [Pipeline] { [Pipeline] echo [2024-12-09T08:16:23.878Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-12-09T08:16:24.161Z] ---> create-netrc.sh [Pipeline] } [2024-12-09T08:16:24.169Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-12-09T08:16:24.510Z] ---> python-tools-install.sh [Pipeline] echo [2024-12-09T08:16:24.520Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-12-09T08:16:24.803Z] ---> sudo-logs.sh [2024-12-09T08:16:24.803Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-12-09T08:16:24.839Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-12-09T08:16:25.121Z] ---> job-cost.sh [2024-12-09T08:16:25.121Z] lf-activate-venv: SKIPPING [2024-12-09T08:16:25.121Z] DEBUG: total: 0.2199999988079071 [2024-12-09T08:16:25.121Z] INFO: Retrieving Stack Cost... [2024-12-09T08:16:25.121Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-12-09T08:16:25.380Z] INFO: Archiving Costs [Pipeline] echo [2024-12-09T08:16:25.391Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-12-09T08:16:25.673Z] ---> logs-deploy.sh [2024-12-09T08:16:25.673Z] lf-activate-venv: SKIPPING [2024-12-09T08:16:25.673Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-517/11 [2024-12-09T08:16:25.673Z] INFO: archiving workspace using pattern(s): [2024-12-09T08:16:26.610Z] Archives upload complete. [2024-12-09T08:16:26.610Z] INFO: archiving logs to Nexus