Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from f74adf796a5a2724d03475485970680652a5aba3 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-ssh12484765389850615561.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-ssh11834598052749347056.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 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-ssh16956813577801848752.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 4fc256d9079ed2258907e613f84b1b8da264a4bd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 4fc256d9079ed2258907e613f84b1b8da264a4bd # timeout=10 Commit message: "Merge pull request #430 from ernestojeda/release-lock" > 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-ssh18333581589354055307.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-ssh1997838435926508345.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildCApp] RAW Config: [project:device-sdk-c, dockerBuildFilePath:scripts/Dockerfile.alpine-base, dockerFilePath:scripts/Dockerfile.alpine, pushImage:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildCApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-c-settings PROJECT: device-sdk-c USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build DOCKER_FILE_PATH: scripts/Dockerfile.alpine DOCKER_BUILD_FILE_PATH: scripts/Dockerfile.alpine-base DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-14710 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 f74adf796a5a2724d03475485970680652a5aba3 (main) > 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 f74adf796a5a2724d03475485970680652a5aba3 # timeout=10 Commit message: "refactor: metadata updates via bus not rest" > git rev-list --no-walk 5d59cb35b62932d64514d7317f29c1d7ee9592fa # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-05-09T15:54:24.906Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-05-09T15:54:24.941Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-05-09T15:54:24.966Z] ========================================================= [2023-05-09T15:54:24.966Z] EdgeX Global Pipelines Version Info [2023-05-09T15:54:24.966Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-05-09T15:54:25.678Z] ------------------- [2023-05-09T15:54:25.678Z] stable info: [2023-05-09T15:54:25.678Z] ------------------- [2023-05-09T15:54:25.678Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-05-09T15:54:25.678Z] Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd [2023-05-09T15:54:25.678Z] Message: update stable to v1.0.249 [2023-05-09T15:54:26.250Z] ------------------- [2023-05-09T15:54:26.250Z] experimental info: [2023-05-09T15:54:26.250Z] ------------------- [2023-05-09T15:54:26.250Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-05-09T15:54:26.250Z] Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd [2023-05-09T15:54:26.250Z] Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-05-09T15:54:26.433Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo [2023-05-09T15:54:26.449Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo [2023-05-09T15:54:26.462Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-05-09T15:54:26.478Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-05-09T15:54:26.489Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-05-09T15:54:26.503Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo [2023-05-09T15:54:26.517Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo [2023-05-09T15:54:26.528Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-05-09T15:54:26.538Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-05-09T15:54:26.549Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo [2023-05-09T15:54:26.563Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-05-09T15:54:26.579Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-05-09T15:54:26.591Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-05-09T15:54:26.601Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-05-09T15:54:26.612Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-05-09T15:54:26.623Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-05-09T15:54:26.634Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-05-09T15:54:26.645Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-05-09T15:54:26.657Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-05-09T15:54:26.667Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-05-09T15:54:26.682Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f74adf796a5a2724d03475485970680652a5aba3 [Pipeline] echo [2023-05-09T15:54:26.694Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f74adf7 [Pipeline] echo [2023-05-09T15:54:26.707Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-09T15:54:26.756Z] provisioning config files... [2023-05-09T15:54:26.769Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config5561832708632243178tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-09T15:54:27.069Z] ---> docker-login.sh [2023-05-09T15:54:27.070Z] nexus3.edgexfoundry.org:10001 [2023-05-09T15:54:27.331Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-09T15:54:27.592Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-09T15:54:27.592Z] Configure a credential helper to remove this warning. See [2023-05-09T15:54:27.592Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-09T15:54:27.592Z] [2023-05-09T15:54:27.592Z] Login Succeeded [2023-05-09T15:54:27.592Z] nexus3.edgexfoundry.org:10002 [2023-05-09T15:54:27.592Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-09T15:54:27.592Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-09T15:54:27.592Z] Configure a credential helper to remove this warning. See [2023-05-09T15:54:27.592Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-09T15:54:27.592Z] [2023-05-09T15:54:27.592Z] Login Succeeded [2023-05-09T15:54:27.592Z] nexus3.edgexfoundry.org:10003 [2023-05-09T15:54:27.592Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-09T15:54:27.853Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-09T15:54:27.853Z] Configure a credential helper to remove this warning. See [2023-05-09T15:54:27.853Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-09T15:54:27.853Z] [2023-05-09T15:54:27.853Z] Login Succeeded [2023-05-09T15:54:27.853Z] nexus3.edgexfoundry.org:10004 [2023-05-09T15:54:27.853Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-09T15:54:27.853Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-09T15:54:27.853Z] Configure a credential helper to remove this warning. See [2023-05-09T15:54:27.853Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-09T15:54:27.853Z] [2023-05-09T15:54:27.853Z] Login Succeeded [2023-05-09T15:54:27.853Z] docker.io [2023-05-09T15:54:27.853Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-09T15:54:28.114Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-09T15:54:28.114Z] Configure a credential helper to remove this warning. See [2023-05-09T15:54:28.114Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-09T15:54:28.115Z] [2023-05-09T15:54:28.115Z] Login Succeeded [2023-05-09T15:54:28.115Z] ---> docker-login.sh ends [Pipeline] } [2023-05-09T15:54:28.123Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build LTS Release Image) [Pipeline] sh [2023-05-09T15:54:28.509Z] + git rev-list -1 --merges f74adf796a5a2724d03475485970680652a5aba3~1..f74adf796a5a2724d03475485970680652a5aba3 [Pipeline] echo [2023-05-09T15:54:28.565Z] -----------> git rev-list -1 --merges f74adf796a5a2724d03475485970680652a5aba3~1..f74adf796a5a2724d03475485970680652a5aba3 f74adf796a5a2724d03475485970680652a5aba3 [false] [Pipeline] sh [2023-05-09T15:54:28.853Z] + git log --format=format:%s -1 f74adf796a5a2724d03475485970680652a5aba3 [Pipeline] echo [2023-05-09T15:54:28.877Z] ========================================================= [2023-05-09T15:54:28.877Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-05-09T15:54:28.877Z] ========================================================= Stage "Build LTS Release Image" skipped due to when conditional [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) Stage "amd64" skipped due to when conditional [Pipeline] } Stage "arm64" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] // stage [Pipeline] } [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-05-09T15:54:29.251Z] + git rev-list -1 --merges f74adf796a5a2724d03475485970680652a5aba3~1..f74adf796a5a2724d03475485970680652a5aba3 [Pipeline] echo [2023-05-09T15:54:29.262Z] -----------> git rev-list -1 --merges f74adf796a5a2724d03475485970680652a5aba3~1..f74adf796a5a2724d03475485970680652a5aba3 f74adf796a5a2724d03475485970680652a5aba3 [false] [Pipeline] sh [2023-05-09T15:54:29.550Z] + git log --format=format:%s -1 f74adf796a5a2724d03475485970680652a5aba3 [Pipeline] echo [2023-05-09T15:54:29.563Z] ========================================================= [2023-05-09T15:54:29.563Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-05-09T15:54:29.563Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh [2023-05-09T15:54:29.919Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-05-09T15:54:29.919Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-05-09T15:54:29.919Z] + [ -e /tmp/ssh_known_hosts ] [2023-05-09T15:54:29.919Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-05-09T15:54:29.919Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-05-09T15:54:29.919Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-05-09T15:54:29.919Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-09T15:54:30.261Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-09T15:54:30.261Z] [2023-05-09T15:54:30.261Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-09T15:54:30.561Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-09T15:54:30.561Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-05-09T15:54:30.561Z] b85a868b505f: Pulling fs layer [2023-05-09T15:54:30.561Z] e2be974225ed: Pulling fs layer [2023-05-09T15:54:30.561Z] 339a4e72a1f5: Pulling fs layer [2023-05-09T15:54:30.561Z] 988bab9f4d93: Pulling fs layer [2023-05-09T15:54:30.561Z] 1469e6f7b9e6: Pulling fs layer [2023-05-09T15:54:30.561Z] eaf3925da568: Pulling fs layer [2023-05-09T15:54:30.561Z] bab4dde63d76: Pulling fs layer [2023-05-09T15:54:30.561Z] bde34c3a00c8: Pulling fs layer [2023-05-09T15:54:30.561Z] b352a97aabf1: Pulling fs layer [2023-05-09T15:54:30.561Z] 4872d77fe225: Pulling fs layer [2023-05-09T15:54:30.561Z] 5851b861e8e6: Pulling fs layer [2023-05-09T15:54:30.561Z] 988bab9f4d93: Waiting [2023-05-09T15:54:30.561Z] 1469e6f7b9e6: Waiting [2023-05-09T15:54:30.561Z] eaf3925da568: Waiting [2023-05-09T15:54:30.561Z] bab4dde63d76: Waiting [2023-05-09T15:54:30.561Z] bde34c3a00c8: Waiting [2023-05-09T15:54:30.561Z] b352a97aabf1: Waiting [2023-05-09T15:54:30.561Z] 4872d77fe225: Waiting [2023-05-09T15:54:30.561Z] 5851b861e8e6: Waiting [2023-05-09T15:54:30.561Z] e2be974225ed: Download complete [2023-05-09T15:54:30.561Z] 988bab9f4d93: Verifying Checksum [2023-05-09T15:54:30.561Z] 988bab9f4d93: Download complete [2023-05-09T15:54:30.561Z] 1469e6f7b9e6: Verifying Checksum [2023-05-09T15:54:30.561Z] 1469e6f7b9e6: Download complete [2023-05-09T15:54:30.822Z] eaf3925da568: Verifying Checksum [2023-05-09T15:54:30.822Z] eaf3925da568: Download complete [2023-05-09T15:54:30.822Z] 339a4e72a1f5: Verifying Checksum [2023-05-09T15:54:30.822Z] 339a4e72a1f5: Download complete [2023-05-09T15:54:30.822Z] bde34c3a00c8: Verifying Checksum [2023-05-09T15:54:30.822Z] bde34c3a00c8: Download complete [2023-05-09T15:54:30.822Z] b352a97aabf1: Verifying Checksum [2023-05-09T15:54:30.822Z] b352a97aabf1: Download complete [2023-05-09T15:54:30.822Z] 4872d77fe225: Verifying Checksum [2023-05-09T15:54:30.822Z] 4872d77fe225: Download complete [2023-05-09T15:54:30.822Z] 5851b861e8e6: Download complete [2023-05-09T15:54:30.822Z] b85a868b505f: Verifying Checksum [2023-05-09T15:54:30.822Z] b85a868b505f: Download complete [2023-05-09T15:54:31.088Z] bab4dde63d76: Verifying Checksum [2023-05-09T15:54:31.088Z] bab4dde63d76: Download complete [2023-05-09T15:54:32.033Z] b85a868b505f: Pull complete [2023-05-09T15:54:32.033Z] e2be974225ed: Pull complete [2023-05-09T15:54:32.605Z] 339a4e72a1f5: Pull complete [2023-05-09T15:54:32.605Z] 988bab9f4d93: Pull complete [2023-05-09T15:54:32.864Z] 1469e6f7b9e6: Pull complete [2023-05-09T15:54:33.123Z] eaf3925da568: Pull complete [2023-05-09T15:54:35.033Z] bab4dde63d76: Pull complete [2023-05-09T15:54:35.033Z] bde34c3a00c8: Pull complete [2023-05-09T15:54:35.033Z] b352a97aabf1: Pull complete [2023-05-09T15:54:35.033Z] 4872d77fe225: Pull complete [2023-05-09T15:54:35.293Z] 5851b861e8e6: Pull complete [2023-05-09T15:54:35.293Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-05-09T15:54:35.293Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-09T15:54:35.293Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-09T15:54:35.402Z] prd-ubuntu20.04-docker-8c-8g-14710 does not seem to be running inside a container [2023-05-09T15:54:35.436Z] $ 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 [2023-05-09T15:54:37.440Z] $ docker top e3ace52ab43b3bf65ed4dd7f2ef834dfd85fecaa5b96941164976d73120aa320 -eo pid,comm [2023-05-09T15:54:37.493Z] 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). [2023-05-09T15:54:37.493Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-05-09T15:54:37.535Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-09T15:54:37.535Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-09T15:54:37.652Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-09T15:54:37.656Z] $ docker exec e3ace52ab43b3bf65ed4dd7f2ef834dfd85fecaa5b96941164976d73120aa320 ssh-agent [2023-05-09T15:54:37.758Z] SSH_AUTH_SOCK=/tmp/ssh-IQD9GewIvXzZ/agent.33 [2023-05-09T15:54:37.759Z] SSH_AGENT_PID=39 [2023-05-09T15:54:37.765Z] Running ssh-add (command line suppressed) [2023-05-09T15:54:37.872Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_16755005349235781001.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_16755005349235781001.key) [2023-05-09T15:54:37.885Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-09T15:54:38.181Z] + git tag --points-at HEAD [Pipeline] } [2023-05-09T15:54:38.196Z] $ docker exec --env ******** --env ******** e3ace52ab43b3bf65ed4dd7f2ef834dfd85fecaa5b96941164976d73120aa320 ssh-agent -k [2023-05-09T15:54:38.298Z] unset SSH_AUTH_SOCK; [2023-05-09T15:54:38.300Z] unset SSH_AGENT_PID; [2023-05-09T15:54:38.300Z] echo Agent pid 39 killed; [2023-05-09T15:54:38.308Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-05-09T15:54:38.335Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-09T15:54:38.335Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-09T15:54:38.457Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-09T15:54:38.463Z] $ docker exec e3ace52ab43b3bf65ed4dd7f2ef834dfd85fecaa5b96941164976d73120aa320 ssh-agent [2023-05-09T15:54:38.570Z] SSH_AUTH_SOCK=/tmp/ssh-xn7uesayszbh/agent.71 [2023-05-09T15:54:38.570Z] SSH_AGENT_PID=77 [2023-05-09T15:54:38.575Z] Running ssh-add (command line suppressed) [2023-05-09T15:54:38.671Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_7282738404832959536.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_7282738404832959536.key) [2023-05-09T15:54:38.687Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-09T15:54:38.975Z] + git semver init [2023-05-09T15:54:39.234Z] 2023-05-09 15:54:39,149 [run_init] DEBUG init version:0.0.0 force:False [2023-05-09T15:54:39.234Z] 2023-05-09 15:54:39,149 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-c_main/.semver [2023-05-09T15:54:39.234Z] 2023-05-09 15:54:39,150 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-c.git /w/workspace/edgexfoundry_device-sdk-c_main/.semver [2023-05-09T15:54:39.234Z] 2023-05-09 15:54:39,150 [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) [2023-05-09T15:54:40.176Z] 2023-05-09 15:54:39,998 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-c_main/.git/info/exclude [2023-05-09T15:54:40.176Z] 2023-05-09 15:54:39,998 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-c_main/.semver/main with force:False [2023-05-09T15:54:40.176Z] 2023-05-09 15:54:39,998 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2023-05-09T15:54:40.176Z] 2023-05-09 15:54:39,999 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2023-05-09T15:54:40.176Z] 2.3.1-dev.9 [Pipeline] } [2023-05-09T15:54:40.188Z] $ docker exec --env ******** --env ******** e3ace52ab43b3bf65ed4dd7f2ef834dfd85fecaa5b96941164976d73120aa320 ssh-agent -k [2023-05-09T15:54:40.292Z] unset SSH_AUTH_SOCK; [2023-05-09T15:54:40.292Z] unset SSH_AGENT_PID; [2023-05-09T15:54:40.293Z] echo Agent pid 77 killed; [2023-05-09T15:54:40.303Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-05-09T15:54:40.602Z] + git semver [Pipeline] } [2023-05-09T15:54:40.881Z] $ docker stop --time=1 e3ace52ab43b3bf65ed4dd7f2ef834dfd85fecaa5b96941164976d73120aa320 [2023-05-09T15:54:42.183Z] $ docker rm -f --volumes e3ace52ab43b3bf65ed4dd7f2ef834dfd85fecaa5b96941164976d73120aa320 [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-09T15:54:42.513Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-05-09T15:54:42.704Z] Stashed 1 file(s) [Pipeline] echo [2023-05-09T15:54:42.708Z] [edgeXSemver]: initialized semver on version 2.3.1-dev.9 [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 [2023-05-09T15:54:42.804Z] provisioning config files... [2023-05-09T15:54:42.813Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config8243642310206652106tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-09T15:54:43.113Z] ---> docker-login.sh [2023-05-09T15:54:43.113Z] nexus3.edgexfoundry.org:10001 [2023-05-09T15:54:43.113Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-09T15:54:43.113Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-09T15:54:43.113Z] Configure a credential helper to remove this warning. See [2023-05-09T15:54:43.113Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-09T15:54:43.113Z] [2023-05-09T15:54:43.113Z] Login Succeeded [2023-05-09T15:54:43.113Z] nexus3.edgexfoundry.org:10002 [2023-05-09T15:54:43.113Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-09T15:54:43.113Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-09T15:54:43.113Z] Configure a credential helper to remove this warning. See [2023-05-09T15:54:43.113Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-09T15:54:43.113Z] [2023-05-09T15:54:43.113Z] Login Succeeded [2023-05-09T15:54:43.113Z] nexus3.edgexfoundry.org:10003 [2023-05-09T15:54:43.372Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-09T15:54:43.372Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-09T15:54:43.372Z] Configure a credential helper to remove this warning. See [2023-05-09T15:54:43.372Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-09T15:54:43.372Z] [2023-05-09T15:54:43.372Z] Login Succeeded [2023-05-09T15:54:43.372Z] nexus3.edgexfoundry.org:10004 [2023-05-09T15:54:43.372Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-09T15:54:43.372Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-09T15:54:43.372Z] Configure a credential helper to remove this warning. See [2023-05-09T15:54:43.372Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-09T15:54:43.372Z] [2023-05-09T15:54:43.372Z] Login Succeeded [2023-05-09T15:54:43.372Z] docker.io [2023-05-09T15:54:43.372Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-09T15:54:43.633Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-09T15:54:43.633Z] Configure a credential helper to remove this warning. See [2023-05-09T15:54:43.633Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-09T15:54:43.633Z] [2023-05-09T15:54:43.633Z] Login Succeeded [2023-05-09T15:54:43.633Z] ---> docker-login.sh ends [Pipeline] } [2023-05-09T15:54:43.641Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-05-09T15:54:43.696Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-09T15:54:43.703Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo [2023-05-09T15:54:43.710Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-09T15:54:43.717Z] ========================================================= [2023-05-09T15:54:43.717Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] [2023-05-09T15:54:43.717Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-09T15:54:44.009Z] + 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 . [2023-05-09T15:54:44.009Z] Sending build context to Docker daemon 4.86MB [2023-05-09T15:54:44.009Z] Step 1/21 : ARG BASE=alpine:3.16 [2023-05-09T15:54:44.009Z] Step 2/21 : FROM ${BASE} as builder [2023-05-09T15:54:44.009Z] latest: Pulling from edgex-devops/edgex-gcc-base [2023-05-09T15:54:44.009Z] 213ec9aee27d: Pulling fs layer [2023-05-09T15:54:44.009Z] 0f09ad1b1b37: Pulling fs layer [2023-05-09T15:54:44.009Z] 213ec9aee27d: Verifying Checksum [2023-05-09T15:54:44.009Z] 213ec9aee27d: Download complete [2023-05-09T15:54:44.268Z] 213ec9aee27d: Pull complete [2023-05-09T15:54:44.837Z] 0f09ad1b1b37: Verifying Checksum [2023-05-09T15:54:44.837Z] 0f09ad1b1b37: Download complete [2023-05-09T15:54:47.373Z] 0f09ad1b1b37: Pull complete [2023-05-09T15:54:47.373Z] Digest: sha256:64e9d1beac36a0037884aaf44bcf94b2de593689edef1cdaec9f2b2ef7c7c108 [2023-05-09T15:54:47.373Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [2023-05-09T15:54:47.373Z] ---> b2bbfebb3566 [2023-05-09T15:54:47.373Z] Step 3/21 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2023-05-09T15:54:48.756Z] ---> Running in 035648f0dfd0 [2023-05-09T15:54:48.756Z] Connecting to iotech.jfrog.io (52.215.121.178:443) [2023-05-09T15:54:49.330Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-05-09T15:54:49.330Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-05-09T15:54:49.330Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-05-09T15:54:49.589Z] Removing intermediate container 035648f0dfd0 [2023-05-09T15:54:49.589Z] ---> 78b944e3b059 [2023-05-09T15:54:49.589Z] Step 4/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-05-09T15:54:49.589Z] ---> Running in 43d93c79c212 [2023-05-09T15:54:50.157Z] Removing intermediate container 43d93c79c212 [2023-05-09T15:54:50.157Z] ---> ce37de37e8af [2023-05-09T15:54:50.157Z] Step 5/21 : 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 paho-mqtt-c-dev-1.3 iotech-iot-1.5-dev hiredis-dev [2023-05-09T15:54:50.157Z] ---> Running in bb7744f23675 [2023-05-09T15:54:50.419Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-05-09T15:54:50.680Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-05-09T15:54:50.940Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/x86_64/APKINDEX.tar.gz [2023-05-09T15:54:51.200Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-05-09T15:54:51.200Z] (1/14) Installing hiredis (1.0.2-r0) [2023-05-09T15:54:51.200Z] (2/14) Installing hiredis-dev (1.0.2-r0) [2023-05-09T15:54:51.461Z] (3/14) Installing iotech-iot-1.5 (1.5.0-r0) [2023-05-09T15:54:52.033Z] (4/14) Installing iotech-iot-1.5-dev (1.5.0-r0) [2023-05-09T15:54:52.033Z] (5/14) Installing libcbor (0.9.0-r1) [2023-05-09T15:54:52.033Z] (6/14) Installing libcbor-dev (0.9.0-r1) [2023-05-09T15:54:52.033Z] (7/14) Installing ncurses-dev (6.3_p20220521-r0) [2023-05-09T15:54:52.033Z] (8/14) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) [2023-05-09T15:54:52.972Z] (9/14) Installing libblkid (2.38-r1) [2023-05-09T15:54:52.972Z] (10/14) Installing libuuid (2.38-r1) [2023-05-09T15:54:52.972Z] (11/14) Installing libfdisk (2.38-r1) [2023-05-09T15:54:52.972Z] (12/14) Installing libmount (2.38-r1) [2023-05-09T15:54:52.972Z] (13/14) Installing libsmartcols (2.38-r1) [2023-05-09T15:54:52.972Z] (14/14) Installing util-linux-dev (2.38-r1) [2023-05-09T15:54:52.972Z] Executing busybox-1.35.0-r17.trigger [2023-05-09T15:54:52.972Z] OK: 280 MiB in 90 packages [2023-05-09T15:54:53.541Z] Removing intermediate container bb7744f23675 [2023-05-09T15:54:53.541Z] ---> 65e13c81d3fa [2023-05-09T15:54:53.541Z] Step 6/21 : RUN mkdir /tmp/sdk [2023-05-09T15:54:53.541Z] ---> Running in a52b2f59833e [2023-05-09T15:54:54.110Z] Removing intermediate container a52b2f59833e [2023-05-09T15:54:54.110Z] ---> 101f2977420a [2023-05-09T15:54:54.110Z] Step 7/21 : COPY VERSION /tmp/sdk [2023-05-09T15:54:54.110Z] ---> 79a4d3d0c430 [2023-05-09T15:54:54.110Z] Step 8/21 : COPY src /tmp/sdk/src [2023-05-09T15:54:54.369Z] ---> d91877328d14 [2023-05-09T15:54:54.369Z] Step 9/21 : COPY include /tmp/sdk/include [2023-05-09T15:54:54.369Z] ---> c92cab07e6de [2023-05-09T15:54:54.369Z] Step 10/21 : COPY scripts /tmp/sdk/scripts [2023-05-09T15:54:54.628Z] ---> 07772e983347 [2023-05-09T15:54:54.628Z] Step 11/21 : COPY LICENSE /tmp/sdk [2023-05-09T15:54:54.888Z] ---> 679f132770b9 [2023-05-09T15:54:54.888Z] Step 12/21 : COPY Attribution.txt /tmp/sdk [2023-05-09T15:54:54.888Z] ---> b9c72c6989fe [2023-05-09T15:54:54.888Z] Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2023-05-09T15:54:54.888Z] ---> Running in aeaf5a69f348 [2023-05-09T15:54:55.148Z] + CPPCHECK=false [2023-05-09T15:54:55.148Z] + DOCGEN=false [2023-05-09T15:54:55.148Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2023-05-09T15:54:55.148Z] + TOMLVER=SDK-0.2 [2023-05-09T15:54:55.148Z] + CUTILVER=1.4 [2023-05-09T15:54:55.148Z] + '[' 0 -gt 0 ] [2023-05-09T15:54:55.148Z] + readlink -f ./scripts/build.sh [2023-05-09T15:54:55.148Z] + dirname /tmp/sdk/scripts/build.sh [2023-05-09T15:54:55.148Z] + dirname /tmp/sdk/scripts [2023-05-09T15:54:55.148Z] + ROOT=/tmp/sdk [2023-05-09T15:54:55.148Z] + cd /tmp/sdk [2023-05-09T15:54:55.148Z] + '[' '!' -d deps ] [2023-05-09T15:54:55.148Z] + mkdir deps [2023-05-09T15:54:55.148Z] + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2023-05-09T15:54:55.148Z] + tar -C deps -z -x -f - [2023-05-09T15:54:55.148Z] Connecting to github.com (140.82.113.3:443) [2023-05-09T15:54:55.408Z] Connecting to codeload.github.com (140.82.112.10:443) [2023-05-09T15:54:55.670Z] writing to stdout [2023-05-09T15:54:55.670Z] - 100% |********************************| 16451 0:00:00 ETA [2023-05-09T15:54:55.670Z] written to stdout [2023-05-09T15:54:55.670Z] + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c [2023-05-09T15:54:55.670Z] + mkdir -p /tmp/sdk/build/release [2023-05-09T15:54:55.670Z] + cd /tmp/sdk/build/release [2023-05-09T15:54:55.670Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2023-05-09T15:54:55.670Z] -- The C compiler identification is GNU 11.2.1 [2023-05-09T15:54:55.670Z] -- Detecting C compiler ABI info [2023-05-09T15:54:55.670Z] -- Detecting C compiler ABI info - done [2023-05-09T15:54:55.670Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-05-09T15:54:55.670Z] -- Detecting C compile features [2023-05-09T15:54:55.670Z] -- Detecting C compile features - done [2023-05-09T15:54:55.670Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-05-09T15:54:55.930Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.83.1") [2023-05-09T15:54:55.930Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-05-09T15:54:55.930Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-05-09T15:54:55.930Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-05-09T15:54:55.930Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-05-09T15:54:55.930Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-05-09T15:54:55.930Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2023-05-09T15:54:55.930Z] -- /opt/iotech/iot/1.5/include [2023-05-09T15:54:55.930Z] -- C SDK 2.3.1-dev.9 for Linux [2023-05-09T15:54:55.930Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-05-09T15:54:55.930Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-05-09T15:54:55.930Z] -- Found Curses: /usr/lib/libcurses.so [2023-05-09T15:54:55.930Z] -- Configuring done [2023-05-09T15:54:55.930Z] -- Generating done [2023-05-09T15:54:55.930Z] -- Build files have been written to: /tmp/sdk/build/release [2023-05-09T15:54:55.930Z] + make all package [2023-05-09T15:54:55.930Z] + tee release.log [2023-05-09T15:54:55.930Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-05-09T15:54:56.190Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2023-05-09T15:54:56.450Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2023-05-09T15:54:56.450Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2023-05-09T15:54:56.709Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2023-05-09T15:54:56.709Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2023-05-09T15:54:57.279Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2023-05-09T15:54:57.279Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2023-05-09T15:54:57.279Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2023-05-09T15:54:57.538Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2023-05-09T15:54:57.774Z] Still waiting to schedule task [2023-05-09T15:54:57.774Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-05-09T15:54:57.796Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2023-05-09T15:54:58.058Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2023-05-09T15:54:58.318Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2023-05-09T15:54:58.318Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2023-05-09T15:54:58.318Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2023-05-09T15:54:58.579Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2023-05-09T15:54:58.579Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2023-05-09T15:54:59.148Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2023-05-09T15:54:59.148Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2023-05-09T15:54:59.148Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2023-05-09T15:54:59.408Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2023-05-09T15:55:00.348Z] [ 42%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2023-05-09T15:55:00.348Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2023-05-09T15:55:00.607Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2023-05-09T15:55:00.607Z] [ 48%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2023-05-09T15:55:00.607Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2023-05-09T15:55:01.177Z] [ 51%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2023-05-09T15:55:01.437Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2023-05-09T15:55:01.437Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2023-05-09T15:55:01.697Z] [ 57%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2023-05-09T15:55:01.697Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2023-05-09T15:55:02.265Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2023-05-09T15:55:03.202Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2023-05-09T15:55:03.202Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2023-05-09T15:55:03.202Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2023-05-09T15:55:03.202Z] [ 69%] Linking C shared library libcsdk.so [2023-05-09T15:55:03.461Z] [ 69%] Built target csdk [2023-05-09T15:55:03.461Z] [ 71%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2023-05-09T15:55:03.461Z] [ 73%] Linking C executable template [2023-05-09T15:55:03.720Z] [ 73%] Built target template [2023-05-09T15:55:03.720Z] [ 75%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2023-05-09T15:55:03.720Z] [ 76%] Linking C executable device-counter [2023-05-09T15:55:03.720Z] [ 76%] Built target device-counter [2023-05-09T15:55:03.720Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2023-05-09T15:55:03.981Z] [ 80%] Linking C executable device-random [2023-05-09T15:55:03.981Z] [ 80%] Built target device-random [2023-05-09T15:55:03.981Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2023-05-09T15:55:03.981Z] [ 84%] Linking C executable device-gyro [2023-05-09T15:55:04.245Z] [ 84%] Built target device-gyro [2023-05-09T15:55:04.245Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2023-05-09T15:55:04.245Z] [ 88%] Linking C executable device-bitfields [2023-05-09T15:55:04.245Z] [ 88%] Built target device-bitfields [2023-05-09T15:55:04.245Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2023-05-09T15:55:04.504Z] [ 92%] Linking C executable template-discovery [2023-05-09T15:55:04.504Z] [ 92%] Built target template-discovery [2023-05-09T15:55:04.504Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2023-05-09T15:55:04.763Z] [ 96%] Linking C executable device-file [2023-05-09T15:55:04.763Z] [ 96%] Built target device-file [2023-05-09T15:55:04.763Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2023-05-09T15:55:05.024Z] [100%] Linking C executable device-terminal [2023-05-09T15:55:05.024Z] [100%] Built target device-terminal [2023-05-09T15:55:05.024Z] Run CPack packaging tool... [2023-05-09T15:55:05.024Z] CPack: Create package using TGZ [2023-05-09T15:55:05.024Z] CPack: Install projects [2023-05-09T15:55:05.024Z] CPack: - Run preinstall target for: Csdk [2023-05-09T15:55:05.283Z] CPack: - Install project: Csdk [] [2023-05-09T15:55:05.283Z] CPack: Create package [2023-05-09T15:55:05.283Z] CPack: - package: /tmp/sdk/build/release/csdk-2.3.1-dev.9.tar.gz generated. [2023-05-09T15:55:05.283Z] + '[' false '=' true ] [2023-05-09T15:55:05.283Z] + '[' false '=' true ] [2023-05-09T15:55:05.283Z] + mkdir -p /tmp/sdk/build/debug [2023-05-09T15:55:05.283Z] + cd /tmp/sdk/build/debug [2023-05-09T15:55:05.283Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2023-05-09T15:55:05.542Z] -- The C compiler identification is GNU 11.2.1 [2023-05-09T15:55:05.542Z] -- Detecting C compiler ABI info [2023-05-09T15:55:05.542Z] -- Detecting C compiler ABI info - done [2023-05-09T15:55:05.542Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-05-09T15:55:05.542Z] -- Detecting C compile features [2023-05-09T15:55:05.542Z] -- Detecting C compile features - done [2023-05-09T15:55:05.542Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-05-09T15:55:05.542Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.83.1") [2023-05-09T15:55:05.542Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-05-09T15:55:05.542Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-05-09T15:55:05.542Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-05-09T15:55:05.542Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-05-09T15:55:05.542Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-05-09T15:55:05.542Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2023-05-09T15:55:05.542Z] -- /opt/iotech/iot/1.5/include [2023-05-09T15:55:05.542Z] -- C SDK 2.3.1-dev.9 for Linux [2023-05-09T15:55:05.542Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-05-09T15:55:05.802Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-05-09T15:55:05.802Z] -- Found Curses: /usr/lib/libcurses.so [2023-05-09T15:55:05.802Z] -- Configuring done [2023-05-09T15:55:05.802Z] -- Generating done [2023-05-09T15:55:05.802Z] -- Build files have been written to: /tmp/sdk/build/debug [2023-05-09T15:55:05.802Z] + make [2023-05-09T15:55:05.802Z] + tee debug.log [2023-05-09T15:55:05.802Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-05-09T15:55:05.802Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2023-05-09T15:55:06.064Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2023-05-09T15:55:06.064Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2023-05-09T15:55:06.064Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2023-05-09T15:55:06.323Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2023-05-09T15:55:06.323Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2023-05-09T15:55:06.582Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2023-05-09T15:55:06.582Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2023-05-09T15:55:06.582Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2023-05-09T15:55:06.841Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2023-05-09T15:55:06.841Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2023-05-09T15:55:06.841Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2023-05-09T15:55:06.841Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2023-05-09T15:55:07.101Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2023-05-09T15:55:07.101Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2023-05-09T15:55:07.101Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2023-05-09T15:55:07.360Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2023-05-09T15:55:07.360Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2023-05-09T15:55:07.360Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2023-05-09T15:55:07.619Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2023-05-09T15:55:07.878Z] [ 42%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2023-05-09T15:55:07.878Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2023-05-09T15:55:07.878Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2023-05-09T15:55:07.878Z] [ 48%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2023-05-09T15:55:08.138Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2023-05-09T15:55:08.138Z] [ 51%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2023-05-09T15:55:08.397Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2023-05-09T15:55:08.398Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2023-05-09T15:55:08.657Z] [ 57%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2023-05-09T15:55:08.658Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2023-05-09T15:55:08.658Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2023-05-09T15:55:08.917Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2023-05-09T15:55:08.917Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2023-05-09T15:55:09.176Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2023-05-09T15:55:09.176Z] [ 69%] Linking C shared library libcsdk.so [2023-05-09T15:55:09.176Z] [ 69%] Built target csdk [2023-05-09T15:55:09.176Z] [ 71%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2023-05-09T15:55:09.176Z] [ 73%] Linking C executable template [2023-05-09T15:55:09.436Z] [ 73%] Built target template [2023-05-09T15:55:09.436Z] [ 75%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2023-05-09T15:55:09.436Z] [ 76%] Linking C executable device-counter [2023-05-09T15:55:09.436Z] [ 76%] Built target device-counter [2023-05-09T15:55:09.436Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2023-05-09T15:55:09.695Z] [ 80%] Linking C executable device-random [2023-05-09T15:55:09.695Z] [ 80%] Built target device-random [2023-05-09T15:55:09.695Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2023-05-09T15:55:09.695Z] [ 84%] Linking C executable device-gyro [2023-05-09T15:55:09.695Z] [ 84%] Built target device-gyro [2023-05-09T15:55:09.695Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2023-05-09T15:55:09.956Z] [ 88%] Linking C executable device-bitfields [2023-05-09T15:55:09.956Z] [ 88%] Built target device-bitfields [2023-05-09T15:55:09.956Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2023-05-09T15:55:09.956Z] [ 92%] Linking C executable template-discovery [2023-05-09T15:55:10.216Z] [ 92%] Built target template-discovery [2023-05-09T15:55:10.216Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2023-05-09T15:55:10.216Z] [ 96%] Linking C executable device-file [2023-05-09T15:55:10.216Z] [ 96%] Built target device-file [2023-05-09T15:55:10.216Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2023-05-09T15:55:10.216Z] [100%] Linking C executable device-terminal [2023-05-09T15:55:10.476Z] [100%] Built target device-terminal [2023-05-09T15:55:10.476Z] make: Entering directory '/tmp/sdk/build/release' [2023-05-09T15:55:10.476Z] make[1]: Entering directory '/tmp/sdk/build/release' [2023-05-09T15:55:10.476Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-05-09T15:55:10.476Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-05-09T15:55:10.476Z] [ 69%] Built target csdk [2023-05-09T15:55:10.476Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-05-09T15:55:10.476Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-05-09T15:55:10.476Z] [ 73%] Built target template [2023-05-09T15:55:10.476Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-05-09T15:55:10.476Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-05-09T15:55:10.476Z] [ 76%] Built target device-counter [2023-05-09T15:55:10.476Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-05-09T15:55:10.476Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-05-09T15:55:10.476Z] [ 80%] Built target device-random [2023-05-09T15:55:10.476Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-05-09T15:55:10.476Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-05-09T15:55:10.476Z] [ 84%] Built target device-gyro [2023-05-09T15:55:10.476Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-05-09T15:55:10.476Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-05-09T15:55:10.476Z] [ 88%] Built target device-bitfields [2023-05-09T15:55:10.476Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-05-09T15:55:10.476Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-05-09T15:55:10.476Z] [ 92%] Built target template-discovery [2023-05-09T15:55:10.476Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-05-09T15:55:10.476Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-05-09T15:55:10.476Z] [ 96%] Built target device-file [2023-05-09T15:55:10.476Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-05-09T15:55:10.476Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-05-09T15:55:10.769Z] [100%] Built target device-terminal [2023-05-09T15:55:10.769Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2023-05-09T15:55:10.769Z] Install the project... [2023-05-09T15:55:10.769Z] -- Install configuration: "Release" [2023-05-09T15:55:10.769Z] -- Installing: /usr/local/lib/libcsdk.so [2023-05-09T15:55:10.769Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2023-05-09T15:55:10.769Z] -- Installing: /usr/local/include [2023-05-09T15:55:10.769Z] -- Installing: /usr/local/include/devsdk [2023-05-09T15:55:10.769Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2023-05-09T15:55:10.769Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2023-05-09T15:55:10.769Z] -- Installing: /usr/local/include/edgex [2023-05-09T15:55:10.769Z] -- Installing: /usr/local/include/edgex/edgex.h [2023-05-09T15:55:10.769Z] -- Installing: /usr/local/include/edgex/devices.h [2023-05-09T15:55:10.769Z] -- Installing: /usr/local/include/edgex/profiles.h [2023-05-09T15:55:10.769Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2023-05-09T15:55:10.769Z] -- Installing: /usr/local/include/edgex/rest-server.h [2023-05-09T15:55:10.769Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2023-05-09T15:55:10.769Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2023-05-09T15:55:10.769Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2023-05-09T15:55:10.769Z] make: Leaving directory '/tmp/sdk/build/release' [2023-05-09T15:55:11.338Z] Removing intermediate container aeaf5a69f348 [2023-05-09T15:55:11.338Z] ---> 0c688be782a9 [2023-05-09T15:55:11.338Z] Step 14/21 : FROM ${BASE} [2023-05-09T15:55:11.338Z] ---> b2bbfebb3566 [2023-05-09T15:55:11.338Z] Step 15/21 : LABEL maintainer="IOTech " [2023-05-09T15:55:11.338Z] ---> Running in 113fc778d100 [2023-05-09T15:55:11.338Z] Removing intermediate container 113fc778d100 [2023-05-09T15:55:11.338Z] ---> a56e81287444 [2023-05-09T15:55:11.338Z] Step 16/21 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2023-05-09T15:55:11.338Z] ---> Running in 97f483530380 [2023-05-09T15:55:11.596Z] Connecting to iotech.jfrog.io (52.17.210.122:443) [2023-05-09T15:55:12.164Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-05-09T15:55:12.164Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-05-09T15:55:12.164Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-05-09T15:55:12.423Z] Removing intermediate container 97f483530380 [2023-05-09T15:55:12.423Z] ---> 1303a1a1e44f [2023-05-09T15:55:12.423Z] Step 17/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-05-09T15:55:12.423Z] ---> Running in a840d1cc2fad [2023-05-09T15:55:12.992Z] Removing intermediate container a840d1cc2fad [2023-05-09T15:55:12.992Z] ---> 5803a9d87619 [2023-05-09T15:55:12.992Z] Step 18/21 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml curl libmicrohttpd libuuid libcbor paho-mqtt-c-dev-1.3 iotech-iot-1.4 hiredis-dev [2023-05-09T15:55:12.992Z] ---> Running in 3ab240950701 [2023-05-09T15:55:13.251Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-05-09T15:55:13.251Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-05-09T15:55:13.510Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/x86_64/APKINDEX.tar.gz [2023-05-09T15:55:14.078Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-05-09T15:55:14.078Z] (1/7) Installing curl (8.0.1-r0) [2023-05-09T15:55:14.078Z] (2/7) Installing hiredis (1.0.2-r0) [2023-05-09T15:55:14.078Z] (3/7) Installing hiredis-dev (1.0.2-r0) [2023-05-09T15:55:14.078Z] (4/7) Installing iotech-iot-1.4 (1.4.2-r0) [2023-05-09T15:55:14.647Z] (5/7) Installing libcbor (0.9.0-r1) [2023-05-09T15:55:14.647Z] (6/7) Installing libuuid (2.38-r1) [2023-05-09T15:55:14.647Z] (7/7) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) [2023-05-09T15:55:15.601Z] Executing busybox-1.35.0-r17.trigger [2023-05-09T15:55:15.601Z] OK: 275 MiB in 83 packages [2023-05-09T15:55:15.861Z] Removing intermediate container 3ab240950701 [2023-05-09T15:55:15.861Z] ---> 7cd95e722d34 [2023-05-09T15:55:15.861Z] Step 19/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2023-05-09T15:55:15.861Z] ---> 27c690679b3c [2023-05-09T15:55:15.861Z] Step 20/21 : COPY --from=builder /usr/local/lib /usr/local/lib [2023-05-09T15:55:15.861Z] ---> c4073c214181 [2023-05-09T15:55:15.861Z] Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2023-05-09T15:55:16.120Z] ---> 3464754ce67d [2023-05-09T15:55:16.120Z] Successfully built 3464754ce67d [2023-05-09T15:55:16.120Z] 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 [2023-05-09T15:55:16.512Z] + docker inspect -f . ci-base-image-x86_64 [2023-05-09T15:55:16.512Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-09T15:55:16.584Z] prd-ubuntu20.04-docker-8c-8g-14710 does not seem to be running inside a container [2023-05-09T15:55:16.613Z] $ 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 [2023-05-09T15:55:16.930Z] $ docker top 4f3de175f33ad33b1a5edfd6c401b64b6b133d05ad2db9638a3bf5a247a9940b -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-09T15:55:17.263Z] + make test [2023-05-09T15:55:17.263Z] echo "make test" [2023-05-09T15:55:17.263Z] make test [Pipeline] } [2023-05-09T15:55:17.276Z] $ docker stop --time=1 4f3de175f33ad33b1a5edfd6c401b64b6b133d05ad2db9638a3bf5a247a9940b [2023-05-09T15:55:18.522Z] $ docker rm -f --volumes 4f3de175f33ad33b1a5edfd6c401b64b6b133d05ad2db9638a3bf5a247a9940b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-09T15:55:19.028Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-05-09T15:55:19.322Z] + ls -al . [2023-05-09T15:55:19.322Z] total 212 [2023-05-09T15:55:19.322Z] drwxrwxr-x 9 jenkins jenkins 4096 May 9 15:54 . [2023-05-09T15:55:19.322Z] drwxrwxr-x 4 jenkins jenkins 4096 May 9 15:54 .. [2023-05-09T15:55:19.322Z] drwxrwxr-x 8 jenkins jenkins 4096 May 9 15:54 .git [2023-05-09T15:55:19.322Z] drwxrwxr-x 2 jenkins jenkins 4096 May 9 15:54 .github [2023-05-09T15:55:19.322Z] -rw-rw-r-- 1 jenkins jenkins 176 May 9 15:54 .gitignore [2023-05-09T15:55:19.322Z] drwxr-xr-x 3 jenkins jenkins 4096 May 9 15:54 .semver [2023-05-09T15:55:19.322Z] -rw-rw-r-- 1 jenkins jenkins 3104 May 9 15:54 Attribution.txt [2023-05-09T15:55:19.322Z] -rw-rw-r-- 1 jenkins jenkins 8743 May 9 15:54 CHANGES [2023-05-09T15:55:19.322Z] -rw-rw-r-- 1 jenkins jenkins 108574 May 9 15:54 Doxyfile [2023-05-09T15:55:19.322Z] -rw-rw-r-- 1 jenkins jenkins 677 May 9 15:54 GOVERNANCE.md [2023-05-09T15:55:19.322Z] -rw-rw-r-- 1 jenkins jenkins 784 May 9 15:54 Jenkinsfile [2023-05-09T15:55:19.322Z] -rw-rw-r-- 1 jenkins jenkins 10174 May 9 15:54 LICENSE [2023-05-09T15:55:19.322Z] -rw-rw-r-- 1 jenkins jenkins 444 May 9 15:54 Makefile [2023-05-09T15:55:19.322Z] -rw-rw-r-- 1 jenkins jenkins 618 May 9 15:54 OWNERS.md [2023-05-09T15:55:19.322Z] -rw-rw-r-- 1 jenkins jenkins 1651 May 9 15:54 README.IOT.md [2023-05-09T15:55:19.322Z] -rw-rw-r-- 1 jenkins jenkins 4215 May 9 15:54 README.md [2023-05-09T15:55:19.322Z] -rw-rw-r-- 1 jenkins jenkins 1245 May 9 15:54 README.v3.md [2023-05-09T15:55:19.322Z] -rw-rw-r-- 1 jenkins jenkins 11 May 9 15:54 VERSION [2023-05-09T15:55:19.322Z] drwxrwxr-x 2 jenkins jenkins 4096 May 9 15:54 docs [2023-05-09T15:55:19.322Z] drwxrwxr-x 4 jenkins jenkins 4096 May 9 15:54 include [2023-05-09T15:55:19.322Z] drwxrwxr-x 2 jenkins jenkins 4096 May 9 15:54 scripts [2023-05-09T15:55:19.322Z] drwxrwxr-x 4 jenkins jenkins 4096 May 9 15:54 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-09T15:55:19.620Z] + 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=f74adf796a5a2724d03475485970680652a5aba3 --label arch=amd64 --label version=2.3.1-dev.9 . [2023-05-09T15:55:19.620Z] Sending build context to Docker daemon 4.86MB [2023-05-09T15:55:19.620Z] Step 1/17 : ARG BASE=alpine:3.16 [2023-05-09T15:55:19.620Z] Step 2/17 : FROM ${BASE} [2023-05-09T15:55:19.620Z] ---> 3464754ce67d [2023-05-09T15:55:19.620Z] Step 3/17 : LABEL maintainer="IOTech " [2023-05-09T15:55:19.620Z] ---> Running in 3a67b4045e22 [2023-05-09T15:55:19.880Z] Removing intermediate container 3a67b4045e22 [2023-05-09T15:55:19.880Z] ---> a2fc1fe2b3d7 [2023-05-09T15:55:19.880Z] Step 4/17 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2023-05-09T15:55:19.880Z] ---> Running in 165ebe1ea893 [2023-05-09T15:55:20.139Z] Connecting to iotech.jfrog.io (52.51.122.62:443) [2023-05-09T15:55:20.709Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-05-09T15:55:20.709Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-05-09T15:55:20.709Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-05-09T15:55:20.968Z] Removing intermediate container 165ebe1ea893 [2023-05-09T15:55:20.968Z] ---> f12a46b8bb52 [2023-05-09T15:55:20.968Z] Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-05-09T15:55:20.968Z] ---> Running in aef053795f33 [2023-05-09T15:55:21.538Z] Removing intermediate container aef053795f33 [2023-05-09T15:55:21.538Z] ---> 4d2ad18e78dd [2023-05-09T15:55:21.538Z] Step 6/17 : 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 paho-mqtt-c-dev-1.3 hiredis-dev iotech-iot-1.5-dev && mkdir -p /edgex-c-sdk/build [2023-05-09T15:55:21.538Z] ---> Running in ba2bdc38f3e5 [2023-05-09T15:55:21.538Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-05-09T15:55:21.797Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-05-09T15:55:21.797Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/x86_64/APKINDEX.tar.gz [2023-05-09T15:55:22.366Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-05-09T15:55:22.366Z] (1/9) Installing iotech-iot-1.5 (1.5.0-r0) [2023-05-09T15:55:22.626Z] (2/9) Installing iotech-iot-1.5-dev (1.5.0-r0) [2023-05-09T15:55:22.886Z] (3/9) Installing libcbor-dev (0.9.0-r1) [2023-05-09T15:55:22.886Z] (4/9) Installing ncurses-dev (6.3_p20220521-r0) [2023-05-09T15:55:22.886Z] (5/9) Installing libblkid (2.38-r1) [2023-05-09T15:55:22.886Z] (6/9) Installing libfdisk (2.38-r1) [2023-05-09T15:55:22.886Z] (7/9) Installing libmount (2.38-r1) [2023-05-09T15:55:22.886Z] (8/9) Installing libsmartcols (2.38-r1) [2023-05-09T15:55:22.886Z] (9/9) Installing util-linux-dev (2.38-r1) [2023-05-09T15:55:22.886Z] Executing busybox-1.35.0-r17.trigger [2023-05-09T15:55:22.886Z] OK: 281 MiB in 92 packages [2023-05-09T15:55:23.454Z] Removing intermediate container ba2bdc38f3e5 [2023-05-09T15:55:23.454Z] ---> d773afa93937 [2023-05-09T15:55:23.454Z] Step 7/17 : COPY VERSION /edgex-c-sdk/ [2023-05-09T15:55:23.454Z] ---> 89db9fd7a906 [2023-05-09T15:55:23.454Z] Step 8/17 : COPY src /edgex-c-sdk/src/ [2023-05-09T15:55:23.713Z] ---> f632ec0edca7 [2023-05-09T15:55:23.713Z] Step 9/17 : COPY include /edgex-c-sdk/include/ [2023-05-09T15:55:23.713Z] ---> 216d89fa7db1 [2023-05-09T15:55:23.713Z] Step 10/17 : COPY scripts /edgex-c-sdk/scripts [2023-05-09T15:55:23.713Z] ---> f1160f37635c [2023-05-09T15:55:23.713Z] Step 11/17 : COPY LICENSE /edgex-c-sdk/ [2023-05-09T15:55:23.972Z] ---> 8fa815eda6ba [2023-05-09T15:55:23.972Z] Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ [2023-05-09T15:55:23.972Z] ---> 2417677c04b2 [2023-05-09T15:55:23.972Z] Step 13/17 : WORKDIR /edgex-c-sdk [2023-05-09T15:55:23.972Z] ---> Running in 43688786f0e5 [2023-05-09T15:55:24.231Z] Removing intermediate container 43688786f0e5 [2023-05-09T15:55:24.231Z] ---> 2da425d9781e [2023-05-09T15:55:24.231Z] Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2023-05-09T15:55:24.231Z] ---> Running in da5e3ca70085 [2023-05-09T15:55:24.231Z] Removing intermediate container da5e3ca70085 [2023-05-09T15:55:24.231Z] ---> b7404da0ff78 [2023-05-09T15:55:24.231Z] Step 15/17 : LABEL arch=amd64 [2023-05-09T15:55:24.231Z] ---> Running in e9a77d09bb7e [2023-05-09T15:55:24.231Z] Removing intermediate container e9a77d09bb7e [2023-05-09T15:55:24.231Z] ---> 7b05a9191995 [2023-05-09T15:55:24.231Z] Step 16/17 : LABEL git_sha=f74adf796a5a2724d03475485970680652a5aba3 [2023-05-09T15:55:24.231Z] ---> Running in 5667716dc390 [2023-05-09T15:55:24.491Z] Removing intermediate container 5667716dc390 [2023-05-09T15:55:24.492Z] ---> 466767deb3f7 [2023-05-09T15:55:24.492Z] Step 17/17 : LABEL version=2.3.1-dev.9 [2023-05-09T15:55:24.492Z] ---> Running in 343053c7988e [2023-05-09T15:55:24.492Z] Removing intermediate container 343053c7988e [2023-05-09T15:55:24.492Z] ---> 35abc4c09a60 [2023-05-09T15:55:24.492Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2023-05-09T15:55:24.492Z] Successfully built 35abc4c09a60 [2023-05-09T15:55:24.492Z] 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] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-09T15:55:24.911Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-09T15:55:24.911Z] [2023-05-09T15:55:24.911Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-09T15:55:25.199Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-09T15:55:25.199Z] latest: Pulling from edgex-lftools-log-publisher [2023-05-09T15:55:25.199Z] 5eb5b503b376: Pulling fs layer [2023-05-09T15:55:25.199Z] 5c69ac0246d0: Pulling fs layer [2023-05-09T15:55:25.199Z] ec43610c2a17: Pulling fs layer [2023-05-09T15:55:25.199Z] 3a2ae6a8a46f: Pulling fs layer [2023-05-09T15:55:25.199Z] 33b1e0a273af: Pulling fs layer [2023-05-09T15:55:25.199Z] 5d3b04190fa2: Pulling fs layer [2023-05-09T15:55:25.199Z] 2f39f015ded8: Pulling fs layer [2023-05-09T15:55:25.199Z] 3a2ae6a8a46f: Waiting [2023-05-09T15:55:25.199Z] 33b1e0a273af: Waiting [2023-05-09T15:55:25.199Z] 5d3b04190fa2: Waiting [2023-05-09T15:55:25.199Z] 2f39f015ded8: Waiting [2023-05-09T15:55:25.199Z] 5c69ac0246d0: Verifying Checksum [2023-05-09T15:55:25.199Z] 5c69ac0246d0: Download complete [2023-05-09T15:55:25.199Z] 3a2ae6a8a46f: Download complete [2023-05-09T15:55:25.199Z] 33b1e0a273af: Verifying Checksum [2023-05-09T15:55:25.199Z] 33b1e0a273af: Download complete [2023-05-09T15:55:25.199Z] 5d3b04190fa2: Download complete [2023-05-09T15:55:25.199Z] ec43610c2a17: Verifying Checksum [2023-05-09T15:55:25.199Z] ec43610c2a17: Download complete [2023-05-09T15:55:25.458Z] 5eb5b503b376: Verifying Checksum [2023-05-09T15:55:25.458Z] 5eb5b503b376: Download complete [2023-05-09T15:55:26.026Z] 2f39f015ded8: Download complete [2023-05-09T15:55:26.594Z] 5eb5b503b376: Pull complete [2023-05-09T15:55:26.594Z] 5c69ac0246d0: Pull complete [2023-05-09T15:55:27.165Z] ec43610c2a17: Pull complete [2023-05-09T15:55:27.165Z] 3a2ae6a8a46f: Pull complete [2023-05-09T15:55:27.423Z] 33b1e0a273af: Pull complete [2023-05-09T15:55:27.423Z] 5d3b04190fa2: Pull complete [2023-05-09T15:55:31.621Z] 2f39f015ded8: Pull complete [2023-05-09T15:55:31.621Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-05-09T15:55:31.621Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-09T15:55:31.621Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-09T15:55:31.701Z] prd-ubuntu20.04-docker-8c-8g-14710 does not seem to be running inside a container [2023-05-09T15:55:31.812Z] $ 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 [2023-05-09T15:55:34.625Z] $ docker top 464f01de721b7c6017fd91c9cc67fe01c395a43939c91a5ed03fd36034024c86 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-09T15:55:35.043Z] ---> job-cost.sh [2023-05-09T15:55:35.043Z] lf-activate-venv: SKIPPING [2023-05-09T15:55:35.043Z] INFO: No Stack... [2023-05-09T15:55:35.304Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-05-09T15:55:35.564Z] INFO: Archiving Costs [Pipeline] sh [2023-05-09T15:55:35.852Z] + cat /w/workspace/edgexfoundry_device-sdk-c_main/archives/cost.csv [2023-05-09T15:55:35.852Z] + cut -d, -f6 [Pipeline] lock [2023-05-09T15:55:35.866Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-main-44-stack-cost] [2023-05-09T15:55:35.874Z] Resource [jenkins-edgexfoundry-device-sdk-c-main-44-stack-cost] did not exist. Created. [2023-05-09T15:55:35.874Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-main-44-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-05-09T15:55:36.175Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-05-09T15:55:36.214Z] Stashed 1 file(s) [Pipeline] } [2023-05-09T15:55:36.221Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-main-44-stack-cost] [Pipeline] // lock [Pipeline] } [2023-05-09T15:55:36.237Z] $ docker stop --time=1 464f01de721b7c6017fd91c9cc67fe01c395a43939c91a5ed03fd36034024c86 [2023-05-09T15:55:37.372Z] $ docker rm -f --volumes 464f01de721b7c6017fd91c9cc67fe01c395a43939c91a5ed03fd36034024c86 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-05-09T15:58:31.386Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-14711 in /w/workspace/edgexfoundry_device-sdk-c_main [Pipeline] { [Pipeline] ws [2023-05-09T15:58:31.402Z] Running in /w/workspace/device-sdk-c/44 [Pipeline] { [Pipeline] checkout [2023-05-09T15:58:31.441Z] Selected Git installation does not exist. Using Default [2023-05-09T15:58:31.442Z] The recommended git tool is: NONE [2023-05-09T15:58:37.533Z] using credential edgex-jenkins-ssh [2023-05-09T15:58:37.551Z] Cloning the remote Git repository [2023-05-09T15:58:37.597Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2023-05-09T15:58:37.699Z] > git init /w/workspace/device-sdk-c/44 # timeout=10 [2023-05-09T15:58:37.854Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2023-05-09T15:58:37.855Z] > git --version # timeout=10 [2023-05-09T15:58:37.877Z] > git --version # 'git version 2.25.1' [2023-05-09T15:58:37.880Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-09T15:58:38.044Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-05-09T15:58:39.270Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2023-05-09T15:58:39.293Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-05-09T15:58:40.239Z] Avoid second fetch [2023-05-09T15:58:40.240Z] Checking out Revision f74adf796a5a2724d03475485970680652a5aba3 (main) [2023-05-09T15:58:40.935Z] Commit message: "refactor: metadata updates via bus not rest" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-09T15:58:40.258Z] > git config core.sparsecheckout # timeout=10 [2023-05-09T15:58:40.340Z] > git checkout -f f74adf796a5a2724d03475485970680652a5aba3 # timeout=10 [2023-05-09T15:58:41.962Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-05-09T15:58:41.962Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-09T15:58:41.962Z] Dload Upload Total Spent Left Speed [2023-05-09T15:58:41.962Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 89167 0 --:--:-- --:--:-- --:--:-- 89795 [Pipeline] sh [2023-05-09T15:58:42.643Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-05-09T15:58:42.991Z] + + sudo tee /etc/docker/daemon.new [2023-05-09T15:58:42.991Z] sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-05-09T15:58:42.991Z] { [2023-05-09T15:58:42.991Z] "registry-mirrors": [ [2023-05-09T15:58:42.991Z] "https://nexus3.edgexfoundry.org:10001" [2023-05-09T15:58:42.991Z] ], [2023-05-09T15:58:42.991Z] "bip": "10.250.0.254/24", [2023-05-09T15:58:42.991Z] "hosts": [ [2023-05-09T15:58:42.991Z] "tcp://0.0.0.0:5555", [2023-05-09T15:58:42.991Z] "unix:///var/run/docker.sock" [2023-05-09T15:58:42.991Z] ], [2023-05-09T15:58:42.991Z] "mtu": 1458, [2023-05-09T15:58:42.992Z] "selinux-enabled": true, [2023-05-09T15:58:42.992Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-05-09T15:58:42.992Z] } [Pipeline] sh [2023-05-09T15:58:43.336Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-05-09T15:58:43.695Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-09T15:59:01.976Z] provisioning config files... [2023-05-09T15:59:02.005Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/44@tmp/config14843484869156217172tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-09T15:59:02.362Z] ---> docker-login.sh [2023-05-09T15:59:02.362Z] nexus3.edgexfoundry.org:10001 [2023-05-09T15:59:02.637Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-09T15:59:02.923Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-09T15:59:02.923Z] Configure a credential helper to remove this warning. See [2023-05-09T15:59:02.923Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-09T15:59:02.923Z] [2023-05-09T15:59:02.923Z] Login Succeeded [2023-05-09T15:59:02.923Z] nexus3.edgexfoundry.org:10002 [2023-05-09T15:59:03.195Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-09T15:59:03.478Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-09T15:59:03.478Z] Configure a credential helper to remove this warning. See [2023-05-09T15:59:03.478Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-09T15:59:03.478Z] [2023-05-09T15:59:03.478Z] Login Succeeded [2023-05-09T15:59:03.478Z] nexus3.edgexfoundry.org:10003 [2023-05-09T15:59:03.749Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-09T15:59:03.749Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-09T15:59:03.749Z] Configure a credential helper to remove this warning. See [2023-05-09T15:59:03.749Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-09T15:59:03.749Z] [2023-05-09T15:59:03.749Z] Login Succeeded [2023-05-09T15:59:03.749Z] nexus3.edgexfoundry.org:10004 [2023-05-09T15:59:04.019Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-09T15:59:04.019Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-09T15:59:04.019Z] Configure a credential helper to remove this warning. See [2023-05-09T15:59:04.019Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-09T15:59:04.019Z] [2023-05-09T15:59:04.019Z] Login Succeeded [2023-05-09T15:59:04.019Z] docker.io [2023-05-09T15:59:04.294Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-09T15:59:04.564Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-09T15:59:04.564Z] Configure a credential helper to remove this warning. See [2023-05-09T15:59:04.564Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-09T15:59:04.564Z] [2023-05-09T15:59:04.564Z] Login Succeeded [2023-05-09T15:59:04.564Z] ---> docker-login.sh ends [Pipeline] } [2023-05-09T15:59:04.579Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-05-09T15:59:04.848Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-09T15:59:04.857Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-arm64 [Pipeline] echo [2023-05-09T15:59:04.864Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-09T15:59:04.871Z] ========================================================= [2023-05-09T15:59:04.871Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] [2023-05-09T15:59:04.871Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-09T15:59:05.205Z] + 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 . [2023-05-09T15:59:05.474Z] Sending build context to Docker daemon 2.919MB [2023-05-09T15:59:05.474Z] Step 1/21 : ARG BASE=alpine:3.16 [2023-05-09T15:59:05.474Z] Step 2/21 : FROM ${BASE} as builder [2023-05-09T15:59:05.749Z] latest: Pulling from edgex-devops/edgex-gcc-base-arm64 [2023-05-09T15:59:05.749Z] 9b18e9b68314: Pulling fs layer [2023-05-09T15:59:05.749Z] 1def92ead452: Pulling fs layer [2023-05-09T15:59:05.749Z] 9b18e9b68314: Verifying Checksum [2023-05-09T15:59:05.749Z] 9b18e9b68314: Download complete [2023-05-09T15:59:06.338Z] 9b18e9b68314: Pull complete [2023-05-09T15:59:08.298Z] 1def92ead452: Verifying Checksum [2023-05-09T15:59:08.298Z] 1def92ead452: Download complete [2023-05-09T15:59:16.538Z] 1def92ead452: Pull complete [2023-05-09T15:59:16.538Z] Digest: sha256:3c74c28e8b16bff0b36cfc53656b3ae71c0a9fddc9bd5376ab4c3f9356b3cc6c [2023-05-09T15:59:16.538Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest [2023-05-09T15:59:16.538Z] ---> 9a9802766715 [2023-05-09T15:59:16.538Z] Step 3/21 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2023-05-09T15:59:16.810Z] ---> Running in 291d6458559f [2023-05-09T15:59:17.795Z] Connecting to iotech.jfrog.io (34.253.217.24:443) [2023-05-09T15:59:18.383Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-05-09T15:59:18.383Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-05-09T15:59:18.383Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-05-09T15:59:18.971Z] Removing intermediate container 291d6458559f [2023-05-09T15:59:18.971Z] ---> 8ed41d5dce57 [2023-05-09T15:59:18.971Z] Step 4/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-05-09T15:59:18.971Z] ---> Running in 3c9298a5ccd5 [2023-05-09T15:59:20.950Z] Removing intermediate container 3c9298a5ccd5 [2023-05-09T15:59:20.950Z] ---> 5908b0a5a875 [2023-05-09T15:59:20.950Z] Step 5/21 : 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 paho-mqtt-c-dev-1.3 iotech-iot-1.5-dev hiredis-dev [2023-05-09T15:59:20.950Z] ---> Running in 3deb40498d6c [2023-05-09T15:59:21.916Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-05-09T15:59:21.916Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-05-09T15:59:22.502Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/aarch64/APKINDEX.tar.gz [2023-05-09T15:59:23.527Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-05-09T15:59:23.527Z] (1/14) Installing hiredis (1.0.2-r0) [2023-05-09T15:59:23.527Z] (2/14) Installing hiredis-dev (1.0.2-r0) [2023-05-09T15:59:23.527Z] (3/14) Installing iotech-iot-1.5 (1.5.0-r0) [2023-05-09T15:59:24.118Z] (4/14) Installing iotech-iot-1.5-dev (1.5.0-r0) [2023-05-09T15:59:24.389Z] (5/14) Installing libcbor (0.9.0-r1) [2023-05-09T15:59:24.389Z] (6/14) Installing libcbor-dev (0.9.0-r1) [2023-05-09T15:59:24.389Z] (7/14) Installing ncurses-dev (6.3_p20220521-r0) [2023-05-09T15:59:24.389Z] (8/14) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) [2023-05-09T15:59:25.349Z] (9/14) Installing libblkid (2.38-r1) [2023-05-09T15:59:25.349Z] (10/14) Installing libuuid (2.38-r1) [2023-05-09T15:59:25.349Z] (11/14) Installing libfdisk (2.38-r1) [2023-05-09T15:59:25.349Z] (12/14) Installing libmount (2.38-r1) [2023-05-09T15:59:25.349Z] (13/14) Installing libsmartcols (2.38-r1) [2023-05-09T15:59:25.349Z] (14/14) Installing util-linux-dev (2.38-r1) [2023-05-09T15:59:25.349Z] Executing busybox-1.35.0-r17.trigger [2023-05-09T15:59:25.349Z] OK: 286 MiB in 90 packages [2023-05-09T15:59:26.766Z] Removing intermediate container 3deb40498d6c [2023-05-09T15:59:26.766Z] ---> 3c690badd9b7 [2023-05-09T15:59:26.766Z] Step 6/21 : RUN mkdir /tmp/sdk [2023-05-09T15:59:26.766Z] ---> Running in 61c920f934dc [2023-05-09T15:59:28.719Z] Removing intermediate container 61c920f934dc [2023-05-09T15:59:28.719Z] ---> b09e263e72d8 [2023-05-09T15:59:28.719Z] Step 7/21 : COPY VERSION /tmp/sdk [2023-05-09T15:59:30.129Z] ---> ce83f0f52005 [2023-05-09T15:59:30.129Z] Step 8/21 : COPY src /tmp/sdk/src [2023-05-09T15:59:30.717Z] ---> 899c29ae0d06 [2023-05-09T15:59:30.717Z] Step 9/21 : COPY include /tmp/sdk/include [2023-05-09T15:59:31.303Z] ---> 546a65950c07 [2023-05-09T15:59:31.303Z] Step 10/21 : COPY scripts /tmp/sdk/scripts [2023-05-09T15:59:31.890Z] ---> 3419a497b537 [2023-05-09T15:59:31.890Z] Step 11/21 : COPY LICENSE /tmp/sdk [2023-05-09T15:59:32.169Z] ---> 7f6ac4af605d [2023-05-09T15:59:32.169Z] Step 12/21 : COPY Attribution.txt /tmp/sdk [2023-05-09T15:59:32.758Z] ---> 09a3ff6b493a [2023-05-09T15:59:32.758Z] Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2023-05-09T15:59:33.031Z] ---> Running in 02c7e9514826 [2023-05-09T15:59:33.999Z] + CPPCHECK=false [2023-05-09T15:59:33.999Z] + DOCGEN=false [2023-05-09T15:59:33.999Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2023-05-09T15:59:33.999Z] + TOMLVER=SDK-0.2 [2023-05-09T15:59:33.999Z] + CUTILVER=1.4 [2023-05-09T15:59:33.999Z] + '[' 0 -gt 0 ] [2023-05-09T15:59:33.999Z] + readlink -f ./scripts/build.sh [2023-05-09T15:59:33.999Z] + dirname /tmp/sdk/scripts/build.sh [2023-05-09T15:59:33.999Z] + dirname /tmp/sdk/scripts [2023-05-09T15:59:33.999Z] + ROOT=/tmp/sdk [2023-05-09T15:59:33.999Z] + cd /tmp/sdk [2023-05-09T15:59:33.999Z] + '[' '!' -d deps ] [2023-05-09T15:59:33.999Z] + mkdir deps [2023-05-09T15:59:33.999Z] + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2023-05-09T15:59:33.999Z] + tar -C deps -z -x -f - [2023-05-09T15:59:33.999Z] Connecting to github.com (140.82.112.3:443) [2023-05-09T15:59:34.268Z] Connecting to codeload.github.com (140.82.114.10:443) [2023-05-09T15:59:34.268Z] writing to stdout [2023-05-09T15:59:34.268Z] - 100% |********************************| 16451 0:00:00 ETA [2023-05-09T15:59:34.268Z] written to stdout [2023-05-09T15:59:34.536Z] + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c [2023-05-09T15:59:34.536Z] + mkdir -p /tmp/sdk/build/release [2023-05-09T15:59:34.536Z] + cd /tmp/sdk/build/release [2023-05-09T15:59:34.536Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2023-05-09T15:59:34.805Z] -- The C compiler identification is GNU 11.2.1 [2023-05-09T15:59:34.805Z] -- Detecting C compiler ABI info [2023-05-09T15:59:35.073Z] -- Detecting C compiler ABI info - done [2023-05-09T15:59:35.342Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-05-09T15:59:35.342Z] -- Detecting C compile features [2023-05-09T15:59:35.342Z] -- Detecting C compile features - done [2023-05-09T15:59:35.342Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-05-09T15:59:35.610Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.83.1") [2023-05-09T15:59:35.610Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-05-09T15:59:35.611Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-05-09T15:59:35.611Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-05-09T15:59:35.611Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-05-09T15:59:35.611Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-05-09T15:59:35.611Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2023-05-09T15:59:35.611Z] -- /opt/iotech/iot/1.5/include [2023-05-09T15:59:35.611Z] -- C SDK 2.3.1-dev.9 for Linux [2023-05-09T15:59:35.611Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-05-09T15:59:35.879Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-05-09T15:59:36.146Z] -- Found Curses: /usr/lib/libcurses.so [2023-05-09T15:59:36.146Z] -- Configuring done [2023-05-09T15:59:36.416Z] -- Generating done [2023-05-09T15:59:36.416Z] -- Build files have been written to: /tmp/sdk/build/release [2023-05-09T15:59:36.684Z] + make all package [2023-05-09T15:59:36.684Z] + tee release.log [2023-05-09T15:59:36.684Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-05-09T15:59:37.648Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2023-05-09T15:59:39.059Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2023-05-09T15:59:39.646Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2023-05-09T15:59:41.061Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2023-05-09T15:59:41.648Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2023-05-09T15:59:44.993Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2023-05-09T15:59:45.953Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2023-05-09T15:59:46.221Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2023-05-09T15:59:47.635Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2023-05-09T15:59:50.223Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2023-05-09T15:59:50.808Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2023-05-09T15:59:51.783Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2023-05-09T15:59:52.745Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2023-05-09T15:59:53.709Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2023-05-09T15:59:54.671Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2023-05-09T15:59:54.940Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2023-05-09T15:59:58.288Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2023-05-09T15:59:58.288Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2023-05-09T15:59:59.250Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2023-05-09T16:00:00.663Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2023-05-09T16:00:07.313Z] [ 42%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2023-05-09T16:00:07.581Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2023-05-09T16:00:08.164Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2023-05-09T16:00:08.752Z] [ 48%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2023-05-09T16:00:09.340Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2023-05-09T16:00:11.290Z] [ 51%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2023-05-09T16:00:13.878Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2023-05-09T16:00:14.461Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2023-05-09T16:00:15.422Z] [ 57%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2023-05-09T16:00:16.380Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2023-05-09T16:00:19.729Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2023-05-09T16:00:25.069Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2023-05-09T16:00:25.654Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2023-05-09T16:00:25.920Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2023-05-09T16:00:26.504Z] [ 69%] Linking C shared library libcsdk.so [2023-05-09T16:00:26.771Z] [ 69%] Built target csdk [2023-05-09T16:00:26.771Z] [ 71%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2023-05-09T16:00:27.733Z] [ 73%] Linking C executable template [2023-05-09T16:00:28.001Z] [ 73%] Built target template [2023-05-09T16:00:28.268Z] [ 75%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2023-05-09T16:00:28.853Z] [ 76%] Linking C executable device-counter [2023-05-09T16:00:29.121Z] [ 76%] Built target device-counter [2023-05-09T16:00:29.121Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2023-05-09T16:00:29.704Z] [ 80%] Linking C executable device-random [2023-05-09T16:00:29.971Z] [ 80%] Built target device-random [2023-05-09T16:00:30.237Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2023-05-09T16:00:30.821Z] [ 84%] Linking C executable device-gyro [2023-05-09T16:00:31.090Z] [ 84%] Built target device-gyro [2023-05-09T16:00:31.090Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2023-05-09T16:00:31.675Z] [ 88%] Linking C executable device-bitfields [2023-05-09T16:00:31.942Z] [ 88%] Built target device-bitfields [2023-05-09T16:00:31.942Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2023-05-09T16:00:33.353Z] [ 92%] Linking C executable template-discovery [2023-05-09T16:00:33.353Z] [ 92%] Built target template-discovery [2023-05-09T16:00:33.353Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2023-05-09T16:00:34.315Z] [ 96%] Linking C executable device-file [2023-05-09T16:00:34.582Z] [ 96%] Built target device-file [2023-05-09T16:00:34.849Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2023-05-09T16:00:35.433Z] [100%] Linking C executable device-terminal [2023-05-09T16:00:36.023Z] [100%] Built target device-terminal [2023-05-09T16:00:36.024Z] Run CPack packaging tool... [2023-05-09T16:00:36.024Z] CPack: Create package using TGZ [2023-05-09T16:00:36.024Z] CPack: Install projects [2023-05-09T16:00:36.024Z] CPack: - Run preinstall target for: Csdk [2023-05-09T16:00:36.987Z] CPack: - Install project: Csdk [] [2023-05-09T16:00:36.987Z] CPack: Create package [2023-05-09T16:00:36.987Z] CPack: - package: /tmp/sdk/build/release/csdk-2.3.1-dev.9.tar.gz generated. [2023-05-09T16:00:36.987Z] + '[' false '=' true ] [2023-05-09T16:00:36.987Z] + '[' false '=' true ] [2023-05-09T16:00:36.987Z] + mkdir -p /tmp/sdk/build/debug [2023-05-09T16:00:36.987Z] + cd /tmp/sdk/build/debug [2023-05-09T16:00:36.987Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2023-05-09T16:00:37.254Z] -- The C compiler identification is GNU 11.2.1 [2023-05-09T16:00:37.254Z] -- Detecting C compiler ABI info [2023-05-09T16:00:37.839Z] -- Detecting C compiler ABI info - done [2023-05-09T16:00:37.839Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-05-09T16:00:37.839Z] -- Detecting C compile features [2023-05-09T16:00:37.839Z] -- Detecting C compile features - done [2023-05-09T16:00:37.839Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-05-09T16:00:38.109Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.83.1") [2023-05-09T16:00:38.109Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-05-09T16:00:38.109Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-05-09T16:00:38.109Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-05-09T16:00:38.109Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-05-09T16:00:38.109Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-05-09T16:00:38.109Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2023-05-09T16:00:38.109Z] -- /opt/iotech/iot/1.5/include [2023-05-09T16:00:38.109Z] -- C SDK 2.3.1-dev.9 for Linux [2023-05-09T16:00:38.109Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-05-09T16:00:38.378Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-05-09T16:00:38.645Z] -- Found Curses: /usr/lib/libcurses.so [2023-05-09T16:00:38.645Z] -- Configuring done [2023-05-09T16:00:38.913Z] -- Generating done [2023-05-09T16:00:38.913Z] -- Build files have been written to: /tmp/sdk/build/debug [2023-05-09T16:00:38.913Z] + make [2023-05-09T16:00:38.913Z] + tee debug.log [2023-05-09T16:00:39.179Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-05-09T16:00:39.764Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2023-05-09T16:00:40.031Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2023-05-09T16:00:40.624Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2023-05-09T16:00:40.892Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2023-05-09T16:00:41.476Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2023-05-09T16:00:42.436Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2023-05-09T16:00:42.703Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2023-05-09T16:00:42.970Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2023-05-09T16:00:43.552Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2023-05-09T16:00:44.512Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2023-05-09T16:00:44.778Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2023-05-09T16:00:45.365Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2023-05-09T16:00:45.633Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2023-05-09T16:00:45.901Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2023-05-09T16:00:46.488Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2023-05-09T16:00:46.757Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2023-05-09T16:00:47.718Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2023-05-09T16:00:47.985Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2023-05-09T16:00:47.985Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2023-05-09T16:00:48.942Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2023-05-09T16:00:50.351Z] [ 42%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2023-05-09T16:00:50.617Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2023-05-09T16:00:50.884Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2023-05-09T16:00:51.468Z] [ 48%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2023-05-09T16:00:51.735Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2023-05-09T16:00:52.317Z] [ 51%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2023-05-09T16:00:54.905Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2023-05-09T16:00:54.905Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2023-05-09T16:00:55.174Z] [ 57%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2023-05-09T16:00:55.759Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2023-05-09T16:00:56.718Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2023-05-09T16:00:57.680Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2023-05-09T16:00:58.265Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2023-05-09T16:00:58.533Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2023-05-09T16:00:59.119Z] [ 69%] Linking C shared library libcsdk.so [2023-05-09T16:00:59.386Z] [ 69%] Built target csdk [2023-05-09T16:00:59.386Z] [ 71%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2023-05-09T16:00:59.973Z] [ 73%] Linking C executable template [2023-05-09T16:01:00.242Z] [ 73%] Built target template [2023-05-09T16:01:00.510Z] [ 75%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2023-05-09T16:01:00.780Z] [ 76%] Linking C executable device-counter [2023-05-09T16:01:01.048Z] [ 76%] Built target device-counter [2023-05-09T16:01:01.316Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2023-05-09T16:01:01.584Z] [ 80%] Linking C executable device-random [2023-05-09T16:01:02.172Z] [ 80%] Built target device-random [2023-05-09T16:01:02.173Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2023-05-09T16:01:02.441Z] [ 84%] Linking C executable device-gyro [2023-05-09T16:01:03.026Z] [ 84%] Built target device-gyro [2023-05-09T16:01:03.026Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2023-05-09T16:01:03.293Z] [ 88%] Linking C executable device-bitfields [2023-05-09T16:01:03.561Z] [ 88%] Built target device-bitfields [2023-05-09T16:01:03.561Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2023-05-09T16:01:04.146Z] [ 92%] Linking C executable template-discovery [2023-05-09T16:01:04.415Z] [ 92%] Built target template-discovery [2023-05-09T16:01:04.415Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2023-05-09T16:01:04.998Z] [ 96%] Linking C executable device-file [2023-05-09T16:01:05.266Z] [ 96%] Built target device-file [2023-05-09T16:01:05.266Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2023-05-09T16:01:05.850Z] [100%] Linking C executable device-terminal [2023-05-09T16:01:06.118Z] [100%] Built target device-terminal [2023-05-09T16:01:06.118Z] make: Entering directory '/tmp/sdk/build/release' [2023-05-09T16:01:06.118Z] make[1]: Entering directory '/tmp/sdk/build/release' [2023-05-09T16:01:06.118Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-05-09T16:01:06.118Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-05-09T16:01:06.387Z] [ 69%] Built target csdk [2023-05-09T16:01:06.387Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-05-09T16:01:06.387Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-05-09T16:01:06.387Z] [ 73%] Built target template [2023-05-09T16:01:06.387Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-05-09T16:01:06.387Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-05-09T16:01:06.387Z] [ 76%] Built target device-counter [2023-05-09T16:01:06.387Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-05-09T16:01:06.387Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-05-09T16:01:06.387Z] [ 80%] Built target device-random [2023-05-09T16:01:06.387Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-05-09T16:01:06.387Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-05-09T16:01:06.387Z] [ 84%] Built target device-gyro [2023-05-09T16:01:06.387Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-05-09T16:01:06.654Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-05-09T16:01:06.654Z] [ 88%] Built target device-bitfields [2023-05-09T16:01:06.654Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-05-09T16:01:06.654Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-05-09T16:01:06.654Z] [ 92%] Built target template-discovery [2023-05-09T16:01:06.654Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-05-09T16:01:06.655Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-05-09T16:01:06.655Z] [ 96%] Built target device-file [2023-05-09T16:01:06.655Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-05-09T16:01:06.655Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-05-09T16:01:06.655Z] [100%] Built target device-terminal [2023-05-09T16:01:06.655Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2023-05-09T16:01:06.929Z] Install the project... [2023-05-09T16:01:06.929Z] -- Install configuration: "Release" [2023-05-09T16:01:06.929Z] -- Installing: /usr/local/lib/libcsdk.so [2023-05-09T16:01:06.929Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2023-05-09T16:01:06.929Z] -- Installing: /usr/local/include [2023-05-09T16:01:06.930Z] -- Installing: /usr/local/include/devsdk [2023-05-09T16:01:06.930Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2023-05-09T16:01:06.930Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2023-05-09T16:01:06.930Z] -- Installing: /usr/local/include/edgex [2023-05-09T16:01:06.930Z] -- Installing: /usr/local/include/edgex/rest-server.h [2023-05-09T16:01:06.930Z] -- Installing: /usr/local/include/edgex/edgex.h [2023-05-09T16:01:06.930Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2023-05-09T16:01:06.930Z] -- Installing: /usr/local/include/edgex/devices.h [2023-05-09T16:01:06.930Z] -- Installing: /usr/local/include/edgex/profiles.h [2023-05-09T16:01:06.930Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2023-05-09T16:01:06.930Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2023-05-09T16:01:06.930Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2023-05-09T16:01:06.930Z] make: Leaving directory '/tmp/sdk/build/release' [2023-05-09T16:01:08.341Z] Removing intermediate container 02c7e9514826 [2023-05-09T16:01:08.341Z] ---> 6c36239b6db0 [2023-05-09T16:01:08.341Z] Step 14/21 : FROM ${BASE} [2023-05-09T16:01:08.341Z] ---> 9a9802766715 [2023-05-09T16:01:08.341Z] Step 15/21 : LABEL maintainer="IOTech " [2023-05-09T16:01:08.341Z] ---> Running in c6288c7a9d36 [2023-05-09T16:01:08.608Z] Removing intermediate container c6288c7a9d36 [2023-05-09T16:01:08.608Z] ---> 0dc66b106a51 [2023-05-09T16:01:08.608Z] Step 16/21 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2023-05-09T16:01:08.608Z] ---> Running in 2550808ca09b [2023-05-09T16:01:09.588Z] Connecting to iotech.jfrog.io (52.17.249.63:443) [2023-05-09T16:01:09.855Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-05-09T16:01:09.855Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-05-09T16:01:09.855Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-05-09T16:01:10.814Z] Removing intermediate container 2550808ca09b [2023-05-09T16:01:10.814Z] ---> b5c89a63a291 [2023-05-09T16:01:10.814Z] Step 17/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-05-09T16:01:10.814Z] ---> Running in dce872e3e4a6 [2023-05-09T16:01:12.222Z] Removing intermediate container dce872e3e4a6 [2023-05-09T16:01:12.222Z] ---> dc7705a21d3a [2023-05-09T16:01:12.222Z] Step 18/21 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml curl libmicrohttpd libuuid libcbor paho-mqtt-c-dev-1.3 iotech-iot-1.4 hiredis-dev [2023-05-09T16:01:12.222Z] ---> Running in f652bb605441 [2023-05-09T16:01:13.185Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-05-09T16:01:13.450Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-05-09T16:01:14.032Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/aarch64/APKINDEX.tar.gz [2023-05-09T16:01:14.991Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-05-09T16:01:14.991Z] (1/7) Installing curl (8.0.1-r0) [2023-05-09T16:01:14.991Z] (2/7) Installing hiredis (1.0.2-r0) [2023-05-09T16:01:14.991Z] (3/7) Installing hiredis-dev (1.0.2-r0) [2023-05-09T16:01:14.991Z] (4/7) Installing iotech-iot-1.4 (1.4.2-r0) [2023-05-09T16:01:15.571Z] (5/7) Installing libcbor (0.9.0-r1) [2023-05-09T16:01:15.571Z] (6/7) Installing libuuid (2.38-r1) [2023-05-09T16:01:15.571Z] (7/7) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) [2023-05-09T16:01:16.534Z] Executing busybox-1.35.0-r17.trigger [2023-05-09T16:01:16.534Z] OK: 281 MiB in 83 packages [2023-05-09T16:01:17.496Z] Removing intermediate container f652bb605441 [2023-05-09T16:01:17.496Z] ---> 92b1684e9cb7 [2023-05-09T16:01:17.496Z] Step 19/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2023-05-09T16:01:18.082Z] ---> 6d6279ddc07e [2023-05-09T16:01:18.082Z] Step 20/21 : COPY --from=builder /usr/local/lib /usr/local/lib [2023-05-09T16:01:18.668Z] ---> 6d20fdbf4176 [2023-05-09T16:01:18.668Z] Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2023-05-09T16:01:19.253Z] ---> 970fdd986f9c [2023-05-09T16:01:19.253Z] Successfully built 970fdd986f9c [2023-05-09T16:01:19.253Z] 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 [2023-05-09T16:01:19.691Z] + docker inspect -f . ci-base-image-arm64 [2023-05-09T16:01:19.691Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-09T16:01:19.908Z] prd-ubuntu20.04-docker-arm64-4c-16g-14711 does not seem to be running inside a container [2023-05-09T16:01:19.978Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/44 -v /w/workspace/device-sdk-c/44:/w/workspace/device-sdk-c/44:rw,z -v /w/workspace/device-sdk-c/44@tmp:/w/workspace/device-sdk-c/44@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 [2023-05-09T16:01:21.208Z] $ docker top 6063ec40bf1a962302709746ddd474e4cf6145e6b8c08806dcc82107e9ca21b6 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-09T16:01:22.043Z] + make test [2023-05-09T16:01:22.043Z] echo "make test" [2023-05-09T16:01:22.043Z] make test [Pipeline] } [2023-05-09T16:01:22.066Z] $ docker stop --time=1 6063ec40bf1a962302709746ddd474e4cf6145e6b8c08806dcc82107e9ca21b6 [2023-05-09T16:01:23.711Z] $ docker rm -f --volumes 6063ec40bf1a962302709746ddd474e4cf6145e6b8c08806dcc82107e9ca21b6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-09T16:01:24.318Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-05-09T16:01:25.240Z] + ls -al . [2023-05-09T16:01:25.240Z] total 208 [2023-05-09T16:01:25.240Z] drwxrwxr-x 8 jenkins jenkins 4096 May 9 15:58 . [2023-05-09T16:01:25.240Z] drwxrwxr-x 4 jenkins jenkins 4096 May 9 15:58 .. [2023-05-09T16:01:25.240Z] drwxrwxr-x 8 jenkins jenkins 4096 May 9 15:58 .git [2023-05-09T16:01:25.240Z] drwxrwxr-x 2 jenkins jenkins 4096 May 9 15:58 .github [2023-05-09T16:01:25.240Z] -rw-rw-r-- 1 jenkins jenkins 176 May 9 15:58 .gitignore [2023-05-09T16:01:25.240Z] -rw-rw-r-- 1 jenkins jenkins 3104 May 9 15:58 Attribution.txt [2023-05-09T16:01:25.240Z] -rw-rw-r-- 1 jenkins jenkins 8743 May 9 15:58 CHANGES [2023-05-09T16:01:25.240Z] -rw-rw-r-- 1 jenkins jenkins 108574 May 9 15:58 Doxyfile [2023-05-09T16:01:25.240Z] -rw-rw-r-- 1 jenkins jenkins 677 May 9 15:58 GOVERNANCE.md [2023-05-09T16:01:25.240Z] -rw-rw-r-- 1 jenkins jenkins 784 May 9 15:58 Jenkinsfile [2023-05-09T16:01:25.240Z] -rw-rw-r-- 1 jenkins jenkins 10174 May 9 15:58 LICENSE [2023-05-09T16:01:25.240Z] -rw-rw-r-- 1 jenkins jenkins 444 May 9 15:58 Makefile [2023-05-09T16:01:25.240Z] -rw-rw-r-- 1 jenkins jenkins 618 May 9 15:58 OWNERS.md [2023-05-09T16:01:25.240Z] -rw-rw-r-- 1 jenkins jenkins 1651 May 9 15:58 README.IOT.md [2023-05-09T16:01:25.240Z] -rw-rw-r-- 1 jenkins jenkins 4215 May 9 15:58 README.md [2023-05-09T16:01:25.240Z] -rw-rw-r-- 1 jenkins jenkins 1245 May 9 15:58 README.v3.md [2023-05-09T16:01:25.240Z] -rw-rw-r-- 1 jenkins jenkins 11 May 9 15:54 VERSION [2023-05-09T16:01:25.240Z] drwxrwxr-x 2 jenkins jenkins 4096 May 9 15:58 docs [2023-05-09T16:01:25.240Z] drwxrwxr-x 4 jenkins jenkins 4096 May 9 15:58 include [2023-05-09T16:01:25.240Z] drwxrwxr-x 2 jenkins jenkins 4096 May 9 15:58 scripts [2023-05-09T16:01:25.240Z] drwxrwxr-x 4 jenkins jenkins 4096 May 9 15:58 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-09T16:01:25.610Z] + 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=f74adf796a5a2724d03475485970680652a5aba3 --label arch=arm64 --label version=2.3.1-dev.9 . [2023-05-09T16:01:25.904Z] Sending build context to Docker daemon 2.919MB [2023-05-09T16:01:25.904Z] Step 1/17 : ARG BASE=alpine:3.16 [2023-05-09T16:01:25.904Z] Step 2/17 : FROM ${BASE} [2023-05-09T16:01:25.904Z] ---> 970fdd986f9c [2023-05-09T16:01:25.904Z] Step 3/17 : LABEL maintainer="IOTech " [2023-05-09T16:01:26.174Z] ---> Running in cd139c926828 [2023-05-09T16:01:26.467Z] Removing intermediate container cd139c926828 [2023-05-09T16:01:26.467Z] ---> bd676b20f9d4 [2023-05-09T16:01:26.467Z] Step 4/17 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2023-05-09T16:01:26.467Z] ---> Running in 15ae7f482055 [2023-05-09T16:01:27.450Z] Connecting to iotech.jfrog.io (52.214.31.35:443) [2023-05-09T16:01:28.421Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-05-09T16:01:28.421Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-05-09T16:01:28.421Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-05-09T16:01:29.007Z] Removing intermediate container 15ae7f482055 [2023-05-09T16:01:29.007Z] ---> f140d43a5233 [2023-05-09T16:01:29.007Z] Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-05-09T16:01:29.007Z] ---> Running in cff9e0551bbf [2023-05-09T16:01:30.962Z] Removing intermediate container cff9e0551bbf [2023-05-09T16:01:30.962Z] ---> ef3d58dea6ec [2023-05-09T16:01:30.962Z] Step 6/17 : 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 paho-mqtt-c-dev-1.3 hiredis-dev iotech-iot-1.5-dev && mkdir -p /edgex-c-sdk/build [2023-05-09T16:01:30.962Z] ---> Running in ef4dc6f1a124 [2023-05-09T16:01:31.927Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-05-09T16:01:31.927Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-05-09T16:01:32.511Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/aarch64/APKINDEX.tar.gz [2023-05-09T16:01:33.471Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-05-09T16:01:33.471Z] (1/9) Installing iotech-iot-1.5 (1.5.0-r0) [2023-05-09T16:01:33.738Z] (2/9) Installing iotech-iot-1.5-dev (1.5.0-r0) [2023-05-09T16:01:34.007Z] (3/9) Installing libcbor-dev (0.9.0-r1) [2023-05-09T16:01:34.007Z] (4/9) Installing ncurses-dev (6.3_p20220521-r0) [2023-05-09T16:01:34.007Z] (5/9) Installing libblkid (2.38-r1) [2023-05-09T16:01:34.007Z] (6/9) Installing libfdisk (2.38-r1) [2023-05-09T16:01:34.007Z] (7/9) Installing libmount (2.38-r1) [2023-05-09T16:01:34.007Z] (8/9) Installing libsmartcols (2.38-r1) [2023-05-09T16:01:34.007Z] (9/9) Installing util-linux-dev (2.38-r1) [2023-05-09T16:01:34.007Z] Executing busybox-1.35.0-r17.trigger [2023-05-09T16:01:34.007Z] OK: 287 MiB in 92 packages [2023-05-09T16:01:35.418Z] Removing intermediate container ef4dc6f1a124 [2023-05-09T16:01:35.418Z] ---> 021b6bbfc4a4 [2023-05-09T16:01:35.418Z] Step 7/17 : COPY VERSION /edgex-c-sdk/ [2023-05-09T16:01:35.694Z] ---> adaac713d144 [2023-05-09T16:01:35.694Z] Step 8/17 : COPY src /edgex-c-sdk/src/ [2023-05-09T16:01:36.661Z] ---> 9c50f70998a6 [2023-05-09T16:01:36.661Z] Step 9/17 : COPY include /edgex-c-sdk/include/ [2023-05-09T16:01:37.244Z] ---> c6a183229d54 [2023-05-09T16:01:37.244Z] Step 10/17 : COPY scripts /edgex-c-sdk/scripts [2023-05-09T16:01:37.510Z] ---> ffeb25c9d8f6 [2023-05-09T16:01:37.510Z] Step 11/17 : COPY LICENSE /edgex-c-sdk/ [2023-05-09T16:01:38.092Z] ---> 15c59408fc10 [2023-05-09T16:01:38.092Z] Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ [2023-05-09T16:01:38.677Z] ---> a1aed1468009 [2023-05-09T16:01:38.677Z] Step 13/17 : WORKDIR /edgex-c-sdk [2023-05-09T16:01:38.677Z] ---> Running in f9199d4f9b89 [2023-05-09T16:01:39.262Z] Removing intermediate container f9199d4f9b89 [2023-05-09T16:01:39.262Z] ---> 22faa1bc7679 [2023-05-09T16:01:39.262Z] Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2023-05-09T16:01:39.262Z] ---> Running in 01f3b3fff394 [2023-05-09T16:01:39.531Z] Removing intermediate container 01f3b3fff394 [2023-05-09T16:01:39.531Z] ---> 1c40e3fcd4ee [2023-05-09T16:01:39.531Z] Step 15/17 : LABEL arch=arm64 [2023-05-09T16:01:39.531Z] ---> Running in 30868b100035 [2023-05-09T16:01:40.113Z] Removing intermediate container 30868b100035 [2023-05-09T16:01:40.113Z] ---> 42edd178b16a [2023-05-09T16:01:40.113Z] Step 16/17 : LABEL git_sha=f74adf796a5a2724d03475485970680652a5aba3 [2023-05-09T16:01:40.113Z] ---> Running in ba7642a2d898 [2023-05-09T16:01:40.381Z] Removing intermediate container ba7642a2d898 [2023-05-09T16:01:40.381Z] ---> 232e00f623af [2023-05-09T16:01:40.381Z] Step 17/17 : LABEL version=2.3.1-dev.9 [2023-05-09T16:01:40.381Z] ---> Running in 5980b5fc5d17 [2023-05-09T16:01:40.649Z] Removing intermediate container 5980b5fc5d17 [2023-05-09T16:01:40.649Z] ---> 39e631eb0939 [2023-05-09T16:01:40.649Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2023-05-09T16:01:40.917Z] Successfully built 39e631eb0939 [2023-05-09T16:01:40.917Z] 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] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-09T16:01:41.341Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-09T16:01:41.341Z] [2023-05-09T16:01:41.341Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-09T16:01:41.680Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-09T16:01:41.950Z] arm64: Pulling from edgex-lftools-log-publisher [2023-05-09T16:01:41.950Z] 8998bd30e6a1: Pulling fs layer [2023-05-09T16:01:41.950Z] 04944245beec: Pulling fs layer [2023-05-09T16:01:41.950Z] 699f458cf7ca: Pulling fs layer [2023-05-09T16:01:41.950Z] 765212b225bb: Pulling fs layer [2023-05-09T16:01:41.950Z] f23df028b6ca: Pulling fs layer [2023-05-09T16:01:41.950Z] d65c8cfc05b1: Pulling fs layer [2023-05-09T16:01:41.950Z] 2437ff75d9bd: Pulling fs layer [2023-05-09T16:01:41.950Z] 765212b225bb: Waiting [2023-05-09T16:01:41.950Z] f23df028b6ca: Waiting [2023-05-09T16:01:41.950Z] d65c8cfc05b1: Waiting [2023-05-09T16:01:41.950Z] 2437ff75d9bd: Waiting [2023-05-09T16:01:42.218Z] 04944245beec: Verifying Checksum [2023-05-09T16:01:42.218Z] 04944245beec: Download complete [2023-05-09T16:01:42.218Z] 765212b225bb: Download complete [2023-05-09T16:01:42.218Z] f23df028b6ca: Download complete [2023-05-09T16:01:42.218Z] d65c8cfc05b1: Verifying Checksum [2023-05-09T16:01:42.218Z] d65c8cfc05b1: Download complete [2023-05-09T16:01:42.218Z] 699f458cf7ca: Verifying Checksum [2023-05-09T16:01:42.218Z] 699f458cf7ca: Download complete [2023-05-09T16:01:42.805Z] 8998bd30e6a1: Verifying Checksum [2023-05-09T16:01:42.805Z] 8998bd30e6a1: Download complete [2023-05-09T16:01:44.745Z] 2437ff75d9bd: Verifying Checksum [2023-05-09T16:01:44.745Z] 2437ff75d9bd: Download complete [2023-05-09T16:01:46.156Z] 8998bd30e6a1: Pull complete [2023-05-09T16:01:46.740Z] 04944245beec: Pull complete [2023-05-09T16:01:48.155Z] 699f458cf7ca: Pull complete [2023-05-09T16:01:48.155Z] 765212b225bb: Pull complete [2023-05-09T16:01:49.114Z] f23df028b6ca: Pull complete [2023-05-09T16:01:49.114Z] d65c8cfc05b1: Pull complete [2023-05-09T16:02:01.429Z] 2437ff75d9bd: Pull complete [2023-05-09T16:02:01.429Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-05-09T16:02:01.429Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-09T16:02:01.429Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-09T16:02:01.617Z] prd-ubuntu20.04-docker-arm64-4c-16g-14711 does not seem to be running inside a container [2023-05-09T16:02:01.687Z] $ 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/44 -v /w/workspace/device-sdk-c/44:/w/workspace/device-sdk-c/44:rw,z -v /w/workspace/device-sdk-c/44@tmp:/w/workspace/device-sdk-c/44@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 [2023-05-09T16:02:04.239Z] $ docker top 871c28b5a4830b9e8bbbd08b554440e3aecf442d777bd1fb22ffe766ee736ceb -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-09T16:02:05.064Z] ---> job-cost.sh [2023-05-09T16:02:05.065Z] lf-activate-venv: SKIPPING [2023-05-09T16:02:05.065Z] INFO: No Stack... [2023-05-09T16:02:05.331Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-05-09T16:02:06.290Z] INFO: Archiving Costs [Pipeline] sh [2023-05-09T16:02:06.614Z] + cat /w/workspace/device-sdk-c/44/archives/cost.csv [2023-05-09T16:02:06.614Z] + cut -d, -f6 [Pipeline] lock [2023-05-09T16:02:06.682Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-main-44-stack-cost] [2023-05-09T16:02:06.690Z] Resource [jenkins-edgexfoundry-device-sdk-c-main-44-stack-cost] did not exist. Created. [2023-05-09T16:02:06.690Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-main-44-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-05-09T16:02:07.026Z] /w/workspace/device-sdk-c/44@tmp/durable-3146551c/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-05-09T16:02:07.630Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-05-09T16:02:07.653Z] Warning: overwriting stash ‘stack-cost’ [2023-05-09T16:02:08.093Z] Stashed 1 file(s) [Pipeline] } [2023-05-09T16:02:08.103Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-main-44-stack-cost] [Pipeline] // lock [Pipeline] } [2023-05-09T16:02:08.130Z] $ docker stop --time=1 871c28b5a4830b9e8bbbd08b554440e3aecf442d777bd1fb22ffe766ee736ceb [2023-05-09T16:02:09.629Z] $ docker rm -f --volumes 871c28b5a4830b9e8bbbd08b554440e3aecf442d777bd1fb22ffe766ee736ceb [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 [2023-05-09T16:02:10.244Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-05-09T16:02:10.244Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-09T16:02:10.542Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-09T16:02:10.542Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-09T16:02:10.615Z] prd-ubuntu20.04-docker-8c-8g-14710 does not seem to be running inside a container [2023-05-09T16:02:10.645Z] $ 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 [2023-05-09T16:02:10.972Z] $ docker top e36be0e6574433c8431b160648180640db93ff547cb613a83c546325f8a52112 -eo pid,comm [2023-05-09T16:02:11.023Z] 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). [2023-05-09T16:02:11.023Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-05-09T16:02:11.056Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-09T16:02:11.056Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-09T16:02:11.164Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-09T16:02:11.163Z] $ docker exec e36be0e6574433c8431b160648180640db93ff547cb613a83c546325f8a52112 ssh-agent [2023-05-09T16:02:11.271Z] SSH_AUTH_SOCK=/tmp/ssh-iCoJAoxlBtlp/agent.32 [2023-05-09T16:02:11.271Z] SSH_AGENT_PID=38 [2023-05-09T16:02:11.277Z] Running ssh-add (command line suppressed) [2023-05-09T16:02:11.366Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_9947559437558353623.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_9947559437558353623.key) [2023-05-09T16:02:11.385Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-09T16:02:11.672Z] + git semver tag [2023-05-09T16:02:11.931Z] 2023-05-09 16:02:11,834 [run_tag] DEBUG tag force:False [2023-05-09T16:02:11.931Z] 2023-05-09 16:02:11,835 [check_head_tag] DEBUG check head tag [2023-05-09T16:02:11.931Z] 2023-05-09 16:02:11,835 [execute] INFO git cat-file --batch-check [2023-05-09T16:02:11.931Z] 2023-05-09 16:02:11,835 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main, universal_newlines=False, shell=None, istream=) [2023-05-09T16:02:11.931Z] 2023-05-09 16:02:11,839 [execute] INFO git cat-file --batch [2023-05-09T16:02:11.931Z] 2023-05-09 16:02:11,839 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main, universal_newlines=False, shell=None, istream=) [2023-05-09T16:02:11.931Z] 2023-05-09 16:02:11,853 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2023-05-09T16:02:11.931Z] 2023-05-09 16:02:11,853 [execute] INFO git tag -a v2.3.1-dev.9 -m v2.3.1-dev.9 [2023-05-09T16:02:11.931Z] 2023-05-09 16:02:11,853 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.3.1-dev.9', '-m', 'v2.3.1-dev.9'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main, universal_newlines=False, shell=None, istream=None) [2023-05-09T16:02:11.931Z] 2023-05-09 16:02:11,858 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2023-05-09T16:02:11.931Z] 2.3.1-dev.9 [Pipeline] } [2023-05-09T16:02:11.936Z] $ docker exec --env ******** --env ******** e36be0e6574433c8431b160648180640db93ff547cb613a83c546325f8a52112 ssh-agent -k [2023-05-09T16:02:12.021Z] unset SSH_AUTH_SOCK; [2023-05-09T16:02:12.021Z] unset SSH_AGENT_PID; [2023-05-09T16:02:12.021Z] echo Agent pid 38 killed; [2023-05-09T16:02:12.033Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-05-09T16:02:12.334Z] + git semver [Pipeline] } [2023-05-09T16:02:12.602Z] $ docker stop --time=1 e36be0e6574433c8431b160648180640db93ff547cb613a83c546325f8a52112 [2023-05-09T16:02:13.899Z] $ docker rm -f --volumes e36be0e6574433c8431b160648180640db93ff547cb613a83c546325f8a52112 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-09T16:02:14.341Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-05-09T16:02:14.341Z] [2023-05-09T16:02:14.341Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-09T16:02:14.651Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-05-09T16:02:14.651Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-05-09T16:02:14.651Z] ab5ef0e58194: Pulling fs layer [2023-05-09T16:02:14.651Z] 9712f1f96733: Pulling fs layer [2023-05-09T16:02:14.651Z] 63f879dbbcfc: Pulling fs layer [2023-05-09T16:02:14.651Z] 0d9ebad4ef96: Pulling fs layer [2023-05-09T16:02:14.651Z] e9a5061849ea: Pulling fs layer [2023-05-09T16:02:14.651Z] d747dcd14b5f: Pulling fs layer [2023-05-09T16:02:14.651Z] 2de7ff778b66: Pulling fs layer [2023-05-09T16:02:14.651Z] 0d9ebad4ef96: Waiting [2023-05-09T16:02:14.651Z] e9a5061849ea: Waiting [2023-05-09T16:02:14.651Z] d747dcd14b5f: Waiting [2023-05-09T16:02:14.651Z] 2de7ff778b66: Waiting [2023-05-09T16:02:14.651Z] 9712f1f96733: Verifying Checksum [2023-05-09T16:02:14.651Z] 9712f1f96733: Download complete [2023-05-09T16:02:14.910Z] 63f879dbbcfc: Verifying Checksum [2023-05-09T16:02:14.910Z] 63f879dbbcfc: Download complete [2023-05-09T16:02:14.910Z] e9a5061849ea: Verifying Checksum [2023-05-09T16:02:14.910Z] e9a5061849ea: Download complete [2023-05-09T16:02:15.169Z] d747dcd14b5f: Verifying Checksum [2023-05-09T16:02:15.169Z] d747dcd14b5f: Download complete [2023-05-09T16:02:15.169Z] ab5ef0e58194: Verifying Checksum [2023-05-09T16:02:15.169Z] ab5ef0e58194: Download complete [2023-05-09T16:02:15.169Z] 0d9ebad4ef96: Verifying Checksum [2023-05-09T16:02:15.169Z] 0d9ebad4ef96: Download complete [2023-05-09T16:02:15.169Z] 2de7ff778b66: Verifying Checksum [2023-05-09T16:02:15.169Z] 2de7ff778b66: Download complete [2023-05-09T16:02:17.717Z] ab5ef0e58194: Pull complete [2023-05-09T16:02:17.718Z] 9712f1f96733: Pull complete [2023-05-09T16:02:18.283Z] 63f879dbbcfc: Pull complete [2023-05-09T16:02:21.571Z] 0d9ebad4ef96: Pull complete [2023-05-09T16:02:21.571Z] e9a5061849ea: Pull complete [2023-05-09T16:02:21.571Z] d747dcd14b5f: Pull complete [2023-05-09T16:02:22.509Z] 2de7ff778b66: Pull complete [2023-05-09T16:02:22.509Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-05-09T16:02:22.509Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-05-09T16:02:22.509Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-09T16:02:22.582Z] prd-ubuntu20.04-docker-8c-8g-14710 does not seem to be running inside a container [2023-05-09T16:02:22.611Z] $ 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 [2023-05-09T16:02:25.680Z] $ docker top 421136fa2ff305e7e77b6b8457f644640b1b4b142c86afedd168f49fd6830238 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-05-09T16:02:25.742Z] provisioning config files... [2023-05-09T16:02:25.748Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config10058271332272183798tmp [2023-05-09T16:02:25.756Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config17197540059819298309tmp [2023-05-09T16:02:25.765Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config13797811419761256703tmp [Pipeline] { [Pipeline] echo [2023-05-09T16:02:25.778Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-09T16:02:26.061Z] ---> sigul-configuration.sh [2023-05-09T16:02:26.061Z] gpg: directory `/root/.gnupg' created [2023-05-09T16:02:26.061Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-05-09T16:02:26.061Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-05-09T16:02:26.061Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-05-09T16:02:26.061Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-05-09T16:02:26.061Z] gpg: CAST5 encrypted data [2023-05-09T16:02:26.061Z] gpg: encrypted with 1 passphrase [2023-05-09T16:02:26.061Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-05-09T16:02:26.349Z] + mkdir /home/jenkins [2023-05-09T16:02:26.349Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-05-09T16:02:26.637Z] + 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 [2023-05-09T16:02:26.646Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-09T16:02:26.931Z] ---> sigul-install.sh [2023-05-09T16:02:26.931Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-05-09T16:02:27.214Z] + git tag --list [2023-05-09T16:02:27.214Z] 0.7.0 [2023-05-09T16:02:27.214Z] 0.7.1 [2023-05-09T16:02:27.214Z] 1.0.0 [2023-05-09T16:02:27.214Z] v1.0.1 [2023-05-09T16:02:27.214Z] v1.0.2 [2023-05-09T16:02:27.214Z] v1.0.3 [2023-05-09T16:02:27.214Z] v1.1.0 [2023-05-09T16:02:27.214Z] v1.1.1 [2023-05-09T16:02:27.214Z] v1.2.0 [2023-05-09T16:02:27.214Z] v1.2.1 [2023-05-09T16:02:27.214Z] v1.2.2 [2023-05-09T16:02:27.214Z] v1.3.0 [2023-05-09T16:02:27.214Z] v1.3.1 [2023-05-09T16:02:27.214Z] v2.0.0 [2023-05-09T16:02:27.214Z] v2.1.0 [2023-05-09T16:02:27.214Z] v2.2.0 [2023-05-09T16:02:27.214Z] v2.2.0-dev.1 [2023-05-09T16:02:27.214Z] v2.2.0-dev.10 [2023-05-09T16:02:27.214Z] v2.2.0-dev.11 [2023-05-09T16:02:27.214Z] v2.2.0-dev.12 [2023-05-09T16:02:27.214Z] v2.2.0-dev.13 [2023-05-09T16:02:27.214Z] v2.2.0-dev.2 [2023-05-09T16:02:27.214Z] v2.2.0-dev.3 [2023-05-09T16:02:27.214Z] v2.2.0-dev.4 [2023-05-09T16:02:27.214Z] v2.2.0-dev.5 [2023-05-09T16:02:27.214Z] v2.2.0-dev.6 [2023-05-09T16:02:27.214Z] v2.2.0-dev.7 [2023-05-09T16:02:27.214Z] v2.2.0-dev.8 [2023-05-09T16:02:27.214Z] v2.2.0-dev.9 [2023-05-09T16:02:27.214Z] v2.2.1-dev.1 [2023-05-09T16:02:27.214Z] v2.2.1-dev.2 [2023-05-09T16:02:27.214Z] v2.2.1-dev.3 [2023-05-09T16:02:27.214Z] v2.3.0 [2023-05-09T16:02:27.214Z] v2.3.1-dev.1 [2023-05-09T16:02:27.214Z] v2.3.1-dev.2 [2023-05-09T16:02:27.214Z] v2.3.1-dev.3 [2023-05-09T16:02:27.214Z] v2.3.1-dev.4 [2023-05-09T16:02:27.214Z] v2.3.1-dev.5 [2023-05-09T16:02:27.214Z] v2.3.1-dev.6 [2023-05-09T16:02:27.214Z] v2.3.1-dev.7 [2023-05-09T16:02:27.214Z] v2.3.1-dev.8 [2023-05-09T16:02:27.214Z] v2.3.1-dev.9 [Pipeline] sh [2023-05-09T16:02:27.502Z] + lftools sign git-tag v2.3.1-dev.9 [2023-05-09T16:02:28.074Z] Signing Git tag with Sigul... [2023-05-09T16:02:28.074Z] Signing v2.3.1-dev.9 [Pipeline] echo [2023-05-09T16:02:28.652Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-09T16:02:28.938Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-05-09T16:02:28.946Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-05-09T16:02:28.958Z] $ docker stop --time=1 421136fa2ff305e7e77b6b8457f644640b1b4b142c86afedd168f49fd6830238 [2023-05-09T16:02:30.244Z] $ docker rm -f --volumes 421136fa2ff305e7e77b6b8457f644640b1b4b142c86afedd168f49fd6830238 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-05-09T16:02:30.634Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-05-09T16:02:30.635Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-09T16:02:30.932Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-09T16:02:30.932Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-09T16:02:30.995Z] prd-ubuntu20.04-docker-8c-8g-14710 does not seem to be running inside a container [2023-05-09T16:02:31.018Z] $ 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 [2023-05-09T16:02:31.328Z] $ docker top 4910a9b130973ed67a2f06146040c7917f315c9cb20490d4c4184c7ebfaf1f8c -eo pid,comm [2023-05-09T16:02:31.377Z] 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). [2023-05-09T16:02:31.377Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-05-09T16:02:31.416Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-09T16:02:31.416Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-09T16:02:31.530Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-09T16:02:31.528Z] $ docker exec 4910a9b130973ed67a2f06146040c7917f315c9cb20490d4c4184c7ebfaf1f8c ssh-agent [2023-05-09T16:02:31.634Z] SSH_AUTH_SOCK=/tmp/ssh-YfA1nxb1Cx3B/agent.32 [2023-05-09T16:02:31.634Z] SSH_AGENT_PID=38 [2023-05-09T16:02:31.640Z] Running ssh-add (command line suppressed) [2023-05-09T16:02:31.738Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_10628650603584091380.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_10628650603584091380.key) [2023-05-09T16:02:31.755Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-09T16:02:32.036Z] + git semver bump pre [2023-05-09T16:02:32.294Z] 2023-05-09 16:02:32,191 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2023-05-09T16:02:32.294Z] 2023-05-09 16:02:32,192 [bump_version] DEBUG bumping version:2.3.1-dev.9 on axis:pre with prefix:dev [2023-05-09T16:02:32.294Z] 2023-05-09 16:02:32,192 [bump_version] DEBUG bumped version:2.3.1-dev.10 [2023-05-09T16:02:32.294Z] 2023-05-09 16:02:32,192 [write_version] DEBUG write version:2.3.1-dev.10 to path:/w/workspace/edgexfoundry_device-sdk-c_main/.semver/main with force:True [2023-05-09T16:02:32.294Z] 2023-05-09 16:02:32,192 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2023-05-09T16:02:32.294Z] 2023-05-09 16:02:32,192 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2023-05-09T16:02:32.294Z] 2023-05-09 16:02:32,194 [execute] INFO git cat-file --batch-check [2023-05-09T16:02:32.294Z] 2023-05-09 16:02:32,194 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=False, shell=None, istream=) [2023-05-09T16:02:32.294Z] 2023-05-09 16:02:32,199 [execute] INFO git cat-file --batch [2023-05-09T16:02:32.294Z] 2023-05-09 16:02:32,199 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=False, shell=None, istream=) [2023-05-09T16:02:32.294Z] 2023-05-09 16:02:32,203 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2023-05-09T16:02:32.294Z] 2.3.1-dev.10 [Pipeline] } [2023-05-09T16:02:32.297Z] $ docker exec --env ******** --env ******** 4910a9b130973ed67a2f06146040c7917f315c9cb20490d4c4184c7ebfaf1f8c ssh-agent -k [2023-05-09T16:02:32.385Z] unset SSH_AUTH_SOCK; [2023-05-09T16:02:32.386Z] unset SSH_AGENT_PID; [2023-05-09T16:02:32.386Z] echo Agent pid 38 killed; [2023-05-09T16:02:32.400Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-05-09T16:02:32.703Z] + git semver [Pipeline] } [2023-05-09T16:02:32.972Z] $ docker stop --time=1 4910a9b130973ed67a2f06146040c7917f315c9cb20490d4c4184c7ebfaf1f8c [2023-05-09T16:02:34.246Z] $ docker rm -f --volumes 4910a9b130973ed67a2f06146040c7917f315c9cb20490d4c4184c7ebfaf1f8c [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-09T16:02:34.583Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-05-09T16:02:34.583Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-09T16:02:34.881Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-09T16:02:34.881Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-09T16:02:34.949Z] prd-ubuntu20.04-docker-8c-8g-14710 does not seem to be running inside a container [2023-05-09T16:02:34.973Z] $ 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 [2023-05-09T16:02:35.306Z] $ docker top 8e2d460d52cb746c689567d688925b91bb2355ad8f08265b4e2c05c5c1e4ae31 -eo pid,comm [2023-05-09T16:02:35.357Z] 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). [2023-05-09T16:02:35.357Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-05-09T16:02:35.392Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-09T16:02:35.392Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-09T16:02:35.502Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-09T16:02:35.500Z] $ docker exec 8e2d460d52cb746c689567d688925b91bb2355ad8f08265b4e2c05c5c1e4ae31 ssh-agent [2023-05-09T16:02:35.620Z] SSH_AUTH_SOCK=/tmp/ssh-JveljoivZGFa/agent.32 [2023-05-09T16:02:35.620Z] SSH_AGENT_PID=38 [2023-05-09T16:02:35.624Z] Running ssh-add (command line suppressed) [2023-05-09T16:02:35.733Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_16816275822547388528.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_16816275822547388528.key) [2023-05-09T16:02:35.752Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-09T16:02:36.040Z] + git semver push [2023-05-09T16:02:36.299Z] 2023-05-09 16:02:36,198 [run_push] DEBUG push [2023-05-09T16:02:36.299Z] 2023-05-09 16:02:36,199 [execute] INFO git cat-file --batch-check [2023-05-09T16:02:36.299Z] 2023-05-09 16:02:36,199 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=False, shell=None, istream=) [2023-05-09T16:02:36.299Z] 2023-05-09 16:02:36,203 [execute] INFO git rev-list 15da6df62f03a3c9de2e9c83d7d328f48a97ebf2 -- [2023-05-09T16:02:36.300Z] 2023-05-09 16:02:36,203 [execute] DEBUG Popen(['git', 'rev-list', '15da6df62f03a3c9de2e9c83d7d328f48a97ebf2', '--'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-05-09T16:02:36.300Z] 2023-05-09 16:02:36,210 [execute] INFO git fetch -v origin [2023-05-09T16:02:36.300Z] 2023-05-09 16:02:36,211 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=True, shell=None, istream=None) [2023-05-09T16:02:36.869Z] 2023-05-09 16:02:36,727 [run_push] DEBUG no remote changes detected [2023-05-09T16:02:36.869Z] 2023-05-09 16:02:36,727 [execute] INFO git push origin semver [2023-05-09T16:02:36.869Z] 2023-05-09 16:02:36,727 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-05-09T16:02:37.808Z] 2023-05-09 16:02:37,681 [run_push] DEBUG push all version tags [2023-05-09T16:02:37.808Z] 2023-05-09 16:02:37,682 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-05-09T16:02:37.808Z] 2023-05-09 16:02:37,682 [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) [2023-05-09T16:02:38.747Z] 2023-05-09 16:02:38,532 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2023-05-09T16:02:38.747Z] 2.3.1-dev.10 [Pipeline] } [2023-05-09T16:02:38.752Z] $ docker exec --env ******** --env ******** 8e2d460d52cb746c689567d688925b91bb2355ad8f08265b4e2c05c5c1e4ae31 ssh-agent -k [2023-05-09T16:02:38.859Z] unset SSH_AUTH_SOCK; [2023-05-09T16:02:38.859Z] unset SSH_AGENT_PID; [2023-05-09T16:02:38.859Z] echo Agent pid 38 killed; [2023-05-09T16:02:38.872Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-05-09T16:02:39.171Z] + git semver [Pipeline] } [2023-05-09T16:02:39.436Z] $ docker stop --time=1 8e2d460d52cb746c689567d688925b91bb2355ad8f08265b4e2c05c5c1e4ae31 [2023-05-09T16:02:40.685Z] $ docker rm -f --volumes 8e2d460d52cb746c689567d688925b91bb2355ad8f08265b4e2c05c5c1e4ae31 [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 [2023-05-09T16:02:41.136Z] + [ -d /w/workspace/edgexfoundry_device-sdk-c_main/archives ] [2023-05-09T16:02:41.136Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_main/archives [2023-05-09T16:02:41.136Z] total 16 [2023-05-09T16:02:41.136Z] drwxr-xr-x 3 root root 4096 May 9 15:55 . [2023-05-09T16:02:41.136Z] drwxrwxr-x 10 jenkins jenkins 4096 May 9 16:02 .. [2023-05-09T16:02:41.136Z] drwxr-xr-x 2 root root 4096 May 9 15:55 cost [2023-05-09T16:02:41.136Z] -rw-r--r-- 1 root root 83 May 9 15:55 cost.csv [2023-05-09T16:02:41.136Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_main/archives [2023-05-09T16:02:41.136Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_main/archives [2023-05-09T16:02:41.136Z] total 16 [2023-05-09T16:02:41.136Z] drwxr-xr-x 3 jenkins jenkins 4096 May 9 15:55 . [2023-05-09T16:02:41.136Z] drwxrwxr-x 10 jenkins jenkins 4096 May 9 16:02 .. [2023-05-09T16:02:41.136Z] drwxr-xr-x 2 jenkins jenkins 4096 May 9 15:55 cost [2023-05-09T16:02:41.136Z] -rw-r--r-- 1 jenkins jenkins 83 May 9 15:55 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-05-09T16:02:41.428Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-09T16:02:42.281Z] ---> package-listing.sh [2023-05-09T16:02:42.281Z] ++ facter osfamily [2023-05-09T16:02:42.281Z] ++ tr '[:upper:]' '[:lower:]' [2023-05-09T16:02:42.540Z] + OS_FAMILY=debian [2023-05-09T16:02:42.540Z] + workspace=/w/workspace/edgexfoundry_device-sdk-c_main [2023-05-09T16:02:42.540Z] + START_PACKAGES=/tmp/packages_start.txt [2023-05-09T16:02:42.540Z] + END_PACKAGES=/tmp/packages_end.txt [2023-05-09T16:02:42.540Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-05-09T16:02:42.540Z] + PACKAGES=/tmp/packages_start.txt [2023-05-09T16:02:42.540Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_main ']' [2023-05-09T16:02:42.540Z] + PACKAGES=/tmp/packages_end.txt [2023-05-09T16:02:42.540Z] + case "${OS_FAMILY}" in [2023-05-09T16:02:42.540Z] + dpkg -l [2023-05-09T16:02:42.540Z] + grep '^ii' [2023-05-09T16:02:42.540Z] + '[' -f /tmp/packages_start.txt ']' [2023-05-09T16:02:42.540Z] + '[' -f /tmp/packages_end.txt ']' [2023-05-09T16:02:42.540Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-05-09T16:02:42.540Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_main ']' [2023-05-09T16:02:42.540Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_main/archives/ [2023-05-09T16:02:42.540Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_main/archives/ [Pipeline] echo [2023-05-09T16:02:42.551Z] 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 [2023-05-09T16:02:42.828Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-09T16:02:43.390Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-09T16:02:43.390Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-09T16:02:43.463Z] prd-ubuntu20.04-docker-8c-8g-14710 does not seem to be running inside a container [2023-05-09T16:02:43.486Z] $ 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 [2023-05-09T16:02:43.670Z] $ docker top cb3d1ab726d3e2bde7a3b6f88fb3d71fb635c5d31bc7d0dfa8c41ecbfa7e8e2c -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-09T16:02:44.012Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-05-09T16:02:44.297Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-05-09T16:02:44.585Z] + ls /var/log/sa-host [2023-05-09T16:02:44.585Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-09T16:02:44.658Z] provisioning config files... [2023-05-09T16:02:44.671Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config12638947792394071836tmp [Pipeline] { [Pipeline] echo [2023-05-09T16:02:44.684Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-09T16:02:44.968Z] ---> create-netrc.sh [Pipeline] } [2023-05-09T16:02:44.974Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-05-09T16:02:45.304Z] ---> python-tools-install.sh [Pipeline] echo [2023-05-09T16:02:45.313Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-09T16:02:45.596Z] ---> sudo-logs.sh [2023-05-09T16:02:45.596Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-05-09T16:02:45.620Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-09T16:02:45.903Z] ---> job-cost.sh [2023-05-09T16:02:45.903Z] lf-activate-venv: SKIPPING [2023-05-09T16:02:45.903Z] DEBUG: total: 0.2199999988079071 [2023-05-09T16:02:45.903Z] INFO: Retrieving Stack Cost... [2023-05-09T16:02:46.162Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-05-09T16:02:46.422Z] INFO: Archiving Costs [Pipeline] echo [2023-05-09T16:02:46.433Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-09T16:02:46.718Z] ---> logs-deploy.sh [2023-05-09T16:02:46.718Z] lf-activate-venv: SKIPPING [2023-05-09T16:02:46.718Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/main/44 [2023-05-09T16:02:46.718Z] INFO: archiving workspace using pattern(s): [2023-05-09T16:02:47.653Z] Archives upload complete. [2023-05-09T16:02:47.653Z] INFO: archiving logs to Nexus