Pull request #437 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 d9d33c5f3b12b7c5e2509c964f773e9a89adf3e5+de537f5e6ed5588fb7793bac34c254358bbea04c (ac853d8684395f575802f848e9b437976e5f9835) 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-ssh10090014525637046045.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh4524182940508774721.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-437/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-437/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh81746444010399729.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-437/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8565558824499555711.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > 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-ssh11419781753443811240.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-437/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-437/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh4882273156922280292.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildCApp] RAW Config: [project:device-sdk-c, dockerBuildFilePath:scripts/Dockerfile.alpine-base, dockerFilePath:scripts/Dockerfile.alpine, pushImage:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildCApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-c-settings PROJECT: device-sdk-c USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build DOCKER_FILE_PATH: scripts/Dockerfile.alpine DOCKER_BUILD_FILE_PATH: scripts/Dockerfile.alpine-base DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-2581 in /w/workspace/edgexfoundry_device-sdk-c_PR-437 [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-437 # 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/437/head:refs/remotes/origin/PR-437 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit de537f5e6ed5588fb7793bac34c254358bbea04c into PR head commit d9d33c5f3b12b7c5e2509c964f773e9a89adf3e5 Merge succeeded, producing d9d33c5f3b12b7c5e2509c964f773e9a89adf3e5 Checking out Revision d9d33c5f3b12b7c5e2509c964f773e9a89adf3e5 (PR-437) > git config core.sparsecheckout # timeout=10 > git checkout -f d9d33c5f3b12b7c5e2509c964f773e9a89adf3e5 # 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 de537f5e6ed5588fb7793bac34c254358bbea04c # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d9d33c5f3b12b7c5e2509c964f773e9a89adf3e5 # timeout=10 Commit message: "refactor!: Use true/false for command parameters to be more consistent BREAKING CHANGE: ds-pushevent and ds-returnevent to use true/false instead of yes/no" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-01-16T15:04:28.717Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-01-16T15:04:28.867Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-01-16T15:04:28.970Z] ========================================================= [2023-01-16T15:04:28.970Z] EdgeX Global Pipelines Version Info [2023-01-16T15:04:28.970Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-01-16T15:04:29.710Z] ------------------- [2023-01-16T15:04:29.711Z] stable info: [2023-01-16T15:04:29.711Z] ------------------- [2023-01-16T15:04:29.711Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-01-16T15:04:29.711Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-01-16T15:04:29.711Z] Message: update stable to v1.0.244 [2023-01-16T15:04:30.281Z] ------------------- [2023-01-16T15:04:30.281Z] experimental info: [2023-01-16T15:04:30.281Z] ------------------- [2023-01-16T15:04:30.281Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-01-16T15:04:30.281Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-01-16T15:04:30.281Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-01-16T15:04:30.567Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo [2023-01-16T15:04:30.607Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo [2023-01-16T15:04:30.646Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-01-16T15:04:30.685Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-01-16T15:04:30.729Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-01-16T15:04:30.769Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo [2023-01-16T15:04:30.804Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo [2023-01-16T15:04:30.848Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-01-16T15:04:30.896Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-01-16T15:04:30.938Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo [2023-01-16T15:04:30.978Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-01-16T15:04:31.012Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-01-16T15:04:31.053Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-01-16T15:04:31.092Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-01-16T15:04:31.132Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-01-16T15:04:31.173Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-01-16T15:04:31.212Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-01-16T15:04:31.257Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-437 [Pipeline] echo [2023-01-16T15:04:31.297Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-437 [Pipeline] echo [2023-01-16T15:04:31.336Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-437 [Pipeline] echo [2023-01-16T15:04:31.377Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d9d33c5f3b12b7c5e2509c964f773e9a89adf3e5 [Pipeline] echo [2023-01-16T15:04:31.415Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d9d33c5 [Pipeline] echo [2023-01-16T15:04:31.450Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-16T15:04:31.565Z] provisioning config files... [2023-01-16T15:04:31.579Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-437@tmp/config18432838775473685385tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-16T15:04:31.929Z] ---> docker-login.sh [2023-01-16T15:04:31.929Z] nexus3.edgexfoundry.org:10001 [2023-01-16T15:04:32.189Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-16T15:04:32.450Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-16T15:04:32.450Z] Configure a credential helper to remove this warning. See [2023-01-16T15:04:32.450Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-16T15:04:32.450Z] [2023-01-16T15:04:32.450Z] Login Succeeded [2023-01-16T15:04:32.450Z] nexus3.edgexfoundry.org:10002 [2023-01-16T15:04:32.450Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-16T15:04:32.450Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-16T15:04:32.450Z] Configure a credential helper to remove this warning. See [2023-01-16T15:04:32.450Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-16T15:04:32.450Z] [2023-01-16T15:04:32.450Z] Login Succeeded [2023-01-16T15:04:32.450Z] nexus3.edgexfoundry.org:10003 [2023-01-16T15:04:32.450Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-16T15:04:32.710Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-16T15:04:32.710Z] Configure a credential helper to remove this warning. See [2023-01-16T15:04:32.710Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-16T15:04:32.710Z] [2023-01-16T15:04:32.710Z] Login Succeeded [2023-01-16T15:04:32.710Z] nexus3.edgexfoundry.org:10004 [2023-01-16T15:04:32.710Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-16T15:04:32.710Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-16T15:04:32.710Z] Configure a credential helper to remove this warning. See [2023-01-16T15:04:32.710Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-16T15:04:32.710Z] [2023-01-16T15:04:32.710Z] Login Succeeded [2023-01-16T15:04:32.710Z] docker.io [2023-01-16T15:04:32.710Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-16T15:04:32.970Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-16T15:04:32.970Z] Configure a credential helper to remove this warning. See [2023-01-16T15:04:32.970Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-16T15:04:32.970Z] [2023-01-16T15:04:32.970Z] Login Succeeded [2023-01-16T15:04:32.970Z] ---> docker-login.sh ends [Pipeline] } [2023-01-16T15:04:32.997Z] 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-01-16T15:04:33.631Z] + git rev-list -1 --merges d9d33c5f3b12b7c5e2509c964f773e9a89adf3e5~1..d9d33c5f3b12b7c5e2509c964f773e9a89adf3e5 [Pipeline] echo [2023-01-16T15:04:33.701Z] -----------> git rev-list -1 --merges d9d33c5f3b12b7c5e2509c964f773e9a89adf3e5~1..d9d33c5f3b12b7c5e2509c964f773e9a89adf3e5 d9d33c5f3b12b7c5e2509c964f773e9a89adf3e5 [false] [Pipeline] sh [2023-01-16T15:04:34.007Z] + git log --format=format:%s -1 d9d33c5f3b12b7c5e2509c964f773e9a89adf3e5 [Pipeline] echo [2023-01-16T15:04:34.048Z] ========================================================= [2023-01-16T15:04:34.048Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-01-16T15:04:34.048Z] ========================================================= 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-01-16T15:04:34.835Z] + git rev-list -1 --merges d9d33c5f3b12b7c5e2509c964f773e9a89adf3e5~1..d9d33c5f3b12b7c5e2509c964f773e9a89adf3e5 [Pipeline] echo [2023-01-16T15:04:34.865Z] -----------> git rev-list -1 --merges d9d33c5f3b12b7c5e2509c964f773e9a89adf3e5~1..d9d33c5f3b12b7c5e2509c964f773e9a89adf3e5 d9d33c5f3b12b7c5e2509c964f773e9a89adf3e5 [false] [Pipeline] sh [2023-01-16T15:04:35.167Z] + git log --format=format:%s -1 d9d33c5f3b12b7c5e2509c964f773e9a89adf3e5 [Pipeline] echo [2023-01-16T15:04:35.199Z] ========================================================= [2023-01-16T15:04:35.199Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-01-16T15:04:35.199Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh [2023-01-16T15:04:35.676Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-01-16T15:04:35.677Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-01-16T15:04:35.677Z] + [ -e /tmp/ssh_known_hosts ] [2023-01-16T15:04:35.677Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-01-16T15:04:35.677Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-01-16T15:04:35.677Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-01-16T15:04:35.677Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-16T15:04:36.184Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-16T15:04:36.184Z] [2023-01-16T15:04:36.184Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-16T15:04:36.572Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-16T15:04:36.572Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-01-16T15:04:36.572Z] b85a868b505f: Pulling fs layer [2023-01-16T15:04:36.572Z] e2be974225ed: Pulling fs layer [2023-01-16T15:04:36.572Z] 339a4e72a1f5: Pulling fs layer [2023-01-16T15:04:36.572Z] 988bab9f4d93: Pulling fs layer [2023-01-16T15:04:36.572Z] 1469e6f7b9e6: Pulling fs layer [2023-01-16T15:04:36.572Z] eaf3925da568: Pulling fs layer [2023-01-16T15:04:36.572Z] bab4dde63d76: Pulling fs layer [2023-01-16T15:04:36.572Z] bde34c3a00c8: Pulling fs layer [2023-01-16T15:04:36.572Z] b352a97aabf1: Pulling fs layer [2023-01-16T15:04:36.572Z] 4872d77fe225: Pulling fs layer [2023-01-16T15:04:36.572Z] 5851b861e8e6: Pulling fs layer [2023-01-16T15:04:36.572Z] 988bab9f4d93: Waiting [2023-01-16T15:04:36.572Z] 1469e6f7b9e6: Waiting [2023-01-16T15:04:36.572Z] eaf3925da568: Waiting [2023-01-16T15:04:36.572Z] 5851b861e8e6: Waiting [2023-01-16T15:04:36.572Z] 4872d77fe225: Waiting [2023-01-16T15:04:36.572Z] bab4dde63d76: Waiting [2023-01-16T15:04:36.572Z] e2be974225ed: Download complete [2023-01-16T15:04:36.572Z] 988bab9f4d93: Verifying Checksum [2023-01-16T15:04:36.572Z] 988bab9f4d93: Download complete [2023-01-16T15:04:36.836Z] 1469e6f7b9e6: Download complete [2023-01-16T15:04:37.098Z] 339a4e72a1f5: Verifying Checksum [2023-01-16T15:04:37.098Z] 339a4e72a1f5: Download complete [2023-01-16T15:04:37.098Z] bde34c3a00c8: Download complete [2023-01-16T15:04:37.389Z] b352a97aabf1: Download complete [2023-01-16T15:04:37.389Z] 4872d77fe225: Verifying Checksum [2023-01-16T15:04:37.389Z] 5851b861e8e6: Verifying Checksum [2023-01-16T15:04:37.389Z] 5851b861e8e6: Download complete [2023-01-16T15:04:37.389Z] b85a868b505f: Verifying Checksum [2023-01-16T15:04:37.389Z] b85a868b505f: Download complete [2023-01-16T15:04:38.369Z] bab4dde63d76: Download complete [2023-01-16T15:04:38.939Z] b85a868b505f: Pull complete [2023-01-16T15:04:38.939Z] e2be974225ed: Pull complete [2023-01-16T15:04:39.507Z] 339a4e72a1f5: Pull complete [2023-01-16T15:04:39.507Z] 988bab9f4d93: Pull complete [2023-01-16T15:04:39.767Z] 1469e6f7b9e6: Pull complete [2023-01-16T15:04:40.028Z] eaf3925da568: Pull complete [2023-01-16T15:04:41.932Z] bab4dde63d76: Pull complete [2023-01-16T15:04:41.932Z] bde34c3a00c8: Pull complete [2023-01-16T15:04:42.191Z] b352a97aabf1: Pull complete [2023-01-16T15:04:42.191Z] 4872d77fe225: Pull complete [2023-01-16T15:04:42.191Z] 5851b861e8e6: Pull complete [2023-01-16T15:04:42.191Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-01-16T15:04:42.191Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-16T15:04:42.191Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-16T15:04:42.410Z] prd-ubuntu20.04-docker-8c-8g-2581 does not seem to be running inside a container [2023-01-16T15:04:42.437Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-437 -v /w/workspace/edgexfoundry_device-sdk-c_PR-437:/w/workspace/edgexfoundry_device-sdk-c_PR-437:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-437@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-437@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-01-16T15:04:43.875Z] $ docker top cce830393cd2ec40c88b2718c462b7fc8fc1d071a9422a6e9a37435389a54bf3 -eo pid,comm [2023-01-16T15:04:43.951Z] 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-01-16T15:04:43.952Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-01-16T15:04:44.170Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-16T15:04:44.170Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-16T15:04:44.293Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-16T15:04:44.293Z] $ docker exec cce830393cd2ec40c88b2718c462b7fc8fc1d071a9422a6e9a37435389a54bf3 ssh-agent [2023-01-16T15:04:44.399Z] SSH_AUTH_SOCK=/tmp/ssh-I2gJkHAPTs9E/agent.32 [2023-01-16T15:04:44.399Z] SSH_AGENT_PID=38 [2023-01-16T15:04:44.406Z] Running ssh-add (command line suppressed) [2023-01-16T15:04:44.502Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-437@tmp/private_key_4380030941752798820.key (/w/workspace/edgexfoundry_device-sdk-c_PR-437@tmp/private_key_4380030941752798820.key) [2023-01-16T15:04:44.518Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-16T15:04:44.838Z] + git tag --points-at HEAD [Pipeline] } [2023-01-16T15:04:44.862Z] $ docker exec --env ******** --env ******** cce830393cd2ec40c88b2718c462b7fc8fc1d071a9422a6e9a37435389a54bf3 ssh-agent -k [2023-01-16T15:04:44.965Z] unset SSH_AUTH_SOCK; [2023-01-16T15:04:44.965Z] unset SSH_AGENT_PID; [2023-01-16T15:04:44.965Z] echo Agent pid 38 killed; [2023-01-16T15:04:44.978Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-01-16T15:04:45.064Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-16T15:04:45.064Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-16T15:04:45.186Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-16T15:04:45.187Z] $ docker exec cce830393cd2ec40c88b2718c462b7fc8fc1d071a9422a6e9a37435389a54bf3 ssh-agent [2023-01-16T15:04:45.318Z] SSH_AUTH_SOCK=/tmp/ssh-9BI3bJ71Xvq3/agent.70 [2023-01-16T15:04:45.318Z] SSH_AGENT_PID=76 [2023-01-16T15:04:45.323Z] Running ssh-add (command line suppressed) [2023-01-16T15:04:45.443Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-437@tmp/private_key_1224810852601570180.key (/w/workspace/edgexfoundry_device-sdk-c_PR-437@tmp/private_key_1224810852601570180.key) [2023-01-16T15:04:45.459Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-16T15:04:45.793Z] + git semver init [2023-01-16T15:04:46.051Z] 2023-01-16 15:04:45,979 [run_init] DEBUG init version:0.0.0 force:False [2023-01-16T15:04:46.051Z] 2023-01-16 15:04:45,980 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-c_PR-437/.semver [2023-01-16T15:04:46.051Z] 2023-01-16 15:04:45,981 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-c.git /w/workspace/edgexfoundry_device-sdk-c_PR-437/.semver [2023-01-16T15:04:46.051Z] 2023-01-16 15:04:45,982 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-c.git', '/w/workspace/edgexfoundry_device-sdk-c_PR-437/.semver'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-437, universal_newlines=False, shell=None, istream=None) [2023-01-16T15:04:46.987Z] 2023-01-16 15:04:46,780 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-c_PR-437/.git/info/exclude [2023-01-16T15:04:46.987Z] 2023-01-16 15:04:46,780 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-c_PR-437/.semver/PR-437 with force:False [2023-01-16T15:04:46.987Z] 2023-01-16 15:04:46,780 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-c_PR-437/.semver/PR-437 [2023-01-16T15:04:46.987Z] 2023-01-16 15:04:46,785 [execute] INFO git cat-file --batch-check [2023-01-16T15:04:46.987Z] 2023-01-16 15:04:46,785 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-437/.semver, universal_newlines=False, shell=None, istream=) [2023-01-16T15:04:46.987Z] 2023-01-16 15:04:46,792 [execute] INFO git cat-file --batch [2023-01-16T15:04:46.987Z] 2023-01-16 15:04:46,792 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-437/.semver, universal_newlines=False, shell=None, istream=) [2023-01-16T15:04:46.987Z] 2023-01-16 15:04:46,798 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_PR-437/.semver/PR-437 [2023-01-16T15:04:46.987Z] 0.0.0 [Pipeline] } [2023-01-16T15:04:47.008Z] $ docker exec --env ******** --env ******** cce830393cd2ec40c88b2718c462b7fc8fc1d071a9422a6e9a37435389a54bf3 ssh-agent -k [2023-01-16T15:04:47.116Z] unset SSH_AUTH_SOCK; [2023-01-16T15:04:47.117Z] unset SSH_AGENT_PID; [2023-01-16T15:04:47.117Z] echo Agent pid 76 killed; [2023-01-16T15:04:47.130Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-01-16T15:04:47.537Z] + git semver [Pipeline] } [2023-01-16T15:04:47.821Z] $ docker stop --time=1 cce830393cd2ec40c88b2718c462b7fc8fc1d071a9422a6e9a37435389a54bf3 [2023-01-16T15:04:49.148Z] $ docker rm -f --volumes cce830393cd2ec40c88b2718c462b7fc8fc1d071a9422a6e9a37435389a54bf3 [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-16T15:04:49.533Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-01-16T15:04:49.794Z] Stashed 1 file(s) [Pipeline] echo [2023-01-16T15:04:49.812Z] [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-01-16T15:04:50.277Z] provisioning config files... [2023-01-16T15:04:50.288Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-437@tmp/config14677272592559160226tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-16T15:04:50.630Z] ---> docker-login.sh [2023-01-16T15:04:50.630Z] nexus3.edgexfoundry.org:10001 [2023-01-16T15:04:50.630Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-16T15:04:50.630Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-16T15:04:50.630Z] Configure a credential helper to remove this warning. See [2023-01-16T15:04:50.630Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-16T15:04:50.630Z] [2023-01-16T15:04:50.630Z] Login Succeeded [2023-01-16T15:04:50.630Z] nexus3.edgexfoundry.org:10002 [2023-01-16T15:04:50.630Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-16T15:04:50.890Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-16T15:04:50.890Z] Configure a credential helper to remove this warning. See [2023-01-16T15:04:50.890Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-16T15:04:50.890Z] [2023-01-16T15:04:50.890Z] Login Succeeded [2023-01-16T15:04:50.890Z] nexus3.edgexfoundry.org:10003 [2023-01-16T15:04:50.890Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-16T15:04:50.890Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-16T15:04:50.890Z] Configure a credential helper to remove this warning. See [2023-01-16T15:04:50.890Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-16T15:04:50.890Z] [2023-01-16T15:04:50.890Z] Login Succeeded [2023-01-16T15:04:50.890Z] nexus3.edgexfoundry.org:10004 [2023-01-16T15:04:50.890Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-16T15:04:51.152Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-16T15:04:51.152Z] Configure a credential helper to remove this warning. See [2023-01-16T15:04:51.152Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-16T15:04:51.152Z] [2023-01-16T15:04:51.152Z] Login Succeeded [2023-01-16T15:04:51.152Z] docker.io [2023-01-16T15:04:51.152Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-16T15:04:51.412Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-16T15:04:51.412Z] Configure a credential helper to remove this warning. See [2023-01-16T15:04:51.412Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-16T15:04:51.412Z] [2023-01-16T15:04:51.412Z] Login Succeeded [2023-01-16T15:04:51.412Z] ---> docker-login.sh ends [Pipeline] } [2023-01-16T15:04:51.440Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-01-16T15:04:51.626Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-16T15:04:51.657Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo [2023-01-16T15:04:51.689Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-16T15:04:51.720Z] ========================================================= [2023-01-16T15:04:51.720Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] [2023-01-16T15:04:51.720Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-16T15:04:52.126Z] + 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-01-16T15:04:52.126Z] Sending build context to Docker daemon 4.765MB [2023-01-16T15:04:52.126Z] Step 1/21 : ARG BASE=alpine:3.16 [2023-01-16T15:04:52.126Z] Step 2/21 : FROM ${BASE} as builder [2023-01-16T15:04:52.126Z] latest: Pulling from edgex-devops/edgex-gcc-base [2023-01-16T15:04:52.126Z] 213ec9aee27d: Pulling fs layer [2023-01-16T15:04:52.126Z] 0f09ad1b1b37: Pulling fs layer [2023-01-16T15:04:52.386Z] 213ec9aee27d: Download complete [2023-01-16T15:04:52.386Z] 213ec9aee27d: Pull complete [2023-01-16T15:04:54.319Z] 0f09ad1b1b37: Verifying Checksum [2023-01-16T15:04:54.320Z] 0f09ad1b1b37: Download complete [2023-01-16T15:04:56.852Z] 0f09ad1b1b37: Pull complete [2023-01-16T15:04:56.852Z] Digest: sha256:64e9d1beac36a0037884aaf44bcf94b2de593689edef1cdaec9f2b2ef7c7c108 [2023-01-16T15:04:56.852Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [2023-01-16T15:04:56.852Z] ---> b2bbfebb3566 [2023-01-16T15:04:56.852Z] 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-01-16T15:04:57.797Z] ---> Running in 30c98905995a [2023-01-16T15:04:57.797Z] Connecting to iotech.jfrog.io (34.249.160.173:443) [2023-01-16T15:04:58.362Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-01-16T15:04:58.362Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-01-16T15:04:58.362Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-01-16T15:04:58.622Z] Removing intermediate container 30c98905995a [2023-01-16T15:04:58.622Z] ---> e964debad9f9 [2023-01-16T15:04:58.622Z] Step 4/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-01-16T15:04:58.622Z] ---> Running in eba589ff9f99 [2023-01-16T15:04:59.558Z] Removing intermediate container eba589ff9f99 [2023-01-16T15:04:59.558Z] ---> 972c65728f6f [2023-01-16T15:04:59.558Z] 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.4-dev hiredis-dev [2023-01-16T15:04:59.558Z] ---> Running in f3736f2d00c9 [2023-01-16T15:04:59.558Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-16T15:04:59.816Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-16T15:05:00.075Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-16T15:05:00.644Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-01-16T15:05:00.644Z] (1/14) Installing hiredis (1.0.2-r0) [2023-01-16T15:05:00.644Z] (2/14) Installing hiredis-dev (1.0.2-r0) [2023-01-16T15:05:00.644Z] (3/14) Installing libuuid (2.38-r1) [2023-01-16T15:05:00.644Z] (4/14) Installing iotech-iot-1.4 (1.4.0-r0) [2023-01-16T15:05:01.213Z] (5/14) Installing iotech-iot-1.4-dev (1.4.0-r0) [2023-01-16T15:05:01.473Z] (6/14) Installing libcbor (0.9.0-r1) [2023-01-16T15:05:01.473Z] (7/14) Installing libcbor-dev (0.9.0-r1) [2023-01-16T15:05:01.473Z] (8/14) Installing ncurses-dev (6.3_p20220521-r0) [2023-01-16T15:05:01.473Z] (9/14) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) [2023-01-16T15:05:02.419Z] (10/14) Installing libblkid (2.38-r1) [2023-01-16T15:05:02.420Z] (11/14) Installing libfdisk (2.38-r1) [2023-01-16T15:05:02.420Z] (12/14) Installing libmount (2.38-r1) [2023-01-16T15:05:02.420Z] (13/14) Installing libsmartcols (2.38-r1) [2023-01-16T15:05:02.420Z] (14/14) Installing util-linux-dev (2.38-r1) [2023-01-16T15:05:02.420Z] Executing busybox-1.35.0-r17.trigger [2023-01-16T15:05:02.420Z] OK: 280 MiB in 90 packages [2023-01-16T15:05:02.985Z] Removing intermediate container f3736f2d00c9 [2023-01-16T15:05:02.985Z] ---> a0f2744da2c4 [2023-01-16T15:05:02.985Z] Step 6/21 : RUN mkdir /tmp/sdk [2023-01-16T15:05:02.985Z] ---> Running in 1fa2f7cc5b06 [2023-01-16T15:05:03.552Z] Removing intermediate container 1fa2f7cc5b06 [2023-01-16T15:05:03.552Z] ---> 5bc0e92b567c [2023-01-16T15:05:03.552Z] Step 7/21 : COPY VERSION /tmp/sdk [2023-01-16T15:05:03.842Z] ---> 0c697e2de044 [2023-01-16T15:05:03.842Z] Step 8/21 : COPY src /tmp/sdk/src [2023-01-16T15:05:04.100Z] ---> d84aeaa01dac [2023-01-16T15:05:04.100Z] Step 9/21 : COPY include /tmp/sdk/include [2023-01-16T15:05:04.100Z] ---> 726613940407 [2023-01-16T15:05:04.100Z] Step 10/21 : COPY scripts /tmp/sdk/scripts [2023-01-16T15:05:04.359Z] ---> b7da1ec98cfd [2023-01-16T15:05:04.359Z] Step 11/21 : COPY LICENSE /tmp/sdk [2023-01-16T15:05:04.359Z] ---> e221e6181a56 [2023-01-16T15:05:04.359Z] Step 12/21 : COPY Attribution.txt /tmp/sdk [2023-01-16T15:05:04.617Z] ---> 9eea1118379a [2023-01-16T15:05:04.617Z] Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2023-01-16T15:05:04.617Z] ---> Running in 51629f21a3f1 [2023-01-16T15:05:04.876Z] + CPPCHECK=false [2023-01-16T15:05:04.876Z] + DOCGEN=false [2023-01-16T15:05:04.876Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2023-01-16T15:05:04.876Z] + TOMLVER=SDK-0.2 [2023-01-16T15:05:04.876Z] + CUTILVER=1.4 [2023-01-16T15:05:04.876Z] + '[' 0 -gt 0 ] [2023-01-16T15:05:04.876Z] + readlink -f ./scripts/build.sh [2023-01-16T15:05:04.876Z] + dirname /tmp/sdk/scripts/build.sh [2023-01-16T15:05:04.876Z] + dirname /tmp/sdk/scripts [2023-01-16T15:05:04.876Z] + ROOT=/tmp/sdk [2023-01-16T15:05:04.876Z] + cd /tmp/sdk [2023-01-16T15:05:04.876Z] + '[' '!' -d deps ] [2023-01-16T15:05:04.876Z] + mkdir deps [2023-01-16T15:05:04.876Z] + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2023-01-16T15:05:04.876Z] + tar -C deps -z -x -f - [2023-01-16T15:05:04.876Z] Connecting to github.com (140.82.114.3:443) [2023-01-16T15:05:05.117Z] Still waiting to schedule task [2023-01-16T15:05:05.117Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-01-16T15:05:05.134Z] Connecting to codeload.github.com (140.82.114.10:443) [2023-01-16T15:05:05.392Z] writing to stdout [2023-01-16T15:05:05.392Z] - 100% |********************************| 16451 0:00:00 ETA [2023-01-16T15:05:05.392Z] written to stdout [2023-01-16T15:05:05.392Z] + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c [2023-01-16T15:05:05.392Z] + mkdir -p /tmp/sdk/build/release [2023-01-16T15:05:05.392Z] + cd /tmp/sdk/build/release [2023-01-16T15:05:05.392Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2023-01-16T15:05:05.392Z] -- The C compiler identification is GNU 11.2.1 [2023-01-16T15:05:05.392Z] -- Detecting C compiler ABI info [2023-01-16T15:05:05.651Z] -- Detecting C compiler ABI info - done [2023-01-16T15:05:05.651Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-01-16T15:05:05.651Z] -- Detecting C compile features [2023-01-16T15:05:05.651Z] -- Detecting C compile features - done [2023-01-16T15:05:05.651Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-01-16T15:05:05.651Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.83.1") [2023-01-16T15:05:05.651Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-01-16T15:05:05.651Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-01-16T15:05:05.651Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-01-16T15:05:05.651Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-01-16T15:05:05.651Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-01-16T15:05:05.651Z] -- Found IOT: /opt/iotech/iot/1.4/lib/libiot.so [2023-01-16T15:05:05.651Z] -- /opt/iotech/iot/1.4/include [2023-01-16T15:05:05.651Z] -- C SDK 0.0.0 for Linux [2023-01-16T15:05:05.651Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-01-16T15:05:05.651Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-01-16T15:05:05.651Z] -- Found Curses: /usr/lib/libcurses.so [2023-01-16T15:05:05.910Z] -- Configuring done [2023-01-16T15:05:05.910Z] -- Generating done [2023-01-16T15:05:05.910Z] -- Build files have been written to: /tmp/sdk/build/release [2023-01-16T15:05:05.910Z] + make all package [2023-01-16T15:05:05.910Z] + tee release.log [2023-01-16T15:05:05.910Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-01-16T15:05:05.910Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2023-01-16T15:05:06.171Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2023-01-16T15:05:06.429Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2023-01-16T15:05:06.687Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2023-01-16T15:05:06.687Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2023-01-16T15:05:06.946Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2023-01-16T15:05:07.205Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o [2023-01-16T15:05:07.205Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2023-01-16T15:05:07.464Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2023-01-16T15:05:07.723Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2023-01-16T15:05:07.982Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2023-01-16T15:05:07.982Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2023-01-16T15:05:08.241Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2023-01-16T15:05:08.241Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2023-01-16T15:05:08.241Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2023-01-16T15:05:08.809Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2023-01-16T15:05:09.068Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2023-01-16T15:05:09.068Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2023-01-16T15:05:09.328Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2023-01-16T15:05:09.328Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2023-01-16T15:05:10.266Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2023-01-16T15:05:10.526Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2023-01-16T15:05:10.526Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2023-01-16T15:05:10.526Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2023-01-16T15:05:10.787Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2023-01-16T15:05:11.356Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2023-01-16T15:05:11.356Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2023-01-16T15:05:11.356Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2023-01-16T15:05:11.615Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2023-01-16T15:05:12.180Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2023-01-16T15:05:12.749Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2023-01-16T15:05:13.008Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2023-01-16T15:05:13.008Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2023-01-16T15:05:13.008Z] [ 68%] Linking C shared library libcsdk.so [2023-01-16T15:05:13.266Z] [ 68%] Built target csdk [2023-01-16T15:05:13.267Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2023-01-16T15:05:13.267Z] [ 72%] Linking C executable template [2023-01-16T15:05:13.526Z] [ 72%] Built target template [2023-01-16T15:05:13.526Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2023-01-16T15:05:13.526Z] [ 76%] Linking C executable device-counter [2023-01-16T15:05:13.526Z] [ 76%] Built target device-counter [2023-01-16T15:05:13.526Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2023-01-16T15:05:13.785Z] [ 80%] Linking C executable device-random [2023-01-16T15:05:13.785Z] [ 80%] Built target device-random [2023-01-16T15:05:13.785Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2023-01-16T15:05:13.785Z] [ 84%] Linking C executable device-gyro [2023-01-16T15:05:14.044Z] [ 84%] Built target device-gyro [2023-01-16T15:05:14.044Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2023-01-16T15:05:14.044Z] [ 88%] Linking C executable device-bitfields [2023-01-16T15:05:14.044Z] [ 88%] Built target device-bitfields [2023-01-16T15:05:14.044Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2023-01-16T15:05:14.303Z] [ 92%] Linking C executable template-discovery [2023-01-16T15:05:14.303Z] [ 92%] Built target template-discovery [2023-01-16T15:05:14.303Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2023-01-16T15:05:14.562Z] [ 96%] Linking C executable device-file [2023-01-16T15:05:14.562Z] [ 96%] Built target device-file [2023-01-16T15:05:14.562Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2023-01-16T15:05:14.820Z] [100%] Linking C executable device-terminal [2023-01-16T15:05:14.820Z] [100%] Built target device-terminal [2023-01-16T15:05:14.820Z] Run CPack packaging tool... [2023-01-16T15:05:14.820Z] CPack: Create package using TGZ [2023-01-16T15:05:14.820Z] CPack: Install projects [2023-01-16T15:05:14.820Z] CPack: - Run preinstall target for: Csdk [2023-01-16T15:05:15.078Z] CPack: - Install project: Csdk [] [2023-01-16T15:05:15.078Z] CPack: Create package [2023-01-16T15:05:15.078Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2023-01-16T15:05:15.078Z] + '[' false '=' true ] [2023-01-16T15:05:15.078Z] + '[' false '=' true ] [2023-01-16T15:05:15.078Z] + mkdir -p /tmp/sdk/build/debug [2023-01-16T15:05:15.079Z] + cd /tmp/sdk/build/debug [2023-01-16T15:05:15.079Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2023-01-16T15:05:15.338Z] -- The C compiler identification is GNU 11.2.1 [2023-01-16T15:05:15.338Z] -- Detecting C compiler ABI info [2023-01-16T15:05:15.338Z] -- Detecting C compiler ABI info - done [2023-01-16T15:05:15.338Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-01-16T15:05:15.338Z] -- Detecting C compile features [2023-01-16T15:05:15.338Z] -- Detecting C compile features - done [2023-01-16T15:05:15.338Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-01-16T15:05:15.338Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.83.1") [2023-01-16T15:05:15.338Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-01-16T15:05:15.338Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-01-16T15:05:15.338Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-01-16T15:05:15.338Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-01-16T15:05:15.338Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-01-16T15:05:15.338Z] -- Found IOT: /opt/iotech/iot/1.4/lib/libiot.so [2023-01-16T15:05:15.338Z] -- /opt/iotech/iot/1.4/include [2023-01-16T15:05:15.338Z] -- C SDK 0.0.0 for Linux [2023-01-16T15:05:15.338Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-01-16T15:05:15.597Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-01-16T15:05:15.597Z] -- Found Curses: /usr/lib/libcurses.so [2023-01-16T15:05:15.597Z] -- Configuring done [2023-01-16T15:05:15.597Z] -- Generating done [2023-01-16T15:05:15.597Z] -- Build files have been written to: /tmp/sdk/build/debug [2023-01-16T15:05:15.597Z] + make [2023-01-16T15:05:15.597Z] + tee debug.log [2023-01-16T15:05:15.597Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-01-16T15:05:15.855Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2023-01-16T15:05:15.855Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2023-01-16T15:05:15.855Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2023-01-16T15:05:16.113Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2023-01-16T15:05:16.113Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2023-01-16T15:05:16.113Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2023-01-16T15:05:16.372Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o [2023-01-16T15:05:16.372Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2023-01-16T15:05:16.372Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2023-01-16T15:05:16.630Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2023-01-16T15:05:16.630Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2023-01-16T15:05:16.889Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2023-01-16T15:05:16.889Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2023-01-16T15:05:16.889Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2023-01-16T15:05:16.889Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2023-01-16T15:05:17.148Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2023-01-16T15:05:17.148Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2023-01-16T15:05:17.406Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2023-01-16T15:05:17.406Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2023-01-16T15:05:17.406Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2023-01-16T15:05:17.665Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2023-01-16T15:05:17.924Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2023-01-16T15:05:17.924Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2023-01-16T15:05:17.924Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2023-01-16T15:05:17.924Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2023-01-16T15:05:18.183Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2023-01-16T15:05:18.442Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2023-01-16T15:05:18.442Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2023-01-16T15:05:18.442Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2023-01-16T15:05:18.700Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2023-01-16T15:05:18.960Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2023-01-16T15:05:18.960Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2023-01-16T15:05:18.960Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2023-01-16T15:05:19.220Z] [ 68%] Linking C shared library libcsdk.so [2023-01-16T15:05:19.220Z] [ 68%] Built target csdk [2023-01-16T15:05:19.220Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2023-01-16T15:05:19.220Z] [ 72%] Linking C executable template [2023-01-16T15:05:19.220Z] [ 72%] Built target template [2023-01-16T15:05:19.479Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2023-01-16T15:05:19.479Z] [ 76%] Linking C executable device-counter [2023-01-16T15:05:19.479Z] [ 76%] Built target device-counter [2023-01-16T15:05:19.479Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2023-01-16T15:05:19.479Z] [ 80%] Linking C executable device-random [2023-01-16T15:05:19.738Z] [ 80%] Built target device-random [2023-01-16T15:05:19.738Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2023-01-16T15:05:19.738Z] [ 84%] Linking C executable device-gyro [2023-01-16T15:05:19.738Z] [ 84%] Built target device-gyro [2023-01-16T15:05:19.738Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2023-01-16T15:05:19.997Z] [ 88%] Linking C executable device-bitfields [2023-01-16T15:05:19.997Z] [ 88%] Built target device-bitfields [2023-01-16T15:05:19.997Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2023-01-16T15:05:19.997Z] [ 92%] Linking C executable template-discovery [2023-01-16T15:05:20.257Z] [ 92%] Built target template-discovery [2023-01-16T15:05:20.257Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2023-01-16T15:05:20.257Z] [ 96%] Linking C executable device-file [2023-01-16T15:05:20.257Z] [ 96%] Built target device-file [2023-01-16T15:05:20.257Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2023-01-16T15:05:20.514Z] [100%] Linking C executable device-terminal [2023-01-16T15:05:20.514Z] [100%] Built target device-terminal [2023-01-16T15:05:20.514Z] make: Entering directory '/tmp/sdk/build/release' [2023-01-16T15:05:20.514Z] make[1]: Entering directory '/tmp/sdk/build/release' [2023-01-16T15:05:20.514Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-01-16T15:05:20.514Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-01-16T15:05:20.514Z] [ 68%] Built target csdk [2023-01-16T15:05:20.514Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-01-16T15:05:20.514Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-01-16T15:05:20.514Z] [ 72%] Built target template [2023-01-16T15:05:20.514Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-01-16T15:05:20.514Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-01-16T15:05:20.514Z] [ 76%] Built target device-counter [2023-01-16T15:05:20.514Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-01-16T15:05:20.514Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-01-16T15:05:20.514Z] [ 80%] Built target device-random [2023-01-16T15:05:20.514Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-01-16T15:05:20.514Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-01-16T15:05:20.514Z] [ 84%] Built target device-gyro [2023-01-16T15:05:20.773Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-01-16T15:05:20.773Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-01-16T15:05:20.773Z] [ 88%] Built target device-bitfields [2023-01-16T15:05:20.773Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-01-16T15:05:20.773Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-01-16T15:05:20.773Z] [ 92%] Built target template-discovery [2023-01-16T15:05:20.773Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-01-16T15:05:20.773Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-01-16T15:05:20.773Z] [ 96%] Built target device-file [2023-01-16T15:05:20.773Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-01-16T15:05:20.773Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-01-16T15:05:20.773Z] [100%] Built target device-terminal [2023-01-16T15:05:20.773Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2023-01-16T15:05:20.773Z] Install the project... [2023-01-16T15:05:20.773Z] -- Install configuration: "Release" [2023-01-16T15:05:20.773Z] -- Installing: /usr/local/lib/libcsdk.so [2023-01-16T15:05:20.773Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2023-01-16T15:05:20.773Z] -- Installing: /usr/local/include [2023-01-16T15:05:20.773Z] -- Installing: /usr/local/include/devsdk [2023-01-16T15:05:20.773Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2023-01-16T15:05:20.773Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2023-01-16T15:05:20.773Z] -- Installing: /usr/local/include/edgex [2023-01-16T15:05:20.773Z] -- Installing: /usr/local/include/edgex/edgex.h [2023-01-16T15:05:20.773Z] -- Installing: /usr/local/include/edgex/devices.h [2023-01-16T15:05:20.773Z] -- Installing: /usr/local/include/edgex/profiles.h [2023-01-16T15:05:20.773Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2023-01-16T15:05:20.773Z] -- Installing: /usr/local/include/edgex/rest-server.h [2023-01-16T15:05:20.773Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2023-01-16T15:05:20.773Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2023-01-16T15:05:20.773Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2023-01-16T15:05:20.773Z] make: Leaving directory '/tmp/sdk/build/release' [2023-01-16T15:05:21.342Z] Removing intermediate container 51629f21a3f1 [2023-01-16T15:05:21.342Z] ---> 62a301e5214d [2023-01-16T15:05:21.342Z] Step 14/21 : FROM ${BASE} [2023-01-16T15:05:21.342Z] ---> b2bbfebb3566 [2023-01-16T15:05:21.342Z] Step 15/21 : LABEL maintainer="IOTech " [2023-01-16T15:05:21.342Z] ---> Running in 1a7867e75d70 [2023-01-16T15:05:21.604Z] Removing intermediate container 1a7867e75d70 [2023-01-16T15:05:21.604Z] ---> c0f7aff17f9e [2023-01-16T15:05:21.604Z] 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-01-16T15:05:21.604Z] ---> Running in ac3246397287 [2023-01-16T15:05:21.863Z] Connecting to iotech.jfrog.io (52.210.203.67:443) [2023-01-16T15:05:22.430Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-01-16T15:05:22.431Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-01-16T15:05:22.431Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-01-16T15:05:22.690Z] Removing intermediate container ac3246397287 [2023-01-16T15:05:22.690Z] ---> 12cb6c7dbf59 [2023-01-16T15:05:22.690Z] Step 17/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-01-16T15:05:22.690Z] ---> Running in f25adeeab4a5 [2023-01-16T15:05:23.257Z] Removing intermediate container f25adeeab4a5 [2023-01-16T15:05:23.257Z] ---> 018a8e035600 [2023-01-16T15:05:23.257Z] 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-01-16T15:05:23.257Z] ---> Running in d5ce999b121c [2023-01-16T15:05:23.515Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-16T15:05:23.775Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-16T15:05:23.775Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-16T15:05:24.343Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-01-16T15:05:24.343Z] (1/7) Installing curl (7.83.1-r5) [2023-01-16T15:05:24.343Z] (2/7) Installing hiredis (1.0.2-r0) [2023-01-16T15:05:24.343Z] (3/7) Installing hiredis-dev (1.0.2-r0) [2023-01-16T15:05:24.343Z] (4/7) Installing libuuid (2.38-r1) [2023-01-16T15:05:24.343Z] (5/7) Installing iotech-iot-1.4 (1.4.0-r0) [2023-01-16T15:05:24.912Z] (6/7) Installing libcbor (0.9.0-r1) [2023-01-16T15:05:24.912Z] (7/7) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) [2023-01-16T15:05:25.847Z] Executing busybox-1.35.0-r17.trigger [2023-01-16T15:05:25.847Z] OK: 275 MiB in 83 packages [2023-01-16T15:05:26.105Z] Removing intermediate container d5ce999b121c [2023-01-16T15:05:26.105Z] ---> 547d647d06f2 [2023-01-16T15:05:26.105Z] Step 19/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2023-01-16T15:05:26.379Z] ---> d10ef75086bf [2023-01-16T15:05:26.379Z] Step 20/21 : COPY --from=builder /usr/local/lib /usr/local/lib [2023-01-16T15:05:26.639Z] ---> 8363054fbbaa [2023-01-16T15:05:26.640Z] Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2023-01-16T15:05:26.640Z] ---> 2b559b06802d [2023-01-16T15:05:26.640Z] Successfully built 2b559b06802d [2023-01-16T15:05:26.640Z] 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-01-16T15:05:27.304Z] + docker inspect -f . ci-base-image-x86_64 [2023-01-16T15:05:27.304Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-16T15:05:27.455Z] prd-ubuntu20.04-docker-8c-8g-2581 does not seem to be running inside a container [2023-01-16T15:05:27.490Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-c_PR-437 -v /w/workspace/edgexfoundry_device-sdk-c_PR-437:/w/workspace/edgexfoundry_device-sdk-c_PR-437:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-437@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-437@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-01-16T15:05:27.891Z] $ docker top 757e05722c6d53bc707e9b86b79624fb7f7e4c290348e0fd50f414ee409141be -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-16T15:05:28.268Z] + make test [2023-01-16T15:05:28.268Z] echo "make test" [2023-01-16T15:05:28.268Z] make test [Pipeline] } [2023-01-16T15:05:28.302Z] $ docker stop --time=1 757e05722c6d53bc707e9b86b79624fb7f7e4c290348e0fd50f414ee409141be [2023-01-16T15:05:29.580Z] $ docker rm -f --volumes 757e05722c6d53bc707e9b86b79624fb7f7e4c290348e0fd50f414ee409141be [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-16T15:05:30.406Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-01-16T15:05:30.715Z] + ls -al . [2023-01-16T15:05:30.716Z] total 204 [2023-01-16T15:05:30.716Z] drwxrwxr-x 9 jenkins jenkins 4096 Jan 16 15:04 . [2023-01-16T15:05:30.716Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 16 15:04 .. [2023-01-16T15:05:30.716Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 16 15:04 .git [2023-01-16T15:05:30.716Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 16 15:04 .github [2023-01-16T15:05:30.716Z] -rw-rw-r-- 1 jenkins jenkins 176 Jan 16 15:04 .gitignore [2023-01-16T15:05:30.716Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 16 15:04 .semver [2023-01-16T15:05:30.716Z] -rw-rw-r-- 1 jenkins jenkins 3104 Jan 16 15:04 Attribution.txt [2023-01-16T15:05:30.716Z] -rw-rw-r-- 1 jenkins jenkins 8583 Jan 16 15:04 CHANGES [2023-01-16T15:05:30.716Z] -rw-rw-r-- 1 jenkins jenkins 108574 Jan 16 15:04 Doxyfile [2023-01-16T15:05:30.716Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 16 15:04 GOVERNANCE.md [2023-01-16T15:05:30.716Z] -rw-rw-r-- 1 jenkins jenkins 784 Jan 16 15:04 Jenkinsfile [2023-01-16T15:05:30.716Z] -rw-rw-r-- 1 jenkins jenkins 10174 Jan 16 15:04 LICENSE [2023-01-16T15:05:30.716Z] -rw-rw-r-- 1 jenkins jenkins 444 Jan 16 15:04 Makefile [2023-01-16T15:05:30.716Z] -rw-rw-r-- 1 jenkins jenkins 618 Jan 16 15:04 OWNERS.md [2023-01-16T15:05:30.716Z] -rw-rw-r-- 1 jenkins jenkins 4086 Jan 16 15:04 README.md [2023-01-16T15:05:30.716Z] -rw-rw-r-- 1 jenkins jenkins 1245 Jan 16 15:04 README.v3.md [2023-01-16T15:05:30.716Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 16 15:04 VERSION [2023-01-16T15:05:30.716Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 16 15:04 docs [2023-01-16T15:05:30.716Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 16 15:04 include [2023-01-16T15:05:30.716Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 16 15:04 scripts [2023-01-16T15:05:30.716Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 16 15:04 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-16T15:05:31.108Z] + 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=d9d33c5f3b12b7c5e2509c964f773e9a89adf3e5 --label arch=amd64 --label version=0.0.0 . [2023-01-16T15:05:31.109Z] Sending build context to Docker daemon 4.765MB [2023-01-16T15:05:31.109Z] Step 1/17 : ARG BASE=alpine:3.16 [2023-01-16T15:05:31.109Z] Step 2/17 : FROM ${BASE} [2023-01-16T15:05:31.109Z] ---> 2b559b06802d [2023-01-16T15:05:31.109Z] Step 3/17 : LABEL maintainer="IOTech " [2023-01-16T15:05:31.109Z] ---> Running in effa463e925a [2023-01-16T15:05:31.367Z] Removing intermediate container effa463e925a [2023-01-16T15:05:31.367Z] ---> e9d0f1e183a8 [2023-01-16T15:05:31.367Z] 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-01-16T15:05:31.367Z] ---> Running in c0b13ebcc710 [2023-01-16T15:05:31.626Z] Connecting to iotech.jfrog.io (52.213.96.158:443) [2023-01-16T15:05:31.885Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-01-16T15:05:31.885Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-01-16T15:05:31.886Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-01-16T15:05:32.455Z] Removing intermediate container c0b13ebcc710 [2023-01-16T15:05:32.455Z] ---> a88fe3fd8457 [2023-01-16T15:05:32.455Z] Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-01-16T15:05:32.455Z] ---> Running in cd81cc2bc38f [2023-01-16T15:05:33.024Z] Removing intermediate container cd81cc2bc38f [2023-01-16T15:05:33.024Z] ---> 7a76f855f8b2 [2023-01-16T15:05:33.024Z] 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.4-dev && mkdir -p /edgex-c-sdk/build [2023-01-16T15:05:33.024Z] ---> Running in 00aef055a130 [2023-01-16T15:05:33.284Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-16T15:05:33.284Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-16T15:05:33.543Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-16T15:05:34.117Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-01-16T15:05:34.117Z] (1/8) Installing iotech-iot-1.4-dev (1.4.0-r0) [2023-01-16T15:05:34.376Z] (2/8) Installing libcbor-dev (0.9.0-r1) [2023-01-16T15:05:34.376Z] (3/8) Installing ncurses-dev (6.3_p20220521-r0) [2023-01-16T15:05:34.376Z] (4/8) Installing libblkid (2.38-r1) [2023-01-16T15:05:34.376Z] (5/8) Installing libfdisk (2.38-r1) [2023-01-16T15:05:34.376Z] (6/8) Installing libmount (2.38-r1) [2023-01-16T15:05:34.376Z] (7/8) Installing libsmartcols (2.38-r1) [2023-01-16T15:05:34.376Z] (8/8) Installing util-linux-dev (2.38-r1) [2023-01-16T15:05:34.376Z] Executing busybox-1.35.0-r17.trigger [2023-01-16T15:05:34.376Z] OK: 280 MiB in 91 packages [2023-01-16T15:05:34.942Z] Removing intermediate container 00aef055a130 [2023-01-16T15:05:34.942Z] ---> d9c9febe890c [2023-01-16T15:05:34.942Z] Step 7/17 : COPY VERSION /edgex-c-sdk/ [2023-01-16T15:05:35.202Z] ---> 3ad577a46f5d [2023-01-16T15:05:35.202Z] Step 8/17 : COPY src /edgex-c-sdk/src/ [2023-01-16T15:05:35.461Z] ---> 4bf2258a8020 [2023-01-16T15:05:35.461Z] Step 9/17 : COPY include /edgex-c-sdk/include/ [2023-01-16T15:05:35.461Z] ---> 1943bf1c2254 [2023-01-16T15:05:35.461Z] Step 10/17 : COPY scripts /edgex-c-sdk/scripts [2023-01-16T15:05:35.721Z] ---> f45f6ba001fc [2023-01-16T15:05:35.721Z] Step 11/17 : COPY LICENSE /edgex-c-sdk/ [2023-01-16T15:05:35.721Z] ---> afcb00de9d04 [2023-01-16T15:05:35.721Z] Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ [2023-01-16T15:05:35.979Z] ---> d8a25b7614d5 [2023-01-16T15:05:35.979Z] Step 13/17 : WORKDIR /edgex-c-sdk [2023-01-16T15:05:35.979Z] ---> Running in 7220c56e2c88 [2023-01-16T15:05:35.979Z] Removing intermediate container 7220c56e2c88 [2023-01-16T15:05:35.979Z] ---> d32ee78f1bdc [2023-01-16T15:05:35.979Z] Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2023-01-16T15:05:35.979Z] ---> Running in 97dbbc5c1b4d [2023-01-16T15:05:36.237Z] Removing intermediate container 97dbbc5c1b4d [2023-01-16T15:05:36.237Z] ---> 65d10374c8f0 [2023-01-16T15:05:36.237Z] Step 15/17 : LABEL arch=amd64 [2023-01-16T15:05:36.237Z] ---> Running in 5018315fec74 [2023-01-16T15:05:36.237Z] Removing intermediate container 5018315fec74 [2023-01-16T15:05:36.237Z] ---> d37813a420b0 [2023-01-16T15:05:36.237Z] Step 16/17 : LABEL git_sha=d9d33c5f3b12b7c5e2509c964f773e9a89adf3e5 [2023-01-16T15:05:36.237Z] ---> Running in d627dfbfac61 [2023-01-16T15:05:36.509Z] Removing intermediate container d627dfbfac61 [2023-01-16T15:05:36.509Z] ---> b33b41544ec6 [2023-01-16T15:05:36.509Z] Step 17/17 : LABEL version=0.0.0 [2023-01-16T15:05:36.509Z] ---> Running in 56f4fd44f669 [2023-01-16T15:05:36.509Z] Removing intermediate container 56f4fd44f669 [2023-01-16T15:05:36.509Z] ---> d6a75dc7fb85 [2023-01-16T15:05:36.509Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2023-01-16T15:05:36.509Z] Successfully built d6a75dc7fb85 [2023-01-16T15:05:36.509Z] 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-01-16T15:05:37.386Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-16T15:05:37.386Z] [2023-01-16T15:05:37.386Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-16T15:05:37.767Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-16T15:05:37.767Z] latest: Pulling from edgex-lftools-log-publisher [2023-01-16T15:05:37.767Z] 5eb5b503b376: Pulling fs layer [2023-01-16T15:05:37.767Z] 5c69ac0246d0: Pulling fs layer [2023-01-16T15:05:37.767Z] ec43610c2a17: Pulling fs layer [2023-01-16T15:05:37.767Z] 3a2ae6a8a46f: Pulling fs layer [2023-01-16T15:05:37.767Z] 33b1e0a273af: Pulling fs layer [2023-01-16T15:05:37.767Z] 5d3b04190fa2: Pulling fs layer [2023-01-16T15:05:37.767Z] 2f39f015ded8: Pulling fs layer [2023-01-16T15:05:37.767Z] 3a2ae6a8a46f: Waiting [2023-01-16T15:05:37.767Z] 33b1e0a273af: Waiting [2023-01-16T15:05:37.767Z] 2f39f015ded8: Waiting [2023-01-16T15:05:37.767Z] 5d3b04190fa2: Waiting [2023-01-16T15:05:37.767Z] 5c69ac0246d0: Verifying Checksum [2023-01-16T15:05:37.767Z] 5c69ac0246d0: Download complete [2023-01-16T15:05:37.767Z] 3a2ae6a8a46f: Download complete [2023-01-16T15:05:38.028Z] 33b1e0a273af: Verifying Checksum [2023-01-16T15:05:38.029Z] 33b1e0a273af: Download complete [2023-01-16T15:05:38.029Z] 5d3b04190fa2: Verifying Checksum [2023-01-16T15:05:38.029Z] 5d3b04190fa2: Download complete [2023-01-16T15:05:38.289Z] ec43610c2a17: Download complete [2023-01-16T15:05:38.858Z] 5eb5b503b376: Verifying Checksum [2023-01-16T15:05:38.858Z] 5eb5b503b376: Download complete [2023-01-16T15:05:40.261Z] 5eb5b503b376: Pull complete [2023-01-16T15:05:40.261Z] 5c69ac0246d0: Pull complete [2023-01-16T15:05:40.520Z] 2f39f015ded8: Download complete [2023-01-16T15:05:40.520Z] ec43610c2a17: Pull complete [2023-01-16T15:05:40.778Z] 3a2ae6a8a46f: Pull complete [2023-01-16T15:05:41.036Z] 33b1e0a273af: Pull complete [2023-01-16T15:05:41.036Z] 5d3b04190fa2: Pull complete [2023-01-16T15:05:46.300Z] 2f39f015ded8: Pull complete [2023-01-16T15:05:46.300Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-01-16T15:05:46.300Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-16T15:05:46.300Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-16T15:05:46.515Z] prd-ubuntu20.04-docker-8c-8g-2581 does not seem to be running inside a container [2023-01-16T15:05:46.546Z] $ 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-437 -v /w/workspace/edgexfoundry_device-sdk-c_PR-437:/w/workspace/edgexfoundry_device-sdk-c_PR-437:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-437@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-437@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-01-16T15:05:48.057Z] $ docker top cd8b438c54adafec414cce41ea3767ebf713100a70e3a466cfe059c9d1472b92 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-16T15:05:48.511Z] ---> job-cost.sh [2023-01-16T15:05:48.511Z] lf-activate-venv: SKIPPING [2023-01-16T15:05:48.511Z] INFO: No Stack... [2023-01-16T15:05:48.772Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-01-16T15:05:49.339Z] INFO: Archiving Costs [Pipeline] sh [2023-01-16T15:05:49.647Z] + cat /w/workspace/edgexfoundry_device-sdk-c_PR-437/archives/cost.csv [2023-01-16T15:05:49.647Z] + cut -d, -f6 [Pipeline] lock [2023-01-16T15:05:49.686Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-437-1-stack-cost] [2023-01-16T15:05:49.690Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-437-1-stack-cost] did not exist. Created. [2023-01-16T15:05:49.690Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-437-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-01-16T15:05:50.078Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-01-16T15:05:50.137Z] Stashed 1 file(s) [Pipeline] } [2023-01-16T15:05:50.157Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-437-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-01-16T15:05:50.242Z] $ docker stop --time=1 cd8b438c54adafec414cce41ea3767ebf713100a70e3a466cfe059c9d1472b92 [2023-01-16T15:05:51.434Z] $ docker rm -f --volumes cd8b438c54adafec414cce41ea3767ebf713100a70e3a466cfe059c9d1472b92 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-01-16T15:06:37.431Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-2582 in /w/workspace/edgexfoundry_device-sdk-c_PR-437 [Pipeline] { [Pipeline] ws [2023-01-16T15:06:37.491Z] Running in /w/workspace/device-sdk-c/1 [Pipeline] { [Pipeline] checkout [2023-01-16T15:06:37.577Z] Selected Git installation does not exist. Using Default [2023-01-16T15:06:37.577Z] The recommended git tool is: NONE [2023-01-16T15:06:42.402Z] using credential edgex-jenkins-ssh [2023-01-16T15:06:42.420Z] Cloning the remote Git repository [2023-01-16T15:06:42.489Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2023-01-16T15:06:42.562Z] > git init /w/workspace/device-sdk-c/1 # timeout=10 [2023-01-16T15:06:42.697Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2023-01-16T15:06:42.698Z] > git --version # timeout=10 [2023-01-16T15:06:42.716Z] > git --version # 'git version 2.25.1' [2023-01-16T15:06:42.718Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-16T15:06:42.772Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-01-16T15:06:43.823Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2023-01-16T15:06:43.843Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-01-16T15:06:44.597Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2023-01-16T15:06:44.639Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2023-01-16T15:06:44.640Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-16T15:06:44.655Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/437/head:refs/remotes/origin/PR-437 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-01-16T15:06:45.256Z] Merging remotes/origin/main commit de537f5e6ed5588fb7793bac34c254358bbea04c into PR head commit d9d33c5f3b12b7c5e2509c964f773e9a89adf3e5 [2023-01-16T15:06:45.503Z] Merge succeeded, producing d9d33c5f3b12b7c5e2509c964f773e9a89adf3e5 [2023-01-16T15:06:45.504Z] Checking out Revision d9d33c5f3b12b7c5e2509c964f773e9a89adf3e5 (PR-437) [2023-01-16T15:06:45.275Z] > git config core.sparsecheckout # timeout=10 [2023-01-16T15:06:45.300Z] > git checkout -f d9d33c5f3b12b7c5e2509c964f773e9a89adf3e5 # timeout=10 [2023-01-16T15:06:45.410Z] > git remote # timeout=10 [2023-01-16T15:06:45.426Z] > git config --get remote.origin.url # timeout=10 [2023-01-16T15:06:45.445Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-16T15:06:45.458Z] > git merge de537f5e6ed5588fb7793bac34c254358bbea04c # timeout=10 [2023-01-16T15:06:45.483Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-01-16T15:06:45.512Z] > git config core.sparsecheckout # timeout=10 [2023-01-16T15:06:45.526Z] > git checkout -f d9d33c5f3b12b7c5e2509c964f773e9a89adf3e5 # timeout=10 [2023-01-16T15:06:49.011Z] Commit message: "refactor!: Use true/false for command parameters to be more consistent BREAKING CHANGE: ds-pushevent and ds-returnevent to use true/false instead of yes/no" [2023-01-16T15:06:49.064Z] > git --version # timeout=10 [2023-01-16T15:06:49.080Z] > git --version # 'git version 2.25.1' [2023-01-16T15:06:49.098Z] fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-16T15:06:50.153Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-01-16T15:06:50.153Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-01-16T15:06:50.153Z] Dload Upload Total Spent Left Speed [2023-01-16T15:06:50.153Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 73281 0 --:--:-- --:--:-- --:--:-- 73281 [Pipeline] sh [2023-01-16T15:06:50.897Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-01-16T15:06:51.252Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-01-16T15:06:51.252Z] + sudo tee /etc/docker/daemon.new [2023-01-16T15:06:51.252Z] { [2023-01-16T15:06:51.252Z] "registry-mirrors": [ [2023-01-16T15:06:51.252Z] "https://nexus3.edgexfoundry.org:10001" [2023-01-16T15:06:51.252Z] ], [2023-01-16T15:06:51.252Z] "bip": "10.250.0.254/24", [2023-01-16T15:06:51.252Z] "hosts": [ [2023-01-16T15:06:51.252Z] "tcp://0.0.0.0:5555", [2023-01-16T15:06:51.252Z] "unix:///var/run/docker.sock" [2023-01-16T15:06:51.252Z] ], [2023-01-16T15:06:51.252Z] "mtu": 1458, [2023-01-16T15:06:51.252Z] "selinux-enabled": true, [2023-01-16T15:06:51.252Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-01-16T15:06:51.252Z] } [Pipeline] sh [2023-01-16T15:06:51.612Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-01-16T15:06:51.960Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-16T15:07:10.276Z] provisioning config files... [2023-01-16T15:07:10.299Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/1@tmp/config16767391652705777810tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-16T15:07:10.672Z] ---> docker-login.sh [2023-01-16T15:07:10.672Z] nexus3.edgexfoundry.org:10001 [2023-01-16T15:07:11.264Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-16T15:07:11.264Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-16T15:07:11.264Z] Configure a credential helper to remove this warning. See [2023-01-16T15:07:11.264Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-16T15:07:11.264Z] [2023-01-16T15:07:11.264Z] Login Succeeded [2023-01-16T15:07:11.536Z] nexus3.edgexfoundry.org:10002 [2023-01-16T15:07:11.536Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-16T15:07:11.805Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-16T15:07:11.805Z] Configure a credential helper to remove this warning. See [2023-01-16T15:07:11.805Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-16T15:07:11.805Z] [2023-01-16T15:07:11.805Z] Login Succeeded [2023-01-16T15:07:11.805Z] nexus3.edgexfoundry.org:10003 [2023-01-16T15:07:12.074Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-16T15:07:12.074Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-16T15:07:12.074Z] Configure a credential helper to remove this warning. See [2023-01-16T15:07:12.074Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-16T15:07:12.074Z] [2023-01-16T15:07:12.074Z] Login Succeeded [2023-01-16T15:07:12.074Z] nexus3.edgexfoundry.org:10004 [2023-01-16T15:07:12.345Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-16T15:07:12.345Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-16T15:07:12.345Z] Configure a credential helper to remove this warning. See [2023-01-16T15:07:12.345Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-16T15:07:12.345Z] [2023-01-16T15:07:12.345Z] Login Succeeded [2023-01-16T15:07:12.345Z] docker.io [2023-01-16T15:07:12.614Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-16T15:07:12.883Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-16T15:07:12.883Z] Configure a credential helper to remove this warning. See [2023-01-16T15:07:12.883Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-16T15:07:12.883Z] [2023-01-16T15:07:12.883Z] Login Succeeded [2023-01-16T15:07:12.883Z] ---> docker-login.sh ends [Pipeline] } [2023-01-16T15:07:12.908Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-01-16T15:07:13.299Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-16T15:07:13.329Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-arm64 [Pipeline] echo [2023-01-16T15:07:13.362Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-16T15:07:13.397Z] ========================================================= [2023-01-16T15:07:13.397Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] [2023-01-16T15:07:13.397Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-16T15:07:13.842Z] + 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-01-16T15:07:14.110Z] Sending build context to Docker daemon 2.903MB [2023-01-16T15:07:14.110Z] Step 1/21 : ARG BASE=alpine:3.16 [2023-01-16T15:07:14.110Z] Step 2/21 : FROM ${BASE} as builder [2023-01-16T15:07:14.380Z] latest: Pulling from edgex-devops/edgex-gcc-base-arm64 [2023-01-16T15:07:14.380Z] 9b18e9b68314: Pulling fs layer [2023-01-16T15:07:14.380Z] 1def92ead452: Pulling fs layer [2023-01-16T15:07:14.380Z] 9b18e9b68314: Verifying Checksum [2023-01-16T15:07:14.380Z] 9b18e9b68314: Download complete [2023-01-16T15:07:14.987Z] 9b18e9b68314: Pull complete [2023-01-16T15:07:16.962Z] 1def92ead452: Verifying Checksum [2023-01-16T15:07:16.962Z] 1def92ead452: Download complete [2023-01-16T15:07:25.181Z] 1def92ead452: Pull complete [2023-01-16T15:07:25.181Z] Digest: sha256:3c74c28e8b16bff0b36cfc53656b3ae71c0a9fddc9bd5376ab4c3f9356b3cc6c [2023-01-16T15:07:25.181Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest [2023-01-16T15:07:25.181Z] ---> 9a9802766715 [2023-01-16T15:07:25.181Z] 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-01-16T15:07:25.181Z] ---> Running in 37501e0c9042 [2023-01-16T15:07:26.153Z] Connecting to iotech.jfrog.io (52.212.34.180:443) [2023-01-16T15:07:26.737Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-01-16T15:07:26.737Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-01-16T15:07:26.737Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-01-16T15:07:27.331Z] Removing intermediate container 37501e0c9042 [2023-01-16T15:07:27.331Z] ---> 60d35ec18a08 [2023-01-16T15:07:27.331Z] Step 4/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-01-16T15:07:27.331Z] ---> Running in 206c748e1836 [2023-01-16T15:07:28.753Z] Removing intermediate container 206c748e1836 [2023-01-16T15:07:28.753Z] ---> 1e777070792a [2023-01-16T15:07:28.754Z] 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.4-dev hiredis-dev [2023-01-16T15:07:28.754Z] ---> Running in 690b94c6d602 [2023-01-16T15:07:29.710Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-16T15:07:29.978Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-16T15:07:30.562Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-16T15:07:31.148Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-01-16T15:07:31.148Z] (1/14) Installing hiredis (1.0.2-r0) [2023-01-16T15:07:31.148Z] (2/14) Installing hiredis-dev (1.0.2-r0) [2023-01-16T15:07:31.417Z] (3/14) Installing libuuid (2.38-r1) [2023-01-16T15:07:31.417Z] (4/14) Installing iotech-iot-1.4 (1.4.0-r0) [2023-01-16T15:07:32.000Z] (5/14) Installing iotech-iot-1.4-dev (1.4.0-r0) [2023-01-16T15:07:32.000Z] (6/14) Installing libcbor (0.9.0-r1) [2023-01-16T15:07:32.000Z] (7/14) Installing libcbor-dev (0.9.0-r1) [2023-01-16T15:07:32.000Z] (8/14) Installing ncurses-dev (6.3_p20220521-r0) [2023-01-16T15:07:32.268Z] (9/14) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) [2023-01-16T15:07:33.229Z] (10/14) Installing libblkid (2.38-r1) [2023-01-16T15:07:33.229Z] (11/14) Installing libfdisk (2.38-r1) [2023-01-16T15:07:33.229Z] (12/14) Installing libmount (2.38-r1) [2023-01-16T15:07:33.229Z] (13/14) Installing libsmartcols (2.38-r1) [2023-01-16T15:07:33.229Z] (14/14) Installing util-linux-dev (2.38-r1) [2023-01-16T15:07:33.229Z] Executing busybox-1.35.0-r17.trigger [2023-01-16T15:07:33.229Z] OK: 286 MiB in 90 packages [2023-01-16T15:07:34.647Z] Removing intermediate container 690b94c6d602 [2023-01-16T15:07:34.647Z] ---> 3dd4fc173495 [2023-01-16T15:07:34.647Z] Step 6/21 : RUN mkdir /tmp/sdk [2023-01-16T15:07:34.647Z] ---> Running in 515bb5b0bd91 [2023-01-16T15:07:36.054Z] Removing intermediate container 515bb5b0bd91 [2023-01-16T15:07:36.054Z] ---> 39ce4260f1cf [2023-01-16T15:07:36.054Z] Step 7/21 : COPY VERSION /tmp/sdk [2023-01-16T15:07:36.322Z] ---> 31360244bcaf [2023-01-16T15:07:36.322Z] Step 8/21 : COPY src /tmp/sdk/src [2023-01-16T15:07:37.285Z] ---> c9292dd09e74 [2023-01-16T15:07:37.285Z] Step 9/21 : COPY include /tmp/sdk/include [2023-01-16T15:07:37.554Z] ---> f83d470694b5 [2023-01-16T15:07:37.554Z] Step 10/21 : COPY scripts /tmp/sdk/scripts [2023-01-16T15:07:38.140Z] ---> 27df2fea6320 [2023-01-16T15:07:38.140Z] Step 11/21 : COPY LICENSE /tmp/sdk [2023-01-16T15:07:38.726Z] ---> 8297c82b5dd5 [2023-01-16T15:07:38.726Z] Step 12/21 : COPY Attribution.txt /tmp/sdk [2023-01-16T15:07:38.994Z] ---> 8993ce5e59a2 [2023-01-16T15:07:38.994Z] Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2023-01-16T15:07:38.994Z] ---> Running in 4b7e9fa0b9c3 [2023-01-16T15:07:39.957Z] + CPPCHECK=false [2023-01-16T15:07:39.957Z] + DOCGEN=false [2023-01-16T15:07:39.957Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2023-01-16T15:07:39.957Z] + TOMLVER=SDK-0.2 [2023-01-16T15:07:39.957Z] + CUTILVER=1.4 [2023-01-16T15:07:39.957Z] + '[' 0 -gt 0 ] [2023-01-16T15:07:39.957Z] + readlink -f ./scripts/build.sh [2023-01-16T15:07:39.957Z] + dirname /tmp/sdk/scripts/build.sh [2023-01-16T15:07:39.957Z] + dirname /tmp/sdk/scripts [2023-01-16T15:07:39.957Z] + ROOT=/tmp/sdk [2023-01-16T15:07:39.957Z] + cd /tmp/sdk [2023-01-16T15:07:39.957Z] + '[' '!' -d deps ] [2023-01-16T15:07:39.957Z] + mkdir deps [2023-01-16T15:07:39.957Z] + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2023-01-16T15:07:39.957Z] + tar -C deps -z -x -f - [2023-01-16T15:07:39.957Z] Connecting to github.com (140.82.114.4:443) [2023-01-16T15:07:40.224Z] Connecting to codeload.github.com (140.82.113.10:443) [2023-01-16T15:07:40.492Z] writing to stdout [2023-01-16T15:07:40.492Z] - 100% |********************************| 16451 0:00:00 ETA [2023-01-16T15:07:40.492Z] written to stdout [2023-01-16T15:07:40.492Z] + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c [2023-01-16T15:07:40.492Z] + mkdir -p /tmp/sdk/build/release [2023-01-16T15:07:40.492Z] + cd /tmp/sdk/build/release [2023-01-16T15:07:40.492Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2023-01-16T15:07:40.759Z] -- The C compiler identification is GNU 11.2.1 [2023-01-16T15:07:40.759Z] -- Detecting C compiler ABI info [2023-01-16T15:07:41.025Z] -- Detecting C compiler ABI info - done [2023-01-16T15:07:41.293Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-01-16T15:07:41.293Z] -- Detecting C compile features [2023-01-16T15:07:41.293Z] -- Detecting C compile features - done [2023-01-16T15:07:41.293Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-01-16T15:07:41.559Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.83.1") [2023-01-16T15:07:41.559Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-01-16T15:07:41.559Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-01-16T15:07:41.559Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-01-16T15:07:41.559Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-01-16T15:07:41.559Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-01-16T15:07:41.559Z] -- Found IOT: /opt/iotech/iot/1.4/lib/libiot.so [2023-01-16T15:07:41.559Z] -- /opt/iotech/iot/1.4/include [2023-01-16T15:07:41.559Z] -- C SDK 0.0.0 for Linux [2023-01-16T15:07:41.559Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-01-16T15:07:41.824Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-01-16T15:07:42.090Z] -- Found Curses: /usr/lib/libcurses.so [2023-01-16T15:07:42.090Z] -- Configuring done [2023-01-16T15:07:42.357Z] -- Generating done [2023-01-16T15:07:42.357Z] -- Build files have been written to: /tmp/sdk/build/release [2023-01-16T15:07:42.357Z] + make all package [2023-01-16T15:07:42.357Z] + tee release.log [2023-01-16T15:07:42.623Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-01-16T15:07:43.584Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2023-01-16T15:07:44.164Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2023-01-16T15:07:47.496Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2023-01-16T15:07:48.077Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2023-01-16T15:07:48.343Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2023-01-16T15:07:49.747Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2023-01-16T15:07:51.153Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o [2023-01-16T15:07:51.418Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2023-01-16T15:07:52.819Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2023-01-16T15:07:54.752Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2023-01-16T15:07:55.339Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2023-01-16T15:07:56.298Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2023-01-16T15:07:57.255Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2023-01-16T15:07:57.836Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2023-01-16T15:07:58.102Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2023-01-16T15:08:02.344Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2023-01-16T15:08:02.344Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2023-01-16T15:08:02.926Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2023-01-16T15:08:04.333Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2023-01-16T15:08:04.599Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2023-01-16T15:08:11.228Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2023-01-16T15:08:11.228Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2023-01-16T15:08:11.228Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2023-01-16T15:08:11.809Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2023-01-16T15:08:13.746Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2023-01-16T15:08:16.322Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2023-01-16T15:08:16.587Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2023-01-16T15:08:17.544Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2023-01-16T15:08:18.123Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2023-01-16T15:08:21.458Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2023-01-16T15:08:26.790Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2023-01-16T15:08:26.790Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2023-01-16T15:08:27.057Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2023-01-16T15:08:28.013Z] [ 68%] Linking C shared library libcsdk.so [2023-01-16T15:08:28.013Z] [ 68%] Built target csdk [2023-01-16T15:08:28.013Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2023-01-16T15:08:29.416Z] [ 72%] Linking C executable template [2023-01-16T15:08:29.416Z] [ 72%] Built target template [2023-01-16T15:08:29.416Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2023-01-16T15:08:29.998Z] [ 76%] Linking C executable device-counter [2023-01-16T15:08:30.263Z] [ 76%] Built target device-counter [2023-01-16T15:08:30.527Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2023-01-16T15:08:31.110Z] [ 80%] Linking C executable device-random [2023-01-16T15:08:31.375Z] [ 80%] Built target device-random [2023-01-16T15:08:31.375Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2023-01-16T15:08:31.955Z] [ 84%] Linking C executable device-gyro [2023-01-16T15:08:32.220Z] [ 84%] Built target device-gyro [2023-01-16T15:08:32.220Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2023-01-16T15:08:32.799Z] [ 88%] Linking C executable device-bitfields [2023-01-16T15:08:33.063Z] [ 88%] Built target device-bitfields [2023-01-16T15:08:33.063Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2023-01-16T15:08:34.020Z] [ 92%] Linking C executable template-discovery [2023-01-16T15:08:34.287Z] [ 92%] Built target template-discovery [2023-01-16T15:08:34.287Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2023-01-16T15:08:35.246Z] [ 96%] Linking C executable device-file [2023-01-16T15:08:35.514Z] [ 96%] Built target device-file [2023-01-16T15:08:35.514Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2023-01-16T15:08:36.473Z] [100%] Linking C executable device-terminal [2023-01-16T15:08:36.739Z] [100%] Built target device-terminal [2023-01-16T15:08:36.739Z] Run CPack packaging tool... [2023-01-16T15:08:36.739Z] CPack: Create package using TGZ [2023-01-16T15:08:36.739Z] CPack: Install projects [2023-01-16T15:08:36.739Z] CPack: - Run preinstall target for: Csdk [2023-01-16T15:08:37.697Z] CPack: - Install project: Csdk [] [2023-01-16T15:08:37.697Z] CPack: Create package [2023-01-16T15:08:37.697Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2023-01-16T15:08:37.697Z] + '[' false '=' true ] [2023-01-16T15:08:37.697Z] + '[' false '=' true ] [2023-01-16T15:08:37.697Z] + mkdir -p /tmp/sdk/build/debug [2023-01-16T15:08:37.697Z] + cd /tmp/sdk/build/debug [2023-01-16T15:08:37.697Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2023-01-16T15:08:37.963Z] -- The C compiler identification is GNU 11.2.1 [2023-01-16T15:08:37.963Z] -- Detecting C compiler ABI info [2023-01-16T15:08:38.229Z] -- Detecting C compiler ABI info - done [2023-01-16T15:08:38.229Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-01-16T15:08:38.229Z] -- Detecting C compile features [2023-01-16T15:08:38.229Z] -- Detecting C compile features - done [2023-01-16T15:08:38.497Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-01-16T15:08:38.497Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.83.1") [2023-01-16T15:08:38.497Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-01-16T15:08:38.497Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-01-16T15:08:38.497Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-01-16T15:08:38.764Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-01-16T15:08:38.764Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-01-16T15:08:38.764Z] -- Found IOT: /opt/iotech/iot/1.4/lib/libiot.so [2023-01-16T15:08:38.764Z] -- /opt/iotech/iot/1.4/include [2023-01-16T15:08:38.764Z] -- C SDK 0.0.0 for Linux [2023-01-16T15:08:38.764Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-01-16T15:08:39.033Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-01-16T15:08:39.033Z] -- Found Curses: /usr/lib/libcurses.so [2023-01-16T15:08:39.297Z] -- Configuring done [2023-01-16T15:08:39.563Z] -- Generating done [2023-01-16T15:08:39.563Z] -- Build files have been written to: /tmp/sdk/build/debug [2023-01-16T15:08:39.563Z] + make [2023-01-16T15:08:39.563Z] + tee debug.log [2023-01-16T15:08:39.563Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-01-16T15:08:40.145Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2023-01-16T15:08:40.727Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2023-01-16T15:08:41.685Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2023-01-16T15:08:41.951Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2023-01-16T15:08:42.218Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2023-01-16T15:08:42.800Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2023-01-16T15:08:43.380Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o [2023-01-16T15:08:43.380Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2023-01-16T15:08:44.334Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2023-01-16T15:08:44.601Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2023-01-16T15:08:45.182Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2023-01-16T15:08:45.448Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2023-01-16T15:08:46.029Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2023-01-16T15:08:46.293Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2023-01-16T15:08:46.558Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2023-01-16T15:08:47.961Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2023-01-16T15:08:47.961Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2023-01-16T15:08:48.225Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2023-01-16T15:08:48.806Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2023-01-16T15:08:49.386Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2023-01-16T15:08:50.341Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2023-01-16T15:08:50.921Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2023-01-16T15:08:51.186Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2023-01-16T15:08:51.454Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2023-01-16T15:08:52.035Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2023-01-16T15:08:53.975Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2023-01-16T15:08:54.240Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2023-01-16T15:08:54.820Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2023-01-16T15:08:55.086Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2023-01-16T15:08:56.041Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2023-01-16T15:08:56.997Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2023-01-16T15:08:57.262Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2023-01-16T15:08:57.529Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2023-01-16T15:08:58.110Z] [ 68%] Linking C shared library libcsdk.so [2023-01-16T15:08:58.377Z] [ 68%] Built target csdk [2023-01-16T15:08:58.377Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2023-01-16T15:08:58.642Z] [ 72%] Linking C executable template [2023-01-16T15:08:58.908Z] [ 72%] Built target template [2023-01-16T15:08:58.908Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2023-01-16T15:08:59.491Z] [ 76%] Linking C executable device-counter [2023-01-16T15:08:59.758Z] [ 76%] Built target device-counter [2023-01-16T15:08:59.758Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2023-01-16T15:09:00.341Z] [ 80%] Linking C executable device-random [2023-01-16T15:09:00.341Z] [ 80%] Built target device-random [2023-01-16T15:09:00.609Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2023-01-16T15:09:00.875Z] [ 84%] Linking C executable device-gyro [2023-01-16T15:09:01.142Z] [ 84%] Built target device-gyro [2023-01-16T15:09:01.409Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2023-01-16T15:09:01.675Z] [ 88%] Linking C executable device-bitfields [2023-01-16T15:09:01.941Z] [ 88%] Built target device-bitfields [2023-01-16T15:09:01.941Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2023-01-16T15:09:02.522Z] [ 92%] Linking C executable template-discovery [2023-01-16T15:09:02.522Z] [ 92%] Built target template-discovery [2023-01-16T15:09:02.787Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2023-01-16T15:09:03.052Z] [ 96%] Linking C executable device-file [2023-01-16T15:09:03.318Z] [ 96%] Built target device-file [2023-01-16T15:09:03.318Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2023-01-16T15:09:03.901Z] [100%] Linking C executable device-terminal [2023-01-16T15:09:04.169Z] [100%] Built target device-terminal [2023-01-16T15:09:04.169Z] make: Entering directory '/tmp/sdk/build/release' [2023-01-16T15:09:04.169Z] make[1]: Entering directory '/tmp/sdk/build/release' [2023-01-16T15:09:04.436Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-01-16T15:09:04.436Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-01-16T15:09:04.436Z] [ 68%] Built target csdk [2023-01-16T15:09:04.436Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-01-16T15:09:04.436Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-01-16T15:09:04.436Z] [ 72%] Built target template [2023-01-16T15:09:04.436Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-01-16T15:09:04.436Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-01-16T15:09:04.436Z] [ 76%] Built target device-counter [2023-01-16T15:09:04.436Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-01-16T15:09:04.436Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-01-16T15:09:04.436Z] [ 80%] Built target device-random [2023-01-16T15:09:04.702Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-01-16T15:09:04.702Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-01-16T15:09:04.702Z] [ 84%] Built target device-gyro [2023-01-16T15:09:04.702Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-01-16T15:09:04.702Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-01-16T15:09:04.702Z] [ 88%] Built target device-bitfields [2023-01-16T15:09:04.702Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-01-16T15:09:04.702Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-01-16T15:09:04.702Z] [ 92%] Built target template-discovery [2023-01-16T15:09:04.702Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-01-16T15:09:04.702Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-01-16T15:09:04.702Z] [ 96%] Built target device-file [2023-01-16T15:09:04.702Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-01-16T15:09:04.702Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-01-16T15:09:04.970Z] [100%] Built target device-terminal [2023-01-16T15:09:04.970Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2023-01-16T15:09:04.970Z] Install the project... [2023-01-16T15:09:04.970Z] -- Install configuration: "Release" [2023-01-16T15:09:04.970Z] -- Installing: /usr/local/lib/libcsdk.so [2023-01-16T15:09:04.970Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2023-01-16T15:09:04.970Z] -- Installing: /usr/local/include [2023-01-16T15:09:04.970Z] -- Installing: /usr/local/include/devsdk [2023-01-16T15:09:04.970Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2023-01-16T15:09:04.970Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2023-01-16T15:09:04.970Z] -- Installing: /usr/local/include/edgex [2023-01-16T15:09:04.970Z] -- Installing: /usr/local/include/edgex/rest-server.h [2023-01-16T15:09:04.970Z] -- Installing: /usr/local/include/edgex/edgex.h [2023-01-16T15:09:04.970Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2023-01-16T15:09:04.970Z] -- Installing: /usr/local/include/edgex/devices.h [2023-01-16T15:09:04.970Z] -- Installing: /usr/local/include/edgex/profiles.h [2023-01-16T15:09:04.970Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2023-01-16T15:09:04.970Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2023-01-16T15:09:04.970Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2023-01-16T15:09:04.970Z] make: Leaving directory '/tmp/sdk/build/release' [2023-01-16T15:09:06.379Z] Removing intermediate container 4b7e9fa0b9c3 [2023-01-16T15:09:06.379Z] ---> 2c1732cc0a15 [2023-01-16T15:09:06.379Z] Step 14/21 : FROM ${BASE} [2023-01-16T15:09:06.379Z] ---> 9a9802766715 [2023-01-16T15:09:06.379Z] Step 15/21 : LABEL maintainer="IOTech " [2023-01-16T15:09:06.379Z] ---> Running in 880315232d63 [2023-01-16T15:09:06.722Z] Removing intermediate container 880315232d63 [2023-01-16T15:09:06.722Z] ---> d13e61c28abb [2023-01-16T15:09:06.722Z] 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-01-16T15:09:07.003Z] ---> Running in a2690a97fa20 [2023-01-16T15:09:07.994Z] Connecting to iotech.jfrog.io (54.246.222.161:443) [2023-01-16T15:09:08.266Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-01-16T15:09:08.266Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-01-16T15:09:08.266Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-01-16T15:09:08.866Z] Removing intermediate container a2690a97fa20 [2023-01-16T15:09:08.866Z] ---> 69bd5356951c [2023-01-16T15:09:08.866Z] Step 17/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-01-16T15:09:09.141Z] ---> Running in 98bdf8362c7b [2023-01-16T15:09:10.610Z] Removing intermediate container 98bdf8362c7b [2023-01-16T15:09:10.610Z] ---> 188057799f81 [2023-01-16T15:09:10.610Z] 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-01-16T15:09:10.888Z] ---> Running in 3b926b4c0a23 [2023-01-16T15:09:11.859Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-16T15:09:12.130Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-16T15:09:12.715Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-16T15:09:13.676Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-01-16T15:09:13.676Z] (1/7) Installing curl (7.83.1-r5) [2023-01-16T15:09:13.676Z] (2/7) Installing hiredis (1.0.2-r0) [2023-01-16T15:09:13.676Z] (3/7) Installing hiredis-dev (1.0.2-r0) [2023-01-16T15:09:13.676Z] (4/7) Installing libuuid (2.38-r1) [2023-01-16T15:09:13.676Z] (5/7) Installing iotech-iot-1.4 (1.4.0-r0) [2023-01-16T15:09:14.637Z] (6/7) Installing libcbor (0.9.0-r1) [2023-01-16T15:09:14.637Z] (7/7) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) [2023-01-16T15:09:15.219Z] Executing busybox-1.35.0-r17.trigger [2023-01-16T15:09:15.487Z] OK: 280 MiB in 83 packages [2023-01-16T15:09:16.456Z] Removing intermediate container 3b926b4c0a23 [2023-01-16T15:09:16.456Z] ---> 2aa31b935267 [2023-01-16T15:09:16.456Z] Step 19/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2023-01-16T15:09:16.726Z] ---> 3bce245773bd [2023-01-16T15:09:16.726Z] Step 20/21 : COPY --from=builder /usr/local/lib /usr/local/lib [2023-01-16T15:09:17.310Z] ---> fa0756b31ff8 [2023-01-16T15:09:17.310Z] Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2023-01-16T15:09:17.893Z] ---> 4aa86cc39ab6 [2023-01-16T15:09:17.893Z] Successfully built 4aa86cc39ab6 [2023-01-16T15:09:17.893Z] 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-01-16T15:09:18.604Z] + docker inspect -f . ci-base-image-arm64 [2023-01-16T15:09:18.604Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-16T15:09:18.878Z] prd-ubuntu20.04-docker-arm64-4c-16g-2582 does not seem to be running inside a container [2023-01-16T15:09:18.943Z] $ 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-01-16T15:09:20.122Z] $ docker top 36335d73efe53fb36112e8695aba59ca4f13ba9b477360afc0d18c3b5bc7986d -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-16T15:09:21.013Z] + make test [2023-01-16T15:09:21.013Z] echo "make test" [2023-01-16T15:09:21.013Z] make test [Pipeline] } [2023-01-16T15:09:21.050Z] $ docker stop --time=1 36335d73efe53fb36112e8695aba59ca4f13ba9b477360afc0d18c3b5bc7986d [2023-01-16T15:09:22.650Z] $ docker rm -f --volumes 36335d73efe53fb36112e8695aba59ca4f13ba9b477360afc0d18c3b5bc7986d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-16T15:09:23.446Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-01-16T15:09:23.787Z] + ls -al . [2023-01-16T15:09:23.788Z] total 200 [2023-01-16T15:09:23.788Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 16 15:06 . [2023-01-16T15:09:23.788Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 16 15:06 .. [2023-01-16T15:09:23.788Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 16 15:06 .git [2023-01-16T15:09:23.788Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 16 15:06 .github [2023-01-16T15:09:23.788Z] -rw-rw-r-- 1 jenkins jenkins 176 Jan 16 15:06 .gitignore [2023-01-16T15:09:23.788Z] -rw-rw-r-- 1 jenkins jenkins 3104 Jan 16 15:06 Attribution.txt [2023-01-16T15:09:23.788Z] -rw-rw-r-- 1 jenkins jenkins 8583 Jan 16 15:06 CHANGES [2023-01-16T15:09:23.788Z] -rw-rw-r-- 1 jenkins jenkins 108574 Jan 16 15:06 Doxyfile [2023-01-16T15:09:23.788Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 16 15:06 GOVERNANCE.md [2023-01-16T15:09:23.788Z] -rw-rw-r-- 1 jenkins jenkins 784 Jan 16 15:06 Jenkinsfile [2023-01-16T15:09:23.788Z] -rw-rw-r-- 1 jenkins jenkins 10174 Jan 16 15:06 LICENSE [2023-01-16T15:09:23.788Z] -rw-rw-r-- 1 jenkins jenkins 444 Jan 16 15:06 Makefile [2023-01-16T15:09:23.788Z] -rw-rw-r-- 1 jenkins jenkins 618 Jan 16 15:06 OWNERS.md [2023-01-16T15:09:23.788Z] -rw-rw-r-- 1 jenkins jenkins 4086 Jan 16 15:06 README.md [2023-01-16T15:09:23.788Z] -rw-rw-r-- 1 jenkins jenkins 1245 Jan 16 15:06 README.v3.md [2023-01-16T15:09:23.788Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 16 15:04 VERSION [2023-01-16T15:09:23.788Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 16 15:06 docs [2023-01-16T15:09:23.788Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 16 15:06 include [2023-01-16T15:09:23.788Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 16 15:06 scripts [2023-01-16T15:09:23.788Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 16 15:06 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-16T15:09:24.217Z] + 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=d9d33c5f3b12b7c5e2509c964f773e9a89adf3e5 --label arch=arm64 --label version=0.0.0 . [2023-01-16T15:09:24.491Z] Sending build context to Docker daemon 2.903MB [2023-01-16T15:09:24.491Z] Step 1/17 : ARG BASE=alpine:3.16 [2023-01-16T15:09:24.491Z] Step 2/17 : FROM ${BASE} [2023-01-16T15:09:24.491Z] ---> 4aa86cc39ab6 [2023-01-16T15:09:24.491Z] Step 3/17 : LABEL maintainer="IOTech " [2023-01-16T15:09:24.760Z] ---> Running in 8ac957e1ce7f [2023-01-16T15:09:25.034Z] Removing intermediate container 8ac957e1ce7f [2023-01-16T15:09:25.034Z] ---> 80fbbffd01a3 [2023-01-16T15:09:25.034Z] 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-01-16T15:09:25.034Z] ---> Running in ca8a395b2857 [2023-01-16T15:09:25.995Z] Connecting to iotech.jfrog.io (52.213.96.158:443) [2023-01-16T15:09:26.591Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-01-16T15:09:26.591Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-01-16T15:09:26.591Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-01-16T15:09:27.183Z] Removing intermediate container ca8a395b2857 [2023-01-16T15:09:27.183Z] ---> 4dc04dbfd89f [2023-01-16T15:09:27.183Z] Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-01-16T15:09:27.183Z] ---> Running in bba1bc981bc8 [2023-01-16T15:09:29.135Z] Removing intermediate container bba1bc981bc8 [2023-01-16T15:09:29.135Z] ---> 900f118c6937 [2023-01-16T15:09:29.135Z] 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.4-dev && mkdir -p /edgex-c-sdk/build [2023-01-16T15:09:29.135Z] ---> Running in 6e465e095def [2023-01-16T15:09:30.098Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-16T15:09:30.367Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-16T15:09:30.951Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-16T15:09:31.910Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-01-16T15:09:31.910Z] (1/8) Installing iotech-iot-1.4-dev (1.4.0-r0) [2023-01-16T15:09:31.910Z] (2/8) Installing libcbor-dev (0.9.0-r1) [2023-01-16T15:09:31.910Z] (3/8) Installing ncurses-dev (6.3_p20220521-r0) [2023-01-16T15:09:32.179Z] (4/8) Installing libblkid (2.38-r1) [2023-01-16T15:09:32.179Z] (5/8) Installing libfdisk (2.38-r1) [2023-01-16T15:09:32.179Z] (6/8) Installing libmount (2.38-r1) [2023-01-16T15:09:32.179Z] (7/8) Installing libsmartcols (2.38-r1) [2023-01-16T15:09:32.179Z] (8/8) Installing util-linux-dev (2.38-r1) [2023-01-16T15:09:32.179Z] Executing busybox-1.35.0-r17.trigger [2023-01-16T15:09:32.179Z] OK: 286 MiB in 91 packages [2023-01-16T15:09:33.592Z] Removing intermediate container 6e465e095def [2023-01-16T15:09:33.592Z] ---> def8f7c256f5 [2023-01-16T15:09:33.592Z] Step 7/17 : COPY VERSION /edgex-c-sdk/ [2023-01-16T15:09:33.860Z] ---> 871b073c60f9 [2023-01-16T15:09:33.860Z] Step 8/17 : COPY src /edgex-c-sdk/src/ [2023-01-16T15:09:34.824Z] ---> 3b90c891ed53 [2023-01-16T15:09:34.824Z] Step 9/17 : COPY include /edgex-c-sdk/include/ [2023-01-16T15:09:35.091Z] ---> 1804483ac882 [2023-01-16T15:09:35.091Z] Step 10/17 : COPY scripts /edgex-c-sdk/scripts [2023-01-16T15:09:35.673Z] ---> 1ed2cf7f6a1f [2023-01-16T15:09:35.673Z] Step 11/17 : COPY LICENSE /edgex-c-sdk/ [2023-01-16T15:09:36.257Z] ---> 30c1ac1da716 [2023-01-16T15:09:36.257Z] Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ [2023-01-16T15:09:36.526Z] ---> 436495f0133a [2023-01-16T15:09:36.526Z] Step 13/17 : WORKDIR /edgex-c-sdk [2023-01-16T15:09:36.792Z] ---> Running in b24c094bf56b [2023-01-16T15:09:37.060Z] Removing intermediate container b24c094bf56b [2023-01-16T15:09:37.060Z] ---> 88efd161f3cc [2023-01-16T15:09:37.060Z] Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2023-01-16T15:09:37.060Z] ---> Running in 82f7e045361d [2023-01-16T15:09:37.337Z] Removing intermediate container 82f7e045361d [2023-01-16T15:09:37.337Z] ---> 05a309f648e5 [2023-01-16T15:09:37.337Z] Step 15/17 : LABEL arch=arm64 [2023-01-16T15:09:37.605Z] ---> Running in 45cb4a895297 [2023-01-16T15:09:37.873Z] Removing intermediate container 45cb4a895297 [2023-01-16T15:09:37.873Z] ---> 797ef9d6e053 [2023-01-16T15:09:37.873Z] Step 16/17 : LABEL git_sha=d9d33c5f3b12b7c5e2509c964f773e9a89adf3e5 [2023-01-16T15:09:37.873Z] ---> Running in 0305b50e9838 [2023-01-16T15:09:38.141Z] Removing intermediate container 0305b50e9838 [2023-01-16T15:09:38.141Z] ---> 190ba2d47837 [2023-01-16T15:09:38.141Z] Step 17/17 : LABEL version=0.0.0 [2023-01-16T15:09:38.141Z] ---> Running in 17c70684625b [2023-01-16T15:09:38.410Z] Removing intermediate container 17c70684625b [2023-01-16T15:09:38.410Z] ---> 26d498ed7857 [2023-01-16T15:09:38.410Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2023-01-16T15:09:38.677Z] Successfully built 26d498ed7857 [2023-01-16T15:09:38.677Z] 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-01-16T15:09:39.467Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-16T15:09:39.467Z] [2023-01-16T15:09:39.467Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-16T15:09:39.867Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-16T15:09:39.867Z] arm64: Pulling from edgex-lftools-log-publisher [2023-01-16T15:09:39.867Z] 8998bd30e6a1: Pulling fs layer [2023-01-16T15:09:39.867Z] 04944245beec: Pulling fs layer [2023-01-16T15:09:39.867Z] 699f458cf7ca: Pulling fs layer [2023-01-16T15:09:39.867Z] 765212b225bb: Pulling fs layer [2023-01-16T15:09:39.867Z] f23df028b6ca: Pulling fs layer [2023-01-16T15:09:39.867Z] d65c8cfc05b1: Pulling fs layer [2023-01-16T15:09:39.867Z] 2437ff75d9bd: Pulling fs layer [2023-01-16T15:09:39.867Z] f23df028b6ca: Waiting [2023-01-16T15:09:39.867Z] d65c8cfc05b1: Waiting [2023-01-16T15:09:39.867Z] 2437ff75d9bd: Waiting [2023-01-16T15:09:39.867Z] 765212b225bb: Waiting [2023-01-16T15:09:40.136Z] 04944245beec: Verifying Checksum [2023-01-16T15:09:40.136Z] 04944245beec: Download complete [2023-01-16T15:09:40.136Z] 765212b225bb: Download complete [2023-01-16T15:09:40.136Z] f23df028b6ca: Download complete [2023-01-16T15:09:40.136Z] d65c8cfc05b1: Verifying Checksum [2023-01-16T15:09:40.136Z] d65c8cfc05b1: Download complete [2023-01-16T15:09:40.726Z] 699f458cf7ca: Verifying Checksum [2023-01-16T15:09:40.726Z] 699f458cf7ca: Download complete [2023-01-16T15:09:40.996Z] 8998bd30e6a1: Verifying Checksum [2023-01-16T15:09:40.996Z] 8998bd30e6a1: Download complete [2023-01-16T15:09:43.582Z] 2437ff75d9bd: Verifying Checksum [2023-01-16T15:09:43.582Z] 2437ff75d9bd: Download complete [2023-01-16T15:09:44.999Z] 8998bd30e6a1: Pull complete [2023-01-16T15:09:45.267Z] 04944245beec: Pull complete [2023-01-16T15:09:46.677Z] 699f458cf7ca: Pull complete [2023-01-16T15:09:46.677Z] 765212b225bb: Pull complete [2023-01-16T15:09:47.636Z] f23df028b6ca: Pull complete [2023-01-16T15:09:47.636Z] d65c8cfc05b1: Pull complete [2023-01-16T15:10:02.625Z] 2437ff75d9bd: Pull complete [2023-01-16T15:10:02.625Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-01-16T15:10:02.625Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-16T15:10:02.625Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-16T15:10:02.925Z] prd-ubuntu20.04-docker-arm64-4c-16g-2582 does not seem to be running inside a container [2023-01-16T15:10:02.979Z] $ 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-01-16T15:10:05.419Z] $ docker top 53950178f21715d60337e050d4fc535be9c32ba6297b30322460acaeb125aaf6 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-16T15:10:05.989Z] ---> job-cost.sh [2023-01-16T15:10:06.255Z] lf-activate-venv: SKIPPING [2023-01-16T15:10:06.255Z] INFO: No Stack... [2023-01-16T15:10:06.835Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-01-16T15:10:07.417Z] INFO: Archiving Costs [Pipeline] sh [2023-01-16T15:10:07.752Z] + cat /w/workspace/device-sdk-c/1/archives/cost.csv [2023-01-16T15:10:07.752Z] + cut -d, -f6 [Pipeline] lock [2023-01-16T15:10:07.833Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-437-1-stack-cost] [2023-01-16T15:10:07.839Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-437-1-stack-cost] did not exist. Created. [2023-01-16T15:10:07.839Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-437-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-01-16T15:10:08.234Z] /w/workspace/device-sdk-c/1@tmp/durable-6b7a68b0/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-01-16T15:10:08.584Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-01-16T15:10:08.625Z] Warning: overwriting stash ‘stack-cost’ [2023-01-16T15:10:09.044Z] Stashed 1 file(s) [Pipeline] } [2023-01-16T15:10:09.060Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-437-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-01-16T15:10:09.138Z] $ docker stop --time=1 53950178f21715d60337e050d4fc535be9c32ba6297b30322460acaeb125aaf6 [2023-01-16T15:10:10.587Z] $ docker rm -f --volumes 53950178f21715d60337e050d4fc535be9c32ba6297b30322460acaeb125aaf6 [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-01-16T15:10:12.242Z] + [ -d /w/workspace/edgexfoundry_device-sdk-c_PR-437/archives ] [2023-01-16T15:10:12.242Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-437/archives [2023-01-16T15:10:12.242Z] total 16 [2023-01-16T15:10:12.242Z] drwxr-xr-x 3 root root 4096 Jan 16 15:05 . [2023-01-16T15:10:12.242Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 16 15:05 .. [2023-01-16T15:10:12.242Z] drwxr-xr-x 2 root root 4096 Jan 16 15:05 cost [2023-01-16T15:10:12.242Z] -rw-r--r-- 1 root root 84 Jan 16 15:05 cost.csv [2023-01-16T15:10:12.242Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_PR-437/archives [2023-01-16T15:10:12.242Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-437/archives [2023-01-16T15:10:12.242Z] total 16 [2023-01-16T15:10:12.242Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 16 15:05 . [2023-01-16T15:10:12.242Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 16 15:05 .. [2023-01-16T15:10:12.242Z] drwxr-xr-x 2 jenkins jenkins 4096 Jan 16 15:05 cost [2023-01-16T15:10:12.242Z] -rw-r--r-- 1 jenkins jenkins 84 Jan 16 15:05 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-01-16T15:10:12.564Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-16T15:10:13.455Z] ---> package-listing.sh [2023-01-16T15:10:13.455Z] ++ facter osfamily [2023-01-16T15:10:13.455Z] ++ tr '[:upper:]' '[:lower:]' [2023-01-16T15:10:13.715Z] + OS_FAMILY=debian [2023-01-16T15:10:13.715Z] + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-437 [2023-01-16T15:10:13.715Z] + START_PACKAGES=/tmp/packages_start.txt [2023-01-16T15:10:13.715Z] + END_PACKAGES=/tmp/packages_end.txt [2023-01-16T15:10:13.715Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-01-16T15:10:13.715Z] + PACKAGES=/tmp/packages_start.txt [2023-01-16T15:10:13.715Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-437 ']' [2023-01-16T15:10:13.715Z] + PACKAGES=/tmp/packages_end.txt [2023-01-16T15:10:13.715Z] + case "${OS_FAMILY}" in [2023-01-16T15:10:13.715Z] + dpkg -l [2023-01-16T15:10:13.715Z] + grep '^ii' [2023-01-16T15:10:13.715Z] + '[' -f /tmp/packages_start.txt ']' [2023-01-16T15:10:13.715Z] + '[' -f /tmp/packages_end.txt ']' [2023-01-16T15:10:13.715Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-01-16T15:10:13.715Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-437 ']' [2023-01-16T15:10:13.715Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-437/archives/ [2023-01-16T15:10:13.716Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-437/archives/ [Pipeline] echo [2023-01-16T15:10:13.753Z] 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-437/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-01-16T15:10:14.054Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-16T15:10:14.700Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-16T15:10:14.700Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-16T15:10:14.851Z] prd-ubuntu20.04-docker-8c-8g-2581 does not seem to be running inside a container [2023-01-16T15:10:14.887Z] $ 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-437/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-437 -v /w/workspace/edgexfoundry_device-sdk-c_PR-437:/w/workspace/edgexfoundry_device-sdk-c_PR-437:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-437@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-437@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-01-16T15:10:15.117Z] $ docker top 551133d7a6970b045d217206504e115b31e65cea62f4671f569826e850ff3e7b -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-16T15:10:15.518Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-01-16T15:10:15.834Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-01-16T15:10:16.147Z] + ls /var/log/sa-host [2023-01-16T15:10:16.147Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-16T15:10:16.389Z] provisioning config files... [2023-01-16T15:10:16.399Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-437@tmp/config1416350140036576415tmp [Pipeline] { [Pipeline] echo [2023-01-16T15:10:16.447Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-16T15:10:16.776Z] ---> create-netrc.sh [Pipeline] } [2023-01-16T15:10:16.806Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-01-16T15:10:17.210Z] ---> python-tools-install.sh [Pipeline] echo [2023-01-16T15:10:17.243Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-16T15:10:17.551Z] ---> sudo-logs.sh [2023-01-16T15:10:17.551Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-01-16T15:10:17.630Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-16T15:10:17.940Z] ---> job-cost.sh [2023-01-16T15:10:17.940Z] lf-activate-venv: SKIPPING [2023-01-16T15:10:17.940Z] DEBUG: total: 0.2199999988079071 [2023-01-16T15:10:17.940Z] INFO: Retrieving Stack Cost... [2023-01-16T15:10:18.200Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-01-16T15:10:18.464Z] INFO: Archiving Costs [Pipeline] echo [2023-01-16T15:10:18.498Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-16T15:10:18.808Z] ---> logs-deploy.sh [2023-01-16T15:10:18.808Z] lf-activate-venv: SKIPPING [2023-01-16T15:10:18.808Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-437/1 [2023-01-16T15:10:18.808Z] INFO: archiving workspace using pattern(s): [2023-01-16T15:10:19.745Z] Archives upload complete. [2023-01-16T15:10:19.745Z] INFO: archiving logs to Nexus