Pull request #445 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of TuhinDasgupta-eaton for edgexfoundry/device-sdk-c Loading trusted files from base branch main at 21f79343dd353c602474ef88d38fd1373f48e545 rather than d587d561b5ac6e47fe1a9a667e56db75e4a2ebc8 Obtained Jenkinsfile from 21f79343dd353c602474ef88d38fd1373f48e545 Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh9438511790803689727.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh5614037861876610548.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-445/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-445/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13178498858042601113.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 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-ssh17892342121526112161.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-445/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-445/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh9884767234542502363.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-8089 in /w/workspace/edgexfoundry_device-sdk-c_PR-445 [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-445 # 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/445/head:refs/remotes/origin/PR-445 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 21f79343dd353c602474ef88d38fd1373f48e545 into PR head commit d587d561b5ac6e47fe1a9a667e56db75e4a2ebc8 Merge succeeded, producing d587d561b5ac6e47fe1a9a667e56db75e4a2ebc8 Checking out Revision d587d561b5ac6e47fe1a9a667e56db75e4a2ebc8 (PR-445) > git config core.sparsecheckout # timeout=10 > git checkout -f d587d561b5ac6e47fe1a9a667e56db75e4a2ebc8 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 21f79343dd353c602474ef88d38fd1373f48e545 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d587d561b5ac6e47fe1a9a667e56db75e4a2ebc8 # timeout=10 Commit message: "Use iot_data_maps to create list of new devices being added" > git rev-list --no-walk 7c1e091c2fa0622279abbec71f9bc758c2327624 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-03-02T13:35:23.910Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-03-02T13:35:23.971Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-03-02T13:35:23.989Z] ========================================================= [2023-03-02T13:35:23.989Z] EdgeX Global Pipelines Version Info [2023-03-02T13:35:23.989Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-03-02T13:35:24.741Z] ------------------- [2023-03-02T13:35:24.741Z] stable info: [2023-03-02T13:35:24.741Z] ------------------- [2023-03-02T13:35:24.741Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-03-02T13:35:24.741Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-03-02T13:35:24.741Z] Message: update stable to v1.0.244 [2023-03-02T13:35:25.315Z] ------------------- [2023-03-02T13:35:25.315Z] experimental info: [2023-03-02T13:35:25.315Z] ------------------- [2023-03-02T13:35:25.315Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-03-02T13:35:25.315Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-03-02T13:35:25.315Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-03-02T13:35:25.491Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo [2023-03-02T13:35:25.505Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo [2023-03-02T13:35:25.516Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-03-02T13:35:25.532Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-03-02T13:35:25.543Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-03-02T13:35:25.560Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo [2023-03-02T13:35:25.570Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo [2023-03-02T13:35:25.583Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-03-02T13:35:25.593Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-03-02T13:35:25.604Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo [2023-03-02T13:35:25.615Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-03-02T13:35:25.626Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-03-02T13:35:25.637Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-03-02T13:35:25.647Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-03-02T13:35:25.658Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-03-02T13:35:25.672Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-03-02T13:35:25.685Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-03-02T13:35:25.698Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-445 [Pipeline] echo [2023-03-02T13:35:25.713Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-445 [Pipeline] echo [2023-03-02T13:35:25.728Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-445 [Pipeline] echo [2023-03-02T13:35:25.742Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d587d561b5ac6e47fe1a9a667e56db75e4a2ebc8 [Pipeline] echo [2023-03-02T13:35:25.752Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d587d56 [Pipeline] echo [2023-03-02T13:35:25.762Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-02T13:35:25.803Z] provisioning config files... [2023-03-02T13:35:25.816Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-445@tmp/config10975441069399337482tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-02T13:35:26.123Z] ---> docker-login.sh [2023-03-02T13:35:26.123Z] nexus3.edgexfoundry.org:10001 [2023-03-02T13:35:26.384Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-02T13:35:26.384Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-02T13:35:26.384Z] Configure a credential helper to remove this warning. See [2023-03-02T13:35:26.384Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-02T13:35:26.384Z] [2023-03-02T13:35:26.384Z] Login Succeeded [2023-03-02T13:35:26.384Z] nexus3.edgexfoundry.org:10002 [2023-03-02T13:35:26.644Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-02T13:35:26.644Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-02T13:35:26.644Z] Configure a credential helper to remove this warning. See [2023-03-02T13:35:26.644Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-02T13:35:26.644Z] [2023-03-02T13:35:26.644Z] Login Succeeded [2023-03-02T13:35:26.644Z] nexus3.edgexfoundry.org:10003 [2023-03-02T13:35:26.644Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-02T13:35:26.644Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-02T13:35:26.644Z] Configure a credential helper to remove this warning. See [2023-03-02T13:35:26.644Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-02T13:35:26.644Z] [2023-03-02T13:35:26.644Z] Login Succeeded [2023-03-02T13:35:26.644Z] nexus3.edgexfoundry.org:10004 [2023-03-02T13:35:26.905Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-02T13:35:26.905Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-02T13:35:26.905Z] Configure a credential helper to remove this warning. See [2023-03-02T13:35:26.905Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-02T13:35:26.905Z] [2023-03-02T13:35:26.905Z] Login Succeeded [2023-03-02T13:35:26.905Z] docker.io [2023-03-02T13:35:26.905Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-02T13:35:27.165Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-02T13:35:27.165Z] Configure a credential helper to remove this warning. See [2023-03-02T13:35:27.165Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-02T13:35:27.165Z] [2023-03-02T13:35:27.165Z] Login Succeeded [2023-03-02T13:35:27.165Z] ---> docker-login.sh ends [Pipeline] } [2023-03-02T13:35:27.174Z] 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-03-02T13:35:27.541Z] + git rev-list -1 --merges d587d561b5ac6e47fe1a9a667e56db75e4a2ebc8~1..d587d561b5ac6e47fe1a9a667e56db75e4a2ebc8 [Pipeline] echo [2023-03-02T13:35:27.583Z] -----------> git rev-list -1 --merges d587d561b5ac6e47fe1a9a667e56db75e4a2ebc8~1..d587d561b5ac6e47fe1a9a667e56db75e4a2ebc8 d587d561b5ac6e47fe1a9a667e56db75e4a2ebc8 [false] [Pipeline] sh [2023-03-02T13:35:27.866Z] + git log --format=format:%s -1 d587d561b5ac6e47fe1a9a667e56db75e4a2ebc8 [Pipeline] echo [2023-03-02T13:35:27.894Z] ========================================================= [2023-03-02T13:35:27.894Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-03-02T13:35:27.894Z] ========================================================= 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-03-02T13:35:28.253Z] + git rev-list -1 --merges d587d561b5ac6e47fe1a9a667e56db75e4a2ebc8~1..d587d561b5ac6e47fe1a9a667e56db75e4a2ebc8 [Pipeline] echo [2023-03-02T13:35:28.264Z] -----------> git rev-list -1 --merges d587d561b5ac6e47fe1a9a667e56db75e4a2ebc8~1..d587d561b5ac6e47fe1a9a667e56db75e4a2ebc8 d587d561b5ac6e47fe1a9a667e56db75e4a2ebc8 [false] [Pipeline] sh [2023-03-02T13:35:28.547Z] + git log --format=format:%s -1 d587d561b5ac6e47fe1a9a667e56db75e4a2ebc8 [Pipeline] echo [2023-03-02T13:35:28.561Z] ========================================================= [2023-03-02T13:35:28.561Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-03-02T13:35:28.561Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh [2023-03-02T13:35:28.968Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-02T13:35:28.968Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-03-02T13:35:28.968Z] + [ -e /tmp/ssh_known_hosts ] [2023-03-02T13:35:28.968Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-03-02T13:35:28.968Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-03-02T13:35:28.968Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-03-02T13:35:28.968Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-02T13:35:29.367Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-02T13:35:29.367Z] [2023-03-02T13:35:29.367Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-02T13:35:29.664Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-02T13:35:29.664Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-03-02T13:35:29.664Z] b85a868b505f: Pulling fs layer [2023-03-02T13:35:29.664Z] e2be974225ed: Pulling fs layer [2023-03-02T13:35:29.664Z] 339a4e72a1f5: Pulling fs layer [2023-03-02T13:35:29.664Z] 988bab9f4d93: Pulling fs layer [2023-03-02T13:35:29.664Z] 1469e6f7b9e6: Pulling fs layer [2023-03-02T13:35:29.664Z] eaf3925da568: Pulling fs layer [2023-03-02T13:35:29.664Z] bab4dde63d76: Pulling fs layer [2023-03-02T13:35:29.664Z] bde34c3a00c8: Pulling fs layer [2023-03-02T13:35:29.664Z] 988bab9f4d93: Waiting [2023-03-02T13:35:29.664Z] 1469e6f7b9e6: Waiting [2023-03-02T13:35:29.664Z] eaf3925da568: Waiting [2023-03-02T13:35:29.664Z] b352a97aabf1: Pulling fs layer [2023-03-02T13:35:29.664Z] 4872d77fe225: Pulling fs layer [2023-03-02T13:35:29.664Z] bde34c3a00c8: Waiting [2023-03-02T13:35:29.664Z] b352a97aabf1: Waiting [2023-03-02T13:35:29.664Z] 5851b861e8e6: Pulling fs layer [2023-03-02T13:35:29.664Z] 4872d77fe225: Waiting [2023-03-02T13:35:29.664Z] 5851b861e8e6: Waiting [2023-03-02T13:35:29.664Z] e2be974225ed: Verifying Checksum [2023-03-02T13:35:29.664Z] e2be974225ed: Download complete [2023-03-02T13:35:29.664Z] 988bab9f4d93: Download complete [2023-03-02T13:35:29.924Z] 1469e6f7b9e6: Verifying Checksum [2023-03-02T13:35:29.924Z] 1469e6f7b9e6: Download complete [2023-03-02T13:35:29.924Z] 339a4e72a1f5: Verifying Checksum [2023-03-02T13:35:29.924Z] 339a4e72a1f5: Download complete [2023-03-02T13:35:29.924Z] eaf3925da568: Download complete [2023-03-02T13:35:29.924Z] bde34c3a00c8: Verifying Checksum [2023-03-02T13:35:29.924Z] bde34c3a00c8: Download complete [2023-03-02T13:35:29.924Z] b352a97aabf1: Download complete [2023-03-02T13:35:29.924Z] 4872d77fe225: Verifying Checksum [2023-03-02T13:35:29.924Z] 4872d77fe225: Download complete [2023-03-02T13:35:29.924Z] 5851b861e8e6: Download complete [2023-03-02T13:35:29.924Z] b85a868b505f: Verifying Checksum [2023-03-02T13:35:29.924Z] b85a868b505f: Download complete [2023-03-02T13:35:30.184Z] bab4dde63d76: Verifying Checksum [2023-03-02T13:35:30.184Z] bab4dde63d76: Download complete [2023-03-02T13:35:31.121Z] b85a868b505f: Pull complete [2023-03-02T13:35:31.380Z] e2be974225ed: Pull complete [2023-03-02T13:35:31.639Z] 339a4e72a1f5: Pull complete [2023-03-02T13:35:31.898Z] 988bab9f4d93: Pull complete [2023-03-02T13:35:32.158Z] 1469e6f7b9e6: Pull complete [2023-03-02T13:35:32.158Z] eaf3925da568: Pull complete [2023-03-02T13:35:34.069Z] bab4dde63d76: Pull complete [2023-03-02T13:35:34.069Z] bde34c3a00c8: Pull complete [2023-03-02T13:35:34.330Z] b352a97aabf1: Pull complete [2023-03-02T13:35:34.330Z] 4872d77fe225: Pull complete [2023-03-02T13:35:34.330Z] 5851b861e8e6: Pull complete [2023-03-02T13:35:34.330Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-03-02T13:35:34.330Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-02T13:35:34.330Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-02T13:35:34.429Z] prd-ubuntu20.04-docker-8c-8g-8089 does not seem to be running inside a container [2023-03-02T13:35:34.464Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-445 -v /w/workspace/edgexfoundry_device-sdk-c_PR-445:/w/workspace/edgexfoundry_device-sdk-c_PR-445:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-445@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-445@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-03-02T13:35:37.615Z] $ docker top dca53b27a9e49f3a8ee8f141d2c2a9b07cf2908d582384af9432168e3c3746d4 -eo pid,comm [2023-03-02T13:35:37.795Z] 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-03-02T13:35:37.795Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-02T13:35:37.831Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-02T13:35:37.831Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-02T13:35:37.957Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-02T13:35:37.958Z] $ docker exec dca53b27a9e49f3a8ee8f141d2c2a9b07cf2908d582384af9432168e3c3746d4 ssh-agent [2023-03-02T13:35:38.244Z] SSH_AUTH_SOCK=/tmp/ssh-g1hvjul2VyGf/agent.13 [2023-03-02T13:35:38.244Z] SSH_AGENT_PID=19 [2023-03-02T13:35:38.249Z] Running ssh-add (command line suppressed) [2023-03-02T13:35:38.399Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-445@tmp/private_key_1554970327556371299.key (/w/workspace/edgexfoundry_device-sdk-c_PR-445@tmp/private_key_1554970327556371299.key) [2023-03-02T13:35:38.413Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-02T13:35:38.700Z] + git tag --points-at HEAD [Pipeline] } [2023-03-02T13:35:38.729Z] $ docker exec --env ******** --env ******** dca53b27a9e49f3a8ee8f141d2c2a9b07cf2908d582384af9432168e3c3746d4 ssh-agent -k [2023-03-02T13:35:38.820Z] unset SSH_AUTH_SOCK; [2023-03-02T13:35:38.820Z] unset SSH_AGENT_PID; [2023-03-02T13:35:38.820Z] echo Agent pid 19 killed; [2023-03-02T13:35:38.830Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-03-02T13:35:38.855Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-02T13:35:38.855Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-02T13:35:38.959Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-02T13:35:38.961Z] $ docker exec dca53b27a9e49f3a8ee8f141d2c2a9b07cf2908d582384af9432168e3c3746d4 ssh-agent [2023-03-02T13:35:39.076Z] SSH_AUTH_SOCK=/tmp/ssh-Uo0f6x8JXh1e/agent.69 [2023-03-02T13:35:39.076Z] SSH_AGENT_PID=75 [2023-03-02T13:35:39.081Z] Running ssh-add (command line suppressed) [2023-03-02T13:35:39.177Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-445@tmp/private_key_14211674913420869870.key (/w/workspace/edgexfoundry_device-sdk-c_PR-445@tmp/private_key_14211674913420869870.key) [2023-03-02T13:35:39.193Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-02T13:35:39.486Z] + git semver init [2023-03-02T13:35:39.769Z] 2023-03-02 13:35:39,714 [run_init] DEBUG init version:0.0.0 force:False [2023-03-02T13:35:39.769Z] 2023-03-02 13:35:39,715 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-c_PR-445/.semver [2023-03-02T13:35:39.769Z] 2023-03-02 13:35:39,716 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-c.git /w/workspace/edgexfoundry_device-sdk-c_PR-445/.semver [2023-03-02T13:35:39.769Z] 2023-03-02 13:35:39,716 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-c.git', '/w/workspace/edgexfoundry_device-sdk-c_PR-445/.semver'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-445, universal_newlines=False, shell=None, istream=None) [2023-03-02T13:35:41.174Z] 2023-03-02 13:35:40,769 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-c_PR-445/.git/info/exclude [2023-03-02T13:35:41.174Z] 2023-03-02 13:35:40,770 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-c_PR-445/.semver/PR-445 with force:False [2023-03-02T13:35:41.174Z] 2023-03-02 13:35:40,770 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-c_PR-445/.semver/PR-445 [2023-03-02T13:35:41.174Z] 2023-03-02 13:35:40,774 [execute] INFO git cat-file --batch-check [2023-03-02T13:35:41.174Z] 2023-03-02 13:35:40,774 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-445/.semver, universal_newlines=False, shell=None, istream=) [2023-03-02T13:35:41.174Z] 2023-03-02 13:35:40,781 [execute] INFO git cat-file --batch [2023-03-02T13:35:41.174Z] 2023-03-02 13:35:40,781 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-445/.semver, universal_newlines=False, shell=None, istream=) [2023-03-02T13:35:41.174Z] 2023-03-02 13:35:40,787 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_PR-445/.semver/PR-445 [2023-03-02T13:35:41.174Z] 0.0.0 [Pipeline] } [2023-03-02T13:35:41.184Z] $ docker exec --env ******** --env ******** dca53b27a9e49f3a8ee8f141d2c2a9b07cf2908d582384af9432168e3c3746d4 ssh-agent -k [2023-03-02T13:35:41.307Z] unset SSH_AUTH_SOCK; [2023-03-02T13:35:41.308Z] unset SSH_AGENT_PID; [2023-03-02T13:35:41.308Z] echo Agent pid 75 killed; [2023-03-02T13:35:41.324Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-02T13:35:41.630Z] + git semver [Pipeline] } [2023-03-02T13:35:41.902Z] $ docker stop --time=1 dca53b27a9e49f3a8ee8f141d2c2a9b07cf2908d582384af9432168e3c3746d4 [2023-03-02T13:35:43.183Z] $ docker rm -f --volumes dca53b27a9e49f3a8ee8f141d2c2a9b07cf2908d582384af9432168e3c3746d4 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-02T13:35:43.520Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-03-02T13:35:43.742Z] Stashed 1 file(s) [Pipeline] echo [2023-03-02T13:35:43.746Z] [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-03-02T13:35:43.865Z] provisioning config files... [2023-03-02T13:35:43.873Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-445@tmp/config5184489251862438692tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-02T13:35:44.176Z] ---> docker-login.sh [2023-03-02T13:35:44.176Z] nexus3.edgexfoundry.org:10001 [2023-03-02T13:35:44.176Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-02T13:35:44.176Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-02T13:35:44.176Z] Configure a credential helper to remove this warning. See [2023-03-02T13:35:44.176Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-02T13:35:44.176Z] [2023-03-02T13:35:44.176Z] Login Succeeded [2023-03-02T13:35:44.176Z] nexus3.edgexfoundry.org:10002 [2023-03-02T13:35:44.176Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-02T13:35:44.176Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-02T13:35:44.176Z] Configure a credential helper to remove this warning. See [2023-03-02T13:35:44.176Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-02T13:35:44.176Z] [2023-03-02T13:35:44.176Z] Login Succeeded [2023-03-02T13:35:44.176Z] nexus3.edgexfoundry.org:10003 [2023-03-02T13:35:44.437Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-02T13:35:44.437Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-02T13:35:44.437Z] Configure a credential helper to remove this warning. See [2023-03-02T13:35:44.437Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-02T13:35:44.437Z] [2023-03-02T13:35:44.437Z] Login Succeeded [2023-03-02T13:35:44.437Z] nexus3.edgexfoundry.org:10004 [2023-03-02T13:35:44.437Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-02T13:35:44.437Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-02T13:35:44.437Z] Configure a credential helper to remove this warning. See [2023-03-02T13:35:44.437Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-02T13:35:44.437Z] [2023-03-02T13:35:44.437Z] Login Succeeded [2023-03-02T13:35:44.437Z] docker.io [2023-03-02T13:35:44.697Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-02T13:35:44.958Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-02T13:35:44.958Z] Configure a credential helper to remove this warning. See [2023-03-02T13:35:44.958Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-02T13:35:44.958Z] [2023-03-02T13:35:44.958Z] Login Succeeded [2023-03-02T13:35:44.958Z] ---> docker-login.sh ends [Pipeline] } [2023-03-02T13:35:44.966Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-02T13:35:45.033Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-02T13:35:45.044Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo [2023-03-02T13:35:45.058Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-02T13:35:45.067Z] ========================================================= [2023-03-02T13:35:45.067Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] [2023-03-02T13:35:45.067Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-02T13:35:45.369Z] + 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-03-02T13:35:45.369Z] Sending build context to Docker daemon 4.794MB [2023-03-02T13:35:45.369Z] Step 1/21 : ARG BASE=alpine:3.16 [2023-03-02T13:35:45.369Z] Step 2/21 : FROM ${BASE} as builder [2023-03-02T13:35:45.369Z] latest: Pulling from edgex-devops/edgex-gcc-base [2023-03-02T13:35:45.369Z] 213ec9aee27d: Pulling fs layer [2023-03-02T13:35:45.369Z] 0f09ad1b1b37: Pulling fs layer [2023-03-02T13:35:45.629Z] 213ec9aee27d: Verifying Checksum [2023-03-02T13:35:45.629Z] 213ec9aee27d: Download complete [2023-03-02T13:35:45.629Z] 213ec9aee27d: Pull complete [2023-03-02T13:35:46.197Z] 0f09ad1b1b37: Verifying Checksum [2023-03-02T13:35:46.197Z] 0f09ad1b1b37: Download complete [2023-03-02T13:35:49.494Z] 0f09ad1b1b37: Pull complete [2023-03-02T13:35:49.494Z] Digest: sha256:64e9d1beac36a0037884aaf44bcf94b2de593689edef1cdaec9f2b2ef7c7c108 [2023-03-02T13:35:49.494Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [2023-03-02T13:35:49.494Z] ---> b2bbfebb3566 [2023-03-02T13:35:49.494Z] 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-03-02T13:35:50.446Z] ---> Running in 8ca9786dc448 [2023-03-02T13:35:50.704Z] Connecting to iotech.jfrog.io (52.18.50.91:443) [2023-03-02T13:35:51.271Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-03-02T13:35:51.271Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-03-02T13:35:51.271Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-03-02T13:35:51.528Z] Removing intermediate container 8ca9786dc448 [2023-03-02T13:35:51.528Z] ---> c0d288da1666 [2023-03-02T13:35:51.528Z] Step 4/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-03-02T13:35:51.528Z] ---> Running in f161d3b759ff [2023-03-02T13:35:52.096Z] Removing intermediate container f161d3b759ff [2023-03-02T13:35:52.096Z] ---> a24b6378874e [2023-03-02T13:35:52.096Z] Step 5/21 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml-dev curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev libcbor-dev paho-mqtt-c-dev-1.3 iotech-iot-1.4-dev hiredis-dev [2023-03-02T13:35:52.096Z] ---> Running in 24da8810f015 [2023-03-02T13:35:52.355Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-02T13:35:52.613Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-03-02T13:35:52.873Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-02T13:35:53.444Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-03-02T13:35:53.444Z] (1/14) Installing hiredis (1.0.2-r0) [2023-03-02T13:35:53.444Z] (2/14) Installing hiredis-dev (1.0.2-r0) [2023-03-02T13:35:53.444Z] (3/14) Installing iotech-iot-1.4 (1.4.1-r0) [2023-03-02T13:35:54.380Z] (4/14) Installing iotech-iot-1.4-dev (1.4.1-r0) [2023-03-02T13:35:54.380Z] (5/14) Installing libcbor (0.9.0-r1) [2023-03-02T13:35:54.380Z] (6/14) Installing libcbor-dev (0.9.0-r1) [2023-03-02T13:35:54.380Z] (7/14) Installing ncurses-dev (6.3_p20220521-r0) [2023-03-02T13:35:54.380Z] (8/14) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) [2023-03-02T13:35:55.316Z] (9/14) Installing libblkid (2.38-r1) [2023-03-02T13:35:55.316Z] (10/14) Installing libuuid (2.38-r1) [2023-03-02T13:35:55.316Z] (11/14) Installing libfdisk (2.38-r1) [2023-03-02T13:35:55.316Z] (12/14) Installing libmount (2.38-r1) [2023-03-02T13:35:55.316Z] (13/14) Installing libsmartcols (2.38-r1) [2023-03-02T13:35:55.316Z] (14/14) Installing util-linux-dev (2.38-r1) [2023-03-02T13:35:55.316Z] Executing busybox-1.35.0-r17.trigger [2023-03-02T13:35:55.316Z] OK: 280 MiB in 90 packages [2023-03-02T13:35:55.885Z] Removing intermediate container 24da8810f015 [2023-03-02T13:35:55.885Z] ---> debee02fc79f [2023-03-02T13:35:55.885Z] Step 6/21 : RUN mkdir /tmp/sdk [2023-03-02T13:35:55.885Z] ---> Running in 7405a3a6e677 [2023-03-02T13:35:56.823Z] Removing intermediate container 7405a3a6e677 [2023-03-02T13:35:56.823Z] ---> f7811bec0d3e [2023-03-02T13:35:56.823Z] Step 7/21 : COPY VERSION /tmp/sdk [2023-03-02T13:35:56.823Z] ---> f313aeb16226 [2023-03-02T13:35:56.823Z] Step 8/21 : COPY src /tmp/sdk/src [2023-03-02T13:35:57.083Z] ---> 707cb221e565 [2023-03-02T13:35:57.083Z] Step 9/21 : COPY include /tmp/sdk/include [2023-03-02T13:35:57.083Z] ---> dcaf08d8bb94 [2023-03-02T13:35:57.083Z] Step 10/21 : COPY scripts /tmp/sdk/scripts [2023-03-02T13:35:57.343Z] ---> a99d5050f345 [2023-03-02T13:35:57.343Z] Step 11/21 : COPY LICENSE /tmp/sdk [2023-03-02T13:35:57.343Z] ---> 1a9593f04290 [2023-03-02T13:35:57.343Z] Step 12/21 : COPY Attribution.txt /tmp/sdk [2023-03-02T13:35:57.602Z] ---> 1708de78d9a3 [2023-03-02T13:35:57.602Z] Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2023-03-02T13:35:57.602Z] ---> Running in 8b44a007957d [2023-03-02T13:35:57.860Z] + CPPCHECK=false [2023-03-02T13:35:57.860Z] + DOCGEN=false [2023-03-02T13:35:57.860Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2023-03-02T13:35:57.860Z] + TOMLVER=SDK-0.2 [2023-03-02T13:35:57.860Z] + CUTILVER=1.4 [2023-03-02T13:35:57.860Z] + '[' 0 -gt 0 ] [2023-03-02T13:35:57.860Z] + readlink -f ./scripts/build.sh [2023-03-02T13:35:57.860Z] + dirname /tmp/sdk/scripts/build.sh [2023-03-02T13:35:57.860Z] + dirname /tmp/sdk/scripts [2023-03-02T13:35:57.860Z] + ROOT=/tmp/sdk [2023-03-02T13:35:57.860Z] + cd /tmp/sdk [2023-03-02T13:35:57.860Z] + '[' '!' -d deps ] [2023-03-02T13:35:57.860Z] + mkdir deps [2023-03-02T13:35:57.860Z] + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2023-03-02T13:35:57.860Z] + tar -C deps -z -x -f - [2023-03-02T13:35:57.860Z] Connecting to github.com (140.82.113.4:443) [2023-03-02T13:35:58.119Z] Connecting to codeload.github.com (140.82.112.9:443) [2023-03-02T13:35:58.378Z] writing to stdout [2023-03-02T13:35:58.378Z] - 100% |********************************| 16451 0:00:00 ETA [2023-03-02T13:35:58.378Z] written to stdout [2023-03-02T13:35:58.378Z] + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c [2023-03-02T13:35:58.378Z] + mkdir -p /tmp/sdk/build/release [2023-03-02T13:35:58.378Z] + cd /tmp/sdk/build/release [2023-03-02T13:35:58.378Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2023-03-02T13:35:58.378Z] -- The C compiler identification is GNU 11.2.1 [2023-03-02T13:35:58.378Z] -- Detecting C compiler ABI info [2023-03-02T13:35:58.639Z] -- Detecting C compiler ABI info - done [2023-03-02T13:35:58.639Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-03-02T13:35:58.639Z] -- Detecting C compile features [2023-03-02T13:35:58.639Z] -- Detecting C compile features - done [2023-03-02T13:35:58.640Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-03-02T13:35:58.640Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.83.1") [2023-03-02T13:35:58.640Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-03-02T13:35:58.640Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-03-02T13:35:58.640Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-03-02T13:35:58.640Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-03-02T13:35:58.640Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-03-02T13:35:58.640Z] -- Found IOT: /opt/iotech/iot/1.4/lib/libiot.so [2023-03-02T13:35:58.640Z] -- /opt/iotech/iot/1.4/include [2023-03-02T13:35:58.640Z] -- C SDK 0.0.0 for Linux [2023-03-02T13:35:58.640Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-03-02T13:35:58.640Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-03-02T13:35:58.825Z] Still waiting to schedule task [2023-03-02T13:35:58.825Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-03-02T13:35:58.899Z] -- Found Curses: /usr/lib/libcurses.so [2023-03-02T13:35:58.899Z] -- Configuring done [2023-03-02T13:35:58.899Z] -- Generating done [2023-03-02T13:35:58.899Z] -- Build files have been written to: /tmp/sdk/build/release [2023-03-02T13:35:58.899Z] + make all package [2023-03-02T13:35:58.899Z] + tee release.log [2023-03-02T13:35:58.899Z] [ 2%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-03-02T13:35:58.899Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2023-03-02T13:35:59.158Z] [ 6%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2023-03-02T13:35:59.726Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2023-03-02T13:35:59.726Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2023-03-02T13:35:59.726Z] [ 12%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2023-03-02T13:35:59.984Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2023-03-02T13:36:00.241Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2023-03-02T13:36:00.502Z] [ 18%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2023-03-02T13:36:00.761Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2023-03-02T13:36:01.020Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2023-03-02T13:36:01.020Z] /tmp/sdk/src/c/devmap.c: In function 'add_locked': [2023-03-02T13:36:01.020Z] /tmp/sdk/src/c/devmap.c:103:74: error: expected ';' before 'if' [2023-03-02T13:36:01.020Z] 103 | result = search_devsdk_new_device (map->svc->add_device_new, dup->name) [2023-03-02T13:36:01.020Z] | ^ [2023-03-02T13:36:01.020Z] | ; [2023-03-02T13:36:01.020Z] 104 | if (result) [2023-03-02T13:36:01.020Z] | ~~ [2023-03-02T13:36:01.020Z] /tmp/sdk/src/c/devmap.c:91:8: warning: variable 'result' set but not used [-Wunused-but-set-variable] [2023-03-02T13:36:01.020Z] 91 | bool result = false; [2023-03-02T13:36:01.020Z] | ^~~~~~ [2023-03-02T13:36:01.020Z] make[2]: *** [c/CMakeFiles/csdk.dir/build.make:216: c/CMakeFiles/csdk.dir/devmap.c.o] Error 1 [2023-03-02T13:36:01.020Z] make[1]: *** [CMakeFiles/Makefile2:240: c/CMakeFiles/csdk.dir/all] Error 2 [2023-03-02T13:36:01.020Z] make: *** [Makefile:156: all] Error 2 [2023-03-02T13:36:01.020Z] + '[' false '=' true ] [2023-03-02T13:36:01.020Z] + '[' false '=' true ] [2023-03-02T13:36:01.020Z] + mkdir -p /tmp/sdk/build/debug [2023-03-02T13:36:01.020Z] + cd /tmp/sdk/build/debug [2023-03-02T13:36:01.020Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2023-03-02T13:36:01.020Z] -- The C compiler identification is GNU 11.2.1 [2023-03-02T13:36:01.020Z] -- Detecting C compiler ABI info [2023-03-02T13:36:01.279Z] -- Detecting C compiler ABI info - done [2023-03-02T13:36:01.279Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-03-02T13:36:01.279Z] -- Detecting C compile features [2023-03-02T13:36:01.279Z] -- Detecting C compile features - done [2023-03-02T13:36:01.279Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-03-02T13:36:01.279Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.83.1") [2023-03-02T13:36:01.279Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-03-02T13:36:01.279Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-03-02T13:36:01.279Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-03-02T13:36:01.279Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-03-02T13:36:01.279Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-03-02T13:36:01.279Z] -- Found IOT: /opt/iotech/iot/1.4/lib/libiot.so [2023-03-02T13:36:01.279Z] -- /opt/iotech/iot/1.4/include [2023-03-02T13:36:01.279Z] -- C SDK 0.0.0 for Linux [2023-03-02T13:36:01.279Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-03-02T13:36:01.279Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-03-02T13:36:01.279Z] -- Found Curses: /usr/lib/libcurses.so [2023-03-02T13:36:01.279Z] -- Configuring done [2023-03-02T13:36:01.279Z] -- Generating done [2023-03-02T13:36:01.540Z] -- Build files have been written to: /tmp/sdk/build/debug [2023-03-02T13:36:01.540Z] + make [2023-03-02T13:36:01.540Z] + tee debug.log [2023-03-02T13:36:01.540Z] [ 2%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-03-02T13:36:01.540Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2023-03-02T13:36:01.540Z] [ 6%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2023-03-02T13:36:01.800Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2023-03-02T13:36:01.800Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2023-03-02T13:36:01.800Z] [ 12%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2023-03-02T13:36:02.065Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2023-03-02T13:36:02.065Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2023-03-02T13:36:02.323Z] [ 18%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2023-03-02T13:36:02.323Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2023-03-02T13:36:02.323Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2023-03-02T13:36:02.323Z] /tmp/sdk/src/c/devmap.c: In function 'add_locked': [2023-03-02T13:36:02.323Z] /tmp/sdk/src/c/devmap.c:103:74: error: expected ';' before 'if' [2023-03-02T13:36:02.323Z] 103 | result = search_devsdk_new_device (map->svc->add_device_new, dup->name) [2023-03-02T13:36:02.323Z] | ^ [2023-03-02T13:36:02.323Z] | ; [2023-03-02T13:36:02.323Z] 104 | if (result) [2023-03-02T13:36:02.323Z] | ~~ [2023-03-02T13:36:02.323Z] /tmp/sdk/src/c/devmap.c:91:8: warning: variable 'result' set but not used [-Wunused-but-set-variable] [2023-03-02T13:36:02.323Z] 91 | bool result = false; [2023-03-02T13:36:02.323Z] | ^~~~~~ [2023-03-02T13:36:02.323Z] make[2]: *** [c/CMakeFiles/csdk.dir/build.make:216: c/CMakeFiles/csdk.dir/devmap.c.o] Error 1 [2023-03-02T13:36:02.323Z] make[1]: *** [CMakeFiles/Makefile2:240: c/CMakeFiles/csdk.dir/all] Error 2 [2023-03-02T13:36:02.323Z] make: *** [Makefile:156: all] Error 2 [2023-03-02T13:36:02.581Z] make: Entering directory '/tmp/sdk/build/release' [2023-03-02T13:36:02.581Z] make[1]: Entering directory '/tmp/sdk/build/release' [2023-03-02T13:36:02.581Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-03-02T13:36:02.581Z] Consolidate compiler generated dependencies of target csdk [2023-03-02T13:36:02.581Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-03-02T13:36:02.581Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-03-02T13:36:02.581Z] [ 2%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2023-03-02T13:36:02.581Z] /tmp/sdk/src/c/devmap.c: In function 'add_locked': [2023-03-02T13:36:02.581Z] /tmp/sdk/src/c/devmap.c:103:74: error: expected ';' before 'if' [2023-03-02T13:36:02.581Z] 103 | result = search_devsdk_new_device (map->svc->add_device_new, dup->name) [2023-03-02T13:36:02.581Z] | ^ [2023-03-02T13:36:02.582Z] | ; [2023-03-02T13:36:02.582Z] 104 | if (result) [2023-03-02T13:36:02.582Z] | ~~ [2023-03-02T13:36:02.582Z] /tmp/sdk/src/c/devmap.c:91:8: warning: variable 'result' set but not used [-Wunused-but-set-variable] [2023-03-02T13:36:02.582Z] 91 | bool result = false; [2023-03-02T13:36:02.582Z] | ^~~~~~ [2023-03-02T13:36:02.582Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-03-02T13:36:02.582Z] make[2]: *** [c/CMakeFiles/csdk.dir/build.make:216: c/CMakeFiles/csdk.dir/devmap.c.o] Error 1 [2023-03-02T13:36:02.582Z] make[1]: *** [CMakeFiles/Makefile2:240: c/CMakeFiles/csdk.dir/all] Error 2 [2023-03-02T13:36:02.582Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2023-03-02T13:36:02.582Z] make: *** [Makefile:156: all] Error 2 [2023-03-02T13:36:02.582Z] make: Leaving directory '/tmp/sdk/build/release' [2023-03-02T13:36:02.840Z] 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-03-02T13:36:03.275Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-02T13:36:03.275Z] [2023-03-02T13:36:03.275Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-02T13:36:03.576Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-02T13:36:03.576Z] latest: Pulling from edgex-lftools-log-publisher [2023-03-02T13:36:03.576Z] 5eb5b503b376: Pulling fs layer [2023-03-02T13:36:03.576Z] 5c69ac0246d0: Pulling fs layer [2023-03-02T13:36:03.576Z] ec43610c2a17: Pulling fs layer [2023-03-02T13:36:03.576Z] 3a2ae6a8a46f: Pulling fs layer [2023-03-02T13:36:03.576Z] 33b1e0a273af: Pulling fs layer [2023-03-02T13:36:03.576Z] 3a2ae6a8a46f: Waiting [2023-03-02T13:36:03.576Z] 5d3b04190fa2: Pulling fs layer [2023-03-02T13:36:03.576Z] 2f39f015ded8: Pulling fs layer [2023-03-02T13:36:03.576Z] 33b1e0a273af: Waiting [2023-03-02T13:36:03.576Z] 5d3b04190fa2: Waiting [2023-03-02T13:36:03.576Z] 2f39f015ded8: Waiting [2023-03-02T13:36:03.576Z] 5c69ac0246d0: Verifying Checksum [2023-03-02T13:36:03.576Z] 5c69ac0246d0: Download complete [2023-03-02T13:36:03.576Z] 3a2ae6a8a46f: Verifying Checksum [2023-03-02T13:36:03.576Z] 3a2ae6a8a46f: Download complete [2023-03-02T13:36:03.837Z] 33b1e0a273af: Verifying Checksum [2023-03-02T13:36:03.837Z] 33b1e0a273af: Download complete [2023-03-02T13:36:03.837Z] ec43610c2a17: Verifying Checksum [2023-03-02T13:36:03.837Z] ec43610c2a17: Download complete [2023-03-02T13:36:03.837Z] 5d3b04190fa2: Download complete [2023-03-02T13:36:03.837Z] 5eb5b503b376: Verifying Checksum [2023-03-02T13:36:03.837Z] 5eb5b503b376: Download complete [2023-03-02T13:36:05.034Z] 2f39f015ded8: Download complete [2023-03-02T13:36:05.034Z] 5eb5b503b376: Pull complete [2023-03-02T13:36:05.300Z] 5c69ac0246d0: Pull complete [2023-03-02T13:36:07.853Z] ec43610c2a17: Pull complete [2023-03-02T13:36:07.853Z] 3a2ae6a8a46f: Pull complete [2023-03-02T13:36:07.853Z] 33b1e0a273af: Pull complete [2023-03-02T13:36:07.853Z] 5d3b04190fa2: Pull complete [2023-03-02T13:36:09.551Z] 2f39f015ded8: Pull complete [2023-03-02T13:36:09.551Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-03-02T13:36:09.551Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-02T13:36:09.551Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-02T13:36:09.635Z] prd-ubuntu20.04-docker-8c-8g-8089 does not seem to be running inside a container [2023-03-02T13:36:09.667Z] $ 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-445 -v /w/workspace/edgexfoundry_device-sdk-c_PR-445:/w/workspace/edgexfoundry_device-sdk-c_PR-445:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-445@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-445@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-03-02T13:36:14.030Z] $ docker top bd7d92299421e124220200b39f4806c71b00a59246e88a4e4f9d4e5edf4437b9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-02T13:36:14.429Z] ---> job-cost.sh [2023-03-02T13:36:14.429Z] lf-activate-venv: SKIPPING [2023-03-02T13:36:14.429Z] INFO: No Stack... [2023-03-02T13:36:14.688Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-02T13:36:15.257Z] INFO: Archiving Costs [Pipeline] sh [2023-03-02T13:36:15.548Z] + cat /w/workspace/edgexfoundry_device-sdk-c_PR-445/archives/cost.csv [2023-03-02T13:36:15.548Z] + cut -d, -f6 [Pipeline] lock [2023-03-02T13:36:15.565Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-445-2-stack-cost] [2023-03-02T13:36:15.571Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-445-2-stack-cost] did not exist. Created. [2023-03-02T13:36:15.571Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-445-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-02T13:36:15.875Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-03-02T13:36:15.917Z] Stashed 1 file(s) [Pipeline] } [2023-03-02T13:36:15.927Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-445-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-02T13:36:15.942Z] $ docker stop --time=1 bd7d92299421e124220200b39f4806c71b00a59246e88a4e4f9d4e5edf4437b9 [2023-03-02T13:36:17.091Z] $ docker rm -f --volumes bd7d92299421e124220200b39f4806c71b00a59246e88a4e4f9d4e5edf4437b9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-02T13:36:17.178Z] Failed in branch amd64 [2023-03-02T13:37:32.838Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-8090 in /w/workspace/edgexfoundry_device-sdk-c_PR-445 [Pipeline] { [Pipeline] ws [2023-03-02T13:37:32.849Z] Running in /w/workspace/device-sdk-c/2 [Pipeline] { [Pipeline] checkout [2023-03-02T13:37:32.878Z] Selected Git installation does not exist. Using Default [2023-03-02T13:37:32.878Z] The recommended git tool is: NONE [2023-03-02T13:37:37.945Z] using credential edgex-jenkins-ssh [2023-03-02T13:37:37.965Z] Cloning the remote Git repository [2023-03-02T13:37:38.008Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2023-03-02T13:37:38.083Z] > git init /w/workspace/device-sdk-c/2 # timeout=10 [2023-03-02T13:37:38.238Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2023-03-02T13:37:38.239Z] > git --version # timeout=10 [2023-03-02T13:37:38.260Z] > git --version # 'git version 2.25.1' [2023-03-02T13:37:38.262Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-02T13:37:38.326Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-02T13:37:39.477Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2023-03-02T13:37:39.502Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-02T13:37:40.328Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2023-03-02T13:37:40.373Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2023-03-02T13:37:40.374Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-02T13:37:40.390Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/445/head:refs/remotes/origin/PR-445 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-03-02T13:37:41.078Z] Merging remotes/origin/main commit 21f79343dd353c602474ef88d38fd1373f48e545 into PR head commit d587d561b5ac6e47fe1a9a667e56db75e4a2ebc8 [2023-03-02T13:37:41.339Z] Merge succeeded, producing d587d561b5ac6e47fe1a9a667e56db75e4a2ebc8 [2023-03-02T13:37:41.340Z] Checking out Revision d587d561b5ac6e47fe1a9a667e56db75e4a2ebc8 (PR-445) [2023-03-02T13:37:41.096Z] > git config core.sparsecheckout # timeout=10 [2023-03-02T13:37:41.115Z] > git checkout -f d587d561b5ac6e47fe1a9a667e56db75e4a2ebc8 # timeout=10 [2023-03-02T13:37:41.236Z] > git remote # timeout=10 [2023-03-02T13:37:41.261Z] > git config --get remote.origin.url # timeout=10 [2023-03-02T13:37:41.276Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-02T13:37:41.291Z] > git merge 21f79343dd353c602474ef88d38fd1373f48e545 # timeout=10 [2023-03-02T13:37:41.318Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-03-02T13:37:41.343Z] > git config core.sparsecheckout # timeout=10 [2023-03-02T13:37:41.359Z] > git checkout -f d587d561b5ac6e47fe1a9a667e56db75e4a2ebc8 # timeout=10 [2023-03-02T13:37:44.895Z] Commit message: "Use iot_data_maps to create list of new devices being added" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-02T13:37:45.843Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-03-02T13:37:45.843Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-02T13:37:45.843Z] Dload Upload Total Spent Left Speed [2023-03-02T13:37:45.843Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 91733 0 --:--:-- --:--:-- --:--:-- 91733 [Pipeline] sh [2023-03-02T13:37:46.647Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-03-02T13:37:46.976Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-03-02T13:37:46.976Z] + sudo tee /etc/docker/daemon.new [2023-03-02T13:37:46.976Z] { [2023-03-02T13:37:46.976Z] "registry-mirrors": [ [2023-03-02T13:37:46.976Z] "https://nexus3.edgexfoundry.org:10001" [2023-03-02T13:37:46.976Z] ], [2023-03-02T13:37:46.976Z] "bip": "10.250.0.254/24", [2023-03-02T13:37:46.976Z] "hosts": [ [2023-03-02T13:37:46.976Z] "tcp://0.0.0.0:5555", [2023-03-02T13:37:46.976Z] "unix:///var/run/docker.sock" [2023-03-02T13:37:46.976Z] ], [2023-03-02T13:37:46.976Z] "mtu": 1458, [2023-03-02T13:37:46.976Z] "selinux-enabled": true, [2023-03-02T13:37:46.976Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-03-02T13:37:46.976Z] } [Pipeline] sh [2023-03-02T13:37:47.309Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-03-02T13:37:47.649Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-02T13:38:05.944Z] provisioning config files... [2023-03-02T13:38:05.974Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/2@tmp/config13130172263476277256tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-02T13:38:06.343Z] ---> docker-login.sh [2023-03-02T13:38:06.343Z] nexus3.edgexfoundry.org:10001 [2023-03-02T13:38:06.939Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-02T13:38:06.939Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-02T13:38:06.939Z] Configure a credential helper to remove this warning. See [2023-03-02T13:38:06.939Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-02T13:38:06.939Z] [2023-03-02T13:38:06.939Z] Login Succeeded [2023-03-02T13:38:06.939Z] nexus3.edgexfoundry.org:10002 [2023-03-02T13:38:07.213Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-02T13:38:07.486Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-02T13:38:07.486Z] Configure a credential helper to remove this warning. See [2023-03-02T13:38:07.486Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-02T13:38:07.486Z] [2023-03-02T13:38:07.486Z] Login Succeeded [2023-03-02T13:38:07.486Z] nexus3.edgexfoundry.org:10003 [2023-03-02T13:38:07.760Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-02T13:38:07.760Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-02T13:38:07.760Z] Configure a credential helper to remove this warning. See [2023-03-02T13:38:07.760Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-02T13:38:07.760Z] [2023-03-02T13:38:07.760Z] Login Succeeded [2023-03-02T13:38:07.760Z] nexus3.edgexfoundry.org:10004 [2023-03-02T13:38:08.034Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-02T13:38:08.034Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-02T13:38:08.034Z] Configure a credential helper to remove this warning. See [2023-03-02T13:38:08.034Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-02T13:38:08.034Z] [2023-03-02T13:38:08.034Z] Login Succeeded [2023-03-02T13:38:08.034Z] docker.io [2023-03-02T13:38:08.311Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-02T13:38:08.582Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-02T13:38:08.582Z] Configure a credential helper to remove this warning. See [2023-03-02T13:38:08.582Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-02T13:38:08.582Z] [2023-03-02T13:38:08.582Z] Login Succeeded [2023-03-02T13:38:08.582Z] ---> docker-login.sh ends [Pipeline] } [2023-03-02T13:38:08.598Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-02T13:38:08.849Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-02T13:38:08.861Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-arm64 [Pipeline] echo [2023-03-02T13:38:08.874Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-02T13:38:08.884Z] ========================================================= [2023-03-02T13:38:08.884Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] [2023-03-02T13:38:08.884Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-02T13:38:09.232Z] + 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-03-02T13:38:09.504Z] Sending build context to Docker daemon 2.915MB [2023-03-02T13:38:09.504Z] Step 1/21 : ARG BASE=alpine:3.16 [2023-03-02T13:38:09.504Z] Step 2/21 : FROM ${BASE} as builder [2023-03-02T13:38:12.107Z] latest: Pulling from edgex-devops/edgex-gcc-base-arm64 [2023-03-02T13:38:12.107Z] 9b18e9b68314: Pulling fs layer [2023-03-02T13:38:12.107Z] 1def92ead452: Pulling fs layer [2023-03-02T13:38:12.107Z] 9b18e9b68314: Download complete [2023-03-02T13:38:12.378Z] 9b18e9b68314: Pull complete [2023-03-02T13:38:13.802Z] 1def92ead452: Verifying Checksum [2023-03-02T13:38:13.802Z] 1def92ead452: Download complete [2023-03-02T13:38:22.048Z] 1def92ead452: Pull complete [2023-03-02T13:38:22.319Z] Digest: sha256:3c74c28e8b16bff0b36cfc53656b3ae71c0a9fddc9bd5376ab4c3f9356b3cc6c [2023-03-02T13:38:22.319Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest [2023-03-02T13:38:22.319Z] ---> 9a9802766715 [2023-03-02T13:38:22.319Z] 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-03-02T13:38:23.291Z] ---> Running in c1db97ba4566 [2023-03-02T13:38:24.257Z] Connecting to iotech.jfrog.io (52.18.50.91:443) [2023-03-02T13:38:24.527Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-03-02T13:38:24.527Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-03-02T13:38:24.527Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-03-02T13:38:25.506Z] Removing intermediate container c1db97ba4566 [2023-03-02T13:38:25.506Z] ---> f5e6254f52d6 [2023-03-02T13:38:25.506Z] Step 4/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-03-02T13:38:25.506Z] ---> Running in cfc54a0ca854 [2023-03-02T13:38:26.936Z] Removing intermediate container cfc54a0ca854 [2023-03-02T13:38:26.936Z] ---> b02475c518b1 [2023-03-02T13:38:26.936Z] Step 5/21 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml-dev curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev libcbor-dev paho-mqtt-c-dev-1.3 iotech-iot-1.4-dev hiredis-dev [2023-03-02T13:38:26.936Z] ---> Running in 5be3c1709521 [2023-03-02T13:38:27.904Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-02T13:38:28.493Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-03-02T13:38:28.762Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-02T13:38:29.725Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-03-02T13:38:29.725Z] (1/14) Installing hiredis (1.0.2-r0) [2023-03-02T13:38:29.725Z] (2/14) Installing hiredis-dev (1.0.2-r0) [2023-03-02T13:38:29.725Z] (3/14) Installing iotech-iot-1.4 (1.4.1-r0) [2023-03-02T13:38:30.688Z] (4/14) Installing iotech-iot-1.4-dev (1.4.1-r0) [2023-03-02T13:38:30.688Z] (5/14) Installing libcbor (0.9.0-r1) [2023-03-02T13:38:30.688Z] (6/14) Installing libcbor-dev (0.9.0-r1) [2023-03-02T13:38:30.688Z] (7/14) Installing ncurses-dev (6.3_p20220521-r0) [2023-03-02T13:38:30.955Z] (8/14) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) [2023-03-02T13:38:31.922Z] (9/14) Installing libblkid (2.38-r1) [2023-03-02T13:38:31.922Z] (10/14) Installing libuuid (2.38-r1) [2023-03-02T13:38:31.922Z] (11/14) Installing libfdisk (2.38-r1) [2023-03-02T13:38:31.922Z] (12/14) Installing libmount (2.38-r1) [2023-03-02T13:38:31.922Z] (13/14) Installing libsmartcols (2.38-r1) [2023-03-02T13:38:31.922Z] (14/14) Installing util-linux-dev (2.38-r1) [2023-03-02T13:38:31.922Z] Executing busybox-1.35.0-r17.trigger [2023-03-02T13:38:31.922Z] OK: 286 MiB in 90 packages [2023-03-02T13:38:33.341Z] Removing intermediate container 5be3c1709521 [2023-03-02T13:38:33.341Z] ---> 0ddf24e7c531 [2023-03-02T13:38:33.341Z] Step 6/21 : RUN mkdir /tmp/sdk [2023-03-02T13:38:33.341Z] ---> Running in 680ac5fb52e3 [2023-03-02T13:38:34.759Z] Removing intermediate container 680ac5fb52e3 [2023-03-02T13:38:34.759Z] ---> 1e448ac258da [2023-03-02T13:38:34.759Z] Step 7/21 : COPY VERSION /tmp/sdk [2023-03-02T13:38:35.028Z] ---> a21f47b278cb [2023-03-02T13:38:35.028Z] Step 8/21 : COPY src /tmp/sdk/src [2023-03-02T13:38:35.994Z] ---> fd63bdcb3ad3 [2023-03-02T13:38:35.994Z] Step 9/21 : COPY include /tmp/sdk/include [2023-03-02T13:38:36.262Z] ---> 0a6de449dbf5 [2023-03-02T13:38:36.262Z] Step 10/21 : COPY scripts /tmp/sdk/scripts [2023-03-02T13:38:36.844Z] ---> d7f095aa75dd [2023-03-02T13:38:36.844Z] Step 11/21 : COPY LICENSE /tmp/sdk [2023-03-02T13:38:37.432Z] ---> 6b0a43e25cdd [2023-03-02T13:38:37.432Z] Step 12/21 : COPY Attribution.txt /tmp/sdk [2023-03-02T13:38:37.704Z] ---> 9930e93cc980 [2023-03-02T13:38:37.704Z] Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2023-03-02T13:38:37.972Z] ---> Running in b0d8348083c9 [2023-03-02T13:38:38.931Z] + CPPCHECK=false [2023-03-02T13:38:38.931Z] + DOCGEN=false [2023-03-02T13:38:38.931Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2023-03-02T13:38:38.931Z] + TOMLVER=SDK-0.2 [2023-03-02T13:38:38.931Z] + CUTILVER=1.4 [2023-03-02T13:38:38.931Z] + '[' 0 -gt 0 ] [2023-03-02T13:38:38.931Z] + readlink -f ./scripts/build.sh [2023-03-02T13:38:38.931Z] + dirname /tmp/sdk/scripts/build.sh [2023-03-02T13:38:38.931Z] + dirname /tmp/sdk/scripts [2023-03-02T13:38:38.931Z] + ROOT=/tmp/sdk [2023-03-02T13:38:38.931Z] + cd /tmp/sdk [2023-03-02T13:38:38.931Z] + '[' '!' -d deps ] [2023-03-02T13:38:38.931Z] + mkdir deps [2023-03-02T13:38:38.931Z] + tar -C deps -z -x -f - [2023-03-02T13:38:38.931Z] + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2023-03-02T13:38:38.931Z] Connecting to github.com (140.82.114.4:443) [2023-03-02T13:38:39.197Z] Connecting to codeload.github.com (140.82.114.10:443) [2023-03-02T13:38:39.197Z] writing to stdout [2023-03-02T13:38:39.197Z] - 100% |********************************| 16451 0:00:00 ETA [2023-03-02T13:38:39.197Z] written to stdout [2023-03-02T13:38:39.463Z] + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c [2023-03-02T13:38:39.463Z] + mkdir -p /tmp/sdk/build/release [2023-03-02T13:38:39.463Z] + cd /tmp/sdk/build/release [2023-03-02T13:38:39.463Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2023-03-02T13:38:39.731Z] -- The C compiler identification is GNU 11.2.1 [2023-03-02T13:38:39.731Z] -- Detecting C compiler ABI info [2023-03-02T13:38:39.999Z] -- Detecting C compiler ABI info - done [2023-03-02T13:38:40.269Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-03-02T13:38:40.269Z] -- Detecting C compile features [2023-03-02T13:38:40.269Z] -- Detecting C compile features - done [2023-03-02T13:38:40.269Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-03-02T13:38:40.269Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.83.1") [2023-03-02T13:38:40.536Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-03-02T13:38:40.536Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-03-02T13:38:40.536Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-03-02T13:38:40.536Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-03-02T13:38:40.536Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-03-02T13:38:40.536Z] -- Found IOT: /opt/iotech/iot/1.4/lib/libiot.so [2023-03-02T13:38:40.536Z] -- /opt/iotech/iot/1.4/include [2023-03-02T13:38:40.536Z] -- C SDK 0.0.0 for Linux [2023-03-02T13:38:40.536Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-03-02T13:38:40.805Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-03-02T13:38:41.071Z] -- Found Curses: /usr/lib/libcurses.so [2023-03-02T13:38:41.071Z] -- Configuring done [2023-03-02T13:38:41.337Z] -- Generating done [2023-03-02T13:38:41.337Z] -- Build files have been written to: /tmp/sdk/build/release [2023-03-02T13:38:41.337Z] + make all package [2023-03-02T13:38:41.337Z] + tee release.log [2023-03-02T13:38:41.605Z] [ 2%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-03-02T13:38:42.566Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2023-03-02T13:38:43.153Z] [ 6%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2023-03-02T13:38:46.514Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2023-03-02T13:38:47.936Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2023-03-02T13:38:47.936Z] [ 12%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2023-03-02T13:38:49.348Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2023-03-02T13:38:50.756Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2023-03-02T13:38:52.165Z] [ 18%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2023-03-02T13:38:54.106Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2023-03-02T13:38:54.687Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2023-03-02T13:38:54.954Z] /tmp/sdk/src/c/devmap.c: In function 'add_locked': [2023-03-02T13:38:54.954Z] /tmp/sdk/src/c/devmap.c:103:74: error: expected ';' before 'if' [2023-03-02T13:38:54.954Z] 103 | result = search_devsdk_new_device (map->svc->add_device_new, dup->name) [2023-03-02T13:38:54.954Z] | ^ [2023-03-02T13:38:54.954Z] | ; [2023-03-02T13:38:54.954Z] 104 | if (result) [2023-03-02T13:38:54.954Z] | ~~ [2023-03-02T13:38:54.954Z] /tmp/sdk/src/c/devmap.c:91:8: warning: variable 'result' set but not used [-Wunused-but-set-variable] [2023-03-02T13:38:54.954Z] 91 | bool result = false; [2023-03-02T13:38:54.954Z] | ^~~~~~ [2023-03-02T13:38:54.954Z] make[2]: *** [c/CMakeFiles/csdk.dir/build.make:216: c/CMakeFiles/csdk.dir/devmap.c.o] Error 1 [2023-03-02T13:38:54.954Z] make[1]: *** [CMakeFiles/Makefile2:240: c/CMakeFiles/csdk.dir/all] Error 2 [2023-03-02T13:38:54.954Z] make: *** [Makefile:156: all] Error 2 [2023-03-02T13:38:54.954Z] + '[' false '=' true ] [2023-03-02T13:38:54.954Z] + '[' false '=' true ] [2023-03-02T13:38:54.954Z] + mkdir -p /tmp/sdk/build/debug [2023-03-02T13:38:54.954Z] + cd /tmp/sdk/build/debug [2023-03-02T13:38:54.954Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2023-03-02T13:38:55.220Z] -- The C compiler identification is GNU 11.2.1 [2023-03-02T13:38:55.220Z] -- Detecting C compiler ABI info [2023-03-02T13:38:55.488Z] -- Detecting C compiler ABI info - done [2023-03-02T13:38:55.755Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-03-02T13:38:55.755Z] -- Detecting C compile features [2023-03-02T13:38:55.755Z] -- Detecting C compile features - done [2023-03-02T13:38:55.755Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-03-02T13:38:56.022Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.83.1") [2023-03-02T13:38:56.022Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-03-02T13:38:56.022Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-03-02T13:38:56.022Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-03-02T13:38:56.022Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-03-02T13:38:56.022Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-03-02T13:38:56.022Z] -- Found IOT: /opt/iotech/iot/1.4/lib/libiot.so [2023-03-02T13:38:56.022Z] -- /opt/iotech/iot/1.4/include [2023-03-02T13:38:56.022Z] -- C SDK 0.0.0 for Linux [2023-03-02T13:38:56.022Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-03-02T13:38:56.290Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-03-02T13:38:56.556Z] -- Found Curses: /usr/lib/libcurses.so [2023-03-02T13:38:56.556Z] -- Configuring done [2023-03-02T13:38:56.824Z] -- Generating done [2023-03-02T13:38:56.824Z] -- Build files have been written to: /tmp/sdk/build/debug [2023-03-02T13:38:57.092Z] + tee debug.log [2023-03-02T13:38:57.092Z] + make [2023-03-02T13:38:57.092Z] [ 2%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-03-02T13:38:57.677Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2023-03-02T13:38:57.944Z] [ 6%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2023-03-02T13:38:58.908Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2023-03-02T13:38:59.490Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2023-03-02T13:38:59.756Z] [ 12%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2023-03-02T13:39:00.339Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2023-03-02T13:39:00.921Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2023-03-02T13:39:01.503Z] [ 18%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2023-03-02T13:39:02.083Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2023-03-02T13:39:02.668Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2023-03-02T13:39:02.669Z] /tmp/sdk/src/c/devmap.c: In function 'add_locked': [2023-03-02T13:39:02.669Z] /tmp/sdk/src/c/devmap.c:103:74: error: expected ';' before 'if' [2023-03-02T13:39:02.669Z] 103 | result = search_devsdk_new_device (map->svc->add_device_new, dup->name) [2023-03-02T13:39:02.669Z] | ^ [2023-03-02T13:39:02.669Z] | ; [2023-03-02T13:39:02.669Z] 104 | if (result) [2023-03-02T13:39:02.669Z] | ~~ [2023-03-02T13:39:02.669Z] /tmp/sdk/src/c/devmap.c:91:8: warning: variable 'result' set but not used [-Wunused-but-set-variable] [2023-03-02T13:39:02.669Z] 91 | bool result = false; [2023-03-02T13:39:02.669Z] | ^~~~~~ [2023-03-02T13:39:02.935Z] make[2]: *** [c/CMakeFiles/csdk.dir/build.make:216: c/CMakeFiles/csdk.dir/devmap.c.o] Error 1 [2023-03-02T13:39:02.935Z] make[1]: *** [CMakeFiles/Makefile2:240: c/CMakeFiles/csdk.dir/all] Error 2 [2023-03-02T13:39:02.935Z] make: *** [Makefile:156: all] Error 2 [2023-03-02T13:39:02.935Z] make: Entering directory '/tmp/sdk/build/release' [2023-03-02T13:39:02.935Z] make[1]: Entering directory '/tmp/sdk/build/release' [2023-03-02T13:39:02.935Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-03-02T13:39:02.935Z] Consolidate compiler generated dependencies of target csdk [2023-03-02T13:39:02.935Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-03-02T13:39:02.935Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-03-02T13:39:02.935Z] [ 2%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2023-03-02T13:39:03.200Z] /tmp/sdk/src/c/devmap.c: In function 'add_locked': [2023-03-02T13:39:03.200Z] /tmp/sdk/src/c/devmap.c:103:74: error: expected ';' before 'if' [2023-03-02T13:39:03.200Z] 103 | result = search_devsdk_new_device (map->svc->add_device_new, dup->name) [2023-03-02T13:39:03.200Z] | ^ [2023-03-02T13:39:03.200Z] | ; [2023-03-02T13:39:03.200Z] 104 | if (result) [2023-03-02T13:39:03.200Z] | ~~ [2023-03-02T13:39:03.200Z] /tmp/sdk/src/c/devmap.c:91:8: warning: variable 'result' set but not used [-Wunused-but-set-variable] [2023-03-02T13:39:03.200Z] 91 | bool result = false; [2023-03-02T13:39:03.200Z] | ^~~~~~ [2023-03-02T13:39:03.200Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-03-02T13:39:03.200Z] make[2]: *** [c/CMakeFiles/csdk.dir/build.make:216: c/CMakeFiles/csdk.dir/devmap.c.o] Error 1 [2023-03-02T13:39:03.200Z] make[1]: *** [CMakeFiles/Makefile2:240: c/CMakeFiles/csdk.dir/all] Error 2 [2023-03-02T13:39:03.200Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2023-03-02T13:39:03.200Z] make: *** [Makefile:156: all] Error 2 [2023-03-02T13:39:03.200Z] make: Leaving directory '/tmp/sdk/build/release' [2023-03-02T13:39:03.784Z] 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-03-02T13:39:04.257Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-02T13:39:04.257Z] [2023-03-02T13:39:04.257Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-02T13:39:04.589Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-02T13:39:04.589Z] arm64: Pulling from edgex-lftools-log-publisher [2023-03-02T13:39:04.589Z] 8998bd30e6a1: Pulling fs layer [2023-03-02T13:39:04.589Z] 04944245beec: Pulling fs layer [2023-03-02T13:39:04.589Z] 699f458cf7ca: Pulling fs layer [2023-03-02T13:39:04.589Z] 765212b225bb: Pulling fs layer [2023-03-02T13:39:04.589Z] f23df028b6ca: Pulling fs layer [2023-03-02T13:39:04.589Z] d65c8cfc05b1: Pulling fs layer [2023-03-02T13:39:04.589Z] 2437ff75d9bd: Pulling fs layer [2023-03-02T13:39:04.589Z] f23df028b6ca: Waiting [2023-03-02T13:39:04.589Z] d65c8cfc05b1: Waiting [2023-03-02T13:39:04.589Z] 2437ff75d9bd: Waiting [2023-03-02T13:39:04.589Z] 765212b225bb: Waiting [2023-03-02T13:39:04.862Z] 04944245beec: Verifying Checksum [2023-03-02T13:39:04.862Z] 04944245beec: Download complete [2023-03-02T13:39:04.862Z] 765212b225bb: Verifying Checksum [2023-03-02T13:39:04.862Z] 765212b225bb: Download complete [2023-03-02T13:39:04.862Z] f23df028b6ca: Verifying Checksum [2023-03-02T13:39:04.862Z] f23df028b6ca: Download complete [2023-03-02T13:39:04.862Z] d65c8cfc05b1: Verifying Checksum [2023-03-02T13:39:04.862Z] d65c8cfc05b1: Download complete [2023-03-02T13:39:04.862Z] 699f458cf7ca: Verifying Checksum [2023-03-02T13:39:04.862Z] 699f458cf7ca: Download complete [2023-03-02T13:39:05.445Z] 8998bd30e6a1: Verifying Checksum [2023-03-02T13:39:05.445Z] 8998bd30e6a1: Download complete [2023-03-02T13:39:07.386Z] 2437ff75d9bd: Verifying Checksum [2023-03-02T13:39:07.386Z] 2437ff75d9bd: Download complete [2023-03-02T13:39:08.795Z] 8998bd30e6a1: Pull complete [2023-03-02T13:39:09.060Z] 04944245beec: Pull complete [2023-03-02T13:39:10.465Z] 699f458cf7ca: Pull complete [2023-03-02T13:39:10.465Z] 765212b225bb: Pull complete [2023-03-02T13:39:11.047Z] f23df028b6ca: Pull complete [2023-03-02T13:39:11.313Z] d65c8cfc05b1: Pull complete [2023-03-02T13:39:23.612Z] 2437ff75d9bd: Pull complete [2023-03-02T13:39:23.612Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-03-02T13:39:23.612Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-02T13:39:23.612Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-02T13:39:23.792Z] prd-ubuntu20.04-docker-arm64-4c-16g-8090 does not seem to be running inside a container [2023-03-02T13:39:23.848Z] $ 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/2 -v /w/workspace/device-sdk-c/2:/w/workspace/device-sdk-c/2:rw,z -v /w/workspace/device-sdk-c/2@tmp:/w/workspace/device-sdk-c/2@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-03-02T13:39:26.126Z] $ docker top dd43b7b0bc4ea998d40cf8fbeff5a53b101ccbf33721e04afbc56b8537074b1c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-02T13:39:26.619Z] ---> job-cost.sh [2023-03-02T13:39:26.886Z] lf-activate-venv: SKIPPING [2023-03-02T13:39:26.886Z] INFO: No Stack... [2023-03-02T13:39:27.152Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-03-02T13:39:28.110Z] INFO: Archiving Costs [Pipeline] sh [2023-03-02T13:39:28.434Z] + cat /w/workspace/device-sdk-c/2/archives/cost.csv [2023-03-02T13:39:28.434Z] + cut -d, -f6 [Pipeline] lock [2023-03-02T13:39:28.497Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-445-2-stack-cost] [2023-03-02T13:39:28.503Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-445-2-stack-cost] did not exist. Created. [2023-03-02T13:39:28.503Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-445-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-02T13:39:28.834Z] /w/workspace/device-sdk-c/2@tmp/durable-c741e90f/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-03-02T13:39:29.163Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-03-02T13:39:29.187Z] Warning: overwriting stash ‘stack-cost’ [2023-03-02T13:39:29.649Z] Stashed 1 file(s) [Pipeline] } [2023-03-02T13:39:29.659Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-445-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-02T13:39:29.676Z] $ docker stop --time=1 dd43b7b0bc4ea998d40cf8fbeff5a53b101ccbf33721e04afbc56b8537074b1c [2023-03-02T13:39:31.158Z] $ docker rm -f --volumes dd43b7b0bc4ea998d40cf8fbeff5a53b101ccbf33721e04afbc56b8537074b1c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-02T13:39:31.405Z] 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-03-02T13:39:31.904Z] + [ -d /w/workspace/edgexfoundry_device-sdk-c_PR-445/archives ] [2023-03-02T13:39:31.904Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-445/archives [2023-03-02T13:39:31.904Z] total 16 [2023-03-02T13:39:31.904Z] drwxr-xr-x 3 root root 4096 Mar 2 13:36 . [2023-03-02T13:39:31.904Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 2 13:36 .. [2023-03-02T13:39:31.904Z] drwxr-xr-x 2 root root 4096 Mar 2 13:36 cost [2023-03-02T13:39:31.904Z] -rw-r--r-- 1 root root 84 Mar 2 13:36 cost.csv [2023-03-02T13:39:31.904Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_PR-445/archives [2023-03-02T13:39:31.904Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-445/archives [2023-03-02T13:39:31.904Z] total 16 [2023-03-02T13:39:31.904Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 2 13:36 . [2023-03-02T13:39:31.904Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 2 13:36 .. [2023-03-02T13:39:31.904Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 2 13:36 cost [2023-03-02T13:39:31.904Z] -rw-r--r-- 1 jenkins jenkins 84 Mar 2 13:36 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-03-02T13:39:32.198Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-02T13:39:33.059Z] ---> package-listing.sh [2023-03-02T13:39:33.059Z] ++ facter osfamily [2023-03-02T13:39:33.059Z] ++ tr '[:upper:]' '[:lower:]' [2023-03-02T13:39:33.319Z] + OS_FAMILY=debian [2023-03-02T13:39:33.319Z] + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-445 [2023-03-02T13:39:33.319Z] + START_PACKAGES=/tmp/packages_start.txt [2023-03-02T13:39:33.319Z] + END_PACKAGES=/tmp/packages_end.txt [2023-03-02T13:39:33.319Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-03-02T13:39:33.319Z] + PACKAGES=/tmp/packages_start.txt [2023-03-02T13:39:33.319Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-445 ']' [2023-03-02T13:39:33.319Z] + PACKAGES=/tmp/packages_end.txt [2023-03-02T13:39:33.319Z] + case "${OS_FAMILY}" in [2023-03-02T13:39:33.319Z] + dpkg -l [2023-03-02T13:39:33.319Z] + grep '^ii' [2023-03-02T13:39:33.319Z] + '[' -f /tmp/packages_start.txt ']' [2023-03-02T13:39:33.319Z] + '[' -f /tmp/packages_end.txt ']' [2023-03-02T13:39:33.319Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-03-02T13:39:33.319Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-445 ']' [2023-03-02T13:39:33.319Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-445/archives/ [2023-03-02T13:39:33.319Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-445/archives/ [Pipeline] echo [2023-03-02T13:39:33.332Z] 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-445/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-03-02T13:39:33.611Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-02T13:39:34.172Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-02T13:39:34.172Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-02T13:39:34.241Z] prd-ubuntu20.04-docker-8c-8g-8089 does not seem to be running inside a container [2023-03-02T13:39:34.270Z] $ 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-445/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-445 -v /w/workspace/edgexfoundry_device-sdk-c_PR-445:/w/workspace/edgexfoundry_device-sdk-c_PR-445:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-445@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-445@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-03-02T13:39:34.473Z] $ docker top 16ad2d4100e397fc041fb26101589a15b7d694dc9e178ff59407115e00dfcc67 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-02T13:39:34.820Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-03-02T13:39:35.108Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-03-02T13:39:35.396Z] + ls /var/log/sa-host [2023-03-02T13:39:35.396Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-02T13:39:35.536Z] provisioning config files... [2023-03-02T13:39:35.544Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-445@tmp/config717447943650092081tmp [Pipeline] { [Pipeline] echo [2023-03-02T13:39:35.557Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-02T13:39:35.845Z] ---> create-netrc.sh [Pipeline] } [2023-03-02T13:39:35.852Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-03-02T13:39:36.197Z] ---> python-tools-install.sh [Pipeline] echo [2023-03-02T13:39:36.207Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-02T13:39:36.494Z] ---> sudo-logs.sh [2023-03-02T13:39:36.494Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-03-02T13:39:36.529Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-02T13:39:36.815Z] ---> job-cost.sh [2023-03-02T13:39:36.815Z] lf-activate-venv: SKIPPING [2023-03-02T13:39:36.815Z] DEBUG: total: 0.2199999988079071 [2023-03-02T13:39:36.815Z] INFO: Retrieving Stack Cost... [2023-03-02T13:39:37.075Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-02T13:39:37.334Z] INFO: Archiving Costs [Pipeline] echo [2023-03-02T13:39:37.349Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-02T13:39:37.638Z] ---> logs-deploy.sh [2023-03-02T13:39:37.638Z] lf-activate-venv: SKIPPING [2023-03-02T13:39:37.638Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-445/2 [2023-03-02T13:39:37.638Z] INFO: archiving workspace using pattern(s): [2023-03-02T13:39:38.577Z] Archives upload complete. [2023-03-02T13:39:38.577Z] INFO: archiving logs to Nexus