Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 30a24dda2410b85b52167bc1398eb9d9a2b4959b 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-ssh4356235780721902734.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision f3350a1713306dce7682ed7e37d5774890d03277 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh2527594531210497746.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision f3350a1713306dce7682ed7e37d5774890d03277 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/main/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/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2081550672908286171.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision f3350a1713306dce7682ed7e37d5774890d03277 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f f3350a1713306dce7682ed7e37d5774890d03277 # timeout=10 Commit message: "Merge pull request #455 from cherrycl/issue-452-3" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 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-ssh13050630755045189475.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/main/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/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh16207987875570773510.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 ‘prd-ubuntu20.04-docker-8c-8g-10691’ is offline Running on prd-ubuntu20.04-docker-8c-8g-10693 in /w/workspace/edgexfoundry_device-sdk-c_main [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_main # 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 Avoid second fetch Checking out Revision 30a24dda2410b85b52167bc1398eb9d9a2b4959b (main) Commit message: "feat!: Publish System Events for device discovery and add discovery request ID (#513)" > 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 core.sparsecheckout # timeout=10 > git checkout -f 30a24dda2410b85b52167bc1398eb9d9a2b4959b # timeout=10 > git rev-list --no-walk b5fd43aa6b4e8069e65248caa2e7d6db03f961ef # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-09-19T14:26:16.343Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-09-19T14:26:16.445Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-09-19T14:26:16.470Z] ========================================================= [2024-09-19T14:26:16.470Z] EdgeX Global Pipelines Version Info [2024-09-19T14:26:16.470Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-09-19T14:26:17.240Z] ------------------- [2024-09-19T14:26:17.240Z] stable info: [2024-09-19T14:26:17.240Z] ------------------- [2024-09-19T14:26:17.240Z] Commited By: Cherry Wang cherry@iotechsys.com [2024-09-19T14:26:17.240Z] Commit SHA: f3350a1713306dce7682ed7e37d5774890d03277 [2024-09-19T14:26:17.240Z] Message: update stable to v1.0.263 [2024-09-19T14:26:17.812Z] ------------------- [2024-09-19T14:26:17.812Z] experimental info: [2024-09-19T14:26:17.812Z] ------------------- [2024-09-19T14:26:17.812Z] Commited By: Cherry Wang cherry@iotechsys.com [2024-09-19T14:26:17.812Z] Commit SHA: f3350a1713306dce7682ed7e37d5774890d03277 [2024-09-19T14:26:17.812Z] Message: update experimental to v1.0.263 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-09-19T14:26:17.887Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo [2024-09-19T14:26:17.910Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo [2024-09-19T14:26:17.932Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-09-19T14:26:17.953Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-09-19T14:26:17.975Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-09-19T14:26:18.018Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo [2024-09-19T14:26:18.053Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo [2024-09-19T14:26:18.080Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-09-19T14:26:18.099Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-09-19T14:26:18.123Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo [2024-09-19T14:26:18.149Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-09-19T14:26:18.171Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-09-19T14:26:18.190Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-09-19T14:26:18.210Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2024-09-19T14:26:18.232Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-09-19T14:26:18.266Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-09-19T14:26:18.285Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-09-19T14:26:18.306Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2024-09-19T14:26:18.330Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2024-09-19T14:26:18.354Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2024-09-19T14:26:18.375Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 30a24dda2410b85b52167bc1398eb9d9a2b4959b [Pipeline] echo [2024-09-19T14:26:18.392Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 30a24dd [Pipeline] echo [2024-09-19T14:26:18.414Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-09-19T14:26:18.491Z] provisioning config files... [2024-09-19T14:26:18.503Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config18222591495998185335tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-09-19T14:26:18.843Z] ---> ****-login.sh [2024-09-19T14:26:18.844Z] nexus3.edgexfoundry.org:10001 [2024-09-19T14:26:19.103Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-19T14:26:19.103Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-19T14:26:19.103Z] Configure a credential helper to remove this warning. See [2024-09-19T14:26:19.103Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-19T14:26:19.103Z] [2024-09-19T14:26:19.103Z] Login Succeeded [2024-09-19T14:26:19.103Z] nexus3.edgexfoundry.org:10002 [2024-09-19T14:26:19.103Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-19T14:26:19.374Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-19T14:26:19.374Z] Configure a credential helper to remove this warning. See [2024-09-19T14:26:19.374Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-19T14:26:19.374Z] [2024-09-19T14:26:19.374Z] Login Succeeded [2024-09-19T14:26:19.374Z] nexus3.edgexfoundry.org:10003 [2024-09-19T14:26:19.374Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-19T14:26:19.375Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-19T14:26:19.375Z] Configure a credential helper to remove this warning. See [2024-09-19T14:26:19.375Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-19T14:26:19.375Z] [2024-09-19T14:26:19.375Z] Login Succeeded [2024-09-19T14:26:19.375Z] nexus3.edgexfoundry.org:10004 [2024-09-19T14:26:19.375Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-19T14:26:19.634Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-19T14:26:19.634Z] Configure a credential helper to remove this warning. See [2024-09-19T14:26:19.634Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-19T14:26:19.634Z] [2024-09-19T14:26:19.634Z] Login Succeeded [2024-09-19T14:26:19.634Z] ****.io [2024-09-19T14:26:19.634Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-19T14:26:19.894Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-19T14:26:19.894Z] Configure a credential helper to remove this warning. See [2024-09-19T14:26:19.894Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-19T14:26:19.894Z] [2024-09-19T14:26:19.894Z] Login Succeeded [2024-09-19T14:26:19.894Z] ---> ****-login.sh ends [Pipeline] } [2024-09-19T14:26:19.900Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build LTS Release Image) [Pipeline] sh [2024-09-19T14:26:20.313Z] + git rev-list -1 --merges 30a24dda2410b85b52167bc1398eb9d9a2b4959b~1..30a24dda2410b85b52167bc1398eb9d9a2b4959b [Pipeline] echo [2024-09-19T14:26:20.341Z] -----------> git rev-list -1 --merges 30a24dda2410b85b52167bc1398eb9d9a2b4959b~1..30a24dda2410b85b52167bc1398eb9d9a2b4959b 30a24dda2410b85b52167bc1398eb9d9a2b4959b [false] [Pipeline] sh [2024-09-19T14:26:20.632Z] + git log --format=format:%s -1 30a24dda2410b85b52167bc1398eb9d9a2b4959b [Pipeline] echo [2024-09-19T14:26:20.645Z] ========================================================= [2024-09-19T14:26:20.645Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-09-19T14:26:20.645Z] ========================================================= Stage "Build LTS Release Image" skipped due to when conditional [Pipeline] getContext [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) Stage "amd64" skipped due to when conditional [Pipeline] getContext [Pipeline] } Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] // stage [Pipeline] } [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-09-19T14:26:21.102Z] + git rev-list -1 --merges 30a24dda2410b85b52167bc1398eb9d9a2b4959b~1..30a24dda2410b85b52167bc1398eb9d9a2b4959b [Pipeline] echo [2024-09-19T14:26:21.113Z] -----------> git rev-list -1 --merges 30a24dda2410b85b52167bc1398eb9d9a2b4959b~1..30a24dda2410b85b52167bc1398eb9d9a2b4959b 30a24dda2410b85b52167bc1398eb9d9a2b4959b [false] [Pipeline] sh [2024-09-19T14:26:21.404Z] + git log --format=format:%s -1 30a24dda2410b85b52167bc1398eb9d9a2b4959b [Pipeline] echo [2024-09-19T14:26:21.421Z] ========================================================= [2024-09-19T14:26:21.421Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-09-19T14:26:21.421Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh [2024-09-19T14:26:21.865Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-09-19T14:26:21.865Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-09-19T14:26:21.865Z] + [ -e /tmp/ssh_known_hosts ] [2024-09-19T14:26:21.865Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-09-19T14:26:21.865Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-09-19T14:26:21.865Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-09-19T14:26:21.865Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-19T14:26:22.282Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-09-19T14:26:22.282Z] [2024-09-19T14:26:22.282Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-19T14:26:22.618Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-09-19T14:26:22.618Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-09-19T14:26:22.618Z] b85a868b505f: Pulling fs layer [2024-09-19T14:26:22.618Z] e2be974225ed: Pulling fs layer [2024-09-19T14:26:22.618Z] 339a4e72a1f5: Pulling fs layer [2024-09-19T14:26:22.618Z] 988bab9f4d93: Pulling fs layer [2024-09-19T14:26:22.618Z] 1469e6f7b9e6: Pulling fs layer [2024-09-19T14:26:22.618Z] eaf3925da568: Pulling fs layer [2024-09-19T14:26:22.618Z] bab4dde63d76: Pulling fs layer [2024-09-19T14:26:22.618Z] bde34c3a00c8: Pulling fs layer [2024-09-19T14:26:22.618Z] b352a97aabf1: Pulling fs layer [2024-09-19T14:26:22.618Z] 4872d77fe225: Pulling fs layer [2024-09-19T14:26:22.618Z] 5851b861e8e6: Pulling fs layer [2024-09-19T14:26:22.618Z] 988bab9f4d93: Waiting [2024-09-19T14:26:22.618Z] 1469e6f7b9e6: Waiting [2024-09-19T14:26:22.618Z] eaf3925da568: Waiting [2024-09-19T14:26:22.618Z] 4872d77fe225: Waiting [2024-09-19T14:26:22.618Z] bde34c3a00c8: Waiting [2024-09-19T14:26:22.618Z] b352a97aabf1: Waiting [2024-09-19T14:26:22.618Z] 5851b861e8e6: Waiting [2024-09-19T14:26:22.618Z] bab4dde63d76: Waiting [2024-09-19T14:26:22.618Z] e2be974225ed: Verifying Checksum [2024-09-19T14:26:22.618Z] e2be974225ed: Download complete [2024-09-19T14:26:22.618Z] 988bab9f4d93: Verifying Checksum [2024-09-19T14:26:22.618Z] 988bab9f4d93: Download complete [2024-09-19T14:26:22.897Z] 1469e6f7b9e6: Verifying Checksum [2024-09-19T14:26:22.897Z] 1469e6f7b9e6: Download complete [2024-09-19T14:26:22.897Z] eaf3925da568: Download complete [2024-09-19T14:26:22.897Z] 339a4e72a1f5: Verifying Checksum [2024-09-19T14:26:22.897Z] 339a4e72a1f5: Download complete [2024-09-19T14:26:22.897Z] bde34c3a00c8: Verifying Checksum [2024-09-19T14:26:22.897Z] bde34c3a00c8: Download complete [2024-09-19T14:26:22.897Z] b352a97aabf1: Download complete [2024-09-19T14:26:22.897Z] 4872d77fe225: Download complete [2024-09-19T14:26:22.897Z] 5851b861e8e6: Verifying Checksum [2024-09-19T14:26:22.897Z] 5851b861e8e6: Download complete [2024-09-19T14:26:22.897Z] b85a868b505f: Verifying Checksum [2024-09-19T14:26:22.897Z] b85a868b505f: Download complete [2024-09-19T14:26:23.482Z] bab4dde63d76: Verifying Checksum [2024-09-19T14:26:23.482Z] bab4dde63d76: Download complete [2024-09-19T14:26:24.052Z] b85a868b505f: Pull complete [2024-09-19T14:26:24.052Z] e2be974225ed: Pull complete [2024-09-19T14:26:24.619Z] 339a4e72a1f5: Pull complete [2024-09-19T14:26:24.619Z] 988bab9f4d93: Pull complete [2024-09-19T14:26:24.880Z] 1469e6f7b9e6: Pull complete [2024-09-19T14:26:25.144Z] eaf3925da568: Pull complete [2024-09-19T14:26:26.681Z] bab4dde63d76: Pull complete [2024-09-19T14:26:26.681Z] bde34c3a00c8: Pull complete [2024-09-19T14:26:26.681Z] b352a97aabf1: Pull complete [2024-09-19T14:26:26.681Z] 4872d77fe225: Pull complete [2024-09-19T14:26:26.942Z] 5851b861e8e6: Pull complete [2024-09-19T14:26:26.942Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-09-19T14:26:26.942Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-09-19T14:26:26.942Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-09-19T14:26:27.088Z] prd-ubuntu20.04-docker-8c-8g-10693 does not seem to be running inside a container [2024-09-19T14:26:27.123Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-09-19T14:26:30.397Z] $ docker top 8939bf408466e6a1c001d418e948fc7f157eb30857becfc75e8340c770a0ded8 -eo pid,comm [2024-09-19T14:26:30.455Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2024-09-19T14:26:30.456Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-09-19T14:26:30.513Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-09-19T14:26:30.514Z] [ssh-agent] Looking for ssh-agent implementation... [2024-09-19T14:26:30.624Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-09-19T14:26:30.624Z] $ docker exec 8939bf408466e6a1c001d418e948fc7f157eb30857becfc75e8340c770a0ded8 ssh-agent [2024-09-19T14:26:30.736Z] SSH_AUTH_SOCK=/tmp/ssh-tv6k5VRdK3m5/agent.32 [2024-09-19T14:26:30.736Z] SSH_AGENT_PID=38 [2024-09-19T14:26:30.741Z] Running ssh-add (command line suppressed) [2024-09-19T14:26:30.845Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_11304329925430476504.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_11304329925430476504.key) [2024-09-19T14:26:30.859Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-09-19T14:26:31.152Z] + git tag --points-at HEAD [Pipeline] } [2024-09-19T14:26:31.160Z] $ docker exec --env ******** --env ******** 8939bf408466e6a1c001d418e948fc7f157eb30857becfc75e8340c770a0ded8 ssh-agent -k [2024-09-19T14:26:31.246Z] unset SSH_AUTH_SOCK; [2024-09-19T14:26:31.247Z] unset SSH_AGENT_PID; [2024-09-19T14:26:31.247Z] echo Agent pid 38 killed; [2024-09-19T14:26:31.258Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-09-19T14:26:31.296Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-09-19T14:26:31.296Z] [ssh-agent] Looking for ssh-agent implementation... [2024-09-19T14:26:31.413Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-09-19T14:26:31.413Z] $ docker exec 8939bf408466e6a1c001d418e948fc7f157eb30857becfc75e8340c770a0ded8 ssh-agent [2024-09-19T14:26:31.515Z] SSH_AUTH_SOCK=/tmp/ssh-Nt5vK48z6U3h/agent.72 [2024-09-19T14:26:31.515Z] SSH_AGENT_PID=78 [2024-09-19T14:26:31.520Z] Running ssh-add (command line suppressed) [2024-09-19T14:26:31.625Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_4161392272091032366.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_4161392272091032366.key) [2024-09-19T14:26:31.643Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-09-19T14:26:31.951Z] + git semver init [2024-09-19T14:26:32.211Z] 2024-09-19 14:26:32,113 [run_init] DEBUG init version:0.0.0 force:False [2024-09-19T14:26:32.211Z] 2024-09-19 14:26:32,114 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-c_main/.semver [2024-09-19T14:26:32.211Z] 2024-09-19 14:26:32,114 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-c.git /w/workspace/edgexfoundry_device-sdk-c_main/.semver [2024-09-19T14:26:32.211Z] 2024-09-19 14:26:32,115 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-c.git', '/w/workspace/edgexfoundry_device-sdk-c_main/.semver'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main, universal_newlines=False, shell=None, istream=None) [2024-09-19T14:26:33.150Z] 2024-09-19 14:26:32,893 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-c_main/.git/info/exclude [2024-09-19T14:26:33.150Z] 2024-09-19 14:26:32,893 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-c_main/.semver/main with force:False [2024-09-19T14:26:33.150Z] 2024-09-19 14:26:32,893 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2024-09-19T14:26:33.150Z] 2024-09-19 14:26:32,894 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2024-09-19T14:26:33.150Z] 3.0.3-dev.16 [Pipeline] } [2024-09-19T14:26:33.158Z] $ docker exec --env ******** --env ******** 8939bf408466e6a1c001d418e948fc7f157eb30857becfc75e8340c770a0ded8 ssh-agent -k [2024-09-19T14:26:33.248Z] unset SSH_AUTH_SOCK; [2024-09-19T14:26:33.250Z] unset SSH_AGENT_PID; [2024-09-19T14:26:33.251Z] echo Agent pid 78 killed; [2024-09-19T14:26:33.261Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-09-19T14:26:33.623Z] + git semver [Pipeline] } [2024-09-19T14:26:33.910Z] $ docker stop --time=1 8939bf408466e6a1c001d418e948fc7f157eb30857becfc75e8340c770a0ded8 [2024-09-19T14:26:35.205Z] $ docker rm -f --volumes 8939bf408466e6a1c001d418e948fc7f157eb30857becfc75e8340c770a0ded8 [Pipeline] // withDockerContainer [Pipeline] sh [2024-09-19T14:26:35.542Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-09-19T14:26:35.763Z] Stashed 1 file(s) [Pipeline] echo [2024-09-19T14:26:35.766Z] [edgeXSemver]: initialized semver on version 3.0.3-dev.16 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-09-19T14:26:35.910Z] provisioning config files... [2024-09-19T14:26:35.918Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config5908465603780109843tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-09-19T14:26:36.218Z] ---> ****-login.sh [2024-09-19T14:26:36.218Z] nexus3.edgexfoundry.org:10001 [2024-09-19T14:26:36.218Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-19T14:26:36.218Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-19T14:26:36.218Z] Configure a credential helper to remove this warning. See [2024-09-19T14:26:36.218Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-19T14:26:36.218Z] [2024-09-19T14:26:36.218Z] Login Succeeded [2024-09-19T14:26:36.218Z] nexus3.edgexfoundry.org:10002 [2024-09-19T14:26:36.218Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-19T14:26:36.218Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-19T14:26:36.218Z] Configure a credential helper to remove this warning. See [2024-09-19T14:26:36.219Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-19T14:26:36.219Z] [2024-09-19T14:26:36.219Z] Login Succeeded [2024-09-19T14:26:36.219Z] nexus3.edgexfoundry.org:10003 [2024-09-19T14:26:36.482Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-19T14:26:36.482Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-19T14:26:36.482Z] Configure a credential helper to remove this warning. See [2024-09-19T14:26:36.482Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-19T14:26:36.482Z] [2024-09-19T14:26:36.482Z] Login Succeeded [2024-09-19T14:26:36.482Z] nexus3.edgexfoundry.org:10004 [2024-09-19T14:26:36.482Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-19T14:26:36.482Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-19T14:26:36.482Z] Configure a credential helper to remove this warning. See [2024-09-19T14:26:36.482Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-19T14:26:36.482Z] [2024-09-19T14:26:36.482Z] Login Succeeded [2024-09-19T14:26:36.482Z] ****.io [2024-09-19T14:26:36.741Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-19T14:26:36.741Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-19T14:26:36.741Z] Configure a credential helper to remove this warning. See [2024-09-19T14:26:36.741Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-19T14:26:36.741Z] [2024-09-19T14:26:36.741Z] Login Succeeded [2024-09-19T14:26:36.741Z] ---> ****-login.sh ends [Pipeline] } [2024-09-19T14:26:36.748Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-09-19T14:26:36.835Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-09-19T14:26:36.851Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo [2024-09-19T14:26:36.867Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-09-19T14:26:36.886Z] ========================================================= [2024-09-19T14:26:36.886Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] [2024-09-19T14:26:36.886Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-19T14:26:37.209Z] + docker build -t ci-base-image-x86_64 -f scripts/Dockerfile.alpine-base --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest . [2024-09-19T14:26:37.209Z] Sending build context to Docker daemon 5.06MB [2024-09-19T14:26:37.209Z] Step 1/22 : ARG BASE=alpine:3.18 [2024-09-19T14:26:37.209Z] Step 2/22 : FROM ${BASE} as builder [2024-09-19T14:26:37.209Z] latest: Pulling from edgex-devops/edgex-gcc-base [2024-09-19T14:26:37.209Z] 96526aa774ef: Pulling fs layer [2024-09-19T14:26:37.209Z] da60e534fd72: Pulling fs layer [2024-09-19T14:26:37.469Z] 96526aa774ef: Verifying Checksum [2024-09-19T14:26:37.469Z] 96526aa774ef: Download complete [2024-09-19T14:26:37.469Z] 96526aa774ef: Pull complete [2024-09-19T14:26:38.405Z] da60e534fd72: Verifying Checksum [2024-09-19T14:26:38.405Z] da60e534fd72: Download complete [2024-09-19T14:26:40.955Z] da60e534fd72: Pull complete [2024-09-19T14:26:40.955Z] Digest: sha256:86f282524b252fca782185160d82ec4889448d07d1475dd6b76f2052073facff [2024-09-19T14:26:40.955Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [2024-09-19T14:26:40.955Z] ---> 6605166a5db4 [2024-09-19T14:26:40.955Z] Step 3/22 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2024-09-19T14:26:43.512Z] ---> Running in 1f4d884e68c4 [2024-09-19T14:26:43.771Z] Connecting to iotech.jfrog.io (34.246.139.145:443) [2024-09-19T14:26:44.338Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-09-19T14:26:44.338Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-09-19T14:26:44.338Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-09-19T14:26:44.597Z] Removing intermediate container 1f4d884e68c4 [2024-09-19T14:26:44.597Z] ---> 667923e336bd [2024-09-19T14:26:44.597Z] Step 4/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-09-19T14:26:44.597Z] ---> Running in 702bd9aed1a8 [2024-09-19T14:26:45.163Z] Removing intermediate container 702bd9aed1a8 [2024-09-19T14:26:45.163Z] ---> bd59be2c81fd [2024-09-19T14:26:45.163Z] Step 5/22 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml-dev curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev libcbor-dev iotech-paho-mqtt-c-dev-1.3 iotech-iot-1.5-dev hiredis-dev [2024-09-19T14:26:45.163Z] ---> Running in 4d3a03b1b918 [2024-09-19T14:26:45.422Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-09-19T14:26:45.422Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-09-19T14:26:45.422Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-09-19T14:26:45.989Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-09-19T14:26:45.989Z] (1/17) Installing hiredis (1.1.0-r2) [2024-09-19T14:26:45.989Z] (2/17) Installing hiredis-dev (1.1.0-r2) [2024-09-19T14:26:45.989Z] (3/17) Installing libcbor (0.10.2-r1) [2024-09-19T14:26:45.989Z] (4/17) Installing iotech-iot-1.5 (1.5.4-r2) [2024-09-19T14:26:46.922Z] (5/17) Installing iotech-iot-1.5-dev (1.5.4-r2) [2024-09-19T14:26:46.922Z] (6/17) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) [2024-09-19T14:26:46.922Z] (7/17) Installing libcbor-dev (0.10.2-r1) [2024-09-19T14:26:46.922Z] (8/17) Installing libmenuw (6.4_p20230506-r0) [2024-09-19T14:26:46.922Z] (9/17) Installing libpanelw (6.4_p20230506-r0) [2024-09-19T14:26:46.922Z] (10/17) Installing libncurses++ (6.4_p20230506-r0) [2024-09-19T14:26:46.922Z] (11/17) Installing ncurses-dev (6.4_p20230506-r0) [2024-09-19T14:26:46.922Z] (12/17) Installing libblkid (2.38.1-r8) [2024-09-19T14:26:46.922Z] (13/17) Installing libuuid (2.38.1-r8) [2024-09-19T14:26:46.922Z] (14/17) Installing libfdisk (2.38.1-r8) [2024-09-19T14:26:47.181Z] (15/17) Installing libmount (2.38.1-r8) [2024-09-19T14:26:47.181Z] (16/17) Installing libsmartcols (2.38.1-r8) [2024-09-19T14:26:47.181Z] (17/17) Installing util-linux-dev (2.38.1-r8) [2024-09-19T14:26:47.181Z] Executing busybox-1.36.1-r4.trigger [2024-09-19T14:26:47.181Z] OK: 336 MiB in 99 packages [2024-09-19T14:26:47.746Z] Removing intermediate container 4d3a03b1b918 [2024-09-19T14:26:47.746Z] ---> 34396040fb1e [2024-09-19T14:26:47.746Z] Step 6/22 : RUN mkdir /tmp/sdk [2024-09-19T14:26:47.746Z] ---> Running in 59f15550fcc5 [2024-09-19T14:26:48.313Z] Removing intermediate container 59f15550fcc5 [2024-09-19T14:26:48.313Z] ---> 223858dda281 [2024-09-19T14:26:48.313Z] Step 7/22 : COPY VERSION /tmp/sdk [2024-09-19T14:26:48.313Z] ---> 1426338ef4cc [2024-09-19T14:26:48.313Z] Step 8/22 : COPY src /tmp/sdk/src [2024-09-19T14:26:48.572Z] ---> 168eb257916a [2024-09-19T14:26:48.572Z] Step 9/22 : COPY include /tmp/sdk/include [2024-09-19T14:26:48.830Z] ---> f65a6e7879c1 [2024-09-19T14:26:48.830Z] Step 10/22 : COPY scripts /tmp/sdk/scripts [2024-09-19T14:26:48.830Z] ---> cfae2793c2e8 [2024-09-19T14:26:48.830Z] Step 11/22 : COPY LICENSE /tmp/sdk [2024-09-19T14:26:49.088Z] ---> 2a1098245379 [2024-09-19T14:26:49.088Z] Step 12/22 : COPY Attribution.txt /tmp/sdk [2024-09-19T14:26:49.088Z] ---> 1283f5517c78 [2024-09-19T14:26:49.088Z] Step 13/22 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2024-09-19T14:26:49.088Z] ---> Running in 0c6104e91019 [2024-09-19T14:26:49.347Z] + CPPCHECK=false [2024-09-19T14:26:49.347Z] + DOCGEN=false [2024-09-19T14:26:49.347Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2024-09-19T14:26:49.347Z] + '[' 0 -gt 0 ] [2024-09-19T14:26:49.347Z] + readlink -f ./scripts/build.sh [2024-09-19T14:26:49.347Z] + dirname /tmp/sdk/scripts/build.sh [2024-09-19T14:26:49.347Z] + dirname /tmp/sdk/scripts [2024-09-19T14:26:49.347Z] + ROOT=/tmp/sdk [2024-09-19T14:26:49.347Z] + cd /tmp/sdk [2024-09-19T14:26:49.347Z] + mkdir -p /tmp/sdk/build/release [2024-09-19T14:26:49.347Z] + cd /tmp/sdk/build/release [2024-09-19T14:26:49.347Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2024-09-19T14:26:49.607Z] -- The C compiler identification is GNU 12.2.1 [2024-09-19T14:26:49.607Z] -- Detecting C compiler ABI info [2024-09-19T14:26:49.607Z] -- Detecting C compiler ABI info - done [2024-09-19T14:26:49.607Z] -- Check for working C compiler: /usr/bin/cc - skipped [2024-09-19T14:26:49.607Z] -- Detecting C compile features [2024-09-19T14:26:49.607Z] -- Detecting C compile features - done [2024-09-19T14:26:49.607Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2024-09-19T14:26:49.607Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") [2024-09-19T14:26:49.607Z] -- Found LIBYAML: /usr/lib/libyaml.so [2024-09-19T14:26:49.607Z] -- Found LIBUUID: /usr/lib/libuuid.so [2024-09-19T14:26:49.607Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2024-09-19T14:26:49.607Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2024-09-19T14:26:49.607Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2024-09-19T14:26:49.607Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2024-09-19T14:26:49.607Z] -- /opt/iotech/iot/1.5/include [2024-09-19T14:26:49.607Z] -- C SDK 3.0.3-dev.16 for Linux [2024-09-19T14:26:49.607Z] -- Performing Test CSDK_HAVE_ATOMIC [2024-09-19T14:26:49.864Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2024-09-19T14:26:49.864Z] -- Found Curses: /usr/lib/libcurses.so [2024-09-19T14:26:49.864Z] -- Configuring done (0.4s) [2024-09-19T14:26:49.864Z] -- Generating done (0.0s) [2024-09-19T14:26:49.864Z] -- Build files have been written to: /tmp/sdk/build/release [2024-09-19T14:26:49.864Z] + make all package [2024-09-19T14:26:49.864Z] + tee release.log [2024-09-19T14:26:49.864Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2024-09-19T14:26:50.122Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2024-09-19T14:26:50.122Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2024-09-19T14:26:50.380Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2024-09-19T14:26:50.380Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2024-09-19T14:26:50.381Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2024-09-19T14:26:50.857Z] Still waiting to schedule task [2024-09-19T14:26:50.857Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-10692’ is offline [2024-09-19T14:26:50.963Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2024-09-19T14:26:50.963Z] /tmp/sdk/src/c/consul.c: In function 'edgex_consul_client_get_common_config': [2024-09-19T14:26:50.963Z] /tmp/sdk/src/c/consul.c:294:10: warning: 'privateConfig' may be used uninitialized [-Wmaybe-uninitialized] [2024-09-19T14:26:50.963Z] 294 | while (privateConfig) [2024-09-19T14:26:50.963Z] | ^~~~~~~~~~~~~ [2024-09-19T14:26:50.963Z] /tmp/sdk/src/c/consul.c:214:28: note: 'privateConfig' was declared here [2024-09-19T14:26:50.963Z] 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; [2024-09-19T14:26:50.963Z] | ^~~~~~~~~~~~~ [2024-09-19T14:26:50.963Z] /tmp/sdk/src/c/consul.c:271:10: warning: 'result' may be used uninitialized [-Wmaybe-uninitialized] [2024-09-19T14:26:50.963Z] 271 | while (result) [2024-09-19T14:26:50.963Z] | ^~~~~~ [2024-09-19T14:26:50.963Z] /tmp/sdk/src/c/consul.c:214:19: note: 'result' was declared here [2024-09-19T14:26:50.963Z] 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; [2024-09-19T14:26:50.963Z] | ^~~~~~ [2024-09-19T14:26:50.963Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2024-09-19T14:26:50.963Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2024-09-19T14:26:51.222Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2024-09-19T14:26:51.481Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2024-09-19T14:26:51.481Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2024-09-19T14:26:51.740Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2024-09-19T14:26:51.740Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2024-09-19T14:26:52.001Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2024-09-19T14:26:52.001Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2024-09-19T14:26:52.001Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2024-09-19T14:26:52.570Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2024-09-19T14:26:52.570Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2024-09-19T14:26:52.570Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2024-09-19T14:26:52.828Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2024-09-19T14:26:53.769Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2024-09-19T14:26:53.769Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2024-09-19T14:26:54.029Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2024-09-19T14:26:54.029Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2024-09-19T14:26:54.029Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2024-09-19T14:26:54.288Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2024-09-19T14:26:54.546Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2024-09-19T14:26:54.546Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2024-09-19T14:26:54.806Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2024-09-19T14:26:54.806Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2024-09-19T14:26:54.806Z] /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2024-09-19T14:26:54.806Z] /tmp/sdk/src/c/service.c:914:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-09-19T14:26:54.806Z] 914 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); [2024-09-19T14:26:54.806Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-09-19T14:26:54.806Z] /tmp/sdk/src/c/service.c:915:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-09-19T14:26:54.806Z] 915 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); [2024-09-19T14:26:54.806Z] | ^ [2024-09-19T14:26:55.065Z] /tmp/sdk/src/c/service.c:1069:5: warning: 'deviceservices_config' may be used uninitialized [-Wmaybe-uninitialized] [2024-09-19T14:26:55.065Z] 1069 | edgex_device_parseClients (svc->logger, iot_data_string_map_get (deviceservices_config, "Clients"), &svc->config.endpoints); [2024-09-19T14:26:55.065Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-09-19T14:26:55.065Z] /tmp/sdk/src/c/service.c:881:68: note: 'deviceservices_config' was declared here [2024-09-19T14:26:55.065Z] 881 | iot_data_t *common_config_map, *private_config_map, *configmap, *deviceservices_config; [2024-09-19T14:26:55.065Z] | ^~~~~~~~~~~~~~~~~~~~~ [2024-09-19T14:26:55.324Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2024-09-19T14:26:55.324Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2024-09-19T14:26:55.582Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2024-09-19T14:26:55.582Z] [ 68%] Linking C shared library libcsdk.so [2024-09-19T14:26:55.582Z] [ 68%] Built target csdk [2024-09-19T14:26:55.582Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2024-09-19T14:26:55.841Z] [ 72%] Linking C executable template [2024-09-19T14:26:55.841Z] [ 72%] Built target template [2024-09-19T14:26:55.841Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2024-09-19T14:26:55.841Z] [ 76%] Linking C executable device-counter [2024-09-19T14:26:56.100Z] [ 76%] Built target device-counter [2024-09-19T14:26:56.100Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2024-09-19T14:26:56.100Z] [ 80%] Linking C executable device-random [2024-09-19T14:26:56.100Z] [ 80%] Built target device-random [2024-09-19T14:26:56.100Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2024-09-19T14:26:56.359Z] [ 84%] Linking C executable device-gyro [2024-09-19T14:26:56.359Z] [ 84%] Built target device-gyro [2024-09-19T14:26:56.359Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2024-09-19T14:26:56.359Z] [ 88%] Linking C executable device-bitfields [2024-09-19T14:26:56.618Z] [ 88%] Built target device-bitfields [2024-09-19T14:26:56.618Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2024-09-19T14:26:56.618Z] [ 92%] Linking C executable template-discovery [2024-09-19T14:26:56.618Z] [ 92%] Built target template-discovery [2024-09-19T14:26:56.618Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2024-09-19T14:26:56.877Z] [ 96%] Linking C executable device-file [2024-09-19T14:26:56.877Z] [ 96%] Built target device-file [2024-09-19T14:26:56.877Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2024-09-19T14:26:57.136Z] [100%] Linking C executable device-terminal [2024-09-19T14:26:57.136Z] [100%] Built target device-terminal [2024-09-19T14:26:57.136Z] Run CPack packaging tool... [2024-09-19T14:26:57.136Z] CPack: Create package using TGZ [2024-09-19T14:26:57.136Z] CPack: Install projects [2024-09-19T14:26:57.136Z] CPack: - Run preinstall target for: Csdk [2024-09-19T14:26:57.395Z] CPack: - Install project: Csdk [] [2024-09-19T14:26:57.395Z] CPack: Create package [2024-09-19T14:26:57.395Z] CPack: - package: /tmp/sdk/build/release/csdk-3.0.3-dev.16.tar.gz generated. [2024-09-19T14:26:57.395Z] + '[' false '=' true ] [2024-09-19T14:26:57.395Z] + '[' false '=' true ] [2024-09-19T14:26:57.395Z] + mkdir -p /tmp/sdk/build/debug [2024-09-19T14:26:57.395Z] + cd /tmp/sdk/build/debug [2024-09-19T14:26:57.395Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2024-09-19T14:26:57.395Z] -- The C compiler identification is GNU 12.2.1 [2024-09-19T14:26:57.395Z] -- Detecting C compiler ABI info [2024-09-19T14:26:57.668Z] -- Detecting C compiler ABI info - done [2024-09-19T14:26:57.668Z] -- Check for working C compiler: /usr/bin/cc - skipped [2024-09-19T14:26:57.668Z] -- Detecting C compile features [2024-09-19T14:26:57.668Z] -- Detecting C compile features - done [2024-09-19T14:26:57.668Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2024-09-19T14:26:57.668Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") [2024-09-19T14:26:57.668Z] -- Found LIBYAML: /usr/lib/libyaml.so [2024-09-19T14:26:57.668Z] -- Found LIBUUID: /usr/lib/libuuid.so [2024-09-19T14:26:57.668Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2024-09-19T14:26:57.668Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2024-09-19T14:26:57.668Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2024-09-19T14:26:57.668Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2024-09-19T14:26:57.668Z] -- /opt/iotech/iot/1.5/include [2024-09-19T14:26:57.668Z] -- C SDK 3.0.3-dev.16 for Linux [2024-09-19T14:26:57.668Z] -- Performing Test CSDK_HAVE_ATOMIC [2024-09-19T14:26:57.668Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2024-09-19T14:26:57.929Z] -- Found Curses: /usr/lib/libcurses.so [2024-09-19T14:26:57.929Z] -- Configuring done (0.4s) [2024-09-19T14:26:57.929Z] -- Generating done (0.0s) [2024-09-19T14:26:57.929Z] -- Build files have been written to: /tmp/sdk/build/debug [2024-09-19T14:26:57.929Z] + + teemake debug.log [2024-09-19T14:26:57.929Z] [2024-09-19T14:26:57.929Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2024-09-19T14:26:57.929Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2024-09-19T14:26:57.929Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2024-09-19T14:26:58.188Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2024-09-19T14:26:58.188Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2024-09-19T14:26:58.188Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2024-09-19T14:26:58.447Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2024-09-19T14:26:58.447Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2024-09-19T14:26:58.447Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2024-09-19T14:26:58.447Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2024-09-19T14:26:58.706Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2024-09-19T14:26:58.706Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2024-09-19T14:26:58.706Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2024-09-19T14:26:58.967Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2024-09-19T14:26:58.967Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2024-09-19T14:26:58.967Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2024-09-19T14:26:58.967Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2024-09-19T14:26:59.231Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2024-09-19T14:26:59.231Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2024-09-19T14:26:59.231Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2024-09-19T14:26:59.497Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2024-09-19T14:26:59.497Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2024-09-19T14:26:59.757Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2024-09-19T14:26:59.757Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2024-09-19T14:26:59.757Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2024-09-19T14:26:59.757Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2024-09-19T14:27:00.017Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2024-09-19T14:27:00.017Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2024-09-19T14:27:00.277Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2024-09-19T14:27:00.277Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2024-09-19T14:27:00.277Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2024-09-19T14:27:00.277Z] /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2024-09-19T14:27:00.277Z] /tmp/sdk/src/c/service.c:914:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-09-19T14:27:00.277Z] 914 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); [2024-09-19T14:27:00.277Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-09-19T14:27:00.277Z] /tmp/sdk/src/c/service.c:915:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-09-19T14:27:00.277Z] 915 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); [2024-09-19T14:27:00.277Z] | ^ [2024-09-19T14:27:00.536Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2024-09-19T14:27:00.536Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2024-09-19T14:27:00.536Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2024-09-19T14:27:00.536Z] [ 68%] Linking C shared library libcsdk.so [2024-09-19T14:27:00.795Z] [ 68%] Built target csdk [2024-09-19T14:27:00.795Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2024-09-19T14:27:00.795Z] [ 72%] Linking C executable template [2024-09-19T14:27:00.795Z] [ 72%] Built target template [2024-09-19T14:27:00.795Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2024-09-19T14:27:00.795Z] [ 76%] Linking C executable device-counter [2024-09-19T14:27:01.053Z] [ 76%] Built target device-counter [2024-09-19T14:27:01.053Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2024-09-19T14:27:01.053Z] [ 80%] Linking C executable device-random [2024-09-19T14:27:01.053Z] [ 80%] Built target device-random [2024-09-19T14:27:01.053Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2024-09-19T14:27:01.312Z] [ 84%] Linking C executable device-gyro [2024-09-19T14:27:01.312Z] [ 84%] Built target device-gyro [2024-09-19T14:27:01.312Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2024-09-19T14:27:01.312Z] [ 88%] Linking C executable device-bitfields [2024-09-19T14:27:01.312Z] [ 88%] Built target device-bitfields [2024-09-19T14:27:01.312Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2024-09-19T14:27:01.571Z] [ 92%] Linking C executable template-discovery [2024-09-19T14:27:01.571Z] [ 92%] Built target template-discovery [2024-09-19T14:27:01.571Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2024-09-19T14:27:01.571Z] [ 96%] Linking C executable device-file [2024-09-19T14:27:01.831Z] [ 96%] Built target device-file [2024-09-19T14:27:01.831Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2024-09-19T14:27:01.831Z] [100%] Linking C executable device-terminal [2024-09-19T14:27:01.831Z] [100%] Built target device-terminal [2024-09-19T14:27:01.831Z] make: Entering directory '/tmp/sdk/build/release' [2024-09-19T14:27:01.831Z] [ 68%] Built target csdk [2024-09-19T14:27:01.831Z] [ 72%] Built target template [2024-09-19T14:27:01.831Z] [ 76%] Built target device-counter [2024-09-19T14:27:02.112Z] [ 80%] Built target device-random [2024-09-19T14:27:02.112Z] [ 84%] Built target device-gyro [2024-09-19T14:27:02.112Z] [ 88%] Built target device-bitfields [2024-09-19T14:27:02.112Z] [ 92%] Built target template-discovery [2024-09-19T14:27:02.112Z] [ 96%] Built target device-file [2024-09-19T14:27:02.112Z] [100%] Built target device-terminal [2024-09-19T14:27:02.112Z] Install the project... [2024-09-19T14:27:02.112Z] -- Install configuration: "Release" [2024-09-19T14:27:02.112Z] -- Installing: /usr/local/lib/libcsdk.so [2024-09-19T14:27:02.112Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2024-09-19T14:27:02.112Z] -- Installing: /usr/local/include [2024-09-19T14:27:02.112Z] -- Installing: /usr/local/include/devsdk [2024-09-19T14:27:02.112Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2024-09-19T14:27:02.112Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2024-09-19T14:27:02.112Z] -- Installing: /usr/local/include/edgex [2024-09-19T14:27:02.112Z] -- Installing: /usr/local/include/edgex/edgex.h [2024-09-19T14:27:02.112Z] -- Installing: /usr/local/include/edgex/devices.h [2024-09-19T14:27:02.112Z] -- Installing: /usr/local/include/edgex/profiles.h [2024-09-19T14:27:02.112Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2024-09-19T14:27:02.112Z] -- Installing: /usr/local/include/edgex/rest-server.h [2024-09-19T14:27:02.112Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2024-09-19T14:27:02.112Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2024-09-19T14:27:02.112Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2024-09-19T14:27:02.113Z] make: Leaving directory '/tmp/sdk/build/release' [2024-09-19T14:27:02.683Z] Removing intermediate container 0c6104e91019 [2024-09-19T14:27:02.683Z] ---> 79060836cd06 [2024-09-19T14:27:02.683Z] Step 14/22 : FROM ${BASE} [2024-09-19T14:27:02.683Z] ---> 6605166a5db4 [2024-09-19T14:27:02.683Z] Step 15/22 : LABEL maintainer="IOTech " [2024-09-19T14:27:02.683Z] ---> Running in 7fd6e94406bb [2024-09-19T14:27:02.944Z] Removing intermediate container 7fd6e94406bb [2024-09-19T14:27:02.944Z] ---> 82b80297b06d [2024-09-19T14:27:02.944Z] Step 16/22 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2024-09-19T14:27:02.944Z] ---> Running in 26e28097dd6c [2024-09-19T14:27:03.205Z] Connecting to iotech.jfrog.io (34.247.22.236:443) [2024-09-19T14:27:03.466Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-09-19T14:27:03.466Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-09-19T14:27:03.466Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-09-19T14:27:03.727Z] Removing intermediate container 26e28097dd6c [2024-09-19T14:27:03.728Z] ---> 635c037b5948 [2024-09-19T14:27:03.728Z] Step 17/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-09-19T14:27:03.728Z] ---> Running in b573d4d17dec [2024-09-19T14:27:04.298Z] Removing intermediate container b573d4d17dec [2024-09-19T14:27:04.298Z] ---> e3761c1901dd [2024-09-19T14:27:04.298Z] Step 18/22 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml curl libmicrohttpd libuuid libcbor iotech-paho-mqtt-c-dev-1.3 iotech-iot-1.5 hiredis-dev dumb-init [2024-09-19T14:27:04.298Z] ---> Running in 58412a8d875a [2024-09-19T14:27:04.601Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-09-19T14:27:04.866Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-09-19T14:27:05.128Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-09-19T14:27:05.392Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-09-19T14:27:05.653Z] (1/10) Upgrading libcurl (8.4.0-r0 -> 8.9.1-r0) [2024-09-19T14:27:05.653Z] (2/10) Installing curl (8.9.1-r0) [2024-09-19T14:27:05.653Z] (3/10) Upgrading curl-dev (8.4.0-r0 -> 8.9.1-r0) [2024-09-19T14:27:05.653Z] (4/10) Installing dumb-init (1.2.5-r2) [2024-09-19T14:27:05.653Z] (5/10) Installing hiredis (1.1.0-r2) [2024-09-19T14:27:05.653Z] (6/10) Installing hiredis-dev (1.1.0-r2) [2024-09-19T14:27:05.653Z] (7/10) Installing libcbor (0.10.2-r1) [2024-09-19T14:27:05.653Z] (8/10) Installing iotech-iot-1.5 (1.5.4-r2) [2024-09-19T14:27:06.238Z] (9/10) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) [2024-09-19T14:27:06.500Z] (10/10) Installing libuuid (2.38.1-r8) [2024-09-19T14:27:06.500Z] Executing busybox-1.36.1-r4.trigger [2024-09-19T14:27:06.500Z] OK: 331 MiB in 90 packages [2024-09-19T14:27:07.074Z] Removing intermediate container 58412a8d875a [2024-09-19T14:27:07.074Z] ---> a21102e52498 [2024-09-19T14:27:07.074Z] Step 19/22 : RUN apk --no-cache upgrade [2024-09-19T14:27:07.074Z] ---> Running in 10919ee5fc66 [2024-09-19T14:27:07.336Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-09-19T14:27:07.336Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-09-19T14:27:07.336Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-09-19T14:27:07.910Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-09-19T14:27:07.910Z] Upgrading critical system libraries and apk-tools: [2024-09-19T14:27:07.910Z] (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) [2024-09-19T14:27:07.910Z] Executing busybox-1.36.1-r4.trigger [2024-09-19T14:27:07.910Z] Continuing the upgrade transaction with new apk-tools: [2024-09-19T14:27:07.910Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-09-19T14:27:07.910Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-09-19T14:27:08.170Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-09-19T14:27:08.750Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-09-19T14:27:08.751Z] (1/14) Upgrading busybox (1.36.1-r4 -> 1.36.1-r7) [2024-09-19T14:27:08.751Z] Executing busybox-1.36.1-r7.post-upgrade [2024-09-19T14:27:08.751Z] (2/14) Upgrading busybox-binsh (1.36.1-r4 -> 1.36.1-r7) [2024-09-19T14:27:08.751Z] (3/14) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) [2024-09-19T14:27:08.751Z] (4/14) Upgrading libcrypto3 (3.1.4-r0 -> 3.1.7-r0) [2024-09-19T14:27:08.751Z] (5/14) Upgrading libssl3 (3.1.4-r0 -> 3.1.7-r0) [2024-09-19T14:27:08.751Z] (6/14) Upgrading ssl_client (1.36.1-r4 -> 1.36.1-r7) [2024-09-19T14:27:08.751Z] (7/14) Upgrading libexpat (2.5.0-r1 -> 2.6.3-r0) [2024-09-19T14:27:08.751Z] (8/14) Upgrading libarchive (3.7.2-r0 -> 3.7.5-r0) [2024-09-19T14:27:08.751Z] (9/14) Upgrading ca-certificates (20230506-r0 -> 20240226-r0) [2024-09-19T14:27:08.751Z] (10/14) Upgrading openssl-dev (3.1.4-r0 -> 3.1.7-r0) [2024-09-19T14:27:08.751Z] (11/14) Upgrading git (2.40.1-r0 -> 2.40.3-r0) [2024-09-19T14:27:08.751Z] (12/14) Upgrading gnutls (3.8.0-r2 -> 3.8.4-r0) [2024-09-19T14:27:08.751Z] (13/14) Upgrading gnutls-c++ (3.8.0-r2 -> 3.8.4-r0) [2024-09-19T14:27:08.751Z] (14/14) Upgrading gnutls-dev (3.8.0-r2 -> 3.8.4-r0) [2024-09-19T14:27:08.751Z] Executing busybox-1.36.1-r7.trigger [2024-09-19T14:27:08.751Z] Executing ca-certificates-20240226-r0.trigger [2024-09-19T14:27:08.751Z] OK: 331 MiB in 90 packages [2024-09-19T14:27:09.698Z] Removing intermediate container 10919ee5fc66 [2024-09-19T14:27:09.698Z] ---> 56676f5dbb1b [2024-09-19T14:27:09.698Z] Step 20/22 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2024-09-19T14:27:09.958Z] ---> 1a762eaa5cc3 [2024-09-19T14:27:09.958Z] Step 21/22 : COPY --from=builder /usr/local/lib /usr/local/lib [2024-09-19T14:27:09.958Z] ---> de38d5a4b0b7 [2024-09-19T14:27:09.958Z] Step 22/22 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2024-09-19T14:27:10.219Z] ---> 74d35de2a748 [2024-09-19T14:27:10.219Z] Successfully built 74d35de2a748 [2024-09-19T14:27:10.219Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-19T14:27:10.656Z] + docker inspect -f . ci-base-image-x86_64 [2024-09-19T14:27:10.656Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-09-19T14:27:10.743Z] prd-ubuntu20.04-docker-8c-8g-10693 does not seem to be running inside a container [2024-09-19T14:27:10.775Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@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 ******** ci-base-image-x86_64 cat [2024-09-19T14:27:11.087Z] $ docker top 072ccb513abc7323632c47decb64bdbaa9e020f9a30c97f937636a1b01ba6008 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-09-19T14:27:11.449Z] + make test [2024-09-19T14:27:11.449Z] echo "make test" [2024-09-19T14:27:11.449Z] make test [Pipeline] } [2024-09-19T14:27:11.457Z] $ docker stop --time=1 072ccb513abc7323632c47decb64bdbaa9e020f9a30c97f937636a1b01ba6008 [2024-09-19T14:27:12.755Z] $ docker rm -f --volumes 072ccb513abc7323632c47decb64bdbaa9e020f9a30c97f937636a1b01ba6008 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-09-19T14:27:13.472Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-09-19T14:27:13.760Z] + ls -al . [2024-09-19T14:27:13.760Z] total 212 [2024-09-19T14:27:13.760Z] drwxrwxr-x 9 jenkins jenkins 4096 Sep 19 14:26 . [2024-09-19T14:27:13.760Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 19 14:26 .. [2024-09-19T14:27:13.760Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 19 14:26 .git [2024-09-19T14:27:13.760Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 19 14:26 .github [2024-09-19T14:27:13.760Z] -rw-rw-r-- 1 jenkins jenkins 176 Sep 19 14:26 .gitignore [2024-09-19T14:27:13.760Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 19 14:26 .semver [2024-09-19T14:27:13.760Z] -rw-rw-r-- 1 jenkins jenkins 2908 Sep 19 14:26 Attribution.txt [2024-09-19T14:27:13.760Z] -rw-rw-r-- 1 jenkins jenkins 11953 Sep 19 14:26 CHANGELOG.md [2024-09-19T14:27:13.760Z] -rw-rw-r-- 1 jenkins jenkins 108574 Sep 19 14:26 Doxyfile [2024-09-19T14:27:13.760Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 19 14:26 GOVERNANCE.md [2024-09-19T14:27:13.760Z] -rw-rw-r-- 1 jenkins jenkins 784 Sep 19 14:26 Jenkinsfile [2024-09-19T14:27:13.760Z] -rw-rw-r-- 1 jenkins jenkins 10174 Sep 19 14:26 LICENSE [2024-09-19T14:27:13.760Z] -rw-rw-r-- 1 jenkins jenkins 444 Sep 19 14:26 Makefile [2024-09-19T14:27:13.760Z] -rw-rw-r-- 1 jenkins jenkins 618 Sep 19 14:26 OWNERS.md [2024-09-19T14:27:13.760Z] -rw-rw-r-- 1 jenkins jenkins 1651 Sep 19 14:26 README.IOT.md [2024-09-19T14:27:13.760Z] -rw-rw-r-- 1 jenkins jenkins 4215 Sep 19 14:26 README.md [2024-09-19T14:27:13.760Z] -rw-rw-r-- 1 jenkins jenkins 1245 Sep 19 14:26 README.v3.md [2024-09-19T14:27:13.760Z] -rw-rw-r-- 1 jenkins jenkins 12 Sep 19 14:26 VERSION [2024-09-19T14:27:13.760Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 19 14:26 docs [2024-09-19T14:27:13.760Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 19 14:26 include [2024-09-19T14:27:13.760Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 19 14:26 scripts [2024-09-19T14:27:13.760Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 19 14:26 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-19T14:27:14.084Z] + docker build -t device-sdk -f scripts/Dockerfile.alpine --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=30a24dda2410b85b52167bc1398eb9d9a2b4959b --label arch=amd64 --label version=3.0.3-dev.16 . [2024-09-19T14:27:14.084Z] Sending build context to Docker daemon 5.06MB [2024-09-19T14:27:14.084Z] Step 1/18 : ARG BASE=alpine:3.18 [2024-09-19T14:27:14.084Z] Step 2/18 : FROM ${BASE} [2024-09-19T14:27:14.084Z] ---> 74d35de2a748 [2024-09-19T14:27:14.084Z] Step 3/18 : LABEL maintainer="IOTech " [2024-09-19T14:27:14.084Z] ---> Running in 44150cb1cfff [2024-09-19T14:27:14.084Z] Removing intermediate container 44150cb1cfff [2024-09-19T14:27:14.084Z] ---> 5341fb2542e4 [2024-09-19T14:27:14.084Z] Step 4/18 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2024-09-19T14:27:14.084Z] ---> Running in dbaafe24950f [2024-09-19T14:27:14.345Z] Connecting to iotech.jfrog.io (34.246.139.145:443) [2024-09-19T14:27:14.915Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-09-19T14:27:14.915Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-09-19T14:27:14.915Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-09-19T14:27:15.175Z] Removing intermediate container dbaafe24950f [2024-09-19T14:27:15.175Z] ---> 8a4ca5de3d8f [2024-09-19T14:27:15.175Z] Step 5/18 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-09-19T14:27:15.175Z] ---> Running in d13cb22ed87d [2024-09-19T14:27:15.744Z] Removing intermediate container d13cb22ed87d [2024-09-19T14:27:15.744Z] ---> 5032039ca87a [2024-09-19T14:27:15.744Z] Step 6/18 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml-dev curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev libcbor-dev iotech-paho-mqtt-c-dev-1.3 hiredis-dev iotech-iot-1.5-dev dumb-init && mkdir -p /edgex-c-sdk/build [2024-09-19T14:27:15.744Z] ---> Running in cd37a078dac6 [2024-09-19T14:27:16.003Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-09-19T14:27:16.003Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-09-19T14:27:16.261Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-09-19T14:27:16.830Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-09-19T14:27:16.830Z] (1/11) Installing iotech-iot-1.5-dev (1.5.4-r2) [2024-09-19T14:27:17.090Z] (2/11) Installing libcbor-dev (0.10.2-r1) [2024-09-19T14:27:17.090Z] (3/11) Installing libmenuw (6.4_p20230506-r0) [2024-09-19T14:27:17.090Z] (4/11) Installing libpanelw (6.4_p20230506-r0) [2024-09-19T14:27:17.090Z] (5/11) Installing libncurses++ (6.4_p20230506-r0) [2024-09-19T14:27:17.090Z] (6/11) Installing ncurses-dev (6.4_p20230506-r0) [2024-09-19T14:27:17.090Z] (7/11) Installing libblkid (2.38.1-r8) [2024-09-19T14:27:17.090Z] (8/11) Installing libfdisk (2.38.1-r8) [2024-09-19T14:27:17.090Z] (9/11) Installing libmount (2.38.1-r8) [2024-09-19T14:27:17.090Z] (10/11) Installing libsmartcols (2.38.1-r8) [2024-09-19T14:27:17.090Z] (11/11) Installing util-linux-dev (2.38.1-r8) [2024-09-19T14:27:17.090Z] Executing busybox-1.36.1-r7.trigger [2024-09-19T14:27:17.090Z] OK: 337 MiB in 101 packages [2024-09-19T14:27:17.702Z] Removing intermediate container cd37a078dac6 [2024-09-19T14:27:17.702Z] ---> 6a68f98a8705 [2024-09-19T14:27:17.702Z] Step 7/18 : RUN apk --no-cache upgrade [2024-09-19T14:27:17.702Z] ---> Running in cfbd9de8f2ba [2024-09-19T14:27:17.961Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-09-19T14:27:17.961Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-09-19T14:27:17.961Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-09-19T14:27:18.532Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-09-19T14:27:18.532Z] OK: 337 MiB in 101 packages [2024-09-19T14:27:19.105Z] Removing intermediate container cfbd9de8f2ba [2024-09-19T14:27:19.105Z] ---> c2bfe8859187 [2024-09-19T14:27:19.105Z] Step 8/18 : COPY VERSION /edgex-c-sdk/ [2024-09-19T14:27:19.105Z] ---> a801780e243d [2024-09-19T14:27:19.105Z] Step 9/18 : COPY src /edgex-c-sdk/src/ [2024-09-19T14:27:19.105Z] ---> f8d392f31a6d [2024-09-19T14:27:19.105Z] Step 10/18 : COPY include /edgex-c-sdk/include/ [2024-09-19T14:27:19.365Z] ---> a7e1930b5bbb [2024-09-19T14:27:19.365Z] Step 11/18 : COPY scripts /edgex-c-sdk/scripts [2024-09-19T14:27:19.365Z] ---> 3cb1e4975bec [2024-09-19T14:27:19.365Z] Step 12/18 : COPY LICENSE /edgex-c-sdk/ [2024-09-19T14:27:19.625Z] ---> f9b970f331d8 [2024-09-19T14:27:19.625Z] Step 13/18 : COPY Attribution.txt /edgex-c-sdk/ [2024-09-19T14:27:19.625Z] ---> 492dc9e7e826 [2024-09-19T14:27:19.625Z] Step 14/18 : WORKDIR /edgex-c-sdk [2024-09-19T14:27:19.625Z] ---> Running in b9d48af6e1ae [2024-09-19T14:27:19.883Z] Removing intermediate container b9d48af6e1ae [2024-09-19T14:27:19.883Z] ---> 8c12344ad8da [2024-09-19T14:27:19.883Z] Step 15/18 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2024-09-19T14:27:19.883Z] ---> Running in 824c8443fc96 [2024-09-19T14:27:19.883Z] Removing intermediate container 824c8443fc96 [2024-09-19T14:27:19.883Z] ---> 745960ecd2ea [2024-09-19T14:27:19.883Z] Step 16/18 : LABEL arch=amd64 [2024-09-19T14:27:19.883Z] ---> Running in 368332f88c55 [2024-09-19T14:27:19.883Z] Removing intermediate container 368332f88c55 [2024-09-19T14:27:19.883Z] ---> 1815dc0961ed [2024-09-19T14:27:19.883Z] Step 17/18 : LABEL git_sha=30a24dda2410b85b52167bc1398eb9d9a2b4959b [2024-09-19T14:27:19.883Z] ---> Running in 32c0ed159fd2 [2024-09-19T14:27:20.141Z] Removing intermediate container 32c0ed159fd2 [2024-09-19T14:27:20.141Z] ---> 04155bf5f68e [2024-09-19T14:27:20.141Z] Step 18/18 : LABEL version=3.0.3-dev.16 [2024-09-19T14:27:20.141Z] ---> Running in d5bc9aaea6e4 [2024-09-19T14:27:20.141Z] Removing intermediate container d5bc9aaea6e4 [2024-09-19T14:27:20.141Z] ---> c75493cc6877 [2024-09-19T14:27:20.141Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2024-09-19T14:27:20.141Z] Successfully built c75493cc6877 [2024-09-19T14:27:20.141Z] Successfully tagged device-sdk:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-19T14:27:20.635Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-09-19T14:27:20.635Z] [2024-09-19T14:27:20.635Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-19T14:27:20.934Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-09-19T14:27:20.934Z] latest: Pulling from edgex-lftools-log-publisher [2024-09-19T14:27:20.934Z] 5eb5b503b376: Pulling fs layer [2024-09-19T14:27:20.934Z] 5c69ac0246d0: Pulling fs layer [2024-09-19T14:27:20.934Z] ec43610c2a17: Pulling fs layer [2024-09-19T14:27:20.934Z] 3a2ae6a8a46f: Pulling fs layer [2024-09-19T14:27:20.934Z] 33b1e0a273af: Pulling fs layer [2024-09-19T14:27:20.934Z] 5d3b04190fa2: Pulling fs layer [2024-09-19T14:27:20.934Z] 2f39f015ded8: Pulling fs layer [2024-09-19T14:27:20.934Z] 33b1e0a273af: Waiting [2024-09-19T14:27:20.934Z] 3a2ae6a8a46f: Waiting [2024-09-19T14:27:20.934Z] 5d3b04190fa2: Waiting [2024-09-19T14:27:20.934Z] 2f39f015ded8: Waiting [2024-09-19T14:27:20.934Z] 5c69ac0246d0: Verifying Checksum [2024-09-19T14:27:20.934Z] 5c69ac0246d0: Download complete [2024-09-19T14:27:20.934Z] 3a2ae6a8a46f: Verifying Checksum [2024-09-19T14:27:20.934Z] 3a2ae6a8a46f: Download complete [2024-09-19T14:27:21.193Z] 33b1e0a273af: Verifying Checksum [2024-09-19T14:27:21.193Z] 33b1e0a273af: Download complete [2024-09-19T14:27:21.193Z] 5d3b04190fa2: Verifying Checksum [2024-09-19T14:27:21.193Z] 5d3b04190fa2: Download complete [2024-09-19T14:27:21.193Z] ec43610c2a17: Verifying Checksum [2024-09-19T14:27:21.193Z] ec43610c2a17: Download complete [2024-09-19T14:27:21.193Z] 5eb5b503b376: Verifying Checksum [2024-09-19T14:27:21.193Z] 5eb5b503b376: Download complete [2024-09-19T14:27:21.759Z] 2f39f015ded8: Download complete [2024-09-19T14:27:22.325Z] 5eb5b503b376: Pull complete [2024-09-19T14:27:22.583Z] 5c69ac0246d0: Pull complete [2024-09-19T14:27:22.843Z] ec43610c2a17: Pull complete [2024-09-19T14:27:23.102Z] 3a2ae6a8a46f: Pull complete [2024-09-19T14:27:23.102Z] 33b1e0a273af: Pull complete [2024-09-19T14:27:23.361Z] 5d3b04190fa2: Pull complete [2024-09-19T14:27:27.544Z] 2f39f015ded8: Pull complete [2024-09-19T14:27:27.544Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-09-19T14:27:27.544Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-09-19T14:27:27.544Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-09-19T14:27:27.650Z] prd-ubuntu20.04-docker-8c-8g-10693 does not seem to be running inside a container [2024-09-19T14:27:27.679Z] $ 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_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-09-19T14:27:32.157Z] $ docker top ef7901267c2f76be51e7c00b21cc3f5c7c0ac45f18de3358500050caf96af792 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-09-19T14:27:32.573Z] ---> job-cost.sh [2024-09-19T14:27:32.573Z] lf-activate-venv: SKIPPING [2024-09-19T14:27:32.573Z] INFO: No Stack... [2024-09-19T14:27:32.841Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-09-19T14:27:33.409Z] INFO: Archiving Costs [Pipeline] sh [2024-09-19T14:27:33.697Z] + cat /w/workspace/edgexfoundry_device-sdk-c_main/archives/cost.csv [2024-09-19T14:27:33.697Z] + cut -d, -f6 [Pipeline] lock [2024-09-19T14:27:33.713Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-c-main-76-stack-cost] [2024-09-19T14:27:33.727Z] Resource [jenkins-edgexfoundry-device-sdk-c-main-76-stack-cost] did not exist. Created. [2024-09-19T14:27:33.737Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-c-main-76-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-09-19T14:27:34.046Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-09-19T14:27:34.096Z] Stashed 1 file(s) [Pipeline] } [2024-09-19T14:27:34.103Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-c-main-76-stack-cost] [Pipeline] // lock [Pipeline] } [2024-09-19T14:27:34.130Z] $ docker stop --time=1 ef7901267c2f76be51e7c00b21cc3f5c7c0ac45f18de3358500050caf96af792 [2024-09-19T14:27:35.275Z] $ docker rm -f --volumes ef7901267c2f76be51e7c00b21cc3f5c7c0ac45f18de3358500050caf96af792 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-09-19T14:28:31.520Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-10694 in /w/workspace/edgexfoundry_device-sdk-c_main [Pipeline] { [Pipeline] ws [2024-09-19T14:28:31.538Z] Running in /w/workspace/device-sdk-c/76 [Pipeline] { [Pipeline] checkout [2024-09-19T14:28:34.596Z] Selected Git installation does not exist. Using Default [2024-09-19T14:28:34.596Z] The recommended git tool is: NONE [2024-09-19T14:28:43.463Z] using credential edgex-jenkins-ssh [2024-09-19T14:28:43.491Z] Cloning the remote Git repository [2024-09-19T14:28:43.544Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2024-09-19T14:28:43.721Z] > git init /w/workspace/device-sdk-c/76 # timeout=10 [2024-09-19T14:28:43.952Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2024-09-19T14:28:43.954Z] > git --version # timeout=10 [2024-09-19T14:28:44.007Z] > git --version # 'git version 2.25.1' [2024-09-19T14:28:44.010Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-09-19T14:28:44.197Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-09-19T14:28:46.467Z] Avoid second fetch [2024-09-19T14:28:46.468Z] Checking out Revision 30a24dda2410b85b52167bc1398eb9d9a2b4959b (main) [2024-09-19T14:28:45.292Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2024-09-19T14:28:45.337Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-09-19T14:28:46.484Z] > git config core.sparsecheckout # timeout=10 [2024-09-19T14:28:47.381Z] Commit message: "feat!: Publish System Events for device discovery and add discovery request ID (#513)" [2024-09-19T14:28:46.620Z] > git checkout -f 30a24dda2410b85b52167bc1398eb9d9a2b4959b # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-09-19T14:28:52.243Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-09-19T14:28:52.243Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-09-19T14:28:52.243Z] Dload Upload Total Spent Left Speed [2024-09-19T14:28:52.243Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 73302 0 --:--:-- --:--:-- --:--:-- 73724 [Pipeline] sh [2024-09-19T14:28:52.588Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-09-19T14:28:52.910Z] + sudo+ tee /etc/docker/daemon.new [2024-09-19T14:28:52.910Z] sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-09-19T14:28:52.910Z] { [2024-09-19T14:28:52.910Z] "registry-mirrors": [ [2024-09-19T14:28:52.910Z] "https://nexus3.edgexfoundry.org:10001" [2024-09-19T14:28:52.910Z] ], [2024-09-19T14:28:52.910Z] "bip": "10.250.0.254/24", [2024-09-19T14:28:52.910Z] "hosts": [ [2024-09-19T14:28:52.910Z] "tcp://0.0.0.0:5555", [2024-09-19T14:28:52.910Z] "unix:///var/run/docker.sock" [2024-09-19T14:28:52.910Z] ], [2024-09-19T14:28:52.910Z] "mtu": 1458, [2024-09-19T14:28:52.910Z] "selinux-enabled": true, [2024-09-19T14:28:52.910Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-09-19T14:28:52.910Z] } [Pipeline] sh [2024-09-19T14:28:53.232Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-09-19T14:28:53.558Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-09-19T14:29:11.910Z] provisioning config files... [2024-09-19T14:29:11.936Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/76@tmp/config11351011437048689915tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-09-19T14:29:12.387Z] ---> ****-login.sh [2024-09-19T14:29:12.387Z] nexus3.edgexfoundry.org:10001 [2024-09-19T14:29:12.659Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-19T14:29:12.937Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-19T14:29:12.937Z] Configure a credential helper to remove this warning. See [2024-09-19T14:29:12.937Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-19T14:29:12.937Z] [2024-09-19T14:29:12.937Z] Login Succeeded [2024-09-19T14:29:12.937Z] nexus3.edgexfoundry.org:10002 [2024-09-19T14:29:13.206Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-19T14:29:13.605Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-19T14:29:13.605Z] Configure a credential helper to remove this warning. See [2024-09-19T14:29:13.605Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-19T14:29:13.605Z] [2024-09-19T14:29:13.605Z] Login Succeeded [2024-09-19T14:29:13.605Z] nexus3.edgexfoundry.org:10003 [2024-09-19T14:29:13.605Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-19T14:29:13.879Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-19T14:29:13.879Z] Configure a credential helper to remove this warning. See [2024-09-19T14:29:13.879Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-19T14:29:13.879Z] [2024-09-19T14:29:13.879Z] Login Succeeded [2024-09-19T14:29:13.879Z] nexus3.edgexfoundry.org:10004 [2024-09-19T14:29:14.154Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-19T14:29:14.154Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-19T14:29:14.154Z] Configure a credential helper to remove this warning. See [2024-09-19T14:29:14.154Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-19T14:29:14.154Z] [2024-09-19T14:29:14.154Z] Login Succeeded [2024-09-19T14:29:14.154Z] ****.io [2024-09-19T14:29:14.423Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-19T14:29:14.692Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-19T14:29:14.692Z] Configure a credential helper to remove this warning. See [2024-09-19T14:29:14.692Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-19T14:29:14.692Z] [2024-09-19T14:29:14.692Z] Login Succeeded [2024-09-19T14:29:14.692Z] ---> ****-login.sh ends [Pipeline] } [2024-09-19T14:29:14.710Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-09-19T14:29:15.041Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-09-19T14:29:15.061Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-arm64 [Pipeline] echo [2024-09-19T14:29:15.077Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-09-19T14:29:15.094Z] ========================================================= [2024-09-19T14:29:15.094Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] [2024-09-19T14:29:15.094Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-19T14:29:15.442Z] + docker build -t ci-base-image-arm64 -f scripts/Dockerfile.alpine-base --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest . [2024-09-19T14:29:15.723Z] Sending build context to Docker daemon 3.029MB [2024-09-19T14:29:15.993Z] Step 1/22 : ARG BASE=alpine:3.18 [2024-09-19T14:29:15.993Z] Step 2/22 : FROM ${BASE} as builder [2024-09-19T14:29:15.993Z] latest: Pulling from edgex-devops/edgex-gcc-base-arm64 [2024-09-19T14:29:15.993Z] 579b34f0a95b: Pulling fs layer [2024-09-19T14:29:15.993Z] e71477ac5e1b: Pulling fs layer [2024-09-19T14:29:16.265Z] 579b34f0a95b: Verifying Checksum [2024-09-19T14:29:16.265Z] 579b34f0a95b: Download complete [2024-09-19T14:29:16.856Z] 579b34f0a95b: Pull complete [2024-09-19T14:29:18.812Z] e71477ac5e1b: Verifying Checksum [2024-09-19T14:29:18.812Z] e71477ac5e1b: Download complete [2024-09-19T14:29:31.183Z] e71477ac5e1b: Pull complete [2024-09-19T14:29:31.183Z] Digest: sha256:d6da9bdca73313daf4d05ece6476ab4dbe9e0e950a139422d865873582b0d46d [2024-09-19T14:29:31.183Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest [2024-09-19T14:29:31.183Z] ---> 2b552cad5dd9 [2024-09-19T14:29:31.183Z] Step 3/22 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2024-09-19T14:29:31.183Z] ---> Running in a5e882112fc4 [2024-09-19T14:29:31.771Z] Connecting to iotech.jfrog.io (34.246.139.145:443) [2024-09-19T14:29:32.359Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-09-19T14:29:32.359Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-09-19T14:29:32.359Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-09-19T14:29:33.319Z] Removing intermediate container a5e882112fc4 [2024-09-19T14:29:33.319Z] ---> f5a8edf7c63a [2024-09-19T14:29:33.319Z] Step 4/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-09-19T14:29:33.319Z] ---> Running in e4f399a752b6 [2024-09-19T14:29:34.748Z] Removing intermediate container e4f399a752b6 [2024-09-19T14:29:34.748Z] ---> 81131ae5ba14 [2024-09-19T14:29:34.748Z] Step 5/22 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml-dev curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev libcbor-dev iotech-paho-mqtt-c-dev-1.3 iotech-iot-1.5-dev hiredis-dev [2024-09-19T14:29:35.016Z] ---> Running in 73be878744d2 [2024-09-19T14:29:35.982Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-09-19T14:29:36.251Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-09-19T14:29:36.850Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz [2024-09-19T14:29:37.811Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-09-19T14:29:37.811Z] (1/17) Installing hiredis (1.1.0-r2) [2024-09-19T14:29:37.811Z] (2/17) Installing hiredis-dev (1.1.0-r2) [2024-09-19T14:29:37.811Z] (3/17) Installing libcbor (0.10.2-r1) [2024-09-19T14:29:37.811Z] (4/17) Installing iotech-iot-1.5 (1.5.4-r2) [2024-09-19T14:29:38.770Z] (5/17) Installing iotech-iot-1.5-dev (1.5.4-r2) [2024-09-19T14:29:38.770Z] (6/17) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) [2024-09-19T14:29:39.046Z] (7/17) Installing libcbor-dev (0.10.2-r1) [2024-09-19T14:29:39.046Z] (8/17) Installing libmenuw (6.4_p20230506-r0) [2024-09-19T14:29:39.046Z] (9/17) Installing libpanelw (6.4_p20230506-r0) [2024-09-19T14:29:39.046Z] (10/17) Installing libncurses++ (6.4_p20230506-r0) [2024-09-19T14:29:39.046Z] (11/17) Installing ncurses-dev (6.4_p20230506-r0) [2024-09-19T14:29:39.046Z] (12/17) Installing libblkid (2.38.1-r8) [2024-09-19T14:29:39.046Z] (13/17) Installing libuuid (2.38.1-r8) [2024-09-19T14:29:39.046Z] (14/17) Installing libfdisk (2.38.1-r8) [2024-09-19T14:29:39.046Z] (15/17) Installing libmount (2.38.1-r8) [2024-09-19T14:29:39.046Z] (16/17) Installing libsmartcols (2.38.1-r8) [2024-09-19T14:29:39.046Z] (17/17) Installing util-linux-dev (2.38.1-r8) [2024-09-19T14:29:39.046Z] Executing busybox-1.36.1-r4.trigger [2024-09-19T14:29:39.046Z] OK: 333 MiB in 99 packages [2024-09-19T14:29:40.462Z] Removing intermediate container 73be878744d2 [2024-09-19T14:29:40.462Z] ---> bdb724d6dce6 [2024-09-19T14:29:40.462Z] Step 6/22 : RUN mkdir /tmp/sdk [2024-09-19T14:29:40.462Z] ---> Running in 264962bbbcfe [2024-09-19T14:29:41.878Z] Removing intermediate container 264962bbbcfe [2024-09-19T14:29:41.878Z] ---> c0851bdf86f0 [2024-09-19T14:29:41.878Z] Step 7/22 : COPY VERSION /tmp/sdk [2024-09-19T14:29:42.466Z] ---> e85524832f57 [2024-09-19T14:29:42.466Z] Step 8/22 : COPY src /tmp/sdk/src [2024-09-19T14:29:43.432Z] ---> 2ef675f3ddec [2024-09-19T14:29:43.432Z] Step 9/22 : COPY include /tmp/sdk/include [2024-09-19T14:29:43.705Z] ---> 40fa06683928 [2024-09-19T14:29:43.705Z] Step 10/22 : COPY scripts /tmp/sdk/scripts [2024-09-19T14:29:44.306Z] ---> 30e5b8c1064b [2024-09-19T14:29:44.306Z] Step 11/22 : COPY LICENSE /tmp/sdk [2024-09-19T14:29:44.897Z] ---> 56171ce4198d [2024-09-19T14:29:44.897Z] Step 12/22 : COPY Attribution.txt /tmp/sdk [2024-09-19T14:29:45.165Z] ---> 0ce599cee170 [2024-09-19T14:29:45.165Z] Step 13/22 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2024-09-19T14:29:45.165Z] ---> Running in 83df1d9ec3e9 [2024-09-19T14:29:46.137Z] + CPPCHECK=false [2024-09-19T14:29:46.137Z] + DOCGEN=false [2024-09-19T14:29:46.137Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2024-09-19T14:29:46.137Z] + '[' 0 -gt 0 ] [2024-09-19T14:29:46.137Z] + readlink -f ./scripts/build.sh [2024-09-19T14:29:46.137Z] + dirname /tmp/sdk/scripts/build.sh [2024-09-19T14:29:46.137Z] + dirname /tmp/sdk/scripts [2024-09-19T14:29:46.137Z] + ROOT=/tmp/sdk [2024-09-19T14:29:46.137Z] + cd /tmp/sdk [2024-09-19T14:29:46.137Z] + mkdir -p /tmp/sdk/build/release [2024-09-19T14:29:46.137Z] + cd /tmp/sdk/build/release [2024-09-19T14:29:46.137Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2024-09-19T14:29:46.737Z] -- The C compiler identification is GNU 12.2.1 [2024-09-19T14:29:46.737Z] -- Detecting C compiler ABI info [2024-09-19T14:29:47.004Z] -- Detecting C compiler ABI info - done [2024-09-19T14:29:47.004Z] -- Check for working C compiler: /usr/bin/cc - skipped [2024-09-19T14:29:47.004Z] -- Detecting C compile features [2024-09-19T14:29:47.004Z] -- Detecting C compile features - done [2024-09-19T14:29:47.004Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2024-09-19T14:29:47.278Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") [2024-09-19T14:29:47.278Z] -- Found LIBYAML: /usr/lib/libyaml.so [2024-09-19T14:29:47.278Z] -- Found LIBUUID: /usr/lib/libuuid.so [2024-09-19T14:29:47.278Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2024-09-19T14:29:47.278Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2024-09-19T14:29:47.278Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2024-09-19T14:29:47.278Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2024-09-19T14:29:47.278Z] -- /opt/iotech/iot/1.5/include [2024-09-19T14:29:47.278Z] -- C SDK 3.0.3-dev.16 for Linux [2024-09-19T14:29:47.278Z] -- Performing Test CSDK_HAVE_ATOMIC [2024-09-19T14:29:47.862Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2024-09-19T14:29:47.862Z] -- Found Curses: /usr/lib/libcurses.so [2024-09-19T14:29:48.137Z] -- Configuring done (1.8s) [2024-09-19T14:29:48.404Z] -- Generating done (0.3s) [2024-09-19T14:29:48.404Z] -- Build files have been written to: /tmp/sdk/build/release [2024-09-19T14:29:48.404Z] + make all package [2024-09-19T14:29:48.404Z] + tee release.log [2024-09-19T14:29:48.669Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2024-09-19T14:29:49.251Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2024-09-19T14:29:50.206Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2024-09-19T14:29:51.161Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2024-09-19T14:29:51.740Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2024-09-19T14:29:52.341Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2024-09-19T14:29:54.296Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2024-09-19T14:29:55.249Z] /tmp/sdk/src/c/consul.c: In function 'edgex_consul_client_get_common_config': [2024-09-19T14:29:55.249Z] /tmp/sdk/src/c/consul.c:294:10: warning: 'privateConfig' may be used uninitialized [-Wmaybe-uninitialized] [2024-09-19T14:29:55.249Z] 294 | while (privateConfig) [2024-09-19T14:29:55.249Z] | ^~~~~~~~~~~~~ [2024-09-19T14:29:55.249Z] /tmp/sdk/src/c/consul.c:214:28: note: 'privateConfig' was declared here [2024-09-19T14:29:55.249Z] 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; [2024-09-19T14:29:55.249Z] | ^~~~~~~~~~~~~ [2024-09-19T14:29:55.249Z] /tmp/sdk/src/c/consul.c:271:10: warning: 'result' may be used uninitialized [-Wmaybe-uninitialized] [2024-09-19T14:29:55.249Z] 271 | while (result) [2024-09-19T14:29:55.249Z] | ^~~~~~ [2024-09-19T14:29:55.249Z] /tmp/sdk/src/c/consul.c:214:19: note: 'result' was declared here [2024-09-19T14:29:55.249Z] 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; [2024-09-19T14:29:55.249Z] | ^~~~~~ [2024-09-19T14:29:55.513Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2024-09-19T14:29:55.778Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2024-09-19T14:29:56.741Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2024-09-19T14:29:58.673Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2024-09-19T14:29:58.939Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2024-09-19T14:29:59.892Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2024-09-19T14:30:00.471Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2024-09-19T14:30:01.056Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2024-09-19T14:30:02.012Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2024-09-19T14:30:02.603Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2024-09-19T14:30:04.537Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2024-09-19T14:30:04.802Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2024-09-19T14:30:05.381Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2024-09-19T14:30:06.798Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2024-09-19T14:30:13.425Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2024-09-19T14:30:13.690Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2024-09-19T14:30:14.279Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2024-09-19T14:30:14.545Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2024-09-19T14:30:14.812Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2024-09-19T14:30:16.217Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2024-09-19T14:30:18.802Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2024-09-19T14:30:18.802Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2024-09-19T14:30:19.774Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2024-09-19T14:30:20.357Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2024-09-19T14:30:20.623Z] /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2024-09-19T14:30:20.623Z] /tmp/sdk/src/c/service.c:914:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-09-19T14:30:20.623Z] 914 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); [2024-09-19T14:30:20.623Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-09-19T14:30:20.623Z] /tmp/sdk/src/c/service.c:915:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-09-19T14:30:20.623Z] 915 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); [2024-09-19T14:30:20.623Z] | ^ [2024-09-19T14:30:22.029Z] /tmp/sdk/src/c/service.c:1069:5: warning: 'deviceservices_config' may be used uninitialized [-Wmaybe-uninitialized] [2024-09-19T14:30:22.029Z] 1069 | edgex_device_parseClients (svc->logger, iot_data_string_map_get (deviceservices_config, "Clients"), &svc->config.endpoints); [2024-09-19T14:30:22.029Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-09-19T14:30:22.029Z] /tmp/sdk/src/c/service.c:881:68: note: 'deviceservices_config' was declared here [2024-09-19T14:30:22.029Z] 881 | iot_data_t *common_config_map, *private_config_map, *configmap, *deviceservices_config; [2024-09-19T14:30:22.029Z] | ^~~~~~~~~~~~~~~~~~~~~ [2024-09-19T14:30:22.995Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2024-09-19T14:30:23.952Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2024-09-19T14:30:24.218Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2024-09-19T14:30:24.800Z] [ 68%] Linking C shared library libcsdk.so [2024-09-19T14:30:24.800Z] [ 68%] Built target csdk [2024-09-19T14:30:25.066Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2024-09-19T14:30:26.022Z] [ 72%] Linking C executable template [2024-09-19T14:30:26.022Z] [ 72%] Built target template [2024-09-19T14:30:26.289Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2024-09-19T14:30:26.872Z] [ 76%] Linking C executable device-counter [2024-09-19T14:30:27.139Z] [ 76%] Built target device-counter [2024-09-19T14:30:27.139Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2024-09-19T14:30:27.725Z] [ 80%] Linking C executable device-random [2024-09-19T14:30:27.992Z] [ 80%] Built target device-random [2024-09-19T14:30:27.992Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2024-09-19T14:30:28.575Z] [ 84%] Linking C executable device-gyro [2024-09-19T14:30:28.843Z] [ 84%] Built target device-gyro [2024-09-19T14:30:28.843Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2024-09-19T14:30:29.429Z] [ 88%] Linking C executable device-bitfields [2024-09-19T14:30:29.697Z] [ 88%] Built target device-bitfields [2024-09-19T14:30:29.697Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2024-09-19T14:30:30.662Z] [ 92%] Linking C executable template-discovery [2024-09-19T14:30:30.930Z] [ 92%] Built target template-discovery [2024-09-19T14:30:30.930Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2024-09-19T14:30:31.902Z] [ 96%] Linking C executable device-file [2024-09-19T14:30:31.902Z] [ 96%] Built target device-file [2024-09-19T14:30:31.902Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2024-09-19T14:30:32.867Z] [100%] Linking C executable device-terminal [2024-09-19T14:30:32.867Z] [100%] Built target device-terminal [2024-09-19T14:30:33.144Z] Run CPack packaging tool... [2024-09-19T14:30:33.145Z] CPack: Create package using TGZ [2024-09-19T14:30:33.145Z] CPack: Install projects [2024-09-19T14:30:33.145Z] CPack: - Run preinstall target for: Csdk [2024-09-19T14:30:34.108Z] CPack: - Install project: Csdk [] [2024-09-19T14:30:34.108Z] CPack: Create package [2024-09-19T14:30:34.108Z] CPack: - package: /tmp/sdk/build/release/csdk-3.0.3-dev.16.tar.gz generated. [2024-09-19T14:30:34.108Z] + '[' false '=' true ] [2024-09-19T14:30:34.108Z] + '[' false '=' true ] [2024-09-19T14:30:34.108Z] + mkdir -p /tmp/sdk/build/debug [2024-09-19T14:30:34.108Z] + cd /tmp/sdk/build/debug [2024-09-19T14:30:34.108Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2024-09-19T14:30:34.375Z] -- The C compiler identification is GNU 12.2.1 [2024-09-19T14:30:34.375Z] -- Detecting C compiler ABI info [2024-09-19T14:30:34.640Z] -- Detecting C compiler ABI info - done [2024-09-19T14:30:34.908Z] -- Check for working C compiler: /usr/bin/cc - skipped [2024-09-19T14:30:34.908Z] -- Detecting C compile features [2024-09-19T14:30:34.908Z] -- Detecting C compile features - done [2024-09-19T14:30:34.908Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2024-09-19T14:30:34.908Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") [2024-09-19T14:30:35.174Z] -- Found LIBYAML: /usr/lib/libyaml.so [2024-09-19T14:30:35.174Z] -- Found LIBUUID: /usr/lib/libuuid.so [2024-09-19T14:30:35.174Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2024-09-19T14:30:35.174Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2024-09-19T14:30:35.174Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2024-09-19T14:30:35.175Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2024-09-19T14:30:35.175Z] -- /opt/iotech/iot/1.5/include [2024-09-19T14:30:35.175Z] -- C SDK 3.0.3-dev.16 for Linux [2024-09-19T14:30:35.175Z] -- Performing Test CSDK_HAVE_ATOMIC [2024-09-19T14:30:35.441Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2024-09-19T14:30:35.706Z] -- Found Curses: /usr/lib/libcurses.so [2024-09-19T14:30:35.706Z] -- Configuring done (1.7s) [2024-09-19T14:30:35.971Z] -- Generating done (0.2s) [2024-09-19T14:30:35.972Z] -- Build files have been written to: /tmp/sdk/build/debug [2024-09-19T14:30:35.972Z] + make [2024-09-19T14:30:35.972Z] + tee debug.log [2024-09-19T14:30:36.238Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2024-09-19T14:30:36.504Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2024-09-19T14:30:37.084Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2024-09-19T14:30:37.348Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2024-09-19T14:30:37.613Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2024-09-19T14:30:37.899Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2024-09-19T14:30:38.857Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2024-09-19T14:30:39.122Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2024-09-19T14:30:39.387Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2024-09-19T14:30:39.652Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2024-09-19T14:30:40.237Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2024-09-19T14:30:40.826Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2024-09-19T14:30:41.093Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2024-09-19T14:30:41.361Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2024-09-19T14:30:41.944Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2024-09-19T14:30:42.218Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2024-09-19T14:30:42.489Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2024-09-19T14:30:43.076Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2024-09-19T14:30:43.358Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2024-09-19T14:30:43.624Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2024-09-19T14:30:44.229Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2024-09-19T14:30:45.767Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2024-09-19T14:30:45.767Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2024-09-19T14:30:46.046Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2024-09-19T14:30:46.641Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2024-09-19T14:30:46.641Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2024-09-19T14:30:47.239Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2024-09-19T14:30:48.684Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2024-09-19T14:30:48.957Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2024-09-19T14:30:49.226Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2024-09-19T14:30:49.814Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2024-09-19T14:30:50.082Z] /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2024-09-19T14:30:50.082Z] /tmp/sdk/src/c/service.c:914:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-09-19T14:30:50.082Z] 914 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); [2024-09-19T14:30:50.082Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-09-19T14:30:50.082Z] /tmp/sdk/src/c/service.c:915:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-09-19T14:30:50.082Z] 915 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); [2024-09-19T14:30:50.082Z] | ^ [2024-09-19T14:30:50.668Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2024-09-19T14:30:50.936Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2024-09-19T14:30:51.207Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2024-09-19T14:30:51.476Z] [ 68%] Linking C shared library libcsdk.so [2024-09-19T14:30:51.744Z] [ 68%] Built target csdk [2024-09-19T14:30:51.744Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2024-09-19T14:30:52.013Z] [ 72%] Linking C executable template [2024-09-19T14:30:52.613Z] [ 72%] Built target template [2024-09-19T14:30:52.613Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2024-09-19T14:30:52.883Z] [ 76%] Linking C executable device-counter [2024-09-19T14:30:53.151Z] [ 76%] Built target device-counter [2024-09-19T14:30:53.151Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2024-09-19T14:30:53.420Z] [ 80%] Linking C executable device-random [2024-09-19T14:30:54.006Z] [ 80%] Built target device-random [2024-09-19T14:30:54.006Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2024-09-19T14:30:54.275Z] [ 84%] Linking C executable device-gyro [2024-09-19T14:30:54.543Z] [ 84%] Built target device-gyro [2024-09-19T14:30:54.543Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2024-09-19T14:30:54.810Z] [ 88%] Linking C executable device-bitfields [2024-09-19T14:30:55.394Z] [ 88%] Built target device-bitfields [2024-09-19T14:30:55.394Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2024-09-19T14:30:55.663Z] [ 92%] Linking C executable template-discovery [2024-09-19T14:30:55.930Z] [ 92%] Built target template-discovery [2024-09-19T14:30:55.930Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2024-09-19T14:30:56.522Z] [ 96%] Linking C executable device-file [2024-09-19T14:30:56.787Z] [ 96%] Built target device-file [2024-09-19T14:30:56.787Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2024-09-19T14:30:57.061Z] [100%] Linking C executable device-terminal [2024-09-19T14:30:57.328Z] [100%] Built target device-terminal [2024-09-19T14:30:57.593Z] make: Entering directory '/tmp/sdk/build/release' [2024-09-19T14:30:57.593Z] [ 68%] Built target csdk [2024-09-19T14:30:57.593Z] [ 72%] Built target template [2024-09-19T14:30:57.861Z] [ 76%] Built target device-counter [2024-09-19T14:30:57.861Z] [ 80%] Built target device-random [2024-09-19T14:30:57.861Z] [ 84%] Built target device-gyro [2024-09-19T14:30:57.861Z] [ 88%] Built target device-bitfields [2024-09-19T14:30:57.861Z] [ 92%] Built target template-discovery [2024-09-19T14:30:58.131Z] [ 96%] Built target device-file [2024-09-19T14:30:58.131Z] [100%] Built target device-terminal [2024-09-19T14:30:58.131Z] Install the project... [2024-09-19T14:30:58.131Z] -- Install configuration: "Release" [2024-09-19T14:30:58.131Z] -- Installing: /usr/local/lib/libcsdk.so [2024-09-19T14:30:58.131Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2024-09-19T14:30:58.131Z] -- Installing: /usr/local/include [2024-09-19T14:30:58.131Z] -- Installing: /usr/local/include/devsdk [2024-09-19T14:30:58.131Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2024-09-19T14:30:58.131Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2024-09-19T14:30:58.131Z] -- Installing: /usr/local/include/edgex [2024-09-19T14:30:58.131Z] -- Installing: /usr/local/include/edgex/rest-server.h [2024-09-19T14:30:58.131Z] -- Installing: /usr/local/include/edgex/edgex.h [2024-09-19T14:30:58.131Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2024-09-19T14:30:58.131Z] -- Installing: /usr/local/include/edgex/devices.h [2024-09-19T14:30:58.131Z] -- Installing: /usr/local/include/edgex/profiles.h [2024-09-19T14:30:58.131Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2024-09-19T14:30:58.131Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2024-09-19T14:30:58.131Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2024-09-19T14:30:58.131Z] make: Leaving directory '/tmp/sdk/build/release' [2024-09-19T14:30:59.545Z] Removing intermediate container 83df1d9ec3e9 [2024-09-19T14:30:59.545Z] ---> 3d082e24c765 [2024-09-19T14:30:59.545Z] Step 14/22 : FROM ${BASE} [2024-09-19T14:30:59.545Z] ---> 2b552cad5dd9 [2024-09-19T14:30:59.545Z] Step 15/22 : LABEL maintainer="IOTech " [2024-09-19T14:30:59.545Z] ---> Running in d0a437d45985 [2024-09-19T14:30:59.815Z] Removing intermediate container d0a437d45985 [2024-09-19T14:30:59.815Z] ---> 55d61defd81a [2024-09-19T14:30:59.815Z] Step 16/22 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2024-09-19T14:31:00.083Z] ---> Running in e634c97de401 [2024-09-19T14:31:01.059Z] Connecting to iotech.jfrog.io (34.247.22.236:443) [2024-09-19T14:31:01.652Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-09-19T14:31:01.652Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-09-19T14:31:01.652Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-09-19T14:31:02.236Z] Removing intermediate container e634c97de401 [2024-09-19T14:31:02.237Z] ---> 4ba9bbfb7a20 [2024-09-19T14:31:02.237Z] Step 17/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-09-19T14:31:02.237Z] ---> Running in 8770bfc347da [2024-09-19T14:31:03.637Z] Removing intermediate container 8770bfc347da [2024-09-19T14:31:03.637Z] ---> 85bda796e0ac [2024-09-19T14:31:03.637Z] Step 18/22 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml curl libmicrohttpd libuuid libcbor iotech-paho-mqtt-c-dev-1.3 iotech-iot-1.5 hiredis-dev dumb-init [2024-09-19T14:31:03.904Z] ---> Running in 27522acd870d [2024-09-19T14:31:04.867Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-09-19T14:31:05.133Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-09-19T14:31:05.730Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz [2024-09-19T14:31:06.686Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-09-19T14:31:06.686Z] (1/10) Upgrading libcurl (8.4.0-r0 -> 8.9.1-r0) [2024-09-19T14:31:06.686Z] (2/10) Installing curl (8.9.1-r0) [2024-09-19T14:31:06.686Z] (3/10) Upgrading curl-dev (8.4.0-r0 -> 8.9.1-r0) [2024-09-19T14:31:06.686Z] (4/10) Installing dumb-init (1.2.5-r2) [2024-09-19T14:31:06.686Z] (5/10) Installing hiredis (1.1.0-r2) [2024-09-19T14:31:06.686Z] (6/10) Installing hiredis-dev (1.1.0-r2) [2024-09-19T14:31:06.686Z] (7/10) Installing libcbor (0.10.2-r1) [2024-09-19T14:31:06.686Z] (8/10) Installing iotech-iot-1.5 (1.5.4-r2) [2024-09-19T14:31:07.266Z] (9/10) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) [2024-09-19T14:31:07.533Z] (10/10) Installing libuuid (2.38.1-r8) [2024-09-19T14:31:07.533Z] Executing busybox-1.36.1-r4.trigger [2024-09-19T14:31:07.533Z] OK: 328 MiB in 90 packages [2024-09-19T14:31:08.488Z] Removing intermediate container 27522acd870d [2024-09-19T14:31:08.488Z] ---> 93399e00afeb [2024-09-19T14:31:08.488Z] Step 19/22 : RUN apk --no-cache upgrade [2024-09-19T14:31:08.754Z] ---> Running in cdd194a7e71a [2024-09-19T14:31:09.708Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-09-19T14:31:09.708Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-09-19T14:31:10.287Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz [2024-09-19T14:31:11.241Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-09-19T14:31:11.241Z] Upgrading critical system libraries and apk-tools: [2024-09-19T14:31:11.241Z] (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) [2024-09-19T14:31:11.241Z] Executing busybox-1.36.1-r4.trigger [2024-09-19T14:31:11.507Z] Continuing the upgrade transaction with new apk-tools: [2024-09-19T14:31:11.507Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-09-19T14:31:11.771Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-09-19T14:31:12.351Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz [2024-09-19T14:31:12.929Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-09-19T14:31:12.929Z] (1/14) Upgrading busybox (1.36.1-r4 -> 1.36.1-r7) [2024-09-19T14:31:12.929Z] Executing busybox-1.36.1-r7.post-upgrade [2024-09-19T14:31:13.194Z] (2/14) Upgrading busybox-binsh (1.36.1-r4 -> 1.36.1-r7) [2024-09-19T14:31:13.194Z] (3/14) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) [2024-09-19T14:31:13.194Z] (4/14) Upgrading libcrypto3 (3.1.4-r0 -> 3.1.7-r0) [2024-09-19T14:31:13.194Z] (5/14) Upgrading libssl3 (3.1.4-r0 -> 3.1.7-r0) [2024-09-19T14:31:13.194Z] (6/14) Upgrading ssl_client (1.36.1-r4 -> 1.36.1-r7) [2024-09-19T14:31:13.194Z] (7/14) Upgrading libexpat (2.5.0-r1 -> 2.6.3-r0) [2024-09-19T14:31:13.194Z] (8/14) Upgrading libarchive (3.7.2-r0 -> 3.7.5-r0) [2024-09-19T14:31:13.194Z] (9/14) Upgrading ca-certificates (20230506-r0 -> 20240226-r0) [2024-09-19T14:31:13.458Z] (10/14) Upgrading openssl-dev (3.1.4-r0 -> 3.1.7-r0) [2024-09-19T14:31:13.458Z] (11/14) Upgrading git (2.40.1-r0 -> 2.40.3-r0) [2024-09-19T14:31:13.724Z] (12/14) Upgrading gnutls (3.8.0-r2 -> 3.8.4-r0) [2024-09-19T14:31:13.724Z] (13/14) Upgrading gnutls-c++ (3.8.0-r2 -> 3.8.4-r0) [2024-09-19T14:31:13.724Z] (14/14) Upgrading gnutls-dev (3.8.0-r2 -> 3.8.4-r0) [2024-09-19T14:31:13.724Z] Executing busybox-1.36.1-r7.trigger [2024-09-19T14:31:13.724Z] Executing ca-certificates-20240226-r0.trigger [2024-09-19T14:31:13.989Z] OK: 328 MiB in 90 packages [2024-09-19T14:31:15.931Z] Removing intermediate container cdd194a7e71a [2024-09-19T14:31:15.931Z] ---> 7a1f702b5844 [2024-09-19T14:31:15.931Z] Step 20/22 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2024-09-19T14:31:16.196Z] ---> d4f995de7f96 [2024-09-19T14:31:16.197Z] Step 21/22 : COPY --from=builder /usr/local/lib /usr/local/lib [2024-09-19T14:31:16.791Z] ---> ad6c16a493da [2024-09-19T14:31:16.791Z] Step 22/22 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2024-09-19T14:31:17.371Z] ---> 78266ee743b2 [2024-09-19T14:31:17.371Z] Successfully built 78266ee743b2 [2024-09-19T14:31:17.371Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-19T14:31:17.938Z] + docker inspect -f . ci-base-image-arm64 [2024-09-19T14:31:17.938Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-09-19T14:31:18.172Z] prd-ubuntu20.04-docker-arm64-4c-16g-10694 does not seem to be running inside a container [2024-09-19T14:31:18.249Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/76 -v /w/workspace/device-sdk-c/76:/w/workspace/device-sdk-c/76:rw,z -v /w/workspace/device-sdk-c/76@tmp:/w/workspace/device-sdk-c/76@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 ******** ci-base-image-arm64 cat [2024-09-19T14:31:19.443Z] $ docker top a3f71017956546bd52141dbb4ff0986a53d69ef20982b905342f36886522989f -eo pid,comm [Pipeline] { [Pipeline] sh [2024-09-19T14:31:20.282Z] + make test [2024-09-19T14:31:20.282Z] echo "make test" [2024-09-19T14:31:20.282Z] make test [Pipeline] } [2024-09-19T14:31:20.303Z] $ docker stop --time=1 a3f71017956546bd52141dbb4ff0986a53d69ef20982b905342f36886522989f [2024-09-19T14:31:21.912Z] $ docker rm -f --volumes a3f71017956546bd52141dbb4ff0986a53d69ef20982b905342f36886522989f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-09-19T14:31:22.506Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-09-19T14:31:22.823Z] + ls -al . [2024-09-19T14:31:22.823Z] total 208 [2024-09-19T14:31:22.823Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 19 14:28 . [2024-09-19T14:31:22.823Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 19 14:28 .. [2024-09-19T14:31:22.823Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 19 14:28 .git [2024-09-19T14:31:22.823Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 19 14:28 .github [2024-09-19T14:31:22.823Z] -rw-rw-r-- 1 jenkins jenkins 176 Sep 19 14:28 .gitignore [2024-09-19T14:31:22.823Z] -rw-rw-r-- 1 jenkins jenkins 2908 Sep 19 14:28 Attribution.txt [2024-09-19T14:31:22.823Z] -rw-rw-r-- 1 jenkins jenkins 11953 Sep 19 14:28 CHANGELOG.md [2024-09-19T14:31:22.823Z] -rw-rw-r-- 1 jenkins jenkins 108574 Sep 19 14:28 Doxyfile [2024-09-19T14:31:22.823Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 19 14:28 GOVERNANCE.md [2024-09-19T14:31:22.823Z] -rw-rw-r-- 1 jenkins jenkins 784 Sep 19 14:28 Jenkinsfile [2024-09-19T14:31:22.823Z] -rw-rw-r-- 1 jenkins jenkins 10174 Sep 19 14:28 LICENSE [2024-09-19T14:31:22.823Z] -rw-rw-r-- 1 jenkins jenkins 444 Sep 19 14:28 Makefile [2024-09-19T14:31:22.823Z] -rw-rw-r-- 1 jenkins jenkins 618 Sep 19 14:28 OWNERS.md [2024-09-19T14:31:22.823Z] -rw-rw-r-- 1 jenkins jenkins 1651 Sep 19 14:28 README.IOT.md [2024-09-19T14:31:22.823Z] -rw-rw-r-- 1 jenkins jenkins 4215 Sep 19 14:28 README.md [2024-09-19T14:31:22.823Z] -rw-rw-r-- 1 jenkins jenkins 1245 Sep 19 14:28 README.v3.md [2024-09-19T14:31:22.823Z] -rw-rw-r-- 1 jenkins jenkins 12 Sep 19 14:26 VERSION [2024-09-19T14:31:22.823Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 19 14:28 docs [2024-09-19T14:31:22.823Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 19 14:28 include [2024-09-19T14:31:22.823Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 19 14:28 scripts [2024-09-19T14:31:22.823Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 19 14:28 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-19T14:31:23.168Z] + docker build -t device-sdk-arm64 -f scripts/Dockerfile.alpine --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=30a24dda2410b85b52167bc1398eb9d9a2b4959b --label arch=arm64 --label version=3.0.3-dev.16 . [2024-09-19T14:31:23.437Z] Sending build context to Docker daemon 3.029MB [2024-09-19T14:31:23.437Z] Step 1/18 : ARG BASE=alpine:3.18 [2024-09-19T14:31:23.437Z] Step 2/18 : FROM ${BASE} [2024-09-19T14:31:23.437Z] ---> 78266ee743b2 [2024-09-19T14:31:23.437Z] Step 3/18 : LABEL maintainer="IOTech " [2024-09-19T14:31:23.718Z] ---> Running in 5d33725dbcc4 [2024-09-19T14:31:23.984Z] Removing intermediate container 5d33725dbcc4 [2024-09-19T14:31:23.984Z] ---> 250c397e0f11 [2024-09-19T14:31:23.984Z] Step 4/18 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2024-09-19T14:31:23.984Z] ---> Running in f17e011bc3fe [2024-09-19T14:31:24.940Z] Connecting to iotech.jfrog.io (54.73.4.50:443) [2024-09-19T14:31:25.527Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-09-19T14:31:25.527Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-09-19T14:31:25.527Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-09-19T14:31:26.107Z] Removing intermediate container f17e011bc3fe [2024-09-19T14:31:26.107Z] ---> 385145a4e780 [2024-09-19T14:31:26.107Z] Step 5/18 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-09-19T14:31:26.107Z] ---> Running in c90a8a204f17 [2024-09-19T14:31:27.517Z] Removing intermediate container c90a8a204f17 [2024-09-19T14:31:27.517Z] ---> bbdf01a31cbb [2024-09-19T14:31:27.517Z] Step 6/18 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml-dev curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev libcbor-dev iotech-paho-mqtt-c-dev-1.3 hiredis-dev iotech-iot-1.5-dev dumb-init && mkdir -p /edgex-c-sdk/build [2024-09-19T14:31:27.784Z] ---> Running in 89b81699c437 [2024-09-19T14:31:28.740Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-09-19T14:31:29.006Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-09-19T14:31:29.589Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz [2024-09-19T14:31:30.165Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-09-19T14:31:30.165Z] (1/11) Installing iotech-iot-1.5-dev (1.5.4-r2) [2024-09-19T14:31:30.743Z] (2/11) Installing libcbor-dev (0.10.2-r1) [2024-09-19T14:31:30.743Z] (3/11) Installing libmenuw (6.4_p20230506-r0) [2024-09-19T14:31:30.743Z] (4/11) Installing libpanelw (6.4_p20230506-r0) [2024-09-19T14:31:30.743Z] (5/11) Installing libncurses++ (6.4_p20230506-r0) [2024-09-19T14:31:30.743Z] (6/11) Installing ncurses-dev (6.4_p20230506-r0) [2024-09-19T14:31:30.743Z] (7/11) Installing libblkid (2.38.1-r8) [2024-09-19T14:31:30.743Z] (8/11) Installing libfdisk (2.38.1-r8) [2024-09-19T14:31:30.743Z] (9/11) Installing libmount (2.38.1-r8) [2024-09-19T14:31:30.743Z] (10/11) Installing libsmartcols (2.38.1-r8) [2024-09-19T14:31:30.743Z] (11/11) Installing util-linux-dev (2.38.1-r8) [2024-09-19T14:31:30.743Z] Executing busybox-1.36.1-r7.trigger [2024-09-19T14:31:30.743Z] OK: 334 MiB in 101 packages [2024-09-19T14:31:32.160Z] Removing intermediate container 89b81699c437 [2024-09-19T14:31:32.160Z] ---> b93f9b001e99 [2024-09-19T14:31:32.160Z] Step 7/18 : RUN apk --no-cache upgrade [2024-09-19T14:31:32.160Z] ---> Running in 8ebd46075a09 [2024-09-19T14:31:33.114Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-09-19T14:31:33.378Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-09-19T14:31:33.956Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz [2024-09-19T14:31:34.537Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-09-19T14:31:34.537Z] OK: 334 MiB in 101 packages [2024-09-19T14:31:35.497Z] Removing intermediate container 8ebd46075a09 [2024-09-19T14:31:35.497Z] ---> 57a46040fa6b [2024-09-19T14:31:35.497Z] Step 8/18 : COPY VERSION /edgex-c-sdk/ [2024-09-19T14:31:36.093Z] ---> 0c4bfaf5332e [2024-09-19T14:31:36.093Z] Step 9/18 : COPY src /edgex-c-sdk/src/ [2024-09-19T14:31:37.051Z] ---> f237adba7353 [2024-09-19T14:31:37.051Z] Step 10/18 : COPY include /edgex-c-sdk/include/ [2024-09-19T14:31:37.332Z] ---> 9a09ad12e60d [2024-09-19T14:31:37.332Z] Step 11/18 : COPY scripts /edgex-c-sdk/scripts [2024-09-19T14:31:37.915Z] ---> 464440afae73 [2024-09-19T14:31:37.915Z] Step 12/18 : COPY LICENSE /edgex-c-sdk/ [2024-09-19T14:31:38.195Z] ---> 1e73fff0d18e [2024-09-19T14:31:38.195Z] Step 13/18 : COPY Attribution.txt /edgex-c-sdk/ [2024-09-19T14:31:38.780Z] ---> e675225070b5 [2024-09-19T14:31:38.780Z] Step 14/18 : WORKDIR /edgex-c-sdk [2024-09-19T14:31:38.780Z] ---> Running in 871b4bb23c85 [2024-09-19T14:31:39.047Z] Removing intermediate container 871b4bb23c85 [2024-09-19T14:31:39.047Z] ---> 384f21d8f713 [2024-09-19T14:31:39.047Z] Step 15/18 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2024-09-19T14:31:39.314Z] ---> Running in 5b51d296a5b1 [2024-09-19T14:31:39.582Z] Removing intermediate container 5b51d296a5b1 [2024-09-19T14:31:39.582Z] ---> bb05c8375579 [2024-09-19T14:31:39.582Z] Step 16/18 : LABEL arch=arm64 [2024-09-19T14:31:39.582Z] ---> Running in 02e4e255e8d9 [2024-09-19T14:31:39.849Z] Removing intermediate container 02e4e255e8d9 [2024-09-19T14:31:39.849Z] ---> 96e59c3e1a07 [2024-09-19T14:31:39.849Z] Step 17/18 : LABEL git_sha=30a24dda2410b85b52167bc1398eb9d9a2b4959b [2024-09-19T14:31:39.849Z] ---> Running in 0e2be8fb67ec [2024-09-19T14:31:40.117Z] Removing intermediate container 0e2be8fb67ec [2024-09-19T14:31:40.117Z] ---> e9e845820e4c [2024-09-19T14:31:40.117Z] Step 18/18 : LABEL version=3.0.3-dev.16 [2024-09-19T14:31:40.384Z] ---> Running in cfd92acce482 [2024-09-19T14:31:40.651Z] Removing intermediate container cfd92acce482 [2024-09-19T14:31:40.651Z] ---> 7bc3161e63f3 [2024-09-19T14:31:40.651Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2024-09-19T14:31:40.651Z] Successfully built 7bc3161e63f3 [2024-09-19T14:31:40.651Z] Successfully tagged device-sdk-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-19T14:31:41.154Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-09-19T14:31:41.154Z] [2024-09-19T14:31:41.154Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-19T14:31:41.492Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-09-19T14:31:41.492Z] arm64: Pulling from edgex-lftools-log-publisher [2024-09-19T14:31:41.492Z] 8998bd30e6a1: Pulling fs layer [2024-09-19T14:31:41.492Z] 04944245beec: Pulling fs layer [2024-09-19T14:31:41.492Z] 699f458cf7ca: Pulling fs layer [2024-09-19T14:31:41.492Z] 765212b225bb: Pulling fs layer [2024-09-19T14:31:41.492Z] f23df028b6ca: Pulling fs layer [2024-09-19T14:31:41.492Z] d65c8cfc05b1: Pulling fs layer [2024-09-19T14:31:41.492Z] 2437ff75d9bd: Pulling fs layer [2024-09-19T14:31:41.492Z] f23df028b6ca: Waiting [2024-09-19T14:31:41.492Z] d65c8cfc05b1: Waiting [2024-09-19T14:31:41.492Z] 765212b225bb: Waiting [2024-09-19T14:31:41.492Z] 2437ff75d9bd: Waiting [2024-09-19T14:31:41.760Z] 04944245beec: Verifying Checksum [2024-09-19T14:31:41.760Z] 04944245beec: Download complete [2024-09-19T14:31:41.760Z] 765212b225bb: Verifying Checksum [2024-09-19T14:31:41.760Z] 765212b225bb: Download complete [2024-09-19T14:31:41.760Z] f23df028b6ca: Download complete [2024-09-19T14:31:41.760Z] d65c8cfc05b1: Verifying Checksum [2024-09-19T14:31:41.760Z] d65c8cfc05b1: Download complete [2024-09-19T14:31:42.027Z] 699f458cf7ca: Verifying Checksum [2024-09-19T14:31:42.027Z] 699f458cf7ca: Download complete [2024-09-19T14:31:42.306Z] 8998bd30e6a1: Verifying Checksum [2024-09-19T14:31:42.306Z] 8998bd30e6a1: Download complete [2024-09-19T14:31:44.890Z] 2437ff75d9bd: Verifying Checksum [2024-09-19T14:31:44.890Z] 2437ff75d9bd: Download complete [2024-09-19T14:31:46.829Z] 8998bd30e6a1: Pull complete [2024-09-19T14:31:47.411Z] 04944245beec: Pull complete [2024-09-19T14:31:48.813Z] 699f458cf7ca: Pull complete [2024-09-19T14:31:48.813Z] 765212b225bb: Pull complete [2024-09-19T14:31:49.769Z] f23df028b6ca: Pull complete [2024-09-19T14:31:50.035Z] d65c8cfc05b1: Pull complete [2024-09-19T14:32:08.231Z] 2437ff75d9bd: Pull complete [2024-09-19T14:32:08.231Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-09-19T14:32:08.231Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-09-19T14:32:08.231Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-09-19T14:32:08.443Z] prd-ubuntu20.04-docker-arm64-4c-16g-10694 does not seem to be running inside a container [2024-09-19T14:32:08.523Z] $ 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/device-sdk-c/76 -v /w/workspace/device-sdk-c/76:/w/workspace/device-sdk-c/76:rw,z -v /w/workspace/device-sdk-c/76@tmp:/w/workspace/device-sdk-c/76@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2024-09-19T14:32:11.115Z] $ docker top 1970ce2246b99af412aa1c049bb2c5efc0020cf3db2e798229ee8315b47dff2a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-09-19T14:32:11.954Z] ---> job-cost.sh [2024-09-19T14:32:11.954Z] lf-activate-venv: SKIPPING [2024-09-19T14:32:11.954Z] INFO: No Stack... [2024-09-19T14:32:12.219Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-09-19T14:32:13.174Z] INFO: Archiving Costs [Pipeline] sh [2024-09-19T14:32:13.810Z] + cat /w/workspace/device-sdk-c/76/archives/cost.csv [2024-09-19T14:32:13.810Z] + cut -d, -f6 [Pipeline] lock [2024-09-19T14:32:13.869Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-c-main-76-stack-cost] [2024-09-19T14:32:13.881Z] Resource [jenkins-edgexfoundry-device-sdk-c-main-76-stack-cost] did not exist. Created. [2024-09-19T14:32:13.888Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-c-main-76-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-09-19T14:32:14.555Z] /w/workspace/device-sdk-c/76@tmp/durable-91973973/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-09-19T14:32:15.191Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-09-19T14:32:15.224Z] Warning: overwriting stash ‘stack-cost’ [2024-09-19T14:32:15.707Z] Stashed 1 file(s) [Pipeline] } [2024-09-19T14:32:15.716Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-c-main-76-stack-cost] [Pipeline] // lock [Pipeline] } [2024-09-19T14:32:15.747Z] $ docker stop --time=1 1970ce2246b99af412aa1c049bb2c5efc0020cf3db2e798229ee8315b47dff2a [2024-09-19T14:32:17.224Z] $ docker rm -f --volumes 1970ce2246b99af412aa1c049bb2c5efc0020cf3db2e798229ee8315b47dff2a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] unstash [Pipeline] sh [2024-09-19T14:32:17.965Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-09-19T14:32:17.965Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-19T14:32:18.273Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-09-19T14:32:18.273Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-09-19T14:32:18.355Z] prd-ubuntu20.04-docker-8c-8g-10693 does not seem to be running inside a container [2024-09-19T14:32:18.385Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-09-19T14:32:18.715Z] $ docker top 9fa392664848b8f3564ad23db6551cb8c4d26c0bc559b730abdf3618d7624e21 -eo pid,comm [2024-09-19T14:32:18.764Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2024-09-19T14:32:18.764Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-09-19T14:32:18.819Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-09-19T14:32:18.819Z] [ssh-agent] Looking for ssh-agent implementation... [2024-09-19T14:32:18.921Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-09-19T14:32:18.922Z] $ docker exec 9fa392664848b8f3564ad23db6551cb8c4d26c0bc559b730abdf3618d7624e21 ssh-agent [2024-09-19T14:32:19.021Z] SSH_AUTH_SOCK=/tmp/ssh-3eoxbQN6JlgC/agent.33 [2024-09-19T14:32:19.021Z] SSH_AGENT_PID=39 [2024-09-19T14:32:19.026Z] Running ssh-add (command line suppressed) [2024-09-19T14:32:19.116Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_7028834784266210817.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_7028834784266210817.key) [2024-09-19T14:32:19.130Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-09-19T14:32:19.423Z] + git semver tag [2024-09-19T14:32:19.683Z] 2024-09-19 14:32:19,603 [run_tag] DEBUG tag force:False [2024-09-19T14:32:19.683Z] 2024-09-19 14:32:19,603 [check_head_tag] DEBUG check head tag [2024-09-19T14:32:19.683Z] 2024-09-19 14:32:19,604 [execute] INFO git cat-file --batch-check [2024-09-19T14:32:19.683Z] 2024-09-19 14:32:19,604 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main, universal_newlines=False, shell=None, istream=) [2024-09-19T14:32:19.683Z] 2024-09-19 14:32:19,608 [execute] INFO git cat-file --batch [2024-09-19T14:32:19.683Z] 2024-09-19 14:32:19,608 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main, universal_newlines=False, shell=None, istream=) [2024-09-19T14:32:19.683Z] 2024-09-19 14:32:19,624 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2024-09-19T14:32:19.683Z] 2024-09-19 14:32:19,624 [execute] INFO git tag -a v3.0.3-dev.16 -m v3.0.3-dev.16 [2024-09-19T14:32:19.683Z] 2024-09-19 14:32:19,625 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.3-dev.16', '-m', 'v3.0.3-dev.16'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main, universal_newlines=False, shell=None, istream=None) [2024-09-19T14:32:19.683Z] 2024-09-19 14:32:19,629 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2024-09-19T14:32:19.683Z] 3.0.3-dev.16 [Pipeline] } [2024-09-19T14:32:19.690Z] $ docker exec --env ******** --env ******** 9fa392664848b8f3564ad23db6551cb8c4d26c0bc559b730abdf3618d7624e21 ssh-agent -k [2024-09-19T14:32:19.788Z] unset SSH_AUTH_SOCK; [2024-09-19T14:32:19.789Z] unset SSH_AGENT_PID; [2024-09-19T14:32:19.789Z] echo Agent pid 39 killed; [2024-09-19T14:32:19.798Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-09-19T14:32:20.121Z] + git semver [Pipeline] } [2024-09-19T14:32:20.390Z] $ docker stop --time=1 9fa392664848b8f3564ad23db6551cb8c4d26c0bc559b730abdf3618d7624e21 [2024-09-19T14:32:21.687Z] $ docker rm -f --volumes 9fa392664848b8f3564ad23db6551cb8c4d26c0bc559b730abdf3618d7624e21 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-19T14:32:22.091Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2024-09-19T14:32:22.091Z] [2024-09-19T14:32:22.091Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-19T14:32:22.400Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2024-09-19T14:32:22.400Z] 0.23.1-centos7: Pulling from edgex-lftools [2024-09-19T14:32:22.400Z] ab5ef0e58194: Pulling fs layer [2024-09-19T14:32:22.400Z] 9712f1f96733: Pulling fs layer [2024-09-19T14:32:22.400Z] 63f879dbbcfc: Pulling fs layer [2024-09-19T14:32:22.400Z] 0d9ebad4ef96: Pulling fs layer [2024-09-19T14:32:22.400Z] e9a5061849ea: Pulling fs layer [2024-09-19T14:32:22.400Z] d747dcd14b5f: Pulling fs layer [2024-09-19T14:32:22.400Z] 2de7ff778b66: Pulling fs layer [2024-09-19T14:32:22.400Z] 0d9ebad4ef96: Waiting [2024-09-19T14:32:22.400Z] e9a5061849ea: Waiting [2024-09-19T14:32:22.400Z] d747dcd14b5f: Waiting [2024-09-19T14:32:22.400Z] 2de7ff778b66: Waiting [2024-09-19T14:32:22.400Z] 9712f1f96733: Verifying Checksum [2024-09-19T14:32:22.400Z] 9712f1f96733: Download complete [2024-09-19T14:32:22.686Z] 63f879dbbcfc: Verifying Checksum [2024-09-19T14:32:22.686Z] 63f879dbbcfc: Download complete [2024-09-19T14:32:22.946Z] 0d9ebad4ef96: Verifying Checksum [2024-09-19T14:32:22.946Z] 0d9ebad4ef96: Download complete [2024-09-19T14:32:22.946Z] e9a5061849ea: Verifying Checksum [2024-09-19T14:32:22.946Z] e9a5061849ea: Download complete [2024-09-19T14:32:22.946Z] d747dcd14b5f: Verifying Checksum [2024-09-19T14:32:22.946Z] d747dcd14b5f: Download complete [2024-09-19T14:32:22.946Z] ab5ef0e58194: Download complete [2024-09-19T14:32:23.206Z] 2de7ff778b66: Verifying Checksum [2024-09-19T14:32:23.206Z] 2de7ff778b66: Download complete [2024-09-19T14:32:25.736Z] ab5ef0e58194: Pull complete [2024-09-19T14:32:25.736Z] 9712f1f96733: Pull complete [2024-09-19T14:32:26.304Z] 63f879dbbcfc: Pull complete [2024-09-19T14:32:30.497Z] 0d9ebad4ef96: Pull complete [2024-09-19T14:32:30.497Z] e9a5061849ea: Pull complete [2024-09-19T14:32:30.497Z] d747dcd14b5f: Pull complete [2024-09-19T14:32:31.433Z] 2de7ff778b66: Pull complete [2024-09-19T14:32:31.433Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2024-09-19T14:32:31.433Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2024-09-19T14:32:31.433Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-09-19T14:32:31.545Z] prd-ubuntu20.04-docker-8c-8g-10693 does not seem to be running inside a container [2024-09-19T14:32:31.579Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2024-09-19T14:32:38.242Z] $ docker top bf3e62066343cf0508cc9a23d08934b44b42d16143e3bf09b62aad83ccbc977c -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2024-09-19T14:32:38.317Z] provisioning config files... [2024-09-19T14:32:38.325Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config14576480727199542217tmp [2024-09-19T14:32:38.335Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config14356341273786961844tmp [2024-09-19T14:32:38.343Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config7180057663671594212tmp [Pipeline] { [Pipeline] echo [2024-09-19T14:32:38.374Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2024-09-19T14:32:38.669Z] ---> sigul-configuration.sh [2024-09-19T14:32:38.669Z] gpg: directory `/root/.gnupg' created [2024-09-19T14:32:38.669Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2024-09-19T14:32:38.669Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2024-09-19T14:32:38.669Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2024-09-19T14:32:38.669Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2024-09-19T14:32:38.669Z] gpg: CAST5 encrypted data [2024-09-19T14:32:38.669Z] gpg: encrypted with 1 passphrase [2024-09-19T14:32:38.669Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2024-09-19T14:32:38.964Z] + mkdir /home/jenkins [2024-09-19T14:32:38.964Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2024-09-19T14:32:39.263Z] + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo [2024-09-19T14:32:39.276Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2024-09-19T14:32:39.566Z] ---> sigul-install.sh [2024-09-19T14:32:39.567Z] Sigul already installed; skipping installation. [Pipeline] sh [2024-09-19T14:32:39.859Z] + git tag --list [2024-09-19T14:32:39.859Z] 0.7.0 [2024-09-19T14:32:39.859Z] 0.7.1 [2024-09-19T14:32:39.859Z] 1.0.0 [2024-09-19T14:32:39.859Z] v1.0.1 [2024-09-19T14:32:39.859Z] v1.0.2 [2024-09-19T14:32:39.859Z] v1.0.3 [2024-09-19T14:32:39.859Z] v1.1.0 [2024-09-19T14:32:39.859Z] v1.1.1 [2024-09-19T14:32:39.859Z] v1.2.0 [2024-09-19T14:32:39.859Z] v1.2.1 [2024-09-19T14:32:39.859Z] v1.2.2 [2024-09-19T14:32:39.859Z] v1.3.0 [2024-09-19T14:32:39.859Z] v1.3.1 [2024-09-19T14:32:39.859Z] v2.0.0 [2024-09-19T14:32:39.859Z] v2.1.0 [2024-09-19T14:32:39.859Z] v2.2.0 [2024-09-19T14:32:39.859Z] v2.3.0 [2024-09-19T14:32:39.859Z] v3.0 [2024-09-19T14:32:39.859Z] v3.0.0 [2024-09-19T14:32:39.859Z] v3.0.1 [2024-09-19T14:32:39.859Z] v3.0.2 [2024-09-19T14:32:39.859Z] v3.0.3-dev.1 [2024-09-19T14:32:39.859Z] v3.0.3-dev.10 [2024-09-19T14:32:39.859Z] v3.0.3-dev.11 [2024-09-19T14:32:39.859Z] v3.0.3-dev.12 [2024-09-19T14:32:39.859Z] v3.0.3-dev.13 [2024-09-19T14:32:39.859Z] v3.0.3-dev.14 [2024-09-19T14:32:39.859Z] v3.0.3-dev.15 [2024-09-19T14:32:39.859Z] v3.0.3-dev.16 [2024-09-19T14:32:39.859Z] v3.0.3-dev.2 [2024-09-19T14:32:39.859Z] v3.0.3-dev.3 [2024-09-19T14:32:39.859Z] v3.0.3-dev.4 [2024-09-19T14:32:39.859Z] v3.0.3-dev.5 [2024-09-19T14:32:39.859Z] v3.0.3-dev.6 [2024-09-19T14:32:39.859Z] v3.0.3-dev.7 [2024-09-19T14:32:39.859Z] v3.0.3-dev.8 [2024-09-19T14:32:39.859Z] v3.0.3-dev.9 [2024-09-19T14:32:39.859Z] v3.1 [2024-09-19T14:32:39.859Z] v3.1.0 [2024-09-19T14:32:39.859Z] v3.1.0-dev.1 [2024-09-19T14:32:39.859Z] v3.1.0-dev.2 [2024-09-19T14:32:39.859Z] v3.1.0-dev.3 [2024-09-19T14:32:39.859Z] v3.1.0-dev.4 [2024-09-19T14:32:39.859Z] v3.1.0-dev.5 [2024-09-19T14:32:39.859Z] v3.1.0-dev.6 [2024-09-19T14:32:39.859Z] v3.1.0-dev.7 [2024-09-19T14:32:39.859Z] v3.1.0-dev.8 [2024-09-19T14:32:39.859Z] v3.1.0-dev.9 [2024-09-19T14:32:39.859Z] v3.1.1 [2024-09-19T14:32:39.859Z] v3.1.1-dev.1 [Pipeline] sh [2024-09-19T14:32:40.179Z] + lftools sign git-tag v3.0.3-dev.16 [2024-09-19T14:32:40.747Z] Signing Git tag with Sigul... [2024-09-19T14:32:40.747Z] Signing v3.0.3-dev.16 [Pipeline] echo [2024-09-19T14:32:41.032Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2024-09-19T14:32:41.404Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2024-09-19T14:32:41.412Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2024-09-19T14:32:41.441Z] $ docker stop --time=1 bf3e62066343cf0508cc9a23d08934b44b42d16143e3bf09b62aad83ccbc977c [2024-09-19T14:32:42.705Z] $ docker rm -f --volumes bf3e62066343cf0508cc9a23d08934b44b42d16143e3bf09b62aad83ccbc977c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2024-09-19T14:32:43.173Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-09-19T14:32:43.173Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-19T14:32:43.479Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-09-19T14:32:43.479Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-09-19T14:32:43.559Z] prd-ubuntu20.04-docker-8c-8g-10693 does not seem to be running inside a container [2024-09-19T14:32:43.587Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-09-19T14:32:43.911Z] $ docker top 3919c66eb2ae562a7887972da7999faf264fd1e7ff89e6dfff582c900e6e1ee6 -eo pid,comm [2024-09-19T14:32:43.965Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2024-09-19T14:32:43.965Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-09-19T14:32:44.016Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-09-19T14:32:44.016Z] [ssh-agent] Looking for ssh-agent implementation... [2024-09-19T14:32:44.134Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-09-19T14:32:44.135Z] $ docker exec 3919c66eb2ae562a7887972da7999faf264fd1e7ff89e6dfff582c900e6e1ee6 ssh-agent [2024-09-19T14:32:44.249Z] SSH_AUTH_SOCK=/tmp/ssh-Zch5uwj7jD7Y/agent.32 [2024-09-19T14:32:44.249Z] SSH_AGENT_PID=38 [2024-09-19T14:32:44.254Z] Running ssh-add (command line suppressed) [2024-09-19T14:32:44.355Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_13740904562991280424.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_13740904562991280424.key) [2024-09-19T14:32:44.371Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-09-19T14:32:44.665Z] + git semver bump pre [2024-09-19T14:32:44.925Z] 2024-09-19 14:32:44,827 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2024-09-19T14:32:44.925Z] 2024-09-19 14:32:44,827 [bump_version] DEBUG bumping version:3.0.3-dev.16 on axis:pre with prefix:dev [2024-09-19T14:32:44.925Z] 2024-09-19 14:32:44,827 [bump_version] DEBUG bumped version:3.0.3-dev.17 [2024-09-19T14:32:44.925Z] 2024-09-19 14:32:44,827 [write_version] DEBUG write version:3.0.3-dev.17 to path:/w/workspace/edgexfoundry_device-sdk-c_main/.semver/main with force:True [2024-09-19T14:32:44.925Z] 2024-09-19 14:32:44,827 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2024-09-19T14:32:44.926Z] 2024-09-19 14:32:44,827 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2024-09-19T14:32:44.926Z] 2024-09-19 14:32:44,830 [execute] INFO git cat-file --batch-check [2024-09-19T14:32:44.926Z] 2024-09-19 14:32:44,830 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=False, shell=None, istream=) [2024-09-19T14:32:44.926Z] 2024-09-19 14:32:44,834 [execute] INFO git cat-file --batch [2024-09-19T14:32:44.926Z] 2024-09-19 14:32:44,835 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=False, shell=None, istream=) [2024-09-19T14:32:44.926Z] 2024-09-19 14:32:44,838 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2024-09-19T14:32:44.926Z] 3.0.3-dev.17 [Pipeline] } [2024-09-19T14:32:44.933Z] $ docker exec --env ******** --env ******** 3919c66eb2ae562a7887972da7999faf264fd1e7ff89e6dfff582c900e6e1ee6 ssh-agent -k [2024-09-19T14:32:45.025Z] unset SSH_AUTH_SOCK; [2024-09-19T14:32:45.025Z] unset SSH_AGENT_PID; [2024-09-19T14:32:45.025Z] echo Agent pid 38 killed; [2024-09-19T14:32:45.037Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-09-19T14:32:45.359Z] + git semver [Pipeline] } [2024-09-19T14:32:45.629Z] $ docker stop --time=1 3919c66eb2ae562a7887972da7999faf264fd1e7ff89e6dfff582c900e6e1ee6 [2024-09-19T14:32:46.918Z] $ docker rm -f --volumes 3919c66eb2ae562a7887972da7999faf264fd1e7ff89e6dfff582c900e6e1ee6 [Pipeline] // withDockerContainer [Pipeline] sh [2024-09-19T14:32:47.276Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-09-19T14:32:47.276Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-19T14:32:47.588Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-09-19T14:32:47.588Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-09-19T14:32:47.667Z] prd-ubuntu20.04-docker-8c-8g-10693 does not seem to be running inside a container [2024-09-19T14:32:47.699Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-09-19T14:32:48.022Z] $ docker top 393478ded08d83ec51d62d664c53dddfd886262f49daac2eef3db2ec047ad57a -eo pid,comm [2024-09-19T14:32:48.069Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2024-09-19T14:32:48.069Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-09-19T14:32:48.134Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-09-19T14:32:48.134Z] [ssh-agent] Looking for ssh-agent implementation... [2024-09-19T14:32:48.229Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-09-19T14:32:48.230Z] $ docker exec 393478ded08d83ec51d62d664c53dddfd886262f49daac2eef3db2ec047ad57a ssh-agent [2024-09-19T14:32:48.335Z] SSH_AUTH_SOCK=/tmp/ssh-CzoiwVLx9NuZ/agent.32 [2024-09-19T14:32:48.335Z] SSH_AGENT_PID=38 [2024-09-19T14:32:48.340Z] Running ssh-add (command line suppressed) [2024-09-19T14:32:48.433Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_11833000182991862460.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_11833000182991862460.key) [2024-09-19T14:32:48.448Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-09-19T14:32:48.740Z] + git semver push [2024-09-19T14:32:48.998Z] 2024-09-19 14:32:48,912 [run_push] DEBUG push [2024-09-19T14:32:48.998Z] 2024-09-19 14:32:48,912 [execute] INFO git cat-file --batch-check [2024-09-19T14:32:48.998Z] 2024-09-19 14:32:48,913 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=False, shell=None, istream=) [2024-09-19T14:32:48.998Z] 2024-09-19 14:32:48,916 [execute] INFO git rev-list abe837aa8d9e51b2f0463d6a14564ca6a5598494 -- [2024-09-19T14:32:48.998Z] 2024-09-19 14:32:48,916 [execute] DEBUG Popen(['git', 'rev-list', 'abe837aa8d9e51b2f0463d6a14564ca6a5598494', '--'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=False, shell=None, istream=None) [2024-09-19T14:32:48.998Z] 2024-09-19 14:32:48,924 [execute] INFO git fetch -v origin [2024-09-19T14:32:48.998Z] 2024-09-19 14:32:48,924 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=True, shell=None, istream=None) [2024-09-19T14:32:49.564Z] 2024-09-19 14:32:49,377 [run_push] DEBUG no remote changes detected [2024-09-19T14:32:49.564Z] 2024-09-19 14:32:49,377 [execute] INFO git push origin semver [2024-09-19T14:32:49.564Z] 2024-09-19 14:32:49,378 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=False, shell=None, istream=None) [2024-09-19T14:32:50.132Z] 2024-09-19 14:32:49,979 [run_push] DEBUG push all version tags [2024-09-19T14:32:50.132Z] 2024-09-19 14:32:49,979 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2024-09-19T14:32:50.132Z] 2024-09-19 14:32:49,980 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main, universal_newlines=False, shell=None, istream=None) [2024-09-19T14:32:50.699Z] 2024-09-19 14:32:50,554 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2024-09-19T14:32:50.699Z] 3.0.3-dev.17 [Pipeline] } [2024-09-19T14:32:50.706Z] $ docker exec --env ******** --env ******** 393478ded08d83ec51d62d664c53dddfd886262f49daac2eef3db2ec047ad57a ssh-agent -k [2024-09-19T14:32:50.812Z] unset SSH_AUTH_SOCK; [2024-09-19T14:32:50.812Z] unset SSH_AGENT_PID; [2024-09-19T14:32:50.812Z] echo Agent pid 38 killed; [2024-09-19T14:32:50.827Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-09-19T14:32:51.160Z] + git semver [Pipeline] } [2024-09-19T14:32:51.429Z] $ docker stop --time=1 393478ded08d83ec51d62d664c53dddfd886262f49daac2eef3db2ec047ad57a [2024-09-19T14:32:52.714Z] $ docker rm -f --volumes 393478ded08d83ec51d62d664c53dddfd886262f49daac2eef3db2ec047ad57a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2024-09-19T14:32:53.259Z] + [ -d /w/workspace/edgexfoundry_device-sdk-c_main/archives ] [2024-09-19T14:32:53.259Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_main/archives [2024-09-19T14:32:53.259Z] total 16 [2024-09-19T14:32:53.259Z] drwxr-xr-x 3 root root 4096 Sep 19 14:27 . [2024-09-19T14:32:53.259Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 19 14:32 .. [2024-09-19T14:32:53.259Z] drwxr-xr-x 2 root root 4096 Sep 19 14:27 cost [2024-09-19T14:32:53.259Z] -rw-r--r-- 1 root root 83 Sep 19 14:27 cost.csv [2024-09-19T14:32:53.259Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_main/archives [2024-09-19T14:32:53.259Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_main/archives [2024-09-19T14:32:53.259Z] total 16 [2024-09-19T14:32:53.259Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 19 14:27 . [2024-09-19T14:32:53.259Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 19 14:32 .. [2024-09-19T14:32:53.259Z] drwxr-xr-x 2 jenkins jenkins 4096 Sep 19 14:27 cost [2024-09-19T14:32:53.259Z] -rw-r--r-- 1 jenkins jenkins 83 Sep 19 14:27 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-09-19T14:32:53.559Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-09-19T14:32:54.417Z] ---> package-listing.sh [2024-09-19T14:32:54.417Z] ++ facter osfamily [2024-09-19T14:32:54.417Z] ++ tr '[:upper:]' '[:lower:]' [2024-09-19T14:32:54.676Z] + OS_FAMILY=debian [2024-09-19T14:32:54.676Z] + workspace=/w/workspace/edgexfoundry_device-sdk-c_main [2024-09-19T14:32:54.676Z] + START_PACKAGES=/tmp/packages_start.txt [2024-09-19T14:32:54.676Z] + END_PACKAGES=/tmp/packages_end.txt [2024-09-19T14:32:54.676Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-09-19T14:32:54.676Z] + PACKAGES=/tmp/packages_start.txt [2024-09-19T14:32:54.676Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_main ']' [2024-09-19T14:32:54.676Z] + PACKAGES=/tmp/packages_end.txt [2024-09-19T14:32:54.676Z] + case "${OS_FAMILY}" in [2024-09-19T14:32:54.676Z] + dpkg -l [2024-09-19T14:32:54.676Z] + grep '^ii' [2024-09-19T14:32:54.676Z] + '[' -f /tmp/packages_start.txt ']' [2024-09-19T14:32:54.676Z] + '[' -f /tmp/packages_end.txt ']' [2024-09-19T14:32:54.676Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-09-19T14:32:54.676Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_main ']' [2024-09-19T14:32:54.676Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_main/archives/ [2024-09-19T14:32:54.676Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_main/archives/ [Pipeline] echo [2024-09-19T14:32:54.688Z] 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_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-09-19T14:32:54.966Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-19T14:32:55.537Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-09-19T14:32:55.537Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-09-19T14:32:55.625Z] prd-ubuntu20.04-docker-8c-8g-10693 does not seem to be running inside a container [2024-09-19T14:32:55.655Z] $ 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_main/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_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-09-19T14:32:55.870Z] $ docker top 34de65e64c105649c531ff57ed70720f928f816ec08097b54206aa3982748108 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-09-19T14:32:56.220Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-09-19T14:32:56.508Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-09-19T14:32:56.795Z] + ls /var/log/sa-host [2024-09-19T14:32:56.795Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-09-19T14:32:56.976Z] provisioning config files... [2024-09-19T14:32:56.985Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config15559924054119774623tmp [Pipeline] { [Pipeline] echo [2024-09-19T14:32:57.005Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-09-19T14:32:57.292Z] ---> create-netrc.sh [Pipeline] } [2024-09-19T14:32:57.299Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-09-19T14:32:57.654Z] ---> python-tools-install.sh [Pipeline] echo [2024-09-19T14:32:57.665Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-09-19T14:32:57.950Z] ---> sudo-logs.sh [2024-09-19T14:32:57.951Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-09-19T14:32:57.985Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-09-19T14:32:58.276Z] ---> job-cost.sh [2024-09-19T14:32:58.276Z] lf-activate-venv: SKIPPING [2024-09-19T14:32:58.276Z] DEBUG: total: 0.2199999988079071 [2024-09-19T14:32:58.276Z] INFO: Retrieving Stack Cost... [2024-09-19T14:32:58.535Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-09-19T14:32:59.104Z] INFO: Archiving Costs [Pipeline] echo [2024-09-19T14:32:59.118Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-09-19T14:32:59.401Z] ---> logs-deploy.sh [2024-09-19T14:32:59.401Z] lf-activate-venv: SKIPPING [2024-09-19T14:32:59.401Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/main/76 [2024-09-19T14:32:59.401Z] INFO: archiving workspace using pattern(s): [2024-09-19T14:33:00.340Z] Archives upload complete. [2024-09-19T14:33:00.340Z] INFO: archiving logs to Nexus