Pull request #458 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of iain-anderson for edgexfoundry/device-sdk-c Obtained Jenkinsfile from cc08ab0a351fe58074ebdc2c4307268c963f0ed6+ad65e45309f8995a17d27a3f59962ea35e988788 (19610283fd08a525572cc9b9d86da7cb37be23ea) 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-ssh12889036176356157342.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-ssh15119949193914224920.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 Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-458/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-458/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10246145708106885746.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-458/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10110401231402229352.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 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh17805171456737085108.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-458/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-458/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh3874630198251893550.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 4fc256d9079ed2258907e613f84b1b8da264a4bd 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 Running on prd-ubuntu20.04-docker-8c-8g-17279 in /w/workspace/edgexfoundry_device-sdk-c_PR-458 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-c.git > git init /w/workspace/edgexfoundry_device-sdk-c_PR-458 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/458/head:refs/remotes/origin/PR-458 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit ad65e45309f8995a17d27a3f59962ea35e988788 into PR head commit cc08ab0a351fe58074ebdc2c4307268c963f0ed6 Merge succeeded, producing cc08ab0a351fe58074ebdc2c4307268c963f0ed6 Checking out Revision cc08ab0a351fe58074ebdc2c4307268c963f0ed6 (PR-458) > git config core.sparsecheckout # timeout=10 > git checkout -f cc08ab0a351fe58074ebdc2c4307268c963f0ed6 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge ad65e45309f8995a17d27a3f59962ea35e988788 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f cc08ab0a351fe58074ebdc2c4307268c963f0ed6 # timeout=10 Commit message: "fix: loading insecure secrets from config" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 4fc256d9079ed2258907e613f84b1b8da264a4bd [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-05-30T09:38:43.418Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-05-30T09:38:43.594Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-05-30T09:38:43.691Z] ========================================================= [2023-05-30T09:38:43.691Z] EdgeX Global Pipelines Version Info [2023-05-30T09:38:43.691Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-05-30T09:38:44.467Z] ------------------- [2023-05-30T09:38:44.467Z] stable info: [2023-05-30T09:38:44.467Z] ------------------- [2023-05-30T09:38:44.467Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-05-30T09:38:44.467Z] Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd [2023-05-30T09:38:44.467Z] Message: update stable to v1.0.249 [2023-05-30T09:38:45.039Z] ------------------- [2023-05-30T09:38:45.039Z] experimental info: [2023-05-30T09:38:45.039Z] ------------------- [2023-05-30T09:38:45.039Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-05-30T09:38:45.039Z] Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd [2023-05-30T09:38:45.039Z] Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-05-30T09:38:45.342Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo [2023-05-30T09:38:45.380Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo [2023-05-30T09:38:45.419Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-05-30T09:38:45.458Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-05-30T09:38:45.495Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-05-30T09:38:45.535Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo [2023-05-30T09:38:45.575Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo [2023-05-30T09:38:45.615Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-05-30T09:38:45.655Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-05-30T09:38:45.696Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo [2023-05-30T09:38:45.739Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-05-30T09:38:45.778Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-05-30T09:38:45.814Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-05-30T09:38:45.866Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-05-30T09:38:45.905Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-05-30T09:38:45.944Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-05-30T09:38:45.983Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-05-30T09:38:46.024Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-458 [Pipeline] echo [2023-05-30T09:38:46.062Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-458 [Pipeline] echo [2023-05-30T09:38:46.097Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-458 [Pipeline] echo [2023-05-30T09:38:46.136Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = cc08ab0a351fe58074ebdc2c4307268c963f0ed6 [Pipeline] echo [2023-05-30T09:38:46.178Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = cc08ab0 [Pipeline] echo [2023-05-30T09:38:46.214Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-30T09:38:46.334Z] provisioning config files... [2023-05-30T09:38:46.349Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-458@tmp/config11477012583121033643tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-30T09:38:46.699Z] ---> docker-login.sh [2023-05-30T09:38:46.699Z] nexus3.edgexfoundry.org:10001 [2023-05-30T09:38:47.639Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-30T09:38:47.898Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-30T09:38:47.898Z] Configure a credential helper to remove this warning. See [2023-05-30T09:38:47.898Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-30T09:38:47.898Z] [2023-05-30T09:38:47.898Z] Login Succeeded [2023-05-30T09:38:47.898Z] nexus3.edgexfoundry.org:10002 [2023-05-30T09:38:47.898Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-30T09:38:47.898Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-30T09:38:47.898Z] Configure a credential helper to remove this warning. See [2023-05-30T09:38:47.898Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-30T09:38:47.898Z] [2023-05-30T09:38:47.898Z] Login Succeeded [2023-05-30T09:38:47.898Z] nexus3.edgexfoundry.org:10003 [2023-05-30T09:38:48.159Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-30T09:38:48.159Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-30T09:38:48.159Z] Configure a credential helper to remove this warning. See [2023-05-30T09:38:48.159Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-30T09:38:48.159Z] [2023-05-30T09:38:48.159Z] Login Succeeded [2023-05-30T09:38:48.159Z] nexus3.edgexfoundry.org:10004 [2023-05-30T09:38:48.159Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-30T09:38:48.159Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-30T09:38:48.159Z] Configure a credential helper to remove this warning. See [2023-05-30T09:38:48.159Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-30T09:38:48.159Z] [2023-05-30T09:38:48.159Z] Login Succeeded [2023-05-30T09:38:48.159Z] docker.io [2023-05-30T09:38:48.419Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-30T09:38:48.419Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-30T09:38:48.419Z] Configure a credential helper to remove this warning. See [2023-05-30T09:38:48.419Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-30T09:38:48.419Z] [2023-05-30T09:38:48.419Z] Login Succeeded [2023-05-30T09:38:48.419Z] ---> docker-login.sh ends [Pipeline] } [2023-05-30T09:38:48.443Z] 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-30T09:38:49.092Z] + git rev-list -1 --merges cc08ab0a351fe58074ebdc2c4307268c963f0ed6~1..cc08ab0a351fe58074ebdc2c4307268c963f0ed6 [Pipeline] echo [2023-05-30T09:38:49.125Z] -----------> git rev-list -1 --merges cc08ab0a351fe58074ebdc2c4307268c963f0ed6~1..cc08ab0a351fe58074ebdc2c4307268c963f0ed6 cc08ab0a351fe58074ebdc2c4307268c963f0ed6 [false] [Pipeline] sh [2023-05-30T09:38:49.431Z] + git log --format=format:%s -1 cc08ab0a351fe58074ebdc2c4307268c963f0ed6 [Pipeline] echo [2023-05-30T09:38:49.471Z] ========================================================= [2023-05-30T09:38:49.471Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-05-30T09:38:49.471Z] ========================================================= 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-30T09:38:50.269Z] + git rev-list -1 --merges cc08ab0a351fe58074ebdc2c4307268c963f0ed6~1..cc08ab0a351fe58074ebdc2c4307268c963f0ed6 [Pipeline] echo [2023-05-30T09:38:50.302Z] -----------> git rev-list -1 --merges cc08ab0a351fe58074ebdc2c4307268c963f0ed6~1..cc08ab0a351fe58074ebdc2c4307268c963f0ed6 cc08ab0a351fe58074ebdc2c4307268c963f0ed6 [false] [Pipeline] sh [2023-05-30T09:38:50.618Z] + git log --format=format:%s -1 cc08ab0a351fe58074ebdc2c4307268c963f0ed6 [Pipeline] echo [2023-05-30T09:38:50.655Z] ========================================================= [2023-05-30T09:38:50.655Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-05-30T09:38:50.655Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh [2023-05-30T09:38:51.148Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-05-30T09:38:51.148Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-05-30T09:38:51.148Z] + [ -e /tmp/ssh_known_hosts ] [2023-05-30T09:38:51.148Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-05-30T09:38:51.148Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-05-30T09:38:51.148Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-05-30T09:38:51.148Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-30T09:38:51.660Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-30T09:38:51.660Z] [2023-05-30T09:38:51.660Z] 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-30T09:38:52.021Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-30T09:38:52.021Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-05-30T09:38:52.021Z] b85a868b505f: Pulling fs layer [2023-05-30T09:38:52.021Z] e2be974225ed: Pulling fs layer [2023-05-30T09:38:52.021Z] 339a4e72a1f5: Pulling fs layer [2023-05-30T09:38:52.021Z] 988bab9f4d93: Pulling fs layer [2023-05-30T09:38:52.021Z] 1469e6f7b9e6: Pulling fs layer [2023-05-30T09:38:52.021Z] eaf3925da568: Pulling fs layer [2023-05-30T09:38:52.021Z] bab4dde63d76: Pulling fs layer [2023-05-30T09:38:52.021Z] bde34c3a00c8: Pulling fs layer [2023-05-30T09:38:52.021Z] b352a97aabf1: Pulling fs layer [2023-05-30T09:38:52.021Z] eaf3925da568: Waiting [2023-05-30T09:38:52.021Z] 1469e6f7b9e6: Waiting [2023-05-30T09:38:52.021Z] 988bab9f4d93: Waiting [2023-05-30T09:38:52.021Z] bab4dde63d76: Waiting [2023-05-30T09:38:52.021Z] b352a97aabf1: Waiting [2023-05-30T09:38:52.021Z] bde34c3a00c8: Waiting [2023-05-30T09:38:52.021Z] 4872d77fe225: Pulling fs layer [2023-05-30T09:38:52.021Z] 5851b861e8e6: Pulling fs layer [2023-05-30T09:38:52.021Z] 5851b861e8e6: Waiting [2023-05-30T09:38:52.021Z] 4872d77fe225: Waiting [2023-05-30T09:38:52.021Z] e2be974225ed: Verifying Checksum [2023-05-30T09:38:52.022Z] e2be974225ed: Download complete [2023-05-30T09:38:52.022Z] 988bab9f4d93: Download complete [2023-05-30T09:38:52.289Z] 339a4e72a1f5: Verifying Checksum [2023-05-30T09:38:52.289Z] 339a4e72a1f5: Download complete [2023-05-30T09:38:52.289Z] eaf3925da568: Verifying Checksum [2023-05-30T09:38:52.289Z] eaf3925da568: Download complete [2023-05-30T09:38:52.289Z] 1469e6f7b9e6: Verifying Checksum [2023-05-30T09:38:52.289Z] 1469e6f7b9e6: Download complete [2023-05-30T09:38:52.289Z] bde34c3a00c8: Download complete [2023-05-30T09:38:52.289Z] b352a97aabf1: Verifying Checksum [2023-05-30T09:38:52.289Z] b352a97aabf1: Download complete [2023-05-30T09:38:52.289Z] 4872d77fe225: Verifying Checksum [2023-05-30T09:38:52.289Z] 4872d77fe225: Download complete [2023-05-30T09:38:52.289Z] 5851b861e8e6: Verifying Checksum [2023-05-30T09:38:52.289Z] 5851b861e8e6: Download complete [2023-05-30T09:38:52.289Z] b85a868b505f: Verifying Checksum [2023-05-30T09:38:52.289Z] b85a868b505f: Download complete [2023-05-30T09:38:52.860Z] bab4dde63d76: Verifying Checksum [2023-05-30T09:38:52.860Z] bab4dde63d76: Download complete [2023-05-30T09:38:53.796Z] b85a868b505f: Pull complete [2023-05-30T09:38:54.054Z] e2be974225ed: Pull complete [2023-05-30T09:38:54.314Z] 339a4e72a1f5: Pull complete [2023-05-30T09:38:54.573Z] 988bab9f4d93: Pull complete [2023-05-30T09:38:54.831Z] 1469e6f7b9e6: Pull complete [2023-05-30T09:38:55.413Z] eaf3925da568: Pull complete [2023-05-30T09:38:57.331Z] bab4dde63d76: Pull complete [2023-05-30T09:38:57.331Z] bde34c3a00c8: Pull complete [2023-05-30T09:38:57.331Z] b352a97aabf1: Pull complete [2023-05-30T09:38:57.331Z] 4872d77fe225: Pull complete [2023-05-30T09:38:57.331Z] 5851b861e8e6: Pull complete [2023-05-30T09:38:57.331Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-05-30T09:38:57.331Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-30T09:38:57.331Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-30T09:38:57.542Z] prd-ubuntu20.04-docker-8c-8g-17279 does not seem to be running inside a container [2023-05-30T09:38:57.568Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-458 -v /w/workspace/edgexfoundry_device-sdk-c_PR-458:/w/workspace/edgexfoundry_device-sdk-c_PR-458:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-458@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-458@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-devops/py-git-semver:0.1.4 cat [2023-05-30T09:39:02.656Z] $ docker top 5621e3d184d7ac9a4e308743262dbfe89e65ff1116fc42b890980afe1d959ebb -eo pid,comm [2023-05-30T09:39:02.717Z] 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-30T09:39:02.717Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-05-30T09:39:02.865Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-30T09:39:02.865Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-30T09:39:02.982Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-30T09:39:02.975Z] $ docker exec 5621e3d184d7ac9a4e308743262dbfe89e65ff1116fc42b890980afe1d959ebb ssh-agent [2023-05-30T09:39:03.089Z] SSH_AUTH_SOCK=/tmp/ssh-f5Pv2cPS6bGC/agent.33 [2023-05-30T09:39:03.089Z] SSH_AGENT_PID=39 [2023-05-30T09:39:03.098Z] Running ssh-add (command line suppressed) [2023-05-30T09:39:03.196Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-458@tmp/private_key_12462869557048525289.key (/w/workspace/edgexfoundry_device-sdk-c_PR-458@tmp/private_key_12462869557048525289.key) [2023-05-30T09:39:03.222Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-30T09:39:03.553Z] + git tag --points-at HEAD [Pipeline] } [2023-05-30T09:39:03.571Z] $ docker exec --env ******** --env ******** 5621e3d184d7ac9a4e308743262dbfe89e65ff1116fc42b890980afe1d959ebb ssh-agent -k [2023-05-30T09:39:03.675Z] unset SSH_AUTH_SOCK; [2023-05-30T09:39:03.675Z] unset SSH_AGENT_PID; [2023-05-30T09:39:03.676Z] echo Agent pid 39 killed; [2023-05-30T09:39:03.697Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-05-30T09:39:03.789Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-30T09:39:03.789Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-30T09:39:04.032Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-30T09:39:04.026Z] $ docker exec 5621e3d184d7ac9a4e308743262dbfe89e65ff1116fc42b890980afe1d959ebb ssh-agent [2023-05-30T09:39:04.147Z] SSH_AUTH_SOCK=/tmp/ssh-pGxcGEDeD9kM/agent.71 [2023-05-30T09:39:04.147Z] SSH_AGENT_PID=77 [2023-05-30T09:39:04.153Z] Running ssh-add (command line suppressed) [2023-05-30T09:39:04.256Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-458@tmp/private_key_13751984721240484497.key (/w/workspace/edgexfoundry_device-sdk-c_PR-458@tmp/private_key_13751984721240484497.key) [2023-05-30T09:39:04.282Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-30T09:39:04.612Z] + git semver init [2023-05-30T09:39:04.871Z] 2023-05-30 09:39:04,854 [run_init] DEBUG init version:0.0.0 force:False [2023-05-30T09:39:04.871Z] 2023-05-30 09:39:04,855 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-c_PR-458/.semver [2023-05-30T09:39:04.871Z] 2023-05-30 09:39:04,856 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-c.git /w/workspace/edgexfoundry_device-sdk-c_PR-458/.semver [2023-05-30T09:39:04.871Z] 2023-05-30 09:39:04,857 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-c.git', '/w/workspace/edgexfoundry_device-sdk-c_PR-458/.semver'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-458, universal_newlines=False, shell=None, istream=None) [2023-05-30T09:39:06.252Z] 2023-05-30 09:39:05,942 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-c_PR-458/.git/info/exclude [2023-05-30T09:39:06.252Z] 2023-05-30 09:39:05,943 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-c_PR-458/.semver/PR-458 with force:False [2023-05-30T09:39:06.252Z] 2023-05-30 09:39:05,943 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-c_PR-458/.semver/PR-458 [2023-05-30T09:39:06.252Z] 2023-05-30 09:39:05,948 [execute] INFO git cat-file --batch-check [2023-05-30T09:39:06.252Z] 2023-05-30 09:39:05,948 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-458/.semver, universal_newlines=False, shell=None, istream=) [2023-05-30T09:39:06.252Z] 2023-05-30 09:39:05,955 [execute] INFO git cat-file --batch [2023-05-30T09:39:06.253Z] 2023-05-30 09:39:05,955 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-458/.semver, universal_newlines=False, shell=None, istream=) [2023-05-30T09:39:06.253Z] 2023-05-30 09:39:05,961 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_PR-458/.semver/PR-458 [2023-05-30T09:39:06.253Z] 0.0.0 [Pipeline] } [2023-05-30T09:39:06.269Z] $ docker exec --env ******** --env ******** 5621e3d184d7ac9a4e308743262dbfe89e65ff1116fc42b890980afe1d959ebb ssh-agent -k [2023-05-30T09:39:06.359Z] unset SSH_AUTH_SOCK; [2023-05-30T09:39:06.359Z] unset SSH_AGENT_PID; [2023-05-30T09:39:06.359Z] echo Agent pid 77 killed; [2023-05-30T09:39:06.380Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-05-30T09:39:06.791Z] + git semver [Pipeline] } [2023-05-30T09:39:07.063Z] $ docker stop --time=1 5621e3d184d7ac9a4e308743262dbfe89e65ff1116fc42b890980afe1d959ebb [2023-05-30T09:39:08.379Z] $ docker rm -f --volumes 5621e3d184d7ac9a4e308743262dbfe89e65ff1116fc42b890980afe1d959ebb [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-30T09:39:08.786Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-05-30T09:39:09.044Z] Stashed 1 file(s) [Pipeline] echo [2023-05-30T09:39:09.068Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-30T09:39:09.587Z] provisioning config files... [2023-05-30T09:39:09.597Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-458@tmp/config18043647142874307179tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-30T09:39:09.941Z] ---> docker-login.sh [2023-05-30T09:39:09.941Z] nexus3.edgexfoundry.org:10001 [2023-05-30T09:39:09.941Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-30T09:39:09.941Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-30T09:39:09.941Z] Configure a credential helper to remove this warning. See [2023-05-30T09:39:09.941Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-30T09:39:09.941Z] [2023-05-30T09:39:09.941Z] Login Succeeded [2023-05-30T09:39:09.941Z] nexus3.edgexfoundry.org:10002 [2023-05-30T09:39:09.941Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-30T09:39:09.941Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-30T09:39:09.941Z] Configure a credential helper to remove this warning. See [2023-05-30T09:39:09.941Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-30T09:39:09.941Z] [2023-05-30T09:39:09.941Z] Login Succeeded [2023-05-30T09:39:09.941Z] nexus3.edgexfoundry.org:10003 [2023-05-30T09:39:10.200Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-30T09:39:10.200Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-30T09:39:10.200Z] Configure a credential helper to remove this warning. See [2023-05-30T09:39:10.200Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-30T09:39:10.200Z] [2023-05-30T09:39:10.200Z] Login Succeeded [2023-05-30T09:39:10.200Z] nexus3.edgexfoundry.org:10004 [2023-05-30T09:39:10.200Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-30T09:39:10.200Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-30T09:39:10.200Z] Configure a credential helper to remove this warning. See [2023-05-30T09:39:10.200Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-30T09:39:10.200Z] [2023-05-30T09:39:10.200Z] Login Succeeded [2023-05-30T09:39:10.200Z] docker.io [2023-05-30T09:39:10.459Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-30T09:39:10.459Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-30T09:39:10.459Z] Configure a credential helper to remove this warning. See [2023-05-30T09:39:10.459Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-30T09:39:10.459Z] [2023-05-30T09:39:10.459Z] Login Succeeded [2023-05-30T09:39:10.459Z] ---> docker-login.sh ends [Pipeline] } [2023-05-30T09:39:10.489Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-05-30T09:39:10.685Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-30T09:39:10.737Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo [2023-05-30T09:39:10.771Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-30T09:39:10.801Z] ========================================================= [2023-05-30T09:39:10.801Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] [2023-05-30T09:39:10.801Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-30T09:39:11.219Z] + 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-30T09:39:11.219Z] Sending build context to Docker daemon 4.883MB [2023-05-30T09:39:11.219Z] Step 1/21 : ARG BASE=alpine:3.16 [2023-05-30T09:39:11.219Z] Step 2/21 : FROM ${BASE} as builder [2023-05-30T09:39:11.787Z] latest: Pulling from edgex-devops/edgex-gcc-base [2023-05-30T09:39:11.787Z] 91d30c5bc195: Pulling fs layer [2023-05-30T09:39:11.787Z] 316e5a4585fb: Pulling fs layer [2023-05-30T09:39:11.787Z] 91d30c5bc195: Verifying Checksum [2023-05-30T09:39:11.787Z] 91d30c5bc195: Download complete [2023-05-30T09:39:12.047Z] 91d30c5bc195: Pull complete [2023-05-30T09:39:12.613Z] 316e5a4585fb: Verifying Checksum [2023-05-30T09:39:12.613Z] 316e5a4585fb: Download complete [2023-05-30T09:39:15.902Z] 316e5a4585fb: Pull complete [2023-05-30T09:39:15.902Z] Digest: sha256:46ce083f99ae49712d4f1141acdd2e69c9eb8e11ca29cc7d79d78bb0a10585c4 [2023-05-30T09:39:15.902Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [2023-05-30T09:39:15.902Z] ---> e83ffa357ff4 [2023-05-30T09:39:15.902Z] 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-30T09:39:19.189Z] ---> Running in 00eb44512dd7 [2023-05-30T09:39:19.189Z] Connecting to iotech.jfrog.io (52.210.182.164:443) [2023-05-30T09:39:19.756Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-05-30T09:39:19.756Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-05-30T09:39:19.756Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-05-30T09:39:20.015Z] Removing intermediate container 00eb44512dd7 [2023-05-30T09:39:20.015Z] ---> 67aa91e66415 [2023-05-30T09:39:20.015Z] Step 4/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-05-30T09:39:20.015Z] ---> Running in 30ae2e0bc2a2 [2023-05-30T09:39:20.582Z] Removing intermediate container 30ae2e0bc2a2 [2023-05-30T09:39:20.583Z] ---> 54028dfbb813 [2023-05-30T09:39:20.583Z] 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-30T09:39:20.583Z] ---> Running in 4a1d040d3320 [2023-05-30T09:39:20.842Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-05-30T09:39:20.842Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-05-30T09:39:21.101Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/x86_64/APKINDEX.tar.gz [2023-05-30T09:39:21.671Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-05-30T09:39:21.671Z] (1/16) Upgrading ncurses-terminfo-base (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-05-30T09:39:21.671Z] (2/16) Upgrading ncurses-libs (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-05-30T09:39:21.671Z] (3/16) Installing hiredis (1.0.2-r0) [2023-05-30T09:39:21.671Z] (4/16) Installing hiredis-dev (1.0.2-r0) [2023-05-30T09:39:21.671Z] (5/16) Installing iotech-iot-1.5 (1.5.0-r0) [2023-05-30T09:39:22.241Z] (6/16) Installing iotech-iot-1.5-dev (1.5.0-r0) [2023-05-30T09:39:22.500Z] (7/16) Installing libcbor (0.9.0-r1) [2023-05-30T09:39:22.500Z] (8/16) Installing libcbor-dev (0.9.0-r1) [2023-05-30T09:39:22.500Z] (9/16) Installing ncurses-dev (6.3_p20220521-r1) [2023-05-30T09:39:22.500Z] (10/16) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) [2023-05-30T09:39:23.066Z] (11/16) Installing libblkid (2.38-r1) [2023-05-30T09:39:23.066Z] (12/16) Installing libuuid (2.38-r1) [2023-05-30T09:39:23.325Z] (13/16) Installing libfdisk (2.38-r1) [2023-05-30T09:39:23.325Z] (14/16) Installing libmount (2.38-r1) [2023-05-30T09:39:23.325Z] (15/16) Installing libsmartcols (2.38-r1) [2023-05-30T09:39:23.325Z] (16/16) Installing util-linux-dev (2.38-r1) [2023-05-30T09:39:23.325Z] Executing busybox-1.35.0-r17.trigger [2023-05-30T09:39:23.325Z] OK: 280 MiB in 90 packages [2023-05-30T09:39:24.265Z] Removing intermediate container 4a1d040d3320 [2023-05-30T09:39:24.265Z] ---> 1f9ea579c802 [2023-05-30T09:39:24.265Z] Step 6/21 : RUN mkdir /tmp/sdk [2023-05-30T09:39:24.265Z] ---> Running in ea32c7643daf [2023-05-30T09:39:24.408Z] Still waiting to schedule task [2023-05-30T09:39:24.408Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-05-30T09:39:24.831Z] Removing intermediate container ea32c7643daf [2023-05-30T09:39:24.831Z] ---> 526af816d3d6 [2023-05-30T09:39:24.831Z] Step 7/21 : COPY VERSION /tmp/sdk [2023-05-30T09:39:24.831Z] ---> 09f1ca28f7d0 [2023-05-30T09:39:24.831Z] Step 8/21 : COPY src /tmp/sdk/src [2023-05-30T09:39:25.090Z] ---> df6b6f83eb01 [2023-05-30T09:39:25.090Z] Step 9/21 : COPY include /tmp/sdk/include [2023-05-30T09:39:25.090Z] ---> 26d2cee7df9c [2023-05-30T09:39:25.090Z] Step 10/21 : COPY scripts /tmp/sdk/scripts [2023-05-30T09:39:25.348Z] ---> 7e190c5bc297 [2023-05-30T09:39:25.348Z] Step 11/21 : COPY LICENSE /tmp/sdk [2023-05-30T09:39:25.348Z] ---> 68f3289a45a3 [2023-05-30T09:39:25.348Z] Step 12/21 : COPY Attribution.txt /tmp/sdk [2023-05-30T09:39:25.607Z] ---> 731b8fe17a80 [2023-05-30T09:39:25.607Z] Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2023-05-30T09:39:25.607Z] ---> Running in c40c734ab9b6 [2023-05-30T09:39:25.865Z] + CPPCHECK=false [2023-05-30T09:39:25.865Z] + DOCGEN=false [2023-05-30T09:39:25.865Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2023-05-30T09:39:25.865Z] + '[' 0 -gt 0 ] [2023-05-30T09:39:25.865Z] + readlink -f ./scripts/build.sh [2023-05-30T09:39:25.865Z] + dirname /tmp/sdk/scripts/build.sh [2023-05-30T09:39:25.865Z] + dirname /tmp/sdk/scripts [2023-05-30T09:39:25.865Z] + ROOT=/tmp/sdk [2023-05-30T09:39:25.865Z] + cd /tmp/sdk [2023-05-30T09:39:25.865Z] + mkdir -p /tmp/sdk/build/release [2023-05-30T09:39:25.865Z] + cd /tmp/sdk/build/release [2023-05-30T09:39:25.865Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2023-05-30T09:39:25.865Z] -- The C compiler identification is GNU 11.2.1 [2023-05-30T09:39:25.865Z] -- Detecting C compiler ABI info [2023-05-30T09:39:26.124Z] -- Detecting C compiler ABI info - done [2023-05-30T09:39:26.124Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-05-30T09:39:26.124Z] -- Detecting C compile features [2023-05-30T09:39:26.124Z] -- Detecting C compile features - done [2023-05-30T09:39:26.124Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-05-30T09:39:26.124Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.0.1") [2023-05-30T09:39:26.124Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-05-30T09:39:26.124Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-05-30T09:39:26.124Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-05-30T09:39:26.124Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-05-30T09:39:26.124Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-05-30T09:39:26.124Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2023-05-30T09:39:26.124Z] -- /opt/iotech/iot/1.5/include [2023-05-30T09:39:26.124Z] -- C SDK 0.0.0 for Linux [2023-05-30T09:39:26.124Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-05-30T09:39:26.124Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-05-30T09:39:26.124Z] -- Found Curses: /usr/lib/libcurses.so [2023-05-30T09:39:26.383Z] -- Configuring done [2023-05-30T09:39:26.383Z] -- Generating done [2023-05-30T09:39:26.383Z] -- Build files have been written to: /tmp/sdk/build/release [2023-05-30T09:39:26.383Z] + make all package [2023-05-30T09:39:26.383Z] + tee release.log [2023-05-30T09:39:26.383Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-05-30T09:39:26.383Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2023-05-30T09:39:26.642Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2023-05-30T09:39:26.901Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2023-05-30T09:39:26.901Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2023-05-30T09:39:27.159Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2023-05-30T09:39:27.418Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2023-05-30T09:39:27.677Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2023-05-30T09:39:27.677Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2023-05-30T09:39:27.677Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2023-05-30T09:39:28.244Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2023-05-30T09:39:28.244Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2023-05-30T09:39:28.503Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2023-05-30T09:39:28.503Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2023-05-30T09:39:28.503Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2023-05-30T09:39:28.762Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2023-05-30T09:39:28.762Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2023-05-30T09:39:29.331Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2023-05-30T09:39:29.331Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2023-05-30T09:39:29.331Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2023-05-30T09:39:29.590Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2023-05-30T09:39:30.526Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2023-05-30T09:39:30.785Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2023-05-30T09:39:30.785Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2023-05-30T09:39:30.785Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2023-05-30T09:39:31.045Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2023-05-30T09:39:31.305Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2023-05-30T09:39:31.563Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2023-05-30T09:39:31.822Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2023-05-30T09:39:31.822Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2023-05-30T09:39:32.120Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2023-05-30T09:39:32.378Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2023-05-30T09:39:32.716Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2023-05-30T09:39:32.716Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2023-05-30T09:39:32.716Z] [ 68%] Linking C shared library libcsdk.so [2023-05-30T09:39:32.978Z] [ 68%] Built target csdk [2023-05-30T09:39:32.978Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2023-05-30T09:39:33.238Z] [ 72%] Linking C executable template [2023-05-30T09:39:33.238Z] [ 72%] Built target template [2023-05-30T09:39:33.238Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2023-05-30T09:39:33.238Z] [ 76%] Linking C executable device-counter [2023-05-30T09:39:33.497Z] [ 76%] Built target device-counter [2023-05-30T09:39:33.497Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2023-05-30T09:39:33.497Z] [ 80%] Linking C executable device-random [2023-05-30T09:39:33.755Z] [ 80%] Built target device-random [2023-05-30T09:39:33.755Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2023-05-30T09:39:33.755Z] [ 84%] Linking C executable device-gyro [2023-05-30T09:39:34.014Z] [ 84%] Built target device-gyro [2023-05-30T09:39:34.014Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2023-05-30T09:39:34.014Z] [ 88%] Linking C executable device-bitfields [2023-05-30T09:39:34.273Z] [ 88%] Built target device-bitfields [2023-05-30T09:39:34.273Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2023-05-30T09:39:34.273Z] [ 92%] Linking C executable template-discovery [2023-05-30T09:39:34.531Z] [ 92%] Built target template-discovery [2023-05-30T09:39:34.531Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2023-05-30T09:39:34.531Z] [ 96%] Linking C executable device-file [2023-05-30T09:39:34.531Z] [ 96%] Built target device-file [2023-05-30T09:39:34.790Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2023-05-30T09:39:34.790Z] [100%] Linking C executable device-terminal [2023-05-30T09:39:34.790Z] [100%] Built target device-terminal [2023-05-30T09:39:34.790Z] Run CPack packaging tool... [2023-05-30T09:39:34.790Z] CPack: Create package using TGZ [2023-05-30T09:39:34.790Z] CPack: Install projects [2023-05-30T09:39:34.790Z] CPack: - Run preinstall target for: Csdk [2023-05-30T09:39:35.049Z] CPack: - Install project: Csdk [] [2023-05-30T09:39:35.049Z] CPack: Create package [2023-05-30T09:39:35.308Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2023-05-30T09:39:35.308Z] + '[' false '=' true ] [2023-05-30T09:39:35.308Z] + '[' false '=' true ] [2023-05-30T09:39:35.308Z] + mkdir -p /tmp/sdk/build/debug [2023-05-30T09:39:35.308Z] + cd /tmp/sdk/build/debug [2023-05-30T09:39:35.308Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2023-05-30T09:39:35.308Z] -- The C compiler identification is GNU 11.2.1 [2023-05-30T09:39:35.308Z] -- Detecting C compiler ABI info [2023-05-30T09:39:35.308Z] -- Detecting C compiler ABI info - done [2023-05-30T09:39:35.308Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-05-30T09:39:35.308Z] -- Detecting C compile features [2023-05-30T09:39:35.308Z] -- Detecting C compile features - done [2023-05-30T09:39:35.308Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-05-30T09:39:35.308Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.0.1") [2023-05-30T09:39:35.567Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-05-30T09:39:35.567Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-05-30T09:39:35.567Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-05-30T09:39:35.567Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-05-30T09:39:35.567Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-05-30T09:39:35.567Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2023-05-30T09:39:35.567Z] -- /opt/iotech/iot/1.5/include [2023-05-30T09:39:35.567Z] -- C SDK 0.0.0 for Linux [2023-05-30T09:39:35.567Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-05-30T09:39:35.567Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-05-30T09:39:35.567Z] -- Found Curses: /usr/lib/libcurses.so [2023-05-30T09:39:35.567Z] -- Configuring done [2023-05-30T09:39:35.567Z] -- Generating done [2023-05-30T09:39:35.567Z] -- Build files have been written to: /tmp/sdk/build/debug [2023-05-30T09:39:35.567Z] + make+ [2023-05-30T09:39:35.567Z] tee debug.log [2023-05-30T09:39:35.567Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-05-30T09:39:35.825Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2023-05-30T09:39:35.825Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2023-05-30T09:39:35.825Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2023-05-30T09:39:36.084Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2023-05-30T09:39:36.084Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2023-05-30T09:39:36.344Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2023-05-30T09:39:36.344Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2023-05-30T09:39:36.344Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2023-05-30T09:39:36.602Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2023-05-30T09:39:36.602Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2023-05-30T09:39:36.602Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2023-05-30T09:39:36.861Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2023-05-30T09:39:36.861Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2023-05-30T09:39:36.861Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2023-05-30T09:39:37.119Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2023-05-30T09:39:37.119Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2023-05-30T09:39:37.119Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2023-05-30T09:39:37.378Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2023-05-30T09:39:37.378Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2023-05-30T09:39:37.378Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2023-05-30T09:39:37.637Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2023-05-30T09:39:37.897Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2023-05-30T09:39:37.897Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2023-05-30T09:39:37.897Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2023-05-30T09:39:37.897Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2023-05-30T09:39:38.155Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2023-05-30T09:39:38.415Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2023-05-30T09:39:38.415Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2023-05-30T09:39:38.415Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2023-05-30T09:39:38.673Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2023-05-30T09:39:38.932Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2023-05-30T09:39:38.932Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2023-05-30T09:39:38.932Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2023-05-30T09:39:38.932Z] [ 68%] Linking C shared library libcsdk.so [2023-05-30T09:39:39.192Z] [ 68%] Built target csdk [2023-05-30T09:39:39.192Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2023-05-30T09:39:39.192Z] [ 72%] Linking C executable template [2023-05-30T09:39:39.192Z] [ 72%] Built target template [2023-05-30T09:39:39.192Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2023-05-30T09:39:39.451Z] [ 76%] Linking C executable device-counter [2023-05-30T09:39:39.451Z] [ 76%] Built target device-counter [2023-05-30T09:39:39.451Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2023-05-30T09:39:39.451Z] [ 80%] Linking C executable device-random [2023-05-30T09:39:39.451Z] [ 80%] Built target device-random [2023-05-30T09:39:39.710Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2023-05-30T09:39:39.710Z] [ 84%] Linking C executable device-gyro [2023-05-30T09:39:39.710Z] [ 84%] Built target device-gyro [2023-05-30T09:39:39.710Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2023-05-30T09:39:39.710Z] [ 88%] Linking C executable device-bitfields [2023-05-30T09:39:39.969Z] [ 88%] Built target device-bitfields [2023-05-30T09:39:39.969Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2023-05-30T09:39:39.969Z] [ 92%] Linking C executable template-discovery [2023-05-30T09:39:39.969Z] [ 92%] Built target template-discovery [2023-05-30T09:39:39.969Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2023-05-30T09:39:40.228Z] [ 96%] Linking C executable device-file [2023-05-30T09:39:40.228Z] [ 96%] Built target device-file [2023-05-30T09:39:40.228Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2023-05-30T09:39:40.228Z] [100%] Linking C executable device-terminal [2023-05-30T09:39:40.490Z] [100%] Built target device-terminal [2023-05-30T09:39:40.490Z] make: Entering directory '/tmp/sdk/build/release' [2023-05-30T09:39:40.490Z] make[1]: Entering directory '/tmp/sdk/build/release' [2023-05-30T09:39:40.490Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-05-30T09:39:40.490Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-05-30T09:39:40.490Z] [ 68%] Built target csdk [2023-05-30T09:39:40.490Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-05-30T09:39:40.490Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-05-30T09:39:40.490Z] [ 72%] Built target template [2023-05-30T09:39:40.490Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-05-30T09:39:40.490Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-05-30T09:39:40.490Z] [ 76%] Built target device-counter [2023-05-30T09:39:40.490Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-05-30T09:39:40.490Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-05-30T09:39:40.490Z] [ 80%] Built target device-random [2023-05-30T09:39:40.490Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-05-30T09:39:40.490Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-05-30T09:39:40.490Z] [ 84%] Built target device-gyro [2023-05-30T09:39:40.490Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-05-30T09:39:40.490Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-05-30T09:39:40.490Z] [ 88%] Built target device-bitfields [2023-05-30T09:39:40.490Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-05-30T09:39:40.490Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-05-30T09:39:40.490Z] [ 92%] Built target template-discovery [2023-05-30T09:39:40.490Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-05-30T09:39:40.490Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-05-30T09:39:40.750Z] [ 96%] Built target device-file [2023-05-30T09:39:40.750Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-05-30T09:39:40.750Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-05-30T09:39:40.750Z] [100%] Built target device-terminal [2023-05-30T09:39:40.750Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2023-05-30T09:39:40.750Z] Install the project... [2023-05-30T09:39:40.750Z] -- Install configuration: "Release" [2023-05-30T09:39:40.750Z] -- Installing: /usr/local/lib/libcsdk.so [2023-05-30T09:39:40.750Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2023-05-30T09:39:40.750Z] -- Installing: /usr/local/include [2023-05-30T09:39:40.750Z] -- Installing: /usr/local/include/devsdk [2023-05-30T09:39:40.750Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2023-05-30T09:39:40.750Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2023-05-30T09:39:40.750Z] -- Installing: /usr/local/include/edgex [2023-05-30T09:39:40.750Z] -- Installing: /usr/local/include/edgex/edgex.h [2023-05-30T09:39:40.750Z] -- Installing: /usr/local/include/edgex/devices.h [2023-05-30T09:39:40.750Z] -- Installing: /usr/local/include/edgex/profiles.h [2023-05-30T09:39:40.750Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2023-05-30T09:39:40.750Z] -- Installing: /usr/local/include/edgex/rest-server.h [2023-05-30T09:39:40.750Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2023-05-30T09:39:40.750Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2023-05-30T09:39:40.750Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2023-05-30T09:39:40.750Z] make: Leaving directory '/tmp/sdk/build/release' [2023-05-30T09:39:44.097Z] Removing intermediate container c40c734ab9b6 [2023-05-30T09:39:44.097Z] ---> e640267f6eb0 [2023-05-30T09:39:44.097Z] Step 14/21 : FROM ${BASE} [2023-05-30T09:39:44.097Z] ---> e83ffa357ff4 [2023-05-30T09:39:44.097Z] Step 15/21 : LABEL maintainer="IOTech " [2023-05-30T09:39:44.357Z] ---> Running in 8f195d1ef3e2 [2023-05-30T09:39:45.293Z] Removing intermediate container 8f195d1ef3e2 [2023-05-30T09:39:45.293Z] ---> daf137a28fe3 [2023-05-30T09:39:45.293Z] 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-30T09:39:45.861Z] ---> Running in 9c06f541a404 [2023-05-30T09:39:46.799Z] Connecting to iotech.jfrog.io (52.212.7.59:443) [2023-05-30T09:39:47.431Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-05-30T09:39:47.431Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-05-30T09:39:47.431Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-05-30T09:39:48.412Z] Removing intermediate container 9c06f541a404 [2023-05-30T09:39:48.412Z] ---> 59cecb66f44b [2023-05-30T09:39:48.412Z] Step 17/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-05-30T09:39:48.412Z] ---> Running in c399fbb63ab8 [2023-05-30T09:39:49.367Z] Removing intermediate container c399fbb63ab8 [2023-05-30T09:39:49.367Z] ---> f56d68d76347 [2023-05-30T09:39:49.367Z] 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-30T09:39:49.367Z] ---> Running in 48ba3bed6262 [2023-05-30T09:39:49.630Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-05-30T09:39:49.906Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-05-30T09:39:49.906Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/x86_64/APKINDEX.tar.gz [2023-05-30T09:39:50.482Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-05-30T09:39:50.482Z] (1/7) Installing curl (8.1.1-r1) [2023-05-30T09:39:50.482Z] (2/7) Installing hiredis (1.0.2-r0) [2023-05-30T09:39:50.482Z] (3/7) Installing hiredis-dev (1.0.2-r0) [2023-05-30T09:39:50.482Z] (4/7) Installing iotech-iot-1.4 (1.4.2-r0) [2023-05-30T09:39:51.056Z] (5/7) Installing libcbor (0.9.0-r1) [2023-05-30T09:39:51.056Z] (6/7) Installing libuuid (2.38-r1) [2023-05-30T09:39:51.056Z] (7/7) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) [2023-05-30T09:39:52.032Z] Executing busybox-1.35.0-r17.trigger [2023-05-30T09:39:52.032Z] OK: 276 MiB in 83 packages [2023-05-30T09:39:52.604Z] Removing intermediate container 48ba3bed6262 [2023-05-30T09:39:52.604Z] ---> e9a0896428b6 [2023-05-30T09:39:52.604Z] Step 19/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2023-05-30T09:39:52.604Z] ---> eccf3bcfb4d4 [2023-05-30T09:39:52.604Z] Step 20/21 : COPY --from=builder /usr/local/lib /usr/local/lib [2023-05-30T09:39:52.604Z] ---> f557388c2d26 [2023-05-30T09:39:52.604Z] Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2023-05-30T09:39:52.865Z] ---> 4104b313e5c8 [2023-05-30T09:39:52.865Z] Successfully built 4104b313e5c8 [2023-05-30T09:39:52.865Z] 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-30T09:39:53.565Z] + docker inspect -f . ci-base-image-x86_64 [2023-05-30T09:39:53.565Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-30T09:39:53.723Z] prd-ubuntu20.04-docker-8c-8g-17279 does not seem to be running inside a container [2023-05-30T09:39:53.747Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-c_PR-458 -v /w/workspace/edgexfoundry_device-sdk-c_PR-458:/w/workspace/edgexfoundry_device-sdk-c_PR-458:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-458@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-458@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-05-30T09:39:54.633Z] $ docker top 7e939c2f72c05bea0ec456db91c245773144662d06e5b10fb304c9e0c2f70c0f -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-30T09:39:55.034Z] + make test [2023-05-30T09:39:55.035Z] echo "make test" [2023-05-30T09:39:55.035Z] make test [Pipeline] } [2023-05-30T09:39:55.057Z] $ docker stop --time=1 7e939c2f72c05bea0ec456db91c245773144662d06e5b10fb304c9e0c2f70c0f [2023-05-30T09:39:56.458Z] $ docker rm -f --volumes 7e939c2f72c05bea0ec456db91c245773144662d06e5b10fb304c9e0c2f70c0f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-30T09:39:57.350Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-05-30T09:39:57.662Z] + ls -al . [2023-05-30T09:39:57.662Z] total 212 [2023-05-30T09:39:57.662Z] drwxrwxr-x 9 jenkins jenkins 4096 May 30 09:39 . [2023-05-30T09:39:57.662Z] drwxrwxr-x 4 jenkins jenkins 4096 May 30 09:38 .. [2023-05-30T09:39:57.662Z] drwxrwxr-x 8 jenkins jenkins 4096 May 30 09:39 .git [2023-05-30T09:39:57.662Z] drwxrwxr-x 2 jenkins jenkins 4096 May 30 09:38 .github [2023-05-30T09:39:57.662Z] -rw-rw-r-- 1 jenkins jenkins 176 May 30 09:38 .gitignore [2023-05-30T09:39:57.662Z] drwxr-xr-x 3 jenkins jenkins 4096 May 30 09:39 .semver [2023-05-30T09:39:57.662Z] -rw-rw-r-- 1 jenkins jenkins 2908 May 30 09:38 Attribution.txt [2023-05-30T09:39:57.662Z] -rw-rw-r-- 1 jenkins jenkins 9268 May 30 09:38 CHANGES [2023-05-30T09:39:57.662Z] -rw-rw-r-- 1 jenkins jenkins 108574 May 30 09:38 Doxyfile [2023-05-30T09:39:57.662Z] -rw-rw-r-- 1 jenkins jenkins 677 May 30 09:38 GOVERNANCE.md [2023-05-30T09:39:57.662Z] -rw-rw-r-- 1 jenkins jenkins 784 May 30 09:38 Jenkinsfile [2023-05-30T09:39:57.662Z] -rw-rw-r-- 1 jenkins jenkins 10174 May 30 09:38 LICENSE [2023-05-30T09:39:57.662Z] -rw-rw-r-- 1 jenkins jenkins 444 May 30 09:38 Makefile [2023-05-30T09:39:57.662Z] -rw-rw-r-- 1 jenkins jenkins 618 May 30 09:38 OWNERS.md [2023-05-30T09:39:57.662Z] -rw-rw-r-- 1 jenkins jenkins 1651 May 30 09:38 README.IOT.md [2023-05-30T09:39:57.662Z] -rw-rw-r-- 1 jenkins jenkins 4215 May 30 09:38 README.md [2023-05-30T09:39:57.662Z] -rw-rw-r-- 1 jenkins jenkins 1245 May 30 09:38 README.v3.md [2023-05-30T09:39:57.662Z] -rw-rw-r-- 1 jenkins jenkins 5 May 30 09:39 VERSION [2023-05-30T09:39:57.662Z] drwxrwxr-x 2 jenkins jenkins 4096 May 30 09:38 docs [2023-05-30T09:39:57.662Z] drwxrwxr-x 4 jenkins jenkins 4096 May 30 09:38 include [2023-05-30T09:39:57.662Z] drwxrwxr-x 2 jenkins jenkins 4096 May 30 09:38 scripts [2023-05-30T09:39:57.662Z] drwxrwxr-x 4 jenkins jenkins 4096 May 30 09:38 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-30T09:39:58.038Z] + 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=cc08ab0a351fe58074ebdc2c4307268c963f0ed6 --label arch=amd64 --label version=0.0.0 . [2023-05-30T09:39:58.038Z] Sending build context to Docker daemon 4.883MB [2023-05-30T09:39:58.038Z] Step 1/17 : ARG BASE=alpine:3.16 [2023-05-30T09:39:58.038Z] Step 2/17 : FROM ${BASE} [2023-05-30T09:39:58.038Z] ---> 4104b313e5c8 [2023-05-30T09:39:58.038Z] Step 3/17 : LABEL maintainer="IOTech " [2023-05-30T09:39:58.038Z] ---> Running in 11c7125bc6c3 [2023-05-30T09:39:58.297Z] Removing intermediate container 11c7125bc6c3 [2023-05-30T09:39:58.297Z] ---> 3a2fd06c3ad6 [2023-05-30T09:39:58.297Z] 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-30T09:39:58.297Z] ---> Running in 591e6248ba8c [2023-05-30T09:39:58.556Z] Connecting to iotech.jfrog.io (52.212.7.59:443) [2023-05-30T09:39:58.814Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-05-30T09:39:58.815Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-05-30T09:39:58.815Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-05-30T09:39:59.074Z] Removing intermediate container 591e6248ba8c [2023-05-30T09:39:59.074Z] ---> 927a4d5bea60 [2023-05-30T09:39:59.074Z] Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-05-30T09:39:59.333Z] ---> Running in e89b83ed5df6 [2023-05-30T09:39:59.594Z] Removing intermediate container e89b83ed5df6 [2023-05-30T09:39:59.594Z] ---> 110c080aa993 [2023-05-30T09:39:59.594Z] 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-30T09:39:59.853Z] ---> Running in 8732f4bae8a5 [2023-05-30T09:40:00.112Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-05-30T09:40:00.112Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-05-30T09:40:00.371Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/x86_64/APKINDEX.tar.gz [2023-05-30T09:40:00.940Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-05-30T09:40:00.940Z] (1/11) Upgrading ncurses-terminfo-base (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-05-30T09:40:00.940Z] (2/11) Upgrading ncurses-libs (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-05-30T09:40:00.940Z] (3/11) Installing iotech-iot-1.5 (1.5.0-r0) [2023-05-30T09:40:01.511Z] (4/11) Installing iotech-iot-1.5-dev (1.5.0-r0) [2023-05-30T09:40:01.511Z] (5/11) Installing libcbor-dev (0.9.0-r1) [2023-05-30T09:40:01.770Z] (6/11) Installing ncurses-dev (6.3_p20220521-r1) [2023-05-30T09:40:01.771Z] (7/11) Installing libblkid (2.38-r1) [2023-05-30T09:40:01.771Z] (8/11) Installing libfdisk (2.38-r1) [2023-05-30T09:40:01.771Z] (9/11) Installing libmount (2.38-r1) [2023-05-30T09:40:01.771Z] (10/11) Installing libsmartcols (2.38-r1) [2023-05-30T09:40:01.771Z] (11/11) Installing util-linux-dev (2.38-r1) [2023-05-30T09:40:01.771Z] Executing busybox-1.35.0-r17.trigger [2023-05-30T09:40:01.771Z] OK: 281 MiB in 92 packages [2023-05-30T09:40:02.341Z] Removing intermediate container 8732f4bae8a5 [2023-05-30T09:40:02.341Z] ---> e335ebd94336 [2023-05-30T09:40:02.341Z] Step 7/17 : COPY VERSION /edgex-c-sdk/ [2023-05-30T09:40:02.627Z] ---> 5542eff128e2 [2023-05-30T09:40:02.627Z] Step 8/17 : COPY src /edgex-c-sdk/src/ [2023-05-30T09:40:02.890Z] ---> 7789ee6ccb8c [2023-05-30T09:40:02.890Z] Step 9/17 : COPY include /edgex-c-sdk/include/ [2023-05-30T09:40:02.890Z] ---> 32233abdc19e [2023-05-30T09:40:02.890Z] Step 10/17 : COPY scripts /edgex-c-sdk/scripts [2023-05-30T09:40:03.151Z] ---> a1388beecf8b [2023-05-30T09:40:03.151Z] Step 11/17 : COPY LICENSE /edgex-c-sdk/ [2023-05-30T09:40:03.151Z] ---> 0bc76a353d24 [2023-05-30T09:40:03.151Z] Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ [2023-05-30T09:40:03.412Z] ---> f4714ed608a9 [2023-05-30T09:40:03.412Z] Step 13/17 : WORKDIR /edgex-c-sdk [2023-05-30T09:40:03.412Z] ---> Running in 15e0c0f21e5c [2023-05-30T09:40:03.412Z] Removing intermediate container 15e0c0f21e5c [2023-05-30T09:40:03.412Z] ---> c01781914658 [2023-05-30T09:40:03.412Z] Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2023-05-30T09:40:03.412Z] ---> Running in e610d1eedaab [2023-05-30T09:40:03.412Z] Removing intermediate container e610d1eedaab [2023-05-30T09:40:03.412Z] ---> caf56f1575b0 [2023-05-30T09:40:03.412Z] Step 15/17 : LABEL arch=amd64 [2023-05-30T09:40:03.671Z] ---> Running in 3caefa5a7c86 [2023-05-30T09:40:03.671Z] Removing intermediate container 3caefa5a7c86 [2023-05-30T09:40:03.671Z] ---> 302b0dba1fb5 [2023-05-30T09:40:03.671Z] Step 16/17 : LABEL git_sha=cc08ab0a351fe58074ebdc2c4307268c963f0ed6 [2023-05-30T09:40:03.671Z] ---> Running in d042473f4169 [2023-05-30T09:40:03.671Z] Removing intermediate container d042473f4169 [2023-05-30T09:40:03.671Z] ---> fc5206bf7fb8 [2023-05-30T09:40:03.671Z] Step 17/17 : LABEL version=0.0.0 [2023-05-30T09:40:03.671Z] ---> Running in d3aefa94bf7b [2023-05-30T09:40:03.931Z] Removing intermediate container d3aefa94bf7b [2023-05-30T09:40:03.931Z] ---> 33d106202063 [2023-05-30T09:40:03.931Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2023-05-30T09:40:03.931Z] Successfully built 33d106202063 [2023-05-30T09:40:03.931Z] 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-30T09:40:04.853Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-30T09:40:04.853Z] [2023-05-30T09:40:04.853Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-30T09:40:05.224Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-30T09:40:05.224Z] latest: Pulling from edgex-lftools-log-publisher [2023-05-30T09:40:05.224Z] 5eb5b503b376: Pulling fs layer [2023-05-30T09:40:05.224Z] 5c69ac0246d0: Pulling fs layer [2023-05-30T09:40:05.224Z] ec43610c2a17: Pulling fs layer [2023-05-30T09:40:05.224Z] 3a2ae6a8a46f: Pulling fs layer [2023-05-30T09:40:05.224Z] 33b1e0a273af: Pulling fs layer [2023-05-30T09:40:05.224Z] 5d3b04190fa2: Pulling fs layer [2023-05-30T09:40:05.224Z] 2f39f015ded8: Pulling fs layer [2023-05-30T09:40:05.224Z] 33b1e0a273af: Waiting [2023-05-30T09:40:05.224Z] 5d3b04190fa2: Waiting [2023-05-30T09:40:05.224Z] 2f39f015ded8: Waiting [2023-05-30T09:40:05.224Z] 5c69ac0246d0: Download complete [2023-05-30T09:40:05.224Z] 3a2ae6a8a46f: Verifying Checksum [2023-05-30T09:40:05.224Z] 3a2ae6a8a46f: Download complete [2023-05-30T09:40:05.490Z] 33b1e0a273af: Verifying Checksum [2023-05-30T09:40:05.490Z] 33b1e0a273af: Download complete [2023-05-30T09:40:05.490Z] 5d3b04190fa2: Download complete [2023-05-30T09:40:05.490Z] ec43610c2a17: Verifying Checksum [2023-05-30T09:40:05.490Z] ec43610c2a17: Download complete [2023-05-30T09:40:05.490Z] 5eb5b503b376: Verifying Checksum [2023-05-30T09:40:05.491Z] 5eb5b503b376: Download complete [2023-05-30T09:40:06.058Z] 2f39f015ded8: Download complete [2023-05-30T09:40:06.625Z] 5eb5b503b376: Pull complete [2023-05-30T09:40:06.884Z] 5c69ac0246d0: Pull complete [2023-05-30T09:40:07.450Z] ec43610c2a17: Pull complete [2023-05-30T09:40:07.450Z] 3a2ae6a8a46f: Pull complete [2023-05-30T09:40:07.708Z] 33b1e0a273af: Pull complete [2023-05-30T09:40:07.708Z] 5d3b04190fa2: Pull complete [2023-05-30T09:40:12.977Z] 2f39f015ded8: Pull complete [2023-05-30T09:40:12.977Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-05-30T09:40:12.977Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-30T09:40:12.977Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-30T09:40:13.200Z] prd-ubuntu20.04-docker-8c-8g-17279 does not seem to be running inside a container [2023-05-30T09:40:13.224Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-c_PR-458 -v /w/workspace/edgexfoundry_device-sdk-c_PR-458:/w/workspace/edgexfoundry_device-sdk-c_PR-458:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-458@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-458@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-05-30T09:40:22.223Z] $ docker top 1541eec6516ca8b308c282fcd4e705e96fef404555575a9d4bdcba058b021f55 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-30T09:40:22.685Z] ---> job-cost.sh [2023-05-30T09:40:22.685Z] lf-activate-venv: SKIPPING [2023-05-30T09:40:22.685Z] INFO: No Stack... [2023-05-30T09:40:23.255Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-05-30T09:40:23.515Z] INFO: Archiving Costs [Pipeline] sh [2023-05-30T09:40:23.826Z] + cat /w/workspace/edgexfoundry_device-sdk-c_PR-458/archives/cost.csv [2023-05-30T09:40:23.826Z] + cut -d, -f6 [Pipeline] lock [2023-05-30T09:40:23.870Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-458-1-stack-cost] [2023-05-30T09:40:23.875Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-458-1-stack-cost] did not exist. Created. [2023-05-30T09:40:23.875Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-458-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-05-30T09:40:24.265Z] + echo total: 0.4399999976158142 [Pipeline] stash [2023-05-30T09:40:24.324Z] Stashed 1 file(s) [Pipeline] } [2023-05-30T09:40:24.350Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-458-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-05-30T09:40:24.423Z] $ docker stop --time=1 1541eec6516ca8b308c282fcd4e705e96fef404555575a9d4bdcba058b021f55 [2023-05-30T09:40:25.624Z] $ docker rm -f --volumes 1541eec6516ca8b308c282fcd4e705e96fef404555575a9d4bdcba058b021f55 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-05-30T09:41:02.167Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-17284 in /w/workspace/edgexfoundry_device-sdk-c_PR-458 [Pipeline] { [Pipeline] ws [2023-05-30T09:41:02.229Z] Running in /w/workspace/device-sdk-c/1 [Pipeline] { [Pipeline] checkout [2023-05-30T09:41:02.308Z] Selected Git installation does not exist. Using Default [2023-05-30T09:41:02.309Z] The recommended git tool is: NONE [2023-05-30T09:41:07.443Z] using credential edgex-jenkins-ssh [2023-05-30T09:41:07.458Z] Cloning the remote Git repository [2023-05-30T09:41:07.502Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2023-05-30T09:41:07.583Z] > git init /w/workspace/device-sdk-c/1 # timeout=10 [2023-05-30T09:41:07.718Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2023-05-30T09:41:07.719Z] > git --version # timeout=10 [2023-05-30T09:41:07.737Z] > git --version # 'git version 2.25.1' [2023-05-30T09:41:07.740Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-30T09:41:07.868Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-05-30T09:41:08.965Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2023-05-30T09:41:08.995Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-05-30T09:41:10.440Z] Merging remotes/origin/main commit ad65e45309f8995a17d27a3f59962ea35e988788 into PR head commit cc08ab0a351fe58074ebdc2c4307268c963f0ed6 [2023-05-30T09:41:10.773Z] Merge succeeded, producing cc08ab0a351fe58074ebdc2c4307268c963f0ed6 [2023-05-30T09:41:10.774Z] Checking out Revision cc08ab0a351fe58074ebdc2c4307268c963f0ed6 (PR-458) [2023-05-30T09:41:09.831Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2023-05-30T09:41:09.867Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2023-05-30T09:41:09.868Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-30T09:41:09.883Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/458/head:refs/remotes/origin/PR-458 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-05-30T09:41:10.460Z] > git config core.sparsecheckout # timeout=10 [2023-05-30T09:41:10.534Z] > git checkout -f cc08ab0a351fe58074ebdc2c4307268c963f0ed6 # timeout=10 [2023-05-30T09:41:10.655Z] > git remote # timeout=10 [2023-05-30T09:41:10.680Z] > git config --get remote.origin.url # timeout=10 [2023-05-30T09:41:10.705Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-30T09:41:10.718Z] > git merge ad65e45309f8995a17d27a3f59962ea35e988788 # timeout=10 [2023-05-30T09:41:10.749Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-05-30T09:41:10.782Z] > git config core.sparsecheckout # timeout=10 [2023-05-30T09:41:10.801Z] > git checkout -f cc08ab0a351fe58074ebdc2c4307268c963f0ed6 # timeout=10 [2023-05-30T09:41:14.302Z] Commit message: "fix: loading insecure secrets from config" [2023-05-30T09:41:14.349Z] > git --version # timeout=10 [2023-05-30T09:41:14.360Z] > git --version # 'git version 2.25.1' [2023-05-30T09:41:14.371Z] fatal: bad object 4fc256d9079ed2258907e613f84b1b8da264a4bd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-30T09:41:15.542Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-05-30T09:41:15.542Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-30T09:41:15.542Z] Dload Upload Total Spent Left Speed [2023-05-30T09:41:15.542Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 95872 0 --:--:-- --:--:-- --:--:-- 95872 [Pipeline] sh [2023-05-30T09:41:16.224Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-05-30T09:41:16.572Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-05-30T09:41:16.572Z] + sudo tee /etc/docker/daemon.new [2023-05-30T09:41:16.572Z] { [2023-05-30T09:41:16.572Z] "registry-mirrors": [ [2023-05-30T09:41:16.572Z] "https://nexus3.edgexfoundry.org:10001" [2023-05-30T09:41:16.572Z] ], [2023-05-30T09:41:16.572Z] "bip": "10.250.0.254/24", [2023-05-30T09:41:16.572Z] "hosts": [ [2023-05-30T09:41:16.572Z] "tcp://0.0.0.0:5555", [2023-05-30T09:41:16.572Z] "unix:///var/run/docker.sock" [2023-05-30T09:41:16.572Z] ], [2023-05-30T09:41:16.572Z] "mtu": 1458, [2023-05-30T09:41:16.572Z] "selinux-enabled": true, [2023-05-30T09:41:16.572Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-05-30T09:41:16.572Z] } [Pipeline] sh [2023-05-30T09:41:16.926Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-05-30T09:41:17.276Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-30T09:41:35.586Z] provisioning config files... [2023-05-30T09:41:35.610Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/1@tmp/config17770519067368067543tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-30T09:41:35.989Z] ---> docker-login.sh [2023-05-30T09:41:35.989Z] nexus3.edgexfoundry.org:10001 [2023-05-30T09:41:36.260Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-30T09:41:36.530Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-30T09:41:36.530Z] Configure a credential helper to remove this warning. See [2023-05-30T09:41:36.530Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-30T09:41:36.530Z] [2023-05-30T09:41:36.530Z] Login Succeeded [2023-05-30T09:41:36.530Z] nexus3.edgexfoundry.org:10002 [2023-05-30T09:41:36.799Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-30T09:41:37.067Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-30T09:41:37.067Z] Configure a credential helper to remove this warning. See [2023-05-30T09:41:37.067Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-30T09:41:37.067Z] [2023-05-30T09:41:37.067Z] Login Succeeded [2023-05-30T09:41:37.067Z] nexus3.edgexfoundry.org:10003 [2023-05-30T09:41:37.340Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-30T09:41:37.340Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-30T09:41:37.340Z] Configure a credential helper to remove this warning. See [2023-05-30T09:41:37.340Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-30T09:41:37.340Z] [2023-05-30T09:41:37.340Z] Login Succeeded [2023-05-30T09:41:37.340Z] nexus3.edgexfoundry.org:10004 [2023-05-30T09:41:37.612Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-30T09:41:37.612Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-30T09:41:37.612Z] Configure a credential helper to remove this warning. See [2023-05-30T09:41:37.612Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-30T09:41:37.612Z] [2023-05-30T09:41:37.612Z] Login Succeeded [2023-05-30T09:41:37.612Z] docker.io [2023-05-30T09:41:37.881Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-30T09:41:38.150Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-30T09:41:38.150Z] Configure a credential helper to remove this warning. See [2023-05-30T09:41:38.150Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-30T09:41:38.150Z] [2023-05-30T09:41:38.150Z] Login Succeeded [2023-05-30T09:41:38.150Z] ---> docker-login.sh ends [Pipeline] } [2023-05-30T09:41:38.186Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-05-30T09:41:38.557Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-30T09:41:38.587Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-arm64 [Pipeline] echo [2023-05-30T09:41:38.621Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-30T09:41:38.655Z] ========================================================= [2023-05-30T09:41:38.655Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] [2023-05-30T09:41:38.655Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-30T09:41:39.107Z] + 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-30T09:41:39.375Z] Sending build context to Docker daemon 2.933MB [2023-05-30T09:41:39.375Z] Step 1/21 : ARG BASE=alpine:3.16 [2023-05-30T09:41:39.375Z] Step 2/21 : FROM ${BASE} as builder [2023-05-30T09:41:39.651Z] latest: Pulling from edgex-devops/edgex-gcc-base-arm64 [2023-05-30T09:41:39.651Z] 547446be3368: Pulling fs layer [2023-05-30T09:41:39.651Z] 76bd08e1cacc: Pulling fs layer [2023-05-30T09:41:39.651Z] 547446be3368: Download complete [2023-05-30T09:41:40.239Z] 547446be3368: Pull complete [2023-05-30T09:41:41.658Z] 76bd08e1cacc: Verifying Checksum [2023-05-30T09:41:41.658Z] 76bd08e1cacc: Download complete [2023-05-30T09:41:49.880Z] 76bd08e1cacc: Pull complete [2023-05-30T09:41:49.880Z] Digest: sha256:e2ae639067a511a7973e9e369d25ddd915310c8cf663528363fa06e26cb01fbe [2023-05-30T09:41:49.880Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest [2023-05-30T09:41:49.880Z] ---> 295cd00e64f4 [2023-05-30T09:41:49.880Z] 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-30T09:41:50.470Z] ---> Running in 57077f021841 [2023-05-30T09:41:51.435Z] Connecting to iotech.jfrog.io (52.50.89.186:443) [2023-05-30T09:41:52.027Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-05-30T09:41:52.027Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-05-30T09:41:52.027Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-05-30T09:41:52.611Z] Removing intermediate container 57077f021841 [2023-05-30T09:41:52.611Z] ---> f595be7fd0a7 [2023-05-30T09:41:52.611Z] Step 4/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-05-30T09:41:52.611Z] ---> Running in 6e46c554ad16 [2023-05-30T09:41:54.027Z] Removing intermediate container 6e46c554ad16 [2023-05-30T09:41:54.027Z] ---> c43e0d95df7c [2023-05-30T09:41:54.027Z] 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-30T09:41:54.298Z] ---> Running in bd1bc2deb883 [2023-05-30T09:41:55.262Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-05-30T09:41:55.531Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-05-30T09:41:55.800Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/aarch64/APKINDEX.tar.gz [2023-05-30T09:41:56.761Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-05-30T09:41:56.761Z] (1/16) Upgrading ncurses-terminfo-base (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-05-30T09:41:56.761Z] (2/16) Upgrading ncurses-libs (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-05-30T09:41:56.761Z] (3/16) Installing hiredis (1.0.2-r0) [2023-05-30T09:41:56.761Z] (4/16) Installing hiredis-dev (1.0.2-r0) [2023-05-30T09:41:56.761Z] (5/16) Installing iotech-iot-1.5 (1.5.0-r0) [2023-05-30T09:41:57.718Z] (6/16) Installing iotech-iot-1.5-dev (1.5.0-r0) [2023-05-30T09:41:57.718Z] (7/16) Installing libcbor (0.9.0-r1) [2023-05-30T09:41:57.718Z] (8/16) Installing libcbor-dev (0.9.0-r1) [2023-05-30T09:41:57.718Z] (9/16) Installing ncurses-dev (6.3_p20220521-r1) [2023-05-30T09:41:57.718Z] (10/16) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) [2023-05-30T09:41:58.676Z] (11/16) Installing libblkid (2.38-r1) [2023-05-30T09:41:58.676Z] (12/16) Installing libuuid (2.38-r1) [2023-05-30T09:41:58.676Z] (13/16) Installing libfdisk (2.38-r1) [2023-05-30T09:41:58.676Z] (14/16) Installing libmount (2.38-r1) [2023-05-30T09:41:58.676Z] (15/16) Installing libsmartcols (2.38-r1) [2023-05-30T09:41:58.676Z] (16/16) Installing util-linux-dev (2.38-r1) [2023-05-30T09:41:58.944Z] Executing busybox-1.35.0-r17.trigger [2023-05-30T09:41:58.944Z] OK: 286 MiB in 90 packages [2023-05-30T09:42:00.357Z] Removing intermediate container bd1bc2deb883 [2023-05-30T09:42:00.357Z] ---> 61fdb502ff52 [2023-05-30T09:42:00.357Z] Step 6/21 : RUN mkdir /tmp/sdk [2023-05-30T09:42:00.357Z] ---> Running in 385a064c33c9 [2023-05-30T09:42:01.772Z] Removing intermediate container 385a064c33c9 [2023-05-30T09:42:01.772Z] ---> 914fa70c955b [2023-05-30T09:42:01.772Z] Step 7/21 : COPY VERSION /tmp/sdk [2023-05-30T09:42:02.362Z] ---> 08e3edb6f6de [2023-05-30T09:42:02.362Z] Step 8/21 : COPY src /tmp/sdk/src [2023-05-30T09:42:06.620Z] ---> 797a9c2e8ffe [2023-05-30T09:42:06.620Z] Step 9/21 : COPY include /tmp/sdk/include [2023-05-30T09:42:06.620Z] ---> a7f840dc4f26 [2023-05-30T09:42:06.620Z] Step 10/21 : COPY scripts /tmp/sdk/scripts [2023-05-30T09:42:07.206Z] ---> 611ce496543b [2023-05-30T09:42:07.206Z] Step 11/21 : COPY LICENSE /tmp/sdk [2023-05-30T09:42:07.475Z] ---> b4786e23b383 [2023-05-30T09:42:07.475Z] Step 12/21 : COPY Attribution.txt /tmp/sdk [2023-05-30T09:42:08.064Z] ---> 42b50fe5b16b [2023-05-30T09:42:08.064Z] Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2023-05-30T09:42:08.064Z] ---> Running in afce8bba486e [2023-05-30T09:42:09.026Z] + CPPCHECK=false [2023-05-30T09:42:09.027Z] + DOCGEN=false [2023-05-30T09:42:09.027Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2023-05-30T09:42:09.027Z] + '[' 0 -gt 0 ] [2023-05-30T09:42:09.027Z] + readlink -f ./scripts/build.sh [2023-05-30T09:42:09.027Z] + dirname /tmp/sdk/scripts/build.sh [2023-05-30T09:42:09.027Z] + dirname /tmp/sdk/scripts [2023-05-30T09:42:09.027Z] + ROOT=/tmp/sdk [2023-05-30T09:42:09.027Z] + cd /tmp/sdk [2023-05-30T09:42:09.027Z] + mkdir -p /tmp/sdk/build/release [2023-05-30T09:42:09.027Z] + cd /tmp/sdk/build/release [2023-05-30T09:42:09.027Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2023-05-30T09:42:09.295Z] -- The C compiler identification is GNU 11.2.1 [2023-05-30T09:42:09.295Z] -- Detecting C compiler ABI info [2023-05-30T09:42:09.564Z] -- Detecting C compiler ABI info - done [2023-05-30T09:42:09.833Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-05-30T09:42:09.833Z] -- Detecting C compile features [2023-05-30T09:42:09.833Z] -- Detecting C compile features - done [2023-05-30T09:42:09.833Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-05-30T09:42:10.100Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.0.1") [2023-05-30T09:42:10.100Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-05-30T09:42:10.100Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-05-30T09:42:10.100Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-05-30T09:42:10.100Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-05-30T09:42:10.100Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-05-30T09:42:10.100Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2023-05-30T09:42:10.100Z] -- /opt/iotech/iot/1.5/include [2023-05-30T09:42:10.100Z] -- C SDK 0.0.0 for Linux [2023-05-30T09:42:10.100Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-05-30T09:42:10.368Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-05-30T09:42:10.636Z] -- Found Curses: /usr/lib/libcurses.so [2023-05-30T09:42:10.636Z] -- Configuring done [2023-05-30T09:42:10.905Z] -- Generating done [2023-05-30T09:42:11.174Z] -- Build files have been written to: /tmp/sdk/build/release [2023-05-30T09:42:11.174Z] + make all package [2023-05-30T09:42:11.174Z] + tee release.log [2023-05-30T09:42:11.174Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-05-30T09:42:12.143Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2023-05-30T09:42:13.104Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2023-05-30T09:42:14.062Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2023-05-30T09:42:14.644Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2023-05-30T09:42:15.602Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2023-05-30T09:42:18.180Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2023-05-30T09:42:19.141Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2023-05-30T09:42:19.410Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2023-05-30T09:42:20.370Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2023-05-30T09:42:22.948Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2023-05-30T09:42:23.214Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2023-05-30T09:42:24.173Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2023-05-30T09:42:25.133Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2023-05-30T09:42:25.714Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2023-05-30T09:42:26.671Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2023-05-30T09:42:26.937Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2023-05-30T09:42:29.512Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2023-05-30T09:42:29.780Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2023-05-30T09:42:30.743Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2023-05-30T09:42:32.150Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2023-05-30T09:42:37.489Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2023-05-30T09:42:38.447Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2023-05-30T09:42:38.713Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2023-05-30T09:42:39.297Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2023-05-30T09:42:39.880Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2023-05-30T09:42:41.290Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2023-05-30T09:42:44.637Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2023-05-30T09:42:44.637Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2023-05-30T09:42:45.596Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2023-05-30T09:42:46.182Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2023-05-30T09:42:50.435Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2023-05-30T09:42:50.703Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2023-05-30T09:42:50.974Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2023-05-30T09:42:51.560Z] [ 68%] Linking C shared library libcsdk.so [2023-05-30T09:42:51.828Z] [ 68%] Built target csdk [2023-05-30T09:42:51.828Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2023-05-30T09:42:52.789Z] [ 72%] Linking C executable template [2023-05-30T09:42:53.059Z] [ 72%] Built target template [2023-05-30T09:42:53.059Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2023-05-30T09:42:53.647Z] [ 76%] Linking C executable device-counter [2023-05-30T09:42:54.232Z] [ 76%] Built target device-counter [2023-05-30T09:42:54.232Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2023-05-30T09:42:54.816Z] [ 80%] Linking C executable device-random [2023-05-30T09:42:55.087Z] [ 80%] Built target device-random [2023-05-30T09:42:55.087Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2023-05-30T09:42:55.672Z] [ 84%] Linking C executable device-gyro [2023-05-30T09:42:55.941Z] [ 84%] Built target device-gyro [2023-05-30T09:42:55.941Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2023-05-30T09:42:56.527Z] [ 88%] Linking C executable device-bitfields [2023-05-30T09:42:56.801Z] [ 88%] Built target device-bitfields [2023-05-30T09:42:56.801Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2023-05-30T09:43:00.999Z] [ 92%] Linking C executable template-discovery [2023-05-30T09:43:00.999Z] [ 92%] Built target template-discovery [2023-05-30T09:43:00.999Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2023-05-30T09:43:00.999Z] [ 96%] Linking C executable device-file [2023-05-30T09:43:00.999Z] [ 96%] Built target device-file [2023-05-30T09:43:00.999Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2023-05-30T09:43:00.999Z] [100%] Linking C executable device-terminal [2023-05-30T09:43:00.999Z] [100%] Built target device-terminal [2023-05-30T09:43:01.267Z] Run CPack packaging tool... [2023-05-30T09:43:01.267Z] CPack: Create package using TGZ [2023-05-30T09:43:01.267Z] CPack: Install projects [2023-05-30T09:43:01.267Z] CPack: - Run preinstall target for: Csdk [2023-05-30T09:43:01.855Z] CPack: - Install project: Csdk [] [2023-05-30T09:43:02.123Z] CPack: Create package [2023-05-30T09:43:02.123Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2023-05-30T09:43:02.123Z] + '[' false '=' true ] [2023-05-30T09:43:02.123Z] + '[' false '=' true ] [2023-05-30T09:43:02.123Z] + mkdir -p /tmp/sdk/build/debug [2023-05-30T09:43:02.123Z] + cd /tmp/sdk/build/debug [2023-05-30T09:43:02.123Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2023-05-30T09:43:02.392Z] -- The C compiler identification is GNU 11.2.1 [2023-05-30T09:43:02.392Z] -- Detecting C compiler ABI info [2023-05-30T09:43:02.658Z] -- Detecting C compiler ABI info - done [2023-05-30T09:43:02.926Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-05-30T09:43:02.926Z] -- Detecting C compile features [2023-05-30T09:43:02.926Z] -- Detecting C compile features - done [2023-05-30T09:43:02.926Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-05-30T09:43:03.194Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.0.1") [2023-05-30T09:43:03.194Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-05-30T09:43:03.194Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-05-30T09:43:03.194Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-05-30T09:43:03.194Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-05-30T09:43:03.194Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-05-30T09:43:03.194Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2023-05-30T09:43:03.194Z] -- /opt/iotech/iot/1.5/include [2023-05-30T09:43:03.194Z] -- C SDK 0.0.0 for Linux [2023-05-30T09:43:03.194Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-05-30T09:43:03.462Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-05-30T09:43:03.730Z] -- Found Curses: /usr/lib/libcurses.so [2023-05-30T09:43:03.730Z] -- Configuring done [2023-05-30T09:43:03.997Z] -- Generating done [2023-05-30T09:43:03.997Z] -- Build files have been written to: /tmp/sdk/build/debug [2023-05-30T09:43:03.997Z] + + maketee [2023-05-30T09:43:03.997Z] debug.log [2023-05-30T09:43:04.264Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-05-30T09:43:04.847Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2023-05-30T09:43:05.115Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2023-05-30T09:43:05.697Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2023-05-30T09:43:05.964Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2023-05-30T09:43:06.547Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2023-05-30T09:43:07.129Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2023-05-30T09:43:07.710Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2023-05-30T09:43:07.710Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2023-05-30T09:43:08.294Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2023-05-30T09:43:09.252Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2023-05-30T09:43:09.520Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2023-05-30T09:43:10.104Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2023-05-30T09:43:10.370Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2023-05-30T09:43:10.955Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2023-05-30T09:43:11.222Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2023-05-30T09:43:11.489Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2023-05-30T09:43:12.450Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2023-05-30T09:43:12.718Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2023-05-30T09:43:12.718Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2023-05-30T09:43:13.676Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2023-05-30T09:43:15.082Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2023-05-30T09:43:15.082Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2023-05-30T09:43:15.662Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2023-05-30T09:43:15.928Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2023-05-30T09:43:16.194Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2023-05-30T09:43:16.776Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2023-05-30T09:43:18.717Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2023-05-30T09:43:18.717Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2023-05-30T09:43:19.299Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2023-05-30T09:43:19.879Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2023-05-30T09:43:20.837Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2023-05-30T09:43:21.104Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2023-05-30T09:43:21.370Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2023-05-30T09:43:21.954Z] [ 68%] Linking C shared library libcsdk.so [2023-05-30T09:43:21.954Z] [ 68%] Built target csdk [2023-05-30T09:43:21.954Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2023-05-30T09:43:22.538Z] [ 72%] Linking C executable template [2023-05-30T09:43:22.806Z] [ 72%] Built target template [2023-05-30T09:43:22.806Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2023-05-30T09:43:23.073Z] [ 76%] Linking C executable device-counter [2023-05-30T09:43:23.342Z] [ 76%] Built target device-counter [2023-05-30T09:43:23.609Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2023-05-30T09:43:23.877Z] [ 80%] Linking C executable device-random [2023-05-30T09:43:24.234Z] [ 80%] Built target device-random [2023-05-30T09:43:24.234Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2023-05-30T09:43:24.584Z] [ 84%] Linking C executable device-gyro [2023-05-30T09:43:24.873Z] [ 84%] Built target device-gyro [2023-05-30T09:43:24.873Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2023-05-30T09:43:25.144Z] [ 88%] Linking C executable device-bitfields [2023-05-30T09:43:25.418Z] [ 88%] Built target device-bitfields [2023-05-30T09:43:25.418Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2023-05-30T09:43:26.019Z] [ 92%] Linking C executable template-discovery [2023-05-30T09:43:26.289Z] [ 92%] Built target template-discovery [2023-05-30T09:43:26.289Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2023-05-30T09:43:26.902Z] [ 96%] Linking C executable device-file [2023-05-30T09:43:26.902Z] [ 96%] Built target device-file [2023-05-30T09:43:27.173Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2023-05-30T09:43:27.445Z] [100%] Linking C executable device-terminal [2023-05-30T09:43:27.716Z] [100%] Built target device-terminal [2023-05-30T09:43:27.982Z] make: Entering directory '/tmp/sdk/build/release' [2023-05-30T09:43:27.982Z] make[1]: Entering directory '/tmp/sdk/build/release' [2023-05-30T09:43:27.982Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-05-30T09:43:27.982Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-05-30T09:43:27.982Z] [ 68%] Built target csdk [2023-05-30T09:43:27.982Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-05-30T09:43:27.982Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-05-30T09:43:27.982Z] [ 72%] Built target template [2023-05-30T09:43:27.982Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-05-30T09:43:27.982Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-05-30T09:43:27.982Z] [ 76%] Built target device-counter [2023-05-30T09:43:27.982Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-05-30T09:43:28.249Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-05-30T09:43:28.249Z] [ 80%] Built target device-random [2023-05-30T09:43:28.249Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-05-30T09:43:28.249Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-05-30T09:43:28.249Z] [ 84%] Built target device-gyro [2023-05-30T09:43:28.249Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-05-30T09:43:28.249Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-05-30T09:43:28.249Z] [ 88%] Built target device-bitfields [2023-05-30T09:43:28.249Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-05-30T09:43:28.249Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-05-30T09:43:28.249Z] [ 92%] Built target template-discovery [2023-05-30T09:43:28.249Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-05-30T09:43:28.249Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-05-30T09:43:28.249Z] [ 96%] Built target device-file [2023-05-30T09:43:28.249Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-05-30T09:43:28.249Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-05-30T09:43:28.520Z] [100%] Built target device-terminal [2023-05-30T09:43:28.520Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2023-05-30T09:43:28.520Z] Install the project... [2023-05-30T09:43:28.520Z] -- Install configuration: "Release" [2023-05-30T09:43:28.520Z] -- Installing: /usr/local/lib/libcsdk.so [2023-05-30T09:43:28.520Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2023-05-30T09:43:28.520Z] -- Installing: /usr/local/include [2023-05-30T09:43:28.520Z] -- Installing: /usr/local/include/devsdk [2023-05-30T09:43:28.520Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2023-05-30T09:43:28.520Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2023-05-30T09:43:28.520Z] -- Installing: /usr/local/include/edgex [2023-05-30T09:43:28.520Z] -- Installing: /usr/local/include/edgex/rest-server.h [2023-05-30T09:43:28.520Z] -- Installing: /usr/local/include/edgex/edgex.h [2023-05-30T09:43:28.520Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2023-05-30T09:43:28.520Z] -- Installing: /usr/local/include/edgex/devices.h [2023-05-30T09:43:28.520Z] -- Installing: /usr/local/include/edgex/profiles.h [2023-05-30T09:43:28.520Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2023-05-30T09:43:28.520Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2023-05-30T09:43:28.520Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2023-05-30T09:43:28.520Z] make: Leaving directory '/tmp/sdk/build/release' [2023-05-30T09:43:29.928Z] Removing intermediate container afce8bba486e [2023-05-30T09:43:29.928Z] ---> ec00d33f4f44 [2023-05-30T09:43:29.928Z] Step 14/21 : FROM ${BASE} [2023-05-30T09:43:29.928Z] ---> 295cd00e64f4 [2023-05-30T09:43:29.928Z] Step 15/21 : LABEL maintainer="IOTech " [2023-05-30T09:43:29.928Z] ---> Running in 8724ef207d89 [2023-05-30T09:43:30.196Z] Removing intermediate container 8724ef207d89 [2023-05-30T09:43:30.196Z] ---> 8639fbbea517 [2023-05-30T09:43:30.196Z] 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-30T09:43:30.196Z] ---> Running in 72f63b214042 [2023-05-30T09:43:31.160Z] Connecting to iotech.jfrog.io (52.210.182.164:443) [2023-05-30T09:43:31.740Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-05-30T09:43:31.740Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-05-30T09:43:31.740Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-05-30T09:43:32.324Z] Removing intermediate container 72f63b214042 [2023-05-30T09:43:32.324Z] ---> 5e8b037ff357 [2023-05-30T09:43:32.324Z] Step 17/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-05-30T09:43:32.324Z] ---> Running in 87658922bdac [2023-05-30T09:43:33.738Z] Removing intermediate container 87658922bdac [2023-05-30T09:43:33.738Z] ---> 2140d50fe416 [2023-05-30T09:43:33.738Z] 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-30T09:43:34.006Z] ---> Running in c4e82cb79bc7 [2023-05-30T09:43:34.965Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-05-30T09:43:35.232Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-05-30T09:43:35.498Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/aarch64/APKINDEX.tar.gz [2023-05-30T09:43:36.456Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-05-30T09:43:36.456Z] (1/7) Installing curl (8.1.1-r1) [2023-05-30T09:43:36.456Z] (2/7) Installing hiredis (1.0.2-r0) [2023-05-30T09:43:36.456Z] (3/7) Installing hiredis-dev (1.0.2-r0) [2023-05-30T09:43:36.456Z] (4/7) Installing iotech-iot-1.4 (1.4.2-r0) [2023-05-30T09:43:37.414Z] (5/7) Installing libcbor (0.9.0-r1) [2023-05-30T09:43:37.414Z] (6/7) Installing libuuid (2.38-r1) [2023-05-30T09:43:37.414Z] (7/7) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) [2023-05-30T09:43:37.997Z] Executing busybox-1.35.0-r17.trigger [2023-05-30T09:43:37.997Z] OK: 281 MiB in 83 packages [2023-05-30T09:43:40.581Z] Removing intermediate container c4e82cb79bc7 [2023-05-30T09:43:40.581Z] ---> 519cfb63dc70 [2023-05-30T09:43:40.581Z] Step 19/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2023-05-30T09:43:41.163Z] ---> a3b30beba49e [2023-05-30T09:43:41.163Z] Step 20/21 : COPY --from=builder /usr/local/lib /usr/local/lib [2023-05-30T09:43:41.750Z] ---> d470a01b33c1 [2023-05-30T09:43:41.750Z] Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2023-05-30T09:43:42.334Z] ---> 34bba0c7f1de [2023-05-30T09:43:42.334Z] Successfully built 34bba0c7f1de [2023-05-30T09:43:42.334Z] 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-30T09:43:43.076Z] + docker inspect -f . ci-base-image-arm64 [2023-05-30T09:43:43.076Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-30T09:43:43.341Z] prd-ubuntu20.04-docker-arm64-4c-16g-17284 does not seem to be running inside a container [2023-05-30T09:43:43.406Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/1 -v /w/workspace/device-sdk-c/1:/w/workspace/device-sdk-c/1:rw,z -v /w/workspace/device-sdk-c/1@tmp:/w/workspace/device-sdk-c/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-05-30T09:43:44.521Z] $ docker top 0fc389ee80c32748adb8c12a293b226067bfbb718e9df7604971528026f197d1 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-30T09:43:45.376Z] + make test [2023-05-30T09:43:45.376Z] echo "make test" [2023-05-30T09:43:45.376Z] make test [Pipeline] } [2023-05-30T09:43:45.409Z] $ docker stop --time=1 0fc389ee80c32748adb8c12a293b226067bfbb718e9df7604971528026f197d1 [2023-05-30T09:43:47.021Z] $ docker rm -f --volumes 0fc389ee80c32748adb8c12a293b226067bfbb718e9df7604971528026f197d1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-30T09:43:47.809Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-05-30T09:43:48.140Z] + ls -al . [2023-05-30T09:43:48.140Z] total 208 [2023-05-30T09:43:48.140Z] drwxrwxr-x 8 jenkins jenkins 4096 May 30 09:41 . [2023-05-30T09:43:48.140Z] drwxrwxr-x 4 jenkins jenkins 4096 May 30 09:41 .. [2023-05-30T09:43:48.140Z] drwxrwxr-x 8 jenkins jenkins 4096 May 30 09:41 .git [2023-05-30T09:43:48.140Z] drwxrwxr-x 2 jenkins jenkins 4096 May 30 09:41 .github [2023-05-30T09:43:48.140Z] -rw-rw-r-- 1 jenkins jenkins 176 May 30 09:41 .gitignore [2023-05-30T09:43:48.140Z] -rw-rw-r-- 1 jenkins jenkins 2908 May 30 09:41 Attribution.txt [2023-05-30T09:43:48.140Z] -rw-rw-r-- 1 jenkins jenkins 9268 May 30 09:41 CHANGES [2023-05-30T09:43:48.140Z] -rw-rw-r-- 1 jenkins jenkins 108574 May 30 09:41 Doxyfile [2023-05-30T09:43:48.140Z] -rw-rw-r-- 1 jenkins jenkins 677 May 30 09:41 GOVERNANCE.md [2023-05-30T09:43:48.140Z] -rw-rw-r-- 1 jenkins jenkins 784 May 30 09:41 Jenkinsfile [2023-05-30T09:43:48.140Z] -rw-rw-r-- 1 jenkins jenkins 10174 May 30 09:41 LICENSE [2023-05-30T09:43:48.140Z] -rw-rw-r-- 1 jenkins jenkins 444 May 30 09:41 Makefile [2023-05-30T09:43:48.140Z] -rw-rw-r-- 1 jenkins jenkins 618 May 30 09:41 OWNERS.md [2023-05-30T09:43:48.140Z] -rw-rw-r-- 1 jenkins jenkins 1651 May 30 09:41 README.IOT.md [2023-05-30T09:43:48.140Z] -rw-rw-r-- 1 jenkins jenkins 4215 May 30 09:41 README.md [2023-05-30T09:43:48.140Z] -rw-rw-r-- 1 jenkins jenkins 1245 May 30 09:41 README.v3.md [2023-05-30T09:43:48.140Z] -rw-rw-r-- 1 jenkins jenkins 5 May 30 09:39 VERSION [2023-05-30T09:43:48.140Z] drwxrwxr-x 2 jenkins jenkins 4096 May 30 09:41 docs [2023-05-30T09:43:48.140Z] drwxrwxr-x 4 jenkins jenkins 4096 May 30 09:41 include [2023-05-30T09:43:48.140Z] drwxrwxr-x 2 jenkins jenkins 4096 May 30 09:41 scripts [2023-05-30T09:43:48.141Z] drwxrwxr-x 4 jenkins jenkins 4096 May 30 09:41 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-30T09:43:48.709Z] + 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=cc08ab0a351fe58074ebdc2c4307268c963f0ed6 --label arch=arm64 --label version=0.0.0 . [2023-05-30T09:43:48.976Z] Sending build context to Docker daemon 2.933MB [2023-05-30T09:43:48.976Z] Step 1/17 : ARG BASE=alpine:3.16 [2023-05-30T09:43:48.976Z] Step 2/17 : FROM ${BASE} [2023-05-30T09:43:48.976Z] ---> 34bba0c7f1de [2023-05-30T09:43:48.976Z] Step 3/17 : LABEL maintainer="IOTech " [2023-05-30T09:43:49.244Z] ---> Running in c50bd6e59640 [2023-05-30T09:43:49.513Z] Removing intermediate container c50bd6e59640 [2023-05-30T09:43:49.513Z] ---> 88b9be3c38c2 [2023-05-30T09:43:49.513Z] 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-30T09:43:49.513Z] ---> Running in 350cd0b1f23c [2023-05-30T09:43:50.469Z] Connecting to iotech.jfrog.io (52.212.150.63:443) [2023-05-30T09:43:50.737Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-05-30T09:43:50.737Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-05-30T09:43:50.737Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-05-30T09:43:54.066Z] Removing intermediate container 350cd0b1f23c [2023-05-30T09:43:54.066Z] ---> 07e15e6333dd [2023-05-30T09:43:54.066Z] Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-05-30T09:43:54.066Z] ---> Running in b93bc17ac4d5 [2023-05-30T09:43:55.035Z] Removing intermediate container b93bc17ac4d5 [2023-05-30T09:43:55.035Z] ---> 815bbaa5bf83 [2023-05-30T09:43:55.035Z] 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-30T09:43:55.303Z] ---> Running in 1a5eb8ac980f [2023-05-30T09:43:56.257Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-05-30T09:43:56.257Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-05-30T09:43:56.838Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/aarch64/APKINDEX.tar.gz [2023-05-30T09:43:57.789Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-05-30T09:43:57.789Z] (1/11) Upgrading ncurses-terminfo-base (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-05-30T09:43:57.789Z] (2/11) Upgrading ncurses-libs (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-05-30T09:43:57.789Z] (3/11) Installing iotech-iot-1.5 (1.5.0-r0) [2023-05-30T09:43:58.367Z] (4/11) Installing iotech-iot-1.5-dev (1.5.0-r0) [2023-05-30T09:43:58.367Z] (5/11) Installing libcbor-dev (0.9.0-r1) [2023-05-30T09:43:58.633Z] (6/11) Installing ncurses-dev (6.3_p20220521-r1) [2023-05-30T09:43:58.633Z] (7/11) Installing libblkid (2.38-r1) [2023-05-30T09:43:58.633Z] (8/11) Installing libfdisk (2.38-r1) [2023-05-30T09:43:58.633Z] (9/11) Installing libmount (2.38-r1) [2023-05-30T09:43:58.633Z] (10/11) Installing libsmartcols (2.38-r1) [2023-05-30T09:43:58.633Z] (11/11) Installing util-linux-dev (2.38-r1) [2023-05-30T09:43:58.633Z] Executing busybox-1.35.0-r17.trigger [2023-05-30T09:43:58.633Z] OK: 287 MiB in 92 packages [2023-05-30T09:44:00.044Z] Removing intermediate container 1a5eb8ac980f [2023-05-30T09:44:00.044Z] ---> efd077af238b [2023-05-30T09:44:00.044Z] Step 7/17 : COPY VERSION /edgex-c-sdk/ [2023-05-30T09:44:00.311Z] ---> 05e3cb18cd00 [2023-05-30T09:44:00.311Z] Step 8/17 : COPY src /edgex-c-sdk/src/ [2023-05-30T09:44:00.894Z] ---> d46d689ab680 [2023-05-30T09:44:00.894Z] Step 9/17 : COPY include /edgex-c-sdk/include/ [2023-05-30T09:44:01.476Z] ---> 0b5591509331 [2023-05-30T09:44:01.476Z] Step 10/17 : COPY scripts /edgex-c-sdk/scripts [2023-05-30T09:44:02.061Z] ---> 2c15bf8125fc [2023-05-30T09:44:02.061Z] Step 11/17 : COPY LICENSE /edgex-c-sdk/ [2023-05-30T09:44:02.328Z] ---> f2462e0fe9cd [2023-05-30T09:44:02.328Z] Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ [2023-05-30T09:44:02.907Z] ---> d7036dda7874 [2023-05-30T09:44:02.907Z] Step 13/17 : WORKDIR /edgex-c-sdk [2023-05-30T09:44:02.907Z] ---> Running in f35f14b63586 [2023-05-30T09:44:03.172Z] Removing intermediate container f35f14b63586 [2023-05-30T09:44:03.172Z] ---> 4207903dbde7 [2023-05-30T09:44:03.172Z] Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2023-05-30T09:44:03.172Z] ---> Running in b5e56e2c73fc [2023-05-30T09:44:03.444Z] Removing intermediate container b5e56e2c73fc [2023-05-30T09:44:03.444Z] ---> 5fc05699ccf3 [2023-05-30T09:44:03.444Z] Step 15/17 : LABEL arch=arm64 [2023-05-30T09:44:03.710Z] ---> Running in 85f2985e53e3 [2023-05-30T09:44:03.976Z] Removing intermediate container 85f2985e53e3 [2023-05-30T09:44:03.976Z] ---> 48037a3d363b [2023-05-30T09:44:03.976Z] Step 16/17 : LABEL git_sha=cc08ab0a351fe58074ebdc2c4307268c963f0ed6 [2023-05-30T09:44:03.976Z] ---> Running in c026e9fd4c59 [2023-05-30T09:44:04.243Z] Removing intermediate container c026e9fd4c59 [2023-05-30T09:44:04.243Z] ---> 51bf3d192153 [2023-05-30T09:44:04.243Z] Step 17/17 : LABEL version=0.0.0 [2023-05-30T09:44:04.243Z] ---> Running in 2481416d97c3 [2023-05-30T09:44:04.509Z] Removing intermediate container 2481416d97c3 [2023-05-30T09:44:04.510Z] ---> 26abff79f8b6 [2023-05-30T09:44:04.510Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2023-05-30T09:44:04.510Z] Successfully built 26abff79f8b6 [2023-05-30T09:44:04.510Z] 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-30T09:44:05.271Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-30T09:44:05.271Z] [2023-05-30T09:44:05.271Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-30T09:44:05.667Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-30T09:44:05.933Z] arm64: Pulling from edgex-lftools-log-publisher [2023-05-30T09:44:05.933Z] 8998bd30e6a1: Pulling fs layer [2023-05-30T09:44:05.933Z] 04944245beec: Pulling fs layer [2023-05-30T09:44:05.933Z] 699f458cf7ca: Pulling fs layer [2023-05-30T09:44:05.933Z] 765212b225bb: Pulling fs layer [2023-05-30T09:44:05.933Z] f23df028b6ca: Pulling fs layer [2023-05-30T09:44:05.933Z] d65c8cfc05b1: Pulling fs layer [2023-05-30T09:44:05.934Z] 2437ff75d9bd: Pulling fs layer [2023-05-30T09:44:05.934Z] 765212b225bb: Waiting [2023-05-30T09:44:05.934Z] f23df028b6ca: Waiting [2023-05-30T09:44:05.934Z] d65c8cfc05b1: Waiting [2023-05-30T09:44:05.934Z] 2437ff75d9bd: Waiting [2023-05-30T09:44:05.934Z] 04944245beec: Verifying Checksum [2023-05-30T09:44:05.934Z] 04944245beec: Download complete [2023-05-30T09:44:05.934Z] 765212b225bb: Download complete [2023-05-30T09:44:05.934Z] f23df028b6ca: Verifying Checksum [2023-05-30T09:44:05.934Z] f23df028b6ca: Download complete [2023-05-30T09:44:05.934Z] d65c8cfc05b1: Verifying Checksum [2023-05-30T09:44:05.934Z] d65c8cfc05b1: Download complete [2023-05-30T09:44:06.201Z] 699f458cf7ca: Download complete [2023-05-30T09:44:06.468Z] 8998bd30e6a1: Verifying Checksum [2023-05-30T09:44:06.468Z] 8998bd30e6a1: Download complete [2023-05-30T09:44:09.044Z] 2437ff75d9bd: Verifying Checksum [2023-05-30T09:44:09.044Z] 2437ff75d9bd: Download complete [2023-05-30T09:44:10.448Z] 8998bd30e6a1: Pull complete [2023-05-30T09:44:10.715Z] 04944245beec: Pull complete [2023-05-30T09:44:12.121Z] 699f458cf7ca: Pull complete [2023-05-30T09:44:12.387Z] 765212b225bb: Pull complete [2023-05-30T09:44:12.968Z] f23df028b6ca: Pull complete [2023-05-30T09:44:13.235Z] d65c8cfc05b1: Pull complete [2023-05-30T09:44:28.222Z] 2437ff75d9bd: Pull complete [2023-05-30T09:44:28.222Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-05-30T09:44:28.222Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-30T09:44:28.222Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-30T09:44:28.545Z] prd-ubuntu20.04-docker-arm64-4c-16g-17284 does not seem to be running inside a container [2023-05-30T09:44:28.606Z] $ 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/1 -v /w/workspace/device-sdk-c/1:/w/workspace/device-sdk-c/1:rw,z -v /w/workspace/device-sdk-c/1@tmp:/w/workspace/device-sdk-c/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-05-30T09:44:30.979Z] $ docker top f6af523f9b3e37fdc9a2776eadf60da6c4cbf8dc40a89ca3ca539c028ff73cd6 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-30T09:44:31.867Z] ---> job-cost.sh [2023-05-30T09:44:31.867Z] lf-activate-venv: SKIPPING [2023-05-30T09:44:31.867Z] INFO: No Stack... [2023-05-30T09:44:35.201Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-05-30T09:44:35.783Z] INFO: Archiving Costs [Pipeline] sh [2023-05-30T09:44:36.126Z] + cat /w/workspace/device-sdk-c/1/archives/cost.csv [2023-05-30T09:44:36.126Z] + cut -d, -f6 [Pipeline] lock [2023-05-30T09:44:36.204Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-458-1-stack-cost] [2023-05-30T09:44:36.209Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-458-1-stack-cost] did not exist. Created. [2023-05-30T09:44:36.209Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-458-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-05-30T09:44:36.608Z] /w/workspace/device-sdk-c/1@tmp/durable-c8f5f1ba/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-05-30T09:44:36.960Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-05-30T09:44:36.997Z] Warning: overwriting stash ‘stack-cost’ [2023-05-30T09:44:37.491Z] Stashed 1 file(s) [Pipeline] } [2023-05-30T09:44:37.509Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-458-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-05-30T09:44:37.594Z] $ docker stop --time=1 f6af523f9b3e37fdc9a2776eadf60da6c4cbf8dc40a89ca3ca539c028ff73cd6 [2023-05-30T09:44:39.115Z] $ docker rm -f --volumes f6af523f9b3e37fdc9a2776eadf60da6c4cbf8dc40a89ca3ca539c028ff73cd6 [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) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [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-30T09:44:40.823Z] + [ -d /w/workspace/edgexfoundry_device-sdk-c_PR-458/archives ] [2023-05-30T09:44:40.823Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-458/archives [2023-05-30T09:44:40.823Z] total 16 [2023-05-30T09:44:40.823Z] drwxr-xr-x 3 root root 4096 May 30 09:40 . [2023-05-30T09:44:40.823Z] drwxrwxr-x 10 jenkins jenkins 4096 May 30 09:40 .. [2023-05-30T09:44:40.823Z] drwxr-xr-x 2 root root 4096 May 30 09:40 cost [2023-05-30T09:44:40.823Z] -rw-r--r-- 1 root root 85 May 30 09:40 cost.csv [2023-05-30T09:44:40.823Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_PR-458/archives [2023-05-30T09:44:40.823Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-458/archives [2023-05-30T09:44:40.823Z] total 16 [2023-05-30T09:44:40.823Z] drwxr-xr-x 3 jenkins jenkins 4096 May 30 09:40 . [2023-05-30T09:44:40.824Z] drwxrwxr-x 10 jenkins jenkins 4096 May 30 09:40 .. [2023-05-30T09:44:40.824Z] drwxr-xr-x 2 jenkins jenkins 4096 May 30 09:40 cost [2023-05-30T09:44:40.824Z] -rw-r--r-- 1 jenkins jenkins 85 May 30 09:40 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-05-30T09:44:41.158Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-30T09:44:42.102Z] ---> package-listing.sh [2023-05-30T09:44:42.102Z] ++ facter osfamily [2023-05-30T09:44:42.102Z] ++ tr '[:upper:]' '[:lower:]' [2023-05-30T09:44:42.361Z] + OS_FAMILY=debian [2023-05-30T09:44:42.361Z] + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-458 [2023-05-30T09:44:42.361Z] + START_PACKAGES=/tmp/packages_start.txt [2023-05-30T09:44:42.361Z] + END_PACKAGES=/tmp/packages_end.txt [2023-05-30T09:44:42.361Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-05-30T09:44:42.361Z] + PACKAGES=/tmp/packages_start.txt [2023-05-30T09:44:42.361Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-458 ']' [2023-05-30T09:44:42.361Z] + PACKAGES=/tmp/packages_end.txt [2023-05-30T09:44:42.361Z] + case "${OS_FAMILY}" in [2023-05-30T09:44:42.361Z] + dpkg -l [2023-05-30T09:44:42.361Z] + grep '^ii' [2023-05-30T09:44:42.361Z] + '[' -f /tmp/packages_start.txt ']' [2023-05-30T09:44:42.361Z] + '[' -f /tmp/packages_end.txt ']' [2023-05-30T09:44:42.361Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-05-30T09:44:42.361Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-458 ']' [2023-05-30T09:44:42.361Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-458/archives/ [2023-05-30T09:44:42.361Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-458/archives/ [Pipeline] echo [2023-05-30T09:44:42.396Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-c_PR-458/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-05-30T09:44:42.712Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-30T09:44:43.335Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-30T09:44:43.335Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-30T09:44:43.490Z] prd-ubuntu20.04-docker-8c-8g-17279 does not seem to be running inside a container [2023-05-30T09:44:43.516Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-c_PR-458/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-c_PR-458 -v /w/workspace/edgexfoundry_device-sdk-c_PR-458:/w/workspace/edgexfoundry_device-sdk-c_PR-458:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-458@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-458@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-05-30T09:44:44.889Z] $ docker top de298738a572a2d4ae95506214f2a4888271b230ecee6811f2135d68604d347a -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-30T09:44:45.284Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-05-30T09:44:45.593Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-05-30T09:44:45.905Z] + ls /var/log/sa-host [2023-05-30T09:44:45.905Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-30T09:44:46.109Z] provisioning config files... [2023-05-30T09:44:46.117Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-458@tmp/config13436027871859611593tmp [Pipeline] { [Pipeline] echo [2023-05-30T09:44:46.166Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-30T09:44:46.478Z] ---> create-netrc.sh [Pipeline] } [2023-05-30T09:44:46.507Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-05-30T09:44:46.916Z] ---> python-tools-install.sh [Pipeline] echo [2023-05-30T09:44:46.946Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-30T09:44:47.263Z] ---> sudo-logs.sh [2023-05-30T09:44:47.263Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-05-30T09:44:47.343Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-30T09:44:47.653Z] ---> job-cost.sh [2023-05-30T09:44:47.654Z] lf-activate-venv: SKIPPING [2023-05-30T09:44:47.654Z] DEBUG: total: 0.4399999976158142 [2023-05-30T09:44:47.654Z] INFO: Retrieving Stack Cost... [2023-05-30T09:44:47.914Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-05-30T09:44:48.489Z] INFO: Archiving Costs [Pipeline] echo [2023-05-30T09:44:48.529Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-30T09:44:48.841Z] ---> logs-deploy.sh [2023-05-30T09:44:48.842Z] lf-activate-venv: SKIPPING [2023-05-30T09:44:48.842Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-458/1 [2023-05-30T09:44:48.842Z] INFO: archiving workspace using pattern(s): [2023-05-30T09:44:49.783Z] Archives upload complete. [2023-05-30T09:44:49.783Z] INFO: archiving logs to Nexus