Pull request #427 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of iain-anderson for edgexfoundry/device-sdk-c Obtained Jenkinsfile from 95f264ea296da9579d75e464e42e3355eeaaa3c8+3414d0279792f3e48f3ae73a80499089b78126ca (0a2dd0bbe31963f9bd39ac5204bb6d8246b9586a) 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-ssh12757126860719389896.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2c432abcf2d142718d3fe157e81a44428d9b823e 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-ssh14743759079456487514.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 2c432abcf2d142718d3fe157e81a44428d9b823e The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-427/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-427/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9463093666757239544.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-427/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6159952037082067303.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2c432abcf2d142718d3fe157e81a44428d9b823e (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2c432abcf2d142718d3fe157e81a44428d9b823e # timeout=10 Commit message: "Merge pull request #406 from ernestojeda/go.18-debug" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh14746071776031734657.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 0f180ed1236c637af8c254f95ad106931cc77145 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-427/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-427/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh14783408002777251065.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 0f180ed1236c637af8c254f95ad106931cc77145 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 0f180ed1236c637af8c254f95ad106931cc77145 # timeout=10 Commit message: "Feat: Add initial docker pipelines" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 2c432abcf2d142718d3fe157e81a44428d9b823e 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-20592 in /w/workspace/edgexfoundry_device-sdk-c_PR-427 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-c.git > git init /w/workspace/edgexfoundry_device-sdk-c_PR-427 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 3414d0279792f3e48f3ae73a80499089b78126ca into PR head commit 95f264ea296da9579d75e464e42e3355eeaaa3c8 Merge succeeded, producing 95f264ea296da9579d75e464e42e3355eeaaa3c8 Checking out Revision 95f264ea296da9579d75e464e42e3355eeaaa3c8 (PR-427) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/427/head:refs/remotes/origin/PR-427 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 95f264ea296da9579d75e464e42e3355eeaaa3c8 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 3414d0279792f3e48f3ae73a80499089b78126ca # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 95f264ea296da9579d75e464e42e3355eeaaa3c8 # timeout=10 Commit message: "feat: renew vault tokens before they expire" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 2c432abcf2d142718d3fe157e81a44428d9b823e [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 13:16:11 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 13:16:11 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 13:16:11 ========================================================= 13:16:11 EdgeX Global Pipelines Version Info 13:16:11 ========================================================= [Pipeline] libraryResource [Pipeline] sh 13:16:12 ------------------- 13:16:12 stable info: 13:16:12 ------------------- 13:16:12 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 13:16:12 Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e 13:16:12 Message: update stable to v1.0.238 13:16:12 ------------------- 13:16:12 experimental info: 13:16:12 ------------------- 13:16:12 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 13:16:12 Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e 13:16:12 Message: update experimental to v1.0.238 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 13:16:13 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo 13:16:13 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo 13:16:13 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 13:16:13 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 13:16:13 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 13:16:13 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo 13:16:13 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo 13:16:13 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 13:16:13 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 13:16:13 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo 13:16:13 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 13:16:13 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 13:16:13 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 13:16:13 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 13:16:13 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 13:16:13 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 13:16:13 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 13:16:13 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-427 [Pipeline] echo 13:16:13 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-427 [Pipeline] echo 13:16:13 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-427 [Pipeline] echo 13:16:13 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 95f264ea296da9579d75e464e42e3355eeaaa3c8 [Pipeline] echo 13:16:13 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 95f264e [Pipeline] echo 13:16:13 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:16:14 provisioning config files... 13:16:14 copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-427@tmp/config7307242807769877458tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:16:14 ---> docker-login.sh 13:16:14 nexus3.edgexfoundry.org:10001 13:16:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:16:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:16:14 Configure a credential helper to remove this warning. See 13:16:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:16:14 13:16:14 Login Succeeded 13:16:14 nexus3.edgexfoundry.org:10002 13:16:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:16:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:16:14 Configure a credential helper to remove this warning. See 13:16:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:16:14 13:16:14 Login Succeeded 13:16:14 nexus3.edgexfoundry.org:10003 13:16:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:16:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:16:15 Configure a credential helper to remove this warning. See 13:16:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:16:15 13:16:15 Login Succeeded 13:16:15 nexus3.edgexfoundry.org:10004 13:16:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:16:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:16:15 Configure a credential helper to remove this warning. See 13:16:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:16:15 13:16:15 Login Succeeded 13:16:15 docker.io 13:16:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:16:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:16:15 Configure a credential helper to remove this warning. See 13:16:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:16:15 13:16:15 Login Succeeded 13:16:15 ---> docker-login.sh ends [Pipeline] } 13:16:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build LTS Release Image) [Pipeline] sh 13:16:16 + git rev-list -1 --merges 95f264ea296da9579d75e464e42e3355eeaaa3c8~1..95f264ea296da9579d75e464e42e3355eeaaa3c8 [Pipeline] echo 13:16:16 -----------> git rev-list -1 --merges 95f264ea296da9579d75e464e42e3355eeaaa3c8~1..95f264ea296da9579d75e464e42e3355eeaaa3c8 95f264ea296da9579d75e464e42e3355eeaaa3c8 [false] [Pipeline] sh 13:16:16 + git log --format=format:%s -1 95f264ea296da9579d75e464e42e3355eeaaa3c8 [Pipeline] echo 13:16:16 ========================================================= 13:16:16 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 13:16:16 ========================================================= 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 13:16:17 + git rev-list -1 --merges 95f264ea296da9579d75e464e42e3355eeaaa3c8~1..95f264ea296da9579d75e464e42e3355eeaaa3c8 [Pipeline] echo 13:16:17 -----------> git rev-list -1 --merges 95f264ea296da9579d75e464e42e3355eeaaa3c8~1..95f264ea296da9579d75e464e42e3355eeaaa3c8 95f264ea296da9579d75e464e42e3355eeaaa3c8 [false] [Pipeline] sh 13:16:17 + git log --format=format:%s -1 95f264ea296da9579d75e464e42e3355eeaaa3c8 [Pipeline] echo 13:16:18 ========================================================= 13:16:18 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 13:16:18 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh 13:16:18 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 13:16:18 + grep -v github /etc/ssh/ssh_known_hosts 13:16:18 + [ -e /tmp/ssh_known_hosts ] 13:16:18 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 13:16:18 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 13:16:18 + sudo tee -a /etc/ssh/ssh_known_hosts 13:16:18 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:16:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 13:16:18 13:16:18 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:16:19 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 13:16:19 0.1.4: Pulling from edgex-devops/py-git-semver 13:16:19 b85a868b505f: Pulling fs layer 13:16:19 e2be974225ed: Pulling fs layer 13:16:19 339a4e72a1f5: Pulling fs layer 13:16:19 988bab9f4d93: Pulling fs layer 13:16:19 1469e6f7b9e6: Pulling fs layer 13:16:19 988bab9f4d93: Waiting 13:16:19 eaf3925da568: Pulling fs layer 13:16:19 bab4dde63d76: Pulling fs layer 13:16:19 eaf3925da568: Waiting 13:16:19 bde34c3a00c8: Pulling fs layer 13:16:19 b352a97aabf1: Pulling fs layer 13:16:19 4872d77fe225: Pulling fs layer 13:16:19 5851b861e8e6: Pulling fs layer 13:16:19 bab4dde63d76: Waiting 13:16:19 bde34c3a00c8: Waiting 13:16:19 b352a97aabf1: Waiting 13:16:19 4872d77fe225: Waiting 13:16:19 5851b861e8e6: Waiting 13:16:19 e2be974225ed: Download complete 13:16:19 988bab9f4d93: Download complete 13:16:19 1469e6f7b9e6: Verifying Checksum 13:16:19 1469e6f7b9e6: Download complete 13:16:19 339a4e72a1f5: Verifying Checksum 13:16:19 339a4e72a1f5: Download complete 13:16:19 eaf3925da568: Verifying Checksum 13:16:19 eaf3925da568: Download complete 13:16:19 bde34c3a00c8: Verifying Checksum 13:16:19 bde34c3a00c8: Download complete 13:16:19 b352a97aabf1: Download complete 13:16:19 4872d77fe225: Verifying Checksum 13:16:19 4872d77fe225: Download complete 13:16:19 5851b861e8e6: Verifying Checksum 13:16:19 5851b861e8e6: Download complete 13:16:19 b85a868b505f: Verifying Checksum 13:16:19 b85a868b505f: Download complete 13:16:19 bab4dde63d76: Download complete 13:16:21 b85a868b505f: Pull complete 13:16:21 e2be974225ed: Pull complete 13:16:21 339a4e72a1f5: Pull complete 13:16:21 988bab9f4d93: Pull complete 13:16:22 1469e6f7b9e6: Pull complete 13:16:22 eaf3925da568: Pull complete 13:16:24 bab4dde63d76: Pull complete 13:16:24 bde34c3a00c8: Pull complete 13:16:24 b352a97aabf1: Pull complete 13:16:24 4872d77fe225: Pull complete 13:16:24 5851b861e8e6: Pull complete 13:16:24 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 13:16:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 13:16:24 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:16:24 prd-ubuntu20.04-docker-8c-8g-20592 does not seem to be running inside a container 13:16:24 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-427 -v /w/workspace/edgexfoundry_device-sdk-c_PR-427:/w/workspace/edgexfoundry_device-sdk-c_PR-427:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-427@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-427@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 13:16:26 $ docker top 6ab87df68989b82c26fc40cd51805d9d1f3a50181461a1ecfb7c896e8e405170 -eo pid,comm 13:16:26 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). 13:16:26 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 13:16:26 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:16:26 [ssh-agent] Looking for ssh-agent implementation... 13:16:26 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:16:26 $ docker exec 6ab87df68989b82c26fc40cd51805d9d1f3a50181461a1ecfb7c896e8e405170 ssh-agent 13:16:26 SSH_AUTH_SOCK=/tmp/ssh-AXlsOc0qW5C1/agent.32 13:16:26 SSH_AGENT_PID=38 13:16:26 Running ssh-add (command line suppressed) 13:16:27 Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-427@tmp/private_key_3439724109441979435.key (/w/workspace/edgexfoundry_device-sdk-c_PR-427@tmp/private_key_3439724109441979435.key) 13:16:27 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:16:27 + git tag --points-at HEAD [Pipeline] } 13:16:27 $ docker exec --env ******** --env ******** 6ab87df68989b82c26fc40cd51805d9d1f3a50181461a1ecfb7c896e8e405170 ssh-agent -k 13:16:27 unset SSH_AUTH_SOCK; 13:16:27 unset SSH_AGENT_PID; 13:16:27 echo Agent pid 38 killed; 13:16:27 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 13:16:27 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:16:27 [ssh-agent] Looking for ssh-agent implementation... 13:16:27 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:16:27 $ docker exec 6ab87df68989b82c26fc40cd51805d9d1f3a50181461a1ecfb7c896e8e405170 ssh-agent 13:16:27 SSH_AUTH_SOCK=/tmp/ssh-1o7XWnQ05Nq9/agent.71 13:16:27 SSH_AGENT_PID=78 13:16:27 Running ssh-add (command line suppressed) 13:16:28 Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-427@tmp/private_key_698994995785440060.key (/w/workspace/edgexfoundry_device-sdk-c_PR-427@tmp/private_key_698994995785440060.key) 13:16:28 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:16:28 + git semver init 13:16:28 2022-07-20 13:16:28,669 [run_init] DEBUG init version:0.0.0 force:False 13:16:28 2022-07-20 13:16:28,670 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-c_PR-427/.semver 13:16:28 2022-07-20 13:16:28,670 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-c.git /w/workspace/edgexfoundry_device-sdk-c_PR-427/.semver 13:16:28 2022-07-20 13:16:28,671 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-c.git', '/w/workspace/edgexfoundry_device-sdk-c_PR-427/.semver'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-427, universal_newlines=False, shell=None, istream=None) 13:16:29 2022-07-20 13:16:29,431 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-c_PR-427/.git/info/exclude 13:16:29 2022-07-20 13:16:29,432 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-c_PR-427/.semver/PR-427 with force:False 13:16:29 2022-07-20 13:16:29,432 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-c_PR-427/.semver/PR-427 13:16:29 2022-07-20 13:16:29,436 [execute] INFO git cat-file --batch-check 13:16:29 2022-07-20 13:16:29,437 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-427/.semver, universal_newlines=False, shell=None, istream=) 13:16:29 2022-07-20 13:16:29,444 [execute] INFO git cat-file --batch 13:16:29 2022-07-20 13:16:29,444 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-427/.semver, universal_newlines=False, shell=None, istream=) 13:16:29 2022-07-20 13:16:29,449 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_PR-427/.semver/PR-427 13:16:29 0.0.0 [Pipeline] } 13:16:29 $ docker exec --env ******** --env ******** 6ab87df68989b82c26fc40cd51805d9d1f3a50181461a1ecfb7c896e8e405170 ssh-agent -k 13:16:29 unset SSH_AUTH_SOCK; 13:16:29 unset SSH_AGENT_PID; 13:16:29 echo Agent pid 78 killed; 13:16:29 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 13:16:30 + git semver [Pipeline] } 13:16:30 $ docker stop --time=1 6ab87df68989b82c26fc40cd51805d9d1f3a50181461a1ecfb7c896e8e405170 13:16:31 $ docker rm -f 6ab87df68989b82c26fc40cd51805d9d1f3a50181461a1ecfb7c896e8e405170 [Pipeline] // withDockerContainer [Pipeline] sh 13:16:32 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 13:16:32 Stashed 1 file(s) [Pipeline] echo 13:16:32 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:16:33 provisioning config files... 13:16:33 copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-427@tmp/config469800615440719490tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:16:33 ---> docker-login.sh 13:16:33 nexus3.edgexfoundry.org:10001 13:16:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:16:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:16:33 Configure a credential helper to remove this warning. See 13:16:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:16:33 13:16:33 Login Succeeded 13:16:33 nexus3.edgexfoundry.org:10002 13:16:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:16:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:16:33 Configure a credential helper to remove this warning. See 13:16:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:16:33 13:16:33 Login Succeeded 13:16:33 nexus3.edgexfoundry.org:10003 13:16:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:16:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:16:33 Configure a credential helper to remove this warning. See 13:16:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:16:33 13:16:33 Login Succeeded 13:16:33 nexus3.edgexfoundry.org:10004 13:16:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:16:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:16:34 Configure a credential helper to remove this warning. See 13:16:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:16:34 13:16:34 Login Succeeded 13:16:34 docker.io 13:16:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:16:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:16:34 Configure a credential helper to remove this warning. See 13:16:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:16:34 13:16:34 Login Succeeded 13:16:34 ---> docker-login.sh ends [Pipeline] } 13:16:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 13:16:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 13:16:34 [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo 13:16:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 13:16:34 ========================================================= 13:16:34 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] 13:16:34 ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:16:35 + 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 . 13:16:35 Sending build context to Docker daemon 4.634MB 13:16:35 Step 1/22 : ARG BASE=alpine:3.15 13:16:35 Step 2/22 : FROM ${BASE} as builder 13:16:35 latest: Pulling from edgex-devops/edgex-gcc-base 13:16:35 df9b9388f04a: Pulling fs layer 13:16:35 62381f5d8449: Pulling fs layer 13:16:35 df9b9388f04a: Download complete 13:16:35 df9b9388f04a: Pull complete 13:16:35 62381f5d8449: Verifying Checksum 13:16:35 62381f5d8449: Download complete 13:16:39 62381f5d8449: Pull complete 13:16:39 Digest: sha256:1dc51ee6678f53bb3891c65c2ca5ccd72630339357978017b6e7ab3884123c19 13:16:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest 13:16:39 ---> 547c565c9e89 13:16:39 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 13:16:39 ---> Running in 3f4ac26936a2 13:16:40 Connecting to iotech.jfrog.io (34.248.37.48:443) 13:16:40 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 13:16:40 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 13:16:40 '/etc/apk/keys/alpine.dev.rsa.pub' saved 13:16:40 Removing intermediate container 3f4ac26936a2 13:16:40 ---> e827884d869b 13:16:40 Step 4/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main' >> /etc/apk/repositories 13:16:40 ---> Running in 5cce07c2e259 13:16:41 Removing intermediate container 5cce07c2e259 13:16:41 ---> a447ff506f73 13:16:41 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 13:16:41 ---> Running in 1d970f465c41 13:16:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 13:16:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 13:16:43 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main/x86_64/APKINDEX.tar.gz 13:16:43 WARNING: This apk-tools is OLD! Some packages might not function properly. 13:16:43 (1/33) Upgrading ncurses-terminfo-base (6.3_p20211120-r0 -> 6.3_p20211120-r1) 13:16:43 (2/33) Upgrading ncurses-libs (6.3_p20211120-r0 -> 6.3_p20211120-r1) 13:16:43 (3/33) Installing hiredis (1.0.2-r0) 13:16:43 (4/33) Installing hiredis-dev (1.0.2-r0) 13:16:43 (5/33) Installing libcbor (0.8.0-r0) 13:16:43 (6/33) Installing libcbor-dev (0.8.0-r0) 13:16:43 (7/33) Installing ncurses-dev (6.3_p20211120-r1) 13:16:43 (8/33) Installing paho-mqtt-c-dev-1.3 (1.3.10-r0) 13:16:44 (9/33) Installing util-linux (2.37.4-r0) 13:16:44 (10/33) Installing libblkid (2.37.4-r0) 13:16:44 (11/33) Installing libeconf (0.4.2-r0) 13:16:44 (12/33) Installing libuuid (2.37.4-r0) 13:16:44 (13/33) Installing libfdisk (2.37.4-r0) 13:16:44 (14/33) Installing libmount (2.37.4-r0) 13:16:44 (15/33) Installing libsmartcols (2.37.4-r0) 13:16:44 (16/33) Installing util-linux-misc (2.37.4-r0) 13:16:44 (17/33) Installing linux-pam (1.5.2-r0) 13:16:44 (18/33) Installing runuser (2.37.4-r0) 13:16:44 (19/33) Installing hexdump (2.37.4-r0) 13:16:44 (20/33) Installing uuidgen (2.37.4-r0) 13:16:44 (21/33) Installing blkid (2.37.4-r0) 13:16:44 (22/33) Installing sfdisk (2.37.4-r0) 13:16:44 (23/33) Installing mcookie (2.37.4-r0) 13:16:44 (24/33) Installing wipefs (2.37.4-r0) 13:16:44 (25/33) Installing cfdisk (2.37.4-r0) 13:16:44 (26/33) Installing flock (2.37.4-r0) 13:16:44 (27/33) Installing lsblk (2.37.4-r0) 13:16:44 (28/33) Installing libcap-ng (0.8.2-r1) 13:16:44 (29/33) Installing setpriv (2.37.4-r0) 13:16:44 (30/33) Installing logger (2.37.4-r0) 13:16:44 (31/33) Installing partx (2.37.4-r0) 13:16:44 (32/33) Installing findmnt (2.37.4-r0) 13:16:44 (33/33) Installing util-linux-dev (2.37.4-r0) 13:16:44 Executing busybox-1.34.1-r5.trigger 13:16:44 OK: 293 MiB in 108 packages 13:16:45 Removing intermediate container 1d970f465c41 13:16:45 ---> 46177caca985 13:16:45 Step 6/22 : RUN mkdir /tmp/sdk 13:16:45 ---> Running in c4e9ba75cbeb 13:16:45 Removing intermediate container c4e9ba75cbeb 13:16:45 ---> f205b376a69f 13:16:45 Step 7/22 : COPY VERSION /tmp/sdk 13:16:45 ---> 59add328d548 13:16:45 Step 8/22 : COPY src /tmp/sdk/src 13:16:46 ---> bdfc86a4af11 13:16:46 Step 9/22 : COPY include /tmp/sdk/include 13:16:46 ---> 5c24d3075060 13:16:46 Step 10/22 : COPY scripts /tmp/sdk/scripts 13:16:46 ---> 24c75f350c88 13:16:46 Step 11/22 : COPY LICENSE /tmp/sdk 13:16:46 ---> 5fe82301ff24 13:16:46 Step 12/22 : COPY Attribution.txt /tmp/sdk 13:16:46 ---> 3700c588cc2f 13:16:46 Step 13/22 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 13:16:46 ---> Running in f8113795398b 13:16:47 + CPPCHECK=false 13:16:47 + DOCGEN=false 13:16:47 + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' 13:16:47 + TOMLVER=SDK-0.2 13:16:47 + CUTILVER=1.2.2 13:16:47 + '[' 0 -gt 0 ] 13:16:47 + readlink -f ./scripts/build.sh 13:16:47 + dirname /tmp/sdk/scripts/build.sh 13:16:47 + dirname /tmp/sdk/scripts 13:16:47 + ROOT=/tmp/sdk 13:16:47 + cd /tmp/sdk 13:16:47 + '[' '!' -d deps ] 13:16:47 + mkdir deps 13:16:47 + tar -C deps -z -x -f - 13:16:47 + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 13:16:47 Connecting to github.com (140.82.113.4:443) 13:16:47 Connecting to codeload.github.com (140.82.113.9:443) 13:16:47 writing to stdout 13:16:47 - 100% |********************************| 16451 0:00:00 ETA 13:16:47 written to stdout 13:16:47 + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c 13:16:47 + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.2.2.tar.gz 13:16:47 + tar -C deps -z -x -f - 13:16:47 Connecting to github.com (140.82.113.4:443) 13:16:47 Connecting to codeload.github.com (140.82.113.9:443) 13:16:47 writing to stdout 13:16:47 - 100% |********************************| 189k 0:00:00 ETA 13:16:47 written to stdout 13:16:47 + mkdir -p src/c/iot 13:16:47 + 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 13:16:47 + cp deps/iotech-c-utils-1.2.2/src/c/defs.h.in src/c/iot 13:16:47 + cp deps/iotech-c-utils-1.2.2/src/c/yxml.h src/c/iot 13:16:47 + cp deps/iotech-c-utils-1.2.2/VERSION src/c/iot 13:16:47 + mkdir -p include/iot 13:16:47 + 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 13:16:47 + mkdir -p include/iot/os 13:16:47 + 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 13:16:47 + mkdir -p /tmp/sdk/build/release 13:16:47 + cd /tmp/sdk/build/release 13:16:47 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 13:16:47 -- The C compiler identification is GNU 10.3.1 13:16:47 -- Detecting C compiler ABI info 13:16:47 -- Detecting C compiler ABI info - done 13:16:47 -- Check for working C compiler: /usr/bin/cc - skipped 13:16:47 -- Detecting C compile features 13:16:47 -- Detecting C compile features - done 13:16:47 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 13:16:48 Still waiting to schedule task 13:16:48 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 13:16:48 -- Found CURL: /usr/lib/libcurl.so (found version "7.80.0") 13:16:48 -- Found LIBYAML: /usr/lib/libyaml.so 13:16:48 -- Found LIBUUID: /usr/lib/libuuid.so 13:16:48 -- Found LIBCBOR: /usr/lib/libcbor.so 13:16:48 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 13:16:48 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 13:16:48 -- C SDK 0.0.0 for Linux 13:16:48 -- Performing Test CSDK_HAVE_ATOMIC 13:16:48 -- Performing Test CSDK_HAVE_ATOMIC - Success 13:16:48 -- Found Curses: /usr/lib/libcurses.so 13:16:48 -- Configuring done 13:16:48 -- Generating done 13:16:48 -- Build files have been written to: /tmp/sdk/build/release 13:16:48 + make all package 13:16:48 + tee release.log 13:16:48 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 13:16:48 [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 13:16:48 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 13:16:48 [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 13:16:49 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 13:16:49 [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o 13:16:49 [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 13:16:49 [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o 13:16:49 [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o 13:16:49 [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o 13:16:50 [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 13:16:50 [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 13:16:50 [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 13:16:50 [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 13:16:50 [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 13:16:50 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 13:16:50 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 13:16:51 [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 13:16:51 [ 27%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 13:16:51 [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 13:16:51 [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 13:16:51 [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 13:16:51 /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': 13:16:51 /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] 13:16:51 275 | const iot_component_factory_t * factory; 13:16:51 | ^~~~~~~ 13:16:51 [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 13:16:52 [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 13:16:52 [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 13:16:52 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 13:16:52 [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 13:16:52 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 13:16:52 [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 13:16:53 [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 13:16:53 [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 13:16:53 [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 13:16:53 [ 48%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o 13:16:53 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 13:16:53 [ 51%] Building C object c/CMakeFiles/csdk.dir/map.c.o 13:16:54 [ 52%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 13:16:54 [ 54%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 13:16:54 [ 55%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 13:16:55 [ 57%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 13:16:55 [ 58%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 13:16:55 [ 60%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 13:16:55 [ 61%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 13:16:55 [ 63%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 13:16:56 [ 64%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 13:16:56 [ 66%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 13:16:56 [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 13:16:56 [ 69%] Building C object c/CMakeFiles/csdk.dir/service.c.o 13:16:56 [ 70%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 13:16:57 [ 72%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 13:16:57 [ 73%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 13:16:57 [ 75%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 13:16:57 [ 76%] Linking C shared library libcsdk.so 13:16:57 [ 76%] Built target csdk 13:16:57 [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 13:16:58 [ 79%] Linking C executable template 13:16:58 [ 79%] Built target template 13:16:58 [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 13:16:58 [ 82%] Linking C executable device-counter 13:16:58 [ 82%] Built target device-counter 13:16:58 [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 13:16:58 [ 85%] Linking C executable device-random 13:16:58 [ 85%] Built target device-random 13:16:58 [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 13:16:58 [ 88%] Linking C executable device-gyro 13:16:58 [ 88%] Built target device-gyro 13:16:58 [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 13:16:58 [ 91%] Linking C executable device-bitfields 13:16:58 [ 91%] Built target device-bitfields 13:16:58 [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 13:16:58 [ 94%] Linking C executable template-discovery 13:16:59 [ 94%] Built target template-discovery 13:16:59 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 13:16:59 [ 97%] Linking C executable device-file 13:16:59 [ 97%] Built target device-file 13:16:59 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 13:16:59 [100%] Linking C executable device-terminal 13:16:59 [100%] Built target device-terminal 13:16:59 Run CPack packaging tool... 13:16:59 CPack: Create package using TGZ 13:16:59 CPack: Install projects 13:16:59 CPack: - Run preinstall target for: Csdk 13:16:59 CPack: - Install project: Csdk [] 13:16:59 CPack: Create package 13:16:59 CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. 13:16:59 + '[' false '=' true ] 13:16:59 + '[' false '=' true ] 13:16:59 + mkdir -p /tmp/sdk/build/debug 13:16:59 + cd /tmp/sdk/build/debug 13:16:59 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 13:16:59 -- The C compiler identification is GNU 10.3.1 13:16:59 -- Detecting C compiler ABI info 13:16:59 -- Detecting C compiler ABI info - done 13:16:59 -- Check for working C compiler: /usr/bin/cc - skipped 13:16:59 -- Detecting C compile features 13:16:59 -- Detecting C compile features - done 13:16:59 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 13:17:00 -- Found CURL: /usr/lib/libcurl.so (found version "7.80.0") 13:17:00 -- Found LIBYAML: /usr/lib/libyaml.so 13:17:00 -- Found LIBUUID: /usr/lib/libuuid.so 13:17:00 -- Found LIBCBOR: /usr/lib/libcbor.so 13:17:00 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 13:17:00 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 13:17:00 -- C SDK 0.0.0 for Linux 13:17:00 -- Performing Test CSDK_HAVE_ATOMIC 13:17:00 -- Performing Test CSDK_HAVE_ATOMIC - Success 13:17:00 -- Found Curses: /usr/lib/libcurses.so 13:17:00 -- Configuring done 13:17:00 -- Generating done 13:17:00 -- Build files have been written to: /tmp/sdk/build/debug 13:17:00 + make 13:17:00 + tee debug.log 13:17:00 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 13:17:00 [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 13:17:00 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 13:17:00 [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 13:17:00 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 13:17:00 [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o 13:17:00 [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 13:17:01 [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o 13:17:01 [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o 13:17:01 [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o 13:17:01 [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 13:17:01 [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 13:17:01 [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 13:17:01 [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 13:17:01 [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 13:17:01 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 13:17:01 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 13:17:01 [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 13:17:01 [ 27%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 13:17:01 [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 13:17:02 [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 13:17:02 [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 13:17:02 /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': 13:17:02 /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] 13:17:02 275 | const iot_component_factory_t * factory; 13:17:02 | ^~~~~~~ 13:17:02 [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 13:17:02 [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 13:17:02 [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 13:17:02 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 13:17:02 [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 13:17:02 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 13:17:02 [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 13:17:02 [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 13:17:02 [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 13:17:02 [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 13:17:02 [ 48%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o 13:17:02 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 13:17:03 [ 51%] Building C object c/CMakeFiles/csdk.dir/map.c.o 13:17:03 [ 52%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 13:17:03 [ 54%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 13:17:03 [ 55%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 13:17:03 [ 57%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 13:17:03 [ 58%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 13:17:03 [ 60%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 13:17:03 [ 61%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 13:17:03 [ 63%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 13:17:03 [ 64%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 13:17:04 [ 66%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 13:17:04 [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 13:17:04 [ 69%] Building C object c/CMakeFiles/csdk.dir/service.c.o 13:17:04 [ 70%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 13:17:04 [ 72%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 13:17:04 [ 73%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 13:17:04 [ 75%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 13:17:04 [ 76%] Linking C shared library libcsdk.so 13:17:04 [ 76%] Built target csdk 13:17:05 [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 13:17:05 [ 79%] Linking C executable template 13:17:05 [ 79%] Built target template 13:17:05 [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 13:17:05 [ 82%] Linking C executable device-counter 13:17:05 [ 82%] Built target device-counter 13:17:05 [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 13:17:05 [ 85%] Linking C executable device-random 13:17:05 [ 85%] Built target device-random 13:17:05 [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 13:17:05 [ 88%] Linking C executable device-gyro 13:17:05 [ 88%] Built target device-gyro 13:17:05 [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 13:17:05 [ 91%] Linking C executable device-bitfields 13:17:05 [ 91%] Built target device-bitfields 13:17:05 [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 13:17:05 [ 94%] Linking C executable template-discovery 13:17:05 [ 94%] Built target template-discovery 13:17:05 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 13:17:05 [ 97%] Linking C executable device-file 13:17:05 [ 97%] Built target device-file 13:17:05 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 13:17:06 [100%] Linking C executable device-terminal 13:17:06 [100%] Built target device-terminal 13:17:06 make: Entering directory '/tmp/sdk/build/release' 13:17:06 make[1]: Entering directory '/tmp/sdk/build/release' 13:17:06 make[2]: Entering directory '/tmp/sdk/build/release' 13:17:06 make[2]: Leaving directory '/tmp/sdk/build/release' 13:17:06 [ 76%] Built target csdk 13:17:06 make[2]: Entering directory '/tmp/sdk/build/release' 13:17:06 make[2]: Leaving directory '/tmp/sdk/build/release' 13:17:06 [ 79%] Built target template 13:17:06 make[2]: Entering directory '/tmp/sdk/build/release' 13:17:06 make[2]: Leaving directory '/tmp/sdk/build/release' 13:17:06 [ 82%] Built target device-counter 13:17:06 make[2]: Entering directory '/tmp/sdk/build/release' 13:17:06 make[2]: Leaving directory '/tmp/sdk/build/release' 13:17:06 [ 85%] Built target device-random 13:17:06 make[2]: Entering directory '/tmp/sdk/build/release' 13:17:06 make[2]: Leaving directory '/tmp/sdk/build/release' 13:17:06 [ 88%] Built target device-gyro 13:17:06 make[2]: Entering directory '/tmp/sdk/build/release' 13:17:06 make[2]: Leaving directory '/tmp/sdk/build/release' 13:17:06 [ 91%] Built target device-bitfields 13:17:06 make[2]: Entering directory '/tmp/sdk/build/release' 13:17:06 make[2]: Leaving directory '/tmp/sdk/build/release' 13:17:06 [ 94%] Built target template-discovery 13:17:06 make[2]: Entering directory '/tmp/sdk/build/release' 13:17:06 make[2]: Leaving directory '/tmp/sdk/build/release' 13:17:06 [ 97%] Built target device-file 13:17:06 make[2]: Entering directory '/tmp/sdk/build/release' 13:17:06 make[2]: Leaving directory '/tmp/sdk/build/release' 13:17:06 [100%] Built target device-terminal 13:17:06 make[1]: Leaving directory '/tmp/sdk/build/release' 13:17:06 Install the project... 13:17:06 -- Install configuration: "Release" 13:17:06 -- Installing: /usr/local/lib/libcsdk.so 13:17:06 -- Installing: /usr/local/include 13:17:06 -- Installing: /usr/local/include/edgex 13:17:06 -- Installing: /usr/local/include/edgex/profiles.h 13:17:06 -- Installing: /usr/local/include/edgex/edgex.h 13:17:06 -- Installing: /usr/local/include/edgex/rest-server.h 13:17:06 -- Installing: /usr/local/include/edgex/edgex-base.h 13:17:06 -- Installing: /usr/local/include/edgex/devices.h 13:17:06 -- Installing: /usr/local/include/edgex/csdk-defs.h 13:17:06 -- Installing: /usr/local/include/devsdk 13:17:06 -- Installing: /usr/local/include/devsdk/devsdk.h 13:17:06 -- Installing: /usr/local/include/devsdk/devsdk-base.h 13:17:06 -- Installing: /usr/local/include/iot 13:17:06 -- Installing: /usr/local/include/iot/thread.h 13:17:06 -- Installing: /usr/local/include/iot/hash.h 13:17:06 -- Installing: /usr/local/include/iot/typecode.h 13:17:06 -- Installing: /usr/local/include/iot/threadpool.h 13:17:06 -- Installing: /usr/local/include/iot/uuid.h 13:17:06 -- Installing: /usr/local/include/iot/logger.h 13:17:06 -- Installing: /usr/local/include/iot/config.h 13:17:06 -- Installing: /usr/local/include/iot/os.h 13:17:06 -- Installing: /usr/local/include/iot/container.h 13:17:06 -- Installing: /usr/local/include/iot/scheduler.h 13:17:06 -- Installing: /usr/local/include/iot/defs.h 13:17:06 -- Installing: /usr/local/include/iot/iot.h 13:17:06 -- Installing: /usr/local/include/iot/component.h 13:17:06 -- Installing: /usr/local/include/iot/os 13:17:06 -- Installing: /usr/local/include/iot/os/linux.h 13:17:06 -- Installing: /usr/local/include/iot/os/zephyr.h 13:17:06 -- Installing: /usr/local/include/iot/os/macos.h 13:17:06 -- Installing: /usr/local/include/iot/base64.h 13:17:06 -- Installing: /usr/local/include/iot/time.h 13:17:06 -- Installing: /usr/local/include/iot/data.h 13:17:06 -- Installing: /usr/local/include/iot/json.h 13:17:06 -- Installing: /usr/local/share/device-sdk-c/LICENSE 13:17:06 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 13:17:06 make: Leaving directory '/tmp/sdk/build/release' 13:17:07 Removing intermediate container f8113795398b 13:17:07 ---> 88d2b5513a61 13:17:07 Step 14/22 : FROM ${BASE} 13:17:07 ---> 547c565c9e89 13:17:07 Step 15/22 : LABEL maintainer="IOTech " 13:17:07 ---> Running in fa6002704d48 13:17:07 Removing intermediate container fa6002704d48 13:17:07 ---> da306026cd44 13:17:07 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 13:17:07 ---> Running in 8503e2a1cf05 13:17:07 Connecting to iotech.jfrog.io (34.247.231.36:443) 13:17:08 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 13:17:08 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 13:17:08 '/etc/apk/keys/alpine.dev.rsa.pub' saved 13:17:08 Removing intermediate container 8503e2a1cf05 13:17:08 ---> 2e5269464803 13:17:08 Step 17/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main' >> /etc/apk/repositories 13:17:08 ---> Running in b97ae402b667 13:17:08 Removing intermediate container b97ae402b667 13:17:08 ---> 625ccdbc30f9 13:17:08 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 13:17:08 ---> Running in 6464e8c9b8fe 13:17:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 13:17:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 13:17:09 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main/x86_64/APKINDEX.tar.gz 13:17:09 WARNING: This apk-tools is OLD! Some packages might not function properly. 13:17:09 (1/6) Installing curl (7.80.0-r2) 13:17:09 (2/6) Installing hiredis (1.0.2-r0) 13:17:09 (3/6) Installing hiredis-dev (1.0.2-r0) 13:17:09 (4/6) Installing libcbor (0.8.0-r0) 13:17:09 (5/6) Installing libuuid (2.37.4-r0) 13:17:09 (6/6) Installing paho-mqtt-c-dev-1.3 (1.3.10-r0) 13:17:10 Executing busybox-1.34.1-r5.trigger 13:17:10 OK: 283 MiB in 83 packages 13:17:11 Removing intermediate container 6464e8c9b8fe 13:17:11 ---> 938f1723085a 13:17:11 Step 19/22 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot 13:17:11 ---> 02f8f228efea 13:17:11 Step 20/22 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 13:17:11 ---> e96508561c76 13:17:11 Step 21/22 : COPY --from=builder /usr/local/lib /usr/local/lib 13:17:11 ---> fe2c328e0a8d 13:17:11 Step 22/22 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 13:17:11 ---> 5e71751a7dcc 13:17:11 Successfully built 5e71751a7dcc 13:17:11 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 13:17:12 + docker inspect -f . ci-base-image-x86_64 13:17:12 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:17:12 prd-ubuntu20.04-docker-8c-8g-20592 does not seem to be running inside a container 13:17:12 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-c_PR-427 -v /w/workspace/edgexfoundry_device-sdk-c_PR-427:/w/workspace/edgexfoundry_device-sdk-c_PR-427:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-427@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-427@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 13:17:13 $ docker top 89094cce1642dd73f9a09296c747c725bb63f0f5abc48c16ce88f4f5b14030e7 -eo pid,comm [Pipeline] { [Pipeline] sh 13:17:13 + make test 13:17:13 echo "make test" 13:17:13 make test [Pipeline] } 13:17:13 $ docker stop --time=1 89094cce1642dd73f9a09296c747c725bb63f0f5abc48c16ce88f4f5b14030e7 13:17:14 $ docker rm -f 89094cce1642dd73f9a09296c747c725bb63f0f5abc48c16ce88f4f5b14030e7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 13:17:15 + sudo chown -R jenkins:jenkins . [Pipeline] sh 13:17:15 + ls -al . 13:17:15 total 208 13:17:15 drwxrwxr-x 9 jenkins jenkins 4096 Jul 20 13:16 . 13:17:15 drwxrwxr-x 4 jenkins jenkins 4096 Jul 20 13:16 .. 13:17:15 drwxrwxr-x 8 jenkins jenkins 4096 Jul 20 13:16 .git 13:17:15 drwxrwxr-x 2 jenkins jenkins 4096 Jul 20 13:16 .github 13:17:15 -rw-rw-r-- 1 jenkins jenkins 176 Jul 20 13:16 .gitignore 13:17:15 drwxr-xr-x 3 jenkins jenkins 4096 Jul 20 13:16 .semver 13:17:15 -rw-rw-r-- 1 jenkins jenkins 3104 Jul 20 13:16 Attribution.txt 13:17:15 -rw-rw-r-- 1 jenkins jenkins 8420 Jul 20 13:16 CHANGES 13:17:15 -rw-rw-r-- 1 jenkins jenkins 108574 Jul 20 13:16 Doxyfile 13:17:15 -rw-rw-r-- 1 jenkins jenkins 677 Jul 20 13:16 GOVERNANCE.md 13:17:15 -rw-rw-r-- 1 jenkins jenkins 784 Jul 20 13:16 Jenkinsfile 13:17:15 -rw-rw-r-- 1 jenkins jenkins 10174 Jul 20 13:16 LICENSE 13:17:15 -rw-rw-r-- 1 jenkins jenkins 444 Jul 20 13:16 Makefile 13:17:15 -rw-rw-r-- 1 jenkins jenkins 618 Jul 20 13:16 OWNERS.md 13:17:15 -rw-rw-r-- 1 jenkins jenkins 4086 Jul 20 13:16 README.md 13:17:15 -rw-rw-r-- 1 jenkins jenkins 7422 Jul 20 13:16 README.v2.md 13:17:15 -rw-rw-r-- 1 jenkins jenkins 5 Jul 20 13:16 VERSION 13:17:15 drwxrwxr-x 2 jenkins jenkins 4096 Jul 20 13:16 docs 13:17:15 drwxrwxr-x 4 jenkins jenkins 4096 Jul 20 13:16 include 13:17:15 drwxrwxr-x 2 jenkins jenkins 4096 Jul 20 13:16 scripts 13:17:15 drwxrwxr-x 4 jenkins jenkins 4096 Jul 20 13:16 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:17:16 + 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=95f264ea296da9579d75e464e42e3355eeaaa3c8 --label arch=amd64 --label version=0.0.0 . 13:17:16 Sending build context to Docker daemon 4.634MB 13:17:16 Step 1/17 : ARG BASE=alpine:3.15 13:17:16 Step 2/17 : FROM ${BASE} 13:17:16 ---> 5e71751a7dcc 13:17:16 Step 3/17 : LABEL maintainer="IOTech " 13:17:16 ---> Running in 80fd7dc82dc9 13:17:16 Removing intermediate container 80fd7dc82dc9 13:17:16 ---> 92bd0595b1e9 13:17:16 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 13:17:16 ---> Running in 9d289c27875f 13:17:16 Connecting to iotech.jfrog.io (52.17.55.65:443) 13:17:17 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 13:17:17 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 13:17:17 '/etc/apk/keys/alpine.dev.rsa.pub' saved 13:17:17 Removing intermediate container 9d289c27875f 13:17:17 ---> fff0b6784381 13:17:17 Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main' >> /etc/apk/repositories 13:17:17 ---> Running in c8ae1038dc6f 13:17:18 Removing intermediate container c8ae1038dc6f 13:17:18 ---> 360ffb662571 13:17:18 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 13:17:18 ---> Running in a1f06d164fa7 13:17:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 13:17:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 13:17:19 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main/x86_64/APKINDEX.tar.gz 13:17:19 WARNING: This apk-tools is OLD! Some packages might not function properly. 13:17:19 (1/28) Upgrading ncurses-terminfo-base (6.3_p20211120-r0 -> 6.3_p20211120-r1) 13:17:19 (2/28) Upgrading ncurses-libs (6.3_p20211120-r0 -> 6.3_p20211120-r1) 13:17:19 (3/28) Installing libcbor-dev (0.8.0-r0) 13:17:19 (4/28) Installing ncurses-dev (6.3_p20211120-r1) 13:17:19 (5/28) Installing util-linux (2.37.4-r0) 13:17:19 (6/28) Installing libblkid (2.37.4-r0) 13:17:19 (7/28) Installing libeconf (0.4.2-r0) 13:17:19 (8/28) Installing libfdisk (2.37.4-r0) 13:17:19 (9/28) Installing libmount (2.37.4-r0) 13:17:19 (10/28) Installing libsmartcols (2.37.4-r0) 13:17:19 (11/28) Installing util-linux-misc (2.37.4-r0) 13:17:19 (12/28) Installing linux-pam (1.5.2-r0) 13:17:19 (13/28) Installing runuser (2.37.4-r0) 13:17:19 (14/28) Installing hexdump (2.37.4-r0) 13:17:19 (15/28) Installing uuidgen (2.37.4-r0) 13:17:19 (16/28) Installing blkid (2.37.4-r0) 13:17:19 (17/28) Installing sfdisk (2.37.4-r0) 13:17:19 (18/28) Installing mcookie (2.37.4-r0) 13:17:19 (19/28) Installing wipefs (2.37.4-r0) 13:17:19 (20/28) Installing cfdisk (2.37.4-r0) 13:17:19 (21/28) Installing flock (2.37.4-r0) 13:17:19 (22/28) Installing lsblk (2.37.4-r0) 13:17:19 (23/28) Installing libcap-ng (0.8.2-r1) 13:17:19 (24/28) Installing setpriv (2.37.4-r0) 13:17:19 (25/28) Installing logger (2.37.4-r0) 13:17:19 (26/28) Installing partx (2.37.4-r0) 13:17:19 (27/28) Installing findmnt (2.37.4-r0) 13:17:19 (28/28) Installing util-linux-dev (2.37.4-r0) 13:17:19 Executing busybox-1.34.1-r5.trigger 13:17:19 OK: 294 MiB in 109 packages 13:17:20 Removing intermediate container a1f06d164fa7 13:17:20 ---> d435c582a5fe 13:17:20 Step 7/17 : COPY VERSION /edgex-c-sdk/ 13:17:20 ---> 538e4b1e2ea4 13:17:20 Step 8/17 : COPY src /edgex-c-sdk/src/ 13:17:20 ---> f2272c815848 13:17:20 Step 9/17 : COPY include /edgex-c-sdk/include/ 13:17:20 ---> d59327b60ee8 13:17:20 Step 10/17 : COPY scripts /edgex-c-sdk/scripts 13:17:20 ---> d11442adefca 13:17:20 Step 11/17 : COPY LICENSE /edgex-c-sdk/ 13:17:21 ---> 4f995be19a60 13:17:21 Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ 13:17:21 ---> a4cc4d64cce0 13:17:21 Step 13/17 : WORKDIR /edgex-c-sdk 13:17:21 ---> Running in b5c3859bd071 13:17:21 Removing intermediate container b5c3859bd071 13:17:21 ---> 128898b1e5ba 13:17:21 Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 13:17:21 ---> Running in 1dd2c8572d3c 13:17:21 Removing intermediate container 1dd2c8572d3c 13:17:21 ---> 2329ae13d28f 13:17:21 Step 15/17 : LABEL arch=amd64 13:17:21 ---> Running in 02ce3c6d7eb0 13:17:21 Removing intermediate container 02ce3c6d7eb0 13:17:21 ---> b64dfe29767b 13:17:21 Step 16/17 : LABEL git_sha=95f264ea296da9579d75e464e42e3355eeaaa3c8 13:17:21 ---> Running in 70be446b4909 13:17:21 Removing intermediate container 70be446b4909 13:17:21 ---> 4c3bcac2ed49 13:17:21 Step 17/17 : LABEL version=0.0.0 13:17:21 ---> Running in 45079c00acb2 13:17:21 Removing intermediate container 45079c00acb2 13:17:21 ---> 0d4f63a9ca7a 13:17:21 [Warning] One or more build-args [MAKE ARCH] were not consumed 13:17:21 Successfully built 0d4f63a9ca7a 13:17:21 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 13:17:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:17:22 13:17:22 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:17:23 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:17:23 latest: Pulling from edgex-lftools-log-publisher 13:17:23 5eb5b503b376: Pulling fs layer 13:17:23 5c69ac0246d0: Pulling fs layer 13:17:23 ec43610c2a17: Pulling fs layer 13:17:23 3a2ae6a8a46f: Pulling fs layer 13:17:23 33b1e0a273af: Pulling fs layer 13:17:23 5d3b04190fa2: Pulling fs layer 13:17:23 2f39f015ded8: Pulling fs layer 13:17:23 3a2ae6a8a46f: Waiting 13:17:23 33b1e0a273af: Waiting 13:17:23 5d3b04190fa2: Waiting 13:17:23 2f39f015ded8: Waiting 13:17:23 5c69ac0246d0: Verifying Checksum 13:17:23 5c69ac0246d0: Download complete 13:17:23 3a2ae6a8a46f: Verifying Checksum 13:17:23 3a2ae6a8a46f: Download complete 13:17:23 33b1e0a273af: Verifying Checksum 13:17:23 33b1e0a273af: Download complete 13:17:23 5d3b04190fa2: Verifying Checksum 13:17:23 5d3b04190fa2: Download complete 13:17:23 ec43610c2a17: Verifying Checksum 13:17:23 ec43610c2a17: Download complete 13:17:23 5eb5b503b376: Verifying Checksum 13:17:23 5eb5b503b376: Download complete 13:17:24 2f39f015ded8: Download complete 13:17:24 5eb5b503b376: Pull complete 13:17:24 5c69ac0246d0: Pull complete 13:17:25 ec43610c2a17: Pull complete 13:17:25 3a2ae6a8a46f: Pull complete 13:17:25 33b1e0a273af: Pull complete 13:17:25 5d3b04190fa2: Pull complete 13:17:30 2f39f015ded8: Pull complete 13:17:30 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 13:17:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:17:30 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:17:30 prd-ubuntu20.04-docker-8c-8g-20592 does not seem to be running inside a container 13:17:30 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-c_PR-427 -v /w/workspace/edgexfoundry_device-sdk-c_PR-427:/w/workspace/edgexfoundry_device-sdk-c_PR-427:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-427@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-427@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 13:17:32 $ docker top 2435cb5102e7e6c98786f50dbbe48c1cec561444176ca2976cc62ed51a425097 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:17:32 ---> job-cost.sh 13:17:32 lf-activate-venv: SKIPPING 13:17:32 INFO: No Stack... 13:17:33 INFO: Retrieving Pricing Info for: v3-standard-8 13:17:33 INFO: Archiving Costs [Pipeline] sh 13:17:34 + cut -d, -f6 13:17:34 + cat /w/workspace/edgexfoundry_device-sdk-c_PR-427/archives/cost.csv [Pipeline] lock 13:17:34 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-427-1-stack-cost] 13:17:34 Resource [jenkins-edgexfoundry-device-sdk-c-PR-427-1-stack-cost] did not exist. Created. 13:17:34 Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-427-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 13:17:34 + echo total: 0.2199999988079071 [Pipeline] stash 13:17:34 Stashed 1 file(s) [Pipeline] } 13:17:34 Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-427-1-stack-cost] [Pipeline] // lock [Pipeline] } 13:17:34 $ docker stop --time=1 2435cb5102e7e6c98786f50dbbe48c1cec561444176ca2976cc62ed51a425097 13:17:35 $ docker rm -f 2435cb5102e7e6c98786f50dbbe48c1cec561444176ca2976cc62ed51a425097 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 13:20:10 Running on prd-ubuntu20.04-docker-arm64-4c-16g-20593 in /w/workspace/edgexfoundry_device-sdk-c_PR-427 [Pipeline] { [Pipeline] ws 13:20:10 Running in /w/workspace/device-sdk-c/1 [Pipeline] { [Pipeline] checkout 13:20:10 Selected Git installation does not exist. Using Default 13:20:10 The recommended git tool is: NONE 13:20:17 using credential edgex-jenkins-ssh 13:20:17 Cloning the remote Git repository 13:20:17 Cloning repository git@github.com:edgexfoundry/device-sdk-c.git 13:20:17 > git init /w/workspace/device-sdk-c/1 # timeout=10 13:20:17 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 13:20:17 > git --version # timeout=10 13:20:17 > git --version # 'git version 2.25.1' 13:20:17 using GIT_SSH to set credentials SSH Credentials for GitHub 13:20:17 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 13:20:19 Merging remotes/origin/main commit 3414d0279792f3e48f3ae73a80499089b78126ca into PR head commit 95f264ea296da9579d75e464e42e3355eeaaa3c8 13:20:18 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 13:20:19 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 13:20:19 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 13:20:19 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 13:20:19 using GIT_SSH to set credentials SSH Credentials for GitHub 13:20:19 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/427/head:refs/remotes/origin/PR-427 +refs/heads/main:refs/remotes/origin/main # timeout=10 13:20:19 > git config core.sparsecheckout # timeout=10 13:20:19 > git checkout -f 95f264ea296da9579d75e464e42e3355eeaaa3c8 # timeout=10 13:20:19 Merge succeeded, producing 95f264ea296da9579d75e464e42e3355eeaaa3c8 13:20:19 Checking out Revision 95f264ea296da9579d75e464e42e3355eeaaa3c8 (PR-427) 13:20:19 > git remote # timeout=10 13:20:19 > git config --get remote.origin.url # timeout=10 13:20:19 using GIT_SSH to set credentials SSH Credentials for GitHub 13:20:19 > git merge 3414d0279792f3e48f3ae73a80499089b78126ca # timeout=10 13:20:19 > git rev-parse HEAD^{commit} # timeout=10 13:20:19 > git config core.sparsecheckout # timeout=10 13:20:19 > git checkout -f 95f264ea296da9579d75e464e42e3355eeaaa3c8 # timeout=10 13:20:24 Commit message: "feat: renew vault tokens before they expire" 13:20:24 > git --version # timeout=10 13:20:24 > git --version # 'git version 2.25.1' 13:20:24 fatal: bad object 2c432abcf2d142718d3fe157e81a44428d9b823e [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 13:20:25 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 13:20:25 % Total % Received % Xferd Average Speed Time Time Time Current 13:20:25 Dload Upload Total Spent Left Speed 13:20:25 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12332 100 12332 0 0 79051 0 --:--:-- --:--:-- --:--:-- 79561 [Pipeline] sh 13:20:26 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 13:20:26 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 13:20:26 + sudo tee /etc/docker/daemon.new 13:20:26 { 13:20:26 "registry-mirrors": [ 13:20:26 "https://nexus3.edgexfoundry.org:10001" 13:20:26 ], 13:20:26 "bip": "10.250.0.254/24", 13:20:26 "hosts": [ 13:20:26 "tcp://0.0.0.0:5555", 13:20:26 "unix:///var/run/docker.sock" 13:20:26 ], 13:20:26 "mtu": 1458, 13:20:26 "selinux-enabled": true, 13:20:26 "seccomp-profile": "/etc/docker/seccomp.json" 13:20:26 } [Pipeline] sh 13:20:26 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 13:20:27 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:20:45 provisioning config files... 13:20:45 copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/1@tmp/config8419622933386317354tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:20:46 ---> docker-login.sh 13:20:46 nexus3.edgexfoundry.org:10001 13:20:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:20:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:20:47 Configure a credential helper to remove this warning. See 13:20:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:20:47 13:20:47 Login Succeeded 13:20:47 nexus3.edgexfoundry.org:10002 13:20:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:20:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:20:47 Configure a credential helper to remove this warning. See 13:20:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:20:47 13:20:47 Login Succeeded 13:20:47 nexus3.edgexfoundry.org:10003 13:20:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:20:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:20:47 Configure a credential helper to remove this warning. See 13:20:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:20:47 13:20:47 Login Succeeded 13:20:47 nexus3.edgexfoundry.org:10004 13:20:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:20:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:20:48 Configure a credential helper to remove this warning. See 13:20:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:20:48 13:20:48 Login Succeeded 13:20:48 docker.io 13:20:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:20:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:20:49 Configure a credential helper to remove this warning. See 13:20:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:20:49 13:20:49 Login Succeeded 13:20:49 ---> docker-login.sh ends [Pipeline] } 13:20:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 13:20:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 13:20:49 [prepBaseBuildImage] Generating new image with name: ci-base-image-arm64 [Pipeline] echo 13:20:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 13:20:49 ========================================================= 13:20:49 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] 13:20:49 ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:20:50 + 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 . 13:20:50 Sending build context to Docker daemon 2.821MB 13:20:50 Step 1/22 : ARG BASE=alpine:3.15 13:20:50 Step 2/22 : FROM ${BASE} as builder 13:20:50 latest: Pulling from edgex-devops/edgex-gcc-base-arm64 13:20:50 9981e73032c8: Pulling fs layer 13:20:50 735ca4d71f2f: Pulling fs layer 13:20:51 9981e73032c8: Download complete 13:20:51 9981e73032c8: Pull complete 13:20:53 735ca4d71f2f: Verifying Checksum 13:20:53 735ca4d71f2f: Download complete 13:21:01 735ca4d71f2f: Pull complete 13:21:01 Digest: sha256:64a8cfb6b63eb8334e03faf33c26f2878668258f25af41e1fb2a2cad40f91f89 13:21:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest 13:21:01 ---> aede2dddcadd 13:21:01 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 13:21:02 ---> Running in 8718a619ad8d 13:21:03 Connecting to iotech.jfrog.io (63.32.116.203:443) 13:21:03 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 13:21:03 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 13:21:03 '/etc/apk/keys/alpine.dev.rsa.pub' saved 13:21:04 Removing intermediate container 8718a619ad8d 13:21:04 ---> bab2500c87af 13:21:04 Step 4/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main' >> /etc/apk/repositories 13:21:04 ---> Running in 2851945e877d 13:21:06 Removing intermediate container 2851945e877d 13:21:06 ---> b21e2ae30dab 13:21:06 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 13:21:06 ---> Running in e41717b23903 13:21:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 13:21:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 13:21:07 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main/aarch64/APKINDEX.tar.gz 13:21:08 WARNING: This apk-tools is OLD! Some packages might not function properly. 13:21:08 (1/33) Upgrading ncurses-terminfo-base (6.3_p20211120-r0 -> 6.3_p20211120-r1) 13:21:08 (2/33) Upgrading ncurses-libs (6.3_p20211120-r0 -> 6.3_p20211120-r1) 13:21:08 (3/33) Installing hiredis (1.0.2-r0) 13:21:08 (4/33) Installing hiredis-dev (1.0.2-r0) 13:21:09 (5/33) Installing libcbor (0.8.0-r0) 13:21:09 (6/33) Installing libcbor-dev (0.8.0-r0) 13:21:09 (7/33) Installing ncurses-dev (6.3_p20211120-r1) 13:21:09 (8/33) Installing paho-mqtt-c-dev-1.3 (1.3.10-r0) 13:21:10 (9/33) Installing util-linux (2.37.4-r0) 13:21:10 (10/33) Installing libblkid (2.37.4-r0) 13:21:10 (11/33) Installing libeconf (0.4.2-r0) 13:21:10 (12/33) Installing libuuid (2.37.4-r0) 13:21:10 (13/33) Installing libfdisk (2.37.4-r0) 13:21:10 (14/33) Installing libmount (2.37.4-r0) 13:21:10 (15/33) Installing libsmartcols (2.37.4-r0) 13:21:10 (16/33) Installing util-linux-misc (2.37.4-r0) 13:21:10 (17/33) Installing linux-pam (1.5.2-r0) 13:21:10 (18/33) Installing runuser (2.37.4-r0) 13:21:10 (19/33) Installing hexdump (2.37.4-r0) 13:21:10 (20/33) Installing uuidgen (2.37.4-r0) 13:21:10 (21/33) Installing blkid (2.37.4-r0) 13:21:10 (22/33) Installing sfdisk (2.37.4-r0) 13:21:10 (23/33) Installing mcookie (2.37.4-r0) 13:21:10 (24/33) Installing wipefs (2.37.4-r0) 13:21:10 (25/33) Installing cfdisk (2.37.4-r0) 13:21:10 (26/33) Installing flock (2.37.4-r0) 13:21:10 (27/33) Installing lsblk (2.37.4-r0) 13:21:10 (28/33) Installing libcap-ng (0.8.2-r1) 13:21:10 (29/33) Installing setpriv (2.37.4-r0) 13:21:10 (30/33) Installing logger (2.37.4-r0) 13:21:10 (31/33) Installing partx (2.37.4-r0) 13:21:10 (32/33) Installing findmnt (2.37.4-r0) 13:21:10 (33/33) Installing util-linux-dev (2.37.4-r0) 13:21:10 Executing busybox-1.34.1-r5.trigger 13:21:10 OK: 290 MiB in 108 packages 13:21:11 Removing intermediate container e41717b23903 13:21:11 ---> d9a7f91ac94a 13:21:11 Step 6/22 : RUN mkdir /tmp/sdk 13:21:12 ---> Running in 42bd9ed8ccc3 13:21:13 Removing intermediate container 42bd9ed8ccc3 13:21:13 ---> c679b6b65ae2 13:21:13 Step 7/22 : COPY VERSION /tmp/sdk 13:21:14 ---> 3d71193509bd 13:21:14 Step 8/22 : COPY src /tmp/sdk/src 13:21:15 ---> e838b6b93719 13:21:15 Step 9/22 : COPY include /tmp/sdk/include 13:21:15 ---> 9149b78ef066 13:21:15 Step 10/22 : COPY scripts /tmp/sdk/scripts 13:21:16 ---> 8569bb2d3da9 13:21:16 Step 11/22 : COPY LICENSE /tmp/sdk 13:21:16 ---> 0bdbe49ddca7 13:21:16 Step 12/22 : COPY Attribution.txt /tmp/sdk 13:21:17 ---> 885991df2658 13:21:17 Step 13/22 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 13:21:17 ---> Running in db15b6ada6e0 13:21:18 + CPPCHECK=false 13:21:18 + DOCGEN=false 13:21:18 + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' 13:21:18 + TOMLVER=SDK-0.2 13:21:18 + CUTILVER=1.2.2 13:21:18 + '[' 0 -gt 0 ] 13:21:18 + readlink -f ./scripts/build.sh 13:21:18 + dirname /tmp/sdk/scripts/build.sh 13:21:18 + dirname /tmp/sdk/scripts 13:21:18 + ROOT=/tmp/sdk 13:21:18 + cd /tmp/sdk 13:21:18 + '[' '!' -d deps ] 13:21:18 + mkdir deps 13:21:18 + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 13:21:18 + tar -C deps -z -x -f - 13:21:18 Connecting to github.com (140.82.112.4:443) 13:21:18 Connecting to codeload.github.com (140.82.112.10:443) 13:21:18 writing to stdout 13:21:18 - 100% |********************************| 16451 0:00:00 ETA 13:21:18 written to stdout 13:21:18 + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c 13:21:18 + + wgettar -O -C - deps https://github.com/IOTechSystems/iotech-c-utils/archive/v1.2.2.tar.gz -z 13:21:18 -x -f - 13:21:18 Connecting to github.com (140.82.112.4:443) 13:21:19 Connecting to codeload.github.com (140.82.112.10:443) 13:21:19 writing to stdout 13:21:19 - 100% |********************************| 189k 0:00:00 ETA 13:21:19 written to stdout 13:21:19 + mkdir -p src/c/iot 13:21:19 + 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 13:21:19 + cp deps/iotech-c-utils-1.2.2/src/c/defs.h.in src/c/iot 13:21:19 + cp deps/iotech-c-utils-1.2.2/src/c/yxml.h src/c/iot 13:21:19 + cp deps/iotech-c-utils-1.2.2/VERSION src/c/iot 13:21:19 + mkdir -p include/iot 13:21:19 + 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 13:21:19 + mkdir -p include/iot/os 13:21:19 + 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 13:21:19 + mkdir -p /tmp/sdk/build/release 13:21:19 + cd /tmp/sdk/build/release 13:21:19 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 13:21:19 -- The C compiler identification is GNU 10.3.1 13:21:19 -- Detecting C compiler ABI info 13:21:20 -- Detecting C compiler ABI info - done 13:21:20 -- Check for working C compiler: /usr/bin/cc - skipped 13:21:20 -- Detecting C compile features 13:21:20 -- Detecting C compile features - done 13:21:20 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 13:21:20 -- Found CURL: /usr/lib/libcurl.so (found version "7.80.0") 13:21:20 -- Found LIBYAML: /usr/lib/libyaml.so 13:21:20 -- Found LIBUUID: /usr/lib/libuuid.so 13:21:20 -- Found LIBCBOR: /usr/lib/libcbor.so 13:21:20 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 13:21:20 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 13:21:20 -- C SDK 0.0.0 for Linux 13:21:20 -- Performing Test CSDK_HAVE_ATOMIC 13:21:20 -- Performing Test CSDK_HAVE_ATOMIC - Success 13:21:21 -- Found Curses: /usr/lib/libcurses.so 13:21:21 -- Configuring done 13:21:21 -- Generating done 13:21:21 -- Build files have been written to: /tmp/sdk/build/release 13:21:21 + make all package 13:21:21 + tee release.log 13:21:21 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 13:21:22 [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 13:21:23 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 13:21:25 [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 13:21:26 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 13:21:26 [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o 13:21:27 [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 13:21:28 [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o 13:21:28 [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o 13:21:29 [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o 13:21:32 [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 13:21:32 [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 13:21:33 [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 13:21:34 [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 13:21:34 [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 13:21:35 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 13:21:35 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 13:21:38 [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 13:21:38 [ 27%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 13:21:39 [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 13:21:39 [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 13:21:40 [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 13:21:40 /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': 13:21:40 /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] 13:21:40 275 | const iot_component_factory_t * factory; 13:21:40 | ^~~~~~~ 13:21:41 [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 13:21:46 [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 13:21:46 [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 13:21:46 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 13:21:47 [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 13:21:48 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 13:21:48 [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 13:21:49 [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 13:21:50 [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 13:21:50 [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 13:21:51 [ 48%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o 13:21:51 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 13:21:54 [ 51%] Building C object c/CMakeFiles/csdk.dir/map.c.o 13:21:54 [ 52%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 13:21:56 [ 54%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 13:21:56 [ 55%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 13:22:01 [ 57%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 13:22:01 [ 58%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 13:22:02 [ 60%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 13:22:02 [ 61%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 13:22:04 [ 63%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 13:22:06 [ 64%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 13:22:06 [ 66%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 13:22:07 [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 13:22:08 [ 69%] Building C object c/CMakeFiles/csdk.dir/service.c.o 13:22:10 [ 70%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 13:22:15 [ 72%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 13:22:15 [ 73%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 13:22:16 [ 75%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 13:22:16 [ 76%] Linking C shared library libcsdk.so 13:22:16 [ 76%] Built target csdk 13:22:16 [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 13:22:17 [ 79%] Linking C executable template 13:22:18 [ 79%] Built target template 13:22:18 [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 13:22:18 [ 82%] Linking C executable device-counter 13:22:18 [ 82%] Built target device-counter 13:22:18 [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 13:22:19 [ 85%] Linking C executable device-random 13:22:19 [ 85%] Built target device-random 13:22:19 [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 13:22:20 [ 88%] Linking C executable device-gyro 13:22:20 [ 88%] Built target device-gyro 13:22:20 [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 13:22:21 [ 91%] Linking C executable device-bitfields 13:22:21 [ 91%] Built target device-bitfields 13:22:21 [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 13:22:22 [ 94%] Linking C executable template-discovery 13:22:22 [ 94%] Built target template-discovery 13:22:22 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 13:22:23 [ 97%] Linking C executable device-file 13:22:23 [ 97%] Built target device-file 13:22:23 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 13:22:24 [100%] Linking C executable device-terminal 13:22:24 [100%] Built target device-terminal 13:22:24 Run CPack packaging tool... 13:22:24 CPack: Create package using TGZ 13:22:24 CPack: Install projects 13:22:24 CPack: - Run preinstall target for: Csdk 13:22:25 CPack: - Install project: Csdk [] 13:22:25 CPack: Create package 13:22:25 CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. 13:22:25 + '[' false '=' true ] 13:22:25 + '[' false '=' true ] 13:22:25 + mkdir -p /tmp/sdk/build/debug 13:22:25 + cd /tmp/sdk/build/debug 13:22:25 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 13:22:26 -- The C compiler identification is GNU 10.3.1 13:22:26 -- Detecting C compiler ABI info 13:22:26 -- Detecting C compiler ABI info - done 13:22:26 -- Check for working C compiler: /usr/bin/cc - skipped 13:22:26 -- Detecting C compile features 13:22:26 -- Detecting C compile features - done 13:22:26 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 13:22:26 -- Found CURL: /usr/lib/libcurl.so (found version "7.80.0") 13:22:26 -- Found LIBYAML: /usr/lib/libyaml.so 13:22:26 -- Found LIBUUID: /usr/lib/libuuid.so 13:22:26 -- Found LIBCBOR: /usr/lib/libcbor.so 13:22:26 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 13:22:26 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 13:22:26 -- C SDK 0.0.0 for Linux 13:22:26 -- Performing Test CSDK_HAVE_ATOMIC 13:22:27 -- Performing Test CSDK_HAVE_ATOMIC - Success 13:22:27 -- Found Curses: /usr/lib/libcurses.so 13:22:27 -- Configuring done 13:22:27 -- Generating done 13:22:27 -- Build files have been written to: /tmp/sdk/build/debug 13:22:27 + make 13:22:27 + tee debug.log 13:22:27 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 13:22:28 [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 13:22:28 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 13:22:29 [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 13:22:29 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 13:22:29 [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o 13:22:30 [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 13:22:30 [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o 13:22:30 [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o 13:22:31 [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o 13:22:32 [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 13:22:32 [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 13:22:32 [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 13:22:33 [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 13:22:33 [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 13:22:33 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 13:22:33 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 13:22:34 [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 13:22:35 [ 27%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 13:22:35 [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 13:22:35 [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 13:22:35 [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 13:22:35 /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': 13:22:35 /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] 13:22:35 275 | const iot_component_factory_t * factory; 13:22:35 | ^~~~~~~ 13:22:36 [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 13:22:37 [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 13:22:37 [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 13:22:37 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 13:22:38 [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 13:22:38 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 13:22:38 [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 13:22:39 [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 13:22:39 [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 13:22:39 [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 13:22:39 [ 48%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o 13:22:39 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 13:22:40 [ 51%] Building C object c/CMakeFiles/csdk.dir/map.c.o 13:22:40 [ 52%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 13:22:41 [ 54%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 13:22:41 [ 55%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 13:22:42 [ 57%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 13:22:42 [ 58%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 13:22:43 [ 60%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 13:22:43 [ 61%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 13:22:43 [ 63%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 13:22:45 [ 64%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 13:22:45 [ 66%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 13:22:46 [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 13:22:46 [ 69%] Building C object c/CMakeFiles/csdk.dir/service.c.o 13:22:47 [ 70%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 13:22:48 [ 72%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 13:22:48 [ 73%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 13:22:48 [ 75%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 13:22:48 [ 76%] Linking C shared library libcsdk.so 13:22:49 [ 76%] Built target csdk 13:22:49 [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 13:22:49 [ 79%] Linking C executable template 13:22:49 [ 79%] Built target template 13:22:49 [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 13:22:50 [ 82%] Linking C executable device-counter 13:22:50 [ 82%] Built target device-counter 13:22:50 [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 13:22:50 [ 85%] Linking C executable device-random 13:22:51 [ 85%] Built target device-random 13:22:51 [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 13:22:51 [ 88%] Linking C executable device-gyro 13:22:51 [ 88%] Built target device-gyro 13:22:51 [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 13:22:52 [ 91%] Linking C executable device-bitfields 13:22:52 [ 91%] Built target device-bitfields 13:22:52 [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 13:22:52 [ 94%] Linking C executable template-discovery 13:22:52 [ 94%] Built target template-discovery 13:22:52 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 13:22:53 [ 97%] Linking C executable device-file 13:22:53 [ 97%] Built target device-file 13:22:53 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 13:22:54 [100%] Linking C executable device-terminal 13:22:54 [100%] Built target device-terminal 13:22:54 make: Entering directory '/tmp/sdk/build/release' 13:22:54 make[1]: Entering directory '/tmp/sdk/build/release' 13:22:54 make[2]: Entering directory '/tmp/sdk/build/release' 13:22:54 make[2]: Leaving directory '/tmp/sdk/build/release' 13:22:54 [ 76%] Built target csdk 13:22:54 make[2]: Entering directory '/tmp/sdk/build/release' 13:22:54 make[2]: Leaving directory '/tmp/sdk/build/release' 13:22:54 [ 79%] Built target template 13:22:54 make[2]: Entering directory '/tmp/sdk/build/release' 13:22:54 make[2]: Leaving directory '/tmp/sdk/build/release' 13:22:54 [ 82%] Built target device-counter 13:22:54 make[2]: Entering directory '/tmp/sdk/build/release' 13:22:54 make[2]: Leaving directory '/tmp/sdk/build/release' 13:22:54 [ 85%] Built target device-random 13:22:54 make[2]: Entering directory '/tmp/sdk/build/release' 13:22:54 make[2]: Leaving directory '/tmp/sdk/build/release' 13:22:54 [ 88%] Built target device-gyro 13:22:54 make[2]: Entering directory '/tmp/sdk/build/release' 13:22:54 make[2]: Leaving directory '/tmp/sdk/build/release' 13:22:54 [ 91%] Built target device-bitfields 13:22:54 make[2]: Entering directory '/tmp/sdk/build/release' 13:22:54 make[2]: Leaving directory '/tmp/sdk/build/release' 13:22:54 [ 94%] Built target template-discovery 13:22:54 make[2]: Entering directory '/tmp/sdk/build/release' 13:22:54 make[2]: Leaving directory '/tmp/sdk/build/release' 13:22:54 [ 97%] Built target device-file 13:22:54 make[2]: Entering directory '/tmp/sdk/build/release' 13:22:54 make[2]: Leaving directory '/tmp/sdk/build/release' 13:22:54 [100%] Built target device-terminal 13:22:54 make[1]: Leaving directory '/tmp/sdk/build/release' 13:22:54 Install the project... 13:22:54 -- Install configuration: "Release" 13:22:54 -- Installing: /usr/local/lib/libcsdk.so 13:22:54 -- Installing: /usr/local/include 13:22:54 -- Installing: /usr/local/include/devsdk 13:22:54 -- Installing: /usr/local/include/devsdk/devsdk.h 13:22:54 -- Installing: /usr/local/include/devsdk/devsdk-base.h 13:22:54 -- Installing: /usr/local/include/edgex 13:22:54 -- Installing: /usr/local/include/edgex/rest-server.h 13:22:54 -- Installing: /usr/local/include/edgex/edgex.h 13:22:54 -- Installing: /usr/local/include/edgex/edgex-base.h 13:22:54 -- Installing: /usr/local/include/edgex/devices.h 13:22:54 -- Installing: /usr/local/include/edgex/profiles.h 13:22:54 -- Installing: /usr/local/include/edgex/csdk-defs.h 13:22:54 -- Installing: /usr/local/include/iot 13:22:54 -- Installing: /usr/local/include/iot/threadpool.h 13:22:54 -- Installing: /usr/local/include/iot/defs.h 13:22:54 -- Installing: /usr/local/include/iot/time.h 13:22:54 -- Installing: /usr/local/include/iot/base64.h 13:22:54 -- Installing: /usr/local/include/iot/component.h 13:22:54 -- Installing: /usr/local/include/iot/scheduler.h 13:22:54 -- Installing: /usr/local/include/iot/config.h 13:22:54 -- Installing: /usr/local/include/iot/container.h 13:22:54 -- Installing: /usr/local/include/iot/uuid.h 13:22:54 -- Installing: /usr/local/include/iot/os.h 13:22:54 -- Installing: /usr/local/include/iot/thread.h 13:22:54 -- Installing: /usr/local/include/iot/data.h 13:22:54 -- Installing: /usr/local/include/iot/typecode.h 13:22:54 -- Installing: /usr/local/include/iot/hash.h 13:22:54 -- Installing: /usr/local/include/iot/logger.h 13:22:54 -- Installing: /usr/local/include/iot/os 13:22:54 -- Installing: /usr/local/include/iot/os/zephyr.h 13:22:54 -- Installing: /usr/local/include/iot/os/macos.h 13:22:54 -- Installing: /usr/local/include/iot/os/linux.h 13:22:54 -- Installing: /usr/local/include/iot/json.h 13:22:54 -- Installing: /usr/local/include/iot/iot.h 13:22:54 -- Installing: /usr/local/share/device-sdk-c/LICENSE 13:22:54 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 13:22:54 make: Leaving directory '/tmp/sdk/build/release' 13:22:56 Removing intermediate container db15b6ada6e0 13:22:56 ---> bc4415578743 13:22:56 Step 14/22 : FROM ${BASE} 13:22:56 ---> aede2dddcadd 13:22:56 Step 15/22 : LABEL maintainer="IOTech " 13:22:56 ---> Running in 6c2124c36424 13:22:57 Removing intermediate container 6c2124c36424 13:22:57 ---> e57850d7e09b 13:22:57 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 13:22:57 ---> Running in 8d2042274939 13:22:58 Connecting to iotech.jfrog.io (34.248.37.48:443) 13:22:58 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 13:22:58 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 13:22:58 '/etc/apk/keys/alpine.dev.rsa.pub' saved 13:22:59 Removing intermediate container 8d2042274939 13:22:59 ---> 39e5b9f1e7e2 13:22:59 Step 17/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main' >> /etc/apk/repositories 13:22:59 ---> Running in 5bb32d6b5909 13:23:00 Removing intermediate container 5bb32d6b5909 13:23:00 ---> 20f7c1008821 13:23:00 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 13:23:00 ---> Running in e4bd8c005856 13:23:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 13:23:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 13:23:02 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main/aarch64/APKINDEX.tar.gz 13:23:03 WARNING: This apk-tools is OLD! Some packages might not function properly. 13:23:03 (1/6) Installing curl (7.80.0-r2) 13:23:03 (2/6) Installing hiredis (1.0.2-r0) 13:23:03 (3/6) Installing hiredis-dev (1.0.2-r0) 13:23:03 (4/6) Installing libcbor (0.8.0-r0) 13:23:03 (5/6) Installing libuuid (2.37.4-r0) 13:23:03 (6/6) Installing paho-mqtt-c-dev-1.3 (1.3.10-r0) 13:23:04 Executing busybox-1.34.1-r5.trigger 13:23:04 OK: 278 MiB in 83 packages 13:23:05 Removing intermediate container e4bd8c005856 13:23:05 ---> fe6a700c2b43 13:23:05 Step 19/22 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot 13:23:05 ---> 282487e55352 13:23:05 Step 20/22 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 13:23:06 ---> 7123ed498b91 13:23:06 Step 21/22 : COPY --from=builder /usr/local/lib /usr/local/lib 13:23:06 ---> 420c05be9ae1 13:23:06 Step 22/22 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 13:23:07 ---> 095e1f102340 13:23:07 Successfully built 095e1f102340 13:23:07 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 13:23:08 + docker inspect -f . ci-base-image-arm64 13:23:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:23:08 prd-ubuntu20.04-docker-arm64-4c-16g-20593 does not seem to be running inside a container 13:23:08 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/1 -v /w/workspace/device-sdk-c/1:/w/workspace/device-sdk-c/1:rw,z -v /w/workspace/device-sdk-c/1@tmp:/w/workspace/device-sdk-c/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 13:23:09 $ docker top 5483e02c9dd2331973504824bf98befb1bf305ed9c82dfc7bb1cd4c80db70182 -eo pid,comm [Pipeline] { [Pipeline] sh 13:23:10 + make test 13:23:10 echo "make test" 13:23:10 make test [Pipeline] } 13:23:10 $ docker stop --time=1 5483e02c9dd2331973504824bf98befb1bf305ed9c82dfc7bb1cd4c80db70182 13:23:12 $ docker rm -f 5483e02c9dd2331973504824bf98befb1bf305ed9c82dfc7bb1cd4c80db70182 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 13:23:13 + sudo chown -R jenkins:jenkins . [Pipeline] sh 13:23:13 + ls -al . 13:23:13 total 204 13:23:13 drwxrwxr-x 8 jenkins jenkins 4096 Jul 20 13:20 . 13:23:13 drwxrwxr-x 4 jenkins jenkins 4096 Jul 20 13:20 .. 13:23:13 drwxrwxr-x 8 jenkins jenkins 4096 Jul 20 13:20 .git 13:23:13 drwxrwxr-x 2 jenkins jenkins 4096 Jul 20 13:20 .github 13:23:13 -rw-rw-r-- 1 jenkins jenkins 176 Jul 20 13:20 .gitignore 13:23:13 -rw-rw-r-- 1 jenkins jenkins 3104 Jul 20 13:20 Attribution.txt 13:23:13 -rw-rw-r-- 1 jenkins jenkins 8420 Jul 20 13:20 CHANGES 13:23:13 -rw-rw-r-- 1 jenkins jenkins 108574 Jul 20 13:20 Doxyfile 13:23:13 -rw-rw-r-- 1 jenkins jenkins 677 Jul 20 13:20 GOVERNANCE.md 13:23:13 -rw-rw-r-- 1 jenkins jenkins 784 Jul 20 13:20 Jenkinsfile 13:23:13 -rw-rw-r-- 1 jenkins jenkins 10174 Jul 20 13:20 LICENSE 13:23:13 -rw-rw-r-- 1 jenkins jenkins 444 Jul 20 13:20 Makefile 13:23:13 -rw-rw-r-- 1 jenkins jenkins 618 Jul 20 13:20 OWNERS.md 13:23:13 -rw-rw-r-- 1 jenkins jenkins 4086 Jul 20 13:20 README.md 13:23:13 -rw-rw-r-- 1 jenkins jenkins 7422 Jul 20 13:20 README.v2.md 13:23:13 -rw-rw-r-- 1 jenkins jenkins 5 Jul 20 13:16 VERSION 13:23:13 drwxrwxr-x 2 jenkins jenkins 4096 Jul 20 13:20 docs 13:23:13 drwxrwxr-x 4 jenkins jenkins 4096 Jul 20 13:20 include 13:23:13 drwxrwxr-x 2 jenkins jenkins 4096 Jul 20 13:20 scripts 13:23:13 drwxrwxr-x 4 jenkins jenkins 4096 Jul 20 13:20 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:23:14 + 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=95f264ea296da9579d75e464e42e3355eeaaa3c8 --label arch=arm64 --label version=0.0.0 . 13:23:14 Sending build context to Docker daemon 2.821MB 13:23:14 Step 1/17 : ARG BASE=alpine:3.15 13:23:14 Step 2/17 : FROM ${BASE} 13:23:14 ---> 095e1f102340 13:23:14 Step 3/17 : LABEL maintainer="IOTech " 13:23:14 ---> Running in 0415acd920ec 13:23:14 Removing intermediate container 0415acd920ec 13:23:14 ---> fc1e048555c5 13:23:14 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 13:23:14 ---> Running in e532b57e0ab3 13:23:15 Connecting to iotech.jfrog.io (54.155.90.35:443) 13:23:16 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 13:23:16 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 13:23:16 '/etc/apk/keys/alpine.dev.rsa.pub' saved 13:23:17 Removing intermediate container e532b57e0ab3 13:23:17 ---> 239769a616a3 13:23:17 Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main' >> /etc/apk/repositories 13:23:17 ---> Running in 437dc6a5cd89 13:23:18 Removing intermediate container 437dc6a5cd89 13:23:18 ---> eaf383dcd5bc 13:23:18 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 13:23:18 ---> Running in 7adc2b3e39e8 13:23:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 13:23:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 13:23:20 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main/aarch64/APKINDEX.tar.gz 13:23:20 WARNING: This apk-tools is OLD! Some packages might not function properly. 13:23:20 (1/28) Upgrading ncurses-terminfo-base (6.3_p20211120-r0 -> 6.3_p20211120-r1) 13:23:20 (2/28) Upgrading ncurses-libs (6.3_p20211120-r0 -> 6.3_p20211120-r1) 13:23:20 (3/28) Installing libcbor-dev (0.8.0-r0) 13:23:20 (4/28) Installing ncurses-dev (6.3_p20211120-r1) 13:23:20 (5/28) Installing util-linux (2.37.4-r0) 13:23:20 (6/28) Installing libblkid (2.37.4-r0) 13:23:20 (7/28) Installing libeconf (0.4.2-r0) 13:23:20 (8/28) Installing libfdisk (2.37.4-r0) 13:23:20 (9/28) Installing libmount (2.37.4-r0) 13:23:20 (10/28) Installing libsmartcols (2.37.4-r0) 13:23:20 (11/28) Installing util-linux-misc (2.37.4-r0) 13:23:21 (12/28) Installing linux-pam (1.5.2-r0) 13:23:21 (13/28) Installing runuser (2.37.4-r0) 13:23:21 (14/28) Installing hexdump (2.37.4-r0) 13:23:21 (15/28) Installing uuidgen (2.37.4-r0) 13:23:21 (16/28) Installing blkid (2.37.4-r0) 13:23:21 (17/28) Installing sfdisk (2.37.4-r0) 13:23:21 (18/28) Installing mcookie (2.37.4-r0) 13:23:21 (19/28) Installing wipefs (2.37.4-r0) 13:23:21 (20/28) Installing cfdisk (2.37.4-r0) 13:23:21 (21/28) Installing flock (2.37.4-r0) 13:23:21 (22/28) Installing lsblk (2.37.4-r0) 13:23:21 (23/28) Installing libcap-ng (0.8.2-r1) 13:23:21 (24/28) Installing setpriv (2.37.4-r0) 13:23:21 (25/28) Installing logger (2.37.4-r0) 13:23:21 (26/28) Installing partx (2.37.4-r0) 13:23:21 (27/28) Installing findmnt (2.37.4-r0) 13:23:21 (28/28) Installing util-linux-dev (2.37.4-r0) 13:23:21 Executing busybox-1.34.1-r5.trigger 13:23:21 OK: 290 MiB in 109 packages 13:23:22 Removing intermediate container 7adc2b3e39e8 13:23:22 ---> 7feae407052e 13:23:22 Step 7/17 : COPY VERSION /edgex-c-sdk/ 13:23:23 ---> c1a7eb75f695 13:23:23 Step 8/17 : COPY src /edgex-c-sdk/src/ 13:23:24 ---> f9e1b1452919 13:23:24 Step 9/17 : COPY include /edgex-c-sdk/include/ 13:23:24 ---> 4ea72b3353fd 13:23:24 Step 10/17 : COPY scripts /edgex-c-sdk/scripts 13:23:25 ---> 3a00a89b71cc 13:23:25 Step 11/17 : COPY LICENSE /edgex-c-sdk/ 13:23:25 ---> 73987de4f6e2 13:23:25 Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ 13:23:25 ---> ce4d927ca143 13:23:25 Step 13/17 : WORKDIR /edgex-c-sdk 13:23:26 ---> Running in ae47f6296265 13:23:26 Removing intermediate container ae47f6296265 13:23:26 ---> 987b9b9da535 13:23:26 Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 13:23:26 ---> Running in 042e6c061f19 13:23:26 Removing intermediate container 042e6c061f19 13:23:26 ---> 861eafff7b5c 13:23:26 Step 15/17 : LABEL arch=arm64 13:23:26 ---> Running in f6c376493cdd 13:23:27 Removing intermediate container f6c376493cdd 13:23:27 ---> bfe88bc2919e 13:23:27 Step 16/17 : LABEL git_sha=95f264ea296da9579d75e464e42e3355eeaaa3c8 13:23:27 ---> Running in db6272bfa3c8 13:23:27 Removing intermediate container db6272bfa3c8 13:23:27 ---> 121c61411dbd 13:23:27 Step 17/17 : LABEL version=0.0.0 13:23:27 ---> Running in 241f59d76abd 13:23:27 Removing intermediate container 241f59d76abd 13:23:27 ---> 194775d3638a 13:23:27 [Warning] One or more build-args [ARCH MAKE] were not consumed 13:23:27 Successfully built 194775d3638a 13:23:27 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 13:23:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:23:28 13:23:28 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:23:29 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:23:29 arm64: Pulling from edgex-lftools-log-publisher 13:23:29 8998bd30e6a1: Pulling fs layer 13:23:29 04944245beec: Pulling fs layer 13:23:29 699f458cf7ca: Pulling fs layer 13:23:29 765212b225bb: Pulling fs layer 13:23:29 f23df028b6ca: Pulling fs layer 13:23:29 d65c8cfc05b1: Pulling fs layer 13:23:29 2437ff75d9bd: Pulling fs layer 13:23:29 765212b225bb: Waiting 13:23:29 f23df028b6ca: Waiting 13:23:29 d65c8cfc05b1: Waiting 13:23:29 2437ff75d9bd: Waiting 13:23:29 04944245beec: Verifying Checksum 13:23:29 04944245beec: Download complete 13:23:29 765212b225bb: Verifying Checksum 13:23:29 765212b225bb: Download complete 13:23:29 f23df028b6ca: Verifying Checksum 13:23:29 f23df028b6ca: Download complete 13:23:29 d65c8cfc05b1: Verifying Checksum 13:23:29 d65c8cfc05b1: Download complete 13:23:29 699f458cf7ca: Verifying Checksum 13:23:29 699f458cf7ca: Download complete 13:23:29 8998bd30e6a1: Verifying Checksum 13:23:29 8998bd30e6a1: Download complete 13:23:32 2437ff75d9bd: Download complete 13:23:34 8998bd30e6a1: Pull complete 13:23:34 04944245beec: Pull complete 13:23:36 699f458cf7ca: Pull complete 13:23:36 765212b225bb: Pull complete 13:23:37 f23df028b6ca: Pull complete 13:23:37 d65c8cfc05b1: Pull complete 13:23:52 2437ff75d9bd: Pull complete 13:23:52 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 13:23:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:23:52 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:23:53 prd-ubuntu20.04-docker-arm64-4c-16g-20593 does not seem to be running inside a container 13:23:53 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-c/1 -v /w/workspace/device-sdk-c/1:/w/workspace/device-sdk-c/1:rw,z -v /w/workspace/device-sdk-c/1@tmp:/w/workspace/device-sdk-c/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 13:23:55 $ docker top 7c3b04d74265587e746795643367bb2265408ba9ea02169dc2a92bbfe66c8441 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:23:56 ---> job-cost.sh 13:23:56 lf-activate-venv: SKIPPING 13:23:56 INFO: No Stack... 13:23:57 INFO: Retrieving Pricing Info for: v3-standard-4 13:23:57 INFO: Archiving Costs [Pipeline] sh 13:23:58 + cat /w/workspace/device-sdk-c/1/archives/cost.csv 13:23:58 + cut -d, -f6 [Pipeline] lock 13:23:58 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-427-1-stack-cost] 13:23:58 Resource [jenkins-edgexfoundry-device-sdk-c-PR-427-1-stack-cost] did not exist. Created. 13:23:58 Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-427-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 13:23:59 /w/workspace/device-sdk-c/1@tmp/durable-8734dbcc/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 13:24:00 + echo total: 0.10999999940395355 [Pipeline] stash 13:24:00 Warning: overwriting stash ‘stack-cost’ 13:24:00 Stashed 1 file(s) [Pipeline] } 13:24:00 Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-427-1-stack-cost] [Pipeline] // lock [Pipeline] } 13:24:00 $ docker stop --time=1 7c3b04d74265587e746795643367bb2265408ba9ea02169dc2a92bbfe66c8441 13:24:02 $ docker rm -f 7c3b04d74265587e746795643367bb2265408ba9ea02169dc2a92bbfe66c8441 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 13:24:04 + [ -d /w/workspace/edgexfoundry_device-sdk-c_PR-427/archives ] 13:24:04 + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-427/archives 13:24:04 total 16 13:24:04 drwxr-xr-x 3 root root 4096 Jul 20 13:17 . 13:24:04 drwxrwxr-x 10 jenkins jenkins 4096 Jul 20 13:17 .. 13:24:04 drwxr-xr-x 2 root root 4096 Jul 20 13:17 cost 13:24:04 -rw-r--r-- 1 root root 83 Jul 20 13:17 cost.csv 13:24:04 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_PR-427/archives 13:24:04 + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-427/archives 13:24:04 total 16 13:24:04 drwxr-xr-x 3 jenkins jenkins 4096 Jul 20 13:17 . 13:24:04 drwxrwxr-x 10 jenkins jenkins 4096 Jul 20 13:17 .. 13:24:04 drwxr-xr-x 2 jenkins jenkins 4096 Jul 20 13:17 cost 13:24:04 -rw-r--r-- 1 jenkins jenkins 83 Jul 20 13:17 cost.csv [Pipeline] libraryResource [Pipeline] sh 13:24:04 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 13:24:05 ---> package-listing.sh 13:24:05 ++ facter osfamily 13:24:05 ++ tr '[:upper:]' '[:lower:]' 13:24:05 + OS_FAMILY=debian 13:24:05 + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-427 13:24:05 + START_PACKAGES=/tmp/packages_start.txt 13:24:05 + END_PACKAGES=/tmp/packages_end.txt 13:24:05 + DIFF_PACKAGES=/tmp/packages_diff.txt 13:24:05 + PACKAGES=/tmp/packages_start.txt 13:24:05 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-427 ']' 13:24:05 + PACKAGES=/tmp/packages_end.txt 13:24:05 + case "${OS_FAMILY}" in 13:24:05 + dpkg -l 13:24:05 + grep '^ii' 13:24:05 + '[' -f /tmp/packages_start.txt ']' 13:24:05 + '[' -f /tmp/packages_end.txt ']' 13:24:05 + diff /tmp/packages_start.txt /tmp/packages_end.txt 13:24:05 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-427 ']' 13:24:05 + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-427/archives/ 13:24:05 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-427/archives/ [Pipeline] echo 13:24:05 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-c_PR-427/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 13:24:05 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:24:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:24:06 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:24:06 prd-ubuntu20.04-docker-8c-8g-20592 does not seem to be running inside a container 13:24:06 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-c_PR-427/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-c_PR-427 -v /w/workspace/edgexfoundry_device-sdk-c_PR-427:/w/workspace/edgexfoundry_device-sdk-c_PR-427:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-427@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-427@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 13:24:06 $ docker top faa0d2dc73b2a243058d170d068d32cdf641a5cde4bda72d599e8876af56549b -eo pid,comm [Pipeline] { [Pipeline] sh 13:24:07 + touch /tmp/pre-build-complete [Pipeline] sh 13:24:07 + mkdir -p /var/log/sysstat [Pipeline] sh 13:24:07 + ls /var/log/sa-host 13:24:07 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:24:08 provisioning config files... 13:24:08 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-427@tmp/config4660541045036822496tmp [Pipeline] { [Pipeline] echo 13:24:08 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 13:24:08 ---> create-netrc.sh [Pipeline] } 13:24:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 13:24:08 ---> python-tools-install.sh [Pipeline] echo 13:24:08 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 13:24:09 ---> sudo-logs.sh 13:24:09 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 13:24:09 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 13:24:09 ---> job-cost.sh 13:24:09 lf-activate-venv: SKIPPING 13:24:09 DEBUG: total: 0.2199999988079071 13:24:09 INFO: Retrieving Stack Cost... 13:24:10 INFO: Retrieving Pricing Info for: v3-standard-8 13:24:10 INFO: Archiving Costs [Pipeline] echo 13:24:10 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 13:24:10 ---> logs-deploy.sh 13:24:10 lf-activate-venv: SKIPPING 13:24:10 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-427/1 13:24:10 INFO: archiving workspace using pattern(s): 13:24:11 Archives upload complete. 13:24:11 INFO: archiving logs to Nexus 13:24:12 ---> uname -a: 13:24:12 Linux prd-ubuntu20-04-docker-8c-8g-20592 5.4.0-94-generic #106-Ubuntu SMP Thu Jan 6 23:58:14 UTC 2022 x86_64 GNU/Linux 13:24:12 13:24:12 13:24:12 ---> lscpu: 13:24:12 Architecture: x86_64 13:24:12 CPU op-mode(s): 32-bit, 64-bit 13:24:12 Byte Order: Little Endian 13:24:12 Address sizes: 40 bits physical, 48 bits virtual 13:24:12 CPU(s): 8 13:24:12 On-line CPU(s) list: 0-7 13:24:12 Thread(s) per core: 1 13:24:12 Core(s) per socket: 1 13:24:12 Socket(s): 8 13:24:12 NUMA node(s): 1 13:24:12 Vendor ID: AuthenticAMD 13:24:12 CPU family: 23 13:24:12 Model: 49 13:24:12 Model name: AMD EPYC-Rome Processor 13:24:12 Stepping: 0 13:24:12 CPU MHz: 2799.998 13:24:12 BogoMIPS: 5599.99 13:24:12 Virtualization: AMD-V 13:24:12 Hypervisor vendor: KVM 13:24:12 Virtualization type: full 13:24:12 L1d cache: 256 KiB 13:24:12 L1i cache: 256 KiB 13:24:12 L2 cache: 4 MiB 13:24:12 L3 cache: 128 MiB 13:24:12 NUMA node0 CPU(s): 0-7 13:24:12 Vulnerability Itlb multihit: Not affected 13:24:12 Vulnerability L1tf: Not affected 13:24:12 Vulnerability Mds: Not affected 13:24:12 Vulnerability Meltdown: Not affected 13:24:12 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 13:24:12 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 13:24:12 Vulnerability Spectre v2: Mitigation; Full AMD retpoline, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 13:24:12 Vulnerability Srbds: Not affected 13:24:12 Vulnerability Tsx async abort: Not affected 13:24:12 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities 13:24:12 13:24:12 13:24:12 ---> nproc: 13:24:12 8 13:24:12 13:24:12 13:24:12 ---> df -h: 13:24:12 Filesystem Size Used Avail Use% Mounted on 13:24:12 overlay 155G 9.8G 146G 7% / 13:24:12 tmpfs 64M 0 64M 0% /dev 13:24:12 tmpfs 16G 0 16G 0% /sys/fs/cgroup 13:24:12 shm 64M 0 64M 0% /dev/shm 13:24:12 /dev/vda1 155G 9.8G 146G 7% /facter-os 13:24:12 13:24:12