Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of TuhinDasgupta-eaton for edgexfoundry/device-sdk-c Loading trusted files from base branch main at 3bd72eafd135fc13cc0388e2e4a2395f7020de89 rather than 2ab919ba902543e8751b24cbae806de0a32484ea Obtained Jenkinsfile from 3bd72eafd135fc13cc0388e2e4a2395f7020de89 Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh2372971660250258785.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision e40317f62605a4f3b5f0b8a3ca7537e8fb1ff910 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh14883440727457591236.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision e40317f62605a4f3b5f0b8a3ca7537e8fb1ff910 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-444/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-444/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12678775053873275325.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision e40317f62605a4f3b5f0b8a3ca7537e8fb1ff910 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f e40317f62605a4f3b5f0b8a3ca7537e8fb1ff910 # timeout=10 Commit message: "Merge pull request #433 from ernestojeda/release-vanity-tag" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh8350379705990163726.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-444/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-444/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh15805257218590407563.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildCApp] RAW Config: [project:device-sdk-c, dockerBuildFilePath:scripts/Dockerfile.alpine-base, dockerFilePath:scripts/Dockerfile.alpine, pushImage:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildCApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-c-settings PROJECT: device-sdk-c USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build DOCKER_FILE_PATH: scripts/Dockerfile.alpine DOCKER_BUILD_FILE_PATH: scripts/Dockerfile.alpine-base DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-3298 in /w/workspace/edgexfoundry_device-sdk-c_PR-444 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-c.git > git init /w/workspace/edgexfoundry_device-sdk-c_PR-444 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/444/head:refs/remotes/origin/PR-444 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 3bd72eafd135fc13cc0388e2e4a2395f7020de89 into PR head commit 2ab919ba902543e8751b24cbae806de0a32484ea Merge succeeded, producing df6cc074cb5f9ff3253d11a4561a9f31fa6c824e Checking out Revision df6cc074cb5f9ff3253d11a4561a9f31fa6c824e (PR-444) > git config core.sparsecheckout # timeout=10 > git checkout -f 2ab919ba902543e8751b24cbae806de0a32484ea # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 3bd72eafd135fc13cc0388e2e4a2395f7020de89 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f df6cc074cb5f9ff3253d11a4561a9f31fa6c824e # timeout=10 Commit message: "Merge commit '3bd72eafd135fc13cc0388e2e4a2395f7020de89' into HEAD" First time build. Skipping changelog. > git rev-list --no-walk 842193bb75d582665ce2c7684ed7c020d3118fa9 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-08-10T18:55:32.837Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-08-10T18:55:32.899Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-08-10T18:55:32.913Z] ========================================================= [2023-08-10T18:55:32.913Z] EdgeX Global Pipelines Version Info [2023-08-10T18:55:32.913Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-08-10T18:55:33.607Z] ------------------- [2023-08-10T18:55:33.607Z] stable info: [2023-08-10T18:55:33.607Z] ------------------- [2023-08-10T18:55:33.607Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-08-10T18:55:33.607Z] Commit SHA: e40317f62605a4f3b5f0b8a3ca7537e8fb1ff910 [2023-08-10T18:55:33.607Z] Message: update stable to v1.0.252 [2023-08-10T18:55:34.177Z] ------------------- [2023-08-10T18:55:34.177Z] experimental info: [2023-08-10T18:55:34.177Z] ------------------- [2023-08-10T18:55:34.177Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-08-10T18:55:34.177Z] Commit SHA: e40317f62605a4f3b5f0b8a3ca7537e8fb1ff910 [2023-08-10T18:55:34.177Z] Message: update experimental to v1.0.252 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-08-10T18:55:34.349Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo [2023-08-10T18:55:34.361Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo [2023-08-10T18:55:34.370Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-08-10T18:55:34.378Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-08-10T18:55:34.386Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-08-10T18:55:34.393Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo [2023-08-10T18:55:34.410Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo [2023-08-10T18:55:34.425Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-08-10T18:55:34.441Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-08-10T18:55:34.452Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo [2023-08-10T18:55:34.463Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-08-10T18:55:34.474Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-08-10T18:55:34.485Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-08-10T18:55:34.498Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-08-10T18:55:34.508Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-08-10T18:55:34.520Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-08-10T18:55:34.531Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-08-10T18:55:34.542Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-444 [Pipeline] echo [2023-08-10T18:55:34.553Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-444 [Pipeline] echo [2023-08-10T18:55:34.565Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-444 [Pipeline] echo [2023-08-10T18:55:34.578Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = df6cc074cb5f9ff3253d11a4561a9f31fa6c824e [Pipeline] echo [2023-08-10T18:55:34.590Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = df6cc07 [Pipeline] echo [2023-08-10T18:55:34.605Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-10T18:55:34.646Z] provisioning config files... [2023-08-10T18:55:34.662Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-444@tmp/config5125691855793149072tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-10T18:55:34.965Z] ---> docker-login.sh [2023-08-10T18:55:34.965Z] nexus3.edgexfoundry.org:10001 [2023-08-10T18:55:35.226Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-10T18:55:35.490Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-10T18:55:35.490Z] Configure a credential helper to remove this warning. See [2023-08-10T18:55:35.490Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-10T18:55:35.490Z] [2023-08-10T18:55:35.490Z] Login Succeeded [2023-08-10T18:55:35.490Z] nexus3.edgexfoundry.org:10002 [2023-08-10T18:55:35.490Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-10T18:55:35.490Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-10T18:55:35.490Z] Configure a credential helper to remove this warning. See [2023-08-10T18:55:35.490Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-10T18:55:35.490Z] [2023-08-10T18:55:35.490Z] Login Succeeded [2023-08-10T18:55:35.490Z] nexus3.edgexfoundry.org:10003 [2023-08-10T18:55:35.490Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-10T18:55:35.750Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-10T18:55:35.750Z] Configure a credential helper to remove this warning. See [2023-08-10T18:55:35.750Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-10T18:55:35.750Z] [2023-08-10T18:55:35.750Z] Login Succeeded [2023-08-10T18:55:35.750Z] nexus3.edgexfoundry.org:10004 [2023-08-10T18:55:35.750Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-10T18:55:35.750Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-10T18:55:35.750Z] Configure a credential helper to remove this warning. See [2023-08-10T18:55:35.750Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-10T18:55:35.750Z] [2023-08-10T18:55:35.750Z] Login Succeeded [2023-08-10T18:55:35.750Z] docker.io [2023-08-10T18:55:35.750Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-10T18:55:36.011Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-10T18:55:36.011Z] Configure a credential helper to remove this warning. See [2023-08-10T18:55:36.011Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-10T18:55:36.011Z] [2023-08-10T18:55:36.011Z] Login Succeeded [2023-08-10T18:55:36.011Z] ---> docker-login.sh ends [Pipeline] } [2023-08-10T18:55:36.019Z] 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-08-10T18:55:36.391Z] + git rev-list -1 --merges df6cc074cb5f9ff3253d11a4561a9f31fa6c824e~1..df6cc074cb5f9ff3253d11a4561a9f31fa6c824e [Pipeline] echo [2023-08-10T18:55:36.440Z] -----------> git rev-list -1 --merges df6cc074cb5f9ff3253d11a4561a9f31fa6c824e~1..df6cc074cb5f9ff3253d11a4561a9f31fa6c824e df6cc074cb5f9ff3253d11a4561a9f31fa6c824e [2023-08-10T18:55:36.440Z] df6cc074cb5f9ff3253d11a4561a9f31fa6c824e [false] [Pipeline] sh [2023-08-10T18:55:36.764Z] + git log --format=format:%s -1 df6cc074cb5f9ff3253d11a4561a9f31fa6c824e [Pipeline] echo [2023-08-10T18:55:36.795Z] ========================================================= [2023-08-10T18:55:36.795Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-08-10T18:55:36.795Z] ========================================================= 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-08-10T18:55:37.176Z] + git rev-list -1 --merges df6cc074cb5f9ff3253d11a4561a9f31fa6c824e~1..df6cc074cb5f9ff3253d11a4561a9f31fa6c824e [Pipeline] echo [2023-08-10T18:55:37.187Z] -----------> git rev-list -1 --merges df6cc074cb5f9ff3253d11a4561a9f31fa6c824e~1..df6cc074cb5f9ff3253d11a4561a9f31fa6c824e df6cc074cb5f9ff3253d11a4561a9f31fa6c824e [2023-08-10T18:55:37.187Z] df6cc074cb5f9ff3253d11a4561a9f31fa6c824e [false] [Pipeline] sh [2023-08-10T18:55:37.473Z] + git log --format=format:%s -1 df6cc074cb5f9ff3253d11a4561a9f31fa6c824e [Pipeline] echo [2023-08-10T18:55:37.486Z] ========================================================= [2023-08-10T18:55:37.486Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-08-10T18:55:37.486Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh [2023-08-10T18:55:37.896Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-08-10T18:55:37.896Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-08-10T18:55:37.896Z] + [ -e /tmp/ssh_known_hosts ] [2023-08-10T18:55:37.896Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-08-10T18:55:37.896Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-08-10T18:55:37.896Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-08-10T18:55:37.896Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-10T18:55:38.317Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-10T18:55:38.317Z] [2023-08-10T18:55:38.317Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-10T18:55:38.617Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-10T18:55:38.617Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-08-10T18:55:38.617Z] b85a868b505f: Pulling fs layer [2023-08-10T18:55:38.617Z] e2be974225ed: Pulling fs layer [2023-08-10T18:55:38.617Z] 339a4e72a1f5: Pulling fs layer [2023-08-10T18:55:38.617Z] 988bab9f4d93: Pulling fs layer [2023-08-10T18:55:38.617Z] 1469e6f7b9e6: Pulling fs layer [2023-08-10T18:55:38.617Z] eaf3925da568: Pulling fs layer [2023-08-10T18:55:38.617Z] bab4dde63d76: Pulling fs layer [2023-08-10T18:55:38.617Z] bde34c3a00c8: Pulling fs layer [2023-08-10T18:55:38.617Z] b352a97aabf1: Pulling fs layer [2023-08-10T18:55:38.617Z] 4872d77fe225: Pulling fs layer [2023-08-10T18:55:38.617Z] 5851b861e8e6: Pulling fs layer [2023-08-10T18:55:38.617Z] 988bab9f4d93: Waiting [2023-08-10T18:55:38.617Z] bab4dde63d76: Waiting [2023-08-10T18:55:38.617Z] 1469e6f7b9e6: Waiting [2023-08-10T18:55:38.617Z] bde34c3a00c8: Waiting [2023-08-10T18:55:38.617Z] 4872d77fe225: Waiting [2023-08-10T18:55:38.617Z] b352a97aabf1: Waiting [2023-08-10T18:55:38.617Z] 5851b861e8e6: Waiting [2023-08-10T18:55:38.617Z] eaf3925da568: Waiting [2023-08-10T18:55:38.617Z] e2be974225ed: Verifying Checksum [2023-08-10T18:55:38.617Z] e2be974225ed: Download complete [2023-08-10T18:55:38.617Z] 988bab9f4d93: Download complete [2023-08-10T18:55:38.617Z] 1469e6f7b9e6: Verifying Checksum [2023-08-10T18:55:38.617Z] 1469e6f7b9e6: Download complete [2023-08-10T18:55:38.617Z] eaf3925da568: Download complete [2023-08-10T18:55:38.876Z] 339a4e72a1f5: Verifying Checksum [2023-08-10T18:55:38.876Z] 339a4e72a1f5: Download complete [2023-08-10T18:55:38.876Z] bde34c3a00c8: Download complete [2023-08-10T18:55:38.876Z] b352a97aabf1: Download complete [2023-08-10T18:55:38.876Z] 4872d77fe225: Verifying Checksum [2023-08-10T18:55:38.876Z] 4872d77fe225: Download complete [2023-08-10T18:55:38.876Z] 5851b861e8e6: Download complete [2023-08-10T18:55:38.876Z] b85a868b505f: Verifying Checksum [2023-08-10T18:55:38.876Z] b85a868b505f: Download complete [2023-08-10T18:55:39.135Z] bab4dde63d76: Verifying Checksum [2023-08-10T18:55:39.135Z] bab4dde63d76: Download complete [2023-08-10T18:55:40.070Z] b85a868b505f: Pull complete [2023-08-10T18:55:40.070Z] e2be974225ed: Pull complete [2023-08-10T18:55:40.642Z] 339a4e72a1f5: Pull complete [2023-08-10T18:55:40.642Z] 988bab9f4d93: Pull complete [2023-08-10T18:55:40.901Z] 1469e6f7b9e6: Pull complete [2023-08-10T18:55:40.901Z] eaf3925da568: Pull complete [2023-08-10T18:55:42.803Z] bab4dde63d76: Pull complete [2023-08-10T18:55:42.803Z] bde34c3a00c8: Pull complete [2023-08-10T18:55:42.803Z] b352a97aabf1: Pull complete [2023-08-10T18:55:42.803Z] 4872d77fe225: Pull complete [2023-08-10T18:55:42.803Z] 5851b861e8e6: Pull complete [2023-08-10T18:55:42.803Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-08-10T18:55:42.803Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-10T18:55:42.803Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-10T18:55:42.906Z] prd-ubuntu20.04-docker-8c-8g-3298 does not seem to be running inside a container [2023-08-10T18:55:42.939Z] $ 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-08-10T18:55:46.368Z] $ docker top d3aca224292df3306a036052cef68d9bc278f2a86f254d6392000cf6ddd1582c -eo pid,comm [2023-08-10T18:55:46.415Z] 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-08-10T18:55:46.415Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-08-10T18:55:46.458Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-08-10T18:55:46.458Z] [ssh-agent] Looking for ssh-agent implementation... [2023-08-10T18:55:46.560Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-08-10T18:55:46.567Z] $ docker exec d3aca224292df3306a036052cef68d9bc278f2a86f254d6392000cf6ddd1582c ssh-agent [2023-08-10T18:55:46.658Z] SSH_AUTH_SOCK=/tmp/ssh-EwDHBmtgGxih/agent.32 [2023-08-10T18:55:46.658Z] SSH_AGENT_PID=38 [2023-08-10T18:55:46.664Z] Running ssh-add (command line suppressed) [2023-08-10T18:55:46.768Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-444@tmp/private_key_10451375206382799618.key (/w/workspace/edgexfoundry_device-sdk-c_PR-444@tmp/private_key_10451375206382799618.key) [2023-08-10T18:55:46.777Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-08-10T18:55:47.065Z] + git tag --points-at HEAD [Pipeline] } [2023-08-10T18:55:47.083Z] $ docker exec --env ******** --env ******** d3aca224292df3306a036052cef68d9bc278f2a86f254d6392000cf6ddd1582c ssh-agent -k [2023-08-10T18:55:47.178Z] unset SSH_AUTH_SOCK; [2023-08-10T18:55:47.179Z] unset SSH_AGENT_PID; [2023-08-10T18:55:47.179Z] echo Agent pid 38 killed; [2023-08-10T18:55:47.184Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-08-10T18:55:47.205Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-08-10T18:55:47.205Z] [ssh-agent] Looking for ssh-agent implementation... [2023-08-10T18:55:47.316Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-08-10T18:55:47.321Z] $ docker exec d3aca224292df3306a036052cef68d9bc278f2a86f254d6392000cf6ddd1582c ssh-agent [2023-08-10T18:55:47.427Z] SSH_AUTH_SOCK=/tmp/ssh-XHq1d5ykzr2H/agent.71 [2023-08-10T18:55:47.427Z] SSH_AGENT_PID=77 [2023-08-10T18:55:47.431Z] Running ssh-add (command line suppressed) [2023-08-10T18:55:47.529Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-444@tmp/private_key_8323931049751665368.key (/w/workspace/edgexfoundry_device-sdk-c_PR-444@tmp/private_key_8323931049751665368.key) [2023-08-10T18:55:47.537Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-08-10T18:55:47.822Z] + git semver init [2023-08-10T18:55:48.081Z] 2023-08-10 18:55:47,985 [run_init] DEBUG init version:0.0.0 force:False [2023-08-10T18:55:48.081Z] 2023-08-10 18:55:47,985 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-c_PR-444/.semver [2023-08-10T18:55:48.081Z] 2023-08-10 18:55:47,986 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-c.git /w/workspace/edgexfoundry_device-sdk-c_PR-444/.semver [2023-08-10T18:55:48.081Z] 2023-08-10 18:55:47,986 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-c.git', '/w/workspace/edgexfoundry_device-sdk-c_PR-444/.semver'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-444, universal_newlines=False, shell=None, istream=None) [2023-08-10T18:55:49.017Z] 2023-08-10 18:55:48,816 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-c_PR-444/.git/info/exclude [2023-08-10T18:55:49.017Z] 2023-08-10 18:55:48,816 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-c_PR-444/.semver/PR-444 with force:False [2023-08-10T18:55:49.017Z] 2023-08-10 18:55:48,817 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-c_PR-444/.semver/PR-444 [2023-08-10T18:55:49.017Z] 2023-08-10 18:55:48,820 [execute] INFO git cat-file --batch-check [2023-08-10T18:55:49.017Z] 2023-08-10 18:55:48,820 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-444/.semver, universal_newlines=False, shell=None, istream=) [2023-08-10T18:55:49.017Z] 2023-08-10 18:55:48,826 [execute] INFO git cat-file --batch [2023-08-10T18:55:49.017Z] 2023-08-10 18:55:48,827 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-444/.semver, universal_newlines=False, shell=None, istream=) [2023-08-10T18:55:49.017Z] 2023-08-10 18:55:48,832 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_PR-444/.semver/PR-444 [2023-08-10T18:55:49.017Z] 0.0.0 [Pipeline] } [2023-08-10T18:55:49.030Z] $ docker exec --env ******** --env ******** d3aca224292df3306a036052cef68d9bc278f2a86f254d6392000cf6ddd1582c ssh-agent -k [2023-08-10T18:55:49.129Z] unset SSH_AUTH_SOCK; [2023-08-10T18:55:49.130Z] unset SSH_AGENT_PID; [2023-08-10T18:55:49.130Z] echo Agent pid 77 killed; [2023-08-10T18:55:49.137Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-08-10T18:55:49.444Z] + git semver [Pipeline] } [2023-08-10T18:55:49.719Z] $ docker stop --time=1 d3aca224292df3306a036052cef68d9bc278f2a86f254d6392000cf6ddd1582c [2023-08-10T18:55:51.010Z] $ docker rm -f --volumes d3aca224292df3306a036052cef68d9bc278f2a86f254d6392000cf6ddd1582c [Pipeline] // withDockerContainer [Pipeline] sh [2023-08-10T18:55:51.334Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-08-10T18:55:51.509Z] Stashed 1 file(s) [Pipeline] echo [2023-08-10T18:55:51.512Z] [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-08-10T18:55:51.652Z] provisioning config files... [2023-08-10T18:55:51.660Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-444@tmp/config375885263656290830tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-10T18:55:51.956Z] ---> docker-login.sh [2023-08-10T18:55:51.956Z] nexus3.edgexfoundry.org:10001 [2023-08-10T18:55:51.956Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-10T18:55:51.956Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-10T18:55:51.956Z] Configure a credential helper to remove this warning. See [2023-08-10T18:55:51.956Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-10T18:55:51.956Z] [2023-08-10T18:55:51.956Z] Login Succeeded [2023-08-10T18:55:51.956Z] nexus3.edgexfoundry.org:10002 [2023-08-10T18:55:51.956Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-10T18:55:51.956Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-10T18:55:51.956Z] Configure a credential helper to remove this warning. See [2023-08-10T18:55:51.956Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-10T18:55:51.956Z] [2023-08-10T18:55:51.956Z] Login Succeeded [2023-08-10T18:55:51.956Z] nexus3.edgexfoundry.org:10003 [2023-08-10T18:55:52.215Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-10T18:55:52.215Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-10T18:55:52.215Z] Configure a credential helper to remove this warning. See [2023-08-10T18:55:52.215Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-10T18:55:52.215Z] [2023-08-10T18:55:52.215Z] Login Succeeded [2023-08-10T18:55:52.215Z] nexus3.edgexfoundry.org:10004 [2023-08-10T18:55:52.215Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-10T18:55:52.215Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-10T18:55:52.215Z] Configure a credential helper to remove this warning. See [2023-08-10T18:55:52.215Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-10T18:55:52.215Z] [2023-08-10T18:55:52.215Z] Login Succeeded [2023-08-10T18:55:52.215Z] docker.io [2023-08-10T18:55:52.215Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-10T18:55:52.474Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-10T18:55:52.474Z] Configure a credential helper to remove this warning. See [2023-08-10T18:55:52.474Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-10T18:55:52.474Z] [2023-08-10T18:55:52.474Z] Login Succeeded [2023-08-10T18:55:52.474Z] ---> docker-login.sh ends [Pipeline] } [2023-08-10T18:55:52.480Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-08-10T18:55:52.548Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-10T18:55:52.560Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo [2023-08-10T18:55:52.572Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-10T18:55:52.579Z] ========================================================= [2023-08-10T18:55:52.579Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] [2023-08-10T18:55:52.579Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-10T18:55:52.877Z] + 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-08-10T18:55:52.878Z] Sending build context to Docker daemon 4.935MB [2023-08-10T18:55:52.878Z] Step 1/21 : ARG BASE=alpine:3.16 [2023-08-10T18:55:52.878Z] Step 2/21 : FROM ${BASE} as builder [2023-08-10T18:55:52.878Z] latest: Pulling from edgex-devops/edgex-gcc-base [2023-08-10T18:55:52.878Z] 91d30c5bc195: Pulling fs layer [2023-08-10T18:55:52.878Z] 316e5a4585fb: Pulling fs layer [2023-08-10T18:55:52.878Z] 91d30c5bc195: Verifying Checksum [2023-08-10T18:55:53.136Z] 91d30c5bc195: Pull complete [2023-08-10T18:55:53.703Z] 316e5a4585fb: Download complete [2023-08-10T18:55:56.230Z] 316e5a4585fb: Pull complete [2023-08-10T18:55:56.230Z] Digest: sha256:46ce083f99ae49712d4f1141acdd2e69c9eb8e11ca29cc7d79d78bb0a10585c4 [2023-08-10T18:55:56.230Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [2023-08-10T18:55:56.230Z] ---> e83ffa357ff4 [2023-08-10T18:55:56.230Z] 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-08-10T18:55:58.134Z] ---> Running in a5fb86cf9ea5 [2023-08-10T18:55:58.134Z] Connecting to iotech.jfrog.io (46.51.205.85:443) [2023-08-10T18:55:58.393Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-08-10T18:55:58.393Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-08-10T18:55:58.393Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-08-10T18:55:58.653Z] Removing intermediate container a5fb86cf9ea5 [2023-08-10T18:55:58.653Z] ---> 468806d00b6e [2023-08-10T18:55:58.653Z] Step 4/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-08-10T18:55:58.653Z] ---> Running in fe13b00a055a [2023-08-10T18:55:59.221Z] Removing intermediate container fe13b00a055a [2023-08-10T18:55:59.221Z] ---> ce17b2f4c49f [2023-08-10T18:55:59.221Z] Step 5/21 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml-dev curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev libcbor-dev paho-mqtt-c-dev-1.3 iotech-iot-1.5-dev hiredis-dev [2023-08-10T18:55:59.221Z] ---> Running in 996f51ac5642 [2023-08-10T18:55:59.479Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-08-10T18:55:59.737Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-08-10T18:55:59.996Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/x86_64/APKINDEX.tar.gz [2023-08-10T18:56:00.562Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-08-10T18:56:00.562Z] (1/16) Upgrading ncurses-terminfo-base (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-08-10T18:56:00.562Z] (2/16) Upgrading ncurses-libs (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-08-10T18:56:00.562Z] (3/16) Installing hiredis (1.0.2-r0) [2023-08-10T18:56:00.562Z] (4/16) Installing hiredis-dev (1.0.2-r0) [2023-08-10T18:56:00.562Z] (5/16) Installing iotech-iot-1.5 (1.5.0-r0) [2023-08-10T18:56:01.130Z] (6/16) Installing iotech-iot-1.5-dev (1.5.0-r0) [2023-08-10T18:56:01.130Z] (7/16) Installing libcbor (0.9.0-r1) [2023-08-10T18:56:01.130Z] (8/16) Installing libcbor-dev (0.9.0-r1) [2023-08-10T18:56:01.130Z] (9/16) Installing ncurses-dev (6.3_p20220521-r1) [2023-08-10T18:56:01.390Z] (10/16) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) [2023-08-10T18:56:01.958Z] (11/16) Installing libblkid (2.38-r1) [2023-08-10T18:56:01.958Z] (12/16) Installing libuuid (2.38-r1) [2023-08-10T18:56:01.958Z] (13/16) Installing libfdisk (2.38-r1) [2023-08-10T18:56:02.281Z] (14/16) Installing libmount (2.38-r1) [2023-08-10T18:56:02.281Z] (15/16) Installing libsmartcols (2.38-r1) [2023-08-10T18:56:02.281Z] (16/16) Installing util-linux-dev (2.38-r1) [2023-08-10T18:56:02.281Z] Executing busybox-1.35.0-r17.trigger [2023-08-10T18:56:02.281Z] OK: 280 MiB in 90 packages [2023-08-10T18:56:02.850Z] Removing intermediate container 996f51ac5642 [2023-08-10T18:56:02.851Z] ---> 4d20c39ad1a7 [2023-08-10T18:56:02.851Z] Step 6/21 : RUN mkdir /tmp/sdk [2023-08-10T18:56:02.851Z] ---> Running in 498ae5ba910f [2023-08-10T18:56:03.417Z] Removing intermediate container 498ae5ba910f [2023-08-10T18:56:03.417Z] ---> 22963a32736b [2023-08-10T18:56:03.417Z] Step 7/21 : COPY VERSION /tmp/sdk [2023-08-10T18:56:03.417Z] ---> fa0639e3080e [2023-08-10T18:56:03.417Z] Step 8/21 : COPY src /tmp/sdk/src [2023-08-10T18:56:03.675Z] ---> 4754cc6582e4 [2023-08-10T18:56:03.675Z] Step 9/21 : COPY include /tmp/sdk/include [2023-08-10T18:56:03.675Z] ---> cf01a3f45745 [2023-08-10T18:56:03.675Z] Step 10/21 : COPY scripts /tmp/sdk/scripts [2023-08-10T18:56:03.934Z] ---> 17a967d5a9d2 [2023-08-10T18:56:03.934Z] Step 11/21 : COPY LICENSE /tmp/sdk [2023-08-10T18:56:03.934Z] ---> dbe4242cdca3 [2023-08-10T18:56:03.934Z] Step 12/21 : COPY Attribution.txt /tmp/sdk [2023-08-10T18:56:03.934Z] ---> 2346485b9c0d [2023-08-10T18:56:03.934Z] Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2023-08-10T18:56:04.192Z] ---> Running in 579d9bf2fba0 [2023-08-10T18:56:04.450Z] + CPPCHECK=false [2023-08-10T18:56:04.450Z] + DOCGEN=false [2023-08-10T18:56:04.450Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2023-08-10T18:56:04.450Z] + '[' 0 -gt 0 ] [2023-08-10T18:56:04.450Z] + readlink -f ./scripts/build.sh [2023-08-10T18:56:04.450Z] + dirname /tmp/sdk/scripts/build.sh [2023-08-10T18:56:04.450Z] + dirname /tmp/sdk/scripts [2023-08-10T18:56:04.450Z] + ROOT=/tmp/sdk [2023-08-10T18:56:04.450Z] + cd /tmp/sdk [2023-08-10T18:56:04.450Z] + mkdir -p /tmp/sdk/build/release [2023-08-10T18:56:04.450Z] + cd /tmp/sdk/build/release [2023-08-10T18:56:04.450Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2023-08-10T18:56:04.450Z] -- The C compiler identification is GNU 11.2.1 [2023-08-10T18:56:04.450Z] -- Detecting C compiler ABI info [2023-08-10T18:56:04.450Z] -- Detecting C compiler ABI info - done [2023-08-10T18:56:04.450Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-08-10T18:56:04.450Z] -- Detecting C compile features [2023-08-10T18:56:04.450Z] -- Detecting C compile features - done [2023-08-10T18:56:04.450Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-08-10T18:56:04.450Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.0.1") [2023-08-10T18:56:04.709Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-08-10T18:56:04.709Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-08-10T18:56:04.709Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-08-10T18:56:04.709Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-08-10T18:56:04.709Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-08-10T18:56:04.709Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2023-08-10T18:56:04.709Z] -- /opt/iotech/iot/1.5/include [2023-08-10T18:56:04.709Z] -- C SDK 0.0.0 for Linux [2023-08-10T18:56:04.709Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-08-10T18:56:04.709Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-08-10T18:56:04.709Z] -- Found Curses: /usr/lib/libcurses.so [2023-08-10T18:56:04.709Z] -- Configuring done [2023-08-10T18:56:04.709Z] -- Generating done [2023-08-10T18:56:04.709Z] -- Build files have been written to: /tmp/sdk/build/release [2023-08-10T18:56:04.709Z] + make+ all package [2023-08-10T18:56:04.709Z] tee release.log [2023-08-10T18:56:04.709Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-08-10T18:56:04.968Z] In file included from /tmp/sdk/src/c/autoevent.c:9: [2023-08-10T18:56:04.968Z] /tmp/sdk/src/c/autoevent.h:25:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] [2023-08-10T18:56:04.968Z] 25 | void clear_ae_signals (); [2023-08-10T18:56:04.968Z] | ^~~~ [2023-08-10T18:56:04.968Z] /tmp/sdk/src/c/autoevent.c: In function 'edgex_device_autoevent_start': [2023-08-10T18:56:04.968Z] /tmp/sdk/src/c/autoevent.c:170:47: error: expected ';' before '}' token [2023-08-10T18:56:04.968Z] 170 | init_flg_slv = sem_init (&slv_mutex, 0, 1) [2023-08-10T18:56:04.968Z] | ^ [2023-08-10T18:56:04.968Z] | ; [2023-08-10T18:56:04.968Z] 171 | } [2023-08-10T18:56:04.968Z] | ~ [2023-08-10T18:56:04.968Z] /tmp/sdk/src/c/autoevent.c: At top level: [2023-08-10T18:56:04.968Z] /tmp/sdk/src/c/autoevent.c:278:6: warning: function declaration isn't a prototype [-Wstrict-prototypes] [2023-08-10T18:56:04.968Z] 278 | void clear_ae_signals () [2023-08-10T18:56:04.968Z] | ^~~~~~~~~~~~~~~~ [2023-08-10T18:56:04.968Z] make[2]: *** [c/CMakeFiles/csdk.dir/build.make:76: c/CMakeFiles/csdk.dir/autoevent.c.o] Error 1 [2023-08-10T18:56:04.968Z] make[1]: *** [CMakeFiles/Makefile2:240: c/CMakeFiles/csdk.dir/all] Error 2 [2023-08-10T18:56:04.968Z] make: *** [Makefile:156: all] Error 2 [2023-08-10T18:56:04.968Z] + '[' false '=' true ] [2023-08-10T18:56:04.968Z] + '[' false '=' true ] [2023-08-10T18:56:04.968Z] + mkdir -p /tmp/sdk/build/debug [2023-08-10T18:56:04.968Z] + cd /tmp/sdk/build/debug [2023-08-10T18:56:04.968Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2023-08-10T18:56:04.968Z] -- The C compiler identification is GNU 11.2.1 [2023-08-10T18:56:04.968Z] -- Detecting C compiler ABI info [2023-08-10T18:56:04.968Z] -- Detecting C compiler ABI info - done [2023-08-10T18:56:04.968Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-08-10T18:56:04.968Z] -- Detecting C compile features [2023-08-10T18:56:04.968Z] -- Detecting C compile features - done [2023-08-10T18:56:04.968Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-08-10T18:56:05.226Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.0.1") [2023-08-10T18:56:05.226Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-08-10T18:56:05.226Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-08-10T18:56:05.226Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-08-10T18:56:05.226Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-08-10T18:56:05.226Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-08-10T18:56:05.226Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2023-08-10T18:56:05.226Z] -- /opt/iotech/iot/1.5/include [2023-08-10T18:56:05.226Z] -- C SDK 0.0.0 for Linux [2023-08-10T18:56:05.227Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-08-10T18:56:05.227Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-08-10T18:56:05.227Z] -- Found Curses: /usr/lib/libcurses.so [2023-08-10T18:56:05.227Z] -- Configuring done [2023-08-10T18:56:05.227Z] -- Generating done [2023-08-10T18:56:05.227Z] -- Build files have been written to: /tmp/sdk/build/debug [2023-08-10T18:56:05.227Z] + make [2023-08-10T18:56:05.227Z] + tee debug.log [2023-08-10T18:56:05.227Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-08-10T18:56:05.486Z] In file included from /tmp/sdk/src/c/autoevent.c:9: [2023-08-10T18:56:05.486Z] /tmp/sdk/src/c/autoevent.h:25:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] [2023-08-10T18:56:05.486Z] 25 | void clear_ae_signals (); [2023-08-10T18:56:05.486Z] | ^~~~ [2023-08-10T18:56:05.486Z] /tmp/sdk/src/c/autoevent.c: In function 'edgex_device_autoevent_start': [2023-08-10T18:56:05.486Z] /tmp/sdk/src/c/autoevent.c:170:47: error: expected ';' before '}' token [2023-08-10T18:56:05.486Z] 170 | init_flg_slv = sem_init (&slv_mutex, 0, 1) [2023-08-10T18:56:05.486Z] | ^ [2023-08-10T18:56:05.486Z] | ; [2023-08-10T18:56:05.486Z] 171 | } [2023-08-10T18:56:05.486Z] | ~ [2023-08-10T18:56:05.486Z] /tmp/sdk/src/c/autoevent.c: At top level: [2023-08-10T18:56:05.486Z] /tmp/sdk/src/c/autoevent.c:278:6: warning: function declaration isn't a prototype [-Wstrict-prototypes] [2023-08-10T18:56:05.486Z] 278 | void clear_ae_signals () [2023-08-10T18:56:05.486Z] | ^~~~~~~~~~~~~~~~ [2023-08-10T18:56:05.486Z] make[2]: *** [c/CMakeFiles/csdk.dir/build.make:76: c/CMakeFiles/csdk.dir/autoevent.c.o] Error 1 [2023-08-10T18:56:05.486Z] make[1]: *** [CMakeFiles/Makefile2:240: c/CMakeFiles/csdk.dir/all] Error 2 [2023-08-10T18:56:05.486Z] make: *** [Makefile:156: all] Error 2 [2023-08-10T18:56:05.486Z] make: Entering directory '/tmp/sdk/build/release' [2023-08-10T18:56:05.486Z] make[1]: Entering directory '/tmp/sdk/build/release' [2023-08-10T18:56:05.486Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-08-10T18:56:05.486Z] Consolidate compiler generated dependencies of target csdk [2023-08-10T18:56:05.486Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-08-10T18:56:05.486Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-08-10T18:56:05.486Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-08-10T18:56:05.486Z] In file included from /tmp/sdk/src/c/autoevent.c:9: [2023-08-10T18:56:05.486Z] /tmp/sdk/src/c/autoevent.h:25:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] [2023-08-10T18:56:05.486Z] 25 | void clear_ae_signals (); [2023-08-10T18:56:05.486Z] | ^~~~ [2023-08-10T18:56:05.486Z] /tmp/sdk/src/c/autoevent.c: In function 'edgex_device_autoevent_start': [2023-08-10T18:56:05.486Z] /tmp/sdk/src/c/autoevent.c:170:47: error: expected ';' before '}' token [2023-08-10T18:56:05.486Z] 170 | init_flg_slv = sem_init (&slv_mutex, 0, 1) [2023-08-10T18:56:05.486Z] | ^ [2023-08-10T18:56:05.486Z] | ; [2023-08-10T18:56:05.486Z] 171 | } [2023-08-10T18:56:05.486Z] | ~ [2023-08-10T18:56:05.486Z] /tmp/sdk/src/c/autoevent.c: At top level: [2023-08-10T18:56:05.486Z] /tmp/sdk/src/c/autoevent.c:278:6: warning: function declaration isn't a prototype [-Wstrict-prototypes] [2023-08-10T18:56:05.486Z] 278 | void clear_ae_signals () [2023-08-10T18:56:05.486Z] | ^~~~~~~~~~~~~~~~ [2023-08-10T18:56:05.486Z] make[2]: *** [c/CMakeFiles/csdk.dir/build.make:76: c/CMakeFiles/csdk.dir/autoevent.c.o] Error 1 [2023-08-10T18:56:05.486Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-08-10T18:56:05.486Z] make[1]: *** [CMakeFiles/Makefile2:240: c/CMakeFiles/csdk.dir/all] Error 2 [2023-08-10T18:56:05.486Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2023-08-10T18:56:05.486Z] make: *** [Makefile:156: all] Error 2 [2023-08-10T18:56:05.486Z] make: Leaving directory '/tmp/sdk/build/release' [2023-08-10T18:56:05.745Z] 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-08-10T18:56:06.211Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-10T18:56:06.211Z] [2023-08-10T18:56:06.211Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-10T18:56:06.506Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-10T18:56:06.506Z] latest: Pulling from edgex-lftools-log-publisher [2023-08-10T18:56:06.506Z] 5eb5b503b376: Pulling fs layer [2023-08-10T18:56:06.506Z] 5c69ac0246d0: Pulling fs layer [2023-08-10T18:56:06.506Z] ec43610c2a17: Pulling fs layer [2023-08-10T18:56:06.506Z] 3a2ae6a8a46f: Pulling fs layer [2023-08-10T18:56:06.506Z] 33b1e0a273af: Pulling fs layer [2023-08-10T18:56:06.506Z] 5d3b04190fa2: Pulling fs layer [2023-08-10T18:56:06.506Z] 2f39f015ded8: Pulling fs layer [2023-08-10T18:56:06.506Z] 3a2ae6a8a46f: Waiting [2023-08-10T18:56:06.506Z] 33b1e0a273af: Waiting [2023-08-10T18:56:06.506Z] 5d3b04190fa2: Waiting [2023-08-10T18:56:06.506Z] 2f39f015ded8: Waiting [2023-08-10T18:56:06.506Z] 5c69ac0246d0: Verifying Checksum [2023-08-10T18:56:06.506Z] 5c69ac0246d0: Download complete [2023-08-10T18:56:06.506Z] 3a2ae6a8a46f: Download complete [2023-08-10T18:56:06.506Z] 33b1e0a273af: Verifying Checksum [2023-08-10T18:56:06.506Z] 33b1e0a273af: Download complete [2023-08-10T18:56:06.506Z] 5d3b04190fa2: Download complete [2023-08-10T18:56:06.605Z] Still waiting to schedule task [2023-08-10T18:56:06.605Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-08-10T18:56:06.765Z] ec43610c2a17: Verifying Checksum [2023-08-10T18:56:06.765Z] ec43610c2a17: Download complete [2023-08-10T18:56:06.765Z] 5eb5b503b376: Verifying Checksum [2023-08-10T18:56:06.765Z] 5eb5b503b376: Download complete [2023-08-10T18:56:07.332Z] 2f39f015ded8: Download complete [2023-08-10T18:56:07.899Z] 5eb5b503b376: Pull complete [2023-08-10T18:56:08.157Z] 5c69ac0246d0: Pull complete [2023-08-10T18:56:08.416Z] ec43610c2a17: Pull complete [2023-08-10T18:56:08.675Z] 3a2ae6a8a46f: Pull complete [2023-08-10T18:56:08.675Z] 33b1e0a273af: Pull complete [2023-08-10T18:56:08.675Z] 5d3b04190fa2: Pull complete [2023-08-10T18:56:12.865Z] 2f39f015ded8: Pull complete [2023-08-10T18:56:12.865Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-08-10T18:56:12.865Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-10T18:56:12.865Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-10T18:56:12.944Z] prd-ubuntu20.04-docker-8c-8g-3298 does not seem to be running inside a container [2023-08-10T18:56:12.977Z] $ 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-08-10T18:56:17.005Z] $ docker top d367c5dd7b8186bb8f7a4dfcee656328ad24baa46a73240b4c52c46555f7f9dd -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-10T18:56:17.390Z] ---> job-cost.sh [2023-08-10T18:56:17.390Z] lf-activate-venv: SKIPPING [2023-08-10T18:56:17.390Z] INFO: No Stack... [2023-08-10T18:56:17.959Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-08-10T18:56:18.219Z] INFO: Archiving Costs [Pipeline] sh [2023-08-10T18:56:18.508Z] + cat /w/workspace/edgexfoundry_device-sdk-c_PR-444/archives/cost.csv [2023-08-10T18:56:18.508Z] + cut -d, -f6 [Pipeline] lock [2023-08-10T18:56:18.521Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-444-18-stack-cost] [2023-08-10T18:56:18.528Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-444-18-stack-cost] did not exist. Created. [2023-08-10T18:56:18.528Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-444-18-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-08-10T18:56:18.826Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-08-10T18:56:18.869Z] Stashed 1 file(s) [Pipeline] } [2023-08-10T18:56:18.877Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-444-18-stack-cost] [Pipeline] // lock [Pipeline] } [2023-08-10T18:56:18.896Z] $ docker stop --time=1 d367c5dd7b8186bb8f7a4dfcee656328ad24baa46a73240b4c52c46555f7f9dd [2023-08-10T18:56:20.036Z] $ docker rm -f --volumes d367c5dd7b8186bb8f7a4dfcee656328ad24baa46a73240b4c52c46555f7f9dd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-08-10T18:56:20.142Z] Failed in branch amd64 [2023-08-10T18:57:32.277Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-3299 in /w/workspace/edgexfoundry_device-sdk-c_PR-444 [Pipeline] { [Pipeline] ws [2023-08-10T18:57:32.290Z] Running in /w/workspace/device-sdk-c/18 [Pipeline] { [Pipeline] checkout [2023-08-10T18:57:32.321Z] Selected Git installation does not exist. Using Default [2023-08-10T18:57:32.321Z] The recommended git tool is: NONE [2023-08-10T18:57:37.263Z] using credential edgex-jenkins-ssh [2023-08-10T18:57:37.278Z] Cloning the remote Git repository [2023-08-10T18:57:37.327Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2023-08-10T18:57:37.413Z] > git init /w/workspace/device-sdk-c/18 # timeout=10 [2023-08-10T18:57:37.547Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2023-08-10T18:57:37.548Z] > git --version # timeout=10 [2023-08-10T18:57:37.569Z] > git --version # 'git version 2.25.1' [2023-08-10T18:57:37.571Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-08-10T18:57:37.713Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-08-10T18:57:38.869Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2023-08-10T18:57:38.901Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-08-10T18:57:39.705Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2023-08-10T18:57:39.750Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2023-08-10T18:57:39.751Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-08-10T18:57:39.768Z] > 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-08-10T18:57:40.343Z] Merging remotes/origin/main commit 3bd72eafd135fc13cc0388e2e4a2395f7020de89 into PR head commit 2ab919ba902543e8751b24cbae806de0a32484ea [2023-08-10T18:57:40.811Z] Merge succeeded, producing 285a3887963cb3e07450317f222408a16442ed4c [2023-08-10T18:57:40.812Z] Checking out Revision 285a3887963cb3e07450317f222408a16442ed4c (PR-444) [2023-08-10T18:57:40.367Z] > git config core.sparsecheckout # timeout=10 [2023-08-10T18:57:40.439Z] > git checkout -f 2ab919ba902543e8751b24cbae806de0a32484ea # timeout=10 [2023-08-10T18:57:40.562Z] > git remote # timeout=10 [2023-08-10T18:57:40.584Z] > git config --get remote.origin.url # timeout=10 [2023-08-10T18:57:40.607Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-08-10T18:57:40.621Z] > git merge 3bd72eafd135fc13cc0388e2e4a2395f7020de89 # timeout=10 [2023-08-10T18:57:40.793Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-08-10T18:57:40.821Z] > git config core.sparsecheckout # timeout=10 [2023-08-10T18:57:40.842Z] > git checkout -f 285a3887963cb3e07450317f222408a16442ed4c # timeout=10 [2023-08-10T18:57:44.335Z] Commit message: "Merge commit '3bd72eafd135fc13cc0388e2e4a2395f7020de89' into HEAD" [2023-08-10T18:57:44.357Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-08-10T18:57:45.245Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-08-10T18:57:45.245Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-08-10T18:57:45.245Z] Dload Upload Total Spent Left Speed [2023-08-10T18:57:45.245Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 73705 0 --:--:-- --:--:-- --:--:-- 74133 [2023-08-10T18:57:44.345Z] > git rev-list --no-walk 842193bb75d582665ce2c7684ed7c020d3118fa9 # timeout=10 [Pipeline] sh [2023-08-10T18:57:45.939Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-08-10T18:57:46.260Z] + + sudosudo tee jq /etc/docker/daemon.new . += {"seccomp-profile": "/etc/docker/seccomp.json"} [2023-08-10T18:57:46.260Z] /etc/docker/daemon.json [2023-08-10T18:57:46.260Z] { [2023-08-10T18:57:46.260Z] "registry-mirrors": [ [2023-08-10T18:57:46.260Z] "https://nexus3.edgexfoundry.org:10001" [2023-08-10T18:57:46.260Z] ], [2023-08-10T18:57:46.260Z] "bip": "10.250.0.254/24", [2023-08-10T18:57:46.260Z] "hosts": [ [2023-08-10T18:57:46.260Z] "tcp://0.0.0.0:5555", [2023-08-10T18:57:46.260Z] "unix:///var/run/docker.sock" [2023-08-10T18:57:46.260Z] ], [2023-08-10T18:57:46.260Z] "mtu": 1458, [2023-08-10T18:57:46.260Z] "selinux-enabled": true, [2023-08-10T18:57:46.260Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-08-10T18:57:46.260Z] } [Pipeline] sh [2023-08-10T18:57:46.578Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-08-10T18:57:46.915Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-10T18:58:05.157Z] provisioning config files... [2023-08-10T18:58:05.179Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/18@tmp/config4901161789352864520tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-10T18:58:05.517Z] ---> docker-login.sh [2023-08-10T18:58:05.518Z] nexus3.edgexfoundry.org:10001 [2023-08-10T18:58:05.787Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-10T18:58:06.057Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-10T18:58:06.057Z] Configure a credential helper to remove this warning. See [2023-08-10T18:58:06.057Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-10T18:58:06.057Z] [2023-08-10T18:58:06.057Z] Login Succeeded [2023-08-10T18:58:06.057Z] nexus3.edgexfoundry.org:10002 [2023-08-10T18:58:06.328Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-10T18:58:06.328Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-10T18:58:06.328Z] Configure a credential helper to remove this warning. See [2023-08-10T18:58:06.328Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-10T18:58:06.328Z] [2023-08-10T18:58:06.328Z] Login Succeeded [2023-08-10T18:58:06.328Z] nexus3.edgexfoundry.org:10003 [2023-08-10T18:58:06.599Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-10T18:58:06.868Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-10T18:58:06.868Z] Configure a credential helper to remove this warning. See [2023-08-10T18:58:06.868Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-10T18:58:06.868Z] [2023-08-10T18:58:06.868Z] Login Succeeded [2023-08-10T18:58:06.868Z] nexus3.edgexfoundry.org:10004 [2023-08-10T18:58:07.139Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-10T18:58:07.139Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-10T18:58:07.139Z] Configure a credential helper to remove this warning. See [2023-08-10T18:58:07.139Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-10T18:58:07.139Z] [2023-08-10T18:58:07.139Z] Login Succeeded [2023-08-10T18:58:07.139Z] docker.io [2023-08-10T18:58:07.409Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-10T18:58:07.675Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-10T18:58:07.675Z] Configure a credential helper to remove this warning. See [2023-08-10T18:58:07.675Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-10T18:58:07.675Z] [2023-08-10T18:58:07.675Z] Login Succeeded [2023-08-10T18:58:07.675Z] ---> docker-login.sh ends [Pipeline] } [2023-08-10T18:58:07.689Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-08-10T18:58:07.922Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-10T18:58:07.935Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-arm64 [Pipeline] echo [2023-08-10T18:58:07.948Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-10T18:58:07.960Z] ========================================================= [2023-08-10T18:58:07.960Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] [2023-08-10T18:58:07.960Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-10T18:58:08.292Z] + 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-08-10T18:58:08.562Z] Sending build context to Docker daemon 2.965MB [2023-08-10T18:58:08.562Z] Step 1/21 : ARG BASE=alpine:3.16 [2023-08-10T18:58:08.562Z] Step 2/21 : FROM ${BASE} as builder [2023-08-10T18:58:08.835Z] latest: Pulling from edgex-devops/edgex-gcc-base-arm64 [2023-08-10T18:58:08.835Z] 547446be3368: Pulling fs layer [2023-08-10T18:58:08.835Z] 76bd08e1cacc: Pulling fs layer [2023-08-10T18:58:08.835Z] 547446be3368: Verifying Checksum [2023-08-10T18:58:08.835Z] 547446be3368: Download complete [2023-08-10T18:58:09.426Z] 547446be3368: Pull complete [2023-08-10T18:58:11.380Z] 76bd08e1cacc: Download complete [2023-08-10T18:58:19.614Z] 76bd08e1cacc: Pull complete [2023-08-10T18:58:19.614Z] Digest: sha256:e2ae639067a511a7973e9e369d25ddd915310c8cf663528363fa06e26cb01fbe [2023-08-10T18:58:19.614Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest [2023-08-10T18:58:19.614Z] ---> 295cd00e64f4 [2023-08-10T18:58:19.614Z] 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-08-10T18:58:19.880Z] ---> Running in 3838c4c0be44 [2023-08-10T18:58:20.845Z] Connecting to iotech.jfrog.io (63.32.140.65:443) [2023-08-10T18:58:21.426Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-08-10T18:58:21.426Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-08-10T18:58:21.426Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-08-10T18:58:22.388Z] Removing intermediate container 3838c4c0be44 [2023-08-10T18:58:22.388Z] ---> be9a8b2f341d [2023-08-10T18:58:22.388Z] Step 4/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-08-10T18:58:22.388Z] ---> Running in a3818b3eaa4d [2023-08-10T18:58:23.802Z] Removing intermediate container a3818b3eaa4d [2023-08-10T18:58:23.802Z] ---> f3ea9da36b3a [2023-08-10T18:58:23.802Z] Step 5/21 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml-dev curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev libcbor-dev paho-mqtt-c-dev-1.3 iotech-iot-1.5-dev hiredis-dev [2023-08-10T18:58:24.071Z] ---> Running in df153e74a8fa [2023-08-10T18:58:25.051Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-08-10T18:58:25.051Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-08-10T18:58:25.640Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/aarch64/APKINDEX.tar.gz [2023-08-10T18:58:26.597Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-08-10T18:58:26.597Z] (1/16) Upgrading ncurses-terminfo-base (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-08-10T18:58:26.597Z] (2/16) Upgrading ncurses-libs (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-08-10T18:58:26.597Z] (3/16) Installing hiredis (1.0.2-r0) [2023-08-10T18:58:26.597Z] (4/16) Installing hiredis-dev (1.0.2-r0) [2023-08-10T18:58:26.597Z] (5/16) Installing iotech-iot-1.5 (1.5.0-r0) [2023-08-10T18:58:27.552Z] (6/16) Installing iotech-iot-1.5-dev (1.5.0-r0) [2023-08-10T18:58:27.552Z] (7/16) Installing libcbor (0.9.0-r1) [2023-08-10T18:58:27.552Z] (8/16) Installing libcbor-dev (0.9.0-r1) [2023-08-10T18:58:27.552Z] (9/16) Installing ncurses-dev (6.3_p20220521-r1) [2023-08-10T18:58:27.552Z] (10/16) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) [2023-08-10T18:58:28.508Z] (11/16) Installing libblkid (2.38-r1) [2023-08-10T18:58:28.508Z] (12/16) Installing libuuid (2.38-r1) [2023-08-10T18:58:28.508Z] (13/16) Installing libfdisk (2.38-r1) [2023-08-10T18:58:28.508Z] (14/16) Installing libmount (2.38-r1) [2023-08-10T18:58:28.508Z] (15/16) Installing libsmartcols (2.38-r1) [2023-08-10T18:58:28.508Z] (16/16) Installing util-linux-dev (2.38-r1) [2023-08-10T18:58:28.508Z] Executing busybox-1.35.0-r17.trigger [2023-08-10T18:58:28.508Z] OK: 286 MiB in 90 packages [2023-08-10T18:58:29.916Z] Removing intermediate container df153e74a8fa [2023-08-10T18:58:29.916Z] ---> 1d9ee86176e2 [2023-08-10T18:58:29.916Z] Step 6/21 : RUN mkdir /tmp/sdk [2023-08-10T18:58:29.916Z] ---> Running in 7d51cb754baa [2023-08-10T18:58:31.326Z] Removing intermediate container 7d51cb754baa [2023-08-10T18:58:31.326Z] ---> a80f1e325065 [2023-08-10T18:58:31.326Z] Step 7/21 : COPY VERSION /tmp/sdk [2023-08-10T18:58:31.594Z] ---> d550bbe6f733 [2023-08-10T18:58:31.594Z] Step 8/21 : COPY src /tmp/sdk/src [2023-08-10T18:58:35.845Z] ---> e2dca3ed69dd [2023-08-10T18:58:35.845Z] Step 9/21 : COPY include /tmp/sdk/include [2023-08-10T18:58:36.429Z] ---> 7f418456e95f [2023-08-10T18:58:36.429Z] Step 10/21 : COPY scripts /tmp/sdk/scripts [2023-08-10T18:58:36.697Z] ---> db278965f171 [2023-08-10T18:58:36.697Z] Step 11/21 : COPY LICENSE /tmp/sdk [2023-08-10T18:58:37.281Z] ---> add739cb21c6 [2023-08-10T18:58:37.281Z] Step 12/21 : COPY Attribution.txt /tmp/sdk [2023-08-10T18:58:37.867Z] ---> 869407204c8a [2023-08-10T18:58:37.867Z] Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2023-08-10T18:58:37.867Z] ---> Running in c95a49e302bb [2023-08-10T18:58:38.828Z] + CPPCHECK=false [2023-08-10T18:58:38.828Z] + DOCGEN=false [2023-08-10T18:58:38.828Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2023-08-10T18:58:38.828Z] + '[' 0 -gt 0 ] [2023-08-10T18:58:38.828Z] + readlink -f ./scripts/build.sh [2023-08-10T18:58:38.828Z] + dirname /tmp/sdk/scripts/build.sh [2023-08-10T18:58:38.828Z] + dirname /tmp/sdk/scripts [2023-08-10T18:58:38.828Z] + ROOT=/tmp/sdk [2023-08-10T18:58:38.828Z] + cd /tmp/sdk [2023-08-10T18:58:38.828Z] + mkdir -p /tmp/sdk/build/release [2023-08-10T18:58:38.828Z] + cd /tmp/sdk/build/release [2023-08-10T18:58:38.828Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2023-08-10T18:58:39.096Z] -- The C compiler identification is GNU 11.2.1 [2023-08-10T18:58:39.096Z] -- Detecting C compiler ABI info [2023-08-10T18:58:39.363Z] -- Detecting C compiler ABI info - done [2023-08-10T18:58:39.635Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-08-10T18:58:39.635Z] -- Detecting C compile features [2023-08-10T18:58:39.635Z] -- Detecting C compile features - done [2023-08-10T18:58:39.635Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-08-10T18:58:39.635Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.0.1") [2023-08-10T18:58:39.635Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-08-10T18:58:39.635Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-08-10T18:58:39.635Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-08-10T18:58:39.900Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-08-10T18:58:39.900Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-08-10T18:58:39.900Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2023-08-10T18:58:39.900Z] -- /opt/iotech/iot/1.5/include [2023-08-10T18:58:39.900Z] -- C SDK 0.0.0 for Linux [2023-08-10T18:58:39.900Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-08-10T18:58:40.169Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-08-10T18:58:40.169Z] -- Found Curses: /usr/lib/libcurses.so [2023-08-10T18:58:40.441Z] -- Configuring done [2023-08-10T18:58:40.707Z] -- Generating done [2023-08-10T18:58:40.707Z] -- Build files have been written to: /tmp/sdk/build/release [2023-08-10T18:58:40.707Z] + make all package [2023-08-10T18:58:40.707Z] + tee release.log [2023-08-10T18:58:40.971Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-08-10T18:58:40.971Z] In file included from /tmp/sdk/src/c/autoevent.c:9: [2023-08-10T18:58:40.971Z] /tmp/sdk/src/c/autoevent.h:25:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] [2023-08-10T18:58:40.971Z] 25 | void clear_ae_signals (); [2023-08-10T18:58:40.971Z] | ^~~~ [2023-08-10T18:58:41.237Z] /tmp/sdk/src/c/autoevent.c: In function 'edgex_device_autoevent_start': [2023-08-10T18:58:41.237Z] /tmp/sdk/src/c/autoevent.c:170:47: error: expected ';' before '}' token [2023-08-10T18:58:41.237Z] 170 | init_flg_slv = sem_init (&slv_mutex, 0, 1) [2023-08-10T18:58:41.237Z] | ^ [2023-08-10T18:58:41.237Z] | ; [2023-08-10T18:58:41.237Z] 171 | } [2023-08-10T18:58:41.237Z] | ~ [2023-08-10T18:58:41.237Z] /tmp/sdk/src/c/autoevent.c: At top level: [2023-08-10T18:58:41.237Z] /tmp/sdk/src/c/autoevent.c:278:6: warning: function declaration isn't a prototype [-Wstrict-prototypes] [2023-08-10T18:58:41.237Z] 278 | void clear_ae_signals () [2023-08-10T18:58:41.237Z] | ^~~~~~~~~~~~~~~~ [2023-08-10T18:58:41.237Z] make[2]: *** [c/CMakeFiles/csdk.dir/build.make:76: c/CMakeFiles/csdk.dir/autoevent.c.o] Error 1 [2023-08-10T18:58:41.237Z] make[1]: *** [CMakeFiles/Makefile2:240: c/CMakeFiles/csdk.dir/all] Error 2 [2023-08-10T18:58:41.237Z] make: *** [Makefile:156: all] Error 2 [2023-08-10T18:58:41.237Z] + '[' false '=' true ] [2023-08-10T18:58:41.237Z] + '[' false '=' true ] [2023-08-10T18:58:41.237Z] + mkdir -p /tmp/sdk/build/debug [2023-08-10T18:58:41.237Z] + cd /tmp/sdk/build/debug [2023-08-10T18:58:41.237Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2023-08-10T18:58:41.503Z] -- The C compiler identification is GNU 11.2.1 [2023-08-10T18:58:41.503Z] -- Detecting C compiler ABI info [2023-08-10T18:58:41.771Z] -- Detecting C compiler ABI info - done [2023-08-10T18:58:42.037Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-08-10T18:58:42.037Z] -- Detecting C compile features [2023-08-10T18:58:42.037Z] -- Detecting C compile features - done [2023-08-10T18:58:42.037Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-08-10T18:58:42.037Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.0.1") [2023-08-10T18:58:42.037Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-08-10T18:58:42.037Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-08-10T18:58:42.037Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-08-10T18:58:42.303Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-08-10T18:58:42.303Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-08-10T18:58:42.303Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2023-08-10T18:58:42.303Z] -- /opt/iotech/iot/1.5/include [2023-08-10T18:58:42.303Z] -- C SDK 0.0.0 for Linux [2023-08-10T18:58:42.303Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-08-10T18:58:42.580Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-08-10T18:58:42.580Z] -- Found Curses: /usr/lib/libcurses.so [2023-08-10T18:58:42.860Z] -- Configuring done [2023-08-10T18:58:43.127Z] -- Generating done [2023-08-10T18:58:43.127Z] -- Build files have been written to: /tmp/sdk/build/debug [2023-08-10T18:58:43.127Z] + make [2023-08-10T18:58:43.127Z] + tee debug.log [2023-08-10T18:58:43.127Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-08-10T18:58:43.393Z] In file included from /tmp/sdk/src/c/autoevent.c:9: [2023-08-10T18:58:43.393Z] /tmp/sdk/src/c/autoevent.h:25:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] [2023-08-10T18:58:43.393Z] 25 | void clear_ae_signals (); [2023-08-10T18:58:43.393Z] | ^~~~ [2023-08-10T18:58:43.393Z] /tmp/sdk/src/c/autoevent.c: In function 'edgex_device_autoevent_start': [2023-08-10T18:58:43.393Z] /tmp/sdk/src/c/autoevent.c:170:47: error: expected ';' before '}' token [2023-08-10T18:58:43.393Z] 170 | init_flg_slv = sem_init (&slv_mutex, 0, 1) [2023-08-10T18:58:43.393Z] | ^ [2023-08-10T18:58:43.393Z] | ; [2023-08-10T18:58:43.393Z] 171 | } [2023-08-10T18:58:43.393Z] | ~ [2023-08-10T18:58:43.393Z] /tmp/sdk/src/c/autoevent.c: At top level: [2023-08-10T18:58:43.393Z] /tmp/sdk/src/c/autoevent.c:278:6: warning: function declaration isn't a prototype [-Wstrict-prototypes] [2023-08-10T18:58:43.393Z] 278 | void clear_ae_signals () [2023-08-10T18:58:43.393Z] | ^~~~~~~~~~~~~~~~ [2023-08-10T18:58:43.393Z] make[2]: *** [c/CMakeFiles/csdk.dir/build.make:76: c/CMakeFiles/csdk.dir/autoevent.c.o] Error 1 [2023-08-10T18:58:43.393Z] make[1]: *** [CMakeFiles/Makefile2:240: c/CMakeFiles/csdk.dir/all] Error 2 [2023-08-10T18:58:43.393Z] make: *** [Makefile:156: all] Error 2 [2023-08-10T18:58:43.393Z] make: Entering directory '/tmp/sdk/build/release' [2023-08-10T18:58:43.659Z] make[1]: Entering directory '/tmp/sdk/build/release' [2023-08-10T18:58:43.659Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-08-10T18:58:43.659Z] Consolidate compiler generated dependencies of target csdk [2023-08-10T18:58:43.659Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-08-10T18:58:43.659Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-08-10T18:58:43.659Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-08-10T18:58:43.927Z] In file included from /tmp/sdk/src/c/autoevent.c:9: [2023-08-10T18:58:43.927Z] /tmp/sdk/src/c/autoevent.h:25:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] [2023-08-10T18:58:43.927Z] 25 | void clear_ae_signals (); [2023-08-10T18:58:43.927Z] | ^~~~ [2023-08-10T18:58:43.927Z] /tmp/sdk/src/c/autoevent.c: In function 'edgex_device_autoevent_start': [2023-08-10T18:58:43.927Z] /tmp/sdk/src/c/autoevent.c:170:47: error: expected ';' before '}' token [2023-08-10T18:58:43.927Z] 170 | init_flg_slv = sem_init (&slv_mutex, 0, 1) [2023-08-10T18:58:43.927Z] | ^ [2023-08-10T18:58:43.927Z] | ; [2023-08-10T18:58:43.927Z] 171 | } [2023-08-10T18:58:43.927Z] | ~ [2023-08-10T18:58:43.927Z] /tmp/sdk/src/c/autoevent.c: At top level: [2023-08-10T18:58:43.927Z] /tmp/sdk/src/c/autoevent.c:278:6: warning: function declaration isn't a prototype [-Wstrict-prototypes] [2023-08-10T18:58:43.927Z] 278 | void clear_ae_signals () [2023-08-10T18:58:43.927Z] | ^~~~~~~~~~~~~~~~ [2023-08-10T18:58:43.927Z] make[2]: *** [c/CMakeFiles/csdk.dir/build.make:76: c/CMakeFiles/csdk.dir/autoevent.c.o] Error 1 [2023-08-10T18:58:43.927Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-08-10T18:58:43.927Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2023-08-10T18:58:43.927Z] make[1]: *** [CMakeFiles/Makefile2:240: c/CMakeFiles/csdk.dir/all] Error 2 [2023-08-10T18:58:43.927Z] make: *** [Makefile:156: all] Error 2 [2023-08-10T18:58:43.927Z] make: Leaving directory '/tmp/sdk/build/release' [2023-08-10T18:58:44.508Z] 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-08-10T18:58:44.998Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-08-10T18:58:44.999Z] [2023-08-10T18:58:44.999Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-10T18:58:45.330Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-08-10T18:58:45.330Z] arm64: Pulling from edgex-lftools-log-publisher [2023-08-10T18:58:45.330Z] 8998bd30e6a1: Pulling fs layer [2023-08-10T18:58:45.330Z] 04944245beec: Pulling fs layer [2023-08-10T18:58:45.330Z] 699f458cf7ca: Pulling fs layer [2023-08-10T18:58:45.330Z] 765212b225bb: Pulling fs layer [2023-08-10T18:58:45.330Z] f23df028b6ca: Pulling fs layer [2023-08-10T18:58:45.330Z] d65c8cfc05b1: Pulling fs layer [2023-08-10T18:58:45.330Z] 2437ff75d9bd: Pulling fs layer [2023-08-10T18:58:45.330Z] 765212b225bb: Waiting [2023-08-10T18:58:45.330Z] f23df028b6ca: Waiting [2023-08-10T18:58:45.330Z] d65c8cfc05b1: Waiting [2023-08-10T18:58:45.330Z] 2437ff75d9bd: Waiting [2023-08-10T18:58:45.597Z] 04944245beec: Verifying Checksum [2023-08-10T18:58:45.597Z] 04944245beec: Download complete [2023-08-10T18:58:45.597Z] 765212b225bb: Verifying Checksum [2023-08-10T18:58:45.597Z] 765212b225bb: Download complete [2023-08-10T18:58:45.597Z] f23df028b6ca: Verifying Checksum [2023-08-10T18:58:45.597Z] f23df028b6ca: Download complete [2023-08-10T18:58:45.597Z] d65c8cfc05b1: Verifying Checksum [2023-08-10T18:58:45.597Z] d65c8cfc05b1: Download complete [2023-08-10T18:58:45.597Z] 699f458cf7ca: Verifying Checksum [2023-08-10T18:58:45.597Z] 699f458cf7ca: Download complete [2023-08-10T18:58:46.182Z] 8998bd30e6a1: Verifying Checksum [2023-08-10T18:58:46.182Z] 8998bd30e6a1: Download complete [2023-08-10T18:58:48.127Z] 2437ff75d9bd: Download complete [2023-08-10T18:58:50.071Z] 8998bd30e6a1: Pull complete [2023-08-10T18:58:50.338Z] 04944245beec: Pull complete [2023-08-10T18:58:51.745Z] 699f458cf7ca: Pull complete [2023-08-10T18:58:52.013Z] 765212b225bb: Pull complete [2023-08-10T18:58:52.597Z] f23df028b6ca: Pull complete [2023-08-10T18:58:52.865Z] d65c8cfc05b1: Pull complete [2023-08-10T18:59:07.853Z] 2437ff75d9bd: Pull complete [2023-08-10T18:59:07.853Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-08-10T18:59:07.853Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-08-10T18:59:07.853Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-10T18:59:08.053Z] prd-ubuntu20.04-docker-arm64-4c-16g-3299 does not seem to be running inside a container [2023-08-10T18:59:08.115Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-c/18 -v /w/workspace/device-sdk-c/18:/w/workspace/device-sdk-c/18:rw,z -v /w/workspace/device-sdk-c/18@tmp:/w/workspace/device-sdk-c/18@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-08-10T18:59:10.425Z] $ docker top c6bef41934a41808ae1b313e45fe95d1f4df5b735b24323e4af3054e4339f69e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-10T18:59:10.917Z] ---> job-cost.sh [2023-08-10T18:59:11.184Z] lf-activate-venv: SKIPPING [2023-08-10T18:59:11.184Z] INFO: No Stack... [2023-08-10T18:59:11.449Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-08-10T18:59:12.404Z] INFO: Archiving Costs [Pipeline] sh [2023-08-10T18:59:12.722Z] + cat /w/workspace/device-sdk-c/18/archives/cost.csv [2023-08-10T18:59:12.722Z] + cut -d, -f6 [Pipeline] lock [2023-08-10T18:59:13.039Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-444-18-stack-cost] [2023-08-10T18:59:13.047Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-444-18-stack-cost] did not exist. Created. [2023-08-10T18:59:13.047Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-444-18-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-08-10T18:59:13.380Z] /w/workspace/device-sdk-c/18@tmp/durable-7cbaff0c/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-08-10T18:59:13.715Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-08-10T18:59:13.742Z] Warning: overwriting stash ‘stack-cost’ [2023-08-10T18:59:14.170Z] Stashed 1 file(s) [Pipeline] } [2023-08-10T18:59:14.179Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-444-18-stack-cost] [Pipeline] // lock [Pipeline] } [2023-08-10T18:59:14.203Z] $ docker stop --time=1 c6bef41934a41808ae1b313e45fe95d1f4df5b735b24323e4af3054e4339f69e [2023-08-10T18:59:16.975Z] $ docker rm -f --volumes c6bef41934a41808ae1b313e45fe95d1f4df5b735b24323e4af3054e4339f69e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-08-10T18:59:17.320Z] 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-08-10T18:59:17.818Z] + [ -d /w/workspace/edgexfoundry_device-sdk-c_PR-444/archives ] [2023-08-10T18:59:17.819Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-444/archives [2023-08-10T18:59:17.819Z] total 16 [2023-08-10T18:59:17.819Z] drwxr-xr-x 3 root root 4096 Aug 10 18:56 . [2023-08-10T18:59:17.819Z] drwxrwxr-x 10 jenkins jenkins 4096 Aug 10 18:56 .. [2023-08-10T18:59:17.819Z] drwxr-xr-x 2 root root 4096 Aug 10 18:56 cost [2023-08-10T18:59:17.819Z] -rw-r--r-- 1 root root 84 Aug 10 18:56 cost.csv [2023-08-10T18:59:17.819Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_PR-444/archives [2023-08-10T18:59:17.819Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-444/archives [2023-08-10T18:59:17.819Z] total 16 [2023-08-10T18:59:17.819Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 10 18:56 . [2023-08-10T18:59:17.819Z] drwxrwxr-x 10 jenkins jenkins 4096 Aug 10 18:56 .. [2023-08-10T18:59:17.819Z] drwxr-xr-x 2 jenkins jenkins 4096 Aug 10 18:56 cost [2023-08-10T18:59:17.819Z] -rw-r--r-- 1 jenkins jenkins 84 Aug 10 18:56 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-08-10T18:59:18.109Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-10T18:59:18.971Z] ---> package-listing.sh [2023-08-10T18:59:18.972Z] ++ facter osfamily [2023-08-10T18:59:18.972Z] ++ tr '[:upper:]' '[:lower:]' [2023-08-10T18:59:19.230Z] + OS_FAMILY=debian [2023-08-10T18:59:19.230Z] + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-444 [2023-08-10T18:59:19.230Z] + START_PACKAGES=/tmp/packages_start.txt [2023-08-10T18:59:19.230Z] + END_PACKAGES=/tmp/packages_end.txt [2023-08-10T18:59:19.230Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-08-10T18:59:19.230Z] + PACKAGES=/tmp/packages_start.txt [2023-08-10T18:59:19.230Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-444 ']' [2023-08-10T18:59:19.230Z] + PACKAGES=/tmp/packages_end.txt [2023-08-10T18:59:19.230Z] + case "${OS_FAMILY}" in [2023-08-10T18:59:19.230Z] + dpkg -l [2023-08-10T18:59:19.230Z] + grep '^ii' [2023-08-10T18:59:19.230Z] + '[' -f /tmp/packages_start.txt ']' [2023-08-10T18:59:19.230Z] + '[' -f /tmp/packages_end.txt ']' [2023-08-10T18:59:19.230Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-08-10T18:59:19.230Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-444 ']' [2023-08-10T18:59:19.230Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-444/archives/ [2023-08-10T18:59:19.230Z] + 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-08-10T18:59:19.241Z] 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-08-10T18:59:19.518Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-10T18:59:20.073Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-10T18:59:20.073Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-10T18:59:20.140Z] prd-ubuntu20.04-docker-8c-8g-3298 does not seem to be running inside a container [2023-08-10T18:59:20.167Z] $ 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-08-10T18:59:20.333Z] $ docker top 4e017dbaf5233cf9ef0502b6d84b528b67dcc3a1a4120628d9d54ff09f63928e -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-10T18:59:20.670Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-08-10T18:59:20.951Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-08-10T18:59:21.235Z] + ls /var/log/sa-host [2023-08-10T18:59:21.235Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-10T18:59:21.390Z] provisioning config files... [2023-08-10T18:59:21.397Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-444@tmp/config9892153735690555638tmp [Pipeline] { [Pipeline] echo [2023-08-10T18:59:21.409Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-10T18:59:21.691Z] ---> create-netrc.sh [Pipeline] } [2023-08-10T18:59:21.697Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-08-10T18:59:22.026Z] ---> python-tools-install.sh [Pipeline] echo [2023-08-10T18:59:22.035Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-10T18:59:22.318Z] ---> sudo-logs.sh [2023-08-10T18:59:22.319Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-08-10T18:59:22.353Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-10T18:59:22.638Z] ---> job-cost.sh [2023-08-10T18:59:22.638Z] lf-activate-venv: SKIPPING [2023-08-10T18:59:22.638Z] DEBUG: total: 0.2199999988079071 [2023-08-10T18:59:22.638Z] INFO: Retrieving Stack Cost... [2023-08-10T18:59:22.898Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-08-10T18:59:23.157Z] INFO: Archiving Costs [Pipeline] echo [2023-08-10T18:59:23.168Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-10T18:59:23.453Z] ---> logs-deploy.sh [2023-08-10T18:59:23.453Z] lf-activate-venv: SKIPPING [2023-08-10T18:59:23.453Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-444/18 [2023-08-10T18:59:23.453Z] INFO: archiving workspace using pattern(s): [2023-08-10T18:59:24.390Z] Archives upload complete. [2023-08-10T18:59:24.649Z] INFO: archiving logs to Nexus [2023-08-10T18:59:25.219Z] ---> uname -a: [2023-08-10T18:59:25.219Z] Linux prd-ubuntu20-04-docker-8c-8g-3298 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux [2023-08-10T18:59:25.219Z] [2023-08-10T18:59:25.219Z] [2023-08-10T18:59:25.219Z] ---> lscpu: [2023-08-10T18:59:25.219Z] Architecture: x86_64 [2023-08-10T18:59:25.219Z] CPU op-mode(s): 32-bit, 64-bit [2023-08-10T18:59:25.219Z] Byte Order: Little Endian [2023-08-10T18:59:25.219Z] Address sizes: 40 bits physical, 48 bits virtual [2023-08-10T18:59:25.219Z] CPU(s): 8 [2023-08-10T18:59:25.219Z] On-line CPU(s) list: 0-7 [2023-08-10T18:59:25.219Z] Thread(s) per core: 1 [2023-08-10T18:59:25.219Z] Core(s) per socket: 1 [2023-08-10T18:59:25.219Z] Socket(s): 8 [2023-08-10T18:59:25.219Z] NUMA node(s): 1 [2023-08-10T18:59:25.219Z] Vendor ID: AuthenticAMD [2023-08-10T18:59:25.219Z] CPU family: 23 [2023-08-10T18:59:25.219Z] Model: 49 [2023-08-10T18:59:25.219Z] Model name: AMD EPYC-Rome Processor [2023-08-10T18:59:25.219Z] Stepping: 0 [2023-08-10T18:59:25.219Z] CPU MHz: 2800.000 [2023-08-10T18:59:25.219Z] BogoMIPS: 5600.00 [2023-08-10T18:59:25.219Z] Virtualization: AMD-V [2023-08-10T18:59:25.219Z] Hypervisor vendor: KVM [2023-08-10T18:59:25.219Z] Virtualization type: full [2023-08-10T18:59:25.219Z] L1d cache: 256 KiB [2023-08-10T18:59:25.219Z] L1i cache: 256 KiB [2023-08-10T18:59:25.219Z] L2 cache: 4 MiB [2023-08-10T18:59:25.219Z] L3 cache: 128 MiB [2023-08-10T18:59:25.219Z] NUMA node0 CPU(s): 0-7 [2023-08-10T18:59:25.219Z] Vulnerability Itlb multihit: Not affected [2023-08-10T18:59:25.219Z] Vulnerability L1tf: Not affected [2023-08-10T18:59:25.219Z] Vulnerability Mds: Not affected [2023-08-10T18:59:25.219Z] Vulnerability Meltdown: Not affected [2023-08-10T18:59:25.219Z] Vulnerability Mmio stale data: Not affected [2023-08-10T18:59:25.219Z] Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp [2023-08-10T18:59:25.219Z] Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization [2023-08-10T18:59:25.219Z] Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling [2023-08-10T18:59:25.219Z] Vulnerability Srbds: Not affected [2023-08-10T18:59:25.219Z] Vulnerability Tsx async abort: Not affected [2023-08-10T18:59:25.219Z] Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities [2023-08-10T18:59:25.219Z] [2023-08-10T18:59:25.219Z] [2023-08-10T18:59:25.219Z] ---> nproc: [2023-08-10T18:59:25.219Z] 8 [2023-08-10T18:59:25.219Z] [2023-08-10T18:59:25.219Z] [2023-08-10T18:59:25.219Z] ---> df -h: [2023-08-10T18:59:25.219Z] Filesystem Size Used Avail Use% Mounted on [2023-08-10T18:59:25.219Z] overlay 155G 11G 145G 7% / [2023-08-10T18:59:25.219Z] tmpfs 64M 0 64M 0% /dev [2023-08-10T18:59:25.219Z] tmpfs 16G 0 16G 0% /sys/fs/cgroup [2023-08-10T18:59:25.219Z] shm 64M 0 64M 0% /dev/shm [2023-08-10T18:59:25.219Z] /dev/vda1 155G 11G 145G 7% /facter-os [2023-08-10T18:59:25.219Z] [2023-08-10T18:59:25.219Z] [2023-08-10T18:59:25.219Z] ---> sar -b -r -n DEV: [2023-08-10T18:59:25.219Z] Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-3298) 08/10/23 _x86_64_ (8 CPU) [2023-08-10T18:59:25.219Z] [2023-08-10T18:59:25.219Z] 18:54:54 LINUX RESTART (8 CPU) [2023-08-10T18:59:25.219Z] [2023-08-10T18:59:25.219Z] 18:55:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s [2023-08-10T18:59:25.219Z] 18:56:01 358.79 48.46 310.33 0.00 5476.95 97606.53 0.00 [2023-08-10T18:59:25.219Z] 18:57:01 64.89 0.25 64.64 0.00 14.93 17978.75 0.00 [2023-08-10T18:59:25.219Z] 18:58:01 0.95 0.00 0.95 0.00 0.00 11.33 0.00 [2023-08-10T18:59:25.219Z] 18:59:01 0.78 0.00 0.78 0.00 0.00 9.20 0.00 [2023-08-10T18:59:25.219Z] Average: 106.35 12.18 94.18 0.00 1372.97 28901.45 0.00 [2023-08-10T18:59:25.219Z] [2023-08-10T18:59:25.219Z] 18:55:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty [2023-08-10T18:59:25.219Z] 18:56:01 29619036 31578840 758348 2.31 64760 2184464 1982976 5.84 1015208 1924600 2860 [2023-08-10T18:59:25.219Z] 18:57:01 29138936 31603772 706008 2.15 85192 2640276 1778884 5.24 1032908 2329768 156 [2023-08-10T18:59:25.219Z] 18:58:01 29139472 31604308 705420 2.15 85228 2640276 1778884 5.24 1032740 2329768 16 [2023-08-10T18:59:25.219Z] 18:59:01 29146380 31611428 698580 2.12 85244 2640280 1778884 5.24 1025424 2329996 148 [2023-08-10T18:59:25.219Z] Average: 29260956 31599587 717089 2.18 80106 2526324 1829907 5.39 1026570 2228533 795 [2023-08-10T18:59:25.219Z] [2023-08-10T18:59:25.219Z] 18:55:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil [2023-08-10T18:59:25.219Z] 18:56:01 docker0 6.98 8.33 0.58 83.11 0.00 0.00 0.00 0.00 [2023-08-10T18:59:25.219Z] 18:56:01 veth161d3c2 4.35 5.83 0.36 54.02 0.00 0.00 0.00 0.00 [2023-08-10T18:59:25.219Z] 18:56:01 lo 6.60 6.60 0.63 0.63 0.00 0.00 0.00 0.00 [2023-08-10T18:59:25.219Z] 18:56:01 ens3 490.68 319.01 4210.15 97.65 0.00 0.00 0.00 0.00 [2023-08-10T18:59:25.219Z] 18:57:01 docker0 2.57 3.70 0.15 27.93 0.00 0.00 0.00 0.00 [2023-08-10T18:59:25.219Z] 18:57:01 lo 1.13 1.13 0.10 0.10 0.00 0.00 0.00 0.00 [2023-08-10T18:59:25.219Z] 18:57:01 ens3 101.35 62.71 2552.37 12.46 0.00 0.00 0.00 0.00 [2023-08-10T18:59:25.219Z] 18:58:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2023-08-10T18:59:25.219Z] 18:58:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2023-08-10T18:59:25.219Z] 18:58:01 ens3 8.10 3.20 8.98 0.40 0.00 0.00 0.00 0.00 [2023-08-10T18:59:25.219Z] 18:59:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2023-08-10T18:59:25.219Z] 18:59:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 [2023-08-10T18:59:25.219Z] 18:59:01 ens3 0.13 0.12 0.01 0.01 0.00 0.00 0.00 0.00 [2023-08-10T18:59:25.219Z] Average: docker0 2.39 3.01 0.18 27.76 0.00 0.00 0.00 0.00 [2023-08-10T18:59:25.219Z] Average: lo 1.98 1.98 0.19 0.19 0.00 0.00 0.00 0.00 [2023-08-10T18:59:25.219Z] Average: ens3 150.07 96.26 1692.88 27.63 0.00 0.00 0.00 0.00 [2023-08-10T18:59:25.219Z] [2023-08-10T18:59:25.219Z] [2023-08-10T18:59:25.219Z] ---> sar -P ALL: [2023-08-10T18:59:25.219Z] Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-3298) 08/10/23 _x86_64_ (8 CPU) [2023-08-10T18:59:25.219Z] [2023-08-10T18:59:25.219Z] 18:54:54 LINUX RESTART (8 CPU) [2023-08-10T18:59:25.219Z] [2023-08-10T18:59:25.219Z] 18:55:01 CPU %user %nice %system %iowait %steal %idle [2023-08-10T18:59:25.219Z] 18:56:01 all 7.47 0.00 2.47 2.88 0.05 87.13 [2023-08-10T18:59:25.219Z] 18:56:01 0 5.13 0.00 3.15 2.30 0.05 89.37 [2023-08-10T18:59:25.219Z] 18:56:01 1 12.09 0.00 1.74 0.30 0.03 85.84 [2023-08-10T18:59:25.219Z] 18:56:01 2 6.13 0.00 2.88 1.68 0.05 89.26 [2023-08-10T18:59:25.219Z] 18:56:01 3 7.70 0.00 2.43 7.98 0.08 81.81 [2023-08-10T18:59:25.219Z] 18:56:01 4 9.02 0.00 3.58 6.88 0.05 80.47 [2023-08-10T18:59:25.219Z] 18:56:01 5 6.11 0.00 2.03 0.82 0.03 91.01 [2023-08-10T18:59:25.219Z] 18:56:01 6 8.09 0.00 1.93 0.30 0.05 89.64 [2023-08-10T18:59:25.219Z] 18:56:01 7 5.52 0.00 2.01 2.73 0.08 89.66 [2023-08-10T18:59:25.219Z] 18:57:01 all 2.92 0.00 1.25 1.00 0.03 94.80 [2023-08-10T18:59:25.219Z] 18:57:01 0 2.73 0.00 1.14 0.22 0.03 95.88 [2023-08-10T18:59:25.219Z] 18:57:01 1 3.34 0.00 1.61 5.61 0.03 89.41 [2023-08-10T18:59:25.219Z] 18:57:01 2 3.75 0.00 1.43 0.00 0.03 94.78 [2023-08-10T18:59:25.219Z] 18:57:01 3 2.10 0.00 1.33 0.07 0.02 96.49 [2023-08-10T18:59:25.219Z] 18:57:01 4 2.89 0.00 1.14 0.50 0.05 95.42 [2023-08-10T18:59:25.219Z] 18:57:01 5 2.83 0.00 0.82 0.67 0.03 95.65 [2023-08-10T18:59:25.219Z] 18:57:01 6 2.78 0.00 1.17 0.10 0.02 95.93 [2023-08-10T18:59:25.219Z] 18:57:01 7 2.91 0.00 1.34 0.84 0.03 94.87 [2023-08-10T18:59:25.219Z] 18:58:01 all 0.15 0.00 0.01 0.00 0.01 99.82 [2023-08-10T18:59:25.219Z] 18:58:01 0 0.05 0.00 0.03 0.00 0.03 99.88 [2023-08-10T18:59:25.219Z] 18:58:01 1 0.00 0.00 0.03 0.00 0.02 99.95 [2023-08-10T18:59:25.219Z] 18:58:01 2 1.12 0.00 0.00 0.00 0.02 98.86 [2023-08-10T18:59:25.219Z] 18:58:01 3 0.00 0.00 0.00 0.00 0.00 100.00 [2023-08-10T18:59:25.219Z] 18:58:01 4 0.02 0.00 0.02 0.03 0.00 99.93 [2023-08-10T18:59:25.219Z] 18:58:01 5 0.02 0.00 0.00 0.00 0.00 99.98 [2023-08-10T18:59:25.219Z] 18:58:01 6 0.00 0.00 0.00 0.00 0.00 100.00 [2023-08-10T18:59:25.219Z] 18:58:01 7 0.02 0.00 0.03 0.00 0.00 99.95 [2023-08-10T18:59:25.219Z] 18:59:01 all 0.03 0.00 0.01 0.00 0.01 99.96 [2023-08-10T18:59:25.219Z] 18:59:01 0 0.07 0.00 0.03 0.00 0.02 99.88 [2023-08-10T18:59:25.219Z] 18:59:01 1 0.00 0.00 0.02 0.02 0.00 99.97 [2023-08-10T18:59:25.219Z] 18:59:01 2 0.03 0.00 0.02 0.00 0.00 99.95 [2023-08-10T18:59:25.219Z] 18:59:01 3 0.02 0.00 0.00 0.00 0.00 99.98 [2023-08-10T18:59:25.219Z] 18:59:01 4 0.03 0.00 0.00 0.00 0.02 99.95 [2023-08-10T18:59:25.219Z] 18:59:01 5 0.00 0.00 0.00 0.00 0.00 100.00 [2023-08-10T18:59:25.219Z] 18:59:01 6 0.03 0.00 0.00 0.00 0.02 99.95 [2023-08-10T18:59:25.219Z] 18:59:01 7 0.02 0.00 0.02 0.00 0.00 99.97 [2023-08-10T18:59:25.219Z] Average: all 2.64 0.00 0.93 0.97 0.03 95.44 [2023-08-10T18:59:25.219Z] Average: 0 1.99 0.00 1.09 0.63 0.03 96.26 [2023-08-10T18:59:25.219Z] Average: 1 3.85 0.00 0.85 1.48 0.02 93.81 [2023-08-10T18:59:25.219Z] Average: 2 2.76 0.00 1.08 0.42 0.03 95.72 [2023-08-10T18:59:25.219Z] Average: 3 2.45 0.00 0.94 2.01 0.03 94.58 [2023-08-10T18:59:25.219Z] Average: 4 2.98 0.00 1.18 1.85 0.03 93.96 [2023-08-10T18:59:25.219Z] Average: 5 2.23 0.00 0.71 0.37 0.02 96.67 [2023-08-10T18:59:25.219Z] Average: 6 2.72 0.00 0.77 0.10 0.02 96.39 [2023-08-10T18:59:25.219Z] Average: 7 2.10 0.00 0.85 0.89 0.03 96.13 [2023-08-10T18:59:25.219Z] [2023-08-10T18:59:25.219Z] [2023-08-10T18:59:25.219Z]