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 febd721e535cd015b8b6f2f4e53c0b94d8a29ac2 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-ssh12785846930134127520.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-ssh6221685191746525641.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-ssh17540695056220509946.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-ssh15157075414823991550.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-ssh6905479430188919696.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 ‘prd-ubuntu20.04-docker-8c-8g-8091’ is offline Running on prd-ubuntu20.04-docker-8c-8g-8093 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 febd721e535cd015b8b6f2f4e53c0b94d8a29ac2 Merge succeeded, producing febd721e535cd015b8b6f2f4e53c0b94d8a29ac2 Checking out Revision febd721e535cd015b8b6f2f4e53c0b94d8a29ac2 (PR-445) > git config core.sparsecheckout # timeout=10 > git checkout -f febd721e535cd015b8b6f2f4e53c0b94d8a29ac2 # 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 febd721e535cd015b8b6f2f4e53c0b94d8a29ac2 # timeout=10 Commit message: "Use iot_data_maps to create list of new devices being added" > git rev-list --no-walk 2294d3594a1bcce90987af53f82306b5b24beb7b # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-03-02T13:49:40.398Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-03-02T13:49:40.445Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-03-02T13:49:40.459Z] ========================================================= [2023-03-02T13:49:40.459Z] EdgeX Global Pipelines Version Info [2023-03-02T13:49:40.459Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-03-02T13:49:41.601Z] ------------------- [2023-03-02T13:49:41.601Z] stable info: [2023-03-02T13:49:41.601Z] ------------------- [2023-03-02T13:49:41.601Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-03-02T13:49:41.601Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-03-02T13:49:41.601Z] Message: update stable to v1.0.244 [2023-03-02T13:49:41.861Z] ------------------- [2023-03-02T13:49:41.861Z] experimental info: [2023-03-02T13:49:41.861Z] ------------------- [2023-03-02T13:49:41.861Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-03-02T13:49:41.861Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-03-02T13:49:41.861Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-03-02T13:49:42.073Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo [2023-03-02T13:49:42.086Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo [2023-03-02T13:49:42.096Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-03-02T13:49:42.107Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-03-02T13:49:42.117Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-03-02T13:49:42.128Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo [2023-03-02T13:49:42.138Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo [2023-03-02T13:49:42.150Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-03-02T13:49:42.160Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-03-02T13:49:42.171Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo [2023-03-02T13:49:42.181Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-03-02T13:49:42.192Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-03-02T13:49:42.205Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-03-02T13:49:42.218Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-03-02T13:49:42.231Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-03-02T13:49:42.242Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-03-02T13:49:42.252Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-03-02T13:49:42.263Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-445 [Pipeline] echo [2023-03-02T13:49:42.273Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-445 [Pipeline] echo [2023-03-02T13:49:42.284Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-445 [Pipeline] echo [2023-03-02T13:49:42.296Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = febd721e535cd015b8b6f2f4e53c0b94d8a29ac2 [Pipeline] echo [2023-03-02T13:49:42.307Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = febd721 [Pipeline] echo [2023-03-02T13:49:42.317Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-02T13:49:42.359Z] provisioning config files... [2023-03-02T13:49:42.379Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-445@tmp/config6392318299649857526tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-02T13:49:42.685Z] ---> docker-login.sh [2023-03-02T13:49:42.685Z] nexus3.edgexfoundry.org:10001 [2023-03-02T13:49:44.064Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-02T13:49:44.064Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-02T13:49:44.064Z] Configure a credential helper to remove this warning. See [2023-03-02T13:49:44.064Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-02T13:49:44.064Z] [2023-03-02T13:49:44.064Z] Login Succeeded [2023-03-02T13:49:44.064Z] nexus3.edgexfoundry.org:10002 [2023-03-02T13:49:44.064Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-02T13:49:44.064Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-02T13:49:44.064Z] Configure a credential helper to remove this warning. See [2023-03-02T13:49:44.064Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-02T13:49:44.064Z] [2023-03-02T13:49:44.064Z] Login Succeeded [2023-03-02T13:49:44.064Z] nexus3.edgexfoundry.org:10003 [2023-03-02T13:49:44.325Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-02T13:49:44.325Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-02T13:49:44.325Z] Configure a credential helper to remove this warning. See [2023-03-02T13:49:44.325Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-02T13:49:44.325Z] [2023-03-02T13:49:44.325Z] Login Succeeded [2023-03-02T13:49:44.325Z] nexus3.edgexfoundry.org:10004 [2023-03-02T13:49:44.325Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-02T13:49:44.586Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-02T13:49:44.586Z] Configure a credential helper to remove this warning. See [2023-03-02T13:49:44.586Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-02T13:49:44.586Z] [2023-03-02T13:49:44.586Z] Login Succeeded [2023-03-02T13:49:44.586Z] docker.io [2023-03-02T13:49:44.586Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-02T13:49:44.870Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-02T13:49:44.870Z] Configure a credential helper to remove this warning. See [2023-03-02T13:49:44.870Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-02T13:49:44.870Z] [2023-03-02T13:49:44.870Z] Login Succeeded [2023-03-02T13:49:44.870Z] ---> docker-login.sh ends [Pipeline] } [2023-03-02T13:49:44.888Z] 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:49:45.279Z] + git rev-list -1 --merges febd721e535cd015b8b6f2f4e53c0b94d8a29ac2~1..febd721e535cd015b8b6f2f4e53c0b94d8a29ac2 [Pipeline] echo [2023-03-02T13:49:45.335Z] -----------> git rev-list -1 --merges febd721e535cd015b8b6f2f4e53c0b94d8a29ac2~1..febd721e535cd015b8b6f2f4e53c0b94d8a29ac2 febd721e535cd015b8b6f2f4e53c0b94d8a29ac2 [false] [Pipeline] sh [2023-03-02T13:49:45.633Z] + git log --format=format:%s -1 febd721e535cd015b8b6f2f4e53c0b94d8a29ac2 [Pipeline] echo [2023-03-02T13:49:45.649Z] ========================================================= [2023-03-02T13:49:45.649Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-03-02T13:49:45.649Z] ========================================================= 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:49:46.047Z] + git rev-list -1 --merges febd721e535cd015b8b6f2f4e53c0b94d8a29ac2~1..febd721e535cd015b8b6f2f4e53c0b94d8a29ac2 [Pipeline] echo [2023-03-02T13:49:46.059Z] -----------> git rev-list -1 --merges febd721e535cd015b8b6f2f4e53c0b94d8a29ac2~1..febd721e535cd015b8b6f2f4e53c0b94d8a29ac2 febd721e535cd015b8b6f2f4e53c0b94d8a29ac2 [false] [Pipeline] sh [2023-03-02T13:49:46.344Z] + git log --format=format:%s -1 febd721e535cd015b8b6f2f4e53c0b94d8a29ac2 [Pipeline] echo [2023-03-02T13:49:46.357Z] ========================================================= [2023-03-02T13:49:46.357Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-03-02T13:49:46.357Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh [2023-03-02T13:49:46.751Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-02T13:49:46.752Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-03-02T13:49:46.752Z] + [ -e /tmp/ssh_known_hosts ] [2023-03-02T13:49:46.752Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-03-02T13:49:46.752Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-03-02T13:49:46.752Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-03-02T13:49:46.752Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-02T13:49:47.099Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-02T13:49:47.099Z] [2023-03-02T13:49:47.099Z] 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:49:47.401Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-02T13:49:47.663Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-03-02T13:49:47.663Z] b85a868b505f: Pulling fs layer [2023-03-02T13:49:47.663Z] e2be974225ed: Pulling fs layer [2023-03-02T13:49:47.663Z] 339a4e72a1f5: Pulling fs layer [2023-03-02T13:49:47.663Z] 988bab9f4d93: Pulling fs layer [2023-03-02T13:49:47.663Z] 1469e6f7b9e6: Pulling fs layer [2023-03-02T13:49:47.663Z] eaf3925da568: Pulling fs layer [2023-03-02T13:49:47.663Z] bab4dde63d76: Pulling fs layer [2023-03-02T13:49:47.663Z] bde34c3a00c8: Pulling fs layer [2023-03-02T13:49:47.663Z] b352a97aabf1: Pulling fs layer [2023-03-02T13:49:47.663Z] 4872d77fe225: Pulling fs layer [2023-03-02T13:49:47.663Z] 5851b861e8e6: Pulling fs layer [2023-03-02T13:49:47.663Z] 988bab9f4d93: Waiting [2023-03-02T13:49:47.663Z] 1469e6f7b9e6: Waiting [2023-03-02T13:49:47.663Z] eaf3925da568: Waiting [2023-03-02T13:49:47.663Z] bab4dde63d76: Waiting [2023-03-02T13:49:47.663Z] bde34c3a00c8: Waiting [2023-03-02T13:49:47.663Z] b352a97aabf1: Waiting [2023-03-02T13:49:47.663Z] 4872d77fe225: Waiting [2023-03-02T13:49:47.663Z] 5851b861e8e6: Waiting [2023-03-02T13:49:47.932Z] e2be974225ed: Download complete [2023-03-02T13:49:47.932Z] 988bab9f4d93: Verifying Checksum [2023-03-02T13:49:47.932Z] 988bab9f4d93: Download complete [2023-03-02T13:49:47.932Z] 339a4e72a1f5: Verifying Checksum [2023-03-02T13:49:47.932Z] 339a4e72a1f5: Download complete [2023-03-02T13:49:47.932Z] eaf3925da568: Verifying Checksum [2023-03-02T13:49:47.932Z] eaf3925da568: Download complete [2023-03-02T13:49:47.932Z] 1469e6f7b9e6: Verifying Checksum [2023-03-02T13:49:47.932Z] 1469e6f7b9e6: Download complete [2023-03-02T13:49:47.932Z] bde34c3a00c8: Download complete [2023-03-02T13:49:47.932Z] b352a97aabf1: Verifying Checksum [2023-03-02T13:49:47.932Z] b352a97aabf1: Download complete [2023-03-02T13:49:47.932Z] 4872d77fe225: Verifying Checksum [2023-03-02T13:49:47.932Z] 4872d77fe225: Download complete [2023-03-02T13:49:47.932Z] 5851b861e8e6: Verifying Checksum [2023-03-02T13:49:47.932Z] 5851b861e8e6: Download complete [2023-03-02T13:49:48.202Z] b85a868b505f: Verifying Checksum [2023-03-02T13:49:48.202Z] b85a868b505f: Download complete [2023-03-02T13:49:48.462Z] bab4dde63d76: Verifying Checksum [2023-03-02T13:49:48.462Z] bab4dde63d76: Download complete [2023-03-02T13:49:49.403Z] b85a868b505f: Pull complete [2023-03-02T13:49:49.662Z] e2be974225ed: Pull complete [2023-03-02T13:49:50.234Z] 339a4e72a1f5: Pull complete [2023-03-02T13:49:50.496Z] 988bab9f4d93: Pull complete [2023-03-02T13:49:51.073Z] 1469e6f7b9e6: Pull complete [2023-03-02T13:49:51.073Z] eaf3925da568: Pull complete [2023-03-02T13:49:53.610Z] bab4dde63d76: Pull complete [2023-03-02T13:49:53.610Z] bde34c3a00c8: Pull complete [2023-03-02T13:49:53.880Z] b352a97aabf1: Pull complete [2023-03-02T13:49:54.142Z] 4872d77fe225: Pull complete [2023-03-02T13:49:54.731Z] 5851b861e8e6: Pull complete [2023-03-02T13:49:54.731Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-03-02T13:49:54.991Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-02T13:49:54.991Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-02T13:49:55.088Z] prd-ubuntu20.04-docker-8c-8g-8093 does not seem to be running inside a container [2023-03-02T13:49:55.126Z] $ 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:50:03.553Z] $ docker top 48d4971d0a8a4b726fac14a09619f6536a5175430381169b33ab0b61ae226e3c -eo pid,comm [2023-03-02T13:50:03.629Z] 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:50:03.629Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-02T13:50:03.668Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-02T13:50:03.668Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-02T13:50:03.845Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-02T13:50:03.851Z] $ docker exec 48d4971d0a8a4b726fac14a09619f6536a5175430381169b33ab0b61ae226e3c ssh-agent [2023-03-02T13:50:03.950Z] SSH_AUTH_SOCK=/tmp/ssh-XYTXymcR667z/agent.27 [2023-03-02T13:50:03.950Z] SSH_AGENT_PID=39 [2023-03-02T13:50:03.955Z] Running ssh-add (command line suppressed) [2023-03-02T13:50:04.054Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-445@tmp/private_key_1569720101334720231.key (/w/workspace/edgexfoundry_device-sdk-c_PR-445@tmp/private_key_1569720101334720231.key) [2023-03-02T13:50:04.066Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-02T13:50:04.356Z] + git tag --points-at HEAD [Pipeline] } [2023-03-02T13:50:04.381Z] $ docker exec --env ******** --env ******** 48d4971d0a8a4b726fac14a09619f6536a5175430381169b33ab0b61ae226e3c ssh-agent -k [2023-03-02T13:50:04.484Z] unset SSH_AUTH_SOCK; [2023-03-02T13:50:04.485Z] unset SSH_AGENT_PID; [2023-03-02T13:50:04.485Z] echo Agent pid 39 killed; [2023-03-02T13:50:04.493Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-03-02T13:50:04.519Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-02T13:50:04.519Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-02T13:50:04.618Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-02T13:50:04.623Z] $ docker exec 48d4971d0a8a4b726fac14a09619f6536a5175430381169b33ab0b61ae226e3c ssh-agent [2023-03-02T13:50:04.745Z] SSH_AUTH_SOCK=/tmp/ssh-gRNbeIO2GHtB/agent.71 [2023-03-02T13:50:04.745Z] SSH_AGENT_PID=77 [2023-03-02T13:50:04.751Z] Running ssh-add (command line suppressed) [2023-03-02T13:50:04.884Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-445@tmp/private_key_14697462155355823887.key (/w/workspace/edgexfoundry_device-sdk-c_PR-445@tmp/private_key_14697462155355823887.key) [2023-03-02T13:50:04.898Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-02T13:50:05.187Z] + git semver init [2023-03-02T13:50:05.754Z] 2023-03-02 13:50:05,615 [run_init] DEBUG init version:0.0.0 force:False [2023-03-02T13:50:05.754Z] 2023-03-02 13:50:05,617 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-c_PR-445/.semver [2023-03-02T13:50:05.754Z] 2023-03-02 13:50:05,617 [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:50:05.754Z] 2023-03-02 13:50:05,618 [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:50:08.059Z] 2023-03-02 13:50:07,757 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-c_PR-445/.git/info/exclude [2023-03-02T13:50:08.059Z] 2023-03-02 13:50:07,758 [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:50:08.059Z] 2023-03-02 13:50:07,758 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-c_PR-445/.semver/PR-445 [2023-03-02T13:50:08.059Z] 2023-03-02 13:50:07,762 [execute] INFO git cat-file --batch-check [2023-03-02T13:50:08.059Z] 2023-03-02 13:50:07,762 [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:50:08.059Z] 2023-03-02 13:50:07,768 [execute] INFO git cat-file --batch [2023-03-02T13:50:08.059Z] 2023-03-02 13:50:07,769 [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:50:08.059Z] 2023-03-02 13:50:07,773 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_PR-445/.semver/PR-445 [2023-03-02T13:50:08.059Z] 0.0.0 [Pipeline] } [2023-03-02T13:50:08.071Z] $ docker exec --env ******** --env ******** 48d4971d0a8a4b726fac14a09619f6536a5175430381169b33ab0b61ae226e3c ssh-agent -k [2023-03-02T13:50:08.183Z] unset SSH_AUTH_SOCK; [2023-03-02T13:50:08.183Z] unset SSH_AGENT_PID; [2023-03-02T13:50:08.183Z] echo Agent pid 77 killed; [2023-03-02T13:50:08.187Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-02T13:50:08.520Z] + git semver [Pipeline] } [2023-03-02T13:50:09.106Z] $ docker stop --time=1 48d4971d0a8a4b726fac14a09619f6536a5175430381169b33ab0b61ae226e3c [2023-03-02T13:50:10.778Z] $ docker rm -f --volumes 48d4971d0a8a4b726fac14a09619f6536a5175430381169b33ab0b61ae226e3c [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-02T13:50:11.248Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-03-02T13:50:11.464Z] Stashed 1 file(s) [Pipeline] echo [2023-03-02T13:50:11.468Z] [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:50:11.562Z] provisioning config files... [2023-03-02T13:50:11.570Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-445@tmp/config10981481030765057871tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-02T13:50:11.868Z] ---> docker-login.sh [2023-03-02T13:50:11.868Z] nexus3.edgexfoundry.org:10001 [2023-03-02T13:50:11.868Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-02T13:50:11.868Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-02T13:50:11.868Z] Configure a credential helper to remove this warning. See [2023-03-02T13:50:11.868Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-02T13:50:11.868Z] [2023-03-02T13:50:11.868Z] Login Succeeded [2023-03-02T13:50:11.868Z] nexus3.edgexfoundry.org:10002 [2023-03-02T13:50:11.868Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-02T13:50:11.868Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-02T13:50:11.868Z] Configure a credential helper to remove this warning. See [2023-03-02T13:50:11.868Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-02T13:50:11.868Z] [2023-03-02T13:50:11.868Z] Login Succeeded [2023-03-02T13:50:11.868Z] nexus3.edgexfoundry.org:10003 [2023-03-02T13:50:12.127Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-02T13:50:12.127Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-02T13:50:12.127Z] Configure a credential helper to remove this warning. See [2023-03-02T13:50:12.127Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-02T13:50:12.127Z] [2023-03-02T13:50:12.127Z] Login Succeeded [2023-03-02T13:50:12.127Z] nexus3.edgexfoundry.org:10004 [2023-03-02T13:50:12.127Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-02T13:50:12.127Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-02T13:50:12.127Z] Configure a credential helper to remove this warning. See [2023-03-02T13:50:12.127Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-02T13:50:12.127Z] [2023-03-02T13:50:12.127Z] Login Succeeded [2023-03-02T13:50:12.127Z] docker.io [2023-03-02T13:50:12.386Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-02T13:50:12.648Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-02T13:50:12.648Z] Configure a credential helper to remove this warning. See [2023-03-02T13:50:12.648Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-02T13:50:12.648Z] [2023-03-02T13:50:12.648Z] Login Succeeded [2023-03-02T13:50:12.648Z] ---> docker-login.sh ends [Pipeline] } [2023-03-02T13:50:12.654Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-02T13:50:12.707Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-02T13:50:12.715Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo [2023-03-02T13:50:12.722Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-02T13:50:12.728Z] ========================================================= [2023-03-02T13:50:12.728Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] [2023-03-02T13:50:12.728Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-02T13:50:13.077Z] + 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:50:13.077Z] Sending build context to Docker daemon 4.806MB [2023-03-02T13:50:13.077Z] Step 1/21 : ARG BASE=alpine:3.16 [2023-03-02T13:50:13.077Z] Step 2/21 : FROM ${BASE} as builder [2023-03-02T13:50:13.337Z] latest: Pulling from edgex-devops/edgex-gcc-base [2023-03-02T13:50:13.337Z] 213ec9aee27d: Pulling fs layer [2023-03-02T13:50:13.337Z] 0f09ad1b1b37: Pulling fs layer [2023-03-02T13:50:13.337Z] 213ec9aee27d: Verifying Checksum [2023-03-02T13:50:13.337Z] 213ec9aee27d: Download complete [2023-03-02T13:50:13.630Z] 213ec9aee27d: Pull complete [2023-03-02T13:50:13.902Z] 0f09ad1b1b37: Verifying Checksum [2023-03-02T13:50:13.902Z] 0f09ad1b1b37: Download complete [2023-03-02T13:50:17.256Z] 0f09ad1b1b37: Pull complete [2023-03-02T13:50:17.256Z] Digest: sha256:64e9d1beac36a0037884aaf44bcf94b2de593689edef1cdaec9f2b2ef7c7c108 [2023-03-02T13:50:17.256Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [2023-03-02T13:50:17.256Z] ---> b2bbfebb3566 [2023-03-02T13:50:17.256Z] 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:50:21.607Z] ---> Running in 643009f39f23 [2023-03-02T13:50:21.607Z] Connecting to iotech.jfrog.io (52.50.150.57:443) [2023-03-02T13:50:21.878Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-03-02T13:50:21.878Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-03-02T13:50:21.878Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-03-02T13:50:22.450Z] Removing intermediate container 643009f39f23 [2023-03-02T13:50:22.450Z] ---> feb30b1930b7 [2023-03-02T13:50:22.450Z] Step 4/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-03-02T13:50:22.450Z] ---> Running in dca1b00fec24 [2023-03-02T13:50:23.393Z] Removing intermediate container dca1b00fec24 [2023-03-02T13:50:23.393Z] ---> e810caa424ad [2023-03-02T13:50:23.393Z] 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:50:23.393Z] ---> Running in bdc0648b373f [2023-03-02T13:50:23.993Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-02T13:50:24.254Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-03-02T13:50:24.254Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-02T13:50:24.826Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-03-02T13:50:24.826Z] (1/14) Installing hiredis (1.0.2-r0) [2023-03-02T13:50:24.826Z] (2/14) Installing hiredis-dev (1.0.2-r0) [2023-03-02T13:50:24.826Z] (3/14) Installing iotech-iot-1.4 (1.4.1-r0) [2023-03-02T13:50:25.781Z] (4/14) Installing iotech-iot-1.4-dev (1.4.1-r0) [2023-03-02T13:50:25.781Z] (5/14) Installing libcbor (0.9.0-r1) [2023-03-02T13:50:25.781Z] (6/14) Installing libcbor-dev (0.9.0-r1) [2023-03-02T13:50:25.781Z] (7/14) Installing ncurses-dev (6.3_p20220521-r0) [2023-03-02T13:50:25.781Z] (8/14) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) [2023-03-02T13:50:26.531Z] Still waiting to schedule task [2023-03-02T13:50:26.531Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-8092’ is offline [2023-03-02T13:50:27.333Z] (9/14) Installing libblkid (2.38-r1) [2023-03-02T13:50:27.333Z] (10/14) Installing libuuid (2.38-r1) [2023-03-02T13:50:27.333Z] (11/14) Installing libfdisk (2.38-r1) [2023-03-02T13:50:27.333Z] (12/14) Installing libmount (2.38-r1) [2023-03-02T13:50:27.333Z] (13/14) Installing libsmartcols (2.38-r1) [2023-03-02T13:50:27.333Z] (14/14) Installing util-linux-dev (2.38-r1) [2023-03-02T13:50:27.334Z] Executing busybox-1.35.0-r17.trigger [2023-03-02T13:50:27.334Z] OK: 280 MiB in 90 packages [2023-03-02T13:50:28.814Z] Removing intermediate container bdc0648b373f [2023-03-02T13:50:28.814Z] ---> d2c76931b01d [2023-03-02T13:50:28.814Z] Step 6/21 : RUN mkdir /tmp/sdk [2023-03-02T13:50:28.814Z] ---> Running in f4a2a2932995 [2023-03-02T13:50:31.551Z] Removing intermediate container f4a2a2932995 [2023-03-02T13:50:31.551Z] ---> 61ef93b4fb07 [2023-03-02T13:50:31.551Z] Step 7/21 : COPY VERSION /tmp/sdk [2023-03-02T13:50:31.810Z] ---> 91aedad53b34 [2023-03-02T13:50:31.810Z] Step 8/21 : COPY src /tmp/sdk/src [2023-03-02T13:50:32.377Z] ---> 1f60e2c01add [2023-03-02T13:50:32.377Z] Step 9/21 : COPY include /tmp/sdk/include [2023-03-02T13:50:32.635Z] ---> 587d7aadf1a2 [2023-03-02T13:50:32.635Z] Step 10/21 : COPY scripts /tmp/sdk/scripts [2023-03-02T13:50:33.226Z] ---> 35843e760b60 [2023-03-02T13:50:33.226Z] Step 11/21 : COPY LICENSE /tmp/sdk [2023-03-02T13:50:33.486Z] ---> 8059650a7065 [2023-03-02T13:50:33.486Z] Step 12/21 : COPY Attribution.txt /tmp/sdk [2023-03-02T13:50:34.056Z] ---> 69f8d721c3cf [2023-03-02T13:50:34.056Z] Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2023-03-02T13:50:34.056Z] ---> Running in 3d05b0ecebd0 [2023-03-02T13:50:34.317Z] + CPPCHECK=false [2023-03-02T13:50:34.317Z] + DOCGEN=false [2023-03-02T13:50:34.317Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2023-03-02T13:50:34.317Z] + TOMLVER=SDK-0.2 [2023-03-02T13:50:34.317Z] + CUTILVER=1.4 [2023-03-02T13:50:34.317Z] + '[' 0 -gt 0 ] [2023-03-02T13:50:34.317Z] + readlink -f ./scripts/build.sh [2023-03-02T13:50:34.317Z] + dirname /tmp/sdk/scripts/build.sh [2023-03-02T13:50:34.317Z] + dirname /tmp/sdk/scripts [2023-03-02T13:50:34.317Z] + ROOT=/tmp/sdk [2023-03-02T13:50:34.317Z] + cd /tmp/sdk [2023-03-02T13:50:34.317Z] + '[' '!' -d deps ] [2023-03-02T13:50:34.317Z] + mkdir deps [2023-03-02T13:50:34.317Z] + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2023-03-02T13:50:34.317Z] + tar -C deps -z -x -f - [2023-03-02T13:50:34.317Z] Connecting to github.com (140.82.113.4:443) [2023-03-02T13:50:34.578Z] Connecting to codeload.github.com (140.82.114.10:443) [2023-03-02T13:50:34.839Z] writing to stdout [2023-03-02T13:50:34.839Z] - 100% |********************************| 16451 0:00:00 ETA [2023-03-02T13:50:34.839Z] written to stdout [2023-03-02T13:50:34.839Z] + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c [2023-03-02T13:50:34.839Z] + mkdir -p /tmp/sdk/build/release [2023-03-02T13:50:34.839Z] + cd /tmp/sdk/build/release [2023-03-02T13:50:34.839Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2023-03-02T13:50:34.839Z] -- The C compiler identification is GNU 11.2.1 [2023-03-02T13:50:34.839Z] -- Detecting C compiler ABI info [2023-03-02T13:50:34.839Z] -- Detecting C compiler ABI info - done [2023-03-02T13:50:34.839Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-03-02T13:50:34.839Z] -- Detecting C compile features [2023-03-02T13:50:34.839Z] -- Detecting C compile features - done [2023-03-02T13:50:34.839Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-03-02T13:50:35.102Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.83.1") [2023-03-02T13:50:35.102Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-03-02T13:50:35.102Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-03-02T13:50:35.102Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-03-02T13:50:35.102Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-03-02T13:50:35.102Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-03-02T13:50:35.102Z] -- Found IOT: /opt/iotech/iot/1.4/lib/libiot.so [2023-03-02T13:50:35.102Z] -- /opt/iotech/iot/1.4/include [2023-03-02T13:50:35.102Z] -- C SDK 0.0.0 for Linux [2023-03-02T13:50:35.102Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-03-02T13:50:35.102Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-03-02T13:50:35.102Z] -- Found Curses: /usr/lib/libcurses.so [2023-03-02T13:50:35.102Z] -- Configuring done [2023-03-02T13:50:35.102Z] -- Generating done [2023-03-02T13:50:35.102Z] -- Build files have been written to: /tmp/sdk/build/release [2023-03-02T13:50:35.102Z] + make all package [2023-03-02T13:50:35.102Z] + tee release.log [2023-03-02T13:50:35.365Z] [ 2%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-03-02T13:50:35.365Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2023-03-02T13:50:35.625Z] [ 6%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2023-03-02T13:50:36.196Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2023-03-02T13:50:36.196Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2023-03-02T13:50:36.196Z] [ 12%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2023-03-02T13:50:36.456Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2023-03-02T13:50:36.718Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2023-03-02T13:50:37.292Z] [ 18%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2023-03-02T13:50:37.714Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2023-03-02T13:50:37.714Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2023-03-02T13:50:37.714Z] /tmp/sdk/src/c/devmap.c: In function 'add_locked': [2023-03-02T13:50:37.714Z] /tmp/sdk/src/c/devmap.c:103:74: error: expected ';' before 'if' [2023-03-02T13:50:37.714Z] 103 | result = search_devsdk_new_device (map->svc->add_device_new, dup->name) [2023-03-02T13:50:37.714Z] | ^ [2023-03-02T13:50:37.714Z] | ; [2023-03-02T13:50:37.714Z] 104 | if (result) [2023-03-02T13:50:37.714Z] | ~~ [2023-03-02T13:50:37.714Z] /tmp/sdk/src/c/devmap.c:91:8: warning: variable 'result' set but not used [-Wunused-but-set-variable] [2023-03-02T13:50:37.714Z] 91 | bool result = false; [2023-03-02T13:50:37.714Z] | ^~~~~~ [2023-03-02T13:50:37.714Z] make[2]: *** [c/CMakeFiles/csdk.dir/build.make:216: c/CMakeFiles/csdk.dir/devmap.c.o] Error 1 [2023-03-02T13:50:37.714Z] make[1]: *** [CMakeFiles/Makefile2:240: c/CMakeFiles/csdk.dir/all] Error 2 [2023-03-02T13:50:37.714Z] make: *** [Makefile:156: all] Error 2 [2023-03-02T13:50:37.714Z] + '[' false '=' true ] [2023-03-02T13:50:37.714Z] + '[' false '=' true ] [2023-03-02T13:50:37.714Z] + mkdir -p /tmp/sdk/build/debug [2023-03-02T13:50:37.714Z] + cd /tmp/sdk/build/debug [2023-03-02T13:50:37.714Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2023-03-02T13:50:37.977Z] -- The C compiler identification is GNU 11.2.1 [2023-03-02T13:50:37.977Z] -- Detecting C compiler ABI info [2023-03-02T13:50:37.977Z] -- Detecting C compiler ABI info - done [2023-03-02T13:50:37.977Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-03-02T13:50:37.977Z] -- Detecting C compile features [2023-03-02T13:50:37.977Z] -- Detecting C compile features - done [2023-03-02T13:50:37.977Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-03-02T13:50:37.977Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.83.1") [2023-03-02T13:50:37.977Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-03-02T13:50:37.977Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-03-02T13:50:37.977Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-03-02T13:50:37.977Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-03-02T13:50:37.977Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-03-02T13:50:37.977Z] -- Found IOT: /opt/iotech/iot/1.4/lib/libiot.so [2023-03-02T13:50:37.977Z] -- /opt/iotech/iot/1.4/include [2023-03-02T13:50:37.977Z] -- C SDK 0.0.0 for Linux [2023-03-02T13:50:37.977Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-03-02T13:50:37.977Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-03-02T13:50:38.238Z] -- Found Curses: /usr/lib/libcurses.so [2023-03-02T13:50:38.238Z] -- Configuring done [2023-03-02T13:50:38.238Z] -- Generating done [2023-03-02T13:50:38.238Z] -- Build files have been written to: /tmp/sdk/build/debug [2023-03-02T13:50:38.238Z] + make [2023-03-02T13:50:38.238Z] + tee debug.log [2023-03-02T13:50:38.238Z] [ 2%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-03-02T13:50:38.499Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2023-03-02T13:50:38.499Z] [ 6%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2023-03-02T13:50:38.760Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2023-03-02T13:50:38.760Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2023-03-02T13:50:38.760Z] [ 12%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2023-03-02T13:50:39.020Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2023-03-02T13:50:39.020Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2023-03-02T13:50:39.279Z] [ 18%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2023-03-02T13:50:39.279Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2023-03-02T13:50:39.279Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2023-03-02T13:50:39.279Z] /tmp/sdk/src/c/devmap.c: In function 'add_locked': [2023-03-02T13:50:39.279Z] /tmp/sdk/src/c/devmap.c:103:74: error: expected ';' before 'if' [2023-03-02T13:50:39.279Z] 103 | result = search_devsdk_new_device (map->svc->add_device_new, dup->name) [2023-03-02T13:50:39.279Z] | ^ [2023-03-02T13:50:39.279Z] | ; [2023-03-02T13:50:39.279Z] 104 | if (result) [2023-03-02T13:50:39.279Z] | ~~ [2023-03-02T13:50:39.279Z] /tmp/sdk/src/c/devmap.c:91:8: warning: variable 'result' set but not used [-Wunused-but-set-variable] [2023-03-02T13:50:39.279Z] 91 | bool result = false; [2023-03-02T13:50:39.279Z] | ^~~~~~ [2023-03-02T13:50:39.279Z] make[2]: *** [c/CMakeFiles/csdk.dir/build.make:216: c/CMakeFiles/csdk.dir/devmap.c.o] Error 1 [2023-03-02T13:50:39.279Z] make[1]: *** [CMakeFiles/Makefile2:240: c/CMakeFiles/csdk.dir/all] Error 2 [2023-03-02T13:50:39.279Z] make: *** [Makefile:156: all] Error 2 [2023-03-02T13:50:39.279Z] make: Entering directory '/tmp/sdk/build/release' [2023-03-02T13:50:39.540Z] make[1]: Entering directory '/tmp/sdk/build/release' [2023-03-02T13:50:39.540Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-03-02T13:50:39.540Z] Consolidate compiler generated dependencies of target csdk [2023-03-02T13:50:39.540Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-03-02T13:50:39.540Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-03-02T13:50:39.540Z] [ 2%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2023-03-02T13:50:39.540Z] /tmp/sdk/src/c/devmap.c: In function 'add_locked': [2023-03-02T13:50:39.540Z] /tmp/sdk/src/c/devmap.c:103:74: error: expected ';' before 'if' [2023-03-02T13:50:39.540Z] 103 | result = search_devsdk_new_device (map->svc->add_device_new, dup->name) [2023-03-02T13:50:39.540Z] | ^ [2023-03-02T13:50:39.540Z] | ; [2023-03-02T13:50:39.540Z] 104 | if (result) [2023-03-02T13:50:39.540Z] | ~~ [2023-03-02T13:50:39.540Z] /tmp/sdk/src/c/devmap.c:91:8: warning: variable 'result' set but not used [-Wunused-but-set-variable] [2023-03-02T13:50:39.540Z] 91 | bool result = false; [2023-03-02T13:50:39.540Z] | ^~~~~~ [2023-03-02T13:50:39.540Z] make[2]: *** [c/CMakeFiles/csdk.dir/build.make:216: c/CMakeFiles/csdk.dir/devmap.c.o] Error 1 [2023-03-02T13:50:39.540Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-03-02T13:50:39.540Z] make[1]: *** [CMakeFiles/Makefile2:240: c/CMakeFiles/csdk.dir/all] Error 2 [2023-03-02T13:50:39.540Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2023-03-02T13:50:39.540Z] make: *** [Makefile:156: all] Error 2 [2023-03-02T13:50:39.540Z] make: Leaving directory '/tmp/sdk/build/release' [2023-03-02T13:50:40.484Z] 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:50:40.919Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-02T13:50:40.919Z] [2023-03-02T13:50:40.919Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-02T13:50:41.210Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-02T13:50:41.211Z] latest: Pulling from edgex-lftools-log-publisher [2023-03-02T13:50:41.211Z] 5eb5b503b376: Pulling fs layer [2023-03-02T13:50:41.211Z] 5c69ac0246d0: Pulling fs layer [2023-03-02T13:50:41.211Z] ec43610c2a17: Pulling fs layer [2023-03-02T13:50:41.211Z] 3a2ae6a8a46f: Pulling fs layer [2023-03-02T13:50:41.211Z] 33b1e0a273af: Pulling fs layer [2023-03-02T13:50:41.211Z] 5d3b04190fa2: Pulling fs layer [2023-03-02T13:50:41.211Z] 2f39f015ded8: Pulling fs layer [2023-03-02T13:50:41.211Z] 33b1e0a273af: Waiting [2023-03-02T13:50:41.211Z] 5d3b04190fa2: Waiting [2023-03-02T13:50:41.211Z] 2f39f015ded8: Waiting [2023-03-02T13:50:41.211Z] 3a2ae6a8a46f: Waiting [2023-03-02T13:50:41.211Z] 5c69ac0246d0: Download complete [2023-03-02T13:50:41.211Z] 3a2ae6a8a46f: Verifying Checksum [2023-03-02T13:50:41.211Z] 3a2ae6a8a46f: Download complete [2023-03-02T13:50:41.470Z] 33b1e0a273af: Verifying Checksum [2023-03-02T13:50:41.470Z] 33b1e0a273af: Download complete [2023-03-02T13:50:41.470Z] 5d3b04190fa2: Verifying Checksum [2023-03-02T13:50:41.470Z] 5d3b04190fa2: Download complete [2023-03-02T13:50:41.470Z] ec43610c2a17: Download complete [2023-03-02T13:50:41.470Z] 5eb5b503b376: Verifying Checksum [2023-03-02T13:50:41.470Z] 5eb5b503b376: Download complete [2023-03-02T13:50:42.407Z] 2f39f015ded8: Verifying Checksum [2023-03-02T13:50:42.407Z] 2f39f015ded8: Download complete [2023-03-02T13:50:43.015Z] 5eb5b503b376: Pull complete [2023-03-02T13:50:43.276Z] 5c69ac0246d0: Pull complete [2023-03-02T13:50:44.116Z] ec43610c2a17: Pull complete [2023-03-02T13:50:44.116Z] 3a2ae6a8a46f: Pull complete [2023-03-02T13:50:44.378Z] 33b1e0a273af: Pull complete [2023-03-02T13:50:44.378Z] 5d3b04190fa2: Pull complete [2023-03-02T13:50:49.699Z] 2f39f015ded8: Pull complete [2023-03-02T13:50:49.699Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-03-02T13:50:49.699Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-02T13:50:49.699Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-02T13:50:49.778Z] prd-ubuntu20.04-docker-8c-8g-8093 does not seem to be running inside a container [2023-03-02T13:50:49.829Z] $ 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:51:02.158Z] $ docker top 63190d974c78d928ef01b76b5260077abb36308dd3489e84b558c35a33247494 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-02T13:51:02.649Z] ---> job-cost.sh [2023-03-02T13:51:02.649Z] lf-activate-venv: SKIPPING [2023-03-02T13:51:02.649Z] INFO: No Stack... [2023-03-02T13:51:02.932Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-02T13:51:03.564Z] INFO: Archiving Costs [Pipeline] sh [2023-03-02T13:51:03.851Z] + cat /w/workspace/edgexfoundry_device-sdk-c_PR-445/archives/cost.csv [2023-03-02T13:51:03.851Z] + cut -d, -f6 [Pipeline] lock [2023-03-02T13:51:03.864Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-445-4-stack-cost] [2023-03-02T13:51:03.873Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-445-4-stack-cost] did not exist. Created. [2023-03-02T13:51:03.873Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-445-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-02T13:51:04.344Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-03-02T13:51:04.737Z] Stashed 1 file(s) [Pipeline] } [2023-03-02T13:51:04.743Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-445-4-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-02T13:51:04.860Z] $ docker stop --time=1 63190d974c78d928ef01b76b5260077abb36308dd3489e84b558c35a33247494 [2023-03-02T13:51:06.063Z] $ docker rm -f --volumes 63190d974c78d928ef01b76b5260077abb36308dd3489e84b558c35a33247494 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-02T13:51:06.144Z] Failed in branch amd64 [2023-03-02T13:52:06.818Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-8094 in /w/workspace/edgexfoundry_device-sdk-c_PR-445 [Pipeline] { [Pipeline] ws [2023-03-02T13:52:06.828Z] Running in /w/workspace/device-sdk-c/4 [Pipeline] { [Pipeline] checkout [2023-03-02T13:52:06.860Z] Selected Git installation does not exist. Using Default [2023-03-02T13:52:06.860Z] The recommended git tool is: NONE [2023-03-02T13:52:11.997Z] using credential edgex-jenkins-ssh [2023-03-02T13:52:12.017Z] Cloning the remote Git repository [2023-03-02T13:52:12.064Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2023-03-02T13:52:12.146Z] > git init /w/workspace/device-sdk-c/4 # timeout=10 [2023-03-02T13:52:12.316Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2023-03-02T13:52:12.317Z] > git --version # timeout=10 [2023-03-02T13:52:12.343Z] > git --version # 'git version 2.25.1' [2023-03-02T13:52:12.345Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-02T13:52:12.400Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-02T13:52:13.565Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2023-03-02T13:52:13.612Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-02T13:52:15.165Z] Merging remotes/origin/main commit 21f79343dd353c602474ef88d38fd1373f48e545 into PR head commit febd721e535cd015b8b6f2f4e53c0b94d8a29ac2 [2023-03-02T13:52:15.422Z] Merge succeeded, producing febd721e535cd015b8b6f2f4e53c0b94d8a29ac2 [2023-03-02T13:52:15.422Z] Checking out Revision febd721e535cd015b8b6f2f4e53c0b94d8a29ac2 (PR-445) [2023-03-02T13:52:14.452Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2023-03-02T13:52:14.490Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2023-03-02T13:52:14.491Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-02T13:52:14.510Z] > 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:52:15.186Z] > git config core.sparsecheckout # timeout=10 [2023-03-02T13:52:15.209Z] > git checkout -f febd721e535cd015b8b6f2f4e53c0b94d8a29ac2 # timeout=10 [2023-03-02T13:52:15.322Z] > git remote # timeout=10 [2023-03-02T13:52:15.343Z] > git config --get remote.origin.url # timeout=10 [2023-03-02T13:52:15.362Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-02T13:52:15.374Z] > git merge 21f79343dd353c602474ef88d38fd1373f48e545 # timeout=10 [2023-03-02T13:52:15.399Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-03-02T13:52:15.430Z] > git config core.sparsecheckout # timeout=10 [2023-03-02T13:52:15.443Z] > git checkout -f febd721e535cd015b8b6f2f4e53c0b94d8a29ac2 # timeout=10 [2023-03-02T13:52:18.925Z] 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:52:19.830Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-03-02T13:52:19.830Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-02T13:52:19.830Z] Dload Upload Total Spent Left Speed [2023-03-02T13:52:19.830Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 91078 0 --:--:-- --:--:-- --:--:-- 91078 [Pipeline] sh [2023-03-02T13:52:20.582Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-03-02T13:52:20.925Z] + + sudosudo tee jq /etc/docker/daemon.new . += {"seccomp-profile": "/etc/docker/seccomp.json"} [2023-03-02T13:52:20.925Z] /etc/docker/daemon.json [2023-03-02T13:52:20.925Z] { [2023-03-02T13:52:20.925Z] "registry-mirrors": [ [2023-03-02T13:52:20.925Z] "https://nexus3.edgexfoundry.org:10001" [2023-03-02T13:52:20.925Z] ], [2023-03-02T13:52:20.925Z] "bip": "10.250.0.254/24", [2023-03-02T13:52:20.925Z] "hosts": [ [2023-03-02T13:52:20.925Z] "tcp://0.0.0.0:5555", [2023-03-02T13:52:20.925Z] "unix:///var/run/docker.sock" [2023-03-02T13:52:20.925Z] ], [2023-03-02T13:52:20.925Z] "mtu": 1458, [2023-03-02T13:52:20.925Z] "selinux-enabled": true, [2023-03-02T13:52:20.925Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-03-02T13:52:20.925Z] } [Pipeline] sh [2023-03-02T13:52:21.243Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-03-02T13:52:21.560Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-02T13:52:39.801Z] provisioning config files... [2023-03-02T13:52:39.824Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/4@tmp/config9814211985264121307tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-02T13:52:40.164Z] ---> docker-login.sh [2023-03-02T13:52:40.165Z] nexus3.edgexfoundry.org:10001 [2023-03-02T13:52:40.434Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-02T13:52:40.702Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-02T13:52:40.702Z] Configure a credential helper to remove this warning. See [2023-03-02T13:52:40.702Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-02T13:52:40.702Z] [2023-03-02T13:52:40.702Z] Login Succeeded [2023-03-02T13:52:40.969Z] nexus3.edgexfoundry.org:10002 [2023-03-02T13:52:40.969Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-02T13:52:41.237Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-02T13:52:41.237Z] Configure a credential helper to remove this warning. See [2023-03-02T13:52:41.237Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-02T13:52:41.237Z] [2023-03-02T13:52:41.237Z] Login Succeeded [2023-03-02T13:52:41.237Z] nexus3.edgexfoundry.org:10003 [2023-03-02T13:52:41.506Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-02T13:52:41.506Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-02T13:52:41.506Z] Configure a credential helper to remove this warning. See [2023-03-02T13:52:41.506Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-02T13:52:41.506Z] [2023-03-02T13:52:41.506Z] Login Succeeded [2023-03-02T13:52:41.506Z] nexus3.edgexfoundry.org:10004 [2023-03-02T13:52:41.775Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-02T13:52:41.775Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-02T13:52:41.775Z] Configure a credential helper to remove this warning. See [2023-03-02T13:52:41.775Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-02T13:52:41.775Z] [2023-03-02T13:52:41.775Z] Login Succeeded [2023-03-02T13:52:42.045Z] docker.io [2023-03-02T13:52:42.045Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-02T13:52:42.314Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-02T13:52:42.314Z] Configure a credential helper to remove this warning. See [2023-03-02T13:52:42.314Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-02T13:52:42.314Z] [2023-03-02T13:52:42.314Z] Login Succeeded [2023-03-02T13:52:42.584Z] ---> docker-login.sh ends [Pipeline] } [2023-03-02T13:52:42.597Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-02T13:52:42.834Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-02T13:52:42.848Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-arm64 [Pipeline] echo [2023-03-02T13:52:42.861Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-02T13:52:42.872Z] ========================================================= [2023-03-02T13:52:42.872Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] [2023-03-02T13:52:42.872Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-02T13:52:43.213Z] + 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:52:43.484Z] Sending build context to Docker daemon 2.928MB [2023-03-02T13:52:43.484Z] Step 1/21 : ARG BASE=alpine:3.16 [2023-03-02T13:52:43.484Z] Step 2/21 : FROM ${BASE} as builder [2023-03-02T13:52:43.761Z] latest: Pulling from edgex-devops/edgex-gcc-base-arm64 [2023-03-02T13:52:43.761Z] 9b18e9b68314: Pulling fs layer [2023-03-02T13:52:43.761Z] 1def92ead452: Pulling fs layer [2023-03-02T13:52:43.761Z] 9b18e9b68314: Verifying Checksum [2023-03-02T13:52:43.761Z] 9b18e9b68314: Download complete [2023-03-02T13:52:44.357Z] 9b18e9b68314: Pull complete [2023-03-02T13:52:46.331Z] 1def92ead452: Verifying Checksum [2023-03-02T13:52:46.331Z] 1def92ead452: Download complete [2023-03-02T13:52:54.559Z] 1def92ead452: Pull complete [2023-03-02T13:52:54.559Z] Digest: sha256:3c74c28e8b16bff0b36cfc53656b3ae71c0a9fddc9bd5376ab4c3f9356b3cc6c [2023-03-02T13:52:54.559Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest [2023-03-02T13:52:54.559Z] ---> 9a9802766715 [2023-03-02T13:52:54.559Z] 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:52:54.559Z] ---> Running in 63647a2ada7d [2023-03-02T13:52:55.527Z] Connecting to iotech.jfrog.io (54.170.176.7:443) [2023-03-02T13:52:56.118Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-03-02T13:52:56.118Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-03-02T13:52:56.118Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-03-02T13:52:56.705Z] Removing intermediate container 63647a2ada7d [2023-03-02T13:52:56.705Z] ---> 6bcc346a0bb2 [2023-03-02T13:52:56.705Z] Step 4/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-03-02T13:52:56.705Z] ---> Running in 47d044171142 [2023-03-02T13:52:58.666Z] Removing intermediate container 47d044171142 [2023-03-02T13:52:58.666Z] ---> 6fc85f5a487b [2023-03-02T13:52:58.666Z] 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:52:58.666Z] ---> Running in b2741e6864ff [2023-03-02T13:52:59.630Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-02T13:52:59.630Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-03-02T13:53:00.605Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-02T13:53:01.190Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-03-02T13:53:01.190Z] (1/14) Installing hiredis (1.0.2-r0) [2023-03-02T13:53:01.190Z] (2/14) Installing hiredis-dev (1.0.2-r0) [2023-03-02T13:53:01.190Z] (3/14) Installing iotech-iot-1.4 (1.4.1-r0) [2023-03-02T13:53:02.150Z] (4/14) Installing iotech-iot-1.4-dev (1.4.1-r0) [2023-03-02T13:53:02.151Z] (5/14) Installing libcbor (0.9.0-r1) [2023-03-02T13:53:02.151Z] (6/14) Installing libcbor-dev (0.9.0-r1) [2023-03-02T13:53:02.151Z] (7/14) Installing ncurses-dev (6.3_p20220521-r0) [2023-03-02T13:53:02.151Z] (8/14) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) [2023-03-02T13:53:03.114Z] (9/14) Installing libblkid (2.38-r1) [2023-03-02T13:53:03.114Z] (10/14) Installing libuuid (2.38-r1) [2023-03-02T13:53:03.114Z] (11/14) Installing libfdisk (2.38-r1) [2023-03-02T13:53:03.114Z] (12/14) Installing libmount (2.38-r1) [2023-03-02T13:53:03.114Z] (13/14) Installing libsmartcols (2.38-r1) [2023-03-02T13:53:03.114Z] (14/14) Installing util-linux-dev (2.38-r1) [2023-03-02T13:53:03.114Z] Executing busybox-1.35.0-r17.trigger [2023-03-02T13:53:03.114Z] OK: 286 MiB in 90 packages [2023-03-02T13:53:05.068Z] Removing intermediate container b2741e6864ff [2023-03-02T13:53:05.068Z] ---> 6e3bb88c408f [2023-03-02T13:53:05.068Z] Step 6/21 : RUN mkdir /tmp/sdk [2023-03-02T13:53:05.068Z] ---> Running in 5d90976f1d28 [2023-03-02T13:53:06.479Z] Removing intermediate container 5d90976f1d28 [2023-03-02T13:53:06.480Z] ---> 2bff59871673 [2023-03-02T13:53:06.480Z] Step 7/21 : COPY VERSION /tmp/sdk [2023-03-02T13:53:06.747Z] ---> 1be68938c902 [2023-03-02T13:53:06.747Z] Step 8/21 : COPY src /tmp/sdk/src [2023-03-02T13:53:07.709Z] ---> 35877426b279 [2023-03-02T13:53:07.709Z] Step 9/21 : COPY include /tmp/sdk/include [2023-03-02T13:53:08.302Z] ---> 1699968f22af [2023-03-02T13:53:08.302Z] Step 10/21 : COPY scripts /tmp/sdk/scripts [2023-03-02T13:53:08.572Z] ---> d251b7a1c7de [2023-03-02T13:53:08.572Z] Step 11/21 : COPY LICENSE /tmp/sdk [2023-03-02T13:53:09.158Z] ---> e22e58a01379 [2023-03-02T13:53:09.158Z] Step 12/21 : COPY Attribution.txt /tmp/sdk [2023-03-02T13:53:09.746Z] ---> 5d4e3b421e12 [2023-03-02T13:53:09.746Z] Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2023-03-02T13:53:09.746Z] ---> Running in f5535e6bb1e8 [2023-03-02T13:53:10.709Z] + CPPCHECK=false [2023-03-02T13:53:10.709Z] + DOCGEN=false [2023-03-02T13:53:10.709Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2023-03-02T13:53:10.709Z] + TOMLVER=SDK-0.2 [2023-03-02T13:53:10.709Z] + CUTILVER=1.4 [2023-03-02T13:53:10.709Z] + '[' 0 -gt 0 ] [2023-03-02T13:53:10.709Z] + readlink -f ./scripts/build.sh [2023-03-02T13:53:10.709Z] + dirname /tmp/sdk/scripts/build.sh [2023-03-02T13:53:10.709Z] + dirname /tmp/sdk/scripts [2023-03-02T13:53:10.709Z] + ROOT=/tmp/sdk [2023-03-02T13:53:10.709Z] + cd /tmp/sdk [2023-03-02T13:53:10.709Z] + '[' '!' -d deps ] [2023-03-02T13:53:10.709Z] + mkdir deps [2023-03-02T13:53:10.709Z] + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2023-03-02T13:53:10.709Z] + tar -C deps -z -x -f - [2023-03-02T13:53:10.709Z] Connecting to github.com (140.82.114.4:443) [2023-03-02T13:53:10.709Z] Connecting to codeload.github.com (140.82.114.10:443) [2023-03-02T13:53:11.294Z] writing to stdout [2023-03-02T13:53:11.294Z] - 100% |********************************| 16451 0:00:00 ETA [2023-03-02T13:53:11.294Z] written to stdout [2023-03-02T13:53:11.294Z] + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c [2023-03-02T13:53:11.294Z] + mkdir -p /tmp/sdk/build/release [2023-03-02T13:53:11.294Z] + cd /tmp/sdk/build/release [2023-03-02T13:53:11.294Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2023-03-02T13:53:11.563Z] -- The C compiler identification is GNU 11.2.1 [2023-03-02T13:53:11.563Z] -- Detecting C compiler ABI info [2023-03-02T13:53:11.832Z] -- Detecting C compiler ABI info - done [2023-03-02T13:53:12.102Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-03-02T13:53:12.102Z] -- Detecting C compile features [2023-03-02T13:53:12.102Z] -- Detecting C compile features - done [2023-03-02T13:53:12.102Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-03-02T13:53:12.371Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.83.1") [2023-03-02T13:53:12.371Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-03-02T13:53:12.371Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-03-02T13:53:12.371Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-03-02T13:53:12.371Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-03-02T13:53:12.371Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-03-02T13:53:12.371Z] -- Found IOT: /opt/iotech/iot/1.4/lib/libiot.so [2023-03-02T13:53:12.371Z] -- /opt/iotech/iot/1.4/include [2023-03-02T13:53:12.371Z] -- C SDK 0.0.0 for Linux [2023-03-02T13:53:12.371Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-03-02T13:53:12.641Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-03-02T13:53:12.907Z] -- Found Curses: /usr/lib/libcurses.so [2023-03-02T13:53:12.907Z] -- Configuring done [2023-03-02T13:53:13.174Z] -- Generating done [2023-03-02T13:53:13.174Z] -- Build files have been written to: /tmp/sdk/build/release [2023-03-02T13:53:13.174Z] + make all package [2023-03-02T13:53:13.174Z] + tee release.log [2023-03-02T13:53:13.443Z] [ 2%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-03-02T13:53:14.404Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2023-03-02T13:53:14.988Z] [ 6%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2023-03-02T13:53:18.331Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2023-03-02T13:53:19.291Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2023-03-02T13:53:19.559Z] [ 12%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2023-03-02T13:53:20.521Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2023-03-02T13:53:21.934Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2023-03-02T13:53:23.882Z] [ 18%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2023-03-02T13:53:25.291Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2023-03-02T13:53:26.254Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2023-03-02T13:53:26.254Z] /tmp/sdk/src/c/devmap.c: In function 'add_locked': [2023-03-02T13:53:26.254Z] /tmp/sdk/src/c/devmap.c:103:74: error: expected ';' before 'if' [2023-03-02T13:53:26.254Z] 103 | result = search_devsdk_new_device (map->svc->add_device_new, dup->name) [2023-03-02T13:53:26.254Z] | ^ [2023-03-02T13:53:26.254Z] | ; [2023-03-02T13:53:26.254Z] 104 | if (result) [2023-03-02T13:53:26.254Z] | ~~ [2023-03-02T13:53:26.254Z] /tmp/sdk/src/c/devmap.c:91:8: warning: variable 'result' set but not used [-Wunused-but-set-variable] [2023-03-02T13:53:26.254Z] 91 | bool result = false; [2023-03-02T13:53:26.254Z] | ^~~~~~ [2023-03-02T13:53:26.254Z] make[2]: *** [c/CMakeFiles/csdk.dir/build.make:216: c/CMakeFiles/csdk.dir/devmap.c.o] Error 1 [2023-03-02T13:53:26.254Z] make[1]: *** [CMakeFiles/Makefile2:240: c/CMakeFiles/csdk.dir/all] Error 2 [2023-03-02T13:53:26.254Z] make: *** [Makefile:156: all] Error 2 [2023-03-02T13:53:26.254Z] + '[' false '=' true ] [2023-03-02T13:53:26.254Z] + '[' false '=' true ] [2023-03-02T13:53:26.254Z] + mkdir -p /tmp/sdk/build/debug [2023-03-02T13:53:26.254Z] + cd /tmp/sdk/build/debug [2023-03-02T13:53:26.254Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2023-03-02T13:53:26.523Z] -- The C compiler identification is GNU 11.2.1 [2023-03-02T13:53:26.789Z] -- Detecting C compiler ABI info [2023-03-02T13:53:27.058Z] -- Detecting C compiler ABI info - done [2023-03-02T13:53:27.058Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-03-02T13:53:27.058Z] -- Detecting C compile features [2023-03-02T13:53:27.058Z] -- Detecting C compile features - done [2023-03-02T13:53:27.058Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-03-02T13:53:27.327Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.83.1") [2023-03-02T13:53:27.327Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-03-02T13:53:27.327Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-03-02T13:53:27.327Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-03-02T13:53:27.327Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-03-02T13:53:27.327Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-03-02T13:53:27.327Z] -- Found IOT: /opt/iotech/iot/1.4/lib/libiot.so [2023-03-02T13:53:27.327Z] -- /opt/iotech/iot/1.4/include [2023-03-02T13:53:27.327Z] -- C SDK 0.0.0 for Linux [2023-03-02T13:53:27.327Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-03-02T13:53:27.596Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-03-02T13:53:27.865Z] -- Found Curses: /usr/lib/libcurses.so [2023-03-02T13:53:28.132Z] -- Configuring done [2023-03-02T13:53:28.132Z] -- Generating done [2023-03-02T13:53:28.399Z] -- Build files have been written to: /tmp/sdk/build/debug [2023-03-02T13:53:28.399Z] + make [2023-03-02T13:53:28.399Z] + tee debug.log [2023-03-02T13:53:28.399Z] [ 2%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-03-02T13:53:28.982Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2023-03-02T13:53:29.249Z] [ 6%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2023-03-02T13:53:30.211Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2023-03-02T13:53:30.796Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2023-03-02T13:53:31.064Z] [ 12%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2023-03-02T13:53:31.647Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2023-03-02T13:53:31.915Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2023-03-02T13:53:32.499Z] [ 18%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2023-03-02T13:53:33.084Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2023-03-02T13:53:33.664Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2023-03-02T13:53:33.932Z] /tmp/sdk/src/c/devmap.c: In function 'add_locked': [2023-03-02T13:53:33.932Z] /tmp/sdk/src/c/devmap.c:103:74: error: expected ';' before 'if' [2023-03-02T13:53:33.932Z] 103 | result = search_devsdk_new_device (map->svc->add_device_new, dup->name) [2023-03-02T13:53:33.932Z] | ^ [2023-03-02T13:53:33.932Z] | ; [2023-03-02T13:53:33.932Z] 104 | if (result) [2023-03-02T13:53:33.932Z] | ~~ [2023-03-02T13:53:33.932Z] /tmp/sdk/src/c/devmap.c:91:8: warning: variable 'result' set but not used [-Wunused-but-set-variable] [2023-03-02T13:53:33.932Z] 91 | bool result = false; [2023-03-02T13:53:33.932Z] | ^~~~~~ [2023-03-02T13:53:33.932Z] make[2]: *** [c/CMakeFiles/csdk.dir/build.make:216: c/CMakeFiles/csdk.dir/devmap.c.o] Error 1 [2023-03-02T13:53:33.932Z] make[1]: *** [CMakeFiles/Makefile2:240: c/CMakeFiles/csdk.dir/all] Error 2 [2023-03-02T13:53:33.932Z] make: *** [Makefile:156: all] Error 2 [2023-03-02T13:53:33.932Z] make: Entering directory '/tmp/sdk/build/release' [2023-03-02T13:53:33.932Z] make[1]: Entering directory '/tmp/sdk/build/release' [2023-03-02T13:53:33.932Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-03-02T13:53:33.932Z] Consolidate compiler generated dependencies of target csdk [2023-03-02T13:53:33.932Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-03-02T13:53:34.198Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-03-02T13:53:34.198Z] [ 2%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2023-03-02T13:53:34.471Z] /tmp/sdk/src/c/devmap.c: In function 'add_locked': [2023-03-02T13:53:34.471Z] /tmp/sdk/src/c/devmap.c:103:74: error: expected ';' before 'if' [2023-03-02T13:53:34.471Z] 103 | result = search_devsdk_new_device (map->svc->add_device_new, dup->name) [2023-03-02T13:53:34.471Z] | ^ [2023-03-02T13:53:34.471Z] | ; [2023-03-02T13:53:34.471Z] 104 | if (result) [2023-03-02T13:53:34.471Z] | ~~ [2023-03-02T13:53:34.471Z] /tmp/sdk/src/c/devmap.c:91:8: warning: variable 'result' set but not used [-Wunused-but-set-variable] [2023-03-02T13:53:34.471Z] 91 | bool result = false; [2023-03-02T13:53:34.471Z] | ^~~~~~ [2023-03-02T13:53:34.471Z] make[2]: *** [c/CMakeFiles/csdk.dir/build.make:216: c/CMakeFiles/csdk.dir/devmap.c.o] Error 1 [2023-03-02T13:53:34.471Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-03-02T13:53:34.471Z] make[1]: *** [CMakeFiles/Makefile2:240: c/CMakeFiles/csdk.dir/all] Error 2 [2023-03-02T13:53:34.471Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2023-03-02T13:53:34.471Z] make: *** [Makefile:156: all] Error 2 [2023-03-02T13:53:34.471Z] make: Leaving directory '/tmp/sdk/build/release' [2023-03-02T13:53:34.737Z] 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:53:35.217Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-02T13:53:35.217Z] [2023-03-02T13:53:35.217Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-02T13:53:35.546Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-02T13:53:36.948Z] arm64: Pulling from edgex-lftools-log-publisher [2023-03-02T13:53:36.948Z] 8998bd30e6a1: Pulling fs layer [2023-03-02T13:53:36.948Z] 04944245beec: Pulling fs layer [2023-03-02T13:53:36.948Z] 699f458cf7ca: Pulling fs layer [2023-03-02T13:53:36.948Z] 765212b225bb: Pulling fs layer [2023-03-02T13:53:36.948Z] f23df028b6ca: Pulling fs layer [2023-03-02T13:53:36.948Z] d65c8cfc05b1: Pulling fs layer [2023-03-02T13:53:36.948Z] 2437ff75d9bd: Pulling fs layer [2023-03-02T13:53:36.948Z] f23df028b6ca: Waiting [2023-03-02T13:53:36.948Z] d65c8cfc05b1: Waiting [2023-03-02T13:53:36.948Z] 2437ff75d9bd: Waiting [2023-03-02T13:53:36.948Z] 765212b225bb: Waiting [2023-03-02T13:53:36.948Z] 04944245beec: Verifying Checksum [2023-03-02T13:53:36.948Z] 04944245beec: Download complete [2023-03-02T13:53:36.948Z] 765212b225bb: Verifying Checksum [2023-03-02T13:53:36.948Z] 765212b225bb: Download complete [2023-03-02T13:53:36.948Z] f23df028b6ca: Verifying Checksum [2023-03-02T13:53:36.948Z] f23df028b6ca: Download complete [2023-03-02T13:53:36.948Z] d65c8cfc05b1: Verifying Checksum [2023-03-02T13:53:36.948Z] d65c8cfc05b1: Download complete [2023-03-02T13:53:36.948Z] 699f458cf7ca: Verifying Checksum [2023-03-02T13:53:36.948Z] 699f458cf7ca: Download complete [2023-03-02T13:53:37.215Z] 8998bd30e6a1: Verifying Checksum [2023-03-02T13:53:37.215Z] 8998bd30e6a1: Download complete [2023-03-02T13:53:39.804Z] 2437ff75d9bd: Verifying Checksum [2023-03-02T13:53:39.804Z] 2437ff75d9bd: Download complete [2023-03-02T13:53:41.212Z] 8998bd30e6a1: Pull complete [2023-03-02T13:53:43.154Z] 04944245beec: Pull complete [2023-03-02T13:53:44.573Z] 699f458cf7ca: Pull complete [2023-03-02T13:53:44.841Z] 765212b225bb: Pull complete [2023-03-02T13:53:45.427Z] f23df028b6ca: Pull complete [2023-03-02T13:53:45.693Z] d65c8cfc05b1: Pull complete [2023-03-02T13:54:00.719Z] 2437ff75d9bd: Pull complete [2023-03-02T13:54:00.719Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-03-02T13:54:00.720Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-02T13:54:00.720Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-02T13:54:00.934Z] prd-ubuntu20.04-docker-arm64-4c-16g-8094 does not seem to be running inside a container [2023-03-02T13:54:01.010Z] $ 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/4 -v /w/workspace/device-sdk-c/4:/w/workspace/device-sdk-c/4:rw,z -v /w/workspace/device-sdk-c/4@tmp:/w/workspace/device-sdk-c/4@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:54:02.577Z] $ docker top 55f382d2a81f80465070d6aefaca25340c930da0cc8634d67909d8533e5308b4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-02T13:54:03.393Z] ---> job-cost.sh [2023-03-02T13:54:03.393Z] lf-activate-venv: SKIPPING [2023-03-02T13:54:03.393Z] INFO: No Stack... [2023-03-02T13:54:03.661Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-03-02T13:54:04.616Z] INFO: Archiving Costs [Pipeline] sh [2023-03-02T13:54:04.933Z] + cat /w/workspace/device-sdk-c/4/archives/cost.csv [2023-03-02T13:54:04.933Z] + cut -d, -f6 [Pipeline] lock [2023-03-02T13:54:04.991Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-445-4-stack-cost] [2023-03-02T13:54:05.002Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-445-4-stack-cost] did not exist. Created. [2023-03-02T13:54:05.002Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-445-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-02T13:54:05.418Z] /w/workspace/device-sdk-c/4@tmp/durable-ece1f38b/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-03-02T13:54:06.073Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-03-02T13:54:06.095Z] Warning: overwriting stash ‘stack-cost’ [2023-03-02T13:54:06.495Z] Stashed 1 file(s) [Pipeline] } [2023-03-02T13:54:06.503Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-445-4-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-02T13:54:06.521Z] $ docker stop --time=1 55f382d2a81f80465070d6aefaca25340c930da0cc8634d67909d8533e5308b4 [2023-03-02T13:54:10.315Z] $ docker rm -f --volumes 55f382d2a81f80465070d6aefaca25340c930da0cc8634d67909d8533e5308b4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-02T13:54:10.513Z] 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:54:11.026Z] + [ -d /w/workspace/edgexfoundry_device-sdk-c_PR-445/archives ] [2023-03-02T13:54:11.026Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-445/archives [2023-03-02T13:54:11.026Z] total 16 [2023-03-02T13:54:11.026Z] drwxr-xr-x 3 root root 4096 Mar 2 13:51 . [2023-03-02T13:54:11.026Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 2 13:51 .. [2023-03-02T13:54:11.026Z] drwxr-xr-x 2 root root 4096 Mar 2 13:51 cost [2023-03-02T13:54:11.026Z] -rw-r--r-- 1 root root 84 Mar 2 13:51 cost.csv [2023-03-02T13:54:11.026Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_PR-445/archives [2023-03-02T13:54:11.026Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-445/archives [2023-03-02T13:54:11.026Z] total 16 [2023-03-02T13:54:11.026Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 2 13:51 . [2023-03-02T13:54:11.026Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 2 13:51 .. [2023-03-02T13:54:11.026Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 2 13:51 cost [2023-03-02T13:54:11.026Z] -rw-r--r-- 1 jenkins jenkins 84 Mar 2 13:51 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-03-02T13:54:11.320Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-02T13:54:12.182Z] ---> package-listing.sh [2023-03-02T13:54:12.182Z] ++ facter osfamily [2023-03-02T13:54:12.182Z] ++ tr '[:upper:]' '[:lower:]' [2023-03-02T13:54:12.442Z] + OS_FAMILY=debian [2023-03-02T13:54:12.442Z] + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-445 [2023-03-02T13:54:12.442Z] + START_PACKAGES=/tmp/packages_start.txt [2023-03-02T13:54:12.442Z] + END_PACKAGES=/tmp/packages_end.txt [2023-03-02T13:54:12.442Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-03-02T13:54:12.442Z] + PACKAGES=/tmp/packages_start.txt [2023-03-02T13:54:12.442Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-445 ']' [2023-03-02T13:54:12.442Z] + PACKAGES=/tmp/packages_end.txt [2023-03-02T13:54:12.442Z] + case "${OS_FAMILY}" in [2023-03-02T13:54:12.442Z] + dpkg -l [2023-03-02T13:54:12.442Z] + grep '^ii' [2023-03-02T13:54:12.442Z] + '[' -f /tmp/packages_start.txt ']' [2023-03-02T13:54:12.442Z] + '[' -f /tmp/packages_end.txt ']' [2023-03-02T13:54:12.442Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-03-02T13:54:12.442Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-445 ']' [2023-03-02T13:54:12.442Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-445/archives/ [2023-03-02T13:54:12.442Z] + 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:54:12.453Z] 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:54:12.734Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-02T13:54:13.322Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-02T13:54:13.322Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-02T13:54:13.400Z] prd-ubuntu20.04-docker-8c-8g-8093 does not seem to be running inside a container [2023-03-02T13:54:13.447Z] $ 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:54:14.081Z] $ docker top 8e7c730c62e2632276e4049c7baba64a6abf3d21653c95f249aaba522cbfbbd2 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-02T13:54:14.430Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-03-02T13:54:14.722Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-03-02T13:54:15.008Z] + ls /var/log/sa-host [2023-03-02T13:54:15.008Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-02T13:54:15.090Z] provisioning config files... [2023-03-02T13:54:15.099Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-445@tmp/config254118471395832803tmp [Pipeline] { [Pipeline] echo [2023-03-02T13:54:15.112Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-02T13:54:15.406Z] ---> create-netrc.sh [Pipeline] } [2023-03-02T13:54:15.415Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-03-02T13:54:16.075Z] ---> python-tools-install.sh [Pipeline] echo [2023-03-02T13:54:16.086Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-02T13:54:16.392Z] ---> sudo-logs.sh [2023-03-02T13:54:16.392Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-03-02T13:54:16.431Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-02T13:54:16.721Z] ---> job-cost.sh [2023-03-02T13:54:16.980Z] lf-activate-venv: SKIPPING [2023-03-02T13:54:16.980Z] DEBUG: total: 0.2199999988079071 [2023-03-02T13:54:16.980Z] INFO: Retrieving Stack Cost... [2023-03-02T13:54:17.240Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-02T13:54:17.578Z] INFO: Archiving Costs [Pipeline] echo [2023-03-02T13:54:17.591Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-02T13:54:17.886Z] ---> logs-deploy.sh [2023-03-02T13:54:17.886Z] lf-activate-venv: SKIPPING [2023-03-02T13:54:17.886Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-445/4 [2023-03-02T13:54:17.886Z] INFO: archiving workspace using pattern(s): [2023-03-02T13:54:19.269Z] Archives upload complete. [2023-03-02T13:54:19.269Z] INFO: archiving logs to Nexus