Started by upstream project "edgexfoundry/cd-management/release" build number 117 originally caused by: Push event to branch release Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 508af3997b99b63bbc6444d3a4c84739e7448765 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-ssh2172507767026153613.key Verifying host key using known hosts file > 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-ssh10936583942312991293.key Verifying host key using known hosts file > 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/main/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/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14453848045977186397.key Verifying host key using known hosts file > 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-ssh13689280989402932722.key Verifying host key using known hosts file > 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/main/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/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh1321343700500130780.key Verifying host key using known hosts file > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildCApp] RAW Config: [project:device-sdk-c, dockerBuildFilePath:scripts/Dockerfile.alpine-base, dockerFilePath:scripts/Dockerfile.alpine, pushImage:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildCApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-c-settings PROJECT: device-sdk-c USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build DOCKER_FILE_PATH: scripts/Dockerfile.alpine DOCKER_BUILD_FILE_PATH: scripts/Dockerfile.alpine-base DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-118523 in /w/workspace/edgexfoundry_device-sdk-c_main [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_main # 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 Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 508af3997b99b63bbc6444d3a4c84739e7448765 (main) Commit message: "feat: add metrics publication (#432)" > 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 core.sparsecheckout # timeout=10 > git checkout -f 508af3997b99b63bbc6444d3a4c84739e7448765 # timeout=10 > git rev-list --no-walk 508af3997b99b63bbc6444d3a4c84739e7448765 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-11-07T22:38:49.357Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-11-07T22:38:49.408Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-11-07T22:38:49.423Z] ========================================================= [2022-11-07T22:38:49.423Z] EdgeX Global Pipelines Version Info [2022-11-07T22:38:49.423Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-11-07T22:38:50.135Z] ------------------- [2022-11-07T22:38:50.135Z] stable info: [2022-11-07T22:38:50.135Z] ------------------- [2022-11-07T22:38:50.135Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-11-07T22:38:50.135Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2022-11-07T22:38:50.135Z] Message: update stable to v1.0.244 [2022-11-07T22:38:50.709Z] ------------------- [2022-11-07T22:38:50.709Z] experimental info: [2022-11-07T22:38:50.709Z] ------------------- [2022-11-07T22:38:50.709Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-11-07T22:38:50.709Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2022-11-07T22:38:50.709Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-11-07T22:38:50.852Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo [2022-11-07T22:38:50.859Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo [2022-11-07T22:38:50.866Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-11-07T22:38:50.873Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-11-07T22:38:50.881Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-11-07T22:38:50.889Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo [2022-11-07T22:38:50.900Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo [2022-11-07T22:38:50.913Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-11-07T22:38:50.926Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-11-07T22:38:50.937Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo [2022-11-07T22:38:50.948Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-11-07T22:38:50.958Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-11-07T22:38:50.968Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-11-07T22:38:50.977Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2022-11-07T22:38:50.987Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-11-07T22:38:50.997Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-11-07T22:38:51.012Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-11-07T22:38:51.021Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2022-11-07T22:38:51.029Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2022-11-07T22:38:51.037Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2022-11-07T22:38:51.054Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 508af3997b99b63bbc6444d3a4c84739e7448765 [Pipeline] echo [2022-11-07T22:38:51.064Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 508af39 [Pipeline] echo [2022-11-07T22:38:51.074Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-11-07T22:38:51.112Z] provisioning config files... [2022-11-07T22:38:51.125Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config3211628651018585570tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-07T22:38:51.426Z] ---> docker-login.sh [2022-11-07T22:38:51.426Z] nexus3.edgexfoundry.org:10001 [2022-11-07T22:38:51.697Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T22:38:51.697Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T22:38:51.697Z] Configure a credential helper to remove this warning. See [2022-11-07T22:38:51.697Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T22:38:51.697Z] [2022-11-07T22:38:51.697Z] Login Succeeded [2022-11-07T22:38:51.697Z] nexus3.edgexfoundry.org:10002 [2022-11-07T22:38:51.697Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T22:38:51.697Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T22:38:51.697Z] Configure a credential helper to remove this warning. See [2022-11-07T22:38:51.697Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T22:38:51.697Z] [2022-11-07T22:38:51.697Z] Login Succeeded [2022-11-07T22:38:51.697Z] nexus3.edgexfoundry.org:10003 [2022-11-07T22:38:51.957Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T22:38:51.957Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T22:38:51.957Z] Configure a credential helper to remove this warning. See [2022-11-07T22:38:51.957Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T22:38:51.957Z] [2022-11-07T22:38:51.957Z] Login Succeeded [2022-11-07T22:38:51.957Z] nexus3.edgexfoundry.org:10004 [2022-11-07T22:38:51.957Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T22:38:51.957Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T22:38:51.957Z] Configure a credential helper to remove this warning. See [2022-11-07T22:38:51.957Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T22:38:51.957Z] [2022-11-07T22:38:51.957Z] Login Succeeded [2022-11-07T22:38:51.957Z] docker.io [2022-11-07T22:38:52.218Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T22:38:52.480Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T22:38:52.480Z] Configure a credential helper to remove this warning. See [2022-11-07T22:38:52.480Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T22:38:52.480Z] [2022-11-07T22:38:52.480Z] Login Succeeded [2022-11-07T22:38:52.480Z] ---> docker-login.sh ends [Pipeline] } [2022-11-07T22:38:52.488Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build LTS Release Image) [Pipeline] sh [2022-11-07T22:38:52.840Z] + git rev-list -1 --merges 508af3997b99b63bbc6444d3a4c84739e7448765~1..508af3997b99b63bbc6444d3a4c84739e7448765 [Pipeline] echo [2022-11-07T22:38:52.874Z] -----------> git rev-list -1 --merges 508af3997b99b63bbc6444d3a4c84739e7448765~1..508af3997b99b63bbc6444d3a4c84739e7448765 508af3997b99b63bbc6444d3a4c84739e7448765 [false] [Pipeline] sh [2022-11-07T22:38:53.163Z] + git log --format=format:%s -1 508af3997b99b63bbc6444d3a4c84739e7448765 [Pipeline] echo [2022-11-07T22:38:53.177Z] ========================================================= [2022-11-07T22:38:53.177Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] However, we have a env.CommitId [2022-11-07T22:38:53.177Z] ========================================================= 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 [2022-11-07T22:38:53.556Z] + git rev-list -1 --merges 508af3997b99b63bbc6444d3a4c84739e7448765~1..508af3997b99b63bbc6444d3a4c84739e7448765 [Pipeline] echo [2022-11-07T22:38:53.582Z] -----------> git rev-list -1 --merges 508af3997b99b63bbc6444d3a4c84739e7448765~1..508af3997b99b63bbc6444d3a4c84739e7448765 508af3997b99b63bbc6444d3a4c84739e7448765 [false] [Pipeline] sh [2022-11-07T22:38:53.874Z] + git log --format=format:%s -1 508af3997b99b63bbc6444d3a4c84739e7448765 [Pipeline] echo [2022-11-07T22:38:53.888Z] ========================================================= [2022-11-07T22:38:53.889Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] However, we have a env.CommitId [2022-11-07T22:38:53.889Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh [2022-11-07T22:38:54.258Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-11-07T22:38:54.259Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-11-07T22:38:54.259Z] + [ -e /tmp/ssh_known_hosts ] [2022-11-07T22:38:54.259Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-11-07T22:38:54.259Z] + + echosudo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= tee [2022-11-07T22:38:54.259Z] -a /etc/ssh/ssh_known_hosts [2022-11-07T22:38:54.259Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-07T22:38:54.614Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-11-07T22:38:54.614Z] [2022-11-07T22:38:54.614Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-07T22:38:54.940Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-11-07T22:38:54.941Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-11-07T22:38:54.941Z] b85a868b505f: Pulling fs layer [2022-11-07T22:38:54.941Z] e2be974225ed: Pulling fs layer [2022-11-07T22:38:54.941Z] 339a4e72a1f5: Pulling fs layer [2022-11-07T22:38:54.941Z] 988bab9f4d93: Pulling fs layer [2022-11-07T22:38:54.941Z] 1469e6f7b9e6: Pulling fs layer [2022-11-07T22:38:54.941Z] eaf3925da568: Pulling fs layer [2022-11-07T22:38:54.941Z] bab4dde63d76: Pulling fs layer [2022-11-07T22:38:54.941Z] bde34c3a00c8: Pulling fs layer [2022-11-07T22:38:54.941Z] b352a97aabf1: Pulling fs layer [2022-11-07T22:38:54.941Z] 4872d77fe225: Pulling fs layer [2022-11-07T22:38:54.941Z] 5851b861e8e6: Pulling fs layer [2022-11-07T22:38:54.941Z] bab4dde63d76: Waiting [2022-11-07T22:38:54.941Z] 988bab9f4d93: Waiting [2022-11-07T22:38:54.941Z] eaf3925da568: Waiting [2022-11-07T22:38:54.941Z] 4872d77fe225: Waiting [2022-11-07T22:38:54.941Z] b352a97aabf1: Waiting [2022-11-07T22:38:54.941Z] bde34c3a00c8: Waiting [2022-11-07T22:38:54.941Z] 5851b861e8e6: Waiting [2022-11-07T22:38:54.941Z] 1469e6f7b9e6: Waiting [2022-11-07T22:38:54.941Z] e2be974225ed: Download complete [2022-11-07T22:38:54.941Z] 988bab9f4d93: Verifying Checksum [2022-11-07T22:38:54.941Z] 988bab9f4d93: Download complete [2022-11-07T22:38:54.941Z] 1469e6f7b9e6: Verifying Checksum [2022-11-07T22:38:54.941Z] 1469e6f7b9e6: Download complete [2022-11-07T22:38:55.207Z] eaf3925da568: Verifying Checksum [2022-11-07T22:38:55.208Z] eaf3925da568: Download complete [2022-11-07T22:38:55.208Z] 339a4e72a1f5: Verifying Checksum [2022-11-07T22:38:55.208Z] 339a4e72a1f5: Download complete [2022-11-07T22:38:55.208Z] bde34c3a00c8: Verifying Checksum [2022-11-07T22:38:55.208Z] bde34c3a00c8: Download complete [2022-11-07T22:38:55.208Z] b352a97aabf1: Download complete [2022-11-07T22:38:55.208Z] 4872d77fe225: Verifying Checksum [2022-11-07T22:38:55.208Z] 4872d77fe225: Download complete [2022-11-07T22:38:55.208Z] 5851b861e8e6: Verifying Checksum [2022-11-07T22:38:55.208Z] 5851b861e8e6: Download complete [2022-11-07T22:38:55.208Z] b85a868b505f: Verifying Checksum [2022-11-07T22:38:55.208Z] b85a868b505f: Download complete [2022-11-07T22:38:55.467Z] bab4dde63d76: Verifying Checksum [2022-11-07T22:38:55.467Z] bab4dde63d76: Download complete [2022-11-07T22:38:56.855Z] b85a868b505f: Pull complete [2022-11-07T22:38:56.855Z] e2be974225ed: Pull complete [2022-11-07T22:38:57.115Z] 339a4e72a1f5: Pull complete [2022-11-07T22:38:57.375Z] 988bab9f4d93: Pull complete [2022-11-07T22:38:57.633Z] 1469e6f7b9e6: Pull complete [2022-11-07T22:38:57.633Z] eaf3925da568: Pull complete [2022-11-07T22:38:59.536Z] bab4dde63d76: Pull complete [2022-11-07T22:38:59.794Z] bde34c3a00c8: Pull complete [2022-11-07T22:38:59.794Z] b352a97aabf1: Pull complete [2022-11-07T22:39:00.054Z] 4872d77fe225: Pull complete [2022-11-07T22:39:00.054Z] 5851b861e8e6: Pull complete [2022-11-07T22:39:00.054Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-11-07T22:39:00.054Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-11-07T22:39:00.054Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-07T22:39:00.148Z] prd-ubuntu20.04-docker-8c-8g-118523 does not seem to be running inside a container [2022-11-07T22:39:00.183Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-11-07T22:39:01.678Z] $ docker top 997a1bfa38dbdaff71eb67645274e20617fb1b62036323254f2e6bc864b6e47d -eo pid,comm [2022-11-07T22:39:01.737Z] 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). [2022-11-07T22:39:01.737Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-11-07T22:39:01.779Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-11-07T22:39:01.779Z] [ssh-agent] Looking for ssh-agent implementation... [2022-11-07T22:39:01.904Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-11-07T22:39:01.910Z] $ docker exec 997a1bfa38dbdaff71eb67645274e20617fb1b62036323254f2e6bc864b6e47d ssh-agent [2022-11-07T22:39:02.016Z] SSH_AUTH_SOCK=/tmp/ssh-TkAyJr2Boe6q/agent.33 [2022-11-07T22:39:02.016Z] SSH_AGENT_PID=39 [2022-11-07T22:39:02.022Z] Running ssh-add (command line suppressed) [2022-11-07T22:39:02.132Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_3726104274970715656.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_3726104274970715656.key) [2022-11-07T22:39:02.145Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-11-07T22:39:02.428Z] + git tag --points-at 508af3997b99b63bbc6444d3a4c84739e7448765 [Pipeline] } [2022-11-07T22:39:02.442Z] $ docker exec --env ******** --env ******** 997a1bfa38dbdaff71eb67645274e20617fb1b62036323254f2e6bc864b6e47d ssh-agent -k [2022-11-07T22:39:02.548Z] unset SSH_AUTH_SOCK; [2022-11-07T22:39:02.548Z] unset SSH_AGENT_PID; [2022-11-07T22:39:02.548Z] echo Agent pid 39 killed; [2022-11-07T22:39:02.558Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2022-11-07T22:39:02.576Z] [edgeXSemver]: set GITSEMVER_HEAD_TAG to 'v2.2.1-dev.3|v2.3.0' [Pipeline] sshagent [2022-11-07T22:39:02.589Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-11-07T22:39:02.589Z] [ssh-agent] Looking for ssh-agent implementation... [2022-11-07T22:39:02.697Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-11-07T22:39:02.703Z] $ docker exec 997a1bfa38dbdaff71eb67645274e20617fb1b62036323254f2e6bc864b6e47d ssh-agent [2022-11-07T22:39:02.815Z] SSH_AUTH_SOCK=/tmp/ssh-eKHSJObZIWQD/agent.71 [2022-11-07T22:39:02.815Z] SSH_AGENT_PID=77 [2022-11-07T22:39:02.820Z] Running ssh-add (command line suppressed) [2022-11-07T22:39:02.925Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_2503304989607969427.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_2503304989607969427.key) [2022-11-07T22:39:02.934Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-11-07T22:39:03.222Z] + git semver init [2022-11-07T22:39:03.481Z] 2022-11-07 22:39:03,460 [run_init] DEBUG init version:0.0.0 force:False [2022-11-07T22:39:03.481Z] 2022-11-07 22:39:03,461 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-c_main/.semver [2022-11-07T22:39:03.481Z] 2022-11-07 22:39:03,461 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-c.git /w/workspace/edgexfoundry_device-sdk-c_main/.semver [2022-11-07T22:39:03.481Z] 2022-11-07 22:39:03,462 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-c.git', '/w/workspace/edgexfoundry_device-sdk-c_main/.semver'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main, universal_newlines=False, shell=None, istream=None) [2022-11-07T22:39:04.418Z] 2022-11-07 22:39:04,324 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-c_main/.git/info/exclude [2022-11-07T22:39:04.418Z] 2022-11-07 22:39:04,324 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-c_main/.semver/main with force:False [2022-11-07T22:39:04.418Z] 2022-11-07 22:39:04,324 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2022-11-07T22:39:04.418Z] 2022-11-07 22:39:04,324 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2022-11-07T22:39:04.418Z] 2.3.0 [Pipeline] } [2022-11-07T22:39:04.434Z] $ docker exec --env ******** --env ******** 997a1bfa38dbdaff71eb67645274e20617fb1b62036323254f2e6bc864b6e47d ssh-agent -k [2022-11-07T22:39:04.539Z] unset SSH_AUTH_SOCK; [2022-11-07T22:39:04.539Z] unset SSH_AGENT_PID; [2022-11-07T22:39:04.539Z] echo Agent pid 77 killed; [2022-11-07T22:39:04.548Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-11-07T22:39:04.837Z] + git semver [Pipeline] } [2022-11-07T22:39:05.111Z] $ docker stop --time=1 997a1bfa38dbdaff71eb67645274e20617fb1b62036323254f2e6bc864b6e47d [2022-11-07T22:39:06.443Z] $ docker rm -f 997a1bfa38dbdaff71eb67645274e20617fb1b62036323254f2e6bc864b6e47d [Pipeline] // withDockerContainer [Pipeline] sh [2022-11-07T22:39:06.785Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-11-07T22:39:06.984Z] Stashed 1 file(s) [Pipeline] echo [2022-11-07T22:39:06.988Z] [edgeXSemver]: initialized semver on version 2.3.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] sh [2022-11-07T22:39:07.380Z] + git checkout 508af3997b99b63bbc6444d3a4c84739e7448765 [2022-11-07T22:39:07.380Z] HEAD is now at 508af39 feat: add metrics publication (#432) [2022-11-07T22:39:07.380Z] M VERSION [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-11-07T22:39:07.400Z] provisioning config files... [2022-11-07T22:39:07.407Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config15492956944397617137tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-07T22:39:07.705Z] ---> docker-login.sh [2022-11-07T22:39:07.705Z] nexus3.edgexfoundry.org:10001 [2022-11-07T22:39:07.705Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T22:39:07.705Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T22:39:07.705Z] Configure a credential helper to remove this warning. See [2022-11-07T22:39:07.705Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T22:39:07.705Z] [2022-11-07T22:39:07.705Z] Login Succeeded [2022-11-07T22:39:07.705Z] nexus3.edgexfoundry.org:10002 [2022-11-07T22:39:07.705Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T22:39:07.705Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T22:39:07.705Z] Configure a credential helper to remove this warning. See [2022-11-07T22:39:07.705Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T22:39:07.705Z] [2022-11-07T22:39:07.705Z] Login Succeeded [2022-11-07T22:39:07.705Z] nexus3.edgexfoundry.org:10003 [2022-11-07T22:39:07.964Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T22:39:07.964Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T22:39:07.964Z] Configure a credential helper to remove this warning. See [2022-11-07T22:39:07.964Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T22:39:07.964Z] [2022-11-07T22:39:07.964Z] Login Succeeded [2022-11-07T22:39:07.964Z] nexus3.edgexfoundry.org:10004 [2022-11-07T22:39:07.964Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T22:39:07.964Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T22:39:07.964Z] Configure a credential helper to remove this warning. See [2022-11-07T22:39:07.964Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T22:39:07.964Z] [2022-11-07T22:39:07.964Z] Login Succeeded [2022-11-07T22:39:07.964Z] docker.io [2022-11-07T22:39:08.222Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T22:39:08.482Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T22:39:08.482Z] Configure a credential helper to remove this warning. See [2022-11-07T22:39:08.482Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T22:39:08.482Z] [2022-11-07T22:39:08.482Z] Login Succeeded [2022-11-07T22:39:08.482Z] ---> docker-login.sh ends [Pipeline] } [2022-11-07T22:39:08.488Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-11-07T22:39:08.548Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-11-07T22:39:08.555Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo [2022-11-07T22:39:08.562Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-11-07T22:39:08.568Z] ========================================================= [2022-11-07T22:39:08.568Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] [2022-11-07T22:39:08.568Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-07T22:39:08.874Z] + 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 . [2022-11-07T22:39:08.874Z] Sending build context to Docker daemon 4.652MB [2022-11-07T22:39:08.874Z] Step 1/22 : ARG BASE=alpine:3.15 [2022-11-07T22:39:08.874Z] Step 2/22 : FROM ${BASE} as builder [2022-11-07T22:39:08.874Z] latest: Pulling from edgex-devops/edgex-gcc-base [2022-11-07T22:39:08.874Z] 213ec9aee27d: Pulling fs layer [2022-11-07T22:39:08.874Z] 0f09ad1b1b37: Pulling fs layer [2022-11-07T22:39:09.134Z] 213ec9aee27d: Verifying Checksum [2022-11-07T22:39:09.134Z] 213ec9aee27d: Download complete [2022-11-07T22:39:09.134Z] 213ec9aee27d: Pull complete [2022-11-07T22:39:09.703Z] 0f09ad1b1b37: Verifying Checksum [2022-11-07T22:39:09.703Z] 0f09ad1b1b37: Download complete [2022-11-07T22:39:12.989Z] 0f09ad1b1b37: Pull complete [2022-11-07T22:39:12.989Z] Digest: sha256:64e9d1beac36a0037884aaf44bcf94b2de593689edef1cdaec9f2b2ef7c7c108 [2022-11-07T22:39:12.989Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [2022-11-07T22:39:12.989Z] ---> b2bbfebb3566 [2022-11-07T22:39:12.989Z] Step 3/22 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2022-11-07T22:39:13.927Z] ---> Running in e245b71ab491 [2022-11-07T22:39:13.927Z] Connecting to iotech.jfrog.io (52.31.54.88:443) [2022-11-07T22:39:14.495Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2022-11-07T22:39:14.495Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2022-11-07T22:39:14.495Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2022-11-07T22:39:14.754Z] Removing intermediate container e245b71ab491 [2022-11-07T22:39:14.754Z] ---> 350da023aab6 [2022-11-07T22:39:14.754Z] Step 4/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main' >> /etc/apk/repositories [2022-11-07T22:39:14.754Z] ---> Running in 66588a72b919 [2022-11-07T22:39:15.695Z] Removing intermediate container 66588a72b919 [2022-11-07T22:39:15.695Z] ---> 7e47fe78ab04 [2022-11-07T22:39:15.695Z] Step 5/22 : 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 [2022-11-07T22:39:15.695Z] ---> Running in b2f71f93d43c [2022-11-07T22:39:15.956Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-11-07T22:39:16.216Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-11-07T22:39:16.216Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main/x86_64/APKINDEX.tar.gz [2022-11-07T22:39:17.155Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2022-11-07T22:39:17.155Z] (1/12) Installing hiredis (1.0.2-r0) [2022-11-07T22:39:17.155Z] (2/12) Installing hiredis-dev (1.0.2-r0) [2022-11-07T22:39:17.414Z] (3/12) Installing libcbor (0.9.0-r1) [2022-11-07T22:39:17.414Z] (4/12) Installing libcbor-dev (0.9.0-r1) [2022-11-07T22:39:17.414Z] (5/12) Installing ncurses-dev (6.3_p20220521-r0) [2022-11-07T22:39:17.414Z] (6/12) Installing paho-mqtt-c-dev-1.3 (1.3.11-r0) [2022-11-07T22:39:18.810Z] (7/12) Installing libblkid (2.38-r1) [2022-11-07T22:39:18.810Z] (8/12) Installing libuuid (2.38-r1) [2022-11-07T22:39:18.810Z] (9/12) Installing libfdisk (2.38-r1) [2022-11-07T22:39:18.810Z] (10/12) Installing libmount (2.38-r1) [2022-11-07T22:39:18.810Z] (11/12) Installing libsmartcols (2.38-r1) [2022-11-07T22:39:18.810Z] (12/12) Installing util-linux-dev (2.38-r1) [2022-11-07T22:39:18.810Z] Executing busybox-1.35.0-r17.trigger [2022-11-07T22:39:18.810Z] OK: 279 MiB in 88 packages [2022-11-07T22:39:19.070Z] Removing intermediate container b2f71f93d43c [2022-11-07T22:39:19.070Z] ---> f27bc8f16e83 [2022-11-07T22:39:19.070Z] Step 6/22 : RUN mkdir /tmp/sdk [2022-11-07T22:39:19.328Z] ---> Running in 1113f6cfba02 [2022-11-07T22:39:19.902Z] Removing intermediate container 1113f6cfba02 [2022-11-07T22:39:19.902Z] ---> 8b632948d648 [2022-11-07T22:39:19.902Z] Step 7/22 : COPY VERSION /tmp/sdk [2022-11-07T22:39:20.163Z] ---> d64f30661aa5 [2022-11-07T22:39:20.163Z] Step 8/22 : COPY src /tmp/sdk/src [2022-11-07T22:39:20.422Z] ---> 8574c70a75c7 [2022-11-07T22:39:20.422Z] Step 9/22 : COPY include /tmp/sdk/include [2022-11-07T22:39:20.422Z] ---> a2e8c1f09ddf [2022-11-07T22:39:20.422Z] Step 10/22 : COPY scripts /tmp/sdk/scripts [2022-11-07T22:39:20.681Z] ---> a9d96e22d99f [2022-11-07T22:39:20.681Z] Step 11/22 : COPY LICENSE /tmp/sdk [2022-11-07T22:39:20.681Z] ---> 68fd03eb3c43 [2022-11-07T22:39:20.681Z] Step 12/22 : COPY Attribution.txt /tmp/sdk [2022-11-07T22:39:20.940Z] ---> 3fdcf758ee73 [2022-11-07T22:39:20.940Z] Step 13/22 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2022-11-07T22:39:20.940Z] ---> Running in 1e2aa7b21265 [2022-11-07T22:39:21.200Z] + CPPCHECK=false [2022-11-07T22:39:21.200Z] + DOCGEN=false [2022-11-07T22:39:21.200Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2022-11-07T22:39:21.200Z] + TOMLVER=SDK-0.2 [2022-11-07T22:39:21.200Z] + CUTILVER=1.2.2 [2022-11-07T22:39:21.200Z] + '[' 0 -gt 0 ] [2022-11-07T22:39:21.200Z] + readlink -f ./scripts/build.sh [2022-11-07T22:39:21.200Z] + dirname /tmp/sdk/scripts/build.sh [2022-11-07T22:39:21.200Z] + dirname /tmp/sdk/scripts [2022-11-07T22:39:21.200Z] + ROOT=/tmp/sdk [2022-11-07T22:39:21.200Z] + cd /tmp/sdk [2022-11-07T22:39:21.200Z] + '[' '!' -d deps ] [2022-11-07T22:39:21.200Z] + mkdir deps [2022-11-07T22:39:21.200Z] + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2022-11-07T22:39:21.200Z] + tar -C deps -z -x -f - [2022-11-07T22:39:21.200Z] Connecting to github.com (140.82.112.4:443) [2022-11-07T22:39:21.461Z] Connecting to codeload.github.com (140.82.113.9:443) [2022-11-07T22:39:21.720Z] writing to stdout [2022-11-07T22:39:21.720Z] - 100% |********************************| 16451 0:00:00 ETA [2022-11-07T22:39:21.720Z] written to stdout [2022-11-07T22:39:21.720Z] + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c [2022-11-07T22:39:21.720Z] + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.2.2.tar.gz [2022-11-07T22:39:21.720Z] + tar -C deps -z -x -f - [2022-11-07T22:39:21.720Z] Connecting to github.com (140.82.112.4:443) [2022-11-07T22:39:21.979Z] Connecting to codeload.github.com (140.82.113.9:443) [2022-11-07T22:39:22.068Z] Still waiting to schedule task [2022-11-07T22:39:22.069Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-11-07T22:39:22.237Z] writing to stdout [2022-11-07T22:39:22.237Z] - 100% |********************************| 189k 0:00:00 ETA [2022-11-07T22:39:22.237Z] written to stdout [2022-11-07T22:39:22.237Z] + mkdir -p src/c/iot [2022-11-07T22:39:22.237Z] + cp deps/iotech-c-utils-1.2.2/src/c/base64.c deps/iotech-c-utils-1.2.2/src/c/component.c deps/iotech-c-utils-1.2.2/src/c/config.c deps/iotech-c-utils-1.2.2/src/c/container.c deps/iotech-c-utils-1.2.2/src/c/data.c deps/iotech-c-utils-1.2.2/src/c/hash.c deps/iotech-c-utils-1.2.2/src/c/iot.c deps/iotech-c-utils-1.2.2/src/c/json.c deps/iotech-c-utils-1.2.2/src/c/logger.c deps/iotech-c-utils-1.2.2/src/c/os.c deps/iotech-c-utils-1.2.2/src/c/scheduler.c deps/iotech-c-utils-1.2.2/src/c/thread.c deps/iotech-c-utils-1.2.2/src/c/threadpool.c deps/iotech-c-utils-1.2.2/src/c/time.c deps/iotech-c-utils-1.2.2/src/c/uuid.c deps/iotech-c-utils-1.2.2/src/c/yxml.c src/c/iot [2022-11-07T22:39:22.237Z] + cp deps/iotech-c-utils-1.2.2/src/c/defs.h.in src/c/iot [2022-11-07T22:39:22.237Z] + cp deps/iotech-c-utils-1.2.2/src/c/yxml.h src/c/iot [2022-11-07T22:39:22.237Z] + cp deps/iotech-c-utils-1.2.2/VERSION src/c/iot [2022-11-07T22:39:22.237Z] + mkdir -p include/iot [2022-11-07T22:39:22.237Z] + cp deps/iotech-c-utils-1.2.2/include/iot/base64.h deps/iotech-c-utils-1.2.2/include/iot/component.h deps/iotech-c-utils-1.2.2/include/iot/config.h deps/iotech-c-utils-1.2.2/include/iot/container.h deps/iotech-c-utils-1.2.2/include/iot/data.h deps/iotech-c-utils-1.2.2/include/iot/hash.h deps/iotech-c-utils-1.2.2/include/iot/iot.h deps/iotech-c-utils-1.2.2/include/iot/json.h deps/iotech-c-utils-1.2.2/include/iot/logger.h deps/iotech-c-utils-1.2.2/include/iot/os.h deps/iotech-c-utils-1.2.2/include/iot/scheduler.h deps/iotech-c-utils-1.2.2/include/iot/thread.h deps/iotech-c-utils-1.2.2/include/iot/threadpool.h deps/iotech-c-utils-1.2.2/include/iot/time.h deps/iotech-c-utils-1.2.2/include/iot/typecode.h deps/iotech-c-utils-1.2.2/include/iot/uuid.h include/iot [2022-11-07T22:39:22.237Z] + mkdir -p include/iot/os [2022-11-07T22:39:22.237Z] + cp deps/iotech-c-utils-1.2.2/include/iot/os/linux.h deps/iotech-c-utils-1.2.2/include/iot/os/macos.h deps/iotech-c-utils-1.2.2/include/iot/os/zephyr.h include/iot/os [2022-11-07T22:39:22.237Z] + mkdir -p /tmp/sdk/build/release [2022-11-07T22:39:22.237Z] + cd /tmp/sdk/build/release [2022-11-07T22:39:22.237Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2022-11-07T22:39:22.237Z] -- The C compiler identification is GNU 11.2.1 [2022-11-07T22:39:22.237Z] -- Detecting C compiler ABI info [2022-11-07T22:39:22.497Z] -- Detecting C compiler ABI info - done [2022-11-07T22:39:22.497Z] -- Check for working C compiler: /usr/bin/cc - skipped [2022-11-07T22:39:22.497Z] -- Detecting C compile features [2022-11-07T22:39:22.497Z] -- Detecting C compile features - done [2022-11-07T22:39:22.497Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2022-11-07T22:39:22.497Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.83.1") [2022-11-07T22:39:22.497Z] -- Found LIBYAML: /usr/lib/libyaml.so [2022-11-07T22:39:22.497Z] -- Found LIBUUID: /usr/lib/libuuid.so [2022-11-07T22:39:22.497Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2022-11-07T22:39:22.497Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2022-11-07T22:39:22.497Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2022-11-07T22:39:22.497Z] -- C SDK 2.3.0 for Linux [2022-11-07T22:39:22.497Z] -- Performing Test CSDK_HAVE_ATOMIC [2022-11-07T22:39:22.497Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2022-11-07T22:39:22.755Z] -- Found Curses: /usr/lib/libcurses.so [2022-11-07T22:39:22.755Z] -- Configuring done [2022-11-07T22:39:22.755Z] -- Generating done [2022-11-07T22:39:22.755Z] -- Build files have been written to: /tmp/sdk/build/release [2022-11-07T22:39:22.755Z] + make all package [2022-11-07T22:39:22.755Z] + tee release.log [2022-11-07T22:39:22.755Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2022-11-07T22:39:23.015Z] [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2022-11-07T22:39:23.015Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2022-11-07T22:39:23.584Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2022-11-07T22:39:23.584Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2022-11-07T22:39:23.584Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2022-11-07T22:39:23.843Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2022-11-07T22:39:24.103Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o [2022-11-07T22:39:24.103Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2022-11-07T22:39:24.670Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2022-11-07T22:39:24.930Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2022-11-07T22:39:24.930Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2022-11-07T22:39:25.192Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2022-11-07T22:39:25.192Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2022-11-07T22:39:25.452Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2022-11-07T22:39:25.452Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2022-11-07T22:39:25.452Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2022-11-07T22:39:26.022Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2022-11-07T22:39:26.281Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2022-11-07T22:39:26.281Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2022-11-07T22:39:26.281Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2022-11-07T22:39:26.541Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2022-11-07T22:39:26.541Z] /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': [2022-11-07T22:39:26.541Z] /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] [2022-11-07T22:39:26.541Z] 275 | const iot_component_factory_t * factory; [2022-11-07T22:39:26.541Z] | ^~~~~~~ [2022-11-07T22:39:26.801Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2022-11-07T22:39:27.738Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2022-11-07T22:39:27.738Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2022-11-07T22:39:27.738Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2022-11-07T22:39:27.738Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2022-11-07T22:39:28.000Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2022-11-07T22:39:28.000Z] [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2022-11-07T22:39:28.269Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2022-11-07T22:39:28.269Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2022-11-07T22:39:28.528Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2022-11-07T22:39:28.528Z] [ 48%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o [2022-11-07T22:39:28.787Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2022-11-07T22:39:29.053Z] [ 51%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2022-11-07T22:39:29.315Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2022-11-07T22:39:29.315Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2022-11-07T22:39:29.574Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2022-11-07T22:39:30.510Z] [ 57%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2022-11-07T22:39:30.510Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2022-11-07T22:39:30.510Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2022-11-07T22:39:30.769Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2022-11-07T22:39:31.030Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2022-11-07T22:39:31.290Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2022-11-07T22:39:31.548Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2022-11-07T22:39:31.548Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2022-11-07T22:39:31.809Z] [ 69%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2022-11-07T22:39:32.068Z] [ 70%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2022-11-07T22:39:33.003Z] [ 72%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2022-11-07T22:39:33.003Z] [ 73%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2022-11-07T22:39:33.261Z] [ 75%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2022-11-07T22:39:33.261Z] [ 76%] Linking C shared library libcsdk.so [2022-11-07T22:39:33.261Z] [ 76%] Built target csdk [2022-11-07T22:39:33.261Z] [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2022-11-07T22:39:33.520Z] [ 79%] Linking C executable template [2022-11-07T22:39:33.520Z] [ 79%] Built target template [2022-11-07T22:39:33.520Z] [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2022-11-07T22:39:33.778Z] [ 82%] Linking C executable device-counter [2022-11-07T22:39:33.778Z] [ 82%] Built target device-counter [2022-11-07T22:39:33.778Z] [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2022-11-07T22:39:34.041Z] [ 85%] Linking C executable device-random [2022-11-07T22:39:34.041Z] [ 85%] Built target device-random [2022-11-07T22:39:34.041Z] [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2022-11-07T22:39:34.041Z] [ 88%] Linking C executable device-gyro [2022-11-07T22:39:34.300Z] [ 88%] Built target device-gyro [2022-11-07T22:39:34.300Z] [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2022-11-07T22:39:34.300Z] [ 91%] Linking C executable device-bitfields [2022-11-07T22:39:34.300Z] [ 91%] Built target device-bitfields [2022-11-07T22:39:34.565Z] [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2022-11-07T22:39:34.565Z] [ 94%] Linking C executable template-discovery [2022-11-07T22:39:34.565Z] [ 94%] Built target template-discovery [2022-11-07T22:39:34.823Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2022-11-07T22:39:34.823Z] [ 97%] Linking C executable device-file [2022-11-07T22:39:34.823Z] [ 97%] Built target device-file [2022-11-07T22:39:34.823Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2022-11-07T22:39:35.090Z] [100%] Linking C executable device-terminal [2022-11-07T22:39:35.090Z] [100%] Built target device-terminal [2022-11-07T22:39:35.090Z] Run CPack packaging tool... [2022-11-07T22:39:35.090Z] CPack: Create package using TGZ [2022-11-07T22:39:35.090Z] CPack: Install projects [2022-11-07T22:39:35.090Z] CPack: - Run preinstall target for: Csdk [2022-11-07T22:39:35.348Z] CPack: - Install project: Csdk [] [2022-11-07T22:39:35.348Z] CPack: Create package [2022-11-07T22:39:35.348Z] CPack: - package: /tmp/sdk/build/release/csdk-2.3.0.tar.gz generated. [2022-11-07T22:39:35.348Z] + '[' false '=' true ] [2022-11-07T22:39:35.348Z] + '[' false '=' true ] [2022-11-07T22:39:35.348Z] + mkdir -p /tmp/sdk/build/debug [2022-11-07T22:39:35.348Z] + cd /tmp/sdk/build/debug [2022-11-07T22:39:35.348Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2022-11-07T22:39:35.606Z] -- The C compiler identification is GNU 11.2.1 [2022-11-07T22:39:35.606Z] -- Detecting C compiler ABI info [2022-11-07T22:39:35.606Z] -- Detecting C compiler ABI info - done [2022-11-07T22:39:35.606Z] -- Check for working C compiler: /usr/bin/cc - skipped [2022-11-07T22:39:35.606Z] -- Detecting C compile features [2022-11-07T22:39:35.606Z] -- Detecting C compile features - done [2022-11-07T22:39:35.606Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2022-11-07T22:39:35.606Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.83.1") [2022-11-07T22:39:35.606Z] -- Found LIBYAML: /usr/lib/libyaml.so [2022-11-07T22:39:35.606Z] -- Found LIBUUID: /usr/lib/libuuid.so [2022-11-07T22:39:35.606Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2022-11-07T22:39:35.606Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2022-11-07T22:39:35.606Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2022-11-07T22:39:35.606Z] -- C SDK 2.3.0 for Linux [2022-11-07T22:39:35.606Z] -- Performing Test CSDK_HAVE_ATOMIC [2022-11-07T22:39:35.865Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2022-11-07T22:39:35.865Z] -- Found Curses: /usr/lib/libcurses.so [2022-11-07T22:39:35.865Z] -- Configuring done [2022-11-07T22:39:35.865Z] -- Generating done [2022-11-07T22:39:35.865Z] -- Build files have been written to: /tmp/sdk/build/debug [2022-11-07T22:39:35.865Z] + make [2022-11-07T22:39:35.865Z] + tee debug.log [2022-11-07T22:39:35.865Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2022-11-07T22:39:36.128Z] [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2022-11-07T22:39:36.128Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2022-11-07T22:39:36.387Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2022-11-07T22:39:36.387Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2022-11-07T22:39:36.387Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2022-11-07T22:39:36.387Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2022-11-07T22:39:36.646Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o [2022-11-07T22:39:36.646Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2022-11-07T22:39:36.904Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2022-11-07T22:39:36.904Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2022-11-07T22:39:36.904Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2022-11-07T22:39:37.165Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2022-11-07T22:39:37.165Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2022-11-07T22:39:37.165Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2022-11-07T22:39:37.165Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2022-11-07T22:39:37.424Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2022-11-07T22:39:37.686Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2022-11-07T22:39:37.686Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2022-11-07T22:39:37.686Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2022-11-07T22:39:37.686Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2022-11-07T22:39:37.686Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2022-11-07T22:39:37.947Z] /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': [2022-11-07T22:39:37.947Z] /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] [2022-11-07T22:39:37.947Z] 275 | const iot_component_factory_t * factory; [2022-11-07T22:39:37.947Z] | ^~~~~~~ [2022-11-07T22:39:37.947Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2022-11-07T22:39:38.206Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2022-11-07T22:39:38.206Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2022-11-07T22:39:38.206Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2022-11-07T22:39:38.206Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2022-11-07T22:39:38.466Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2022-11-07T22:39:38.466Z] [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2022-11-07T22:39:38.466Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2022-11-07T22:39:38.466Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2022-11-07T22:39:38.729Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2022-11-07T22:39:38.729Z] [ 48%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o [2022-11-07T22:39:38.729Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2022-11-07T22:39:38.987Z] [ 51%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2022-11-07T22:39:38.987Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2022-11-07T22:39:38.987Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2022-11-07T22:39:38.987Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2022-11-07T22:39:39.246Z] [ 57%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2022-11-07T22:39:39.505Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2022-11-07T22:39:39.505Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2022-11-07T22:39:39.505Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2022-11-07T22:39:39.766Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2022-11-07T22:39:40.025Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2022-11-07T22:39:40.025Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2022-11-07T22:39:40.025Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2022-11-07T22:39:40.025Z] [ 69%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2022-11-07T22:39:40.284Z] [ 70%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2022-11-07T22:39:40.543Z] [ 72%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2022-11-07T22:39:40.543Z] [ 73%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2022-11-07T22:39:40.543Z] [ 75%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2022-11-07T22:39:40.803Z] [ 76%] Linking C shared library libcsdk.so [2022-11-07T22:39:40.803Z] [ 76%] Built target csdk [2022-11-07T22:39:40.803Z] [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2022-11-07T22:39:40.803Z] [ 79%] Linking C executable template [2022-11-07T22:39:41.061Z] [ 79%] Built target template [2022-11-07T22:39:41.061Z] [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2022-11-07T22:39:41.061Z] [ 82%] Linking C executable device-counter [2022-11-07T22:39:41.061Z] [ 82%] Built target device-counter [2022-11-07T22:39:41.061Z] [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2022-11-07T22:39:41.061Z] [ 85%] Linking C executable device-random [2022-11-07T22:39:41.320Z] [ 85%] Built target device-random [2022-11-07T22:39:41.320Z] [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2022-11-07T22:39:41.320Z] [ 88%] Linking C executable device-gyro [2022-11-07T22:39:41.320Z] [ 88%] Built target device-gyro [2022-11-07T22:39:41.320Z] [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2022-11-07T22:39:41.579Z] [ 91%] Linking C executable device-bitfields [2022-11-07T22:39:41.579Z] [ 91%] Built target device-bitfields [2022-11-07T22:39:41.579Z] [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2022-11-07T22:39:41.579Z] [ 94%] Linking C executable template-discovery [2022-11-07T22:39:41.837Z] [ 94%] Built target template-discovery [2022-11-07T22:39:41.837Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2022-11-07T22:39:41.837Z] [ 97%] Linking C executable device-file [2022-11-07T22:39:41.837Z] [ 97%] Built target device-file [2022-11-07T22:39:41.837Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2022-11-07T22:39:42.096Z] [100%] Linking C executable device-terminal [2022-11-07T22:39:42.096Z] [100%] Built target device-terminal [2022-11-07T22:39:42.096Z] make: Entering directory '/tmp/sdk/build/release' [2022-11-07T22:39:42.096Z] make[1]: Entering directory '/tmp/sdk/build/release' [2022-11-07T22:39:42.096Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-11-07T22:39:42.096Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-11-07T22:39:42.096Z] [ 76%] Built target csdk [2022-11-07T22:39:42.096Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-11-07T22:39:42.096Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-11-07T22:39:42.096Z] [ 79%] Built target template [2022-11-07T22:39:42.356Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-11-07T22:39:42.356Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-11-07T22:39:42.356Z] [ 82%] Built target device-counter [2022-11-07T22:39:42.356Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-11-07T22:39:42.356Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-11-07T22:39:42.356Z] [ 85%] Built target device-random [2022-11-07T22:39:42.356Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-11-07T22:39:42.356Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-11-07T22:39:42.356Z] [ 88%] Built target device-gyro [2022-11-07T22:39:42.356Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-11-07T22:39:42.356Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-11-07T22:39:42.356Z] [ 91%] Built target device-bitfields [2022-11-07T22:39:42.356Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-11-07T22:39:42.356Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-11-07T22:39:42.356Z] [ 94%] Built target template-discovery [2022-11-07T22:39:42.356Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-11-07T22:39:42.356Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-11-07T22:39:42.356Z] [ 97%] Built target device-file [2022-11-07T22:39:42.356Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-11-07T22:39:42.356Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-11-07T22:39:42.356Z] [100%] Built target device-terminal [2022-11-07T22:39:42.356Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2022-11-07T22:39:42.356Z] Install the project... [2022-11-07T22:39:42.356Z] -- Install configuration: "Release" [2022-11-07T22:39:42.356Z] -- Installing: /usr/local/lib/libcsdk.so [2022-11-07T22:39:42.356Z] -- Installing: /usr/local/include [2022-11-07T22:39:42.356Z] -- Installing: /usr/local/include/devsdk [2022-11-07T22:39:42.356Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2022-11-07T22:39:42.356Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2022-11-07T22:39:42.356Z] -- Installing: /usr/local/include/edgex [2022-11-07T22:39:42.356Z] -- Installing: /usr/local/include/edgex/edgex.h [2022-11-07T22:39:42.356Z] -- Installing: /usr/local/include/edgex/devices.h [2022-11-07T22:39:42.356Z] -- Installing: /usr/local/include/edgex/profiles.h [2022-11-07T22:39:42.356Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2022-11-07T22:39:42.356Z] -- Installing: /usr/local/include/edgex/rest-server.h [2022-11-07T22:39:42.356Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2022-11-07T22:39:42.356Z] -- Installing: /usr/local/include/iot [2022-11-07T22:39:42.356Z] -- Installing: /usr/local/include/iot/thread.h [2022-11-07T22:39:42.356Z] -- Installing: /usr/local/include/iot/iot.h [2022-11-07T22:39:42.356Z] -- Installing: /usr/local/include/iot/json.h [2022-11-07T22:39:42.356Z] -- Installing: /usr/local/include/iot/scheduler.h [2022-11-07T22:39:42.356Z] -- Installing: /usr/local/include/iot/typecode.h [2022-11-07T22:39:42.356Z] -- Installing: /usr/local/include/iot/component.h [2022-11-07T22:39:42.356Z] -- Installing: /usr/local/include/iot/defs.h [2022-11-07T22:39:42.356Z] -- Installing: /usr/local/include/iot/base64.h [2022-11-07T22:39:42.356Z] -- Installing: /usr/local/include/iot/time.h [2022-11-07T22:39:42.356Z] -- Installing: /usr/local/include/iot/os [2022-11-07T22:39:42.356Z] -- Installing: /usr/local/include/iot/os/linux.h [2022-11-07T22:39:42.356Z] -- Installing: /usr/local/include/iot/os/macos.h [2022-11-07T22:39:42.356Z] -- Installing: /usr/local/include/iot/os/zephyr.h [2022-11-07T22:39:42.356Z] -- Installing: /usr/local/include/iot/container.h [2022-11-07T22:39:42.356Z] -- Installing: /usr/local/include/iot/data.h [2022-11-07T22:39:42.356Z] -- Installing: /usr/local/include/iot/hash.h [2022-11-07T22:39:42.356Z] -- Installing: /usr/local/include/iot/uuid.h [2022-11-07T22:39:42.356Z] -- Installing: /usr/local/include/iot/config.h [2022-11-07T22:39:42.356Z] -- Installing: /usr/local/include/iot/logger.h [2022-11-07T22:39:42.356Z] -- Installing: /usr/local/include/iot/threadpool.h [2022-11-07T22:39:42.356Z] -- Installing: /usr/local/include/iot/os.h [2022-11-07T22:39:42.356Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2022-11-07T22:39:42.356Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2022-11-07T22:39:42.356Z] make: Leaving directory '/tmp/sdk/build/release' [2022-11-07T22:39:43.294Z] Removing intermediate container 1e2aa7b21265 [2022-11-07T22:39:43.294Z] ---> 35da036bb805 [2022-11-07T22:39:43.294Z] Step 14/22 : FROM ${BASE} [2022-11-07T22:39:43.294Z] ---> b2bbfebb3566 [2022-11-07T22:39:43.295Z] Step 15/22 : LABEL maintainer="IOTech " [2022-11-07T22:39:43.295Z] ---> Running in 0e383c7ddb02 [2022-11-07T22:39:43.295Z] Removing intermediate container 0e383c7ddb02 [2022-11-07T22:39:43.295Z] ---> a9639c62c801 [2022-11-07T22:39:43.295Z] Step 16/22 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2022-11-07T22:39:43.554Z] ---> Running in d0d3ab78e686 [2022-11-07T22:39:43.813Z] Connecting to iotech.jfrog.io (34.241.102.131:443) [2022-11-07T22:39:44.073Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2022-11-07T22:39:44.073Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2022-11-07T22:39:44.073Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2022-11-07T22:39:44.332Z] Removing intermediate container d0d3ab78e686 [2022-11-07T22:39:44.332Z] ---> 964f00530ead [2022-11-07T22:39:44.332Z] Step 17/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main' >> /etc/apk/repositories [2022-11-07T22:39:44.332Z] ---> Running in 57efa75c68e9 [2022-11-07T22:39:45.268Z] Removing intermediate container 57efa75c68e9 [2022-11-07T22:39:45.268Z] ---> 3c163bfd0866 [2022-11-07T22:39:45.268Z] Step 18/22 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml curl libmicrohttpd libuuid libcbor paho-mqtt-c-dev-1.3 hiredis-dev [2022-11-07T22:39:45.268Z] ---> Running in 6aba86f93a29 [2022-11-07T22:39:45.268Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-11-07T22:39:45.527Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-11-07T22:39:45.527Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main/x86_64/APKINDEX.tar.gz [2022-11-07T22:39:46.093Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2022-11-07T22:39:46.093Z] (1/6) Installing curl (7.83.1-r4) [2022-11-07T22:39:46.093Z] (2/6) Installing hiredis (1.0.2-r0) [2022-11-07T22:39:46.093Z] (3/6) Installing hiredis-dev (1.0.2-r0) [2022-11-07T22:39:46.093Z] (4/6) Installing libcbor (0.9.0-r1) [2022-11-07T22:39:46.093Z] (5/6) Installing libuuid (2.38-r1) [2022-11-07T22:39:46.093Z] (6/6) Installing paho-mqtt-c-dev-1.3 (1.3.11-r0) [2022-11-07T22:39:47.028Z] Executing busybox-1.35.0-r17.trigger [2022-11-07T22:39:47.028Z] OK: 275 MiB in 82 packages [2022-11-07T22:39:47.288Z] Removing intermediate container 6aba86f93a29 [2022-11-07T22:39:47.288Z] ---> a60bca050de5 [2022-11-07T22:39:47.288Z] Step 19/22 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot [2022-11-07T22:39:47.547Z] ---> 67f109b5dafa [2022-11-07T22:39:47.547Z] Step 20/22 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2022-11-07T22:39:47.547Z] ---> 9d4cf939fd4e [2022-11-07T22:39:47.547Z] Step 21/22 : COPY --from=builder /usr/local/lib /usr/local/lib [2022-11-07T22:39:47.806Z] ---> d6ff140e10cc [2022-11-07T22:39:47.806Z] Step 22/22 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2022-11-07T22:39:48.065Z] ---> 76ed0d46eee2 [2022-11-07T22:39:48.065Z] Successfully built 76ed0d46eee2 [2022-11-07T22:39:48.065Z] 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 [2022-11-07T22:39:48.424Z] + docker inspect -f . ci-base-image-x86_64 [2022-11-07T22:39:48.424Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-07T22:39:48.493Z] prd-ubuntu20.04-docker-8c-8g-118523 does not seem to be running inside a container [2022-11-07T22:39:48.526Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@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 ******** ci-base-image-x86_64 cat [2022-11-07T22:39:48.934Z] $ docker top 14bf945c07a66e711f32815572b9ef7953365f3a444b52e4eb738b79a6fc9992 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-07T22:39:49.277Z] + make test [2022-11-07T22:39:49.277Z] echo "make test" [2022-11-07T22:39:49.277Z] make test [Pipeline] } [2022-11-07T22:39:49.290Z] $ docker stop --time=1 14bf945c07a66e711f32815572b9ef7953365f3a444b52e4eb738b79a6fc9992 [2022-11-07T22:39:50.577Z] $ docker rm -f 14bf945c07a66e711f32815572b9ef7953365f3a444b52e4eb738b79a6fc9992 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-11-07T22:39:51.041Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-11-07T22:39:51.327Z] + ls -al . [2022-11-07T22:39:51.327Z] total 208 [2022-11-07T22:39:51.327Z] drwxrwxr-x 9 jenkins jenkins 4096 Nov 7 22:39 . [2022-11-07T22:39:51.327Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 7 22:38 .. [2022-11-07T22:39:51.327Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 7 22:39 .git [2022-11-07T22:39:51.327Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 7 22:38 .github [2022-11-07T22:39:51.327Z] -rw-rw-r-- 1 jenkins jenkins 176 Nov 7 22:38 .gitignore [2022-11-07T22:39:51.327Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 7 22:39 .semver [2022-11-07T22:39:51.327Z] -rw-rw-r-- 1 jenkins jenkins 3104 Nov 7 22:38 Attribution.txt [2022-11-07T22:39:51.327Z] -rw-rw-r-- 1 jenkins jenkins 8583 Nov 7 22:38 CHANGES [2022-11-07T22:39:51.327Z] -rw-rw-r-- 1 jenkins jenkins 108574 Nov 7 22:38 Doxyfile [2022-11-07T22:39:51.327Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 7 22:38 GOVERNANCE.md [2022-11-07T22:39:51.327Z] -rw-rw-r-- 1 jenkins jenkins 784 Nov 7 22:38 Jenkinsfile [2022-11-07T22:39:51.327Z] -rw-rw-r-- 1 jenkins jenkins 10174 Nov 7 22:38 LICENSE [2022-11-07T22:39:51.327Z] -rw-rw-r-- 1 jenkins jenkins 444 Nov 7 22:38 Makefile [2022-11-07T22:39:51.327Z] -rw-rw-r-- 1 jenkins jenkins 618 Nov 7 22:38 OWNERS.md [2022-11-07T22:39:51.327Z] -rw-rw-r-- 1 jenkins jenkins 4086 Nov 7 22:38 README.md [2022-11-07T22:39:51.327Z] -rw-rw-r-- 1 jenkins jenkins 7422 Nov 7 22:38 README.v2.md [2022-11-07T22:39:51.327Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 7 22:39 VERSION [2022-11-07T22:39:51.327Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 7 22:38 docs [2022-11-07T22:39:51.327Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 7 22:38 include [2022-11-07T22:39:51.327Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 7 22:38 scripts [2022-11-07T22:39:51.327Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 7 22:38 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-07T22:39:51.636Z] + 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=508af3997b99b63bbc6444d3a4c84739e7448765 --label arch=amd64 --label version=2.3.0 . [2022-11-07T22:39:51.636Z] Sending build context to Docker daemon 4.652MB [2022-11-07T22:39:51.636Z] Step 1/17 : ARG BASE=alpine:3.15 [2022-11-07T22:39:51.636Z] Step 2/17 : FROM ${BASE} [2022-11-07T22:39:51.636Z] ---> 76ed0d46eee2 [2022-11-07T22:39:51.636Z] Step 3/17 : LABEL maintainer="IOTech " [2022-11-07T22:39:51.636Z] ---> Running in a3e459a7033c [2022-11-07T22:39:51.894Z] Removing intermediate container a3e459a7033c [2022-11-07T22:39:51.894Z] ---> b44e955c8e17 [2022-11-07T22:39:51.894Z] 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 [2022-11-07T22:39:51.894Z] ---> Running in 72879c974ab7 [2022-11-07T22:39:52.154Z] Connecting to iotech.jfrog.io (34.243.190.149:443) [2022-11-07T22:39:52.413Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2022-11-07T22:39:52.413Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2022-11-07T22:39:52.413Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2022-11-07T22:39:52.983Z] Removing intermediate container 72879c974ab7 [2022-11-07T22:39:52.983Z] ---> afb0b56648bc [2022-11-07T22:39:52.983Z] Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main' >> /etc/apk/repositories [2022-11-07T22:39:52.983Z] ---> Running in a3327e0aca67 [2022-11-07T22:39:53.550Z] Removing intermediate container a3327e0aca67 [2022-11-07T22:39:53.550Z] ---> 550b59204233 [2022-11-07T22:39:53.550Z] 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 && mkdir -p /edgex-c-sdk/build [2022-11-07T22:39:53.550Z] ---> Running in 4635eac53e0c [2022-11-07T22:39:53.810Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-11-07T22:39:53.810Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-11-07T22:39:54.069Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main/x86_64/APKINDEX.tar.gz [2022-11-07T22:39:54.635Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2022-11-07T22:39:54.635Z] (1/7) Installing libcbor-dev (0.9.0-r1) [2022-11-07T22:39:54.635Z] (2/7) Installing ncurses-dev (6.3_p20220521-r0) [2022-11-07T22:39:54.635Z] (3/7) Installing libblkid (2.38-r1) [2022-11-07T22:39:54.635Z] (4/7) Installing libfdisk (2.38-r1) [2022-11-07T22:39:54.635Z] (5/7) Installing libmount (2.38-r1) [2022-11-07T22:39:54.635Z] (6/7) Installing libsmartcols (2.38-r1) [2022-11-07T22:39:54.635Z] (7/7) Installing util-linux-dev (2.38-r1) [2022-11-07T22:39:54.635Z] Executing busybox-1.35.0-r17.trigger [2022-11-07T22:39:54.635Z] OK: 280 MiB in 89 packages [2022-11-07T22:39:55.203Z] Removing intermediate container 4635eac53e0c [2022-11-07T22:39:55.203Z] ---> d6483a58368c [2022-11-07T22:39:55.203Z] Step 7/17 : COPY VERSION /edgex-c-sdk/ [2022-11-07T22:39:55.203Z] ---> d348c7fa3082 [2022-11-07T22:39:55.203Z] Step 8/17 : COPY src /edgex-c-sdk/src/ [2022-11-07T22:39:55.463Z] ---> 7351c916b475 [2022-11-07T22:39:55.463Z] Step 9/17 : COPY include /edgex-c-sdk/include/ [2022-11-07T22:39:55.723Z] ---> 31e4da35d7cb [2022-11-07T22:39:55.723Z] Step 10/17 : COPY scripts /edgex-c-sdk/scripts [2022-11-07T22:39:55.723Z] ---> b6a8a0a85e8b [2022-11-07T22:39:55.723Z] Step 11/17 : COPY LICENSE /edgex-c-sdk/ [2022-11-07T22:39:55.984Z] ---> addbe8f68890 [2022-11-07T22:39:55.984Z] Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ [2022-11-07T22:39:55.984Z] ---> fe3c5a354e15 [2022-11-07T22:39:55.984Z] Step 13/17 : WORKDIR /edgex-c-sdk [2022-11-07T22:39:56.244Z] ---> Running in 3a4fac8b130b [2022-11-07T22:39:56.244Z] Removing intermediate container 3a4fac8b130b [2022-11-07T22:39:56.244Z] ---> bae171199fa1 [2022-11-07T22:39:56.244Z] Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2022-11-07T22:39:56.244Z] ---> Running in e333cf7de5c8 [2022-11-07T22:39:56.503Z] Removing intermediate container e333cf7de5c8 [2022-11-07T22:39:56.503Z] ---> e54602001de6 [2022-11-07T22:39:56.503Z] Step 15/17 : LABEL arch=amd64 [2022-11-07T22:39:56.503Z] ---> Running in 9149c0e60f8d [2022-11-07T22:39:56.503Z] Removing intermediate container 9149c0e60f8d [2022-11-07T22:39:56.503Z] ---> 132796fbe67b [2022-11-07T22:39:56.503Z] Step 16/17 : LABEL git_sha=508af3997b99b63bbc6444d3a4c84739e7448765 [2022-11-07T22:39:56.503Z] ---> Running in 5d7ff235e9dc [2022-11-07T22:39:56.790Z] Removing intermediate container 5d7ff235e9dc [2022-11-07T22:39:56.790Z] ---> c159be023c7c [2022-11-07T22:39:56.791Z] Step 17/17 : LABEL version=2.3.0 [2022-11-07T22:39:56.791Z] ---> Running in f94c1066e1d1 [2022-11-07T22:39:56.791Z] Removing intermediate container f94c1066e1d1 [2022-11-07T22:39:56.791Z] ---> 2ba695baf343 [2022-11-07T22:39:56.791Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2022-11-07T22:39:56.791Z] Successfully built 2ba695baf343 [2022-11-07T22:39:56.791Z] 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 [2022-11-07T22:39:57.330Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-11-07T22:39:57.330Z] [2022-11-07T22:39:57.330Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-07T22:39:58.058Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-11-07T22:39:58.336Z] latest: Pulling from edgex-lftools-log-publisher [2022-11-07T22:39:58.336Z] 5eb5b503b376: Pulling fs layer [2022-11-07T22:39:58.336Z] 5c69ac0246d0: Pulling fs layer [2022-11-07T22:39:58.336Z] ec43610c2a17: Pulling fs layer [2022-11-07T22:39:58.336Z] 3a2ae6a8a46f: Pulling fs layer [2022-11-07T22:39:58.336Z] 33b1e0a273af: Pulling fs layer [2022-11-07T22:39:58.336Z] 5d3b04190fa2: Pulling fs layer [2022-11-07T22:39:58.336Z] 2f39f015ded8: Pulling fs layer [2022-11-07T22:39:58.336Z] 3a2ae6a8a46f: Waiting [2022-11-07T22:39:58.336Z] 33b1e0a273af: Waiting [2022-11-07T22:39:58.336Z] 5d3b04190fa2: Waiting [2022-11-07T22:39:58.336Z] 2f39f015ded8: Waiting [2022-11-07T22:39:58.336Z] 5c69ac0246d0: Download complete [2022-11-07T22:39:58.336Z] 3a2ae6a8a46f: Download complete [2022-11-07T22:39:58.336Z] 33b1e0a273af: Verifying Checksum [2022-11-07T22:39:58.336Z] 33b1e0a273af: Download complete [2022-11-07T22:39:58.336Z] ec43610c2a17: Verifying Checksum [2022-11-07T22:39:58.336Z] ec43610c2a17: Download complete [2022-11-07T22:39:58.336Z] 5d3b04190fa2: Download complete [2022-11-07T22:39:58.604Z] 5eb5b503b376: Verifying Checksum [2022-11-07T22:39:58.604Z] 5eb5b503b376: Download complete [2022-11-07T22:39:59.170Z] 2f39f015ded8: Download complete [2022-11-07T22:39:59.736Z] 5eb5b503b376: Pull complete [2022-11-07T22:39:59.994Z] 5c69ac0246d0: Pull complete [2022-11-07T22:40:00.562Z] ec43610c2a17: Pull complete [2022-11-07T22:40:00.562Z] 3a2ae6a8a46f: Pull complete [2022-11-07T22:40:00.821Z] 33b1e0a273af: Pull complete [2022-11-07T22:40:00.821Z] 5d3b04190fa2: Pull complete [2022-11-07T22:40:05.044Z] 2f39f015ded8: Pull complete [2022-11-07T22:40:05.044Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-11-07T22:40:05.044Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-11-07T22:40:05.044Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-07T22:40:05.107Z] prd-ubuntu20.04-docker-8c-8g-118523 does not seem to be running inside a container [2022-11-07T22:40:05.139Z] $ 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_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-11-07T22:40:07.269Z] $ docker top 9bdf6dea16b31db96258970f78822d03490db392bd042ff2a87be6fb7f323ecf -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-07T22:40:07.635Z] ---> job-cost.sh [2022-11-07T22:40:07.635Z] lf-activate-venv: SKIPPING [2022-11-07T22:40:07.635Z] INFO: No Stack... [2022-11-07T22:40:08.203Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-11-07T22:40:08.462Z] INFO: Archiving Costs [Pipeline] sh [2022-11-07T22:40:08.753Z] + cat /w/workspace/edgexfoundry_device-sdk-c_main/archives/cost.csv [2022-11-07T22:40:08.753Z] + cut -d, -f6 [Pipeline] lock [2022-11-07T22:40:08.766Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-main-35-stack-cost] [2022-11-07T22:40:08.778Z] Resource [jenkins-edgexfoundry-device-sdk-c-main-35-stack-cost] did not exist. Created. [2022-11-07T22:40:08.778Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-main-35-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-11-07T22:40:09.076Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-11-07T22:40:09.112Z] Stashed 1 file(s) [Pipeline] } [2022-11-07T22:40:09.118Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-main-35-stack-cost] [Pipeline] // lock [Pipeline] } [2022-11-07T22:40:09.135Z] $ docker stop --time=1 9bdf6dea16b31db96258970f78822d03490db392bd042ff2a87be6fb7f323ecf [2022-11-07T22:40:10.308Z] $ docker rm -f 9bdf6dea16b31db96258970f78822d03490db392bd042ff2a87be6fb7f323ecf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-11-07T22:41:30.863Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-118526 in /w/workspace/edgexfoundry_device-sdk-c_main [Pipeline] { [Pipeline] ws [2022-11-07T22:41:30.875Z] Running in /w/workspace/device-sdk-c/35 [Pipeline] { [Pipeline] checkout [2022-11-07T22:41:30.902Z] Selected Git installation does not exist. Using Default [2022-11-07T22:41:30.902Z] The recommended git tool is: NONE [2022-11-07T22:41:36.176Z] using credential edgex-jenkins-ssh [2022-11-07T22:41:36.209Z] Cloning the remote Git repository [2022-11-07T22:41:36.263Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2022-11-07T22:41:36.345Z] > git init /w/workspace/device-sdk-c/35 # timeout=10 [2022-11-07T22:41:36.477Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2022-11-07T22:41:36.478Z] > git --version # timeout=10 [2022-11-07T22:41:36.500Z] > git --version # 'git version 2.25.1' [2022-11-07T22:41:36.502Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-11-07T22:41:36.558Z] Verifying host key using known hosts file [2022-11-07T22:41:36.760Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-11-07T22:41:36.774Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-11-07T22:41:37.881Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2022-11-07T22:41:37.910Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-11-07T22:41:38.730Z] Avoid second fetch [2022-11-07T22:41:38.730Z] Checking out Revision 508af3997b99b63bbc6444d3a4c84739e7448765 (main) [2022-11-07T22:41:39.312Z] Commit message: "feat: add metrics publication (#432)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [2022-11-07T22:41:38.748Z] > git config core.sparsecheckout # timeout=10 [2022-11-07T22:41:38.767Z] > git checkout -f 508af3997b99b63bbc6444d3a4c84739e7448765 # timeout=10 [Pipeline] script [Pipeline] { [Pipeline] sh [2022-11-07T22:41:40.207Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-11-07T22:41:40.207Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-11-07T22:41:40.207Z] Dload Upload Total Spent Left Speed [2022-11-07T22:41:40.207Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 170k 0 --:--:-- --:--:-- --:--:-- 173k [Pipeline] sh [2022-11-07T22:41:40.877Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-11-07T22:41:41.216Z] + + sudo teesudo /etc/docker/daemon.new jq [2022-11-07T22:41:41.216Z] . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-11-07T22:41:41.216Z] { [2022-11-07T22:41:41.216Z] "registry-mirrors": [ [2022-11-07T22:41:41.216Z] "https://nexus3.edgexfoundry.org:10001" [2022-11-07T22:41:41.216Z] ], [2022-11-07T22:41:41.216Z] "bip": "10.250.0.254/24", [2022-11-07T22:41:41.216Z] "hosts": [ [2022-11-07T22:41:41.216Z] "tcp://0.0.0.0:5555", [2022-11-07T22:41:41.216Z] "unix:///var/run/docker.sock" [2022-11-07T22:41:41.216Z] ], [2022-11-07T22:41:41.216Z] "mtu": 1458, [2022-11-07T22:41:41.216Z] "selinux-enabled": true, [2022-11-07T22:41:41.216Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-11-07T22:41:41.216Z] } [Pipeline] sh [2022-11-07T22:41:41.562Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-11-07T22:41:41.911Z] + sudo service docker restart [Pipeline] sh [2022-11-07T22:42:00.505Z] + git checkout 508af3997b99b63bbc6444d3a4c84739e7448765 [2022-11-07T22:42:00.505Z] HEAD is now at 508af39 feat: add metrics publication (#432) [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-11-07T22:42:00.530Z] provisioning config files... [2022-11-07T22:42:00.557Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/35@tmp/config9032099120102686861tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-07T22:42:00.915Z] ---> docker-login.sh [2022-11-07T22:42:00.915Z] nexus3.edgexfoundry.org:10001 [2022-11-07T22:42:01.506Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T22:42:01.506Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T22:42:01.506Z] Configure a credential helper to remove this warning. See [2022-11-07T22:42:01.506Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T22:42:01.506Z] [2022-11-07T22:42:01.506Z] Login Succeeded [2022-11-07T22:42:01.506Z] nexus3.edgexfoundry.org:10002 [2022-11-07T22:42:01.776Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T22:42:02.049Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T22:42:02.049Z] Configure a credential helper to remove this warning. See [2022-11-07T22:42:02.049Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T22:42:02.049Z] [2022-11-07T22:42:02.049Z] Login Succeeded [2022-11-07T22:42:02.049Z] nexus3.edgexfoundry.org:10003 [2022-11-07T22:42:02.320Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T22:42:02.320Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T22:42:02.320Z] Configure a credential helper to remove this warning. See [2022-11-07T22:42:02.320Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T22:42:02.320Z] [2022-11-07T22:42:02.320Z] Login Succeeded [2022-11-07T22:42:02.320Z] nexus3.edgexfoundry.org:10004 [2022-11-07T22:42:02.591Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T22:42:02.860Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T22:42:02.860Z] Configure a credential helper to remove this warning. See [2022-11-07T22:42:02.860Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T22:42:02.860Z] [2022-11-07T22:42:02.860Z] Login Succeeded [2022-11-07T22:42:02.860Z] docker.io [2022-11-07T22:42:03.132Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T22:42:03.403Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T22:42:03.403Z] Configure a credential helper to remove this warning. See [2022-11-07T22:42:03.403Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T22:42:03.403Z] [2022-11-07T22:42:03.403Z] Login Succeeded [2022-11-07T22:42:03.403Z] ---> docker-login.sh ends [Pipeline] } [2022-11-07T22:42:03.419Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-11-07T22:42:03.608Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-11-07T22:42:03.620Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-arm64 [Pipeline] echo [2022-11-07T22:42:03.631Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-11-07T22:42:03.643Z] ========================================================= [2022-11-07T22:42:03.643Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] [2022-11-07T22:42:03.643Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-07T22:42:03.995Z] + 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 . [2022-11-07T22:42:04.265Z] Sending build context to Docker daemon 2.808MB [2022-11-07T22:42:04.265Z] Step 1/22 : ARG BASE=alpine:3.15 [2022-11-07T22:42:04.265Z] Step 2/22 : FROM ${BASE} as builder [2022-11-07T22:42:04.539Z] latest: Pulling from edgex-devops/edgex-gcc-base-arm64 [2022-11-07T22:42:04.539Z] 9b18e9b68314: Pulling fs layer [2022-11-07T22:42:04.540Z] 1def92ead452: Pulling fs layer [2022-11-07T22:42:04.820Z] 9b18e9b68314: Verifying Checksum [2022-11-07T22:42:04.820Z] 9b18e9b68314: Download complete [2022-11-07T22:42:05.431Z] 9b18e9b68314: Pull complete [2022-11-07T22:42:06.858Z] 1def92ead452: Verifying Checksum [2022-11-07T22:42:06.858Z] 1def92ead452: Download complete [2022-11-07T22:42:15.114Z] 1def92ead452: Pull complete [2022-11-07T22:42:15.114Z] Digest: sha256:3c74c28e8b16bff0b36cfc53656b3ae71c0a9fddc9bd5376ab4c3f9356b3cc6c [2022-11-07T22:42:15.114Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest [2022-11-07T22:42:15.114Z] ---> 9a9802766715 [2022-11-07T22:42:15.114Z] Step 3/22 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2022-11-07T22:42:16.545Z] ---> Running in c16117eec610 [2022-11-07T22:42:17.961Z] Connecting to iotech.jfrog.io (34.243.190.149:443) [2022-11-07T22:42:19.381Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2022-11-07T22:42:19.381Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2022-11-07T22:42:19.381Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2022-11-07T22:42:19.979Z] Removing intermediate container c16117eec610 [2022-11-07T22:42:19.979Z] ---> dd638696f28f [2022-11-07T22:42:19.979Z] Step 4/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main' >> /etc/apk/repositories [2022-11-07T22:42:20.263Z] ---> Running in 58b7cbf1789f [2022-11-07T22:42:21.683Z] Removing intermediate container 58b7cbf1789f [2022-11-07T22:42:21.683Z] ---> d9764c3cc4fe [2022-11-07T22:42:21.683Z] Step 5/22 : 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 [2022-11-07T22:42:21.953Z] ---> Running in c19326b7dd6c [2022-11-07T22:42:22.922Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-11-07T22:42:23.191Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-11-07T22:42:23.776Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main/aarch64/APKINDEX.tar.gz [2022-11-07T22:42:24.741Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2022-11-07T22:42:24.741Z] (1/12) Installing hiredis (1.0.2-r0) [2022-11-07T22:42:24.741Z] (2/12) Installing hiredis-dev (1.0.2-r0) [2022-11-07T22:42:25.009Z] (3/12) Installing libcbor (0.9.0-r1) [2022-11-07T22:42:25.009Z] (4/12) Installing libcbor-dev (0.9.0-r1) [2022-11-07T22:42:25.009Z] (5/12) Installing ncurses-dev (6.3_p20220521-r0) [2022-11-07T22:42:25.009Z] (6/12) Installing paho-mqtt-c-dev-1.3 (1.3.11-r0) [2022-11-07T22:42:25.973Z] (7/12) Installing libblkid (2.38-r1) [2022-11-07T22:42:25.973Z] (8/12) Installing libuuid (2.38-r1) [2022-11-07T22:42:25.973Z] (9/12) Installing libfdisk (2.38-r1) [2022-11-07T22:42:25.973Z] (10/12) Installing libmount (2.38-r1) [2022-11-07T22:42:25.973Z] (11/12) Installing libsmartcols (2.38-r1) [2022-11-07T22:42:25.973Z] (12/12) Installing util-linux-dev (2.38-r1) [2022-11-07T22:42:25.973Z] Executing busybox-1.35.0-r17.trigger [2022-11-07T22:42:26.241Z] OK: 285 MiB in 88 packages [2022-11-07T22:42:27.207Z] Removing intermediate container c19326b7dd6c [2022-11-07T22:42:27.207Z] ---> 572444eca3da [2022-11-07T22:42:27.207Z] Step 6/22 : RUN mkdir /tmp/sdk [2022-11-07T22:42:27.478Z] ---> Running in f4b444f541d9 [2022-11-07T22:42:29.017Z] Removing intermediate container f4b444f541d9 [2022-11-07T22:42:29.017Z] ---> 086b1dd0da65 [2022-11-07T22:42:29.017Z] Step 7/22 : COPY VERSION /tmp/sdk [2022-11-07T22:42:29.631Z] ---> 9fb79aba748d [2022-11-07T22:42:29.631Z] Step 8/22 : COPY src /tmp/sdk/src [2022-11-07T22:42:31.061Z] ---> ed9b8a2b05f1 [2022-11-07T22:42:31.061Z] Step 9/22 : COPY include /tmp/sdk/include [2022-11-07T22:42:31.329Z] ---> 7616fe8e6f6e [2022-11-07T22:42:31.329Z] Step 10/22 : COPY scripts /tmp/sdk/scripts [2022-11-07T22:42:31.918Z] ---> 7192f28608bb [2022-11-07T22:42:31.918Z] Step 11/22 : COPY LICENSE /tmp/sdk [2022-11-07T22:42:32.507Z] ---> 13e0b567ca79 [2022-11-07T22:42:32.507Z] Step 12/22 : COPY Attribution.txt /tmp/sdk [2022-11-07T22:42:33.106Z] ---> 1e9d3d059ee5 [2022-11-07T22:42:33.106Z] Step 13/22 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2022-11-07T22:42:33.106Z] ---> Running in 64d93802bb93 [2022-11-07T22:42:34.072Z] + CPPCHECK=false [2022-11-07T22:42:34.072Z] + DOCGEN=false [2022-11-07T22:42:34.072Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2022-11-07T22:42:34.072Z] + TOMLVER=SDK-0.2 [2022-11-07T22:42:34.072Z] + CUTILVER=1.2.2 [2022-11-07T22:42:34.072Z] + '[' 0 -gt 0 ] [2022-11-07T22:42:34.072Z] + readlink -f ./scripts/build.sh [2022-11-07T22:42:34.072Z] + dirname /tmp/sdk/scripts/build.sh [2022-11-07T22:42:34.072Z] + dirname /tmp/sdk/scripts [2022-11-07T22:42:34.072Z] + ROOT=/tmp/sdk [2022-11-07T22:42:34.072Z] + cd /tmp/sdk [2022-11-07T22:42:34.072Z] + '[' '!' -d deps ] [2022-11-07T22:42:34.072Z] + mkdir deps [2022-11-07T22:42:34.072Z] + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2022-11-07T22:42:34.072Z] + tar -C deps -z -x -f - [2022-11-07T22:42:34.072Z] Connecting to github.com (140.82.112.3:443) [2022-11-07T22:42:34.342Z] Connecting to codeload.github.com (140.82.112.9:443) [2022-11-07T22:42:34.621Z] writing to stdout [2022-11-07T22:42:34.621Z] - 100% |********************************| 16451 0:00:00 ETA [2022-11-07T22:42:34.621Z] written to stdout [2022-11-07T22:42:34.621Z] + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c [2022-11-07T22:42:34.621Z] + + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.2.2.tar.gz [2022-11-07T22:42:34.621Z] tar -C deps -z -x -f - [2022-11-07T22:42:34.621Z] Connecting to github.com (140.82.112.3:443) [2022-11-07T22:42:34.891Z] Connecting to codeload.github.com (140.82.112.9:443) [2022-11-07T22:42:35.157Z] writing to stdout [2022-11-07T22:42:35.157Z] - 100% |********************************| 189k 0:00:00 ETA [2022-11-07T22:42:35.157Z] written to stdout [2022-11-07T22:42:35.426Z] + mkdir -p src/c/iot [2022-11-07T22:42:35.426Z] + cp deps/iotech-c-utils-1.2.2/src/c/base64.c deps/iotech-c-utils-1.2.2/src/c/component.c deps/iotech-c-utils-1.2.2/src/c/config.c deps/iotech-c-utils-1.2.2/src/c/container.c deps/iotech-c-utils-1.2.2/src/c/data.c deps/iotech-c-utils-1.2.2/src/c/hash.c deps/iotech-c-utils-1.2.2/src/c/iot.c deps/iotech-c-utils-1.2.2/src/c/json.c deps/iotech-c-utils-1.2.2/src/c/logger.c deps/iotech-c-utils-1.2.2/src/c/os.c deps/iotech-c-utils-1.2.2/src/c/scheduler.c deps/iotech-c-utils-1.2.2/src/c/thread.c deps/iotech-c-utils-1.2.2/src/c/threadpool.c deps/iotech-c-utils-1.2.2/src/c/time.c deps/iotech-c-utils-1.2.2/src/c/uuid.c deps/iotech-c-utils-1.2.2/src/c/yxml.c src/c/iot [2022-11-07T22:42:35.426Z] + cp deps/iotech-c-utils-1.2.2/src/c/defs.h.in src/c/iot [2022-11-07T22:42:35.426Z] + cp deps/iotech-c-utils-1.2.2/src/c/yxml.h src/c/iot [2022-11-07T22:42:35.426Z] + cp deps/iotech-c-utils-1.2.2/VERSION src/c/iot [2022-11-07T22:42:35.426Z] + mkdir -p include/iot [2022-11-07T22:42:35.426Z] + cp deps/iotech-c-utils-1.2.2/include/iot/base64.h deps/iotech-c-utils-1.2.2/include/iot/component.h deps/iotech-c-utils-1.2.2/include/iot/config.h deps/iotech-c-utils-1.2.2/include/iot/container.h deps/iotech-c-utils-1.2.2/include/iot/data.h deps/iotech-c-utils-1.2.2/include/iot/hash.h deps/iotech-c-utils-1.2.2/include/iot/iot.h deps/iotech-c-utils-1.2.2/include/iot/json.h deps/iotech-c-utils-1.2.2/include/iot/logger.h deps/iotech-c-utils-1.2.2/include/iot/os.h deps/iotech-c-utils-1.2.2/include/iot/scheduler.h deps/iotech-c-utils-1.2.2/include/iot/thread.h deps/iotech-c-utils-1.2.2/include/iot/threadpool.h deps/iotech-c-utils-1.2.2/include/iot/time.h deps/iotech-c-utils-1.2.2/include/iot/typecode.h deps/iotech-c-utils-1.2.2/include/iot/uuid.h include/iot [2022-11-07T22:42:35.426Z] + mkdir -p include/iot/os [2022-11-07T22:42:35.426Z] + cp deps/iotech-c-utils-1.2.2/include/iot/os/linux.h deps/iotech-c-utils-1.2.2/include/iot/os/macos.h deps/iotech-c-utils-1.2.2/include/iot/os/zephyr.h include/iot/os [2022-11-07T22:42:35.426Z] + mkdir -p /tmp/sdk/build/release [2022-11-07T22:42:35.426Z] + cd /tmp/sdk/build/release [2022-11-07T22:42:35.426Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2022-11-07T22:42:35.695Z] -- The C compiler identification is GNU 11.2.1 [2022-11-07T22:42:35.695Z] -- Detecting C compiler ABI info [2022-11-07T22:42:36.281Z] -- Detecting C compiler ABI info - done [2022-11-07T22:42:36.281Z] -- Check for working C compiler: /usr/bin/cc - skipped [2022-11-07T22:42:36.281Z] -- Detecting C compile features [2022-11-07T22:42:36.281Z] -- Detecting C compile features - done [2022-11-07T22:42:36.281Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2022-11-07T22:42:36.548Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.83.1") [2022-11-07T22:42:36.548Z] -- Found LIBYAML: /usr/lib/libyaml.so [2022-11-07T22:42:36.548Z] -- Found LIBUUID: /usr/lib/libuuid.so [2022-11-07T22:42:36.548Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2022-11-07T22:42:36.548Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2022-11-07T22:42:36.548Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2022-11-07T22:42:36.548Z] -- C SDK 2.3.0 for Linux [2022-11-07T22:42:36.548Z] -- Performing Test CSDK_HAVE_ATOMIC [2022-11-07T22:42:36.818Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2022-11-07T22:42:37.087Z] -- Found Curses: /usr/lib/libcurses.so [2022-11-07T22:42:37.356Z] -- Configuring done [2022-11-07T22:42:37.624Z] -- Generating done [2022-11-07T22:42:37.624Z] -- Build files have been written to: /tmp/sdk/build/release [2022-11-07T22:42:37.624Z] + make all package [2022-11-07T22:42:37.624Z] + tee release.log [2022-11-07T22:42:37.624Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2022-11-07T22:42:38.727Z] [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2022-11-07T22:42:39.689Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2022-11-07T22:42:43.034Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2022-11-07T22:42:44.445Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2022-11-07T22:42:44.711Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2022-11-07T22:42:46.120Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2022-11-07T22:42:48.065Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o [2022-11-07T22:42:48.065Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2022-11-07T22:42:50.652Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2022-11-07T22:42:53.241Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2022-11-07T22:42:53.829Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2022-11-07T22:42:54.795Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2022-11-07T22:42:55.759Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2022-11-07T22:42:56.345Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2022-11-07T22:42:56.930Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2022-11-07T22:42:57.203Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2022-11-07T22:43:01.467Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2022-11-07T22:43:01.734Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2022-11-07T22:43:02.319Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2022-11-07T22:43:02.904Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2022-11-07T22:43:03.867Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2022-11-07T22:43:04.135Z] /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': [2022-11-07T22:43:04.135Z] /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] [2022-11-07T22:43:04.135Z] 275 | const iot_component_factory_t * factory; [2022-11-07T22:43:04.135Z] | ^~~~~~~ [2022-11-07T22:43:05.096Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2022-11-07T22:43:13.294Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2022-11-07T22:43:13.294Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2022-11-07T22:43:13.294Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2022-11-07T22:43:13.877Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2022-11-07T22:43:14.835Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2022-11-07T22:43:14.835Z] [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2022-11-07T22:43:16.775Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2022-11-07T22:43:17.358Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2022-11-07T22:43:18.767Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2022-11-07T22:43:19.353Z] [ 48%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o [2022-11-07T22:43:19.937Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2022-11-07T22:43:23.287Z] [ 51%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2022-11-07T22:43:24.246Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2022-11-07T22:43:25.651Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2022-11-07T22:43:26.235Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2022-11-07T22:43:34.436Z] [ 57%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2022-11-07T22:43:34.437Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2022-11-07T22:43:34.437Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2022-11-07T22:43:35.021Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2022-11-07T22:43:36.967Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2022-11-07T22:43:40.315Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2022-11-07T22:43:40.582Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2022-11-07T22:43:41.548Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2022-11-07T22:43:42.512Z] [ 69%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2022-11-07T22:43:46.762Z] [ 70%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2022-11-07T22:43:52.106Z] [ 72%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2022-11-07T22:43:52.688Z] [ 73%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2022-11-07T22:43:53.269Z] [ 75%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2022-11-07T22:43:54.227Z] [ 76%] Linking C shared library libcsdk.so [2022-11-07T22:43:54.227Z] [ 76%] Built target csdk [2022-11-07T22:43:54.227Z] [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2022-11-07T22:43:55.635Z] [ 79%] Linking C executable template [2022-11-07T22:43:55.635Z] [ 79%] Built target template [2022-11-07T22:43:55.635Z] [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2022-11-07T22:43:56.594Z] [ 82%] Linking C executable device-counter [2022-11-07T22:43:56.594Z] [ 82%] Built target device-counter [2022-11-07T22:43:56.594Z] [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2022-11-07T22:43:57.553Z] [ 85%] Linking C executable device-random [2022-11-07T22:43:57.553Z] [ 85%] Built target device-random [2022-11-07T22:43:57.820Z] [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2022-11-07T22:43:58.399Z] [ 88%] Linking C executable device-gyro [2022-11-07T22:43:58.665Z] [ 88%] Built target device-gyro [2022-11-07T22:43:58.665Z] [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2022-11-07T22:43:59.245Z] [ 91%] Linking C executable device-bitfields [2022-11-07T22:43:59.512Z] [ 91%] Built target device-bitfields [2022-11-07T22:43:59.512Z] [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2022-11-07T22:44:00.917Z] [ 94%] Linking C executable template-discovery [2022-11-07T22:44:00.917Z] [ 94%] Built target template-discovery [2022-11-07T22:44:00.917Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2022-11-07T22:44:01.876Z] [ 97%] Linking C executable device-file [2022-11-07T22:44:02.142Z] [ 97%] Built target device-file [2022-11-07T22:44:02.142Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2022-11-07T22:44:03.100Z] [100%] Linking C executable device-terminal [2022-11-07T22:44:03.366Z] [100%] Built target device-terminal [2022-11-07T22:44:03.366Z] Run CPack packaging tool... [2022-11-07T22:44:03.633Z] CPack: Create package using TGZ [2022-11-07T22:44:03.633Z] CPack: Install projects [2022-11-07T22:44:03.633Z] CPack: - Run preinstall target for: Csdk [2022-11-07T22:44:04.216Z] CPack: - Install project: Csdk [] [2022-11-07T22:44:04.485Z] CPack: Create package [2022-11-07T22:44:04.485Z] CPack: - package: /tmp/sdk/build/release/csdk-2.3.0.tar.gz generated. [2022-11-07T22:44:04.485Z] + '[' false '=' true ] [2022-11-07T22:44:04.485Z] + '[' false '=' true ] [2022-11-07T22:44:04.485Z] + mkdir -p /tmp/sdk/build/debug [2022-11-07T22:44:04.485Z] + cd /tmp/sdk/build/debug [2022-11-07T22:44:04.485Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2022-11-07T22:44:05.067Z] -- The C compiler identification is GNU 11.2.1 [2022-11-07T22:44:05.067Z] -- Detecting C compiler ABI info [2022-11-07T22:44:05.333Z] -- Detecting C compiler ABI info - done [2022-11-07T22:44:05.333Z] -- Check for working C compiler: /usr/bin/cc - skipped [2022-11-07T22:44:05.333Z] -- Detecting C compile features [2022-11-07T22:44:05.333Z] -- Detecting C compile features - done [2022-11-07T22:44:05.333Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2022-11-07T22:44:05.599Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.83.1") [2022-11-07T22:44:05.599Z] -- Found LIBYAML: /usr/lib/libyaml.so [2022-11-07T22:44:05.599Z] -- Found LIBUUID: /usr/lib/libuuid.so [2022-11-07T22:44:05.599Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2022-11-07T22:44:05.599Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2022-11-07T22:44:05.865Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2022-11-07T22:44:05.865Z] -- C SDK 2.3.0 for Linux [2022-11-07T22:44:05.865Z] -- Performing Test CSDK_HAVE_ATOMIC [2022-11-07T22:44:06.130Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2022-11-07T22:44:06.130Z] -- Found Curses: /usr/lib/libcurses.so [2022-11-07T22:44:06.396Z] -- Configuring done [2022-11-07T22:44:06.663Z] -- Generating done [2022-11-07T22:44:06.663Z] -- Build files have been written to: /tmp/sdk/build/debug [2022-11-07T22:44:06.663Z] + + maketee [2022-11-07T22:44:06.663Z] debug.log [2022-11-07T22:44:06.930Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2022-11-07T22:44:07.511Z] [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2022-11-07T22:44:08.092Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2022-11-07T22:44:09.047Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2022-11-07T22:44:09.628Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2022-11-07T22:44:09.895Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2022-11-07T22:44:10.475Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2022-11-07T22:44:11.060Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o [2022-11-07T22:44:11.328Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2022-11-07T22:44:12.287Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2022-11-07T22:44:13.245Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2022-11-07T22:44:13.829Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2022-11-07T22:44:14.413Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2022-11-07T22:44:14.680Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2022-11-07T22:44:15.266Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2022-11-07T22:44:15.532Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2022-11-07T22:44:15.801Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2022-11-07T22:44:17.209Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2022-11-07T22:44:17.476Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2022-11-07T22:44:17.742Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2022-11-07T22:44:18.327Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2022-11-07T22:44:18.594Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2022-11-07T22:44:18.861Z] /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': [2022-11-07T22:44:18.861Z] /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] [2022-11-07T22:44:18.861Z] 275 | const iot_component_factory_t * factory; [2022-11-07T22:44:18.861Z] | ^~~~~~~ [2022-11-07T22:44:19.128Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2022-11-07T22:44:21.072Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2022-11-07T22:44:21.072Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2022-11-07T22:44:21.341Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2022-11-07T22:44:21.608Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2022-11-07T22:44:22.191Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2022-11-07T22:44:22.191Z] [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2022-11-07T22:44:22.772Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2022-11-07T22:44:23.040Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2022-11-07T22:44:23.623Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2022-11-07T22:44:23.891Z] [ 48%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o [2022-11-07T22:44:24.477Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2022-11-07T22:44:25.062Z] [ 51%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2022-11-07T22:44:25.331Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2022-11-07T22:44:26.293Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2022-11-07T22:44:26.559Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2022-11-07T22:44:27.972Z] [ 57%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2022-11-07T22:44:28.557Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2022-11-07T22:44:28.822Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2022-11-07T22:44:29.088Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2022-11-07T22:44:29.667Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2022-11-07T22:44:32.253Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2022-11-07T22:44:32.253Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2022-11-07T22:44:32.521Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2022-11-07T22:44:33.104Z] [ 69%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2022-11-07T22:44:34.513Z] [ 70%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2022-11-07T22:44:35.472Z] [ 72%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2022-11-07T22:44:36.052Z] [ 73%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2022-11-07T22:44:36.317Z] [ 75%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2022-11-07T22:44:36.584Z] [ 76%] Linking C shared library libcsdk.so [2022-11-07T22:44:36.851Z] [ 76%] Built target csdk [2022-11-07T22:44:37.118Z] [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2022-11-07T22:44:37.385Z] [ 79%] Linking C executable template [2022-11-07T22:44:37.653Z] [ 79%] Built target template [2022-11-07T22:44:37.919Z] [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2022-11-07T22:44:38.186Z] [ 82%] Linking C executable device-counter [2022-11-07T22:44:38.453Z] [ 82%] Built target device-counter [2022-11-07T22:44:38.720Z] [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2022-11-07T22:44:38.987Z] [ 85%] Linking C executable device-random [2022-11-07T22:44:39.255Z] [ 85%] Built target device-random [2022-11-07T22:44:39.255Z] [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2022-11-07T22:44:39.838Z] [ 88%] Linking C executable device-gyro [2022-11-07T22:44:40.103Z] [ 88%] Built target device-gyro [2022-11-07T22:44:40.103Z] [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2022-11-07T22:44:40.746Z] [ 91%] Linking C executable device-bitfields [2022-11-07T22:44:40.746Z] [ 91%] Built target device-bitfields [2022-11-07T22:44:41.017Z] [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2022-11-07T22:44:41.603Z] [ 94%] Linking C executable template-discovery [2022-11-07T22:44:41.603Z] [ 94%] Built target template-discovery [2022-11-07T22:44:41.873Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2022-11-07T22:44:42.144Z] [ 97%] Linking C executable device-file [2022-11-07T22:44:42.738Z] [ 97%] Built target device-file [2022-11-07T22:44:42.738Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2022-11-07T22:44:43.330Z] [100%] Linking C executable device-terminal [2022-11-07T22:44:43.602Z] [100%] Built target device-terminal [2022-11-07T22:44:43.602Z] make: Entering directory '/tmp/sdk/build/release' [2022-11-07T22:44:43.602Z] make[1]: Entering directory '/tmp/sdk/build/release' [2022-11-07T22:44:43.602Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-11-07T22:44:43.602Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-11-07T22:44:43.874Z] [ 76%] Built target csdk [2022-11-07T22:44:43.874Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-11-07T22:44:43.874Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-11-07T22:44:43.874Z] [ 79%] Built target template [2022-11-07T22:44:43.874Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-11-07T22:44:43.874Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-11-07T22:44:43.874Z] [ 82%] Built target device-counter [2022-11-07T22:44:43.874Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-11-07T22:44:43.874Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-11-07T22:44:43.874Z] [ 85%] Built target device-random [2022-11-07T22:44:43.874Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-11-07T22:44:43.874Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-11-07T22:44:43.874Z] [ 88%] Built target device-gyro [2022-11-07T22:44:43.874Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-11-07T22:44:44.148Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-11-07T22:44:44.148Z] [ 91%] Built target device-bitfields [2022-11-07T22:44:44.148Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-11-07T22:44:44.148Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-11-07T22:44:44.148Z] [ 94%] Built target template-discovery [2022-11-07T22:44:44.148Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-11-07T22:44:44.148Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-11-07T22:44:44.148Z] [ 97%] Built target device-file [2022-11-07T22:44:44.148Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-11-07T22:44:44.148Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-11-07T22:44:44.148Z] [100%] Built target device-terminal [2022-11-07T22:44:44.148Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2022-11-07T22:44:44.425Z] Install the project... [2022-11-07T22:44:44.425Z] -- Install configuration: "Release" [2022-11-07T22:44:44.425Z] -- Installing: /usr/local/lib/libcsdk.so [2022-11-07T22:44:44.425Z] -- Installing: /usr/local/include [2022-11-07T22:44:44.425Z] -- Installing: /usr/local/include/devsdk [2022-11-07T22:44:44.425Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2022-11-07T22:44:44.425Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2022-11-07T22:44:44.425Z] -- Installing: /usr/local/include/edgex [2022-11-07T22:44:44.425Z] -- Installing: /usr/local/include/edgex/rest-server.h [2022-11-07T22:44:44.425Z] -- Installing: /usr/local/include/edgex/edgex.h [2022-11-07T22:44:44.425Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2022-11-07T22:44:44.425Z] -- Installing: /usr/local/include/edgex/devices.h [2022-11-07T22:44:44.425Z] -- Installing: /usr/local/include/edgex/profiles.h [2022-11-07T22:44:44.425Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2022-11-07T22:44:44.425Z] -- Installing: /usr/local/include/iot [2022-11-07T22:44:44.425Z] -- Installing: /usr/local/include/iot/threadpool.h [2022-11-07T22:44:44.425Z] -- Installing: /usr/local/include/iot/defs.h [2022-11-07T22:44:44.425Z] -- Installing: /usr/local/include/iot/time.h [2022-11-07T22:44:44.425Z] -- Installing: /usr/local/include/iot/base64.h [2022-11-07T22:44:44.425Z] -- Installing: /usr/local/include/iot/component.h [2022-11-07T22:44:44.425Z] -- Installing: /usr/local/include/iot/scheduler.h [2022-11-07T22:44:44.425Z] -- Installing: /usr/local/include/iot/config.h [2022-11-07T22:44:44.425Z] -- Installing: /usr/local/include/iot/container.h [2022-11-07T22:44:44.425Z] -- Installing: /usr/local/include/iot/uuid.h [2022-11-07T22:44:44.425Z] -- Installing: /usr/local/include/iot/os.h [2022-11-07T22:44:44.425Z] -- Installing: /usr/local/include/iot/thread.h [2022-11-07T22:44:44.425Z] -- Installing: /usr/local/include/iot/data.h [2022-11-07T22:44:44.425Z] -- Installing: /usr/local/include/iot/typecode.h [2022-11-07T22:44:44.425Z] -- Installing: /usr/local/include/iot/hash.h [2022-11-07T22:44:44.425Z] -- Installing: /usr/local/include/iot/logger.h [2022-11-07T22:44:44.425Z] -- Installing: /usr/local/include/iot/os [2022-11-07T22:44:44.425Z] -- Installing: /usr/local/include/iot/os/zephyr.h [2022-11-07T22:44:44.425Z] -- Installing: /usr/local/include/iot/os/macos.h [2022-11-07T22:44:44.425Z] -- Installing: /usr/local/include/iot/os/linux.h [2022-11-07T22:44:44.425Z] -- Installing: /usr/local/include/iot/json.h [2022-11-07T22:44:44.425Z] -- Installing: /usr/local/include/iot/iot.h [2022-11-07T22:44:44.425Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2022-11-07T22:44:44.425Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2022-11-07T22:44:44.425Z] make: Leaving directory '/tmp/sdk/build/release' [2022-11-07T22:44:46.368Z] Removing intermediate container 64d93802bb93 [2022-11-07T22:44:46.368Z] ---> 3a993bca3ea4 [2022-11-07T22:44:46.368Z] Step 14/22 : FROM ${BASE} [2022-11-07T22:44:46.368Z] ---> 9a9802766715 [2022-11-07T22:44:46.368Z] Step 15/22 : LABEL maintainer="IOTech " [2022-11-07T22:44:46.368Z] ---> Running in a89c70a75532 [2022-11-07T22:44:46.636Z] Removing intermediate container a89c70a75532 [2022-11-07T22:44:46.636Z] ---> 7ebfea31a8c6 [2022-11-07T22:44:46.636Z] Step 16/22 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2022-11-07T22:44:46.636Z] ---> Running in 1233d6dcc3e9 [2022-11-07T22:44:47.596Z] Connecting to iotech.jfrog.io (34.241.102.131:443) [2022-11-07T22:44:47.861Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2022-11-07T22:44:47.861Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2022-11-07T22:44:47.861Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2022-11-07T22:44:48.825Z] Removing intermediate container 1233d6dcc3e9 [2022-11-07T22:44:48.825Z] ---> f9e4b124268d [2022-11-07T22:44:48.825Z] Step 17/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main' >> /etc/apk/repositories [2022-11-07T22:44:48.825Z] ---> Running in 1f0d2d2907a9 [2022-11-07T22:44:50.240Z] Removing intermediate container 1f0d2d2907a9 [2022-11-07T22:44:50.240Z] ---> efb9bdb29a81 [2022-11-07T22:44:50.240Z] Step 18/22 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml curl libmicrohttpd libuuid libcbor paho-mqtt-c-dev-1.3 hiredis-dev [2022-11-07T22:44:50.240Z] ---> Running in 19dddc851cfc [2022-11-07T22:44:51.215Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-11-07T22:44:51.800Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-11-07T22:44:52.383Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main/aarch64/APKINDEX.tar.gz [2022-11-07T22:44:53.341Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2022-11-07T22:44:53.341Z] (1/6) Installing curl (7.83.1-r4) [2022-11-07T22:44:53.341Z] (2/6) Installing hiredis (1.0.2-r0) [2022-11-07T22:44:53.341Z] (3/6) Installing hiredis-dev (1.0.2-r0) [2022-11-07T22:44:53.342Z] (4/6) Installing libcbor (0.9.0-r1) [2022-11-07T22:44:53.342Z] (5/6) Installing libuuid (2.38-r1) [2022-11-07T22:44:53.342Z] (6/6) Installing paho-mqtt-c-dev-1.3 (1.3.11-r0) [2022-11-07T22:44:54.300Z] Executing busybox-1.35.0-r17.trigger [2022-11-07T22:44:54.300Z] OK: 280 MiB in 82 packages [2022-11-07T22:44:55.262Z] Removing intermediate container 19dddc851cfc [2022-11-07T22:44:55.262Z] ---> 85cc2a5e27f6 [2022-11-07T22:44:55.262Z] Step 19/22 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot [2022-11-07T22:44:55.844Z] ---> 55c79aeb7e0c [2022-11-07T22:44:55.844Z] Step 20/22 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2022-11-07T22:44:56.428Z] ---> 584e1c98ffa0 [2022-11-07T22:44:56.428Z] Step 21/22 : COPY --from=builder /usr/local/lib /usr/local/lib [2022-11-07T22:44:57.013Z] ---> 08f2cc660c6c [2022-11-07T22:44:57.013Z] Step 22/22 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2022-11-07T22:44:57.596Z] ---> 6182b5f6bce6 [2022-11-07T22:44:57.596Z] Successfully built 6182b5f6bce6 [2022-11-07T22:44:57.596Z] 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 [2022-11-07T22:44:57.986Z] + docker inspect -f . ci-base-image-arm64 [2022-11-07T22:44:57.986Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-07T22:44:58.173Z] prd-ubuntu20.04-docker-arm64-4c-16g-118526 does not seem to be running inside a container [2022-11-07T22:44:58.239Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/35 -v /w/workspace/device-sdk-c/35:/w/workspace/device-sdk-c/35:rw,z -v /w/workspace/device-sdk-c/35@tmp:/w/workspace/device-sdk-c/35@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 ******** ci-base-image-arm64 cat [2022-11-07T22:44:59.470Z] $ docker top c4a331e5715011e2d40e21ff0e2fd4c36edb82156e8a983c244de943d63db95d -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-07T22:45:00.306Z] + make test [2022-11-07T22:45:00.306Z] echo "make test" [2022-11-07T22:45:00.306Z] make test [Pipeline] } [2022-11-07T22:45:00.323Z] $ docker stop --time=1 c4a331e5715011e2d40e21ff0e2fd4c36edb82156e8a983c244de943d63db95d [2022-11-07T22:45:01.981Z] $ docker rm -f c4a331e5715011e2d40e21ff0e2fd4c36edb82156e8a983c244de943d63db95d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-11-07T22:45:02.496Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-11-07T22:45:02.810Z] + ls -al . [2022-11-07T22:45:02.811Z] total 204 [2022-11-07T22:45:02.811Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 7 22:41 . [2022-11-07T22:45:02.811Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 7 22:41 .. [2022-11-07T22:45:02.811Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 7 22:42 .git [2022-11-07T22:45:02.811Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 7 22:41 .github [2022-11-07T22:45:02.811Z] -rw-rw-r-- 1 jenkins jenkins 176 Nov 7 22:41 .gitignore [2022-11-07T22:45:02.811Z] -rw-rw-r-- 1 jenkins jenkins 3104 Nov 7 22:41 Attribution.txt [2022-11-07T22:45:02.811Z] -rw-rw-r-- 1 jenkins jenkins 8583 Nov 7 22:41 CHANGES [2022-11-07T22:45:02.811Z] -rw-rw-r-- 1 jenkins jenkins 108574 Nov 7 22:41 Doxyfile [2022-11-07T22:45:02.811Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 7 22:41 GOVERNANCE.md [2022-11-07T22:45:02.811Z] -rw-rw-r-- 1 jenkins jenkins 784 Nov 7 22:41 Jenkinsfile [2022-11-07T22:45:02.811Z] -rw-rw-r-- 1 jenkins jenkins 10174 Nov 7 22:41 LICENSE [2022-11-07T22:45:02.811Z] -rw-rw-r-- 1 jenkins jenkins 444 Nov 7 22:41 Makefile [2022-11-07T22:45:02.811Z] -rw-rw-r-- 1 jenkins jenkins 618 Nov 7 22:41 OWNERS.md [2022-11-07T22:45:02.811Z] -rw-rw-r-- 1 jenkins jenkins 4086 Nov 7 22:41 README.md [2022-11-07T22:45:02.811Z] -rw-rw-r-- 1 jenkins jenkins 7422 Nov 7 22:41 README.v2.md [2022-11-07T22:45:02.811Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 7 22:39 VERSION [2022-11-07T22:45:02.811Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 7 22:41 docs [2022-11-07T22:45:02.811Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 7 22:41 include [2022-11-07T22:45:02.811Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 7 22:41 scripts [2022-11-07T22:45:02.811Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 7 22:41 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-07T22:45:03.153Z] + 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=508af3997b99b63bbc6444d3a4c84739e7448765 --label arch=arm64 --label version=2.3.0 . [2022-11-07T22:45:03.421Z] Sending build context to Docker daemon 2.808MB [2022-11-07T22:45:03.421Z] Step 1/17 : ARG BASE=alpine:3.15 [2022-11-07T22:45:03.421Z] Step 2/17 : FROM ${BASE} [2022-11-07T22:45:03.421Z] ---> 6182b5f6bce6 [2022-11-07T22:45:03.421Z] Step 3/17 : LABEL maintainer="IOTech " [2022-11-07T22:45:03.689Z] ---> Running in 05359b28a96b [2022-11-07T22:45:03.967Z] Removing intermediate container 05359b28a96b [2022-11-07T22:45:03.967Z] ---> 882c4f789991 [2022-11-07T22:45:03.967Z] 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 [2022-11-07T22:45:03.967Z] ---> Running in 571c489e5c39 [2022-11-07T22:45:04.928Z] Connecting to iotech.jfrog.io (34.250.226.139:443) [2022-11-07T22:45:05.510Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2022-11-07T22:45:05.510Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2022-11-07T22:45:05.510Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2022-11-07T22:45:06.106Z] Removing intermediate container 571c489e5c39 [2022-11-07T22:45:06.106Z] ---> 8483ab12dddd [2022-11-07T22:45:06.106Z] Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main' >> /etc/apk/repositories [2022-11-07T22:45:06.106Z] ---> Running in 7204b78e928d [2022-11-07T22:45:08.059Z] Removing intermediate container 7204b78e928d [2022-11-07T22:45:08.059Z] ---> 37818cc9933a [2022-11-07T22:45:08.059Z] 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 && mkdir -p /edgex-c-sdk/build [2022-11-07T22:45:08.059Z] ---> Running in e9585622500a [2022-11-07T22:45:09.021Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-11-07T22:45:09.287Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-11-07T22:45:09.870Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main/aarch64/APKINDEX.tar.gz [2022-11-07T22:45:10.837Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2022-11-07T22:45:10.837Z] (1/7) Installing libcbor-dev (0.9.0-r1) [2022-11-07T22:45:10.837Z] (2/7) Installing ncurses-dev (6.3_p20220521-r0) [2022-11-07T22:45:10.837Z] (3/7) Installing libblkid (2.38-r1) [2022-11-07T22:45:10.837Z] (4/7) Installing libfdisk (2.38-r1) [2022-11-07T22:45:10.837Z] (5/7) Installing libmount (2.38-r1) [2022-11-07T22:45:10.837Z] (6/7) Installing libsmartcols (2.38-r1) [2022-11-07T22:45:10.837Z] (7/7) Installing util-linux-dev (2.38-r1) [2022-11-07T22:45:10.837Z] Executing busybox-1.35.0-r17.trigger [2022-11-07T22:45:10.837Z] OK: 285 MiB in 89 packages [2022-11-07T22:45:12.263Z] Removing intermediate container e9585622500a [2022-11-07T22:45:12.263Z] ---> 5b0ff7f4182f [2022-11-07T22:45:12.263Z] Step 7/17 : COPY VERSION /edgex-c-sdk/ [2022-11-07T22:45:12.532Z] ---> d47431f5acac [2022-11-07T22:45:12.532Z] Step 8/17 : COPY src /edgex-c-sdk/src/ [2022-11-07T22:45:13.495Z] ---> b31d2425010d [2022-11-07T22:45:13.495Z] Step 9/17 : COPY include /edgex-c-sdk/include/ [2022-11-07T22:45:14.081Z] ---> 961d949e44db [2022-11-07T22:45:14.081Z] Step 10/17 : COPY scripts /edgex-c-sdk/scripts [2022-11-07T22:45:14.350Z] ---> 708528da5be2 [2022-11-07T22:45:14.350Z] Step 11/17 : COPY LICENSE /edgex-c-sdk/ [2022-11-07T22:45:14.933Z] ---> 6ad8cf92d296 [2022-11-07T22:45:14.933Z] Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ [2022-11-07T22:45:15.517Z] ---> 4412211d3708 [2022-11-07T22:45:15.517Z] Step 13/17 : WORKDIR /edgex-c-sdk [2022-11-07T22:45:15.517Z] ---> Running in c7f2bc0999c7 [2022-11-07T22:45:15.788Z] Removing intermediate container c7f2bc0999c7 [2022-11-07T22:45:15.788Z] ---> 0b8e0bd2485d [2022-11-07T22:45:15.788Z] Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2022-11-07T22:45:16.062Z] ---> Running in ad94bbb00b51 [2022-11-07T22:45:16.330Z] Removing intermediate container ad94bbb00b51 [2022-11-07T22:45:16.330Z] ---> 5399ad748d98 [2022-11-07T22:45:16.330Z] Step 15/17 : LABEL arch=arm64 [2022-11-07T22:45:16.330Z] ---> Running in 7cac31c9f537 [2022-11-07T22:45:16.597Z] Removing intermediate container 7cac31c9f537 [2022-11-07T22:45:16.597Z] ---> e569666e015c [2022-11-07T22:45:16.597Z] Step 16/17 : LABEL git_sha=508af3997b99b63bbc6444d3a4c84739e7448765 [2022-11-07T22:45:16.866Z] ---> Running in b52333c704ec [2022-11-07T22:45:17.135Z] Removing intermediate container b52333c704ec [2022-11-07T22:45:17.135Z] ---> 7fe2852b2480 [2022-11-07T22:45:17.135Z] Step 17/17 : LABEL version=2.3.0 [2022-11-07T22:45:17.135Z] ---> Running in 1daf01081db8 [2022-11-07T22:45:17.402Z] Removing intermediate container 1daf01081db8 [2022-11-07T22:45:17.402Z] ---> 5f071ed50acd [2022-11-07T22:45:17.402Z] [Warning] One or more build-args [MAKE ARCH] were not consumed [2022-11-07T22:45:17.402Z] Successfully built 5f071ed50acd [2022-11-07T22:45:17.402Z] 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 [2022-11-07T22:45:17.830Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-11-07T22:45:17.830Z] [2022-11-07T22:45:17.830Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-07T22:45:18.164Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-11-07T22:45:18.164Z] arm64: Pulling from edgex-lftools-log-publisher [2022-11-07T22:45:18.164Z] 8998bd30e6a1: Pulling fs layer [2022-11-07T22:45:18.164Z] 04944245beec: Pulling fs layer [2022-11-07T22:45:18.164Z] 699f458cf7ca: Pulling fs layer [2022-11-07T22:45:18.164Z] 765212b225bb: Pulling fs layer [2022-11-07T22:45:18.164Z] f23df028b6ca: Pulling fs layer [2022-11-07T22:45:18.164Z] d65c8cfc05b1: Pulling fs layer [2022-11-07T22:45:18.164Z] 2437ff75d9bd: Pulling fs layer [2022-11-07T22:45:18.452Z] f23df028b6ca: Waiting [2022-11-07T22:45:18.452Z] d65c8cfc05b1: Waiting [2022-11-07T22:45:18.452Z] 765212b225bb: Waiting [2022-11-07T22:45:18.452Z] 2437ff75d9bd: Waiting [2022-11-07T22:45:18.452Z] 04944245beec: Verifying Checksum [2022-11-07T22:45:18.452Z] 04944245beec: Download complete [2022-11-07T22:45:18.452Z] 765212b225bb: Verifying Checksum [2022-11-07T22:45:18.452Z] 765212b225bb: Download complete [2022-11-07T22:45:18.452Z] f23df028b6ca: Verifying Checksum [2022-11-07T22:45:18.452Z] f23df028b6ca: Download complete [2022-11-07T22:45:18.452Z] d65c8cfc05b1: Verifying Checksum [2022-11-07T22:45:18.452Z] d65c8cfc05b1: Download complete [2022-11-07T22:45:18.719Z] 699f458cf7ca: Verifying Checksum [2022-11-07T22:45:18.719Z] 699f458cf7ca: Download complete [2022-11-07T22:45:18.987Z] 8998bd30e6a1: Download complete [2022-11-07T22:45:21.781Z] 2437ff75d9bd: Verifying Checksum [2022-11-07T22:45:21.781Z] 2437ff75d9bd: Download complete [2022-11-07T22:45:23.190Z] 8998bd30e6a1: Pull complete [2022-11-07T22:45:23.457Z] 04944245beec: Pull complete [2022-11-07T22:45:24.863Z] 699f458cf7ca: Pull complete [2022-11-07T22:45:25.130Z] 765212b225bb: Pull complete [2022-11-07T22:45:25.713Z] f23df028b6ca: Pull complete [2022-11-07T22:45:25.982Z] d65c8cfc05b1: Pull complete [2022-11-07T22:45:40.979Z] 2437ff75d9bd: Pull complete [2022-11-07T22:45:40.979Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-11-07T22:45:40.979Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-11-07T22:45:40.979Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-07T22:45:41.173Z] prd-ubuntu20.04-docker-arm64-4c-16g-118526 does not seem to be running inside a container [2022-11-07T22:45:41.240Z] $ 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/35 -v /w/workspace/device-sdk-c/35:/w/workspace/device-sdk-c/35:rw,z -v /w/workspace/device-sdk-c/35@tmp:/w/workspace/device-sdk-c/35@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-11-07T22:45:43.922Z] $ docker top a4a62dcffa7450bffa623f2d0e3572a862821d9e4fbc0d694aff2827d2fcb939 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-07T22:45:44.809Z] ---> job-cost.sh [2022-11-07T22:45:44.809Z] lf-activate-venv: SKIPPING [2022-11-07T22:45:44.809Z] INFO: No Stack... [2022-11-07T22:45:45.075Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-11-07T22:45:46.045Z] INFO: Archiving Costs [Pipeline] sh [2022-11-07T22:45:46.687Z] + cat /w/workspace/device-sdk-c/35/archives/cost.csv [2022-11-07T22:45:46.687Z] + cut -d, -f6 [Pipeline] lock [2022-11-07T22:45:46.761Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-main-35-stack-cost] [2022-11-07T22:45:46.769Z] Resource [jenkins-edgexfoundry-device-sdk-c-main-35-stack-cost] did not exist. Created. [2022-11-07T22:45:46.769Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-main-35-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-11-07T22:45:47.442Z] /w/workspace/device-sdk-c/35@tmp/durable-cafab819/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-11-07T22:45:48.102Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-11-07T22:45:48.119Z] Warning: overwriting stash ‘stack-cost’ [2022-11-07T22:45:48.592Z] Stashed 1 file(s) [Pipeline] } [2022-11-07T22:45:48.599Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-main-35-stack-cost] [Pipeline] // lock [Pipeline] } [2022-11-07T22:45:48.619Z] $ docker stop --time=1 a4a62dcffa7450bffa623f2d0e3572a862821d9e4fbc0d694aff2827d2fcb939 [2022-11-07T22:45:50.185Z] $ docker rm -f a4a62dcffa7450bffa623f2d0e3572a862821d9e4fbc0d694aff2827d2fcb939 [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) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] unstash [Pipeline] sh [2022-11-07T22:45:50.808Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-11-07T22:45:50.808Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-07T22:45:51.105Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-11-07T22:45:51.105Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-07T22:45:52.446Z] prd-ubuntu20.04-docker-8c-8g-118523 does not seem to be running inside a container [2022-11-07T22:45:52.480Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-11-07T22:45:52.861Z] $ docker top 6649dfe46875e7a37c269d1d5ef6b66ba812e07eb6ab903044fc1ba62d2ab824 -eo pid,comm [2022-11-07T22:45:52.908Z] 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). [2022-11-07T22:45:52.908Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-11-07T22:45:52.933Z] [edgeXSemver]: ignoring command tag because GITSEMVER_HEAD_TAG is already set to 'v2.2.1-dev.3|v2.3.0' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-11-07T22:45:53.233Z] + git semver [Pipeline] } [2022-11-07T22:45:53.503Z] $ docker stop --time=1 6649dfe46875e7a37c269d1d5ef6b66ba812e07eb6ab903044fc1ba62d2ab824 [2022-11-07T22:45:54.858Z] $ docker rm -f 6649dfe46875e7a37c269d1d5ef6b66ba812e07eb6ab903044fc1ba62d2ab824 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-07T22:45:55.272Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-11-07T22:45:55.272Z] [2022-11-07T22:45:55.272Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-07T22:45:55.573Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-11-07T22:45:55.836Z] 0.23.1-centos7: Pulling from edgex-lftools [2022-11-07T22:45:55.836Z] ab5ef0e58194: Pulling fs layer [2022-11-07T22:45:55.836Z] 9712f1f96733: Pulling fs layer [2022-11-07T22:45:55.836Z] 63f879dbbcfc: Pulling fs layer [2022-11-07T22:45:55.836Z] 0d9ebad4ef96: Pulling fs layer [2022-11-07T22:45:55.836Z] e9a5061849ea: Pulling fs layer [2022-11-07T22:45:55.836Z] 0d9ebad4ef96: Waiting [2022-11-07T22:45:55.836Z] d747dcd14b5f: Pulling fs layer [2022-11-07T22:45:55.836Z] 2de7ff778b66: Pulling fs layer [2022-11-07T22:45:55.836Z] d747dcd14b5f: Waiting [2022-11-07T22:45:55.836Z] e9a5061849ea: Waiting [2022-11-07T22:45:55.836Z] 2de7ff778b66: Waiting [2022-11-07T22:45:55.836Z] 9712f1f96733: Verifying Checksum [2022-11-07T22:45:55.836Z] 9712f1f96733: Download complete [2022-11-07T22:45:56.097Z] 63f879dbbcfc: Verifying Checksum [2022-11-07T22:45:56.097Z] 63f879dbbcfc: Download complete [2022-11-07T22:45:56.355Z] 0d9ebad4ef96: Verifying Checksum [2022-11-07T22:45:56.355Z] 0d9ebad4ef96: Download complete [2022-11-07T22:45:56.355Z] d747dcd14b5f: Download complete [2022-11-07T22:45:56.355Z] e9a5061849ea: Verifying Checksum [2022-11-07T22:45:56.355Z] e9a5061849ea: Download complete [2022-11-07T22:45:56.355Z] ab5ef0e58194: Verifying Checksum [2022-11-07T22:45:56.355Z] ab5ef0e58194: Download complete [2022-11-07T22:45:56.355Z] 2de7ff778b66: Verifying Checksum [2022-11-07T22:45:56.355Z] 2de7ff778b66: Download complete [2022-11-07T22:45:58.879Z] ab5ef0e58194: Pull complete [2022-11-07T22:45:59.137Z] 9712f1f96733: Pull complete [2022-11-07T22:45:59.703Z] 63f879dbbcfc: Pull complete [2022-11-07T22:46:03.892Z] 0d9ebad4ef96: Pull complete [2022-11-07T22:46:04.460Z] e9a5061849ea: Pull complete [2022-11-07T22:46:04.460Z] d747dcd14b5f: Pull complete [2022-11-07T22:46:05.398Z] 2de7ff778b66: Pull complete [2022-11-07T22:46:05.398Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2022-11-07T22:46:05.398Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-11-07T22:46:05.398Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-07T22:46:05.478Z] prd-ubuntu20.04-docker-8c-8g-118523 does not seem to be running inside a container [2022-11-07T22:46:05.506Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2022-11-07T22:46:07.983Z] $ docker top 7732cb244595c373f07d040bd01ca3ad13e78de2a91e7331fabfe2cae762be18 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2022-11-07T22:46:08.045Z] provisioning config files... [2022-11-07T22:46:08.052Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config9790166955949630540tmp [2022-11-07T22:46:08.061Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config12788030264012854831tmp [2022-11-07T22:46:08.071Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config2624085729500298258tmp [Pipeline] { [Pipeline] echo [2022-11-07T22:46:08.084Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-07T22:46:08.365Z] ---> sigul-configuration.sh [2022-11-07T22:46:08.366Z] gpg: directory `/root/.gnupg' created [2022-11-07T22:46:08.366Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2022-11-07T22:46:08.366Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2022-11-07T22:46:08.366Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2022-11-07T22:46:08.366Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2022-11-07T22:46:08.366Z] gpg: CAST5 encrypted data [2022-11-07T22:46:08.366Z] gpg: encrypted with 1 passphrase [2022-11-07T22:46:08.366Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2022-11-07T22:46:08.654Z] + mkdir /home/jenkins [2022-11-07T22:46:08.654Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2022-11-07T22:46:08.938Z] + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo [2022-11-07T22:46:08.946Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-07T22:46:09.227Z] ---> sigul-install.sh [2022-11-07T22:46:09.227Z] Sigul already installed; skipping installation. [Pipeline] sh [2022-11-07T22:46:09.511Z] + git tag --list [2022-11-07T22:46:09.511Z] 0.7.0 [2022-11-07T22:46:09.511Z] 0.7.1 [2022-11-07T22:46:09.511Z] 1.0.0 [2022-11-07T22:46:09.511Z] v1.0.1 [2022-11-07T22:46:09.511Z] v1.0.2 [2022-11-07T22:46:09.511Z] v1.0.3 [2022-11-07T22:46:09.511Z] v1.1.0 [2022-11-07T22:46:09.511Z] v1.1.1 [2022-11-07T22:46:09.511Z] v1.2.0 [2022-11-07T22:46:09.511Z] v1.2.1 [2022-11-07T22:46:09.511Z] v1.2.2 [2022-11-07T22:46:09.511Z] v1.3.0 [2022-11-07T22:46:09.511Z] v1.3.1 [2022-11-07T22:46:09.511Z] v2.0.0 [2022-11-07T22:46:09.511Z] v2.1.0 [2022-11-07T22:46:09.511Z] v2.2.0 [2022-11-07T22:46:09.511Z] v2.2.0-dev.1 [2022-11-07T22:46:09.511Z] v2.2.0-dev.10 [2022-11-07T22:46:09.511Z] v2.2.0-dev.11 [2022-11-07T22:46:09.511Z] v2.2.0-dev.12 [2022-11-07T22:46:09.511Z] v2.2.0-dev.13 [2022-11-07T22:46:09.511Z] v2.2.0-dev.2 [2022-11-07T22:46:09.511Z] v2.2.0-dev.3 [2022-11-07T22:46:09.511Z] v2.2.0-dev.4 [2022-11-07T22:46:09.511Z] v2.2.0-dev.5 [2022-11-07T22:46:09.511Z] v2.2.0-dev.6 [2022-11-07T22:46:09.511Z] v2.2.0-dev.7 [2022-11-07T22:46:09.511Z] v2.2.0-dev.8 [2022-11-07T22:46:09.511Z] v2.2.0-dev.9 [2022-11-07T22:46:09.511Z] v2.2.1-dev.1 [2022-11-07T22:46:09.511Z] v2.2.1-dev.2 [2022-11-07T22:46:09.511Z] v2.2.1-dev.3 [2022-11-07T22:46:09.511Z] v2.3.0 [Pipeline] sh [2022-11-07T22:46:09.796Z] + lftools sign git-tag v2.3.0 [2022-11-07T22:46:10.364Z] Signing Git tag with Sigul... [2022-11-07T22:46:10.364Z] Signing v2.3.0 [Pipeline] echo [2022-11-07T22:46:10.633Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-07T22:46:10.920Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2022-11-07T22:46:10.927Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2022-11-07T22:46:10.945Z] $ docker stop --time=1 7732cb244595c373f07d040bd01ca3ad13e78de2a91e7331fabfe2cae762be18 [2022-11-07T22:46:12.251Z] $ docker rm -f 7732cb244595c373f07d040bd01ca3ad13e78de2a91e7331fabfe2cae762be18 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2022-11-07T22:46:12.629Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-11-07T22:46:12.629Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-07T22:46:12.927Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-11-07T22:46:12.927Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-07T22:46:12.989Z] prd-ubuntu20.04-docker-8c-8g-118523 does not seem to be running inside a container [2022-11-07T22:46:13.018Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-11-07T22:46:13.401Z] $ docker top 8d219be39c2245a6f672cc3a8e6ce7f13aba7602a436a453795380a6f680c701 -eo pid,comm [2022-11-07T22:46:13.453Z] 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). [2022-11-07T22:46:13.453Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-11-07T22:46:13.484Z] [edgeXSemver]: ignoring command bump pre because GITSEMVER_HEAD_TAG is already set to 'v2.2.1-dev.3|v2.3.0' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-11-07T22:46:13.774Z] + git semver [Pipeline] } [2022-11-07T22:46:14.045Z] $ docker stop --time=1 8d219be39c2245a6f672cc3a8e6ce7f13aba7602a436a453795380a6f680c701 [2022-11-07T22:46:15.349Z] $ docker rm -f 8d219be39c2245a6f672cc3a8e6ce7f13aba7602a436a453795380a6f680c701 [Pipeline] // withDockerContainer [Pipeline] sh [2022-11-07T22:46:15.682Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-11-07T22:46:15.682Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-07T22:46:15.972Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-11-07T22:46:15.973Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-07T22:46:16.036Z] prd-ubuntu20.04-docker-8c-8g-118523 does not seem to be running inside a container [2022-11-07T22:46:16.066Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-11-07T22:46:16.419Z] $ docker top 6fea3270d11c168a6faf9f41c950aedade9e335568c553f3e04ba5c567c27dfb -eo pid,comm [2022-11-07T22:46:16.460Z] 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). [2022-11-07T22:46:16.460Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-11-07T22:46:16.481Z] [edgeXSemver]: ignoring command push because GITSEMVER_HEAD_TAG is already set to 'v2.2.1-dev.3|v2.3.0' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-11-07T22:46:16.765Z] + git semver [Pipeline] } [2022-11-07T22:46:17.035Z] $ docker stop --time=1 6fea3270d11c168a6faf9f41c950aedade9e335568c553f3e04ba5c567c27dfb [2022-11-07T22:46:18.387Z] $ docker rm -f 6fea3270d11c168a6faf9f41c950aedade9e335568c553f3e04ba5c567c27dfb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2022-11-07T22:46:18.866Z] + [ -d /w/workspace/edgexfoundry_device-sdk-c_main/archives ] [2022-11-07T22:46:18.866Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_main/archives [2022-11-07T22:46:18.866Z] total 16 [2022-11-07T22:46:18.866Z] drwxr-xr-x 3 root root 4096 Nov 7 22:40 . [2022-11-07T22:46:18.866Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 7 22:46 .. [2022-11-07T22:46:18.866Z] drwxr-xr-x 2 root root 4096 Nov 7 22:40 cost [2022-11-07T22:46:18.866Z] -rw-r--r-- 1 root root 83 Nov 7 22:40 cost.csv [2022-11-07T22:46:18.866Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_main/archives [2022-11-07T22:46:18.866Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_main/archives [2022-11-07T22:46:18.866Z] total 16 [2022-11-07T22:46:18.866Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 7 22:40 . [2022-11-07T22:46:18.866Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 7 22:46 .. [2022-11-07T22:46:18.866Z] drwxr-xr-x 2 jenkins jenkins 4096 Nov 7 22:40 cost [2022-11-07T22:46:18.866Z] -rw-r--r-- 1 jenkins jenkins 83 Nov 7 22:40 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-11-07T22:46:19.153Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-07T22:46:20.006Z] ---> package-listing.sh [2022-11-07T22:46:20.006Z] ++ facter osfamily [2022-11-07T22:46:20.006Z] ++ tr '[:upper:]' '[:lower:]' [2022-11-07T22:46:20.264Z] + OS_FAMILY=debian [2022-11-07T22:46:20.264Z] + workspace=/w/workspace/edgexfoundry_device-sdk-c_main [2022-11-07T22:46:20.264Z] + START_PACKAGES=/tmp/packages_start.txt [2022-11-07T22:46:20.264Z] + END_PACKAGES=/tmp/packages_end.txt [2022-11-07T22:46:20.264Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-11-07T22:46:20.264Z] + PACKAGES=/tmp/packages_start.txt [2022-11-07T22:46:20.264Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_main ']' [2022-11-07T22:46:20.264Z] + PACKAGES=/tmp/packages_end.txt [2022-11-07T22:46:20.264Z] + case "${OS_FAMILY}" in [2022-11-07T22:46:20.264Z] + dpkg -l [2022-11-07T22:46:20.264Z] + grep '^ii' [2022-11-07T22:46:20.264Z] + '[' -f /tmp/packages_start.txt ']' [2022-11-07T22:46:20.264Z] + '[' -f /tmp/packages_end.txt ']' [2022-11-07T22:46:20.264Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-11-07T22:46:20.264Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_main ']' [2022-11-07T22:46:20.264Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_main/archives/ [2022-11-07T22:46:20.264Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_main/archives/ [Pipeline] echo [2022-11-07T22:46:20.275Z] 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_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-11-07T22:46:20.549Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-07T22:46:21.108Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-11-07T22:46:21.108Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-07T22:46:21.167Z] prd-ubuntu20.04-docker-8c-8g-118523 does not seem to be running inside a container [2022-11-07T22:46:21.196Z] $ 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_main/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_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-11-07T22:46:21.421Z] $ docker top 89826f6b9acae01740142ddeb49d3eab2a6d4a2e2b1930290602dd20e0360361 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-07T22:46:21.760Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-11-07T22:46:22.040Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-11-07T22:46:22.320Z] + ls /var/log/sa-host [2022-11-07T22:46:22.321Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-11-07T22:46:22.390Z] provisioning config files... [2022-11-07T22:46:22.403Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config4835890855530518982tmp [Pipeline] { [Pipeline] echo [2022-11-07T22:46:22.418Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-07T22:46:22.698Z] ---> create-netrc.sh [Pipeline] } [2022-11-07T22:46:22.704Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-11-07T22:46:23.038Z] ---> python-tools-install.sh [Pipeline] echo [2022-11-07T22:46:23.047Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-07T22:46:23.328Z] ---> sudo-logs.sh [2022-11-07T22:46:23.328Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-11-07T22:46:23.348Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-07T22:46:23.630Z] ---> job-cost.sh [2022-11-07T22:46:23.631Z] lf-activate-venv: SKIPPING [2022-11-07T22:46:23.631Z] DEBUG: total: 0.2199999988079071 [2022-11-07T22:46:23.631Z] INFO: Retrieving Stack Cost... [2022-11-07T22:46:23.890Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-11-07T22:46:24.457Z] INFO: Archiving Costs [Pipeline] echo [2022-11-07T22:46:24.467Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-07T22:46:24.749Z] ---> logs-deploy.sh [2022-11-07T22:46:24.750Z] lf-activate-venv: SKIPPING [2022-11-07T22:46:24.750Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/main/35 [2022-11-07T22:46:24.750Z] INFO: archiving workspace using pattern(s): [2022-11-07T22:46:25.688Z] Archives upload complete. [2022-11-07T22:46:25.688Z] INFO: archiving logs to Nexus