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 1a776ee907d08e39928eb07fc2284b30a6e0a694 rather than 2ab919ba902543e8751b24cbae806de0a32484ea Obtained Jenkinsfile from 1a776ee907d08e39928eb07fc2284b30a6e0a694 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-ssh6936754419481622369.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6375147a0d0ca7a67a13085e8428bd7204efc6d4 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-ssh6276011604084108094.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 6375147a0d0ca7a67a13085e8428bd7204efc6d4 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-ssh18227606973539875219.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6375147a0d0ca7a67a13085e8428bd7204efc6d4 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6375147a0d0ca7a67a13085e8428bd7204efc6d4 # timeout=10 Commit message: "Merge pull request #446 from ernestojeda/add-go-lts-image" > 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-ssh14534121124563938634.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-ssh3607852734529241197.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-17071 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 Merging remotes/origin/main commit 1a776ee907d08e39928eb07fc2284b30a6e0a694 into PR head commit 2ab919ba902543e8751b24cbae806de0a32484ea Merge succeeded, producing 5aaca47220ac82f2c284b962f01a2a7e3f3f1c20 Checking out Revision 5aaca47220ac82f2c284b962f01a2a7e3f3f1c20 (PR-444) > 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 > 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 1a776ee907d08e39928eb07fc2284b30a6e0a694 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5aaca47220ac82f2c284b962f01a2a7e3f3f1c20 # timeout=10 Commit message: "Merge commit '1a776ee907d08e39928eb07fc2284b30a6e0a694' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-11-08T18:59:07.734Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-11-08T18:59:07.810Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-11-08T18:59:07.826Z] ========================================================= [2023-11-08T18:59:07.826Z] EdgeX Global Pipelines Version Info [2023-11-08T18:59:07.826Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 260be4d3c3000973d89c6c7468ff263bc8419ad6 # timeout=10 [2023-11-08T18:59:08.543Z] ------------------- [2023-11-08T18:59:08.543Z] stable info: [2023-11-08T18:59:08.543Z] ------------------- [2023-11-08T18:59:08.544Z] Commited By: ad_eojeda ad_eojeda@nswe-ubuntu01.amr.corp.intel.com [2023-11-08T18:59:08.544Z] Commit SHA: 6375147a0d0ca7a67a13085e8428bd7204efc6d4 [2023-11-08T18:59:08.544Z] Message: update stable to v1.0.257 [2023-11-08T18:59:09.113Z] ------------------- [2023-11-08T18:59:09.113Z] experimental info: [2023-11-08T18:59:09.113Z] ------------------- [2023-11-08T18:59:09.113Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-11-08T18:59:09.113Z] Commit SHA: 6375147a0d0ca7a67a13085e8428bd7204efc6d4 [2023-11-08T18:59:09.113Z] Message: update experimental to v1.0.257 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-11-08T18:59:09.296Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo [2023-11-08T18:59:09.313Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo [2023-11-08T18:59:09.327Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-11-08T18:59:09.346Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-11-08T18:59:09.361Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-11-08T18:59:09.373Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo [2023-11-08T18:59:09.386Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo [2023-11-08T18:59:09.402Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-11-08T18:59:09.414Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-11-08T18:59:09.432Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo [2023-11-08T18:59:09.450Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-11-08T18:59:09.465Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-11-08T18:59:09.481Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-11-08T18:59:09.501Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-11-08T18:59:09.521Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-11-08T18:59:09.543Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-11-08T18:59:09.560Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-11-08T18:59:09.574Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-444 [Pipeline] echo [2023-11-08T18:59:09.590Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-444 [Pipeline] echo [2023-11-08T18:59:09.608Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-444 [Pipeline] echo [2023-11-08T18:59:09.627Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 5aaca47220ac82f2c284b962f01a2a7e3f3f1c20 [Pipeline] echo [2023-11-08T18:59:09.649Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 5aaca47 [Pipeline] echo [2023-11-08T18:59:09.660Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-08T18:59:09.708Z] provisioning config files... [2023-11-08T18:59:09.723Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-444@tmp/config13414912880186720199tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-08T18:59:10.040Z] ---> docker-login.sh [2023-11-08T18:59:10.040Z] nexus3.edgexfoundry.org:10001 [2023-11-08T18:59:10.300Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-08T18:59:10.300Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-08T18:59:10.300Z] Configure a credential helper to remove this warning. See [2023-11-08T18:59:10.300Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-08T18:59:10.300Z] [2023-11-08T18:59:10.300Z] Login Succeeded [2023-11-08T18:59:10.300Z] nexus3.edgexfoundry.org:10002 [2023-11-08T18:59:10.300Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-08T18:59:10.561Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-08T18:59:10.561Z] Configure a credential helper to remove this warning. See [2023-11-08T18:59:10.561Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-08T18:59:10.561Z] [2023-11-08T18:59:10.561Z] Login Succeeded [2023-11-08T18:59:10.561Z] nexus3.edgexfoundry.org:10003 [2023-11-08T18:59:10.561Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-08T18:59:10.561Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-08T18:59:10.561Z] Configure a credential helper to remove this warning. See [2023-11-08T18:59:10.561Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-08T18:59:10.561Z] [2023-11-08T18:59:10.561Z] Login Succeeded [2023-11-08T18:59:10.561Z] nexus3.edgexfoundry.org:10004 [2023-11-08T18:59:10.561Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-08T18:59:10.820Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-08T18:59:10.820Z] Configure a credential helper to remove this warning. See [2023-11-08T18:59:10.820Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-08T18:59:10.820Z] [2023-11-08T18:59:10.820Z] Login Succeeded [2023-11-08T18:59:10.820Z] docker.io [2023-11-08T18:59:10.820Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-08T18:59:11.080Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-08T18:59:11.080Z] Configure a credential helper to remove this warning. See [2023-11-08T18:59:11.080Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-08T18:59:11.080Z] [2023-11-08T18:59:11.080Z] Login Succeeded [2023-11-08T18:59:11.080Z] ---> docker-login.sh ends [Pipeline] } [2023-11-08T18:59:11.088Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build LTS Release Image) [Pipeline] sh [2023-11-08T18:59:11.452Z] + git rev-list -1 --merges 5aaca47220ac82f2c284b962f01a2a7e3f3f1c20~1..5aaca47220ac82f2c284b962f01a2a7e3f3f1c20 [Pipeline] echo [2023-11-08T18:59:11.503Z] -----------> git rev-list -1 --merges 5aaca47220ac82f2c284b962f01a2a7e3f3f1c20~1..5aaca47220ac82f2c284b962f01a2a7e3f3f1c20 5aaca47220ac82f2c284b962f01a2a7e3f3f1c20 [2023-11-08T18:59:11.503Z] 5aaca47220ac82f2c284b962f01a2a7e3f3f1c20 [false] [Pipeline] sh [2023-11-08T18:59:11.796Z] + git log --format=format:%s -1 5aaca47220ac82f2c284b962f01a2a7e3f3f1c20 [Pipeline] echo [2023-11-08T18:59:11.823Z] ========================================================= [2023-11-08T18:59:11.823Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-11-08T18:59:11.823Z] ========================================================= 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 [2023-11-08T18:59:12.238Z] + git rev-list -1 --merges 5aaca47220ac82f2c284b962f01a2a7e3f3f1c20~1..5aaca47220ac82f2c284b962f01a2a7e3f3f1c20 [Pipeline] echo [2023-11-08T18:59:12.251Z] -----------> git rev-list -1 --merges 5aaca47220ac82f2c284b962f01a2a7e3f3f1c20~1..5aaca47220ac82f2c284b962f01a2a7e3f3f1c20 5aaca47220ac82f2c284b962f01a2a7e3f3f1c20 [2023-11-08T18:59:12.251Z] 5aaca47220ac82f2c284b962f01a2a7e3f3f1c20 [false] [Pipeline] sh [2023-11-08T18:59:12.538Z] + git log --format=format:%s -1 5aaca47220ac82f2c284b962f01a2a7e3f3f1c20 [Pipeline] echo [2023-11-08T18:59:12.551Z] ========================================================= [2023-11-08T18:59:12.551Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-11-08T18:59:12.551Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh [2023-11-08T18:59:12.952Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-11-08T18:59:12.952Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-11-08T18:59:12.952Z] + [ -e /tmp/ssh_known_hosts ] [2023-11-08T18:59:12.952Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-11-08T18:59:12.952Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-11-08T18:59:12.952Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-11-08T18:59:12.952Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T18:59:13.378Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-08T18:59:13.378Z] [2023-11-08T18:59:13.378Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T18:59:13.708Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-08T18:59:13.708Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-11-08T18:59:13.708Z] b85a868b505f: Pulling fs layer [2023-11-08T18:59:13.708Z] e2be974225ed: Pulling fs layer [2023-11-08T18:59:13.708Z] 339a4e72a1f5: Pulling fs layer [2023-11-08T18:59:13.708Z] 988bab9f4d93: Pulling fs layer [2023-11-08T18:59:13.708Z] 1469e6f7b9e6: Pulling fs layer [2023-11-08T18:59:13.708Z] eaf3925da568: Pulling fs layer [2023-11-08T18:59:13.708Z] bab4dde63d76: Pulling fs layer [2023-11-08T18:59:13.708Z] bde34c3a00c8: Pulling fs layer [2023-11-08T18:59:13.708Z] b352a97aabf1: Pulling fs layer [2023-11-08T18:59:13.708Z] 4872d77fe225: Pulling fs layer [2023-11-08T18:59:13.708Z] 5851b861e8e6: Pulling fs layer [2023-11-08T18:59:13.708Z] bab4dde63d76: Waiting [2023-11-08T18:59:13.708Z] bde34c3a00c8: Waiting [2023-11-08T18:59:13.708Z] 4872d77fe225: Waiting [2023-11-08T18:59:13.708Z] 5851b861e8e6: Waiting [2023-11-08T18:59:13.708Z] 988bab9f4d93: Waiting [2023-11-08T18:59:13.708Z] b352a97aabf1: Waiting [2023-11-08T18:59:13.708Z] 1469e6f7b9e6: Waiting [2023-11-08T18:59:13.708Z] eaf3925da568: Waiting [2023-11-08T18:59:13.708Z] e2be974225ed: Download complete [2023-11-08T18:59:13.708Z] 988bab9f4d93: Download complete [2023-11-08T18:59:13.708Z] 1469e6f7b9e6: Verifying Checksum [2023-11-08T18:59:13.708Z] 1469e6f7b9e6: Download complete [2023-11-08T18:59:13.708Z] 339a4e72a1f5: Verifying Checksum [2023-11-08T18:59:13.708Z] 339a4e72a1f5: Download complete [2023-11-08T18:59:13.708Z] eaf3925da568: Verifying Checksum [2023-11-08T18:59:13.708Z] eaf3925da568: Download complete [2023-11-08T18:59:13.968Z] bde34c3a00c8: Verifying Checksum [2023-11-08T18:59:13.968Z] b352a97aabf1: Verifying Checksum [2023-11-08T18:59:13.968Z] b352a97aabf1: Download complete [2023-11-08T18:59:13.968Z] 4872d77fe225: Download complete [2023-11-08T18:59:13.968Z] 5851b861e8e6: Download complete [2023-11-08T18:59:13.968Z] b85a868b505f: Verifying Checksum [2023-11-08T18:59:13.969Z] b85a868b505f: Download complete [2023-11-08T18:59:14.227Z] bab4dde63d76: Verifying Checksum [2023-11-08T18:59:15.174Z] b85a868b505f: Pull complete [2023-11-08T18:59:15.436Z] e2be974225ed: Pull complete [2023-11-08T18:59:16.005Z] 339a4e72a1f5: Pull complete [2023-11-08T18:59:16.005Z] 988bab9f4d93: Pull complete [2023-11-08T18:59:16.268Z] 1469e6f7b9e6: Pull complete [2023-11-08T18:59:16.268Z] eaf3925da568: Pull complete [2023-11-08T18:59:18.181Z] bab4dde63d76: Pull complete [2023-11-08T18:59:18.181Z] bde34c3a00c8: Pull complete [2023-11-08T18:59:18.440Z] b352a97aabf1: Pull complete [2023-11-08T18:59:18.441Z] 4872d77fe225: Pull complete [2023-11-08T18:59:18.441Z] 5851b861e8e6: Pull complete [2023-11-08T18:59:18.441Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-11-08T18:59:18.441Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-08T18:59:18.441Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-08T18:59:18.547Z] prd-ubuntu20.04-docker-8c-8g-17071 does not seem to be running inside a container [2023-11-08T18:59:18.579Z] $ 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 [2023-11-08T18:59:23.180Z] $ docker top 24c8e3bb963877e59f9d48bbf3317848c6c604b13e06a90988c611bba4c66ac6 -eo pid,comm [2023-11-08T18:59:23.245Z] 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). [2023-11-08T18:59:23.245Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-11-08T18:59:23.290Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-11-08T18:59:23.290Z] [ssh-agent] Looking for ssh-agent implementation... [2023-11-08T18:59:23.419Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-11-08T18:59:23.425Z] $ docker exec 24c8e3bb963877e59f9d48bbf3317848c6c604b13e06a90988c611bba4c66ac6 ssh-agent [2023-11-08T18:59:23.542Z] SSH_AUTH_SOCK=/tmp/ssh-q1SRlF7MXA3J/agent.32 [2023-11-08T18:59:23.542Z] SSH_AGENT_PID=38 [2023-11-08T18:59:23.549Z] Running ssh-add (command line suppressed) [2023-11-08T18:59:23.651Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-444@tmp/private_key_4641554786854529945.key (/w/workspace/edgexfoundry_device-sdk-c_PR-444@tmp/private_key_4641554786854529945.key) [2023-11-08T18:59:23.663Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-11-08T18:59:23.954Z] + git tag --points-at HEAD [Pipeline] } [2023-11-08T18:59:23.974Z] $ docker exec --env ******** --env ******** 24c8e3bb963877e59f9d48bbf3317848c6c604b13e06a90988c611bba4c66ac6 ssh-agent -k [2023-11-08T18:59:24.078Z] unset SSH_AUTH_SOCK; [2023-11-08T18:59:24.078Z] unset SSH_AGENT_PID; [2023-11-08T18:59:24.078Z] echo Agent pid 38 killed; [2023-11-08T18:59:24.084Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-11-08T18:59:24.112Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-11-08T18:59:24.112Z] [ssh-agent] Looking for ssh-agent implementation... [2023-11-08T18:59:24.231Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-11-08T18:59:24.237Z] $ docker exec 24c8e3bb963877e59f9d48bbf3317848c6c604b13e06a90988c611bba4c66ac6 ssh-agent [2023-11-08T18:59:24.338Z] SSH_AUTH_SOCK=/tmp/ssh-NVQkNJgXP40K/agent.70 [2023-11-08T18:59:24.338Z] SSH_AGENT_PID=76 [2023-11-08T18:59:24.342Z] Running ssh-add (command line suppressed) [2023-11-08T18:59:24.450Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-444@tmp/private_key_10974831403192841577.key (/w/workspace/edgexfoundry_device-sdk-c_PR-444@tmp/private_key_10974831403192841577.key) [2023-11-08T18:59:24.461Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-11-08T18:59:24.759Z] + git semver init [2023-11-08T18:59:25.021Z] 2023-11-08 18:59:24,950 [run_init] DEBUG init version:0.0.0 force:False [2023-11-08T18:59:25.021Z] 2023-11-08 18:59:24,950 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-c_PR-444/.semver [2023-11-08T18:59:25.021Z] 2023-11-08 18:59:24,951 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-c.git /w/workspace/edgexfoundry_device-sdk-c_PR-444/.semver [2023-11-08T18:59:25.021Z] 2023-11-08 18:59:24,951 [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) [2023-11-08T18:59:25.971Z] 2023-11-08 18:59:25,874 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-c_PR-444/.git/info/exclude [2023-11-08T18:59:25.971Z] 2023-11-08 18:59:25,874 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-c_PR-444/.semver/PR-444 with force:False [2023-11-08T18:59:25.971Z] 2023-11-08 18:59:25,874 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-c_PR-444/.semver/PR-444 [2023-11-08T18:59:25.971Z] 2023-11-08 18:59:25,879 [execute] INFO git cat-file --batch-check [2023-11-08T18:59:25.971Z] 2023-11-08 18:59:25,880 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-444/.semver, universal_newlines=False, shell=None, istream=) [2023-11-08T18:59:25.971Z] 2023-11-08 18:59:25,886 [execute] INFO git cat-file --batch [2023-11-08T18:59:25.971Z] 2023-11-08 18:59:25,886 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-444/.semver, universal_newlines=False, shell=None, istream=) [2023-11-08T18:59:25.971Z] 2023-11-08 18:59:25,891 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_PR-444/.semver/PR-444 [2023-11-08T18:59:25.971Z] 0.0.0 [Pipeline] } [2023-11-08T18:59:25.986Z] $ docker exec --env ******** --env ******** 24c8e3bb963877e59f9d48bbf3317848c6c604b13e06a90988c611bba4c66ac6 ssh-agent -k [2023-11-08T18:59:26.091Z] unset SSH_AUTH_SOCK; [2023-11-08T18:59:26.091Z] unset SSH_AGENT_PID; [2023-11-08T18:59:26.091Z] echo Agent pid 76 killed; [2023-11-08T18:59:26.098Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-11-08T18:59:26.417Z] + git semver [Pipeline] } [2023-11-08T18:59:26.693Z] $ docker stop --time=1 24c8e3bb963877e59f9d48bbf3317848c6c604b13e06a90988c611bba4c66ac6 [2023-11-08T18:59:28.001Z] $ docker rm -f --volumes 24c8e3bb963877e59f9d48bbf3317848c6c604b13e06a90988c611bba4c66ac6 [Pipeline] // withDockerContainer [Pipeline] sh [2023-11-08T18:59:28.339Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-11-08T18:59:28.551Z] Stashed 1 file(s) [Pipeline] echo [2023-11-08T18:59:28.556Z] [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 [2023-11-08T18:59:28.726Z] provisioning config files... [2023-11-08T18:59:28.735Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-444@tmp/config13598649073710066405tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-08T18:59:29.029Z] ---> docker-login.sh [2023-11-08T18:59:29.030Z] nexus3.edgexfoundry.org:10001 [2023-11-08T18:59:29.030Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-08T18:59:29.030Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-08T18:59:29.030Z] Configure a credential helper to remove this warning. See [2023-11-08T18:59:29.030Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-08T18:59:29.030Z] [2023-11-08T18:59:29.030Z] Login Succeeded [2023-11-08T18:59:29.030Z] nexus3.edgexfoundry.org:10002 [2023-11-08T18:59:29.030Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-08T18:59:29.030Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-08T18:59:29.030Z] Configure a credential helper to remove this warning. See [2023-11-08T18:59:29.030Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-08T18:59:29.030Z] [2023-11-08T18:59:29.030Z] Login Succeeded [2023-11-08T18:59:29.030Z] nexus3.edgexfoundry.org:10003 [2023-11-08T18:59:29.289Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-08T18:59:29.289Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-08T18:59:29.289Z] Configure a credential helper to remove this warning. See [2023-11-08T18:59:29.289Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-08T18:59:29.289Z] [2023-11-08T18:59:29.289Z] Login Succeeded [2023-11-08T18:59:29.289Z] nexus3.edgexfoundry.org:10004 [2023-11-08T18:59:29.289Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-08T18:59:29.289Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-08T18:59:29.289Z] Configure a credential helper to remove this warning. See [2023-11-08T18:59:29.289Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-08T18:59:29.289Z] [2023-11-08T18:59:29.289Z] Login Succeeded [2023-11-08T18:59:29.289Z] docker.io [2023-11-08T18:59:29.549Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-08T18:59:29.828Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-08T18:59:29.828Z] Configure a credential helper to remove this warning. See [2023-11-08T18:59:29.828Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-08T18:59:29.828Z] [2023-11-08T18:59:29.828Z] Login Succeeded [2023-11-08T18:59:29.828Z] ---> docker-login.sh ends [Pipeline] } [2023-11-08T18:59:29.835Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-11-08T18:59:29.898Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-08T18:59:29.909Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo [2023-11-08T18:59:29.918Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-08T18:59:29.927Z] ========================================================= [2023-11-08T18:59:29.927Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] [2023-11-08T18:59:29.927Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T18:59:30.238Z] + 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 . [2023-11-08T18:59:30.238Z] Sending build context to Docker daemon 4.994MB [2023-11-08T18:59:30.238Z] Step 1/21 : ARG BASE=alpine:3.18 [2023-11-08T18:59:30.238Z] Step 2/21 : FROM ${BASE} as builder [2023-11-08T18:59:30.238Z] latest: Pulling from edgex-devops/edgex-gcc-base [2023-11-08T18:59:30.238Z] 96526aa774ef: Pulling fs layer [2023-11-08T18:59:30.238Z] da60e534fd72: Pulling fs layer [2023-11-08T18:59:30.498Z] 96526aa774ef: Verifying Checksum [2023-11-08T18:59:30.498Z] 96526aa774ef: Download complete [2023-11-08T18:59:30.498Z] 96526aa774ef: Pull complete [2023-11-08T18:59:31.436Z] da60e534fd72: Verifying Checksum [2023-11-08T18:59:31.436Z] da60e534fd72: Download complete [2023-11-08T18:59:34.723Z] da60e534fd72: Pull complete [2023-11-08T18:59:34.723Z] Digest: sha256:86f282524b252fca782185160d82ec4889448d07d1475dd6b76f2052073facff [2023-11-08T18:59:34.723Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [2023-11-08T18:59:34.723Z] ---> 6605166a5db4 [2023-11-08T18:59:34.723Z] 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 [2023-11-08T18:59:38.968Z] ---> Running in 0ca635692ef1 [2023-11-08T18:59:38.968Z] Connecting to iotech.jfrog.io (34.246.139.145:443) [2023-11-08T18:59:39.227Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-11-08T18:59:39.227Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-11-08T18:59:39.227Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-11-08T18:59:39.488Z] Removing intermediate container 0ca635692ef1 [2023-11-08T18:59:39.488Z] ---> d3c956281b01 [2023-11-08T18:59:39.488Z] Step 4/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2023-11-08T18:59:39.747Z] ---> Running in b1256bbeaa98 [2023-11-08T18:59:40.315Z] Removing intermediate container b1256bbeaa98 [2023-11-08T18:59:40.315Z] ---> 1d5e9f6f6a40 [2023-11-08T18:59:40.315Z] 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 iotech-paho-mqtt-c-dev-1.3 iotech-iot-1.5-dev hiredis-dev [2023-11-08T18:59:40.315Z] ---> Running in 77707f80ad2d [2023-11-08T18:59:40.574Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-08T18:59:40.833Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-08T18:59:40.833Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-08T18:59:41.403Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-11-08T18:59:41.403Z] (1/17) Installing hiredis (1.1.0-r2) [2023-11-08T18:59:41.403Z] (2/17) Installing hiredis-dev (1.1.0-r2) [2023-11-08T18:59:41.403Z] (3/17) Installing iotech-iot-1.5 (1.5.0-r0) [2023-11-08T18:59:42.352Z] (4/17) Installing iotech-iot-1.5-dev (1.5.0-r0) [2023-11-08T18:59:42.352Z] (5/17) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.12-r0) [2023-11-08T18:59:42.610Z] (6/17) Installing libcbor (0.10.2-r1) [2023-11-08T18:59:42.610Z] (7/17) Installing libcbor-dev (0.10.2-r1) [2023-11-08T18:59:42.610Z] (8/17) Installing libmenuw (6.4_p20230506-r0) [2023-11-08T18:59:42.610Z] (9/17) Installing libpanelw (6.4_p20230506-r0) [2023-11-08T18:59:42.610Z] (10/17) Installing libncurses++ (6.4_p20230506-r0) [2023-11-08T18:59:42.610Z] (11/17) Installing ncurses-dev (6.4_p20230506-r0) [2023-11-08T18:59:42.610Z] (12/17) Installing libblkid (2.38.1-r8) [2023-11-08T18:59:42.610Z] (13/17) Installing libuuid (2.38.1-r8) [2023-11-08T18:59:42.610Z] (14/17) Installing libfdisk (2.38.1-r8) [2023-11-08T18:59:42.610Z] (15/17) Installing libmount (2.38.1-r8) [2023-11-08T18:59:42.610Z] (16/17) Installing libsmartcols (2.38.1-r8) [2023-11-08T18:59:42.610Z] (17/17) Installing util-linux-dev (2.38.1-r8) [2023-11-08T18:59:42.610Z] Executing busybox-1.36.1-r4.trigger [2023-11-08T18:59:42.610Z] OK: 336 MiB in 99 packages [2023-11-08T18:59:43.547Z] Removing intermediate container 77707f80ad2d [2023-11-08T18:59:43.547Z] ---> 99648610252a [2023-11-08T18:59:43.547Z] Step 6/21 : RUN mkdir /tmp/sdk [2023-11-08T18:59:43.548Z] ---> Running in f6b3afb9a8ae [2023-11-08T18:59:43.674Z] Still waiting to schedule task [2023-11-08T18:59:43.675Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-11-08T18:59:44.116Z] Removing intermediate container f6b3afb9a8ae [2023-11-08T18:59:44.116Z] ---> 61646cfe69e6 [2023-11-08T18:59:44.116Z] Step 7/21 : COPY VERSION /tmp/sdk [2023-11-08T18:59:44.116Z] ---> 5ff5cdf57be4 [2023-11-08T18:59:44.116Z] Step 8/21 : COPY src /tmp/sdk/src [2023-11-08T18:59:44.374Z] ---> c0a4717bd1c5 [2023-11-08T18:59:44.374Z] Step 9/21 : COPY include /tmp/sdk/include [2023-11-08T18:59:44.635Z] ---> 0f96fb953b5a [2023-11-08T18:59:44.635Z] Step 10/21 : COPY scripts /tmp/sdk/scripts [2023-11-08T18:59:44.635Z] ---> f4eef2518061 [2023-11-08T18:59:44.635Z] Step 11/21 : COPY LICENSE /tmp/sdk [2023-11-08T18:59:44.894Z] ---> 61119457ab40 [2023-11-08T18:59:44.894Z] Step 12/21 : COPY Attribution.txt /tmp/sdk [2023-11-08T18:59:44.894Z] ---> e9cf170fef81 [2023-11-08T18:59:44.894Z] Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2023-11-08T18:59:45.153Z] ---> Running in d1a52c15b7ef [2023-11-08T18:59:45.413Z] + CPPCHECK=false [2023-11-08T18:59:45.413Z] + DOCGEN=false [2023-11-08T18:59:45.413Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2023-11-08T18:59:45.413Z] + '[' 0 -gt 0 ] [2023-11-08T18:59:45.413Z] + readlink -f ./scripts/build.sh [2023-11-08T18:59:45.413Z] + dirname /tmp/sdk/scripts/build.sh [2023-11-08T18:59:45.413Z] + dirname /tmp/sdk/scripts [2023-11-08T18:59:45.413Z] + ROOT=/tmp/sdk [2023-11-08T18:59:45.413Z] + cd /tmp/sdk [2023-11-08T18:59:45.413Z] + mkdir -p /tmp/sdk/build/release [2023-11-08T18:59:45.413Z] + cd /tmp/sdk/build/release [2023-11-08T18:59:45.413Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2023-11-08T18:59:45.413Z] -- The C compiler identification is GNU 12.2.1 [2023-11-08T18:59:45.413Z] -- Detecting C compiler ABI info [2023-11-08T18:59:45.672Z] -- Detecting C compiler ABI info - done [2023-11-08T18:59:45.672Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-11-08T18:59:45.672Z] -- Detecting C compile features [2023-11-08T18:59:45.672Z] -- Detecting C compile features - done [2023-11-08T18:59:45.672Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-11-08T18:59:45.672Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") [2023-11-08T18:59:45.672Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-11-08T18:59:45.672Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-11-08T18:59:45.672Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-11-08T18:59:45.672Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-11-08T18:59:45.672Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-11-08T18:59:45.672Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2023-11-08T18:59:45.672Z] -- /opt/iotech/iot/1.5/include [2023-11-08T18:59:45.672Z] -- C SDK 0.0.0 for Linux [2023-11-08T18:59:45.672Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-11-08T18:59:45.672Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-11-08T18:59:45.931Z] -- Found Curses: /usr/lib/libcurses.so [2023-11-08T18:59:45.931Z] -- Configuring done (0.4s) [2023-11-08T18:59:45.931Z] -- Generating done (0.0s) [2023-11-08T18:59:45.931Z] -- Build files have been written to: /tmp/sdk/build/release [2023-11-08T18:59:45.931Z] + make all package [2023-11-08T18:59:45.931Z] + tee release.log [2023-11-08T18:59:45.931Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-11-08T18:59:45.931Z] In file included from /tmp/sdk/src/c/autoevent.c:9: [2023-11-08T18:59:45.931Z] /tmp/sdk/src/c/autoevent.h:25:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] [2023-11-08T18:59:45.931Z] 25 | void clear_ae_signals (); [2023-11-08T18:59:45.931Z] | ^~~~ [2023-11-08T18:59:45.931Z] /tmp/sdk/src/c/autoevent.c: In function 'edgex_device_autoevent_start': [2023-11-08T18:59:45.931Z] /tmp/sdk/src/c/autoevent.c:170:47: error: expected ';' before '}' token [2023-11-08T18:59:45.931Z] 170 | init_flg_slv = sem_init (&slv_mutex, 0, 1) [2023-11-08T18:59:45.931Z] | ^ [2023-11-08T18:59:45.931Z] | ; [2023-11-08T18:59:45.931Z] 171 | } [2023-11-08T18:59:45.931Z] | ~ [2023-11-08T18:59:45.931Z] /tmp/sdk/src/c/autoevent.c: At top level: [2023-11-08T18:59:45.931Z] /tmp/sdk/src/c/autoevent.c:278:6: warning: function declaration isn't a prototype [-Wstrict-prototypes] [2023-11-08T18:59:45.931Z] 278 | void clear_ae_signals () [2023-11-08T18:59:45.931Z] | ^~~~~~~~~~~~~~~~ [2023-11-08T18:59:45.931Z] make[2]: *** [c/CMakeFiles/csdk.dir/build.make:76: c/CMakeFiles/csdk.dir/autoevent.c.o] Error 1 [2023-11-08T18:59:45.931Z] make[1]: *** [CMakeFiles/Makefile2:240: c/CMakeFiles/csdk.dir/all] Error 2 [2023-11-08T18:59:45.931Z] make: *** [Makefile:156: all] Error 2 [2023-11-08T18:59:45.931Z] + '[' false '=' true ] [2023-11-08T18:59:45.931Z] + '[' false '=' true ] [2023-11-08T18:59:45.931Z] + mkdir -p /tmp/sdk/build/debug [2023-11-08T18:59:45.931Z] + cd /tmp/sdk/build/debug [2023-11-08T18:59:45.931Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2023-11-08T18:59:45.931Z] -- The C compiler identification is GNU 12.2.1 [2023-11-08T18:59:46.190Z] -- Detecting C compiler ABI info [2023-11-08T18:59:46.190Z] -- Detecting C compiler ABI info - done [2023-11-08T18:59:46.190Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-11-08T18:59:46.190Z] -- Detecting C compile features [2023-11-08T18:59:46.190Z] -- Detecting C compile features - done [2023-11-08T18:59:46.190Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-11-08T18:59:46.190Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") [2023-11-08T18:59:46.190Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-11-08T18:59:46.190Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-11-08T18:59:46.190Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-11-08T18:59:46.190Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-11-08T18:59:46.190Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-11-08T18:59:46.190Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2023-11-08T18:59:46.190Z] -- /opt/iotech/iot/1.5/include [2023-11-08T18:59:46.190Z] -- C SDK 0.0.0 for Linux [2023-11-08T18:59:46.190Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-11-08T18:59:46.450Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-11-08T18:59:46.450Z] -- Found Curses: /usr/lib/libcurses.so [2023-11-08T18:59:46.450Z] -- Configuring done (0.4s) [2023-11-08T18:59:46.450Z] -- Generating done (0.0s) [2023-11-08T18:59:46.450Z] -- Build files have been written to: /tmp/sdk/build/debug [2023-11-08T18:59:46.450Z] + make [2023-11-08T18:59:46.450Z] + tee debug.log [2023-11-08T18:59:46.450Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-11-08T18:59:46.450Z] In file included from /tmp/sdk/src/c/autoevent.c:9: [2023-11-08T18:59:46.450Z] /tmp/sdk/src/c/autoevent.h:25:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] [2023-11-08T18:59:46.450Z] 25 | void clear_ae_signals (); [2023-11-08T18:59:46.450Z] | ^~~~ [2023-11-08T18:59:46.450Z] /tmp/sdk/src/c/autoevent.c: In function 'edgex_device_autoevent_start': [2023-11-08T18:59:46.450Z] /tmp/sdk/src/c/autoevent.c:170:47: error: expected ';' before '}' token [2023-11-08T18:59:46.450Z] 170 | init_flg_slv = sem_init (&slv_mutex, 0, 1) [2023-11-08T18:59:46.450Z] | ^ [2023-11-08T18:59:46.450Z] | ; [2023-11-08T18:59:46.450Z] 171 | } [2023-11-08T18:59:46.450Z] | ~ [2023-11-08T18:59:46.450Z] /tmp/sdk/src/c/autoevent.c: At top level: [2023-11-08T18:59:46.450Z] /tmp/sdk/src/c/autoevent.c:278:6: warning: function declaration isn't a prototype [-Wstrict-prototypes] [2023-11-08T18:59:46.450Z] 278 | void clear_ae_signals () [2023-11-08T18:59:46.450Z] | ^~~~~~~~~~~~~~~~ [2023-11-08T18:59:46.450Z] make[2]: *** [c/CMakeFiles/csdk.dir/build.make:76: c/CMakeFiles/csdk.dir/autoevent.c.o] Error 1 [2023-11-08T18:59:46.450Z] make[1]: *** [CMakeFiles/Makefile2:240: c/CMakeFiles/csdk.dir/all] Error 2 [2023-11-08T18:59:46.450Z] make: *** [Makefile:156: all] Error 2 [2023-11-08T18:59:46.450Z] make: Entering directory '/tmp/sdk/build/release' [2023-11-08T18:59:46.722Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-11-08T18:59:46.722Z] In file included from /tmp/sdk/src/c/autoevent.c:9: [2023-11-08T18:59:46.722Z] /tmp/sdk/src/c/autoevent.h:25:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] [2023-11-08T18:59:46.722Z] 25 | void clear_ae_signals (); [2023-11-08T18:59:46.722Z] | ^~~~ [2023-11-08T18:59:46.722Z] /tmp/sdk/src/c/autoevent.c: In function 'edgex_device_autoevent_start': [2023-11-08T18:59:46.722Z] /tmp/sdk/src/c/autoevent.c:170:47: error: expected ';' before '}' token [2023-11-08T18:59:46.722Z] 170 | init_flg_slv = sem_init (&slv_mutex, 0, 1) [2023-11-08T18:59:46.722Z] | ^ [2023-11-08T18:59:46.722Z] | ; [2023-11-08T18:59:46.722Z] 171 | } [2023-11-08T18:59:46.722Z] | ~ [2023-11-08T18:59:46.722Z] /tmp/sdk/src/c/autoevent.c: At top level: [2023-11-08T18:59:46.722Z] /tmp/sdk/src/c/autoevent.c:278:6: warning: function declaration isn't a prototype [-Wstrict-prototypes] [2023-11-08T18:59:46.722Z] 278 | void clear_ae_signals () [2023-11-08T18:59:46.722Z] | ^~~~~~~~~~~~~~~~ [2023-11-08T18:59:46.722Z] make[2]: *** [c/CMakeFiles/csdk.dir/build.make:76: c/CMakeFiles/csdk.dir/autoevent.c.o] Error 1 [2023-11-08T18:59:46.722Z] make[1]: *** [CMakeFiles/Makefile2:240: c/CMakeFiles/csdk.dir/all] Error 2 [2023-11-08T18:59:46.722Z] make: *** [Makefile:156: all] Error 2 [2023-11-08T18:59:46.722Z] make: Leaving directory '/tmp/sdk/build/release' [2023-11-08T18:59:46.983Z] 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 [2023-11-08T18:59:47.487Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-08T18:59:47.487Z] [2023-11-08T18:59:47.487Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T18:59:47.795Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-08T18:59:47.795Z] latest: Pulling from edgex-lftools-log-publisher [2023-11-08T18:59:47.795Z] 5eb5b503b376: Pulling fs layer [2023-11-08T18:59:47.795Z] 5c69ac0246d0: Pulling fs layer [2023-11-08T18:59:47.795Z] ec43610c2a17: Pulling fs layer [2023-11-08T18:59:47.795Z] 3a2ae6a8a46f: Pulling fs layer [2023-11-08T18:59:47.795Z] 33b1e0a273af: Pulling fs layer [2023-11-08T18:59:47.795Z] 5d3b04190fa2: Pulling fs layer [2023-11-08T18:59:47.795Z] 2f39f015ded8: Pulling fs layer [2023-11-08T18:59:47.795Z] 3a2ae6a8a46f: Waiting [2023-11-08T18:59:47.795Z] 33b1e0a273af: Waiting [2023-11-08T18:59:47.795Z] 2f39f015ded8: Waiting [2023-11-08T18:59:47.795Z] 5d3b04190fa2: Waiting [2023-11-08T18:59:47.795Z] 5c69ac0246d0: Download complete [2023-11-08T18:59:47.795Z] 3a2ae6a8a46f: Verifying Checksum [2023-11-08T18:59:47.795Z] 3a2ae6a8a46f: Download complete [2023-11-08T18:59:48.053Z] 33b1e0a273af: Verifying Checksum [2023-11-08T18:59:48.053Z] 33b1e0a273af: Download complete [2023-11-08T18:59:48.053Z] 5d3b04190fa2: Verifying Checksum [2023-11-08T18:59:48.053Z] 5d3b04190fa2: Download complete [2023-11-08T18:59:48.053Z] ec43610c2a17: Verifying Checksum [2023-11-08T18:59:48.053Z] ec43610c2a17: Download complete [2023-11-08T18:59:48.053Z] 5eb5b503b376: Download complete [2023-11-08T18:59:48.618Z] 2f39f015ded8: Download complete [2023-11-08T18:59:49.555Z] 5eb5b503b376: Pull complete [2023-11-08T18:59:49.555Z] 5c69ac0246d0: Pull complete [2023-11-08T18:59:50.124Z] ec43610c2a17: Pull complete [2023-11-08T18:59:50.124Z] 3a2ae6a8a46f: Pull complete [2023-11-08T18:59:50.383Z] 33b1e0a273af: Pull complete [2023-11-08T18:59:50.383Z] 5d3b04190fa2: Pull complete [2023-11-08T18:59:55.657Z] 2f39f015ded8: Pull complete [2023-11-08T18:59:55.657Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-11-08T18:59:55.657Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-08T18:59:55.657Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-08T18:59:55.750Z] prd-ubuntu20.04-docker-8c-8g-17071 does not seem to be running inside a container [2023-11-08T18:59:55.785Z] $ 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 [2023-11-08T19:00:01.658Z] $ docker top b0ca9f6c2730ee329d8b763ddaa0d68d0b5525b8f4727cdabf42a941ec011302 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-08T19:00:02.047Z] ---> job-cost.sh [2023-11-08T19:00:02.047Z] lf-activate-venv: SKIPPING [2023-11-08T19:00:02.047Z] INFO: No Stack... [2023-11-08T19:00:02.615Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-11-08T19:00:02.875Z] INFO: Archiving Costs [Pipeline] sh [2023-11-08T19:00:03.166Z] + cut -d, -f6 [2023-11-08T19:00:03.166Z] + cat /w/workspace/edgexfoundry_device-sdk-c_PR-444/archives/cost.csv [Pipeline] lock [2023-11-08T19:00:03.181Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-444-23-stack-cost] [2023-11-08T19:00:03.187Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-444-23-stack-cost] did not exist. Created. [2023-11-08T19:00:03.187Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-444-23-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-11-08T19:00:03.490Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-11-08T19:00:03.531Z] Stashed 1 file(s) [Pipeline] } [2023-11-08T19:00:03.537Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-444-23-stack-cost] [Pipeline] // lock [Pipeline] } [2023-11-08T19:00:03.562Z] $ docker stop --time=1 b0ca9f6c2730ee329d8b763ddaa0d68d0b5525b8f4727cdabf42a941ec011302 [2023-11-08T19:00:04.718Z] $ docker rm -f --volumes b0ca9f6c2730ee329d8b763ddaa0d68d0b5525b8f4727cdabf42a941ec011302 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-11-08T19:00:04.844Z] Failed in branch amd64 [2023-11-08T19:02:38.857Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-17077 in /w/workspace/edgexfoundry_device-sdk-c_PR-444 [Pipeline] { [Pipeline] ws [2023-11-08T19:02:38.871Z] Running in /w/workspace/device-sdk-c/23 [Pipeline] { [Pipeline] checkout [2023-11-08T19:02:38.911Z] Selected Git installation does not exist. Using Default [2023-11-08T19:02:38.911Z] The recommended git tool is: NONE [2023-11-08T19:02:44.744Z] using credential edgex-jenkins-ssh [2023-11-08T19:02:44.760Z] Cloning the remote Git repository [2023-11-08T19:02:44.820Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2023-11-08T19:02:44.939Z] > git init /w/workspace/device-sdk-c/23 # timeout=10 [2023-11-08T19:02:45.132Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2023-11-08T19:02:45.134Z] > git --version # timeout=10 [2023-11-08T19:02:45.160Z] > git --version # 'git version 2.25.1' [2023-11-08T19:02:45.164Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-11-08T19:02:45.357Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-11-08T19:02:46.501Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2023-11-08T19:02:46.538Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-11-08T19:02:47.524Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2023-11-08T19:02:47.570Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2023-11-08T19:02:47.571Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-11-08T19:02:47.591Z] > 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 [2023-11-08T19:02:48.239Z] Merging remotes/origin/main commit 1a776ee907d08e39928eb07fc2284b30a6e0a694 into PR head commit 2ab919ba902543e8751b24cbae806de0a32484ea [2023-11-08T19:02:48.759Z] Merge succeeded, producing d703938b6750e204b0496333e02458b9819d2f5c [2023-11-08T19:02:48.760Z] Checking out Revision d703938b6750e204b0496333e02458b9819d2f5c (PR-444) [2023-11-08T19:02:48.259Z] > git config core.sparsecheckout # timeout=10 [2023-11-08T19:02:48.336Z] > git checkout -f 2ab919ba902543e8751b24cbae806de0a32484ea # timeout=10 [2023-11-08T19:02:48.461Z] > git remote # timeout=10 [2023-11-08T19:02:48.496Z] > git config --get remote.origin.url # timeout=10 [2023-11-08T19:02:48.517Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-11-08T19:02:48.534Z] > git merge 1a776ee907d08e39928eb07fc2284b30a6e0a694 # timeout=10 [2023-11-08T19:02:48.739Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-11-08T19:02:48.768Z] > git config core.sparsecheckout # timeout=10 [2023-11-08T19:02:48.783Z] > git checkout -f d703938b6750e204b0496333e02458b9819d2f5c # timeout=10 [2023-11-08T19:02:52.431Z] Commit message: "Merge commit '1a776ee907d08e39928eb07fc2284b30a6e0a694' into HEAD" [2023-11-08T19:02:52.463Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-11-08T19:02:53.483Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-11-08T19:02:53.484Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-11-08T19:02:53.484Z] Dload Upload Total Spent Left Speed [2023-11-08T19:02:53.484Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12682 100 12682 0 0 89943 0 --:--:-- --:--:-- --:--:-- 89943 [2023-11-08T19:02:52.442Z] > git rev-list --no-walk 260be4d3c3000973d89c6c7468ff263bc8419ad6 # timeout=10 [Pipeline] sh [2023-11-08T19:02:54.182Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-11-08T19:02:54.522Z] + sudo tee /etc/docker/daemon.new [2023-11-08T19:02:54.522Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-11-08T19:02:54.522Z] { [2023-11-08T19:02:54.522Z] "registry-mirrors": [ [2023-11-08T19:02:54.522Z] "https://nexus3.edgexfoundry.org:10001" [2023-11-08T19:02:54.522Z] ], [2023-11-08T19:02:54.522Z] "bip": "10.250.0.254/24", [2023-11-08T19:02:54.522Z] "hosts": [ [2023-11-08T19:02:54.522Z] "tcp://0.0.0.0:5555", [2023-11-08T19:02:54.522Z] "unix:///var/run/docker.sock" [2023-11-08T19:02:54.522Z] ], [2023-11-08T19:02:54.522Z] "mtu": 1458, [2023-11-08T19:02:54.522Z] "selinux-enabled": true, [2023-11-08T19:02:54.522Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-11-08T19:02:54.522Z] } [Pipeline] sh [2023-11-08T19:02:54.862Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-11-08T19:02:55.214Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-08T19:03:13.503Z] provisioning config files... [2023-11-08T19:03:13.533Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/23@tmp/config2604261809552237496tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-08T19:03:13.904Z] ---> docker-login.sh [2023-11-08T19:03:13.904Z] nexus3.edgexfoundry.org:10001 [2023-11-08T19:03:14.498Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-08T19:03:14.498Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-08T19:03:14.498Z] Configure a credential helper to remove this warning. See [2023-11-08T19:03:14.498Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-08T19:03:14.498Z] [2023-11-08T19:03:14.498Z] Login Succeeded [2023-11-08T19:03:14.498Z] nexus3.edgexfoundry.org:10002 [2023-11-08T19:03:14.774Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-08T19:03:15.047Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-08T19:03:15.047Z] Configure a credential helper to remove this warning. See [2023-11-08T19:03:15.047Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-08T19:03:15.047Z] [2023-11-08T19:03:15.047Z] Login Succeeded [2023-11-08T19:03:15.047Z] nexus3.edgexfoundry.org:10003 [2023-11-08T19:03:15.320Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-08T19:03:15.320Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-08T19:03:15.320Z] Configure a credential helper to remove this warning. See [2023-11-08T19:03:15.320Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-08T19:03:15.320Z] [2023-11-08T19:03:15.320Z] Login Succeeded [2023-11-08T19:03:15.320Z] nexus3.edgexfoundry.org:10004 [2023-11-08T19:03:15.592Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-08T19:03:15.863Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-08T19:03:15.863Z] Configure a credential helper to remove this warning. See [2023-11-08T19:03:15.863Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-08T19:03:15.863Z] [2023-11-08T19:03:15.863Z] Login Succeeded [2023-11-08T19:03:15.863Z] docker.io [2023-11-08T19:03:16.132Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-08T19:03:16.718Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-08T19:03:16.718Z] Configure a credential helper to remove this warning. See [2023-11-08T19:03:16.718Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-08T19:03:16.718Z] [2023-11-08T19:03:16.718Z] Login Succeeded [2023-11-08T19:03:16.718Z] ---> docker-login.sh ends [Pipeline] } [2023-11-08T19:03:16.733Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-11-08T19:03:17.003Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-08T19:03:17.018Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-arm64 [Pipeline] echo [2023-11-08T19:03:17.035Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-08T19:03:17.048Z] ========================================================= [2023-11-08T19:03:17.048Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] [2023-11-08T19:03:17.048Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T19:03:17.390Z] + 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 . [2023-11-08T19:03:17.991Z] Sending build context to Docker daemon 3.006MB [2023-11-08T19:03:17.991Z] Step 1/21 : ARG BASE=alpine:3.18 [2023-11-08T19:03:17.991Z] Step 2/21 : FROM ${BASE} as builder [2023-11-08T19:03:20.593Z] latest: Pulling from edgex-devops/edgex-gcc-base-arm64 [2023-11-08T19:03:20.593Z] 579b34f0a95b: Pulling fs layer [2023-11-08T19:03:20.593Z] e71477ac5e1b: Pulling fs layer [2023-11-08T19:03:20.593Z] 579b34f0a95b: Verifying Checksum [2023-11-08T19:03:20.593Z] 579b34f0a95b: Download complete [2023-11-08T19:03:21.564Z] 579b34f0a95b: Pull complete [2023-11-08T19:03:23.559Z] e71477ac5e1b: Verifying Checksum [2023-11-08T19:03:23.559Z] e71477ac5e1b: Download complete [2023-11-08T19:03:35.900Z] e71477ac5e1b: Pull complete [2023-11-08T19:03:35.900Z] Digest: sha256:d6da9bdca73313daf4d05ece6476ab4dbe9e0e950a139422d865873582b0d46d [2023-11-08T19:03:35.900Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest [2023-11-08T19:03:35.900Z] ---> 2b552cad5dd9 [2023-11-08T19:03:35.900Z] 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 [2023-11-08T19:03:36.484Z] ---> Running in cc8e4fb3774c [2023-11-08T19:03:37.458Z] Connecting to iotech.jfrog.io (34.247.22.236:443) [2023-11-08T19:03:38.043Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-11-08T19:03:38.043Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-11-08T19:03:38.043Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-11-08T19:03:39.013Z] Removing intermediate container cc8e4fb3774c [2023-11-08T19:03:39.013Z] ---> 14238d9586e1 [2023-11-08T19:03:39.013Z] Step 4/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2023-11-08T19:03:39.013Z] ---> Running in fdc61c417ead [2023-11-08T19:03:40.961Z] Removing intermediate container fdc61c417ead [2023-11-08T19:03:40.961Z] ---> 7009dbbf61a8 [2023-11-08T19:03:40.961Z] 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 iotech-paho-mqtt-c-dev-1.3 iotech-iot-1.5-dev hiredis-dev [2023-11-08T19:03:40.961Z] ---> Running in ae9e57fd8d33 [2023-11-08T19:03:41.547Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-08T19:03:42.137Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-08T19:03:42.721Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-08T19:03:43.687Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-11-08T19:03:43.688Z] (1/17) Installing hiredis (1.1.0-r2) [2023-11-08T19:03:43.688Z] (2/17) Installing hiredis-dev (1.1.0-r2) [2023-11-08T19:03:43.688Z] (3/17) Installing iotech-iot-1.5 (1.5.0-r0) [2023-11-08T19:03:44.645Z] (4/17) Installing iotech-iot-1.5-dev (1.5.0-r0) [2023-11-08T19:03:44.645Z] (5/17) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.12-r0) [2023-11-08T19:03:44.912Z] (6/17) Installing libcbor (0.10.2-r1) [2023-11-08T19:03:44.912Z] (7/17) Installing libcbor-dev (0.10.2-r1) [2023-11-08T19:03:44.912Z] (8/17) Installing libmenuw (6.4_p20230506-r0) [2023-11-08T19:03:44.912Z] (9/17) Installing libpanelw (6.4_p20230506-r0) [2023-11-08T19:03:44.912Z] (10/17) Installing libncurses++ (6.4_p20230506-r0) [2023-11-08T19:03:44.912Z] (11/17) Installing ncurses-dev (6.4_p20230506-r0) [2023-11-08T19:03:44.912Z] (12/17) Installing libblkid (2.38.1-r8) [2023-11-08T19:03:44.912Z] (13/17) Installing libuuid (2.38.1-r8) [2023-11-08T19:03:44.912Z] (14/17) Installing libfdisk (2.38.1-r8) [2023-11-08T19:03:44.912Z] (15/17) Installing libmount (2.38.1-r8) [2023-11-08T19:03:44.912Z] (16/17) Installing libsmartcols (2.38.1-r8) [2023-11-08T19:03:44.912Z] (17/17) Installing util-linux-dev (2.38.1-r8) [2023-11-08T19:03:44.912Z] Executing busybox-1.36.1-r4.trigger [2023-11-08T19:03:45.186Z] OK: 333 MiB in 99 packages [2023-11-08T19:03:49.481Z] Removing intermediate container ae9e57fd8d33 [2023-11-08T19:03:49.481Z] ---> 5203c2810cd4 [2023-11-08T19:03:49.481Z] Step 6/21 : RUN mkdir /tmp/sdk [2023-11-08T19:03:49.481Z] ---> Running in 04e59c2273f4 [2023-11-08T19:03:50.899Z] Removing intermediate container 04e59c2273f4 [2023-11-08T19:03:50.899Z] ---> 15ba650cb32e [2023-11-08T19:03:50.899Z] Step 7/21 : COPY VERSION /tmp/sdk [2023-11-08T19:03:51.166Z] ---> a4e09d997a74 [2023-11-08T19:03:51.166Z] Step 8/21 : COPY src /tmp/sdk/src [2023-11-08T19:03:52.135Z] ---> 811ceedb5fee [2023-11-08T19:03:52.135Z] Step 9/21 : COPY include /tmp/sdk/include [2023-11-08T19:03:52.402Z] ---> 9bea1f861944 [2023-11-08T19:03:52.402Z] Step 10/21 : COPY scripts /tmp/sdk/scripts [2023-11-08T19:03:52.984Z] ---> eeadae5762ae [2023-11-08T19:03:52.984Z] Step 11/21 : COPY LICENSE /tmp/sdk [2023-11-08T19:03:53.567Z] ---> 81991d832862 [2023-11-08T19:03:53.567Z] Step 12/21 : COPY Attribution.txt /tmp/sdk [2023-11-08T19:03:54.150Z] ---> 9072fdb295bd [2023-11-08T19:03:54.150Z] Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2023-11-08T19:03:54.150Z] ---> Running in c3fa1f995af2 [2023-11-08T19:03:55.125Z] + CPPCHECK=false [2023-11-08T19:03:55.125Z] + DOCGEN=false [2023-11-08T19:03:55.125Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2023-11-08T19:03:55.125Z] + '[' 0 -gt 0 ] [2023-11-08T19:03:55.125Z] + readlink -f ./scripts/build.sh [2023-11-08T19:03:55.125Z] + dirname /tmp/sdk/scripts/build.sh [2023-11-08T19:03:55.125Z] + dirname /tmp/sdk/scripts [2023-11-08T19:03:55.125Z] + ROOT=/tmp/sdk [2023-11-08T19:03:55.125Z] + cd /tmp/sdk [2023-11-08T19:03:55.125Z] + mkdir -p /tmp/sdk/build/release [2023-11-08T19:03:55.125Z] + cd /tmp/sdk/build/release [2023-11-08T19:03:55.125Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2023-11-08T19:03:55.394Z] -- The C compiler identification is GNU 12.2.1 [2023-11-08T19:03:55.394Z] -- Detecting C compiler ABI info [2023-11-08T19:03:55.663Z] -- Detecting C compiler ABI info - done [2023-11-08T19:03:55.931Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-11-08T19:03:55.931Z] -- Detecting C compile features [2023-11-08T19:03:55.931Z] -- Detecting C compile features - done [2023-11-08T19:03:55.931Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-11-08T19:03:56.199Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") [2023-11-08T19:03:56.199Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-11-08T19:03:56.199Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-11-08T19:03:56.199Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-11-08T19:03:56.199Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-11-08T19:03:56.199Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-11-08T19:03:56.199Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2023-11-08T19:03:56.200Z] -- /opt/iotech/iot/1.5/include [2023-11-08T19:03:56.200Z] -- C SDK 0.0.0 for Linux [2023-11-08T19:03:56.200Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-11-08T19:03:56.469Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-11-08T19:03:56.740Z] -- Found Curses: /usr/lib/libcurses.so [2023-11-08T19:03:57.011Z] -- Configuring done (1.9s) [2023-11-08T19:03:57.281Z] -- Generating done (0.3s) [2023-11-08T19:03:57.281Z] -- Build files have been written to: /tmp/sdk/build/release [2023-11-08T19:03:57.281Z] + make all package [2023-11-08T19:03:57.281Z] + tee release.log [2023-11-08T19:03:57.281Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-11-08T19:03:57.548Z] In file included from /tmp/sdk/src/c/autoevent.c:9: [2023-11-08T19:03:57.548Z] /tmp/sdk/src/c/autoevent.h:25:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] [2023-11-08T19:03:57.548Z] 25 | void clear_ae_signals (); [2023-11-08T19:03:57.548Z] | ^~~~ [2023-11-08T19:03:57.548Z] /tmp/sdk/src/c/autoevent.c: In function 'edgex_device_autoevent_start': [2023-11-08T19:03:57.548Z] /tmp/sdk/src/c/autoevent.c:170:47: error: expected ';' before '}' token [2023-11-08T19:03:57.548Z] 170 | init_flg_slv = sem_init (&slv_mutex, 0, 1) [2023-11-08T19:03:57.548Z] | ^ [2023-11-08T19:03:57.548Z] | ; [2023-11-08T19:03:57.548Z] 171 | } [2023-11-08T19:03:57.548Z] | ~ [2023-11-08T19:03:57.815Z] /tmp/sdk/src/c/autoevent.c: At top level: [2023-11-08T19:03:57.815Z] /tmp/sdk/src/c/autoevent.c:278:6: warning: function declaration isn't a prototype [-Wstrict-prototypes] [2023-11-08T19:03:57.815Z] 278 | void clear_ae_signals () [2023-11-08T19:03:57.815Z] | ^~~~~~~~~~~~~~~~ [2023-11-08T19:03:57.815Z] make[2]: *** [c/CMakeFiles/csdk.dir/build.make:76: c/CMakeFiles/csdk.dir/autoevent.c.o] Error 1 [2023-11-08T19:03:57.815Z] make[1]: *** [CMakeFiles/Makefile2:240: c/CMakeFiles/csdk.dir/all] Error 2 [2023-11-08T19:03:57.815Z] make: *** [Makefile:156: all] Error 2 [2023-11-08T19:03:57.815Z] + '[' false '=' true ] [2023-11-08T19:03:57.815Z] + '[' false '=' true ] [2023-11-08T19:03:57.815Z] + mkdir -p /tmp/sdk/build/debug [2023-11-08T19:03:57.815Z] + cd /tmp/sdk/build/debug [2023-11-08T19:03:57.815Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2023-11-08T19:03:58.081Z] -- The C compiler identification is GNU 12.2.1 [2023-11-08T19:03:58.081Z] -- Detecting C compiler ABI info [2023-11-08T19:03:58.349Z] -- Detecting C compiler ABI info - done [2023-11-08T19:03:58.616Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-11-08T19:03:58.616Z] -- Detecting C compile features [2023-11-08T19:03:58.616Z] -- Detecting C compile features - done [2023-11-08T19:03:58.616Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-11-08T19:03:58.883Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") [2023-11-08T19:03:58.883Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-11-08T19:03:58.883Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-11-08T19:03:58.883Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-11-08T19:03:58.883Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-11-08T19:03:58.883Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-11-08T19:03:58.883Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2023-11-08T19:03:58.883Z] -- /opt/iotech/iot/1.5/include [2023-11-08T19:03:58.883Z] -- C SDK 0.0.0 for Linux [2023-11-08T19:03:58.883Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-11-08T19:03:59.466Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-11-08T19:03:59.466Z] -- Found Curses: /usr/lib/libcurses.so [2023-11-08T19:03:59.736Z] -- Configuring done (1.9s) [2023-11-08T19:04:00.002Z] -- Generating done (0.3s) [2023-11-08T19:04:00.002Z] -- Build files have been written to: /tmp/sdk/build/debug [2023-11-08T19:04:00.002Z] + make [2023-11-08T19:04:00.002Z] + tee debug.log [2023-11-08T19:04:00.002Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-11-08T19:04:00.270Z] In file included from /tmp/sdk/src/c/autoevent.c:9: [2023-11-08T19:04:00.270Z] /tmp/sdk/src/c/autoevent.h:25:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] [2023-11-08T19:04:00.270Z] 25 | void clear_ae_signals (); [2023-11-08T19:04:00.270Z] | ^~~~ [2023-11-08T19:04:00.270Z] /tmp/sdk/src/c/autoevent.c: In function 'edgex_device_autoevent_start': [2023-11-08T19:04:00.270Z] /tmp/sdk/src/c/autoevent.c:170:47: error: expected ';' before '}' token [2023-11-08T19:04:00.270Z] 170 | init_flg_slv = sem_init (&slv_mutex, 0, 1) [2023-11-08T19:04:00.270Z] | ^ [2023-11-08T19:04:00.270Z] | ; [2023-11-08T19:04:00.270Z] 171 | } [2023-11-08T19:04:00.270Z] | ~ [2023-11-08T19:04:00.270Z] /tmp/sdk/src/c/autoevent.c: At top level: [2023-11-08T19:04:00.270Z] /tmp/sdk/src/c/autoevent.c:278:6: warning: function declaration isn't a prototype [-Wstrict-prototypes] [2023-11-08T19:04:00.270Z] 278 | void clear_ae_signals () [2023-11-08T19:04:00.270Z] | ^~~~~~~~~~~~~~~~ [2023-11-08T19:04:00.270Z] make[2]: *** [c/CMakeFiles/csdk.dir/build.make:76: c/CMakeFiles/csdk.dir/autoevent.c.o] Error 1 [2023-11-08T19:04:00.270Z] make[1]: *** [CMakeFiles/Makefile2:240: c/CMakeFiles/csdk.dir/all] Error 2 [2023-11-08T19:04:00.270Z] make: *** [Makefile:156: all] Error 2 [2023-11-08T19:04:00.270Z] make: Entering directory '/tmp/sdk/build/release' [2023-11-08T19:04:00.537Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-11-08T19:04:00.805Z] In file included from /tmp/sdk/src/c/autoevent.c:9: [2023-11-08T19:04:00.805Z] /tmp/sdk/src/c/autoevent.h:25:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] [2023-11-08T19:04:00.805Z] 25 | void clear_ae_signals (); [2023-11-08T19:04:00.805Z] | ^~~~ [2023-11-08T19:04:00.805Z] /tmp/sdk/src/c/autoevent.c: In function 'edgex_device_autoevent_start': [2023-11-08T19:04:00.805Z] /tmp/sdk/src/c/autoevent.c:170:47: error: expected ';' before '}' token [2023-11-08T19:04:00.805Z] 170 | init_flg_slv = sem_init (&slv_mutex, 0, 1) [2023-11-08T19:04:00.805Z] | ^ [2023-11-08T19:04:00.805Z] | ; [2023-11-08T19:04:00.805Z] 171 | } [2023-11-08T19:04:00.805Z] | ~ [2023-11-08T19:04:00.805Z] /tmp/sdk/src/c/autoevent.c: At top level: [2023-11-08T19:04:00.805Z] /tmp/sdk/src/c/autoevent.c:278:6: warning: function declaration isn't a prototype [-Wstrict-prototypes] [2023-11-08T19:04:00.805Z] 278 | void clear_ae_signals () [2023-11-08T19:04:00.805Z] | ^~~~~~~~~~~~~~~~ [2023-11-08T19:04:00.805Z] make[2]: *** [c/CMakeFiles/csdk.dir/build.make:76: c/CMakeFiles/csdk.dir/autoevent.c.o] Error 1 [2023-11-08T19:04:00.805Z] make[1]: *** [CMakeFiles/Makefile2:240: c/CMakeFiles/csdk.dir/all] Error 2 [2023-11-08T19:04:00.805Z] make: *** [Makefile:156: all] Error 2 [2023-11-08T19:04:00.805Z] make: Leaving directory '/tmp/sdk/build/release' [2023-11-08T19:04:03.386Z] 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 [2023-11-08T19:04:03.886Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-11-08T19:04:03.886Z] [2023-11-08T19:04:03.886Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T19:04:04.225Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-11-08T19:04:04.225Z] arm64: Pulling from edgex-lftools-log-publisher [2023-11-08T19:04:04.225Z] 8998bd30e6a1: Pulling fs layer [2023-11-08T19:04:04.225Z] 04944245beec: Pulling fs layer [2023-11-08T19:04:04.225Z] 699f458cf7ca: Pulling fs layer [2023-11-08T19:04:04.225Z] 765212b225bb: Pulling fs layer [2023-11-08T19:04:04.225Z] f23df028b6ca: Pulling fs layer [2023-11-08T19:04:04.225Z] d65c8cfc05b1: Pulling fs layer [2023-11-08T19:04:04.225Z] 2437ff75d9bd: Pulling fs layer [2023-11-08T19:04:04.225Z] 2437ff75d9bd: Waiting [2023-11-08T19:04:04.225Z] d65c8cfc05b1: Waiting [2023-11-08T19:04:04.225Z] 765212b225bb: Waiting [2023-11-08T19:04:04.225Z] f23df028b6ca: Waiting [2023-11-08T19:04:04.495Z] 04944245beec: Verifying Checksum [2023-11-08T19:04:04.495Z] 04944245beec: Download complete [2023-11-08T19:04:04.495Z] 765212b225bb: Verifying Checksum [2023-11-08T19:04:04.495Z] 765212b225bb: Download complete [2023-11-08T19:04:04.495Z] f23df028b6ca: Verifying Checksum [2023-11-08T19:04:04.495Z] f23df028b6ca: Download complete [2023-11-08T19:04:04.495Z] d65c8cfc05b1: Verifying Checksum [2023-11-08T19:04:04.495Z] d65c8cfc05b1: Download complete [2023-11-08T19:04:04.495Z] 699f458cf7ca: Verifying Checksum [2023-11-08T19:04:04.495Z] 699f458cf7ca: Download complete [2023-11-08T19:04:05.081Z] 8998bd30e6a1: Download complete [2023-11-08T19:04:07.672Z] 2437ff75d9bd: Verifying Checksum [2023-11-08T19:04:07.672Z] 2437ff75d9bd: Download complete [2023-11-08T19:04:09.619Z] 8998bd30e6a1: Pull complete [2023-11-08T19:04:09.885Z] 04944245beec: Pull complete [2023-11-08T19:04:11.297Z] 699f458cf7ca: Pull complete [2023-11-08T19:04:11.568Z] 765212b225bb: Pull complete [2023-11-08T19:04:12.530Z] f23df028b6ca: Pull complete [2023-11-08T19:04:12.797Z] d65c8cfc05b1: Pull complete [2023-11-08T19:04:31.048Z] 2437ff75d9bd: Pull complete [2023-11-08T19:04:31.048Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-11-08T19:04:31.048Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-11-08T19:04:31.048Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-08T19:04:31.315Z] prd-ubuntu20.04-docker-arm64-4c-16g-17077 does not seem to be running inside a container [2023-11-08T19:04:31.386Z] $ 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/23 -v /w/workspace/device-sdk-c/23:/w/workspace/device-sdk-c/23:rw,z -v /w/workspace/device-sdk-c/23@tmp:/w/workspace/device-sdk-c/23@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 [2023-11-08T19:04:32.996Z] $ docker top 3278092b0c19f773e94100cadc3f584b8bcdc051a537ec5b328eab817afef0cb -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-08T19:04:33.874Z] ---> job-cost.sh [2023-11-08T19:04:33.874Z] lf-activate-venv: SKIPPING [2023-11-08T19:04:33.874Z] INFO: No Stack... [2023-11-08T19:04:34.460Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-11-08T19:04:35.047Z] INFO: Archiving Costs [Pipeline] sh [2023-11-08T19:04:35.710Z] + cat /w/workspace/device-sdk-c/23/archives/cost.csv [2023-11-08T19:04:35.710Z] + cut -d, -f6 [Pipeline] lock [2023-11-08T19:04:35.785Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-444-23-stack-cost] [2023-11-08T19:04:35.795Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-444-23-stack-cost] did not exist. Created. [2023-11-08T19:04:35.795Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-444-23-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-11-08T19:04:36.455Z] /w/workspace/device-sdk-c/23@tmp/durable-32945352/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-11-08T19:04:37.123Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-11-08T19:04:37.152Z] Warning: overwriting stash ‘stack-cost’ [2023-11-08T19:04:37.648Z] Stashed 1 file(s) [Pipeline] } [2023-11-08T19:04:37.659Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-444-23-stack-cost] [Pipeline] // lock [Pipeline] } [2023-11-08T19:04:37.680Z] $ docker stop --time=1 3278092b0c19f773e94100cadc3f584b8bcdc051a537ec5b328eab817afef0cb [2023-11-08T19:04:39.205Z] $ docker rm -f --volumes 3278092b0c19f773e94100cadc3f584b8bcdc051a537ec5b328eab817afef0cb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-11-08T19:04:39.455Z] 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 [2023-11-08T19:04:39.976Z] + [ -d /w/workspace/edgexfoundry_device-sdk-c_PR-444/archives ] [2023-11-08T19:04:39.976Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-444/archives [2023-11-08T19:04:39.976Z] total 16 [2023-11-08T19:04:39.976Z] drwxr-xr-x 3 root root 4096 Nov 8 19:00 . [2023-11-08T19:04:39.976Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 8 19:00 .. [2023-11-08T19:04:39.976Z] drwxr-xr-x 2 root root 4096 Nov 8 19:00 cost [2023-11-08T19:04:39.976Z] -rw-r--r-- 1 root root 85 Nov 8 19:00 cost.csv [2023-11-08T19:04:39.976Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_PR-444/archives [2023-11-08T19:04:39.976Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-444/archives [2023-11-08T19:04:39.976Z] total 16 [2023-11-08T19:04:39.976Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 8 19:00 . [2023-11-08T19:04:39.976Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 8 19:00 .. [2023-11-08T19:04:39.976Z] drwxr-xr-x 2 jenkins jenkins 4096 Nov 8 19:00 cost [2023-11-08T19:04:39.976Z] -rw-r--r-- 1 jenkins jenkins 85 Nov 8 19:00 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-11-08T19:04:40.275Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-08T19:04:41.138Z] ---> package-listing.sh [2023-11-08T19:04:41.138Z] ++ facter osfamily [2023-11-08T19:04:41.138Z] ++ tr '[:upper:]' '[:lower:]' [2023-11-08T19:04:41.398Z] + OS_FAMILY=debian [2023-11-08T19:04:41.398Z] + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-444 [2023-11-08T19:04:41.398Z] + START_PACKAGES=/tmp/packages_start.txt [2023-11-08T19:04:41.398Z] + END_PACKAGES=/tmp/packages_end.txt [2023-11-08T19:04:41.398Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-11-08T19:04:41.398Z] + PACKAGES=/tmp/packages_start.txt [2023-11-08T19:04:41.398Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-444 ']' [2023-11-08T19:04:41.398Z] + PACKAGES=/tmp/packages_end.txt [2023-11-08T19:04:41.398Z] + case "${OS_FAMILY}" in [2023-11-08T19:04:41.398Z] + dpkg -l [2023-11-08T19:04:41.398Z] + grep '^ii' [2023-11-08T19:04:41.398Z] + '[' -f /tmp/packages_start.txt ']' [2023-11-08T19:04:41.398Z] + '[' -f /tmp/packages_end.txt ']' [2023-11-08T19:04:41.398Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-11-08T19:04:41.398Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-444 ']' [2023-11-08T19:04:41.398Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-444/archives/ [2023-11-08T19:04:41.398Z] + 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 [2023-11-08T19:04:41.413Z] 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 [2023-11-08T19:04:41.693Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T19:04:42.251Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-08T19:04:42.251Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-08T19:04:42.332Z] prd-ubuntu20.04-docker-8c-8g-17071 does not seem to be running inside a container [2023-11-08T19:04:42.362Z] $ 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 [2023-11-08T19:04:42.605Z] $ docker top cc40106102de9580a79ad26cf0d8096d06b47a8f98f5136f4f9e11472f49b6e4 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-08T19:04:42.953Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-11-08T19:04:43.237Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-11-08T19:04:43.523Z] + ls /var/log/sa-host [2023-11-08T19:04:43.523Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-08T19:04:43.592Z] provisioning config files... [2023-11-08T19:04:43.599Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-444@tmp/config13447045650511574764tmp [Pipeline] { [Pipeline] echo [2023-11-08T19:04:43.613Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-08T19:04:43.896Z] ---> create-netrc.sh [Pipeline] } [2023-11-08T19:04:43.904Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-11-08T19:04:44.227Z] ---> python-tools-install.sh [Pipeline] echo [2023-11-08T19:04:44.237Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-08T19:04:44.524Z] ---> sudo-logs.sh [2023-11-08T19:04:44.524Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-11-08T19:04:44.557Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-08T19:04:44.843Z] ---> job-cost.sh [2023-11-08T19:04:44.843Z] lf-activate-venv: SKIPPING [2023-11-08T19:04:44.843Z] DEBUG: total: 0.2199999988079071 [2023-11-08T19:04:44.843Z] INFO: Retrieving Stack Cost... [2023-11-08T19:04:45.104Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-11-08T19:04:45.674Z] INFO: Archiving Costs [Pipeline] echo [2023-11-08T19:04:45.689Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-08T19:04:45.974Z] ---> logs-deploy.sh [2023-11-08T19:04:45.974Z] lf-activate-venv: SKIPPING [2023-11-08T19:04:45.974Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-444/23 [2023-11-08T19:04:45.974Z] INFO: archiving workspace using pattern(s): [2023-11-08T19:04:46.913Z] Archives upload complete. [2023-11-08T19:04:46.913Z] INFO: archiving logs to Nexus