Branch indexing 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-ssh9858871684607667587.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-ssh3587869250144972808.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-ssh10053535951451744674.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-ssh9793632377511547073.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-ssh1521428926730929920.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 Waiting for next available executor Running on prd-ubuntu20.04-docker-8c-8g-34636 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 > 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 Merging remotes/origin/main commit 62fc64c90db9bc421ef18031b23432b09bce4dbe into PR head commit c3442cc74ec8b65f1284546aceb8079855459ced Merge succeeded, producing b10d9a62ef29e07938a20c3ce994961c8ef303d7 Checking out Revision b10d9a62ef29e07938a20c3ce994961c8ef303d7 (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 b10d9a62ef29e07938a20c3ce994961c8ef303d7 # timeout=10 Commit message: "Merge commit '62fc64c90db9bc421ef18031b23432b09bce4dbe' into HEAD" First time build. Skipping changelog. > git rev-list --no-walk d85901466d7cf28fa19707894fc1039c9772b1cf # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-12-06T18:55:36.337Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-12-06T18:55:36.404Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-12-06T18:55:36.431Z] ========================================================= [2024-12-06T18:55:36.431Z] EdgeX Global Pipelines Version Info [2024-12-06T18:55:36.431Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-12-06T18:55:37.166Z] ------------------- [2024-12-06T18:55:37.166Z] stable info: [2024-12-06T18:55:37.166Z] ------------------- [2024-12-06T18:55:37.166Z] Commited By: Cherry Wang cherry@iotechsys.com [2024-12-06T18:55:37.166Z] Commit SHA: 7928b8837ad34b090831a72fcdf53bff9dae4c17 [2024-12-06T18:55:37.166Z] Message: update stable to v1.0.269 [2024-12-06T18:55:37.739Z] ------------------- [2024-12-06T18:55:37.739Z] experimental info: [2024-12-06T18:55:37.739Z] ------------------- [2024-12-06T18:55:37.739Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2024-12-06T18:55:37.739Z] Commit SHA: 7928b8837ad34b090831a72fcdf53bff9dae4c17 [2024-12-06T18:55:37.740Z] Message: update experimental to v1.0.269 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-12-06T18:55:37.831Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo [2024-12-06T18:55:37.849Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo [2024-12-06T18:55:37.872Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-12-06T18:55:37.893Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-12-06T18:55:37.915Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-12-06T18:55:37.936Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo [2024-12-06T18:55:37.957Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo [2024-12-06T18:55:37.979Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-12-06T18:55:38.002Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-12-06T18:55:38.026Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo [2024-12-06T18:55:38.051Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-12-06T18:55:38.075Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-12-06T18:55:38.101Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-12-06T18:55:38.125Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2024-12-06T18:55:38.152Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-12-06T18:55:38.176Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-12-06T18:55:38.197Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-12-06T18:55:38.216Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-517 [Pipeline] echo [2024-12-06T18:55:38.240Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-517 [Pipeline] echo [2024-12-06T18:55:38.264Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-517 [Pipeline] echo [2024-12-06T18:55:38.283Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b10d9a62ef29e07938a20c3ce994961c8ef303d7 [Pipeline] echo [2024-12-06T18:55:38.307Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b10d9a6 [Pipeline] echo [2024-12-06T18:55:38.339Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-12-06T18:55:38.406Z] provisioning config files... [2024-12-06T18:55:38.421Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-517@tmp/config8854006721137806254tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-12-06T18:55:38.760Z] ---> ****-login.sh [2024-12-06T18:55:38.760Z] nexus3.edgexfoundry.org:10001 [2024-12-06T18:55:39.021Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-12-06T18:55:39.282Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-12-06T18:55:39.282Z] Configure a credential helper to remove this warning. See [2024-12-06T18:55:39.282Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-12-06T18:55:39.282Z] [2024-12-06T18:55:39.282Z] Login Succeeded [2024-12-06T18:55:39.282Z] nexus3.edgexfoundry.org:10002 [2024-12-06T18:55:39.282Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-12-06T18:55:39.282Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-12-06T18:55:39.282Z] Configure a credential helper to remove this warning. See [2024-12-06T18:55:39.282Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-12-06T18:55:39.282Z] [2024-12-06T18:55:39.282Z] Login Succeeded [2024-12-06T18:55:39.282Z] nexus3.edgexfoundry.org:10003 [2024-12-06T18:55:39.282Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-12-06T18:55:39.282Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-12-06T18:55:39.282Z] Configure a credential helper to remove this warning. See [2024-12-06T18:55:39.282Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-12-06T18:55:39.282Z] [2024-12-06T18:55:39.282Z] Login Succeeded [2024-12-06T18:55:39.542Z] nexus3.edgexfoundry.org:10004 [2024-12-06T18:55:39.542Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-12-06T18:55:39.542Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-12-06T18:55:39.542Z] Configure a credential helper to remove this warning. See [2024-12-06T18:55:39.542Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-12-06T18:55:39.542Z] [2024-12-06T18:55:39.542Z] Login Succeeded [2024-12-06T18:55:39.542Z] ****.io [2024-12-06T18:55:39.542Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-12-06T18:55:39.803Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-12-06T18:55:39.803Z] Configure a credential helper to remove this warning. See [2024-12-06T18:55:39.803Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-12-06T18:55:39.803Z] [2024-12-06T18:55:39.803Z] Login Succeeded [2024-12-06T18:55:39.803Z] ---> ****-login.sh ends [Pipeline] } [2024-12-06T18:55:39.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-06T18:55:40.212Z] + git rev-list -1 --merges b10d9a62ef29e07938a20c3ce994961c8ef303d7~1..b10d9a62ef29e07938a20c3ce994961c8ef303d7 [Pipeline] echo [2024-12-06T18:55:40.244Z] -----------> git rev-list -1 --merges b10d9a62ef29e07938a20c3ce994961c8ef303d7~1..b10d9a62ef29e07938a20c3ce994961c8ef303d7 b10d9a62ef29e07938a20c3ce994961c8ef303d7 [2024-12-06T18:55:40.244Z] b10d9a62ef29e07938a20c3ce994961c8ef303d7 [false] [Pipeline] sh [2024-12-06T18:55:40.538Z] + git log --format=format:%s -1 b10d9a62ef29e07938a20c3ce994961c8ef303d7 [Pipeline] echo [2024-12-06T18:55:40.556Z] ========================================================= [2024-12-06T18:55:40.556Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-12-06T18:55:40.556Z] ========================================================= 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-06T18:55:40.999Z] + git rev-list -1 --merges b10d9a62ef29e07938a20c3ce994961c8ef303d7~1..b10d9a62ef29e07938a20c3ce994961c8ef303d7 [Pipeline] echo [2024-12-06T18:55:41.015Z] -----------> git rev-list -1 --merges b10d9a62ef29e07938a20c3ce994961c8ef303d7~1..b10d9a62ef29e07938a20c3ce994961c8ef303d7 b10d9a62ef29e07938a20c3ce994961c8ef303d7 [2024-12-06T18:55:41.015Z] b10d9a62ef29e07938a20c3ce994961c8ef303d7 [false] [Pipeline] sh [2024-12-06T18:55:41.308Z] + git log --format=format:%s -1 b10d9a62ef29e07938a20c3ce994961c8ef303d7 [Pipeline] echo [2024-12-06T18:55:41.326Z] ========================================================= [2024-12-06T18:55:41.326Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-12-06T18:55:41.326Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh [2024-12-06T18:55:41.789Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-12-06T18:55:41.790Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-12-06T18:55:41.790Z] + [ -e /tmp/ssh_known_hosts ] [2024-12-06T18:55:41.790Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-12-06T18:55:41.790Z] + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-12-06T18:55:41.790Z] sudo tee -a /etc/ssh/ssh_known_hosts [2024-12-06T18:55:41.790Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-12-06T18:55:42.232Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-12-06T18:55:42.233Z] [2024-12-06T18:55:42.233Z] 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-06T18:55:42.543Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-12-06T18:55:42.543Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-12-06T18:55:42.543Z] b85a868b505f: Pulling fs layer [2024-12-06T18:55:42.543Z] e2be974225ed: Pulling fs layer [2024-12-06T18:55:42.543Z] 339a4e72a1f5: Pulling fs layer [2024-12-06T18:55:42.544Z] 988bab9f4d93: Pulling fs layer [2024-12-06T18:55:42.544Z] 1469e6f7b9e6: Pulling fs layer [2024-12-06T18:55:42.544Z] eaf3925da568: Pulling fs layer [2024-12-06T18:55:42.544Z] bab4dde63d76: Pulling fs layer [2024-12-06T18:55:42.544Z] bde34c3a00c8: Pulling fs layer [2024-12-06T18:55:42.544Z] b352a97aabf1: Pulling fs layer [2024-12-06T18:55:42.544Z] 4872d77fe225: Pulling fs layer [2024-12-06T18:55:42.544Z] 5851b861e8e6: Pulling fs layer [2024-12-06T18:55:42.544Z] 988bab9f4d93: Waiting [2024-12-06T18:55:42.544Z] 1469e6f7b9e6: Waiting [2024-12-06T18:55:42.544Z] eaf3925da568: Waiting [2024-12-06T18:55:42.544Z] bab4dde63d76: Waiting [2024-12-06T18:55:42.544Z] bde34c3a00c8: Waiting [2024-12-06T18:55:42.544Z] b352a97aabf1: Waiting [2024-12-06T18:55:42.544Z] 4872d77fe225: Waiting [2024-12-06T18:55:42.544Z] 5851b861e8e6: Waiting [2024-12-06T18:55:42.544Z] e2be974225ed: Verifying Checksum [2024-12-06T18:55:42.544Z] e2be974225ed: Download complete [2024-12-06T18:55:42.544Z] 988bab9f4d93: Verifying Checksum [2024-12-06T18:55:42.544Z] 988bab9f4d93: Download complete [2024-12-06T18:55:42.544Z] 1469e6f7b9e6: Verifying Checksum [2024-12-06T18:55:42.544Z] 1469e6f7b9e6: Download complete [2024-12-06T18:55:42.803Z] eaf3925da568: Download complete [2024-12-06T18:55:42.803Z] 339a4e72a1f5: Verifying Checksum [2024-12-06T18:55:42.803Z] 339a4e72a1f5: Download complete [2024-12-06T18:55:42.803Z] bde34c3a00c8: Verifying Checksum [2024-12-06T18:55:42.803Z] bde34c3a00c8: Download complete [2024-12-06T18:55:42.803Z] b352a97aabf1: Download complete [2024-12-06T18:55:42.803Z] 4872d77fe225: Download complete [2024-12-06T18:55:42.803Z] 5851b861e8e6: Verifying Checksum [2024-12-06T18:55:42.803Z] 5851b861e8e6: Download complete [2024-12-06T18:55:42.803Z] b85a868b505f: Verifying Checksum [2024-12-06T18:55:42.803Z] b85a868b505f: Download complete [2024-12-06T18:55:43.066Z] bab4dde63d76: Verifying Checksum [2024-12-06T18:55:43.066Z] bab4dde63d76: Download complete [2024-12-06T18:55:44.453Z] b85a868b505f: Pull complete [2024-12-06T18:55:44.453Z] e2be974225ed: Pull complete [2024-12-06T18:55:44.713Z] 339a4e72a1f5: Pull complete [2024-12-06T18:55:44.972Z] 988bab9f4d93: Pull complete [2024-12-06T18:55:45.231Z] 1469e6f7b9e6: Pull complete [2024-12-06T18:55:45.232Z] eaf3925da568: Pull complete [2024-12-06T18:55:47.140Z] bab4dde63d76: Pull complete [2024-12-06T18:55:47.140Z] bde34c3a00c8: Pull complete [2024-12-06T18:55:47.402Z] b352a97aabf1: Pull complete [2024-12-06T18:55:47.402Z] 4872d77fe225: Pull complete [2024-12-06T18:55:47.402Z] 5851b861e8e6: Pull complete [2024-12-06T18:55:47.402Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-12-06T18:55:47.402Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-12-06T18:55:47.402Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-12-06T18:55:47.568Z] prd-ubuntu20.04-docker-8c-8g-34636 does not seem to be running inside a container [2024-12-06T18:55:47.595Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-12-06T18:55:50.822Z] $ docker top 8029ad136d6b67a4dea4f91367dd688536e98eea60a40bfc8877ddb089838763 -eo pid,comm [2024-12-06T18:55:50.883Z] 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-06T18:55:50.883Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-12-06T18:55:50.954Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-12-06T18:55:50.954Z] [ssh-agent] Looking for ssh-agent implementation... [2024-12-06T18:55:51.075Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-12-06T18:55:51.072Z] $ docker exec 8029ad136d6b67a4dea4f91367dd688536e98eea60a40bfc8877ddb089838763 ssh-agent [2024-12-06T18:55:51.184Z] SSH_AUTH_SOCK=/tmp/ssh-qafPJOCTNkAs/agent.31 [2024-12-06T18:55:51.184Z] SSH_AGENT_PID=37 [2024-12-06T18:55:51.191Z] Running ssh-add (command line suppressed) [2024-12-06T18:55:51.292Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-517@tmp/private_key_1667602823688297679.key (/w/workspace/edgexfoundry_device-sdk-c_PR-517@tmp/private_key_1667602823688297679.key) [2024-12-06T18:55:51.312Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-12-06T18:55:51.615Z] + git tag --points-at HEAD [Pipeline] } [2024-12-06T18:55:51.622Z] $ docker exec --env ******** --env ******** 8029ad136d6b67a4dea4f91367dd688536e98eea60a40bfc8877ddb089838763 ssh-agent -k [2024-12-06T18:55:51.724Z] unset SSH_AUTH_SOCK; [2024-12-06T18:55:51.725Z] unset SSH_AGENT_PID; [2024-12-06T18:55:51.725Z] echo Agent pid 37 killed; [2024-12-06T18:55:51.748Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-12-06T18:55:51.792Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-12-06T18:55:51.792Z] [ssh-agent] Looking for ssh-agent implementation... [2024-12-06T18:55:51.908Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-12-06T18:55:51.905Z] $ docker exec 8029ad136d6b67a4dea4f91367dd688536e98eea60a40bfc8877ddb089838763 ssh-agent [2024-12-06T18:55:52.032Z] SSH_AUTH_SOCK=/tmp/ssh-C37CtF4j4tIW/agent.69 [2024-12-06T18:55:52.032Z] SSH_AGENT_PID=75 [2024-12-06T18:55:52.037Z] Running ssh-add (command line suppressed) [2024-12-06T18:55:52.145Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-517@tmp/private_key_12924985605531488872.key (/w/workspace/edgexfoundry_device-sdk-c_PR-517@tmp/private_key_12924985605531488872.key) [2024-12-06T18:55:52.165Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-12-06T18:55:52.459Z] + git semver init [2024-12-06T18:55:52.720Z] 2024-12-06 18:55:52,631 [run_init] DEBUG init version:0.0.0 force:False [2024-12-06T18:55:52.720Z] 2024-12-06 18:55:52,632 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-c_PR-517/.semver [2024-12-06T18:55:52.720Z] 2024-12-06 18:55:52,632 [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-06T18:55:52.720Z] 2024-12-06 18:55:52,632 [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-06T18:55:53.661Z] 2024-12-06 18:55:53,452 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-c_PR-517/.git/info/exclude [2024-12-06T18:55:53.661Z] 2024-12-06 18:55:53,453 [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-06T18:55:53.661Z] 2024-12-06 18:55:53,453 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-c_PR-517/.semver/PR-517 [2024-12-06T18:55:53.661Z] 2024-12-06 18:55:53,458 [execute] INFO git cat-file --batch-check [2024-12-06T18:55:53.661Z] 2024-12-06 18:55:53,459 [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-06T18:55:53.661Z] 2024-12-06 18:55:53,465 [execute] INFO git cat-file --batch [2024-12-06T18:55:53.661Z] 2024-12-06 18:55:53,465 [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-06T18:55:53.661Z] 2024-12-06 18:55:53,472 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_PR-517/.semver/PR-517 [2024-12-06T18:55:53.661Z] 0.0.0 [Pipeline] } [2024-12-06T18:55:53.665Z] $ docker exec --env ******** --env ******** 8029ad136d6b67a4dea4f91367dd688536e98eea60a40bfc8877ddb089838763 ssh-agent -k [2024-12-06T18:55:53.756Z] unset SSH_AUTH_SOCK; [2024-12-06T18:55:53.756Z] unset SSH_AGENT_PID; [2024-12-06T18:55:53.756Z] echo Agent pid 75 killed; [2024-12-06T18:55:53.772Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-12-06T18:55:54.092Z] + git semver [Pipeline] } [2024-12-06T18:55:54.364Z] $ docker stop --time=1 8029ad136d6b67a4dea4f91367dd688536e98eea60a40bfc8877ddb089838763 [2024-12-06T18:55:55.656Z] $ docker rm -f --volumes 8029ad136d6b67a4dea4f91367dd688536e98eea60a40bfc8877ddb089838763 [Pipeline] // withDockerContainer [Pipeline] sh [2024-12-06T18:55:56.009Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-12-06T18:55:56.243Z] Stashed 1 file(s) [Pipeline] echo [2024-12-06T18:55:56.247Z] [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-06T18:55:56.507Z] provisioning config files... [2024-12-06T18:55:56.519Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-517@tmp/config16228436344738178412tmp [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] { [Pipeline] } [Pipeline] libraryResource [Pipeline] sh [2024-12-06T18:55:56.846Z] ---> ****-login.sh [2024-12-06T18:55:56.846Z] nexus3.edgexfoundry.org:10001 [2024-12-06T18:55:56.846Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-12-06T18:55:56.846Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-12-06T18:55:56.846Z] Configure a credential helper to remove this warning. See [2024-12-06T18:55:56.846Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-12-06T18:55:56.846Z] [2024-12-06T18:55:56.846Z] Login Succeeded [2024-12-06T18:55:56.846Z] nexus3.edgexfoundry.org:10002 [2024-12-06T18:55:56.846Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-12-06T18:55:56.846Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-12-06T18:55:56.846Z] Configure a credential helper to remove this warning. See [2024-12-06T18:55:56.846Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-12-06T18:55:56.846Z] [2024-12-06T18:55:56.846Z] Login Succeeded [2024-12-06T18:55:56.846Z] nexus3.edgexfoundry.org:10003 [2024-12-06T18:55:57.106Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-12-06T18:55:57.106Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-12-06T18:55:57.106Z] Configure a credential helper to remove this warning. See [2024-12-06T18:55:57.106Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-12-06T18:55:57.106Z] [2024-12-06T18:55:57.106Z] Login Succeeded [2024-12-06T18:55:57.106Z] nexus3.edgexfoundry.org:10004 [2024-12-06T18:55:57.106Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-12-06T18:55:57.106Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-12-06T18:55:57.106Z] Configure a credential helper to remove this warning. See [2024-12-06T18:55:57.106Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-12-06T18:55:57.106Z] [2024-12-06T18:55:57.106Z] Login Succeeded [2024-12-06T18:55:57.106Z] ****.io [2024-12-06T18:55:57.366Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-12-06T18:55:57.367Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-12-06T18:55:57.367Z] Configure a credential helper to remove this warning. See [2024-12-06T18:55:57.367Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-12-06T18:55:57.367Z] [2024-12-06T18:55:57.367Z] Login Succeeded [2024-12-06T18:55:57.367Z] ---> ****-login.sh ends [Pipeline] } [2024-12-06T18:55:57.374Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-12-06T18:55:57.479Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-12-06T18:55:57.494Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo [2024-12-06T18:55:57.513Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-12-06T18:55:57.531Z] ========================================================= [2024-12-06T18:55:57.531Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] [2024-12-06T18:55:57.531Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-12-06T18:55:57.980Z] + 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-06T18:55:57.980Z] Sending build context to Docker daemon 5.203MB [2024-12-06T18:55:57.980Z] Step 1/22 : ARG BASE=alpine:3.18 [2024-12-06T18:55:57.980Z] Step 2/22 : FROM ${BASE} as builder [2024-12-06T18:55:57.980Z] latest: Pulling from edgex-devops/edgex-gcc-base [2024-12-06T18:55:57.980Z] 96526aa774ef: Pulling fs layer [2024-12-06T18:55:57.980Z] da60e534fd72: Pulling fs layer [2024-12-06T18:55:58.241Z] 96526aa774ef: Verifying Checksum [2024-12-06T18:55:58.241Z] 96526aa774ef: Download complete [2024-12-06T18:55:58.241Z] 96526aa774ef: Pull complete [2024-12-06T18:55:59.187Z] da60e534fd72: Verifying Checksum [2024-12-06T18:55:59.187Z] da60e534fd72: Download complete [2024-12-06T18:56:02.486Z] da60e534fd72: Pull complete [2024-12-06T18:56:02.486Z] Digest: sha256:86f282524b252fca782185160d82ec4889448d07d1475dd6b76f2052073facff [2024-12-06T18:56:02.486Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [2024-12-06T18:56:02.486Z] ---> 6605166a5db4 [2024-12-06T18:56:02.486Z] 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-06T18:56:04.398Z] ---> Running in 0f9a9a01d4a4 [2024-12-06T18:56:04.658Z] Connecting to iotech.jfrog.io (34.247.22.236:443) [2024-12-06T18:56:05.231Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-12-06T18:56:05.231Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-12-06T18:56:05.231Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-12-06T18:56:05.492Z] Removing intermediate container 0f9a9a01d4a4 [2024-12-06T18:56:05.492Z] ---> 5557636a1ea5 [2024-12-06T18:56:05.492Z] Step 4/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-12-06T18:56:05.492Z] ---> Running in d2bd79f3e64e [2024-12-06T18:56:06.064Z] Removing intermediate container d2bd79f3e64e [2024-12-06T18:56:06.064Z] ---> ab80f1b0e2b4 [2024-12-06T18:56:06.064Z] 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-06T18:56:06.064Z] ---> Running in 9debb6472ca8 [2024-12-06T18:56:06.324Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-12-06T18:56:06.584Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-12-06T18:56:06.844Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-12-06T18:56:07.412Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-12-06T18:56:07.412Z] (1/15) Installing libcbor (0.10.2-r1) [2024-12-06T18:56:07.412Z] (2/15) Installing iotech-iot-1.5 (1.5.5-r0) [2024-12-06T18:56:08.352Z] (3/15) Installing iotech-iot-1.5-dev (1.5.5-r0) [2024-12-06T18:56:08.352Z] (4/15) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) [2024-12-06T18:56:08.352Z] (5/15) Installing libcbor-dev (0.10.2-r1) [2024-12-06T18:56:08.352Z] (6/15) Installing libmenuw (6.4_p20230506-r0) [2024-12-06T18:56:08.352Z] (7/15) Installing libpanelw (6.4_p20230506-r0) [2024-12-06T18:56:08.352Z] (8/15) Installing libncurses++ (6.4_p20230506-r0) [2024-12-06T18:56:08.352Z] (9/15) Installing ncurses-dev (6.4_p20230506-r0) [2024-12-06T18:56:08.352Z] (10/15) Installing libblkid (2.38.1-r8) [2024-12-06T18:56:08.352Z] (11/15) Installing libuuid (2.38.1-r8) [2024-12-06T18:56:08.352Z] (12/15) Installing libfdisk (2.38.1-r8) [2024-12-06T18:56:08.352Z] (13/15) Installing libmount (2.38.1-r8) [2024-12-06T18:56:08.352Z] (14/15) Installing libsmartcols (2.38.1-r8) [2024-12-06T18:56:08.352Z] (15/15) Installing util-linux-dev (2.38.1-r8) [2024-12-06T18:56:08.613Z] Executing busybox-1.36.1-r4.trigger [2024-12-06T18:56:08.613Z] OK: 336 MiB in 97 packages [2024-12-06T18:56:09.183Z] Removing intermediate container 9debb6472ca8 [2024-12-06T18:56:09.183Z] ---> 028b8692d76d [2024-12-06T18:56:09.183Z] Step 6/22 : RUN mkdir /tmp/sdk [2024-12-06T18:56:09.183Z] ---> Running in 5f71cc88ac59 [2024-12-06T18:56:10.188Z] Removing intermediate container 5f71cc88ac59 [2024-12-06T18:56:10.188Z] ---> 5adbb2f2ee63 [2024-12-06T18:56:10.188Z] Step 7/22 : COPY VERSION /tmp/sdk [2024-12-06T18:56:10.188Z] ---> 90d7b8d22325 [2024-12-06T18:56:10.188Z] Step 8/22 : COPY src /tmp/sdk/src [2024-12-06T18:56:10.450Z] ---> 60195cb26c99 [2024-12-06T18:56:10.450Z] Step 9/22 : COPY include /tmp/sdk/include [2024-12-06T18:56:10.450Z] ---> f5c05e526609 [2024-12-06T18:56:10.450Z] Step 10/22 : COPY scripts /tmp/sdk/scripts [2024-12-06T18:56:10.714Z] ---> 6854b194446f [2024-12-06T18:56:10.714Z] Step 11/22 : COPY LICENSE /tmp/sdk [2024-12-06T18:56:10.714Z] ---> 9c1b2c78e9b2 [2024-12-06T18:56:10.714Z] Step 12/22 : COPY Attribution.txt /tmp/sdk [2024-12-06T18:56:10.974Z] ---> 78049d92e759 [2024-12-06T18:56:10.974Z] Step 13/22 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2024-12-06T18:56:10.974Z] ---> Running in 43fcfa1ee2fb [2024-12-06T18:56:11.233Z] + CPPCHECK=false [2024-12-06T18:56:11.233Z] + DOCGEN=false [2024-12-06T18:56:11.233Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2024-12-06T18:56:11.233Z] + '[' 0 -gt 0 ] [2024-12-06T18:56:11.233Z] + readlink -f ./scripts/build.sh [2024-12-06T18:56:11.233Z] + dirname /tmp/sdk/scripts/build.sh [2024-12-06T18:56:11.233Z] + dirname /tmp/sdk/scripts [2024-12-06T18:56:11.233Z] + ROOT=/tmp/sdk [2024-12-06T18:56:11.233Z] + cd /tmp/sdk [2024-12-06T18:56:11.233Z] + mkdir -p /tmp/sdk/build/release [2024-12-06T18:56:11.233Z] + cd /tmp/sdk/build/release [2024-12-06T18:56:11.233Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2024-12-06T18:56:11.233Z] -- The C compiler identification is GNU 12.2.1 [2024-12-06T18:56:11.233Z] -- Detecting C compiler ABI info [2024-12-06T18:56:11.493Z] -- Detecting C compiler ABI info - done [2024-12-06T18:56:11.494Z] -- Check for working C compiler: /usr/bin/cc - skipped [2024-12-06T18:56:11.494Z] -- Detecting C compile features [2024-12-06T18:56:11.494Z] -- Detecting C compile features - done [2024-12-06T18:56:11.494Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2024-12-06T18:56:11.494Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") [2024-12-06T18:56:11.494Z] -- Found LIBYAML: /usr/lib/libyaml.so [2024-12-06T18:56:11.494Z] -- Found LIBUUID: /usr/lib/libuuid.so [2024-12-06T18:56:11.494Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2024-12-06T18:56:11.494Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2024-12-06T18:56:11.494Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2024-12-06T18:56:11.494Z] -- /opt/iotech/iot/1.5/include [2024-12-06T18:56:11.494Z] -- C SDK 0.0.0 for Linux [2024-12-06T18:56:11.494Z] -- Performing Test CSDK_HAVE_ATOMIC [2024-12-06T18:56:11.494Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2024-12-06T18:56:11.755Z] -- Found Curses: /usr/lib/libcurses.so [2024-12-06T18:56:11.755Z] -- Configuring done (0.4s) [2024-12-06T18:56:11.755Z] -- Generating done (0.0s) [2024-12-06T18:56:11.755Z] -- Build files have been written to: /tmp/sdk/build/release [2024-12-06T18:56:11.755Z] + make all package [2024-12-06T18:56:11.755Z] + tee release.log [2024-12-06T18:56:11.755Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2024-12-06T18:56:11.755Z] In file included from /tmp/sdk/src/c/../../include/devsdk/devsdk.h:18, [2024-12-06T18:56:11.755Z] from /tmp/sdk/src/c/service.h:12, [2024-12-06T18:56:11.755Z] from /tmp/sdk/src/c/autoevent.h:12, [2024-12-06T18:56:11.755Z] from /tmp/sdk/src/c/autoevent.c:9: [2024-12-06T18:56:11.755Z] /tmp/sdk/src/c/autoevent.c: In function 'ae_runner': [2024-12-06T18:56:11.755Z] /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-06T18:56:11.755Z] 81 | iot_log_error (ai->svc->logger, "Auto Event size (%d KiB) exceeds configured MaxEventSize", edgex_event_cooked_size (event) / 1024); [2024-12-06T18:56:11.755Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-12-06T18:56:11.755Z] | | [2024-12-06T18:56:11.755Z] | size_t {aka long unsigned int} [2024-12-06T18:56:11.755Z] /opt/iotech/iot/1.5/include/iot/logger.h:185:104: note: in definition of macro 'iot_log_error' [2024-12-06T18:56:11.755Z] 185 | #define iot_log_error(l,...) if ((l) && (l)->level >= IOT_LOG_ERROR) iot_log__log ((l), IOT_LOG_ERROR, __VA_ARGS__) [2024-12-06T18:56:11.755Z] | ^~~~~~~~~~~ [2024-12-06T18:56:11.755Z] /tmp/sdk/src/c/autoevent.c:81:66: note: format string is defined here [2024-12-06T18:56:11.755Z] 81 | iot_log_error (ai->svc->logger, "Auto Event size (%d KiB) exceeds configured MaxEventSize", edgex_event_cooked_size (event) / 1024); [2024-12-06T18:56:11.755Z] | ~^ [2024-12-06T18:56:11.755Z] | | [2024-12-06T18:56:11.755Z] | int [2024-12-06T18:56:11.755Z] | %ld [2024-12-06T18:56:11.755Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2024-12-06T18:56:12.016Z] /tmp/sdk/src/c/bus-mqtt.c: In function 'edgex_bus_mqtt_subscribe': [2024-12-06T18:56:12.016Z] /tmp/sdk/src/c/bus-mqtt.c:85:13: error: invalid storage class for function 'edgex_bus_mqtt_post' [2024-12-06T18:56:12.016Z] 85 | static void edgex_bus_mqtt_post (void *ctx, const char *topic, const iot_data_t *envelope) [2024-12-06T18:56:12.016Z] | ^~~~~~~~~~~~~~~~~~~ [2024-12-06T18:56:12.016Z] /tmp/sdk/src/c/bus-mqtt.c:108:13: error: invalid storage class for function 'edgex_bus_mqtt_onconnect' [2024-12-06T18:56:12.016Z] 108 | static void edgex_bus_mqtt_onconnect(void *context, MQTTAsync_successData *response) [2024-12-06T18:56:12.016Z] | ^~~~~~~~~~~~~~~~~~~~~~~~ [2024-12-06T18:56:12.016Z] /tmp/sdk/src/c/bus-mqtt.c:118:13: error: invalid storage class for function 'edgex_bus_mqtt_onconnectfail' [2024-12-06T18:56:12.016Z] 118 | static void edgex_bus_mqtt_onconnectfail (void *context, MQTTAsync_failureData *response) [2024-12-06T18:56:12.016Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-12-06T18:56:12.016Z] /tmp/sdk/src/c/bus-mqtt.c:131:12: error: invalid storage class for function 'edgex_bus_mqtt_msgarrvd' [2024-12-06T18:56:12.016Z] 131 | static int edgex_bus_mqtt_msgarrvd (void *context, char *topicName, int topicLen, MQTTAsync_message *message) [2024-12-06T18:56:12.016Z] | ^~~~~~~~~~~~~~~~~~~~~~~ [2024-12-06T18:56:12.016Z] /tmp/sdk/src/c/bus-mqtt.c:318:1: error: expected declaration or statement at end of input [2024-12-06T18:56:12.016Z] 318 | } [2024-12-06T18:56:12.016Z] | ^ [2024-12-06T18:56:12.016Z] /tmp/sdk/src/c/bus-mqtt.c: At top level: [2024-12-06T18:56:12.016Z] /tmp/sdk/src/c/bus-mqtt.c:161:14: warning: 'edgex_bus_create_mqtt' defined but not used [-Wunused-function] [2024-12-06T18:56:12.016Z] 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-06T18:56:12.016Z] | ^~~~~~~~~~~~~~~~~~~~~ [2024-12-06T18:56:12.016Z] make[2]: *** [c/CMakeFiles/csdk.dir/build.make:90: c/CMakeFiles/csdk.dir/bus-mqtt.c.o] Error 1 [2024-12-06T18:56:12.016Z] make[1]: *** [CMakeFiles/Makefile2:240: c/CMakeFiles/csdk.dir/all] Error 2 [2024-12-06T18:56:12.016Z] make: *** [Makefile:156: all] Error 2 [2024-12-06T18:56:12.016Z] + '[' false '=' true ] [2024-12-06T18:56:12.016Z] + '[' false '=' true ] [2024-12-06T18:56:12.016Z] + mkdir -p /tmp/sdk/build/debug [2024-12-06T18:56:12.016Z] + cd /tmp/sdk/build/debug [2024-12-06T18:56:12.016Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2024-12-06T18:56:12.016Z] -- The C compiler identification is GNU 12.2.1 [2024-12-06T18:56:12.016Z] -- Detecting C compiler ABI info [2024-12-06T18:56:12.016Z] -- Detecting C compiler ABI info - done [2024-12-06T18:56:12.016Z] -- Check for working C compiler: /usr/bin/cc - skipped [2024-12-06T18:56:12.016Z] -- Detecting C compile features [2024-12-06T18:56:12.016Z] -- Detecting C compile features - done [2024-12-06T18:56:12.016Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2024-12-06T18:56:12.276Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") [2024-12-06T18:56:12.276Z] -- Found LIBYAML: /usr/lib/libyaml.so [2024-12-06T18:56:12.276Z] -- Found LIBUUID: /usr/lib/libuuid.so [2024-12-06T18:56:12.276Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2024-12-06T18:56:12.276Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2024-12-06T18:56:12.276Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2024-12-06T18:56:12.276Z] -- /opt/iotech/iot/1.5/include [2024-12-06T18:56:12.276Z] -- C SDK 0.0.0 for Linux [2024-12-06T18:56:12.276Z] -- Performing Test CSDK_HAVE_ATOMIC [2024-12-06T18:56:12.276Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2024-12-06T18:56:12.276Z] -- Found Curses: /usr/lib/libcurses.so [2024-12-06T18:56:12.276Z] -- Configuring done (0.4s) [2024-12-06T18:56:12.276Z] -- Generating done (0.0s) [2024-12-06T18:56:12.276Z] -- Build files have been written to: /tmp/sdk/build/debug [2024-12-06T18:56:12.276Z] + make [2024-12-06T18:56:12.276Z] + tee debug.log [2024-12-06T18:56:12.536Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2024-12-06T18:56:12.536Z] In file included from /tmp/sdk/src/c/../../include/devsdk/devsdk.h:18, [2024-12-06T18:56:12.536Z] from /tmp/sdk/src/c/service.h:12, [2024-12-06T18:56:12.536Z] from /tmp/sdk/src/c/autoevent.h:12, [2024-12-06T18:56:12.536Z] from /tmp/sdk/src/c/autoevent.c:9: [2024-12-06T18:56:12.536Z] /tmp/sdk/src/c/autoevent.c: In function 'ae_runner': [2024-12-06T18:56:12.536Z] /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-06T18:56:12.536Z] 81 | iot_log_error (ai->svc->logger, "Auto Event size (%d KiB) exceeds configured MaxEventSize", edgex_event_cooked_size (event) / 1024); [2024-12-06T18:56:12.536Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-12-06T18:56:12.536Z] | | [2024-12-06T18:56:12.536Z] | size_t {aka long unsigned int} [2024-12-06T18:56:12.536Z] /opt/iotech/iot/1.5/include/iot/logger.h:185:104: note: in definition of macro 'iot_log_error' [2024-12-06T18:56:12.536Z] 185 | #define iot_log_error(l,...) if ((l) && (l)->level >= IOT_LOG_ERROR) iot_log__log ((l), IOT_LOG_ERROR, __VA_ARGS__) [2024-12-06T18:56:12.536Z] | ^~~~~~~~~~~ [2024-12-06T18:56:12.536Z] /tmp/sdk/src/c/autoevent.c:81:66: note: format string is defined here [2024-12-06T18:56:12.536Z] 81 | iot_log_error (ai->svc->logger, "Auto Event size (%d KiB) exceeds configured MaxEventSize", edgex_event_cooked_size (event) / 1024); [2024-12-06T18:56:12.536Z] | ~^ [2024-12-06T18:56:12.536Z] | | [2024-12-06T18:56:12.536Z] | int [2024-12-06T18:56:12.536Z] | %ld [2024-12-06T18:56:12.536Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2024-12-06T18:56:12.536Z] /tmp/sdk/src/c/bus-mqtt.c: In function 'edgex_bus_mqtt_subscribe': [2024-12-06T18:56:12.536Z] /tmp/sdk/src/c/bus-mqtt.c:85:13: error: invalid storage class for function 'edgex_bus_mqtt_post' [2024-12-06T18:56:12.536Z] 85 | static void edgex_bus_mqtt_post (void *ctx, const char *topic, const iot_data_t *envelope) [2024-12-06T18:56:12.536Z] | ^~~~~~~~~~~~~~~~~~~ [2024-12-06T18:56:12.536Z] /tmp/sdk/src/c/bus-mqtt.c:108:13: error: invalid storage class for function 'edgex_bus_mqtt_onconnect' [2024-12-06T18:56:12.536Z] 108 | static void edgex_bus_mqtt_onconnect(void *context, MQTTAsync_successData *response) [2024-12-06T18:56:12.536Z] | ^~~~~~~~~~~~~~~~~~~~~~~~ [2024-12-06T18:56:12.536Z] /tmp/sdk/src/c/bus-mqtt.c:118:13: error: invalid storage class for function 'edgex_bus_mqtt_onconnectfail' [2024-12-06T18:56:12.536Z] 118 | static void edgex_bus_mqtt_onconnectfail (void *context, MQTTAsync_failureData *response) [2024-12-06T18:56:12.536Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-12-06T18:56:12.536Z] /tmp/sdk/src/c/bus-mqtt.c:131:12: error: invalid storage class for function 'edgex_bus_mqtt_msgarrvd' [2024-12-06T18:56:12.536Z] 131 | static int edgex_bus_mqtt_msgarrvd (void *context, char *topicName, int topicLen, MQTTAsync_message *message) [2024-12-06T18:56:12.536Z] | ^~~~~~~~~~~~~~~~~~~~~~~ [2024-12-06T18:56:12.536Z] /tmp/sdk/src/c/bus-mqtt.c:318:1: error: expected declaration or statement at end of input [2024-12-06T18:56:12.536Z] 318 | } [2024-12-06T18:56:12.536Z] | ^ [2024-12-06T18:56:12.536Z] /tmp/sdk/src/c/bus-mqtt.c: At top level: [2024-12-06T18:56:12.536Z] /tmp/sdk/src/c/bus-mqtt.c:161:14: warning: 'edgex_bus_create_mqtt' defined but not used [-Wunused-function] [2024-12-06T18:56:12.536Z] 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-06T18:56:12.536Z] | ^~~~~~~~~~~~~~~~~~~~~ [2024-12-06T18:56:12.536Z] make[2]: *** [c/CMakeFiles/csdk.dir/build.make:90: c/CMakeFiles/csdk.dir/bus-mqtt.c.o] Error 1 [2024-12-06T18:56:12.536Z] make[1]: *** [CMakeFiles/Makefile2:240: c/CMakeFiles/csdk.dir/all] Error 2 [2024-12-06T18:56:12.536Z] make: *** [Makefile:156: all] Error 2 [2024-12-06T18:56:12.536Z] make: Entering directory '/tmp/sdk/build/release' [2024-12-06T18:56:12.536Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2024-12-06T18:56:12.537Z] /tmp/sdk/src/c/bus-mqtt.c: In function 'edgex_bus_mqtt_subscribe': [2024-12-06T18:56:12.537Z] /tmp/sdk/src/c/bus-mqtt.c:85:13: error: invalid storage class for function 'edgex_bus_mqtt_post' [2024-12-06T18:56:12.537Z] 85 | static void edgex_bus_mqtt_post (void *ctx, const char *topic, const iot_data_t *envelope) [2024-12-06T18:56:12.537Z] | ^~~~~~~~~~~~~~~~~~~ [2024-12-06T18:56:12.537Z] /tmp/sdk/src/c/bus-mqtt.c:108:13: error: invalid storage class for function 'edgex_bus_mqtt_onconnect' [2024-12-06T18:56:12.537Z] 108 | static void edgex_bus_mqtt_onconnect(void *context, MQTTAsync_successData *response) [2024-12-06T18:56:12.537Z] | ^~~~~~~~~~~~~~~~~~~~~~~~ [2024-12-06T18:56:12.537Z] /tmp/sdk/src/c/bus-mqtt.c:118:13: error: invalid storage class for function 'edgex_bus_mqtt_onconnectfail' [2024-12-06T18:56:12.537Z] 118 | static void edgex_bus_mqtt_onconnectfail (void *context, MQTTAsync_failureData *response) [2024-12-06T18:56:12.537Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-12-06T18:56:12.537Z] /tmp/sdk/src/c/bus-mqtt.c:131:12: error: invalid storage class for function 'edgex_bus_mqtt_msgarrvd' [2024-12-06T18:56:12.537Z] 131 | static int edgex_bus_mqtt_msgarrvd (void *context, char *topicName, int topicLen, MQTTAsync_message *message) [2024-12-06T18:56:12.537Z] | ^~~~~~~~~~~~~~~~~~~~~~~ [2024-12-06T18:56:12.537Z] /tmp/sdk/src/c/bus-mqtt.c:318:1: error: expected declaration or statement at end of input [2024-12-06T18:56:12.537Z] 318 | } [2024-12-06T18:56:12.537Z] | ^ [2024-12-06T18:56:12.537Z] /tmp/sdk/src/c/bus-mqtt.c: At top level: [2024-12-06T18:56:12.537Z] /tmp/sdk/src/c/bus-mqtt.c:161:14: warning: 'edgex_bus_create_mqtt' defined but not used [-Wunused-function] [2024-12-06T18:56:12.537Z] 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-06T18:56:12.537Z] | ^~~~~~~~~~~~~~~~~~~~~ [2024-12-06T18:56:12.537Z] make[2]: *** [c/CMakeFiles/csdk.dir/build.make:90: c/CMakeFiles/csdk.dir/bus-mqtt.c.o] Error 1 [2024-12-06T18:56:12.537Z] make[1]: *** [CMakeFiles/Makefile2:240: c/CMakeFiles/csdk.dir/all] Error 2 [2024-12-06T18:56:12.537Z] make: *** [Makefile:156: all] Error 2 [2024-12-06T18:56:12.537Z] make: Leaving directory '/tmp/sdk/build/release' [2024-12-06T18:56:12.798Z] 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-06T18:56:13.371Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-12-06T18:56:13.372Z] [2024-12-06T18:56:13.372Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-12-06T18:56:13.672Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-12-06T18:56:13.672Z] latest: Pulling from edgex-lftools-log-publisher [2024-12-06T18:56:13.672Z] 5eb5b503b376: Pulling fs layer [2024-12-06T18:56:13.672Z] 5c69ac0246d0: Pulling fs layer [2024-12-06T18:56:13.672Z] ec43610c2a17: Pulling fs layer [2024-12-06T18:56:13.672Z] 3a2ae6a8a46f: Pulling fs layer [2024-12-06T18:56:13.672Z] 33b1e0a273af: Pulling fs layer [2024-12-06T18:56:13.672Z] 5d3b04190fa2: Pulling fs layer [2024-12-06T18:56:13.672Z] 2f39f015ded8: Pulling fs layer [2024-12-06T18:56:13.672Z] 33b1e0a273af: Waiting [2024-12-06T18:56:13.672Z] 5d3b04190fa2: Waiting [2024-12-06T18:56:13.672Z] 3a2ae6a8a46f: Waiting [2024-12-06T18:56:13.672Z] 5c69ac0246d0: Download complete [2024-12-06T18:56:13.672Z] 3a2ae6a8a46f: Verifying Checksum [2024-12-06T18:56:13.672Z] 3a2ae6a8a46f: Download complete [2024-12-06T18:56:13.672Z] 33b1e0a273af: Verifying Checksum [2024-12-06T18:56:13.672Z] 33b1e0a273af: Download complete [2024-12-06T18:56:13.932Z] 5d3b04190fa2: Download complete [2024-12-06T18:56:13.932Z] ec43610c2a17: Verifying Checksum [2024-12-06T18:56:13.932Z] ec43610c2a17: Download complete [2024-12-06T18:56:13.932Z] 5eb5b503b376: Verifying Checksum [2024-12-06T18:56:13.932Z] 5eb5b503b376: Download complete [2024-12-06T18:56:14.499Z] 2f39f015ded8: Download complete [2024-12-06T18:56:15.067Z] 5eb5b503b376: Pull complete [2024-12-06T18:56:15.325Z] 5c69ac0246d0: Pull complete [2024-12-06T18:56:15.583Z] ec43610c2a17: Pull complete [2024-12-06T18:56:15.843Z] 3a2ae6a8a46f: Pull complete [2024-12-06T18:56:15.843Z] 33b1e0a273af: Pull complete [2024-12-06T18:56:16.100Z] 5d3b04190fa2: Pull complete [2024-12-06T18:56:20.288Z] 2f39f015ded8: Pull complete [2024-12-06T18:56:20.288Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-12-06T18:56:20.288Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-12-06T18:56:20.288Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-12-06T18:56:20.401Z] prd-ubuntu20.04-docker-8c-8g-34636 does not seem to be running inside a container [2024-12-06T18:56:20.427Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-12-06T18:56:25.407Z] $ docker top c269132397ded782979461b741e996545d7eb6a9ddc7b56a456e16fa41d49d6b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-12-06T18:56:25.815Z] ---> job-cost.sh [2024-12-06T18:56:25.815Z] lf-activate-venv: SKIPPING [2024-12-06T18:56:25.815Z] INFO: No Stack... [2024-12-06T18:56:26.074Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-12-06T18:56:26.645Z] INFO: Archiving Costs [Pipeline] sh [2024-12-06T18:56:26.940Z] + cat /w/workspace/edgexfoundry_device-sdk-c_PR-517/archives/cost.csv [2024-12-06T18:56:26.940Z] + cut -d, -f6 [Pipeline] lock [2024-12-06T18:56:26.955Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-c-PR-517-10-stack-cost] [2024-12-06T18:56:26.963Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-517-10-stack-cost] did not exist. Created. [2024-12-06T18:56:26.969Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-c-PR-517-10-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-12-06T18:56:27.279Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-12-06T18:56:27.333Z] Stashed 1 file(s) [Pipeline] } [2024-12-06T18:56:27.348Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-c-PR-517-10-stack-cost] [Pipeline] // lock [Pipeline] } [2024-12-06T18:56:27.370Z] $ docker stop --time=1 c269132397ded782979461b741e996545d7eb6a9ddc7b56a456e16fa41d49d6b [2024-12-06T18:56:28.528Z] $ docker rm -f --volumes c269132397ded782979461b741e996545d7eb6a9ddc7b56a456e16fa41d49d6b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-12-06T18:56:28.678Z] 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-06T18:56:29.253Z] + [ -d /w/workspace/edgexfoundry_device-sdk-c_PR-517/archives ] [2024-12-06T18:56:29.253Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-517/archives [2024-12-06T18:56:29.253Z] total 16 [2024-12-06T18:56:29.253Z] drwxr-xr-x 3 root root 4096 Dec 6 18:56 . [2024-12-06T18:56:29.253Z] drwxrwxr-x 10 jenkins jenkins 4096 Dec 6 18:56 .. [2024-12-06T18:56:29.253Z] drwxr-xr-x 2 root root 4096 Dec 6 18:56 cost [2024-12-06T18:56:29.253Z] -rw-r--r-- 1 root root 85 Dec 6 18:56 cost.csv [2024-12-06T18:56:29.253Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_PR-517/archives [2024-12-06T18:56:29.253Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-517/archives [2024-12-06T18:56:29.253Z] total 16 [2024-12-06T18:56:29.253Z] drwxr-xr-x 3 jenkins jenkins 4096 Dec 6 18:56 . [2024-12-06T18:56:29.253Z] drwxrwxr-x 10 jenkins jenkins 4096 Dec 6 18:56 .. [2024-12-06T18:56:29.253Z] drwxr-xr-x 2 jenkins jenkins 4096 Dec 6 18:56 cost [2024-12-06T18:56:29.253Z] -rw-r--r-- 1 jenkins jenkins 85 Dec 6 18:56 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-12-06T18:56:29.552Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-12-06T18:56:30.414Z] ---> package-listing.sh [2024-12-06T18:56:30.414Z] ++ facter osfamily [2024-12-06T18:56:30.414Z] ++ tr '[:upper:]' '[:lower:]' [2024-12-06T18:56:30.675Z] + OS_FAMILY=debian [2024-12-06T18:56:30.675Z] + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-517 [2024-12-06T18:56:30.675Z] + START_PACKAGES=/tmp/packages_start.txt [2024-12-06T18:56:30.675Z] + END_PACKAGES=/tmp/packages_end.txt [2024-12-06T18:56:30.675Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-12-06T18:56:30.675Z] + PACKAGES=/tmp/packages_start.txt [2024-12-06T18:56:30.675Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-517 ']' [2024-12-06T18:56:30.675Z] + PACKAGES=/tmp/packages_end.txt [2024-12-06T18:56:30.675Z] + case "${OS_FAMILY}" in [2024-12-06T18:56:30.675Z] + dpkg -l [2024-12-06T18:56:30.675Z] + grep '^ii' [2024-12-06T18:56:30.675Z] + '[' -f /tmp/packages_start.txt ']' [2024-12-06T18:56:30.675Z] + '[' -f /tmp/packages_end.txt ']' [2024-12-06T18:56:30.675Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-12-06T18:56:30.675Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-517 ']' [2024-12-06T18:56:30.675Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-517/archives/ [2024-12-06T18:56:30.675Z] + 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-06T18:56:30.689Z] 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-06T18:56:30.970Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-12-06T18:56:31.536Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-12-06T18:56:31.537Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-12-06T18:56:31.619Z] prd-ubuntu20.04-docker-8c-8g-34636 does not seem to be running inside a container [2024-12-06T18:56:31.642Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-12-06T18:56:31.882Z] $ docker top a58e7c4b331ab9713174c6e58b8d5800c074cdec72a87dfe91b10e0b255bef72 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-12-06T18:56:32.263Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-12-06T18:56:32.549Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-12-06T18:56:32.832Z] + ls /var/log/sa-host [2024-12-06T18:56:32.832Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-12-06T18:56:32.992Z] provisioning config files... [2024-12-06T18:56:33.001Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-517@tmp/config950211912288940663tmp [Pipeline] { [Pipeline] echo [2024-12-06T18:56:33.021Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-12-06T18:56:33.307Z] ---> create-netrc.sh [Pipeline] } [2024-12-06T18:56:33.313Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-12-06T18:56:33.659Z] ---> python-tools-install.sh [Pipeline] echo [2024-12-06T18:56:33.671Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-12-06T18:56:33.955Z] ---> sudo-logs.sh [2024-12-06T18:56:33.955Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-12-06T18:56:33.984Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-12-06T18:56:34.271Z] ---> job-cost.sh [2024-12-06T18:56:34.271Z] lf-activate-venv: SKIPPING [2024-12-06T18:56:34.271Z] DEBUG: total: 0.2199999988079071 [2024-12-06T18:56:34.271Z] INFO: Retrieving Stack Cost... [2024-12-06T18:56:34.271Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-12-06T18:56:34.529Z] INFO: Archiving Costs [Pipeline] echo [2024-12-06T18:56:34.802Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-12-06T18:56:35.085Z] ---> logs-deploy.sh [2024-12-06T18:56:35.085Z] lf-activate-venv: SKIPPING [2024-12-06T18:56:35.085Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-517/10 [2024-12-06T18:56:35.085Z] INFO: archiving workspace using pattern(s): [2024-12-06T18:56:36.025Z] Archives upload complete. [2024-12-06T18:56:36.286Z] INFO: archiving logs to Nexus