Pull request #496 event 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 lenny-goodell for edgexfoundry/device-sdk-c Obtained Jenkinsfile from 4410ed02c89f9f775968b3c16ea152ec31bdb83a+9ba2c339c6b6ced168e87f011e0a7391adc1a762 (6985cf0d05c876e5042006720a88e70289eb041c) 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-ssh12336988391743570241.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 590556114a56c6d90cc8043840e039c2f74196dc 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-ssh6640025390218347352.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 590556114a56c6d90cc8043840e039c2f74196dc 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-496/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-496/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2703738911848575021.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 590556114a56c6d90cc8043840e039c2f74196dc (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 590556114a56c6d90cc8043840e039c2f74196dc # timeout=10 Commit message: "Merge pull request #451 from jinlinGuan/fix-snyk" > 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-ssh7840020088430571262.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-496/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-496/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh703052478625465550.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildCApp] RAW Config: [project:device-sdk-c, dockerBuildFilePath:scripts/Dockerfile.alpine-base, dockerFilePath:scripts/Dockerfile.alpine, pushImage:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildCApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-c-settings PROJECT: device-sdk-c USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build DOCKER_FILE_PATH: scripts/Dockerfile.alpine DOCKER_BUILD_FILE_PATH: scripts/Dockerfile.alpine-base DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-2672 in /w/workspace/edgexfoundry_device-sdk-c_PR-496 [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-496 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/496/head:refs/remotes/origin/PR-496 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 9ba2c339c6b6ced168e87f011e0a7391adc1a762 into PR head commit 4410ed02c89f9f775968b3c16ea152ec31bdb83a Merge succeeded, producing 46372c9032836c90a9390ceffe3e5aa39ba22e72 Checking out Revision 46372c9032836c90a9390ceffe3e5aa39ba22e72 (PR-496) > git config core.sparsecheckout # timeout=10 > git checkout -f 4410ed02c89f9f775968b3c16ea152ec31bdb83a # 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 9ba2c339c6b6ced168e87f011e0a7391adc1a762 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 46372c9032836c90a9390ceffe3e5aa39ba22e72 # timeout=10 Commit message: "Merge commit '9ba2c339c6b6ced168e87f011e0a7391adc1a762' into HEAD" First time build. Skipping changelog. > git rev-list --no-walk bca1b49ac5df6988ad03e5ad4a63aa627d45501d # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-06-03T02:39:17.140Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-06-03T02:39:17.199Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-06-03T02:39:17.219Z] ========================================================= [2024-06-03T02:39:17.219Z] EdgeX Global Pipelines Version Info [2024-06-03T02:39:17.219Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-06-03T02:39:17.978Z] ------------------- [2024-06-03T02:39:17.978Z] stable info: [2024-06-03T02:39:17.978Z] ------------------- [2024-06-03T02:39:17.978Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-06-03T02:39:17.978Z] Commit SHA: 590556114a56c6d90cc8043840e039c2f74196dc [2024-06-03T02:39:17.978Z] Message: update stable to v1.0.260 [2024-06-03T02:39:18.548Z] ------------------- [2024-06-03T02:39:18.548Z] experimental info: [2024-06-03T02:39:18.548Z] ------------------- [2024-06-03T02:39:18.548Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-06-03T02:39:18.548Z] Commit SHA: f5e0e1f8358a839901f1a476b3a28a62f8570917 [2024-06-03T02:39:18.548Z] Message: update experimental to v1.0.259 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-06-03T02:39:18.627Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo [2024-06-03T02:39:18.645Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo [2024-06-03T02:39:18.665Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-06-03T02:39:18.690Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-06-03T02:39:18.712Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-06-03T02:39:18.731Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo [2024-06-03T02:39:18.750Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo [2024-06-03T02:39:18.767Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-06-03T02:39:18.786Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-06-03T02:39:18.808Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo [2024-06-03T02:39:18.825Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-06-03T02:39:18.842Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-06-03T02:39:18.859Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-06-03T02:39:18.875Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2024-06-03T02:39:18.890Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-06-03T02:39:18.907Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-06-03T02:39:18.926Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-06-03T02:39:18.946Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-496 [Pipeline] echo [2024-06-03T02:39:18.965Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-496 [Pipeline] echo [2024-06-03T02:39:18.984Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-496 [Pipeline] echo [2024-06-03T02:39:18.999Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 46372c9032836c90a9390ceffe3e5aa39ba22e72 [Pipeline] echo [2024-06-03T02:39:19.016Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 46372c9 [Pipeline] echo [2024-06-03T02:39:19.034Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-06-03T02:39:19.087Z] provisioning config files... [2024-06-03T02:39:19.100Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-496@tmp/config13991061212685792141tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-06-03T02:39:19.430Z] ---> ****-login.sh [2024-06-03T02:39:19.430Z] nexus3.edgexfoundry.org:10001 [2024-06-03T02:39:19.701Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-06-03T02:39:19.701Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-06-03T02:39:19.701Z] Configure a credential helper to remove this warning. See [2024-06-03T02:39:19.701Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-06-03T02:39:19.701Z] [2024-06-03T02:39:19.701Z] Login Succeeded [2024-06-03T02:39:19.701Z] nexus3.edgexfoundry.org:10002 [2024-06-03T02:39:19.701Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-06-03T02:39:19.962Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-06-03T02:39:19.962Z] Configure a credential helper to remove this warning. See [2024-06-03T02:39:19.962Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-06-03T02:39:19.962Z] [2024-06-03T02:39:19.962Z] Login Succeeded [2024-06-03T02:39:19.962Z] nexus3.edgexfoundry.org:10003 [2024-06-03T02:39:19.962Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-06-03T02:39:19.962Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-06-03T02:39:19.962Z] Configure a credential helper to remove this warning. See [2024-06-03T02:39:19.962Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-06-03T02:39:19.962Z] [2024-06-03T02:39:19.962Z] Login Succeeded [2024-06-03T02:39:19.962Z] nexus3.edgexfoundry.org:10004 [2024-06-03T02:39:19.962Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-06-03T02:39:19.963Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-06-03T02:39:19.963Z] Configure a credential helper to remove this warning. See [2024-06-03T02:39:19.963Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-06-03T02:39:19.963Z] [2024-06-03T02:39:19.963Z] Login Succeeded [2024-06-03T02:39:20.228Z] ****.io [2024-06-03T02:39:20.228Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-06-03T02:39:20.229Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-06-03T02:39:20.229Z] Configure a credential helper to remove this warning. See [2024-06-03T02:39:20.229Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-06-03T02:39:20.229Z] [2024-06-03T02:39:20.488Z] Login Succeeded [2024-06-03T02:39:20.489Z] ---> ****-login.sh ends [Pipeline] } [2024-06-03T02:39:20.496Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build LTS Release Image) [Pipeline] sh [2024-06-03T02:39:20.886Z] + git rev-list -1 --merges 46372c9032836c90a9390ceffe3e5aa39ba22e72~1..46372c9032836c90a9390ceffe3e5aa39ba22e72 [Pipeline] echo [2024-06-03T02:39:20.914Z] -----------> git rev-list -1 --merges 46372c9032836c90a9390ceffe3e5aa39ba22e72~1..46372c9032836c90a9390ceffe3e5aa39ba22e72 46372c9032836c90a9390ceffe3e5aa39ba22e72 [2024-06-03T02:39:20.914Z] 46372c9032836c90a9390ceffe3e5aa39ba22e72 [false] [Pipeline] sh [2024-06-03T02:39:21.210Z] + git log --format=format:%s -1 46372c9032836c90a9390ceffe3e5aa39ba22e72 [Pipeline] echo [2024-06-03T02:39:21.226Z] ========================================================= [2024-06-03T02:39:21.226Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-06-03T02:39:21.226Z] ========================================================= Stage "Build LTS Release Image" skipped due to when conditional [Pipeline] getContext [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) Stage "amd64" skipped due to when conditional [Pipeline] getContext [Pipeline] } Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] // stage [Pipeline] } [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-06-03T02:39:21.659Z] + git rev-list -1 --merges 46372c9032836c90a9390ceffe3e5aa39ba22e72~1..46372c9032836c90a9390ceffe3e5aa39ba22e72 [Pipeline] echo [2024-06-03T02:39:21.672Z] -----------> git rev-list -1 --merges 46372c9032836c90a9390ceffe3e5aa39ba22e72~1..46372c9032836c90a9390ceffe3e5aa39ba22e72 46372c9032836c90a9390ceffe3e5aa39ba22e72 [2024-06-03T02:39:21.672Z] 46372c9032836c90a9390ceffe3e5aa39ba22e72 [false] [Pipeline] sh [2024-06-03T02:39:21.966Z] + git log --format=format:%s -1 46372c9032836c90a9390ceffe3e5aa39ba22e72 [Pipeline] echo [2024-06-03T02:39:21.981Z] ========================================================= [2024-06-03T02:39:21.981Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-06-03T02:39:21.981Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh [2024-06-03T02:39:22.365Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-06-03T02:39:22.365Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-06-03T02:39:22.365Z] + [ -e /tmp/ssh_known_hosts ] [2024-06-03T02:39:22.365Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-06-03T02:39:22.365Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-06-03T02:39:22.365Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-06-03T02:39:22.365Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-06-03T02:39:22.718Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-06-03T02:39:22.718Z] [2024-06-03T02:39:22.718Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-06-03T02:39:23.022Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-06-03T02:39:23.022Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-06-03T02:39:23.022Z] b85a868b505f: Pulling fs layer [2024-06-03T02:39:23.022Z] e2be974225ed: Pulling fs layer [2024-06-03T02:39:23.022Z] 339a4e72a1f5: Pulling fs layer [2024-06-03T02:39:23.022Z] 988bab9f4d93: Pulling fs layer [2024-06-03T02:39:23.022Z] 1469e6f7b9e6: Pulling fs layer [2024-06-03T02:39:23.022Z] eaf3925da568: Pulling fs layer [2024-06-03T02:39:23.022Z] bab4dde63d76: Pulling fs layer [2024-06-03T02:39:23.022Z] bde34c3a00c8: Pulling fs layer [2024-06-03T02:39:23.022Z] b352a97aabf1: Pulling fs layer [2024-06-03T02:39:23.022Z] 4872d77fe225: Pulling fs layer [2024-06-03T02:39:23.022Z] 5851b861e8e6: Pulling fs layer [2024-06-03T02:39:23.022Z] 988bab9f4d93: Waiting [2024-06-03T02:39:23.022Z] 1469e6f7b9e6: Waiting [2024-06-03T02:39:23.022Z] b352a97aabf1: Waiting [2024-06-03T02:39:23.022Z] 4872d77fe225: Waiting [2024-06-03T02:39:23.022Z] eaf3925da568: Waiting [2024-06-03T02:39:23.022Z] 5851b861e8e6: Waiting [2024-06-03T02:39:23.022Z] bab4dde63d76: Waiting [2024-06-03T02:39:23.022Z] bde34c3a00c8: Waiting [2024-06-03T02:39:23.022Z] e2be974225ed: Verifying Checksum [2024-06-03T02:39:23.022Z] e2be974225ed: Download complete [2024-06-03T02:39:23.022Z] 988bab9f4d93: Verifying Checksum [2024-06-03T02:39:23.022Z] 988bab9f4d93: Download complete [2024-06-03T02:39:23.022Z] 1469e6f7b9e6: Verifying Checksum [2024-06-03T02:39:23.022Z] 1469e6f7b9e6: Download complete [2024-06-03T02:39:23.022Z] eaf3925da568: Verifying Checksum [2024-06-03T02:39:23.022Z] eaf3925da568: Download complete [2024-06-03T02:39:23.022Z] 339a4e72a1f5: Verifying Checksum [2024-06-03T02:39:23.022Z] 339a4e72a1f5: Download complete [2024-06-03T02:39:23.285Z] bde34c3a00c8: Download complete [2024-06-03T02:39:23.285Z] b352a97aabf1: Verifying Checksum [2024-06-03T02:39:23.285Z] b352a97aabf1: Download complete [2024-06-03T02:39:23.285Z] 4872d77fe225: Verifying Checksum [2024-06-03T02:39:23.285Z] 4872d77fe225: Download complete [2024-06-03T02:39:23.285Z] 5851b861e8e6: Download complete [2024-06-03T02:39:23.285Z] b85a868b505f: Verifying Checksum [2024-06-03T02:39:23.285Z] b85a868b505f: Download complete [2024-06-03T02:39:23.544Z] bab4dde63d76: Verifying Checksum [2024-06-03T02:39:23.544Z] bab4dde63d76: Download complete [2024-06-03T02:39:24.485Z] b85a868b505f: Pull complete [2024-06-03T02:39:24.744Z] e2be974225ed: Pull complete [2024-06-03T02:39:25.004Z] 339a4e72a1f5: Pull complete [2024-06-03T02:39:25.004Z] 988bab9f4d93: Pull complete [2024-06-03T02:39:25.264Z] 1469e6f7b9e6: Pull complete [2024-06-03T02:39:25.528Z] eaf3925da568: Pull complete [2024-06-03T02:39:27.437Z] bab4dde63d76: Pull complete [2024-06-03T02:39:27.437Z] bde34c3a00c8: Pull complete [2024-06-03T02:39:27.437Z] b352a97aabf1: Pull complete [2024-06-03T02:39:27.437Z] 4872d77fe225: Pull complete [2024-06-03T02:39:27.437Z] 5851b861e8e6: Pull complete [2024-06-03T02:39:27.437Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-06-03T02:39:27.437Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-06-03T02:39:27.437Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-06-03T02:39:27.584Z] prd-ubuntu20.04-docker-8c-8g-2672 does not seem to be running inside a container [2024-06-03T02:39:27.620Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-496 -v /w/workspace/edgexfoundry_device-sdk-c_PR-496:/w/workspace/edgexfoundry_device-sdk-c_PR-496:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-496@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-496@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 [2024-06-03T02:39:31.000Z] $ docker top ecce7d4da7e0aacf805509544f4c76d9ff4e0d183f16d691b052bc0d447dd65b -eo pid,comm [2024-06-03T02:39:31.050Z] 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). [2024-06-03T02:39:31.050Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-06-03T02:39:31.104Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-06-03T02:39:31.104Z] [ssh-agent] Looking for ssh-agent implementation... [2024-06-03T02:39:31.226Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-06-03T02:39:31.232Z] $ docker exec ecce7d4da7e0aacf805509544f4c76d9ff4e0d183f16d691b052bc0d447dd65b ssh-agent [2024-06-03T02:39:31.343Z] SSH_AUTH_SOCK=/tmp/ssh-x93gKgnuFPdY/agent.31 [2024-06-03T02:39:31.343Z] SSH_AGENT_PID=37 [2024-06-03T02:39:31.349Z] Running ssh-add (command line suppressed) [2024-06-03T02:39:31.460Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-496@tmp/private_key_5519715173104727831.key (/w/workspace/edgexfoundry_device-sdk-c_PR-496@tmp/private_key_5519715173104727831.key) [2024-06-03T02:39:31.471Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-06-03T02:39:31.763Z] + git tag --points-at HEAD [Pipeline] } [2024-06-03T02:39:31.778Z] $ docker exec --env ******** --env ******** ecce7d4da7e0aacf805509544f4c76d9ff4e0d183f16d691b052bc0d447dd65b ssh-agent -k [2024-06-03T02:39:31.869Z] unset SSH_AUTH_SOCK; [2024-06-03T02:39:31.870Z] unset SSH_AGENT_PID; [2024-06-03T02:39:31.871Z] echo Agent pid 37 killed; [2024-06-03T02:39:31.875Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-06-03T02:39:31.915Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-06-03T02:39:31.915Z] [ssh-agent] Looking for ssh-agent implementation... [2024-06-03T02:39:32.030Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-06-03T02:39:32.036Z] $ docker exec ecce7d4da7e0aacf805509544f4c76d9ff4e0d183f16d691b052bc0d447dd65b ssh-agent [2024-06-03T02:39:32.133Z] SSH_AUTH_SOCK=/tmp/ssh-pBUUGWieRqhp/agent.71 [2024-06-03T02:39:32.133Z] SSH_AGENT_PID=77 [2024-06-03T02:39:32.137Z] Running ssh-add (command line suppressed) [2024-06-03T02:39:32.237Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-496@tmp/private_key_17972021335238666593.key (/w/workspace/edgexfoundry_device-sdk-c_PR-496@tmp/private_key_17972021335238666593.key) [2024-06-03T02:39:32.247Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-06-03T02:39:32.540Z] + git semver init [2024-06-03T02:39:32.805Z] 2024-06-03 02:39:32,732 [run_init] DEBUG init version:0.0.0 force:False [2024-06-03T02:39:32.805Z] 2024-06-03 02:39:32,733 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-c_PR-496/.semver [2024-06-03T02:39:32.805Z] 2024-06-03 02:39:32,733 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-c.git /w/workspace/edgexfoundry_device-sdk-c_PR-496/.semver [2024-06-03T02:39:32.805Z] 2024-06-03 02:39:32,733 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-c.git', '/w/workspace/edgexfoundry_device-sdk-c_PR-496/.semver'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-496, universal_newlines=False, shell=None, istream=None) [2024-06-03T02:39:33.742Z] 2024-06-03 02:39:33,511 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-c_PR-496/.git/info/exclude [2024-06-03T02:39:33.742Z] 2024-06-03 02:39:33,512 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-c_PR-496/.semver/PR-496 with force:False [2024-06-03T02:39:33.742Z] 2024-06-03 02:39:33,512 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-c_PR-496/.semver/PR-496 [2024-06-03T02:39:33.742Z] 2024-06-03 02:39:33,516 [execute] INFO git cat-file --batch-check [2024-06-03T02:39:33.742Z] 2024-06-03 02:39:33,516 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-496/.semver, universal_newlines=False, shell=None, istream=) [2024-06-03T02:39:33.742Z] 2024-06-03 02:39:33,522 [execute] INFO git cat-file --batch [2024-06-03T02:39:33.742Z] 2024-06-03 02:39:33,523 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-496/.semver, universal_newlines=False, shell=None, istream=) [2024-06-03T02:39:33.742Z] 2024-06-03 02:39:33,527 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_PR-496/.semver/PR-496 [2024-06-03T02:39:33.742Z] 0.0.0 [Pipeline] } [2024-06-03T02:39:33.754Z] $ docker exec --env ******** --env ******** ecce7d4da7e0aacf805509544f4c76d9ff4e0d183f16d691b052bc0d447dd65b ssh-agent -k [2024-06-03T02:39:33.859Z] unset SSH_AUTH_SOCK; [2024-06-03T02:39:33.860Z] unset SSH_AGENT_PID; [2024-06-03T02:39:33.860Z] echo Agent pid 77 killed; [2024-06-03T02:39:33.871Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-06-03T02:39:34.191Z] + git semver [Pipeline] } [2024-06-03T02:39:34.468Z] $ docker stop --time=1 ecce7d4da7e0aacf805509544f4c76d9ff4e0d183f16d691b052bc0d447dd65b [2024-06-03T02:39:35.720Z] $ docker rm -f --volumes ecce7d4da7e0aacf805509544f4c76d9ff4e0d183f16d691b052bc0d447dd65b [Pipeline] // withDockerContainer [Pipeline] sh [2024-06-03T02:39:36.055Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-06-03T02:39:36.277Z] Stashed 1 file(s) [Pipeline] echo [2024-06-03T02:39:36.282Z] [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 [2024-06-03T02:39:36.438Z] provisioning config files... [2024-06-03T02:39:36.448Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-496@tmp/config6171929057724094143tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-06-03T02:39:36.745Z] ---> ****-login.sh [2024-06-03T02:39:36.745Z] nexus3.edgexfoundry.org:10001 [2024-06-03T02:39:36.745Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-06-03T02:39:36.745Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-06-03T02:39:36.745Z] Configure a credential helper to remove this warning. See [2024-06-03T02:39:36.745Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-06-03T02:39:36.745Z] [2024-06-03T02:39:36.745Z] Login Succeeded [2024-06-03T02:39:36.745Z] nexus3.edgexfoundry.org:10002 [2024-06-03T02:39:36.745Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-06-03T02:39:36.745Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-06-03T02:39:36.745Z] Configure a credential helper to remove this warning. See [2024-06-03T02:39:36.745Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-06-03T02:39:36.745Z] [2024-06-03T02:39:36.745Z] Login Succeeded [2024-06-03T02:39:36.745Z] nexus3.edgexfoundry.org:10003 [2024-06-03T02:39:37.004Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-06-03T02:39:37.004Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-06-03T02:39:37.004Z] Configure a credential helper to remove this warning. See [2024-06-03T02:39:37.004Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-06-03T02:39:37.004Z] [2024-06-03T02:39:37.004Z] Login Succeeded [2024-06-03T02:39:37.004Z] nexus3.edgexfoundry.org:10004 [2024-06-03T02:39:37.004Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-06-03T02:39:37.004Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-06-03T02:39:37.004Z] Configure a credential helper to remove this warning. See [2024-06-03T02:39:37.004Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-06-03T02:39:37.004Z] [2024-06-03T02:39:37.004Z] Login Succeeded [2024-06-03T02:39:37.004Z] ****.io [2024-06-03T02:39:37.264Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-06-03T02:39:37.264Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-06-03T02:39:37.265Z] Configure a credential helper to remove this warning. See [2024-06-03T02:39:37.265Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-06-03T02:39:37.265Z] [2024-06-03T02:39:37.265Z] Login Succeeded [2024-06-03T02:39:37.265Z] ---> ****-login.sh ends [Pipeline] } [2024-06-03T02:39:37.272Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-06-03T02:39:37.367Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-06-03T02:39:37.378Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo [2024-06-03T02:39:37.390Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-06-03T02:39:37.402Z] ========================================================= [2024-06-03T02:39:37.402Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] [2024-06-03T02:39:37.402Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-06-03T02:39:37.718Z] + 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 . [2024-06-03T02:39:37.718Z] Sending build context to Docker daemon 5.046MB [2024-06-03T02:39:37.718Z] Step 1/22 : ARG BASE=alpine:3.18 [2024-06-03T02:39:37.718Z] Step 2/22 : FROM ${BASE} as builder [2024-06-03T02:39:37.718Z] latest: Pulling from edgex-devops/edgex-gcc-base [2024-06-03T02:39:37.718Z] 96526aa774ef: Pulling fs layer [2024-06-03T02:39:37.718Z] da60e534fd72: Pulling fs layer [2024-06-03T02:39:37.977Z] 96526aa774ef: Download complete [2024-06-03T02:39:37.977Z] 96526aa774ef: Pull complete [2024-06-03T02:39:38.546Z] da60e534fd72: Verifying Checksum [2024-06-03T02:39:38.546Z] da60e534fd72: Download complete [2024-06-03T02:39:41.830Z] da60e534fd72: Pull complete [2024-06-03T02:39:41.830Z] Digest: sha256:86f282524b252fca782185160d82ec4889448d07d1475dd6b76f2052073facff [2024-06-03T02:39:41.830Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [2024-06-03T02:39:41.830Z] ---> 6605166a5db4 [2024-06-03T02:39:41.830Z] Step 3/22 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2024-06-03T02:39:43.738Z] ---> Running in cbdfc39d3b4b [2024-06-03T02:39:43.738Z] Connecting to iotech.jfrog.io (34.247.22.236:443) [2024-06-03T02:39:43.996Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-06-03T02:39:43.997Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-06-03T02:39:43.997Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-06-03T02:39:44.568Z] Removing intermediate container cbdfc39d3b4b [2024-06-03T02:39:44.568Z] ---> 83c8586f1cdc [2024-06-03T02:39:44.568Z] Step 4/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-06-03T02:39:44.568Z] ---> Running in 0a22f5fdf937 [2024-06-03T02:39:44.827Z] Removing intermediate container 0a22f5fdf937 [2024-06-03T02:39:44.827Z] ---> 6a6e137d183b [2024-06-03T02:39:44.827Z] Step 5/22 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml-dev curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev libcbor-dev iotech-paho-mqtt-c-dev-1.3 iotech-iot-1.5-dev hiredis-dev [2024-06-03T02:39:45.085Z] ---> Running in da357ac7f0af [2024-06-03T02:39:45.343Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-06-03T02:39:45.343Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-06-03T02:39:45.602Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-06-03T02:39:46.169Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-06-03T02:39:46.169Z] (1/17) Installing hiredis (1.1.0-r2) [2024-06-03T02:39:46.169Z] (2/17) Installing hiredis-dev (1.1.0-r2) [2024-06-03T02:39:46.169Z] (3/17) Installing libcbor (0.10.2-r1) [2024-06-03T02:39:46.169Z] (4/17) Installing iotech-iot-1.5 (1.5.4-r1) [2024-06-03T02:39:47.107Z] (5/17) Installing iotech-iot-1.5-dev (1.5.4-r1) [2024-06-03T02:39:47.107Z] (6/17) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) [2024-06-03T02:39:47.107Z] (7/17) Installing libcbor-dev (0.10.2-r1) [2024-06-03T02:39:47.107Z] (8/17) Installing libmenuw (6.4_p20230506-r0) [2024-06-03T02:39:47.107Z] (9/17) Installing libpanelw (6.4_p20230506-r0) [2024-06-03T02:39:47.108Z] (10/17) Installing libncurses++ (6.4_p20230506-r0) [2024-06-03T02:39:47.108Z] (11/17) Installing ncurses-dev (6.4_p20230506-r0) [2024-06-03T02:39:47.367Z] (12/17) Installing libblkid (2.38.1-r8) [2024-06-03T02:39:47.367Z] (13/17) Installing libuuid (2.38.1-r8) [2024-06-03T02:39:47.367Z] (14/17) Installing libfdisk (2.38.1-r8) [2024-06-03T02:39:47.367Z] (15/17) Installing libmount (2.38.1-r8) [2024-06-03T02:39:47.367Z] (16/17) Installing libsmartcols (2.38.1-r8) [2024-06-03T02:39:47.367Z] (17/17) Installing util-linux-dev (2.38.1-r8) [2024-06-03T02:39:47.367Z] Executing busybox-1.36.1-r4.trigger [2024-06-03T02:39:47.367Z] OK: 336 MiB in 99 packages [2024-06-03T02:39:47.934Z] Removing intermediate container da357ac7f0af [2024-06-03T02:39:47.934Z] ---> f28c91edaa4e [2024-06-03T02:39:47.934Z] Step 6/22 : RUN mkdir /tmp/sdk [2024-06-03T02:39:47.934Z] ---> Running in 1b0b92ce6130 [2024-06-03T02:39:48.502Z] Removing intermediate container 1b0b92ce6130 [2024-06-03T02:39:48.502Z] ---> 6cfe9810647d [2024-06-03T02:39:48.502Z] Step 7/22 : COPY VERSION /tmp/sdk [2024-06-03T02:39:48.760Z] ---> 7540c656108d [2024-06-03T02:39:48.760Z] Step 8/22 : COPY src /tmp/sdk/src [2024-06-03T02:39:48.760Z] ---> a07b059f5ff3 [2024-06-03T02:39:48.760Z] Step 9/22 : COPY include /tmp/sdk/include [2024-06-03T02:39:49.019Z] ---> aebbb3ecaf13 [2024-06-03T02:39:49.019Z] Step 10/22 : COPY scripts /tmp/sdk/scripts [2024-06-03T02:39:49.019Z] ---> 01b0ebb8ab14 [2024-06-03T02:39:49.019Z] Step 11/22 : COPY LICENSE /tmp/sdk [2024-06-03T02:39:49.276Z] ---> d8c669726e28 [2024-06-03T02:39:49.276Z] Step 12/22 : COPY Attribution.txt /tmp/sdk [2024-06-03T02:39:49.276Z] ---> 25def724c682 [2024-06-03T02:39:49.276Z] Step 13/22 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2024-06-03T02:39:49.534Z] ---> Running in b936111bfa66 [2024-06-03T02:39:49.792Z] + CPPCHECK=false [2024-06-03T02:39:49.792Z] + DOCGEN=false [2024-06-03T02:39:49.792Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2024-06-03T02:39:49.792Z] + '[' 0 -gt 0 ] [2024-06-03T02:39:49.793Z] + readlink -f ./scripts/build.sh [2024-06-03T02:39:49.793Z] + dirname /tmp/sdk/scripts/build.sh [2024-06-03T02:39:49.793Z] + dirname /tmp/sdk/scripts [2024-06-03T02:39:49.793Z] + ROOT=/tmp/sdk [2024-06-03T02:39:49.793Z] + cd /tmp/sdk [2024-06-03T02:39:49.793Z] + mkdir -p /tmp/sdk/build/release [2024-06-03T02:39:49.793Z] + cd /tmp/sdk/build/release [2024-06-03T02:39:49.793Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2024-06-03T02:39:49.793Z] -- The C compiler identification is GNU 12.2.1 [2024-06-03T02:39:49.793Z] -- Detecting C compiler ABI info [2024-06-03T02:39:49.793Z] -- Detecting C compiler ABI info - done [2024-06-03T02:39:49.793Z] -- Check for working C compiler: /usr/bin/cc - skipped [2024-06-03T02:39:49.793Z] -- Detecting C compile features [2024-06-03T02:39:49.793Z] -- Detecting C compile features - done [2024-06-03T02:39:49.793Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2024-06-03T02:39:49.793Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") [2024-06-03T02:39:49.793Z] -- Found LIBYAML: /usr/lib/libyaml.so [2024-06-03T02:39:50.055Z] -- Found LIBUUID: /usr/lib/libuuid.so [2024-06-03T02:39:50.055Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2024-06-03T02:39:50.055Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2024-06-03T02:39:50.055Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2024-06-03T02:39:50.055Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2024-06-03T02:39:50.055Z] -- /opt/iotech/iot/1.5/include [2024-06-03T02:39:50.055Z] -- C SDK 0.0.0 for Linux [2024-06-03T02:39:50.055Z] -- Performing Test CSDK_HAVE_ATOMIC [2024-06-03T02:39:50.055Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2024-06-03T02:39:50.055Z] -- Found Curses: /usr/lib/libcurses.so [2024-06-03T02:39:50.055Z] -- Configuring done (0.4s) [2024-06-03T02:39:50.055Z] -- Generating done (0.0s) [2024-06-03T02:39:50.055Z] -- Build files have been written to: /tmp/sdk/build/release [2024-06-03T02:39:50.055Z] + make all package [2024-06-03T02:39:50.055Z] + tee release.log [2024-06-03T02:39:50.055Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2024-06-03T02:39:50.312Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2024-06-03T02:39:50.312Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2024-06-03T02:39:50.572Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2024-06-03T02:39:50.572Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2024-06-03T02:39:50.829Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2024-06-03T02:39:51.088Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2024-06-03T02:39:51.088Z] /tmp/sdk/src/c/consul.c: In function 'edgex_consul_client_get_common_config': [2024-06-03T02:39:51.088Z] /tmp/sdk/src/c/consul.c:294:10: warning: 'privateConfig' may be used uninitialized [-Wmaybe-uninitialized] [2024-06-03T02:39:51.088Z] 294 | while (privateConfig) [2024-06-03T02:39:51.088Z] | ^~~~~~~~~~~~~ [2024-06-03T02:39:51.088Z] /tmp/sdk/src/c/consul.c:214:28: note: 'privateConfig' was declared here [2024-06-03T02:39:51.088Z] 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; [2024-06-03T02:39:51.088Z] | ^~~~~~~~~~~~~ [2024-06-03T02:39:51.088Z] /tmp/sdk/src/c/consul.c:271:10: warning: 'result' may be used uninitialized [-Wmaybe-uninitialized] [2024-06-03T02:39:51.088Z] 271 | while (result) [2024-06-03T02:39:51.088Z] | ^~~~~~ [2024-06-03T02:39:51.088Z] /tmp/sdk/src/c/consul.c:214:19: note: 'result' was declared here [2024-06-03T02:39:51.088Z] 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; [2024-06-03T02:39:51.088Z] | ^~~~~~ [2024-06-03T02:39:51.346Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2024-06-03T02:39:51.346Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2024-06-03T02:39:51.346Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2024-06-03T02:39:51.388Z] Still waiting to schedule task [2024-06-03T02:39:51.389Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2024-06-03T02:39:51.603Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2024-06-03T02:39:51.861Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2024-06-03T02:39:51.861Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2024-06-03T02:39:52.118Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2024-06-03T02:39:52.118Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2024-06-03T02:39:52.376Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2024-06-03T02:39:52.376Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2024-06-03T02:39:52.635Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2024-06-03T02:39:52.635Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2024-06-03T02:39:52.895Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2024-06-03T02:39:53.155Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2024-06-03T02:39:54.095Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2024-06-03T02:39:54.095Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2024-06-03T02:39:54.354Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2024-06-03T02:39:54.354Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2024-06-03T02:39:54.354Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2024-06-03T02:39:54.614Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2024-06-03T02:39:54.871Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2024-06-03T02:39:55.128Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2024-06-03T02:39:55.128Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2024-06-03T02:39:55.388Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2024-06-03T02:39:55.388Z] /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2024-06-03T02:39:55.388Z] /tmp/sdk/src/c/service.c:871:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-06-03T02:39:55.388Z] 871 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); [2024-06-03T02:39:55.388Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-06-03T02:39:55.388Z] /tmp/sdk/src/c/service.c:872:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-06-03T02:39:55.388Z] 872 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); [2024-06-03T02:39:55.388Z] | ^ [2024-06-03T02:39:55.650Z] /tmp/sdk/src/c/service.c:1026:5: warning: 'deviceservices_config' may be used uninitialized [-Wmaybe-uninitialized] [2024-06-03T02:39:55.650Z] 1026 | edgex_device_parseClients (svc->logger, iot_data_string_map_get (deviceservices_config, "Clients"), &svc->config.endpoints); [2024-06-03T02:39:55.650Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-06-03T02:39:55.650Z] /tmp/sdk/src/c/service.c:838:68: note: 'deviceservices_config' was declared here [2024-06-03T02:39:55.650Z] 838 | iot_data_t *common_config_map, *private_config_map, *configmap, *deviceservices_config; [2024-06-03T02:39:55.650Z] | ^~~~~~~~~~~~~~~~~~~~~ [2024-06-03T02:39:55.650Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2024-06-03T02:39:55.908Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2024-06-03T02:39:55.908Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2024-06-03T02:39:55.908Z] [ 68%] Linking C shared library libcsdk.so [2024-06-03T02:39:55.908Z] [ 68%] Built target csdk [2024-06-03T02:39:55.908Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2024-06-03T02:39:56.166Z] [ 72%] Linking C executable template [2024-06-03T02:39:56.166Z] [ 72%] Built target template [2024-06-03T02:39:56.166Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2024-06-03T02:39:56.166Z] [ 76%] Linking C executable device-counter [2024-06-03T02:39:56.426Z] [ 76%] Built target device-counter [2024-06-03T02:39:56.426Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2024-06-03T02:39:56.426Z] [ 80%] Linking C executable device-random [2024-06-03T02:39:56.426Z] [ 80%] Built target device-random [2024-06-03T02:39:56.426Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2024-06-03T02:39:56.685Z] [ 84%] Linking C executable device-gyro [2024-06-03T02:39:56.685Z] [ 84%] Built target device-gyro [2024-06-03T02:39:56.685Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2024-06-03T02:39:56.685Z] [ 88%] Linking C executable device-bitfields [2024-06-03T02:39:56.943Z] [ 88%] Built target device-bitfields [2024-06-03T02:39:56.943Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2024-06-03T02:39:56.943Z] [ 92%] Linking C executable template-discovery [2024-06-03T02:39:57.201Z] [ 92%] Built target template-discovery [2024-06-03T02:39:57.201Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2024-06-03T02:39:57.201Z] [ 96%] Linking C executable device-file [2024-06-03T02:39:57.201Z] [ 96%] Built target device-file [2024-06-03T02:39:57.201Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2024-06-03T02:39:57.459Z] [100%] Linking C executable device-terminal [2024-06-03T02:39:57.459Z] [100%] Built target device-terminal [2024-06-03T02:39:57.459Z] Run CPack packaging tool... [2024-06-03T02:39:57.459Z] CPack: Create package using TGZ [2024-06-03T02:39:57.459Z] CPack: Install projects [2024-06-03T02:39:57.459Z] CPack: - Run preinstall target for: Csdk [2024-06-03T02:39:57.717Z] CPack: - Install project: Csdk [] [2024-06-03T02:39:57.717Z] CPack: Create package [2024-06-03T02:39:57.717Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2024-06-03T02:39:57.717Z] + '[' false '=' true ] [2024-06-03T02:39:57.717Z] + '[' false '=' true ] [2024-06-03T02:39:57.717Z] + mkdir -p /tmp/sdk/build/debug [2024-06-03T02:39:57.717Z] + cd /tmp/sdk/build/debug [2024-06-03T02:39:57.717Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2024-06-03T02:39:57.977Z] -- The C compiler identification is GNU 12.2.1 [2024-06-03T02:39:57.977Z] -- Detecting C compiler ABI info [2024-06-03T02:39:57.977Z] -- Detecting C compiler ABI info - done [2024-06-03T02:39:57.977Z] -- Check for working C compiler: /usr/bin/cc - skipped [2024-06-03T02:39:57.977Z] -- Detecting C compile features [2024-06-03T02:39:57.977Z] -- Detecting C compile features - done [2024-06-03T02:39:57.977Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2024-06-03T02:39:57.977Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") [2024-06-03T02:39:57.977Z] -- Found LIBYAML: /usr/lib/libyaml.so [2024-06-03T02:39:57.977Z] -- Found LIBUUID: /usr/lib/libuuid.so [2024-06-03T02:39:57.977Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2024-06-03T02:39:57.977Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2024-06-03T02:39:57.977Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2024-06-03T02:39:57.977Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2024-06-03T02:39:57.977Z] -- /opt/iotech/iot/1.5/include [2024-06-03T02:39:57.977Z] -- C SDK 0.0.0 for Linux [2024-06-03T02:39:57.977Z] -- Performing Test CSDK_HAVE_ATOMIC [2024-06-03T02:39:58.236Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2024-06-03T02:39:58.236Z] -- Found Curses: /usr/lib/libcurses.so [2024-06-03T02:39:58.236Z] -- Configuring done (0.4s) [2024-06-03T02:39:58.236Z] -- Generating done (0.0s) [2024-06-03T02:39:58.236Z] -- Build files have been written to: /tmp/sdk/build/debug [2024-06-03T02:39:58.236Z] + make [2024-06-03T02:39:58.236Z] + tee debug.log [2024-06-03T02:39:58.236Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2024-06-03T02:39:58.495Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2024-06-03T02:39:58.495Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2024-06-03T02:39:58.495Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2024-06-03T02:39:58.495Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2024-06-03T02:39:58.753Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2024-06-03T02:39:58.753Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2024-06-03T02:39:58.753Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2024-06-03T02:39:59.012Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2024-06-03T02:39:59.012Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2024-06-03T02:39:59.012Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2024-06-03T02:39:59.271Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2024-06-03T02:39:59.271Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2024-06-03T02:39:59.271Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2024-06-03T02:39:59.271Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2024-06-03T02:39:59.531Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2024-06-03T02:39:59.532Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2024-06-03T02:39:59.792Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2024-06-03T02:39:59.792Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2024-06-03T02:39:59.792Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2024-06-03T02:39:59.792Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2024-06-03T02:40:00.052Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2024-06-03T02:40:00.052Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2024-06-03T02:40:00.312Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2024-06-03T02:40:00.312Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2024-06-03T02:40:00.312Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2024-06-03T02:40:00.312Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2024-06-03T02:40:00.571Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2024-06-03T02:40:00.571Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2024-06-03T02:40:00.832Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2024-06-03T02:40:00.832Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2024-06-03T02:40:00.832Z] /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2024-06-03T02:40:00.832Z] /tmp/sdk/src/c/service.c:871:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-06-03T02:40:00.832Z] 871 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); [2024-06-03T02:40:00.832Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-06-03T02:40:00.833Z] /tmp/sdk/src/c/service.c:872:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-06-03T02:40:00.833Z] 872 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); [2024-06-03T02:40:00.833Z] | ^ [2024-06-03T02:40:01.090Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2024-06-03T02:40:01.090Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2024-06-03T02:40:01.090Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2024-06-03T02:40:01.090Z] [ 68%] Linking C shared library libcsdk.so [2024-06-03T02:40:01.351Z] [ 68%] Built target csdk [2024-06-03T02:40:01.351Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2024-06-03T02:40:01.351Z] [ 72%] Linking C executable template [2024-06-03T02:40:01.351Z] [ 72%] Built target template [2024-06-03T02:40:01.351Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2024-06-03T02:40:01.351Z] [ 76%] Linking C executable device-counter [2024-06-03T02:40:01.611Z] [ 76%] Built target device-counter [2024-06-03T02:40:01.611Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2024-06-03T02:40:01.611Z] [ 80%] Linking C executable device-random [2024-06-03T02:40:01.611Z] [ 80%] Built target device-random [2024-06-03T02:40:01.611Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2024-06-03T02:40:01.872Z] [ 84%] Linking C executable device-gyro [2024-06-03T02:40:01.872Z] [ 84%] Built target device-gyro [2024-06-03T02:40:01.872Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2024-06-03T02:40:01.872Z] [ 88%] Linking C executable device-bitfields [2024-06-03T02:40:01.872Z] [ 88%] Built target device-bitfields [2024-06-03T02:40:01.872Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2024-06-03T02:40:02.134Z] [ 92%] Linking C executable template-discovery [2024-06-03T02:40:02.134Z] [ 92%] Built target template-discovery [2024-06-03T02:40:02.134Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2024-06-03T02:40:02.134Z] [ 96%] Linking C executable device-file [2024-06-03T02:40:02.392Z] [ 96%] Built target device-file [2024-06-03T02:40:02.392Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2024-06-03T02:40:02.392Z] [100%] Linking C executable device-terminal [2024-06-03T02:40:02.392Z] [100%] Built target device-terminal [2024-06-03T02:40:02.392Z] make: Entering directory '/tmp/sdk/build/release' [2024-06-03T02:40:02.651Z] [ 68%] Built target csdk [2024-06-03T02:40:02.651Z] [ 72%] Built target template [2024-06-03T02:40:02.651Z] [ 76%] Built target device-counter [2024-06-03T02:40:02.651Z] [ 80%] Built target device-random [2024-06-03T02:40:02.651Z] [ 84%] Built target device-gyro [2024-06-03T02:40:02.651Z] [ 88%] Built target device-bitfields [2024-06-03T02:40:02.651Z] [ 92%] Built target template-discovery [2024-06-03T02:40:02.651Z] [ 96%] Built target device-file [2024-06-03T02:40:02.651Z] [100%] Built target device-terminal [2024-06-03T02:40:02.651Z] Install the project... [2024-06-03T02:40:02.651Z] -- Install configuration: "Release" [2024-06-03T02:40:02.651Z] -- Installing: /usr/local/lib/libcsdk.so [2024-06-03T02:40:02.651Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2024-06-03T02:40:02.651Z] -- Installing: /usr/local/include [2024-06-03T02:40:02.651Z] -- Installing: /usr/local/include/devsdk [2024-06-03T02:40:02.651Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2024-06-03T02:40:02.651Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2024-06-03T02:40:02.651Z] -- Installing: /usr/local/include/edgex [2024-06-03T02:40:02.651Z] -- Installing: /usr/local/include/edgex/edgex.h [2024-06-03T02:40:02.651Z] -- Installing: /usr/local/include/edgex/devices.h [2024-06-03T02:40:02.651Z] -- Installing: /usr/local/include/edgex/profiles.h [2024-06-03T02:40:02.651Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2024-06-03T02:40:02.651Z] -- Installing: /usr/local/include/edgex/rest-server.h [2024-06-03T02:40:02.651Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2024-06-03T02:40:02.651Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2024-06-03T02:40:02.651Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2024-06-03T02:40:02.651Z] make: Leaving directory '/tmp/sdk/build/release' [2024-06-03T02:40:03.218Z] Removing intermediate container b936111bfa66 [2024-06-03T02:40:03.218Z] ---> 6df2d3a1fd38 [2024-06-03T02:40:03.218Z] Step 14/22 : FROM ${BASE} [2024-06-03T02:40:03.218Z] ---> 6605166a5db4 [2024-06-03T02:40:03.218Z] Step 15/22 : LABEL maintainer="IOTech " [2024-06-03T02:40:03.484Z] ---> Running in bad84932d6e9 [2024-06-03T02:40:03.484Z] Removing intermediate container bad84932d6e9 [2024-06-03T02:40:03.484Z] ---> af7a94c5c9d8 [2024-06-03T02:40:03.484Z] Step 16/22 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2024-06-03T02:40:03.484Z] ---> Running in 18e7a2c4011a [2024-06-03T02:40:03.746Z] Connecting to iotech.jfrog.io (54.73.4.50:443) [2024-06-03T02:40:04.008Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-06-03T02:40:04.008Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-06-03T02:40:04.008Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-06-03T02:40:04.267Z] Removing intermediate container 18e7a2c4011a [2024-06-03T02:40:04.267Z] ---> 36985a36f1f8 [2024-06-03T02:40:04.267Z] Step 17/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-06-03T02:40:04.526Z] ---> Running in 110cf8d3bdc1 [2024-06-03T02:40:05.093Z] Removing intermediate container 110cf8d3bdc1 [2024-06-03T02:40:05.093Z] ---> e3f6d4f1f9a8 [2024-06-03T02:40:05.093Z] Step 18/22 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml curl libmicrohttpd libuuid libcbor iotech-paho-mqtt-c-dev-1.3 iotech-iot-1.5 hiredis-dev dumb-init [2024-06-03T02:40:05.093Z] ---> Running in 74ccf54a08c5 [2024-06-03T02:40:05.352Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-06-03T02:40:05.352Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-06-03T02:40:05.610Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-06-03T02:40:06.177Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-06-03T02:40:06.177Z] (1/10) Upgrading libcurl (8.4.0-r0 -> 8.5.0-r0) [2024-06-03T02:40:06.177Z] (2/10) Installing curl (8.5.0-r0) [2024-06-03T02:40:06.177Z] (3/10) Upgrading curl-dev (8.4.0-r0 -> 8.5.0-r0) [2024-06-03T02:40:06.177Z] (4/10) Installing dumb-init (1.2.5-r2) [2024-06-03T02:40:06.177Z] (5/10) Installing hiredis (1.1.0-r2) [2024-06-03T02:40:06.177Z] (6/10) Installing hiredis-dev (1.1.0-r2) [2024-06-03T02:40:06.177Z] (7/10) Installing libcbor (0.10.2-r1) [2024-06-03T02:40:06.177Z] (8/10) Installing iotech-iot-1.5 (1.5.4-r1) [2024-06-03T02:40:06.744Z] (9/10) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) [2024-06-03T02:40:07.003Z] (10/10) Installing libuuid (2.38.1-r8) [2024-06-03T02:40:07.003Z] Executing busybox-1.36.1-r4.trigger [2024-06-03T02:40:07.003Z] OK: 331 MiB in 90 packages [2024-06-03T02:40:07.572Z] Removing intermediate container 74ccf54a08c5 [2024-06-03T02:40:07.572Z] ---> 4d51de421edd [2024-06-03T02:40:07.572Z] Step 19/22 : RUN apk --no-cache upgrade [2024-06-03T02:40:07.572Z] ---> Running in 5cc5de3c0b30 [2024-06-03T02:40:07.830Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-06-03T02:40:07.830Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-06-03T02:40:08.089Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-06-03T02:40:08.656Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-06-03T02:40:08.656Z] Upgrading critical system libraries and apk-tools: [2024-06-03T02:40:08.656Z] (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) [2024-06-03T02:40:08.656Z] Executing busybox-1.36.1-r4.trigger [2024-06-03T02:40:08.656Z] Continuing the upgrade transaction with new apk-tools: [2024-06-03T02:40:08.656Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-06-03T02:40:08.656Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-06-03T02:40:08.656Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-06-03T02:40:09.224Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-06-03T02:40:09.224Z] (1/13) Upgrading busybox (1.36.1-r4 -> 1.36.1-r6) [2024-06-03T02:40:09.224Z] Executing busybox-1.36.1-r6.post-upgrade [2024-06-03T02:40:09.224Z] (2/13) Upgrading busybox-binsh (1.36.1-r4 -> 1.36.1-r6) [2024-06-03T02:40:09.224Z] (3/13) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) [2024-06-03T02:40:09.224Z] (4/13) Upgrading libcrypto3 (3.1.4-r0 -> 3.1.5-r0) [2024-06-03T02:40:09.224Z] (5/13) Upgrading libssl3 (3.1.4-r0 -> 3.1.5-r0) [2024-06-03T02:40:09.224Z] (6/13) Upgrading ssl_client (1.36.1-r4 -> 1.36.1-r6) [2024-06-03T02:40:09.224Z] (7/13) Upgrading libexpat (2.5.0-r1 -> 2.6.2-r0) [2024-06-03T02:40:09.224Z] (8/13) Upgrading libarchive (3.7.2-r0 -> 3.7.4-r0) [2024-06-03T02:40:09.224Z] (9/13) Upgrading ca-certificates (20230506-r0 -> 20240226-r0) [2024-06-03T02:40:09.484Z] (10/13) Upgrading openssl-dev (3.1.4-r0 -> 3.1.5-r0) [2024-06-03T02:40:09.484Z] (11/13) Upgrading gnutls (3.8.0-r2 -> 3.8.4-r0) [2024-06-03T02:40:09.484Z] (12/13) Upgrading gnutls-c++ (3.8.0-r2 -> 3.8.4-r0) [2024-06-03T02:40:09.484Z] (13/13) Upgrading gnutls-dev (3.8.0-r2 -> 3.8.4-r0) [2024-06-03T02:40:09.484Z] Executing busybox-1.36.1-r6.trigger [2024-06-03T02:40:09.484Z] Executing ca-certificates-20240226-r0.trigger [2024-06-03T02:40:09.751Z] OK: 331 MiB in 90 packages [2024-06-03T02:40:10.320Z] Removing intermediate container 5cc5de3c0b30 [2024-06-03T02:40:10.321Z] ---> 11fe53f66bf2 [2024-06-03T02:40:10.321Z] Step 20/22 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2024-06-03T02:40:10.321Z] ---> 6040f7020a45 [2024-06-03T02:40:10.321Z] Step 21/22 : COPY --from=builder /usr/local/lib /usr/local/lib [2024-06-03T02:40:10.579Z] ---> d7d478df12de [2024-06-03T02:40:10.579Z] Step 22/22 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2024-06-03T02:40:10.579Z] ---> 7ea89c527872 [2024-06-03T02:40:10.579Z] Successfully built 7ea89c527872 [2024-06-03T02:40:10.579Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-06-03T02:40:10.953Z] + docker inspect -f . ci-base-image-x86_64 [2024-06-03T02:40:10.953Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-06-03T02:40:11.028Z] prd-ubuntu20.04-docker-8c-8g-2672 does not seem to be running inside a container [2024-06-03T02:40:11.059Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-c_PR-496 -v /w/workspace/edgexfoundry_device-sdk-c_PR-496:/w/workspace/edgexfoundry_device-sdk-c_PR-496:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-496@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-496@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 ******** ci-base-image-x86_64 cat [2024-06-03T02:40:11.387Z] $ docker top 00de2e70bc551dafaec1c0a8c72a2f23678e1cc4e9417150a6b891d6b9b49de5 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-06-03T02:40:11.738Z] + make test [2024-06-03T02:40:11.738Z] echo "make test" [2024-06-03T02:40:11.738Z] make test [Pipeline] } [2024-06-03T02:40:11.750Z] $ docker stop --time=1 00de2e70bc551dafaec1c0a8c72a2f23678e1cc4e9417150a6b891d6b9b49de5 [2024-06-03T02:40:13.010Z] $ docker rm -f --volumes 00de2e70bc551dafaec1c0a8c72a2f23678e1cc4e9417150a6b891d6b9b49de5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-06-03T02:40:13.521Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-06-03T02:40:13.813Z] + ls -al . [2024-06-03T02:40:13.813Z] total 212 [2024-06-03T02:40:13.813Z] drwxrwxr-x 9 jenkins jenkins 4096 Jun 3 02:39 . [2024-06-03T02:40:13.813Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 3 02:39 .. [2024-06-03T02:40:13.813Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 3 02:39 .git [2024-06-03T02:40:13.813Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 3 02:39 .github [2024-06-03T02:40:13.813Z] -rw-rw-r-- 1 jenkins jenkins 176 Jun 3 02:39 .gitignore [2024-06-03T02:40:13.813Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 3 02:39 .semver [2024-06-03T02:40:13.813Z] -rw-rw-r-- 1 jenkins jenkins 2908 Jun 3 02:39 Attribution.txt [2024-06-03T02:40:13.813Z] -rw-rw-r-- 1 jenkins jenkins 11953 Jun 3 02:39 CHANGELOG.md [2024-06-03T02:40:13.813Z] -rw-rw-r-- 1 jenkins jenkins 108574 Jun 3 02:39 Doxyfile [2024-06-03T02:40:13.813Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 3 02:39 GOVERNANCE.md [2024-06-03T02:40:13.813Z] -rw-rw-r-- 1 jenkins jenkins 784 Jun 3 02:39 Jenkinsfile [2024-06-03T02:40:13.813Z] -rw-rw-r-- 1 jenkins jenkins 10174 Jun 3 02:39 LICENSE [2024-06-03T02:40:13.813Z] -rw-rw-r-- 1 jenkins jenkins 444 Jun 3 02:39 Makefile [2024-06-03T02:40:13.813Z] -rw-rw-r-- 1 jenkins jenkins 618 Jun 3 02:39 OWNERS.md [2024-06-03T02:40:13.813Z] -rw-rw-r-- 1 jenkins jenkins 1651 Jun 3 02:39 README.IOT.md [2024-06-03T02:40:13.813Z] -rw-rw-r-- 1 jenkins jenkins 4215 Jun 3 02:39 README.md [2024-06-03T02:40:13.813Z] -rw-rw-r-- 1 jenkins jenkins 1245 Jun 3 02:39 README.v3.md [2024-06-03T02:40:13.813Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 3 02:39 VERSION [2024-06-03T02:40:13.813Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 3 02:39 docs [2024-06-03T02:40:13.813Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 3 02:39 include [2024-06-03T02:40:13.813Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 3 02:39 scripts [2024-06-03T02:40:13.813Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 3 02:39 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-06-03T02:40:14.126Z] + docker build -t device-sdk -f scripts/Dockerfile.alpine --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=46372c9032836c90a9390ceffe3e5aa39ba22e72 --label arch=amd64 --label version=0.0.0 . [2024-06-03T02:40:14.126Z] Sending build context to Docker daemon 5.046MB [2024-06-03T02:40:14.126Z] Step 1/18 : ARG BASE=alpine:3.18 [2024-06-03T02:40:14.126Z] Step 2/18 : FROM ${BASE} [2024-06-03T02:40:14.126Z] ---> 7ea89c527872 [2024-06-03T02:40:14.126Z] Step 3/18 : LABEL maintainer="IOTech " [2024-06-03T02:40:14.126Z] ---> Running in a1225bdefef1 [2024-06-03T02:40:14.386Z] Removing intermediate container a1225bdefef1 [2024-06-03T02:40:14.386Z] ---> 2b2fc50088fc [2024-06-03T02:40:14.386Z] Step 4/18 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2024-06-03T02:40:14.386Z] ---> Running in 4bcabd988642 [2024-06-03T02:40:14.646Z] Connecting to iotech.jfrog.io (34.247.22.236:443) [2024-06-03T02:40:14.905Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-06-03T02:40:14.905Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-06-03T02:40:14.905Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-06-03T02:40:15.163Z] Removing intermediate container 4bcabd988642 [2024-06-03T02:40:15.163Z] ---> ffcb18d42434 [2024-06-03T02:40:15.163Z] Step 5/18 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-06-03T02:40:15.163Z] ---> Running in a377b181864a [2024-06-03T02:40:15.732Z] Removing intermediate container a377b181864a [2024-06-03T02:40:15.732Z] ---> 39580d616118 [2024-06-03T02:40:15.732Z] Step 6/18 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml-dev curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev libcbor-dev iotech-paho-mqtt-c-dev-1.3 hiredis-dev iotech-iot-1.5-dev dumb-init && mkdir -p /edgex-c-sdk/build [2024-06-03T02:40:15.732Z] ---> Running in 4912b7b37edb [2024-06-03T02:40:15.991Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-06-03T02:40:16.248Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-06-03T02:40:16.506Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-06-03T02:40:16.763Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-06-03T02:40:16.763Z] (1/11) Installing iotech-iot-1.5-dev (1.5.4-r1) [2024-06-03T02:40:17.021Z] (2/11) Installing libcbor-dev (0.10.2-r1) [2024-06-03T02:40:17.021Z] (3/11) Installing libmenuw (6.4_p20230506-r0) [2024-06-03T02:40:17.021Z] (4/11) Installing libpanelw (6.4_p20230506-r0) [2024-06-03T02:40:17.021Z] (5/11) Installing libncurses++ (6.4_p20230506-r0) [2024-06-03T02:40:17.021Z] (6/11) Installing ncurses-dev (6.4_p20230506-r0) [2024-06-03T02:40:17.021Z] (7/11) Installing libblkid (2.38.1-r8) [2024-06-03T02:40:17.021Z] (8/11) Installing libfdisk (2.38.1-r8) [2024-06-03T02:40:17.021Z] (9/11) Installing libmount (2.38.1-r8) [2024-06-03T02:40:17.021Z] (10/11) Installing libsmartcols (2.38.1-r8) [2024-06-03T02:40:17.021Z] (11/11) Installing util-linux-dev (2.38.1-r8) [2024-06-03T02:40:17.290Z] Executing busybox-1.36.1-r6.trigger [2024-06-03T02:40:17.290Z] OK: 337 MiB in 101 packages [2024-06-03T02:40:17.549Z] Removing intermediate container 4912b7b37edb [2024-06-03T02:40:17.549Z] ---> 3ca78d8f5142 [2024-06-03T02:40:17.549Z] Step 7/18 : RUN apk --no-cache upgrade [2024-06-03T02:40:17.809Z] ---> Running in c6b900001e12 [2024-06-03T02:40:18.067Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-06-03T02:40:18.068Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-06-03T02:40:18.068Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-06-03T02:40:18.631Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-06-03T02:40:18.631Z] OK: 337 MiB in 101 packages [2024-06-03T02:40:18.889Z] Removing intermediate container c6b900001e12 [2024-06-03T02:40:18.889Z] ---> b5fba147a3b2 [2024-06-03T02:40:18.889Z] Step 8/18 : COPY VERSION /edgex-c-sdk/ [2024-06-03T02:40:19.147Z] ---> 76c344515688 [2024-06-03T02:40:19.147Z] Step 9/18 : COPY src /edgex-c-sdk/src/ [2024-06-03T02:40:19.147Z] ---> 7c821ae95d86 [2024-06-03T02:40:19.147Z] Step 10/18 : COPY include /edgex-c-sdk/include/ [2024-06-03T02:40:19.407Z] ---> 811b7499265c [2024-06-03T02:40:19.407Z] Step 11/18 : COPY scripts /edgex-c-sdk/scripts [2024-06-03T02:40:19.407Z] ---> 7780bc999d71 [2024-06-03T02:40:19.407Z] Step 12/18 : COPY LICENSE /edgex-c-sdk/ [2024-06-03T02:40:19.663Z] ---> a25990a7690c [2024-06-03T02:40:19.663Z] Step 13/18 : COPY Attribution.txt /edgex-c-sdk/ [2024-06-03T02:40:19.663Z] ---> b9ea320655c4 [2024-06-03T02:40:19.663Z] Step 14/18 : WORKDIR /edgex-c-sdk [2024-06-03T02:40:19.663Z] ---> Running in 6731382e7f20 [2024-06-03T02:40:19.663Z] Removing intermediate container 6731382e7f20 [2024-06-03T02:40:19.663Z] ---> eb9951efb148 [2024-06-03T02:40:19.663Z] Step 15/18 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2024-06-03T02:40:19.663Z] ---> Running in 2714e87c6fb0 [2024-06-03T02:40:19.921Z] Removing intermediate container 2714e87c6fb0 [2024-06-03T02:40:19.921Z] ---> 7afd238d0f51 [2024-06-03T02:40:19.921Z] Step 16/18 : LABEL arch=amd64 [2024-06-03T02:40:19.921Z] ---> Running in 50545eb3f3f3 [2024-06-03T02:40:19.921Z] Removing intermediate container 50545eb3f3f3 [2024-06-03T02:40:19.921Z] ---> 4c132414dd11 [2024-06-03T02:40:19.921Z] Step 17/18 : LABEL git_sha=46372c9032836c90a9390ceffe3e5aa39ba22e72 [2024-06-03T02:40:19.921Z] ---> Running in 1df443f7ef83 [2024-06-03T02:40:19.921Z] Removing intermediate container 1df443f7ef83 [2024-06-03T02:40:19.921Z] ---> 70bc504af8b5 [2024-06-03T02:40:19.921Z] Step 18/18 : LABEL version=0.0.0 [2024-06-03T02:40:19.921Z] ---> Running in a3851af0e25c [2024-06-03T02:40:20.179Z] Removing intermediate container a3851af0e25c [2024-06-03T02:40:20.179Z] ---> 70a7cb4700a1 [2024-06-03T02:40:20.179Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2024-06-03T02:40:20.179Z] Successfully built 70a7cb4700a1 [2024-06-03T02:40:20.179Z] Successfully tagged device-sdk:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-06-03T02:40:20.634Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-06-03T02:40:20.634Z] [2024-06-03T02:40:20.634Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-06-03T02:40:20.930Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-06-03T02:40:20.930Z] latest: Pulling from edgex-lftools-log-publisher [2024-06-03T02:40:20.930Z] 5eb5b503b376: Pulling fs layer [2024-06-03T02:40:20.930Z] 5c69ac0246d0: Pulling fs layer [2024-06-03T02:40:20.930Z] ec43610c2a17: Pulling fs layer [2024-06-03T02:40:20.930Z] 3a2ae6a8a46f: Pulling fs layer [2024-06-03T02:40:20.930Z] 33b1e0a273af: Pulling fs layer [2024-06-03T02:40:20.930Z] 5d3b04190fa2: Pulling fs layer [2024-06-03T02:40:20.930Z] 2f39f015ded8: Pulling fs layer [2024-06-03T02:40:20.930Z] 33b1e0a273af: Waiting [2024-06-03T02:40:20.930Z] 5d3b04190fa2: Waiting [2024-06-03T02:40:20.930Z] 3a2ae6a8a46f: Waiting [2024-06-03T02:40:20.930Z] 2f39f015ded8: Waiting [2024-06-03T02:40:20.930Z] 5c69ac0246d0: Download complete [2024-06-03T02:40:20.930Z] 3a2ae6a8a46f: Verifying Checksum [2024-06-03T02:40:20.930Z] 3a2ae6a8a46f: Download complete [2024-06-03T02:40:20.930Z] 33b1e0a273af: Verifying Checksum [2024-06-03T02:40:20.930Z] 33b1e0a273af: Download complete [2024-06-03T02:40:20.930Z] ec43610c2a17: Verifying Checksum [2024-06-03T02:40:20.930Z] ec43610c2a17: Download complete [2024-06-03T02:40:20.930Z] 5d3b04190fa2: Verifying Checksum [2024-06-03T02:40:20.930Z] 5d3b04190fa2: Download complete [2024-06-03T02:40:21.187Z] 5eb5b503b376: Verifying Checksum [2024-06-03T02:40:21.187Z] 5eb5b503b376: Download complete [2024-06-03T02:40:21.754Z] 2f39f015ded8: Download complete [2024-06-03T02:40:22.320Z] 5eb5b503b376: Pull complete [2024-06-03T02:40:22.320Z] 5c69ac0246d0: Pull complete [2024-06-03T02:40:22.888Z] ec43610c2a17: Pull complete [2024-06-03T02:40:22.888Z] 3a2ae6a8a46f: Pull complete [2024-06-03T02:40:23.146Z] 33b1e0a273af: Pull complete [2024-06-03T02:40:23.146Z] 5d3b04190fa2: Pull complete [2024-06-03T02:40:27.332Z] 2f39f015ded8: Pull complete [2024-06-03T02:40:27.332Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-06-03T02:40:27.332Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-06-03T02:40:27.332Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-06-03T02:40:27.438Z] prd-ubuntu20.04-docker-8c-8g-2672 does not seem to be running inside a container [2024-06-03T02:40:27.473Z] $ 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-496 -v /w/workspace/edgexfoundry_device-sdk-c_PR-496:/w/workspace/edgexfoundry_device-sdk-c_PR-496:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-496@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-496@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 [2024-06-03T02:40:32.178Z] $ docker top fea94786c860a571a4a2d5762c196afdcb24a508b46bd54f52dc4d8984473eca -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-06-03T02:40:32.578Z] ---> job-cost.sh [2024-06-03T02:40:32.578Z] lf-activate-venv: SKIPPING [2024-06-03T02:40:32.578Z] INFO: No Stack... [2024-06-03T02:40:32.837Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-06-03T02:40:33.096Z] INFO: Archiving Costs [Pipeline] sh [2024-06-03T02:40:33.385Z] + cat /w/workspace/edgexfoundry_device-sdk-c_PR-496/archives/cost.csv [2024-06-03T02:40:33.385Z] + cut -d, -f6 [Pipeline] lock [2024-06-03T02:40:33.398Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-c-PR-496-8-stack-cost] [2024-06-03T02:40:33.406Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-496-8-stack-cost] did not exist. Created. [2024-06-03T02:40:33.413Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-c-PR-496-8-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-06-03T02:40:33.722Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-06-03T02:40:33.779Z] Stashed 1 file(s) [Pipeline] } [2024-06-03T02:40:33.788Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-c-PR-496-8-stack-cost] [Pipeline] // lock [Pipeline] } [2024-06-03T02:40:33.820Z] $ docker stop --time=1 fea94786c860a571a4a2d5762c196afdcb24a508b46bd54f52dc4d8984473eca [2024-06-03T02:40:34.985Z] $ docker rm -f --volumes fea94786c860a571a4a2d5762c196afdcb24a508b46bd54f52dc4d8984473eca [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-06-03T02:41:33.369Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-2674 in /w/workspace/edgexfoundry_device-sdk-c_PR-496 [Pipeline] { [Pipeline] ws [2024-06-03T02:41:33.386Z] Running in /w/workspace/device-sdk-c/8 [Pipeline] { [Pipeline] checkout [2024-06-03T02:41:36.436Z] Selected Git installation does not exist. Using Default [2024-06-03T02:41:36.436Z] The recommended git tool is: NONE [2024-06-03T02:41:44.547Z] using credential edgex-jenkins-ssh [2024-06-03T02:41:44.569Z] Cloning the remote Git repository [2024-06-03T02:41:44.621Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2024-06-03T02:41:44.747Z] > git init /w/workspace/device-sdk-c/8 # timeout=10 [2024-06-03T02:41:44.988Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2024-06-03T02:41:44.990Z] > git --version # timeout=10 [2024-06-03T02:41:45.091Z] > git --version # 'git version 2.25.1' [2024-06-03T02:41:45.095Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-06-03T02:41:45.322Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-06-03T02:41:46.440Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2024-06-03T02:41:46.469Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-06-03T02:41:48.359Z] Merging remotes/origin/main commit 9ba2c339c6b6ced168e87f011e0a7391adc1a762 into PR head commit 4410ed02c89f9f775968b3c16ea152ec31bdb83a [2024-06-03T02:41:47.700Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2024-06-03T02:41:47.785Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2024-06-03T02:41:47.786Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-06-03T02:41:47.817Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/496/head:refs/remotes/origin/PR-496 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-06-03T02:41:48.382Z] > git config core.sparsecheckout # timeout=10 [2024-06-03T02:41:48.446Z] > git checkout -f 4410ed02c89f9f775968b3c16ea152ec31bdb83a # timeout=10 [2024-06-03T02:41:48.889Z] Merge succeeded, producing d3ca75862f8f52b8c4621a0d9e6a52effb786cb8 [2024-06-03T02:41:48.890Z] Checking out Revision d3ca75862f8f52b8c4621a0d9e6a52effb786cb8 (PR-496) [2024-06-03T02:41:48.622Z] > git remote # timeout=10 [2024-06-03T02:41:48.655Z] > git config --get remote.origin.url # timeout=10 [2024-06-03T02:41:48.680Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-06-03T02:41:48.706Z] > git merge 9ba2c339c6b6ced168e87f011e0a7391adc1a762 # timeout=10 [2024-06-03T02:41:48.865Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-06-03T02:41:48.898Z] > git config core.sparsecheckout # timeout=10 [2024-06-03T02:41:48.913Z] > git checkout -f d3ca75862f8f52b8c4621a0d9e6a52effb786cb8 # timeout=10 [2024-06-03T02:41:52.839Z] Commit message: "Merge commit '9ba2c339c6b6ced168e87f011e0a7391adc1a762' into HEAD" [2024-06-03T02:41:52.869Z] First time build. Skipping changelog. [2024-06-03T02:41:52.850Z] > git rev-list --no-walk bca1b49ac5df6988ad03e5ad4a63aa627d45501d # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-06-03T02:41:54.498Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-06-03T02:41:54.498Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-06-03T02:41:54.498Z] Dload Upload Total Spent Left Speed [2024-06-03T02:41:54.498Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 112k 0 --:--:-- --:--:-- --:--:-- 113k [Pipeline] sh [2024-06-03T02:41:54.849Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-06-03T02:41:55.176Z] + + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"}sudo /etc/docker/daemon.json tee [2024-06-03T02:41:55.176Z] /etc/docker/daemon.new [2024-06-03T02:41:55.176Z] { [2024-06-03T02:41:55.176Z] "registry-mirrors": [ [2024-06-03T02:41:55.176Z] "https://nexus3.edgexfoundry.org:10001" [2024-06-03T02:41:55.176Z] ], [2024-06-03T02:41:55.176Z] "bip": "10.250.0.254/24", [2024-06-03T02:41:55.176Z] "hosts": [ [2024-06-03T02:41:55.176Z] "tcp://0.0.0.0:5555", [2024-06-03T02:41:55.176Z] "unix:///var/run/docker.sock" [2024-06-03T02:41:55.176Z] ], [2024-06-03T02:41:55.176Z] "mtu": 1458, [2024-06-03T02:41:55.176Z] "selinux-enabled": true, [2024-06-03T02:41:55.176Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-06-03T02:41:55.176Z] } [Pipeline] sh [2024-06-03T02:41:55.514Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-06-03T02:41:55.844Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-06-03T02:42:14.113Z] provisioning config files... [2024-06-03T02:42:14.137Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/8@tmp/config6196054667378870748tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-06-03T02:42:14.581Z] ---> ****-login.sh [2024-06-03T02:42:14.581Z] nexus3.edgexfoundry.org:10001 [2024-06-03T02:42:14.853Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-06-03T02:42:15.120Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-06-03T02:42:15.120Z] Configure a credential helper to remove this warning. See [2024-06-03T02:42:15.120Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-06-03T02:42:15.120Z] [2024-06-03T02:42:15.120Z] Login Succeeded [2024-06-03T02:42:15.393Z] nexus3.edgexfoundry.org:10002 [2024-06-03T02:42:15.393Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-06-03T02:42:15.661Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-06-03T02:42:15.661Z] Configure a credential helper to remove this warning. See [2024-06-03T02:42:15.661Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-06-03T02:42:15.661Z] [2024-06-03T02:42:15.661Z] Login Succeeded [2024-06-03T02:42:15.661Z] nexus3.edgexfoundry.org:10003 [2024-06-03T02:42:15.929Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-06-03T02:42:15.929Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-06-03T02:42:15.929Z] Configure a credential helper to remove this warning. See [2024-06-03T02:42:15.929Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-06-03T02:42:15.929Z] [2024-06-03T02:42:15.929Z] Login Succeeded [2024-06-03T02:42:15.929Z] nexus3.edgexfoundry.org:10004 [2024-06-03T02:42:16.199Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-06-03T02:42:16.199Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-06-03T02:42:16.199Z] Configure a credential helper to remove this warning. See [2024-06-03T02:42:16.199Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-06-03T02:42:16.199Z] [2024-06-03T02:42:16.199Z] Login Succeeded [2024-06-03T02:42:16.199Z] ****.io [2024-06-03T02:42:16.471Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-06-03T02:42:16.741Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-06-03T02:42:16.741Z] Configure a credential helper to remove this warning. See [2024-06-03T02:42:16.741Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-06-03T02:42:16.741Z] [2024-06-03T02:42:16.741Z] Login Succeeded [2024-06-03T02:42:16.741Z] ---> ****-login.sh ends [Pipeline] } [2024-06-03T02:42:16.755Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-06-03T02:42:17.078Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-06-03T02:42:17.098Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-arm64 [Pipeline] echo [2024-06-03T02:42:17.113Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-06-03T02:42:17.134Z] ========================================================= [2024-06-03T02:42:17.134Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] [2024-06-03T02:42:17.134Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-06-03T02:42:17.493Z] + 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 . [2024-06-03T02:42:17.765Z] Sending build context to Docker daemon 3.024MB [2024-06-03T02:42:18.044Z] Step 1/22 : ARG BASE=alpine:3.18 [2024-06-03T02:42:18.044Z] Step 2/22 : FROM ${BASE} as builder [2024-06-03T02:42:18.044Z] latest: Pulling from edgex-devops/edgex-gcc-base-arm64 [2024-06-03T02:42:18.044Z] 579b34f0a95b: Pulling fs layer [2024-06-03T02:42:18.044Z] e71477ac5e1b: Pulling fs layer [2024-06-03T02:42:18.312Z] 579b34f0a95b: Download complete [2024-06-03T02:42:18.903Z] 579b34f0a95b: Pull complete [2024-06-03T02:42:20.858Z] e71477ac5e1b: Verifying Checksum [2024-06-03T02:42:20.858Z] e71477ac5e1b: Download complete [2024-06-03T02:42:33.191Z] e71477ac5e1b: Pull complete [2024-06-03T02:42:33.191Z] Digest: sha256:d6da9bdca73313daf4d05ece6476ab4dbe9e0e950a139422d865873582b0d46d [2024-06-03T02:42:33.191Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest [2024-06-03T02:42:33.191Z] ---> 2b552cad5dd9 [2024-06-03T02:42:33.191Z] Step 3/22 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2024-06-03T02:42:33.191Z] ---> Running in e746035976f2 [2024-06-03T02:42:33.780Z] Connecting to iotech.jfrog.io (54.73.4.50:443) [2024-06-03T02:42:34.365Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-06-03T02:42:34.365Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-06-03T02:42:34.365Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-06-03T02:42:34.962Z] Removing intermediate container e746035976f2 [2024-06-03T02:42:34.962Z] ---> 152d1e1b3abf [2024-06-03T02:42:34.962Z] Step 4/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-06-03T02:42:34.962Z] ---> Running in 54746063e6f6 [2024-06-03T02:42:36.915Z] Removing intermediate container 54746063e6f6 [2024-06-03T02:42:36.915Z] ---> 0300cb6ca5c7 [2024-06-03T02:42:36.915Z] Step 5/22 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml-dev curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev libcbor-dev iotech-paho-mqtt-c-dev-1.3 iotech-iot-1.5-dev hiredis-dev [2024-06-03T02:42:36.915Z] ---> Running in 7c083c4b5079 [2024-06-03T02:42:37.502Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-06-03T02:42:38.090Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-06-03T02:42:38.675Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz [2024-06-03T02:42:39.645Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-06-03T02:42:39.645Z] (1/17) Installing hiredis (1.1.0-r2) [2024-06-03T02:42:39.645Z] (2/17) Installing hiredis-dev (1.1.0-r2) [2024-06-03T02:42:39.645Z] (3/17) Installing libcbor (0.10.2-r1) [2024-06-03T02:42:39.645Z] (4/17) Installing iotech-iot-1.5 (1.5.4-r1) [2024-06-03T02:42:40.224Z] (5/17) Installing iotech-iot-1.5-dev (1.5.4-r1) [2024-06-03T02:42:40.492Z] (6/17) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) [2024-06-03T02:42:40.759Z] (7/17) Installing libcbor-dev (0.10.2-r1) [2024-06-03T02:42:40.759Z] (8/17) Installing libmenuw (6.4_p20230506-r0) [2024-06-03T02:42:40.759Z] (9/17) Installing libpanelw (6.4_p20230506-r0) [2024-06-03T02:42:40.759Z] (10/17) Installing libncurses++ (6.4_p20230506-r0) [2024-06-03T02:42:40.759Z] (11/17) Installing ncurses-dev (6.4_p20230506-r0) [2024-06-03T02:42:40.759Z] (12/17) Installing libblkid (2.38.1-r8) [2024-06-03T02:42:40.759Z] (13/17) Installing libuuid (2.38.1-r8) [2024-06-03T02:42:40.759Z] (14/17) Installing libfdisk (2.38.1-r8) [2024-06-03T02:42:40.759Z] (15/17) Installing libmount (2.38.1-r8) [2024-06-03T02:42:40.759Z] (16/17) Installing libsmartcols (2.38.1-r8) [2024-06-03T02:42:40.759Z] (17/17) Installing util-linux-dev (2.38.1-r8) [2024-06-03T02:42:40.759Z] Executing busybox-1.36.1-r4.trigger [2024-06-03T02:42:41.028Z] OK: 333 MiB in 99 packages [2024-06-03T02:42:42.450Z] Removing intermediate container 7c083c4b5079 [2024-06-03T02:42:42.450Z] ---> 688141941f60 [2024-06-03T02:42:42.450Z] Step 6/22 : RUN mkdir /tmp/sdk [2024-06-03T02:42:42.450Z] ---> Running in 531c03c71e6c [2024-06-03T02:42:43.865Z] Removing intermediate container 531c03c71e6c [2024-06-03T02:42:43.865Z] ---> be2894b4e69a [2024-06-03T02:42:43.865Z] Step 7/22 : COPY VERSION /tmp/sdk [2024-06-03T02:42:44.451Z] ---> fd1a5be1315d [2024-06-03T02:42:44.451Z] Step 8/22 : COPY src /tmp/sdk/src [2024-06-03T02:42:45.038Z] ---> 39a17342ad2a [2024-06-03T02:42:45.039Z] Step 9/22 : COPY include /tmp/sdk/include [2024-06-03T02:42:45.625Z] ---> cb1f0e78f3ab [2024-06-03T02:42:45.625Z] Step 10/22 : COPY scripts /tmp/sdk/scripts [2024-06-03T02:42:46.210Z] ---> f42d1722a858 [2024-06-03T02:42:46.210Z] Step 11/22 : COPY LICENSE /tmp/sdk [2024-06-03T02:42:46.480Z] ---> d03f172e6d99 [2024-06-03T02:42:46.480Z] Step 12/22 : COPY Attribution.txt /tmp/sdk [2024-06-03T02:42:47.067Z] ---> 8f7bb5c20c51 [2024-06-03T02:42:47.067Z] Step 13/22 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2024-06-03T02:42:47.067Z] ---> Running in 829c57a6cfc2 [2024-06-03T02:42:48.048Z] + CPPCHECK=false [2024-06-03T02:42:48.048Z] + DOCGEN=false [2024-06-03T02:42:48.048Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2024-06-03T02:42:48.048Z] + '[' 0 -gt 0 ] [2024-06-03T02:42:48.048Z] + readlink -f ./scripts/build.sh [2024-06-03T02:42:48.048Z] + dirname /tmp/sdk/scripts/build.sh [2024-06-03T02:42:48.048Z] + dirname /tmp/sdk/scripts [2024-06-03T02:42:48.048Z] + ROOT=/tmp/sdk [2024-06-03T02:42:48.048Z] + cd /tmp/sdk [2024-06-03T02:42:48.048Z] + mkdir -p /tmp/sdk/build/release [2024-06-03T02:42:48.048Z] + cd /tmp/sdk/build/release [2024-06-03T02:42:48.048Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2024-06-03T02:42:48.322Z] -- The C compiler identification is GNU 12.2.1 [2024-06-03T02:42:48.591Z] -- Detecting C compiler ABI info [2024-06-03T02:42:48.865Z] -- Detecting C compiler ABI info - done [2024-06-03T02:42:48.865Z] -- Check for working C compiler: /usr/bin/cc - skipped [2024-06-03T02:42:48.865Z] -- Detecting C compile features [2024-06-03T02:42:48.865Z] -- Detecting C compile features - done [2024-06-03T02:42:48.865Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2024-06-03T02:42:49.136Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") [2024-06-03T02:42:49.136Z] -- Found LIBYAML: /usr/lib/libyaml.so [2024-06-03T02:42:49.136Z] -- Found LIBUUID: /usr/lib/libuuid.so [2024-06-03T02:42:49.136Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2024-06-03T02:42:49.136Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2024-06-03T02:42:49.136Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2024-06-03T02:42:49.136Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2024-06-03T02:42:49.136Z] -- /opt/iotech/iot/1.5/include [2024-06-03T02:42:49.136Z] -- C SDK 0.0.0 for Linux [2024-06-03T02:42:49.136Z] -- Performing Test CSDK_HAVE_ATOMIC [2024-06-03T02:42:49.720Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2024-06-03T02:42:49.720Z] -- Found Curses: /usr/lib/libcurses.so [2024-06-03T02:42:49.720Z] -- Configuring done (1.7s) [2024-06-03T02:42:49.991Z] -- Generating done (0.2s) [2024-06-03T02:42:49.991Z] -- Build files have been written to: /tmp/sdk/build/release [2024-06-03T02:42:50.270Z] + make all package [2024-06-03T02:42:50.270Z] + tee release.log [2024-06-03T02:42:50.270Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2024-06-03T02:42:50.855Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2024-06-03T02:42:51.817Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2024-06-03T02:42:52.405Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2024-06-03T02:42:53.369Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2024-06-03T02:42:54.341Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2024-06-03T02:42:56.296Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2024-06-03T02:42:57.263Z] /tmp/sdk/src/c/consul.c: In function 'edgex_consul_client_get_common_config': [2024-06-03T02:42:57.264Z] /tmp/sdk/src/c/consul.c:294:10: warning: 'privateConfig' may be used uninitialized [-Wmaybe-uninitialized] [2024-06-03T02:42:57.264Z] 294 | while (privateConfig) [2024-06-03T02:42:57.264Z] | ^~~~~~~~~~~~~ [2024-06-03T02:42:57.264Z] /tmp/sdk/src/c/consul.c:214:28: note: 'privateConfig' was declared here [2024-06-03T02:42:57.264Z] 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; [2024-06-03T02:42:57.264Z] | ^~~~~~~~~~~~~ [2024-06-03T02:42:57.264Z] /tmp/sdk/src/c/consul.c:271:10: warning: 'result' may be used uninitialized [-Wmaybe-uninitialized] [2024-06-03T02:42:57.264Z] 271 | while (result) [2024-06-03T02:42:57.264Z] | ^~~~~~ [2024-06-03T02:42:57.264Z] /tmp/sdk/src/c/consul.c:214:19: note: 'result' was declared here [2024-06-03T02:42:57.264Z] 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; [2024-06-03T02:42:57.264Z] | ^~~~~~ [2024-06-03T02:42:57.530Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2024-06-03T02:42:57.530Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2024-06-03T02:42:58.491Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2024-06-03T02:43:00.435Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2024-06-03T02:43:01.022Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2024-06-03T02:43:01.616Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2024-06-03T02:43:02.580Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2024-06-03T02:43:02.849Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2024-06-03T02:43:04.267Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2024-06-03T02:43:04.267Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2024-06-03T02:43:06.852Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2024-06-03T02:43:06.852Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2024-06-03T02:43:07.434Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2024-06-03T02:43:08.844Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2024-06-03T02:43:15.503Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2024-06-03T02:43:15.770Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2024-06-03T02:43:16.040Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2024-06-03T02:43:16.636Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2024-06-03T02:43:16.903Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2024-06-03T02:43:18.326Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2024-06-03T02:43:20.910Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2024-06-03T02:43:20.910Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2024-06-03T02:43:21.883Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2024-06-03T02:43:22.465Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2024-06-03T02:43:22.733Z] /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2024-06-03T02:43:22.733Z] /tmp/sdk/src/c/service.c:871:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-06-03T02:43:22.733Z] 871 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); [2024-06-03T02:43:22.733Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-06-03T02:43:22.733Z] /tmp/sdk/src/c/service.c:872:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-06-03T02:43:22.733Z] 872 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); [2024-06-03T02:43:22.733Z] | ^ [2024-06-03T02:43:24.142Z] /tmp/sdk/src/c/service.c:1026:5: warning: 'deviceservices_config' may be used uninitialized [-Wmaybe-uninitialized] [2024-06-03T02:43:24.142Z] 1026 | edgex_device_parseClients (svc->logger, iot_data_string_map_get (deviceservices_config, "Clients"), &svc->config.endpoints); [2024-06-03T02:43:24.142Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-06-03T02:43:24.142Z] /tmp/sdk/src/c/service.c:838:68: note: 'deviceservices_config' was declared here [2024-06-03T02:43:24.142Z] 838 | iot_data_t *common_config_map, *private_config_map, *configmap, *deviceservices_config; [2024-06-03T02:43:24.142Z] | ^~~~~~~~~~~~~~~~~~~~~ [2024-06-03T02:43:25.101Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2024-06-03T02:43:26.066Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2024-06-03T02:43:26.333Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2024-06-03T02:43:26.916Z] [ 68%] Linking C shared library libcsdk.so [2024-06-03T02:43:26.916Z] [ 68%] Built target csdk [2024-06-03T02:43:26.916Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2024-06-03T02:43:27.891Z] [ 72%] Linking C executable template [2024-06-03T02:43:28.160Z] [ 72%] Built target template [2024-06-03T02:43:28.160Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2024-06-03T02:43:28.744Z] [ 76%] Linking C executable device-counter [2024-06-03T02:43:29.327Z] [ 76%] Built target device-counter [2024-06-03T02:43:29.328Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2024-06-03T02:43:29.594Z] [ 80%] Linking C executable device-random [2024-06-03T02:43:30.188Z] [ 80%] Built target device-random [2024-06-03T02:43:30.188Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2024-06-03T02:43:30.773Z] [ 84%] Linking C executable device-gyro [2024-06-03T02:43:30.773Z] [ 84%] Built target device-gyro [2024-06-03T02:43:31.040Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2024-06-03T02:43:31.622Z] [ 88%] Linking C executable device-bitfields [2024-06-03T02:43:31.889Z] [ 88%] Built target device-bitfields [2024-06-03T02:43:31.889Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2024-06-03T02:43:32.849Z] [ 92%] Linking C executable template-discovery [2024-06-03T02:43:32.849Z] [ 92%] Built target template-discovery [2024-06-03T02:43:33.116Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2024-06-03T02:43:33.708Z] [ 96%] Linking C executable device-file [2024-06-03T02:43:33.975Z] [ 96%] Built target device-file [2024-06-03T02:43:34.242Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2024-06-03T02:43:34.830Z] [100%] Linking C executable device-terminal [2024-06-03T02:43:35.095Z] [100%] Built target device-terminal [2024-06-03T02:43:35.095Z] Run CPack packaging tool... [2024-06-03T02:43:35.361Z] CPack: Create package using TGZ [2024-06-03T02:43:35.361Z] CPack: Install projects [2024-06-03T02:43:35.361Z] CPack: - Run preinstall target for: Csdk [2024-06-03T02:43:35.943Z] CPack: - Install project: Csdk [] [2024-06-03T02:43:35.943Z] CPack: Create package [2024-06-03T02:43:36.211Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2024-06-03T02:43:36.211Z] + '[' false '=' true ] [2024-06-03T02:43:36.211Z] + '[' false '=' true ] [2024-06-03T02:43:36.211Z] + mkdir -p /tmp/sdk/build/debug [2024-06-03T02:43:36.211Z] + cd /tmp/sdk/build/debug [2024-06-03T02:43:36.211Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2024-06-03T02:43:36.478Z] -- The C compiler identification is GNU 12.2.1 [2024-06-03T02:43:36.478Z] -- Detecting C compiler ABI info [2024-06-03T02:43:36.744Z] -- Detecting C compiler ABI info - done [2024-06-03T02:43:37.011Z] -- Check for working C compiler: /usr/bin/cc - skipped [2024-06-03T02:43:37.011Z] -- Detecting C compile features [2024-06-03T02:43:37.011Z] -- Detecting C compile features - done [2024-06-03T02:43:37.011Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2024-06-03T02:43:37.278Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") [2024-06-03T02:43:37.278Z] -- Found LIBYAML: /usr/lib/libyaml.so [2024-06-03T02:43:37.278Z] -- Found LIBUUID: /usr/lib/libuuid.so [2024-06-03T02:43:37.278Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2024-06-03T02:43:37.278Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2024-06-03T02:43:37.278Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2024-06-03T02:43:37.278Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2024-06-03T02:43:37.278Z] -- /opt/iotech/iot/1.5/include [2024-06-03T02:43:37.278Z] -- C SDK 0.0.0 for Linux [2024-06-03T02:43:37.278Z] -- Performing Test CSDK_HAVE_ATOMIC [2024-06-03T02:43:37.546Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2024-06-03T02:43:37.813Z] -- Found Curses: /usr/lib/libcurses.so [2024-06-03T02:43:37.813Z] -- Configuring done (1.7s) [2024-06-03T02:43:38.081Z] -- Generating done (0.2s) [2024-06-03T02:43:38.081Z] -- Build files have been written to: /tmp/sdk/build/debug [2024-06-03T02:43:38.081Z] + + teemake debug.log [2024-06-03T02:43:38.081Z] [2024-06-03T02:43:38.349Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2024-06-03T02:43:38.616Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2024-06-03T02:43:39.203Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2024-06-03T02:43:39.471Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2024-06-03T02:43:39.738Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2024-06-03T02:43:40.322Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2024-06-03T02:43:40.905Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2024-06-03T02:43:41.581Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2024-06-03T02:43:41.581Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2024-06-03T02:43:41.863Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2024-06-03T02:43:42.845Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2024-06-03T02:43:42.845Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2024-06-03T02:43:43.475Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2024-06-03T02:43:43.771Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2024-06-03T02:43:44.046Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2024-06-03T02:43:44.645Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2024-06-03T02:43:44.921Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2024-06-03T02:43:45.507Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2024-06-03T02:43:45.778Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2024-06-03T02:43:46.046Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2024-06-03T02:43:46.645Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2024-06-03T02:43:47.605Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2024-06-03T02:43:48.188Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2024-06-03T02:43:48.188Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2024-06-03T02:43:48.467Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2024-06-03T02:43:48.734Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2024-06-03T02:43:49.319Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2024-06-03T02:43:50.734Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2024-06-03T02:43:51.003Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2024-06-03T02:43:51.271Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2024-06-03T02:43:51.539Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2024-06-03T02:43:51.808Z] /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2024-06-03T02:43:51.808Z] /tmp/sdk/src/c/service.c:871:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-06-03T02:43:51.808Z] 871 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); [2024-06-03T02:43:51.809Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-06-03T02:43:51.809Z] /tmp/sdk/src/c/service.c:872:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-06-03T02:43:51.809Z] 872 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); [2024-06-03T02:43:51.809Z] | ^ [2024-06-03T02:43:52.396Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2024-06-03T02:43:52.664Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2024-06-03T02:43:52.931Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2024-06-03T02:43:53.198Z] [ 68%] Linking C shared library libcsdk.so [2024-06-03T02:43:53.466Z] [ 68%] Built target csdk [2024-06-03T02:43:53.734Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2024-06-03T02:43:54.001Z] [ 72%] Linking C executable template [2024-06-03T02:43:54.269Z] [ 72%] Built target template [2024-06-03T02:43:54.269Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2024-06-03T02:43:54.536Z] [ 76%] Linking C executable device-counter [2024-06-03T02:43:55.120Z] [ 76%] Built target device-counter [2024-06-03T02:43:55.120Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2024-06-03T02:43:55.386Z] [ 80%] Linking C executable device-random [2024-06-03T02:43:55.652Z] [ 80%] Built target device-random [2024-06-03T02:43:55.652Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2024-06-03T02:43:55.919Z] [ 84%] Linking C executable device-gyro [2024-06-03T02:43:56.186Z] [ 84%] Built target device-gyro [2024-06-03T02:43:56.186Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2024-06-03T02:43:56.774Z] [ 88%] Linking C executable device-bitfields [2024-06-03T02:43:57.041Z] [ 88%] Built target device-bitfields [2024-06-03T02:43:57.041Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2024-06-03T02:43:57.309Z] [ 92%] Linking C executable template-discovery [2024-06-03T02:43:57.574Z] [ 92%] Built target template-discovery [2024-06-03T02:43:57.841Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2024-06-03T02:43:58.108Z] [ 96%] Linking C executable device-file [2024-06-03T02:43:58.375Z] [ 96%] Built target device-file [2024-06-03T02:43:58.375Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2024-06-03T02:43:58.957Z] [100%] Linking C executable device-terminal [2024-06-03T02:43:59.222Z] [100%] Built target device-terminal [2024-06-03T02:43:59.222Z] make: Entering directory '/tmp/sdk/build/release' [2024-06-03T02:43:59.222Z] [ 68%] Built target csdk [2024-06-03T02:43:59.489Z] [ 72%] Built target template [2024-06-03T02:43:59.489Z] [ 76%] Built target device-counter [2024-06-03T02:43:59.489Z] [ 80%] Built target device-random [2024-06-03T02:43:59.489Z] [ 84%] Built target device-gyro [2024-06-03T02:43:59.489Z] [ 88%] Built target device-bitfields [2024-06-03T02:43:59.755Z] [ 92%] Built target template-discovery [2024-06-03T02:43:59.755Z] [ 96%] Built target device-file [2024-06-03T02:43:59.755Z] [100%] Built target device-terminal [2024-06-03T02:43:59.755Z] Install the project... [2024-06-03T02:43:59.755Z] -- Install configuration: "Release" [2024-06-03T02:43:59.755Z] -- Installing: /usr/local/lib/libcsdk.so [2024-06-03T02:43:59.755Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2024-06-03T02:43:59.755Z] -- Installing: /usr/local/include [2024-06-03T02:43:59.755Z] -- Installing: /usr/local/include/devsdk [2024-06-03T02:43:59.755Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2024-06-03T02:43:59.755Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2024-06-03T02:43:59.755Z] -- Installing: /usr/local/include/edgex [2024-06-03T02:43:59.755Z] -- Installing: /usr/local/include/edgex/rest-server.h [2024-06-03T02:43:59.755Z] -- Installing: /usr/local/include/edgex/edgex.h [2024-06-03T02:43:59.755Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2024-06-03T02:43:59.755Z] -- Installing: /usr/local/include/edgex/devices.h [2024-06-03T02:43:59.755Z] -- Installing: /usr/local/include/edgex/profiles.h [2024-06-03T02:43:59.755Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2024-06-03T02:43:59.755Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2024-06-03T02:43:59.755Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2024-06-03T02:43:59.755Z] make: Leaving directory '/tmp/sdk/build/release' [2024-06-03T02:44:01.165Z] Removing intermediate container 829c57a6cfc2 [2024-06-03T02:44:01.165Z] ---> bee695a574f7 [2024-06-03T02:44:01.431Z] Step 14/22 : FROM ${BASE} [2024-06-03T02:44:01.431Z] ---> 2b552cad5dd9 [2024-06-03T02:44:01.431Z] Step 15/22 : LABEL maintainer="IOTech " [2024-06-03T02:44:01.431Z] ---> Running in f40e7f0636f4 [2024-06-03T02:44:01.698Z] Removing intermediate container f40e7f0636f4 [2024-06-03T02:44:01.698Z] ---> 8eb54aefc0e6 [2024-06-03T02:44:01.698Z] Step 16/22 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2024-06-03T02:44:01.698Z] ---> Running in b4ae69bbc374 [2024-06-03T02:44:02.659Z] Connecting to iotech.jfrog.io (34.247.22.236:443) [2024-06-03T02:44:03.253Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-06-03T02:44:03.253Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-06-03T02:44:03.253Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-06-03T02:44:03.847Z] Removing intermediate container b4ae69bbc374 [2024-06-03T02:44:03.847Z] ---> b28025edf9f4 [2024-06-03T02:44:03.847Z] Step 17/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-06-03T02:44:03.847Z] ---> Running in e4a5f83d554f [2024-06-03T02:44:05.966Z] Removing intermediate container e4a5f83d554f [2024-06-03T02:44:05.966Z] ---> 4b030625a591 [2024-06-03T02:44:05.966Z] Step 18/22 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml curl libmicrohttpd libuuid libcbor iotech-paho-mqtt-c-dev-1.3 iotech-iot-1.5 hiredis-dev dumb-init [2024-06-03T02:44:05.966Z] ---> Running in 7ef9b8e8a004 [2024-06-03T02:44:06.547Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-06-03T02:44:06.812Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-06-03T02:44:07.392Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz [2024-06-03T02:44:08.345Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-06-03T02:44:08.345Z] (1/10) Upgrading libcurl (8.4.0-r0 -> 8.5.0-r0) [2024-06-03T02:44:08.345Z] (2/10) Installing curl (8.5.0-r0) [2024-06-03T02:44:08.345Z] (3/10) Upgrading curl-dev (8.4.0-r0 -> 8.5.0-r0) [2024-06-03T02:44:08.345Z] (4/10) Installing dumb-init (1.2.5-r2) [2024-06-03T02:44:08.345Z] (5/10) Installing hiredis (1.1.0-r2) [2024-06-03T02:44:08.345Z] (6/10) Installing hiredis-dev (1.1.0-r2) [2024-06-03T02:44:08.345Z] (7/10) Installing libcbor (0.10.2-r1) [2024-06-03T02:44:08.345Z] (8/10) Installing iotech-iot-1.5 (1.5.4-r1) [2024-06-03T02:44:09.304Z] (9/10) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) [2024-06-03T02:44:09.304Z] (10/10) Installing libuuid (2.38.1-r8) [2024-06-03T02:44:09.304Z] Executing busybox-1.36.1-r4.trigger [2024-06-03T02:44:09.304Z] OK: 328 MiB in 90 packages [2024-06-03T02:44:10.710Z] Removing intermediate container 7ef9b8e8a004 [2024-06-03T02:44:10.710Z] ---> 76fefb0e9ca4 [2024-06-03T02:44:10.710Z] Step 19/22 : RUN apk --no-cache upgrade [2024-06-03T02:44:10.710Z] ---> Running in 88166315a6ea [2024-06-03T02:44:11.671Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-06-03T02:44:11.671Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-06-03T02:44:12.251Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz [2024-06-03T02:44:13.207Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-06-03T02:44:13.207Z] Upgrading critical system libraries and apk-tools: [2024-06-03T02:44:13.207Z] (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) [2024-06-03T02:44:13.207Z] Executing busybox-1.36.1-r4.trigger [2024-06-03T02:44:13.473Z] Continuing the upgrade transaction with new apk-tools: [2024-06-03T02:44:13.473Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-06-03T02:44:13.739Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-06-03T02:44:14.320Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz [2024-06-03T02:44:14.900Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-06-03T02:44:14.900Z] (1/13) Upgrading busybox (1.36.1-r4 -> 1.36.1-r6) [2024-06-03T02:44:15.165Z] Executing busybox-1.36.1-r6.post-upgrade [2024-06-03T02:44:15.165Z] (2/13) Upgrading busybox-binsh (1.36.1-r4 -> 1.36.1-r6) [2024-06-03T02:44:15.165Z] (3/13) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) [2024-06-03T02:44:15.165Z] (4/13) Upgrading libcrypto3 (3.1.4-r0 -> 3.1.5-r0) [2024-06-03T02:44:15.165Z] (5/13) Upgrading libssl3 (3.1.4-r0 -> 3.1.5-r0) [2024-06-03T02:44:15.165Z] (6/13) Upgrading ssl_client (1.36.1-r4 -> 1.36.1-r6) [2024-06-03T02:44:15.165Z] (7/13) Upgrading libexpat (2.5.0-r1 -> 2.6.2-r0) [2024-06-03T02:44:15.165Z] (8/13) Upgrading libarchive (3.7.2-r0 -> 3.7.4-r0) [2024-06-03T02:44:15.430Z] (9/13) Upgrading ca-certificates (20230506-r0 -> 20240226-r0) [2024-06-03T02:44:15.430Z] (10/13) Upgrading openssl-dev (3.1.4-r0 -> 3.1.5-r0) [2024-06-03T02:44:15.694Z] (11/13) Upgrading gnutls (3.8.0-r2 -> 3.8.4-r0) [2024-06-03T02:44:15.694Z] (12/13) Upgrading gnutls-c++ (3.8.0-r2 -> 3.8.4-r0) [2024-06-03T02:44:15.694Z] (13/13) Upgrading gnutls-dev (3.8.0-r2 -> 3.8.4-r0) [2024-06-03T02:44:15.960Z] Executing busybox-1.36.1-r6.trigger [2024-06-03T02:44:15.960Z] Executing ca-certificates-20240226-r0.trigger [2024-06-03T02:44:16.230Z] OK: 328 MiB in 90 packages [2024-06-03T02:44:17.639Z] Removing intermediate container 88166315a6ea [2024-06-03T02:44:17.639Z] ---> ea3cec043d30 [2024-06-03T02:44:17.639Z] Step 20/22 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2024-06-03T02:44:18.224Z] ---> e187b2096de9 [2024-06-03T02:44:18.224Z] Step 21/22 : COPY --from=builder /usr/local/lib /usr/local/lib [2024-06-03T02:44:18.813Z] ---> c4a59981e288 [2024-06-03T02:44:18.813Z] Step 22/22 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2024-06-03T02:44:19.084Z] ---> eca4def3f8e1 [2024-06-03T02:44:19.084Z] Successfully built eca4def3f8e1 [2024-06-03T02:44:19.084Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-06-03T02:44:19.516Z] + docker inspect -f . ci-base-image-arm64 [2024-06-03T02:44:19.516Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-06-03T02:44:19.724Z] prd-ubuntu20.04-docker-arm64-4c-16g-2674 does not seem to be running inside a container [2024-06-03T02:44:19.787Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/8 -v /w/workspace/device-sdk-c/8:/w/workspace/device-sdk-c/8:rw,z -v /w/workspace/device-sdk-c/8@tmp:/w/workspace/device-sdk-c/8@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 ******** ci-base-image-arm64 cat [2024-06-03T02:44:20.948Z] $ docker top 3ee4b533cf1d4c6521fa4ba8caa39c40769f49ab5ce5cefa80e69d8ccbaf9aeb -eo pid,comm [Pipeline] { [Pipeline] sh [2024-06-03T02:44:21.795Z] + make test [2024-06-03T02:44:21.796Z] echo "make test" [2024-06-03T02:44:21.796Z] make test [Pipeline] } [2024-06-03T02:44:21.819Z] $ docker stop --time=1 3ee4b533cf1d4c6521fa4ba8caa39c40769f49ab5ce5cefa80e69d8ccbaf9aeb [2024-06-03T02:44:23.445Z] $ docker rm -f --volumes 3ee4b533cf1d4c6521fa4ba8caa39c40769f49ab5ce5cefa80e69d8ccbaf9aeb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-06-03T02:44:24.010Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-06-03T02:44:24.326Z] + ls -al . [2024-06-03T02:44:24.326Z] total 208 [2024-06-03T02:44:24.326Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 3 02:41 . [2024-06-03T02:44:24.326Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 3 02:41 .. [2024-06-03T02:44:24.326Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 3 02:41 .git [2024-06-03T02:44:24.326Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 3 02:41 .github [2024-06-03T02:44:24.326Z] -rw-rw-r-- 1 jenkins jenkins 176 Jun 3 02:41 .gitignore [2024-06-03T02:44:24.326Z] -rw-rw-r-- 1 jenkins jenkins 2908 Jun 3 02:41 Attribution.txt [2024-06-03T02:44:24.326Z] -rw-rw-r-- 1 jenkins jenkins 11953 Jun 3 02:41 CHANGELOG.md [2024-06-03T02:44:24.326Z] -rw-rw-r-- 1 jenkins jenkins 108574 Jun 3 02:41 Doxyfile [2024-06-03T02:44:24.326Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 3 02:41 GOVERNANCE.md [2024-06-03T02:44:24.326Z] -rw-rw-r-- 1 jenkins jenkins 784 Jun 3 02:41 Jenkinsfile [2024-06-03T02:44:24.326Z] -rw-rw-r-- 1 jenkins jenkins 10174 Jun 3 02:41 LICENSE [2024-06-03T02:44:24.326Z] -rw-rw-r-- 1 jenkins jenkins 444 Jun 3 02:41 Makefile [2024-06-03T02:44:24.326Z] -rw-rw-r-- 1 jenkins jenkins 618 Jun 3 02:41 OWNERS.md [2024-06-03T02:44:24.326Z] -rw-rw-r-- 1 jenkins jenkins 1651 Jun 3 02:41 README.IOT.md [2024-06-03T02:44:24.326Z] -rw-rw-r-- 1 jenkins jenkins 4215 Jun 3 02:41 README.md [2024-06-03T02:44:24.326Z] -rw-rw-r-- 1 jenkins jenkins 1245 Jun 3 02:41 README.v3.md [2024-06-03T02:44:24.326Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 3 02:39 VERSION [2024-06-03T02:44:24.326Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 3 02:41 docs [2024-06-03T02:44:24.326Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 3 02:41 include [2024-06-03T02:44:24.326Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 3 02:41 scripts [2024-06-03T02:44:24.326Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 3 02:41 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-06-03T02:44:24.671Z] + docker build -t device-sdk-arm64 -f scripts/Dockerfile.alpine --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=d3ca75862f8f52b8c4621a0d9e6a52effb786cb8 --label arch=arm64 --label version=0.0.0 . [2024-06-03T02:44:24.937Z] Sending build context to Docker daemon 3.024MB [2024-06-03T02:44:25.205Z] Step 1/18 : ARG BASE=alpine:3.18 [2024-06-03T02:44:25.205Z] Step 2/18 : FROM ${BASE} [2024-06-03T02:44:25.205Z] ---> eca4def3f8e1 [2024-06-03T02:44:25.205Z] Step 3/18 : LABEL maintainer="IOTech " [2024-06-03T02:44:25.205Z] ---> Running in 5edd41a777f0 [2024-06-03T02:44:25.474Z] Removing intermediate container 5edd41a777f0 [2024-06-03T02:44:25.474Z] ---> ea2a28741a1d [2024-06-03T02:44:25.474Z] Step 4/18 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2024-06-03T02:44:25.474Z] ---> Running in 0998af65c58e [2024-06-03T02:44:26.436Z] Connecting to iotech.jfrog.io (54.73.4.50:443) [2024-06-03T02:44:27.018Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-06-03T02:44:27.018Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-06-03T02:44:27.018Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-06-03T02:44:27.617Z] Removing intermediate container 0998af65c58e [2024-06-03T02:44:27.617Z] ---> d2bf11aefc07 [2024-06-03T02:44:27.617Z] Step 5/18 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-06-03T02:44:27.887Z] ---> Running in e334c8715736 [2024-06-03T02:44:29.298Z] Removing intermediate container e334c8715736 [2024-06-03T02:44:29.298Z] ---> a501a4b1c292 [2024-06-03T02:44:29.298Z] Step 6/18 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml-dev curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev libcbor-dev iotech-paho-mqtt-c-dev-1.3 hiredis-dev iotech-iot-1.5-dev dumb-init && mkdir -p /edgex-c-sdk/build [2024-06-03T02:44:29.298Z] ---> Running in b01a3ea558d8 [2024-06-03T02:44:30.258Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-06-03T02:44:30.840Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-06-03T02:44:31.107Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz [2024-06-03T02:44:32.429Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-06-03T02:44:32.429Z] (1/11) Installing iotech-iot-1.5-dev (1.5.4-r1) [2024-06-03T02:44:32.693Z] (2/11) Installing libcbor-dev (0.10.2-r1) [2024-06-03T02:44:32.693Z] (3/11) Installing libmenuw (6.4_p20230506-r0) [2024-06-03T02:44:32.693Z] (4/11) Installing libpanelw (6.4_p20230506-r0) [2024-06-03T02:44:32.693Z] (5/11) Installing libncurses++ (6.4_p20230506-r0) [2024-06-03T02:44:32.693Z] (6/11) Installing ncurses-dev (6.4_p20230506-r0) [2024-06-03T02:44:32.693Z] (7/11) Installing libblkid (2.38.1-r8) [2024-06-03T02:44:32.693Z] (8/11) Installing libfdisk (2.38.1-r8) [2024-06-03T02:44:32.693Z] (9/11) Installing libmount (2.38.1-r8) [2024-06-03T02:44:32.693Z] (10/11) Installing libsmartcols (2.38.1-r8) [2024-06-03T02:44:32.693Z] (11/11) Installing util-linux-dev (2.38.1-r8) [2024-06-03T02:44:32.958Z] Executing busybox-1.36.1-r6.trigger [2024-06-03T02:44:32.958Z] OK: 334 MiB in 101 packages [2024-06-03T02:44:34.367Z] Removing intermediate container b01a3ea558d8 [2024-06-03T02:44:34.367Z] ---> d9b99cca21b6 [2024-06-03T02:44:34.367Z] Step 7/18 : RUN apk --no-cache upgrade [2024-06-03T02:44:34.367Z] ---> Running in 012113e0e7a2 [2024-06-03T02:44:34.948Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-06-03T02:44:35.529Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-06-03T02:44:35.796Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz [2024-06-03T02:44:36.754Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-06-03T02:44:36.754Z] OK: 334 MiB in 101 packages [2024-06-03T02:44:37.718Z] Removing intermediate container 012113e0e7a2 [2024-06-03T02:44:37.718Z] ---> 35c5a9e78863 [2024-06-03T02:44:37.718Z] Step 8/18 : COPY VERSION /edgex-c-sdk/ [2024-06-03T02:44:37.984Z] ---> 7c52fab95d98 [2024-06-03T02:44:37.984Z] Step 9/18 : COPY src /edgex-c-sdk/src/ [2024-06-03T02:44:38.566Z] ---> d8ec847b1da0 [2024-06-03T02:44:38.566Z] Step 10/18 : COPY include /edgex-c-sdk/include/ [2024-06-03T02:44:39.146Z] ---> da9155151ef9 [2024-06-03T02:44:39.146Z] Step 11/18 : COPY scripts /edgex-c-sdk/scripts [2024-06-03T02:44:39.726Z] ---> c2a077ead6e5 [2024-06-03T02:44:39.726Z] Step 12/18 : COPY LICENSE /edgex-c-sdk/ [2024-06-03T02:44:39.992Z] ---> 90becde38d56 [2024-06-03T02:44:39.992Z] Step 13/18 : COPY Attribution.txt /edgex-c-sdk/ [2024-06-03T02:44:40.572Z] ---> 11f1ddb7ef89 [2024-06-03T02:44:40.572Z] Step 14/18 : WORKDIR /edgex-c-sdk [2024-06-03T02:44:40.572Z] ---> Running in 4d8900a70a04 [2024-06-03T02:44:40.838Z] Removing intermediate container 4d8900a70a04 [2024-06-03T02:44:40.838Z] ---> 02a8b4bc5cc7 [2024-06-03T02:44:40.838Z] Step 15/18 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2024-06-03T02:44:40.838Z] ---> Running in 16f6e39156f1 [2024-06-03T02:44:41.105Z] Removing intermediate container 16f6e39156f1 [2024-06-03T02:44:41.105Z] ---> 514ecb8291aa [2024-06-03T02:44:41.105Z] Step 16/18 : LABEL arch=arm64 [2024-06-03T02:44:41.371Z] ---> Running in 49da83a0aebe [2024-06-03T02:44:41.637Z] Removing intermediate container 49da83a0aebe [2024-06-03T02:44:41.637Z] ---> 51bc67636c5b [2024-06-03T02:44:41.637Z] Step 17/18 : LABEL git_sha=d3ca75862f8f52b8c4621a0d9e6a52effb786cb8 [2024-06-03T02:44:41.637Z] ---> Running in 46b92f3921ce [2024-06-03T02:44:41.903Z] Removing intermediate container 46b92f3921ce [2024-06-03T02:44:41.903Z] ---> 453880448d7f [2024-06-03T02:44:41.903Z] Step 18/18 : LABEL version=0.0.0 [2024-06-03T02:44:41.903Z] ---> Running in f3115e86caff [2024-06-03T02:44:42.173Z] Removing intermediate container f3115e86caff [2024-06-03T02:44:42.173Z] ---> 376a67706b76 [2024-06-03T02:44:42.173Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2024-06-03T02:44:42.173Z] Successfully built 376a67706b76 [2024-06-03T02:44:42.440Z] Successfully tagged device-sdk-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-06-03T02:44:42.920Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-06-03T02:44:42.920Z] [2024-06-03T02:44:42.920Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-06-03T02:44:43.259Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-06-03T02:44:43.259Z] arm64: Pulling from edgex-lftools-log-publisher [2024-06-03T02:44:43.259Z] 8998bd30e6a1: Pulling fs layer [2024-06-03T02:44:43.259Z] 04944245beec: Pulling fs layer [2024-06-03T02:44:43.259Z] 699f458cf7ca: Pulling fs layer [2024-06-03T02:44:43.259Z] 765212b225bb: Pulling fs layer [2024-06-03T02:44:43.259Z] f23df028b6ca: Pulling fs layer [2024-06-03T02:44:43.259Z] d65c8cfc05b1: Pulling fs layer [2024-06-03T02:44:43.259Z] 2437ff75d9bd: Pulling fs layer [2024-06-03T02:44:43.259Z] f23df028b6ca: Waiting [2024-06-03T02:44:43.259Z] d65c8cfc05b1: Waiting [2024-06-03T02:44:43.259Z] 2437ff75d9bd: Waiting [2024-06-03T02:44:43.259Z] 765212b225bb: Waiting [2024-06-03T02:44:43.528Z] 04944245beec: Verifying Checksum [2024-06-03T02:44:43.528Z] 04944245beec: Download complete [2024-06-03T02:44:43.528Z] 765212b225bb: Verifying Checksum [2024-06-03T02:44:43.528Z] 765212b225bb: Download complete [2024-06-03T02:44:43.528Z] f23df028b6ca: Verifying Checksum [2024-06-03T02:44:43.528Z] f23df028b6ca: Download complete [2024-06-03T02:44:43.528Z] d65c8cfc05b1: Verifying Checksum [2024-06-03T02:44:43.528Z] d65c8cfc05b1: Download complete [2024-06-03T02:44:43.795Z] 699f458cf7ca: Verifying Checksum [2024-06-03T02:44:43.795Z] 699f458cf7ca: Download complete [2024-06-03T02:44:44.061Z] 8998bd30e6a1: Download complete [2024-06-03T02:44:46.641Z] 2437ff75d9bd: Verifying Checksum [2024-06-03T02:44:46.641Z] 2437ff75d9bd: Download complete [2024-06-03T02:44:48.585Z] 8998bd30e6a1: Pull complete [2024-06-03T02:44:48.859Z] 04944245beec: Pull complete [2024-06-03T02:44:50.797Z] 699f458cf7ca: Pull complete [2024-06-03T02:44:50.798Z] 765212b225bb: Pull complete [2024-06-03T02:44:51.379Z] f23df028b6ca: Pull complete [2024-06-03T02:44:51.653Z] d65c8cfc05b1: Pull complete [2024-06-03T02:45:09.851Z] 2437ff75d9bd: Pull complete [2024-06-03T02:45:09.851Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-06-03T02:45:09.851Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-06-03T02:45:09.851Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-06-03T02:45:10.059Z] prd-ubuntu20.04-docker-arm64-4c-16g-2674 does not seem to be running inside a container [2024-06-03T02:45:10.138Z] $ 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/8 -v /w/workspace/device-sdk-c/8:/w/workspace/device-sdk-c/8:rw,z -v /w/workspace/device-sdk-c/8@tmp:/w/workspace/device-sdk-c/8@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 [2024-06-03T02:45:12.663Z] $ docker top cc48411f6f092eb5678f0aaa48cd36951ee74c24bbaa54ada409007bd5bc7328 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-06-03T02:45:13.485Z] ---> job-cost.sh [2024-06-03T02:45:13.485Z] lf-activate-venv: SKIPPING [2024-06-03T02:45:13.485Z] INFO: No Stack... [2024-06-03T02:45:13.753Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-06-03T02:45:14.713Z] INFO: Archiving Costs [Pipeline] sh [2024-06-03T02:45:15.353Z] + cat /w/workspace/device-sdk-c/8/archives/cost.csv [2024-06-03T02:45:15.353Z] + cut -d, -f6 [Pipeline] lock [2024-06-03T02:45:15.405Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-c-PR-496-8-stack-cost] [2024-06-03T02:45:15.418Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-496-8-stack-cost] did not exist. Created. [2024-06-03T02:45:15.424Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-c-PR-496-8-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-06-03T02:45:16.105Z] /w/workspace/device-sdk-c/8@tmp/durable-64f2128a/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-06-03T02:45:16.739Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-06-03T02:45:16.765Z] Warning: overwriting stash ‘stack-cost’ [2024-06-03T02:45:17.302Z] Stashed 1 file(s) [Pipeline] } [2024-06-03T02:45:17.312Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-c-PR-496-8-stack-cost] [Pipeline] // lock [Pipeline] } [2024-06-03T02:45:17.346Z] $ docker stop --time=1 cc48411f6f092eb5678f0aaa48cd36951ee74c24bbaa54ada409007bd5bc7328 [2024-06-03T02:45:18.880Z] $ docker rm -f --volumes cc48411f6f092eb5678f0aaa48cd36951ee74c24bbaa54ada409007bd5bc7328 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2024-06-03T02:45:19.786Z] + [ -d /w/workspace/edgexfoundry_device-sdk-c_PR-496/archives ] [2024-06-03T02:45:19.786Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-496/archives [2024-06-03T02:45:19.786Z] total 16 [2024-06-03T02:45:19.786Z] drwxr-xr-x 3 root root 4096 Jun 3 02:40 . [2024-06-03T02:45:19.786Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 3 02:40 .. [2024-06-03T02:45:19.786Z] drwxr-xr-x 2 root root 4096 Jun 3 02:40 cost [2024-06-03T02:45:19.786Z] -rw-r--r-- 1 root root 84 Jun 3 02:40 cost.csv [2024-06-03T02:45:19.786Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_PR-496/archives [2024-06-03T02:45:19.786Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-496/archives [2024-06-03T02:45:19.786Z] total 16 [2024-06-03T02:45:19.786Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 3 02:40 . [2024-06-03T02:45:19.786Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 3 02:40 .. [2024-06-03T02:45:19.786Z] drwxr-xr-x 2 jenkins jenkins 4096 Jun 3 02:40 cost [2024-06-03T02:45:19.786Z] -rw-r--r-- 1 jenkins jenkins 84 Jun 3 02:40 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-06-03T02:45:20.078Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-06-03T02:45:20.937Z] ---> package-listing.sh [2024-06-03T02:45:20.937Z] ++ facter osfamily [2024-06-03T02:45:20.937Z] ++ tr '[:upper:]' '[:lower:]' [2024-06-03T02:45:21.196Z] + OS_FAMILY=debian [2024-06-03T02:45:21.196Z] + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-496 [2024-06-03T02:45:21.196Z] + START_PACKAGES=/tmp/packages_start.txt [2024-06-03T02:45:21.196Z] + END_PACKAGES=/tmp/packages_end.txt [2024-06-03T02:45:21.196Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-06-03T02:45:21.196Z] + PACKAGES=/tmp/packages_start.txt [2024-06-03T02:45:21.196Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-496 ']' [2024-06-03T02:45:21.196Z] + PACKAGES=/tmp/packages_end.txt [2024-06-03T02:45:21.196Z] + case "${OS_FAMILY}" in [2024-06-03T02:45:21.196Z] + dpkg -l [2024-06-03T02:45:21.196Z] + grep '^ii' [2024-06-03T02:45:21.196Z] + '[' -f /tmp/packages_start.txt ']' [2024-06-03T02:45:21.196Z] + '[' -f /tmp/packages_end.txt ']' [2024-06-03T02:45:21.196Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-06-03T02:45:21.196Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-496 ']' [2024-06-03T02:45:21.196Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-496/archives/ [2024-06-03T02:45:21.196Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-496/archives/ [Pipeline] echo [2024-06-03T02:45:21.208Z] 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-496/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-06-03T02:45:21.488Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-06-03T02:45:22.051Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-06-03T02:45:22.051Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-06-03T02:45:22.132Z] prd-ubuntu20.04-docker-8c-8g-2672 does not seem to be running inside a container [2024-06-03T02:45:22.167Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-c_PR-496/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-496 -v /w/workspace/edgexfoundry_device-sdk-c_PR-496:/w/workspace/edgexfoundry_device-sdk-c_PR-496:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-496@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-496@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 [2024-06-03T02:45:22.396Z] $ docker top 29cd7617611d92aa38d90020dce18ddfc954042d93fbd086b3b8b0951883d92a -eo pid,comm [Pipeline] { [Pipeline] sh [2024-06-03T02:45:22.745Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-06-03T02:45:23.036Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-06-03T02:45:23.325Z] + ls /var/log/sa-host [2024-06-03T02:45:23.325Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-06-03T02:45:23.496Z] provisioning config files... [2024-06-03T02:45:23.505Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-496@tmp/config2619895442184858899tmp [Pipeline] { [Pipeline] echo [2024-06-03T02:45:23.523Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-06-03T02:45:23.804Z] ---> create-netrc.sh [Pipeline] } [2024-06-03T02:45:23.819Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-06-03T02:45:24.184Z] ---> python-tools-install.sh [Pipeline] echo [2024-06-03T02:45:24.194Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-06-03T02:45:24.477Z] ---> sudo-logs.sh [2024-06-03T02:45:24.477Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-06-03T02:45:24.509Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-06-03T02:45:24.793Z] ---> job-cost.sh [2024-06-03T02:45:24.793Z] lf-activate-venv: SKIPPING [2024-06-03T02:45:24.793Z] DEBUG: total: 0.2199999988079071 [2024-06-03T02:45:24.793Z] INFO: Retrieving Stack Cost... [2024-06-03T02:45:25.053Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-06-03T02:45:25.313Z] INFO: Archiving Costs [Pipeline] echo [2024-06-03T02:45:25.325Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-06-03T02:45:25.609Z] ---> logs-deploy.sh [2024-06-03T02:45:25.609Z] lf-activate-venv: SKIPPING [2024-06-03T02:45:25.609Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-496/8 [2024-06-03T02:45:25.609Z] INFO: archiving workspace using pattern(s): [2024-06-03T02:45:26.546Z] Archives upload complete. [2024-06-03T02:45:26.546Z] INFO: archiving logs to Nexus