Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of TuhinDasgupta-eaton for edgexfoundry/device-sdk-c Loading trusted files from base branch main at f74adf796a5a2724d03475485970680652a5aba3 rather than 2ab919ba902543e8751b24cbae806de0a32484ea Obtained Jenkinsfile from f74adf796a5a2724d03475485970680652a5aba3 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-ssh13461457098095061433.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-ssh12205242720323783206.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 4fc256d9079ed2258907e613f84b1b8da264a4bd The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-444/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-444/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6833302164307231372.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 4fc256d9079ed2258907e613f84b1b8da264a4bd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 4fc256d9079ed2258907e613f84b1b8da264a4bd # timeout=10 Commit message: "Merge pull request #430 from ernestojeda/release-lock" > 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-ssh7604267538506367207.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-444/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-444/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh210170044650563832.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildCApp] RAW Config: [project:device-sdk-c, dockerBuildFilePath:scripts/Dockerfile.alpine-base, dockerFilePath:scripts/Dockerfile.alpine, pushImage:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildCApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-c-settings PROJECT: device-sdk-c USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build DOCKER_FILE_PATH: scripts/Dockerfile.alpine DOCKER_BUILD_FILE_PATH: scripts/Dockerfile.alpine-base DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-14744 in /w/workspace/edgexfoundry_device-sdk-c_PR-444 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-c.git > git init /w/workspace/edgexfoundry_device-sdk-c_PR-444 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit f74adf796a5a2724d03475485970680652a5aba3 into PR head commit 2ab919ba902543e8751b24cbae806de0a32484ea Merge succeeded, producing 4ffcb8823cc28e9defe6985c8e22106e5c10fbb8 Checking out Revision 4ffcb8823cc28e9defe6985c8e22106e5c10fbb8 (PR-444) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/444/head:refs/remotes/origin/PR-444 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2ab919ba902543e8751b24cbae806de0a32484ea # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge f74adf796a5a2724d03475485970680652a5aba3 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 4ffcb8823cc28e9defe6985c8e22106e5c10fbb8 # timeout=10 Commit message: "Merge commit 'f74adf796a5a2724d03475485970680652a5aba3' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-05-09T18:57:54.965Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-05-09T18:57:55.016Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-05-09T18:57:55.029Z] ========================================================= [2023-05-09T18:57:55.029Z] EdgeX Global Pipelines Version Info [2023-05-09T18:57:55.029Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk d39cf0c5fa5a6e06569868352e41e1113f138799 # timeout=10 [2023-05-09T18:57:55.737Z] ------------------- [2023-05-09T18:57:55.737Z] stable info: [2023-05-09T18:57:55.737Z] ------------------- [2023-05-09T18:57:55.737Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-05-09T18:57:55.737Z] Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd [2023-05-09T18:57:55.737Z] Message: update stable to v1.0.249 [2023-05-09T18:57:56.308Z] ------------------- [2023-05-09T18:57:56.308Z] experimental info: [2023-05-09T18:57:56.308Z] ------------------- [2023-05-09T18:57:56.308Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-05-09T18:57:56.308Z] Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd [2023-05-09T18:57:56.308Z] Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-05-09T18:57:56.478Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo [2023-05-09T18:57:56.494Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo [2023-05-09T18:57:56.514Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-05-09T18:57:56.528Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-05-09T18:57:56.543Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-05-09T18:57:56.554Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo [2023-05-09T18:57:56.564Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo [2023-05-09T18:57:56.576Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-05-09T18:57:56.590Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-05-09T18:57:56.601Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo [2023-05-09T18:57:56.611Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-05-09T18:57:56.624Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-05-09T18:57:56.636Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-05-09T18:57:56.646Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-05-09T18:57:56.657Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-05-09T18:57:56.668Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-05-09T18:57:56.680Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-05-09T18:57:56.692Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-444 [Pipeline] echo [2023-05-09T18:57:56.705Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-444 [Pipeline] echo [2023-05-09T18:57:56.719Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-444 [Pipeline] echo [2023-05-09T18:57:56.728Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 4ffcb8823cc28e9defe6985c8e22106e5c10fbb8 [Pipeline] echo [2023-05-09T18:57:56.740Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 4ffcb88 [Pipeline] echo [2023-05-09T18:57:56.752Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-09T18:57:56.802Z] provisioning config files... [2023-05-09T18:57:56.815Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-444@tmp/config16296082208066481364tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-09T18:57:57.114Z] ---> docker-login.sh [2023-05-09T18:57:57.114Z] nexus3.edgexfoundry.org:10001 [2023-05-09T18:57:57.375Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-09T18:57:57.375Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-09T18:57:57.375Z] Configure a credential helper to remove this warning. See [2023-05-09T18:57:57.375Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-09T18:57:57.375Z] [2023-05-09T18:57:57.375Z] Login Succeeded [2023-05-09T18:57:57.375Z] nexus3.edgexfoundry.org:10002 [2023-05-09T18:57:57.635Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-09T18:57:57.635Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-09T18:57:57.635Z] Configure a credential helper to remove this warning. See [2023-05-09T18:57:57.635Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-09T18:57:57.635Z] [2023-05-09T18:57:57.635Z] Login Succeeded [2023-05-09T18:57:57.635Z] nexus3.edgexfoundry.org:10003 [2023-05-09T18:57:57.635Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-09T18:57:57.635Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-09T18:57:57.635Z] Configure a credential helper to remove this warning. See [2023-05-09T18:57:57.635Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-09T18:57:57.635Z] [2023-05-09T18:57:57.635Z] Login Succeeded [2023-05-09T18:57:57.635Z] nexus3.edgexfoundry.org:10004 [2023-05-09T18:57:57.894Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-09T18:57:57.894Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-09T18:57:57.894Z] Configure a credential helper to remove this warning. See [2023-05-09T18:57:57.894Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-09T18:57:57.894Z] [2023-05-09T18:57:57.894Z] Login Succeeded [2023-05-09T18:57:57.894Z] docker.io [2023-05-09T18:57:57.894Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-09T18:57:58.154Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-09T18:57:58.154Z] Configure a credential helper to remove this warning. See [2023-05-09T18:57:58.154Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-09T18:57:58.154Z] [2023-05-09T18:57:58.154Z] Login Succeeded [2023-05-09T18:57:58.154Z] ---> docker-login.sh ends [Pipeline] } [2023-05-09T18:57:58.163Z] 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-05-09T18:57:58.514Z] + git rev-list -1 --merges 4ffcb8823cc28e9defe6985c8e22106e5c10fbb8~1..4ffcb8823cc28e9defe6985c8e22106e5c10fbb8 [Pipeline] echo [2023-05-09T18:57:58.562Z] -----------> git rev-list -1 --merges 4ffcb8823cc28e9defe6985c8e22106e5c10fbb8~1..4ffcb8823cc28e9defe6985c8e22106e5c10fbb8 4ffcb8823cc28e9defe6985c8e22106e5c10fbb8 [2023-05-09T18:57:58.562Z] 4ffcb8823cc28e9defe6985c8e22106e5c10fbb8 [false] [Pipeline] sh [2023-05-09T18:57:58.849Z] + git log --format=format:%s -1 4ffcb8823cc28e9defe6985c8e22106e5c10fbb8 [Pipeline] echo [2023-05-09T18:57:58.864Z] ========================================================= [2023-05-09T18:57:58.864Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-05-09T18:57:58.864Z] ========================================================= 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-05-09T18:57:59.244Z] + git rev-list -1 --merges 4ffcb8823cc28e9defe6985c8e22106e5c10fbb8~1..4ffcb8823cc28e9defe6985c8e22106e5c10fbb8 [Pipeline] echo [2023-05-09T18:57:59.255Z] -----------> git rev-list -1 --merges 4ffcb8823cc28e9defe6985c8e22106e5c10fbb8~1..4ffcb8823cc28e9defe6985c8e22106e5c10fbb8 4ffcb8823cc28e9defe6985c8e22106e5c10fbb8 [2023-05-09T18:57:59.255Z] 4ffcb8823cc28e9defe6985c8e22106e5c10fbb8 [false] [Pipeline] sh [2023-05-09T18:57:59.540Z] + git log --format=format:%s -1 4ffcb8823cc28e9defe6985c8e22106e5c10fbb8 [Pipeline] echo [2023-05-09T18:57:59.555Z] ========================================================= [2023-05-09T18:57:59.555Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-05-09T18:57:59.555Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh [2023-05-09T18:57:59.942Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-05-09T18:57:59.942Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-05-09T18:57:59.942Z] + [ -e /tmp/ssh_known_hosts ] [2023-05-09T18:57:59.942Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-05-09T18:57:59.942Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-05-09T18:57:59.942Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-05-09T18:57:59.942Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-09T18:58:00.346Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-09T18:58:00.347Z] [2023-05-09T18:58:00.347Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-09T18:58:00.645Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-09T18:58:00.646Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-05-09T18:58:00.646Z] b85a868b505f: Pulling fs layer [2023-05-09T18:58:00.646Z] e2be974225ed: Pulling fs layer [2023-05-09T18:58:00.646Z] 339a4e72a1f5: Pulling fs layer [2023-05-09T18:58:00.646Z] 988bab9f4d93: Pulling fs layer [2023-05-09T18:58:00.646Z] 1469e6f7b9e6: Pulling fs layer [2023-05-09T18:58:00.646Z] eaf3925da568: Pulling fs layer [2023-05-09T18:58:00.646Z] bab4dde63d76: Pulling fs layer [2023-05-09T18:58:00.646Z] bde34c3a00c8: Pulling fs layer [2023-05-09T18:58:00.646Z] b352a97aabf1: Pulling fs layer [2023-05-09T18:58:00.646Z] 4872d77fe225: Pulling fs layer [2023-05-09T18:58:00.646Z] 5851b861e8e6: Pulling fs layer [2023-05-09T18:58:00.646Z] 988bab9f4d93: Waiting [2023-05-09T18:58:00.646Z] 1469e6f7b9e6: Waiting [2023-05-09T18:58:00.646Z] eaf3925da568: Waiting [2023-05-09T18:58:00.646Z] bab4dde63d76: Waiting [2023-05-09T18:58:00.646Z] bde34c3a00c8: Waiting [2023-05-09T18:58:00.646Z] b352a97aabf1: Waiting [2023-05-09T18:58:00.646Z] 4872d77fe225: Waiting [2023-05-09T18:58:00.646Z] 5851b861e8e6: Waiting [2023-05-09T18:58:00.646Z] e2be974225ed: Download complete [2023-05-09T18:58:00.646Z] 988bab9f4d93: Download complete [2023-05-09T18:58:00.905Z] 1469e6f7b9e6: Verifying Checksum [2023-05-09T18:58:00.905Z] 1469e6f7b9e6: Download complete [2023-05-09T18:58:00.905Z] 339a4e72a1f5: Verifying Checksum [2023-05-09T18:58:00.905Z] 339a4e72a1f5: Download complete [2023-05-09T18:58:00.905Z] eaf3925da568: Verifying Checksum [2023-05-09T18:58:00.905Z] eaf3925da568: Download complete [2023-05-09T18:58:00.905Z] bde34c3a00c8: Verifying Checksum [2023-05-09T18:58:00.905Z] bde34c3a00c8: Download complete [2023-05-09T18:58:00.905Z] b352a97aabf1: Verifying Checksum [2023-05-09T18:58:00.905Z] 4872d77fe225: Download complete [2023-05-09T18:58:00.905Z] 5851b861e8e6: Download complete [2023-05-09T18:58:00.905Z] b85a868b505f: Download complete [2023-05-09T18:58:01.163Z] bab4dde63d76: Verifying Checksum [2023-05-09T18:58:01.163Z] bab4dde63d76: Download complete [2023-05-09T18:58:02.099Z] b85a868b505f: Pull complete [2023-05-09T18:58:02.099Z] e2be974225ed: Pull complete [2023-05-09T18:58:02.667Z] 339a4e72a1f5: Pull complete [2023-05-09T18:58:02.667Z] 988bab9f4d93: Pull complete [2023-05-09T18:58:02.926Z] 1469e6f7b9e6: Pull complete [2023-05-09T18:58:02.927Z] eaf3925da568: Pull complete [2023-05-09T18:58:04.831Z] bab4dde63d76: Pull complete [2023-05-09T18:58:04.831Z] bde34c3a00c8: Pull complete [2023-05-09T18:58:04.831Z] b352a97aabf1: Pull complete [2023-05-09T18:58:04.831Z] 4872d77fe225: Pull complete [2023-05-09T18:58:04.831Z] 5851b861e8e6: Pull complete [2023-05-09T18:58:04.832Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-05-09T18:58:04.832Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-09T18:58:04.832Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-09T18:58:04.936Z] prd-ubuntu20.04-docker-8c-8g-14744 does not seem to be running inside a container [2023-05-09T18:58:04.968Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-444 -v /w/workspace/edgexfoundry_device-sdk-c_PR-444:/w/workspace/edgexfoundry_device-sdk-c_PR-444:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-444@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-444@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-05-09T18:58:06.149Z] $ docker top 93ac7f4c8a753e79f37766bf9cb06cc110a4e27195aa2e829796e71f6bdfa21c -eo pid,comm [2023-05-09T18:58:06.200Z] 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-05-09T18:58:06.200Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-05-09T18:58:06.243Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-09T18:58:06.243Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-09T18:58:06.364Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-09T18:58:06.369Z] $ docker exec 93ac7f4c8a753e79f37766bf9cb06cc110a4e27195aa2e829796e71f6bdfa21c ssh-agent [2023-05-09T18:58:06.484Z] SSH_AUTH_SOCK=/tmp/ssh-7GMQAFgTGGQS/agent.32 [2023-05-09T18:58:06.484Z] SSH_AGENT_PID=38 [2023-05-09T18:58:06.491Z] Running ssh-add (command line suppressed) [2023-05-09T18:58:06.596Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-444@tmp/private_key_4249681534402677925.key (/w/workspace/edgexfoundry_device-sdk-c_PR-444@tmp/private_key_4249681534402677925.key) [2023-05-09T18:58:06.608Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-09T18:58:06.895Z] + git tag --points-at HEAD [Pipeline] } [2023-05-09T18:58:06.913Z] $ docker exec --env ******** --env ******** 93ac7f4c8a753e79f37766bf9cb06cc110a4e27195aa2e829796e71f6bdfa21c ssh-agent -k [2023-05-09T18:58:07.019Z] unset SSH_AUTH_SOCK; [2023-05-09T18:58:07.019Z] unset SSH_AGENT_PID; [2023-05-09T18:58:07.019Z] echo Agent pid 38 killed; [2023-05-09T18:58:07.027Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-05-09T18:58:07.054Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-09T18:58:07.054Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-09T18:58:07.163Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-09T18:58:07.168Z] $ docker exec 93ac7f4c8a753e79f37766bf9cb06cc110a4e27195aa2e829796e71f6bdfa21c ssh-agent [2023-05-09T18:58:07.286Z] SSH_AUTH_SOCK=/tmp/ssh-C7CThpIlZhA8/agent.71 [2023-05-09T18:58:07.286Z] SSH_AGENT_PID=77 [2023-05-09T18:58:07.291Z] Running ssh-add (command line suppressed) [2023-05-09T18:58:07.389Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-444@tmp/private_key_7722290844262248795.key (/w/workspace/edgexfoundry_device-sdk-c_PR-444@tmp/private_key_7722290844262248795.key) [2023-05-09T18:58:07.417Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-09T18:58:07.705Z] + git semver init [2023-05-09T18:58:07.965Z] 2023-05-09 18:58:07,878 [run_init] DEBUG init version:0.0.0 force:False [2023-05-09T18:58:07.965Z] 2023-05-09 18:58:07,878 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-c_PR-444/.semver [2023-05-09T18:58:07.965Z] 2023-05-09 18:58:07,879 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-c.git /w/workspace/edgexfoundry_device-sdk-c_PR-444/.semver [2023-05-09T18:58:07.965Z] 2023-05-09 18:58:07,879 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-c.git', '/w/workspace/edgexfoundry_device-sdk-c_PR-444/.semver'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-444, universal_newlines=False, shell=None, istream=None) [2023-05-09T18:58:08.905Z] 2023-05-09 18:58:08,731 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-c_PR-444/.git/info/exclude [2023-05-09T18:58:08.905Z] 2023-05-09 18:58:08,732 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-c_PR-444/.semver/PR-444 with force:False [2023-05-09T18:58:08.905Z] 2023-05-09 18:58:08,732 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-c_PR-444/.semver/PR-444 [2023-05-09T18:58:08.905Z] 2023-05-09 18:58:08,736 [execute] INFO git cat-file --batch-check [2023-05-09T18:58:08.905Z] 2023-05-09 18:58:08,737 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-444/.semver, universal_newlines=False, shell=None, istream=) [2023-05-09T18:58:08.905Z] 2023-05-09 18:58:08,742 [execute] INFO git cat-file --batch [2023-05-09T18:58:08.905Z] 2023-05-09 18:58:08,743 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-444/.semver, universal_newlines=False, shell=None, istream=) [2023-05-09T18:58:08.905Z] 2023-05-09 18:58:08,747 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_PR-444/.semver/PR-444 [2023-05-09T18:58:08.905Z] 0.0.0 [Pipeline] } [2023-05-09T18:58:08.916Z] $ docker exec --env ******** --env ******** 93ac7f4c8a753e79f37766bf9cb06cc110a4e27195aa2e829796e71f6bdfa21c ssh-agent -k [2023-05-09T18:58:09.014Z] unset SSH_AUTH_SOCK; [2023-05-09T18:58:09.015Z] unset SSH_AGENT_PID; [2023-05-09T18:58:09.015Z] echo Agent pid 77 killed; [2023-05-09T18:58:09.022Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-05-09T18:58:09.320Z] + git semver [Pipeline] } [2023-05-09T18:58:09.600Z] $ docker stop --time=1 93ac7f4c8a753e79f37766bf9cb06cc110a4e27195aa2e829796e71f6bdfa21c [2023-05-09T18:58:10.912Z] $ docker rm -f --volumes 93ac7f4c8a753e79f37766bf9cb06cc110a4e27195aa2e829796e71f6bdfa21c [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-09T18:58:11.247Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-05-09T18:58:11.539Z] Stashed 1 file(s) [Pipeline] echo [2023-05-09T18:58:11.542Z] [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-05-09T18:58:11.628Z] provisioning config files... [2023-05-09T18:58:11.636Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-444@tmp/config17455832706562303684tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-09T18:58:11.927Z] ---> docker-login.sh [2023-05-09T18:58:11.927Z] nexus3.edgexfoundry.org:10001 [2023-05-09T18:58:11.927Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-09T18:58:11.927Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-09T18:58:11.927Z] Configure a credential helper to remove this warning. See [2023-05-09T18:58:11.927Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-09T18:58:11.927Z] [2023-05-09T18:58:11.927Z] Login Succeeded [2023-05-09T18:58:11.927Z] nexus3.edgexfoundry.org:10002 [2023-05-09T18:58:11.927Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-09T18:58:11.927Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-09T18:58:11.927Z] Configure a credential helper to remove this warning. See [2023-05-09T18:58:11.927Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-09T18:58:11.927Z] [2023-05-09T18:58:11.928Z] Login Succeeded [2023-05-09T18:58:11.928Z] nexus3.edgexfoundry.org:10003 [2023-05-09T18:58:12.190Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-09T18:58:12.190Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-09T18:58:12.190Z] Configure a credential helper to remove this warning. See [2023-05-09T18:58:12.190Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-09T18:58:12.190Z] [2023-05-09T18:58:12.190Z] Login Succeeded [2023-05-09T18:58:12.190Z] nexus3.edgexfoundry.org:10004 [2023-05-09T18:58:12.190Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-09T18:58:12.190Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-09T18:58:12.190Z] Configure a credential helper to remove this warning. See [2023-05-09T18:58:12.190Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-09T18:58:12.190Z] [2023-05-09T18:58:12.190Z] Login Succeeded [2023-05-09T18:58:12.190Z] docker.io [2023-05-09T18:58:12.190Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-09T18:58:12.451Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-09T18:58:12.451Z] Configure a credential helper to remove this warning. See [2023-05-09T18:58:12.451Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-09T18:58:12.451Z] [2023-05-09T18:58:12.451Z] Login Succeeded [2023-05-09T18:58:12.451Z] ---> docker-login.sh ends [Pipeline] } [2023-05-09T18:58:12.459Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-05-09T18:58:12.522Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-09T18:58:12.534Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo [2023-05-09T18:58:12.548Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-09T18:58:12.559Z] ========================================================= [2023-05-09T18:58:12.559Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] [2023-05-09T18:58:12.559Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-09T18:58:12.864Z] + 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-05-09T18:58:12.864Z] Sending build context to Docker daemon 4.918MB [2023-05-09T18:58:12.864Z] Step 1/21 : ARG BASE=alpine:3.16 [2023-05-09T18:58:12.864Z] Step 2/21 : FROM ${BASE} as builder [2023-05-09T18:58:12.864Z] latest: Pulling from edgex-devops/edgex-gcc-base [2023-05-09T18:58:12.864Z] 213ec9aee27d: Pulling fs layer [2023-05-09T18:58:12.864Z] 0f09ad1b1b37: Pulling fs layer [2023-05-09T18:58:12.864Z] 213ec9aee27d: Verifying Checksum [2023-05-09T18:58:12.864Z] 213ec9aee27d: Download complete [2023-05-09T18:58:13.125Z] 213ec9aee27d: Pull complete [2023-05-09T18:58:13.700Z] 0f09ad1b1b37: Verifying Checksum [2023-05-09T18:58:13.700Z] 0f09ad1b1b37: Download complete [2023-05-09T18:58:16.236Z] 0f09ad1b1b37: Pull complete [2023-05-09T18:58:16.236Z] Digest: sha256:64e9d1beac36a0037884aaf44bcf94b2de593689edef1cdaec9f2b2ef7c7c108 [2023-05-09T18:58:16.236Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [2023-05-09T18:58:16.236Z] ---> b2bbfebb3566 [2023-05-09T18:58:16.236Z] 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-05-09T18:58:16.807Z] ---> Running in 3a96d1c2e9ef [2023-05-09T18:58:17.377Z] Connecting to iotech.jfrog.io (52.215.121.178:443) [2023-05-09T18:58:17.638Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-05-09T18:58:17.639Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-05-09T18:58:17.639Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-05-09T18:58:17.900Z] Removing intermediate container 3a96d1c2e9ef [2023-05-09T18:58:17.900Z] ---> 742c6029af43 [2023-05-09T18:58:17.900Z] Step 4/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-05-09T18:58:18.159Z] ---> Running in 44dedcc5e6df [2023-05-09T18:58:18.727Z] Removing intermediate container 44dedcc5e6df [2023-05-09T18:58:18.727Z] ---> 98b4d4c7bcfd [2023-05-09T18:58:18.727Z] Step 5/21 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml-dev curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev libcbor-dev paho-mqtt-c-dev-1.3 iotech-iot-1.5-dev hiredis-dev [2023-05-09T18:58:18.727Z] ---> Running in a1b501e9b1b3 [2023-05-09T18:58:18.987Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-05-09T18:58:19.247Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-05-09T18:58:19.247Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/x86_64/APKINDEX.tar.gz [2023-05-09T18:58:19.817Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-05-09T18:58:19.817Z] (1/14) Installing hiredis (1.0.2-r0) [2023-05-09T18:58:19.817Z] (2/14) Installing hiredis-dev (1.0.2-r0) [2023-05-09T18:58:19.817Z] (3/14) Installing iotech-iot-1.5 (1.5.0-r0) [2023-05-09T18:58:20.388Z] (4/14) Installing iotech-iot-1.5-dev (1.5.0-r0) [2023-05-09T18:58:20.649Z] (5/14) Installing libcbor (0.9.0-r1) [2023-05-09T18:58:20.649Z] (6/14) Installing libcbor-dev (0.9.0-r1) [2023-05-09T18:58:20.649Z] (7/14) Installing ncurses-dev (6.3_p20220521-r0) [2023-05-09T18:58:20.649Z] (8/14) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) [2023-05-09T18:58:21.589Z] (9/14) Installing libblkid (2.38-r1) [2023-05-09T18:58:21.589Z] (10/14) Installing libuuid (2.38-r1) [2023-05-09T18:58:21.589Z] (11/14) Installing libfdisk (2.38-r1) [2023-05-09T18:58:21.589Z] (12/14) Installing libmount (2.38-r1) [2023-05-09T18:58:21.589Z] (13/14) Installing libsmartcols (2.38-r1) [2023-05-09T18:58:21.589Z] (14/14) Installing util-linux-dev (2.38-r1) [2023-05-09T18:58:21.589Z] Executing busybox-1.35.0-r17.trigger [2023-05-09T18:58:21.589Z] OK: 280 MiB in 90 packages [2023-05-09T18:58:21.848Z] Removing intermediate container a1b501e9b1b3 [2023-05-09T18:58:21.848Z] ---> 6c67b277bb66 [2023-05-09T18:58:21.848Z] Step 6/21 : RUN mkdir /tmp/sdk [2023-05-09T18:58:22.107Z] ---> Running in 9d37c6bdb9b7 [2023-05-09T18:58:22.675Z] Removing intermediate container 9d37c6bdb9b7 [2023-05-09T18:58:22.675Z] ---> a7e726e97a59 [2023-05-09T18:58:22.675Z] Step 7/21 : COPY VERSION /tmp/sdk [2023-05-09T18:58:22.675Z] ---> 78e4252989f4 [2023-05-09T18:58:22.675Z] Step 8/21 : COPY src /tmp/sdk/src [2023-05-09T18:58:22.936Z] ---> ea513006a8bd [2023-05-09T18:58:22.936Z] Step 9/21 : COPY include /tmp/sdk/include [2023-05-09T18:58:22.936Z] ---> c8035d0d2e45 [2023-05-09T18:58:22.936Z] Step 10/21 : COPY scripts /tmp/sdk/scripts [2023-05-09T18:58:23.195Z] ---> c0b628c0233e [2023-05-09T18:58:23.195Z] Step 11/21 : COPY LICENSE /tmp/sdk [2023-05-09T18:58:23.195Z] ---> aebec0b03103 [2023-05-09T18:58:23.195Z] Step 12/21 : COPY Attribution.txt /tmp/sdk [2023-05-09T18:58:23.454Z] ---> a4deb00e98e7 [2023-05-09T18:58:23.454Z] Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2023-05-09T18:58:23.454Z] ---> Running in aa7e82a56380 [2023-05-09T18:58:23.713Z] + CPPCHECK=false [2023-05-09T18:58:23.713Z] + DOCGEN=false [2023-05-09T18:58:23.713Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2023-05-09T18:58:23.713Z] + TOMLVER=SDK-0.2 [2023-05-09T18:58:23.713Z] + CUTILVER=1.4 [2023-05-09T18:58:23.713Z] + '[' 0 -gt 0 ] [2023-05-09T18:58:23.713Z] + readlink -f ./scripts/build.sh [2023-05-09T18:58:23.713Z] + dirname /tmp/sdk/scripts/build.sh [2023-05-09T18:58:23.713Z] + dirname /tmp/sdk/scripts [2023-05-09T18:58:23.713Z] + ROOT=/tmp/sdk [2023-05-09T18:58:23.713Z] + cd /tmp/sdk [2023-05-09T18:58:23.713Z] + '[' '!' -d deps ] [2023-05-09T18:58:23.713Z] + mkdir deps [2023-05-09T18:58:23.713Z] + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2023-05-09T18:58:23.713Z] + tar -C deps -z -x -f - [2023-05-09T18:58:23.713Z] Connecting to github.com (140.82.112.3:443) [2023-05-09T18:58:23.972Z] Connecting to codeload.github.com (140.82.112.10:443) [2023-05-09T18:58:24.230Z] writing to stdout [2023-05-09T18:58:24.230Z] - 100% |********************************| 16451 0:00:00 ETA [2023-05-09T18:58:24.230Z] written to stdout [2023-05-09T18:58:24.230Z] + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c [2023-05-09T18:58:24.230Z] + mkdir -p /tmp/sdk/build/release [2023-05-09T18:58:24.230Z] + cd /tmp/sdk/build/release [2023-05-09T18:58:24.230Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2023-05-09T18:58:24.230Z] -- The C compiler identification is GNU 11.2.1 [2023-05-09T18:58:24.230Z] -- Detecting C compiler ABI info [2023-05-09T18:58:24.230Z] -- Detecting C compiler ABI info - done [2023-05-09T18:58:24.230Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-05-09T18:58:24.230Z] -- Detecting C compile features [2023-05-09T18:58:24.230Z] -- Detecting C compile features - done [2023-05-09T18:58:24.230Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-05-09T18:58:24.489Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.83.1") [2023-05-09T18:58:24.489Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-05-09T18:58:24.489Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-05-09T18:58:24.489Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-05-09T18:58:24.489Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-05-09T18:58:24.489Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-05-09T18:58:24.489Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2023-05-09T18:58:24.489Z] -- /opt/iotech/iot/1.5/include [2023-05-09T18:58:24.489Z] -- C SDK 0.0.0 for Linux [2023-05-09T18:58:24.489Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-05-09T18:58:24.489Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-05-09T18:58:24.489Z] -- Found Curses: /usr/lib/libcurses.so [2023-05-09T18:58:24.489Z] -- Configuring done [2023-05-09T18:58:24.489Z] -- Generating done [2023-05-09T18:58:24.489Z] -- Build files have been written to: /tmp/sdk/build/release [2023-05-09T18:58:24.489Z] + make all package [2023-05-09T18:58:24.489Z] + tee release.log [2023-05-09T18:58:24.489Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-05-09T18:58:24.748Z] In file included from /tmp/sdk/src/c/autoevent.c:9: [2023-05-09T18:58:24.748Z] /tmp/sdk/src/c/autoevent.h:25:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] [2023-05-09T18:58:24.748Z] 25 | void clear_ae_signals (); [2023-05-09T18:58:24.748Z] | ^~~~ [2023-05-09T18:58:24.748Z] /tmp/sdk/src/c/autoevent.c: In function 'edgex_device_autoevent_start': [2023-05-09T18:58:24.748Z] /tmp/sdk/src/c/autoevent.c:170:47: error: expected ';' before '}' token [2023-05-09T18:58:24.748Z] 170 | init_flg_slv = sem_init (&slv_mutex, 0, 1) [2023-05-09T18:58:24.748Z] | ^ [2023-05-09T18:58:24.748Z] | ; [2023-05-09T18:58:24.748Z] 171 | } [2023-05-09T18:58:24.748Z] | ~ [2023-05-09T18:58:24.748Z] /tmp/sdk/src/c/autoevent.c: At top level: [2023-05-09T18:58:24.748Z] /tmp/sdk/src/c/autoevent.c:278:6: warning: function declaration isn't a prototype [-Wstrict-prototypes] [2023-05-09T18:58:24.748Z] 278 | void clear_ae_signals () [2023-05-09T18:58:24.748Z] | ^~~~~~~~~~~~~~~~ [2023-05-09T18:58:24.748Z] make[2]: *** [c/CMakeFiles/csdk.dir/build.make:76: c/CMakeFiles/csdk.dir/autoevent.c.o] Error 1 [2023-05-09T18:58:24.748Z] make[1]: *** [CMakeFiles/Makefile2:240: c/CMakeFiles/csdk.dir/all] Error 2 [2023-05-09T18:58:24.748Z] make: *** [Makefile:156: all] Error 2 [2023-05-09T18:58:24.748Z] + '[' false '=' true ] [2023-05-09T18:58:24.748Z] + '[' false '=' true ] [2023-05-09T18:58:24.748Z] + mkdir -p /tmp/sdk/build/debug [2023-05-09T18:58:24.748Z] + cd /tmp/sdk/build/debug [2023-05-09T18:58:24.748Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2023-05-09T18:58:24.748Z] -- The C compiler identification is GNU 11.2.1 [2023-05-09T18:58:24.748Z] -- Detecting C compiler ABI info [2023-05-09T18:58:24.748Z] -- Detecting C compiler ABI info - done [2023-05-09T18:58:24.748Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-05-09T18:58:24.748Z] -- Detecting C compile features [2023-05-09T18:58:24.748Z] -- Detecting C compile features - done [2023-05-09T18:58:24.748Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-05-09T18:58:25.007Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.83.1") [2023-05-09T18:58:25.007Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-05-09T18:58:25.007Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-05-09T18:58:25.007Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-05-09T18:58:25.007Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-05-09T18:58:25.007Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-05-09T18:58:25.007Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2023-05-09T18:58:25.007Z] -- /opt/iotech/iot/1.5/include [2023-05-09T18:58:25.007Z] -- C SDK 0.0.0 for Linux [2023-05-09T18:58:25.007Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-05-09T18:58:25.007Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-05-09T18:58:25.007Z] -- Found Curses: /usr/lib/libcurses.so [2023-05-09T18:58:25.007Z] -- Configuring done [2023-05-09T18:58:25.007Z] -- Generating done [2023-05-09T18:58:25.007Z] -- Build files have been written to: /tmp/sdk/build/debug [2023-05-09T18:58:25.007Z] + make [2023-05-09T18:58:25.007Z] + tee debug.log [2023-05-09T18:58:25.007Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-05-09T18:58:25.266Z] In file included from /tmp/sdk/src/c/autoevent.c:9: [2023-05-09T18:58:25.266Z] /tmp/sdk/src/c/autoevent.h:25:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] [2023-05-09T18:58:25.266Z] 25 | void clear_ae_signals (); [2023-05-09T18:58:25.266Z] | ^~~~ [2023-05-09T18:58:25.266Z] /tmp/sdk/src/c/autoevent.c: In function 'edgex_device_autoevent_start': [2023-05-09T18:58:25.266Z] /tmp/sdk/src/c/autoevent.c:170:47: error: expected ';' before '}' token [2023-05-09T18:58:25.267Z] 170 | init_flg_slv = sem_init (&slv_mutex, 0, 1) [2023-05-09T18:58:25.267Z] | ^ [2023-05-09T18:58:25.267Z] | ; [2023-05-09T18:58:25.267Z] 171 | } [2023-05-09T18:58:25.267Z] | ~ [2023-05-09T18:58:25.267Z] /tmp/sdk/src/c/autoevent.c: At top level: [2023-05-09T18:58:25.267Z] /tmp/sdk/src/c/autoevent.c:278:6: warning: function declaration isn't a prototype [-Wstrict-prototypes] [2023-05-09T18:58:25.267Z] 278 | void clear_ae_signals () [2023-05-09T18:58:25.267Z] | ^~~~~~~~~~~~~~~~ [2023-05-09T18:58:25.267Z] make[2]: *** [c/CMakeFiles/csdk.dir/build.make:76: c/CMakeFiles/csdk.dir/autoevent.c.o] Error 1 [2023-05-09T18:58:25.267Z] make[1]: *** [CMakeFiles/Makefile2:240: c/CMakeFiles/csdk.dir/all] Error 2 [2023-05-09T18:58:25.267Z] make: *** [Makefile:156: all] Error 2 [2023-05-09T18:58:25.267Z] make: Entering directory '/tmp/sdk/build/release' [2023-05-09T18:58:25.267Z] make[1]: Entering directory '/tmp/sdk/build/release' [2023-05-09T18:58:25.267Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-05-09T18:58:25.267Z] Consolidate compiler generated dependencies of target csdk [2023-05-09T18:58:25.267Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-05-09T18:58:25.267Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-05-09T18:58:25.267Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-05-09T18:58:25.267Z] In file included from /tmp/sdk/src/c/autoevent.c:9: [2023-05-09T18:58:25.267Z] /tmp/sdk/src/c/autoevent.h:25:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] [2023-05-09T18:58:25.267Z] 25 | void clear_ae_signals (); [2023-05-09T18:58:25.267Z] | ^~~~ [2023-05-09T18:58:25.267Z] /tmp/sdk/src/c/autoevent.c: In function 'edgex_device_autoevent_start': [2023-05-09T18:58:25.267Z] /tmp/sdk/src/c/autoevent.c:170:47: error: expected ';' before '}' token [2023-05-09T18:58:25.267Z] 170 | init_flg_slv = sem_init (&slv_mutex, 0, 1) [2023-05-09T18:58:25.267Z] | ^ [2023-05-09T18:58:25.267Z] | ; [2023-05-09T18:58:25.267Z] 171 | } [2023-05-09T18:58:25.267Z] | ~ [2023-05-09T18:58:25.267Z] /tmp/sdk/src/c/autoevent.c: At top level: [2023-05-09T18:58:25.267Z] /tmp/sdk/src/c/autoevent.c:278:6: warning: function declaration isn't a prototype [-Wstrict-prototypes] [2023-05-09T18:58:25.267Z] 278 | void clear_ae_signals () [2023-05-09T18:58:25.267Z] | ^~~~~~~~~~~~~~~~ [2023-05-09T18:58:25.267Z] make[2]: *** [c/CMakeFiles/csdk.dir/build.make:76: c/CMakeFiles/csdk.dir/autoevent.c.o] Error 1 [2023-05-09T18:58:25.267Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-05-09T18:58:25.267Z] make[1]: *** [CMakeFiles/Makefile2:240: c/CMakeFiles/csdk.dir/all] Error 2 [2023-05-09T18:58:25.267Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2023-05-09T18:58:25.267Z] make: *** [Makefile:156: all] Error 2 [2023-05-09T18:58:25.267Z] make: Leaving directory '/tmp/sdk/build/release' [2023-05-09T18:58:25.526Z] 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-05-09T18:58:25.977Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-09T18:58:25.977Z] [2023-05-09T18:58:25.977Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-09T18:58:26.272Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-09T18:58:26.272Z] latest: Pulling from edgex-lftools-log-publisher [2023-05-09T18:58:26.272Z] 5eb5b503b376: Pulling fs layer [2023-05-09T18:58:26.272Z] 5c69ac0246d0: Pulling fs layer [2023-05-09T18:58:26.272Z] ec43610c2a17: Pulling fs layer [2023-05-09T18:58:26.272Z] 3a2ae6a8a46f: Pulling fs layer [2023-05-09T18:58:26.272Z] 33b1e0a273af: Pulling fs layer [2023-05-09T18:58:26.272Z] 5d3b04190fa2: Pulling fs layer [2023-05-09T18:58:26.272Z] 2f39f015ded8: Pulling fs layer [2023-05-09T18:58:26.272Z] 3a2ae6a8a46f: Waiting [2023-05-09T18:58:26.272Z] 33b1e0a273af: Waiting [2023-05-09T18:58:26.272Z] 5d3b04190fa2: Waiting [2023-05-09T18:58:26.272Z] 5c69ac0246d0: Verifying Checksum [2023-05-09T18:58:26.272Z] 5c69ac0246d0: Download complete [2023-05-09T18:58:26.272Z] 3a2ae6a8a46f: Download complete [2023-05-09T18:58:26.272Z] 33b1e0a273af: Verifying Checksum [2023-05-09T18:58:26.272Z] 33b1e0a273af: Download complete [2023-05-09T18:58:26.272Z] ec43610c2a17: Verifying Checksum [2023-05-09T18:58:26.272Z] ec43610c2a17: Download complete [2023-05-09T18:58:26.272Z] 5d3b04190fa2: Verifying Checksum [2023-05-09T18:58:26.272Z] 5d3b04190fa2: Download complete [2023-05-09T18:58:26.530Z] 5eb5b503b376: Verifying Checksum [2023-05-09T18:58:26.531Z] 5eb5b503b376: Download complete [2023-05-09T18:58:26.602Z] Still waiting to schedule task [2023-05-09T18:58:26.602Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-05-09T18:58:27.097Z] 2f39f015ded8: Download complete [2023-05-09T18:58:27.666Z] 5eb5b503b376: Pull complete [2023-05-09T18:58:27.666Z] 5c69ac0246d0: Pull complete [2023-05-09T18:58:28.236Z] ec43610c2a17: Pull complete [2023-05-09T18:58:28.236Z] 3a2ae6a8a46f: Pull complete [2023-05-09T18:58:28.236Z] 33b1e0a273af: Pull complete [2023-05-09T18:58:28.495Z] 5d3b04190fa2: Pull complete [2023-05-09T18:58:31.777Z] 2f39f015ded8: Pull complete [2023-05-09T18:58:31.777Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-05-09T18:58:31.777Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-09T18:58:31.777Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-09T18:58:31.848Z] prd-ubuntu20.04-docker-8c-8g-14744 does not seem to be running inside a container [2023-05-09T18:58:31.879Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-c_PR-444 -v /w/workspace/edgexfoundry_device-sdk-c_PR-444:/w/workspace/edgexfoundry_device-sdk-c_PR-444:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-444@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-444@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-05-09T18:58:33.367Z] $ docker top d0b93b83556e971a52fba9d5df4c78b5f9d9f6593f029f7c156750c9ecae2e31 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-09T18:58:33.730Z] ---> job-cost.sh [2023-05-09T18:58:33.731Z] lf-activate-venv: SKIPPING [2023-05-09T18:58:33.731Z] INFO: No Stack... [2023-05-09T18:58:34.299Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-05-09T18:58:34.557Z] INFO: Archiving Costs [Pipeline] sh [2023-05-09T18:58:34.847Z] + cat /w/workspace/edgexfoundry_device-sdk-c_PR-444/archives/cost.csv [2023-05-09T18:58:34.847Z] + cut -d, -f6 [Pipeline] lock [2023-05-09T18:58:34.861Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-444-6-stack-cost] [2023-05-09T18:58:34.870Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-444-6-stack-cost] did not exist. Created. [2023-05-09T18:58:34.871Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-444-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-05-09T18:58:35.174Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-05-09T18:58:35.210Z] Stashed 1 file(s) [Pipeline] } [2023-05-09T18:58:35.216Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-444-6-stack-cost] [Pipeline] // lock [Pipeline] } [2023-05-09T18:58:35.232Z] $ docker stop --time=1 d0b93b83556e971a52fba9d5df4c78b5f9d9f6593f029f7c156750c9ecae2e31 [2023-05-09T18:58:36.459Z] $ docker rm -f --volumes d0b93b83556e971a52fba9d5df4c78b5f9d9f6593f029f7c156750c9ecae2e31 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-05-09T18:58:36.541Z] Failed in branch amd64 [2023-05-09T19:01:19.410Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-14746 in /w/workspace/edgexfoundry_device-sdk-c_PR-444 [Pipeline] { [Pipeline] ws [2023-05-09T19:01:19.423Z] Running in /w/workspace/device-sdk-c/6 [Pipeline] { [Pipeline] checkout [2023-05-09T19:01:19.464Z] Selected Git installation does not exist. Using Default [2023-05-09T19:01:19.464Z] The recommended git tool is: NONE [2023-05-09T19:01:25.859Z] using credential edgex-jenkins-ssh [2023-05-09T19:01:25.878Z] Cloning the remote Git repository [2023-05-09T19:01:25.941Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2023-05-09T19:01:26.067Z] > git init /w/workspace/device-sdk-c/6 # timeout=10 [2023-05-09T19:01:26.257Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2023-05-09T19:01:26.259Z] > git --version # timeout=10 [2023-05-09T19:01:26.295Z] > git --version # 'git version 2.25.1' [2023-05-09T19:01:26.299Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-09T19:01:26.497Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-05-09T19:01:30.453Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2023-05-09T19:01:30.481Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-05-09T19:01:32.296Z] Merging remotes/origin/main commit f74adf796a5a2724d03475485970680652a5aba3 into PR head commit 2ab919ba902543e8751b24cbae806de0a32484ea [2023-05-09T19:01:31.623Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2023-05-09T19:01:31.668Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2023-05-09T19:01:31.669Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-09T19:01:31.688Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/444/head:refs/remotes/origin/PR-444 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-05-09T19:01:32.322Z] > git config core.sparsecheckout # timeout=10 [2023-05-09T19:01:32.403Z] > git checkout -f 2ab919ba902543e8751b24cbae806de0a32484ea # timeout=10 [2023-05-09T19:01:32.537Z] > git remote # timeout=10 [2023-05-09T19:01:32.556Z] > git config --get remote.origin.url # timeout=10 [2023-05-09T19:01:32.578Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-09T19:01:32.594Z] > git merge f74adf796a5a2724d03475485970680652a5aba3 # timeout=10 [2023-05-09T19:01:32.777Z] Merge succeeded, producing 89d04a01a3f9c7edee9dc0553a0e28489aa7765e [2023-05-09T19:01:32.777Z] Checking out Revision 89d04a01a3f9c7edee9dc0553a0e28489aa7765e (PR-444) [2023-05-09T19:01:32.758Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-05-09T19:01:32.788Z] > git config core.sparsecheckout # timeout=10 [2023-05-09T19:01:32.806Z] > git checkout -f 89d04a01a3f9c7edee9dc0553a0e28489aa7765e # timeout=10 [2023-05-09T19:01:36.486Z] Commit message: "Merge commit 'f74adf796a5a2724d03475485970680652a5aba3' into HEAD" [2023-05-09T19:01:36.513Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-09T19:01:37.373Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-05-09T19:01:37.373Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-09T19:01:37.373Z] Dload Upload Total Spent Left Speed [2023-05-09T19:01:37.373Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 84443 0 --:--:-- --:--:-- --:--:-- 83888 100 12751 100 12751 0 0 83888 0 --:--:-- --:--:-- --:--:-- 83339 [Pipeline] sh [2023-05-09T19:01:36.499Z] > git rev-list --no-walk d39cf0c5fa5a6e06569868352e41e1113f138799 # timeout=10 [2023-05-09T19:01:38.075Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-05-09T19:01:38.408Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-05-09T19:01:38.408Z] + sudo tee /etc/docker/daemon.new [2023-05-09T19:01:38.408Z] { [2023-05-09T19:01:38.408Z] "registry-mirrors": [ [2023-05-09T19:01:38.408Z] "https://nexus3.edgexfoundry.org:10001" [2023-05-09T19:01:38.408Z] ], [2023-05-09T19:01:38.408Z] "bip": "10.250.0.254/24", [2023-05-09T19:01:38.408Z] "hosts": [ [2023-05-09T19:01:38.408Z] "tcp://0.0.0.0:5555", [2023-05-09T19:01:38.408Z] "unix:///var/run/docker.sock" [2023-05-09T19:01:38.408Z] ], [2023-05-09T19:01:38.408Z] "mtu": 1458, [2023-05-09T19:01:38.408Z] "selinux-enabled": true, [2023-05-09T19:01:38.408Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-05-09T19:01:38.408Z] } [Pipeline] sh [2023-05-09T19:01:38.747Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-05-09T19:01:39.084Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-09T19:01:57.395Z] provisioning config files... [2023-05-09T19:01:57.426Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/6@tmp/config2107628671942797369tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-09T19:01:57.792Z] ---> docker-login.sh [2023-05-09T19:01:57.792Z] nexus3.edgexfoundry.org:10001 [2023-05-09T19:01:58.397Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-09T19:01:58.397Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-09T19:01:58.397Z] Configure a credential helper to remove this warning. See [2023-05-09T19:01:58.397Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-09T19:01:58.397Z] [2023-05-09T19:01:58.397Z] Login Succeeded [2023-05-09T19:01:58.397Z] nexus3.edgexfoundry.org:10002 [2023-05-09T19:01:58.669Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-09T19:01:58.940Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-09T19:01:58.940Z] Configure a credential helper to remove this warning. See [2023-05-09T19:01:58.940Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-09T19:01:58.940Z] [2023-05-09T19:01:58.940Z] Login Succeeded [2023-05-09T19:01:58.940Z] nexus3.edgexfoundry.org:10003 [2023-05-09T19:01:59.212Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-09T19:01:59.212Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-09T19:01:59.212Z] Configure a credential helper to remove this warning. See [2023-05-09T19:01:59.212Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-09T19:01:59.212Z] [2023-05-09T19:01:59.212Z] Login Succeeded [2023-05-09T19:01:59.212Z] nexus3.edgexfoundry.org:10004 [2023-05-09T19:01:59.485Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-09T19:01:59.761Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-09T19:01:59.761Z] Configure a credential helper to remove this warning. See [2023-05-09T19:01:59.761Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-09T19:01:59.761Z] [2023-05-09T19:01:59.761Z] Login Succeeded [2023-05-09T19:01:59.761Z] docker.io [2023-05-09T19:02:00.034Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-09T19:02:00.306Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-09T19:02:00.306Z] Configure a credential helper to remove this warning. See [2023-05-09T19:02:00.306Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-09T19:02:00.306Z] [2023-05-09T19:02:00.306Z] Login Succeeded [2023-05-09T19:02:00.306Z] ---> docker-login.sh ends [Pipeline] } [2023-05-09T19:02:00.322Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-05-09T19:02:00.665Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-09T19:02:00.675Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-arm64 [Pipeline] echo [2023-05-09T19:02:00.689Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-09T19:02:00.700Z] ========================================================= [2023-05-09T19:02:00.700Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] [2023-05-09T19:02:00.700Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-09T19:02:01.043Z] + 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-05-09T19:02:01.643Z] Sending build context to Docker daemon 2.971MB [2023-05-09T19:02:01.643Z] Step 1/21 : ARG BASE=alpine:3.16 [2023-05-09T19:02:01.643Z] Step 2/21 : FROM ${BASE} as builder [2023-05-09T19:02:01.643Z] latest: Pulling from edgex-devops/edgex-gcc-base-arm64 [2023-05-09T19:02:01.643Z] 9b18e9b68314: Pulling fs layer [2023-05-09T19:02:01.643Z] 1def92ead452: Pulling fs layer [2023-05-09T19:02:01.927Z] 9b18e9b68314: Verifying Checksum [2023-05-09T19:02:01.927Z] 9b18e9b68314: Download complete [2023-05-09T19:02:02.518Z] 9b18e9b68314: Pull complete [2023-05-09T19:02:03.944Z] 1def92ead452: Verifying Checksum [2023-05-09T19:02:03.944Z] 1def92ead452: Download complete [2023-05-09T19:02:14.059Z] 1def92ead452: Pull complete [2023-05-09T19:02:14.059Z] Digest: sha256:3c74c28e8b16bff0b36cfc53656b3ae71c0a9fddc9bd5376ab4c3f9356b3cc6c [2023-05-09T19:02:14.059Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest [2023-05-09T19:02:14.059Z] ---> 9a9802766715 [2023-05-09T19:02:14.059Z] 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-05-09T19:02:14.059Z] ---> Running in 56a6dcaed318 [2023-05-09T19:02:14.649Z] Connecting to iotech.jfrog.io (52.215.121.178:443) [2023-05-09T19:02:14.918Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-05-09T19:02:14.918Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-05-09T19:02:14.918Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-05-09T19:02:15.890Z] Removing intermediate container 56a6dcaed318 [2023-05-09T19:02:15.890Z] ---> c33e63e89270 [2023-05-09T19:02:15.890Z] Step 4/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-05-09T19:02:15.890Z] ---> Running in b17cb326f817 [2023-05-09T19:02:17.841Z] Removing intermediate container b17cb326f817 [2023-05-09T19:02:17.841Z] ---> 0ae60e0b8418 [2023-05-09T19:02:17.841Z] Step 5/21 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml-dev curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev libcbor-dev paho-mqtt-c-dev-1.3 iotech-iot-1.5-dev hiredis-dev [2023-05-09T19:02:17.841Z] ---> Running in ed90f32df924 [2023-05-09T19:02:18.810Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-05-09T19:02:18.810Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-05-09T19:02:19.778Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/aarch64/APKINDEX.tar.gz [2023-05-09T19:02:20.369Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-05-09T19:02:20.369Z] (1/14) Installing hiredis (1.0.2-r0) [2023-05-09T19:02:20.369Z] (2/14) Installing hiredis-dev (1.0.2-r0) [2023-05-09T19:02:20.637Z] (3/14) Installing iotech-iot-1.5 (1.5.0-r0) [2023-05-09T19:02:21.221Z] (4/14) Installing iotech-iot-1.5-dev (1.5.0-r0) [2023-05-09T19:02:21.489Z] (5/14) Installing libcbor (0.9.0-r1) [2023-05-09T19:02:21.489Z] (6/14) Installing libcbor-dev (0.9.0-r1) [2023-05-09T19:02:21.489Z] (7/14) Installing ncurses-dev (6.3_p20220521-r0) [2023-05-09T19:02:21.489Z] (8/14) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) [2023-05-09T19:02:22.462Z] (9/14) Installing libblkid (2.38-r1) [2023-05-09T19:02:22.462Z] (10/14) Installing libuuid (2.38-r1) [2023-05-09T19:02:22.462Z] (11/14) Installing libfdisk (2.38-r1) [2023-05-09T19:02:22.462Z] (12/14) Installing libmount (2.38-r1) [2023-05-09T19:02:22.462Z] (13/14) Installing libsmartcols (2.38-r1) [2023-05-09T19:02:22.462Z] (14/14) Installing util-linux-dev (2.38-r1) [2023-05-09T19:02:22.462Z] Executing busybox-1.35.0-r17.trigger [2023-05-09T19:02:22.462Z] OK: 286 MiB in 90 packages [2023-05-09T19:02:23.876Z] Removing intermediate container ed90f32df924 [2023-05-09T19:02:23.876Z] ---> bdeb902221cb [2023-05-09T19:02:23.876Z] Step 6/21 : RUN mkdir /tmp/sdk [2023-05-09T19:02:23.876Z] ---> Running in e0a60383eb3a [2023-05-09T19:02:25.832Z] Removing intermediate container e0a60383eb3a [2023-05-09T19:02:25.832Z] ---> 8c9b231291f1 [2023-05-09T19:02:25.832Z] Step 7/21 : COPY VERSION /tmp/sdk [2023-05-09T19:02:26.101Z] ---> 0cbef4004afa [2023-05-09T19:02:26.101Z] Step 8/21 : COPY src /tmp/sdk/src [2023-05-09T19:02:27.067Z] ---> 22cf06b17bbd [2023-05-09T19:02:27.067Z] Step 9/21 : COPY include /tmp/sdk/include [2023-05-09T19:02:27.341Z] ---> 4e0ca8e410fc [2023-05-09T19:02:27.341Z] Step 10/21 : COPY scripts /tmp/sdk/scripts [2023-05-09T19:02:27.994Z] ---> cc8b341e9ca3 [2023-05-09T19:02:27.994Z] Step 11/21 : COPY LICENSE /tmp/sdk [2023-05-09T19:02:28.580Z] ---> c3fa2a14b539 [2023-05-09T19:02:28.580Z] Step 12/21 : COPY Attribution.txt /tmp/sdk [2023-05-09T19:02:29.167Z] ---> 839b1cd14455 [2023-05-09T19:02:29.167Z] Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2023-05-09T19:02:29.167Z] ---> Running in 445bca4f01c3 [2023-05-09T19:02:30.134Z] + CPPCHECK=false [2023-05-09T19:02:30.134Z] + DOCGEN=false [2023-05-09T19:02:30.134Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2023-05-09T19:02:30.134Z] + TOMLVER=SDK-0.2 [2023-05-09T19:02:30.134Z] + CUTILVER=1.4 [2023-05-09T19:02:30.134Z] + '[' 0 -gt 0 ] [2023-05-09T19:02:30.134Z] + readlink -f ./scripts/build.sh [2023-05-09T19:02:30.134Z] + dirname /tmp/sdk/scripts/build.sh [2023-05-09T19:02:30.134Z] + dirname /tmp/sdk/scripts [2023-05-09T19:02:30.134Z] + ROOT=/tmp/sdk [2023-05-09T19:02:30.134Z] + cd /tmp/sdk [2023-05-09T19:02:30.134Z] + '[' '!' -d deps ] [2023-05-09T19:02:30.134Z] + mkdir deps [2023-05-09T19:02:30.134Z] + tar -C deps -z -x -f - [2023-05-09T19:02:30.134Z] + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2023-05-09T19:02:30.134Z] Connecting to github.com (140.82.112.4:443) [2023-05-09T19:02:30.720Z] Connecting to codeload.github.com (140.82.114.9:443) [2023-05-09T19:02:30.988Z] writing to stdout [2023-05-09T19:02:30.988Z] - 100% |********************************| 16451 0:00:00 ETA [2023-05-09T19:02:30.988Z] written to stdout [2023-05-09T19:02:30.988Z] + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c [2023-05-09T19:02:30.988Z] + mkdir -p /tmp/sdk/build/release [2023-05-09T19:02:30.988Z] + cd /tmp/sdk/build/release [2023-05-09T19:02:30.988Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2023-05-09T19:02:31.586Z] -- The C compiler identification is GNU 11.2.1 [2023-05-09T19:02:31.586Z] -- Detecting C compiler ABI info [2023-05-09T19:02:31.855Z] -- Detecting C compiler ABI info - done [2023-05-09T19:02:32.122Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-05-09T19:02:32.122Z] -- Detecting C compile features [2023-05-09T19:02:32.122Z] -- Detecting C compile features - done [2023-05-09T19:02:32.122Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-05-09T19:02:32.390Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.83.1") [2023-05-09T19:02:32.390Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-05-09T19:02:32.390Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-05-09T19:02:32.390Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-05-09T19:02:32.390Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-05-09T19:02:32.390Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-05-09T19:02:32.390Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2023-05-09T19:02:32.390Z] -- /opt/iotech/iot/1.5/include [2023-05-09T19:02:32.390Z] -- C SDK 0.0.0 for Linux [2023-05-09T19:02:32.390Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-05-09T19:02:32.660Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-05-09T19:02:32.927Z] -- Found Curses: /usr/lib/libcurses.so [2023-05-09T19:02:32.927Z] -- Configuring done [2023-05-09T19:02:33.513Z] -- Generating done [2023-05-09T19:02:33.513Z] -- Build files have been written to: /tmp/sdk/build/release [2023-05-09T19:02:33.513Z] + make all package [2023-05-09T19:02:33.513Z] + tee release.log [2023-05-09T19:02:33.513Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-05-09T19:02:33.799Z] In file included from /tmp/sdk/src/c/autoevent.c:9: [2023-05-09T19:02:33.799Z] /tmp/sdk/src/c/autoevent.h:25:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] [2023-05-09T19:02:33.799Z] 25 | void clear_ae_signals (); [2023-05-09T19:02:33.799Z] | ^~~~ [2023-05-09T19:02:33.799Z] /tmp/sdk/src/c/autoevent.c: In function 'edgex_device_autoevent_start': [2023-05-09T19:02:33.799Z] /tmp/sdk/src/c/autoevent.c:170:47: error: expected ';' before '}' token [2023-05-09T19:02:33.799Z] 170 | init_flg_slv = sem_init (&slv_mutex, 0, 1) [2023-05-09T19:02:33.799Z] | ^ [2023-05-09T19:02:33.799Z] | ; [2023-05-09T19:02:33.799Z] 171 | } [2023-05-09T19:02:33.799Z] | ~ [2023-05-09T19:02:33.799Z] /tmp/sdk/src/c/autoevent.c: At top level: [2023-05-09T19:02:33.799Z] /tmp/sdk/src/c/autoevent.c:278:6: warning: function declaration isn't a prototype [-Wstrict-prototypes] [2023-05-09T19:02:33.799Z] 278 | void clear_ae_signals () [2023-05-09T19:02:33.799Z] | ^~~~~~~~~~~~~~~~ [2023-05-09T19:02:34.069Z] make[2]: *** [c/CMakeFiles/csdk.dir/build.make:76: c/CMakeFiles/csdk.dir/autoevent.c.o] Error 1 [2023-05-09T19:02:34.069Z] make[1]: *** [CMakeFiles/Makefile2:240: c/CMakeFiles/csdk.dir/all] Error 2 [2023-05-09T19:02:34.069Z] make: *** [Makefile:156: all] Error 2 [2023-05-09T19:02:34.069Z] + '[' false '=' true ] [2023-05-09T19:02:34.069Z] + '[' false '=' true ] [2023-05-09T19:02:34.069Z] + mkdir -p /tmp/sdk/build/debug [2023-05-09T19:02:34.069Z] + cd /tmp/sdk/build/debug [2023-05-09T19:02:34.069Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2023-05-09T19:02:34.337Z] -- The C compiler identification is GNU 11.2.1 [2023-05-09T19:02:34.337Z] -- Detecting C compiler ABI info [2023-05-09T19:02:34.925Z] -- Detecting C compiler ABI info - done [2023-05-09T19:02:34.925Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-05-09T19:02:34.925Z] -- Detecting C compile features [2023-05-09T19:02:34.925Z] -- Detecting C compile features - done [2023-05-09T19:02:34.925Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-05-09T19:02:35.192Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.83.1") [2023-05-09T19:02:35.192Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-05-09T19:02:35.192Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-05-09T19:02:35.192Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-05-09T19:02:35.192Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-05-09T19:02:35.192Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-05-09T19:02:35.192Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2023-05-09T19:02:35.192Z] -- /opt/iotech/iot/1.5/include [2023-05-09T19:02:35.192Z] -- C SDK 0.0.0 for Linux [2023-05-09T19:02:35.192Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-05-09T19:02:35.780Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-05-09T19:02:35.780Z] -- Found Curses: /usr/lib/libcurses.so [2023-05-09T19:02:36.051Z] -- Configuring done [2023-05-09T19:02:36.321Z] -- Generating done [2023-05-09T19:02:36.321Z] -- Build files have been written to: /tmp/sdk/build/debug [2023-05-09T19:02:36.321Z] + make [2023-05-09T19:02:36.321Z] + tee debug.log [2023-05-09T19:02:36.589Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-05-09T19:02:36.858Z] In file included from /tmp/sdk/src/c/autoevent.c:9: [2023-05-09T19:02:36.858Z] /tmp/sdk/src/c/autoevent.h:25:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] [2023-05-09T19:02:36.858Z] 25 | void clear_ae_signals (); [2023-05-09T19:02:36.858Z] | ^~~~ [2023-05-09T19:02:36.858Z] /tmp/sdk/src/c/autoevent.c: In function 'edgex_device_autoevent_start': [2023-05-09T19:02:36.858Z] /tmp/sdk/src/c/autoevent.c:170:47: error: expected ';' before '}' token [2023-05-09T19:02:36.858Z] 170 | init_flg_slv = sem_init (&slv_mutex, 0, 1) [2023-05-09T19:02:36.858Z] | ^ [2023-05-09T19:02:36.858Z] | ; [2023-05-09T19:02:36.858Z] 171 | } [2023-05-09T19:02:36.858Z] | ~ [2023-05-09T19:02:36.858Z] /tmp/sdk/src/c/autoevent.c: At top level: [2023-05-09T19:02:36.858Z] /tmp/sdk/src/c/autoevent.c:278:6: warning: function declaration isn't a prototype [-Wstrict-prototypes] [2023-05-09T19:02:36.858Z] 278 | void clear_ae_signals () [2023-05-09T19:02:36.858Z] | ^~~~~~~~~~~~~~~~ [2023-05-09T19:02:36.858Z] make[2]: *** [c/CMakeFiles/csdk.dir/build.make:76: c/CMakeFiles/csdk.dir/autoevent.c.o] Error 1 [2023-05-09T19:02:36.858Z] make[1]: *** [CMakeFiles/Makefile2:240: c/CMakeFiles/csdk.dir/all] Error 2 [2023-05-09T19:02:36.858Z] make: *** [Makefile:156: all] Error 2 [2023-05-09T19:02:36.858Z] make: Entering directory '/tmp/sdk/build/release' [2023-05-09T19:02:36.858Z] make[1]: Entering directory '/tmp/sdk/build/release' [2023-05-09T19:02:36.858Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-05-09T19:02:36.858Z] Consolidate compiler generated dependencies of target csdk [2023-05-09T19:02:37.125Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-05-09T19:02:37.125Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-05-09T19:02:37.125Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-05-09T19:02:37.393Z] In file included from /tmp/sdk/src/c/autoevent.c:9: [2023-05-09T19:02:37.393Z] /tmp/sdk/src/c/autoevent.h:25:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] [2023-05-09T19:02:37.393Z] 25 | void clear_ae_signals (); [2023-05-09T19:02:37.393Z] | ^~~~ [2023-05-09T19:02:37.393Z] /tmp/sdk/src/c/autoevent.c: In function 'edgex_device_autoevent_start': [2023-05-09T19:02:37.393Z] /tmp/sdk/src/c/autoevent.c:170:47: error: expected ';' before '}' token [2023-05-09T19:02:37.393Z] 170 | init_flg_slv = sem_init (&slv_mutex, 0, 1) [2023-05-09T19:02:37.393Z] | ^ [2023-05-09T19:02:37.393Z] | ; [2023-05-09T19:02:37.393Z] 171 | } [2023-05-09T19:02:37.393Z] | ~ [2023-05-09T19:02:37.393Z] /tmp/sdk/src/c/autoevent.c: At top level: [2023-05-09T19:02:37.393Z] /tmp/sdk/src/c/autoevent.c:278:6: warning: function declaration isn't a prototype [-Wstrict-prototypes] [2023-05-09T19:02:37.393Z] 278 | void clear_ae_signals () [2023-05-09T19:02:37.393Z] | ^~~~~~~~~~~~~~~~ [2023-05-09T19:02:37.393Z] make[2]: *** [c/CMakeFiles/csdk.dir/build.make:76: c/CMakeFiles/csdk.dir/autoevent.c.o] Error 1 [2023-05-09T19:02:37.393Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-05-09T19:02:37.393Z] make[1]: *** [CMakeFiles/Makefile2:240: c/CMakeFiles/csdk.dir/all] Error 2 [2023-05-09T19:02:37.393Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2023-05-09T19:02:37.393Z] make: *** [Makefile:156: all] Error 2 [2023-05-09T19:02:37.393Z] make: Leaving directory '/tmp/sdk/build/release' [2023-05-09T19:02:37.979Z] 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-05-09T19:02:38.484Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-09T19:02:38.484Z] [2023-05-09T19:02:38.484Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-09T19:02:38.836Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-09T19:02:38.836Z] arm64: Pulling from edgex-lftools-log-publisher [2023-05-09T19:02:38.836Z] 8998bd30e6a1: Pulling fs layer [2023-05-09T19:02:38.836Z] 04944245beec: Pulling fs layer [2023-05-09T19:02:38.836Z] 699f458cf7ca: Pulling fs layer [2023-05-09T19:02:38.836Z] 765212b225bb: Pulling fs layer [2023-05-09T19:02:38.836Z] f23df028b6ca: Pulling fs layer [2023-05-09T19:02:38.836Z] d65c8cfc05b1: Pulling fs layer [2023-05-09T19:02:38.836Z] 2437ff75d9bd: Pulling fs layer [2023-05-09T19:02:38.836Z] 765212b225bb: Waiting [2023-05-09T19:02:38.836Z] f23df028b6ca: Waiting [2023-05-09T19:02:38.836Z] d65c8cfc05b1: Waiting [2023-05-09T19:02:38.836Z] 2437ff75d9bd: Waiting [2023-05-09T19:02:39.105Z] 04944245beec: Verifying Checksum [2023-05-09T19:02:39.105Z] 04944245beec: Download complete [2023-05-09T19:02:39.105Z] 765212b225bb: Verifying Checksum [2023-05-09T19:02:39.105Z] 765212b225bb: Download complete [2023-05-09T19:02:39.105Z] f23df028b6ca: Download complete [2023-05-09T19:02:39.105Z] d65c8cfc05b1: Verifying Checksum [2023-05-09T19:02:39.105Z] d65c8cfc05b1: Download complete [2023-05-09T19:02:39.105Z] 699f458cf7ca: Verifying Checksum [2023-05-09T19:02:39.105Z] 699f458cf7ca: Download complete [2023-05-09T19:02:39.688Z] 8998bd30e6a1: Verifying Checksum [2023-05-09T19:02:39.688Z] 8998bd30e6a1: Download complete [2023-05-09T19:02:42.269Z] 2437ff75d9bd: Verifying Checksum [2023-05-09T19:02:42.269Z] 2437ff75d9bd: Download complete [2023-05-09T19:02:43.245Z] 8998bd30e6a1: Pull complete [2023-05-09T19:02:43.836Z] 04944245beec: Pull complete [2023-05-09T19:02:45.248Z] 699f458cf7ca: Pull complete [2023-05-09T19:02:45.248Z] 765212b225bb: Pull complete [2023-05-09T19:02:46.213Z] f23df028b6ca: Pull complete [2023-05-09T19:02:46.213Z] d65c8cfc05b1: Pull complete [2023-05-09T19:03:01.226Z] 2437ff75d9bd: Pull complete [2023-05-09T19:03:01.226Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-05-09T19:03:01.226Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-09T19:03:01.226Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-09T19:03:01.481Z] prd-ubuntu20.04-docker-arm64-4c-16g-14746 does not seem to be running inside a container [2023-05-09T19:03:01.573Z] $ 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/6 -v /w/workspace/device-sdk-c/6:/w/workspace/device-sdk-c/6:rw,z -v /w/workspace/device-sdk-c/6@tmp:/w/workspace/device-sdk-c/6@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-05-09T19:03:04.206Z] $ docker top ed44d70ca15d5e2b5e6b3ca491a552fbedfe594ba03db66f06143e83febe683f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-09T19:03:05.089Z] ---> job-cost.sh [2023-05-09T19:03:05.089Z] lf-activate-venv: SKIPPING [2023-05-09T19:03:05.089Z] INFO: No Stack... [2023-05-09T19:03:05.675Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-05-09T19:03:06.261Z] INFO: Archiving Costs [Pipeline] sh [2023-05-09T19:03:06.918Z] + cat /w/workspace/device-sdk-c/6/archives/cost.csv [2023-05-09T19:03:06.918Z] + cut -d, -f6 [Pipeline] lock [2023-05-09T19:03:06.999Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-444-6-stack-cost] [2023-05-09T19:03:07.008Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-444-6-stack-cost] did not exist. Created. [2023-05-09T19:03:07.008Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-444-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-05-09T19:03:07.679Z] /w/workspace/device-sdk-c/6@tmp/durable-018744ec/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-05-09T19:03:08.356Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-05-09T19:03:08.380Z] Warning: overwriting stash ‘stack-cost’ [2023-05-09T19:03:08.933Z] Stashed 1 file(s) [Pipeline] } [2023-05-09T19:03:08.943Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-444-6-stack-cost] [Pipeline] // lock [Pipeline] } [2023-05-09T19:03:08.964Z] $ docker stop --time=1 ed44d70ca15d5e2b5e6b3ca491a552fbedfe594ba03db66f06143e83febe683f [2023-05-09T19:03:10.470Z] $ docker rm -f --volumes ed44d70ca15d5e2b5e6b3ca491a552fbedfe594ba03db66f06143e83febe683f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-05-09T19:03:10.720Z] 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-05-09T19:03:11.382Z] + [ -d /w/workspace/edgexfoundry_device-sdk-c_PR-444/archives ] [2023-05-09T19:03:11.382Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-444/archives [2023-05-09T19:03:11.382Z] total 16 [2023-05-09T19:03:11.382Z] drwxr-xr-x 3 root root 4096 May 9 18:58 . [2023-05-09T19:03:11.382Z] drwxrwxr-x 10 jenkins jenkins 4096 May 9 18:58 .. [2023-05-09T19:03:11.382Z] drwxr-xr-x 2 root root 4096 May 9 18:58 cost [2023-05-09T19:03:11.382Z] -rw-r--r-- 1 root root 84 May 9 18:58 cost.csv [2023-05-09T19:03:11.382Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_PR-444/archives [2023-05-09T19:03:11.382Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-444/archives [2023-05-09T19:03:11.382Z] total 16 [2023-05-09T19:03:11.382Z] drwxr-xr-x 3 jenkins jenkins 4096 May 9 18:58 . [2023-05-09T19:03:11.382Z] drwxrwxr-x 10 jenkins jenkins 4096 May 9 18:58 .. [2023-05-09T19:03:11.382Z] drwxr-xr-x 2 jenkins jenkins 4096 May 9 18:58 cost [2023-05-09T19:03:11.382Z] -rw-r--r-- 1 jenkins jenkins 84 May 9 18:58 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-05-09T19:03:11.672Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-09T19:03:12.529Z] ---> package-listing.sh [2023-05-09T19:03:12.529Z] ++ facter osfamily [2023-05-09T19:03:12.529Z] ++ tr '[:upper:]' '[:lower:]' [2023-05-09T19:03:12.788Z] + OS_FAMILY=debian [2023-05-09T19:03:12.788Z] + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-444 [2023-05-09T19:03:12.788Z] + START_PACKAGES=/tmp/packages_start.txt [2023-05-09T19:03:12.788Z] + END_PACKAGES=/tmp/packages_end.txt [2023-05-09T19:03:12.788Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-05-09T19:03:12.788Z] + PACKAGES=/tmp/packages_start.txt [2023-05-09T19:03:12.788Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-444 ']' [2023-05-09T19:03:12.788Z] + PACKAGES=/tmp/packages_end.txt [2023-05-09T19:03:12.788Z] + case "${OS_FAMILY}" in [2023-05-09T19:03:12.788Z] + dpkg -l [2023-05-09T19:03:12.788Z] + grep '^ii' [2023-05-09T19:03:12.788Z] + '[' -f /tmp/packages_start.txt ']' [2023-05-09T19:03:12.788Z] + '[' -f /tmp/packages_end.txt ']' [2023-05-09T19:03:12.788Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-05-09T19:03:12.788Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-444 ']' [2023-05-09T19:03:12.788Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-444/archives/ [2023-05-09T19:03:12.788Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-444/archives/ [Pipeline] echo [2023-05-09T19:03:12.800Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-c_PR-444/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-05-09T19:03:13.077Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-09T19:03:13.636Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-09T19:03:13.636Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-09T19:03:13.701Z] prd-ubuntu20.04-docker-8c-8g-14744 does not seem to be running inside a container [2023-05-09T19:03:13.735Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-c_PR-444/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-c_PR-444 -v /w/workspace/edgexfoundry_device-sdk-c_PR-444:/w/workspace/edgexfoundry_device-sdk-c_PR-444:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-444@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-444@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-05-09T19:03:13.917Z] $ docker top 06b8857e7797843d5858c4978e6f1f9470d4ce87dca1259b8b8ab7baf41d6acb -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-09T19:03:14.251Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-05-09T19:03:14.537Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-05-09T19:03:14.822Z] + ls /var/log/sa-host [2023-05-09T19:03:14.822Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-09T19:03:14.988Z] provisioning config files... [2023-05-09T19:03:14.998Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-444@tmp/config1957922790076614416tmp [Pipeline] { [Pipeline] echo [2023-05-09T19:03:15.012Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-09T19:03:15.297Z] ---> create-netrc.sh [Pipeline] } [2023-05-09T19:03:15.306Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-05-09T19:03:15.646Z] ---> python-tools-install.sh [Pipeline] echo [2023-05-09T19:03:15.654Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-09T19:03:15.939Z] ---> sudo-logs.sh [2023-05-09T19:03:15.939Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-05-09T19:03:15.974Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-09T19:03:16.261Z] ---> job-cost.sh [2023-05-09T19:03:16.261Z] lf-activate-venv: SKIPPING [2023-05-09T19:03:16.261Z] DEBUG: total: 0.2199999988079071 [2023-05-09T19:03:16.261Z] INFO: Retrieving Stack Cost... [2023-05-09T19:03:16.520Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-05-09T19:03:17.087Z] INFO: Archiving Costs [Pipeline] echo [2023-05-09T19:03:17.096Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-09T19:03:17.375Z] ---> logs-deploy.sh [2023-05-09T19:03:17.376Z] lf-activate-venv: SKIPPING [2023-05-09T19:03:17.376Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-444/6 [2023-05-09T19:03:17.376Z] INFO: archiving workspace using pattern(s): [2023-05-09T19:03:18.310Z] Archives upload complete. [2023-05-09T19:03:18.310Z] INFO: archiving logs to Nexus