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 70adbc05d5985df01ef9d9c351b6d02d06141faf rather than 2ab919ba902543e8751b24cbae806de0a32484ea Obtained Jenkinsfile from 70adbc05d5985df01ef9d9c351b6d02d06141faf 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-ssh13008794284469881150.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh8241355710968703662.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-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-ssh2423953076279591616.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh12330312759823789510.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-ssh10736034108097729791.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildCApp] RAW Config: [project:device-sdk-c, dockerBuildFilePath:scripts/Dockerfile.alpine-base, dockerFilePath:scripts/Dockerfile.alpine, pushImage:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildCApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-c-settings PROJECT: device-sdk-c USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build DOCKER_FILE_PATH: scripts/Dockerfile.alpine DOCKER_BUILD_FILE_PATH: scripts/Dockerfile.alpine-base DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-6484’ Running on prd-ubuntu20.04-docker-8c-8g-6486 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 70adbc05d5985df01ef9d9c351b6d02d06141faf into PR head commit 2ab919ba902543e8751b24cbae806de0a32484ea Merge succeeded, producing 47566c29439aea90bef722e4ab9c1e1d5e3022a6 Checking out Revision 47566c29439aea90bef722e4ab9c1e1d5e3022a6 (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 70adbc05d5985df01ef9d9c351b6d02d06141faf # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 47566c29439aea90bef722e4ab9c1e1d5e3022a6 # timeout=10 Commit message: "Merge commit '70adbc05d5985df01ef9d9c351b6d02d06141faf' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 18:56:21 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 18:56:21 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 18:56:21 ========================================================= 18:56:21 EdgeX Global Pipelines Version Info 18:56:21 ========================================================= [Pipeline] libraryResource [Pipeline] sh 18:56:21 ------------------- 18:56:21 stable info: 18:56:21 ------------------- 18:56:21 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 18:56:21 Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a 18:56:21 Message: update stable to v1.0.245 > git rev-list --no-walk e45206e1ce853b6c46e6ceb8146c52ef14624992 # timeout=10 18:56:22 ------------------- 18:56:22 experimental info: 18:56:22 ------------------- 18:56:22 Commited By: **** collab-it+edgex@linuxfoundation.org 18:56:22 Commit SHA: 046ad6d0e2e636d38ea4daf53c055316476b9501 18:56:22 Message: update experimental to v1.0.247 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 18:56:22 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo 18:56:22 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo 18:56:22 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 18:56:22 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 18:56:22 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 18:56:22 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo 18:56:22 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo 18:56:22 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 18:56:22 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 18:56:22 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo 18:56:22 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 18:56:22 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 18:56:22 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 18:56:22 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 18:56:22 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 18:56:22 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 18:56:22 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 18:56:22 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-444 [Pipeline] echo 18:56:22 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-444 [Pipeline] echo 18:56:22 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-444 [Pipeline] echo 18:56:22 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 47566c29439aea90bef722e4ab9c1e1d5e3022a6 [Pipeline] echo 18:56:22 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 47566c2 [Pipeline] echo 18:56:22 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:56:22 provisioning config files... 18:56:23 copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-444@tmp/config15473238615179280823tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:56:23 ---> docker-login.sh 18:56:23 nexus3.edgexfoundry.org:10001 18:56:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:56:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:56:23 Configure a credential helper to remove this warning. See 18:56:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:56:23 18:56:23 Login Succeeded 18:56:23 nexus3.edgexfoundry.org:10002 18:56:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:56:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:56:23 Configure a credential helper to remove this warning. See 18:56:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:56:23 18:56:23 Login Succeeded 18:56:23 nexus3.edgexfoundry.org:10003 18:56:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:56:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:56:23 Configure a credential helper to remove this warning. See 18:56:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:56:23 18:56:23 Login Succeeded 18:56:23 nexus3.edgexfoundry.org:10004 18:56:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:56:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:56:24 Configure a credential helper to remove this warning. See 18:56:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:56:24 18:56:24 Login Succeeded 18:56:24 docker.io 18:56:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:56:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:56:24 Configure a credential helper to remove this warning. See 18:56:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:56:24 18:56:24 Login Succeeded 18:56:24 ---> docker-login.sh ends [Pipeline] } 18:56:24 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:56:24 + git rev-list -1 --merges 47566c29439aea90bef722e4ab9c1e1d5e3022a6~1..47566c29439aea90bef722e4ab9c1e1d5e3022a6 [Pipeline] echo 18:56:24 -----------> git rev-list -1 --merges 47566c29439aea90bef722e4ab9c1e1d5e3022a6~1..47566c29439aea90bef722e4ab9c1e1d5e3022a6 47566c29439aea90bef722e4ab9c1e1d5e3022a6 18:56:24 47566c29439aea90bef722e4ab9c1e1d5e3022a6 [false] [Pipeline] sh 18:56:25 + git log --format=format:%s -1 47566c29439aea90bef722e4ab9c1e1d5e3022a6 [Pipeline] echo 18:56:25 ========================================================= 18:56:25 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 18:56:25 ========================================================= 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:56:25 + git rev-list -1 --merges 47566c29439aea90bef722e4ab9c1e1d5e3022a6~1..47566c29439aea90bef722e4ab9c1e1d5e3022a6 [Pipeline] echo 18:56:25 -----------> git rev-list -1 --merges 47566c29439aea90bef722e4ab9c1e1d5e3022a6~1..47566c29439aea90bef722e4ab9c1e1d5e3022a6 47566c29439aea90bef722e4ab9c1e1d5e3022a6 18:56:25 47566c29439aea90bef722e4ab9c1e1d5e3022a6 [false] [Pipeline] sh 18:56:25 + git log --format=format:%s -1 47566c29439aea90bef722e4ab9c1e1d5e3022a6 [Pipeline] echo 18:56:25 ========================================================= 18:56:25 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 18:56:25 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh 18:56:26 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 18:56:26 + grep -v github /etc/ssh/ssh_known_hosts 18:56:26 + [ -e /tmp/ssh_known_hosts ] 18:56:26 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 18:56:26 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 18:56:26 + sudo tee -a /etc/ssh/ssh_known_hosts 18:56:26 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:56:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:56:26 18:56:26 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:56:26 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:56:26 0.1.4: Pulling from edgex-devops/py-git-semver 18:56:26 b85a868b505f: Pulling fs layer 18:56:26 e2be974225ed: Pulling fs layer 18:56:26 339a4e72a1f5: Pulling fs layer 18:56:26 988bab9f4d93: Pulling fs layer 18:56:26 1469e6f7b9e6: Pulling fs layer 18:56:26 eaf3925da568: Pulling fs layer 18:56:26 bab4dde63d76: Pulling fs layer 18:56:26 bde34c3a00c8: Pulling fs layer 18:56:26 b352a97aabf1: Pulling fs layer 18:56:26 4872d77fe225: Pulling fs layer 18:56:26 5851b861e8e6: Pulling fs layer 18:56:26 bde34c3a00c8: Waiting 18:56:26 b352a97aabf1: Waiting 18:56:26 988bab9f4d93: Waiting 18:56:26 1469e6f7b9e6: Waiting 18:56:26 bab4dde63d76: Waiting 18:56:26 eaf3925da568: Waiting 18:56:26 e2be974225ed: Download complete 18:56:26 988bab9f4d93: Verifying Checksum 18:56:26 988bab9f4d93: Download complete 18:56:27 339a4e72a1f5: Verifying Checksum 18:56:27 339a4e72a1f5: Download complete 18:56:27 eaf3925da568: Verifying Checksum 18:56:27 eaf3925da568: Download complete 18:56:27 1469e6f7b9e6: Verifying Checksum 18:56:27 1469e6f7b9e6: Download complete 18:56:27 bde34c3a00c8: Verifying Checksum 18:56:27 bde34c3a00c8: Download complete 18:56:27 4872d77fe225: Verifying Checksum 18:56:27 4872d77fe225: Download complete 18:56:27 5851b861e8e6: Download complete 18:56:27 b85a868b505f: Download complete 18:56:27 bab4dde63d76: Verifying Checksum 18:56:27 bab4dde63d76: Download complete 18:56:28 b85a868b505f: Pull complete 18:56:28 e2be974225ed: Pull complete 18:56:29 339a4e72a1f5: Pull complete 18:56:29 988bab9f4d93: Pull complete 18:56:29 1469e6f7b9e6: Pull complete 18:56:30 eaf3925da568: Pull complete 18:56:31 bab4dde63d76: Pull complete 18:56:32 bde34c3a00c8: Pull complete 18:56:32 b352a97aabf1: Pull complete 18:56:32 4872d77fe225: Pull complete 18:56:33 5851b861e8e6: Pull complete 18:56:33 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 18:56:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:56:33 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:56:33 prd-ubuntu20.04-docker-8c-8g-6486 does not seem to be running inside a container 18:56:33 $ 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:56:36 $ docker top 743469d8338bd1097bcebfb9054d6e39e6b9b183032de4f9eb32abd0eda01710 -eo pid,comm 18:56:36 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:56:36 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:56:36 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:56:36 [ssh-agent] Looking for ssh-agent implementation... 18:56:36 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:56:36 $ docker exec 743469d8338bd1097bcebfb9054d6e39e6b9b183032de4f9eb32abd0eda01710 ssh-agent 18:56:36 SSH_AUTH_SOCK=/tmp/ssh-FIRtD0W7onPg/agent.31 18:56:36 SSH_AGENT_PID=37 18:56:36 Running ssh-add (command line suppressed) 18:56:36 Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-444@tmp/private_key_13329576033083247717.key (/w/workspace/edgexfoundry_device-sdk-c_PR-444@tmp/private_key_13329576033083247717.key) 18:56:36 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:56:37 + git tag --points-at HEAD [Pipeline] } 18:56:37 $ docker exec --env ******** --env ******** 743469d8338bd1097bcebfb9054d6e39e6b9b183032de4f9eb32abd0eda01710 ssh-agent -k 18:56:37 unset SSH_AUTH_SOCK; 18:56:37 unset SSH_AGENT_PID; 18:56:37 echo Agent pid 37 killed; 18:56:37 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 18:56:37 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:56:37 [ssh-agent] Looking for ssh-agent implementation... 18:56:37 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:56:37 $ docker exec 743469d8338bd1097bcebfb9054d6e39e6b9b183032de4f9eb32abd0eda01710 ssh-agent 18:56:37 SSH_AUTH_SOCK=/tmp/ssh-uBmEqDfDV9IV/agent.69 18:56:37 SSH_AGENT_PID=75 18:56:37 Running ssh-add (command line suppressed) 18:56:37 Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-444@tmp/private_key_18386817627687405473.key (/w/workspace/edgexfoundry_device-sdk-c_PR-444@tmp/private_key_18386817627687405473.key) 18:56:37 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:56:37 + git semver init 18:56:38 2023-03-30 18:56:38,029 [run_init] DEBUG init version:0.0.0 force:False 18:56:38 2023-03-30 18:56:38,029 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-c_PR-444/.semver 18:56:38 2023-03-30 18:56:38,030 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-c.git /w/workspace/edgexfoundry_device-sdk-c_PR-444/.semver 18:56:38 2023-03-30 18:56:38,030 [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:56:39 2023-03-30 18:56:38,919 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-c_PR-444/.git/info/exclude 18:56:39 2023-03-30 18:56:38,919 [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:56:39 2023-03-30 18:56:38,920 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-c_PR-444/.semver/PR-444 18:56:39 2023-03-30 18:56:38,923 [execute] INFO git cat-file --batch-check 18:56:39 2023-03-30 18:56:38,924 [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:56:39 2023-03-30 18:56:38,929 [execute] INFO git cat-file --batch 18:56:39 2023-03-30 18:56:38,930 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-444/.semver, universal_newlines=False, shell=None, istream=) 18:56:39 2023-03-30 18:56:38,934 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_PR-444/.semver/PR-444 18:56:39 0.0.0 [Pipeline] } 18:56:39 $ docker exec --env ******** --env ******** 743469d8338bd1097bcebfb9054d6e39e6b9b183032de4f9eb32abd0eda01710 ssh-agent -k 18:56:39 unset SSH_AUTH_SOCK; 18:56:39 unset SSH_AGENT_PID; 18:56:39 echo Agent pid 75 killed; 18:56:39 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:56:39 + git semver [Pipeline] } 18:56:39 $ docker stop --time=1 743469d8338bd1097bcebfb9054d6e39e6b9b183032de4f9eb32abd0eda01710 18:56:41 $ docker rm -f --volumes 743469d8338bd1097bcebfb9054d6e39e6b9b183032de4f9eb32abd0eda01710 [Pipeline] // withDockerContainer [Pipeline] sh 18:56:41 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 18:56:41 Stashed 1 file(s) [Pipeline] echo 18:56:41 [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:56:41 provisioning config files... 18:56:41 copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-444@tmp/config12127363915569730402tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:56:42 ---> docker-login.sh 18:56:42 nexus3.edgexfoundry.org:10001 18:56:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:56:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:56:42 Configure a credential helper to remove this warning. See 18:56:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:56:42 18:56:42 Login Succeeded 18:56:42 nexus3.edgexfoundry.org:10002 18:56:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:56:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:56:42 Configure a credential helper to remove this warning. See 18:56:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:56:42 18:56:42 Login Succeeded 18:56:42 nexus3.edgexfoundry.org:10003 18:56:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:56:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:56:42 Configure a credential helper to remove this warning. See 18:56:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:56:42 18:56:42 Login Succeeded 18:56:42 nexus3.edgexfoundry.org:10004 18:56:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:56:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:56:42 Configure a credential helper to remove this warning. See 18:56:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:56:42 18:56:42 Login Succeeded 18:56:42 docker.io 18:56:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:56:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:56:42 Configure a credential helper to remove this warning. See 18:56:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:56:42 18:56:42 Login Succeeded 18:56:42 ---> docker-login.sh ends [Pipeline] } 18:56:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:56:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:56:42 [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo 18:56:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:56:42 ========================================================= 18:56:42 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] 18:56:42 ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:56:43 + 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:56:43 Sending build context to Docker daemon 4.85MB 18:56:43 Step 1/21 : ARG BASE=alpine:3.16 18:56:43 Step 2/21 : FROM ${BASE} as builder 18:56:43 latest: Pulling from edgex-devops/edgex-gcc-base 18:56:43 213ec9aee27d: Pulling fs layer 18:56:43 0f09ad1b1b37: Pulling fs layer 18:56:43 213ec9aee27d: Verifying Checksum 18:56:43 213ec9aee27d: Download complete 18:56:43 213ec9aee27d: Pull complete 18:56:43 0f09ad1b1b37: Verifying Checksum 18:56:43 0f09ad1b1b37: Download complete 18:56:46 0f09ad1b1b37: Pull complete 18:56:46 Digest: sha256:64e9d1beac36a0037884aaf44bcf94b2de593689edef1cdaec9f2b2ef7c7c108 18:56:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest 18:56:46 ---> b2bbfebb3566 18:56:46 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:56:48 ---> Running in 93e74784ec07 18:56:48 Connecting to iotech.jfrog.io (34.240.134.226:443) 18:56:49 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 18:56:49 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 18:56:49 '/etc/apk/keys/alpine.dev.rsa.pub' saved 18:56:49 Removing intermediate container 93e74784ec07 18:56:49 ---> 2126cf12dcfa 18:56:49 Step 4/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories 18:56:49 ---> Running in b7e98916e49e 18:56:50 Removing intermediate container b7e98916e49e 18:56:50 ---> 6daf3236b43c 18:56:50 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:56:50 ---> Running in fd67d345f1a5 18:56:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 18:56:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 18:56:50 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/x86_64/APKINDEX.tar.gz 18:56:51 WARNING: This apk-tools is OLD! Some packages might not function properly. 18:56:51 (1/14) Installing hiredis (1.0.2-r0) 18:56:51 (2/14) Installing hiredis-dev (1.0.2-r0) 18:56:51 (3/14) Installing iotech-iot-1.5 (1.5.0-r0) 18:56:51 (4/14) Installing iotech-iot-1.5-dev (1.5.0-r0) 18:56:51 (5/14) Installing libcbor (0.9.0-r1) 18:56:51 (6/14) Installing libcbor-dev (0.9.0-r1) 18:56:51 (7/14) Installing ncurses-dev (6.3_p20220521-r0) 18:56:51 (8/14) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) 18:56:52 (9/14) Installing libblkid (2.38-r1) 18:56:52 (10/14) Installing libuuid (2.38-r1) 18:56:52 (11/14) Installing libfdisk (2.38-r1) 18:56:52 (12/14) Installing libmount (2.38-r1) 18:56:52 (13/14) Installing libsmartcols (2.38-r1) 18:56:52 (14/14) Installing util-linux-dev (2.38-r1) 18:56:52 Executing busybox-1.35.0-r17.trigger 18:56:52 OK: 280 MiB in 90 packages 18:56:53 Removing intermediate container fd67d345f1a5 18:56:53 ---> bd98111be266 18:56:53 Step 6/21 : RUN mkdir /tmp/sdk 18:56:53 ---> Running in b6bf98d14c27 18:56:53 Removing intermediate container b6bf98d14c27 18:56:53 ---> 136023b39627 18:56:53 Step 7/21 : COPY VERSION /tmp/sdk 18:56:53 ---> 60b2c4d146fe 18:56:53 Step 8/21 : COPY src /tmp/sdk/src 18:56:54 ---> 59852e8d9d85 18:56:54 Step 9/21 : COPY include /tmp/sdk/include 18:56:54 ---> dbc08583afda 18:56:54 Step 10/21 : COPY scripts /tmp/sdk/scripts 18:56:54 ---> a2d24bace50f 18:56:54 Step 11/21 : COPY LICENSE /tmp/sdk 18:56:54 ---> 4b64165fe191 18:56:54 Step 12/21 : COPY Attribution.txt /tmp/sdk 18:56:54 ---> 3efb87631b29 18:56:54 Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 18:56:54 ---> Running in dd7513b852a0 18:56:54 + CPPCHECK=false 18:56:54 + DOCGEN=false 18:56:54 + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' 18:56:54 + TOMLVER=SDK-0.2 18:56:54 + CUTILVER=1.4 18:56:54 + '[' 0 -gt 0 ] 18:56:54 + readlink -f ./scripts/build.sh 18:56:54 + dirname /tmp/sdk/scripts/build.sh 18:56:54 + dirname /tmp/sdk/scripts 18:56:54 + ROOT=/tmp/sdk 18:56:54 + cd /tmp/sdk 18:56:54 + '[' '!' -d deps ] 18:56:54 + mkdir deps 18:56:54 + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 18:56:54 + tar -C deps -z -x -f - 18:56:54 Connecting to github.com (140.82.113.3:443) 18:56:55 Connecting to codeload.github.com (140.82.114.10:443) 18:56:55 writing to stdout 18:56:55 - 100% |********************************| 16451 0:00:00 ETA 18:56:55 written to stdout 18:56:55 + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c 18:56:55 + mkdir -p /tmp/sdk/build/release 18:56:55 + cd /tmp/sdk/build/release 18:56:55 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 18:56:55 -- The C compiler identification is GNU 11.2.1 18:56:55 -- Detecting C compiler ABI info 18:56:55 -- Detecting C compiler ABI info - done 18:56:55 -- Check for working C compiler: /usr/bin/cc - skipped 18:56:55 -- Detecting C compile features 18:56:55 -- Detecting C compile features - done 18:56:55 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 18:56:55 -- Found CURL: /usr/lib/libcurl.so (found version "7.83.1") 18:56:55 -- Found LIBYAML: /usr/lib/libyaml.so 18:56:55 -- Found LIBUUID: /usr/lib/libuuid.so 18:56:55 -- Found LIBCBOR: /usr/lib/libcbor.so 18:56:55 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 18:56:55 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 18:56:55 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 18:56:55 -- /opt/iotech/iot/1.5/include 18:56:55 -- C SDK 0.0.0 for Linux 18:56:55 -- Performing Test CSDK_HAVE_ATOMIC 18:56:55 -- Performing Test CSDK_HAVE_ATOMIC - Success 18:56:55 -- Found Curses: /usr/lib/libcurses.so 18:56:55 -- Configuring done 18:56:55 -- Generating done 18:56:55 -- Build files have been written to: /tmp/sdk/build/release 18:56:55 + make all package 18:56:55 + tee release.log 18:56:55 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 18:56:55 In file included from /tmp/sdk/src/c/autoevent.c:9: 18:56:55 /tmp/sdk/src/c/autoevent.h:25:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 18:56:55 25 | void clear_ae_signals (); 18:56:55 | ^~~~ 18:56:56 /tmp/sdk/src/c/autoevent.c: In function 'edgex_device_autoevent_start': 18:56:56 /tmp/sdk/src/c/autoevent.c:170:47: error: expected ';' before '}' token 18:56:56 170 | init_flg_slv = sem_init (&slv_mutex, 0, 1) 18:56:56 | ^ 18:56:56 | ; 18:56:56 171 | } 18:56:56 | ~ 18:56:56 /tmp/sdk/src/c/autoevent.c: At top level: 18:56:56 /tmp/sdk/src/c/autoevent.c:278:6: warning: function declaration isn't a prototype [-Wstrict-prototypes] 18:56:56 278 | void clear_ae_signals () 18:56:56 | ^~~~~~~~~~~~~~~~ 18:56:56 make[2]: *** [c/CMakeFiles/csdk.dir/build.make:76: c/CMakeFiles/csdk.dir/autoevent.c.o] Error 1 18:56:56 make[1]: *** [CMakeFiles/Makefile2:240: c/CMakeFiles/csdk.dir/all] Error 2 18:56:56 make: *** [Makefile:156: all] Error 2 18:56:56 + '[' false '=' true ] 18:56:56 + '[' false '=' true ] 18:56:56 + mkdir -p /tmp/sdk/build/debug 18:56:56 + cd /tmp/sdk/build/debug 18:56:56 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 18:56:56 -- The C compiler identification is GNU 11.2.1 18:56:56 -- Detecting C compiler ABI info 18:56:56 -- Detecting C compiler ABI info - done 18:56:56 -- Check for working C compiler: /usr/bin/cc - skipped 18:56:56 -- Detecting C compile features 18:56:56 -- Detecting C compile features - done 18:56:56 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 18:56:56 -- Found CURL: /usr/lib/libcurl.so (found version "7.83.1") 18:56:56 -- Found LIBYAML: /usr/lib/libyaml.so 18:56:56 -- Found LIBUUID: /usr/lib/libuuid.so 18:56:56 -- Found LIBCBOR: /usr/lib/libcbor.so 18:56:56 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 18:56:56 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 18:56:56 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 18:56:56 -- /opt/iotech/iot/1.5/include 18:56:56 -- C SDK 0.0.0 for Linux 18:56:56 -- Performing Test CSDK_HAVE_ATOMIC 18:56:56 -- Performing Test CSDK_HAVE_ATOMIC - Success 18:56:56 -- Found Curses: /usr/lib/libcurses.so 18:56:56 -- Configuring done 18:56:56 -- Generating done 18:56:56 -- Build files have been written to: /tmp/sdk/build/debug 18:56:56 + make 18:56:56 + tee debug.log 18:56:56 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 18:56:56 In file included from /tmp/sdk/src/c/autoevent.c:9: 18:56:56 /tmp/sdk/src/c/autoevent.h:25:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 18:56:56 25 | void clear_ae_signals (); 18:56:56 | ^~~~ 18:56:56 /tmp/sdk/src/c/autoevent.c: In function 'edgex_device_autoevent_start': 18:56:56 /tmp/sdk/src/c/autoevent.c:170:47: error: expected ';' before '}' token 18:56:56 170 | init_flg_slv = sem_init (&slv_mutex, 0, 1) 18:56:56 | ^ 18:56:56 | ; 18:56:56 171 | } 18:56:56 | ~ 18:56:56 /tmp/sdk/src/c/autoevent.c: At top level: 18:56:56 /tmp/sdk/src/c/autoevent.c:278:6: warning: function declaration isn't a prototype [-Wstrict-prototypes] 18:56:56 278 | void clear_ae_signals () 18:56:56 | ^~~~~~~~~~~~~~~~ 18:56:56 make[2]: *** [c/CMakeFiles/csdk.dir/build.make:76: c/CMakeFiles/csdk.dir/autoevent.c.o] Error 1 18:56:56 make[1]: *** [CMakeFiles/Makefile2:240: c/CMakeFiles/csdk.dir/all] Error 2 18:56:56 make: *** [Makefile:156: all] Error 2 18:56:56 make: Entering directory '/tmp/sdk/build/release' 18:56:56 make[1]: Entering directory '/tmp/sdk/build/release' 18:56:56 make[2]: Entering directory '/tmp/sdk/build/release' 18:56:56 Consolidate compiler generated dependencies of target csdk 18:56:56 make[2]: Leaving directory '/tmp/sdk/build/release' 18:56:56 make[2]: Entering directory '/tmp/sdk/build/release' 18:56:56 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 18:56:56 In file included from /tmp/sdk/src/c/autoevent.c:9: 18:56:56 /tmp/sdk/src/c/autoevent.h:25:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 18:56:56 25 | void clear_ae_signals (); 18:56:56 | ^~~~ 18:56:56 /tmp/sdk/src/c/autoevent.c: In function 'edgex_device_autoevent_start': 18:56:56 /tmp/sdk/src/c/autoevent.c:170:47: error: expected ';' before '}' token 18:56:56 170 | init_flg_slv = sem_init (&slv_mutex, 0, 1) 18:56:56 | ^ 18:56:56 | ; 18:56:56 171 | } 18:56:56 | ~ 18:56:56 /tmp/sdk/src/c/autoevent.c: At top level: 18:56:56 /tmp/sdk/src/c/autoevent.c:278:6: warning: function declaration isn't a prototype [-Wstrict-prototypes] 18:56:56 278 | void clear_ae_signals () 18:56:56 | ^~~~~~~~~~~~~~~~ 18:56:56 make[2]: Leaving directory '/tmp/sdk/build/release' 18:56:56 make[2]: *** [c/CMakeFiles/csdk.dir/build.make:76: c/CMakeFiles/csdk.dir/autoevent.c.o] Error 1 18:56:56 make[1]: Leaving directory '/tmp/sdk/build/release' 18:56:56 make[1]: *** [CMakeFiles/Makefile2:240: c/CMakeFiles/csdk.dir/all] Error 2 18:56:56 make: *** [Makefile:156: all] Error 2 18:56:56 make: Leaving directory '/tmp/sdk/build/release' 18:56:56 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 18:56:56 Still waiting to schedule task 18:56:56 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [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:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:56:57 18:56:57 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:56:57 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:56:57 latest: Pulling from edgex-lftools-log-publisher 18:56:57 5eb5b503b376: Pulling fs layer 18:56:57 5c69ac0246d0: Pulling fs layer 18:56:57 ec43610c2a17: Pulling fs layer 18:56:57 3a2ae6a8a46f: Pulling fs layer 18:56:57 33b1e0a273af: Pulling fs layer 18:56:57 5d3b04190fa2: Pulling fs layer 18:56:57 2f39f015ded8: Pulling fs layer 18:56:57 33b1e0a273af: Waiting 18:56:57 5d3b04190fa2: Waiting 18:56:57 2f39f015ded8: Waiting 18:56:57 3a2ae6a8a46f: Waiting 18:56:57 5c69ac0246d0: Verifying Checksum 18:56:57 5c69ac0246d0: Download complete 18:56:57 3a2ae6a8a46f: Verifying Checksum 18:56:57 3a2ae6a8a46f: Download complete 18:56:57 ec43610c2a17: Verifying Checksum 18:56:57 ec43610c2a17: Download complete 18:56:57 33b1e0a273af: Verifying Checksum 18:56:57 33b1e0a273af: Download complete 18:56:57 5d3b04190fa2: Download complete 18:56:57 5eb5b503b376: Download complete 18:56:58 2f39f015ded8: Download complete 18:56:59 5eb5b503b376: Pull complete 18:56:59 5c69ac0246d0: Pull complete 18:56:59 ec43610c2a17: Pull complete 18:56:59 3a2ae6a8a46f: Pull complete 18:56:59 33b1e0a273af: Pull complete 18:56:59 5d3b04190fa2: Pull complete 18:57:04 2f39f015ded8: Pull complete 18:57:04 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 18:57:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:57:04 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:57:04 prd-ubuntu20.04-docker-8c-8g-6486 does not seem to be running inside a container 18:57:04 $ 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:57:07 $ docker top a863890be8dbe5f17a669a3079ccfcc7aab6c37abe146e39c0a19661ea2738e1 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:57:08 ---> job-cost.sh 18:57:08 lf-activate-venv: SKIPPING 18:57:08 INFO: No Stack... 18:57:08 INFO: Retrieving Pricing Info for: v3-standard-8 18:57:09 INFO: Archiving Costs [Pipeline] sh 18:57:09 + cat /w/workspace/edgexfoundry_device-sdk-c_PR-444/archives/cost.csv 18:57:09 + cut -d, -f6 [Pipeline] lock 18:57:09 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-444-4-stack-cost] 18:57:09 Resource [jenkins-edgexfoundry-device-sdk-c-PR-444-4-stack-cost] did not exist. Created. 18:57:09 Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-444-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:57:09 + echo total: 0.2199999988079071 [Pipeline] stash 18:57:09 Stashed 1 file(s) [Pipeline] } 18:57:09 Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-444-4-stack-cost] [Pipeline] // lock [Pipeline] } 18:57:09 $ docker stop --time=1 a863890be8dbe5f17a669a3079ccfcc7aab6c37abe146e39c0a19661ea2738e1 18:57:10 $ docker rm -f --volumes a863890be8dbe5f17a669a3079ccfcc7aab6c37abe146e39c0a19661ea2738e1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 18:57:11 Failed in branch amd64 18:58:33 Running on prd-ubuntu20.04-docker-arm64-4c-16g-6487 in /w/workspace/edgexfoundry_device-sdk-c_PR-444 [Pipeline] { [Pipeline] ws 18:58:33 Running in /w/workspace/device-sdk-c/4 [Pipeline] { [Pipeline] checkout 18:58:33 Selected Git installation does not exist. Using Default 18:58:33 The recommended git tool is: NONE 18:58:39 using credential edgex-jenkins-ssh 18:58:39 Cloning the remote Git repository 18:58:39 Cloning repository git@github.com:edgexfoundry/device-sdk-c.git 18:58:39 > git init /w/workspace/device-sdk-c/4 # timeout=10 18:58:39 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 18:58:39 > git --version # timeout=10 18:58:39 > git --version # 'git version 2.25.1' 18:58:39 using GIT_SSH to set credentials SSH Credentials for GitHub 18:58:39 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 18:58:40 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 18:58:40 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 18:58:42 Merging remotes/origin/main commit 70adbc05d5985df01ef9d9c351b6d02d06141faf into PR head commit 2ab919ba902543e8751b24cbae806de0a32484ea 18:58:42 Merge succeeded, producing c5bb5fe3257a5e37f31ac1a03c9ab68e7ab77c7a 18:58:42 Checking out Revision c5bb5fe3257a5e37f31ac1a03c9ab68e7ab77c7a (PR-444) 18:58:41 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 18:58:41 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 18:58:41 using GIT_SSH to set credentials SSH Credentials for GitHub 18:58:41 > 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:58:42 > git config core.sparsecheckout # timeout=10 18:58:42 > git checkout -f 2ab919ba902543e8751b24cbae806de0a32484ea # timeout=10 18:58:42 > git remote # timeout=10 18:58:42 > git config --get remote.origin.url # timeout=10 18:58:42 using GIT_SSH to set credentials SSH Credentials for GitHub 18:58:42 > git merge 70adbc05d5985df01ef9d9c351b6d02d06141faf # timeout=10 18:58:42 > git rev-parse HEAD^{commit} # timeout=10 18:58:42 > git config core.sparsecheckout # timeout=10 18:58:42 > git checkout -f c5bb5fe3257a5e37f31ac1a03c9ab68e7ab77c7a # timeout=10 18:58:46 Commit message: "Merge commit '70adbc05d5985df01ef9d9c351b6d02d06141faf' into HEAD" 18:58:46 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:58:46 > git rev-list --no-walk e45206e1ce853b6c46e6ceb8146c52ef14624992 # timeout=10 18:58:47 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 18:58:47 % Total % Received % Xferd Average Speed Time Time Time Current 18:58:47 Dload Upload Total Spent Left Speed 18:58:47 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 74567 0 --:--:-- --:--:-- --:--:-- 74567 [Pipeline] sh 18:58:47 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 18:58:47 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 18:58:47 + sudo tee /etc/docker/daemon.new 18:58:47 { 18:58:47 "registry-mirrors": [ 18:58:47 "https://nexus3.edgexfoundry.org:10001" 18:58:47 ], 18:58:47 "bip": "10.250.0.254/24", 18:58:47 "hosts": [ 18:58:47 "tcp://0.0.0.0:5555", 18:58:47 "unix:///var/run/docker.sock" 18:58:47 ], 18:58:47 "mtu": 1458, 18:58:47 "selinux-enabled": true, 18:58:47 "seccomp-profile": "/etc/docker/seccomp.json" 18:58:47 } [Pipeline] sh 18:58:48 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 18:58:48 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:59:06 provisioning config files... 18:59:06 copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/4@tmp/config14821335882283576358tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:59:07 ---> docker-login.sh 18:59:07 nexus3.edgexfoundry.org:10001 18:59:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:59:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:59:07 Configure a credential helper to remove this warning. See 18:59:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:59:07 18:59:07 Login Succeeded 18:59:07 nexus3.edgexfoundry.org:10002 18:59:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:59:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:59:08 Configure a credential helper to remove this warning. See 18:59:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:59:08 18:59:08 Login Succeeded 18:59:08 nexus3.edgexfoundry.org:10003 18:59:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:59:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:59:08 Configure a credential helper to remove this warning. See 18:59:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:59:08 18:59:08 Login Succeeded 18:59:08 nexus3.edgexfoundry.org:10004 18:59:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:59:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:59:09 Configure a credential helper to remove this warning. See 18:59:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:59:09 18:59:09 Login Succeeded 18:59:09 docker.io 18:59:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:59:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:59:09 Configure a credential helper to remove this warning. See 18:59:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:59:09 18:59:09 Login Succeeded 18:59:09 ---> docker-login.sh ends [Pipeline] } 18:59:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:59:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:59:09 [prepBaseBuildImage] Generating new image with name: ci-base-image-arm64 [Pipeline] echo 18:59:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:59:09 ========================================================= 18:59:09 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] 18:59:09 ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:59:10 + 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:59:10 Sending build context to Docker daemon 2.936MB 18:59:10 Step 1/21 : ARG BASE=alpine:3.16 18:59:10 Step 2/21 : FROM ${BASE} as builder 18:59:10 latest: Pulling from edgex-devops/edgex-gcc-base-arm64 18:59:10 9b18e9b68314: Pulling fs layer 18:59:10 1def92ead452: Pulling fs layer 18:59:11 9b18e9b68314: Download complete 18:59:11 9b18e9b68314: Pull complete 18:59:13 1def92ead452: Verifying Checksum 18:59:13 1def92ead452: Download complete 18:59:21 1def92ead452: Pull complete 18:59:21 Digest: sha256:3c74c28e8b16bff0b36cfc53656b3ae71c0a9fddc9bd5376ab4c3f9356b3cc6c 18:59:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest 18:59:21 ---> 9a9802766715 18:59:21 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:59:22 ---> Running in 7f1b42752fb7 18:59:23 Connecting to iotech.jfrog.io (176.34.135.205:443) 18:59:23 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 18:59:23 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 18:59:23 '/etc/apk/keys/alpine.dev.rsa.pub' saved 18:59:24 Removing intermediate container 7f1b42752fb7 18:59:24 ---> 10b4ba67c21f 18:59:24 Step 4/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories 18:59:24 ---> Running in 4e6d2beb58cb 18:59:26 Removing intermediate container 4e6d2beb58cb 18:59:26 ---> c9a6b65fd766 18:59:26 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:59:26 ---> Running in 3526538da9dd 18:59:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 18:59:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 18:59:27 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/aarch64/APKINDEX.tar.gz 18:59:28 WARNING: This apk-tools is OLD! Some packages might not function properly. 18:59:28 (1/14) Installing hiredis (1.0.2-r0) 18:59:28 (2/14) Installing hiredis-dev (1.0.2-r0) 18:59:28 (3/14) Installing iotech-iot-1.5 (1.5.0-r0) 18:59:29 (4/14) Installing iotech-iot-1.5-dev (1.5.0-r0) 18:59:29 (5/14) Installing libcbor (0.9.0-r1) 18:59:29 (6/14) Installing libcbor-dev (0.9.0-r1) 18:59:29 (7/14) Installing ncurses-dev (6.3_p20220521-r0) 18:59:29 (8/14) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) 18:59:30 (9/14) Installing libblkid (2.38-r1) 18:59:30 (10/14) Installing libuuid (2.38-r1) 18:59:30 (11/14) Installing libfdisk (2.38-r1) 18:59:30 (12/14) Installing libmount (2.38-r1) 18:59:30 (13/14) Installing libsmartcols (2.38-r1) 18:59:30 (14/14) Installing util-linux-dev (2.38-r1) 18:59:30 Executing busybox-1.35.0-r17.trigger 18:59:30 OK: 286 MiB in 90 packages 18:59:34 Removing intermediate container 3526538da9dd 18:59:34 ---> 6286a39fa036 18:59:34 Step 6/21 : RUN mkdir /tmp/sdk 18:59:34 ---> Running in 048b66ff184f 18:59:36 Removing intermediate container 048b66ff184f 18:59:36 ---> e83d3bbf2608 18:59:36 Step 7/21 : COPY VERSION /tmp/sdk 18:59:36 ---> 894fd850228f 18:59:36 Step 8/21 : COPY src /tmp/sdk/src 18:59:37 ---> 25dd205967b2 18:59:37 Step 9/21 : COPY include /tmp/sdk/include 18:59:38 ---> adf195613934 18:59:38 Step 10/21 : COPY scripts /tmp/sdk/scripts 18:59:38 ---> 48121da094b1 18:59:38 Step 11/21 : COPY LICENSE /tmp/sdk 18:59:38 ---> 5c3bb27fa4af 18:59:38 Step 12/21 : COPY Attribution.txt /tmp/sdk 18:59:39 ---> 16350316985e 18:59:39 Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 18:59:39 ---> Running in b83172d91ec7 18:59:40 + CPPCHECK=false 18:59:40 + DOCGEN=false 18:59:40 + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' 18:59:40 + TOMLVER=SDK-0.2 18:59:40 + CUTILVER=1.4 18:59:40 + '[' 0 -gt 0 ] 18:59:40 + readlink -f ./scripts/build.sh 18:59:40 + dirname /tmp/sdk/scripts/build.sh 18:59:40 + dirname /tmp/sdk/scripts 18:59:40 + ROOT=/tmp/sdk 18:59:40 + cd /tmp/sdk 18:59:40 + '[' '!' -d deps ] 18:59:40 + mkdir deps 18:59:40 + + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 18:59:40 tar -C deps -z -x -f - 18:59:40 Connecting to github.com (140.82.114.3:443) 18:59:40 Connecting to codeload.github.com (140.82.113.9:443) 18:59:40 writing to stdout 18:59:40 - 100% |********************************| 16451 0:00:00 ETA 18:59:40 written to stdout 18:59:40 + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c 18:59:41 + mkdir -p /tmp/sdk/build/release 18:59:41 + cd /tmp/sdk/build/release 18:59:41 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 18:59:41 -- The C compiler identification is GNU 11.2.1 18:59:41 -- Detecting C compiler ABI info 18:59:41 -- Detecting C compiler ABI info - done 18:59:41 -- Check for working C compiler: /usr/bin/cc - skipped 18:59:41 -- Detecting C compile features 18:59:41 -- Detecting C compile features - done 18:59:41 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 18:59:41 -- Found CURL: /usr/lib/libcurl.so (found version "7.83.1") 18:59:41 -- Found LIBYAML: /usr/lib/libyaml.so 18:59:42 -- Found LIBUUID: /usr/lib/libuuid.so 18:59:42 -- Found LIBCBOR: /usr/lib/libcbor.so 18:59:42 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 18:59:42 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 18:59:42 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 18:59:42 -- /opt/iotech/iot/1.5/include 18:59:42 -- C SDK 0.0.0 for Linux 18:59:42 -- Performing Test CSDK_HAVE_ATOMIC 18:59:42 -- Performing Test CSDK_HAVE_ATOMIC - Success 18:59:42 -- Found Curses: /usr/lib/libcurses.so 18:59:42 -- Configuring done 18:59:42 -- Generating done 18:59:42 -- Build files have been written to: /tmp/sdk/build/release 18:59:42 + make all package 18:59:42 + tee release.log 18:59:43 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 18:59:43 In file included from /tmp/sdk/src/c/autoevent.c:9: 18:59:43 /tmp/sdk/src/c/autoevent.h:25:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 18:59:43 25 | void clear_ae_signals (); 18:59:43 | ^~~~ 18:59:43 /tmp/sdk/src/c/autoevent.c: In function 'edgex_device_autoevent_start': 18:59:43 /tmp/sdk/src/c/autoevent.c:170:47: error: expected ';' before '}' token 18:59:43 170 | init_flg_slv = sem_init (&slv_mutex, 0, 1) 18:59:43 | ^ 18:59:43 | ; 18:59:43 171 | } 18:59:43 | ~ 18:59:43 /tmp/sdk/src/c/autoevent.c: At top level: 18:59:43 /tmp/sdk/src/c/autoevent.c:278:6: warning: function declaration isn't a prototype [-Wstrict-prototypes] 18:59:43 278 | void clear_ae_signals () 18:59:43 | ^~~~~~~~~~~~~~~~ 18:59:43 make[2]: *** [c/CMakeFiles/csdk.dir/build.make:76: c/CMakeFiles/csdk.dir/autoevent.c.o] Error 1 18:59:43 make[1]: *** [CMakeFiles/Makefile2:240: c/CMakeFiles/csdk.dir/all] Error 2 18:59:43 make: *** [Makefile:156: all] Error 2 18:59:43 + '[' false '=' true ] 18:59:43 + '[' false '=' true ] 18:59:43 + mkdir -p /tmp/sdk/build/debug 18:59:43 + cd /tmp/sdk/build/debug 18:59:43 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 18:59:43 -- The C compiler identification is GNU 11.2.1 18:59:43 -- Detecting C compiler ABI info 18:59:44 -- Detecting C compiler ABI info - done 18:59:44 -- Check for working C compiler: /usr/bin/cc - skipped 18:59:44 -- Detecting C compile features 18:59:44 -- Detecting C compile features - done 18:59:44 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 18:59:44 -- Found CURL: /usr/lib/libcurl.so (found version "7.83.1") 18:59:44 -- Found LIBYAML: /usr/lib/libyaml.so 18:59:44 -- Found LIBUUID: /usr/lib/libuuid.so 18:59:44 -- Found LIBCBOR: /usr/lib/libcbor.so 18:59:44 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 18:59:44 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 18:59:44 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 18:59:44 -- /opt/iotech/iot/1.5/include 18:59:44 -- C SDK 0.0.0 for Linux 18:59:44 -- Performing Test CSDK_HAVE_ATOMIC 18:59:44 -- Performing Test CSDK_HAVE_ATOMIC - Success 18:59:45 -- Found Curses: /usr/lib/libcurses.so 18:59:45 -- Configuring done 18:59:45 -- Generating done 18:59:45 -- Build files have been written to: /tmp/sdk/build/debug 18:59:45 + make 18:59:45 + tee debug.log 18:59:45 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 18:59:45 In file included from /tmp/sdk/src/c/autoevent.c:9: 18:59:45 /tmp/sdk/src/c/autoevent.h:25:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 18:59:45 25 | void clear_ae_signals (); 18:59:45 | ^~~~ 18:59:45 /tmp/sdk/src/c/autoevent.c: In function 'edgex_device_autoevent_start': 18:59:45 /tmp/sdk/src/c/autoevent.c:170:47: error: expected ';' before '}' token 18:59:45 170 | init_flg_slv = sem_init (&slv_mutex, 0, 1) 18:59:45 | ^ 18:59:45 | ; 18:59:45 171 | } 18:59:45 | ~ 18:59:45 /tmp/sdk/src/c/autoevent.c: At top level: 18:59:45 /tmp/sdk/src/c/autoevent.c:278:6: warning: function declaration isn't a prototype [-Wstrict-prototypes] 18:59:45 278 | void clear_ae_signals () 18:59:45 | ^~~~~~~~~~~~~~~~ 18:59:45 make[2]: *** [c/CMakeFiles/csdk.dir/build.make:76: c/CMakeFiles/csdk.dir/autoevent.c.o] Error 1 18:59:45 make[1]: *** [CMakeFiles/Makefile2:240: c/CMakeFiles/csdk.dir/all] Error 2 18:59:45 make: *** [Makefile:156: all] Error 2 18:59:45 make: Entering directory '/tmp/sdk/build/release' 18:59:45 make[1]: Entering directory '/tmp/sdk/build/release' 18:59:45 make[2]: Entering directory '/tmp/sdk/build/release' 18:59:45 Consolidate compiler generated dependencies of target csdk 18:59:45 make[2]: Leaving directory '/tmp/sdk/build/release' 18:59:45 make[2]: Entering directory '/tmp/sdk/build/release' 18:59:45 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 18:59:46 In file included from /tmp/sdk/src/c/autoevent.c:9: 18:59:46 /tmp/sdk/src/c/autoevent.h:25:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 18:59:46 25 | void clear_ae_signals (); 18:59:46 | ^~~~ 18:59:46 /tmp/sdk/src/c/autoevent.c: In function 'edgex_device_autoevent_start': 18:59:46 /tmp/sdk/src/c/autoevent.c:170:47: error: expected ';' before '}' token 18:59:46 170 | init_flg_slv = sem_init (&slv_mutex, 0, 1) 18:59:46 | ^ 18:59:46 | ; 18:59:46 171 | } 18:59:46 | ~ 18:59:46 /tmp/sdk/src/c/autoevent.c: At top level: 18:59:46 /tmp/sdk/src/c/autoevent.c:278:6: warning: function declaration isn't a prototype [-Wstrict-prototypes] 18:59:46 278 | void clear_ae_signals () 18:59:46 | ^~~~~~~~~~~~~~~~ 18:59:46 make[2]: *** [c/CMakeFiles/csdk.dir/build.make:76: c/CMakeFiles/csdk.dir/autoevent.c.o] Error 1 18:59:46 make[2]: Leaving directory '/tmp/sdk/build/release' 18:59:46 make[1]: *** [CMakeFiles/Makefile2:240: c/CMakeFiles/csdk.dir/all] Error 2 18:59:46 make[1]: Leaving directory '/tmp/sdk/build/release' 18:59:46 make: *** [Makefile:156: all] Error 2 18:59:46 make: Leaving directory '/tmp/sdk/build/release' 18:59:47 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:59:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:59:47 18:59:47 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:59:48 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:59:48 arm64: Pulling from edgex-lftools-log-publisher 18:59:48 8998bd30e6a1: Pulling fs layer 18:59:48 04944245beec: Pulling fs layer 18:59:48 699f458cf7ca: Pulling fs layer 18:59:48 765212b225bb: Pulling fs layer 18:59:48 f23df028b6ca: Pulling fs layer 18:59:48 d65c8cfc05b1: Pulling fs layer 18:59:48 2437ff75d9bd: Pulling fs layer 18:59:48 f23df028b6ca: Waiting 18:59:48 d65c8cfc05b1: Waiting 18:59:48 2437ff75d9bd: Waiting 18:59:48 765212b225bb: Waiting 18:59:48 04944245beec: Verifying Checksum 18:59:48 04944245beec: Download complete 18:59:48 765212b225bb: Verifying Checksum 18:59:48 765212b225bb: Download complete 18:59:48 f23df028b6ca: Download complete 18:59:48 d65c8cfc05b1: Verifying Checksum 18:59:48 d65c8cfc05b1: Download complete 18:59:48 699f458cf7ca: Verifying Checksum 18:59:48 699f458cf7ca: Download complete 18:59:49 8998bd30e6a1: Verifying Checksum 18:59:49 8998bd30e6a1: Download complete 18:59:51 2437ff75d9bd: Verifying Checksum 18:59:51 2437ff75d9bd: Download complete 18:59:53 8998bd30e6a1: Pull complete 18:59:53 04944245beec: Pull complete 18:59:54 699f458cf7ca: Pull complete 18:59:55 765212b225bb: Pull complete 18:59:55 f23df028b6ca: Pull complete 18:59:55 d65c8cfc05b1: Pull complete 19:00:11 2437ff75d9bd: Pull complete 19:00:11 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 19:00:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:00:11 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:00:11 prd-ubuntu20.04-docker-arm64-4c-16g-6487 does not seem to be running inside a container 19:00:11 $ 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/4 -v /w/workspace/device-sdk-c/4:/w/workspace/device-sdk-c/4:rw,z -v /w/workspace/device-sdk-c/4@tmp:/w/workspace/device-sdk-c/4@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 19:00:13 $ docker top d5327fea0e990f0a978541462c76472f5c4950479c77566fe013904c7080d1d7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:00:14 ---> job-cost.sh 19:00:14 lf-activate-venv: SKIPPING 19:00:14 INFO: No Stack... 19:00:14 INFO: Retrieving Pricing Info for: v3-standard-4 19:00:15 INFO: Archiving Costs [Pipeline] sh 19:00:16 + cat /w/workspace/device-sdk-c/4/archives/cost.csv 19:00:16 + cut -d, -f6 [Pipeline] lock 19:00:16 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-444-4-stack-cost] 19:00:16 Resource [jenkins-edgexfoundry-device-sdk-c-PR-444-4-stack-cost] did not exist. Created. 19:00:16 Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-444-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 19:00:16 /w/workspace/device-sdk-c/4@tmp/durable-113b8040/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 19:00:16 + echo total: 0.10999999940395355 [Pipeline] stash 19:00:16 Warning: overwriting stash ‘stack-cost’ 19:00:17 Stashed 1 file(s) [Pipeline] } 19:00:17 Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-444-4-stack-cost] [Pipeline] // lock [Pipeline] } 19:00:17 $ docker stop --time=1 d5327fea0e990f0a978541462c76472f5c4950479c77566fe013904c7080d1d7 19:00:18 $ docker rm -f --volumes d5327fea0e990f0a978541462c76472f5c4950479c77566fe013904c7080d1d7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 19:00:18 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 19:00:19 + [ -d /w/workspace/edgexfoundry_device-sdk-c_PR-444/archives ] 19:00:19 + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-444/archives 19:00:19 total 16 19:00:19 drwxr-xr-x 3 root root 4096 Mar 30 18:57 . 19:00:19 drwxrwxr-x 10 jenkins jenkins 4096 Mar 30 18:57 .. 19:00:19 drwxr-xr-x 2 root root 4096 Mar 30 18:57 cost 19:00:19 -rw-r--r-- 1 root root 84 Mar 30 18:57 cost.csv 19:00:19 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_PR-444/archives 19:00:19 + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-444/archives 19:00:19 total 16 19:00:19 drwxr-xr-x 3 jenkins jenkins 4096 Mar 30 18:57 . 19:00:19 drwxrwxr-x 10 jenkins jenkins 4096 Mar 30 18:57 .. 19:00:19 drwxr-xr-x 2 jenkins jenkins 4096 Mar 30 18:57 cost 19:00:19 -rw-r--r-- 1 jenkins jenkins 84 Mar 30 18:57 cost.csv [Pipeline] libraryResource [Pipeline] sh 19:00:19 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 19:00:20 ---> package-listing.sh 19:00:20 ++ facter osfamily 19:00:20 ++ tr '[:upper:]' '[:lower:]' 19:00:20 + OS_FAMILY=debian 19:00:20 + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-444 19:00:20 + START_PACKAGES=/tmp/packages_start.txt 19:00:20 + END_PACKAGES=/tmp/packages_end.txt 19:00:20 + DIFF_PACKAGES=/tmp/packages_diff.txt 19:00:20 + PACKAGES=/tmp/packages_start.txt 19:00:20 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-444 ']' 19:00:20 + PACKAGES=/tmp/packages_end.txt 19:00:20 + case "${OS_FAMILY}" in 19:00:20 + dpkg -l 19:00:20 + grep '^ii' 19:00:20 + '[' -f /tmp/packages_start.txt ']' 19:00:20 + '[' -f /tmp/packages_end.txt ']' 19:00:20 + diff /tmp/packages_start.txt /tmp/packages_end.txt 19:00:20 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-444 ']' 19:00:20 + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-444/archives/ 19:00:20 + 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 19:00:20 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 19:00:21 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:00:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:00:21 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:00:21 prd-ubuntu20.04-docker-8c-8g-6486 does not seem to be running inside a container 19:00:21 $ 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 19:00:22 $ docker top d72b4fc1ce02594995fea2ee0aea76dfd22d82dd84f382a627a80b2db7ec21c8 -eo pid,comm [Pipeline] { [Pipeline] sh 19:00:22 + touch /tmp/pre-build-complete [Pipeline] sh 19:00:22 + mkdir -p /var/log/sysstat [Pipeline] sh 19:00:22 + ls /var/log/sa-host 19:00:22 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:00:23 provisioning config files... 19:00:23 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-444@tmp/config10091860871783489223tmp [Pipeline] { [Pipeline] echo 19:00:23 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 19:00:23 ---> create-netrc.sh [Pipeline] } 19:00:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 19:00:23 ---> python-tools-install.sh [Pipeline] echo 19:00:23 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 19:00:23 ---> sudo-logs.sh 19:00:23 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 19:00:23 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 19:00:24 ---> job-cost.sh 19:00:24 lf-activate-venv: SKIPPING 19:00:24 DEBUG: total: 0.2199999988079071 19:00:24 INFO: Retrieving Stack Cost... 19:00:24 INFO: Retrieving Pricing Info for: v3-standard-8 19:00:25 INFO: Archiving Costs [Pipeline] echo 19:00:25 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 19:00:25 ---> logs-deploy.sh 19:00:25 lf-activate-venv: SKIPPING 19:00:25 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-444/4 19:00:25 INFO: archiving workspace using pattern(s): 19:00:26 Archives upload complete. 19:00:26 INFO: archiving logs to Nexus 19:00:27 ---> uname -a: 19:00:27 Linux prd-ubuntu20-04-docker-8c-8g-6486 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 19:00:27 19:00:27 19:00:27 ---> lscpu: 19:00:27 Architecture: x86_64 19:00:27 CPU op-mode(s): 32-bit, 64-bit 19:00:27 Byte Order: Little Endian 19:00:27 Address sizes: 40 bits physical, 48 bits virtual 19:00:27 CPU(s): 8 19:00:27 On-line CPU(s) list: 0-7 19:00:27 Thread(s) per core: 1 19:00:27 Core(s) per socket: 1 19:00:27 Socket(s): 8 19:00:27 NUMA node(s): 1 19:00:27 Vendor ID: AuthenticAMD 19:00:27 CPU family: 23 19:00:27 Model: 49 19:00:27 Model name: AMD EPYC-Rome Processor 19:00:27 Stepping: 0 19:00:27 CPU MHz: 2799.956 19:00:27 BogoMIPS: 5599.91 19:00:27 Virtualization: AMD-V 19:00:27 Hypervisor vendor: KVM 19:00:27 Virtualization type: full 19:00:27 L1d cache: 256 KiB 19:00:27 L1i cache: 256 KiB 19:00:27 L2 cache: 4 MiB 19:00:27 L3 cache: 128 MiB 19:00:27 NUMA node0 CPU(s): 0-7 19:00:27 Vulnerability Itlb multihit: Not affected 19:00:27 Vulnerability L1tf: Not affected 19:00:27 Vulnerability Mds: Not affected 19:00:27 Vulnerability Meltdown: Not affected 19:00:27 Vulnerability Mmio stale data: Not affected 19:00:27 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 19:00:27 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 19:00:27 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 19:00:27 Vulnerability Srbds: Not affected 19:00:27 Vulnerability Tsx async abort: Not affected 19:00:27 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 19:00:27 19:00:27 19:00:27 ---> nproc: 19:00:27 8 19:00:27 19:00:27 19:00:27 ---> df -h: 19:00:27 Filesystem Size Used Avail Use% Mounted on 19:00:27 overlay 155G 11G 145G 7% / 19:00:27 tmpfs 64M 0 64M 0% /dev 19:00:27 tmpfs 16G 0 16G 0% /sys/fs/cgroup 19:00:27 shm 64M 0 64M 0% /dev/shm 19:00:27 /dev/vda1 155G 11G 145G 7% /facter-os 19:00:27 19:00:27 19:00:27 ---> sar -b -r -n DEV: 19:00:27 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-6486) 03/30/23 _x86_64_ (8 CPU) 19:00:27 19:00:27 18:55:38 LINUX RESTART (8 CPU) 19:00:27 19:00:27 18:56:02 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 19:00:27 18:57:01 367.31 39.03 328.28 0.00 4366.45 145772.72 0.00 19:00:27 18:58:01 30.18 0.13 30.04 0.00 4.80 16437.14 0.00 19:00:27 18:59:01 1.27 0.00 1.27 0.00 0.00 13.60 0.00 19:00:27 19:00:01 1.93 0.00 1.93 0.00 0.00 22.66 0.00 19:00:27 Average: 99.05 9.67 89.39 0.00 1079.12 40121.39 0.00 19:00:27 19:00:27 18:56:02 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 19:00:27 18:57:01 29157160 31544220 765428 2.33 75584 2589944 2058984 6.07 1073692 2286852 407560 19:00:27 18:58:01 29118624 31578384 722480 2.20 85180 2639532 1751412 5.16 1055132 2323892 48 19:00:27 18:59:01 29118948 31578968 721504 2.19 85244 2639536 1751412 5.16 1055484 2323896 164 19:00:27 19:00:01 29121156 31581648 719384 2.19 85324 2639540 1751412 5.16 1051772 2324368 16 19:00:27 Average: 29128972 31570805 732199 2.23 82833 2627138 1828305 5.39 1059020 2314752 101947 19:00:27 19:00:27 18:56:02 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 19:00:27 18:57:01 lo 7.25 7.25 0.70 0.70 0.00 0.00 0.00 0.00 19:00:27 18:57:01 ens3 831.42 550.09 6845.38 123.34 0.00 0.00 0.00 0.00 19:00:27 18:57:01 docker0 10.90 12.73 0.85 109.46 0.00 0.00 0.00 0.00 19:00:27 18:58:01 lo 0.27 0.27 0.02 0.02 0.00 0.00 0.00 0.00 19:00:27 18:58:01 ens3 14.10 8.93 12.86 4.76 0.00 0.00 0.00 0.00 19:00:27 18:58:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:00:27 18:59:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:00:27 18:59:01 ens3 0.40 0.25 0.25 0.20 0.00 0.00 0.00 0.00 19:00:27 18:59:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:00:27 19:00:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 19:00:27 19:00:01 ens3 0.13 0.13 0.01 0.01 0.00 0.00 0.00 0.00 19:00:27 19:00:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:00:27 Average: lo 1.91 1.91 0.18 0.18 0.00 0.00 0.00 0.00 19:00:27 Average: ens3 208.92 138.14 1693.16 31.70 0.00 0.00 0.00 0.00 19:00:27 Average: docker0 2.69 3.14 0.21 27.02 0.00 0.00 0.00 0.00 19:00:27 19:00:27 19:00:27 ---> sar -P ALL: 19:00:27 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-6486) 03/30/23 _x86_64_ (8 CPU) 19:00:27 19:00:27 18:55:38 LINUX RESTART (8 CPU) 19:00:27 19:00:27 18:56:02 CPU %user %nice %system %iowait %steal %idle 19:00:27 18:57:01 all 10.07 0.00 3.49 4.27 0.07 82.11 19:00:27 18:57:01 0 10.85 0.00 4.74 3.67 0.07 80.68 19:00:27 18:57:01 1 12.13 0.00 3.40 3.18 0.05 81.24 19:00:27 18:57:01 2 6.92 0.00 2.99 7.44 0.07 82.58 19:00:27 18:57:01 3 14.09 0.00 3.37 0.39 0.09 82.05 19:00:27 18:57:01 4 11.76 0.00 2.78 8.85 0.09 76.53 19:00:27 18:57:01 5 9.05 0.00 3.07 9.69 0.07 78.12 19:00:27 18:57:01 6 8.09 0.00 3.15 0.33 0.03 88.40 19:00:27 18:57:01 7 7.60 0.00 4.38 0.58 0.09 87.35 19:00:27 18:58:01 all 1.18 0.00 0.48 0.79 0.01 97.55 19:00:27 18:58:01 0 1.05 0.00 0.62 0.27 0.00 98.06 19:00:27 18:58:01 1 0.69 0.00 0.67 0.37 0.02 98.26 19:00:27 18:58:01 2 0.99 0.00 0.84 5.14 0.02 93.02 19:00:27 18:58:01 3 1.20 0.00 0.37 0.00 0.02 98.41 19:00:27 18:58:01 4 0.88 0.00 0.35 0.02 0.00 98.75 19:00:27 18:58:01 5 1.19 0.00 0.37 0.50 0.02 97.93 19:00:27 18:58:01 6 2.39 0.00 0.25 0.00 0.02 97.35 19:00:27 18:58:01 7 1.00 0.00 0.37 0.02 0.02 98.60 19:00:27 18:59:01 all 0.03 0.00 0.01 0.01 0.01 99.95 19:00:27 18:59:01 0 0.10 0.00 0.03 0.05 0.00 99.82 19:00:27 18:59:01 1 0.02 0.00 0.02 0.00 0.02 99.95 19:00:27 18:59:01 2 0.05 0.00 0.02 0.00 0.02 99.92 19:00:27 18:59:01 3 0.00 0.00 0.00 0.00 0.00 100.00 19:00:27 18:59:01 4 0.02 0.00 0.02 0.00 0.00 99.97 19:00:27 18:59:01 5 0.00 0.00 0.00 0.00 0.00 100.00 19:00:27 18:59:01 6 0.02 0.00 0.00 0.00 0.02 99.97 19:00:27 18:59:01 7 0.00 0.00 0.00 0.00 0.00 100.00 19:00:27 19:00:01 all 0.03 0.00 0.01 0.01 0.01 99.95 19:00:27 19:00:01 0 0.05 0.00 0.00 0.05 0.02 99.88 19:00:27 19:00:01 1 0.03 0.00 0.02 0.00 0.00 99.95 19:00:27 19:00:01 2 0.03 0.00 0.03 0.02 0.02 99.90 19:00:27 19:00:01 3 0.00 0.00 0.00 0.00 0.00 100.00 19:00:27 19:00:01 4 0.07 0.00 0.02 0.00 0.00 99.92 19:00:27 19:00:01 5 0.02 0.00 0.00 0.00 0.02 99.97 19:00:27 19:00:01 6 0.02 0.00 0.00 0.00 0.00 99.98 19:00:27 19:00:01 7 0.02 0.00 0.02 0.00 0.00 99.97 19:00:27 Average: all 2.78 0.00 0.98 1.25 0.02 94.97 19:00:27 Average: 0 2.97 0.00 1.33 0.99 0.02 94.69 19:00:27 Average: 1 3.16 0.00 1.01 0.87 0.02 94.93 19:00:27 Average: 2 1.96 0.00 0.95 3.11 0.03 93.94 19:00:27 Average: 3 3.76 0.00 0.92 0.10 0.03 95.20 19:00:27 Average: 4 3.12 0.00 0.78 2.17 0.02 93.91 19:00:27 Average: 5 2.53 0.00 0.85 2.51 0.03 94.10 19:00:27 Average: 6 2.60 0.00 0.83 0.08 0.02 96.47 19:00:27 Average: 7 2.11 0.00 1.17 0.15 0.03 96.55 19:00:27 19:00:27 19:00:27