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 c501188f4a78ac3dadda58092e8196eb77e7373e rather than 2ab919ba902543e8751b24cbae806de0a32484ea Obtained Jenkinsfile from c501188f4a78ac3dadda58092e8196eb77e7373e 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-ssh18312817578310854039.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-ssh14073519206552893621.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-ssh9080849765933736880.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-ssh13679779905917224611.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-ssh7802922110311819155.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 ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-229 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 c501188f4a78ac3dadda58092e8196eb77e7373e into PR head commit 2ab919ba902543e8751b24cbae806de0a32484ea Merge succeeded, producing 23552387697bd2e84c253aeaadfd5c7cb89a6a51 Checking out Revision 23552387697bd2e84c253aeaadfd5c7cb89a6a51 (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 c501188f4a78ac3dadda58092e8196eb77e7373e # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 23552387697bd2e84c253aeaadfd5c7cb89a6a51 # timeout=10 Commit message: "Merge commit 'c501188f4a78ac3dadda58092e8196eb77e7373e' into HEAD" First time build. Skipping changelog. > git rev-list --no-walk 0a4d59bd3914e79a881812e57ada432b3fa159a4 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 18:57:25 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 18:57:25 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 18:57:25 ========================================================= 18:57:25 EdgeX Global Pipelines Version Info 18:57:25 ========================================================= [Pipeline] libraryResource [Pipeline] sh 18:57:25 ------------------- 18:57:25 stable info: 18:57:25 ------------------- 18:57:25 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 18:57:25 Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a 18:57:25 Message: update stable to v1.0.245 18:57:26 ------------------- 18:57:26 experimental info: 18:57:26 ------------------- 18:57:26 Commited By: **** collab-it+edgex@linuxfoundation.org 18:57:26 Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a 18:57:26 Message: update experimental to v1.0.245 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 18:57:26 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo 18:57:26 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo 18:57:26 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 18:57:26 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 18:57:26 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 18:57:26 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo 18:57:26 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo 18:57:26 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 18:57:26 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 18:57:26 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo 18:57:26 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 18:57:26 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 18:57:26 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 18:57:26 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 18:57:26 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 18:57:26 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 18:57:26 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 18:57:26 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-444 [Pipeline] echo 18:57:26 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-444 [Pipeline] echo 18:57:26 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-444 [Pipeline] echo 18:57:26 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 23552387697bd2e84c253aeaadfd5c7cb89a6a51 [Pipeline] echo 18:57:26 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 2355238 [Pipeline] echo 18:57:26 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:57:26 provisioning config files... 18:57:26 copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-444@tmp/config16128576228764510235tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:57:27 ---> docker-login.sh 18:57:27 nexus3.edgexfoundry.org:10001 18:57:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:57:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:57:27 Configure a credential helper to remove this warning. See 18:57:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:57:27 18:57:27 Login Succeeded 18:57:27 nexus3.edgexfoundry.org:10002 18:57:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:57:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:57:27 Configure a credential helper to remove this warning. See 18:57:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:57:27 18:57:27 Login Succeeded 18:57:27 nexus3.edgexfoundry.org:10003 18:57:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:57:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:57:27 Configure a credential helper to remove this warning. See 18:57:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:57:27 18:57:27 Login Succeeded 18:57:27 nexus3.edgexfoundry.org:10004 18:57:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:57:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:57:28 Configure a credential helper to remove this warning. See 18:57:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:57:28 18:57:28 Login Succeeded 18:57:28 docker.io 18:57:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:57:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:57:28 Configure a credential helper to remove this warning. See 18:57:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:57:28 18:57:28 Login Succeeded 18:57:28 ---> docker-login.sh ends [Pipeline] } 18:57:28 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:57:28 + git rev-list -1 --merges 23552387697bd2e84c253aeaadfd5c7cb89a6a51~1..23552387697bd2e84c253aeaadfd5c7cb89a6a51 [Pipeline] echo 18:57:28 -----------> git rev-list -1 --merges 23552387697bd2e84c253aeaadfd5c7cb89a6a51~1..23552387697bd2e84c253aeaadfd5c7cb89a6a51 23552387697bd2e84c253aeaadfd5c7cb89a6a51 18:57:28 23552387697bd2e84c253aeaadfd5c7cb89a6a51 [false] [Pipeline] sh 18:57:29 + git log --format=format:%s -1 23552387697bd2e84c253aeaadfd5c7cb89a6a51 [Pipeline] echo 18:57:29 ========================================================= 18:57:29 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 18:57:29 ========================================================= 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:57:29 + git rev-list -1 --merges 23552387697bd2e84c253aeaadfd5c7cb89a6a51~1..23552387697bd2e84c253aeaadfd5c7cb89a6a51 [Pipeline] echo 18:57:29 -----------> git rev-list -1 --merges 23552387697bd2e84c253aeaadfd5c7cb89a6a51~1..23552387697bd2e84c253aeaadfd5c7cb89a6a51 23552387697bd2e84c253aeaadfd5c7cb89a6a51 18:57:29 23552387697bd2e84c253aeaadfd5c7cb89a6a51 [false] [Pipeline] sh 18:57:29 + git log --format=format:%s -1 23552387697bd2e84c253aeaadfd5c7cb89a6a51 [Pipeline] echo 18:57:29 ========================================================= 18:57:29 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 18:57:29 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh 18:57:30 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 18:57:30 + grep -v github /etc/ssh/ssh_known_hosts 18:57:30 + [ -e /tmp/ssh_known_hosts ] 18:57:30 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 18:57:30 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 18:57:30 + sudo tee -a /etc/ssh/ssh_known_hosts 18:57:30 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:57:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:57:30 18:57:30 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:57:30 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:57:30 0.1.4: Pulling from edgex-devops/py-git-semver 18:57:30 b85a868b505f: Pulling fs layer 18:57:30 e2be974225ed: Pulling fs layer 18:57:30 339a4e72a1f5: Pulling fs layer 18:57:30 988bab9f4d93: Pulling fs layer 18:57:30 1469e6f7b9e6: Pulling fs layer 18:57:30 eaf3925da568: Pulling fs layer 18:57:30 bab4dde63d76: Pulling fs layer 18:57:30 bde34c3a00c8: Pulling fs layer 18:57:30 b352a97aabf1: Pulling fs layer 18:57:30 4872d77fe225: Pulling fs layer 18:57:30 5851b861e8e6: Pulling fs layer 18:57:30 bab4dde63d76: Waiting 18:57:30 bde34c3a00c8: Waiting 18:57:30 b352a97aabf1: Waiting 18:57:30 4872d77fe225: Waiting 18:57:30 5851b861e8e6: Waiting 18:57:30 1469e6f7b9e6: Waiting 18:57:30 eaf3925da568: Waiting 18:57:30 e2be974225ed: Download complete 18:57:30 988bab9f4d93: Verifying Checksum 18:57:30 988bab9f4d93: Download complete 18:57:31 1469e6f7b9e6: Verifying Checksum 18:57:31 1469e6f7b9e6: Download complete 18:57:31 eaf3925da568: Verifying Checksum 18:57:31 eaf3925da568: Download complete 18:57:31 339a4e72a1f5: Verifying Checksum 18:57:31 339a4e72a1f5: Download complete 18:57:31 bde34c3a00c8: Download complete 18:57:31 b352a97aabf1: Verifying Checksum 18:57:31 b352a97aabf1: Download complete 18:57:31 4872d77fe225: Verifying Checksum 18:57:31 4872d77fe225: Download complete 18:57:31 5851b861e8e6: Download complete 18:57:31 b85a868b505f: Verifying Checksum 18:57:31 b85a868b505f: Download complete 18:57:31 bab4dde63d76: Verifying Checksum 18:57:31 bab4dde63d76: Download complete 18:57:32 b85a868b505f: Pull complete 18:57:32 e2be974225ed: Pull complete 18:57:32 339a4e72a1f5: Pull complete 18:57:33 988bab9f4d93: Pull complete 18:57:33 1469e6f7b9e6: Pull complete 18:57:33 eaf3925da568: Pull complete 18:57:35 bab4dde63d76: Pull complete 18:57:35 bde34c3a00c8: Pull complete 18:57:35 b352a97aabf1: Pull complete 18:57:35 4872d77fe225: Pull complete 18:57:35 5851b861e8e6: Pull complete 18:57:35 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 18:57:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:57:35 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:57:35 prd-ubuntu20.04-docker-8c-8g-229 does not seem to be running inside a container 18:57:35 $ 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:57:38 $ docker top 63091a6d64aa6647dd9161f25248161b294916dc476f43d0dca353d6fb6b8c58 -eo pid,comm 18:57:38 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:57:38 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:57:38 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:57:38 [ssh-agent] Looking for ssh-agent implementation... 18:57:38 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:57:38 $ docker exec 63091a6d64aa6647dd9161f25248161b294916dc476f43d0dca353d6fb6b8c58 ssh-agent 18:57:38 SSH_AUTH_SOCK=/tmp/ssh-4n17VvfqI6QP/agent.32 18:57:38 SSH_AGENT_PID=38 18:57:38 Running ssh-add (command line suppressed) 18:57:38 Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-444@tmp/private_key_3725198745331175408.key (/w/workspace/edgexfoundry_device-sdk-c_PR-444@tmp/private_key_3725198745331175408.key) 18:57:38 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:57:38 + git tag --points-at HEAD [Pipeline] } 18:57:38 $ docker exec --env ******** --env ******** 63091a6d64aa6647dd9161f25248161b294916dc476f43d0dca353d6fb6b8c58 ssh-agent -k 18:57:38 unset SSH_AUTH_SOCK; 18:57:38 unset SSH_AGENT_PID; 18:57:38 echo Agent pid 38 killed; 18:57:38 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 18:57:38 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:57:38 [ssh-agent] Looking for ssh-agent implementation... 18:57:38 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:57:38 $ docker exec 63091a6d64aa6647dd9161f25248161b294916dc476f43d0dca353d6fb6b8c58 ssh-agent 18:57:39 SSH_AUTH_SOCK=/tmp/ssh-DEUVnP9Tfaph/agent.71 18:57:39 SSH_AGENT_PID=77 18:57:39 Running ssh-add (command line suppressed) 18:57:39 Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-444@tmp/private_key_13700381078695786976.key (/w/workspace/edgexfoundry_device-sdk-c_PR-444@tmp/private_key_13700381078695786976.key) 18:57:39 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:57:39 + git semver init 18:57:39 2023-03-14 18:57:39,664 [run_init] DEBUG init version:0.0.0 force:False 18:57:39 2023-03-14 18:57:39,664 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-c_PR-444/.semver 18:57:39 2023-03-14 18:57:39,665 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-c.git /w/workspace/edgexfoundry_device-sdk-c_PR-444/.semver 18:57:39 2023-03-14 18:57:39,665 [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:57:40 2023-03-14 18:57:40,508 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-c_PR-444/.git/info/exclude 18:57:40 2023-03-14 18:57:40,509 [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:57:40 2023-03-14 18:57:40,509 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-c_PR-444/.semver/PR-444 18:57:40 2023-03-14 18:57:40,513 [execute] INFO git cat-file --batch-check 18:57:40 2023-03-14 18:57:40,513 [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:57:40 2023-03-14 18:57:40,519 [execute] INFO git cat-file --batch 18:57:40 2023-03-14 18:57:40,520 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-444/.semver, universal_newlines=False, shell=None, istream=) 18:57:40 2023-03-14 18:57:40,525 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_PR-444/.semver/PR-444 18:57:40 0.0.0 [Pipeline] } 18:57:40 $ docker exec --env ******** --env ******** 63091a6d64aa6647dd9161f25248161b294916dc476f43d0dca353d6fb6b8c58 ssh-agent -k 18:57:40 unset SSH_AUTH_SOCK; 18:57:40 unset SSH_AGENT_PID; 18:57:40 echo Agent pid 77 killed; 18:57:40 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:57:41 + git semver [Pipeline] } 18:57:41 $ docker stop --time=1 63091a6d64aa6647dd9161f25248161b294916dc476f43d0dca353d6fb6b8c58 18:57:42 $ docker rm -f --volumes 63091a6d64aa6647dd9161f25248161b294916dc476f43d0dca353d6fb6b8c58 [Pipeline] // withDockerContainer [Pipeline] sh 18:57:42 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 18:57:43 Stashed 1 file(s) [Pipeline] echo 18:57:43 [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:57:43 provisioning config files... 18:57:43 copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-444@tmp/config17526987832999065921tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:57:43 ---> docker-login.sh 18:57:43 nexus3.edgexfoundry.org:10001 18:57:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:57:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:57:43 Configure a credential helper to remove this warning. See 18:57:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:57:43 18:57:43 Login Succeeded 18:57:43 nexus3.edgexfoundry.org:10002 18:57:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:57:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:57:43 Configure a credential helper to remove this warning. See 18:57:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:57:43 18:57:43 Login Succeeded 18:57:43 nexus3.edgexfoundry.org:10003 18:57:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:57:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:57:43 Configure a credential helper to remove this warning. See 18:57:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:57:43 18:57:43 Login Succeeded 18:57:43 nexus3.edgexfoundry.org:10004 18:57:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:57:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:57:43 Configure a credential helper to remove this warning. See 18:57:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:57:43 18:57:43 Login Succeeded 18:57:43 docker.io 18:57:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:57:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:57:44 Configure a credential helper to remove this warning. See 18:57:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:57:44 18:57:44 Login Succeeded 18:57:44 ---> docker-login.sh ends [Pipeline] } 18:57:44 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:57:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:57:44 [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo 18:57:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:57:44 ========================================================= 18:57:44 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] 18:57:44 ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:57:44 + 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:57:44 Sending build context to Docker daemon 4.839MB 18:57:44 Step 1/21 : ARG BASE=alpine:3.16 18:57:44 Step 2/21 : FROM ${BASE} as builder 18:57:44 latest: Pulling from edgex-devops/edgex-gcc-base 18:57:44 213ec9aee27d: Pulling fs layer 18:57:44 0f09ad1b1b37: Pulling fs layer 18:57:44 213ec9aee27d: Verifying Checksum 18:57:44 213ec9aee27d: Download complete 18:57:44 213ec9aee27d: Pull complete 18:57:45 0f09ad1b1b37: Verifying Checksum 18:57:45 0f09ad1b1b37: Download complete 18:57:47 0f09ad1b1b37: Pull complete 18:57:47 Digest: sha256:64e9d1beac36a0037884aaf44bcf94b2de593689edef1cdaec9f2b2ef7c7c108 18:57:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest 18:57:47 ---> b2bbfebb3566 18:57:47 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:57:49 ---> Running in 9dd38c433c91 18:57:49 Connecting to iotech.jfrog.io (63.32.141.158:443) 18:57:50 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 18:57:50 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 18:57:50 '/etc/apk/keys/alpine.dev.rsa.pub' saved 18:57:50 Removing intermediate container 9dd38c433c91 18:57:50 ---> b30b05e8594b 18:57:50 Step 4/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories 18:57:50 ---> Running in fa4c0318c253 18:57:50 Removing intermediate container fa4c0318c253 18:57:50 ---> 5a897e33cfb1 18:57: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:57:50 ---> Running in 6cc24efce428 18:57:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 18:57:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 18:57:51 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/x86_64/APKINDEX.tar.gz 18:57:51 WARNING: This apk-tools is OLD! Some packages might not function properly. 18:57:51 (1/14) Installing hiredis (1.0.2-r0) 18:57:51 (2/14) Installing hiredis-dev (1.0.2-r0) 18:57:51 (3/14) Installing iotech-iot-1.5 (1.5.0-r0) 18:57:52 (4/14) Installing iotech-iot-1.5-dev (1.5.0-r0) 18:57:52 (5/14) Installing libcbor (0.9.0-r1) 18:57:52 (6/14) Installing libcbor-dev (0.9.0-r1) 18:57:52 (7/14) Installing ncurses-dev (6.3_p20220521-r0) 18:57:52 (8/14) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) 18:57:53 (9/14) Installing libblkid (2.38-r1) 18:57:53 (10/14) Installing libuuid (2.38-r1) 18:57:53 (11/14) Installing libfdisk (2.38-r1) 18:57:53 (12/14) Installing libmount (2.38-r1) 18:57:53 (13/14) Installing libsmartcols (2.38-r1) 18:57:53 (14/14) Installing util-linux-dev (2.38-r1) 18:57:53 Executing busybox-1.35.0-r17.trigger 18:57:53 OK: 280 MiB in 90 packages 18:57:54 Removing intermediate container 6cc24efce428 18:57:54 ---> aeb1132d307a 18:57:54 Step 6/21 : RUN mkdir /tmp/sdk 18:57:54 ---> Running in b1e717054252 18:57:54 Removing intermediate container b1e717054252 18:57:54 ---> 244fc910ce49 18:57:54 Step 7/21 : COPY VERSION /tmp/sdk 18:57:54 ---> 589b1e61859b 18:57:54 Step 8/21 : COPY src /tmp/sdk/src 18:57:55 ---> c51ac0db7a74 18:57:55 Step 9/21 : COPY include /tmp/sdk/include 18:57:55 ---> 0ed5a3283c5d 18:57:55 Step 10/21 : COPY scripts /tmp/sdk/scripts 18:57:55 ---> ad6522e5943f 18:57:55 Step 11/21 : COPY LICENSE /tmp/sdk 18:57:55 ---> 744ea49801db 18:57:55 Step 12/21 : COPY Attribution.txt /tmp/sdk 18:57:55 ---> a58bfb83ea44 18:57:55 Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 18:57:55 ---> Running in 9436b23b799c 18:57:55 + CPPCHECK=false 18:57:55 + DOCGEN=false 18:57:55 + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' 18:57:55 + TOMLVER=SDK-0.2 18:57:55 + CUTILVER=1.4 18:57:55 + '[' 0 -gt 0 ] 18:57:55 + readlink -f ./scripts/build.sh 18:57:55 + dirname /tmp/sdk/scripts/build.sh 18:57:55 + dirname /tmp/sdk/scripts 18:57:55 + ROOT=/tmp/sdk 18:57:55 + cd /tmp/sdk 18:57:55 + '[' '!' -d deps ] 18:57:55 + mkdir deps 18:57:55 + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 18:57:55 + tar -C deps -z -x -f - 18:57:55 Connecting to github.com (140.82.113.3:443) 18:57:56 Connecting to codeload.github.com (140.82.114.10:443) 18:57:56 writing to stdout 18:57:56 - 100% |********************************| 16451 0:00:00 ETA 18:57:56 written to stdout 18:57:56 + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c 18:57:56 + mkdir -p /tmp/sdk/build/release 18:57:56 + cd /tmp/sdk/build/release 18:57:56 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 18:57:56 -- The C compiler identification is GNU 11.2.1 18:57:56 -- Detecting C compiler ABI info 18:57:56 -- Detecting C compiler ABI info - done 18:57:56 -- Check for working C compiler: /usr/bin/cc - skipped 18:57:56 -- Detecting C compile features 18:57:56 -- Detecting C compile features - done 18:57:56 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 18:57:56 -- Found CURL: /usr/lib/libcurl.so (found version "7.83.1") 18:57:56 -- Found LIBYAML: /usr/lib/libyaml.so 18:57:56 -- Found LIBUUID: /usr/lib/libuuid.so 18:57:56 -- Found LIBCBOR: /usr/lib/libcbor.so 18:57:56 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 18:57:56 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 18:57:56 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 18:57:56 -- /opt/iotech/iot/1.5/include 18:57:56 -- C SDK 0.0.0 for Linux 18:57:56 -- Performing Test CSDK_HAVE_ATOMIC 18:57:56 -- Performing Test CSDK_HAVE_ATOMIC - Success 18:57:56 -- Found Curses: /usr/lib/libcurses.so 18:57:56 -- Configuring done 18:57:56 -- Generating done 18:57:56 -- Build files have been written to: /tmp/sdk/build/release 18:57:56 + make all package 18:57:56 + tee release.log 18:57:56 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 18:57:56 In file included from /tmp/sdk/src/c/autoevent.c:9: 18:57:56 /tmp/sdk/src/c/autoevent.h:25:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 18:57:56 25 | void clear_ae_signals (); 18:57:56 | ^~~~ 18:57:56 /tmp/sdk/src/c/autoevent.c: In function 'edgex_device_autoevent_start': 18:57:56 /tmp/sdk/src/c/autoevent.c:170:47: error: expected ';' before '}' token 18:57:56 170 | init_flg_slv = sem_init (&slv_mutex, 0, 1) 18:57:56 | ^ 18:57:56 | ; 18:57:56 171 | } 18:57:56 | ~ 18:57:56 /tmp/sdk/src/c/autoevent.c: At top level: 18:57:56 /tmp/sdk/src/c/autoevent.c:278:6: warning: function declaration isn't a prototype [-Wstrict-prototypes] 18:57:56 278 | void clear_ae_signals () 18:57:56 | ^~~~~~~~~~~~~~~~ 18:57:56 make[2]: *** [c/CMakeFiles/csdk.dir/build.make:76: c/CMakeFiles/csdk.dir/autoevent.c.o] Error 1 18:57:56 make[1]: *** [CMakeFiles/Makefile2:240: c/CMakeFiles/csdk.dir/all] Error 2 18:57:56 make: *** [Makefile:156: all] Error 2 18:57:56 + '[' false '=' true ] 18:57:56 + '[' false '=' true ] 18:57:56 + mkdir -p /tmp/sdk/build/debug 18:57:56 + cd /tmp/sdk/build/debug 18:57:56 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 18:57:56 -- The C compiler identification is GNU 11.2.1 18:57:56 -- Detecting C compiler ABI info 18:57:56 -- Detecting C compiler ABI info - done 18:57:56 -- Check for working C compiler: /usr/bin/cc - skipped 18:57:56 -- Detecting C compile features 18:57:56 -- Detecting C compile features - done 18:57:56 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 18:57:56 -- Found CURL: /usr/lib/libcurl.so (found version "7.83.1") 18:57:56 -- Found LIBYAML: /usr/lib/libyaml.so 18:57:56 -- Found LIBUUID: /usr/lib/libuuid.so 18:57:56 -- Found LIBCBOR: /usr/lib/libcbor.so 18:57:56 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 18:57:56 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 18:57:56 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 18:57:56 -- /opt/iotech/iot/1.5/include 18:57:56 -- C SDK 0.0.0 for Linux 18:57:56 -- Performing Test CSDK_HAVE_ATOMIC 18:57:56 -- Performing Test CSDK_HAVE_ATOMIC - Success 18:57:57 -- Found Curses: /usr/lib/libcurses.so 18:57:57 -- Configuring done 18:57:57 -- Generating done 18:57:57 -- Build files have been written to: /tmp/sdk/build/debug 18:57:57 + make 18:57:57 + tee debug.log 18:57:57 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 18:57:57 In file included from /tmp/sdk/src/c/autoevent.c:9: 18:57:57 /tmp/sdk/src/c/autoevent.h:25:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 18:57:57 25 | void clear_ae_signals (); 18:57:57 | ^~~~ 18:57:57 /tmp/sdk/src/c/autoevent.c: In function 'edgex_device_autoevent_start': 18:57:57 /tmp/sdk/src/c/autoevent.c:170:47: error: expected ';' before '}' token 18:57:57 170 | init_flg_slv = sem_init (&slv_mutex, 0, 1) 18:57:57 | ^ 18:57:57 | ; 18:57:57 171 | } 18:57:57 | ~ 18:57:57 /tmp/sdk/src/c/autoevent.c: At top level: 18:57:57 /tmp/sdk/src/c/autoevent.c:278:6: warning: function declaration isn't a prototype [-Wstrict-prototypes] 18:57:57 278 | void clear_ae_signals () 18:57:57 | ^~~~~~~~~~~~~~~~ 18:57:57 make[2]: *** [c/CMakeFiles/csdk.dir/build.make:76: c/CMakeFiles/csdk.dir/autoevent.c.o] Error 1 18:57:57 make[1]: *** [CMakeFiles/Makefile2:240: c/CMakeFiles/csdk.dir/all] Error 2 18:57:57 make: *** [Makefile:156: all] Error 2 18:57:57 make: Entering directory '/tmp/sdk/build/release' 18:57:57 make[1]: Entering directory '/tmp/sdk/build/release' 18:57:57 make[2]: Entering directory '/tmp/sdk/build/release' 18:57:57 Consolidate compiler generated dependencies of target csdk 18:57:57 make[2]: Leaving directory '/tmp/sdk/build/release' 18:57:57 make[2]: Entering directory '/tmp/sdk/build/release' 18:57:57 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 18:57:57 In file included from /tmp/sdk/src/c/autoevent.c:9: 18:57:57 /tmp/sdk/src/c/autoevent.h:25:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 18:57:57 25 | void clear_ae_signals (); 18:57:57 | ^~~~ 18:57:57 /tmp/sdk/src/c/autoevent.c: In function 'edgex_device_autoevent_start': 18:57:57 /tmp/sdk/src/c/autoevent.c:170:47: error: expected ';' before '}' token 18:57:57 170 | init_flg_slv = sem_init (&slv_mutex, 0, 1) 18:57:57 | ^ 18:57:57 | ; 18:57:57 171 | } 18:57:57 | ~ 18:57:57 /tmp/sdk/src/c/autoevent.c: At top level: 18:57:57 /tmp/sdk/src/c/autoevent.c:278:6: warning: function declaration isn't a prototype [-Wstrict-prototypes] 18:57:57 278 | void clear_ae_signals () 18:57:57 | ^~~~~~~~~~~~~~~~ 18:57:57 make[2]: Leaving directory '/tmp/sdk/build/release' 18:57:57 make[2]: *** [c/CMakeFiles/csdk.dir/build.make:76: c/CMakeFiles/csdk.dir/autoevent.c.o] Error 1 18:57:57 make[1]: *** [CMakeFiles/Makefile2:240: c/CMakeFiles/csdk.dir/all] Error 2 18:57:57 make[1]: Leaving directory '/tmp/sdk/build/release' 18:57:57 make: *** [Makefile:156: all] Error 2 18:57:57 make: Leaving directory '/tmp/sdk/build/release' 18:57:57 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:57:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:57:57 18:57:57 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:57:58 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:57:58 latest: Pulling from edgex-lftools-log-publisher 18:57:58 5eb5b503b376: Pulling fs layer 18:57:58 5c69ac0246d0: Pulling fs layer 18:57:58 ec43610c2a17: Pulling fs layer 18:57:58 3a2ae6a8a46f: Pulling fs layer 18:57:58 33b1e0a273af: Pulling fs layer 18:57:58 5d3b04190fa2: Pulling fs layer 18:57:58 2f39f015ded8: Pulling fs layer 18:57:58 3a2ae6a8a46f: Waiting 18:57:58 33b1e0a273af: Waiting 18:57:58 2f39f015ded8: Waiting 18:57:58 5d3b04190fa2: Waiting 18:57:58 5c69ac0246d0: Verifying Checksum 18:57:58 5c69ac0246d0: Download complete 18:57:58 3a2ae6a8a46f: Download complete 18:57:58 Still waiting to schedule task 18:57:58 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 18:57:58 ec43610c2a17: Verifying Checksum 18:57:58 ec43610c2a17: Download complete 18:57:58 33b1e0a273af: Verifying Checksum 18:57:58 33b1e0a273af: Download complete 18:57:58 5d3b04190fa2: Download complete 18:57:58 5eb5b503b376: Verifying Checksum 18:57:58 5eb5b503b376: Download complete 18:57:58 2f39f015ded8: Download complete 18:57:59 5eb5b503b376: Pull complete 18:57:59 5c69ac0246d0: Pull complete 18:58:00 ec43610c2a17: Pull complete 18:58:00 3a2ae6a8a46f: Pull complete 18:58:00 33b1e0a273af: Pull complete 18:58:00 5d3b04190fa2: Pull complete 18:58:04 2f39f015ded8: Pull complete 18:58:04 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 18:58:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:58:04 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:58:04 prd-ubuntu20.04-docker-8c-8g-229 does not seem to be running inside a container 18:58: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:58:08 $ docker top 4edf0bd6f224ba6d1c8f6ac498af9ddc8d48c02746975dcbef512bee119c5e9b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:58:08 ---> job-cost.sh 18:58:08 lf-activate-venv: SKIPPING 18:58:08 INFO: No Stack... 18:58:09 INFO: Retrieving Pricing Info for: v3-standard-8 18:58:09 INFO: Archiving Costs [Pipeline] sh 18:58:09 + cat /w/workspace/edgexfoundry_device-sdk-c_PR-444/archives/cost.csv 18:58:09 + cut -d, -f6 [Pipeline] lock 18:58:09 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-444-3-stack-cost] 18:58:09 Resource [jenkins-edgexfoundry-device-sdk-c-PR-444-3-stack-cost] did not exist. Created. 18:58:09 Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-444-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:58:09 + echo total: 0.2199999988079071 [Pipeline] stash 18:58:09 Stashed 1 file(s) [Pipeline] } 18:58:09 Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-444-3-stack-cost] [Pipeline] // lock [Pipeline] } 18:58:09 $ docker stop --time=1 4edf0bd6f224ba6d1c8f6ac498af9ddc8d48c02746975dcbef512bee119c5e9b 18:58:11 $ docker rm -f --volumes 4edf0bd6f224ba6d1c8f6ac498af9ddc8d48c02746975dcbef512bee119c5e9b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 18:58:11 Failed in branch amd64 19:00:49 Running on prd-ubuntu20.04-docker-arm64-4c-16g-231 in /w/workspace/edgexfoundry_device-sdk-c_PR-444 [Pipeline] { [Pipeline] ws 19:00:49 Running in /w/workspace/device-sdk-c/3 [Pipeline] { [Pipeline] checkout 19:00:49 Selected Git installation does not exist. Using Default 19:00:49 The recommended git tool is: NONE 19:00:56 using credential edgex-jenkins-ssh 19:00:56 Cloning the remote Git repository 19:00:56 Cloning repository git@github.com:edgexfoundry/device-sdk-c.git 19:00:56 > git init /w/workspace/device-sdk-c/3 # timeout=10 19:00:56 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 19:00:56 > git --version # timeout=10 19:00:56 > git --version # 'git version 2.25.1' 19:00:56 using GIT_SSH to set credentials SSH Credentials for GitHub 19:00:57 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 19:00:58 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 19:00:58 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 19:01:00 Merging remotes/origin/main commit c501188f4a78ac3dadda58092e8196eb77e7373e into PR head commit 2ab919ba902543e8751b24cbae806de0a32484ea 19:00:59 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 19:00:59 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 19:00:59 using GIT_SSH to set credentials SSH Credentials for GitHub 19:00:59 > 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 19:01:00 Merge succeeded, producing e45206e1ce853b6c46e6ceb8146c52ef14624992 19:01:00 Checking out Revision e45206e1ce853b6c46e6ceb8146c52ef14624992 (PR-444) 19:01:00 > git config core.sparsecheckout # timeout=10 19:01:00 > git checkout -f 2ab919ba902543e8751b24cbae806de0a32484ea # timeout=10 19:01:00 > git remote # timeout=10 19:01:00 > git config --get remote.origin.url # timeout=10 19:01:00 using GIT_SSH to set credentials SSH Credentials for GitHub 19:01:00 > git merge c501188f4a78ac3dadda58092e8196eb77e7373e # timeout=10 19:01:00 > git rev-parse HEAD^{commit} # timeout=10 19:01:00 > git config core.sparsecheckout # timeout=10 19:01:00 > git checkout -f e45206e1ce853b6c46e6ceb8146c52ef14624992 # timeout=10 19:01:04 Commit message: "Merge commit 'c501188f4a78ac3dadda58092e8196eb77e7373e' into HEAD" 19:01:04 First time build. Skipping changelog. 19:01:04 > git rev-list --no-walk 0a4d59bd3914e79a881812e57ada432b3fa159a4 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 19:01:05 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 19:01:05 % Total % Received % Xferd Average Speed Time Time Time Current 19:01:05 Dload Upload Total Spent Left Speed 19:01:05 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 76353 0 --:--:-- --:--:-- --:--:-- 76353 [Pipeline] sh 19:01:06 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 19:01:06 + + sudo teesudo /etc/docker/daemon.new jq 19:01:06 . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 19:01:06 { 19:01:06 "registry-mirrors": [ 19:01:06 "https://nexus3.edgexfoundry.org:10001" 19:01:06 ], 19:01:06 "bip": "10.250.0.254/24", 19:01:06 "hosts": [ 19:01:06 "tcp://0.0.0.0:5555", 19:01:06 "unix:///var/run/docker.sock" 19:01:06 ], 19:01:06 "mtu": 1458, 19:01:06 "selinux-enabled": true, 19:01:06 "seccomp-profile": "/etc/docker/seccomp.json" 19:01:06 } [Pipeline] sh 19:01:06 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 19:01:07 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:01:25 provisioning config files... 19:01:25 copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/3@tmp/config2454303868346130070tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:01:26 ---> docker-login.sh 19:01:26 nexus3.edgexfoundry.org:10001 19:01:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:01:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:01:26 Configure a credential helper to remove this warning. See 19:01:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:01:26 19:01:26 Login Succeeded 19:01:26 nexus3.edgexfoundry.org:10002 19:01:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:01:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:01:27 Configure a credential helper to remove this warning. See 19:01:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:01:27 19:01:27 Login Succeeded 19:01:27 nexus3.edgexfoundry.org:10003 19:01:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:01:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:01:27 Configure a credential helper to remove this warning. See 19:01:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:01:27 19:01:27 Login Succeeded 19:01:27 nexus3.edgexfoundry.org:10004 19:01:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:01:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:01:28 Configure a credential helper to remove this warning. See 19:01:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:01:28 19:01:28 Login Succeeded 19:01:28 docker.io 19:01:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:01:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:01:28 Configure a credential helper to remove this warning. See 19:01:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:01:28 19:01:28 Login Succeeded 19:01:28 ---> docker-login.sh ends [Pipeline] } 19:01:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 19:01:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:01:28 [prepBaseBuildImage] Generating new image with name: ci-base-image-arm64 [Pipeline] echo 19:01:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:01:28 ========================================================= 19:01:28 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] 19:01:28 ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:01:29 + 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 . 19:01:29 Sending build context to Docker daemon 2.928MB 19:01:29 Step 1/21 : ARG BASE=alpine:3.16 19:01:29 Step 2/21 : FROM ${BASE} as builder 19:01:29 latest: Pulling from edgex-devops/edgex-gcc-base-arm64 19:01:29 9b18e9b68314: Pulling fs layer 19:01:29 1def92ead452: Pulling fs layer 19:01:30 9b18e9b68314: Verifying Checksum 19:01:30 9b18e9b68314: Download complete 19:01:30 9b18e9b68314: Pull complete 19:01:32 1def92ead452: Verifying Checksum 19:01:32 1def92ead452: Download complete 19:01:41 1def92ead452: Pull complete 19:01:41 Digest: sha256:3c74c28e8b16bff0b36cfc53656b3ae71c0a9fddc9bd5376ab4c3f9356b3cc6c 19:01:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest 19:01:41 ---> 9a9802766715 19:01:41 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 19:01:41 ---> Running in c7796ab79402 19:01:43 Connecting to iotech.jfrog.io (34.240.134.226:443) 19:01:43 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 19:01:43 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 19:01:43 '/etc/apk/keys/alpine.dev.rsa.pub' saved 19:01:44 Removing intermediate container c7796ab79402 19:01:44 ---> 320074af58be 19:01:44 Step 4/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories 19:01:44 ---> Running in 79513c1747d0 19:01:46 Removing intermediate container 79513c1747d0 19:01:46 ---> ecf23f1d32e4 19:01:46 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 19:01:46 ---> Running in 1d8735ddb9a6 19:01:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 19:01:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 19:01:48 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/aarch64/APKINDEX.tar.gz 19:01:49 WARNING: This apk-tools is OLD! Some packages might not function properly. 19:01:49 (1/14) Installing hiredis (1.0.2-r0) 19:01:49 (2/14) Installing hiredis-dev (1.0.2-r0) 19:01:49 (3/14) Installing iotech-iot-1.5 (1.5.0-r0) 19:01:50 (4/14) Installing iotech-iot-1.5-dev (1.5.0-r0) 19:01:50 (5/14) Installing libcbor (0.9.0-r1) 19:01:50 (6/14) Installing libcbor-dev (0.9.0-r1) 19:01:50 (7/14) Installing ncurses-dev (6.3_p20220521-r0) 19:01:50 (8/14) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) 19:01:51 (9/14) Installing libblkid (2.38-r1) 19:01:51 (10/14) Installing libuuid (2.38-r1) 19:01:51 (11/14) Installing libfdisk (2.38-r1) 19:01:51 (12/14) Installing libmount (2.38-r1) 19:01:51 (13/14) Installing libsmartcols (2.38-r1) 19:01:51 (14/14) Installing util-linux-dev (2.38-r1) 19:01:51 Executing busybox-1.35.0-r17.trigger 19:01:51 OK: 286 MiB in 90 packages 19:01:52 Removing intermediate container 1d8735ddb9a6 19:01:52 ---> e8de7d9ffcd9 19:01:52 Step 6/21 : RUN mkdir /tmp/sdk 19:01:52 ---> Running in efc333205884 19:01:54 Removing intermediate container efc333205884 19:01:54 ---> 738b1a1bbf76 19:01:54 Step 7/21 : COPY VERSION /tmp/sdk 19:01:55 ---> c8ffb8bf233e 19:01:55 Step 8/21 : COPY src /tmp/sdk/src 19:01:55 ---> f5b36df0503d 19:01:55 Step 9/21 : COPY include /tmp/sdk/include 19:01:56 ---> 9f5c3979eded 19:01:56 Step 10/21 : COPY scripts /tmp/sdk/scripts 19:01:56 ---> 3e16d36ae4fe 19:01:56 Step 11/21 : COPY LICENSE /tmp/sdk 19:01:57 ---> 89ed7cef1e36 19:01:57 Step 12/21 : COPY Attribution.txt /tmp/sdk 19:01:58 ---> 22a27d532cd7 19:01:58 Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 19:01:58 ---> Running in 12b200005349 19:02:02 + CPPCHECK=false 19:02:02 + DOCGEN=false 19:02:02 + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' 19:02:02 + TOMLVER=SDK-0.2 19:02:02 + CUTILVER=1.4 19:02:02 + '[' 0 -gt 0 ] 19:02:02 + readlink -f ./scripts/build.sh 19:02:02 + dirname /tmp/sdk/scripts/build.sh 19:02:02 + dirname /tmp/sdk/scripts 19:02:02 + ROOT=/tmp/sdk 19:02:02 + cd /tmp/sdk 19:02:02 + '[' '!' -d deps ] 19:02:02 + mkdir deps 19:02:02 + tar -C deps -z -x -f - 19:02:02 + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 19:02:02 Connecting to github.com (140.82.112.3:443) 19:02:02 Connecting to codeload.github.com (140.82.113.10:443) 19:02:03 writing to stdout 19:02:03 - 100% |********************************| 16451 0:00:00 ETA 19:02:03 written to stdout 19:02:03 + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c 19:02:03 + mkdir -p /tmp/sdk/build/release 19:02:03 + cd /tmp/sdk/build/release 19:02:03 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 19:02:03 -- The C compiler identification is GNU 11.2.1 19:02:03 -- Detecting C compiler ABI info 19:02:04 -- Detecting C compiler ABI info - done 19:02:04 -- Check for working C compiler: /usr/bin/cc - skipped 19:02:04 -- Detecting C compile features 19:02:04 -- Detecting C compile features - done 19:02:04 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 19:02:04 -- Found CURL: /usr/lib/libcurl.so (found version "7.83.1") 19:02:04 -- Found LIBYAML: /usr/lib/libyaml.so 19:02:04 -- Found LIBUUID: /usr/lib/libuuid.so 19:02:04 -- Found LIBCBOR: /usr/lib/libcbor.so 19:02:04 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 19:02:04 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 19:02:04 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 19:02:04 -- /opt/iotech/iot/1.5/include 19:02:04 -- C SDK 0.0.0 for Linux 19:02:04 -- Performing Test CSDK_HAVE_ATOMIC 19:02:05 -- Performing Test CSDK_HAVE_ATOMIC - Success 19:02:05 -- Found Curses: /usr/lib/libcurses.so 19:02:05 -- Configuring done 19:02:05 -- Generating done 19:02:05 -- Build files have been written to: /tmp/sdk/build/release 19:02:05 + make all package 19:02:05 + tee release.log 19:02:05 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 19:02:06 In file included from /tmp/sdk/src/c/autoevent.c:9: 19:02:06 /tmp/sdk/src/c/autoevent.h:25:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 19:02:06 25 | void clear_ae_signals (); 19:02:06 | ^~~~ 19:02:06 /tmp/sdk/src/c/autoevent.c: In function 'edgex_device_autoevent_start': 19:02:06 /tmp/sdk/src/c/autoevent.c:170:47: error: expected ';' before '}' token 19:02:06 170 | init_flg_slv = sem_init (&slv_mutex, 0, 1) 19:02:06 | ^ 19:02:06 | ; 19:02:06 171 | } 19:02:06 | ~ 19:02:06 /tmp/sdk/src/c/autoevent.c: At top level: 19:02:06 /tmp/sdk/src/c/autoevent.c:278:6: warning: function declaration isn't a prototype [-Wstrict-prototypes] 19:02:06 278 | void clear_ae_signals () 19:02:06 | ^~~~~~~~~~~~~~~~ 19:02:06 make[2]: *** [c/CMakeFiles/csdk.dir/build.make:76: c/CMakeFiles/csdk.dir/autoevent.c.o] Error 1 19:02:06 make[1]: *** [CMakeFiles/Makefile2:240: c/CMakeFiles/csdk.dir/all] Error 2 19:02:06 make: *** [Makefile:156: all] Error 2 19:02:06 + '[' false '=' true ] 19:02:06 + '[' false '=' true ] 19:02:06 + mkdir -p /tmp/sdk/build/debug 19:02:06 + cd /tmp/sdk/build/debug 19:02:06 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 19:02:06 -- The C compiler identification is GNU 11.2.1 19:02:06 -- Detecting C compiler ABI info 19:02:07 -- Detecting C compiler ABI info - done 19:02:07 -- Check for working C compiler: /usr/bin/cc - skipped 19:02:07 -- Detecting C compile features 19:02:07 -- Detecting C compile features - done 19:02:07 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 19:02:07 -- Found CURL: /usr/lib/libcurl.so (found version "7.83.1") 19:02:07 -- Found LIBYAML: /usr/lib/libyaml.so 19:02:07 -- Found LIBUUID: /usr/lib/libuuid.so 19:02:07 -- Found LIBCBOR: /usr/lib/libcbor.so 19:02:07 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 19:02:07 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 19:02:07 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 19:02:07 -- /opt/iotech/iot/1.5/include 19:02:07 -- C SDK 0.0.0 for Linux 19:02:07 -- Performing Test CSDK_HAVE_ATOMIC 19:02:08 -- Performing Test CSDK_HAVE_ATOMIC - Success 19:02:08 -- Found Curses: /usr/lib/libcurses.so 19:02:08 -- Configuring done 19:02:08 -- Generating done 19:02:09 -- Build files have been written to: /tmp/sdk/build/debug 19:02:09 + + teemake 19:02:09 debug.log 19:02:09 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 19:02:09 In file included from /tmp/sdk/src/c/autoevent.c:9: 19:02:09 /tmp/sdk/src/c/autoevent.h:25:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 19:02:09 25 | void clear_ae_signals (); 19:02:09 | ^~~~ 19:02:09 /tmp/sdk/src/c/autoevent.c: In function 'edgex_device_autoevent_start': 19:02:09 /tmp/sdk/src/c/autoevent.c:170:47: error: expected ';' before '}' token 19:02:09 170 | init_flg_slv = sem_init (&slv_mutex, 0, 1) 19:02:09 | ^ 19:02:09 | ; 19:02:09 171 | } 19:02:09 | ~ 19:02:09 /tmp/sdk/src/c/autoevent.c: At top level: 19:02:09 /tmp/sdk/src/c/autoevent.c:278:6: warning: function declaration isn't a prototype [-Wstrict-prototypes] 19:02:09 278 | void clear_ae_signals () 19:02:09 | ^~~~~~~~~~~~~~~~ 19:02:09 make[2]: *** [c/CMakeFiles/csdk.dir/build.make:76: c/CMakeFiles/csdk.dir/autoevent.c.o] Error 1 19:02:09 make[1]: *** [CMakeFiles/Makefile2:240: c/CMakeFiles/csdk.dir/all] Error 2 19:02:09 make: *** [Makefile:156: all] Error 2 19:02:09 make: Entering directory '/tmp/sdk/build/release' 19:02:09 make[1]: Entering directory '/tmp/sdk/build/release' 19:02:09 make[2]: Entering directory '/tmp/sdk/build/release' 19:02:09 Consolidate compiler generated dependencies of target csdk 19:02:09 make[2]: Leaving directory '/tmp/sdk/build/release' 19:02:09 make[2]: Entering directory '/tmp/sdk/build/release' 19:02:09 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 19:02:10 In file included from /tmp/sdk/src/c/autoevent.c:9: 19:02:10 /tmp/sdk/src/c/autoevent.h:25:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 19:02:10 25 | void clear_ae_signals (); 19:02:10 | ^~~~ 19:02:10 /tmp/sdk/src/c/autoevent.c: In function 'edgex_device_autoevent_start': 19:02:10 /tmp/sdk/src/c/autoevent.c:170:47: error: expected ';' before '}' token 19:02:10 170 | init_flg_slv = sem_init (&slv_mutex, 0, 1) 19:02:10 | ^ 19:02:10 | ; 19:02:10 171 | } 19:02:10 | ~ 19:02:10 /tmp/sdk/src/c/autoevent.c: At top level: 19:02:10 /tmp/sdk/src/c/autoevent.c:278:6: warning: function declaration isn't a prototype [-Wstrict-prototypes] 19:02:10 278 | void clear_ae_signals () 19:02:10 | ^~~~~~~~~~~~~~~~ 19:02:10 make[2]: *** [c/CMakeFiles/csdk.dir/build.make:76: c/CMakeFiles/csdk.dir/autoevent.c.o] Error 1 19:02:10 make[2]: Leaving directory '/tmp/sdk/build/release' 19:02:10 make[1]: *** [CMakeFiles/Makefile2:240: c/CMakeFiles/csdk.dir/all] Error 2 19:02:10 make[1]: Leaving directory '/tmp/sdk/build/release' 19:02:10 make: *** [Makefile:156: all] Error 2 19:02:10 make: Leaving directory '/tmp/sdk/build/release' 19:02:10 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 19:02:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:02:11 19:02:11 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:02:11 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:02:11 arm64: Pulling from edgex-lftools-log-publisher 19:02:11 8998bd30e6a1: Pulling fs layer 19:02:11 04944245beec: Pulling fs layer 19:02:11 699f458cf7ca: Pulling fs layer 19:02:11 765212b225bb: Pulling fs layer 19:02:11 f23df028b6ca: Pulling fs layer 19:02:11 d65c8cfc05b1: Pulling fs layer 19:02:11 2437ff75d9bd: Pulling fs layer 19:02:11 f23df028b6ca: Waiting 19:02:11 d65c8cfc05b1: Waiting 19:02:11 2437ff75d9bd: Waiting 19:02:11 765212b225bb: Waiting 19:02:11 04944245beec: Verifying Checksum 19:02:11 04944245beec: Download complete 19:02:11 765212b225bb: Verifying Checksum 19:02:11 765212b225bb: Download complete 19:02:11 f23df028b6ca: Download complete 19:02:11 d65c8cfc05b1: Verifying Checksum 19:02:11 d65c8cfc05b1: Download complete 19:02:12 699f458cf7ca: Download complete 19:02:12 8998bd30e6a1: Verifying Checksum 19:02:12 8998bd30e6a1: Download complete 19:02:14 2437ff75d9bd: Verifying Checksum 19:02:14 2437ff75d9bd: Download complete 19:02:16 8998bd30e6a1: Pull complete 19:02:16 04944245beec: Pull complete 19:02:18 699f458cf7ca: Pull complete 19:02:18 765212b225bb: Pull complete 19:02:19 f23df028b6ca: Pull complete 19:02:19 d65c8cfc05b1: Pull complete 19:02:34 2437ff75d9bd: Pull complete 19:02:34 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 19:02:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:02:34 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:02:34 prd-ubuntu20.04-docker-arm64-4c-16g-231 does not seem to be running inside a container 19:02:34 $ 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/3 -v /w/workspace/device-sdk-c/3:/w/workspace/device-sdk-c/3:rw,z -v /w/workspace/device-sdk-c/3@tmp:/w/workspace/device-sdk-c/3@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:02:37 $ docker top 16b6451ece0737c2a35509e7679dcb2aefbb3cacbafb226c58f74fa91411f79d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:02:38 ---> job-cost.sh 19:02:38 lf-activate-venv: SKIPPING 19:02:38 INFO: No Stack... 19:02:38 INFO: Retrieving Pricing Info for: v3-standard-4 19:02:39 INFO: Archiving Costs [Pipeline] sh 19:02:40 + cat /w/workspace/device-sdk-c/3/archives/cost.csv+ 19:02:40 cut -d, -f6 [Pipeline] lock 19:02:40 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-444-3-stack-cost] 19:02:40 Resource [jenkins-edgexfoundry-device-sdk-c-PR-444-3-stack-cost] did not exist. Created. 19:02:40 Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-444-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 19:02:41 /w/workspace/device-sdk-c/3@tmp/durable-8021ea47/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 19:02:41 + echo total: 0.10999999940395355 [Pipeline] stash 19:02:41 Warning: overwriting stash ‘stack-cost’ 19:02:42 Stashed 1 file(s) [Pipeline] } 19:02:42 Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-444-3-stack-cost] [Pipeline] // lock [Pipeline] } 19:02:42 $ docker stop --time=1 16b6451ece0737c2a35509e7679dcb2aefbb3cacbafb226c58f74fa91411f79d 19:02:44 $ docker rm -f --volumes 16b6451ece0737c2a35509e7679dcb2aefbb3cacbafb226c58f74fa91411f79d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 19:02:44 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:02:44 + [ -d /w/workspace/edgexfoundry_device-sdk-c_PR-444/archives ] 19:02:44 + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-444/archives 19:02:44 total 16 19:02:44 drwxr-xr-x 3 root root 4096 Mar 14 18:58 . 19:02:44 drwxrwxr-x 10 jenkins jenkins 4096 Mar 14 18:58 .. 19:02:44 drwxr-xr-x 2 root root 4096 Mar 14 18:58 cost 19:02:44 -rw-r--r-- 1 root root 83 Mar 14 18:58 cost.csv 19:02:44 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_PR-444/archives 19:02:44 + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-444/archives 19:02:44 total 16 19:02:44 drwxr-xr-x 3 jenkins jenkins 4096 Mar 14 18:58 . 19:02:44 drwxrwxr-x 10 jenkins jenkins 4096 Mar 14 18:58 .. 19:02:44 drwxr-xr-x 2 jenkins jenkins 4096 Mar 14 18:58 cost 19:02:44 -rw-r--r-- 1 jenkins jenkins 83 Mar 14 18:58 cost.csv [Pipeline] libraryResource [Pipeline] sh 19:02:45 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 19:02:45 ---> package-listing.sh 19:02:45 ++ facter osfamily 19:02:45 ++ tr '[:upper:]' '[:lower:]' 19:02:46 + OS_FAMILY=debian 19:02:46 + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-444 19:02:46 + START_PACKAGES=/tmp/packages_start.txt 19:02:46 + END_PACKAGES=/tmp/packages_end.txt 19:02:46 + DIFF_PACKAGES=/tmp/packages_diff.txt 19:02:46 + PACKAGES=/tmp/packages_start.txt 19:02:46 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-444 ']' 19:02:46 + PACKAGES=/tmp/packages_end.txt 19:02:46 + case "${OS_FAMILY}" in 19:02:46 + dpkg -l 19:02:46 + grep '^ii' 19:02:46 + '[' -f /tmp/packages_start.txt ']' 19:02:46 + '[' -f /tmp/packages_end.txt ']' 19:02:46 + diff /tmp/packages_start.txt /tmp/packages_end.txt 19:02:46 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-444 ']' 19:02:46 + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-444/archives/ 19:02:46 + 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:02:46 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:02:46 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:02:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:02:47 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:02:47 prd-ubuntu20.04-docker-8c-8g-229 does not seem to be running inside a container 19:02:47 $ 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:02:47 $ docker top adc17d7d1287f0aed2c4b22015f994919860c27420e1bc34b143da68d59136bb -eo pid,comm [Pipeline] { [Pipeline] sh 19:02:47 + touch /tmp/pre-build-complete [Pipeline] sh 19:02:47 + mkdir -p /var/log/sysstat [Pipeline] sh 19:02:48 + ls /var/log/sa-host 19:02:48 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:02:48 provisioning config files... 19:02:48 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-444@tmp/config4438032097809589111tmp [Pipeline] { [Pipeline] echo 19:02:48 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 19:02:48 ---> create-netrc.sh [Pipeline] } 19:02:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 19:02:49 ---> python-tools-install.sh [Pipeline] echo 19:02:49 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 19:02:49 ---> sudo-logs.sh 19:02:49 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 19:02:49 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 19:02:49 ---> job-cost.sh 19:02:49 lf-activate-venv: SKIPPING 19:02:49 DEBUG: total: 0.2199999988079071 19:02:49 INFO: Retrieving Stack Cost... 19:02:49 INFO: Retrieving Pricing Info for: v3-standard-8 19:02:50 INFO: Archiving Costs [Pipeline] echo 19:02:50 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 19:02:50 ---> logs-deploy.sh 19:02:50 lf-activate-venv: SKIPPING 19:02:50 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-444/3 19:02:50 INFO: archiving workspace using pattern(s): 19:02:51 Archives upload complete. 19:02:51 INFO: archiving logs to Nexus