Pull request #442 updated 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 bnevis-i for edgexfoundry/device-sdk-c Loading trusted files from base branch main at fdd904db91670bf9b9238bf17ce25b0e9b1934c2 rather than 6da3d0b5b9fb09a6f9af50455a2db36a497b5fb6 Obtained Jenkinsfile from fdd904db91670bf9b9238bf17ce25b0e9b1934c2 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-ssh10028414800504047990.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-ssh16910152577110474758.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-442/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-442/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6956187562009316265.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 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-ssh14040009006475513193.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-442/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-442/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh2376066070595099939.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildCApp] RAW Config: [project:device-sdk-c, dockerBuildFilePath:scripts/Dockerfile.alpine-base, dockerFilePath:scripts/Dockerfile.alpine, pushImage:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildCApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-c-settings PROJECT: device-sdk-c USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build DOCKER_FILE_PATH: scripts/Dockerfile.alpine DOCKER_BUILD_FILE_PATH: scripts/Dockerfile.alpine-base DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-165’ Running on prd-ubuntu20.04-docker-8c-8g-167 in /w/workspace/edgexfoundry_device-sdk-c_PR-442 [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-442 # 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/442/head:refs/remotes/origin/PR-442 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit fdd904db91670bf9b9238bf17ce25b0e9b1934c2 into PR head commit 6da3d0b5b9fb09a6f9af50455a2db36a497b5fb6 Merge succeeded, producing 6da3d0b5b9fb09a6f9af50455a2db36a497b5fb6 Checking out Revision 6da3d0b5b9fb09a6f9af50455a2db36a497b5fb6 (PR-442) > git config core.sparsecheckout # timeout=10 > git checkout -f 6da3d0b5b9fb09a6f9af50455a2db36a497b5fb6 # 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 fdd904db91670bf9b9238bf17ce25b0e9b1934c2 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6da3d0b5b9fb09a6f9af50455a2db36a497b5fb6 # timeout=10 Commit message: "feat!: Implementation of token-based security ADR" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-03-14T15:40:24.741Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-03-14T15:40:24.789Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-03-14T15:40:24.805Z] ========================================================= [2023-03-14T15:40:24.805Z] EdgeX Global Pipelines Version Info [2023-03-14T15:40:24.805Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk daad38e5568412427f9a797ece8522d5d6051c10 # timeout=10 [2023-03-14T15:40:25.521Z] ------------------- [2023-03-14T15:40:25.521Z] stable info: [2023-03-14T15:40:25.521Z] ------------------- [2023-03-14T15:40:25.521Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-03-14T15:40:25.521Z] Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a [2023-03-14T15:40:25.521Z] Message: update stable to v1.0.245 [2023-03-14T15:40:26.094Z] ------------------- [2023-03-14T15:40:26.094Z] experimental info: [2023-03-14T15:40:26.094Z] ------------------- [2023-03-14T15:40:26.094Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-03-14T15:40:26.094Z] Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a [2023-03-14T15:40:26.094Z] Message: update experimental to v1.0.245 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-03-14T15:40:26.255Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo [2023-03-14T15:40:26.265Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo [2023-03-14T15:40:26.278Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-03-14T15:40:26.288Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-03-14T15:40:26.301Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-03-14T15:40:26.310Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo [2023-03-14T15:40:26.320Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo [2023-03-14T15:40:26.331Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-03-14T15:40:26.343Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-03-14T15:40:26.357Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo [2023-03-14T15:40:26.370Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-03-14T15:40:26.386Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-03-14T15:40:26.396Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-03-14T15:40:26.407Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-03-14T15:40:26.418Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-03-14T15:40:26.428Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-03-14T15:40:26.438Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-03-14T15:40:26.448Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-442 [Pipeline] echo [2023-03-14T15:40:26.460Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-442 [Pipeline] echo [2023-03-14T15:40:26.470Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-442 [Pipeline] echo [2023-03-14T15:40:26.480Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6da3d0b5b9fb09a6f9af50455a2db36a497b5fb6 [Pipeline] echo [2023-03-14T15:40:26.490Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6da3d0b [Pipeline] echo [2023-03-14T15:40:26.501Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-14T15:40:26.538Z] provisioning config files... [2023-03-14T15:40:26.554Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-442@tmp/config11062876660942951629tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-14T15:40:26.854Z] ---> docker-login.sh [2023-03-14T15:40:26.854Z] nexus3.edgexfoundry.org:10001 [2023-03-14T15:40:27.115Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T15:40:27.115Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T15:40:27.115Z] Configure a credential helper to remove this warning. See [2023-03-14T15:40:27.115Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T15:40:27.115Z] [2023-03-14T15:40:27.115Z] Login Succeeded [2023-03-14T15:40:27.115Z] nexus3.edgexfoundry.org:10002 [2023-03-14T15:40:27.115Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T15:40:27.375Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T15:40:27.375Z] Configure a credential helper to remove this warning. See [2023-03-14T15:40:27.375Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T15:40:27.375Z] [2023-03-14T15:40:27.375Z] Login Succeeded [2023-03-14T15:40:27.375Z] nexus3.edgexfoundry.org:10003 [2023-03-14T15:40:27.375Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T15:40:27.375Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T15:40:27.375Z] Configure a credential helper to remove this warning. See [2023-03-14T15:40:27.375Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T15:40:27.375Z] [2023-03-14T15:40:27.375Z] Login Succeeded [2023-03-14T15:40:27.375Z] nexus3.edgexfoundry.org:10004 [2023-03-14T15:40:27.375Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T15:40:27.375Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T15:40:27.375Z] Configure a credential helper to remove this warning. See [2023-03-14T15:40:27.375Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T15:40:27.375Z] [2023-03-14T15:40:27.375Z] Login Succeeded [2023-03-14T15:40:27.375Z] docker.io [2023-03-14T15:40:27.636Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T15:40:27.898Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T15:40:27.898Z] Configure a credential helper to remove this warning. See [2023-03-14T15:40:27.898Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T15:40:27.898Z] [2023-03-14T15:40:27.898Z] Login Succeeded [2023-03-14T15:40:27.898Z] ---> docker-login.sh ends [Pipeline] } [2023-03-14T15:40:27.908Z] 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-03-14T15:40:28.257Z] + git rev-list -1 --merges 6da3d0b5b9fb09a6f9af50455a2db36a497b5fb6~1..6da3d0b5b9fb09a6f9af50455a2db36a497b5fb6 [Pipeline] echo [2023-03-14T15:40:28.306Z] -----------> git rev-list -1 --merges 6da3d0b5b9fb09a6f9af50455a2db36a497b5fb6~1..6da3d0b5b9fb09a6f9af50455a2db36a497b5fb6 6da3d0b5b9fb09a6f9af50455a2db36a497b5fb6 [false] [Pipeline] sh [2023-03-14T15:40:28.596Z] + git log --format=format:%s -1 6da3d0b5b9fb09a6f9af50455a2db36a497b5fb6 [Pipeline] echo [2023-03-14T15:40:28.611Z] ========================================================= [2023-03-14T15:40:28.611Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-03-14T15:40:28.611Z] ========================================================= 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-03-14T15:40:28.964Z] + git rev-list -1 --merges 6da3d0b5b9fb09a6f9af50455a2db36a497b5fb6~1..6da3d0b5b9fb09a6f9af50455a2db36a497b5fb6 [Pipeline] echo [2023-03-14T15:40:28.975Z] -----------> git rev-list -1 --merges 6da3d0b5b9fb09a6f9af50455a2db36a497b5fb6~1..6da3d0b5b9fb09a6f9af50455a2db36a497b5fb6 6da3d0b5b9fb09a6f9af50455a2db36a497b5fb6 [false] [Pipeline] sh [2023-03-14T15:40:29.260Z] + git log --format=format:%s -1 6da3d0b5b9fb09a6f9af50455a2db36a497b5fb6 [Pipeline] echo [2023-03-14T15:40:29.275Z] ========================================================= [2023-03-14T15:40:29.275Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-03-14T15:40:29.275Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh [2023-03-14T15:40:29.632Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-14T15:40:29.632Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-03-14T15:40:29.632Z] + [ -e /tmp/ssh_known_hosts ] [2023-03-14T15:40:29.632Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-03-14T15:40:29.632Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-03-14T15:40:29.632Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-03-14T15:40:29.632Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T15:40:29.965Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-14T15:40:29.965Z] [2023-03-14T15:40:29.965Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T15:40:30.264Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-14T15:40:30.264Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-03-14T15:40:30.264Z] b85a868b505f: Pulling fs layer [2023-03-14T15:40:30.264Z] e2be974225ed: Pulling fs layer [2023-03-14T15:40:30.264Z] 339a4e72a1f5: Pulling fs layer [2023-03-14T15:40:30.264Z] 988bab9f4d93: Pulling fs layer [2023-03-14T15:40:30.264Z] 1469e6f7b9e6: Pulling fs layer [2023-03-14T15:40:30.264Z] eaf3925da568: Pulling fs layer [2023-03-14T15:40:30.264Z] bab4dde63d76: Pulling fs layer [2023-03-14T15:40:30.264Z] bde34c3a00c8: Pulling fs layer [2023-03-14T15:40:30.264Z] b352a97aabf1: Pulling fs layer [2023-03-14T15:40:30.264Z] 4872d77fe225: Pulling fs layer [2023-03-14T15:40:30.264Z] 5851b861e8e6: Pulling fs layer [2023-03-14T15:40:30.264Z] 988bab9f4d93: Waiting [2023-03-14T15:40:30.264Z] 1469e6f7b9e6: Waiting [2023-03-14T15:40:30.264Z] eaf3925da568: Waiting [2023-03-14T15:40:30.264Z] 4872d77fe225: Waiting [2023-03-14T15:40:30.264Z] 5851b861e8e6: Waiting [2023-03-14T15:40:30.264Z] bab4dde63d76: Waiting [2023-03-14T15:40:30.264Z] bde34c3a00c8: Waiting [2023-03-14T15:40:30.264Z] e2be974225ed: Verifying Checksum [2023-03-14T15:40:30.264Z] e2be974225ed: Download complete [2023-03-14T15:40:30.264Z] 988bab9f4d93: Verifying Checksum [2023-03-14T15:40:30.264Z] 988bab9f4d93: Download complete [2023-03-14T15:40:30.525Z] 1469e6f7b9e6: Verifying Checksum [2023-03-14T15:40:30.525Z] 1469e6f7b9e6: Download complete [2023-03-14T15:40:30.525Z] 339a4e72a1f5: Verifying Checksum [2023-03-14T15:40:30.525Z] 339a4e72a1f5: Download complete [2023-03-14T15:40:30.525Z] eaf3925da568: Download complete [2023-03-14T15:40:30.525Z] bde34c3a00c8: Verifying Checksum [2023-03-14T15:40:30.525Z] bde34c3a00c8: Download complete [2023-03-14T15:40:30.525Z] b352a97aabf1: Download complete [2023-03-14T15:40:30.525Z] 4872d77fe225: Verifying Checksum [2023-03-14T15:40:30.525Z] 4872d77fe225: Download complete [2023-03-14T15:40:30.525Z] 5851b861e8e6: Verifying Checksum [2023-03-14T15:40:30.525Z] 5851b861e8e6: Download complete [2023-03-14T15:40:30.525Z] b85a868b505f: Verifying Checksum [2023-03-14T15:40:30.525Z] b85a868b505f: Download complete [2023-03-14T15:40:30.784Z] bab4dde63d76: Verifying Checksum [2023-03-14T15:40:30.784Z] bab4dde63d76: Download complete [2023-03-14T15:40:32.162Z] b85a868b505f: Pull complete [2023-03-14T15:40:32.162Z] e2be974225ed: Pull complete [2023-03-14T15:40:32.422Z] 339a4e72a1f5: Pull complete [2023-03-14T15:40:32.422Z] 988bab9f4d93: Pull complete [2023-03-14T15:40:32.684Z] 1469e6f7b9e6: Pull complete [2023-03-14T15:40:32.943Z] eaf3925da568: Pull complete [2023-03-14T15:40:34.854Z] bab4dde63d76: Pull complete [2023-03-14T15:40:34.854Z] bde34c3a00c8: Pull complete [2023-03-14T15:40:34.854Z] b352a97aabf1: Pull complete [2023-03-14T15:40:35.114Z] 4872d77fe225: Pull complete [2023-03-14T15:40:35.114Z] 5851b861e8e6: Pull complete [2023-03-14T15:40:35.114Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-03-14T15:40:35.114Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-14T15:40:35.114Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-14T15:40:35.226Z] prd-ubuntu20.04-docker-8c-8g-167 does not seem to be running inside a container [2023-03-14T15:40:35.264Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-442 -v /w/workspace/edgexfoundry_device-sdk-c_PR-442:/w/workspace/edgexfoundry_device-sdk-c_PR-442:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-442@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-442@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-03-14T15:40:37.004Z] $ docker top 61cb8f66321ea533f24cf1c881180670ccca2e3c4a8078a24435d3e1722b801b -eo pid,comm [2023-03-14T15:40:37.066Z] 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-03-14T15:40:37.066Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-14T15:40:37.101Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-14T15:40:37.101Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-14T15:40:37.208Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-14T15:40:37.206Z] $ docker exec 61cb8f66321ea533f24cf1c881180670ccca2e3c4a8078a24435d3e1722b801b ssh-agent [2023-03-14T15:40:37.321Z] SSH_AUTH_SOCK=/tmp/ssh-dVU1Kepe7lux/agent.30 [2023-03-14T15:40:37.321Z] SSH_AGENT_PID=36 [2023-03-14T15:40:37.327Z] Running ssh-add (command line suppressed) [2023-03-14T15:40:37.431Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-442@tmp/private_key_5707493666738338765.key (/w/workspace/edgexfoundry_device-sdk-c_PR-442@tmp/private_key_5707493666738338765.key) [2023-03-14T15:40:37.450Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-14T15:40:37.739Z] + git tag --points-at HEAD [Pipeline] } [2023-03-14T15:40:37.746Z] $ docker exec --env ******** --env ******** 61cb8f66321ea533f24cf1c881180670ccca2e3c4a8078a24435d3e1722b801b ssh-agent -k [2023-03-14T15:40:37.845Z] unset SSH_AUTH_SOCK; [2023-03-14T15:40:37.846Z] unset SSH_AGENT_PID; [2023-03-14T15:40:37.846Z] echo Agent pid 36 killed; [2023-03-14T15:40:37.862Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-03-14T15:40:37.887Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-14T15:40:37.887Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-14T15:40:37.992Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-14T15:40:37.991Z] $ docker exec 61cb8f66321ea533f24cf1c881180670ccca2e3c4a8078a24435d3e1722b801b ssh-agent [2023-03-14T15:40:38.134Z] SSH_AUTH_SOCK=/tmp/ssh-A2ks1UECJtCV/agent.69 [2023-03-14T15:40:38.134Z] SSH_AGENT_PID=75 [2023-03-14T15:40:38.154Z] Running ssh-add (command line suppressed) [2023-03-14T15:40:38.245Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-442@tmp/private_key_4637437969621762767.key (/w/workspace/edgexfoundry_device-sdk-c_PR-442@tmp/private_key_4637437969621762767.key) [2023-03-14T15:40:38.273Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-14T15:40:38.560Z] + git semver init [2023-03-14T15:40:38.820Z] 2023-03-14 15:40:38,754 [run_init] DEBUG init version:0.0.0 force:False [2023-03-14T15:40:38.820Z] 2023-03-14 15:40:38,755 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-c_PR-442/.semver [2023-03-14T15:40:38.820Z] 2023-03-14 15:40:38,755 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-c.git /w/workspace/edgexfoundry_device-sdk-c_PR-442/.semver [2023-03-14T15:40:38.820Z] 2023-03-14 15:40:38,755 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-c.git', '/w/workspace/edgexfoundry_device-sdk-c_PR-442/.semver'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-442, universal_newlines=False, shell=None, istream=None) [2023-03-14T15:40:39.760Z] 2023-03-14 15:40:39,624 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-c_PR-442/.git/info/exclude [2023-03-14T15:40:39.760Z] 2023-03-14 15:40:39,624 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-c_PR-442/.semver/PR-442 with force:False [2023-03-14T15:40:39.760Z] 2023-03-14 15:40:39,624 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-c_PR-442/.semver/PR-442 [2023-03-14T15:40:39.760Z] 2023-03-14 15:40:39,628 [execute] INFO git cat-file --batch-check [2023-03-14T15:40:39.760Z] 2023-03-14 15:40:39,628 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-442/.semver, universal_newlines=False, shell=None, istream=) [2023-03-14T15:40:39.760Z] 2023-03-14 15:40:39,634 [execute] INFO git cat-file --batch [2023-03-14T15:40:39.760Z] 2023-03-14 15:40:39,634 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-442/.semver, universal_newlines=False, shell=None, istream=) [2023-03-14T15:40:39.760Z] 2023-03-14 15:40:39,638 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_PR-442/.semver/PR-442 [2023-03-14T15:40:39.760Z] 0.0.0 [Pipeline] } [2023-03-14T15:40:39.767Z] $ docker exec --env ******** --env ******** 61cb8f66321ea533f24cf1c881180670ccca2e3c4a8078a24435d3e1722b801b ssh-agent -k [2023-03-14T15:40:39.874Z] unset SSH_AUTH_SOCK; [2023-03-14T15:40:39.875Z] unset SSH_AGENT_PID; [2023-03-14T15:40:39.875Z] echo Agent pid 75 killed; [2023-03-14T15:40:39.891Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-14T15:40:40.190Z] + git semver [Pipeline] } [2023-03-14T15:40:40.460Z] $ docker stop --time=1 61cb8f66321ea533f24cf1c881180670ccca2e3c4a8078a24435d3e1722b801b [2023-03-14T15:40:41.823Z] $ docker rm -f --volumes 61cb8f66321ea533f24cf1c881180670ccca2e3c4a8078a24435d3e1722b801b [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-14T15:40:42.163Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-03-14T15:40:42.355Z] Stashed 1 file(s) [Pipeline] echo [2023-03-14T15:40:42.358Z] [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-03-14T15:40:42.477Z] provisioning config files... [2023-03-14T15:40:42.486Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-442@tmp/config9606876116881722264tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-14T15:40:42.779Z] ---> docker-login.sh [2023-03-14T15:40:42.779Z] nexus3.edgexfoundry.org:10001 [2023-03-14T15:40:42.779Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T15:40:42.779Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T15:40:42.779Z] Configure a credential helper to remove this warning. See [2023-03-14T15:40:42.779Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T15:40:42.779Z] [2023-03-14T15:40:42.779Z] Login Succeeded [2023-03-14T15:40:42.779Z] nexus3.edgexfoundry.org:10002 [2023-03-14T15:40:42.779Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T15:40:42.779Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T15:40:42.779Z] Configure a credential helper to remove this warning. See [2023-03-14T15:40:42.779Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T15:40:42.779Z] [2023-03-14T15:40:42.779Z] Login Succeeded [2023-03-14T15:40:42.779Z] nexus3.edgexfoundry.org:10003 [2023-03-14T15:40:43.039Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T15:40:43.039Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T15:40:43.039Z] Configure a credential helper to remove this warning. See [2023-03-14T15:40:43.039Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T15:40:43.039Z] [2023-03-14T15:40:43.039Z] Login Succeeded [2023-03-14T15:40:43.039Z] nexus3.edgexfoundry.org:10004 [2023-03-14T15:40:43.039Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T15:40:43.039Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T15:40:43.039Z] Configure a credential helper to remove this warning. See [2023-03-14T15:40:43.039Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T15:40:43.039Z] [2023-03-14T15:40:43.039Z] Login Succeeded [2023-03-14T15:40:43.039Z] docker.io [2023-03-14T15:40:43.298Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T15:40:43.298Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T15:40:43.298Z] Configure a credential helper to remove this warning. See [2023-03-14T15:40:43.298Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T15:40:43.298Z] [2023-03-14T15:40:43.298Z] Login Succeeded [2023-03-14T15:40:43.298Z] ---> docker-login.sh ends [Pipeline] } [2023-03-14T15:40:43.305Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-14T15:40:43.358Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-14T15:40:43.365Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo [2023-03-14T15:40:43.374Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-14T15:40:43.380Z] ========================================================= [2023-03-14T15:40:43.380Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] [2023-03-14T15:40:43.380Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T15:40:43.669Z] + 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-03-14T15:40:43.669Z] Sending build context to Docker daemon 4.921MB [2023-03-14T15:40:43.669Z] Step 1/21 : ARG BASE=alpine:3.16 [2023-03-14T15:40:43.669Z] Step 2/21 : FROM ${BASE} as builder [2023-03-14T15:40:43.669Z] latest: Pulling from edgex-devops/edgex-gcc-base [2023-03-14T15:40:43.669Z] 213ec9aee27d: Pulling fs layer [2023-03-14T15:40:43.669Z] 0f09ad1b1b37: Pulling fs layer [2023-03-14T15:40:43.927Z] 213ec9aee27d: Verifying Checksum [2023-03-14T15:40:43.927Z] 213ec9aee27d: Download complete [2023-03-14T15:40:43.927Z] 213ec9aee27d: Pull complete [2023-03-14T15:40:44.495Z] 0f09ad1b1b37: Verifying Checksum [2023-03-14T15:40:44.495Z] 0f09ad1b1b37: Download complete [2023-03-14T15:40:47.780Z] 0f09ad1b1b37: Pull complete [2023-03-14T15:40:47.780Z] Digest: sha256:64e9d1beac36a0037884aaf44bcf94b2de593689edef1cdaec9f2b2ef7c7c108 [2023-03-14T15:40:47.780Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [2023-03-14T15:40:47.780Z] ---> b2bbfebb3566 [2023-03-14T15:40:47.780Z] 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-03-14T15:40:48.350Z] ---> Running in 221fb77fdc7a [2023-03-14T15:40:48.920Z] Connecting to iotech.jfrog.io (34.240.134.226:443) [2023-03-14T15:40:49.180Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-03-14T15:40:49.180Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-03-14T15:40:49.180Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-03-14T15:40:49.439Z] Removing intermediate container 221fb77fdc7a [2023-03-14T15:40:49.439Z] ---> e2c020541523 [2023-03-14T15:40:49.439Z] Step 4/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-03-14T15:40:49.439Z] ---> Running in b327dcfd5911 [2023-03-14T15:40:50.376Z] Removing intermediate container b327dcfd5911 [2023-03-14T15:40:50.376Z] ---> 1cf36cc23471 [2023-03-14T15:40:50.376Z] 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-03-14T15:40:50.377Z] ---> Running in 5a6ead4941ef [2023-03-14T15:40:50.636Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-14T15:40:50.636Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-03-14T15:40:50.896Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-14T15:40:51.466Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-03-14T15:40:51.466Z] (1/14) Installing hiredis (1.0.2-r0) [2023-03-14T15:40:51.466Z] (2/14) Installing hiredis-dev (1.0.2-r0) [2023-03-14T15:40:51.466Z] (3/14) Installing iotech-iot-1.5 (1.5.0-r0) [2023-03-14T15:40:52.032Z] (4/14) Installing iotech-iot-1.5-dev (1.5.0-r0) [2023-03-14T15:40:52.291Z] (5/14) Installing libcbor (0.9.0-r1) [2023-03-14T15:40:52.291Z] (6/14) Installing libcbor-dev (0.9.0-r1) [2023-03-14T15:40:52.291Z] (7/14) Installing ncurses-dev (6.3_p20220521-r0) [2023-03-14T15:40:52.291Z] (8/14) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) [2023-03-14T15:40:53.224Z] (9/14) Installing libblkid (2.38-r1) [2023-03-14T15:40:53.224Z] (10/14) Installing libuuid (2.38-r1) [2023-03-14T15:40:53.224Z] (11/14) Installing libfdisk (2.38-r1) [2023-03-14T15:40:53.224Z] (12/14) Installing libmount (2.38-r1) [2023-03-14T15:40:53.224Z] (13/14) Installing libsmartcols (2.38-r1) [2023-03-14T15:40:53.224Z] (14/14) Installing util-linux-dev (2.38-r1) [2023-03-14T15:40:53.224Z] Executing busybox-1.35.0-r17.trigger [2023-03-14T15:40:53.224Z] OK: 280 MiB in 90 packages [2023-03-14T15:40:53.805Z] Removing intermediate container 5a6ead4941ef [2023-03-14T15:40:53.805Z] ---> 2b96399ce84a [2023-03-14T15:40:53.805Z] Step 6/21 : RUN mkdir /tmp/sdk [2023-03-14T15:40:53.805Z] ---> Running in e790265700fd [2023-03-14T15:40:54.371Z] Removing intermediate container e790265700fd [2023-03-14T15:40:54.371Z] ---> b88ad0a19538 [2023-03-14T15:40:54.371Z] Step 7/21 : COPY VERSION /tmp/sdk [2023-03-14T15:40:54.371Z] ---> 63d9a6d4befb [2023-03-14T15:40:54.371Z] Step 8/21 : COPY src /tmp/sdk/src [2023-03-14T15:40:54.632Z] ---> 0a1050f622d0 [2023-03-14T15:40:54.632Z] Step 9/21 : COPY include /tmp/sdk/include [2023-03-14T15:40:54.890Z] ---> 6f2731905f0f [2023-03-14T15:40:54.890Z] Step 10/21 : COPY scripts /tmp/sdk/scripts [2023-03-14T15:40:54.890Z] ---> 189e3b3e6fbe [2023-03-14T15:40:54.890Z] Step 11/21 : COPY LICENSE /tmp/sdk [2023-03-14T15:40:55.150Z] ---> 92774bbbc3ad [2023-03-14T15:40:55.150Z] Step 12/21 : COPY Attribution.txt /tmp/sdk [2023-03-14T15:40:55.419Z] ---> dd0b2a58ed9e [2023-03-14T15:40:55.419Z] Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2023-03-14T15:40:55.419Z] ---> Running in c04fa7dc6952 [2023-03-14T15:40:55.679Z] + CPPCHECK=false [2023-03-14T15:40:55.679Z] + DOCGEN=false [2023-03-14T15:40:55.679Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2023-03-14T15:40:55.679Z] + TOMLVER=SDK-0.2 [2023-03-14T15:40:55.680Z] + CUTILVER=1.4 [2023-03-14T15:40:55.680Z] + '[' 0 -gt 0 ] [2023-03-14T15:40:55.680Z] + readlink -f ./scripts/build.sh [2023-03-14T15:40:55.680Z] + dirname /tmp/sdk/scripts/build.sh [2023-03-14T15:40:55.680Z] + dirname /tmp/sdk/scripts [2023-03-14T15:40:55.680Z] + ROOT=/tmp/sdk [2023-03-14T15:40:55.680Z] + cd /tmp/sdk [2023-03-14T15:40:55.680Z] + '[' '!' -d deps ] [2023-03-14T15:40:55.680Z] + mkdir deps [2023-03-14T15:40:55.680Z] + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2023-03-14T15:40:55.680Z] + tar -C deps -z -x -f - [2023-03-14T15:40:55.680Z] Connecting to github.com (140.82.113.3:443) [2023-03-14T15:40:55.940Z] Connecting to codeload.github.com (140.82.113.9:443) [2023-03-14T15:40:55.940Z] writing to stdout [2023-03-14T15:40:55.940Z] - 100% |********************************| 16451 0:00:00 ETA [2023-03-14T15:40:55.940Z] written to stdout [2023-03-14T15:40:55.940Z] + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c [2023-03-14T15:40:55.940Z] + mkdir -p /tmp/sdk/build/release [2023-03-14T15:40:55.940Z] + cd /tmp/sdk/build/release [2023-03-14T15:40:55.940Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2023-03-14T15:40:56.200Z] -- The C compiler identification is GNU 11.2.1 [2023-03-14T15:40:56.200Z] -- Detecting C compiler ABI info [2023-03-14T15:40:56.200Z] -- Detecting C compiler ABI info - done [2023-03-14T15:40:56.200Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-03-14T15:40:56.200Z] -- Detecting C compile features [2023-03-14T15:40:56.200Z] -- Detecting C compile features - done [2023-03-14T15:40:56.200Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-03-14T15:40:56.200Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.83.1") [2023-03-14T15:40:56.200Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-03-14T15:40:56.200Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-03-14T15:40:56.200Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-03-14T15:40:56.200Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-03-14T15:40:56.200Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-03-14T15:40:56.200Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2023-03-14T15:40:56.200Z] -- /opt/iotech/iot/1.5/include [2023-03-14T15:40:56.200Z] -- C SDK 0.0.0 for Linux [2023-03-14T15:40:56.200Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-03-14T15:40:56.459Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-03-14T15:40:56.459Z] -- Found Curses: /usr/lib/libcurses.so [2023-03-14T15:40:56.459Z] -- Configuring done [2023-03-14T15:40:56.459Z] -- Generating done [2023-03-14T15:40:56.459Z] -- Build files have been written to: /tmp/sdk/build/release [2023-03-14T15:40:56.459Z] + make all package [2023-03-14T15:40:56.459Z] + tee release.log [2023-03-14T15:40:56.459Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-03-14T15:40:56.718Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2023-03-14T15:40:56.718Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2023-03-14T15:40:56.977Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2023-03-14T15:40:56.977Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2023-03-14T15:40:57.235Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2023-03-14T15:40:57.437Z] Still waiting to schedule task [2023-03-14T15:40:57.437Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-166’ [2023-03-14T15:40:57.803Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2023-03-14T15:40:57.803Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2023-03-14T15:40:57.803Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2023-03-14T15:40:58.062Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2023-03-14T15:40:58.323Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2023-03-14T15:40:58.583Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2023-03-14T15:40:58.583Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2023-03-14T15:40:58.841Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2023-03-14T15:40:58.841Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2023-03-14T15:40:58.841Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2023-03-14T15:40:59.407Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2023-03-14T15:40:59.670Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2023-03-14T15:40:59.671Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2023-03-14T15:40:59.932Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2023-03-14T15:41:00.867Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2023-03-14T15:41:00.867Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2023-03-14T15:41:00.867Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2023-03-14T15:41:01.124Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2023-03-14T15:41:01.124Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2023-03-14T15:41:01.383Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2023-03-14T15:41:01.949Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2023-03-14T15:41:01.949Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2023-03-14T15:41:01.949Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2023-03-14T15:41:02.210Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2023-03-14T15:41:02.778Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2023-03-14T15:41:03.345Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2023-03-14T15:41:03.604Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2023-03-14T15:41:03.604Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2023-03-14T15:41:03.604Z] [ 68%] Linking C shared library libcsdk.so [2023-03-14T15:41:03.862Z] [ 68%] Built target csdk [2023-03-14T15:41:03.862Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2023-03-14T15:41:03.862Z] [ 72%] Linking C executable template [2023-03-14T15:41:04.127Z] [ 72%] Built target template [2023-03-14T15:41:04.127Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2023-03-14T15:41:04.127Z] [ 76%] Linking C executable device-counter [2023-03-14T15:41:04.127Z] [ 76%] Built target device-counter [2023-03-14T15:41:04.127Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2023-03-14T15:41:04.386Z] [ 80%] Linking C executable device-random [2023-03-14T15:41:04.386Z] [ 80%] Built target device-random [2023-03-14T15:41:04.386Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2023-03-14T15:41:04.386Z] [ 84%] Linking C executable device-gyro [2023-03-14T15:41:04.646Z] [ 84%] Built target device-gyro [2023-03-14T15:41:04.646Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2023-03-14T15:41:04.646Z] [ 88%] Linking C executable device-bitfields [2023-03-14T15:41:04.646Z] [ 88%] Built target device-bitfields [2023-03-14T15:41:04.646Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2023-03-14T15:41:04.909Z] [ 92%] Linking C executable template-discovery [2023-03-14T15:41:04.909Z] [ 92%] Built target template-discovery [2023-03-14T15:41:04.909Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2023-03-14T15:41:05.174Z] [ 96%] Linking C executable device-file [2023-03-14T15:41:05.174Z] [ 96%] Built target device-file [2023-03-14T15:41:05.174Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2023-03-14T15:41:05.437Z] [100%] Linking C executable device-terminal [2023-03-14T15:41:05.437Z] [100%] Built target device-terminal [2023-03-14T15:41:05.437Z] Run CPack packaging tool... [2023-03-14T15:41:05.437Z] CPack: Create package using TGZ [2023-03-14T15:41:05.437Z] CPack: Install projects [2023-03-14T15:41:05.437Z] CPack: - Run preinstall target for: Csdk [2023-03-14T15:41:05.703Z] CPack: - Install project: Csdk [] [2023-03-14T15:41:05.703Z] CPack: Create package [2023-03-14T15:41:05.703Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2023-03-14T15:41:05.703Z] + '[' false '=' true ] [2023-03-14T15:41:05.703Z] + '[' false '=' true ] [2023-03-14T15:41:05.703Z] + mkdir -p /tmp/sdk/build/debug [2023-03-14T15:41:05.703Z] + cd /tmp/sdk/build/debug [2023-03-14T15:41:05.703Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2023-03-14T15:41:05.703Z] -- The C compiler identification is GNU 11.2.1 [2023-03-14T15:41:05.703Z] -- Detecting C compiler ABI info [2023-03-14T15:41:05.962Z] -- Detecting C compiler ABI info - done [2023-03-14T15:41:05.962Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-03-14T15:41:05.962Z] -- Detecting C compile features [2023-03-14T15:41:05.962Z] -- Detecting C compile features - done [2023-03-14T15:41:05.962Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-03-14T15:41:05.962Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.83.1") [2023-03-14T15:41:05.962Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-03-14T15:41:05.962Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-03-14T15:41:05.962Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-03-14T15:41:05.962Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-03-14T15:41:05.962Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-03-14T15:41:05.962Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2023-03-14T15:41:05.962Z] -- /opt/iotech/iot/1.5/include [2023-03-14T15:41:05.962Z] -- C SDK 0.0.0 for Linux [2023-03-14T15:41:05.962Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-03-14T15:41:05.962Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-03-14T15:41:06.231Z] -- Found Curses: /usr/lib/libcurses.so [2023-03-14T15:41:06.231Z] -- Configuring done [2023-03-14T15:41:06.231Z] -- Generating done [2023-03-14T15:41:06.231Z] -- Build files have been written to: /tmp/sdk/build/debug [2023-03-14T15:41:06.231Z] + make [2023-03-14T15:41:06.231Z] + tee debug.log [2023-03-14T15:41:06.231Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-03-14T15:41:06.231Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2023-03-14T15:41:06.499Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2023-03-14T15:41:06.499Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2023-03-14T15:41:06.499Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2023-03-14T15:41:06.761Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2023-03-14T15:41:06.761Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2023-03-14T15:41:06.761Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2023-03-14T15:41:07.021Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2023-03-14T15:41:07.021Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2023-03-14T15:41:07.021Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2023-03-14T15:41:07.279Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2023-03-14T15:41:07.279Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2023-03-14T15:41:07.279Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2023-03-14T15:41:07.537Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2023-03-14T15:41:07.537Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2023-03-14T15:41:07.795Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2023-03-14T15:41:07.795Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2023-03-14T15:41:07.795Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2023-03-14T15:41:08.056Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2023-03-14T15:41:08.056Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2023-03-14T15:41:08.314Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2023-03-14T15:41:08.314Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2023-03-14T15:41:08.314Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2023-03-14T15:41:08.314Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2023-03-14T15:41:08.573Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2023-03-14T15:41:08.832Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2023-03-14T15:41:08.832Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2023-03-14T15:41:08.832Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2023-03-14T15:41:09.090Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2023-03-14T15:41:09.090Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2023-03-14T15:41:09.349Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2023-03-14T15:41:09.349Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2023-03-14T15:41:09.607Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2023-03-14T15:41:09.607Z] [ 68%] Linking C shared library libcsdk.so [2023-03-14T15:41:09.607Z] [ 68%] Built target csdk [2023-03-14T15:41:09.607Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2023-03-14T15:41:09.864Z] [ 72%] Linking C executable template [2023-03-14T15:41:09.864Z] [ 72%] Built target template [2023-03-14T15:41:09.864Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2023-03-14T15:41:09.864Z] [ 76%] Linking C executable device-counter [2023-03-14T15:41:09.864Z] [ 76%] Built target device-counter [2023-03-14T15:41:09.864Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2023-03-14T15:41:10.126Z] [ 80%] Linking C executable device-random [2023-03-14T15:41:10.126Z] [ 80%] Built target device-random [2023-03-14T15:41:10.126Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2023-03-14T15:41:10.126Z] [ 84%] Linking C executable device-gyro [2023-03-14T15:41:10.386Z] [ 84%] Built target device-gyro [2023-03-14T15:41:10.386Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2023-03-14T15:41:10.386Z] [ 88%] Linking C executable device-bitfields [2023-03-14T15:41:10.386Z] [ 88%] Built target device-bitfields [2023-03-14T15:41:10.386Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2023-03-14T15:41:10.646Z] [ 92%] Linking C executable template-discovery [2023-03-14T15:41:10.646Z] [ 92%] Built target template-discovery [2023-03-14T15:41:10.646Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2023-03-14T15:41:10.646Z] [ 96%] Linking C executable device-file [2023-03-14T15:41:10.646Z] [ 96%] Built target device-file [2023-03-14T15:41:10.907Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2023-03-14T15:41:10.907Z] [100%] Linking C executable device-terminal [2023-03-14T15:41:10.907Z] [100%] Built target device-terminal [2023-03-14T15:41:10.907Z] make: Entering directory '/tmp/sdk/build/release' [2023-03-14T15:41:10.907Z] make[1]: Entering directory '/tmp/sdk/build/release' [2023-03-14T15:41:10.907Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-03-14T15:41:10.907Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-03-14T15:41:10.907Z] [ 68%] Built target csdk [2023-03-14T15:41:10.907Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-03-14T15:41:10.907Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-03-14T15:41:10.907Z] [ 72%] Built target template [2023-03-14T15:41:10.907Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-03-14T15:41:10.907Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-03-14T15:41:11.166Z] [ 76%] Built target device-counter [2023-03-14T15:41:11.166Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-03-14T15:41:11.166Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-03-14T15:41:11.166Z] [ 80%] Built target device-random [2023-03-14T15:41:11.166Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-03-14T15:41:11.166Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-03-14T15:41:11.166Z] [ 84%] Built target device-gyro [2023-03-14T15:41:11.166Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-03-14T15:41:11.166Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-03-14T15:41:11.166Z] [ 88%] Built target device-bitfields [2023-03-14T15:41:11.166Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-03-14T15:41:11.166Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-03-14T15:41:11.166Z] [ 92%] Built target template-discovery [2023-03-14T15:41:11.166Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-03-14T15:41:11.166Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-03-14T15:41:11.166Z] [ 96%] Built target device-file [2023-03-14T15:41:11.166Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-03-14T15:41:11.166Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-03-14T15:41:11.166Z] [100%] Built target device-terminal [2023-03-14T15:41:11.167Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2023-03-14T15:41:11.167Z] Install the project... [2023-03-14T15:41:11.167Z] -- Install configuration: "Release" [2023-03-14T15:41:11.167Z] -- Installing: /usr/local/lib/libcsdk.so [2023-03-14T15:41:11.167Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2023-03-14T15:41:11.167Z] -- Installing: /usr/local/include [2023-03-14T15:41:11.167Z] -- Installing: /usr/local/include/devsdk [2023-03-14T15:41:11.167Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2023-03-14T15:41:11.167Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2023-03-14T15:41:11.167Z] -- Installing: /usr/local/include/edgex [2023-03-14T15:41:11.167Z] -- Installing: /usr/local/include/edgex/edgex.h [2023-03-14T15:41:11.167Z] -- Installing: /usr/local/include/edgex/devices.h [2023-03-14T15:41:11.167Z] -- Installing: /usr/local/include/edgex/profiles.h [2023-03-14T15:41:11.167Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2023-03-14T15:41:11.167Z] -- Installing: /usr/local/include/edgex/rest-server.h [2023-03-14T15:41:11.167Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2023-03-14T15:41:11.167Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2023-03-14T15:41:11.167Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2023-03-14T15:41:11.167Z] make: Leaving directory '/tmp/sdk/build/release' [2023-03-14T15:41:11.739Z] Removing intermediate container c04fa7dc6952 [2023-03-14T15:41:11.739Z] ---> ac1eb18f0b0e [2023-03-14T15:41:11.739Z] Step 14/21 : FROM ${BASE} [2023-03-14T15:41:11.739Z] ---> b2bbfebb3566 [2023-03-14T15:41:11.739Z] Step 15/21 : LABEL maintainer="IOTech " [2023-03-14T15:41:11.997Z] ---> Running in 68db25f64cf3 [2023-03-14T15:41:11.997Z] Removing intermediate container 68db25f64cf3 [2023-03-14T15:41:11.997Z] ---> 2b3909b2abfc [2023-03-14T15:41:11.997Z] 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-03-14T15:41:11.997Z] ---> Running in 781347cf1a8f [2023-03-14T15:41:12.256Z] Connecting to iotech.jfrog.io (176.34.135.205:443) [2023-03-14T15:41:12.824Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-03-14T15:41:12.824Z] alpine.dev.rsa.pub 100% |********************************|  451 0:00:00 ETA [2023-03-14T15:41:12.824Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-03-14T15:41:13.082Z] Removing intermediate container 781347cf1a8f [2023-03-14T15:41:13.082Z] ---> 202c7fb902d0 [2023-03-14T15:41:13.082Z] Step 17/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-03-14T15:41:13.082Z] ---> Running in b06a37de2868 [2023-03-14T15:41:13.649Z] Removing intermediate container b06a37de2868 [2023-03-14T15:41:13.649Z] ---> 466bf58181c0 [2023-03-14T15:41:13.649Z] 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-03-14T15:41:13.649Z] ---> Running in c6c6960e9962 [2023-03-14T15:41:13.908Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-14T15:41:14.168Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-03-14T15:41:14.427Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-14T15:41:14.686Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-03-14T15:41:14.686Z] (1/7) Installing curl (7.83.1-r6) [2023-03-14T15:41:14.686Z] (2/7) Installing hiredis (1.0.2-r0) [2023-03-14T15:41:14.686Z] (3/7) Installing hiredis-dev (1.0.2-r0) [2023-03-14T15:41:14.946Z] (4/7) Installing iotech-iot-1.4 (1.4.1-r0) [2023-03-14T15:41:15.515Z] (5/7) Installing libcbor (0.9.0-r1) [2023-03-14T15:41:15.515Z] (6/7) Installing libuuid (2.38-r1) [2023-03-14T15:41:15.515Z] (7/7) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) [2023-03-14T15:41:16.453Z] Executing busybox-1.35.0-r17.trigger [2023-03-14T15:41:16.453Z] OK: 275 MiB in 83 packages [2023-03-14T15:41:16.713Z] Removing intermediate container c6c6960e9962 [2023-03-14T15:41:16.713Z] ---> 32879cf17d93 [2023-03-14T15:41:16.713Z] Step 19/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2023-03-14T15:41:16.713Z] ---> 088ade29e73c [2023-03-14T15:41:16.713Z] Step 20/21 : COPY --from=builder /usr/local/lib /usr/local/lib [2023-03-14T15:41:16.979Z] ---> 518f4cb91866 [2023-03-14T15:41:16.979Z] Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2023-03-14T15:41:17.242Z] ---> 1cee900ec611 [2023-03-14T15:41:17.242Z] Successfully built 1cee900ec611 [2023-03-14T15:41:17.242Z] 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-03-14T15:41:17.596Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-14T15:41:17.596Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-14T15:41:17.673Z] prd-ubuntu20.04-docker-8c-8g-167 does not seem to be running inside a container [2023-03-14T15:41:17.721Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-c_PR-442 -v /w/workspace/edgexfoundry_device-sdk-c_PR-442:/w/workspace/edgexfoundry_device-sdk-c_PR-442:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-442@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-442@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 ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-14T15:41:18.074Z] $ docker top 8108df479c6acb88b245f6f301967c04ed1487216c0981f5f6c30440a009ce29 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-14T15:41:18.407Z] + make test [2023-03-14T15:41:18.407Z] echo "make test" [2023-03-14T15:41:18.407Z] make test [Pipeline] } [2023-03-14T15:41:18.417Z] $ docker stop --time=1 8108df479c6acb88b245f6f301967c04ed1487216c0981f5f6c30440a009ce29 [2023-03-14T15:41:19.732Z] $ docker rm -f --volumes 8108df479c6acb88b245f6f301967c04ed1487216c0981f5f6c30440a009ce29 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-14T15:41:20.187Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-14T15:41:20.470Z] + ls -al . [2023-03-14T15:41:20.470Z] total 204 [2023-03-14T15:41:20.470Z] drwxrwxr-x 9 jenkins jenkins 4096 Mar 14 15:40 . [2023-03-14T15:41:20.470Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 14 15:40 .. [2023-03-14T15:41:20.470Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 14 15:40 .git [2023-03-14T15:41:20.470Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 14 15:40 .github [2023-03-14T15:41:20.470Z] -rw-rw-r-- 1 jenkins jenkins 176 Mar 14 15:40 .gitignore [2023-03-14T15:41:20.470Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 14 15:40 .semver [2023-03-14T15:41:20.470Z] -rw-rw-r-- 1 jenkins jenkins 3104 Mar 14 15:40 Attribution.txt [2023-03-14T15:41:20.470Z] -rw-rw-r-- 1 jenkins jenkins 8743 Mar 14 15:40 CHANGES [2023-03-14T15:41:20.470Z] -rw-rw-r-- 1 jenkins jenkins 108574 Mar 14 15:40 Doxyfile [2023-03-14T15:41:20.470Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 14 15:40 GOVERNANCE.md [2023-03-14T15:41:20.470Z] -rw-rw-r-- 1 jenkins jenkins 784 Mar 14 15:40 Jenkinsfile [2023-03-14T15:41:20.470Z] -rw-rw-r-- 1 jenkins jenkins 10174 Mar 14 15:40 LICENSE [2023-03-14T15:41:20.470Z] -rw-rw-r-- 1 jenkins jenkins 444 Mar 14 15:40 Makefile [2023-03-14T15:41:20.470Z] -rw-rw-r-- 1 jenkins jenkins 618 Mar 14 15:40 OWNERS.md [2023-03-14T15:41:20.470Z] -rw-rw-r-- 1 jenkins jenkins 4086 Mar 14 15:40 README.md [2023-03-14T15:41:20.470Z] -rw-rw-r-- 1 jenkins jenkins 1245 Mar 14 15:40 README.v3.md [2023-03-14T15:41:20.470Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 14 15:40 VERSION [2023-03-14T15:41:20.470Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 14 15:40 docs [2023-03-14T15:41:20.470Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 14 15:40 include [2023-03-14T15:41:20.470Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 14 15:40 scripts [2023-03-14T15:41:20.470Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 14 15:40 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T15:41:20.770Z] + 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=6da3d0b5b9fb09a6f9af50455a2db36a497b5fb6 --label arch=amd64 --label version=0.0.0 . [2023-03-14T15:41:20.770Z] Sending build context to Docker daemon 4.921MB [2023-03-14T15:41:20.770Z] Step 1/17 : ARG BASE=alpine:3.16 [2023-03-14T15:41:20.770Z] Step 2/17 : FROM ${BASE} [2023-03-14T15:41:20.770Z] ---> 1cee900ec611 [2023-03-14T15:41:20.770Z] Step 3/17 : LABEL maintainer="IOTech " [2023-03-14T15:41:20.770Z] ---> Running in 064c8a8d8171 [2023-03-14T15:41:21.030Z] Removing intermediate container 064c8a8d8171 [2023-03-14T15:41:21.030Z] ---> 34a7460a20d6 [2023-03-14T15:41:21.030Z] 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-03-14T15:41:21.030Z] ---> Running in 20c5f6d7f0ba [2023-03-14T15:41:21.289Z] Connecting to iotech.jfrog.io (34.242.68.156:443) [2023-03-14T15:41:21.548Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-03-14T15:41:21.548Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-03-14T15:41:21.548Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-03-14T15:41:22.116Z] Removing intermediate container 20c5f6d7f0ba [2023-03-14T15:41:22.116Z] ---> af92b88fa7d0 [2023-03-14T15:41:22.116Z] Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-03-14T15:41:22.116Z] ---> Running in 25b91daa541e [2023-03-14T15:41:22.684Z] Removing intermediate container 25b91daa541e [2023-03-14T15:41:22.684Z] ---> cd6c0c158b38 [2023-03-14T15:41:22.684Z] 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-03-14T15:41:22.684Z] ---> Running in e724ea91251f [2023-03-14T15:41:22.944Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-14T15:41:22.944Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-03-14T15:41:23.203Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-14T15:41:23.464Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-03-14T15:41:23.464Z] (1/9) Installing iotech-iot-1.5 (1.5.0-r0) [2023-03-14T15:41:24.036Z] (2/9) Installing iotech-iot-1.5-dev (1.5.0-r0) [2023-03-14T15:41:24.036Z] (3/9) Installing libcbor-dev (0.9.0-r1) [2023-03-14T15:41:24.036Z] (4/9) Installing ncurses-dev (6.3_p20220521-r0) [2023-03-14T15:41:24.036Z] (5/9) Installing libblkid (2.38-r1) [2023-03-14T15:41:24.036Z] (6/9) Installing libfdisk (2.38-r1) [2023-03-14T15:41:24.036Z] (7/9) Installing libmount (2.38-r1) [2023-03-14T15:41:24.036Z] (8/9) Installing libsmartcols (2.38-r1) [2023-03-14T15:41:24.036Z] (9/9) Installing util-linux-dev (2.38-r1) [2023-03-14T15:41:24.036Z] Executing busybox-1.35.0-r17.trigger [2023-03-14T15:41:24.036Z] OK: 281 MiB in 92 packages [2023-03-14T15:41:24.614Z] Removing intermediate container e724ea91251f [2023-03-14T15:41:24.614Z] ---> 7ae5d018c47d [2023-03-14T15:41:24.614Z] Step 7/17 : COPY VERSION /edgex-c-sdk/ [2023-03-14T15:41:24.874Z] ---> f10981319fd4 [2023-03-14T15:41:24.874Z] Step 8/17 : COPY src /edgex-c-sdk/src/ [2023-03-14T15:41:24.874Z] ---> c21850153601 [2023-03-14T15:41:24.874Z] Step 9/17 : COPY include /edgex-c-sdk/include/ [2023-03-14T15:41:25.133Z] ---> c89cc21cb02b [2023-03-14T15:41:25.133Z] Step 10/17 : COPY scripts /edgex-c-sdk/scripts [2023-03-14T15:41:25.133Z] ---> f4898349bd04 [2023-03-14T15:41:25.133Z] Step 11/17 : COPY LICENSE /edgex-c-sdk/ [2023-03-14T15:41:25.394Z] ---> a86cb705537f [2023-03-14T15:41:25.394Z] Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ [2023-03-14T15:41:25.394Z] ---> e2f0b9de51ed [2023-03-14T15:41:25.394Z] Step 13/17 : WORKDIR /edgex-c-sdk [2023-03-14T15:41:25.394Z] ---> Running in 8bcb014936d7 [2023-03-14T15:41:25.652Z] Removing intermediate container 8bcb014936d7 [2023-03-14T15:41:25.652Z] ---> 96cbbc69591f [2023-03-14T15:41:25.652Z] Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2023-03-14T15:41:25.652Z] ---> Running in bf8f23910baf [2023-03-14T15:41:25.652Z] Removing intermediate container bf8f23910baf [2023-03-14T15:41:25.652Z] ---> 362aaa0ce6ea [2023-03-14T15:41:25.652Z] Step 15/17 : LABEL arch=amd64 [2023-03-14T15:41:25.652Z] ---> Running in 3c6671fd4095 [2023-03-14T15:41:25.916Z] Removing intermediate container 3c6671fd4095 [2023-03-14T15:41:25.916Z] ---> 912f8ed34dd4 [2023-03-14T15:41:25.916Z] Step 16/17 : LABEL git_sha=6da3d0b5b9fb09a6f9af50455a2db36a497b5fb6 [2023-03-14T15:41:25.916Z] ---> Running in f0576c86773d [2023-03-14T15:41:25.916Z] Removing intermediate container f0576c86773d [2023-03-14T15:41:25.916Z] ---> 50a6c6d645d8 [2023-03-14T15:41:25.916Z] Step 17/17 : LABEL version=0.0.0 [2023-03-14T15:41:25.916Z] ---> Running in 4d9de50f5cc1 [2023-03-14T15:41:26.176Z] Removing intermediate container 4d9de50f5cc1 [2023-03-14T15:41:26.176Z] ---> 94699a801d57 [2023-03-14T15:41:26.176Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2023-03-14T15:41:26.176Z] Successfully built 94699a801d57 [2023-03-14T15:41:26.176Z] 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-03-14T15:41:26.591Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-14T15:41:26.591Z] [2023-03-14T15:41:26.591Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T15:41:26.893Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-14T15:41:26.893Z] latest: Pulling from edgex-lftools-log-publisher [2023-03-14T15:41:26.893Z] 5eb5b503b376: Pulling fs layer [2023-03-14T15:41:26.893Z] 5c69ac0246d0: Pulling fs layer [2023-03-14T15:41:26.893Z] ec43610c2a17: Pulling fs layer [2023-03-14T15:41:26.893Z] 3a2ae6a8a46f: Pulling fs layer [2023-03-14T15:41:26.893Z] 33b1e0a273af: Pulling fs layer [2023-03-14T15:41:26.893Z] 5d3b04190fa2: Pulling fs layer [2023-03-14T15:41:26.893Z] 2f39f015ded8: Pulling fs layer [2023-03-14T15:41:26.893Z] 33b1e0a273af: Waiting [2023-03-14T15:41:26.893Z] 5d3b04190fa2: Waiting [2023-03-14T15:41:26.893Z] 2f39f015ded8: Waiting [2023-03-14T15:41:26.893Z] 3a2ae6a8a46f: Waiting [2023-03-14T15:41:27.153Z] 5c69ac0246d0: Verifying Checksum [2023-03-14T15:41:27.153Z] 5c69ac0246d0: Download complete [2023-03-14T15:41:27.153Z] 3a2ae6a8a46f: Verifying Checksum [2023-03-14T15:41:27.153Z] 3a2ae6a8a46f: Download complete [2023-03-14T15:41:27.153Z] 33b1e0a273af: Verifying Checksum [2023-03-14T15:41:27.153Z] 33b1e0a273af: Download complete [2023-03-14T15:41:27.153Z] ec43610c2a17: Verifying Checksum [2023-03-14T15:41:27.153Z] ec43610c2a17: Download complete [2023-03-14T15:41:27.153Z] 5d3b04190fa2: Verifying Checksum [2023-03-14T15:41:27.411Z] 5eb5b503b376: Verifying Checksum [2023-03-14T15:41:27.411Z] 5eb5b503b376: Download complete [2023-03-14T15:41:27.976Z] 2f39f015ded8: Download complete [2023-03-14T15:41:28.541Z] 5eb5b503b376: Pull complete [2023-03-14T15:41:28.541Z] 5c69ac0246d0: Pull complete [2023-03-14T15:41:29.106Z] ec43610c2a17: Pull complete [2023-03-14T15:41:29.106Z] 3a2ae6a8a46f: Pull complete [2023-03-14T15:41:29.363Z] 33b1e0a273af: Pull complete [2023-03-14T15:41:29.363Z] 5d3b04190fa2: Pull complete [2023-03-14T15:41:33.548Z] 2f39f015ded8: Pull complete [2023-03-14T15:41:33.548Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-03-14T15:41:33.548Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-14T15:41:33.548Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-14T15:41:33.625Z] prd-ubuntu20.04-docker-8c-8g-167 does not seem to be running inside a container [2023-03-14T15:41:33.655Z] $ 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-442 -v /w/workspace/edgexfoundry_device-sdk-c_PR-442:/w/workspace/edgexfoundry_device-sdk-c_PR-442:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-442@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-442@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 ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-14T15:41:35.333Z] $ docker top 8395924509ab35dc8ae95570fee17584a52524d7ef8c5c245f30e2954276bc67 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-14T15:41:35.737Z] ---> job-cost.sh [2023-03-14T15:41:35.737Z] lf-activate-venv: SKIPPING [2023-03-14T15:41:35.737Z] INFO: No Stack... [2023-03-14T15:41:35.999Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-14T15:41:36.258Z] INFO: Archiving Costs [Pipeline] sh [2023-03-14T15:41:36.546Z] + cat /w/workspace/edgexfoundry_device-sdk-c_PR-442/archives/cost.csv [2023-03-14T15:41:36.546Z] + cut -d, -f6 [Pipeline] lock [2023-03-14T15:41:36.560Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-442-8-stack-cost] [2023-03-14T15:41:36.565Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-442-8-stack-cost] did not exist. Created. [2023-03-14T15:41:36.565Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-442-8-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-14T15:41:36.860Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-03-14T15:41:36.902Z] Stashed 1 file(s) [Pipeline] } [2023-03-14T15:41:36.908Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-442-8-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-14T15:41:36.923Z] $ docker stop --time=1 8395924509ab35dc8ae95570fee17584a52524d7ef8c5c245f30e2954276bc67 [2023-03-14T15:41:38.067Z] $ docker rm -f --volumes 8395924509ab35dc8ae95570fee17584a52524d7ef8c5c245f30e2954276bc67 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-14T15:44:22.078Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-168 in /w/workspace/edgexfoundry_device-sdk-c_PR-442 [Pipeline] { [Pipeline] ws [2023-03-14T15:44:22.090Z] Running in /w/workspace/device-sdk-c/8 [Pipeline] { [Pipeline] checkout [2023-03-14T15:44:22.127Z] Selected Git installation does not exist. Using Default [2023-03-14T15:44:22.127Z] The recommended git tool is: NONE [2023-03-14T15:44:28.076Z] using credential edgex-jenkins-ssh [2023-03-14T15:44:28.093Z] Cloning the remote Git repository [2023-03-14T15:44:28.162Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2023-03-14T15:44:28.272Z] > git init /w/workspace/device-sdk-c/8 # timeout=10 [2023-03-14T15:44:28.442Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2023-03-14T15:44:28.444Z] > git --version # timeout=10 [2023-03-14T15:44:28.469Z] > git --version # 'git version 2.25.1' [2023-03-14T15:44:28.472Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-14T15:44:28.638Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-14T15:44:29.749Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2023-03-14T15:44:29.778Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-14T15:44:30.774Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2023-03-14T15:44:30.824Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2023-03-14T15:44:30.825Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-14T15:44:30.844Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/442/head:refs/remotes/origin/PR-442 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-03-14T15:44:31.471Z] Merging remotes/origin/main commit fdd904db91670bf9b9238bf17ce25b0e9b1934c2 into PR head commit 6da3d0b5b9fb09a6f9af50455a2db36a497b5fb6 [2023-03-14T15:44:31.781Z] Merge succeeded, producing 6da3d0b5b9fb09a6f9af50455a2db36a497b5fb6 [2023-03-14T15:44:31.782Z] Checking out Revision 6da3d0b5b9fb09a6f9af50455a2db36a497b5fb6 (PR-442) [2023-03-14T15:44:31.489Z] > git config core.sparsecheckout # timeout=10 [2023-03-14T15:44:31.580Z] > git checkout -f 6da3d0b5b9fb09a6f9af50455a2db36a497b5fb6 # timeout=10 [2023-03-14T15:44:31.691Z] > git remote # timeout=10 [2023-03-14T15:44:31.707Z] > git config --get remote.origin.url # timeout=10 [2023-03-14T15:44:31.720Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-14T15:44:31.732Z] > git merge fdd904db91670bf9b9238bf17ce25b0e9b1934c2 # timeout=10 [2023-03-14T15:44:31.754Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-03-14T15:44:31.790Z] > git config core.sparsecheckout # timeout=10 [2023-03-14T15:44:31.807Z] > git checkout -f 6da3d0b5b9fb09a6f9af50455a2db36a497b5fb6 # timeout=10 [2023-03-14T15:44:35.350Z] Commit message: "feat!: Implementation of token-based security ADR" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-14T15:44:36.447Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-03-14T15:44:36.447Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-14T15:44:36.447Z] Dload Upload Total Spent Left Speed [2023-03-14T15:44:36.717Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 23656 0 --:--:-- --:--:-- --:--:-- 23656 [Pipeline] sh [2023-03-14T15:44:37.694Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-03-14T15:44:38.032Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-03-14T15:44:38.032Z] + sudo tee /etc/docker/daemon.new [2023-03-14T15:44:38.032Z] { [2023-03-14T15:44:38.032Z] "registry-mirrors": [ [2023-03-14T15:44:38.032Z] "https://nexus3.edgexfoundry.org:10001" [2023-03-14T15:44:38.032Z] ], [2023-03-14T15:44:38.032Z] "bip": "10.250.0.254/24", [2023-03-14T15:44:38.032Z] "hosts": [ [2023-03-14T15:44:38.032Z] "tcp://0.0.0.0:5555", [2023-03-14T15:44:38.032Z] "unix:///var/run/docker.sock" [2023-03-14T15:44:38.032Z] ], [2023-03-14T15:44:38.032Z] "mtu": 1458, [2023-03-14T15:44:38.032Z] "selinux-enabled": true, [2023-03-14T15:44:38.032Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-03-14T15:44:38.032Z] } [Pipeline] sh [2023-03-14T15:44:38.374Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-03-14T15:44:38.707Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-14T15:44:56.965Z] provisioning config files... [2023-03-14T15:44:56.991Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/8@tmp/config4713662069677290006tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-14T15:44:57.341Z] ---> docker-login.sh [2023-03-14T15:44:57.341Z] nexus3.edgexfoundry.org:10001 [2023-03-14T15:44:57.613Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T15:44:57.884Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T15:44:57.884Z] Configure a credential helper to remove this warning. See [2023-03-14T15:44:57.884Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T15:44:57.884Z] [2023-03-14T15:44:57.884Z] Login Succeeded [2023-03-14T15:44:57.884Z] nexus3.edgexfoundry.org:10002 [2023-03-14T15:44:58.154Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T15:44:58.154Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T15:44:58.154Z] Configure a credential helper to remove this warning. See [2023-03-14T15:44:58.154Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T15:44:58.154Z] [2023-03-14T15:44:58.154Z] Login Succeeded [2023-03-14T15:44:58.425Z] nexus3.edgexfoundry.org:10003 [2023-03-14T15:44:58.425Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T15:44:58.697Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T15:44:58.697Z] Configure a credential helper to remove this warning. See [2023-03-14T15:44:58.697Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T15:44:58.697Z] [2023-03-14T15:44:58.697Z] Login Succeeded [2023-03-14T15:44:58.697Z] nexus3.edgexfoundry.org:10004 [2023-03-14T15:44:58.968Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T15:44:58.968Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T15:44:58.968Z] Configure a credential helper to remove this warning. See [2023-03-14T15:44:58.968Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T15:44:58.968Z] [2023-03-14T15:44:58.968Z] Login Succeeded [2023-03-14T15:44:58.968Z] docker.io [2023-03-14T15:44:59.241Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T15:44:59.512Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T15:44:59.512Z] Configure a credential helper to remove this warning. See [2023-03-14T15:44:59.512Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T15:44:59.512Z] [2023-03-14T15:44:59.512Z] Login Succeeded [2023-03-14T15:44:59.512Z] ---> docker-login.sh ends [Pipeline] } [2023-03-14T15:44:59.527Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-14T15:44:59.817Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-14T15:44:59.829Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-arm64 [Pipeline] echo [2023-03-14T15:44:59.842Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-14T15:44:59.852Z] ========================================================= [2023-03-14T15:44:59.852Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] [2023-03-14T15:44:59.852Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T15:45:00.203Z] + 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-03-14T15:45:00.476Z] Sending build context to Docker daemon 3.026MB [2023-03-14T15:45:00.748Z] Step 1/21 : ARG BASE=alpine:3.16 [2023-03-14T15:45:00.748Z] Step 2/21 : FROM ${BASE} as builder [2023-03-14T15:45:00.748Z] latest: Pulling from edgex-devops/edgex-gcc-base-arm64 [2023-03-14T15:45:00.748Z] 9b18e9b68314: Pulling fs layer [2023-03-14T15:45:00.748Z] 1def92ead452: Pulling fs layer [2023-03-14T15:45:01.021Z] 9b18e9b68314: Verifying Checksum [2023-03-14T15:45:01.021Z] 9b18e9b68314: Download complete [2023-03-14T15:45:01.621Z] 9b18e9b68314: Pull complete [2023-03-14T15:45:03.588Z] 1def92ead452: Verifying Checksum [2023-03-14T15:45:03.588Z] 1def92ead452: Download complete [2023-03-14T15:45:11.851Z] 1def92ead452: Pull complete [2023-03-14T15:45:11.851Z] Digest: sha256:3c74c28e8b16bff0b36cfc53656b3ae71c0a9fddc9bd5376ab4c3f9356b3cc6c [2023-03-14T15:45:11.851Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest [2023-03-14T15:45:11.851Z] ---> 9a9802766715 [2023-03-14T15:45:11.851Z] 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-03-14T15:45:12.442Z] ---> Running in 565a3a417658 [2023-03-14T15:45:13.866Z] Connecting to iotech.jfrog.io (54.170.201.254:443) [2023-03-14T15:45:13.866Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-03-14T15:45:13.866Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-03-14T15:45:13.866Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-03-14T15:45:14.837Z] Removing intermediate container 565a3a417658 [2023-03-14T15:45:14.837Z] ---> af0bdc6c9288 [2023-03-14T15:45:14.837Z] Step 4/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-03-14T15:45:14.837Z] ---> Running in 31e20e54e8d3 [2023-03-14T15:45:16.255Z] Removing intermediate container 31e20e54e8d3 [2023-03-14T15:45:16.255Z] ---> d9bd4a98c77e [2023-03-14T15:45:16.255Z] 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-03-14T15:45:16.524Z] ---> Running in 633e4259d5d0 [2023-03-14T15:45:17.502Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-14T15:45:17.772Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-03-14T15:45:18.361Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-14T15:45:19.324Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-03-14T15:45:19.324Z] (1/14) Installing hiredis (1.0.2-r0) [2023-03-14T15:45:19.324Z] (2/14) Installing hiredis-dev (1.0.2-r0) [2023-03-14T15:45:19.324Z] (3/14) Installing iotech-iot-1.5 (1.5.0-r0) [2023-03-14T15:45:19.906Z] (4/14) Installing iotech-iot-1.5-dev (1.5.0-r0) [2023-03-14T15:45:20.173Z] (5/14) Installing libcbor (0.9.0-r1) [2023-03-14T15:45:20.173Z] (6/14) Installing libcbor-dev (0.9.0-r1) [2023-03-14T15:45:20.173Z] (7/14) Installing ncurses-dev (6.3_p20220521-r0) [2023-03-14T15:45:20.441Z] (8/14) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) [2023-03-14T15:45:21.409Z] (9/14) Installing libblkid (2.38-r1) [2023-03-14T15:45:21.409Z] (10/14) Installing libuuid (2.38-r1) [2023-03-14T15:45:21.409Z] (11/14) Installing libfdisk (2.38-r1) [2023-03-14T15:45:21.409Z] (12/14) Installing libmount (2.38-r1) [2023-03-14T15:45:21.409Z] (13/14) Installing libsmartcols (2.38-r1) [2023-03-14T15:45:21.409Z] (14/14) Installing util-linux-dev (2.38-r1) [2023-03-14T15:45:21.409Z] Executing busybox-1.35.0-r17.trigger [2023-03-14T15:45:21.409Z] OK: 286 MiB in 90 packages [2023-03-14T15:45:22.823Z] Removing intermediate container 633e4259d5d0 [2023-03-14T15:45:22.823Z] ---> 684c6426f680 [2023-03-14T15:45:22.823Z] Step 6/21 : RUN mkdir /tmp/sdk [2023-03-14T15:45:22.823Z] ---> Running in 683f723a6ded [2023-03-14T15:45:24.236Z] Removing intermediate container 683f723a6ded [2023-03-14T15:45:24.236Z] ---> bf1e8e4debc4 [2023-03-14T15:45:24.236Z] Step 7/21 : COPY VERSION /tmp/sdk [2023-03-14T15:45:24.823Z] ---> 799adad86ac8 [2023-03-14T15:45:24.823Z] Step 8/21 : COPY src /tmp/sdk/src [2023-03-14T15:45:25.799Z] ---> 9aa60d2e6b89 [2023-03-14T15:45:25.800Z] Step 9/21 : COPY include /tmp/sdk/include [2023-03-14T15:45:26.068Z] ---> 23d90fd6901d [2023-03-14T15:45:26.068Z] Step 10/21 : COPY scripts /tmp/sdk/scripts [2023-03-14T15:45:26.655Z] ---> 757b0891e024 [2023-03-14T15:45:26.655Z] Step 11/21 : COPY LICENSE /tmp/sdk [2023-03-14T15:45:26.923Z] ---> b96594ab798f [2023-03-14T15:45:26.923Z] Step 12/21 : COPY Attribution.txt /tmp/sdk [2023-03-14T15:45:27.512Z] ---> de44c929b122 [2023-03-14T15:45:27.512Z] Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2023-03-14T15:45:27.512Z] ---> Running in 06afe1357c2e [2023-03-14T15:45:28.473Z] + CPPCHECK=false [2023-03-14T15:45:28.473Z] + DOCGEN=false [2023-03-14T15:45:28.473Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2023-03-14T15:45:28.473Z] + TOMLVER=SDK-0.2 [2023-03-14T15:45:28.473Z] + CUTILVER=1.4 [2023-03-14T15:45:28.473Z] + '[' 0 -gt 0 ] [2023-03-14T15:45:28.473Z] + readlink -f ./scripts/build.sh [2023-03-14T15:45:28.473Z] + dirname /tmp/sdk/scripts/build.sh [2023-03-14T15:45:28.473Z] + dirname /tmp/sdk/scripts [2023-03-14T15:45:28.473Z] + ROOT=/tmp/sdk [2023-03-14T15:45:28.473Z] + cd /tmp/sdk [2023-03-14T15:45:28.473Z] + '[' '!' -d deps ] [2023-03-14T15:45:28.473Z] + mkdir deps [2023-03-14T15:45:28.473Z] + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2023-03-14T15:45:28.473Z] + tar -C deps -z -x -f - [2023-03-14T15:45:28.473Z] Connecting to github.com (140.82.113.3:443) [2023-03-14T15:45:28.740Z] Connecting to codeload.github.com (140.82.112.9:443) [2023-03-14T15:45:29.007Z] writing to stdout [2023-03-14T15:45:29.007Z] - 100% |********************************| 16451 0:00:00 ETA [2023-03-14T15:45:29.007Z] written to stdout [2023-03-14T15:45:29.007Z] + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c [2023-03-14T15:45:29.007Z] + mkdir -p /tmp/sdk/build/release [2023-03-14T15:45:29.007Z] + cd /tmp/sdk/build/release [2023-03-14T15:45:29.007Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2023-03-14T15:45:29.273Z] -- The C compiler identification is GNU 11.2.1 [2023-03-14T15:45:29.540Z] -- Detecting C compiler ABI info [2023-03-14T15:45:29.806Z] -- Detecting C compiler ABI info - done [2023-03-14T15:45:29.806Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-03-14T15:45:29.806Z] -- Detecting C compile features [2023-03-14T15:45:29.806Z] -- Detecting C compile features - done [2023-03-14T15:45:29.806Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-03-14T15:45:30.073Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.83.1") [2023-03-14T15:45:30.073Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-03-14T15:45:30.073Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-03-14T15:45:30.073Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-03-14T15:45:30.073Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-03-14T15:45:30.073Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-03-14T15:45:30.073Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2023-03-14T15:45:30.073Z] -- /opt/iotech/iot/1.5/include [2023-03-14T15:45:30.073Z] -- C SDK 0.0.0 for Linux [2023-03-14T15:45:30.073Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-03-14T15:45:30.659Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-03-14T15:45:30.659Z] -- Found Curses: /usr/lib/libcurses.so [2023-03-14T15:45:30.926Z] -- Configuring done [2023-03-14T15:45:31.192Z] -- Generating done [2023-03-14T15:45:31.192Z] -- Build files have been written to: /tmp/sdk/build/release [2023-03-14T15:45:31.193Z] + make all package [2023-03-14T15:45:31.193Z] + tee release.log [2023-03-14T15:45:31.460Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-03-14T15:45:32.420Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2023-03-14T15:45:33.380Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2023-03-14T15:45:34.342Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2023-03-14T15:45:35.304Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2023-03-14T15:45:36.266Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2023-03-14T15:45:39.607Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2023-03-14T15:45:40.191Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2023-03-14T15:45:40.459Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2023-03-14T15:45:41.868Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2023-03-14T15:45:44.456Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2023-03-14T15:45:45.419Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2023-03-14T15:45:46.383Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2023-03-14T15:45:47.348Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2023-03-14T15:45:47.935Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2023-03-14T15:45:48.519Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2023-03-14T15:45:52.779Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2023-03-14T15:45:53.364Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2023-03-14T15:45:54.325Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2023-03-14T15:45:55.733Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2023-03-14T15:46:01.935Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2023-03-14T15:46:02.519Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2023-03-14T15:46:03.104Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2023-03-14T15:46:03.692Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2023-03-14T15:46:03.958Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2023-03-14T15:46:05.900Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2023-03-14T15:46:09.253Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2023-03-14T15:46:09.520Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2023-03-14T15:46:10.930Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2023-03-14T15:46:11.892Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2023-03-14T15:46:16.150Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2023-03-14T15:46:21.499Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2023-03-14T15:46:22.463Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2023-03-14T15:46:22.731Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2023-03-14T15:46:23.693Z] [ 68%] Linking C shared library libcsdk.so [2023-03-14T15:46:23.960Z] [ 68%] Built target csdk [2023-03-14T15:46:23.960Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2023-03-14T15:46:24.922Z] [ 72%] Linking C executable template [2023-03-14T15:46:25.507Z] [ 72%] Built target template [2023-03-14T15:46:25.507Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2023-03-14T15:46:26.091Z] [ 76%] Linking C executable device-counter [2023-03-14T15:46:26.676Z] [ 76%] Built target device-counter [2023-03-14T15:46:26.676Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2023-03-14T15:46:27.262Z] [ 80%] Linking C executable device-random [2023-03-14T15:46:27.528Z] [ 80%] Built target device-random [2023-03-14T15:46:27.796Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2023-03-14T15:46:28.381Z] [ 84%] Linking C executable device-gyro [2023-03-14T15:46:28.648Z] [ 84%] Built target device-gyro [2023-03-14T15:46:28.916Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2023-03-14T15:46:29.499Z] [ 88%] Linking C executable device-bitfields [2023-03-14T15:46:29.766Z] [ 88%] Built target device-bitfields [2023-03-14T15:46:30.033Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2023-03-14T15:46:30.993Z] [ 92%] Linking C executable template-discovery [2023-03-14T15:46:31.260Z] [ 92%] Built target template-discovery [2023-03-14T15:46:31.527Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2023-03-14T15:46:32.488Z] [ 96%] Linking C executable device-file [2023-03-14T15:46:32.754Z] [ 96%] Built target device-file [2023-03-14T15:46:32.754Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2023-03-14T15:46:33.715Z] [100%] Linking C executable device-terminal [2023-03-14T15:46:33.982Z] [100%] Built target device-terminal [2023-03-14T15:46:33.982Z] Run CPack packaging tool... [2023-03-14T15:46:33.982Z] CPack: Create package using TGZ [2023-03-14T15:46:33.982Z] CPack: Install projects [2023-03-14T15:46:33.982Z] CPack: - Run preinstall target for: Csdk [2023-03-14T15:46:34.943Z] CPack: - Install project: Csdk [] [2023-03-14T15:46:34.943Z] CPack: Create package [2023-03-14T15:46:34.943Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2023-03-14T15:46:34.943Z] + '[' false '=' true ] [2023-03-14T15:46:34.943Z] + '[' false '=' true ] [2023-03-14T15:46:34.943Z] + mkdir -p /tmp/sdk/build/debug [2023-03-14T15:46:34.943Z] + cd /tmp/sdk/build/debug [2023-03-14T15:46:34.943Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2023-03-14T15:46:35.528Z] -- The C compiler identification is GNU 11.2.1 [2023-03-14T15:46:35.528Z] -- Detecting C compiler ABI info [2023-03-14T15:46:35.796Z] -- Detecting C compiler ABI info - done [2023-03-14T15:46:35.796Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-03-14T15:46:35.796Z] -- Detecting C compile features [2023-03-14T15:46:35.796Z] -- Detecting C compile features - done [2023-03-14T15:46:35.796Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-03-14T15:46:36.062Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.83.1") [2023-03-14T15:46:36.062Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-03-14T15:46:36.062Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-03-14T15:46:36.062Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-03-14T15:46:36.062Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-03-14T15:46:36.062Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-03-14T15:46:36.331Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2023-03-14T15:46:36.331Z] -- /opt/iotech/iot/1.5/include [2023-03-14T15:46:36.331Z] -- C SDK 0.0.0 for Linux [2023-03-14T15:46:36.331Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-03-14T15:46:36.599Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-03-14T15:46:36.599Z] -- Found Curses: /usr/lib/libcurses.so [2023-03-14T15:46:36.867Z] -- Configuring done [2023-03-14T15:46:37.134Z] -- Generating done [2023-03-14T15:46:37.134Z] -- Build files have been written to: /tmp/sdk/build/debug [2023-03-14T15:46:37.134Z] + + maketee [2023-03-14T15:46:37.134Z] debug.log [2023-03-14T15:46:37.402Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-03-14T15:46:37.989Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2023-03-14T15:46:38.256Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2023-03-14T15:46:38.842Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2023-03-14T15:46:39.428Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2023-03-14T15:46:39.697Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2023-03-14T15:46:40.660Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2023-03-14T15:46:41.254Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2023-03-14T15:46:41.522Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2023-03-14T15:46:42.106Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2023-03-14T15:46:43.066Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2023-03-14T15:46:43.333Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2023-03-14T15:46:43.915Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2023-03-14T15:46:44.501Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2023-03-14T15:46:44.771Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2023-03-14T15:46:45.038Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2023-03-14T15:46:46.458Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2023-03-14T15:46:46.725Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2023-03-14T15:46:46.992Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2023-03-14T15:46:47.581Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2023-03-14T15:46:49.526Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2023-03-14T15:46:49.793Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2023-03-14T15:46:50.063Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2023-03-14T15:46:50.648Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2023-03-14T15:46:50.915Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2023-03-14T15:46:51.501Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2023-03-14T15:46:53.453Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2023-03-14T15:46:54.035Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2023-03-14T15:46:54.302Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2023-03-14T15:46:54.884Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2023-03-14T15:46:55.843Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2023-03-14T15:46:56.815Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2023-03-14T15:46:57.400Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2023-03-14T15:46:57.666Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2023-03-14T15:46:58.248Z] [ 68%] Linking C shared library libcsdk.so [2023-03-14T15:46:58.515Z] [ 68%] Built target csdk [2023-03-14T15:46:58.515Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2023-03-14T15:46:58.781Z] [ 72%] Linking C executable template [2023-03-14T15:46:59.364Z] [ 72%] Built target template [2023-03-14T15:46:59.364Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2023-03-14T15:46:59.631Z] [ 76%] Linking C executable device-counter [2023-03-14T15:46:59.898Z] [ 76%] Built target device-counter [2023-03-14T15:46:59.898Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2023-03-14T15:47:00.485Z] [ 80%] Linking C executable device-random [2023-03-14T15:47:00.752Z] [ 80%] Built target device-random [2023-03-14T15:47:00.752Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2023-03-14T15:47:01.018Z] [ 84%] Linking C executable device-gyro [2023-03-14T15:47:01.602Z] [ 84%] Built target device-gyro [2023-03-14T15:47:01.602Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2023-03-14T15:47:01.870Z] [ 88%] Linking C executable device-bitfields [2023-03-14T15:47:02.139Z] [ 88%] Built target device-bitfields [2023-03-14T15:47:02.139Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2023-03-14T15:47:02.722Z] [ 92%] Linking C executable template-discovery [2023-03-14T15:47:02.989Z] [ 92%] Built target template-discovery [2023-03-14T15:47:02.989Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2023-03-14T15:47:03.574Z] [ 96%] Linking C executable device-file [2023-03-14T15:47:03.842Z] [ 96%] Built target device-file [2023-03-14T15:47:04.112Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2023-03-14T15:47:04.696Z] [100%] Linking C executable device-terminal [2023-03-14T15:47:04.963Z] [100%] Built target device-terminal [2023-03-14T15:47:06.914Z] make: Entering directory '/tmp/sdk/build/release' [2023-03-14T15:47:06.914Z] make[1]: Entering directory '/tmp/sdk/build/release' [2023-03-14T15:47:06.914Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-03-14T15:47:06.914Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-03-14T15:47:06.914Z] [ 68%] Built target csdk [2023-03-14T15:47:06.914Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-03-14T15:47:06.914Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-03-14T15:47:06.914Z] [ 72%] Built target template [2023-03-14T15:47:06.914Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-03-14T15:47:06.914Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-03-14T15:47:06.914Z] [ 76%] Built target device-counter [2023-03-14T15:47:06.914Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-03-14T15:47:06.914Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-03-14T15:47:06.914Z] [ 80%] Built target device-random [2023-03-14T15:47:06.914Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-03-14T15:47:07.181Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-03-14T15:47:07.181Z] [ 84%] Built target device-gyro [2023-03-14T15:47:07.181Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-03-14T15:47:07.181Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-03-14T15:47:07.181Z] [ 88%] Built target device-bitfields [2023-03-14T15:47:07.181Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-03-14T15:47:07.181Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-03-14T15:47:07.181Z] [ 92%] Built target template-discovery [2023-03-14T15:47:07.181Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-03-14T15:47:07.181Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-03-14T15:47:07.181Z] [ 96%] Built target device-file [2023-03-14T15:47:07.181Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-03-14T15:47:07.181Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-03-14T15:47:07.448Z] [100%] Built target device-terminal [2023-03-14T15:47:07.448Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2023-03-14T15:47:07.448Z] Install the project... [2023-03-14T15:47:07.448Z] -- Install configuration: "Release" [2023-03-14T15:47:07.448Z] -- Installing: /usr/local/lib/libcsdk.so [2023-03-14T15:47:07.448Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2023-03-14T15:47:07.448Z] -- Installing: /usr/local/include [2023-03-14T15:47:07.448Z] -- Installing: /usr/local/include/devsdk [2023-03-14T15:47:07.448Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2023-03-14T15:47:07.448Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2023-03-14T15:47:07.448Z] -- Installing: /usr/local/include/edgex [2023-03-14T15:47:07.448Z] -- Installing: /usr/local/include/edgex/rest-server.h [2023-03-14T15:47:07.448Z] -- Installing: /usr/local/include/edgex/edgex.h [2023-03-14T15:47:07.449Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2023-03-14T15:47:07.449Z] -- Installing: /usr/local/include/edgex/devices.h [2023-03-14T15:47:07.449Z] -- Installing: /usr/local/include/edgex/profiles.h [2023-03-14T15:47:07.449Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2023-03-14T15:47:07.449Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2023-03-14T15:47:07.449Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2023-03-14T15:47:07.449Z] make: Leaving directory '/tmp/sdk/build/release' [2023-03-14T15:47:08.858Z] Removing intermediate container 06afe1357c2e [2023-03-14T15:47:08.858Z] ---> 8125d052c92f [2023-03-14T15:47:08.858Z] Step 14/21 : FROM ${BASE} [2023-03-14T15:47:08.858Z] ---> 9a9802766715 [2023-03-14T15:47:08.858Z] Step 15/21 : LABEL maintainer="IOTech " [2023-03-14T15:47:08.858Z] ---> Running in 162ac3c170fb [2023-03-14T15:47:09.450Z] Removing intermediate container 162ac3c170fb [2023-03-14T15:47:09.450Z] ---> 6717b9a256f6 [2023-03-14T15:47:09.450Z] 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-03-14T15:47:09.450Z] ---> Running in 9dff16d5ac61 [2023-03-14T15:47:10.423Z] Connecting to iotech.jfrog.io (52.212.183.138:443) [2023-03-14T15:47:11.011Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-03-14T15:47:11.011Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-03-14T15:47:11.011Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-03-14T15:47:11.600Z] Removing intermediate container 9dff16d5ac61 [2023-03-14T15:47:11.600Z] ---> 4a9e1022567d [2023-03-14T15:47:11.600Z] Step 17/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-03-14T15:47:11.600Z] ---> Running in 8c796d556ee5 [2023-03-14T15:47:13.552Z] Removing intermediate container 8c796d556ee5 [2023-03-14T15:47:13.552Z] ---> 3a21e9d05ac8 [2023-03-14T15:47:13.552Z] 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-03-14T15:47:13.552Z] ---> Running in 78e590cc3604 [2023-03-14T15:47:14.513Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-14T15:47:14.779Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-03-14T15:47:15.373Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-14T15:47:16.332Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-03-14T15:47:16.332Z] (1/7) Installing curl (7.83.1-r6) [2023-03-14T15:47:16.332Z] (2/7) Installing hiredis (1.0.2-r0) [2023-03-14T15:47:16.332Z] (3/7) Installing hiredis-dev (1.0.2-r0) [2023-03-14T15:47:16.332Z] (4/7) Installing iotech-iot-1.4 (1.4.1-r0) [2023-03-14T15:47:16.914Z] (5/7) Installing libcbor (0.9.0-r1) [2023-03-14T15:47:16.914Z] (6/7) Installing libuuid (2.38-r1) [2023-03-14T15:47:16.914Z] (7/7) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) [2023-03-14T15:47:17.874Z] Executing busybox-1.35.0-r17.trigger [2023-03-14T15:47:17.874Z] OK: 281 MiB in 83 packages [2023-03-14T15:47:21.234Z] Removing intermediate container 78e590cc3604 [2023-03-14T15:47:21.234Z] ---> 093475167c54 [2023-03-14T15:47:21.234Z] Step 19/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2023-03-14T15:47:21.234Z] ---> 7ed552e22804 [2023-03-14T15:47:21.234Z] Step 20/21 : COPY --from=builder /usr/local/lib /usr/local/lib [2023-03-14T15:47:21.816Z] ---> c919c14801e0 [2023-03-14T15:47:21.816Z] Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2023-03-14T15:47:22.399Z] ---> 9b0f70ae9684 [2023-03-14T15:47:22.399Z] Successfully built 9b0f70ae9684 [2023-03-14T15:47:22.399Z] 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-03-14T15:47:22.808Z] + docker inspect -f . ci-base-image-arm64 [2023-03-14T15:47:22.808Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-14T15:47:23.003Z] prd-ubuntu20.04-docker-arm64-4c-16g-168 does not seem to be running inside a container [2023-03-14T15:47:23.157Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/8 -v /w/workspace/device-sdk-c/8:/w/workspace/device-sdk-c/8:rw,z -v /w/workspace/device-sdk-c/8@tmp:/w/workspace/device-sdk-c/8@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 ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-14T15:47:24.442Z] $ docker top c08de68119466465583aeac6221b3a1472c7f16d4ada3e4879a78803ee91f712 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-14T15:47:25.286Z] + make test [2023-03-14T15:47:25.286Z] echo "make test" [2023-03-14T15:47:25.286Z] make test [Pipeline] } [2023-03-14T15:47:25.314Z] $ docker stop --time=1 c08de68119466465583aeac6221b3a1472c7f16d4ada3e4879a78803ee91f712 [2023-03-14T15:47:26.992Z] $ docker rm -f --volumes c08de68119466465583aeac6221b3a1472c7f16d4ada3e4879a78803ee91f712 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-14T15:47:27.554Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-14T15:47:27.889Z] + ls -al . [2023-03-14T15:47:27.889Z] total 200 [2023-03-14T15:47:27.889Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 14 15:44 . [2023-03-14T15:47:27.889Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 14 15:44 .. [2023-03-14T15:47:27.889Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 14 15:44 .git [2023-03-14T15:47:27.889Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 14 15:44 .github [2023-03-14T15:47:27.889Z] -rw-rw-r-- 1 jenkins jenkins 176 Mar 14 15:44 .gitignore [2023-03-14T15:47:27.889Z] -rw-rw-r-- 1 jenkins jenkins 3104 Mar 14 15:44 Attribution.txt [2023-03-14T15:47:27.889Z] -rw-rw-r-- 1 jenkins jenkins 8743 Mar 14 15:44 CHANGES [2023-03-14T15:47:27.889Z] -rw-rw-r-- 1 jenkins jenkins 108574 Mar 14 15:44 Doxyfile [2023-03-14T15:47:27.889Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 14 15:44 GOVERNANCE.md [2023-03-14T15:47:27.889Z] -rw-rw-r-- 1 jenkins jenkins 784 Mar 14 15:44 Jenkinsfile [2023-03-14T15:47:27.889Z] -rw-rw-r-- 1 jenkins jenkins 10174 Mar 14 15:44 LICENSE [2023-03-14T15:47:27.889Z] -rw-rw-r-- 1 jenkins jenkins 444 Mar 14 15:44 Makefile [2023-03-14T15:47:27.889Z] -rw-rw-r-- 1 jenkins jenkins 618 Mar 14 15:44 OWNERS.md [2023-03-14T15:47:27.889Z] -rw-rw-r-- 1 jenkins jenkins 4086 Mar 14 15:44 README.md [2023-03-14T15:47:27.889Z] -rw-rw-r-- 1 jenkins jenkins 1245 Mar 14 15:44 README.v3.md [2023-03-14T15:47:27.889Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 14 15:40 VERSION [2023-03-14T15:47:27.889Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 14 15:44 docs [2023-03-14T15:47:27.889Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 14 15:44 include [2023-03-14T15:47:27.889Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 14 15:44 scripts [2023-03-14T15:47:27.889Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 14 15:44 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T15:47:28.253Z] + 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=6da3d0b5b9fb09a6f9af50455a2db36a497b5fb6 --label arch=arm64 --label version=0.0.0 . [2023-03-14T15:47:28.526Z] Sending build context to Docker daemon 3.026MB [2023-03-14T15:47:28.796Z] Step 1/17 : ARG BASE=alpine:3.16 [2023-03-14T15:47:28.796Z] Step 2/17 : FROM ${BASE} [2023-03-14T15:47:28.796Z] ---> 9b0f70ae9684 [2023-03-14T15:47:28.796Z] Step 3/17 : LABEL maintainer="IOTech " [2023-03-14T15:47:28.796Z] ---> Running in 54764d5d5ab3 [2023-03-14T15:47:29.076Z] Removing intermediate container 54764d5d5ab3 [2023-03-14T15:47:29.076Z] ---> c3789f91b696 [2023-03-14T15:47:29.076Z] 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-03-14T15:47:29.350Z] ---> Running in d4cf1498ce3e [2023-03-14T15:47:30.322Z] Connecting to iotech.jfrog.io (52.212.181.93:443) [2023-03-14T15:47:30.909Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-03-14T15:47:30.909Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-03-14T15:47:30.909Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-03-14T15:47:31.494Z] Removing intermediate container d4cf1498ce3e [2023-03-14T15:47:31.494Z] ---> 0c74cab308b9 [2023-03-14T15:47:31.494Z] Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-03-14T15:47:31.763Z] ---> Running in 74f84d95650a [2023-03-14T15:47:33.719Z] Removing intermediate container 74f84d95650a [2023-03-14T15:47:33.719Z] ---> e57a2c32c296 [2023-03-14T15:47:33.719Z] 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-03-14T15:47:33.719Z] ---> Running in 88e0f6e84a56 [2023-03-14T15:47:34.305Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-14T15:47:34.888Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-03-14T15:47:35.473Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-14T15:47:36.059Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-03-14T15:47:36.059Z] (1/9) Installing iotech-iot-1.5 (1.5.0-r0) [2023-03-14T15:47:36.644Z] (2/9) Installing iotech-iot-1.5-dev (1.5.0-r0) [2023-03-14T15:47:36.644Z] (3/9) Installing libcbor-dev (0.9.0-r1) [2023-03-14T15:47:36.644Z] (4/9) Installing ncurses-dev (6.3_p20220521-r0) [2023-03-14T15:47:36.644Z] (5/9) Installing libblkid (2.38-r1) [2023-03-14T15:47:36.644Z] (6/9) Installing libfdisk (2.38-r1) [2023-03-14T15:47:36.644Z] (7/9) Installing libmount (2.38-r1) [2023-03-14T15:47:36.644Z] (8/9) Installing libsmartcols (2.38-r1) [2023-03-14T15:47:36.912Z] (9/9) Installing util-linux-dev (2.38-r1) [2023-03-14T15:47:36.912Z] Executing busybox-1.35.0-r17.trigger [2023-03-14T15:47:36.912Z] OK: 287 MiB in 92 packages [2023-03-14T15:47:38.336Z] Removing intermediate container 88e0f6e84a56 [2023-03-14T15:47:38.336Z] ---> 4ee61d8a7c72 [2023-03-14T15:47:38.336Z] Step 7/17 : COPY VERSION /edgex-c-sdk/ [2023-03-14T15:47:38.605Z] ---> f4ac8d69938a [2023-03-14T15:47:38.605Z] Step 8/17 : COPY src /edgex-c-sdk/src/ [2023-03-14T15:47:39.568Z] ---> f9426f6ace82 [2023-03-14T15:47:39.568Z] Step 9/17 : COPY include /edgex-c-sdk/include/ [2023-03-14T15:47:40.156Z] ---> 00903e4ee62c [2023-03-14T15:47:40.156Z] Step 10/17 : COPY scripts /edgex-c-sdk/scripts [2023-03-14T15:47:40.423Z] ---> ba1305e6a921 [2023-03-14T15:47:40.423Z] Step 11/17 : COPY LICENSE /edgex-c-sdk/ [2023-03-14T15:47:41.007Z] ---> d5dbf2d1d23e [2023-03-14T15:47:41.007Z] Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ [2023-03-14T15:47:41.592Z] ---> 924aa2a8bdb0 [2023-03-14T15:47:41.592Z] Step 13/17 : WORKDIR /edgex-c-sdk [2023-03-14T15:47:41.592Z] ---> Running in fd48bcb57e2b [2023-03-14T15:47:42.178Z] Removing intermediate container fd48bcb57e2b [2023-03-14T15:47:42.178Z] ---> 4633b3cbbd35 [2023-03-14T15:47:42.178Z] Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2023-03-14T15:47:42.178Z] ---> Running in 5f3157253b13 [2023-03-14T15:47:42.447Z] Removing intermediate container 5f3157253b13 [2023-03-14T15:47:42.447Z] ---> 0e33ac722514 [2023-03-14T15:47:42.447Z] Step 15/17 : LABEL arch=arm64 [2023-03-14T15:47:42.447Z] ---> Running in 0203ca87cf95 [2023-03-14T15:47:42.715Z] Removing intermediate container 0203ca87cf95 [2023-03-14T15:47:42.715Z] ---> dafa11643a94 [2023-03-14T15:47:42.715Z] Step 16/17 : LABEL git_sha=6da3d0b5b9fb09a6f9af50455a2db36a497b5fb6 [2023-03-14T15:47:42.988Z] ---> Running in ff5c2c695c2f [2023-03-14T15:47:43.255Z] Removing intermediate container ff5c2c695c2f [2023-03-14T15:47:43.255Z] ---> de032c059750 [2023-03-14T15:47:43.255Z] Step 17/17 : LABEL version=0.0.0 [2023-03-14T15:47:43.255Z] ---> Running in c8db982c1268 [2023-03-14T15:47:43.523Z] Removing intermediate container c8db982c1268 [2023-03-14T15:47:43.523Z] ---> 21c93474c45c [2023-03-14T15:47:43.523Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2023-03-14T15:47:43.523Z] Successfully built 21c93474c45c [2023-03-14T15:47:43.523Z] 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-03-14T15:47:43.956Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-14T15:47:43.957Z] [2023-03-14T15:47:43.957Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T15:47:44.294Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-14T15:47:44.561Z] arm64: Pulling from edgex-lftools-log-publisher [2023-03-14T15:47:44.561Z] 8998bd30e6a1: Pulling fs layer [2023-03-14T15:47:44.561Z] 04944245beec: Pulling fs layer [2023-03-14T15:47:44.561Z] 699f458cf7ca: Pulling fs layer [2023-03-14T15:47:44.561Z] 765212b225bb: Pulling fs layer [2023-03-14T15:47:44.561Z] f23df028b6ca: Pulling fs layer [2023-03-14T15:47:44.561Z] d65c8cfc05b1: Pulling fs layer [2023-03-14T15:47:44.561Z] 2437ff75d9bd: Pulling fs layer [2023-03-14T15:47:44.561Z] f23df028b6ca: Waiting [2023-03-14T15:47:44.561Z] d65c8cfc05b1: Waiting [2023-03-14T15:47:44.561Z] 2437ff75d9bd: Waiting [2023-03-14T15:47:44.561Z] 765212b225bb: Waiting [2023-03-14T15:47:44.561Z] 04944245beec: Verifying Checksum [2023-03-14T15:47:44.561Z] 04944245beec: Download complete [2023-03-14T15:47:44.561Z] 765212b225bb: Verifying Checksum [2023-03-14T15:47:44.561Z] 765212b225bb: Download complete [2023-03-14T15:47:44.561Z] f23df028b6ca: Verifying Checksum [2023-03-14T15:47:44.561Z] f23df028b6ca: Download complete [2023-03-14T15:47:44.831Z] d65c8cfc05b1: Verifying Checksum [2023-03-14T15:47:44.831Z] d65c8cfc05b1: Download complete [2023-03-14T15:47:44.831Z] 699f458cf7ca: Verifying Checksum [2023-03-14T15:47:44.831Z] 699f458cf7ca: Download complete [2023-03-14T15:47:45.417Z] 8998bd30e6a1: Verifying Checksum [2023-03-14T15:47:45.417Z] 8998bd30e6a1: Download complete [2023-03-14T15:47:48.018Z] 2437ff75d9bd: Verifying Checksum [2023-03-14T15:47:48.018Z] 2437ff75d9bd: Download complete [2023-03-14T15:47:49.428Z] 8998bd30e6a1: Pull complete [2023-03-14T15:47:50.016Z] 04944245beec: Pull complete [2023-03-14T15:47:51.425Z] 699f458cf7ca: Pull complete [2023-03-14T15:47:51.425Z] 765212b225bb: Pull complete [2023-03-14T15:47:52.385Z] f23df028b6ca: Pull complete [2023-03-14T15:47:52.655Z] d65c8cfc05b1: Pull complete [2023-03-14T15:48:07.648Z] 2437ff75d9bd: Pull complete [2023-03-14T15:48:07.648Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-03-14T15:48:07.648Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-14T15:48:07.648Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-14T15:48:07.840Z] prd-ubuntu20.04-docker-arm64-4c-16g-168 does not seem to be running inside a container [2023-03-14T15:48:07.917Z] $ 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/8 -v /w/workspace/device-sdk-c/8:/w/workspace/device-sdk-c/8:rw,z -v /w/workspace/device-sdk-c/8@tmp:/w/workspace/device-sdk-c/8@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 ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-03-14T15:48:10.636Z] $ docker top 21c61ecd8d09c6171d1255b58271835c46688e58909d039d1dd5563592e91578 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-14T15:48:11.475Z] ---> job-cost.sh [2023-03-14T15:48:11.475Z] lf-activate-venv: SKIPPING [2023-03-14T15:48:11.475Z] INFO: No Stack... [2023-03-14T15:48:11.741Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-03-14T15:48:12.700Z] INFO: Archiving Costs [Pipeline] sh [2023-03-14T15:48:13.021Z] + cut -d, -f6 [2023-03-14T15:48:13.021Z] + cat /w/workspace/device-sdk-c/8/archives/cost.csv [Pipeline] lock [2023-03-14T15:48:13.341Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-442-8-stack-cost] [2023-03-14T15:48:13.348Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-442-8-stack-cost] did not exist. Created. [2023-03-14T15:48:13.348Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-442-8-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-14T15:48:13.995Z] /w/workspace/device-sdk-c/8@tmp/durable-70a22c6a/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-03-14T15:48:14.334Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-03-14T15:48:14.356Z] Warning: overwriting stash ‘stack-cost’ [2023-03-14T15:48:14.866Z] Stashed 1 file(s) [Pipeline] } [2023-03-14T15:48:14.873Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-442-8-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-14T15:48:14.896Z] $ docker stop --time=1 21c61ecd8d09c6171d1255b58271835c46688e58909d039d1dd5563592e91578 [2023-03-14T15:48:16.391Z] $ docker rm -f --volumes 21c61ecd8d09c6171d1255b58271835c46688e58909d039d1dd5563592e91578 [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-03-14T15:48:17.095Z] + [ -d /w/workspace/edgexfoundry_device-sdk-c_PR-442/archives ] [2023-03-14T15:48:17.095Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-442/archives [2023-03-14T15:48:17.095Z] total 16 [2023-03-14T15:48:17.095Z] drwxr-xr-x 3 root root 4096 Mar 14 15:41 . [2023-03-14T15:48:17.095Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 14 15:41 .. [2023-03-14T15:48:17.095Z] drwxr-xr-x 2 root root 4096 Mar 14 15:41 cost [2023-03-14T15:48:17.095Z] -rw-r--r-- 1 root root 84 Mar 14 15:41 cost.csv [2023-03-14T15:48:17.095Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_PR-442/archives [2023-03-14T15:48:17.095Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-442/archives [2023-03-14T15:48:17.095Z] total 16 [2023-03-14T15:48:17.095Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 14 15:41 . [2023-03-14T15:48:17.095Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 14 15:41 .. [2023-03-14T15:48:17.095Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 14 15:41 cost [2023-03-14T15:48:17.095Z] -rw-r--r-- 1 jenkins jenkins 84 Mar 14 15:41 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-03-14T15:48:17.386Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-14T15:48:18.247Z] ---> package-listing.sh [2023-03-14T15:48:18.247Z] ++ facter osfamily [2023-03-14T15:48:18.247Z] ++ tr '[:upper:]' '[:lower:]' [2023-03-14T15:48:18.507Z] + OS_FAMILY=debian [2023-03-14T15:48:18.507Z] + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-442 [2023-03-14T15:48:18.507Z] + START_PACKAGES=/tmp/packages_start.txt [2023-03-14T15:48:18.507Z] + END_PACKAGES=/tmp/packages_end.txt [2023-03-14T15:48:18.507Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-03-14T15:48:18.507Z] + PACKAGES=/tmp/packages_start.txt [2023-03-14T15:48:18.507Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-442 ']' [2023-03-14T15:48:18.507Z] + PACKAGES=/tmp/packages_end.txt [2023-03-14T15:48:18.507Z] + case "${OS_FAMILY}" in [2023-03-14T15:48:18.507Z] + dpkg -l [2023-03-14T15:48:18.507Z] + grep '^ii' [2023-03-14T15:48:18.507Z] + '[' -f /tmp/packages_start.txt ']' [2023-03-14T15:48:18.507Z] + '[' -f /tmp/packages_end.txt ']' [2023-03-14T15:48:18.507Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-03-14T15:48:18.507Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-442 ']' [2023-03-14T15:48:18.507Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-442/archives/ [2023-03-14T15:48:18.507Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-442/archives/ [Pipeline] echo [2023-03-14T15:48:18.517Z] 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-442/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-03-14T15:48:18.794Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T15:48:19.353Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-14T15:48:19.353Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-14T15:48:19.423Z] prd-ubuntu20.04-docker-8c-8g-167 does not seem to be running inside a container [2023-03-14T15:48:19.459Z] $ 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-442/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-442 -v /w/workspace/edgexfoundry_device-sdk-c_PR-442:/w/workspace/edgexfoundry_device-sdk-c_PR-442:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-442@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-442@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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-14T15:48:19.681Z] $ docker top 76a28cbc860139f78933e3788298db192c5e72684ccf8af4a0ada3ff475dac99 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-14T15:48:20.019Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-03-14T15:48:20.301Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-03-14T15:48:20.586Z] + ls /var/log/sa-host [2023-03-14T15:48:20.586Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-14T15:48:20.724Z] provisioning config files... [2023-03-14T15:48:20.732Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-442@tmp/config18093058385008433009tmp [Pipeline] { [Pipeline] echo [2023-03-14T15:48:20.745Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-14T15:48:21.025Z] ---> create-netrc.sh [Pipeline] } [2023-03-14T15:48:21.031Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-03-14T15:48:21.351Z] ---> python-tools-install.sh [Pipeline] echo [2023-03-14T15:48:21.359Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-14T15:48:21.642Z] ---> sudo-logs.sh [2023-03-14T15:48:21.642Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-03-14T15:48:21.671Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-14T15:48:21.951Z] ---> job-cost.sh [2023-03-14T15:48:21.951Z] lf-activate-venv: SKIPPING [2023-03-14T15:48:21.951Z] DEBUG: total: 0.2199999988079071 [2023-03-14T15:48:21.951Z] INFO: Retrieving Stack Cost... [2023-03-14T15:48:22.209Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-14T15:48:22.468Z] INFO: Archiving Costs [Pipeline] echo [2023-03-14T15:48:22.476Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-14T15:48:22.756Z] ---> logs-deploy.sh [2023-03-14T15:48:22.756Z] lf-activate-venv: SKIPPING [2023-03-14T15:48:22.756Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-442/8 [2023-03-14T15:48:22.756Z] INFO: archiving workspace using pattern(s): [2023-03-14T15:48:23.696Z] Archives upload complete. [2023-03-14T15:48:23.696Z] INFO: archiving logs to Nexus