Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of TuhinDasgupta-eaton for edgexfoundry/device-sdk-c Loading trusted files from base branch main at 3bd72eafd135fc13cc0388e2e4a2395f7020de89 rather than 2ab919ba902543e8751b24cbae806de0a32484ea Obtained Jenkinsfile from 3bd72eafd135fc13cc0388e2e4a2395f7020de89 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-ssh2372971660250258785.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision e40317f62605a4f3b5f0b8a3ca7537e8fb1ff910 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-ssh14883440727457591236.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 e40317f62605a4f3b5f0b8a3ca7537e8fb1ff910 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-444/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-444/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12678775053873275325.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision e40317f62605a4f3b5f0b8a3ca7537e8fb1ff910 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f e40317f62605a4f3b5f0b8a3ca7537e8fb1ff910 # timeout=10 Commit message: "Merge pull request #433 from ernestojeda/release-vanity-tag" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh8350379705990163726.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-444/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-444/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh15805257218590407563.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildCApp] RAW Config: [project:device-sdk-c, dockerBuildFilePath:scripts/Dockerfile.alpine-base, dockerFilePath:scripts/Dockerfile.alpine, pushImage:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildCApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-c-settings PROJECT: device-sdk-c USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build DOCKER_FILE_PATH: scripts/Dockerfile.alpine DOCKER_BUILD_FILE_PATH: scripts/Dockerfile.alpine-base DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-3298 in /w/workspace/edgexfoundry_device-sdk-c_PR-444 [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-444 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/444/head:refs/remotes/origin/PR-444 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 3bd72eafd135fc13cc0388e2e4a2395f7020de89 into PR head commit 2ab919ba902543e8751b24cbae806de0a32484ea Merge succeeded, producing df6cc074cb5f9ff3253d11a4561a9f31fa6c824e Checking out Revision df6cc074cb5f9ff3253d11a4561a9f31fa6c824e (PR-444) > git config core.sparsecheckout # timeout=10 > git checkout -f 2ab919ba902543e8751b24cbae806de0a32484ea # 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 3bd72eafd135fc13cc0388e2e4a2395f7020de89 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f df6cc074cb5f9ff3253d11a4561a9f31fa6c824e # timeout=10 Commit message: "Merge commit '3bd72eafd135fc13cc0388e2e4a2395f7020de89' into HEAD" First time build. Skipping changelog. > git rev-list --no-walk 842193bb75d582665ce2c7684ed7c020d3118fa9 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 18:55:32 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 18:55:32 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 18:55:32 ========================================================= 18:55:32 EdgeX Global Pipelines Version Info 18:55:32 ========================================================= [Pipeline] libraryResource [Pipeline] sh 18:55:33 ------------------- 18:55:33 stable info: 18:55:33 ------------------- 18:55:33 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 18:55:33 Commit SHA: e40317f62605a4f3b5f0b8a3ca7537e8fb1ff910 18:55:33 Message: update stable to v1.0.252 18:55:34 ------------------- 18:55:34 experimental info: 18:55:34 ------------------- 18:55:34 Commited By: **** collab-it+edgex@linuxfoundation.org 18:55:34 Commit SHA: e40317f62605a4f3b5f0b8a3ca7537e8fb1ff910 18:55:34 Message: update experimental to v1.0.252 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 18:55:34 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo 18:55:34 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo 18:55:34 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 18:55:34 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 18:55:34 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 18:55:34 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo 18:55:34 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo 18:55:34 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 18:55:34 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 18:55:34 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo 18:55:34 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 18:55:34 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 18:55:34 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 18:55:34 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 18:55:34 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 18:55:34 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 18:55:34 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 18:55:34 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-444 [Pipeline] echo 18:55:34 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-444 [Pipeline] echo 18:55:34 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-444 [Pipeline] echo 18:55:34 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = df6cc074cb5f9ff3253d11a4561a9f31fa6c824e [Pipeline] echo 18:55:34 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = df6cc07 [Pipeline] echo 18:55:34 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:55:34 provisioning config files... 18:55:34 copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-444@tmp/config5125691855793149072tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:55:34 ---> docker-login.sh 18:55:34 nexus3.edgexfoundry.org:10001 18:55:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:55:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:55:35 Configure a credential helper to remove this warning. See 18:55:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:55:35 18:55:35 Login Succeeded 18:55:35 nexus3.edgexfoundry.org:10002 18:55:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:55:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:55:35 Configure a credential helper to remove this warning. See 18:55:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:55:35 18:55:35 Login Succeeded 18:55:35 nexus3.edgexfoundry.org:10003 18:55:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:55:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:55:35 Configure a credential helper to remove this warning. See 18:55:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:55:35 18:55:35 Login Succeeded 18:55:35 nexus3.edgexfoundry.org:10004 18:55:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:55:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:55:35 Configure a credential helper to remove this warning. See 18:55:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:55:35 18:55:35 Login Succeeded 18:55:35 docker.io 18:55:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:55:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:55:36 Configure a credential helper to remove this warning. See 18:55:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:55:36 18:55:36 Login Succeeded 18:55:36 ---> docker-login.sh ends [Pipeline] } 18:55:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build LTS Release Image) [Pipeline] sh 18:55:36 + git rev-list -1 --merges df6cc074cb5f9ff3253d11a4561a9f31fa6c824e~1..df6cc074cb5f9ff3253d11a4561a9f31fa6c824e [Pipeline] echo 18:55:36 -----------> git rev-list -1 --merges df6cc074cb5f9ff3253d11a4561a9f31fa6c824e~1..df6cc074cb5f9ff3253d11a4561a9f31fa6c824e df6cc074cb5f9ff3253d11a4561a9f31fa6c824e 18:55:36 df6cc074cb5f9ff3253d11a4561a9f31fa6c824e [false] [Pipeline] sh 18:55:36 + git log --format=format:%s -1 df6cc074cb5f9ff3253d11a4561a9f31fa6c824e [Pipeline] echo 18:55:36 ========================================================= 18:55:36 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 18:55:36 ========================================================= 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 18:55:37 + git rev-list -1 --merges df6cc074cb5f9ff3253d11a4561a9f31fa6c824e~1..df6cc074cb5f9ff3253d11a4561a9f31fa6c824e [Pipeline] echo 18:55:37 -----------> git rev-list -1 --merges df6cc074cb5f9ff3253d11a4561a9f31fa6c824e~1..df6cc074cb5f9ff3253d11a4561a9f31fa6c824e df6cc074cb5f9ff3253d11a4561a9f31fa6c824e 18:55:37 df6cc074cb5f9ff3253d11a4561a9f31fa6c824e [false] [Pipeline] sh 18:55:37 + git log --format=format:%s -1 df6cc074cb5f9ff3253d11a4561a9f31fa6c824e [Pipeline] echo 18:55:37 ========================================================= 18:55:37 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 18:55:37 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh 18:55:37 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 18:55:37 + grep -v github /etc/ssh/ssh_known_hosts 18:55:37 + [ -e /tmp/ssh_known_hosts ] 18:55:37 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 18:55:37 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 18:55:37 + sudo tee -a /etc/ssh/ssh_known_hosts 18:55:37 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:55:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:55:38 18:55:38 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:55:38 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:55:38 0.1.4: Pulling from edgex-devops/py-git-semver 18:55:38 b85a868b505f: Pulling fs layer 18:55:38 e2be974225ed: Pulling fs layer 18:55:38 339a4e72a1f5: Pulling fs layer 18:55:38 988bab9f4d93: Pulling fs layer 18:55:38 1469e6f7b9e6: Pulling fs layer 18:55:38 eaf3925da568: Pulling fs layer 18:55:38 bab4dde63d76: Pulling fs layer 18:55:38 bde34c3a00c8: Pulling fs layer 18:55:38 b352a97aabf1: Pulling fs layer 18:55:38 4872d77fe225: Pulling fs layer 18:55:38 5851b861e8e6: Pulling fs layer 18:55:38 988bab9f4d93: Waiting 18:55:38 bab4dde63d76: Waiting 18:55:38 1469e6f7b9e6: Waiting 18:55:38 bde34c3a00c8: Waiting 18:55:38 4872d77fe225: Waiting 18:55:38 b352a97aabf1: Waiting 18:55:38 5851b861e8e6: Waiting 18:55:38 eaf3925da568: Waiting 18:55:38 e2be974225ed: Verifying Checksum 18:55:38 e2be974225ed: Download complete 18:55:38 988bab9f4d93: Download complete 18:55:38 1469e6f7b9e6: Verifying Checksum 18:55:38 1469e6f7b9e6: Download complete 18:55:38 eaf3925da568: Download complete 18:55:38 339a4e72a1f5: Verifying Checksum 18:55:38 339a4e72a1f5: Download complete 18:55:38 bde34c3a00c8: Download complete 18:55:38 b352a97aabf1: Download complete 18:55:38 4872d77fe225: Verifying Checksum 18:55:38 4872d77fe225: Download complete 18:55:38 5851b861e8e6: Download complete 18:55:38 b85a868b505f: Verifying Checksum 18:55:38 b85a868b505f: Download complete 18:55:39 bab4dde63d76: Verifying Checksum 18:55:39 bab4dde63d76: Download complete 18:55:40 b85a868b505f: Pull complete 18:55:40 e2be974225ed: Pull complete 18:55:40 339a4e72a1f5: Pull complete 18:55:40 988bab9f4d93: Pull complete 18:55:40 1469e6f7b9e6: Pull complete 18:55:40 eaf3925da568: Pull complete 18:55:42 bab4dde63d76: Pull complete 18:55:42 bde34c3a00c8: Pull complete 18:55:42 b352a97aabf1: Pull complete 18:55:42 4872d77fe225: Pull complete 18:55:42 5851b861e8e6: Pull complete 18:55:42 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 18:55:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:55:42 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:55:42 prd-ubuntu20.04-docker-8c-8g-3298 does not seem to be running inside a container 18:55:42 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-444 -v /w/workspace/edgexfoundry_device-sdk-c_PR-444:/w/workspace/edgexfoundry_device-sdk-c_PR-444:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-444@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-444@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-devops/py-git-semver:0.1.4 cat 18:55:46 $ docker top d3aca224292df3306a036052cef68d9bc278f2a86f254d6392000cf6ddd1582c -eo pid,comm 18:55:46 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). 18:55:46 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:55:46 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:55:46 [ssh-agent] Looking for ssh-agent implementation... 18:55:46 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:55:46 $ docker exec d3aca224292df3306a036052cef68d9bc278f2a86f254d6392000cf6ddd1582c ssh-agent 18:55:46 SSH_AUTH_SOCK=/tmp/ssh-EwDHBmtgGxih/agent.32 18:55:46 SSH_AGENT_PID=38 18:55:46 Running ssh-add (command line suppressed) 18:55:46 Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-444@tmp/private_key_10451375206382799618.key (/w/workspace/edgexfoundry_device-sdk-c_PR-444@tmp/private_key_10451375206382799618.key) 18:55:46 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:55:47 + git tag --points-at HEAD [Pipeline] } 18:55:47 $ docker exec --env ******** --env ******** d3aca224292df3306a036052cef68d9bc278f2a86f254d6392000cf6ddd1582c ssh-agent -k 18:55:47 unset SSH_AUTH_SOCK; 18:55:47 unset SSH_AGENT_PID; 18:55:47 echo Agent pid 38 killed; 18:55:47 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 18:55:47 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:55:47 [ssh-agent] Looking for ssh-agent implementation... 18:55:47 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:55:47 $ docker exec d3aca224292df3306a036052cef68d9bc278f2a86f254d6392000cf6ddd1582c ssh-agent 18:55:47 SSH_AUTH_SOCK=/tmp/ssh-XHq1d5ykzr2H/agent.71 18:55:47 SSH_AGENT_PID=77 18:55:47 Running ssh-add (command line suppressed) 18:55:47 Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-444@tmp/private_key_8323931049751665368.key (/w/workspace/edgexfoundry_device-sdk-c_PR-444@tmp/private_key_8323931049751665368.key) 18:55:47 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:55:47 + git semver init 18:55:48 2023-08-10 18:55:47,985 [run_init] DEBUG init version:0.0.0 force:False 18:55:48 2023-08-10 18:55:47,985 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-c_PR-444/.semver 18:55:48 2023-08-10 18:55:47,986 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-c.git /w/workspace/edgexfoundry_device-sdk-c_PR-444/.semver 18:55:48 2023-08-10 18:55:47,986 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-c.git', '/w/workspace/edgexfoundry_device-sdk-c_PR-444/.semver'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-444, universal_newlines=False, shell=None, istream=None) 18:55:49 2023-08-10 18:55:48,816 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-c_PR-444/.git/info/exclude 18:55:49 2023-08-10 18:55:48,816 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-c_PR-444/.semver/PR-444 with force:False 18:55:49 2023-08-10 18:55:48,817 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-c_PR-444/.semver/PR-444 18:55:49 2023-08-10 18:55:48,820 [execute] INFO git cat-file --batch-check 18:55:49 2023-08-10 18:55:48,820 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-444/.semver, universal_newlines=False, shell=None, istream=) 18:55:49 2023-08-10 18:55:48,826 [execute] INFO git cat-file --batch 18:55:49 2023-08-10 18:55:48,827 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-444/.semver, universal_newlines=False, shell=None, istream=) 18:55:49 2023-08-10 18:55:48,832 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_PR-444/.semver/PR-444 18:55:49 0.0.0 [Pipeline] } 18:55:49 $ docker exec --env ******** --env ******** d3aca224292df3306a036052cef68d9bc278f2a86f254d6392000cf6ddd1582c ssh-agent -k 18:55:49 unset SSH_AUTH_SOCK; 18:55:49 unset SSH_AGENT_PID; 18:55:49 echo Agent pid 77 killed; 18:55:49 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:55:49 + git semver [Pipeline] } 18:55:49 $ docker stop --time=1 d3aca224292df3306a036052cef68d9bc278f2a86f254d6392000cf6ddd1582c 18:55:51 $ docker rm -f --volumes d3aca224292df3306a036052cef68d9bc278f2a86f254d6392000cf6ddd1582c [Pipeline] // withDockerContainer [Pipeline] sh 18:55:51 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 18:55:51 Stashed 1 file(s) [Pipeline] echo 18:55:51 [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 18:55:51 provisioning config files... 18:55:51 copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-444@tmp/config375885263656290830tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:55:51 ---> docker-login.sh 18:55:51 nexus3.edgexfoundry.org:10001 18:55:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:55:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:55:51 Configure a credential helper to remove this warning. See 18:55:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:55:51 18:55:51 Login Succeeded 18:55:51 nexus3.edgexfoundry.org:10002 18:55:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:55:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:55:51 Configure a credential helper to remove this warning. See 18:55:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:55:51 18:55:51 Login Succeeded 18:55:51 nexus3.edgexfoundry.org:10003 18:55:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:55:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:55:52 Configure a credential helper to remove this warning. See 18:55:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:55:52 18:55:52 Login Succeeded 18:55:52 nexus3.edgexfoundry.org:10004 18:55:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:55:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:55:52 Configure a credential helper to remove this warning. See 18:55:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:55:52 18:55:52 Login Succeeded 18:55:52 docker.io 18:55:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:55:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:55:52 Configure a credential helper to remove this warning. See 18:55:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:55:52 18:55:52 Login Succeeded 18:55:52 ---> docker-login.sh ends [Pipeline] } 18:55:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:55:52 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:55:52 [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo 18:55:52 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:55:52 ========================================================= 18:55:52 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] 18:55:52 ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:55:52 + 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 . 18:55:52 Sending build context to Docker daemon 4.935MB 18:55:52 Step 1/21 : ARG BASE=alpine:3.16 18:55:52 Step 2/21 : FROM ${BASE} as builder 18:55:52 latest: Pulling from edgex-devops/edgex-gcc-base 18:55:52 91d30c5bc195: Pulling fs layer 18:55:52 316e5a4585fb: Pulling fs layer 18:55:52 91d30c5bc195: Verifying Checksum 18:55:53 91d30c5bc195: Pull complete 18:55:53 316e5a4585fb: Download complete 18:55:56 316e5a4585fb: Pull complete 18:55:56 Digest: sha256:46ce083f99ae49712d4f1141acdd2e69c9eb8e11ca29cc7d79d78bb0a10585c4 18:55:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest 18:55:56 ---> e83ffa357ff4 18:55:56 Step 3/21 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub 18:55:58 ---> Running in a5fb86cf9ea5 18:55:58 Connecting to iotech.jfrog.io (46.51.205.85:443) 18:55:58 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 18:55:58 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 18:55:58 '/etc/apk/keys/alpine.dev.rsa.pub' saved 18:55:58 Removing intermediate container a5fb86cf9ea5 18:55:58 ---> 468806d00b6e 18:55:58 Step 4/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories 18:55:58 ---> Running in fe13b00a055a 18:55:59 Removing intermediate container fe13b00a055a 18:55:59 ---> ce17b2f4c49f 18:55:59 Step 5/21 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml-dev curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev libcbor-dev paho-mqtt-c-dev-1.3 iotech-iot-1.5-dev hiredis-dev 18:55:59 ---> Running in 996f51ac5642 18:55:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 18:55:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 18:55:59 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/x86_64/APKINDEX.tar.gz 18:56:00 WARNING: This apk-tools is OLD! Some packages might not function properly. 18:56:00 (1/16) Upgrading ncurses-terminfo-base (6.3_p20220521-r0 -> 6.3_p20220521-r1) 18:56:00 (2/16) Upgrading ncurses-libs (6.3_p20220521-r0 -> 6.3_p20220521-r1) 18:56:00 (3/16) Installing hiredis (1.0.2-r0) 18:56:00 (4/16) Installing hiredis-dev (1.0.2-r0) 18:56:00 (5/16) Installing iotech-iot-1.5 (1.5.0-r0) 18:56:01 (6/16) Installing iotech-iot-1.5-dev (1.5.0-r0) 18:56:01 (7/16) Installing libcbor (0.9.0-r1) 18:56:01 (8/16) Installing libcbor-dev (0.9.0-r1) 18:56:01 (9/16) Installing ncurses-dev (6.3_p20220521-r1) 18:56:01 (10/16) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) 18:56:01 (11/16) Installing libblkid (2.38-r1) 18:56:01 (12/16) Installing libuuid (2.38-r1) 18:56:01 (13/16) Installing libfdisk (2.38-r1) 18:56:02 (14/16) Installing libmount (2.38-r1) 18:56:02 (15/16) Installing libsmartcols (2.38-r1) 18:56:02 (16/16) Installing util-linux-dev (2.38-r1) 18:56:02 Executing busybox-1.35.0-r17.trigger 18:56:02 OK: 280 MiB in 90 packages 18:56:02 Removing intermediate container 996f51ac5642 18:56:02 ---> 4d20c39ad1a7 18:56:02 Step 6/21 : RUN mkdir /tmp/sdk 18:56:02 ---> Running in 498ae5ba910f 18:56:03 Removing intermediate container 498ae5ba910f 18:56:03 ---> 22963a32736b 18:56:03 Step 7/21 : COPY VERSION /tmp/sdk 18:56:03 ---> fa0639e3080e 18:56:03 Step 8/21 : COPY src /tmp/sdk/src 18:56:03 ---> 4754cc6582e4 18:56:03 Step 9/21 : COPY include /tmp/sdk/include 18:56:03 ---> cf01a3f45745 18:56:03 Step 10/21 : COPY scripts /tmp/sdk/scripts 18:56:03 ---> 17a967d5a9d2 18:56:03 Step 11/21 : COPY LICENSE /tmp/sdk 18:56:03 ---> dbe4242cdca3 18:56:03 Step 12/21 : COPY Attribution.txt /tmp/sdk 18:56:03 ---> 2346485b9c0d 18:56:03 Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 18:56:04 ---> Running in 579d9bf2fba0 18:56:04 + CPPCHECK=false 18:56:04 + DOCGEN=false 18:56:04 + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' 18:56:04 + '[' 0 -gt 0 ] 18:56:04 + readlink -f ./scripts/build.sh 18:56:04 + dirname /tmp/sdk/scripts/build.sh 18:56:04 + dirname /tmp/sdk/scripts 18:56:04 + ROOT=/tmp/sdk 18:56:04 + cd /tmp/sdk 18:56:04 + mkdir -p /tmp/sdk/build/release 18:56:04 + cd /tmp/sdk/build/release 18:56:04 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 18:56:04 -- The C compiler identification is GNU 11.2.1 18:56:04 -- Detecting C compiler ABI info 18:56:04 -- Detecting C compiler ABI info - done 18:56:04 -- Check for working C compiler: /usr/bin/cc - skipped 18:56:04 -- Detecting C compile features 18:56:04 -- Detecting C compile features - done 18:56:04 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 18:56:04 -- Found CURL: /usr/lib/libcurl.so (found version "8.0.1") 18:56:04 -- Found LIBYAML: /usr/lib/libyaml.so 18:56:04 -- Found LIBUUID: /usr/lib/libuuid.so 18:56:04 -- Found LIBCBOR: /usr/lib/libcbor.so 18:56:04 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 18:56:04 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 18:56:04 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 18:56:04 -- /opt/iotech/iot/1.5/include 18:56:04 -- C SDK 0.0.0 for Linux 18:56:04 -- Performing Test CSDK_HAVE_ATOMIC 18:56:04 -- Performing Test CSDK_HAVE_ATOMIC - Success 18:56:04 -- Found Curses: /usr/lib/libcurses.so 18:56:04 -- Configuring done 18:56:04 -- Generating done 18:56:04 -- Build files have been written to: /tmp/sdk/build/release 18:56:04 + make+ all package 18:56:04 tee release.log 18:56:04 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 18:56:04 In file included from /tmp/sdk/src/c/autoevent.c:9: 18:56:04 /tmp/sdk/src/c/autoevent.h:25:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 18:56:04 25 | void clear_ae_signals (); 18:56:04 | ^~~~ 18:56:04 /tmp/sdk/src/c/autoevent.c: In function 'edgex_device_autoevent_start': 18:56:04 /tmp/sdk/src/c/autoevent.c:170:47: error: expected ';' before '}' token 18:56:04 170 | init_flg_slv = sem_init (&slv_mutex, 0, 1) 18:56:04 | ^ 18:56:04 | ; 18:56:04 171 | } 18:56:04 | ~ 18:56:04 /tmp/sdk/src/c/autoevent.c: At top level: 18:56:04 /tmp/sdk/src/c/autoevent.c:278:6: warning: function declaration isn't a prototype [-Wstrict-prototypes] 18:56:04 278 | void clear_ae_signals () 18:56:04 | ^~~~~~~~~~~~~~~~ 18:56:04 make[2]: *** [c/CMakeFiles/csdk.dir/build.make:76: c/CMakeFiles/csdk.dir/autoevent.c.o] Error 1 18:56:04 make[1]: *** [CMakeFiles/Makefile2:240: c/CMakeFiles/csdk.dir/all] Error 2 18:56:04 make: *** [Makefile:156: all] Error 2 18:56:04 + '[' false '=' true ] 18:56:04 + '[' false '=' true ] 18:56:04 + mkdir -p /tmp/sdk/build/debug 18:56:04 + cd /tmp/sdk/build/debug 18:56:04 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 18:56:04 -- The C compiler identification is GNU 11.2.1 18:56:04 -- Detecting C compiler ABI info 18:56:04 -- Detecting C compiler ABI info - done 18:56:04 -- Check for working C compiler: /usr/bin/cc - skipped 18:56:04 -- Detecting C compile features 18:56:04 -- Detecting C compile features - done 18:56:04 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 18:56:05 -- Found CURL: /usr/lib/libcurl.so (found version "8.0.1") 18:56:05 -- Found LIBYAML: /usr/lib/libyaml.so 18:56:05 -- Found LIBUUID: /usr/lib/libuuid.so 18:56:05 -- Found LIBCBOR: /usr/lib/libcbor.so 18:56:05 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 18:56:05 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 18:56:05 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 18:56:05 -- /opt/iotech/iot/1.5/include 18:56:05 -- C SDK 0.0.0 for Linux 18:56:05 -- Performing Test CSDK_HAVE_ATOMIC 18:56:05 -- Performing Test CSDK_HAVE_ATOMIC - Success 18:56:05 -- Found Curses: /usr/lib/libcurses.so 18:56:05 -- Configuring done 18:56:05 -- Generating done 18:56:05 -- Build files have been written to: /tmp/sdk/build/debug 18:56:05 + make 18:56:05 + tee debug.log 18:56:05 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 18:56:05 In file included from /tmp/sdk/src/c/autoevent.c:9: 18:56:05 /tmp/sdk/src/c/autoevent.h:25:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 18:56:05 25 | void clear_ae_signals (); 18:56:05 | ^~~~ 18:56:05 /tmp/sdk/src/c/autoevent.c: In function 'edgex_device_autoevent_start': 18:56:05 /tmp/sdk/src/c/autoevent.c:170:47: error: expected ';' before '}' token 18:56:05 170 | init_flg_slv = sem_init (&slv_mutex, 0, 1) 18:56:05 | ^ 18:56:05 | ; 18:56:05 171 | } 18:56:05 | ~ 18:56:05 /tmp/sdk/src/c/autoevent.c: At top level: 18:56:05 /tmp/sdk/src/c/autoevent.c:278:6: warning: function declaration isn't a prototype [-Wstrict-prototypes] 18:56:05 278 | void clear_ae_signals () 18:56:05 | ^~~~~~~~~~~~~~~~ 18:56:05 make[2]: *** [c/CMakeFiles/csdk.dir/build.make:76: c/CMakeFiles/csdk.dir/autoevent.c.o] Error 1 18:56:05 make[1]: *** [CMakeFiles/Makefile2:240: c/CMakeFiles/csdk.dir/all] Error 2 18:56:05 make: *** [Makefile:156: all] Error 2 18:56:05 make: Entering directory '/tmp/sdk/build/release' 18:56:05 make[1]: Entering directory '/tmp/sdk/build/release' 18:56:05 make[2]: Entering directory '/tmp/sdk/build/release' 18:56:05 Consolidate compiler generated dependencies of target csdk 18:56:05 make[2]: Leaving directory '/tmp/sdk/build/release' 18:56:05 make[2]: Entering directory '/tmp/sdk/build/release' 18:56:05 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 18:56:05 In file included from /tmp/sdk/src/c/autoevent.c:9: 18:56:05 /tmp/sdk/src/c/autoevent.h:25:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 18:56:05 25 | void clear_ae_signals (); 18:56:05 | ^~~~ 18:56:05 /tmp/sdk/src/c/autoevent.c: In function 'edgex_device_autoevent_start': 18:56:05 /tmp/sdk/src/c/autoevent.c:170:47: error: expected ';' before '}' token 18:56:05 170 | init_flg_slv = sem_init (&slv_mutex, 0, 1) 18:56:05 | ^ 18:56:05 | ; 18:56:05 171 | } 18:56:05 | ~ 18:56:05 /tmp/sdk/src/c/autoevent.c: At top level: 18:56:05 /tmp/sdk/src/c/autoevent.c:278:6: warning: function declaration isn't a prototype [-Wstrict-prototypes] 18:56:05 278 | void clear_ae_signals () 18:56:05 | ^~~~~~~~~~~~~~~~ 18:56:05 make[2]: *** [c/CMakeFiles/csdk.dir/build.make:76: c/CMakeFiles/csdk.dir/autoevent.c.o] Error 1 18:56:05 make[2]: Leaving directory '/tmp/sdk/build/release' 18:56:05 make[1]: *** [CMakeFiles/Makefile2:240: c/CMakeFiles/csdk.dir/all] Error 2 18:56:05 make[1]: Leaving directory '/tmp/sdk/build/release' 18:56:05 make: *** [Makefile:156: all] Error 2 18:56:05 make: Leaving directory '/tmp/sdk/build/release' 18:56:05 The command '/bin/sh -c cd /tmp/sdk && ./scripts/build.sh && make -C build/release install' returned a non-zero code: 2 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) Stage "Test" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:56:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:56:06 18:56:06 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:56:06 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:56:06 latest: Pulling from edgex-lftools-log-publisher 18:56:06 5eb5b503b376: Pulling fs layer 18:56:06 5c69ac0246d0: Pulling fs layer 18:56:06 ec43610c2a17: Pulling fs layer 18:56:06 3a2ae6a8a46f: Pulling fs layer 18:56:06 33b1e0a273af: Pulling fs layer 18:56:06 5d3b04190fa2: Pulling fs layer 18:56:06 2f39f015ded8: Pulling fs layer 18:56:06 3a2ae6a8a46f: Waiting 18:56:06 33b1e0a273af: Waiting 18:56:06 5d3b04190fa2: Waiting 18:56:06 2f39f015ded8: Waiting 18:56:06 5c69ac0246d0: Verifying Checksum 18:56:06 5c69ac0246d0: Download complete 18:56:06 3a2ae6a8a46f: Download complete 18:56:06 33b1e0a273af: Verifying Checksum 18:56:06 33b1e0a273af: Download complete 18:56:06 5d3b04190fa2: Download complete 18:56:06 Still waiting to schedule task 18:56:06 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 18:56:06 ec43610c2a17: Verifying Checksum 18:56:06 ec43610c2a17: Download complete 18:56:06 5eb5b503b376: Verifying Checksum 18:56:06 5eb5b503b376: Download complete 18:56:07 2f39f015ded8: Download complete 18:56:07 5eb5b503b376: Pull complete 18:56:08 5c69ac0246d0: Pull complete 18:56:08 ec43610c2a17: Pull complete 18:56:08 3a2ae6a8a46f: Pull complete 18:56:08 33b1e0a273af: Pull complete 18:56:08 5d3b04190fa2: Pull complete 18:56:12 2f39f015ded8: Pull complete 18:56:12 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 18:56:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:56:12 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:56:12 prd-ubuntu20.04-docker-8c-8g-3298 does not seem to be running inside a container 18:56:12 $ 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-444 -v /w/workspace/edgexfoundry_device-sdk-c_PR-444:/w/workspace/edgexfoundry_device-sdk-c_PR-444:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-444@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-444@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 18:56:17 $ docker top d367c5dd7b8186bb8f7a4dfcee656328ad24baa46a73240b4c52c46555f7f9dd -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:56:17 ---> job-cost.sh 18:56:17 lf-activate-venv: SKIPPING 18:56:17 INFO: No Stack... 18:56:17 INFO: Retrieving Pricing Info for: v3-standard-8 18:56:18 INFO: Archiving Costs [Pipeline] sh 18:56:18 + cat /w/workspace/edgexfoundry_device-sdk-c_PR-444/archives/cost.csv 18:56:18 + cut -d, -f6 [Pipeline] lock 18:56:18 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-444-18-stack-cost] 18:56:18 Resource [jenkins-edgexfoundry-device-sdk-c-PR-444-18-stack-cost] did not exist. Created. 18:56:18 Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-444-18-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:56:18 + echo total: 0.2199999988079071 [Pipeline] stash 18:56:18 Stashed 1 file(s) [Pipeline] } 18:56:18 Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-444-18-stack-cost] [Pipeline] // lock [Pipeline] } 18:56:18 $ docker stop --time=1 d367c5dd7b8186bb8f7a4dfcee656328ad24baa46a73240b4c52c46555f7f9dd 18:56:20 $ docker rm -f --volumes d367c5dd7b8186bb8f7a4dfcee656328ad24baa46a73240b4c52c46555f7f9dd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 18:56:20 Failed in branch amd64 18:57:32 Running on prd-ubuntu20.04-docker-arm64-4c-16g-3299 in /w/workspace/edgexfoundry_device-sdk-c_PR-444 [Pipeline] { [Pipeline] ws 18:57:32 Running in /w/workspace/device-sdk-c/18 [Pipeline] { [Pipeline] checkout 18:57:32 Selected Git installation does not exist. Using Default 18:57:32 The recommended git tool is: NONE 18:57:37 using credential edgex-jenkins-ssh 18:57:37 Cloning the remote Git repository 18:57:37 Cloning repository git@github.com:edgexfoundry/device-sdk-c.git 18:57:37 > git init /w/workspace/device-sdk-c/18 # timeout=10 18:57:37 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 18:57:37 > git --version # timeout=10 18:57:37 > git --version # 'git version 2.25.1' 18:57:37 using GIT_SSH to set credentials SSH Credentials for GitHub 18:57:37 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 18:57:38 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 18:57:38 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 18:57:39 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 18:57:39 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 18:57:39 using GIT_SSH to set credentials SSH Credentials for GitHub 18:57:39 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/444/head:refs/remotes/origin/PR-444 +refs/heads/main:refs/remotes/origin/main # timeout=10 18:57:40 Merging remotes/origin/main commit 3bd72eafd135fc13cc0388e2e4a2395f7020de89 into PR head commit 2ab919ba902543e8751b24cbae806de0a32484ea 18:57:40 Merge succeeded, producing 285a3887963cb3e07450317f222408a16442ed4c 18:57:40 Checking out Revision 285a3887963cb3e07450317f222408a16442ed4c (PR-444) 18:57:40 > git config core.sparsecheckout # timeout=10 18:57:40 > git checkout -f 2ab919ba902543e8751b24cbae806de0a32484ea # timeout=10 18:57:40 > git remote # timeout=10 18:57:40 > git config --get remote.origin.url # timeout=10 18:57:40 using GIT_SSH to set credentials SSH Credentials for GitHub 18:57:40 > git merge 3bd72eafd135fc13cc0388e2e4a2395f7020de89 # timeout=10 18:57:40 > git rev-parse HEAD^{commit} # timeout=10 18:57:40 > git config core.sparsecheckout # timeout=10 18:57:40 > git checkout -f 285a3887963cb3e07450317f222408a16442ed4c # timeout=10 18:57:44 Commit message: "Merge commit '3bd72eafd135fc13cc0388e2e4a2395f7020de89' into HEAD" 18:57:44 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:57:45 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 18:57:45 % Total % Received % Xferd Average Speed Time Time Time Current 18:57:45 Dload Upload Total Spent Left Speed 18:57:45 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 73705 0 --:--:-- --:--:-- --:--:-- 74133 18:57:44 > git rev-list --no-walk 842193bb75d582665ce2c7684ed7c020d3118fa9 # timeout=10 [Pipeline] sh 18:57:45 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 18:57:46 + + sudosudo tee jq /etc/docker/daemon.new . += {"seccomp-profile": "/etc/docker/seccomp.json"} 18:57:46 /etc/docker/daemon.json 18:57:46 { 18:57:46 "registry-mirrors": [ 18:57:46 "https://nexus3.edgexfoundry.org:10001" 18:57:46 ], 18:57:46 "bip": "10.250.0.254/24", 18:57:46 "hosts": [ 18:57:46 "tcp://0.0.0.0:5555", 18:57:46 "unix:///var/run/docker.sock" 18:57:46 ], 18:57:46 "mtu": 1458, 18:57:46 "selinux-enabled": true, 18:57:46 "seccomp-profile": "/etc/docker/seccomp.json" 18:57:46 } [Pipeline] sh 18:57:46 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 18:57:46 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:58:05 provisioning config files... 18:58:05 copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/18@tmp/config4901161789352864520tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:58:05 ---> docker-login.sh 18:58:05 nexus3.edgexfoundry.org:10001 18:58:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:58:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:58:06 Configure a credential helper to remove this warning. See 18:58:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:58:06 18:58:06 Login Succeeded 18:58:06 nexus3.edgexfoundry.org:10002 18:58:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:58:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:58:06 Configure a credential helper to remove this warning. See 18:58:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:58:06 18:58:06 Login Succeeded 18:58:06 nexus3.edgexfoundry.org:10003 18:58:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:58:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:58:06 Configure a credential helper to remove this warning. See 18:58:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:58:06 18:58:06 Login Succeeded 18:58:06 nexus3.edgexfoundry.org:10004 18:58:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:58:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:58:07 Configure a credential helper to remove this warning. See 18:58:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:58:07 18:58:07 Login Succeeded 18:58:07 docker.io 18:58:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:58:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:58:07 Configure a credential helper to remove this warning. See 18:58:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:58:07 18:58:07 Login Succeeded 18:58:07 ---> docker-login.sh ends [Pipeline] } 18:58:07 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:58:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:58:07 [prepBaseBuildImage] Generating new image with name: ci-base-image-arm64 [Pipeline] echo 18:58:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:58:07 ========================================================= 18:58:07 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] 18:58:07 ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:58:08 + 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 . 18:58:08 Sending build context to Docker daemon 2.965MB 18:58:08 Step 1/21 : ARG BASE=alpine:3.16 18:58:08 Step 2/21 : FROM ${BASE} as builder 18:58:08 latest: Pulling from edgex-devops/edgex-gcc-base-arm64 18:58:08 547446be3368: Pulling fs layer 18:58:08 76bd08e1cacc: Pulling fs layer 18:58:08 547446be3368: Verifying Checksum 18:58:08 547446be3368: Download complete 18:58:09 547446be3368: Pull complete 18:58:11 76bd08e1cacc: Download complete 18:58:19 76bd08e1cacc: Pull complete 18:58:19 Digest: sha256:e2ae639067a511a7973e9e369d25ddd915310c8cf663528363fa06e26cb01fbe 18:58:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest 18:58:19 ---> 295cd00e64f4 18:58:19 Step 3/21 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub 18:58:19 ---> Running in 3838c4c0be44 18:58:20 Connecting to iotech.jfrog.io (63.32.140.65:443) 18:58:21 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 18:58:21 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 18:58:21 '/etc/apk/keys/alpine.dev.rsa.pub' saved 18:58:22 Removing intermediate container 3838c4c0be44 18:58:22 ---> be9a8b2f341d 18:58:22 Step 4/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories 18:58:22 ---> Running in a3818b3eaa4d 18:58:23 Removing intermediate container a3818b3eaa4d 18:58:23 ---> f3ea9da36b3a 18:58:23 Step 5/21 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml-dev curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev libcbor-dev paho-mqtt-c-dev-1.3 iotech-iot-1.5-dev hiredis-dev 18:58:24 ---> Running in df153e74a8fa 18:58:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 18:58:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 18:58:25 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/aarch64/APKINDEX.tar.gz 18:58:26 WARNING: This apk-tools is OLD! Some packages might not function properly. 18:58:26 (1/16) Upgrading ncurses-terminfo-base (6.3_p20220521-r0 -> 6.3_p20220521-r1) 18:58:26 (2/16) Upgrading ncurses-libs (6.3_p20220521-r0 -> 6.3_p20220521-r1) 18:58:26 (3/16) Installing hiredis (1.0.2-r0) 18:58:26 (4/16) Installing hiredis-dev (1.0.2-r0) 18:58:26 (5/16) Installing iotech-iot-1.5 (1.5.0-r0) 18:58:27 (6/16) Installing iotech-iot-1.5-dev (1.5.0-r0) 18:58:27 (7/16) Installing libcbor (0.9.0-r1) 18:58:27 (8/16) Installing libcbor-dev (0.9.0-r1) 18:58:27 (9/16) Installing ncurses-dev (6.3_p20220521-r1) 18:58:27 (10/16) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) 18:58:28 (11/16) Installing libblkid (2.38-r1) 18:58:28 (12/16) Installing libuuid (2.38-r1) 18:58:28 (13/16) Installing libfdisk (2.38-r1) 18:58:28 (14/16) Installing libmount (2.38-r1) 18:58:28 (15/16) Installing libsmartcols (2.38-r1) 18:58:28 (16/16) Installing util-linux-dev (2.38-r1) 18:58:28 Executing busybox-1.35.0-r17.trigger 18:58:28 OK: 286 MiB in 90 packages 18:58:29 Removing intermediate container df153e74a8fa 18:58:29 ---> 1d9ee86176e2 18:58:29 Step 6/21 : RUN mkdir /tmp/sdk 18:58:29 ---> Running in 7d51cb754baa 18:58:31 Removing intermediate container 7d51cb754baa 18:58:31 ---> a80f1e325065 18:58:31 Step 7/21 : COPY VERSION /tmp/sdk 18:58:31 ---> d550bbe6f733 18:58:31 Step 8/21 : COPY src /tmp/sdk/src 18:58:35 ---> e2dca3ed69dd 18:58:35 Step 9/21 : COPY include /tmp/sdk/include 18:58:36 ---> 7f418456e95f 18:58:36 Step 10/21 : COPY scripts /tmp/sdk/scripts 18:58:36 ---> db278965f171 18:58:36 Step 11/21 : COPY LICENSE /tmp/sdk 18:58:37 ---> add739cb21c6 18:58:37 Step 12/21 : COPY Attribution.txt /tmp/sdk 18:58:37 ---> 869407204c8a 18:58:37 Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 18:58:37 ---> Running in c95a49e302bb 18:58:38 + CPPCHECK=false 18:58:38 + DOCGEN=false 18:58:38 + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' 18:58:38 + '[' 0 -gt 0 ] 18:58:38 + readlink -f ./scripts/build.sh 18:58:38 + dirname /tmp/sdk/scripts/build.sh 18:58:38 + dirname /tmp/sdk/scripts 18:58:38 + ROOT=/tmp/sdk 18:58:38 + cd /tmp/sdk 18:58:38 + mkdir -p /tmp/sdk/build/release 18:58:38 + cd /tmp/sdk/build/release 18:58:38 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 18:58:39 -- The C compiler identification is GNU 11.2.1 18:58:39 -- Detecting C compiler ABI info 18:58:39 -- Detecting C compiler ABI info - done 18:58:39 -- Check for working C compiler: /usr/bin/cc - skipped 18:58:39 -- Detecting C compile features 18:58:39 -- Detecting C compile features - done 18:58:39 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 18:58:39 -- Found CURL: /usr/lib/libcurl.so (found version "8.0.1") 18:58:39 -- Found LIBYAML: /usr/lib/libyaml.so 18:58:39 -- Found LIBUUID: /usr/lib/libuuid.so 18:58:39 -- Found LIBCBOR: /usr/lib/libcbor.so 18:58:39 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 18:58:39 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 18:58:39 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 18:58:39 -- /opt/iotech/iot/1.5/include 18:58:39 -- C SDK 0.0.0 for Linux 18:58:39 -- Performing Test CSDK_HAVE_ATOMIC 18:58:40 -- Performing Test CSDK_HAVE_ATOMIC - Success 18:58:40 -- Found Curses: /usr/lib/libcurses.so 18:58:40 -- Configuring done 18:58:40 -- Generating done 18:58:40 -- Build files have been written to: /tmp/sdk/build/release 18:58:40 + make all package 18:58:40 + tee release.log 18:58:40 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 18:58:40 In file included from /tmp/sdk/src/c/autoevent.c:9: 18:58:40 /tmp/sdk/src/c/autoevent.h:25:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 18:58:40 25 | void clear_ae_signals (); 18:58:40 | ^~~~ 18:58:41 /tmp/sdk/src/c/autoevent.c: In function 'edgex_device_autoevent_start': 18:58:41 /tmp/sdk/src/c/autoevent.c:170:47: error: expected ';' before '}' token 18:58:41 170 | init_flg_slv = sem_init (&slv_mutex, 0, 1) 18:58:41 | ^ 18:58:41 | ; 18:58:41 171 | } 18:58:41 | ~ 18:58:41 /tmp/sdk/src/c/autoevent.c: At top level: 18:58:41 /tmp/sdk/src/c/autoevent.c:278:6: warning: function declaration isn't a prototype [-Wstrict-prototypes] 18:58:41 278 | void clear_ae_signals () 18:58:41 | ^~~~~~~~~~~~~~~~ 18:58:41 make[2]: *** [c/CMakeFiles/csdk.dir/build.make:76: c/CMakeFiles/csdk.dir/autoevent.c.o] Error 1 18:58:41 make[1]: *** [CMakeFiles/Makefile2:240: c/CMakeFiles/csdk.dir/all] Error 2 18:58:41 make: *** [Makefile:156: all] Error 2 18:58:41 + '[' false '=' true ] 18:58:41 + '[' false '=' true ] 18:58:41 + mkdir -p /tmp/sdk/build/debug 18:58:41 + cd /tmp/sdk/build/debug 18:58:41 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 18:58:41 -- The C compiler identification is GNU 11.2.1 18:58:41 -- Detecting C compiler ABI info 18:58:41 -- Detecting C compiler ABI info - done 18:58:42 -- Check for working C compiler: /usr/bin/cc - skipped 18:58:42 -- Detecting C compile features 18:58:42 -- Detecting C compile features - done 18:58:42 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 18:58:42 -- Found CURL: /usr/lib/libcurl.so (found version "8.0.1") 18:58:42 -- Found LIBYAML: /usr/lib/libyaml.so 18:58:42 -- Found LIBUUID: /usr/lib/libuuid.so 18:58:42 -- Found LIBCBOR: /usr/lib/libcbor.so 18:58:42 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 18:58:42 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 18:58:42 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 18:58:42 -- /opt/iotech/iot/1.5/include 18:58:42 -- C SDK 0.0.0 for Linux 18:58:42 -- Performing Test CSDK_HAVE_ATOMIC 18:58:42 -- Performing Test CSDK_HAVE_ATOMIC - Success 18:58:42 -- Found Curses: /usr/lib/libcurses.so 18:58:42 -- Configuring done 18:58:43 -- Generating done 18:58:43 -- Build files have been written to: /tmp/sdk/build/debug 18:58:43 + make 18:58:43 + tee debug.log 18:58:43 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 18:58:43 In file included from /tmp/sdk/src/c/autoevent.c:9: 18:58:43 /tmp/sdk/src/c/autoevent.h:25:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 18:58:43 25 | void clear_ae_signals (); 18:58:43 | ^~~~ 18:58:43 /tmp/sdk/src/c/autoevent.c: In function 'edgex_device_autoevent_start': 18:58:43 /tmp/sdk/src/c/autoevent.c:170:47: error: expected ';' before '}' token 18:58:43 170 | init_flg_slv = sem_init (&slv_mutex, 0, 1) 18:58:43 | ^ 18:58:43 | ; 18:58:43 171 | } 18:58:43 | ~ 18:58:43 /tmp/sdk/src/c/autoevent.c: At top level: 18:58:43 /tmp/sdk/src/c/autoevent.c:278:6: warning: function declaration isn't a prototype [-Wstrict-prototypes] 18:58:43 278 | void clear_ae_signals () 18:58:43 | ^~~~~~~~~~~~~~~~ 18:58:43 make[2]: *** [c/CMakeFiles/csdk.dir/build.make:76: c/CMakeFiles/csdk.dir/autoevent.c.o] Error 1 18:58:43 make[1]: *** [CMakeFiles/Makefile2:240: c/CMakeFiles/csdk.dir/all] Error 2 18:58:43 make: *** [Makefile:156: all] Error 2 18:58:43 make: Entering directory '/tmp/sdk/build/release' 18:58:43 make[1]: Entering directory '/tmp/sdk/build/release' 18:58:43 make[2]: Entering directory '/tmp/sdk/build/release' 18:58:43 Consolidate compiler generated dependencies of target csdk 18:58:43 make[2]: Leaving directory '/tmp/sdk/build/release' 18:58:43 make[2]: Entering directory '/tmp/sdk/build/release' 18:58:43 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 18:58:43 In file included from /tmp/sdk/src/c/autoevent.c:9: 18:58:43 /tmp/sdk/src/c/autoevent.h:25:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 18:58:43 25 | void clear_ae_signals (); 18:58:43 | ^~~~ 18:58:43 /tmp/sdk/src/c/autoevent.c: In function 'edgex_device_autoevent_start': 18:58:43 /tmp/sdk/src/c/autoevent.c:170:47: error: expected ';' before '}' token 18:58:43 170 | init_flg_slv = sem_init (&slv_mutex, 0, 1) 18:58:43 | ^ 18:58:43 | ; 18:58:43 171 | } 18:58:43 | ~ 18:58:43 /tmp/sdk/src/c/autoevent.c: At top level: 18:58:43 /tmp/sdk/src/c/autoevent.c:278:6: warning: function declaration isn't a prototype [-Wstrict-prototypes] 18:58:43 278 | void clear_ae_signals () 18:58:43 | ^~~~~~~~~~~~~~~~ 18:58:43 make[2]: *** [c/CMakeFiles/csdk.dir/build.make:76: c/CMakeFiles/csdk.dir/autoevent.c.o] Error 1 18:58:43 make[2]: Leaving directory '/tmp/sdk/build/release' 18:58:43 make[1]: Leaving directory '/tmp/sdk/build/release' 18:58:43 make[1]: *** [CMakeFiles/Makefile2:240: c/CMakeFiles/csdk.dir/all] Error 2 18:58:43 make: *** [Makefile:156: all] Error 2 18:58:43 make: Leaving directory '/tmp/sdk/build/release' 18:58:44 The command '/bin/sh -c cd /tmp/sdk && ./scripts/build.sh && make -C build/release install' returned a non-zero code: 2 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) Stage "Test" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:58:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:58:44 18:58:44 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:58:45 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:58:45 arm64: Pulling from edgex-lftools-log-publisher 18:58:45 8998bd30e6a1: Pulling fs layer 18:58:45 04944245beec: Pulling fs layer 18:58:45 699f458cf7ca: Pulling fs layer 18:58:45 765212b225bb: Pulling fs layer 18:58:45 f23df028b6ca: Pulling fs layer 18:58:45 d65c8cfc05b1: Pulling fs layer 18:58:45 2437ff75d9bd: Pulling fs layer 18:58:45 765212b225bb: Waiting 18:58:45 f23df028b6ca: Waiting 18:58:45 d65c8cfc05b1: Waiting 18:58:45 2437ff75d9bd: Waiting 18:58:45 04944245beec: Verifying Checksum 18:58:45 04944245beec: Download complete 18:58:45 765212b225bb: Verifying Checksum 18:58:45 765212b225bb: Download complete 18:58:45 f23df028b6ca: Verifying Checksum 18:58:45 f23df028b6ca: Download complete 18:58:45 d65c8cfc05b1: Verifying Checksum 18:58:45 d65c8cfc05b1: Download complete 18:58:45 699f458cf7ca: Verifying Checksum 18:58:45 699f458cf7ca: Download complete 18:58:46 8998bd30e6a1: Verifying Checksum 18:58:46 8998bd30e6a1: Download complete 18:58:48 2437ff75d9bd: Download complete 18:58:50 8998bd30e6a1: Pull complete 18:58:50 04944245beec: Pull complete 18:58:51 699f458cf7ca: Pull complete 18:58:52 765212b225bb: Pull complete 18:58:52 f23df028b6ca: Pull complete 18:58:52 d65c8cfc05b1: Pull complete 18:59:07 2437ff75d9bd: Pull complete 18:59:07 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 18:59:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:59:07 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:59:08 prd-ubuntu20.04-docker-arm64-4c-16g-3299 does not seem to be running inside a container 18:59:08 $ 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/18 -v /w/workspace/device-sdk-c/18:/w/workspace/device-sdk-c/18:rw,z -v /w/workspace/device-sdk-c/18@tmp:/w/workspace/device-sdk-c/18@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 18:59:10 $ docker top c6bef41934a41808ae1b313e45fe95d1f4df5b735b24323e4af3054e4339f69e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:59:10 ---> job-cost.sh 18:59:11 lf-activate-venv: SKIPPING 18:59:11 INFO: No Stack... 18:59:11 INFO: Retrieving Pricing Info for: v3-standard-4 18:59:12 INFO: Archiving Costs [Pipeline] sh 18:59:12 + cat /w/workspace/device-sdk-c/18/archives/cost.csv 18:59:12 + cut -d, -f6 [Pipeline] lock 18:59:13 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-444-18-stack-cost] 18:59:13 Resource [jenkins-edgexfoundry-device-sdk-c-PR-444-18-stack-cost] did not exist. Created. 18:59:13 Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-444-18-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:59:13 /w/workspace/device-sdk-c/18@tmp/durable-7cbaff0c/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 18:59:13 + echo total: 0.10999999940395355 [Pipeline] stash 18:59:13 Warning: overwriting stash ‘stack-cost’ 18:59:14 Stashed 1 file(s) [Pipeline] } 18:59:14 Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-444-18-stack-cost] [Pipeline] // lock [Pipeline] } 18:59:14 $ docker stop --time=1 c6bef41934a41808ae1b313e45fe95d1f4df5b735b24323e4af3054e4339f69e 18:59:16 $ docker rm -f --volumes c6bef41934a41808ae1b313e45fe95d1f4df5b735b24323e4af3054e4339f69e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 18:59:17 Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 18:59:17 + [ -d /w/workspace/edgexfoundry_device-sdk-c_PR-444/archives ] 18:59:17 + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-444/archives 18:59:17 total 16 18:59:17 drwxr-xr-x 3 root root 4096 Aug 10 18:56 . 18:59:17 drwxrwxr-x 10 jenkins jenkins 4096 Aug 10 18:56 .. 18:59:17 drwxr-xr-x 2 root root 4096 Aug 10 18:56 cost 18:59:17 -rw-r--r-- 1 root root 84 Aug 10 18:56 cost.csv 18:59:17 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_PR-444/archives 18:59:17 + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-444/archives 18:59:17 total 16 18:59:17 drwxr-xr-x 3 jenkins jenkins 4096 Aug 10 18:56 . 18:59:17 drwxrwxr-x 10 jenkins jenkins 4096 Aug 10 18:56 .. 18:59:17 drwxr-xr-x 2 jenkins jenkins 4096 Aug 10 18:56 cost 18:59:17 -rw-r--r-- 1 jenkins jenkins 84 Aug 10 18:56 cost.csv [Pipeline] libraryResource [Pipeline] sh 18:59:18 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 18:59:18 ---> package-listing.sh 18:59:18 ++ facter osfamily 18:59:18 ++ tr '[:upper:]' '[:lower:]' 18:59:19 + OS_FAMILY=debian 18:59:19 + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-444 18:59:19 + START_PACKAGES=/tmp/packages_start.txt 18:59:19 + END_PACKAGES=/tmp/packages_end.txt 18:59:19 + DIFF_PACKAGES=/tmp/packages_diff.txt 18:59:19 + PACKAGES=/tmp/packages_start.txt 18:59:19 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-444 ']' 18:59:19 + PACKAGES=/tmp/packages_end.txt 18:59:19 + case "${OS_FAMILY}" in 18:59:19 + dpkg -l 18:59:19 + grep '^ii' 18:59:19 + '[' -f /tmp/packages_start.txt ']' 18:59:19 + '[' -f /tmp/packages_end.txt ']' 18:59:19 + diff /tmp/packages_start.txt /tmp/packages_end.txt 18:59:19 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-444 ']' 18:59:19 + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-444/archives/ 18:59:19 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-444/archives/ [Pipeline] echo 18:59:19 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-444/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 18:59:19 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:59:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:59:20 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:59:20 prd-ubuntu20.04-docker-8c-8g-3298 does not seem to be running inside a container 18:59:20 $ 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-444/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-444 -v /w/workspace/edgexfoundry_device-sdk-c_PR-444:/w/workspace/edgexfoundry_device-sdk-c_PR-444:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-444@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-444@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 18:59:20 $ docker top 4e017dbaf5233cf9ef0502b6d84b528b67dcc3a1a4120628d9d54ff09f63928e -eo pid,comm [Pipeline] { [Pipeline] sh 18:59:20 + touch /tmp/pre-build-complete [Pipeline] sh 18:59:20 + mkdir -p /var/log/sysstat [Pipeline] sh 18:59:21 + ls /var/log/sa-host 18:59:21 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:59:21 provisioning config files... 18:59:21 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-444@tmp/config9892153735690555638tmp [Pipeline] { [Pipeline] echo 18:59:21 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 18:59:21 ---> create-netrc.sh [Pipeline] } 18:59:21 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 18:59:22 ---> python-tools-install.sh [Pipeline] echo 18:59:22 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 18:59:22 ---> sudo-logs.sh 18:59:22 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 18:59:22 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 18:59:22 ---> job-cost.sh 18:59:22 lf-activate-venv: SKIPPING 18:59:22 DEBUG: total: 0.2199999988079071 18:59:22 INFO: Retrieving Stack Cost... 18:59:22 INFO: Retrieving Pricing Info for: v3-standard-8 18:59:23 INFO: Archiving Costs [Pipeline] echo 18:59:23 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 18:59:23 ---> logs-deploy.sh 18:59:23 lf-activate-venv: SKIPPING 18:59:23 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-444/18 18:59:23 INFO: archiving workspace using pattern(s): 18:59:24 Archives upload complete. 18:59:24 INFO: archiving logs to Nexus 18:59:25 ---> uname -a: 18:59:25 Linux prd-ubuntu20-04-docker-8c-8g-3298 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 18:59:25 18:59:25 18:59:25 ---> lscpu: 18:59:25 Architecture: x86_64 18:59:25 CPU op-mode(s): 32-bit, 64-bit 18:59:25 Byte Order: Little Endian 18:59:25 Address sizes: 40 bits physical, 48 bits virtual 18:59:25 CPU(s): 8 18:59:25 On-line CPU(s) list: 0-7 18:59:25 Thread(s) per core: 1 18:59:25 Core(s) per socket: 1 18:59:25 Socket(s): 8 18:59:25 NUMA node(s): 1 18:59:25 Vendor ID: AuthenticAMD 18:59:25 CPU family: 23 18:59:25 Model: 49 18:59:25 Model name: AMD EPYC-Rome Processor 18:59:25 Stepping: 0 18:59:25 CPU MHz: 2800.000 18:59:25 BogoMIPS: 5600.00 18:59:25 Virtualization: AMD-V 18:59:25 Hypervisor vendor: KVM 18:59:25 Virtualization type: full 18:59:25 L1d cache: 256 KiB 18:59:25 L1i cache: 256 KiB 18:59:25 L2 cache: 4 MiB 18:59:25 L3 cache: 128 MiB 18:59:25 NUMA node0 CPU(s): 0-7 18:59:25 Vulnerability Itlb multihit: Not affected 18:59:25 Vulnerability L1tf: Not affected 18:59:25 Vulnerability Mds: Not affected 18:59:25 Vulnerability Meltdown: Not affected 18:59:25 Vulnerability Mmio stale data: Not affected 18:59:25 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 18:59:25 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 18:59:25 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 18:59:25 Vulnerability Srbds: Not affected 18:59:25 Vulnerability Tsx async abort: Not affected 18:59:25 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 18:59:25 18:59:25 18:59:25 ---> nproc: 18:59:25 8 18:59:25 18:59:25 18:59:25 ---> df -h: 18:59:25 Filesystem Size Used Avail Use% Mounted on 18:59:25 overlay 155G 11G 145G 7% / 18:59:25 tmpfs 64M 0 64M 0% /dev 18:59:25 tmpfs 16G 0 16G 0% /sys/fs/cgroup 18:59:25 shm 64M 0 64M 0% /dev/shm 18:59:25 /dev/vda1 155G 11G 145G 7% /facter-os 18:59:25 18:59:25 18:59:25 ---> sar -b -r -n DEV: 18:59:25 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-3298) 08/10/23 _x86_64_ (8 CPU) 18:59:25 18:59:25 18:54:54 LINUX RESTART (8 CPU) 18:59:25 18:59:25 18:55:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 18:59:25 18:56:01 358.79 48.46 310.33 0.00 5476.95 97606.53 0.00 18:59:25 18:57:01 64.89 0.25 64.64 0.00 14.93 17978.75 0.00 18:59:25 18:58:01 0.95 0.00 0.95 0.00 0.00 11.33 0.00 18:59:25 18:59:01 0.78 0.00 0.78 0.00 0.00 9.20 0.00 18:59:25 Average: 106.35 12.18 94.18 0.00 1372.97 28901.45 0.00 18:59:25 18:59:25 18:55:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 18:59:25 18:56:01 29619036 31578840 758348 2.31 64760 2184464 1982976 5.84 1015208 1924600 2860 18:59:25 18:57:01 29138936 31603772 706008 2.15 85192 2640276 1778884 5.24 1032908 2329768 156 18:59:25 18:58:01 29139472 31604308 705420 2.15 85228 2640276 1778884 5.24 1032740 2329768 16 18:59:25 18:59:01 29146380 31611428 698580 2.12 85244 2640280 1778884 5.24 1025424 2329996 148 18:59:25 Average: 29260956 31599587 717089 2.18 80106 2526324 1829907 5.39 1026570 2228533 795 18:59:25 18:59:25 18:55:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 18:59:25 18:56:01 docker0 6.98 8.33 0.58 83.11 0.00 0.00 0.00 0.00 18:59:25 18:56:01 veth161d3c2 4.35 5.83 0.36 54.02 0.00 0.00 0.00 0.00 18:59:25 18:56:01 lo 6.60 6.60 0.63 0.63 0.00 0.00 0.00 0.00 18:59:25 18:56:01 ens3 490.68 319.01 4210.15 97.65 0.00 0.00 0.00 0.00 18:59:25 18:57:01 docker0 2.57 3.70 0.15 27.93 0.00 0.00 0.00 0.00 18:59:25 18:57:01 lo 1.13 1.13 0.10 0.10 0.00 0.00 0.00 0.00 18:59:25 18:57:01 ens3 101.35 62.71 2552.37 12.46 0.00 0.00 0.00 0.00 18:59:25 18:58:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:59:25 18:58:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:59:25 18:58:01 ens3 8.10 3.20 8.98 0.40 0.00 0.00 0.00 0.00 18:59:25 18:59:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:59:25 18:59:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 18:59:25 18:59:01 ens3 0.13 0.12 0.01 0.01 0.00 0.00 0.00 0.00 18:59:25 Average: docker0 2.39 3.01 0.18 27.76 0.00 0.00 0.00 0.00 18:59:25 Average: lo 1.98 1.98 0.19 0.19 0.00 0.00 0.00 0.00 18:59:25 Average: ens3 150.07 96.26 1692.88 27.63 0.00 0.00 0.00 0.00 18:59:25 18:59:25 18:59:25 ---> sar -P ALL: 18:59:25 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-3298) 08/10/23 _x86_64_ (8 CPU) 18:59:25 18:59:25 18:54:54 LINUX RESTART (8 CPU) 18:59:25 18:59:25 18:55:01 CPU %user %nice %system %iowait %steal %idle 18:59:25 18:56:01 all 7.47 0.00 2.47 2.88 0.05 87.13 18:59:25 18:56:01 0 5.13 0.00 3.15 2.30 0.05 89.37 18:59:25 18:56:01 1 12.09 0.00 1.74 0.30 0.03 85.84 18:59:25 18:56:01 2 6.13 0.00 2.88 1.68 0.05 89.26 18:59:25 18:56:01 3 7.70 0.00 2.43 7.98 0.08 81.81 18:59:25 18:56:01 4 9.02 0.00 3.58 6.88 0.05 80.47 18:59:25 18:56:01 5 6.11 0.00 2.03 0.82 0.03 91.01 18:59:25 18:56:01 6 8.09 0.00 1.93 0.30 0.05 89.64 18:59:25 18:56:01 7 5.52 0.00 2.01 2.73 0.08 89.66 18:59:25 18:57:01 all 2.92 0.00 1.25 1.00 0.03 94.80 18:59:25 18:57:01 0 2.73 0.00 1.14 0.22 0.03 95.88 18:59:25 18:57:01 1 3.34 0.00 1.61 5.61 0.03 89.41 18:59:25 18:57:01 2 3.75 0.00 1.43 0.00 0.03 94.78 18:59:25 18:57:01 3 2.10 0.00 1.33 0.07 0.02 96.49 18:59:25 18:57:01 4 2.89 0.00 1.14 0.50 0.05 95.42 18:59:25 18:57:01 5 2.83 0.00 0.82 0.67 0.03 95.65 18:59:25 18:57:01 6 2.78 0.00 1.17 0.10 0.02 95.93 18:59:25 18:57:01 7 2.91 0.00 1.34 0.84 0.03 94.87 18:59:25 18:58:01 all 0.15 0.00 0.01 0.00 0.01 99.82 18:59:25 18:58:01 0 0.05 0.00 0.03 0.00 0.03 99.88 18:59:25 18:58:01 1 0.00 0.00 0.03 0.00 0.02 99.95 18:59:25 18:58:01 2 1.12 0.00 0.00 0.00 0.02 98.86 18:59:25 18:58:01 3 0.00 0.00 0.00 0.00 0.00 100.00 18:59:25 18:58:01 4 0.02 0.00 0.02 0.03 0.00 99.93 18:59:25 18:58:01 5 0.02 0.00 0.00 0.00 0.00 99.98 18:59:25 18:58:01 6 0.00 0.00 0.00 0.00 0.00 100.00 18:59:25 18:58:01 7 0.02 0.00 0.03 0.00 0.00 99.95 18:59:25 18:59:01 all 0.03 0.00 0.01 0.00 0.01 99.96 18:59:25 18:59:01 0 0.07 0.00 0.03 0.00 0.02 99.88 18:59:25 18:59:01 1 0.00 0.00 0.02 0.02 0.00 99.97 18:59:25 18:59:01 2 0.03 0.00 0.02 0.00 0.00 99.95 18:59:25 18:59:01 3 0.02 0.00 0.00 0.00 0.00 99.98 18:59:25 18:59:01 4 0.03 0.00 0.00 0.00 0.02 99.95 18:59:25 18:59:01 5 0.00 0.00 0.00 0.00 0.00 100.00 18:59:25 18:59:01 6 0.03 0.00 0.00 0.00 0.02 99.95 18:59:25 18:59:01 7 0.02 0.00 0.02 0.00 0.00 99.97 18:59:25 Average: all 2.64 0.00 0.93 0.97 0.03 95.44 18:59:25 Average: 0 1.99 0.00 1.09 0.63 0.03 96.26 18:59:25 Average: 1 3.85 0.00 0.85 1.48 0.02 93.81 18:59:25 Average: 2 2.76 0.00 1.08 0.42 0.03 95.72 18:59:25 Average: 3 2.45 0.00 0.94 2.01 0.03 94.58 18:59:25 Average: 4 2.98 0.00 1.18 1.85 0.03 93.96 18:59:25 Average: 5 2.23 0.00 0.71 0.37 0.02 96.67 18:59:25 Average: 6 2.72 0.00 0.77 0.10 0.02 96.39 18:59:25 Average: 7 2.10 0.00 0.85 0.89 0.03 96.13 18:59:25 18:59:25 18:59:25