Pull request #445 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 TuhinDasgupta-eaton for edgexfoundry/device-sdk-c Loading trusted files from base branch main at 21f79343dd353c602474ef88d38fd1373f48e545 rather than 2a3632d81a582a3f8b976bd0114990b7a285278b Obtained Jenkinsfile from 21f79343dd353c602474ef88d38fd1373f48e545 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-ssh8530283789213876242.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh6625803924477524698.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-445/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-445/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3537200731018114249.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 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-ssh17217126423632716533.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-445/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-445/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh219357719903413793.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-8096 in /w/workspace/edgexfoundry_device-sdk-c_PR-445 [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-445 # 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/445/head:refs/remotes/origin/PR-445 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 21f79343dd353c602474ef88d38fd1373f48e545 into PR head commit 2a3632d81a582a3f8b976bd0114990b7a285278b Merge succeeded, producing 2a3632d81a582a3f8b976bd0114990b7a285278b Checking out Revision 2a3632d81a582a3f8b976bd0114990b7a285278b (PR-445) > git config core.sparsecheckout # timeout=10 > git checkout -f 2a3632d81a582a3f8b976bd0114990b7a285278b # 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 21f79343dd353c602474ef88d38fd1373f48e545 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2a3632d81a582a3f8b976bd0114990b7a285278b # timeout=10 Commit message: "Resolving build issues" > git rev-list --no-walk febd721e535cd015b8b6f2f4e53c0b94d8a29ac2 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-03-02T14:05:58.154Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-03-02T14:05:58.192Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-03-02T14:05:58.205Z] ========================================================= [2023-03-02T14:05:58.205Z] EdgeX Global Pipelines Version Info [2023-03-02T14:05:58.205Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-03-02T14:05:58.931Z] ------------------- [2023-03-02T14:05:58.931Z] stable info: [2023-03-02T14:05:58.931Z] ------------------- [2023-03-02T14:05:58.931Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-03-02T14:05:58.931Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-03-02T14:05:58.931Z] Message: update stable to v1.0.244 [2023-03-02T14:05:59.499Z] ------------------- [2023-03-02T14:05:59.499Z] experimental info: [2023-03-02T14:05:59.499Z] ------------------- [2023-03-02T14:05:59.499Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-03-02T14:05:59.499Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-03-02T14:05:59.499Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-03-02T14:05:59.663Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo [2023-03-02T14:05:59.671Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo [2023-03-02T14:05:59.678Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-03-02T14:05:59.686Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-03-02T14:05:59.694Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-03-02T14:05:59.710Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo [2023-03-02T14:05:59.720Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo [2023-03-02T14:05:59.730Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-03-02T14:05:59.740Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-03-02T14:05:59.752Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo [2023-03-02T14:05:59.763Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-03-02T14:05:59.778Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-03-02T14:05:59.794Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-03-02T14:05:59.809Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-03-02T14:05:59.821Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-03-02T14:05:59.834Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-03-02T14:05:59.844Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-03-02T14:05:59.859Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-445 [Pipeline] echo [2023-03-02T14:05:59.869Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-445 [Pipeline] echo [2023-03-02T14:05:59.879Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-445 [Pipeline] echo [2023-03-02T14:05:59.891Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 2a3632d81a582a3f8b976bd0114990b7a285278b [Pipeline] echo [2023-03-02T14:05:59.904Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 2a3632d [Pipeline] echo [2023-03-02T14:05:59.914Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-02T14:05:59.954Z] provisioning config files... [2023-03-02T14:05:59.966Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-445@tmp/config12470688396863737053tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-02T14:06:00.269Z] ---> docker-login.sh [2023-03-02T14:06:00.269Z] nexus3.edgexfoundry.org:10001 [2023-03-02T14:06:00.528Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-02T14:06:00.528Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-02T14:06:00.528Z] Configure a credential helper to remove this warning. See [2023-03-02T14:06:00.528Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-02T14:06:00.528Z] [2023-03-02T14:06:00.528Z] Login Succeeded [2023-03-02T14:06:00.528Z] nexus3.edgexfoundry.org:10002 [2023-03-02T14:06:00.791Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-02T14:06:00.791Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-02T14:06:00.791Z] Configure a credential helper to remove this warning. See [2023-03-02T14:06:00.791Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-02T14:06:00.791Z] [2023-03-02T14:06:00.791Z] Login Succeeded [2023-03-02T14:06:00.791Z] nexus3.edgexfoundry.org:10003 [2023-03-02T14:06:00.791Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-02T14:06:00.791Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-02T14:06:00.791Z] Configure a credential helper to remove this warning. See [2023-03-02T14:06:00.791Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-02T14:06:00.791Z] [2023-03-02T14:06:00.791Z] Login Succeeded [2023-03-02T14:06:00.791Z] nexus3.edgexfoundry.org:10004 [2023-03-02T14:06:00.791Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-02T14:06:01.051Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-02T14:06:01.051Z] Configure a credential helper to remove this warning. See [2023-03-02T14:06:01.051Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-02T14:06:01.051Z] [2023-03-02T14:06:01.051Z] Login Succeeded [2023-03-02T14:06:01.051Z] docker.io [2023-03-02T14:06:01.051Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-02T14:06:01.310Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-02T14:06:01.310Z] Configure a credential helper to remove this warning. See [2023-03-02T14:06:01.310Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-02T14:06:01.310Z] [2023-03-02T14:06:01.310Z] Login Succeeded [2023-03-02T14:06:01.310Z] ---> docker-login.sh ends [Pipeline] } [2023-03-02T14:06:01.317Z] 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-02T14:06:01.681Z] + git rev-list -1 --merges 2a3632d81a582a3f8b976bd0114990b7a285278b~1..2a3632d81a582a3f8b976bd0114990b7a285278b [Pipeline] echo [2023-03-02T14:06:01.736Z] -----------> git rev-list -1 --merges 2a3632d81a582a3f8b976bd0114990b7a285278b~1..2a3632d81a582a3f8b976bd0114990b7a285278b 2a3632d81a582a3f8b976bd0114990b7a285278b [false] [Pipeline] sh [2023-03-02T14:06:02.034Z] + git log --format=format:%s -1 2a3632d81a582a3f8b976bd0114990b7a285278b [Pipeline] echo [2023-03-02T14:06:02.049Z] ========================================================= [2023-03-02T14:06:02.049Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-03-02T14:06:02.049Z] ========================================================= 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-02T14:06:02.426Z] + git rev-list -1 --merges 2a3632d81a582a3f8b976bd0114990b7a285278b~1..2a3632d81a582a3f8b976bd0114990b7a285278b [Pipeline] echo [2023-03-02T14:06:02.438Z] -----------> git rev-list -1 --merges 2a3632d81a582a3f8b976bd0114990b7a285278b~1..2a3632d81a582a3f8b976bd0114990b7a285278b 2a3632d81a582a3f8b976bd0114990b7a285278b [false] [Pipeline] sh [2023-03-02T14:06:02.724Z] + git log --format=format:%s -1 2a3632d81a582a3f8b976bd0114990b7a285278b [Pipeline] echo [2023-03-02T14:06:02.740Z] ========================================================= [2023-03-02T14:06:02.740Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-03-02T14:06:02.740Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh [2023-03-02T14:06:03.206Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-02T14:06:03.206Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-03-02T14:06:03.206Z] + [ -e /tmp/ssh_known_hosts ] [2023-03-02T14:06:03.206Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-03-02T14:06:03.206Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-03-02T14:06:03.206Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-03-02T14:06:03.206Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-02T14:06:03.601Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-02T14:06:03.601Z] [2023-03-02T14:06:03.601Z] 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-02T14:06:03.903Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-02T14:06:03.903Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-03-02T14:06:03.903Z] b85a868b505f: Pulling fs layer [2023-03-02T14:06:03.903Z] e2be974225ed: Pulling fs layer [2023-03-02T14:06:03.903Z] 339a4e72a1f5: Pulling fs layer [2023-03-02T14:06:03.903Z] 988bab9f4d93: Pulling fs layer [2023-03-02T14:06:03.903Z] 1469e6f7b9e6: Pulling fs layer [2023-03-02T14:06:03.903Z] 988bab9f4d93: Waiting [2023-03-02T14:06:03.903Z] eaf3925da568: Pulling fs layer [2023-03-02T14:06:03.903Z] 1469e6f7b9e6: Waiting [2023-03-02T14:06:03.903Z] bab4dde63d76: Pulling fs layer [2023-03-02T14:06:03.903Z] bde34c3a00c8: Pulling fs layer [2023-03-02T14:06:03.903Z] b352a97aabf1: Pulling fs layer [2023-03-02T14:06:03.903Z] eaf3925da568: Waiting [2023-03-02T14:06:03.903Z] bde34c3a00c8: Waiting [2023-03-02T14:06:03.903Z] b352a97aabf1: Waiting [2023-03-02T14:06:03.903Z] 4872d77fe225: Pulling fs layer [2023-03-02T14:06:03.903Z] 5851b861e8e6: Pulling fs layer [2023-03-02T14:06:03.903Z] 4872d77fe225: Waiting [2023-03-02T14:06:03.903Z] 5851b861e8e6: Waiting [2023-03-02T14:06:03.903Z] e2be974225ed: Verifying Checksum [2023-03-02T14:06:03.903Z] e2be974225ed: Download complete [2023-03-02T14:06:03.903Z] 988bab9f4d93: Verifying Checksum [2023-03-02T14:06:03.903Z] 988bab9f4d93: Download complete [2023-03-02T14:06:04.166Z] 339a4e72a1f5: Verifying Checksum [2023-03-02T14:06:04.166Z] 339a4e72a1f5: Download complete [2023-03-02T14:06:04.166Z] 1469e6f7b9e6: Verifying Checksum [2023-03-02T14:06:04.166Z] 1469e6f7b9e6: Download complete [2023-03-02T14:06:04.166Z] eaf3925da568: Verifying Checksum [2023-03-02T14:06:04.166Z] eaf3925da568: Download complete [2023-03-02T14:06:04.166Z] bde34c3a00c8: Download complete [2023-03-02T14:06:04.166Z] b352a97aabf1: Download complete [2023-03-02T14:06:04.166Z] 4872d77fe225: Verifying Checksum [2023-03-02T14:06:04.166Z] 4872d77fe225: Download complete [2023-03-02T14:06:04.166Z] 5851b861e8e6: Verifying Checksum [2023-03-02T14:06:04.166Z] 5851b861e8e6: Download complete [2023-03-02T14:06:04.166Z] b85a868b505f: Verifying Checksum [2023-03-02T14:06:04.166Z] b85a868b505f: Download complete [2023-03-02T14:06:04.735Z] bab4dde63d76: Verifying Checksum [2023-03-02T14:06:04.735Z] bab4dde63d76: Download complete [2023-03-02T14:06:05.673Z] b85a868b505f: Pull complete [2023-03-02T14:06:05.673Z] e2be974225ed: Pull complete [2023-03-02T14:06:06.241Z] 339a4e72a1f5: Pull complete [2023-03-02T14:06:06.241Z] 988bab9f4d93: Pull complete [2023-03-02T14:06:06.500Z] 1469e6f7b9e6: Pull complete [2023-03-02T14:06:06.500Z] eaf3925da568: Pull complete [2023-03-02T14:06:09.062Z] bab4dde63d76: Pull complete [2023-03-02T14:06:09.320Z] bde34c3a00c8: Pull complete [2023-03-02T14:06:09.888Z] b352a97aabf1: Pull complete [2023-03-02T14:06:10.159Z] 4872d77fe225: Pull complete [2023-03-02T14:06:10.727Z] 5851b861e8e6: Pull complete [2023-03-02T14:06:10.727Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-03-02T14:06:10.985Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-02T14:06:10.985Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-02T14:06:11.120Z] prd-ubuntu20.04-docker-8c-8g-8096 does not seem to be running inside a container [2023-03-02T14:06:11.180Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-445 -v /w/workspace/edgexfoundry_device-sdk-c_PR-445:/w/workspace/edgexfoundry_device-sdk-c_PR-445:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-445@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-445@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-03-02T14:06:17.602Z] $ docker top 63fb6945f5f305b67ef6a1a8ced42df92fac0951d2d8ae49588cfcec0aea0172 -eo pid,comm [2023-03-02T14:06:17.650Z] 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-02T14:06:17.650Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-02T14:06:17.688Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-02T14:06:17.688Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-02T14:06:17.812Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-02T14:06:17.817Z] $ docker exec 63fb6945f5f305b67ef6a1a8ced42df92fac0951d2d8ae49588cfcec0aea0172 ssh-agent [2023-03-02T14:06:17.931Z] SSH_AUTH_SOCK=/tmp/ssh-taVuoxfgVPeV/agent.32 [2023-03-02T14:06:17.931Z] SSH_AGENT_PID=38 [2023-03-02T14:06:17.939Z] Running ssh-add (command line suppressed) [2023-03-02T14:06:18.042Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-445@tmp/private_key_17414368799039615708.key (/w/workspace/edgexfoundry_device-sdk-c_PR-445@tmp/private_key_17414368799039615708.key) [2023-03-02T14:06:18.053Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-02T14:06:18.336Z] + git tag --points-at HEAD [Pipeline] } [2023-03-02T14:06:18.348Z] $ docker exec --env ******** --env ******** 63fb6945f5f305b67ef6a1a8ced42df92fac0951d2d8ae49588cfcec0aea0172 ssh-agent -k [2023-03-02T14:06:18.447Z] unset SSH_AUTH_SOCK; [2023-03-02T14:06:18.447Z] unset SSH_AGENT_PID; [2023-03-02T14:06:18.447Z] echo Agent pid 38 killed; [2023-03-02T14:06:18.455Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-03-02T14:06:18.478Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-02T14:06:18.478Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-02T14:06:18.587Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-02T14:06:18.593Z] $ docker exec 63fb6945f5f305b67ef6a1a8ced42df92fac0951d2d8ae49588cfcec0aea0172 ssh-agent [2023-03-02T14:06:18.713Z] SSH_AUTH_SOCK=/tmp/ssh-6XxocwqycqKP/agent.70 [2023-03-02T14:06:18.713Z] SSH_AGENT_PID=76 [2023-03-02T14:06:18.719Z] Running ssh-add (command line suppressed) [2023-03-02T14:06:18.835Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-445@tmp/private_key_12314109693971106643.key (/w/workspace/edgexfoundry_device-sdk-c_PR-445@tmp/private_key_12314109693971106643.key) [2023-03-02T14:06:18.846Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-02T14:06:19.131Z] + git semver init [2023-03-02T14:06:19.699Z] 2023-03-02 14:06:19,406 [run_init] DEBUG init version:0.0.0 force:False [2023-03-02T14:06:19.699Z] 2023-03-02 14:06:19,407 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-c_PR-445/.semver [2023-03-02T14:06:19.699Z] 2023-03-02 14:06:19,408 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-c.git /w/workspace/edgexfoundry_device-sdk-c_PR-445/.semver [2023-03-02T14:06:19.699Z] 2023-03-02 14:06:19,409 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-c.git', '/w/workspace/edgexfoundry_device-sdk-c_PR-445/.semver'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-445, universal_newlines=False, shell=None, istream=None) [2023-03-02T14:06:20.636Z] 2023-03-02 14:06:20,367 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-c_PR-445/.git/info/exclude [2023-03-02T14:06:20.636Z] 2023-03-02 14:06:20,368 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-c_PR-445/.semver/PR-445 with force:False [2023-03-02T14:06:20.636Z] 2023-03-02 14:06:20,368 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-c_PR-445/.semver/PR-445 [2023-03-02T14:06:20.636Z] 2023-03-02 14:06:20,371 [execute] INFO git cat-file --batch-check [2023-03-02T14:06:20.636Z] 2023-03-02 14:06:20,371 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-445/.semver, universal_newlines=False, shell=None, istream=) [2023-03-02T14:06:20.636Z] 2023-03-02 14:06:20,378 [execute] INFO git cat-file --batch [2023-03-02T14:06:20.636Z] 2023-03-02 14:06:20,378 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-445/.semver, universal_newlines=False, shell=None, istream=) [2023-03-02T14:06:20.636Z] 2023-03-02 14:06:20,385 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_PR-445/.semver/PR-445 [2023-03-02T14:06:20.636Z] 0.0.0 [Pipeline] } [2023-03-02T14:06:20.646Z] $ docker exec --env ******** --env ******** 63fb6945f5f305b67ef6a1a8ced42df92fac0951d2d8ae49588cfcec0aea0172 ssh-agent -k [2023-03-02T14:06:20.744Z] unset SSH_AUTH_SOCK; [2023-03-02T14:06:20.744Z] unset SSH_AGENT_PID; [2023-03-02T14:06:20.745Z] echo Agent pid 76 killed; [2023-03-02T14:06:20.751Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-02T14:06:21.047Z] + git semver [Pipeline] } [2023-03-02T14:06:21.627Z] $ docker stop --time=1 63fb6945f5f305b67ef6a1a8ced42df92fac0951d2d8ae49588cfcec0aea0172 [2023-03-02T14:06:22.931Z] $ docker rm -f --volumes 63fb6945f5f305b67ef6a1a8ced42df92fac0951d2d8ae49588cfcec0aea0172 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-02T14:06:23.276Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-03-02T14:06:23.519Z] Stashed 1 file(s) [Pipeline] echo [2023-03-02T14:06:23.521Z] [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-02T14:06:23.643Z] provisioning config files... [2023-03-02T14:06:23.655Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-445@tmp/config7208647065401439802tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-02T14:06:23.948Z] ---> docker-login.sh [2023-03-02T14:06:23.948Z] nexus3.edgexfoundry.org:10001 [2023-03-02T14:06:23.948Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-02T14:06:23.948Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-02T14:06:23.948Z] Configure a credential helper to remove this warning. See [2023-03-02T14:06:23.948Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-02T14:06:23.948Z] [2023-03-02T14:06:23.948Z] Login Succeeded [2023-03-02T14:06:23.948Z] nexus3.edgexfoundry.org:10002 [2023-03-02T14:06:23.948Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-02T14:06:23.948Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-02T14:06:23.948Z] Configure a credential helper to remove this warning. See [2023-03-02T14:06:23.948Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-02T14:06:23.948Z] [2023-03-02T14:06:23.948Z] Login Succeeded [2023-03-02T14:06:23.948Z] nexus3.edgexfoundry.org:10003 [2023-03-02T14:06:24.208Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-02T14:06:24.208Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-02T14:06:24.208Z] Configure a credential helper to remove this warning. See [2023-03-02T14:06:24.208Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-02T14:06:24.208Z] [2023-03-02T14:06:24.208Z] Login Succeeded [2023-03-02T14:06:24.208Z] nexus3.edgexfoundry.org:10004 [2023-03-02T14:06:24.208Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-02T14:06:24.208Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-02T14:06:24.208Z] Configure a credential helper to remove this warning. See [2023-03-02T14:06:24.208Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-02T14:06:24.208Z] [2023-03-02T14:06:24.208Z] Login Succeeded [2023-03-02T14:06:24.208Z] docker.io [2023-03-02T14:06:24.469Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-02T14:06:24.469Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-02T14:06:24.469Z] Configure a credential helper to remove this warning. See [2023-03-02T14:06:24.469Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-02T14:06:24.469Z] [2023-03-02T14:06:24.469Z] Login Succeeded [2023-03-02T14:06:24.469Z] ---> docker-login.sh ends [Pipeline] } [2023-03-02T14:06:24.476Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-02T14:06:24.534Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-02T14:06:24.542Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo [2023-03-02T14:06:24.548Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-02T14:06:24.556Z] ========================================================= [2023-03-02T14:06:24.556Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] [2023-03-02T14:06:24.556Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-02T14:06:24.862Z] + 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-02T14:06:24.862Z] Sending build context to Docker daemon 4.818MB [2023-03-02T14:06:24.862Z] Step 1/21 : ARG BASE=alpine:3.16 [2023-03-02T14:06:24.862Z] Step 2/21 : FROM ${BASE} as builder [2023-03-02T14:06:25.121Z] latest: Pulling from edgex-devops/edgex-gcc-base [2023-03-02T14:06:25.121Z] 213ec9aee27d: Pulling fs layer [2023-03-02T14:06:25.121Z] 0f09ad1b1b37: Pulling fs layer [2023-03-02T14:06:25.121Z] 213ec9aee27d: Verifying Checksum [2023-03-02T14:06:25.121Z] 213ec9aee27d: Download complete [2023-03-02T14:06:25.382Z] 213ec9aee27d: Pull complete [2023-03-02T14:06:25.949Z] 0f09ad1b1b37: Verifying Checksum [2023-03-02T14:06:25.949Z] 0f09ad1b1b37: Download complete [2023-03-02T14:06:29.240Z] 0f09ad1b1b37: Pull complete [2023-03-02T14:06:29.240Z] Digest: sha256:64e9d1beac36a0037884aaf44bcf94b2de593689edef1cdaec9f2b2ef7c7c108 [2023-03-02T14:06:29.240Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [2023-03-02T14:06:29.240Z] ---> b2bbfebb3566 [2023-03-02T14:06:29.240Z] 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-02T14:06:31.977Z] ---> Running in e5d00949b0ac [2023-03-02T14:06:31.977Z] Connecting to iotech.jfrog.io (52.18.50.91:443) [2023-03-02T14:06:32.237Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-03-02T14:06:32.237Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-03-02T14:06:32.237Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-03-02T14:06:32.496Z] Removing intermediate container e5d00949b0ac [2023-03-02T14:06:32.496Z] ---> b7f42a67956a [2023-03-02T14:06:32.496Z] Step 4/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-03-02T14:06:32.756Z] ---> Running in 334cbaf04e84 [2023-03-02T14:06:33.324Z] Removing intermediate container 334cbaf04e84 [2023-03-02T14:06:33.324Z] ---> 1037261e1e85 [2023-03-02T14:06:33.324Z] Step 5/21 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml-dev curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev libcbor-dev paho-mqtt-c-dev-1.3 iotech-iot-1.4-dev hiredis-dev [2023-03-02T14:06:33.324Z] ---> Running in 189fe3f2065c [2023-03-02T14:06:33.583Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-02T14:06:33.584Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-03-02T14:06:33.842Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-02T14:06:34.407Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-03-02T14:06:34.407Z] (1/14) Installing hiredis (1.0.2-r0) [2023-03-02T14:06:34.407Z] (2/14) Installing hiredis-dev (1.0.2-r0) [2023-03-02T14:06:34.407Z] (3/14) Installing iotech-iot-1.4 (1.4.1-r0) [2023-03-02T14:06:35.342Z] (4/14) Installing iotech-iot-1.4-dev (1.4.1-r0) [2023-03-02T14:06:35.342Z] (5/14) Installing libcbor (0.9.0-r1) [2023-03-02T14:06:35.342Z] (6/14) Installing libcbor-dev (0.9.0-r1) [2023-03-02T14:06:35.342Z] (7/14) Installing ncurses-dev (6.3_p20220521-r0) [2023-03-02T14:06:35.342Z] (8/14) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) [2023-03-02T14:06:36.275Z] (9/14) Installing libblkid (2.38-r1) [2023-03-02T14:06:36.275Z] (10/14) Installing libuuid (2.38-r1) [2023-03-02T14:06:36.275Z] (11/14) Installing libfdisk (2.38-r1) [2023-03-02T14:06:36.275Z] (12/14) Installing libmount (2.38-r1) [2023-03-02T14:06:36.275Z] (13/14) Installing libsmartcols (2.38-r1) [2023-03-02T14:06:36.275Z] (14/14) Installing util-linux-dev (2.38-r1) [2023-03-02T14:06:36.275Z] Executing busybox-1.35.0-r17.trigger [2023-03-02T14:06:36.275Z] OK: 280 MiB in 90 packages [2023-03-02T14:06:36.842Z] Removing intermediate container 189fe3f2065c [2023-03-02T14:06:36.842Z] ---> b3cbe4d4fdcb [2023-03-02T14:06:36.842Z] Step 6/21 : RUN mkdir /tmp/sdk [2023-03-02T14:06:36.842Z] ---> Running in 3eeb2ced69ea [2023-03-02T14:06:37.776Z] Removing intermediate container 3eeb2ced69ea [2023-03-02T14:06:37.776Z] ---> ffcdbdf745ad [2023-03-02T14:06:37.776Z] Step 7/21 : COPY VERSION /tmp/sdk [2023-03-02T14:06:38.035Z] ---> 8f11097c8f44 [2023-03-02T14:06:38.035Z] Step 8/21 : COPY src /tmp/sdk/src [2023-03-02T14:06:38.294Z] ---> ae678dad1f7c [2023-03-02T14:06:38.294Z] Step 9/21 : COPY include /tmp/sdk/include [2023-03-02T14:06:38.554Z] ---> 20cd05a00bef [2023-03-02T14:06:38.554Z] Step 10/21 : COPY scripts /tmp/sdk/scripts [2023-03-02T14:06:38.596Z] Still waiting to schedule task [2023-03-02T14:06:38.597Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-03-02T14:06:38.812Z] ---> a347bd798fe2 [2023-03-02T14:06:38.813Z] Step 11/21 : COPY LICENSE /tmp/sdk [2023-03-02T14:06:38.813Z] ---> f7c42e3e6c1a [2023-03-02T14:06:38.813Z] Step 12/21 : COPY Attribution.txt /tmp/sdk [2023-03-02T14:06:39.072Z] ---> 0654ef8cd1a6 [2023-03-02T14:06:39.072Z] Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2023-03-02T14:06:39.072Z] ---> Running in 3627dbb13c4d [2023-03-02T14:06:39.331Z] + CPPCHECK=false [2023-03-02T14:06:39.331Z] + DOCGEN=false [2023-03-02T14:06:39.331Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2023-03-02T14:06:39.331Z] + TOMLVER=SDK-0.2 [2023-03-02T14:06:39.331Z] + CUTILVER=1.4 [2023-03-02T14:06:39.331Z] + '[' 0 -gt 0 ] [2023-03-02T14:06:39.331Z] + readlink -f ./scripts/build.sh [2023-03-02T14:06:39.331Z] + dirname /tmp/sdk/scripts/build.sh [2023-03-02T14:06:39.331Z] + dirname /tmp/sdk/scripts [2023-03-02T14:06:39.331Z] + ROOT=/tmp/sdk [2023-03-02T14:06:39.331Z] + cd /tmp/sdk [2023-03-02T14:06:39.331Z] + '[' '!' -d deps ] [2023-03-02T14:06:39.331Z] + mkdir deps [2023-03-02T14:06:39.331Z] + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2023-03-02T14:06:39.331Z] + tar -C deps -z -x -f - [2023-03-02T14:06:39.331Z] Connecting to github.com (140.82.113.4:443) [2023-03-02T14:06:39.589Z] Connecting to codeload.github.com (140.82.113.9:443) [2023-03-02T14:06:39.847Z] writing to stdout [2023-03-02T14:06:39.847Z] - 100% |********************************| 16451 0:00:00 ETA [2023-03-02T14:06:39.847Z] written to stdout [2023-03-02T14:06:39.847Z] + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c [2023-03-02T14:06:39.847Z] + mkdir -p /tmp/sdk/build/release [2023-03-02T14:06:39.847Z] + cd /tmp/sdk/build/release [2023-03-02T14:06:39.847Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2023-03-02T14:06:39.847Z] -- The C compiler identification is GNU 11.2.1 [2023-03-02T14:06:39.847Z] -- Detecting C compiler ABI info [2023-03-02T14:06:39.847Z] -- Detecting C compiler ABI info - done [2023-03-02T14:06:39.847Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-03-02T14:06:39.847Z] -- Detecting C compile features [2023-03-02T14:06:39.847Z] -- Detecting C compile features - done [2023-03-02T14:06:39.847Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-03-02T14:06:40.105Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.83.1") [2023-03-02T14:06:40.105Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-03-02T14:06:40.105Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-03-02T14:06:40.105Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-03-02T14:06:40.105Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-03-02T14:06:40.105Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-03-02T14:06:40.105Z] -- Found IOT: /opt/iotech/iot/1.4/lib/libiot.so [2023-03-02T14:06:40.105Z] -- /opt/iotech/iot/1.4/include [2023-03-02T14:06:40.105Z] -- C SDK 0.0.0 for Linux [2023-03-02T14:06:40.105Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-03-02T14:06:40.105Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-03-02T14:06:40.105Z] -- Found Curses: /usr/lib/libcurses.so [2023-03-02T14:06:40.105Z] -- Configuring done [2023-03-02T14:06:40.105Z] -- Generating done [2023-03-02T14:06:40.105Z] -- Build files have been written to: /tmp/sdk/build/release [2023-03-02T14:06:40.105Z] + make all package [2023-03-02T14:06:40.105Z] + tee release.log [2023-03-02T14:06:40.365Z] [ 2%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-03-02T14:06:40.365Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2023-03-02T14:06:40.623Z] [ 6%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2023-03-02T14:06:41.190Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2023-03-02T14:06:41.190Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2023-03-02T14:06:41.451Z] [ 12%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2023-03-02T14:06:41.452Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2023-03-02T14:06:41.709Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2023-03-02T14:06:41.971Z] [ 18%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2023-03-02T14:06:42.539Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2023-03-02T14:06:42.539Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2023-03-02T14:06:42.797Z] [ 24%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2023-03-02T14:06:42.797Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2023-03-02T14:06:43.057Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2023-03-02T14:06:43.057Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2023-03-02T14:06:43.623Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2023-03-02T14:06:43.882Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2023-03-02T14:06:43.882Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2023-03-02T14:06:44.141Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2023-03-02T14:06:45.515Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2023-03-02T14:06:45.515Z] [ 42%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2023-03-02T14:06:45.515Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2023-03-02T14:06:45.515Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2023-03-02T14:06:45.776Z] [ 48%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2023-03-02T14:06:46.342Z] [ 51%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2023-03-02T14:06:46.342Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2023-03-02T14:06:46.342Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2023-03-02T14:06:46.600Z] [ 57%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2023-03-02T14:06:47.166Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2023-03-02T14:06:47.735Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2023-03-02T14:06:47.995Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2023-03-02T14:06:47.995Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2023-03-02T14:06:48.254Z] [ 67%] Linking C shared library libcsdk.so [2023-03-02T14:06:48.254Z] [ 67%] Built target csdk [2023-03-02T14:06:48.254Z] [ 69%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2023-03-02T14:06:48.512Z] [ 71%] Linking C executable template [2023-03-02T14:06:48.512Z] [ 71%] Built target template [2023-03-02T14:06:48.512Z] [ 73%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2023-03-02T14:06:48.771Z] [ 75%] Linking C executable device-counter [2023-03-02T14:06:48.771Z] [ 75%] Built target device-counter [2023-03-02T14:06:48.771Z] [ 77%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2023-03-02T14:06:49.029Z] [ 79%] Linking C executable device-random [2023-03-02T14:06:49.029Z] [ 79%] Built target device-random [2023-03-02T14:06:49.029Z] [ 81%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2023-03-02T14:06:49.288Z] [ 83%] Linking C executable device-gyro [2023-03-02T14:06:49.288Z] [ 83%] Built target device-gyro [2023-03-02T14:06:49.288Z] [ 85%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2023-03-02T14:06:49.547Z] [ 87%] Linking C executable device-bitfields [2023-03-02T14:06:49.547Z] [ 87%] Built target device-bitfields [2023-03-02T14:06:49.547Z] [ 89%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2023-03-02T14:06:49.805Z] [ 91%] Linking C executable template-discovery [2023-03-02T14:06:49.805Z] [ 91%] Built target template-discovery [2023-03-02T14:06:49.805Z] [ 93%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2023-03-02T14:06:50.064Z] [ 95%] Linking C executable device-file [2023-03-02T14:06:50.064Z] [ 95%] Built target device-file [2023-03-02T14:06:50.064Z] [ 97%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2023-03-02T14:06:50.324Z] [100%] Linking C executable device-terminal [2023-03-02T14:06:50.324Z] [100%] Built target device-terminal [2023-03-02T14:06:50.324Z] Run CPack packaging tool... [2023-03-02T14:06:50.324Z] CPack: Create package using TGZ [2023-03-02T14:06:50.324Z] CPack: Install projects [2023-03-02T14:06:50.324Z] CPack: - Run preinstall target for: Csdk [2023-03-02T14:06:50.583Z] CPack: - Install project: Csdk [] [2023-03-02T14:06:50.583Z] CPack: Create package [2023-03-02T14:06:50.583Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2023-03-02T14:06:50.583Z] + '[' false '=' true ] [2023-03-02T14:06:50.583Z] + '[' false '=' true ] [2023-03-02T14:06:50.583Z] + mkdir -p /tmp/sdk/build/debug [2023-03-02T14:06:50.583Z] + cd /tmp/sdk/build/debug [2023-03-02T14:06:50.583Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2023-03-02T14:06:50.842Z] -- The C compiler identification is GNU 11.2.1 [2023-03-02T14:06:50.842Z] -- Detecting C compiler ABI info [2023-03-02T14:06:50.842Z] -- Detecting C compiler ABI info - done [2023-03-02T14:06:50.842Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-03-02T14:06:50.842Z] -- Detecting C compile features [2023-03-02T14:06:50.842Z] -- Detecting C compile features - done [2023-03-02T14:06:50.842Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-03-02T14:06:50.842Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.83.1") [2023-03-02T14:06:50.842Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-03-02T14:06:50.842Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-03-02T14:06:50.842Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-03-02T14:06:50.842Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-03-02T14:06:50.842Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-03-02T14:06:50.842Z] -- Found IOT: /opt/iotech/iot/1.4/lib/libiot.so [2023-03-02T14:06:50.842Z] -- /opt/iotech/iot/1.4/include [2023-03-02T14:06:50.842Z] -- C SDK 0.0.0 for Linux [2023-03-02T14:06:50.842Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-03-02T14:06:51.101Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-03-02T14:06:51.101Z] -- Found Curses: /usr/lib/libcurses.so [2023-03-02T14:06:51.101Z] -- Configuring done [2023-03-02T14:06:51.101Z] -- Generating done [2023-03-02T14:06:51.101Z] -- Build files have been written to: /tmp/sdk/build/debug [2023-03-02T14:06:51.101Z] + make [2023-03-02T14:06:51.101Z] + tee debug.log [2023-03-02T14:06:51.101Z] [ 2%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-03-02T14:06:51.359Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2023-03-02T14:06:51.359Z] [ 6%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2023-03-02T14:06:51.617Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2023-03-02T14:06:51.617Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2023-03-02T14:06:51.617Z] [ 12%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2023-03-02T14:06:51.876Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2023-03-02T14:06:51.876Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2023-03-02T14:06:52.135Z] [ 18%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2023-03-02T14:06:52.135Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2023-03-02T14:06:52.135Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2023-03-02T14:06:52.400Z] [ 24%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2023-03-02T14:06:52.400Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2023-03-02T14:06:52.400Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2023-03-02T14:06:52.659Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2023-03-02T14:06:52.659Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2023-03-02T14:06:52.919Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2023-03-02T14:06:52.919Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2023-03-02T14:06:52.919Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2023-03-02T14:06:53.178Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2023-03-02T14:06:53.436Z] [ 42%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2023-03-02T14:06:53.436Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2023-03-02T14:06:53.436Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2023-03-02T14:06:53.694Z] [ 48%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2023-03-02T14:06:53.952Z] [ 51%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2023-03-02T14:06:53.952Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2023-03-02T14:06:53.952Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2023-03-02T14:06:53.952Z] [ 57%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2023-03-02T14:06:54.210Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2023-03-02T14:06:54.468Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2023-03-02T14:06:54.468Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2023-03-02T14:06:54.727Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2023-03-02T14:06:54.727Z] [ 67%] Linking C shared library libcsdk.so [2023-03-02T14:06:54.727Z] [ 67%] Built target csdk [2023-03-02T14:06:54.727Z] [ 69%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2023-03-02T14:06:54.990Z] [ 71%] Linking C executable template [2023-03-02T14:06:54.990Z] [ 71%] Built target template [2023-03-02T14:06:54.990Z] [ 73%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2023-03-02T14:06:54.990Z] [ 75%] Linking C executable device-counter [2023-03-02T14:06:54.990Z] [ 75%] Built target device-counter [2023-03-02T14:06:55.264Z] [ 77%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2023-03-02T14:06:55.264Z] [ 79%] Linking C executable device-random [2023-03-02T14:06:55.264Z] [ 79%] Built target device-random [2023-03-02T14:06:55.264Z] [ 81%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2023-03-02T14:06:55.264Z] [ 83%] Linking C executable device-gyro [2023-03-02T14:06:55.524Z] [ 83%] Built target device-gyro [2023-03-02T14:06:55.524Z] [ 85%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2023-03-02T14:06:55.524Z] [ 87%] Linking C executable device-bitfields [2023-03-02T14:06:55.524Z] [ 87%] Built target device-bitfields [2023-03-02T14:06:55.524Z] [ 89%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2023-03-02T14:06:55.524Z] [ 91%] Linking C executable template-discovery [2023-03-02T14:06:55.783Z] [ 91%] Built target template-discovery [2023-03-02T14:06:55.783Z] [ 93%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2023-03-02T14:06:55.783Z] [ 95%] Linking C executable device-file [2023-03-02T14:06:55.783Z] [ 95%] Built target device-file [2023-03-02T14:06:56.043Z] [ 97%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2023-03-02T14:06:56.043Z] [100%] Linking C executable device-terminal [2023-03-02T14:06:56.043Z] [100%] Built target device-terminal [2023-03-02T14:06:56.043Z] make: Entering directory '/tmp/sdk/build/release' [2023-03-02T14:06:56.043Z] make[1]: Entering directory '/tmp/sdk/build/release' [2023-03-02T14:06:56.043Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-03-02T14:06:56.043Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-03-02T14:06:56.308Z] [ 67%] Built target csdk [2023-03-02T14:06:56.308Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-03-02T14:06:56.308Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-03-02T14:06:56.308Z] [ 71%] Built target template [2023-03-02T14:06:56.308Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-03-02T14:06:56.308Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-03-02T14:06:56.308Z] [ 75%] Built target device-counter [2023-03-02T14:06:56.308Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-03-02T14:06:56.308Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-03-02T14:06:56.308Z] [ 79%] Built target device-random [2023-03-02T14:06:56.308Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-03-02T14:06:56.308Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-03-02T14:06:56.308Z] [ 83%] Built target device-gyro [2023-03-02T14:06:56.308Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-03-02T14:06:56.308Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-03-02T14:06:56.308Z] [ 87%] Built target device-bitfields [2023-03-02T14:06:56.308Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-03-02T14:06:56.308Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-03-02T14:06:56.308Z] [ 91%] Built target template-discovery [2023-03-02T14:06:56.308Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-03-02T14:06:56.308Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-03-02T14:06:56.308Z] [ 95%] Built target device-file [2023-03-02T14:06:56.308Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-03-02T14:06:56.308Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-03-02T14:06:56.308Z] [100%] Built target device-terminal [2023-03-02T14:06:56.308Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2023-03-02T14:06:56.308Z] Install the project... [2023-03-02T14:06:56.308Z] -- Install configuration: "Release" [2023-03-02T14:06:56.308Z] -- Installing: /usr/local/lib/libcsdk.so [2023-03-02T14:06:56.308Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2023-03-02T14:06:56.308Z] -- Installing: /usr/local/include [2023-03-02T14:06:56.308Z] -- Installing: /usr/local/include/devsdk [2023-03-02T14:06:56.308Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2023-03-02T14:06:56.308Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2023-03-02T14:06:56.308Z] -- Installing: /usr/local/include/edgex [2023-03-02T14:06:56.308Z] -- Installing: /usr/local/include/edgex/edgex.h [2023-03-02T14:06:56.308Z] -- Installing: /usr/local/include/edgex/devices.h [2023-03-02T14:06:56.308Z] -- Installing: /usr/local/include/edgex/profiles.h [2023-03-02T14:06:56.308Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2023-03-02T14:06:56.308Z] -- Installing: /usr/local/include/edgex/rest-server.h [2023-03-02T14:06:56.308Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2023-03-02T14:06:56.308Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2023-03-02T14:06:56.308Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2023-03-02T14:06:56.308Z] make: Leaving directory '/tmp/sdk/build/release' [2023-03-02T14:06:57.244Z] Removing intermediate container 3627dbb13c4d [2023-03-02T14:06:57.244Z] ---> 6fa818d2a786 [2023-03-02T14:06:57.244Z] Step 14/21 : FROM ${BASE} [2023-03-02T14:06:57.244Z] ---> b2bbfebb3566 [2023-03-02T14:06:57.244Z] Step 15/21 : LABEL maintainer="IOTech " [2023-03-02T14:06:57.244Z] ---> Running in 5969390b11c3 [2023-03-02T14:06:57.244Z] Removing intermediate container 5969390b11c3 [2023-03-02T14:06:57.244Z] ---> 67a72d219b2e [2023-03-02T14:06:57.244Z] 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-02T14:06:57.244Z] ---> Running in c1180abb7398 [2023-03-02T14:06:57.508Z] Connecting to iotech.jfrog.io (3.251.10.68:443) [2023-03-02T14:06:57.767Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-03-02T14:06:57.767Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-03-02T14:06:57.767Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-03-02T14:06:58.337Z] Removing intermediate container c1180abb7398 [2023-03-02T14:06:58.337Z] ---> e81d4797e572 [2023-03-02T14:06:58.337Z] Step 17/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-03-02T14:06:58.337Z] ---> Running in b9962bcd191c [2023-03-02T14:06:58.904Z] Removing intermediate container b9962bcd191c [2023-03-02T14:06:58.904Z] ---> b61362a1233c [2023-03-02T14:06:58.904Z] 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-02T14:06:58.904Z] ---> Running in 3cc72e4de269 [2023-03-02T14:06:59.164Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-02T14:06:59.423Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-03-02T14:06:59.682Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-02T14:07:00.249Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-03-02T14:07:00.249Z] (1/7) Installing curl (7.83.1-r6) [2023-03-02T14:07:00.249Z] (2/7) Installing hiredis (1.0.2-r0) [2023-03-02T14:07:00.249Z] (3/7) Installing hiredis-dev (1.0.2-r0) [2023-03-02T14:07:00.249Z] (4/7) Installing iotech-iot-1.4 (1.4.1-r0) [2023-03-02T14:07:00.816Z] (5/7) Installing libcbor (0.9.0-r1) [2023-03-02T14:07:00.816Z] (6/7) Installing libuuid (2.38-r1) [2023-03-02T14:07:00.817Z] (7/7) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) [2023-03-02T14:07:01.756Z] Executing busybox-1.35.0-r17.trigger [2023-03-02T14:07:01.757Z] OK: 275 MiB in 83 packages [2023-03-02T14:07:02.016Z] Removing intermediate container 3cc72e4de269 [2023-03-02T14:07:02.016Z] ---> 82afc03461ed [2023-03-02T14:07:02.016Z] Step 19/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2023-03-02T14:07:02.016Z] ---> ceb93d063da7 [2023-03-02T14:07:02.016Z] Step 20/21 : COPY --from=builder /usr/local/lib /usr/local/lib [2023-03-02T14:07:02.276Z] ---> 228a3f8fc5cc [2023-03-02T14:07:02.276Z] Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2023-03-02T14:07:02.276Z] ---> 7845e80284cd [2023-03-02T14:07:02.276Z] Successfully built 7845e80284cd [2023-03-02T14:07:02.535Z] 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-02T14:07:02.883Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-02T14:07:02.883Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-02T14:07:02.950Z] prd-ubuntu20.04-docker-8c-8g-8096 does not seem to be running inside a container [2023-03-02T14:07:02.985Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-c_PR-445 -v /w/workspace/edgexfoundry_device-sdk-c_PR-445:/w/workspace/edgexfoundry_device-sdk-c_PR-445:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-445@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-445@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 ******** ci-base-image-x86_64 cat [2023-03-02T14:07:03.326Z] $ docker top 95f849e7284743ff19045b0337fbe5f9e15389aae391987a59a5aca53a490d3d -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-02T14:07:03.669Z] + make test [2023-03-02T14:07:03.669Z] echo "make test" [2023-03-02T14:07:03.669Z] make test [Pipeline] } [2023-03-02T14:07:03.681Z] $ docker stop --time=1 95f849e7284743ff19045b0337fbe5f9e15389aae391987a59a5aca53a490d3d [2023-03-02T14:07:05.052Z] $ docker rm -f --volumes 95f849e7284743ff19045b0337fbe5f9e15389aae391987a59a5aca53a490d3d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-02T14:07:05.654Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-02T14:07:05.938Z] + ls -al . [2023-03-02T14:07:05.938Z] total 204 [2023-03-02T14:07:05.938Z] drwxrwxr-x 9 jenkins jenkins 4096 Mar 2 14:06 . [2023-03-02T14:07:05.938Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 2 14:05 .. [2023-03-02T14:07:05.938Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 2 14:06 .git [2023-03-02T14:07:05.938Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 2 14:05 .github [2023-03-02T14:07:05.938Z] -rw-rw-r-- 1 jenkins jenkins 176 Mar 2 14:05 .gitignore [2023-03-02T14:07:05.938Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 2 14:06 .semver [2023-03-02T14:07:05.938Z] -rw-rw-r-- 1 jenkins jenkins 3104 Mar 2 14:05 Attribution.txt [2023-03-02T14:07:05.938Z] -rw-rw-r-- 1 jenkins jenkins 8583 Mar 2 14:05 CHANGES [2023-03-02T14:07:05.938Z] -rw-rw-r-- 1 jenkins jenkins 108574 Mar 2 14:05 Doxyfile [2023-03-02T14:07:05.938Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 2 14:05 GOVERNANCE.md [2023-03-02T14:07:05.938Z] -rw-rw-r-- 1 jenkins jenkins 784 Mar 2 14:05 Jenkinsfile [2023-03-02T14:07:05.938Z] -rw-rw-r-- 1 jenkins jenkins 10174 Mar 2 14:05 LICENSE [2023-03-02T14:07:05.938Z] -rw-rw-r-- 1 jenkins jenkins 444 Mar 2 14:05 Makefile [2023-03-02T14:07:05.938Z] -rw-rw-r-- 1 jenkins jenkins 618 Mar 2 14:05 OWNERS.md [2023-03-02T14:07:05.938Z] -rw-rw-r-- 1 jenkins jenkins 4086 Mar 2 14:05 README.md [2023-03-02T14:07:05.938Z] -rw-rw-r-- 1 jenkins jenkins 1245 Mar 2 14:05 README.v3.md [2023-03-02T14:07:05.938Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 2 14:06 VERSION [2023-03-02T14:07:05.938Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 2 14:05 docs [2023-03-02T14:07:05.938Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 2 14:05 include [2023-03-02T14:07:05.938Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 2 14:05 scripts [2023-03-02T14:07:05.938Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 2 14:05 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-02T14:07:06.245Z] + 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=2a3632d81a582a3f8b976bd0114990b7a285278b --label arch=amd64 --label version=0.0.0 . [2023-03-02T14:07:06.245Z] Sending build context to Docker daemon 4.818MB [2023-03-02T14:07:06.245Z] Step 1/17 : ARG BASE=alpine:3.16 [2023-03-02T14:07:06.245Z] Step 2/17 : FROM ${BASE} [2023-03-02T14:07:06.245Z] ---> 7845e80284cd [2023-03-02T14:07:06.245Z] Step 3/17 : LABEL maintainer="IOTech " [2023-03-02T14:07:06.245Z] ---> Running in 9cd0898d52e0 [2023-03-02T14:07:06.504Z] Removing intermediate container 9cd0898d52e0 [2023-03-02T14:07:06.504Z] ---> 277ed2f11495 [2023-03-02T14:07:06.504Z] 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-02T14:07:06.504Z] ---> Running in bfc25006c80f [2023-03-02T14:07:06.763Z] Connecting to iotech.jfrog.io (52.212.23.4:443) [2023-03-02T14:07:07.022Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-03-02T14:07:07.022Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-03-02T14:07:07.022Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-03-02T14:07:07.283Z] Removing intermediate container bfc25006c80f [2023-03-02T14:07:07.283Z] ---> f4f467aa8b28 [2023-03-02T14:07:07.283Z] Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-03-02T14:07:07.283Z] ---> Running in ca9096227c29 [2023-03-02T14:07:07.849Z] Removing intermediate container ca9096227c29 [2023-03-02T14:07:07.849Z] ---> 51a8aeb18a5e [2023-03-02T14:07:07.849Z] Step 6/17 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml-dev curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev libcbor-dev paho-mqtt-c-dev-1.3 hiredis-dev iotech-iot-1.4-dev && mkdir -p /edgex-c-sdk/build [2023-03-02T14:07:07.849Z] ---> Running in e94771dd09d6 [2023-03-02T14:07:08.109Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-02T14:07:08.367Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-03-02T14:07:08.367Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-02T14:07:08.935Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-03-02T14:07:08.935Z] (1/8) Installing iotech-iot-1.4-dev (1.4.1-r0) [2023-03-02T14:07:09.194Z] (2/8) Installing libcbor-dev (0.9.0-r1) [2023-03-02T14:07:09.194Z] (3/8) Installing ncurses-dev (6.3_p20220521-r0) [2023-03-02T14:07:09.194Z] (4/8) Installing libblkid (2.38-r1) [2023-03-02T14:07:09.194Z] (5/8) Installing libfdisk (2.38-r1) [2023-03-02T14:07:09.194Z] (6/8) Installing libmount (2.38-r1) [2023-03-02T14:07:09.194Z] (7/8) Installing libsmartcols (2.38-r1) [2023-03-02T14:07:09.194Z] (8/8) Installing util-linux-dev (2.38-r1) [2023-03-02T14:07:09.194Z] Executing busybox-1.35.0-r17.trigger [2023-03-02T14:07:09.194Z] OK: 280 MiB in 91 packages [2023-03-02T14:07:09.761Z] Removing intermediate container e94771dd09d6 [2023-03-02T14:07:09.761Z] ---> 26c6396fb136 [2023-03-02T14:07:09.761Z] Step 7/17 : COPY VERSION /edgex-c-sdk/ [2023-03-02T14:07:10.019Z] ---> ae65aebc7614 [2023-03-02T14:07:10.019Z] Step 8/17 : COPY src /edgex-c-sdk/src/ [2023-03-02T14:07:10.277Z] ---> a760be734a16 [2023-03-02T14:07:10.277Z] Step 9/17 : COPY include /edgex-c-sdk/include/ [2023-03-02T14:07:10.277Z] ---> f4e41b1dd0f2 [2023-03-02T14:07:10.277Z] Step 10/17 : COPY scripts /edgex-c-sdk/scripts [2023-03-02T14:07:10.536Z] ---> 30c64ec16b51 [2023-03-02T14:07:10.536Z] Step 11/17 : COPY LICENSE /edgex-c-sdk/ [2023-03-02T14:07:10.536Z] ---> 1d7abfe53d83 [2023-03-02T14:07:10.536Z] Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ [2023-03-02T14:07:10.536Z] ---> b806517a6ddf [2023-03-02T14:07:10.536Z] Step 13/17 : WORKDIR /edgex-c-sdk [2023-03-02T14:07:10.796Z] ---> Running in e4f0763df684 [2023-03-02T14:07:10.796Z] Removing intermediate container e4f0763df684 [2023-03-02T14:07:10.796Z] ---> 8a51d5a6340d [2023-03-02T14:07:10.796Z] Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2023-03-02T14:07:10.796Z] ---> Running in 3e338e6395eb [2023-03-02T14:07:10.796Z] Removing intermediate container 3e338e6395eb [2023-03-02T14:07:10.796Z] ---> 85bfe997d504 [2023-03-02T14:07:10.796Z] Step 15/17 : LABEL arch=amd64 [2023-03-02T14:07:10.796Z] ---> Running in 10280130670f [2023-03-02T14:07:10.796Z] Removing intermediate container 10280130670f [2023-03-02T14:07:10.796Z] ---> 0e7106e50691 [2023-03-02T14:07:10.796Z] Step 16/17 : LABEL git_sha=2a3632d81a582a3f8b976bd0114990b7a285278b [2023-03-02T14:07:11.055Z] ---> Running in f4c9e246c123 [2023-03-02T14:07:11.055Z] Removing intermediate container f4c9e246c123 [2023-03-02T14:07:11.055Z] ---> d453db442d73 [2023-03-02T14:07:11.055Z] Step 17/17 : LABEL version=0.0.0 [2023-03-02T14:07:11.055Z] ---> Running in bd493fab6f36 [2023-03-02T14:07:11.055Z] Removing intermediate container bd493fab6f36 [2023-03-02T14:07:11.055Z] ---> f421477e230c [2023-03-02T14:07:11.055Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2023-03-02T14:07:11.055Z] Successfully built f421477e230c [2023-03-02T14:07:11.055Z] 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-02T14:07:11.472Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-02T14:07:11.472Z] [2023-03-02T14:07:11.472Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-02T14:07:11.771Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-02T14:07:11.772Z] latest: Pulling from edgex-lftools-log-publisher [2023-03-02T14:07:11.772Z] 5eb5b503b376: Pulling fs layer [2023-03-02T14:07:11.772Z] 5c69ac0246d0: Pulling fs layer [2023-03-02T14:07:11.772Z] ec43610c2a17: Pulling fs layer [2023-03-02T14:07:11.772Z] 3a2ae6a8a46f: Pulling fs layer [2023-03-02T14:07:11.772Z] 33b1e0a273af: Pulling fs layer [2023-03-02T14:07:11.772Z] 5d3b04190fa2: Pulling fs layer [2023-03-02T14:07:11.772Z] 3a2ae6a8a46f: Waiting [2023-03-02T14:07:11.772Z] 33b1e0a273af: Waiting [2023-03-02T14:07:11.772Z] 2f39f015ded8: Pulling fs layer [2023-03-02T14:07:11.772Z] 5d3b04190fa2: Waiting [2023-03-02T14:07:11.772Z] 2f39f015ded8: Waiting [2023-03-02T14:07:11.772Z] 5c69ac0246d0: Download complete [2023-03-02T14:07:11.772Z] 3a2ae6a8a46f: Verifying Checksum [2023-03-02T14:07:11.772Z] 3a2ae6a8a46f: Download complete [2023-03-02T14:07:11.772Z] 33b1e0a273af: Verifying Checksum [2023-03-02T14:07:11.772Z] 33b1e0a273af: Download complete [2023-03-02T14:07:12.030Z] ec43610c2a17: Verifying Checksum [2023-03-02T14:07:12.030Z] ec43610c2a17: Download complete [2023-03-02T14:07:12.030Z] 5d3b04190fa2: Verifying Checksum [2023-03-02T14:07:12.030Z] 5d3b04190fa2: Download complete [2023-03-02T14:07:12.030Z] 5eb5b503b376: Verifying Checksum [2023-03-02T14:07:12.030Z] 5eb5b503b376: Download complete [2023-03-02T14:07:12.598Z] 2f39f015ded8: Verifying Checksum [2023-03-02T14:07:12.598Z] 2f39f015ded8: Download complete [2023-03-02T14:07:13.166Z] 5eb5b503b376: Pull complete [2023-03-02T14:07:13.424Z] 5c69ac0246d0: Pull complete [2023-03-02T14:07:13.682Z] ec43610c2a17: Pull complete [2023-03-02T14:07:13.941Z] 3a2ae6a8a46f: Pull complete [2023-03-02T14:07:13.941Z] 33b1e0a273af: Pull complete [2023-03-02T14:07:14.198Z] 5d3b04190fa2: Pull complete [2023-03-02T14:07:18.395Z] 2f39f015ded8: Pull complete [2023-03-02T14:07:18.395Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-03-02T14:07:18.395Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-02T14:07:18.395Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-02T14:07:18.470Z] prd-ubuntu20.04-docker-8c-8g-8096 does not seem to be running inside a container [2023-03-02T14:07:18.498Z] $ 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-445 -v /w/workspace/edgexfoundry_device-sdk-c_PR-445:/w/workspace/edgexfoundry_device-sdk-c_PR-445:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-445@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-445@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-02T14:07:24.594Z] $ docker top e1894a4406656164e416fb7bb2ac5483040b267b60eadbc02a2bdb0d0b74d7f2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-02T14:07:24.983Z] ---> job-cost.sh [2023-03-02T14:07:24.983Z] lf-activate-venv: SKIPPING [2023-03-02T14:07:24.983Z] INFO: No Stack... [2023-03-02T14:07:25.242Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-02T14:07:25.809Z] INFO: Archiving Costs [Pipeline] sh [2023-03-02T14:07:26.095Z] + cat /w/workspace/edgexfoundry_device-sdk-c_PR-445/archives/cost.csv [2023-03-02T14:07:26.095Z] + cut -d, -f6 [Pipeline] lock [2023-03-02T14:07:26.110Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-445-5-stack-cost] [2023-03-02T14:07:26.116Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-445-5-stack-cost] did not exist. Created. [2023-03-02T14:07:26.116Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-445-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-02T14:07:26.418Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-03-02T14:07:26.455Z] Stashed 1 file(s) [Pipeline] } [2023-03-02T14:07:26.460Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-445-5-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-02T14:07:26.475Z] $ docker stop --time=1 e1894a4406656164e416fb7bb2ac5483040b267b60eadbc02a2bdb0d0b74d7f2 [2023-03-02T14:07:27.606Z] $ docker rm -f --volumes e1894a4406656164e416fb7bb2ac5483040b267b60eadbc02a2bdb0d0b74d7f2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-02T14:08:14.355Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-8097 in /w/workspace/edgexfoundry_device-sdk-c_PR-445 [Pipeline] { [Pipeline] ws [2023-03-02T14:08:14.369Z] Running in /w/workspace/device-sdk-c/5 [Pipeline] { [Pipeline] checkout [2023-03-02T14:08:14.411Z] Selected Git installation does not exist. Using Default [2023-03-02T14:08:14.412Z] The recommended git tool is: NONE [2023-03-02T14:08:19.490Z] using credential edgex-jenkins-ssh [2023-03-02T14:08:19.507Z] Cloning the remote Git repository [2023-03-02T14:08:19.550Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2023-03-02T14:08:19.614Z] > git init /w/workspace/device-sdk-c/5 # timeout=10 [2023-03-02T14:08:19.748Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2023-03-02T14:08:19.749Z] > git --version # timeout=10 [2023-03-02T14:08:19.769Z] > git --version # 'git version 2.25.1' [2023-03-02T14:08:19.771Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-02T14:08:19.833Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-02T14:08:20.919Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2023-03-02T14:08:20.960Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-02T14:08:22.522Z] Merging remotes/origin/main commit 21f79343dd353c602474ef88d38fd1373f48e545 into PR head commit 2a3632d81a582a3f8b976bd0114990b7a285278b [2023-03-02T14:08:22.772Z] Merge succeeded, producing 2a3632d81a582a3f8b976bd0114990b7a285278b [2023-03-02T14:08:22.773Z] Checking out Revision 2a3632d81a582a3f8b976bd0114990b7a285278b (PR-445) [2023-03-02T14:08:21.803Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2023-03-02T14:08:21.844Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2023-03-02T14:08:21.845Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-02T14:08:21.863Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/445/head:refs/remotes/origin/PR-445 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-03-02T14:08:22.543Z] > git config core.sparsecheckout # timeout=10 [2023-03-02T14:08:22.566Z] > git checkout -f 2a3632d81a582a3f8b976bd0114990b7a285278b # timeout=10 [2023-03-02T14:08:22.679Z] > git remote # timeout=10 [2023-03-02T14:08:22.697Z] > git config --get remote.origin.url # timeout=10 [2023-03-02T14:08:22.717Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-02T14:08:22.730Z] > git merge 21f79343dd353c602474ef88d38fd1373f48e545 # timeout=10 [2023-03-02T14:08:22.756Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-03-02T14:08:22.781Z] > git config core.sparsecheckout # timeout=10 [2023-03-02T14:08:22.796Z] > git checkout -f 2a3632d81a582a3f8b976bd0114990b7a285278b # timeout=10 [2023-03-02T14:08:26.277Z] Commit message: "Resolving build issues" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-02T14:08:27.223Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-03-02T14:08:27.223Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-02T14:08:27.223Z] Dload Upload Total Spent Left Speed [2023-03-02T14:08:27.223Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 93 12751 93 11882 0 0 89338 0 --:--:-- --:--:-- --:--:-- 88671 100 12751 100 12751 0 0 94451 0 --:--:-- --:--:-- --:--:-- 94451 [Pipeline] sh [2023-03-02T14:08:27.865Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-03-02T14:08:28.193Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-03-02T14:08:28.193Z] + sudo tee /etc/docker/daemon.new [2023-03-02T14:08:28.193Z] { [2023-03-02T14:08:28.193Z] "registry-mirrors": [ [2023-03-02T14:08:28.193Z] "https://nexus3.edgexfoundry.org:10001" [2023-03-02T14:08:28.193Z] ], [2023-03-02T14:08:28.193Z] "bip": "10.250.0.254/24", [2023-03-02T14:08:28.193Z] "hosts": [ [2023-03-02T14:08:28.193Z] "tcp://0.0.0.0:5555", [2023-03-02T14:08:28.193Z] "unix:///var/run/docker.sock" [2023-03-02T14:08:28.193Z] ], [2023-03-02T14:08:28.193Z] "mtu": 1458, [2023-03-02T14:08:28.193Z] "selinux-enabled": true, [2023-03-02T14:08:28.193Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-03-02T14:08:28.193Z] } [Pipeline] sh [2023-03-02T14:08:28.512Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-03-02T14:08:28.829Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-02T14:08:47.060Z] provisioning config files... [2023-03-02T14:08:47.085Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/5@tmp/config2069647947369271016tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-02T14:08:47.427Z] ---> docker-login.sh [2023-03-02T14:08:47.428Z] nexus3.edgexfoundry.org:10001 [2023-03-02T14:08:47.695Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-02T14:08:47.966Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-02T14:08:47.966Z] Configure a credential helper to remove this warning. See [2023-03-02T14:08:47.966Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-02T14:08:47.966Z] [2023-03-02T14:08:47.966Z] Login Succeeded [2023-03-02T14:08:47.966Z] nexus3.edgexfoundry.org:10002 [2023-03-02T14:08:48.235Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-02T14:08:48.504Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-02T14:08:48.504Z] Configure a credential helper to remove this warning. See [2023-03-02T14:08:48.504Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-02T14:08:48.504Z] [2023-03-02T14:08:48.504Z] Login Succeeded [2023-03-02T14:08:48.504Z] nexus3.edgexfoundry.org:10003 [2023-03-02T14:08:48.773Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-02T14:08:48.774Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-02T14:08:48.774Z] Configure a credential helper to remove this warning. See [2023-03-02T14:08:48.774Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-02T14:08:48.774Z] [2023-03-02T14:08:48.774Z] Login Succeeded [2023-03-02T14:08:48.774Z] nexus3.edgexfoundry.org:10004 [2023-03-02T14:08:49.043Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-02T14:08:49.043Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-02T14:08:49.043Z] Configure a credential helper to remove this warning. See [2023-03-02T14:08:49.043Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-02T14:08:49.043Z] [2023-03-02T14:08:49.043Z] Login Succeeded [2023-03-02T14:08:49.043Z] docker.io [2023-03-02T14:08:49.312Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-02T14:08:49.578Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-02T14:08:49.578Z] Configure a credential helper to remove this warning. See [2023-03-02T14:08:49.578Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-02T14:08:49.578Z] [2023-03-02T14:08:49.578Z] Login Succeeded [2023-03-02T14:08:49.578Z] ---> docker-login.sh ends [Pipeline] } [2023-03-02T14:08:49.590Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-02T14:08:49.815Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-02T14:08:49.825Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-arm64 [Pipeline] echo [2023-03-02T14:08:49.839Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-02T14:08:49.850Z] ========================================================= [2023-03-02T14:08:49.850Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] [2023-03-02T14:08:49.850Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-02T14:08:50.182Z] + 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-02T14:08:50.454Z] Sending build context to Docker daemon 2.94MB [2023-03-02T14:08:50.454Z] Step 1/21 : ARG BASE=alpine:3.16 [2023-03-02T14:08:50.454Z] Step 2/21 : FROM ${BASE} as builder [2023-03-02T14:08:50.725Z] latest: Pulling from edgex-devops/edgex-gcc-base-arm64 [2023-03-02T14:08:50.725Z] 9b18e9b68314: Pulling fs layer [2023-03-02T14:08:50.725Z] 1def92ead452: Pulling fs layer [2023-03-02T14:08:50.725Z] 9b18e9b68314: Verifying Checksum [2023-03-02T14:08:50.725Z] 9b18e9b68314: Download complete [2023-03-02T14:08:52.671Z] 1def92ead452: Download complete [2023-03-02T14:08:54.079Z] 9b18e9b68314: Pull complete [2023-03-02T14:09:02.333Z] 1def92ead452: Pull complete [2023-03-02T14:09:02.333Z] Digest: sha256:3c74c28e8b16bff0b36cfc53656b3ae71c0a9fddc9bd5376ab4c3f9356b3cc6c [2023-03-02T14:09:02.333Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest [2023-03-02T14:09:02.333Z] ---> 9a9802766715 [2023-03-02T14:09:02.333Z] 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-02T14:09:03.299Z] ---> Running in 1585e4920022 [2023-03-02T14:09:04.263Z] Connecting to iotech.jfrog.io (52.212.23.4:443) [2023-03-02T14:09:04.531Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-03-02T14:09:04.531Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-03-02T14:09:04.531Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-03-02T14:09:07.126Z] Removing intermediate container 1585e4920022 [2023-03-02T14:09:07.126Z] ---> 9d4f2f2a0f1e [2023-03-02T14:09:07.126Z] Step 4/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-03-02T14:09:07.126Z] ---> Running in 7e6167c9cf45 [2023-03-02T14:09:08.557Z] Removing intermediate container 7e6167c9cf45 [2023-03-02T14:09:08.557Z] ---> 1ee55f15d502 [2023-03-02T14:09:08.557Z] Step 5/21 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml-dev curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev libcbor-dev paho-mqtt-c-dev-1.3 iotech-iot-1.4-dev hiredis-dev [2023-03-02T14:09:08.557Z] ---> Running in bccd4dd751d2 [2023-03-02T14:09:09.522Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-02T14:09:09.790Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-03-02T14:09:10.374Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-02T14:09:11.330Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-03-02T14:09:11.330Z] (1/14) Installing hiredis (1.0.2-r0) [2023-03-02T14:09:11.330Z] (2/14) Installing hiredis-dev (1.0.2-r0) [2023-03-02T14:09:11.330Z] (3/14) Installing iotech-iot-1.4 (1.4.1-r0) [2023-03-02T14:09:12.284Z] (4/14) Installing iotech-iot-1.4-dev (1.4.1-r0) [2023-03-02T14:09:12.284Z] (5/14) Installing libcbor (0.9.0-r1) [2023-03-02T14:09:12.284Z] (6/14) Installing libcbor-dev (0.9.0-r1) [2023-03-02T14:09:12.284Z] (7/14) Installing ncurses-dev (6.3_p20220521-r0) [2023-03-02T14:09:12.284Z] (8/14) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) [2023-03-02T14:09:13.241Z] (9/14) Installing libblkid (2.38-r1) [2023-03-02T14:09:13.241Z] (10/14) Installing libuuid (2.38-r1) [2023-03-02T14:09:13.241Z] (11/14) Installing libfdisk (2.38-r1) [2023-03-02T14:09:13.241Z] (12/14) Installing libmount (2.38-r1) [2023-03-02T14:09:13.241Z] (13/14) Installing libsmartcols (2.38-r1) [2023-03-02T14:09:13.241Z] (14/14) Installing util-linux-dev (2.38-r1) [2023-03-02T14:09:13.241Z] Executing busybox-1.35.0-r17.trigger [2023-03-02T14:09:13.241Z] OK: 286 MiB in 90 packages [2023-03-02T14:09:14.656Z] Removing intermediate container bccd4dd751d2 [2023-03-02T14:09:14.656Z] ---> 69a6b50f6e70 [2023-03-02T14:09:14.656Z] Step 6/21 : RUN mkdir /tmp/sdk [2023-03-02T14:09:14.656Z] ---> Running in bff0cc4c2827 [2023-03-02T14:09:16.065Z] Removing intermediate container bff0cc4c2827 [2023-03-02T14:09:16.065Z] ---> 0734b0b09b35 [2023-03-02T14:09:16.065Z] Step 7/21 : COPY VERSION /tmp/sdk [2023-03-02T14:09:16.648Z] ---> 19c0b2176443 [2023-03-02T14:09:16.648Z] Step 8/21 : COPY src /tmp/sdk/src [2023-03-02T14:09:17.244Z] ---> b39c3cf39283 [2023-03-02T14:09:17.244Z] Step 9/21 : COPY include /tmp/sdk/include [2023-03-02T14:09:17.831Z] ---> 2e40a1e50950 [2023-03-02T14:09:17.831Z] Step 10/21 : COPY scripts /tmp/sdk/scripts [2023-03-02T14:09:18.099Z] ---> 9579cd3b5b65 [2023-03-02T14:09:18.099Z] Step 11/21 : COPY LICENSE /tmp/sdk [2023-03-02T14:09:18.704Z] ---> c89dd547e7a4 [2023-03-02T14:09:18.704Z] Step 12/21 : COPY Attribution.txt /tmp/sdk [2023-03-02T14:09:19.287Z] ---> 727650eaad6e [2023-03-02T14:09:19.288Z] Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2023-03-02T14:09:19.288Z] ---> Running in 173a7f9b3bc4 [2023-03-02T14:09:20.252Z] + CPPCHECK=false [2023-03-02T14:09:20.252Z] + DOCGEN=false [2023-03-02T14:09:20.252Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2023-03-02T14:09:20.252Z] + TOMLVER=SDK-0.2 [2023-03-02T14:09:20.252Z] + CUTILVER=1.4 [2023-03-02T14:09:20.252Z] + '[' 0 -gt 0 ] [2023-03-02T14:09:20.252Z] + readlink -f ./scripts/build.sh [2023-03-02T14:09:20.252Z] + dirname /tmp/sdk/scripts/build.sh [2023-03-02T14:09:20.252Z] + dirname /tmp/sdk/scripts [2023-03-02T14:09:20.252Z] + ROOT=/tmp/sdk [2023-03-02T14:09:20.252Z] + cd /tmp/sdk [2023-03-02T14:09:20.252Z] + '[' '!' -d deps ] [2023-03-02T14:09:20.252Z] + mkdir deps [2023-03-02T14:09:20.252Z] + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2023-03-02T14:09:20.252Z] + tar -C deps -z -x -f - [2023-03-02T14:09:20.252Z] Connecting to github.com (140.82.113.4:443) [2023-03-02T14:09:20.252Z] Connecting to codeload.github.com (140.82.113.10:443) [2023-03-02T14:09:20.523Z] writing to stdout [2023-03-02T14:09:20.523Z] - 100% |********************************| 16451 0:00:00 ETA [2023-03-02T14:09:20.523Z] written to stdout [2023-03-02T14:09:20.523Z] + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c [2023-03-02T14:09:20.523Z] + mkdir -p /tmp/sdk/build/release [2023-03-02T14:09:20.523Z] + cd /tmp/sdk/build/release [2023-03-02T14:09:20.523Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2023-03-02T14:09:21.109Z] -- The C compiler identification is GNU 11.2.1 [2023-03-02T14:09:21.109Z] -- Detecting C compiler ABI info [2023-03-02T14:09:21.378Z] -- Detecting C compiler ABI info - done [2023-03-02T14:09:21.378Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-03-02T14:09:21.378Z] -- Detecting C compile features [2023-03-02T14:09:21.378Z] -- Detecting C compile features - done [2023-03-02T14:09:21.378Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-03-02T14:09:21.645Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.83.1") [2023-03-02T14:09:21.645Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-03-02T14:09:21.645Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-03-02T14:09:21.645Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-03-02T14:09:21.645Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-03-02T14:09:21.645Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-03-02T14:09:21.645Z] -- Found IOT: /opt/iotech/iot/1.4/lib/libiot.so [2023-03-02T14:09:21.645Z] -- /opt/iotech/iot/1.4/include [2023-03-02T14:09:21.645Z] -- C SDK 0.0.0 for Linux [2023-03-02T14:09:21.645Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-03-02T14:09:22.230Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-03-02T14:09:22.230Z] -- Found Curses: /usr/lib/libcurses.so [2023-03-02T14:09:22.497Z] -- Configuring done [2023-03-02T14:09:22.764Z] -- Generating done [2023-03-02T14:09:22.764Z] -- Build files have been written to: /tmp/sdk/build/release [2023-03-02T14:09:22.764Z] + make all package [2023-03-02T14:09:22.764Z] + tee release.log [2023-03-02T14:09:22.764Z] [ 2%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-03-02T14:09:23.731Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2023-03-02T14:09:24.316Z] [ 6%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2023-03-02T14:09:27.656Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2023-03-02T14:09:28.241Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2023-03-02T14:09:28.508Z] [ 12%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2023-03-02T14:09:29.469Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2023-03-02T14:09:30.877Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2023-03-02T14:09:32.288Z] [ 18%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2023-03-02T14:09:34.230Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2023-03-02T14:09:34.815Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2023-03-02T14:09:35.775Z] [ 24%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2023-03-02T14:09:36.738Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2023-03-02T14:09:37.323Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2023-03-02T14:09:37.592Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2023-03-02T14:09:41.850Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2023-03-02T14:09:42.117Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2023-03-02T14:09:42.702Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2023-03-02T14:09:44.110Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2023-03-02T14:09:50.761Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2023-03-02T14:09:50.761Z] [ 42%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2023-03-02T14:09:51.029Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2023-03-02T14:09:51.613Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2023-03-02T14:09:53.564Z] [ 48%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2023-03-02T14:09:56.152Z] [ 51%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2023-03-02T14:09:56.420Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2023-03-02T14:09:57.833Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2023-03-02T14:09:58.102Z] [ 57%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2023-03-02T14:10:01.445Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2023-03-02T14:10:06.792Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2023-03-02T14:10:07.059Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2023-03-02T14:10:07.327Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2023-03-02T14:10:08.289Z] [ 67%] Linking C shared library libcsdk.so [2023-03-02T14:10:08.289Z] [ 67%] Built target csdk [2023-03-02T14:10:08.559Z] [ 69%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2023-03-02T14:10:09.521Z] [ 71%] Linking C executable template [2023-03-02T14:10:09.788Z] [ 71%] Built target template [2023-03-02T14:10:10.059Z] [ 73%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2023-03-02T14:10:10.645Z] [ 75%] Linking C executable device-counter [2023-03-02T14:10:10.915Z] [ 75%] Built target device-counter [2023-03-02T14:10:10.915Z] [ 77%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2023-03-02T14:10:11.877Z] [ 79%] Linking C executable device-random [2023-03-02T14:10:12.143Z] [ 79%] Built target device-random [2023-03-02T14:10:12.143Z] [ 81%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2023-03-02T14:10:12.726Z] [ 83%] Linking C executable device-gyro [2023-03-02T14:10:12.994Z] [ 83%] Built target device-gyro [2023-03-02T14:10:12.994Z] [ 85%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2023-03-02T14:10:13.577Z] [ 87%] Linking C executable device-bitfields [2023-03-02T14:10:14.164Z] [ 87%] Built target device-bitfields [2023-03-02T14:10:14.164Z] [ 89%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2023-03-02T14:10:15.124Z] [ 91%] Linking C executable template-discovery [2023-03-02T14:10:15.390Z] [ 91%] Built target template-discovery [2023-03-02T14:10:15.390Z] [ 93%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2023-03-02T14:10:16.346Z] [ 95%] Linking C executable device-file [2023-03-02T14:10:16.612Z] [ 95%] Built target device-file [2023-03-02T14:10:16.612Z] [ 97%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2023-03-02T14:10:17.568Z] [100%] Linking C executable device-terminal [2023-03-02T14:10:17.834Z] [100%] Built target device-terminal [2023-03-02T14:10:17.834Z] Run CPack packaging tool... [2023-03-02T14:10:17.834Z] CPack: Create package using TGZ [2023-03-02T14:10:17.834Z] CPack: Install projects [2023-03-02T14:10:17.834Z] CPack: - Run preinstall target for: Csdk [2023-03-02T14:10:18.794Z] CPack: - Install project: Csdk [] [2023-03-02T14:10:18.794Z] CPack: Create package [2023-03-02T14:10:18.794Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2023-03-02T14:10:18.794Z] + '[' false '=' true ] [2023-03-02T14:10:18.794Z] + '[' false '=' true ] [2023-03-02T14:10:18.794Z] + mkdir -p /tmp/sdk/build/debug [2023-03-02T14:10:18.794Z] + cd /tmp/sdk/build/debug [2023-03-02T14:10:18.794Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2023-03-02T14:10:19.061Z] -- The C compiler identification is GNU 11.2.1 [2023-03-02T14:10:19.061Z] -- Detecting C compiler ABI info [2023-03-02T14:10:19.328Z] -- Detecting C compiler ABI info - done [2023-03-02T14:10:19.328Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-03-02T14:10:19.328Z] -- Detecting C compile features [2023-03-02T14:10:19.328Z] -- Detecting C compile features - done [2023-03-02T14:10:19.594Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-03-02T14:10:19.594Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.83.1") [2023-03-02T14:10:19.594Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-03-02T14:10:19.594Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-03-02T14:10:19.594Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-03-02T14:10:19.594Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-03-02T14:10:19.594Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-03-02T14:10:19.861Z] -- Found IOT: /opt/iotech/iot/1.4/lib/libiot.so [2023-03-02T14:10:19.861Z] -- /opt/iotech/iot/1.4/include [2023-03-02T14:10:19.861Z] -- C SDK 0.0.0 for Linux [2023-03-02T14:10:19.861Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-03-02T14:10:20.129Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-03-02T14:10:20.129Z] -- Found Curses: /usr/lib/libcurses.so [2023-03-02T14:10:20.395Z] -- Configuring done [2023-03-02T14:10:20.660Z] -- Generating done [2023-03-02T14:10:20.660Z] -- Build files have been written to: /tmp/sdk/build/debug [2023-03-02T14:10:20.660Z] + make [2023-03-02T14:10:20.660Z] + tee debug.log [2023-03-02T14:10:20.660Z] [ 2%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-03-02T14:10:21.241Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2023-03-02T14:10:21.506Z] [ 6%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2023-03-02T14:10:22.462Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2023-03-02T14:10:23.045Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2023-03-02T14:10:23.045Z] [ 12%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2023-03-02T14:10:23.626Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2023-03-02T14:10:24.208Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2023-03-02T14:10:24.788Z] [ 18%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2023-03-02T14:10:25.367Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2023-03-02T14:10:25.947Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2023-03-02T14:10:26.212Z] [ 24%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2023-03-02T14:10:26.791Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2023-03-02T14:10:27.056Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2023-03-02T14:10:27.321Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2023-03-02T14:10:28.721Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2023-03-02T14:10:28.721Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2023-03-02T14:10:28.987Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2023-03-02T14:10:29.568Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2023-03-02T14:10:30.971Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2023-03-02T14:10:31.551Z] [ 42%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2023-03-02T14:10:31.551Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2023-03-02T14:10:32.130Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2023-03-02T14:10:32.709Z] [ 48%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2023-03-02T14:10:34.664Z] [ 51%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2023-03-02T14:10:34.664Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2023-03-02T14:10:35.248Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2023-03-02T14:10:35.833Z] [ 57%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2023-03-02T14:10:36.794Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2023-03-02T14:10:37.754Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2023-03-02T14:10:38.020Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2023-03-02T14:10:38.287Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2023-03-02T14:10:38.554Z] [ 67%] Linking C shared library libcsdk.so [2023-03-02T14:10:38.821Z] [ 67%] Built target csdk [2023-03-02T14:10:39.088Z] [ 69%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2023-03-02T14:10:39.357Z] [ 71%] Linking C executable template [2023-03-02T14:10:39.624Z] [ 71%] Built target template [2023-03-02T14:10:39.624Z] [ 73%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2023-03-02T14:10:39.890Z] [ 75%] Linking C executable device-counter [2023-03-02T14:10:40.473Z] [ 75%] Built target device-counter [2023-03-02T14:10:40.473Z] [ 77%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2023-03-02T14:10:40.739Z] [ 79%] Linking C executable device-random [2023-03-02T14:10:41.006Z] [ 79%] Built target device-random [2023-03-02T14:10:41.006Z] [ 81%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2023-03-02T14:10:41.586Z] [ 83%] Linking C executable device-gyro [2023-03-02T14:10:41.587Z] [ 83%] Built target device-gyro [2023-03-02T14:10:41.853Z] [ 85%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2023-03-02T14:10:42.117Z] [ 87%] Linking C executable device-bitfields [2023-03-02T14:10:42.383Z] [ 87%] Built target device-bitfields [2023-03-02T14:10:42.383Z] [ 89%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2023-03-02T14:10:42.964Z] [ 91%] Linking C executable template-discovery [2023-03-02T14:10:43.231Z] [ 91%] Built target template-discovery [2023-03-02T14:10:43.231Z] [ 93%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2023-03-02T14:10:43.497Z] [ 95%] Linking C executable device-file [2023-03-02T14:10:43.764Z] [ 95%] Built target device-file [2023-03-02T14:10:44.029Z] [ 97%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2023-03-02T14:10:44.295Z] [100%] Linking C executable device-terminal [2023-03-02T14:10:44.560Z] [100%] Built target device-terminal [2023-03-02T14:10:44.829Z] make: Entering directory '/tmp/sdk/build/release' [2023-03-02T14:10:44.829Z] make[1]: Entering directory '/tmp/sdk/build/release' [2023-03-02T14:10:44.829Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-03-02T14:10:44.829Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-03-02T14:10:44.829Z] [ 67%] Built target csdk [2023-03-02T14:10:44.829Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-03-02T14:10:44.829Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-03-02T14:10:44.829Z] [ 71%] Built target template [2023-03-02T14:10:44.829Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-03-02T14:10:44.829Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-03-02T14:10:44.829Z] [ 75%] Built target device-counter [2023-03-02T14:10:44.829Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-03-02T14:10:45.096Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-03-02T14:10:45.096Z] [ 79%] Built target device-random [2023-03-02T14:10:45.096Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-03-02T14:10:45.096Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-03-02T14:10:45.096Z] [ 83%] Built target device-gyro [2023-03-02T14:10:45.096Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-03-02T14:10:45.096Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-03-02T14:10:45.096Z] [ 87%] Built target device-bitfields [2023-03-02T14:10:45.096Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-03-02T14:10:45.096Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-03-02T14:10:45.096Z] [ 91%] Built target template-discovery [2023-03-02T14:10:45.096Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-03-02T14:10:45.096Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-03-02T14:10:45.096Z] [ 95%] Built target device-file [2023-03-02T14:10:45.096Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-03-02T14:10:45.371Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-03-02T14:10:45.371Z] [100%] Built target device-terminal [2023-03-02T14:10:45.371Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2023-03-02T14:10:45.371Z] Install the project... [2023-03-02T14:10:45.371Z] -- Install configuration: "Release" [2023-03-02T14:10:45.371Z] -- Installing: /usr/local/lib/libcsdk.so [2023-03-02T14:10:45.371Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2023-03-02T14:10:45.371Z] -- Installing: /usr/local/include [2023-03-02T14:10:45.371Z] -- Installing: /usr/local/include/devsdk [2023-03-02T14:10:45.371Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2023-03-02T14:10:45.371Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2023-03-02T14:10:45.371Z] -- Installing: /usr/local/include/edgex [2023-03-02T14:10:45.371Z] -- Installing: /usr/local/include/edgex/rest-server.h [2023-03-02T14:10:45.371Z] -- Installing: /usr/local/include/edgex/edgex.h [2023-03-02T14:10:45.371Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2023-03-02T14:10:45.371Z] -- Installing: /usr/local/include/edgex/devices.h [2023-03-02T14:10:45.371Z] -- Installing: /usr/local/include/edgex/profiles.h [2023-03-02T14:10:45.371Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2023-03-02T14:10:45.371Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2023-03-02T14:10:45.371Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2023-03-02T14:10:45.371Z] make: Leaving directory '/tmp/sdk/build/release' [2023-03-02T14:10:46.842Z] Removing intermediate container 173a7f9b3bc4 [2023-03-02T14:10:46.842Z] ---> c8e0be37c5c8 [2023-03-02T14:10:46.842Z] Step 14/21 : FROM ${BASE} [2023-03-02T14:10:46.842Z] ---> 9a9802766715 [2023-03-02T14:10:46.842Z] Step 15/21 : LABEL maintainer="IOTech " [2023-03-02T14:10:46.842Z] ---> Running in de0af07c096c [2023-03-02T14:10:47.120Z] Removing intermediate container de0af07c096c [2023-03-02T14:10:47.120Z] ---> 48ad9104f118 [2023-03-02T14:10:47.120Z] 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-02T14:10:47.120Z] ---> Running in e016e133fb2c [2023-03-02T14:10:48.114Z] Connecting to iotech.jfrog.io (3.248.3.132:443) [2023-03-02T14:10:48.714Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-03-02T14:10:48.714Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-03-02T14:10:48.714Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-03-02T14:10:50.680Z] Removing intermediate container e016e133fb2c [2023-03-02T14:10:50.680Z] ---> b68d6e478c32 [2023-03-02T14:10:50.680Z] Step 17/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-03-02T14:10:50.680Z] ---> Running in 1e6796aaa442 [2023-03-02T14:10:52.109Z] Removing intermediate container 1e6796aaa442 [2023-03-02T14:10:52.109Z] ---> 014ba0f4c002 [2023-03-02T14:10:52.109Z] 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-02T14:10:52.374Z] ---> Running in c6362ba51f21 [2023-03-02T14:10:53.334Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-02T14:10:53.334Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-03-02T14:10:53.917Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-02T14:10:54.879Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-03-02T14:10:54.879Z] (1/7) Installing curl (7.83.1-r6) [2023-03-02T14:10:54.879Z] (2/7) Installing hiredis (1.0.2-r0) [2023-03-02T14:10:54.879Z] (3/7) Installing hiredis-dev (1.0.2-r0) [2023-03-02T14:10:54.879Z] (4/7) Installing iotech-iot-1.4 (1.4.1-r0) [2023-03-02T14:10:55.835Z] (5/7) Installing libcbor (0.9.0-r1) [2023-03-02T14:10:55.835Z] (6/7) Installing libuuid (2.38-r1) [2023-03-02T14:10:55.835Z] (7/7) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) [2023-03-02T14:10:56.420Z] Executing busybox-1.35.0-r17.trigger [2023-03-02T14:10:56.686Z] OK: 281 MiB in 83 packages [2023-03-02T14:10:57.642Z] Removing intermediate container c6362ba51f21 [2023-03-02T14:10:57.642Z] ---> 1fdfdde39d69 [2023-03-02T14:10:57.642Z] Step 19/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2023-03-02T14:10:58.226Z] ---> 6982a1671305 [2023-03-02T14:10:58.226Z] Step 20/21 : COPY --from=builder /usr/local/lib /usr/local/lib [2023-03-02T14:10:58.493Z] ---> f83a5c1a1513 [2023-03-02T14:10:58.493Z] Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2023-03-02T14:10:59.077Z] ---> 763a9b54bb80 [2023-03-02T14:10:59.077Z] Successfully built 763a9b54bb80 [2023-03-02T14:10:59.077Z] 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-02T14:10:59.489Z] + docker inspect -f . ci-base-image-arm64 [2023-03-02T14:10:59.489Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-02T14:10:59.678Z] prd-ubuntu20.04-docker-arm64-4c-16g-8097 does not seem to be running inside a container [2023-03-02T14:10:59.735Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/5 -v /w/workspace/device-sdk-c/5:/w/workspace/device-sdk-c/5:rw,z -v /w/workspace/device-sdk-c/5@tmp:/w/workspace/device-sdk-c/5@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 ******** ci-base-image-arm64 cat [2023-03-02T14:11:03.311Z] $ docker top 4b035bac714c8871b00929deba2577095c6d99d125ab23d5fc8e6303052d8030 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-02T14:11:04.129Z] + make test [2023-03-02T14:11:04.129Z] echo "make test" [2023-03-02T14:11:04.129Z] make test [Pipeline] } [2023-03-02T14:11:04.149Z] $ docker stop --time=1 4b035bac714c8871b00929deba2577095c6d99d125ab23d5fc8e6303052d8030 [2023-03-02T14:11:05.750Z] $ docker rm -f --volumes 4b035bac714c8871b00929deba2577095c6d99d125ab23d5fc8e6303052d8030 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-02T14:11:06.249Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-02T14:11:06.559Z] + ls -al . [2023-03-02T14:11:06.559Z] total 200 [2023-03-02T14:11:06.559Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 2 14:08 . [2023-03-02T14:11:06.559Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 2 14:08 .. [2023-03-02T14:11:06.559Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 2 14:08 .git [2023-03-02T14:11:06.559Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 2 14:08 .github [2023-03-02T14:11:06.559Z] -rw-rw-r-- 1 jenkins jenkins 176 Mar 2 14:08 .gitignore [2023-03-02T14:11:06.559Z] -rw-rw-r-- 1 jenkins jenkins 3104 Mar 2 14:08 Attribution.txt [2023-03-02T14:11:06.559Z] -rw-rw-r-- 1 jenkins jenkins 8583 Mar 2 14:08 CHANGES [2023-03-02T14:11:06.559Z] -rw-rw-r-- 1 jenkins jenkins 108574 Mar 2 14:08 Doxyfile [2023-03-02T14:11:06.559Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 2 14:08 GOVERNANCE.md [2023-03-02T14:11:06.559Z] -rw-rw-r-- 1 jenkins jenkins 784 Mar 2 14:08 Jenkinsfile [2023-03-02T14:11:06.559Z] -rw-rw-r-- 1 jenkins jenkins 10174 Mar 2 14:08 LICENSE [2023-03-02T14:11:06.559Z] -rw-rw-r-- 1 jenkins jenkins 444 Mar 2 14:08 Makefile [2023-03-02T14:11:06.559Z] -rw-rw-r-- 1 jenkins jenkins 618 Mar 2 14:08 OWNERS.md [2023-03-02T14:11:06.559Z] -rw-rw-r-- 1 jenkins jenkins 4086 Mar 2 14:08 README.md [2023-03-02T14:11:06.559Z] -rw-rw-r-- 1 jenkins jenkins 1245 Mar 2 14:08 README.v3.md [2023-03-02T14:11:06.559Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 2 14:06 VERSION [2023-03-02T14:11:06.559Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 2 14:08 docs [2023-03-02T14:11:06.559Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 2 14:08 include [2023-03-02T14:11:06.559Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 2 14:08 scripts [2023-03-02T14:11:06.559Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 2 14:08 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-02T14:11:06.887Z] + 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=2a3632d81a582a3f8b976bd0114990b7a285278b --label arch=arm64 --label version=0.0.0 . [2023-03-02T14:11:07.158Z] Sending build context to Docker daemon 2.94MB [2023-03-02T14:11:07.158Z] Step 1/17 : ARG BASE=alpine:3.16 [2023-03-02T14:11:07.158Z] Step 2/17 : FROM ${BASE} [2023-03-02T14:11:07.158Z] ---> 763a9b54bb80 [2023-03-02T14:11:07.158Z] Step 3/17 : LABEL maintainer="IOTech " [2023-03-02T14:11:07.426Z] ---> Running in 8acf1582b47b [2023-03-02T14:11:07.692Z] Removing intermediate container 8acf1582b47b [2023-03-02T14:11:07.692Z] ---> 8dbd684e238e [2023-03-02T14:11:07.692Z] 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-02T14:11:07.692Z] ---> Running in 650cee199125 [2023-03-02T14:11:08.652Z] Connecting to iotech.jfrog.io (52.213.124.227:443) [2023-03-02T14:11:09.236Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-03-02T14:11:09.236Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-03-02T14:11:09.236Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-03-02T14:11:09.828Z] Removing intermediate container 650cee199125 [2023-03-02T14:11:09.828Z] ---> 9445148c563b [2023-03-02T14:11:09.828Z] Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-03-02T14:11:09.828Z] ---> Running in 34483e48c1ad [2023-03-02T14:11:11.784Z] Removing intermediate container 34483e48c1ad [2023-03-02T14:11:11.784Z] ---> f981b8f4de7f [2023-03-02T14:11:11.784Z] Step 6/17 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml-dev curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev libcbor-dev paho-mqtt-c-dev-1.3 hiredis-dev iotech-iot-1.4-dev && mkdir -p /edgex-c-sdk/build [2023-03-02T14:11:11.784Z] ---> Running in 69e99b3829b3 [2023-03-02T14:11:12.745Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-02T14:11:12.745Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-03-02T14:11:13.336Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-02T14:11:14.296Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-03-02T14:11:14.296Z] (1/8) Installing iotech-iot-1.4-dev (1.4.1-r0) [2023-03-02T14:11:14.296Z] (2/8) Installing libcbor-dev (0.9.0-r1) [2023-03-02T14:11:14.296Z] (3/8) Installing ncurses-dev (6.3_p20220521-r0) [2023-03-02T14:11:14.296Z] (4/8) Installing libblkid (2.38-r1) [2023-03-02T14:11:14.564Z] (5/8) Installing libfdisk (2.38-r1) [2023-03-02T14:11:14.564Z] (6/8) Installing libmount (2.38-r1) [2023-03-02T14:11:14.564Z] (7/8) Installing libsmartcols (2.38-r1) [2023-03-02T14:11:14.564Z] (8/8) Installing util-linux-dev (2.38-r1) [2023-03-02T14:11:14.564Z] Executing busybox-1.35.0-r17.trigger [2023-03-02T14:11:14.564Z] OK: 286 MiB in 91 packages [2023-03-02T14:11:17.904Z] Removing intermediate container 69e99b3829b3 [2023-03-02T14:11:17.904Z] ---> 24d45ac9da3b [2023-03-02T14:11:17.904Z] Step 7/17 : COPY VERSION /edgex-c-sdk/ [2023-03-02T14:11:17.904Z] ---> c04bb8429244 [2023-03-02T14:11:17.904Z] Step 8/17 : COPY src /edgex-c-sdk/src/ [2023-03-02T14:11:18.865Z] ---> 31db67da98e5 [2023-03-02T14:11:18.865Z] Step 9/17 : COPY include /edgex-c-sdk/include/ [2023-03-02T14:11:19.132Z] ---> b7bd12c7aafd [2023-03-02T14:11:19.132Z] Step 10/17 : COPY scripts /edgex-c-sdk/scripts [2023-03-02T14:11:19.718Z] ---> 3cbc1ce93799 [2023-03-02T14:11:19.718Z] Step 11/17 : COPY LICENSE /edgex-c-sdk/ [2023-03-02T14:11:20.302Z] ---> ac7f750e34f5 [2023-03-02T14:11:20.302Z] Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ [2023-03-02T14:11:20.570Z] ---> 173def2c1fed [2023-03-02T14:11:20.570Z] Step 13/17 : WORKDIR /edgex-c-sdk [2023-03-02T14:11:20.837Z] ---> Running in 81f85bcc2086 [2023-03-02T14:11:21.106Z] Removing intermediate container 81f85bcc2086 [2023-03-02T14:11:21.106Z] ---> eb46928ded01 [2023-03-02T14:11:21.106Z] Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2023-03-02T14:11:21.106Z] ---> Running in 4007f9b89f9d [2023-03-02T14:11:21.373Z] Removing intermediate container 4007f9b89f9d [2023-03-02T14:11:21.373Z] ---> 458e350fec2c [2023-03-02T14:11:21.373Z] Step 15/17 : LABEL arch=arm64 [2023-03-02T14:11:21.639Z] ---> Running in e98456477e7f [2023-03-02T14:11:21.906Z] Removing intermediate container e98456477e7f [2023-03-02T14:11:21.906Z] ---> 631b0638c19a [2023-03-02T14:11:21.906Z] Step 16/17 : LABEL git_sha=2a3632d81a582a3f8b976bd0114990b7a285278b [2023-03-02T14:11:21.906Z] ---> Running in 5e1db9a0e07d [2023-03-02T14:11:22.173Z] Removing intermediate container 5e1db9a0e07d [2023-03-02T14:11:22.173Z] ---> 1075f5ded3b7 [2023-03-02T14:11:22.173Z] Step 17/17 : LABEL version=0.0.0 [2023-03-02T14:11:22.439Z] ---> Running in 91248b46dff9 [2023-03-02T14:11:22.705Z] Removing intermediate container 91248b46dff9 [2023-03-02T14:11:22.705Z] ---> 8b0a47a63c71 [2023-03-02T14:11:22.705Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2023-03-02T14:11:22.705Z] Successfully built 8b0a47a63c71 [2023-03-02T14:11:22.705Z] 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-02T14:11:23.134Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-02T14:11:23.135Z] [2023-03-02T14:11:23.135Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-02T14:11:23.460Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-02T14:11:23.727Z] arm64: Pulling from edgex-lftools-log-publisher [2023-03-02T14:11:23.727Z] 8998bd30e6a1: Pulling fs layer [2023-03-02T14:11:23.727Z] 04944245beec: Pulling fs layer [2023-03-02T14:11:23.727Z] 699f458cf7ca: Pulling fs layer [2023-03-02T14:11:23.727Z] 765212b225bb: Pulling fs layer [2023-03-02T14:11:23.727Z] f23df028b6ca: Pulling fs layer [2023-03-02T14:11:23.727Z] 765212b225bb: Waiting [2023-03-02T14:11:23.727Z] f23df028b6ca: Waiting [2023-03-02T14:11:23.727Z] d65c8cfc05b1: Pulling fs layer [2023-03-02T14:11:23.727Z] 2437ff75d9bd: Pulling fs layer [2023-03-02T14:11:23.727Z] d65c8cfc05b1: Waiting [2023-03-02T14:11:23.727Z] 2437ff75d9bd: Waiting [2023-03-02T14:11:23.727Z] 04944245beec: Verifying Checksum [2023-03-02T14:11:23.727Z] 04944245beec: Download complete [2023-03-02T14:11:23.727Z] 765212b225bb: Verifying Checksum [2023-03-02T14:11:23.727Z] 765212b225bb: Download complete [2023-03-02T14:11:23.727Z] f23df028b6ca: Verifying Checksum [2023-03-02T14:11:23.727Z] f23df028b6ca: Download complete [2023-03-02T14:11:23.727Z] d65c8cfc05b1: Verifying Checksum [2023-03-02T14:11:23.727Z] d65c8cfc05b1: Download complete [2023-03-02T14:11:23.993Z] 699f458cf7ca: Verifying Checksum [2023-03-02T14:11:23.993Z] 699f458cf7ca: Download complete [2023-03-02T14:11:24.263Z] 8998bd30e6a1: Verifying Checksum [2023-03-02T14:11:24.263Z] 8998bd30e6a1: Download complete [2023-03-02T14:11:26.848Z] 2437ff75d9bd: Verifying Checksum [2023-03-02T14:11:26.848Z] 2437ff75d9bd: Download complete [2023-03-02T14:11:28.259Z] 8998bd30e6a1: Pull complete [2023-03-02T14:11:28.526Z] 04944245beec: Pull complete [2023-03-02T14:11:29.937Z] 699f458cf7ca: Pull complete [2023-03-02T14:11:30.523Z] 765212b225bb: Pull complete [2023-03-02T14:11:31.107Z] f23df028b6ca: Pull complete [2023-03-02T14:11:31.373Z] d65c8cfc05b1: Pull complete [2023-03-02T14:11:46.359Z] 2437ff75d9bd: Pull complete [2023-03-02T14:11:46.359Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-03-02T14:11:46.359Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-02T14:11:46.359Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-02T14:11:46.539Z] prd-ubuntu20.04-docker-arm64-4c-16g-8097 does not seem to be running inside a container [2023-03-02T14:11:46.595Z] $ 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/5 -v /w/workspace/device-sdk-c/5:/w/workspace/device-sdk-c/5:rw,z -v /w/workspace/device-sdk-c/5@tmp:/w/workspace/device-sdk-c/5@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:arm64 cat [2023-03-02T14:11:49.113Z] $ docker top 39b2c473f566ff4d35a43905e0e64fe0f113f2034cca2dc72bb1cf555916f1c2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-02T14:11:49.627Z] ---> job-cost.sh [2023-03-02T14:11:49.894Z] lf-activate-venv: SKIPPING [2023-03-02T14:11:49.894Z] INFO: No Stack... [2023-03-02T14:11:50.160Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-03-02T14:11:51.118Z] INFO: Archiving Costs [Pipeline] sh [2023-03-02T14:11:51.752Z] + cat /w/workspace/device-sdk-c/5/archives/cost.csv [2023-03-02T14:11:51.752Z] + cut -d, -f6 [Pipeline] lock [2023-03-02T14:11:51.813Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-445-5-stack-cost] [2023-03-02T14:11:51.821Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-445-5-stack-cost] did not exist. Created. [2023-03-02T14:11:51.821Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-445-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-02T14:11:52.163Z] /w/workspace/device-sdk-c/5@tmp/durable-93ec380e/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-03-02T14:11:52.496Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-03-02T14:11:52.518Z] Warning: overwriting stash ‘stack-cost’ [2023-03-02T14:11:52.928Z] Stashed 1 file(s) [Pipeline] } [2023-03-02T14:11:52.935Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-445-5-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-02T14:11:52.951Z] $ docker stop --time=1 39b2c473f566ff4d35a43905e0e64fe0f113f2034cca2dc72bb1cf555916f1c2 [2023-03-02T14:11:54.451Z] $ docker rm -f --volumes 39b2c473f566ff4d35a43905e0e64fe0f113f2034cca2dc72bb1cf555916f1c2 [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-02T14:11:55.233Z] + [ -d /w/workspace/edgexfoundry_device-sdk-c_PR-445/archives ] [2023-03-02T14:11:55.233Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-445/archives [2023-03-02T14:11:55.233Z] total 16 [2023-03-02T14:11:55.233Z] drwxr-xr-x 3 root root 4096 Mar 2 14:07 . [2023-03-02T14:11:55.233Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 2 14:07 .. [2023-03-02T14:11:55.233Z] drwxr-xr-x 2 root root 4096 Mar 2 14:07 cost [2023-03-02T14:11:55.233Z] -rw-r--r-- 1 root root 84 Mar 2 14:07 cost.csv [2023-03-02T14:11:55.233Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_PR-445/archives [2023-03-02T14:11:55.233Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-445/archives [2023-03-02T14:11:55.233Z] total 16 [2023-03-02T14:11:55.233Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 2 14:07 . [2023-03-02T14:11:55.233Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 2 14:07 .. [2023-03-02T14:11:55.233Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 2 14:07 cost [2023-03-02T14:11:55.233Z] -rw-r--r-- 1 jenkins jenkins 84 Mar 2 14:07 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-03-02T14:11:55.525Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-02T14:11:56.388Z] ---> package-listing.sh [2023-03-02T14:11:56.388Z] ++ facter osfamily [2023-03-02T14:11:56.388Z] ++ tr '[:upper:]' '[:lower:]' [2023-03-02T14:11:56.647Z] + OS_FAMILY=debian [2023-03-02T14:11:56.647Z] + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-445 [2023-03-02T14:11:56.647Z] + START_PACKAGES=/tmp/packages_start.txt [2023-03-02T14:11:56.647Z] + END_PACKAGES=/tmp/packages_end.txt [2023-03-02T14:11:56.647Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-03-02T14:11:56.647Z] + PACKAGES=/tmp/packages_start.txt [2023-03-02T14:11:56.647Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-445 ']' [2023-03-02T14:11:56.647Z] + PACKAGES=/tmp/packages_end.txt [2023-03-02T14:11:56.647Z] + case "${OS_FAMILY}" in [2023-03-02T14:11:56.647Z] + grep '^ii' [2023-03-02T14:11:56.647Z] + dpkg -l [2023-03-02T14:11:56.647Z] + '[' -f /tmp/packages_start.txt ']' [2023-03-02T14:11:56.647Z] + '[' -f /tmp/packages_end.txt ']' [2023-03-02T14:11:56.647Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-03-02T14:11:56.647Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-445 ']' [2023-03-02T14:11:56.647Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-445/archives/ [2023-03-02T14:11:56.647Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-445/archives/ [Pipeline] echo [2023-03-02T14:11:56.659Z] 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-445/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-03-02T14:11:56.938Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-02T14:11:57.496Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-02T14:11:57.496Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-02T14:11:57.558Z] prd-ubuntu20.04-docker-8c-8g-8096 does not seem to be running inside a container [2023-03-02T14:11:57.586Z] $ 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-445/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-445 -v /w/workspace/edgexfoundry_device-sdk-c_PR-445:/w/workspace/edgexfoundry_device-sdk-c_PR-445:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-445@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-445@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-lftools-log-publisher:latest cat [2023-03-02T14:11:57.894Z] $ docker top 57b831b48d71a5e093e368ffcc7c8c276ae5c8662b609297954fd8f56354aee7 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-02T14:11:58.225Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-03-02T14:11:58.506Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-03-02T14:11:58.791Z] + ls /var/log/sa-host [2023-03-02T14:11:58.791Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-02T14:11:58.961Z] provisioning config files... [2023-03-02T14:11:58.969Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-445@tmp/config3142727548279324953tmp [Pipeline] { [Pipeline] echo [2023-03-02T14:11:58.984Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-02T14:11:59.263Z] ---> create-netrc.sh [Pipeline] } [2023-03-02T14:11:59.269Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-03-02T14:11:59.613Z] ---> python-tools-install.sh [Pipeline] echo [2023-03-02T14:11:59.622Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-02T14:11:59.907Z] ---> sudo-logs.sh [2023-03-02T14:11:59.907Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-03-02T14:11:59.938Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-02T14:12:00.221Z] ---> job-cost.sh [2023-03-02T14:12:00.222Z] lf-activate-venv: SKIPPING [2023-03-02T14:12:00.222Z] DEBUG: total: 0.2199999988079071 [2023-03-02T14:12:00.222Z] INFO: Retrieving Stack Cost... [2023-03-02T14:12:00.481Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-02T14:12:00.739Z] INFO: Archiving Costs [Pipeline] echo [2023-03-02T14:12:00.753Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-02T14:12:01.034Z] ---> logs-deploy.sh [2023-03-02T14:12:01.034Z] lf-activate-venv: SKIPPING [2023-03-02T14:12:01.034Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-445/5 [2023-03-02T14:12:01.034Z] INFO: archiving workspace using pattern(s): [2023-03-02T14:12:01.972Z] Archives upload complete. [2023-03-02T14:12:02.230Z] INFO: archiving logs to Nexus