Pull request #444 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of TuhinDasgupta-eaton for edgexfoundry/device-sdk-c Loading trusted files from base branch main at 21f79343dd353c602474ef88d38fd1373f48e545 rather than 2ab919ba902543e8751b24cbae806de0a32484ea Obtained Jenkinsfile from 21f79343dd353c602474ef88d38fd1373f48e545 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-ssh8017178059670894682.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh11841727628831330807.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-444/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-444/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7874433303285323920.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-444/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13776244173123956955.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh12215774643496785807.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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-444/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-444/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh13150151439202951926.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildCApp] RAW Config: [project:device-sdk-c, dockerBuildFilePath:scripts/Dockerfile.alpine-base, dockerFilePath:scripts/Dockerfile.alpine, pushImage:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildCApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-c-settings PROJECT: device-sdk-c USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build DOCKER_FILE_PATH: scripts/Dockerfile.alpine DOCKER_BUILD_FILE_PATH: scripts/Dockerfile.alpine-base DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-7433 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 21f79343dd353c602474ef88d38fd1373f48e545 into PR head commit 2ab919ba902543e8751b24cbae806de0a32484ea Merge succeeded, producing 2ab919ba902543e8751b24cbae806de0a32484ea Checking out Revision 2ab919ba902543e8751b24cbae806de0a32484ea (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 21f79343dd353c602474ef88d38fd1373f48e545 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2ab919ba902543e8751b24cbae806de0a32484ea # timeout=10 Commit message: "Update devmap.c" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 07:24:39 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 07:24:40 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 07:24:40 ========================================================= 07:24:40 EdgeX Global Pipelines Version Info 07:24:40 ========================================================= [Pipeline] libraryResource [Pipeline] sh 07:24:40 ------------------- 07:24:40 stable info: 07:24:40 ------------------- 07:24:40 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 07:24:40 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 07:24:40 Message: update stable to v1.0.244 07:24:41 ------------------- 07:24:41 experimental info: 07:24:41 ------------------- 07:24:41 Commited By: **** collab-it+edgex@linuxfoundation.org 07:24:41 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 07:24:41 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 07:24:41 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo 07:24:41 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo 07:24:41 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 07:24:41 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 07:24:41 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 07:24:41 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo 07:24:42 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo 07:24:42 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 07:24:42 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 07:24:42 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo 07:24:42 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 07:24:42 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 07:24:42 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 07:24:42 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 07:24:42 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 07:24:42 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 07:24:42 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 07:24:42 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-444 [Pipeline] echo 07:24:42 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-444 [Pipeline] echo 07:24:42 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-444 [Pipeline] echo 07:24:42 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 2ab919ba902543e8751b24cbae806de0a32484ea [Pipeline] echo 07:24:42 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 2ab919b [Pipeline] echo 07:24:42 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:24:42 provisioning config files... 07:24:42 copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-444@tmp/config17980097514434154523tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:24:43 ---> docker-login.sh 07:24:43 nexus3.edgexfoundry.org:10001 07:24:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:24:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:24:43 Configure a credential helper to remove this warning. See 07:24:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:24:43 07:24:43 Login Succeeded 07:24:43 nexus3.edgexfoundry.org:10002 07:24:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:24:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:24:43 Configure a credential helper to remove this warning. See 07:24:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:24:43 07:24:43 Login Succeeded 07:24:43 nexus3.edgexfoundry.org:10003 07:24:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:24:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:24:43 Configure a credential helper to remove this warning. See 07:24:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:24:43 07:24:43 Login Succeeded 07:24:43 nexus3.edgexfoundry.org:10004 07:24:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:24:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:24:43 Configure a credential helper to remove this warning. See 07:24:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:24:43 07:24:43 Login Succeeded 07:24:43 docker.io 07:24:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:24:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:24:44 Configure a credential helper to remove this warning. See 07:24:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:24:44 07:24:44 Login Succeeded 07:24:44 ---> docker-login.sh ends [Pipeline] } 07:24:44 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build LTS Release Image) [Pipeline] sh 07:24:44 + git rev-list -1 --merges 2ab919ba902543e8751b24cbae806de0a32484ea~1..2ab919ba902543e8751b24cbae806de0a32484ea [Pipeline] echo 07:24:45 -----------> git rev-list -1 --merges 2ab919ba902543e8751b24cbae806de0a32484ea~1..2ab919ba902543e8751b24cbae806de0a32484ea 2ab919ba902543e8751b24cbae806de0a32484ea [false] [Pipeline] sh 07:24:46 + git log --format=format:%s -1 2ab919ba902543e8751b24cbae806de0a32484ea [Pipeline] echo 07:24:46 ========================================================= 07:24:46 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 07:24:46 ========================================================= 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 07:24:47 + git rev-list -1 --merges 2ab919ba902543e8751b24cbae806de0a32484ea~1..2ab919ba902543e8751b24cbae806de0a32484ea [Pipeline] echo 07:24:47 -----------> git rev-list -1 --merges 2ab919ba902543e8751b24cbae806de0a32484ea~1..2ab919ba902543e8751b24cbae806de0a32484ea 2ab919ba902543e8751b24cbae806de0a32484ea [false] [Pipeline] sh 07:24:47 + git log --format=format:%s -1 2ab919ba902543e8751b24cbae806de0a32484ea [Pipeline] echo 07:24:47 ========================================================= 07:24:47 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 07:24:47 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh 07:24:47 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 07:24:47 + grep -v github /etc/ssh/ssh_known_hosts 07:24:47 + [ -e /tmp/ssh_known_hosts ] 07:24:47 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 07:24:47 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 07:24:47 + sudo tee -a /etc/ssh/ssh_known_hosts 07:24:47 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:24:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:24:48 07:24:48 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:24:48 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:24:48 0.1.4: Pulling from edgex-devops/py-git-semver 07:24:48 b85a868b505f: Pulling fs layer 07:24:48 e2be974225ed: Pulling fs layer 07:24:48 339a4e72a1f5: Pulling fs layer 07:24:48 988bab9f4d93: Pulling fs layer 07:24:48 1469e6f7b9e6: Pulling fs layer 07:24:48 eaf3925da568: Pulling fs layer 07:24:48 bab4dde63d76: Pulling fs layer 07:24:48 bde34c3a00c8: Pulling fs layer 07:24:48 b352a97aabf1: Pulling fs layer 07:24:48 4872d77fe225: Pulling fs layer 07:24:48 5851b861e8e6: Pulling fs layer 07:24:48 bde34c3a00c8: Waiting 07:24:48 1469e6f7b9e6: Waiting 07:24:48 eaf3925da568: Waiting 07:24:48 bab4dde63d76: Waiting 07:24:48 5851b861e8e6: Waiting 07:24:48 988bab9f4d93: Waiting 07:24:48 e2be974225ed: Download complete 07:24:48 988bab9f4d93: Verifying Checksum 07:24:48 988bab9f4d93: Download complete 07:24:49 339a4e72a1f5: Verifying Checksum 07:24:49 339a4e72a1f5: Download complete 07:24:49 1469e6f7b9e6: Verifying Checksum 07:24:49 1469e6f7b9e6: Download complete 07:24:49 eaf3925da568: Verifying Checksum 07:24:49 eaf3925da568: Download complete 07:24:49 bde34c3a00c8: Download complete 07:24:49 b352a97aabf1: Download complete 07:24:49 4872d77fe225: Verifying Checksum 07:24:49 4872d77fe225: Download complete 07:24:49 5851b861e8e6: Download complete 07:24:49 b85a868b505f: Verifying Checksum 07:24:49 b85a868b505f: Download complete 07:24:49 bab4dde63d76: Verifying Checksum 07:24:49 bab4dde63d76: Download complete 07:24:50 b85a868b505f: Pull complete 07:24:50 e2be974225ed: Pull complete 07:24:51 339a4e72a1f5: Pull complete 07:24:51 988bab9f4d93: Pull complete 07:24:51 1469e6f7b9e6: Pull complete 07:24:51 eaf3925da568: Pull complete 07:24:53 bab4dde63d76: Pull complete 07:24:53 bde34c3a00c8: Pull complete 07:24:53 b352a97aabf1: Pull complete 07:24:53 4872d77fe225: Pull complete 07:24:53 5851b861e8e6: Pull complete 07:24:53 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 07:24:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:24:53 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:24:54 prd-ubuntu20.04-docker-8c-8g-7433 does not seem to be running inside a container 07:24:54 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 07:24:58 $ docker top 121c99962986b191e2892cfc80fb94f448a5e96588ef17e5411a066a41168e2d -eo pid,comm 07:24:58 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). 07:24:58 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:24:59 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:24:59 [ssh-agent] Looking for ssh-agent implementation... 07:24:59 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:24:59 $ docker exec 121c99962986b191e2892cfc80fb94f448a5e96588ef17e5411a066a41168e2d ssh-agent 07:24:59 SSH_AUTH_SOCK=/tmp/ssh-PzNOEE6RNti9/agent.32 07:24:59 SSH_AGENT_PID=38 07:24:59 Running ssh-add (command line suppressed) 07:24:59 Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-444@tmp/private_key_5548130774685220315.key (/w/workspace/edgexfoundry_device-sdk-c_PR-444@tmp/private_key_5548130774685220315.key) 07:24:59 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:24:59 + git tag --points-at HEAD [Pipeline] } 07:24:59 $ docker exec --env ******** --env ******** 121c99962986b191e2892cfc80fb94f448a5e96588ef17e5411a066a41168e2d ssh-agent -k 07:24:59 unset SSH_AUTH_SOCK; 07:24:59 unset SSH_AGENT_PID; 07:24:59 echo Agent pid 38 killed; 07:24:59 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 07:24:59 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:24:59 [ssh-agent] Looking for ssh-agent implementation... 07:25:00 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:25:00 $ docker exec 121c99962986b191e2892cfc80fb94f448a5e96588ef17e5411a066a41168e2d ssh-agent 07:25:00 SSH_AUTH_SOCK=/tmp/ssh-453qDcWiGRkb/agent.70 07:25:00 SSH_AGENT_PID=76 07:25:00 Running ssh-add (command line suppressed) 07:25:00 Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-444@tmp/private_key_11215520452029181812.key (/w/workspace/edgexfoundry_device-sdk-c_PR-444@tmp/private_key_11215520452029181812.key) 07:25:00 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:25:00 + git semver init 07:25:00 2023-02-25 07:25:00,866 [run_init] DEBUG init version:0.0.0 force:False 07:25:00 2023-02-25 07:25:00,867 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-c_PR-444/.semver 07:25:00 2023-02-25 07:25:00,867 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-c.git /w/workspace/edgexfoundry_device-sdk-c_PR-444/.semver 07:25:00 2023-02-25 07:25:00,868 [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) 07:25:01 2023-02-25 07:25:01,847 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-c_PR-444/.git/info/exclude 07:25:01 2023-02-25 07:25:01,847 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-c_PR-444/.semver/PR-444 with force:False 07:25:01 2023-02-25 07:25:01,847 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-c_PR-444/.semver/PR-444 07:25:01 2023-02-25 07:25:01,852 [execute] INFO git cat-file --batch-check 07:25:01 2023-02-25 07:25:01,852 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-444/.semver, universal_newlines=False, shell=None, istream=) 07:25:01 2023-02-25 07:25:01,859 [execute] INFO git cat-file --batch 07:25:01 2023-02-25 07:25:01,859 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-444/.semver, universal_newlines=False, shell=None, istream=) 07:25:01 2023-02-25 07:25:01,865 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_PR-444/.semver/PR-444 07:25:01 0.0.0 [Pipeline] } 07:25:01 $ docker exec --env ******** --env ******** 121c99962986b191e2892cfc80fb94f448a5e96588ef17e5411a066a41168e2d ssh-agent -k 07:25:02 unset SSH_AUTH_SOCK; 07:25:02 unset SSH_AGENT_PID; 07:25:02 echo Agent pid 76 killed; 07:25:02 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:25:02 + git semver [Pipeline] } 07:25:02 $ docker stop --time=1 121c99962986b191e2892cfc80fb94f448a5e96588ef17e5411a066a41168e2d 07:25:04 $ docker rm -f --volumes 121c99962986b191e2892cfc80fb94f448a5e96588ef17e5411a066a41168e2d [Pipeline] // withDockerContainer [Pipeline] sh 07:25:04 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 07:25:04 Stashed 1 file(s) [Pipeline] echo 07:25:04 [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 07:25:05 provisioning config files... 07:25:05 copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-444@tmp/config14933334384242752138tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:25:05 ---> docker-login.sh 07:25:05 nexus3.edgexfoundry.org:10001 07:25:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:25:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:25:05 Configure a credential helper to remove this warning. See 07:25:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:25:05 07:25:05 Login Succeeded 07:25:05 nexus3.edgexfoundry.org:10002 07:25:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:25:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:25:05 Configure a credential helper to remove this warning. See 07:25:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:25:05 07:25:05 Login Succeeded 07:25:05 nexus3.edgexfoundry.org:10003 07:25:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:25:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:25:05 Configure a credential helper to remove this warning. See 07:25:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:25:05 07:25:05 Login Succeeded 07:25:05 nexus3.edgexfoundry.org:10004 07:25:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:25:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:25:05 Configure a credential helper to remove this warning. See 07:25:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:25:05 07:25:05 Login Succeeded 07:25:05 docker.io 07:25:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:25:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:25:06 Configure a credential helper to remove this warning. See 07:25:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:25:06 07:25:06 Login Succeeded 07:25:06 ---> docker-login.sh ends [Pipeline] } 07:25:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:25:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:25:06 [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo 07:25:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:25:06 ========================================================= 07:25:06 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] 07:25:06 ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:25:07 + 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 . 07:25:07 Sending build context to Docker daemon 4.74MB 07:25:07 Step 1/21 : ARG BASE=alpine:3.16 07:25:07 Step 2/21 : FROM ${BASE} as builder 07:25:07 latest: Pulling from edgex-devops/edgex-gcc-base 07:25:07 213ec9aee27d: Pulling fs layer 07:25:07 0f09ad1b1b37: Pulling fs layer 07:25:07 213ec9aee27d: Verifying Checksum 07:25:07 213ec9aee27d: Download complete 07:25:07 213ec9aee27d: Pull complete 07:25:07 0f09ad1b1b37: Verifying Checksum 07:25:07 0f09ad1b1b37: Download complete 07:25:11 0f09ad1b1b37: Pull complete 07:25:11 Digest: sha256:64e9d1beac36a0037884aaf44bcf94b2de593689edef1cdaec9f2b2ef7c7c108 07:25:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest 07:25:11 ---> b2bbfebb3566 07:25:11 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 07:25:13 ---> Running in 8516fd47a28d 07:25:13 Connecting to iotech.jfrog.io (3.248.3.132:443) 07:25:14 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 07:25:14 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 07:25:14 '/etc/apk/keys/alpine.dev.rsa.pub' saved 07:25:14 Removing intermediate container 8516fd47a28d 07:25:14 ---> 2507540cc98f 07:25:14 Step 4/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories 07:25:14 ---> Running in 2b5a3f7b289a 07:25:15 Removing intermediate container 2b5a3f7b289a 07:25:15 ---> 35c309d6f29c 07:25:15 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.4-dev hiredis-dev 07:25:15 ---> Running in 21a39c3316be 07:25:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 07:25:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 07:25:15 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/x86_64/APKINDEX.tar.gz 07:25:16 WARNING: This apk-tools is OLD! Some packages might not function properly. 07:25:16 (1/14) Installing hiredis (1.0.2-r0) 07:25:16 (2/14) Installing hiredis-dev (1.0.2-r0) 07:25:16 (3/14) Installing iotech-iot-1.4 (1.4.1-r0) 07:25:16 (4/14) Installing iotech-iot-1.4-dev (1.4.1-r0) 07:25:17 (5/14) Installing libcbor (0.9.0-r1) 07:25:17 (6/14) Installing libcbor-dev (0.9.0-r1) 07:25:17 (7/14) Installing ncurses-dev (6.3_p20220521-r0) 07:25:17 (8/14) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) 07:25:17 (9/14) Installing libblkid (2.38-r1) 07:25:17 (10/14) Installing libuuid (2.38-r1) 07:25:17 (11/14) Installing libfdisk (2.38-r1) 07:25:17 (12/14) Installing libmount (2.38-r1) 07:25:17 (13/14) Installing libsmartcols (2.38-r1) 07:25:17 (14/14) Installing util-linux-dev (2.38-r1) 07:25:17 Executing busybox-1.35.0-r17.trigger 07:25:17 OK: 280 MiB in 90 packages 07:25:18 Removing intermediate container 21a39c3316be 07:25:18 ---> 5b41d359ec32 07:25:18 Step 6/21 : RUN mkdir /tmp/sdk 07:25:18 ---> Running in eb99657793f4 07:25:19 Removing intermediate container eb99657793f4 07:25:19 ---> 830a83aa427a 07:25:19 Step 7/21 : COPY VERSION /tmp/sdk 07:25:19 ---> a6e26f246727 07:25:19 Step 8/21 : COPY src /tmp/sdk/src 07:25:19 ---> 5f1d6c951d47 07:25:19 Step 9/21 : COPY include /tmp/sdk/include 07:25:19 ---> 0ef27505eb7a 07:25:19 Step 10/21 : COPY scripts /tmp/sdk/scripts 07:25:19 ---> 524a4e451aca 07:25:19 Step 11/21 : COPY LICENSE /tmp/sdk 07:25:19 ---> 6e7253771242 07:25:19 Step 12/21 : COPY Attribution.txt /tmp/sdk 07:25:19 ---> 002208fbce20 07:25:19 Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 07:25:20 Still waiting to schedule task 07:25:20 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 07:25:20 ---> Running in 9b13d8df8e4e 07:25:20 + CPPCHECK=false 07:25:20 + DOCGEN=false 07:25:20 + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' 07:25:20 + TOMLVER=SDK-0.2 07:25:20 + CUTILVER=1.4 07:25:20 + '[' 0 -gt 0 ] 07:25:20 + readlink -f ./scripts/build.sh 07:25:20 + dirname /tmp/sdk/scripts/build.sh 07:25:20 + dirname /tmp/sdk/scripts 07:25:20 + ROOT=/tmp/sdk 07:25:20 + cd /tmp/sdk 07:25:20 + '[' '!' -d deps ] 07:25:20 + mkdir deps 07:25:20 + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 07:25:20 + tar -C deps -z -x -f - 07:25:20 Connecting to github.com (140.82.112.3:443) 07:25:20 Connecting to codeload.github.com (140.82.113.10:443) 07:25:20 writing to stdout 07:25:20 - 100% |********************************| 16451 0:00:00 ETA 07:25:20 written to stdout 07:25:20 + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c 07:25:20 + mkdir -p /tmp/sdk/build/release 07:25:20 + cd /tmp/sdk/build/release 07:25:20 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 07:25:20 -- The C compiler identification is GNU 11.2.1 07:25:20 -- Detecting C compiler ABI info 07:25:20 -- Detecting C compiler ABI info - done 07:25:20 -- Check for working C compiler: /usr/bin/cc - skipped 07:25:20 -- Detecting C compile features 07:25:20 -- Detecting C compile features - done 07:25:20 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 07:25:20 -- Found CURL: /usr/lib/libcurl.so (found version "7.83.1") 07:25:20 -- Found LIBYAML: /usr/lib/libyaml.so 07:25:20 -- Found LIBUUID: /usr/lib/libuuid.so 07:25:20 -- Found LIBCBOR: /usr/lib/libcbor.so 07:25:20 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 07:25:20 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 07:25:20 -- Found IOT: /opt/iotech/iot/1.4/lib/libiot.so 07:25:20 -- /opt/iotech/iot/1.4/include 07:25:20 -- C SDK 0.0.0 for Linux 07:25:20 -- Performing Test CSDK_HAVE_ATOMIC 07:25:20 -- Performing Test CSDK_HAVE_ATOMIC - Success 07:25:21 -- Found Curses: /usr/lib/libcurses.so 07:25:21 -- Configuring done 07:25:21 -- Generating done 07:25:21 -- Build files have been written to: /tmp/sdk/build/release 07:25:21 + make all package 07:25:21 + tee release.log 07:25:21 [ 2%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 07:25:21 In file included from /tmp/sdk/src/c/autoevent.c:9: 07:25:21 /tmp/sdk/src/c/autoevent.h:25:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 07:25:21 25 | void clear_ae_signals (); 07:25:21 | ^~~~ 07:25:21 /tmp/sdk/src/c/autoevent.c: In function 'edgex_device_autoevent_start': 07:25:21 /tmp/sdk/src/c/autoevent.c:170:47: error: expected ';' before '}' token 07:25:21 170 | init_flg_slv = sem_init (&slv_mutex, 0, 1) 07:25:21 | ^ 07:25:21 | ; 07:25:21 171 | } 07:25:21 | ~ 07:25:21 /tmp/sdk/src/c/autoevent.c: At top level: 07:25:21 /tmp/sdk/src/c/autoevent.c:278:6: warning: function declaration isn't a prototype [-Wstrict-prototypes] 07:25:21 278 | void clear_ae_signals () 07:25:21 | ^~~~~~~~~~~~~~~~ 07:25:21 make[2]: *** [c/CMakeFiles/csdk.dir/build.make:76: c/CMakeFiles/csdk.dir/autoevent.c.o] Error 1 07:25:21 make[1]: *** [CMakeFiles/Makefile2:240: c/CMakeFiles/csdk.dir/all] Error 2 07:25:21 make: *** [Makefile:156: all] Error 2 07:25:21 + '[' false '=' true ] 07:25:21 + '[' false '=' true ] 07:25:21 + mkdir -p /tmp/sdk/build/debug 07:25:21 + cd /tmp/sdk/build/debug 07:25:21 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 07:25:21 -- The C compiler identification is GNU 11.2.1 07:25:21 -- Detecting C compiler ABI info 07:25:21 -- Detecting C compiler ABI info - done 07:25:21 -- Check for working C compiler: /usr/bin/cc - skipped 07:25:21 -- Detecting C compile features 07:25:21 -- Detecting C compile features - done 07:25:21 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 07:25:21 -- Found CURL: /usr/lib/libcurl.so (found version "7.83.1") 07:25:21 -- Found LIBYAML: /usr/lib/libyaml.so 07:25:21 -- Found LIBUUID: /usr/lib/libuuid.so 07:25:21 -- Found LIBCBOR: /usr/lib/libcbor.so 07:25:21 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 07:25:21 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 07:25:21 -- Found IOT: /opt/iotech/iot/1.4/lib/libiot.so 07:25:21 -- /opt/iotech/iot/1.4/include 07:25:21 -- C SDK 0.0.0 for Linux 07:25:21 -- Performing Test CSDK_HAVE_ATOMIC 07:25:21 -- Performing Test CSDK_HAVE_ATOMIC - Success 07:25:21 -- Found Curses: /usr/lib/libcurses.so 07:25:21 -- Configuring done 07:25:21 -- Generating done 07:25:21 -- Build files have been written to: /tmp/sdk/build/debug 07:25:21 + make 07:25:21 + tee debug.log 07:25:21 [ 2%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 07:25:21 In file included from /tmp/sdk/src/c/autoevent.c:9: 07:25:21 /tmp/sdk/src/c/autoevent.h:25:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 07:25:21 25 | void clear_ae_signals (); 07:25:21 | ^~~~ 07:25:21 /tmp/sdk/src/c/autoevent.c: In function 'edgex_device_autoevent_start': 07:25:21 /tmp/sdk/src/c/autoevent.c:170:47: error: expected ';' before '}' token 07:25:21 170 | init_flg_slv = sem_init (&slv_mutex, 0, 1) 07:25:21 | ^ 07:25:21 | ; 07:25:21 171 | } 07:25:21 | ~ 07:25:21 /tmp/sdk/src/c/autoevent.c: At top level: 07:25:21 /tmp/sdk/src/c/autoevent.c:278:6: warning: function declaration isn't a prototype [-Wstrict-prototypes] 07:25:21 278 | void clear_ae_signals () 07:25:21 | ^~~~~~~~~~~~~~~~ 07:25:21 make[2]: *** [c/CMakeFiles/csdk.dir/build.make:76: c/CMakeFiles/csdk.dir/autoevent.c.o] Error 1 07:25:21 make[1]: *** [CMakeFiles/Makefile2:240: c/CMakeFiles/csdk.dir/all] Error 2 07:25:21 make: *** [Makefile:156: all] Error 2 07:25:21 make: Entering directory '/tmp/sdk/build/release' 07:25:21 make[1]: Entering directory '/tmp/sdk/build/release' 07:25:21 make[2]: Entering directory '/tmp/sdk/build/release' 07:25:21 Consolidate compiler generated dependencies of target csdk 07:25:21 make[2]: Leaving directory '/tmp/sdk/build/release' 07:25:21 make[2]: Entering directory '/tmp/sdk/build/release' 07:25:21 [ 2%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 07:25:21 In file included from /tmp/sdk/src/c/autoevent.c:9: 07:25:21 /tmp/sdk/src/c/autoevent.h:25:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 07:25:21 25 | void clear_ae_signals (); 07:25:21 | ^~~~ 07:25:21 /tmp/sdk/src/c/autoevent.c: In function 'edgex_device_autoevent_start': 07:25:21 /tmp/sdk/src/c/autoevent.c:170:47: error: expected ';' before '}' token 07:25:21 170 | init_flg_slv = sem_init (&slv_mutex, 0, 1) 07:25:21 | ^ 07:25:21 | ; 07:25:21 171 | } 07:25:21 | ~ 07:25:21 /tmp/sdk/src/c/autoevent.c: At top level: 07:25:21 /tmp/sdk/src/c/autoevent.c:278:6: warning: function declaration isn't a prototype [-Wstrict-prototypes] 07:25:21 278 | void clear_ae_signals () 07:25:21 | ^~~~~~~~~~~~~~~~ 07:25:21 make[2]: Leaving directory '/tmp/sdk/build/release' 07:25:21 make[2]: *** [c/CMakeFiles/csdk.dir/build.make:76: c/CMakeFiles/csdk.dir/autoevent.c.o] Error 1 07:25:21 make[1]: Leaving directory '/tmp/sdk/build/release' 07:25:21 make[1]: *** [CMakeFiles/Makefile2:240: c/CMakeFiles/csdk.dir/all] Error 2 07:25:21 make: *** [Makefile:156: all] Error 2 07:25:21 make: Leaving directory '/tmp/sdk/build/release' 07:25:22 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 07:25:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:25:23 07:25:23 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:25:23 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:25:23 latest: Pulling from edgex-lftools-log-publisher 07:25:23 5eb5b503b376: Pulling fs layer 07:25:23 5c69ac0246d0: Pulling fs layer 07:25:23 ec43610c2a17: Pulling fs layer 07:25:23 3a2ae6a8a46f: Pulling fs layer 07:25:23 33b1e0a273af: Pulling fs layer 07:25:23 5d3b04190fa2: Pulling fs layer 07:25:23 2f39f015ded8: Pulling fs layer 07:25:23 3a2ae6a8a46f: Waiting 07:25:23 33b1e0a273af: Waiting 07:25:23 5c69ac0246d0: Download complete 07:25:23 3a2ae6a8a46f: Download complete 07:25:24 33b1e0a273af: Verifying Checksum 07:25:24 33b1e0a273af: Download complete 07:25:24 5d3b04190fa2: Download complete 07:25:24 ec43610c2a17: Verifying Checksum 07:25:24 ec43610c2a17: Download complete 07:25:24 5eb5b503b376: Verifying Checksum 07:25:24 5eb5b503b376: Download complete 07:25:25 2f39f015ded8: Download complete 07:25:25 5eb5b503b376: Pull complete 07:25:25 5c69ac0246d0: Pull complete 07:25:26 ec43610c2a17: Pull complete 07:25:26 3a2ae6a8a46f: Pull complete 07:25:26 33b1e0a273af: Pull complete 07:25:26 5d3b04190fa2: Pull complete 07:25:31 2f39f015ded8: Pull complete 07:25:31 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 07:25:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:25:31 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:25:32 prd-ubuntu20.04-docker-8c-8g-7433 does not seem to be running inside a container 07:25:32 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 07:25:37 $ docker top ef001b835c31a9a38403e2ef606d8e7131268e7525271a223889a74fd4657999 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:25:38 ---> job-cost.sh 07:25:38 lf-activate-venv: SKIPPING 07:25:38 INFO: No Stack... 07:25:39 INFO: Retrieving Pricing Info for: v3-standard-8 07:25:39 INFO: Archiving Costs [Pipeline] sh 07:25:39 + cat /w/workspace/edgexfoundry_device-sdk-c_PR-444/archives/cost.csv 07:25:39 + cut -d, -f6 [Pipeline] lock 07:25:39 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-444-1-stack-cost] 07:25:39 Resource [jenkins-edgexfoundry-device-sdk-c-PR-444-1-stack-cost] did not exist. Created. 07:25:39 Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-444-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:25:40 + echo total: 0.2199999988079071 [Pipeline] stash 07:25:40 Stashed 1 file(s) [Pipeline] } 07:25:40 Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-444-1-stack-cost] [Pipeline] // lock [Pipeline] } 07:25:40 $ docker stop --time=1 ef001b835c31a9a38403e2ef606d8e7131268e7525271a223889a74fd4657999 07:25:41 $ docker rm -f --volumes ef001b835c31a9a38403e2ef606d8e7131268e7525271a223889a74fd4657999 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 07:25:41 Failed in branch amd64 07:26:51 Running on prd-ubuntu20.04-docker-arm64-4c-16g-7434 in /w/workspace/edgexfoundry_device-sdk-c_PR-444 [Pipeline] { [Pipeline] ws 07:26:51 Running in /w/workspace/device-sdk-c/1 [Pipeline] { [Pipeline] checkout 07:26:51 Selected Git installation does not exist. Using Default 07:26:51 The recommended git tool is: NONE 07:26:56 using credential edgex-jenkins-ssh 07:26:56 Cloning the remote Git repository 07:26:56 Cloning repository git@github.com:edgexfoundry/device-sdk-c.git 07:26:56 > git init /w/workspace/device-sdk-c/1 # timeout=10 07:26:56 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 07:26:56 > git --version # timeout=10 07:26:56 > git --version # 'git version 2.25.1' 07:26:56 using GIT_SSH to set credentials SSH Credentials for GitHub 07:26:56 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 07:26:57 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 07:26:57 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 07:26:58 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 07:26:58 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 07:26:58 using GIT_SSH to set credentials SSH Credentials for GitHub 07:26:58 > 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 07:26:59 Merging remotes/origin/main commit 21f79343dd353c602474ef88d38fd1373f48e545 into PR head commit 2ab919ba902543e8751b24cbae806de0a32484ea 07:26:59 Merge succeeded, producing 2ab919ba902543e8751b24cbae806de0a32484ea 07:26:59 Checking out Revision 2ab919ba902543e8751b24cbae806de0a32484ea (PR-444) 07:26:59 > git config core.sparsecheckout # timeout=10 07:26:59 > git checkout -f 2ab919ba902543e8751b24cbae806de0a32484ea # timeout=10 07:26:59 > git remote # timeout=10 07:26:59 > git config --get remote.origin.url # timeout=10 07:26:59 using GIT_SSH to set credentials SSH Credentials for GitHub 07:26:59 > git merge 21f79343dd353c602474ef88d38fd1373f48e545 # timeout=10 07:26:59 > git rev-parse HEAD^{commit} # timeout=10 07:26:59 > git config core.sparsecheckout # timeout=10 07:26:59 > git checkout -f 2ab919ba902543e8751b24cbae806de0a32484ea # timeout=10 07:27:03 Commit message: "Update devmap.c" 07:27:03 > git --version # timeout=10 07:27:03 > git --version # 'git version 2.25.1' 07:27:03 fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:27:04 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 07:27:04 % Total % Received % Xferd Average Speed Time Time Time Current 07:27:04 Dload Upload Total Spent Left Speed 07:27:04 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 95156 0 --:--:-- --:--:-- --:--:-- 95156 [Pipeline] sh 07:27:05 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 07:27:05 + sudo tee /etc/docker/daemon.new 07:27:05 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 07:27:05 { 07:27:05 "registry-mirrors": [ 07:27:05 "https://nexus3.edgexfoundry.org:10001" 07:27:05 ], 07:27:05 "bip": "10.250.0.254/24", 07:27:05 "hosts": [ 07:27:05 "tcp://0.0.0.0:5555", 07:27:05 "unix:///var/run/docker.sock" 07:27:05 ], 07:27:05 "mtu": 1458, 07:27:05 "selinux-enabled": true, 07:27:05 "seccomp-profile": "/etc/docker/seccomp.json" 07:27:05 } [Pipeline] sh 07:27:05 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 07:27:06 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:27:24 provisioning config files... 07:27:24 copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/1@tmp/config4231515289485262745tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:27:24 ---> docker-login.sh 07:27:24 nexus3.edgexfoundry.org:10001 07:27:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:27:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:27:25 Configure a credential helper to remove this warning. See 07:27:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:27:25 07:27:25 Login Succeeded 07:27:25 nexus3.edgexfoundry.org:10002 07:27:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:27:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:27:25 Configure a credential helper to remove this warning. See 07:27:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:27:25 07:27:25 Login Succeeded 07:27:25 nexus3.edgexfoundry.org:10003 07:27:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:27:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:27:26 Configure a credential helper to remove this warning. See 07:27:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:27:26 07:27:26 Login Succeeded 07:27:26 nexus3.edgexfoundry.org:10004 07:27:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:27:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:27:26 Configure a credential helper to remove this warning. See 07:27:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:27:26 07:27:26 Login Succeeded 07:27:26 docker.io 07:27:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:27:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:27:27 Configure a credential helper to remove this warning. See 07:27:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:27:27 07:27:27 Login Succeeded 07:27:27 ---> docker-login.sh ends [Pipeline] } 07:27:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:27:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:27:27 [prepBaseBuildImage] Generating new image with name: ci-base-image-arm64 [Pipeline] echo 07:27:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:27:27 ========================================================= 07:27:27 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] 07:27:27 ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:27:28 + 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 . 07:27:28 Sending build context to Docker daemon 2.862MB 07:27:28 Step 1/21 : ARG BASE=alpine:3.16 07:27:28 Step 2/21 : FROM ${BASE} as builder 07:27:29 latest: Pulling from edgex-devops/edgex-gcc-base-arm64 07:27:29 9b18e9b68314: Pulling fs layer 07:27:29 1def92ead452: Pulling fs layer 07:27:29 9b18e9b68314: Verifying Checksum 07:27:29 9b18e9b68314: Download complete 07:27:30 9b18e9b68314: Pull complete 07:27:31 1def92ead452: Download complete 07:27:39 1def92ead452: Pull complete 07:27:39 Digest: sha256:3c74c28e8b16bff0b36cfc53656b3ae71c0a9fddc9bd5376ab4c3f9356b3cc6c 07:27:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest 07:27:39 ---> 9a9802766715 07:27:39 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 07:27:39 ---> Running in d7e4cdd3f63a 07:27:40 Connecting to iotech.jfrog.io (34.246.125.234:443) 07:27:40 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 07:27:40 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 07:27:40 '/etc/apk/keys/alpine.dev.rsa.pub' saved 07:27:41 Removing intermediate container d7e4cdd3f63a 07:27:41 ---> f8d32372e130 07:27:41 Step 4/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories 07:27:41 ---> Running in 2889dc7e9f5e 07:27:42 Removing intermediate container 2889dc7e9f5e 07:27:42 ---> 2c6454d7da45 07:27:42 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.4-dev hiredis-dev 07:27:42 ---> Running in a9d1e433e8c4 07:27:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 07:27:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 07:27:44 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/aarch64/APKINDEX.tar.gz 07:27:45 WARNING: This apk-tools is OLD! Some packages might not function properly. 07:27:45 (1/14) Installing hiredis (1.0.2-r0) 07:27:45 (2/14) Installing hiredis-dev (1.0.2-r0) 07:27:45 (3/14) Installing iotech-iot-1.4 (1.4.1-r0) 07:27:45 (4/14) Installing iotech-iot-1.4-dev (1.4.1-r0) 07:27:46 (5/14) Installing libcbor (0.9.0-r1) 07:27:46 (6/14) Installing libcbor-dev (0.9.0-r1) 07:27:46 (7/14) Installing ncurses-dev (6.3_p20220521-r0) 07:27:46 (8/14) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) 07:27:47 (9/14) Installing libblkid (2.38-r1) 07:27:47 (10/14) Installing libuuid (2.38-r1) 07:27:47 (11/14) Installing libfdisk (2.38-r1) 07:27:47 (12/14) Installing libmount (2.38-r1) 07:27:47 (13/14) Installing libsmartcols (2.38-r1) 07:27:47 (14/14) Installing util-linux-dev (2.38-r1) 07:27:47 Executing busybox-1.35.0-r17.trigger 07:27:47 OK: 286 MiB in 90 packages 07:27:48 Removing intermediate container a9d1e433e8c4 07:27:48 ---> 7f59f070f445 07:27:48 Step 6/21 : RUN mkdir /tmp/sdk 07:27:48 ---> Running in 4ceb4997f4be 07:27:52 Removing intermediate container 4ceb4997f4be 07:27:52 ---> 9e75db293f85 07:27:52 Step 7/21 : COPY VERSION /tmp/sdk 07:27:52 ---> 39bb1c1fa48c 07:27:52 Step 8/21 : COPY src /tmp/sdk/src 07:27:53 ---> f0f3aff5e0bf 07:27:53 Step 9/21 : COPY include /tmp/sdk/include 07:27:54 ---> 15fc001f3552 07:27:54 Step 10/21 : COPY scripts /tmp/sdk/scripts 07:27:54 ---> bc5e581b9e25 07:27:54 Step 11/21 : COPY LICENSE /tmp/sdk 07:27:54 ---> 6e428b602107 07:27:54 Step 12/21 : COPY Attribution.txt /tmp/sdk 07:27:55 ---> ae6d0a660649 07:27:55 Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 07:27:55 ---> Running in 5cfe4277f5f5 07:27:56 + CPPCHECK=false 07:27:56 + DOCGEN=false 07:27:56 + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' 07:27:56 + TOMLVER=SDK-0.2 07:27:56 + CUTILVER=1.4 07:27:56 + '[' 0 -gt 0 ] 07:27:56 + readlink -f ./scripts/build.sh 07:27:56 + dirname /tmp/sdk/scripts/build.sh 07:27:56 + dirname /tmp/sdk/scripts 07:27:56 + ROOT=/tmp/sdk 07:27:56 + cd /tmp/sdk 07:27:56 + '[' '!' -d deps ] 07:27:56 + mkdir deps 07:27:56 + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 07:27:56 + tar -C deps -z -x -f - 07:27:56 Connecting to github.com (140.82.114.3:443) 07:27:56 Connecting to codeload.github.com (140.82.113.9:443) 07:27:56 writing to stdout 07:27:56 - 100% |********************************| 16451 0:00:00 ETA 07:27:56 written to stdout 07:27:56 + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c 07:27:56 + mkdir -p /tmp/sdk/build/release 07:27:56 + cd /tmp/sdk/build/release 07:27:56 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 07:27:57 -- The C compiler identification is GNU 11.2.1 07:27:57 -- Detecting C compiler ABI info 07:27:57 -- Detecting C compiler ABI info - done 07:27:57 -- Check for working C compiler: /usr/bin/cc - skipped 07:27:57 -- Detecting C compile features 07:27:57 -- Detecting C compile features - done 07:27:57 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 07:27:57 -- Found CURL: /usr/lib/libcurl.so (found version "7.83.1") 07:27:57 -- Found LIBYAML: /usr/lib/libyaml.so 07:27:57 -- Found LIBUUID: /usr/lib/libuuid.so 07:27:57 -- Found LIBCBOR: /usr/lib/libcbor.so 07:27:57 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 07:27:57 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 07:27:57 -- Found IOT: /opt/iotech/iot/1.4/lib/libiot.so 07:27:57 -- /opt/iotech/iot/1.4/include 07:27:57 -- C SDK 0.0.0 for Linux 07:27:57 -- Performing Test CSDK_HAVE_ATOMIC 07:27:58 -- Performing Test CSDK_HAVE_ATOMIC - Success 07:27:58 -- Found Curses: /usr/lib/libcurses.so 07:27:58 -- Configuring done 07:27:58 -- Generating done 07:27:58 -- Build files have been written to: /tmp/sdk/build/release 07:27:58 + make all package 07:27:58 + tee release.log 07:27:59 [ 2%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 07:27:59 In file included from /tmp/sdk/src/c/autoevent.c:9: 07:27:59 /tmp/sdk/src/c/autoevent.h:25:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 07:27:59 25 | void clear_ae_signals (); 07:27:59 | ^~~~ 07:27:59 /tmp/sdk/src/c/autoevent.c: In function 'edgex_device_autoevent_start': 07:27:59 /tmp/sdk/src/c/autoevent.c:170:47: error: expected ';' before '}' token 07:27:59 170 | init_flg_slv = sem_init (&slv_mutex, 0, 1) 07:27:59 | ^ 07:27:59 | ; 07:27:59 171 | } 07:27:59 | ~ 07:27:59 /tmp/sdk/src/c/autoevent.c: At top level: 07:27:59 /tmp/sdk/src/c/autoevent.c:278:6: warning: function declaration isn't a prototype [-Wstrict-prototypes] 07:27:59 278 | void clear_ae_signals () 07:27:59 | ^~~~~~~~~~~~~~~~ 07:27:59 make[2]: *** [c/CMakeFiles/csdk.dir/build.make:76: c/CMakeFiles/csdk.dir/autoevent.c.o] Error 1 07:27:59 make[1]: *** [CMakeFiles/Makefile2:240: c/CMakeFiles/csdk.dir/all] Error 2 07:27:59 make: *** [Makefile:156: all] Error 2 07:27:59 + '[' false '=' true ] 07:27:59 + '[' false '=' true ] 07:27:59 + mkdir -p /tmp/sdk/build/debug 07:27:59 + cd /tmp/sdk/build/debug 07:27:59 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 07:27:59 -- The C compiler identification is GNU 11.2.1 07:27:59 -- Detecting C compiler ABI info 07:27:59 -- Detecting C compiler ABI info - done 07:28:00 -- Check for working C compiler: /usr/bin/cc - skipped 07:28:00 -- Detecting C compile features 07:28:00 -- Detecting C compile features - done 07:28:00 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 07:28:00 -- Found CURL: /usr/lib/libcurl.so (found version "7.83.1") 07:28:00 -- Found LIBYAML: /usr/lib/libyaml.so 07:28:00 -- Found LIBUUID: /usr/lib/libuuid.so 07:28:00 -- Found LIBCBOR: /usr/lib/libcbor.so 07:28:00 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 07:28:00 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 07:28:00 -- Found IOT: /opt/iotech/iot/1.4/lib/libiot.so 07:28:00 -- /opt/iotech/iot/1.4/include 07:28:00 -- C SDK 0.0.0 for Linux 07:28:00 -- Performing Test CSDK_HAVE_ATOMIC 07:28:00 -- Performing Test CSDK_HAVE_ATOMIC - Success 07:28:00 -- Found Curses: /usr/lib/libcurses.so 07:28:00 -- Configuring done 07:28:01 -- Generating done 07:28:01 -- Build files have been written to: /tmp/sdk/build/debug 07:28:01 + + maketee 07:28:01 debug.log 07:28:01 [ 2%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 07:28:01 In file included from /tmp/sdk/src/c/autoevent.c:9: 07:28:01 /tmp/sdk/src/c/autoevent.h:25:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 07:28:01 25 | void clear_ae_signals (); 07:28:01 | ^~~~ 07:28:01 /tmp/sdk/src/c/autoevent.c: In function 'edgex_device_autoevent_start': 07:28:01 /tmp/sdk/src/c/autoevent.c:170:47: error: expected ';' before '}' token 07:28:01 170 | init_flg_slv = sem_init (&slv_mutex, 0, 1) 07:28:01 | ^ 07:28:01 | ; 07:28:01 171 | } 07:28:01 | ~ 07:28:01 /tmp/sdk/src/c/autoevent.c: At top level: 07:28:01 /tmp/sdk/src/c/autoevent.c:278:6: warning: function declaration isn't a prototype [-Wstrict-prototypes] 07:28:01 278 | void clear_ae_signals () 07:28:01 | ^~~~~~~~~~~~~~~~ 07:28:01 make[2]: *** [c/CMakeFiles/csdk.dir/build.make:76: c/CMakeFiles/csdk.dir/autoevent.c.o] Error 1 07:28:01 make[1]: *** [CMakeFiles/Makefile2:240: c/CMakeFiles/csdk.dir/all] Error 2 07:28:01 make: *** [Makefile:156: all] Error 2 07:28:01 make: Entering directory '/tmp/sdk/build/release' 07:28:01 make[1]: Entering directory '/tmp/sdk/build/release' 07:28:01 make[2]: Entering directory '/tmp/sdk/build/release' 07:28:01 Consolidate compiler generated dependencies of target csdk 07:28:01 make[2]: Leaving directory '/tmp/sdk/build/release' 07:28:01 make[2]: Entering directory '/tmp/sdk/build/release' 07:28:01 [ 2%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 07:28:01 In file included from /tmp/sdk/src/c/autoevent.c:9: 07:28:01 /tmp/sdk/src/c/autoevent.h:25:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 07:28:01 25 | void clear_ae_signals (); 07:28:01 | ^~~~ 07:28:01 /tmp/sdk/src/c/autoevent.c: In function 'edgex_device_autoevent_start': 07:28:01 /tmp/sdk/src/c/autoevent.c:170:47: error: expected ';' before '}' token 07:28:01 170 | init_flg_slv = sem_init (&slv_mutex, 0, 1) 07:28:01 | ^ 07:28:01 | ; 07:28:01 171 | } 07:28:01 | ~ 07:28:01 /tmp/sdk/src/c/autoevent.c: At top level: 07:28:01 /tmp/sdk/src/c/autoevent.c:278:6: warning: function declaration isn't a prototype [-Wstrict-prototypes] 07:28:01 278 | void clear_ae_signals () 07:28:01 | ^~~~~~~~~~~~~~~~ 07:28:02 make[2]: *** [c/CMakeFiles/csdk.dir/build.make:76: c/CMakeFiles/csdk.dir/autoevent.c.o] Error 1 07:28:02 make[2]: Leaving directory '/tmp/sdk/build/release' 07:28:02 make[1]: Leaving directory '/tmp/sdk/build/release' 07:28:02 make[1]: *** [CMakeFiles/Makefile2:240: c/CMakeFiles/csdk.dir/all] Error 2 07:28:02 make: *** [Makefile:156: all] Error 2 07:28:02 make: Leaving directory '/tmp/sdk/build/release' 07:28:02 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 07:28:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:28:03 07:28:03 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:28:03 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:28:05 arm64: Pulling from edgex-lftools-log-publisher 07:28:05 8998bd30e6a1: Pulling fs layer 07:28:05 04944245beec: Pulling fs layer 07:28:05 699f458cf7ca: Pulling fs layer 07:28:05 765212b225bb: Pulling fs layer 07:28:05 f23df028b6ca: Pulling fs layer 07:28:05 d65c8cfc05b1: Pulling fs layer 07:28:05 2437ff75d9bd: Pulling fs layer 07:28:05 f23df028b6ca: Waiting 07:28:05 d65c8cfc05b1: Waiting 07:28:05 2437ff75d9bd: Waiting 07:28:05 765212b225bb: Waiting 07:28:05 04944245beec: Verifying Checksum 07:28:05 04944245beec: Download complete 07:28:05 765212b225bb: Verifying Checksum 07:28:05 765212b225bb: Download complete 07:28:05 f23df028b6ca: Verifying Checksum 07:28:05 f23df028b6ca: Download complete 07:28:05 d65c8cfc05b1: Verifying Checksum 07:28:05 d65c8cfc05b1: Download complete 07:28:05 699f458cf7ca: Verifying Checksum 07:28:05 699f458cf7ca: Download complete 07:28:06 8998bd30e6a1: Verifying Checksum 07:28:06 8998bd30e6a1: Download complete 07:28:08 2437ff75d9bd: Verifying Checksum 07:28:08 2437ff75d9bd: Download complete 07:28:10 8998bd30e6a1: Pull complete 07:28:10 04944245beec: Pull complete 07:28:11 699f458cf7ca: Pull complete 07:28:11 765212b225bb: Pull complete 07:28:12 f23df028b6ca: Pull complete 07:28:12 d65c8cfc05b1: Pull complete 07:28:27 2437ff75d9bd: Pull complete 07:28:27 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 07:28:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:28:27 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:28:28 prd-ubuntu20.04-docker-arm64-4c-16g-7434 does not seem to be running inside a container 07:28:28 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-c/1 -v /w/workspace/device-sdk-c/1:/w/workspace/device-sdk-c/1:rw,z -v /w/workspace/device-sdk-c/1@tmp:/w/workspace/device-sdk-c/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 07:28:30 $ docker top 48437f7415ecd7e03c85c37a8d948f0eb980e9d32d78a7ec06a56542ddfd7550 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:28:30 ---> job-cost.sh 07:28:31 lf-activate-venv: SKIPPING 07:28:31 INFO: No Stack... 07:28:31 INFO: Retrieving Pricing Info for: v3-standard-4 07:28:32 INFO: Archiving Costs [Pipeline] sh 07:28:32 + cat /w/workspace/device-sdk-c/1/archives/cost.csv 07:28:32 + cut -d, -f6 [Pipeline] lock 07:28:32 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-444-1-stack-cost] 07:28:32 Resource [jenkins-edgexfoundry-device-sdk-c-PR-444-1-stack-cost] did not exist. Created. 07:28:32 Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-444-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:28:33 /w/workspace/device-sdk-c/1@tmp/durable-c63ba3dd/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 07:28:33 + echo total: 0.10999999940395355 [Pipeline] stash 07:28:33 Warning: overwriting stash ‘stack-cost’ 07:28:34 Stashed 1 file(s) [Pipeline] } 07:28:34 Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-444-1-stack-cost] [Pipeline] // lock [Pipeline] } 07:28:34 $ docker stop --time=1 48437f7415ecd7e03c85c37a8d948f0eb980e9d32d78a7ec06a56542ddfd7550 07:28:35 $ docker rm -f --volumes 48437f7415ecd7e03c85c37a8d948f0eb980e9d32d78a7ec06a56542ddfd7550 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 07:28:36 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 07:28:37 + [ -d /w/workspace/edgexfoundry_device-sdk-c_PR-444/archives ] 07:28:37 + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-444/archives 07:28:37 total 16 07:28:37 drwxr-xr-x 3 root root 4096 Feb 25 07:25 . 07:28:37 drwxrwxr-x 10 jenkins jenkins 4096 Feb 25 07:25 .. 07:28:37 drwxr-xr-x 2 root root 4096 Feb 25 07:25 cost 07:28:37 -rw-r--r-- 1 root root 84 Feb 25 07:25 cost.csv 07:28:37 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_PR-444/archives 07:28:37 + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-444/archives 07:28:37 total 16 07:28:37 drwxr-xr-x 3 jenkins jenkins 4096 Feb 25 07:25 . 07:28:37 drwxrwxr-x 10 jenkins jenkins 4096 Feb 25 07:25 .. 07:28:37 drwxr-xr-x 2 jenkins jenkins 4096 Feb 25 07:25 cost 07:28:37 -rw-r--r-- 1 jenkins jenkins 84 Feb 25 07:25 cost.csv [Pipeline] libraryResource [Pipeline] sh 07:28:37 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 07:28:38 ---> package-listing.sh 07:28:38 ++ facter osfamily 07:28:38 ++ tr '[:upper:]' '[:lower:]' 07:28:38 + OS_FAMILY=debian 07:28:38 + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-444 07:28:38 + START_PACKAGES=/tmp/packages_start.txt 07:28:38 + END_PACKAGES=/tmp/packages_end.txt 07:28:38 + DIFF_PACKAGES=/tmp/packages_diff.txt 07:28:38 + PACKAGES=/tmp/packages_start.txt 07:28:38 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-444 ']' 07:28:38 + PACKAGES=/tmp/packages_end.txt 07:28:38 + case "${OS_FAMILY}" in 07:28:38 + dpkg -l 07:28:38 + grep '^ii' 07:28:38 + '[' -f /tmp/packages_start.txt ']' 07:28:38 + '[' -f /tmp/packages_end.txt ']' 07:28:38 + diff /tmp/packages_start.txt /tmp/packages_end.txt 07:28:38 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-444 ']' 07:28:38 + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-444/archives/ 07:28:38 + 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 07:28:38 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 07:28:39 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:28:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:28:39 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:28:39 prd-ubuntu20.04-docker-8c-8g-7433 does not seem to be running inside a container 07:28:39 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 07:28:40 $ docker top c49e3b5c3b474c8fceeed78fc48e95c9f74e4a6e4bf2cc944553171eb03ef4d9 -eo pid,comm [Pipeline] { [Pipeline] sh 07:28:40 + touch /tmp/pre-build-complete [Pipeline] sh 07:28:40 + mkdir -p /var/log/sysstat [Pipeline] sh 07:28:41 + ls /var/log/sa-host 07:28:41 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:28:41 provisioning config files... 07:28:41 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-444@tmp/config16983174135848289600tmp [Pipeline] { [Pipeline] echo 07:28:41 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 07:28:41 ---> create-netrc.sh [Pipeline] } 07:28:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 07:28:42 ---> python-tools-install.sh [Pipeline] echo 07:28:42 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 07:28:42 ---> sudo-logs.sh 07:28:42 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 07:28:42 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 07:28:43 ---> job-cost.sh 07:28:43 lf-activate-venv: SKIPPING 07:28:43 DEBUG: total: 0.2199999988079071 07:28:43 INFO: Retrieving Stack Cost... 07:28:43 INFO: Retrieving Pricing Info for: v3-standard-8 07:28:43 INFO: Archiving Costs [Pipeline] echo 07:28:43 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 07:28:43 ---> logs-deploy.sh 07:28:43 lf-activate-venv: SKIPPING 07:28:43 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-444/1 07:28:43 INFO: archiving workspace using pattern(s): 07:28:44 Archives upload complete. 07:28:44 INFO: archiving logs to Nexus