Pull request #453 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 79809f9ddfe1f96c0824338f8296ea4a141a28e3+70adbc05d5985df01ef9d9c351b6d02d06141faf (4713d77a09714b772439afeedf407cadaebcb4c6) 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-ssh10027227865533622040.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a 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-ssh12455728257549591606.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 66200e8eedfc470904d6b329e562ec5b45423d6a 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-453/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-453/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2318780593839932163.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-453/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2355550169431813241.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > 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-ssh7119439589108158047.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-453/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-453/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh14257089965684484480.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 66200e8eedfc470904d6b329e562ec5b45423d6a 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-7010 in /w/workspace/edgexfoundry_device-sdk-c_PR-453 [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-453 # 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/453/head:refs/remotes/origin/PR-453 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 70adbc05d5985df01ef9d9c351b6d02d06141faf into PR head commit 79809f9ddfe1f96c0824338f8296ea4a141a28e3 Merge succeeded, producing 79809f9ddfe1f96c0824338f8296ea4a141a28e3 Checking out Revision 79809f9ddfe1f96c0824338f8296ea4a141a28e3 (PR-453) > git config core.sparsecheckout # timeout=10 > git checkout -f 79809f9ddfe1f96c0824338f8296ea4a141a28e3 # 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 70adbc05d5985df01ef9d9c351b6d02d06141faf # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 79809f9ddfe1f96c0824338f8296ea4a141a28e3 # timeout=10 Commit message: "refactor!: update secrets transfer object" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-04-06T14:57:17.835Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-04-06T14:57:17.997Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-04-06T14:57:18.096Z] ========================================================= [2023-04-06T14:57:18.096Z] EdgeX Global Pipelines Version Info [2023-04-06T14:57:18.096Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-04-06T14:57:18.847Z] ------------------- [2023-04-06T14:57:18.847Z] stable info: [2023-04-06T14:57:18.847Z] ------------------- [2023-04-06T14:57:18.847Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-04-06T14:57:18.847Z] Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a [2023-04-06T14:57:18.847Z] Message: update stable to v1.0.245 [2023-04-06T14:57:19.421Z] ------------------- [2023-04-06T14:57:19.421Z] experimental info: [2023-04-06T14:57:19.421Z] ------------------- [2023-04-06T14:57:19.421Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-04-06T14:57:19.421Z] Commit SHA: 046ad6d0e2e636d38ea4daf53c055316476b9501 [2023-04-06T14:57:19.421Z] Message: update experimental to v1.0.247 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-04-06T14:57:19.689Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo [2023-04-06T14:57:19.723Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo [2023-04-06T14:57:19.758Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-04-06T14:57:19.794Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-04-06T14:57:19.828Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-04-06T14:57:19.863Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo [2023-04-06T14:57:19.904Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo [2023-04-06T14:57:19.938Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-04-06T14:57:19.976Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-04-06T14:57:20.012Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo [2023-04-06T14:57:20.048Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-04-06T14:57:20.082Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-04-06T14:57:20.114Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-04-06T14:57:20.146Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-04-06T14:57:20.177Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-04-06T14:57:20.209Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-04-06T14:57:20.244Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-04-06T14:57:20.282Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-453 [Pipeline] echo [2023-04-06T14:57:20.317Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-453 [Pipeline] echo [2023-04-06T14:57:20.353Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-453 [Pipeline] echo [2023-04-06T14:57:20.401Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 79809f9ddfe1f96c0824338f8296ea4a141a28e3 [Pipeline] echo [2023-04-06T14:57:20.437Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 79809f9 [Pipeline] echo [2023-04-06T14:57:20.474Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-06T14:57:20.588Z] provisioning config files... [2023-04-06T14:57:20.602Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-453@tmp/config9082261214322758973tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-06T14:57:20.933Z] ---> docker-login.sh [2023-04-06T14:57:20.933Z] nexus3.edgexfoundry.org:10001 [2023-04-06T14:57:21.196Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-06T14:57:21.456Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-06T14:57:21.456Z] Configure a credential helper to remove this warning. See [2023-04-06T14:57:21.456Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-06T14:57:21.456Z] [2023-04-06T14:57:21.456Z] Login Succeeded [2023-04-06T14:57:21.456Z] nexus3.edgexfoundry.org:10002 [2023-04-06T14:57:21.456Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-06T14:57:21.456Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-06T14:57:21.456Z] Configure a credential helper to remove this warning. See [2023-04-06T14:57:21.456Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-06T14:57:21.456Z] [2023-04-06T14:57:21.456Z] Login Succeeded [2023-04-06T14:57:21.456Z] nexus3.edgexfoundry.org:10003 [2023-04-06T14:57:21.456Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-06T14:57:21.717Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-06T14:57:21.717Z] Configure a credential helper to remove this warning. See [2023-04-06T14:57:21.717Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-06T14:57:21.717Z] [2023-04-06T14:57:21.717Z] Login Succeeded [2023-04-06T14:57:21.717Z] nexus3.edgexfoundry.org:10004 [2023-04-06T14:57:21.717Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-06T14:57:21.717Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-06T14:57:21.717Z] Configure a credential helper to remove this warning. See [2023-04-06T14:57:21.717Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-06T14:57:21.717Z] [2023-04-06T14:57:21.717Z] Login Succeeded [2023-04-06T14:57:21.717Z] docker.io [2023-04-06T14:57:21.717Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-06T14:57:21.981Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-06T14:57:21.981Z] Configure a credential helper to remove this warning. See [2023-04-06T14:57:21.981Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-06T14:57:21.981Z] [2023-04-06T14:57:21.981Z] Login Succeeded [2023-04-06T14:57:21.981Z] ---> docker-login.sh ends [Pipeline] } [2023-04-06T14:57:22.006Z] 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-04-06T14:57:22.623Z] + git rev-list -1 --merges 79809f9ddfe1f96c0824338f8296ea4a141a28e3~1..79809f9ddfe1f96c0824338f8296ea4a141a28e3 [Pipeline] echo [2023-04-06T14:57:22.690Z] -----------> git rev-list -1 --merges 79809f9ddfe1f96c0824338f8296ea4a141a28e3~1..79809f9ddfe1f96c0824338f8296ea4a141a28e3 79809f9ddfe1f96c0824338f8296ea4a141a28e3 [false] [Pipeline] sh [2023-04-06T14:57:23.006Z] + git log --format=format:%s -1 79809f9ddfe1f96c0824338f8296ea4a141a28e3 [Pipeline] echo [2023-04-06T14:57:23.040Z] ========================================================= [2023-04-06T14:57:23.040Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-04-06T14:57:23.040Z] ========================================================= 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-04-06T14:57:23.810Z] + git rev-list -1 --merges 79809f9ddfe1f96c0824338f8296ea4a141a28e3~1..79809f9ddfe1f96c0824338f8296ea4a141a28e3 [Pipeline] echo [2023-04-06T14:57:23.841Z] -----------> git rev-list -1 --merges 79809f9ddfe1f96c0824338f8296ea4a141a28e3~1..79809f9ddfe1f96c0824338f8296ea4a141a28e3 79809f9ddfe1f96c0824338f8296ea4a141a28e3 [false] [Pipeline] sh [2023-04-06T14:57:24.151Z] + git log --format=format:%s -1 79809f9ddfe1f96c0824338f8296ea4a141a28e3 [Pipeline] echo [2023-04-06T14:57:24.187Z] ========================================================= [2023-04-06T14:57:24.187Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-04-06T14:57:24.187Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh [2023-04-06T14:57:24.683Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-04-06T14:57:24.683Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-04-06T14:57:24.683Z] + [ -e /tmp/ssh_known_hosts ] [2023-04-06T14:57:24.683Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-04-06T14:57:24.683Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-04-06T14:57:24.683Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-04-06T14:57:24.683Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-06T14:57:25.175Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-06T14:57:25.175Z] [2023-04-06T14:57:25.175Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-06T14:57:25.579Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-06T14:57:25.580Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-04-06T14:57:25.580Z] b85a868b505f: Pulling fs layer [2023-04-06T14:57:25.580Z] e2be974225ed: Pulling fs layer [2023-04-06T14:57:25.580Z] 339a4e72a1f5: Pulling fs layer [2023-04-06T14:57:25.580Z] 988bab9f4d93: Pulling fs layer [2023-04-06T14:57:25.580Z] 1469e6f7b9e6: Pulling fs layer [2023-04-06T14:57:25.580Z] eaf3925da568: Pulling fs layer [2023-04-06T14:57:25.580Z] bab4dde63d76: Pulling fs layer [2023-04-06T14:57:25.580Z] bde34c3a00c8: Pulling fs layer [2023-04-06T14:57:25.580Z] b352a97aabf1: Pulling fs layer [2023-04-06T14:57:25.580Z] 4872d77fe225: Pulling fs layer [2023-04-06T14:57:25.580Z] 5851b861e8e6: Pulling fs layer [2023-04-06T14:57:25.580Z] b352a97aabf1: Waiting [2023-04-06T14:57:25.580Z] eaf3925da568: Waiting [2023-04-06T14:57:25.580Z] 4872d77fe225: Waiting [2023-04-06T14:57:25.580Z] 5851b861e8e6: Waiting [2023-04-06T14:57:25.580Z] bab4dde63d76: Waiting [2023-04-06T14:57:25.580Z] bde34c3a00c8: Waiting [2023-04-06T14:57:25.580Z] 988bab9f4d93: Waiting [2023-04-06T14:57:25.580Z] 1469e6f7b9e6: Waiting [2023-04-06T14:57:25.580Z] e2be974225ed: Verifying Checksum [2023-04-06T14:57:25.580Z] e2be974225ed: Download complete [2023-04-06T14:57:25.580Z] 988bab9f4d93: Verifying Checksum [2023-04-06T14:57:25.580Z] 1469e6f7b9e6: Verifying Checksum [2023-04-06T14:57:25.580Z] 1469e6f7b9e6: Download complete [2023-04-06T14:57:25.841Z] 339a4e72a1f5: Verifying Checksum [2023-04-06T14:57:25.841Z] 339a4e72a1f5: Download complete [2023-04-06T14:57:25.841Z] eaf3925da568: Verifying Checksum [2023-04-06T14:57:25.841Z] eaf3925da568: Download complete [2023-04-06T14:57:25.841Z] bde34c3a00c8: Verifying Checksum [2023-04-06T14:57:25.841Z] bde34c3a00c8: Download complete [2023-04-06T14:57:25.841Z] b352a97aabf1: Download complete [2023-04-06T14:57:25.841Z] 4872d77fe225: Verifying Checksum [2023-04-06T14:57:25.841Z] 4872d77fe225: Download complete [2023-04-06T14:57:25.841Z] 5851b861e8e6: Verifying Checksum [2023-04-06T14:57:25.841Z] 5851b861e8e6: Download complete [2023-04-06T14:57:25.841Z] b85a868b505f: Verifying Checksum [2023-04-06T14:57:25.841Z] b85a868b505f: Download complete [2023-04-06T14:57:26.099Z] bab4dde63d76: Download complete [2023-04-06T14:57:27.037Z] b85a868b505f: Pull complete [2023-04-06T14:57:27.296Z] e2be974225ed: Pull complete [2023-04-06T14:57:27.556Z] 339a4e72a1f5: Pull complete [2023-04-06T14:57:27.815Z] 988bab9f4d93: Pull complete [2023-04-06T14:57:28.073Z] 1469e6f7b9e6: Pull complete [2023-04-06T14:57:28.073Z] eaf3925da568: Pull complete [2023-04-06T14:57:29.988Z] bab4dde63d76: Pull complete [2023-04-06T14:57:29.988Z] bde34c3a00c8: Pull complete [2023-04-06T14:57:29.988Z] b352a97aabf1: Pull complete [2023-04-06T14:57:29.988Z] 4872d77fe225: Pull complete [2023-04-06T14:57:29.988Z] 5851b861e8e6: Pull complete [2023-04-06T14:57:30.248Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-04-06T14:57:30.248Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-06T14:57:30.248Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-06T14:57:30.481Z] prd-ubuntu20.04-docker-8c-8g-7010 does not seem to be running inside a container [2023-04-06T14:57:30.516Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-453 -v /w/workspace/edgexfoundry_device-sdk-c_PR-453:/w/workspace/edgexfoundry_device-sdk-c_PR-453:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-453@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-453@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-04-06T14:57:33.879Z] $ docker top 759386a1c55a47a93dd99572d7b6b4ec6bd521c266f3554cf326a851fa26215d -eo pid,comm [2023-04-06T14:57:33.936Z] 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-04-06T14:57:33.936Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-04-06T14:57:34.054Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-06T14:57:34.054Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-06T14:57:34.182Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-06T14:57:34.187Z] $ docker exec 759386a1c55a47a93dd99572d7b6b4ec6bd521c266f3554cf326a851fa26215d ssh-agent [2023-04-06T14:57:34.294Z] SSH_AUTH_SOCK=/tmp/ssh-1tmPBa62qseK/agent.32 [2023-04-06T14:57:34.294Z] SSH_AGENT_PID=38 [2023-04-06T14:57:34.301Z] Running ssh-add (command line suppressed) [2023-04-06T14:57:34.410Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-453@tmp/private_key_12800430263364529863.key (/w/workspace/edgexfoundry_device-sdk-c_PR-453@tmp/private_key_12800430263364529863.key) [2023-04-06T14:57:34.421Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-06T14:57:34.749Z] + git tag --points-at HEAD [Pipeline] } [2023-04-06T14:57:34.777Z] $ docker exec --env ******** --env ******** 759386a1c55a47a93dd99572d7b6b4ec6bd521c266f3554cf326a851fa26215d ssh-agent -k [2023-04-06T14:57:34.872Z] unset SSH_AUTH_SOCK; [2023-04-06T14:57:34.873Z] unset SSH_AGENT_PID; [2023-04-06T14:57:34.873Z] echo Agent pid 38 killed; [2023-04-06T14:57:34.879Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-04-06T14:57:34.958Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-06T14:57:34.959Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-06T14:57:35.083Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-06T14:57:35.089Z] $ docker exec 759386a1c55a47a93dd99572d7b6b4ec6bd521c266f3554cf326a851fa26215d ssh-agent [2023-04-06T14:57:35.196Z] SSH_AUTH_SOCK=/tmp/ssh-BUJ1Y3PAU0dg/agent.70 [2023-04-06T14:57:35.196Z] SSH_AGENT_PID=76 [2023-04-06T14:57:35.204Z] Running ssh-add (command line suppressed) [2023-04-06T14:57:35.309Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-453@tmp/private_key_11630163418775913068.key (/w/workspace/edgexfoundry_device-sdk-c_PR-453@tmp/private_key_11630163418775913068.key) [2023-04-06T14:57:35.318Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-06T14:57:35.642Z] + git semver init [2023-04-06T14:57:35.905Z] 2023-04-06 14:57:35,827 [run_init] DEBUG init version:0.0.0 force:False [2023-04-06T14:57:35.905Z] 2023-04-06 14:57:35,827 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-c_PR-453/.semver [2023-04-06T14:57:35.905Z] 2023-04-06 14:57:35,828 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-c.git /w/workspace/edgexfoundry_device-sdk-c_PR-453/.semver [2023-04-06T14:57:35.905Z] 2023-04-06 14:57:35,828 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-c.git', '/w/workspace/edgexfoundry_device-sdk-c_PR-453/.semver'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-453, universal_newlines=False, shell=None, istream=None) [2023-04-06T14:57:36.846Z] 2023-04-06 14:57:36,614 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-c_PR-453/.git/info/exclude [2023-04-06T14:57:36.846Z] 2023-04-06 14:57:36,614 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-c_PR-453/.semver/PR-453 with force:False [2023-04-06T14:57:36.846Z] 2023-04-06 14:57:36,614 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-c_PR-453/.semver/PR-453 [2023-04-06T14:57:36.846Z] 2023-04-06 14:57:36,619 [execute] INFO git cat-file --batch-check [2023-04-06T14:57:36.846Z] 2023-04-06 14:57:36,619 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-453/.semver, universal_newlines=False, shell=None, istream=) [2023-04-06T14:57:36.846Z] 2023-04-06 14:57:36,625 [execute] INFO git cat-file --batch [2023-04-06T14:57:36.846Z] 2023-04-06 14:57:36,625 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-453/.semver, universal_newlines=False, shell=None, istream=) [2023-04-06T14:57:36.846Z] 2023-04-06 14:57:36,630 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_PR-453/.semver/PR-453 [2023-04-06T14:57:36.846Z] 0.0.0 [Pipeline] } [2023-04-06T14:57:36.874Z] $ docker exec --env ******** --env ******** 759386a1c55a47a93dd99572d7b6b4ec6bd521c266f3554cf326a851fa26215d ssh-agent -k [2023-04-06T14:57:36.979Z] unset SSH_AUTH_SOCK; [2023-04-06T14:57:36.979Z] unset SSH_AGENT_PID; [2023-04-06T14:57:36.980Z] echo Agent pid 76 killed; [2023-04-06T14:57:36.986Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-04-06T14:57:37.395Z] + git semver [Pipeline] } [2023-04-06T14:57:37.684Z] $ docker stop --time=1 759386a1c55a47a93dd99572d7b6b4ec6bd521c266f3554cf326a851fa26215d [2023-04-06T14:57:38.989Z] $ docker rm -f --volumes 759386a1c55a47a93dd99572d7b6b4ec6bd521c266f3554cf326a851fa26215d [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-06T14:57:39.377Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-04-06T14:57:39.643Z] Stashed 1 file(s) [Pipeline] echo [2023-04-06T14:57:39.659Z] [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-04-06T14:57:40.148Z] provisioning config files... [2023-04-06T14:57:40.158Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-453@tmp/config11855616186472936938tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-06T14:57:40.503Z] ---> docker-login.sh [2023-04-06T14:57:40.503Z] nexus3.edgexfoundry.org:10001 [2023-04-06T14:57:40.503Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-06T14:57:40.503Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-06T14:57:40.503Z] Configure a credential helper to remove this warning. See [2023-04-06T14:57:40.503Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-06T14:57:40.503Z] [2023-04-06T14:57:40.503Z] Login Succeeded [2023-04-06T14:57:40.503Z] nexus3.edgexfoundry.org:10002 [2023-04-06T14:57:40.503Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-06T14:57:40.503Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-06T14:57:40.503Z] Configure a credential helper to remove this warning. See [2023-04-06T14:57:40.503Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-06T14:57:40.503Z] [2023-04-06T14:57:40.503Z] Login Succeeded [2023-04-06T14:57:40.503Z] nexus3.edgexfoundry.org:10003 [2023-04-06T14:57:40.764Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-06T14:57:40.764Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-06T14:57:40.764Z] Configure a credential helper to remove this warning. See [2023-04-06T14:57:40.764Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-06T14:57:40.764Z] [2023-04-06T14:57:40.764Z] Login Succeeded [2023-04-06T14:57:40.764Z] nexus3.edgexfoundry.org:10004 [2023-04-06T14:57:40.764Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-06T14:57:40.764Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-06T14:57:40.764Z] Configure a credential helper to remove this warning. See [2023-04-06T14:57:40.764Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-06T14:57:40.764Z] [2023-04-06T14:57:40.764Z] Login Succeeded [2023-04-06T14:57:40.764Z] docker.io [2023-04-06T14:57:41.025Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-06T14:57:41.025Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-06T14:57:41.025Z] Configure a credential helper to remove this warning. See [2023-04-06T14:57:41.026Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-06T14:57:41.026Z] [2023-04-06T14:57:41.026Z] Login Succeeded [2023-04-06T14:57:41.026Z] ---> docker-login.sh ends [Pipeline] } [2023-04-06T14:57:41.053Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-04-06T14:57:41.239Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-06T14:57:41.268Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo [2023-04-06T14:57:41.299Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-06T14:57:41.330Z] ========================================================= [2023-04-06T14:57:41.330Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] [2023-04-06T14:57:41.330Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-06T14:57:41.743Z] + 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-04-06T14:57:41.743Z] Sending build context to Docker daemon 4.816MB [2023-04-06T14:57:41.743Z] Step 1/21 : ARG BASE=alpine:3.16 [2023-04-06T14:57:41.743Z] Step 2/21 : FROM ${BASE} as builder [2023-04-06T14:57:41.743Z] latest: Pulling from edgex-devops/edgex-gcc-base [2023-04-06T14:57:41.743Z] 213ec9aee27d: Pulling fs layer [2023-04-06T14:57:41.743Z] 0f09ad1b1b37: Pulling fs layer [2023-04-06T14:57:42.005Z] 213ec9aee27d: Verifying Checksum [2023-04-06T14:57:42.005Z] 213ec9aee27d: Download complete [2023-04-06T14:57:42.005Z] 213ec9aee27d: Pull complete [2023-04-06T14:57:42.573Z] 0f09ad1b1b37: Verifying Checksum [2023-04-06T14:57:42.573Z] 0f09ad1b1b37: Download complete [2023-04-06T14:57:45.960Z] 0f09ad1b1b37: Pull complete [2023-04-06T14:57:45.960Z] Digest: sha256:64e9d1beac36a0037884aaf44bcf94b2de593689edef1cdaec9f2b2ef7c7c108 [2023-04-06T14:57:45.960Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [2023-04-06T14:57:45.960Z] ---> b2bbfebb3566 [2023-04-06T14:57:45.960Z] 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-04-06T14:57:47.870Z] ---> Running in c7f45f349bd8 [2023-04-06T14:57:47.870Z] Connecting to iotech.jfrog.io (52.49.55.68:443) [2023-04-06T14:57:48.129Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-04-06T14:57:48.129Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-04-06T14:57:48.129Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-04-06T14:57:48.390Z] Removing intermediate container c7f45f349bd8 [2023-04-06T14:57:48.390Z] ---> f54062583b53 [2023-04-06T14:57:48.390Z] Step 4/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-04-06T14:57:48.649Z] ---> Running in 8da85905af94 [2023-04-06T14:57:49.216Z] Removing intermediate container 8da85905af94 [2023-04-06T14:57:49.216Z] ---> 865c9f1e4e0b [2023-04-06T14:57:49.216Z] Step 5/21 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml-dev curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev libcbor-dev paho-mqtt-c-dev-1.3 iotech-iot-1.5-dev hiredis-dev [2023-04-06T14:57:49.216Z] ---> Running in 10aa2e55c30f [2023-04-06T14:57:49.476Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-04-06T14:57:49.476Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-04-06T14:57:49.734Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/x86_64/APKINDEX.tar.gz [2023-04-06T14:57:50.301Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-04-06T14:57:50.301Z] (1/14) Installing hiredis (1.0.2-r0) [2023-04-06T14:57:50.301Z] (2/14) Installing hiredis-dev (1.0.2-r0) [2023-04-06T14:57:50.560Z] (3/14) Installing iotech-iot-1.5 (1.5.0-r0) [2023-04-06T14:57:51.127Z] (4/14) Installing iotech-iot-1.5-dev (1.5.0-r0) [2023-04-06T14:57:51.385Z] (5/14) Installing libcbor (0.9.0-r1) [2023-04-06T14:57:51.385Z] (6/14) Installing libcbor-dev (0.9.0-r1) [2023-04-06T14:57:51.385Z] (7/14) Installing ncurses-dev (6.3_p20220521-r0) [2023-04-06T14:57:51.385Z] (8/14) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) [2023-04-06T14:57:52.320Z] (9/14) Installing libblkid (2.38-r1) [2023-04-06T14:57:52.320Z] (10/14) Installing libuuid (2.38-r1) [2023-04-06T14:57:52.320Z] (11/14) Installing libfdisk (2.38-r1) [2023-04-06T14:57:52.320Z] (12/14) Installing libmount (2.38-r1) [2023-04-06T14:57:52.320Z] (13/14) Installing libsmartcols (2.38-r1) [2023-04-06T14:57:52.320Z] (14/14) Installing util-linux-dev (2.38-r1) [2023-04-06T14:57:52.320Z] Executing busybox-1.35.0-r17.trigger [2023-04-06T14:57:52.320Z] OK: 280 MiB in 90 packages [2023-04-06T14:57:52.886Z] Removing intermediate container 10aa2e55c30f [2023-04-06T14:57:52.886Z] ---> 541aa8b87cb6 [2023-04-06T14:57:52.886Z] Step 6/21 : RUN mkdir /tmp/sdk [2023-04-06T14:57:52.886Z] ---> Running in 7884644fe74b [2023-04-06T14:57:53.453Z] Removing intermediate container 7884644fe74b [2023-04-06T14:57:53.453Z] ---> a066197f78f8 [2023-04-06T14:57:53.453Z] Step 7/21 : COPY VERSION /tmp/sdk [2023-04-06T14:57:53.713Z] ---> c33ea6d87531 [2023-04-06T14:57:53.713Z] Step 8/21 : COPY src /tmp/sdk/src [2023-04-06T14:57:53.713Z] ---> 53995a9988ea [2023-04-06T14:57:53.713Z] Step 9/21 : COPY include /tmp/sdk/include [2023-04-06T14:57:53.972Z] ---> b12da5da5c04 [2023-04-06T14:57:53.972Z] Step 10/21 : COPY scripts /tmp/sdk/scripts [2023-04-06T14:57:53.972Z] ---> b73bd07ca50d [2023-04-06T14:57:53.972Z] Step 11/21 : COPY LICENSE /tmp/sdk [2023-04-06T14:57:54.231Z] ---> 0bdcaa4da040 [2023-04-06T14:57:54.231Z] Step 12/21 : COPY Attribution.txt /tmp/sdk [2023-04-06T14:57:54.231Z] ---> 18430cdf1559 [2023-04-06T14:57:54.231Z] Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2023-04-06T14:57:54.491Z] ---> Running in cd852f678837 [2023-04-06T14:57:54.752Z] + CPPCHECK=false [2023-04-06T14:57:54.752Z] + DOCGEN=false [2023-04-06T14:57:54.752Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2023-04-06T14:57:54.752Z] + TOMLVER=SDK-0.2 [2023-04-06T14:57:54.752Z] + CUTILVER=1.4 [2023-04-06T14:57:54.752Z] + '[' 0 -gt 0 ] [2023-04-06T14:57:54.752Z] + readlink -f ./scripts/build.sh [2023-04-06T14:57:54.752Z] + dirname /tmp/sdk/scripts/build.sh [2023-04-06T14:57:54.752Z] + dirname /tmp/sdk/scripts [2023-04-06T14:57:54.752Z] + ROOT=/tmp/sdk [2023-04-06T14:57:54.752Z] + cd /tmp/sdk [2023-04-06T14:57:54.752Z] + '[' '!' -d deps ] [2023-04-06T14:57:54.752Z] + mkdir deps [2023-04-06T14:57:54.752Z] + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2023-04-06T14:57:54.752Z] + tar -C deps -z -x -f - [2023-04-06T14:57:54.752Z] Connecting to github.com (140.82.112.3:443) [2023-04-06T14:57:54.752Z] Connecting to codeload.github.com (140.82.113.10:443) [2023-04-06T14:57:54.983Z] Still waiting to schedule task [2023-04-06T14:57:54.984Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-04-06T14:57:55.011Z] writing to stdout [2023-04-06T14:57:55.011Z] - 100% |********************************| 16451 0:00:00 ETA [2023-04-06T14:57:55.011Z] written to stdout [2023-04-06T14:57:55.011Z] + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c [2023-04-06T14:57:55.011Z] + mkdir -p /tmp/sdk/build/release [2023-04-06T14:57:55.011Z] + cd /tmp/sdk/build/release [2023-04-06T14:57:55.011Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2023-04-06T14:57:55.011Z] -- The C compiler identification is GNU 11.2.1 [2023-04-06T14:57:55.011Z] -- Detecting C compiler ABI info [2023-04-06T14:57:55.270Z] -- Detecting C compiler ABI info - done [2023-04-06T14:57:55.270Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-04-06T14:57:55.270Z] -- Detecting C compile features [2023-04-06T14:57:55.270Z] -- Detecting C compile features - done [2023-04-06T14:57:55.270Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-04-06T14:57:55.270Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.83.1") [2023-04-06T14:57:55.270Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-04-06T14:57:55.270Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-04-06T14:57:55.270Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-04-06T14:57:55.270Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-04-06T14:57:55.270Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-04-06T14:57:55.270Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2023-04-06T14:57:55.270Z] -- /opt/iotech/iot/1.5/include [2023-04-06T14:57:55.270Z] -- C SDK 0.0.0 for Linux [2023-04-06T14:57:55.270Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-04-06T14:57:55.270Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-04-06T14:57:55.529Z] -- Found Curses: /usr/lib/libcurses.so [2023-04-06T14:57:55.529Z] -- Configuring done [2023-04-06T14:57:55.529Z] -- Generating done [2023-04-06T14:57:55.529Z] -- Build files have been written to: /tmp/sdk/build/release [2023-04-06T14:57:55.529Z] + make all package [2023-04-06T14:57:55.529Z] + tee release.log [2023-04-06T14:57:55.529Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-04-06T14:57:55.529Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2023-04-06T14:57:55.788Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2023-04-06T14:57:56.047Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2023-04-06T14:57:56.047Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2023-04-06T14:57:56.306Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2023-04-06T14:57:56.566Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2023-04-06T14:57:56.825Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2023-04-06T14:57:56.825Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2023-04-06T14:57:57.085Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2023-04-06T14:57:57.344Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2023-04-06T14:57:57.344Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2023-04-06T14:57:57.604Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2023-04-06T14:57:57.604Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2023-04-06T14:57:57.863Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2023-04-06T14:57:57.863Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2023-04-06T14:57:58.430Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2023-04-06T14:57:58.430Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2023-04-06T14:57:58.689Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2023-04-06T14:57:58.948Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2023-04-06T14:57:59.888Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2023-04-06T14:57:59.888Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2023-04-06T14:57:59.888Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2023-04-06T14:58:00.147Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2023-04-06T14:58:00.147Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2023-04-06T14:58:00.406Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2023-04-06T14:58:00.664Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2023-04-06T14:58:00.923Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2023-04-06T14:58:00.923Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2023-04-06T14:58:01.182Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2023-04-06T14:58:01.751Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2023-04-06T14:58:02.318Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2023-04-06T14:58:02.578Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2023-04-06T14:58:02.578Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2023-04-06T14:58:02.578Z] [ 68%] Linking C shared library libcsdk.so [2023-04-06T14:58:02.836Z] [ 68%] Built target csdk [2023-04-06T14:58:02.836Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2023-04-06T14:58:02.836Z] [ 72%] Linking C executable template [2023-04-06T14:58:03.094Z] [ 72%] Built target template [2023-04-06T14:58:03.094Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2023-04-06T14:58:03.094Z] [ 76%] Linking C executable device-counter [2023-04-06T14:58:03.094Z] [ 76%] Built target device-counter [2023-04-06T14:58:03.094Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2023-04-06T14:58:03.352Z] [ 80%] Linking C executable device-random [2023-04-06T14:58:03.352Z] [ 80%] Built target device-random [2023-04-06T14:58:03.352Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2023-04-06T14:58:03.352Z] [ 84%] Linking C executable device-gyro [2023-04-06T14:58:03.610Z] [ 84%] Built target device-gyro [2023-04-06T14:58:03.610Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2023-04-06T14:58:03.610Z] [ 88%] Linking C executable device-bitfields [2023-04-06T14:58:03.610Z] [ 88%] Built target device-bitfields [2023-04-06T14:58:03.610Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2023-04-06T14:58:03.868Z] [ 92%] Linking C executable template-discovery [2023-04-06T14:58:03.868Z] [ 92%] Built target template-discovery [2023-04-06T14:58:03.868Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2023-04-06T14:58:04.125Z] [ 96%] Linking C executable device-file [2023-04-06T14:58:04.125Z] [ 96%] Built target device-file [2023-04-06T14:58:04.125Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2023-04-06T14:58:04.125Z] [100%] Linking C executable device-terminal [2023-04-06T14:58:04.385Z] [100%] Built target device-terminal [2023-04-06T14:58:04.385Z] Run CPack packaging tool... [2023-04-06T14:58:04.385Z] CPack: Create package using TGZ [2023-04-06T14:58:04.385Z] CPack: Install projects [2023-04-06T14:58:04.385Z] CPack: - Run preinstall target for: Csdk [2023-04-06T14:58:04.644Z] CPack: - Install project: Csdk [] [2023-04-06T14:58:04.644Z] CPack: Create package [2023-04-06T14:58:04.644Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2023-04-06T14:58:04.644Z] + '[' false '=' true ] [2023-04-06T14:58:04.644Z] + '[' false '=' true ] [2023-04-06T14:58:04.644Z] + mkdir -p /tmp/sdk/build/debug [2023-04-06T14:58:04.644Z] + cd /tmp/sdk/build/debug [2023-04-06T14:58:04.644Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2023-04-06T14:58:04.644Z] -- The C compiler identification is GNU 11.2.1 [2023-04-06T14:58:04.644Z] -- Detecting C compiler ABI info [2023-04-06T14:58:04.644Z] -- Detecting C compiler ABI info - done [2023-04-06T14:58:04.904Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-04-06T14:58:04.904Z] -- Detecting C compile features [2023-04-06T14:58:04.904Z] -- Detecting C compile features - done [2023-04-06T14:58:04.904Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-04-06T14:58:04.904Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.83.1") [2023-04-06T14:58:04.904Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-04-06T14:58:04.904Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-04-06T14:58:04.904Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-04-06T14:58:04.904Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-04-06T14:58:04.904Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-04-06T14:58:04.904Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2023-04-06T14:58:04.904Z] -- /opt/iotech/iot/1.5/include [2023-04-06T14:58:04.904Z] -- C SDK 0.0.0 for Linux [2023-04-06T14:58:04.904Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-04-06T14:58:04.904Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-04-06T14:58:04.904Z] -- Found Curses: /usr/lib/libcurses.so [2023-04-06T14:58:04.904Z] -- Configuring done [2023-04-06T14:58:04.904Z] -- Generating done [2023-04-06T14:58:04.904Z] -- Build files have been written to: /tmp/sdk/build/debug [2023-04-06T14:58:04.904Z] + make [2023-04-06T14:58:04.904Z] + tee debug.log [2023-04-06T14:58:05.162Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-04-06T14:58:05.162Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2023-04-06T14:58:05.162Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2023-04-06T14:58:05.422Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2023-04-06T14:58:05.422Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2023-04-06T14:58:05.422Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2023-04-06T14:58:05.682Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2023-04-06T14:58:05.682Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2023-04-06T14:58:05.682Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2023-04-06T14:58:05.682Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2023-04-06T14:58:05.941Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2023-04-06T14:58:05.941Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2023-04-06T14:58:06.200Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2023-04-06T14:58:06.200Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2023-04-06T14:58:06.200Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2023-04-06T14:58:06.200Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2023-04-06T14:58:06.461Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2023-04-06T14:58:06.461Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2023-04-06T14:58:06.461Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2023-04-06T14:58:06.721Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2023-04-06T14:58:06.978Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2023-04-06T14:58:06.978Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2023-04-06T14:58:06.978Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2023-04-06T14:58:07.239Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2023-04-06T14:58:07.239Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2023-04-06T14:58:07.239Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2023-04-06T14:58:07.499Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2023-04-06T14:58:07.499Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2023-04-06T14:58:07.758Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2023-04-06T14:58:07.758Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2023-04-06T14:58:08.017Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2023-04-06T14:58:08.017Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2023-04-06T14:58:08.277Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2023-04-06T14:58:08.277Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2023-04-06T14:58:08.277Z] [ 68%] Linking C shared library libcsdk.so [2023-04-06T14:58:08.277Z] [ 68%] Built target csdk [2023-04-06T14:58:08.277Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2023-04-06T14:58:08.535Z] [ 72%] Linking C executable template [2023-04-06T14:58:08.535Z] [ 72%] Built target template [2023-04-06T14:58:08.535Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2023-04-06T14:58:08.535Z] [ 76%] Linking C executable device-counter [2023-04-06T14:58:08.794Z] [ 76%] Built target device-counter [2023-04-06T14:58:08.794Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2023-04-06T14:58:08.794Z] [ 80%] Linking C executable device-random [2023-04-06T14:58:08.794Z] [ 80%] Built target device-random [2023-04-06T14:58:08.794Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2023-04-06T14:58:08.794Z] [ 84%] Linking C executable device-gyro [2023-04-06T14:58:09.053Z] [ 84%] Built target device-gyro [2023-04-06T14:58:09.053Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2023-04-06T14:58:09.053Z] [ 88%] Linking C executable device-bitfields [2023-04-06T14:58:09.053Z] [ 88%] Built target device-bitfields [2023-04-06T14:58:09.053Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2023-04-06T14:58:09.312Z] [ 92%] Linking C executable template-discovery [2023-04-06T14:58:09.312Z] [ 92%] Built target template-discovery [2023-04-06T14:58:09.312Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2023-04-06T14:58:09.312Z] [ 96%] Linking C executable device-file [2023-04-06T14:58:09.571Z] [ 96%] Built target device-file [2023-04-06T14:58:09.572Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2023-04-06T14:58:09.572Z] [100%] Linking C executable device-terminal [2023-04-06T14:58:09.572Z] [100%] Built target device-terminal [2023-04-06T14:58:09.572Z] make: Entering directory '/tmp/sdk/build/release' [2023-04-06T14:58:09.572Z] make[1]: Entering directory '/tmp/sdk/build/release' [2023-04-06T14:58:09.572Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-04-06T14:58:09.572Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-04-06T14:58:09.572Z] [ 68%] Built target csdk [2023-04-06T14:58:09.572Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-04-06T14:58:09.572Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-04-06T14:58:09.572Z] [ 72%] Built target template [2023-04-06T14:58:09.572Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-04-06T14:58:09.828Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-04-06T14:58:09.828Z] [ 76%] Built target device-counter [2023-04-06T14:58:09.828Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-04-06T14:58:09.828Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-04-06T14:58:09.828Z] [ 80%] Built target device-random [2023-04-06T14:58:09.828Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-04-06T14:58:09.828Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-04-06T14:58:09.828Z] [ 84%] Built target device-gyro [2023-04-06T14:58:09.828Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-04-06T14:58:09.828Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-04-06T14:58:09.828Z] [ 88%] Built target device-bitfields [2023-04-06T14:58:09.828Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-04-06T14:58:09.828Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-04-06T14:58:09.828Z] [ 92%] Built target template-discovery [2023-04-06T14:58:09.828Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-04-06T14:58:09.828Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-04-06T14:58:09.828Z] [ 96%] Built target device-file [2023-04-06T14:58:09.828Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-04-06T14:58:09.828Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-04-06T14:58:09.828Z] [100%] Built target device-terminal [2023-04-06T14:58:09.828Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2023-04-06T14:58:09.828Z] Install the project... [2023-04-06T14:58:09.828Z] -- Install configuration: "Release" [2023-04-06T14:58:09.828Z] -- Installing: /usr/local/lib/libcsdk.so [2023-04-06T14:58:09.828Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2023-04-06T14:58:09.828Z] -- Installing: /usr/local/include [2023-04-06T14:58:09.828Z] -- Installing: /usr/local/include/devsdk [2023-04-06T14:58:09.828Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2023-04-06T14:58:09.828Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2023-04-06T14:58:09.828Z] -- Installing: /usr/local/include/edgex [2023-04-06T14:58:09.828Z] -- Installing: /usr/local/include/edgex/edgex.h [2023-04-06T14:58:09.828Z] -- Installing: /usr/local/include/edgex/devices.h [2023-04-06T14:58:09.828Z] -- Installing: /usr/local/include/edgex/profiles.h [2023-04-06T14:58:09.828Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2023-04-06T14:58:09.828Z] -- Installing: /usr/local/include/edgex/rest-server.h [2023-04-06T14:58:09.828Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2023-04-06T14:58:09.828Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2023-04-06T14:58:09.828Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2023-04-06T14:58:09.828Z] make: Leaving directory '/tmp/sdk/build/release' [2023-04-06T14:58:10.400Z] Removing intermediate container cd852f678837 [2023-04-06T14:58:10.400Z] ---> 6be563a9f734 [2023-04-06T14:58:10.400Z] Step 14/21 : FROM ${BASE} [2023-04-06T14:58:10.400Z] ---> b2bbfebb3566 [2023-04-06T14:58:10.400Z] Step 15/21 : LABEL maintainer="IOTech " [2023-04-06T14:58:10.400Z] ---> Running in 11650ec7a281 [2023-04-06T14:58:10.661Z] Removing intermediate container 11650ec7a281 [2023-04-06T14:58:10.661Z] ---> cd85b9d79c74 [2023-04-06T14:58:10.661Z] 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-04-06T14:58:10.661Z] ---> Running in 7c46d1ba31dc [2023-04-06T14:58:10.920Z] Connecting to iotech.jfrog.io (52.49.55.68:443) [2023-04-06T14:58:11.179Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-04-06T14:58:11.179Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-04-06T14:58:11.179Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-04-06T14:58:11.438Z] Removing intermediate container 7c46d1ba31dc [2023-04-06T14:58:11.438Z] ---> dc75039c36be [2023-04-06T14:58:11.438Z] Step 17/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-04-06T14:58:11.438Z] ---> Running in 0abb212ea32c [2023-04-06T14:58:12.004Z] Removing intermediate container 0abb212ea32c [2023-04-06T14:58:12.004Z] ---> 11b1aef10500 [2023-04-06T14:58:12.004Z] 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-04-06T14:58:12.004Z] ---> Running in 9623b9633af2 [2023-04-06T14:58:12.263Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-04-06T14:58:12.521Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-04-06T14:58:12.780Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/x86_64/APKINDEX.tar.gz [2023-04-06T14:58:13.347Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-04-06T14:58:13.347Z] (1/7) Installing curl (7.83.1-r6) [2023-04-06T14:58:13.347Z] (2/7) Installing hiredis (1.0.2-r0) [2023-04-06T14:58:13.347Z] (3/7) Installing hiredis-dev (1.0.2-r0) [2023-04-06T14:58:13.347Z] (4/7) Installing iotech-iot-1.4 (1.4.1-r0) [2023-04-06T14:58:13.915Z] (5/7) Installing libcbor (0.9.0-r1) [2023-04-06T14:58:13.915Z] (6/7) Installing libuuid (2.38-r1) [2023-04-06T14:58:13.915Z] (7/7) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) [2023-04-06T14:58:14.853Z] Executing busybox-1.35.0-r17.trigger [2023-04-06T14:58:14.853Z] OK: 275 MiB in 83 packages [2023-04-06T14:58:15.113Z] Removing intermediate container 9623b9633af2 [2023-04-06T14:58:15.113Z] ---> 628e97142444 [2023-04-06T14:58:15.113Z] Step 19/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2023-04-06T14:58:15.113Z] ---> 8c841f105d85 [2023-04-06T14:58:15.113Z] Step 20/21 : COPY --from=builder /usr/local/lib /usr/local/lib [2023-04-06T14:58:15.372Z] ---> d813e1b03dc2 [2023-04-06T14:58:15.372Z] Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2023-04-06T14:58:15.372Z] ---> 2ba493122a39 [2023-04-06T14:58:15.372Z] Successfully built 2ba493122a39 [2023-04-06T14:58:15.372Z] 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-04-06T14:58:16.040Z] + docker inspect -f . ci-base-image-x86_64 [2023-04-06T14:58:16.040Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-06T14:58:16.185Z] prd-ubuntu20.04-docker-8c-8g-7010 does not seem to be running inside a container [2023-04-06T14:58:16.223Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-c_PR-453 -v /w/workspace/edgexfoundry_device-sdk-c_PR-453:/w/workspace/edgexfoundry_device-sdk-c_PR-453:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-453@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-453@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-x86_64 cat [2023-04-06T14:58:16.555Z] $ docker top f24aa21682b7988662266252241a794849ef36298dacb6cdac2a3797312bf7cd -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-06T14:58:16.948Z] + make test [2023-04-06T14:58:16.948Z] echo "make test" [2023-04-06T14:58:16.949Z] make test [Pipeline] } [2023-04-06T14:58:16.985Z] $ docker stop --time=1 f24aa21682b7988662266252241a794849ef36298dacb6cdac2a3797312bf7cd [2023-04-06T14:58:18.264Z] $ docker rm -f --volumes f24aa21682b7988662266252241a794849ef36298dacb6cdac2a3797312bf7cd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-06T14:58:19.077Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-04-06T14:58:19.386Z] + ls -al . [2023-04-06T14:58:19.386Z] total 212 [2023-04-06T14:58:19.386Z] drwxrwxr-x 9 jenkins jenkins 4096 Apr 6 14:57 . [2023-04-06T14:58:19.386Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 6 14:57 .. [2023-04-06T14:58:19.386Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 6 14:57 .git [2023-04-06T14:58:19.386Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 6 14:57 .github [2023-04-06T14:58:19.386Z] -rw-rw-r-- 1 jenkins jenkins 176 Apr 6 14:57 .gitignore [2023-04-06T14:58:19.386Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 6 14:57 .semver [2023-04-06T14:58:19.386Z] -rw-rw-r-- 1 jenkins jenkins 3104 Apr 6 14:57 Attribution.txt [2023-04-06T14:58:19.386Z] -rw-rw-r-- 1 jenkins jenkins 8743 Apr 6 14:57 CHANGES [2023-04-06T14:58:19.386Z] -rw-rw-r-- 1 jenkins jenkins 108574 Apr 6 14:57 Doxyfile [2023-04-06T14:58:19.386Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 6 14:57 GOVERNANCE.md [2023-04-06T14:58:19.386Z] -rw-rw-r-- 1 jenkins jenkins 784 Apr 6 14:57 Jenkinsfile [2023-04-06T14:58:19.386Z] -rw-rw-r-- 1 jenkins jenkins 10174 Apr 6 14:57 LICENSE [2023-04-06T14:58:19.386Z] -rw-rw-r-- 1 jenkins jenkins 444 Apr 6 14:57 Makefile [2023-04-06T14:58:19.386Z] -rw-rw-r-- 1 jenkins jenkins 618 Apr 6 14:57 OWNERS.md [2023-04-06T14:58:19.386Z] -rw-rw-r-- 1 jenkins jenkins 1651 Apr 6 14:57 README.IOT.md [2023-04-06T14:58:19.386Z] -rw-rw-r-- 1 jenkins jenkins 4215 Apr 6 14:57 README.md [2023-04-06T14:58:19.386Z] -rw-rw-r-- 1 jenkins jenkins 1245 Apr 6 14:57 README.v3.md [2023-04-06T14:58:19.386Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 6 14:57 VERSION [2023-04-06T14:58:19.386Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 6 14:57 docs [2023-04-06T14:58:19.386Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 6 14:57 include [2023-04-06T14:58:19.386Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 6 14:57 scripts [2023-04-06T14:58:19.386Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 6 14:57 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-06T14:58:19.778Z] + 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=79809f9ddfe1f96c0824338f8296ea4a141a28e3 --label arch=amd64 --label version=0.0.0 . [2023-04-06T14:58:19.778Z] Sending build context to Docker daemon 4.816MB [2023-04-06T14:58:19.778Z] Step 1/17 : ARG BASE=alpine:3.16 [2023-04-06T14:58:19.778Z] Step 2/17 : FROM ${BASE} [2023-04-06T14:58:19.778Z] ---> 2ba493122a39 [2023-04-06T14:58:19.778Z] Step 3/17 : LABEL maintainer="IOTech " [2023-04-06T14:58:19.778Z] ---> Running in 15f3dc07eaa7 [2023-04-06T14:58:19.778Z] Removing intermediate container 15f3dc07eaa7 [2023-04-06T14:58:19.778Z] ---> b4d9891b87a4 [2023-04-06T14:58:19.778Z] 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-04-06T14:58:20.037Z] ---> Running in 084e60b13160 [2023-04-06T14:58:20.295Z] Connecting to iotech.jfrog.io (52.49.145.60:443) [2023-04-06T14:58:20.554Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-04-06T14:58:20.554Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-04-06T14:58:20.554Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-04-06T14:58:20.814Z] Removing intermediate container 084e60b13160 [2023-04-06T14:58:20.814Z] ---> de88172aaf58 [2023-04-06T14:58:20.814Z] Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-04-06T14:58:20.814Z] ---> Running in c97763ce4f8c [2023-04-06T14:58:21.382Z] Removing intermediate container c97763ce4f8c [2023-04-06T14:58:21.382Z] ---> 9c46c0ace8aa [2023-04-06T14:58:21.382Z] Step 6/17 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml-dev curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev libcbor-dev paho-mqtt-c-dev-1.3 hiredis-dev iotech-iot-1.5-dev && mkdir -p /edgex-c-sdk/build [2023-04-06T14:58:21.382Z] ---> Running in 2b6d024e1874 [2023-04-06T14:58:21.641Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-04-06T14:58:21.641Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-04-06T14:58:21.902Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/x86_64/APKINDEX.tar.gz [2023-04-06T14:58:22.161Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-04-06T14:58:22.161Z] (1/9) Installing iotech-iot-1.5 (1.5.0-r0) [2023-04-06T14:58:22.730Z] (2/9) Installing iotech-iot-1.5-dev (1.5.0-r0) [2023-04-06T14:58:22.730Z] (3/9) Installing libcbor-dev (0.9.0-r1) [2023-04-06T14:58:22.730Z] (4/9) Installing ncurses-dev (6.3_p20220521-r0) [2023-04-06T14:58:22.730Z] (5/9) Installing libblkid (2.38-r1) [2023-04-06T14:58:22.730Z] (6/9) Installing libfdisk (2.38-r1) [2023-04-06T14:58:22.730Z] (7/9) Installing libmount (2.38-r1) [2023-04-06T14:58:22.730Z] (8/9) Installing libsmartcols (2.38-r1) [2023-04-06T14:58:22.730Z] (9/9) Installing util-linux-dev (2.38-r1) [2023-04-06T14:58:22.730Z] Executing busybox-1.35.0-r17.trigger [2023-04-06T14:58:22.730Z] OK: 281 MiB in 92 packages [2023-04-06T14:58:23.306Z] Removing intermediate container 2b6d024e1874 [2023-04-06T14:58:23.306Z] ---> 519b38436121 [2023-04-06T14:58:23.306Z] Step 7/17 : COPY VERSION /edgex-c-sdk/ [2023-04-06T14:58:23.306Z] ---> b38c9c1e929c [2023-04-06T14:58:23.306Z] Step 8/17 : COPY src /edgex-c-sdk/src/ [2023-04-06T14:58:23.572Z] ---> 30b11bb68258 [2023-04-06T14:58:23.572Z] Step 9/17 : COPY include /edgex-c-sdk/include/ [2023-04-06T14:58:23.572Z] ---> 5d5ffc755886 [2023-04-06T14:58:23.572Z] Step 10/17 : COPY scripts /edgex-c-sdk/scripts [2023-04-06T14:58:23.831Z] ---> 53a97122c0f5 [2023-04-06T14:58:23.831Z] Step 11/17 : COPY LICENSE /edgex-c-sdk/ [2023-04-06T14:58:23.831Z] ---> 54b1748360f0 [2023-04-06T14:58:23.831Z] Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ [2023-04-06T14:58:24.089Z] ---> dc7292d9561f [2023-04-06T14:58:24.089Z] Step 13/17 : WORKDIR /edgex-c-sdk [2023-04-06T14:58:24.089Z] ---> Running in f3b2fef56747 [2023-04-06T14:58:24.089Z] Removing intermediate container f3b2fef56747 [2023-04-06T14:58:24.089Z] ---> 108f912c714c [2023-04-06T14:58:24.089Z] Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2023-04-06T14:58:24.089Z] ---> Running in d796a7ef4766 [2023-04-06T14:58:24.089Z] Removing intermediate container d796a7ef4766 [2023-04-06T14:58:24.089Z] ---> ed1afe944405 [2023-04-06T14:58:24.089Z] Step 15/17 : LABEL arch=amd64 [2023-04-06T14:58:24.089Z] ---> Running in 99bddd9dc6e3 [2023-04-06T14:58:24.348Z] Removing intermediate container 99bddd9dc6e3 [2023-04-06T14:58:24.348Z] ---> 71f49a9680c2 [2023-04-06T14:58:24.348Z] Step 16/17 : LABEL git_sha=79809f9ddfe1f96c0824338f8296ea4a141a28e3 [2023-04-06T14:58:24.348Z] ---> Running in 4e0305e1436d [2023-04-06T14:58:24.348Z] Removing intermediate container 4e0305e1436d [2023-04-06T14:58:24.348Z] ---> 5c2d57d32b17 [2023-04-06T14:58:24.348Z] Step 17/17 : LABEL version=0.0.0 [2023-04-06T14:58:24.348Z] ---> Running in 983fedfc208a [2023-04-06T14:58:24.348Z] Removing intermediate container 983fedfc208a [2023-04-06T14:58:24.348Z] ---> 9d1bc9666e6c [2023-04-06T14:58:24.348Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2023-04-06T14:58:24.348Z] Successfully built 9d1bc9666e6c [2023-04-06T14:58:24.348Z] 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-04-06T14:58:25.262Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-06T14:58:25.262Z] [2023-04-06T14:58:25.262Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-06T14:58:25.641Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-06T14:58:25.641Z] latest: Pulling from edgex-lftools-log-publisher [2023-04-06T14:58:25.641Z] 5eb5b503b376: Pulling fs layer [2023-04-06T14:58:25.641Z] 5c69ac0246d0: Pulling fs layer [2023-04-06T14:58:25.641Z] ec43610c2a17: Pulling fs layer [2023-04-06T14:58:25.641Z] 3a2ae6a8a46f: Pulling fs layer [2023-04-06T14:58:25.641Z] 33b1e0a273af: Pulling fs layer [2023-04-06T14:58:25.641Z] 5d3b04190fa2: Pulling fs layer [2023-04-06T14:58:25.641Z] 2f39f015ded8: Pulling fs layer [2023-04-06T14:58:25.641Z] 3a2ae6a8a46f: Waiting [2023-04-06T14:58:25.641Z] 33b1e0a273af: Waiting [2023-04-06T14:58:25.641Z] 5c69ac0246d0: Verifying Checksum [2023-04-06T14:58:25.641Z] 5c69ac0246d0: Download complete [2023-04-06T14:58:25.641Z] 3a2ae6a8a46f: Download complete [2023-04-06T14:58:25.641Z] 33b1e0a273af: Verifying Checksum [2023-04-06T14:58:25.641Z] 33b1e0a273af: Download complete [2023-04-06T14:58:25.901Z] 5d3b04190fa2: Download complete [2023-04-06T14:58:25.901Z] ec43610c2a17: Verifying Checksum [2023-04-06T14:58:25.901Z] ec43610c2a17: Download complete [2023-04-06T14:58:25.901Z] 5eb5b503b376: Verifying Checksum [2023-04-06T14:58:25.901Z] 5eb5b503b376: Download complete [2023-04-06T14:58:26.469Z] 2f39f015ded8: Download complete [2023-04-06T14:58:27.035Z] 5eb5b503b376: Pull complete [2023-04-06T14:58:27.293Z] 5c69ac0246d0: Pull complete [2023-04-06T14:58:27.551Z] ec43610c2a17: Pull complete [2023-04-06T14:58:27.813Z] 3a2ae6a8a46f: Pull complete [2023-04-06T14:58:28.072Z] 33b1e0a273af: Pull complete [2023-04-06T14:58:28.072Z] 5d3b04190fa2: Pull complete [2023-04-06T14:58:32.258Z] 2f39f015ded8: Pull complete [2023-04-06T14:58:32.258Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-04-06T14:58:32.258Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-06T14:58:32.258Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-06T14:58:32.481Z] prd-ubuntu20.04-docker-8c-8g-7010 does not seem to be running inside a container [2023-04-06T14:58:32.512Z] $ 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-453 -v /w/workspace/edgexfoundry_device-sdk-c_PR-453:/w/workspace/edgexfoundry_device-sdk-c_PR-453:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-453@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-453@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:latest cat [2023-04-06T14:58:35.933Z] $ docker top ffae30f4c84802d2cc7d4c6e83cd722d1c4af43986333a4d04f9fa2dca32fa4a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-06T14:58:36.392Z] ---> job-cost.sh [2023-04-06T14:58:36.392Z] lf-activate-venv: SKIPPING [2023-04-06T14:58:36.392Z] INFO: No Stack... [2023-04-06T14:58:36.650Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-04-06T14:58:37.220Z] INFO: Archiving Costs [Pipeline] sh [2023-04-06T14:58:37.534Z] + cat /w/workspace/edgexfoundry_device-sdk-c_PR-453/archives/cost.csv [2023-04-06T14:58:37.534Z] + cut -d, -f6 [Pipeline] lock [2023-04-06T14:58:37.582Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-453-1-stack-cost] [2023-04-06T14:58:37.587Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-453-1-stack-cost] did not exist. Created. [2023-04-06T14:58:37.587Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-453-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-04-06T14:58:37.986Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-04-06T14:58:38.050Z] Stashed 1 file(s) [Pipeline] } [2023-04-06T14:58:38.065Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-453-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-04-06T14:58:38.133Z] $ docker stop --time=1 ffae30f4c84802d2cc7d4c6e83cd722d1c4af43986333a4d04f9fa2dca32fa4a [2023-04-06T14:58:39.297Z] $ docker rm -f --volumes ffae30f4c84802d2cc7d4c6e83cd722d1c4af43986333a4d04f9fa2dca32fa4a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-04-06T14:59:26.596Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-7011 in /w/workspace/edgexfoundry_device-sdk-c_PR-453 [Pipeline] { [Pipeline] ws [2023-04-06T14:59:26.655Z] Running in /w/workspace/device-sdk-c/1 [Pipeline] { [Pipeline] checkout [2023-04-06T14:59:26.727Z] Selected Git installation does not exist. Using Default [2023-04-06T14:59:26.727Z] The recommended git tool is: NONE [2023-04-06T14:59:32.364Z] using credential edgex-jenkins-ssh [2023-04-06T14:59:32.380Z] Cloning the remote Git repository [2023-04-06T14:59:32.426Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2023-04-06T14:59:32.527Z] > git init /w/workspace/device-sdk-c/1 # timeout=10 [2023-04-06T14:59:32.689Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2023-04-06T14:59:32.690Z] > git --version # timeout=10 [2023-04-06T14:59:32.716Z] > git --version # 'git version 2.25.1' [2023-04-06T14:59:32.723Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-06T14:59:32.895Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-04-06T14:59:33.995Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2023-04-06T14:59:34.014Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-04-06T14:59:34.889Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2023-04-06T14:59:34.929Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2023-04-06T14:59:34.930Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-06T14:59:34.947Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/453/head:refs/remotes/origin/PR-453 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-04-06T14:59:35.542Z] Merging remotes/origin/main commit 70adbc05d5985df01ef9d9c351b6d02d06141faf into PR head commit 79809f9ddfe1f96c0824338f8296ea4a141a28e3 [2023-04-06T14:59:35.896Z] Merge succeeded, producing 79809f9ddfe1f96c0824338f8296ea4a141a28e3 [2023-04-06T14:59:35.896Z] Checking out Revision 79809f9ddfe1f96c0824338f8296ea4a141a28e3 (PR-453) [2023-04-06T14:59:35.556Z] > git config core.sparsecheckout # timeout=10 [2023-04-06T14:59:35.630Z] > git checkout -f 79809f9ddfe1f96c0824338f8296ea4a141a28e3 # timeout=10 [2023-04-06T14:59:35.766Z] > git remote # timeout=10 [2023-04-06T14:59:35.783Z] > git config --get remote.origin.url # timeout=10 [2023-04-06T14:59:35.815Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-06T14:59:35.830Z] > git merge 70adbc05d5985df01ef9d9c351b6d02d06141faf # timeout=10 [2023-04-06T14:59:35.856Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-04-06T14:59:35.901Z] > git config core.sparsecheckout # timeout=10 [2023-04-06T14:59:35.918Z] > git checkout -f 79809f9ddfe1f96c0824338f8296ea4a141a28e3 # timeout=10 [2023-04-06T14:59:39.469Z] Commit message: "refactor!: update secrets transfer object" [2023-04-06T14:59:39.519Z] > git --version # timeout=10 [2023-04-06T14:59:39.530Z] > git --version # 'git version 2.25.1' [2023-04-06T14:59:39.545Z] fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-06T14:59:40.701Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-04-06T14:59:40.701Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-04-06T14:59:40.701Z] Dload Upload Total Spent Left Speed [2023-04-06T14:59:40.701Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 61599 0 --:--:-- --:--:-- --:--:-- 61898 [Pipeline] sh [2023-04-06T14:59:41.455Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-04-06T14:59:41.799Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-04-06T14:59:41.799Z] + sudo tee /etc/docker/daemon.new [2023-04-06T14:59:41.799Z] { [2023-04-06T14:59:41.799Z] "registry-mirrors": [ [2023-04-06T14:59:41.799Z] "https://nexus3.edgexfoundry.org:10001" [2023-04-06T14:59:41.799Z] ], [2023-04-06T14:59:41.799Z] "bip": "10.250.0.254/24", [2023-04-06T14:59:41.799Z] "hosts": [ [2023-04-06T14:59:41.799Z] "tcp://0.0.0.0:5555", [2023-04-06T14:59:41.799Z] "unix:///var/run/docker.sock" [2023-04-06T14:59:41.799Z] ], [2023-04-06T14:59:41.799Z] "mtu": 1458, [2023-04-06T14:59:41.799Z] "selinux-enabled": true, [2023-04-06T14:59:41.799Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-04-06T14:59:41.799Z] } [Pipeline] sh [2023-04-06T14:59:42.140Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-04-06T14:59:42.487Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-06T15:00:00.834Z] provisioning config files... [2023-04-06T15:00:00.863Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/1@tmp/config3993631477471748199tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-06T15:00:01.261Z] ---> docker-login.sh [2023-04-06T15:00:01.261Z] nexus3.edgexfoundry.org:10001 [2023-04-06T15:00:01.851Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-06T15:00:01.851Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-06T15:00:01.851Z] Configure a credential helper to remove this warning. See [2023-04-06T15:00:01.851Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-06T15:00:01.851Z] [2023-04-06T15:00:01.851Z] Login Succeeded [2023-04-06T15:00:01.851Z] nexus3.edgexfoundry.org:10002 [2023-04-06T15:00:02.120Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-06T15:00:02.120Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-06T15:00:02.120Z] Configure a credential helper to remove this warning. See [2023-04-06T15:00:02.120Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-06T15:00:02.120Z] [2023-04-06T15:00:02.120Z] Login Succeeded [2023-04-06T15:00:02.120Z] nexus3.edgexfoundry.org:10003 [2023-04-06T15:00:02.391Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-06T15:00:02.660Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-06T15:00:02.660Z] Configure a credential helper to remove this warning. See [2023-04-06T15:00:02.660Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-06T15:00:02.660Z] [2023-04-06T15:00:02.660Z] Login Succeeded [2023-04-06T15:00:02.660Z] nexus3.edgexfoundry.org:10004 [2023-04-06T15:00:02.933Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-06T15:00:02.933Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-06T15:00:02.933Z] Configure a credential helper to remove this warning. See [2023-04-06T15:00:02.933Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-06T15:00:02.933Z] [2023-04-06T15:00:02.933Z] Login Succeeded [2023-04-06T15:00:02.933Z] docker.io [2023-04-06T15:00:03.205Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-06T15:00:05.153Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-06T15:00:05.153Z] Configure a credential helper to remove this warning. See [2023-04-06T15:00:05.153Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-06T15:00:05.153Z] [2023-04-06T15:00:05.153Z] Login Succeeded [2023-04-06T15:00:05.153Z] ---> docker-login.sh ends [Pipeline] } [2023-04-06T15:00:05.184Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-04-06T15:00:05.627Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-06T15:00:05.657Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-arm64 [Pipeline] echo [2023-04-06T15:00:05.691Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-06T15:00:05.730Z] ========================================================= [2023-04-06T15:00:05.730Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] [2023-04-06T15:00:05.730Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-06T15:00:06.161Z] + 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-04-06T15:00:06.431Z] Sending build context to Docker daemon 2.901MB [2023-04-06T15:00:06.431Z] Step 1/21 : ARG BASE=alpine:3.16 [2023-04-06T15:00:06.431Z] Step 2/21 : FROM ${BASE} as builder [2023-04-06T15:00:06.701Z] latest: Pulling from edgex-devops/edgex-gcc-base-arm64 [2023-04-06T15:00:06.701Z] 9b18e9b68314: Pulling fs layer [2023-04-06T15:00:06.701Z] 1def92ead452: Pulling fs layer [2023-04-06T15:00:06.701Z] 9b18e9b68314: Verifying Checksum [2023-04-06T15:00:06.701Z] 9b18e9b68314: Download complete [2023-04-06T15:00:07.290Z] 9b18e9b68314: Pull complete [2023-04-06T15:00:09.242Z] 1def92ead452: Verifying Checksum [2023-04-06T15:00:09.242Z] 1def92ead452: Download complete [2023-04-06T15:00:17.465Z] 1def92ead452: Pull complete [2023-04-06T15:00:17.465Z] Digest: sha256:3c74c28e8b16bff0b36cfc53656b3ae71c0a9fddc9bd5376ab4c3f9356b3cc6c [2023-04-06T15:00:17.465Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest [2023-04-06T15:00:17.465Z] ---> 9a9802766715 [2023-04-06T15:00:17.465Z] 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-04-06T15:00:17.465Z] ---> Running in fb28ce1835c5 [2023-04-06T15:00:18.878Z] Connecting to iotech.jfrog.io (34.242.55.152:443) [2023-04-06T15:00:19.146Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-04-06T15:00:19.146Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-04-06T15:00:19.146Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-04-06T15:00:19.744Z] Removing intermediate container fb28ce1835c5 [2023-04-06T15:00:19.744Z] ---> 7dd9fdc521ec [2023-04-06T15:00:19.744Z] Step 4/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-04-06T15:00:19.744Z] ---> Running in 5cfa43800f48 [2023-04-06T15:00:21.696Z] Removing intermediate container 5cfa43800f48 [2023-04-06T15:00:21.696Z] ---> a71bf741e2e3 [2023-04-06T15:00:21.696Z] Step 5/21 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml-dev curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev libcbor-dev paho-mqtt-c-dev-1.3 iotech-iot-1.5-dev hiredis-dev [2023-04-06T15:00:21.696Z] ---> Running in d575c55ef95a [2023-04-06T15:00:22.680Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-04-06T15:00:22.948Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-04-06T15:00:23.534Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/aarch64/APKINDEX.tar.gz [2023-04-06T15:00:24.494Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-04-06T15:00:24.494Z] (1/14) Installing hiredis (1.0.2-r0) [2023-04-06T15:00:24.494Z] (2/14) Installing hiredis-dev (1.0.2-r0) [2023-04-06T15:00:24.761Z] (3/14) Installing iotech-iot-1.5 (1.5.0-r0) [2023-04-06T15:00:25.344Z] (4/14) Installing iotech-iot-1.5-dev (1.5.0-r0) [2023-04-06T15:00:25.613Z] (5/14) Installing libcbor (0.9.0-r1) [2023-04-06T15:00:25.613Z] (6/14) Installing libcbor-dev (0.9.0-r1) [2023-04-06T15:00:25.879Z] (7/14) Installing ncurses-dev (6.3_p20220521-r0) [2023-04-06T15:00:25.879Z] (8/14) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) [2023-04-06T15:00:26.840Z] (9/14) Installing libblkid (2.38-r1) [2023-04-06T15:00:26.840Z] (10/14) Installing libuuid (2.38-r1) [2023-04-06T15:00:26.840Z] (11/14) Installing libfdisk (2.38-r1) [2023-04-06T15:00:26.840Z] (12/14) Installing libmount (2.38-r1) [2023-04-06T15:00:26.840Z] (13/14) Installing libsmartcols (2.38-r1) [2023-04-06T15:00:26.840Z] (14/14) Installing util-linux-dev (2.38-r1) [2023-04-06T15:00:26.840Z] Executing busybox-1.35.0-r17.trigger [2023-04-06T15:00:27.111Z] OK: 286 MiB in 90 packages [2023-04-06T15:00:28.525Z] Removing intermediate container d575c55ef95a [2023-04-06T15:00:28.525Z] ---> ff5d77408553 [2023-04-06T15:00:28.525Z] Step 6/21 : RUN mkdir /tmp/sdk [2023-04-06T15:00:28.525Z] ---> Running in 4bba2a533546 [2023-04-06T15:00:29.942Z] Removing intermediate container 4bba2a533546 [2023-04-06T15:00:29.942Z] ---> 1d88ef4b076c [2023-04-06T15:00:29.942Z] Step 7/21 : COPY VERSION /tmp/sdk [2023-04-06T15:00:30.532Z] ---> 49ff846d28e3 [2023-04-06T15:00:30.532Z] Step 8/21 : COPY src /tmp/sdk/src [2023-04-06T15:00:31.118Z] ---> 2969f8a58eac [2023-04-06T15:00:31.118Z] Step 9/21 : COPY include /tmp/sdk/include [2023-04-06T15:00:31.706Z] ---> 480b149593eb [2023-04-06T15:00:31.706Z] Step 10/21 : COPY scripts /tmp/sdk/scripts [2023-04-06T15:00:32.294Z] ---> 9eec1f724996 [2023-04-06T15:00:32.294Z] Step 11/21 : COPY LICENSE /tmp/sdk [2023-04-06T15:00:32.561Z] ---> b9d7e3aed2c0 [2023-04-06T15:00:32.561Z] Step 12/21 : COPY Attribution.txt /tmp/sdk [2023-04-06T15:00:33.161Z] ---> 2cb565094988 [2023-04-06T15:00:33.161Z] Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2023-04-06T15:00:33.161Z] ---> Running in 77842232dca9 [2023-04-06T15:00:34.131Z] + CPPCHECK=false [2023-04-06T15:00:34.131Z] + DOCGEN=false [2023-04-06T15:00:34.131Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2023-04-06T15:00:34.131Z] + TOMLVER=SDK-0.2 [2023-04-06T15:00:34.131Z] + CUTILVER=1.4 [2023-04-06T15:00:34.131Z] + '[' 0 -gt 0 ] [2023-04-06T15:00:34.131Z] + readlink -f ./scripts/build.sh [2023-04-06T15:00:34.131Z] + dirname /tmp/sdk/scripts/build.sh [2023-04-06T15:00:34.131Z] + dirname /tmp/sdk/scripts [2023-04-06T15:00:34.131Z] + ROOT=/tmp/sdk [2023-04-06T15:00:34.131Z] + cd /tmp/sdk [2023-04-06T15:00:34.131Z] + '[' '!' -d deps ] [2023-04-06T15:00:34.131Z] + mkdir deps [2023-04-06T15:00:34.131Z] + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2023-04-06T15:00:34.131Z] + tar -C deps -z -x -f - [2023-04-06T15:00:34.131Z] Connecting to github.com (140.82.112.4:443) [2023-04-06T15:00:34.397Z] Connecting to codeload.github.com (140.82.113.10:443) [2023-04-06T15:00:34.978Z] writing to stdout [2023-04-06T15:00:34.978Z] - 100% |********************************| 16451 0:00:00 ETA [2023-04-06T15:00:34.978Z] written to stdout [2023-04-06T15:00:34.978Z] + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c [2023-04-06T15:00:34.978Z] + mkdir -p /tmp/sdk/build/release [2023-04-06T15:00:34.978Z] + cd /tmp/sdk/build/release [2023-04-06T15:00:34.978Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2023-04-06T15:00:35.246Z] -- The C compiler identification is GNU 11.2.1 [2023-04-06T15:00:35.246Z] -- Detecting C compiler ABI info [2023-04-06T15:00:35.513Z] -- Detecting C compiler ABI info - done [2023-04-06T15:00:35.783Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-04-06T15:00:35.783Z] -- Detecting C compile features [2023-04-06T15:00:35.783Z] -- Detecting C compile features - done [2023-04-06T15:00:35.783Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-04-06T15:00:36.050Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.83.1") [2023-04-06T15:00:36.050Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-04-06T15:00:36.050Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-04-06T15:00:36.050Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-04-06T15:00:36.050Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-04-06T15:00:36.050Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-04-06T15:00:36.050Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2023-04-06T15:00:36.050Z] -- /opt/iotech/iot/1.5/include [2023-04-06T15:00:36.050Z] -- C SDK 0.0.0 for Linux [2023-04-06T15:00:36.050Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-04-06T15:00:36.326Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-04-06T15:00:36.596Z] -- Found Curses: /usr/lib/libcurses.so [2023-04-06T15:00:36.596Z] -- Configuring done [2023-04-06T15:00:36.865Z] -- Generating done [2023-04-06T15:00:36.865Z] -- Build files have been written to: /tmp/sdk/build/release [2023-04-06T15:00:37.135Z] + make all package [2023-04-06T15:00:37.135Z] + tee release.log [2023-04-06T15:00:37.135Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-04-06T15:00:38.094Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2023-04-06T15:00:39.054Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2023-04-06T15:00:40.021Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2023-04-06T15:00:40.980Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2023-04-06T15:00:41.940Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2023-04-06T15:00:45.282Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2023-04-06T15:00:45.866Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2023-04-06T15:00:46.133Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2023-04-06T15:00:47.091Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2023-04-06T15:00:49.670Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2023-04-06T15:00:50.631Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2023-04-06T15:00:51.592Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2023-04-06T15:00:52.554Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2023-04-06T15:00:53.136Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2023-04-06T15:00:53.403Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2023-04-06T15:00:57.659Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2023-04-06T15:00:57.659Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2023-04-06T15:00:58.244Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2023-04-06T15:00:59.651Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2023-04-06T15:01:04.999Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2023-04-06T15:01:05.958Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2023-04-06T15:01:06.225Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2023-04-06T15:01:06.807Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2023-04-06T15:01:07.388Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2023-04-06T15:01:09.333Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2023-04-06T15:01:11.914Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2023-04-06T15:01:12.181Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2023-04-06T15:01:13.138Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2023-04-06T15:01:14.101Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2023-04-06T15:01:17.440Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2023-04-06T15:01:22.776Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2023-04-06T15:01:23.043Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2023-04-06T15:01:23.310Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2023-04-06T15:01:24.267Z] [ 68%] Linking C shared library libcsdk.so [2023-04-06T15:01:24.267Z] [ 68%] Built target csdk [2023-04-06T15:01:24.534Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2023-04-06T15:01:25.500Z] [ 72%] Linking C executable template [2023-04-06T15:01:25.767Z] [ 72%] Built target template [2023-04-06T15:01:25.767Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2023-04-06T15:01:26.350Z] [ 76%] Linking C executable device-counter [2023-04-06T15:01:26.620Z] [ 76%] Built target device-counter [2023-04-06T15:01:26.620Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2023-04-06T15:01:27.203Z] [ 80%] Linking C executable device-random [2023-04-06T15:01:27.470Z] [ 80%] Built target device-random [2023-04-06T15:01:27.736Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2023-04-06T15:01:28.318Z] [ 84%] Linking C executable device-gyro [2023-04-06T15:01:28.582Z] [ 84%] Built target device-gyro [2023-04-06T15:01:28.582Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2023-04-06T15:01:29.165Z] [ 88%] Linking C executable device-bitfields [2023-04-06T15:01:29.431Z] [ 88%] Built target device-bitfields [2023-04-06T15:01:29.431Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2023-04-06T15:01:30.387Z] [ 92%] Linking C executable template-discovery [2023-04-06T15:01:30.653Z] [ 92%] Built target template-discovery [2023-04-06T15:01:30.917Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2023-04-06T15:01:31.497Z] [ 96%] Linking C executable device-file [2023-04-06T15:01:32.078Z] [ 96%] Built target device-file [2023-04-06T15:01:32.078Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2023-04-06T15:01:32.660Z] [100%] Linking C executable device-terminal [2023-04-06T15:01:32.926Z] [100%] Built target device-terminal [2023-04-06T15:01:32.926Z] Run CPack packaging tool... [2023-04-06T15:01:33.192Z] CPack: Create package using TGZ [2023-04-06T15:01:33.192Z] CPack: Install projects [2023-04-06T15:01:33.192Z] CPack: - Run preinstall target for: Csdk [2023-04-06T15:01:33.773Z] CPack: - Install project: Csdk [] [2023-04-06T15:01:33.773Z] CPack: Create package [2023-04-06T15:01:34.039Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2023-04-06T15:01:34.039Z] + '[' false '=' true ] [2023-04-06T15:01:34.039Z] + '[' false '=' true ] [2023-04-06T15:01:34.039Z] + mkdir -p /tmp/sdk/build/debug [2023-04-06T15:01:34.039Z] + cd /tmp/sdk/build/debug [2023-04-06T15:01:34.039Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2023-04-06T15:01:34.306Z] -- The C compiler identification is GNU 11.2.1 [2023-04-06T15:01:34.306Z] -- Detecting C compiler ABI info [2023-04-06T15:01:34.574Z] -- Detecting C compiler ABI info - done [2023-04-06T15:01:34.574Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-04-06T15:01:34.574Z] -- Detecting C compile features [2023-04-06T15:01:34.574Z] -- Detecting C compile features - done [2023-04-06T15:01:34.574Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-04-06T15:01:34.840Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.83.1") [2023-04-06T15:01:34.840Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-04-06T15:01:34.840Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-04-06T15:01:34.840Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-04-06T15:01:34.840Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-04-06T15:01:34.840Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-04-06T15:01:35.109Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2023-04-06T15:01:35.109Z] -- /opt/iotech/iot/1.5/include [2023-04-06T15:01:35.109Z] -- C SDK 0.0.0 for Linux [2023-04-06T15:01:35.109Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-04-06T15:01:35.380Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-04-06T15:01:35.380Z] -- Found Curses: /usr/lib/libcurses.so [2023-04-06T15:01:35.647Z] -- Configuring done [2023-04-06T15:01:35.915Z] -- Generating done [2023-04-06T15:01:35.915Z] -- Build files have been written to: /tmp/sdk/build/debug [2023-04-06T15:01:35.915Z] + make [2023-04-06T15:01:35.915Z] + tee debug.log [2023-04-06T15:01:35.915Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-04-06T15:01:36.498Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2023-04-06T15:01:37.082Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2023-04-06T15:01:37.348Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2023-04-06T15:01:37.614Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2023-04-06T15:01:38.196Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2023-04-06T15:01:39.157Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2023-04-06T15:01:39.423Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2023-04-06T15:01:39.689Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2023-04-06T15:01:40.268Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2023-04-06T15:01:40.851Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2023-04-06T15:01:41.432Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2023-04-06T15:01:42.014Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2023-04-06T15:01:42.280Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2023-04-06T15:01:42.546Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2023-04-06T15:01:42.812Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2023-04-06T15:01:44.217Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2023-04-06T15:01:44.217Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2023-04-06T15:01:44.483Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2023-04-06T15:01:45.065Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2023-04-06T15:01:46.472Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2023-04-06T15:01:46.738Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2023-04-06T15:01:47.003Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2023-04-06T15:01:47.585Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2023-04-06T15:01:47.852Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2023-04-06T15:01:48.432Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2023-04-06T15:01:50.373Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2023-04-06T15:01:50.640Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2023-04-06T15:01:51.221Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2023-04-06T15:01:51.486Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2023-04-06T15:01:52.442Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2023-04-06T15:01:53.396Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2023-04-06T15:01:53.977Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2023-04-06T15:01:54.243Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2023-04-06T15:01:54.509Z] [ 68%] Linking C shared library libcsdk.so [2023-04-06T15:01:54.776Z] [ 68%] Built target csdk [2023-04-06T15:01:55.041Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2023-04-06T15:01:55.307Z] [ 72%] Linking C executable template [2023-04-06T15:01:55.573Z] [ 72%] Built target template [2023-04-06T15:01:55.573Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2023-04-06T15:01:55.840Z] [ 76%] Linking C executable device-counter [2023-04-06T15:01:56.106Z] [ 76%] Built target device-counter [2023-04-06T15:01:56.430Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2023-04-06T15:01:56.698Z] [ 80%] Linking C executable device-random [2023-04-06T15:01:56.969Z] [ 80%] Built target device-random [2023-04-06T15:01:56.969Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2023-04-06T15:01:57.238Z] [ 84%] Linking C executable device-gyro [2023-04-06T15:01:57.518Z] [ 84%] Built target device-gyro [2023-04-06T15:01:57.518Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2023-04-06T15:01:58.105Z] [ 88%] Linking C executable device-bitfields [2023-04-06T15:01:58.380Z] [ 88%] Built target device-bitfields [2023-04-06T15:01:58.380Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2023-04-06T15:01:58.649Z] [ 92%] Linking C executable template-discovery [2023-04-06T15:01:58.922Z] [ 92%] Built target template-discovery [2023-04-06T15:01:58.922Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2023-04-06T15:01:59.508Z] [ 96%] Linking C executable device-file [2023-04-06T15:01:59.778Z] [ 96%] Built target device-file [2023-04-06T15:01:59.778Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2023-04-06T15:02:00.363Z] [100%] Linking C executable device-terminal [2023-04-06T15:02:00.630Z] [100%] Built target device-terminal [2023-04-06T15:02:00.630Z] make: Entering directory '/tmp/sdk/build/release' [2023-04-06T15:02:00.630Z] make[1]: Entering directory '/tmp/sdk/build/release' [2023-04-06T15:02:00.630Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-04-06T15:02:00.630Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-04-06T15:02:00.630Z] [ 68%] Built target csdk [2023-04-06T15:02:00.630Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-04-06T15:02:00.630Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-04-06T15:02:00.895Z] [ 72%] Built target template [2023-04-06T15:02:00.895Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-04-06T15:02:00.895Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-04-06T15:02:00.895Z] [ 76%] Built target device-counter [2023-04-06T15:02:00.895Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-04-06T15:02:00.895Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-04-06T15:02:00.895Z] [ 80%] Built target device-random [2023-04-06T15:02:00.895Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-04-06T15:02:00.895Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-04-06T15:02:00.895Z] [ 84%] Built target device-gyro [2023-04-06T15:02:00.895Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-04-06T15:02:00.895Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-04-06T15:02:00.895Z] [ 88%] Built target device-bitfields [2023-04-06T15:02:00.895Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-04-06T15:02:00.895Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-04-06T15:02:00.895Z] [ 92%] Built target template-discovery [2023-04-06T15:02:00.895Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-04-06T15:02:01.161Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-04-06T15:02:01.161Z] [ 96%] Built target device-file [2023-04-06T15:02:01.161Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-04-06T15:02:01.161Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-04-06T15:02:01.161Z] [100%] Built target device-terminal [2023-04-06T15:02:01.161Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2023-04-06T15:02:01.161Z] Install the project... [2023-04-06T15:02:01.161Z] -- Install configuration: "Release" [2023-04-06T15:02:01.161Z] -- Installing: /usr/local/lib/libcsdk.so [2023-04-06T15:02:01.161Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2023-04-06T15:02:01.161Z] -- Installing: /usr/local/include [2023-04-06T15:02:01.161Z] -- Installing: /usr/local/include/devsdk [2023-04-06T15:02:01.161Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2023-04-06T15:02:01.161Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2023-04-06T15:02:01.161Z] -- Installing: /usr/local/include/edgex [2023-04-06T15:02:01.161Z] -- Installing: /usr/local/include/edgex/rest-server.h [2023-04-06T15:02:01.161Z] -- Installing: /usr/local/include/edgex/edgex.h [2023-04-06T15:02:01.161Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2023-04-06T15:02:01.161Z] -- Installing: /usr/local/include/edgex/devices.h [2023-04-06T15:02:01.161Z] -- Installing: /usr/local/include/edgex/profiles.h [2023-04-06T15:02:01.161Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2023-04-06T15:02:01.161Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2023-04-06T15:02:01.161Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2023-04-06T15:02:01.161Z] make: Leaving directory '/tmp/sdk/build/release' [2023-04-06T15:02:02.574Z] Removing intermediate container 77842232dca9 [2023-04-06T15:02:02.574Z] ---> 809c5139e001 [2023-04-06T15:02:02.574Z] Step 14/21 : FROM ${BASE} [2023-04-06T15:02:02.574Z] ---> 9a9802766715 [2023-04-06T15:02:02.574Z] Step 15/21 : LABEL maintainer="IOTech " [2023-04-06T15:02:02.574Z] ---> Running in 52e7a4dd77a2 [2023-04-06T15:02:02.842Z] Removing intermediate container 52e7a4dd77a2 [2023-04-06T15:02:02.842Z] ---> f006a7012204 [2023-04-06T15:02:02.842Z] 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-04-06T15:02:02.842Z] ---> Running in 7f5aa1e847d6 [2023-04-06T15:02:03.795Z] Connecting to iotech.jfrog.io (52.212.183.138:443) [2023-04-06T15:02:04.058Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-04-06T15:02:04.058Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-04-06T15:02:04.058Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-04-06T15:02:04.650Z] Removing intermediate container 7f5aa1e847d6 [2023-04-06T15:02:04.650Z] ---> 368ba1fae7c2 [2023-04-06T15:02:04.650Z] Step 17/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-04-06T15:02:04.920Z] ---> Running in e1b5cedd7f1b [2023-04-06T15:02:06.324Z] Removing intermediate container e1b5cedd7f1b [2023-04-06T15:02:06.324Z] ---> 40bd3548de74 [2023-04-06T15:02:06.324Z] 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-04-06T15:02:06.324Z] ---> Running in 5709503ce935 [2023-04-06T15:02:07.280Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-04-06T15:02:07.546Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-04-06T15:02:08.126Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/aarch64/APKINDEX.tar.gz [2023-04-06T15:02:08.706Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-04-06T15:02:08.706Z] (1/7) Installing curl (7.83.1-r6) [2023-04-06T15:02:08.706Z] (2/7) Installing hiredis (1.0.2-r0) [2023-04-06T15:02:08.706Z] (3/7) Installing hiredis-dev (1.0.2-r0) [2023-04-06T15:02:08.706Z] (4/7) Installing iotech-iot-1.4 (1.4.1-r0) [2023-04-06T15:02:09.659Z] (5/7) Installing libcbor (0.9.0-r1) [2023-04-06T15:02:09.659Z] (6/7) Installing libuuid (2.38-r1) [2023-04-06T15:02:09.659Z] (7/7) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) [2023-04-06T15:02:10.617Z] Executing busybox-1.35.0-r17.trigger [2023-04-06T15:02:10.617Z] OK: 281 MiB in 83 packages [2023-04-06T15:02:11.578Z] Removing intermediate container 5709503ce935 [2023-04-06T15:02:11.578Z] ---> 9526d8110a10 [2023-04-06T15:02:11.578Z] Step 19/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2023-04-06T15:02:11.847Z] ---> ff44e2a081b5 [2023-04-06T15:02:11.847Z] Step 20/21 : COPY --from=builder /usr/local/lib /usr/local/lib [2023-04-06T15:02:12.430Z] ---> 0d4956df1c4d [2023-04-06T15:02:12.430Z] Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2023-04-06T15:02:13.011Z] ---> 015ddefaa19c [2023-04-06T15:02:13.011Z] Successfully built 015ddefaa19c [2023-04-06T15:02:13.011Z] 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-04-06T15:02:13.725Z] + docker inspect -f . ci-base-image-arm64 [2023-04-06T15:02:13.725Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-06T15:02:13.984Z] prd-ubuntu20.04-docker-arm64-4c-16g-7011 does not seem to be running inside a container [2023-04-06T15:02:14.040Z] $ 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-04-06T15:02:15.201Z] $ docker top d2dad65645b08b9c34e852ffa66a5075ec793a743c8c9b1b81c60ba79106e8d4 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-06T15:02:16.063Z] + make test [2023-04-06T15:02:16.063Z] echo "make test" [2023-04-06T15:02:16.063Z] make test [Pipeline] } [2023-04-06T15:02:16.091Z] $ docker stop --time=1 d2dad65645b08b9c34e852ffa66a5075ec793a743c8c9b1b81c60ba79106e8d4 [2023-04-06T15:02:17.723Z] $ docker rm -f --volumes d2dad65645b08b9c34e852ffa66a5075ec793a743c8c9b1b81c60ba79106e8d4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-06T15:02:18.531Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-04-06T15:02:18.868Z] + ls -al . [2023-04-06T15:02:18.868Z] total 208 [2023-04-06T15:02:18.868Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 6 14:59 . [2023-04-06T15:02:18.868Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 6 14:59 .. [2023-04-06T15:02:18.868Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 6 14:59 .git [2023-04-06T15:02:18.868Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 6 14:59 .github [2023-04-06T15:02:18.868Z] -rw-rw-r-- 1 jenkins jenkins 176 Apr 6 14:59 .gitignore [2023-04-06T15:02:18.868Z] -rw-rw-r-- 1 jenkins jenkins 3104 Apr 6 14:59 Attribution.txt [2023-04-06T15:02:18.868Z] -rw-rw-r-- 1 jenkins jenkins 8743 Apr 6 14:59 CHANGES [2023-04-06T15:02:18.868Z] -rw-rw-r-- 1 jenkins jenkins 108574 Apr 6 14:59 Doxyfile [2023-04-06T15:02:18.868Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 6 14:59 GOVERNANCE.md [2023-04-06T15:02:18.868Z] -rw-rw-r-- 1 jenkins jenkins 784 Apr 6 14:59 Jenkinsfile [2023-04-06T15:02:18.868Z] -rw-rw-r-- 1 jenkins jenkins 10174 Apr 6 14:59 LICENSE [2023-04-06T15:02:18.868Z] -rw-rw-r-- 1 jenkins jenkins 444 Apr 6 14:59 Makefile [2023-04-06T15:02:18.868Z] -rw-rw-r-- 1 jenkins jenkins 618 Apr 6 14:59 OWNERS.md [2023-04-06T15:02:18.868Z] -rw-rw-r-- 1 jenkins jenkins 1651 Apr 6 14:59 README.IOT.md [2023-04-06T15:02:18.868Z] -rw-rw-r-- 1 jenkins jenkins 4215 Apr 6 14:59 README.md [2023-04-06T15:02:18.868Z] -rw-rw-r-- 1 jenkins jenkins 1245 Apr 6 14:59 README.v3.md [2023-04-06T15:02:18.868Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 6 14:57 VERSION [2023-04-06T15:02:18.868Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 6 14:59 docs [2023-04-06T15:02:18.868Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 6 14:59 include [2023-04-06T15:02:18.868Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 6 14:59 scripts [2023-04-06T15:02:18.868Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 6 14:59 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-06T15:02:19.288Z] + 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=79809f9ddfe1f96c0824338f8296ea4a141a28e3 --label arch=arm64 --label version=0.0.0 . [2023-04-06T15:02:19.564Z] Sending build context to Docker daemon 2.901MB [2023-04-06T15:02:19.564Z] Step 1/17 : ARG BASE=alpine:3.16 [2023-04-06T15:02:19.564Z] Step 2/17 : FROM ${BASE} [2023-04-06T15:02:19.564Z] ---> 015ddefaa19c [2023-04-06T15:02:19.564Z] Step 3/17 : LABEL maintainer="IOTech " [2023-04-06T15:02:19.833Z] ---> Running in 9f6a3c607213 [2023-04-06T15:02:20.101Z] Removing intermediate container 9f6a3c607213 [2023-04-06T15:02:20.101Z] ---> 80146b2ab5cb [2023-04-06T15:02:20.101Z] 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-04-06T15:02:20.101Z] ---> Running in bd0dfa0651bb [2023-04-06T15:02:21.059Z] Connecting to iotech.jfrog.io (34.242.68.156:443) [2023-04-06T15:02:21.643Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-04-06T15:02:21.643Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-04-06T15:02:21.643Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-04-06T15:02:22.238Z] Removing intermediate container bd0dfa0651bb [2023-04-06T15:02:22.238Z] ---> bb10aab59dae [2023-04-06T15:02:22.238Z] Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-04-06T15:02:22.238Z] ---> Running in 5f060ac8bbbe [2023-04-06T15:02:24.184Z] Removing intermediate container 5f060ac8bbbe [2023-04-06T15:02:24.184Z] ---> f6c4f708b09a [2023-04-06T15:02:24.184Z] Step 6/17 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml-dev curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev libcbor-dev paho-mqtt-c-dev-1.3 hiredis-dev iotech-iot-1.5-dev && mkdir -p /edgex-c-sdk/build [2023-04-06T15:02:24.184Z] ---> Running in 4634c14c7fd6 [2023-04-06T15:02:25.145Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-04-06T15:02:25.413Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-04-06T15:02:25.997Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/aarch64/APKINDEX.tar.gz [2023-04-06T15:02:26.960Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-04-06T15:02:26.960Z] (1/9) Installing iotech-iot-1.5 (1.5.0-r0) [2023-04-06T15:02:27.226Z] (2/9) Installing iotech-iot-1.5-dev (1.5.0-r0) [2023-04-06T15:02:27.494Z] (3/9) Installing libcbor-dev (0.9.0-r1) [2023-04-06T15:02:27.494Z] (4/9) Installing ncurses-dev (6.3_p20220521-r0) [2023-04-06T15:02:27.494Z] (5/9) Installing libblkid (2.38-r1) [2023-04-06T15:02:27.494Z] (6/9) Installing libfdisk (2.38-r1) [2023-04-06T15:02:27.494Z] (7/9) Installing libmount (2.38-r1) [2023-04-06T15:02:27.494Z] (8/9) Installing libsmartcols (2.38-r1) [2023-04-06T15:02:27.494Z] (9/9) Installing util-linux-dev (2.38-r1) [2023-04-06T15:02:27.494Z] Executing busybox-1.35.0-r17.trigger [2023-04-06T15:02:27.767Z] OK: 287 MiB in 92 packages [2023-04-06T15:02:28.727Z] Removing intermediate container 4634c14c7fd6 [2023-04-06T15:02:28.727Z] ---> e7a816ae1fb7 [2023-04-06T15:02:28.727Z] Step 7/17 : COPY VERSION /edgex-c-sdk/ [2023-04-06T15:02:29.311Z] ---> d5efc0b46acd [2023-04-06T15:02:29.311Z] Step 8/17 : COPY src /edgex-c-sdk/src/ [2023-04-06T15:02:30.270Z] ---> 4372df266f44 [2023-04-06T15:02:30.270Z] Step 9/17 : COPY include /edgex-c-sdk/include/ [2023-04-06T15:02:30.538Z] ---> aa02746e28ad [2023-04-06T15:02:30.539Z] Step 10/17 : COPY scripts /edgex-c-sdk/scripts [2023-04-06T15:02:31.122Z] ---> bfa9f059bfc2 [2023-04-06T15:02:31.122Z] Step 11/17 : COPY LICENSE /edgex-c-sdk/ [2023-04-06T15:02:31.390Z] ---> bd0d6a274858 [2023-04-06T15:02:31.390Z] Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ [2023-04-06T15:02:31.973Z] ---> c0bbc7c332cc [2023-04-06T15:02:31.973Z] Step 13/17 : WORKDIR /edgex-c-sdk [2023-04-06T15:02:32.240Z] ---> Running in d679b43e83e8 [2023-04-06T15:02:32.506Z] Removing intermediate container d679b43e83e8 [2023-04-06T15:02:32.506Z] ---> 83a26a976e5e [2023-04-06T15:02:32.506Z] Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2023-04-06T15:02:32.506Z] ---> Running in 34b8ae46b906 [2023-04-06T15:02:32.774Z] Removing intermediate container 34b8ae46b906 [2023-04-06T15:02:32.774Z] ---> 522c84bf1867 [2023-04-06T15:02:32.775Z] Step 15/17 : LABEL arch=arm64 [2023-04-06T15:02:33.044Z] ---> Running in aafd7a9e5a5f [2023-04-06T15:02:33.311Z] Removing intermediate container aafd7a9e5a5f [2023-04-06T15:02:33.311Z] ---> f36af61e0e0e [2023-04-06T15:02:33.311Z] Step 16/17 : LABEL git_sha=79809f9ddfe1f96c0824338f8296ea4a141a28e3 [2023-04-06T15:02:33.311Z] ---> Running in cedd982a3635 [2023-04-06T15:02:33.582Z] Removing intermediate container cedd982a3635 [2023-04-06T15:02:33.582Z] ---> f0cb2cdf04d3 [2023-04-06T15:02:33.582Z] Step 17/17 : LABEL version=0.0.0 [2023-04-06T15:02:33.582Z] ---> Running in a78aa7761c2c [2023-04-06T15:02:33.849Z] Removing intermediate container a78aa7761c2c [2023-04-06T15:02:33.849Z] ---> 137e7bacb74b [2023-04-06T15:02:33.849Z] [Warning] One or more build-args [MAKE ARCH] were not consumed [2023-04-06T15:02:34.115Z] Successfully built 137e7bacb74b [2023-04-06T15:02:34.115Z] 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-04-06T15:02:34.889Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-06T15:02:34.889Z] [2023-04-06T15:02:34.889Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-06T15:02:35.284Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-06T15:02:35.554Z] arm64: Pulling from edgex-lftools-log-publisher [2023-04-06T15:02:35.554Z] 8998bd30e6a1: Pulling fs layer [2023-04-06T15:02:35.554Z] 04944245beec: Pulling fs layer [2023-04-06T15:02:35.554Z] 699f458cf7ca: Pulling fs layer [2023-04-06T15:02:35.554Z] 765212b225bb: Pulling fs layer [2023-04-06T15:02:35.554Z] f23df028b6ca: Pulling fs layer [2023-04-06T15:02:35.554Z] d65c8cfc05b1: Pulling fs layer [2023-04-06T15:02:35.554Z] 2437ff75d9bd: Pulling fs layer [2023-04-06T15:02:35.554Z] 765212b225bb: Waiting [2023-04-06T15:02:35.554Z] f23df028b6ca: Waiting [2023-04-06T15:02:35.554Z] d65c8cfc05b1: Waiting [2023-04-06T15:02:35.554Z] 2437ff75d9bd: Waiting [2023-04-06T15:02:35.554Z] 04944245beec: Verifying Checksum [2023-04-06T15:02:35.554Z] 04944245beec: Download complete [2023-04-06T15:02:35.554Z] 765212b225bb: Verifying Checksum [2023-04-06T15:02:35.554Z] 765212b225bb: Download complete [2023-04-06T15:02:35.554Z] f23df028b6ca: Verifying Checksum [2023-04-06T15:02:35.554Z] f23df028b6ca: Download complete [2023-04-06T15:02:35.821Z] d65c8cfc05b1: Verifying Checksum [2023-04-06T15:02:35.821Z] d65c8cfc05b1: Download complete [2023-04-06T15:02:35.821Z] 699f458cf7ca: Verifying Checksum [2023-04-06T15:02:35.821Z] 699f458cf7ca: Download complete [2023-04-06T15:02:36.101Z] 8998bd30e6a1: Verifying Checksum [2023-04-06T15:02:36.101Z] 8998bd30e6a1: Download complete [2023-04-06T15:02:38.685Z] 2437ff75d9bd: Verifying Checksum [2023-04-06T15:02:38.685Z] 2437ff75d9bd: Download complete [2023-04-06T15:02:40.102Z] 8998bd30e6a1: Pull complete [2023-04-06T15:02:40.369Z] 04944245beec: Pull complete [2023-04-06T15:02:41.778Z] 699f458cf7ca: Pull complete [2023-04-06T15:02:42.045Z] 765212b225bb: Pull complete [2023-04-06T15:02:42.630Z] f23df028b6ca: Pull complete [2023-04-06T15:02:42.896Z] d65c8cfc05b1: Pull complete [2023-04-06T15:02:57.883Z] 2437ff75d9bd: Pull complete [2023-04-06T15:02:57.883Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-04-06T15:02:57.883Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-06T15:02:57.883Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-06T15:02:58.190Z] prd-ubuntu20.04-docker-arm64-4c-16g-7011 does not seem to be running inside a container [2023-04-06T15:02:58.239Z] $ 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-04-06T15:03:00.343Z] $ docker top 37f7a2fc0eef9260dad9f56719ae0531a50de3d47e4031b6d487f469ec9cbefc -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-06T15:03:00.887Z] ---> job-cost.sh [2023-04-06T15:03:01.151Z] lf-activate-venv: SKIPPING [2023-04-06T15:03:01.151Z] INFO: No Stack... [2023-04-06T15:03:01.417Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-04-06T15:03:02.372Z] INFO: Archiving Costs [Pipeline] sh [2023-04-06T15:03:02.768Z] + cut -d, -f6 [2023-04-06T15:03:02.768Z] + cat /w/workspace/device-sdk-c/1/archives/cost.csv [Pipeline] lock [2023-04-06T15:03:02.837Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-453-1-stack-cost] [2023-04-06T15:03:02.841Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-453-1-stack-cost] did not exist. Created. [2023-04-06T15:03:02.841Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-453-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-04-06T15:03:03.243Z] /w/workspace/device-sdk-c/1@tmp/durable-a8ca8fd5/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-04-06T15:03:03.585Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-04-06T15:03:03.619Z] Warning: overwriting stash ‘stack-cost’ [2023-04-06T15:03:04.019Z] Stashed 1 file(s) [Pipeline] } [2023-04-06T15:03:04.036Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-453-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-04-06T15:03:04.119Z] $ docker stop --time=1 37f7a2fc0eef9260dad9f56719ae0531a50de3d47e4031b6d487f469ec9cbefc [2023-04-06T15:03:05.547Z] $ docker rm -f --volumes 37f7a2fc0eef9260dad9f56719ae0531a50de3d47e4031b6d487f469ec9cbefc [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-04-06T15:03:07.210Z] + [ -d /w/workspace/edgexfoundry_device-sdk-c_PR-453/archives ] [2023-04-06T15:03:07.210Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-453/archives [2023-04-06T15:03:07.210Z] total 16 [2023-04-06T15:03:07.210Z] drwxr-xr-x 3 root root 4096 Apr 6 14:58 . [2023-04-06T15:03:07.210Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 6 14:58 .. [2023-04-06T15:03:07.210Z] drwxr-xr-x 2 root root 4096 Apr 6 14:58 cost [2023-04-06T15:03:07.210Z] -rw-r--r-- 1 root root 84 Apr 6 14:58 cost.csv [2023-04-06T15:03:07.210Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_PR-453/archives [2023-04-06T15:03:07.210Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-453/archives [2023-04-06T15:03:07.210Z] total 16 [2023-04-06T15:03:07.210Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 6 14:58 . [2023-04-06T15:03:07.210Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 6 14:58 .. [2023-04-06T15:03:07.210Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 6 14:58 cost [2023-04-06T15:03:07.210Z] -rw-r--r-- 1 jenkins jenkins 84 Apr 6 14:58 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-04-06T15:03:07.537Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-06T15:03:08.432Z] ---> package-listing.sh [2023-04-06T15:03:08.432Z] ++ facter osfamily [2023-04-06T15:03:08.432Z] ++ tr '[:upper:]' '[:lower:]' [2023-04-06T15:03:08.692Z] + OS_FAMILY=debian [2023-04-06T15:03:08.692Z] + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-453 [2023-04-06T15:03:08.692Z] + START_PACKAGES=/tmp/packages_start.txt [2023-04-06T15:03:08.692Z] + END_PACKAGES=/tmp/packages_end.txt [2023-04-06T15:03:08.692Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-04-06T15:03:08.692Z] + PACKAGES=/tmp/packages_start.txt [2023-04-06T15:03:08.692Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-453 ']' [2023-04-06T15:03:08.692Z] + PACKAGES=/tmp/packages_end.txt [2023-04-06T15:03:08.692Z] + case "${OS_FAMILY}" in [2023-04-06T15:03:08.692Z] + dpkg -l [2023-04-06T15:03:08.692Z] + grep '^ii' [2023-04-06T15:03:08.692Z] + '[' -f /tmp/packages_start.txt ']' [2023-04-06T15:03:08.692Z] + '[' -f /tmp/packages_end.txt ']' [2023-04-06T15:03:08.692Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-04-06T15:03:08.692Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-453 ']' [2023-04-06T15:03:08.692Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-453/archives/ [2023-04-06T15:03:08.692Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-453/archives/ [Pipeline] echo [2023-04-06T15:03:08.725Z] 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-453/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-04-06T15:03:09.017Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-06T15:03:09.643Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-06T15:03:09.643Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-06T15:03:09.789Z] prd-ubuntu20.04-docker-8c-8g-7010 does not seem to be running inside a container [2023-04-06T15:03:09.819Z] $ 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-453/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-453 -v /w/workspace/edgexfoundry_device-sdk-c_PR-453:/w/workspace/edgexfoundry_device-sdk-c_PR-453:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-453@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-453@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-04-06T15:03:10.023Z] $ docker top 0679fe02b2c0069e666dc87dec8400689b663afdb3f14ca00ab681d5d15cee64 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-06T15:03:10.405Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-04-06T15:03:10.713Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-04-06T15:03:11.021Z] + ls /var/log/sa-host [2023-04-06T15:03:11.021Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-06T15:03:11.237Z] provisioning config files... [2023-04-06T15:03:11.246Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-453@tmp/config15677929499806534841tmp [Pipeline] { [Pipeline] echo [2023-04-06T15:03:11.295Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-06T15:03:11.608Z] ---> create-netrc.sh [Pipeline] } [2023-04-06T15:03:11.640Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-04-06T15:03:12.040Z] ---> python-tools-install.sh [Pipeline] echo [2023-04-06T15:03:12.071Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-06T15:03:12.379Z] ---> sudo-logs.sh [2023-04-06T15:03:12.380Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-04-06T15:03:12.461Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-06T15:03:12.772Z] ---> job-cost.sh [2023-04-06T15:03:12.772Z] lf-activate-venv: SKIPPING [2023-04-06T15:03:12.772Z] DEBUG: total: 0.2199999988079071 [2023-04-06T15:03:12.772Z] INFO: Retrieving Stack Cost... [2023-04-06T15:03:13.031Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-04-06T15:03:13.291Z] INFO: Archiving Costs [Pipeline] echo [2023-04-06T15:03:13.322Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-06T15:03:13.633Z] ---> logs-deploy.sh [2023-04-06T15:03:13.633Z] lf-activate-venv: SKIPPING [2023-04-06T15:03:13.633Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-453/1 [2023-04-06T15:03:13.633Z] INFO: archiving workspace using pattern(s): [2023-04-06T15:03:14.571Z] Archives upload complete. [2023-04-06T15:03:14.571Z] INFO: archiving logs to Nexus