Pull request #518 opened 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 eaton-coreymutter for edgexfoundry/device-sdk-c Obtained Jenkinsfile from ed5efed169abac3de29651138726e3fff7b5cf65+de2f7dd484aed31b8929cc3252062c81ad15313f (b6960e3694277017eacdced215204ac8b630ecd5) 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-ssh3859866477575438300.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 0b81fa10a7dd14683a964f04f411324fe83f93ac 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-ssh4820770271427293927.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 0b81fa10a7dd14683a964f04f411324fe83f93ac The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-518/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 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-518/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10081973935007194111.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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-518/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9600964107731817163.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 0b81fa10a7dd14683a964f04f411324fe83f93ac (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 0b81fa10a7dd14683a964f04f411324fe83f93ac # timeout=10 Commit message: "Merge pull request #457 from jinlinGuan/golang-1.23" > 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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-ssh5838974851868175393.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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-518/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 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-518/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh1780306566593774700.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildCApp] RAW Config: [project:device-sdk-c, dockerBuildFilePath:scripts/Dockerfile.alpine-base, dockerFilePath:scripts/Dockerfile.alpine, pushImage:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildCApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-c-settings PROJECT: device-sdk-c USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build DOCKER_FILE_PATH: scripts/Dockerfile.alpine DOCKER_BUILD_FILE_PATH: scripts/Dockerfile.alpine-base DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-23536 in /w/workspace/edgexfoundry_device-sdk-c_PR-518 [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-518 # 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/518/head:refs/remotes/origin/PR-518 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit de2f7dd484aed31b8929cc3252062c81ad15313f into PR head commit ed5efed169abac3de29651138726e3fff7b5cf65 Merge succeeded, producing ed5efed169abac3de29651138726e3fff7b5cf65 Checking out Revision ed5efed169abac3de29651138726e3fff7b5cf65 (PR-518) > git config core.sparsecheckout # timeout=10 > git checkout -f ed5efed169abac3de29651138726e3fff7b5cf65 # 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 de2f7dd484aed31b8929cc3252062c81ad15313f # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ed5efed169abac3de29651138726e3fff7b5cf65 # timeout=10 Commit message: "bug: Only 20 devices end up in devmap (#555)" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-10-22T18:21:42.680Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-10-22T18:21:42.881Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-10-22T18:21:43.007Z] ========================================================= [2024-10-22T18:21:43.007Z] EdgeX Global Pipelines Version Info [2024-10-22T18:21:43.007Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-10-22T18:21:43.784Z] ------------------- [2024-10-22T18:21:43.784Z] stable info: [2024-10-22T18:21:43.784Z] ------------------- [2024-10-22T18:21:43.784Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-10-22T18:21:43.784Z] Commit SHA: 0b81fa10a7dd14683a964f04f411324fe83f93ac [2024-10-22T18:21:43.784Z] Message: update stable to v1.0.265 [2024-10-22T18:21:44.355Z] ------------------- [2024-10-22T18:21:44.355Z] experimental info: [2024-10-22T18:21:44.355Z] ------------------- [2024-10-22T18:21:44.355Z] Commited By: Cherry Wang cherry@iotechsys.com [2024-10-22T18:21:44.355Z] Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 [2024-10-22T18:21:44.355Z] Message: update experimental to v1.0.264 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-10-22T18:21:44.582Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo [2024-10-22T18:21:44.642Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo [2024-10-22T18:21:44.698Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-10-22T18:21:44.756Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-10-22T18:21:44.818Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-10-22T18:21:44.876Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo [2024-10-22T18:21:44.933Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo [2024-10-22T18:21:44.990Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-10-22T18:21:45.049Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-10-22T18:21:45.108Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo [2024-10-22T18:21:45.165Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-10-22T18:21:45.223Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-10-22T18:21:45.281Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-10-22T18:21:45.338Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2024-10-22T18:21:45.401Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-10-22T18:21:45.460Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-10-22T18:21:45.524Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-10-22T18:21:45.581Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-518 [Pipeline] echo [2024-10-22T18:21:45.646Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-518 [Pipeline] echo [2024-10-22T18:21:45.704Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-518 [Pipeline] echo [2024-10-22T18:21:45.763Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ed5efed169abac3de29651138726e3fff7b5cf65 [Pipeline] echo [2024-10-22T18:21:45.823Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ed5efed [Pipeline] echo [2024-10-22T18:21:45.881Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-22T18:21:46.124Z] provisioning config files... [2024-10-22T18:21:46.138Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-518@tmp/config13690715259022488444tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-22T18:21:46.514Z] ---> ****-login.sh [2024-10-22T18:21:46.514Z] nexus3.edgexfoundry.org:10001 [2024-10-22T18:21:46.774Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-22T18:21:46.775Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-22T18:21:46.775Z] Configure a credential helper to remove this warning. See [2024-10-22T18:21:46.775Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-22T18:21:46.775Z] [2024-10-22T18:21:46.775Z] Login Succeeded [2024-10-22T18:21:46.775Z] nexus3.edgexfoundry.org:10002 [2024-10-22T18:21:46.775Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-22T18:21:46.775Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-22T18:21:46.775Z] Configure a credential helper to remove this warning. See [2024-10-22T18:21:46.775Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-22T18:21:46.775Z] [2024-10-22T18:21:46.775Z] Login Succeeded [2024-10-22T18:21:46.775Z] nexus3.edgexfoundry.org:10003 [2024-10-22T18:21:47.038Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-22T18:21:47.038Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-22T18:21:47.038Z] Configure a credential helper to remove this warning. See [2024-10-22T18:21:47.038Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-22T18:21:47.038Z] [2024-10-22T18:21:47.038Z] Login Succeeded [2024-10-22T18:21:47.038Z] nexus3.edgexfoundry.org:10004 [2024-10-22T18:21:47.038Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-22T18:21:47.038Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-22T18:21:47.039Z] Configure a credential helper to remove this warning. See [2024-10-22T18:21:47.039Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-22T18:21:47.039Z] [2024-10-22T18:21:47.039Z] Login Succeeded [2024-10-22T18:21:47.039Z] ****.io [2024-10-22T18:21:47.301Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-22T18:21:47.301Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-22T18:21:47.301Z] Configure a credential helper to remove this warning. See [2024-10-22T18:21:47.301Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-22T18:21:47.301Z] [2024-10-22T18:21:47.301Z] Login Succeeded [2024-10-22T18:21:47.301Z] ---> ****-login.sh ends [Pipeline] } [2024-10-22T18:21:47.332Z] 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-10-22T18:21:48.047Z] + git rev-list -1 --merges ed5efed169abac3de29651138726e3fff7b5cf65~1..ed5efed169abac3de29651138726e3fff7b5cf65 [Pipeline] echo [2024-10-22T18:21:48.107Z] -----------> git rev-list -1 --merges ed5efed169abac3de29651138726e3fff7b5cf65~1..ed5efed169abac3de29651138726e3fff7b5cf65 ed5efed169abac3de29651138726e3fff7b5cf65 [false] [Pipeline] sh [2024-10-22T18:21:48.435Z] + git log --format=format:%s -1 ed5efed169abac3de29651138726e3fff7b5cf65 [Pipeline] echo [2024-10-22T18:21:48.482Z] ========================================================= [2024-10-22T18:21:48.482Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-10-22T18:21:48.482Z] ========================================================= 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-10-22T18:21:49.533Z] + git rev-list -1 --merges ed5efed169abac3de29651138726e3fff7b5cf65~1..ed5efed169abac3de29651138726e3fff7b5cf65 [Pipeline] echo [2024-10-22T18:21:49.574Z] -----------> git rev-list -1 --merges ed5efed169abac3de29651138726e3fff7b5cf65~1..ed5efed169abac3de29651138726e3fff7b5cf65 ed5efed169abac3de29651138726e3fff7b5cf65 [false] [Pipeline] sh [2024-10-22T18:21:49.905Z] + git log --format=format:%s -1 ed5efed169abac3de29651138726e3fff7b5cf65 [Pipeline] echo [2024-10-22T18:21:49.948Z] ========================================================= [2024-10-22T18:21:49.948Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-10-22T18:21:49.948Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh [2024-10-22T18:21:50.467Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-10-22T18:21:50.467Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-10-22T18:21:50.467Z] + [ -e /tmp/ssh_known_hosts ] [2024-10-22T18:21:50.467Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-10-22T18:21:50.467Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-10-22T18:21:50.467Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-10-22T18:21:50.467Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-22T18:21:50.975Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-22T18:21:50.975Z] [2024-10-22T18:21:50.975Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-22T18:21:51.395Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-22T18:21:51.395Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-10-22T18:21:51.395Z] b85a868b505f: Pulling fs layer [2024-10-22T18:21:51.395Z] e2be974225ed: Pulling fs layer [2024-10-22T18:21:51.395Z] 339a4e72a1f5: Pulling fs layer [2024-10-22T18:21:51.395Z] 988bab9f4d93: Pulling fs layer [2024-10-22T18:21:51.395Z] 1469e6f7b9e6: Pulling fs layer [2024-10-22T18:21:51.395Z] eaf3925da568: Pulling fs layer [2024-10-22T18:21:51.395Z] bab4dde63d76: Pulling fs layer [2024-10-22T18:21:51.395Z] bde34c3a00c8: Pulling fs layer [2024-10-22T18:21:51.395Z] b352a97aabf1: Pulling fs layer [2024-10-22T18:21:51.395Z] 4872d77fe225: Pulling fs layer [2024-10-22T18:21:51.395Z] 5851b861e8e6: Pulling fs layer [2024-10-22T18:21:51.395Z] 4872d77fe225: Waiting [2024-10-22T18:21:51.395Z] 5851b861e8e6: Waiting [2024-10-22T18:21:51.395Z] bde34c3a00c8: Waiting [2024-10-22T18:21:51.395Z] 988bab9f4d93: Waiting [2024-10-22T18:21:51.395Z] bab4dde63d76: Waiting [2024-10-22T18:21:51.395Z] b352a97aabf1: Waiting [2024-10-22T18:21:51.395Z] 1469e6f7b9e6: Waiting [2024-10-22T18:21:51.395Z] e2be974225ed: Verifying Checksum [2024-10-22T18:21:51.395Z] e2be974225ed: Download complete [2024-10-22T18:21:51.395Z] 988bab9f4d93: Verifying Checksum [2024-10-22T18:21:51.395Z] 988bab9f4d93: Download complete [2024-10-22T18:21:51.395Z] 1469e6f7b9e6: Verifying Checksum [2024-10-22T18:21:51.395Z] 1469e6f7b9e6: Download complete [2024-10-22T18:21:51.654Z] eaf3925da568: Download complete [2024-10-22T18:21:51.654Z] 339a4e72a1f5: Verifying Checksum [2024-10-22T18:21:51.654Z] 339a4e72a1f5: Download complete [2024-10-22T18:21:51.654Z] bde34c3a00c8: Download complete [2024-10-22T18:21:51.654Z] b352a97aabf1: Download complete [2024-10-22T18:21:51.654Z] 4872d77fe225: Verifying Checksum [2024-10-22T18:21:51.654Z] 4872d77fe225: Download complete [2024-10-22T18:21:51.654Z] 5851b861e8e6: Download complete [2024-10-22T18:21:51.654Z] b85a868b505f: Verifying Checksum [2024-10-22T18:21:51.654Z] b85a868b505f: Download complete [2024-10-22T18:21:51.914Z] bab4dde63d76: Verifying Checksum [2024-10-22T18:21:51.914Z] bab4dde63d76: Download complete [2024-10-22T18:21:53.307Z] b85a868b505f: Pull complete [2024-10-22T18:21:53.307Z] e2be974225ed: Pull complete [2024-10-22T18:21:53.569Z] 339a4e72a1f5: Pull complete [2024-10-22T18:21:53.832Z] 988bab9f4d93: Pull complete [2024-10-22T18:21:54.094Z] 1469e6f7b9e6: Pull complete [2024-10-22T18:21:54.094Z] eaf3925da568: Pull complete [2024-10-22T18:21:56.029Z] bab4dde63d76: Pull complete [2024-10-22T18:21:56.029Z] bde34c3a00c8: Pull complete [2024-10-22T18:21:56.289Z] b352a97aabf1: Pull complete [2024-10-22T18:21:56.289Z] 4872d77fe225: Pull complete [2024-10-22T18:21:56.289Z] 5851b861e8e6: Pull complete [2024-10-22T18:21:56.289Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-10-22T18:21:56.289Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-22T18:21:56.289Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-22T18:21:56.609Z] prd-ubuntu20.04-docker-8c-8g-23536 does not seem to be running inside a container [2024-10-22T18:21:56.646Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-518 -v /w/workspace/edgexfoundry_device-sdk-c_PR-518:/w/workspace/edgexfoundry_device-sdk-c_PR-518:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-518@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-518@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-10-22T18:22:00.528Z] $ docker top cf2f7431970f9529cf89f91fef513a5e15b48a525c1631771c99fca5428eadc7 -eo pid,comm [2024-10-22T18:22:00.582Z] 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-10-22T18:22:00.582Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-10-22T18:22:00.742Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-10-22T18:22:00.742Z] [ssh-agent] Looking for ssh-agent implementation... [2024-10-22T18:22:00.857Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-10-22T18:22:00.861Z] $ docker exec cf2f7431970f9529cf89f91fef513a5e15b48a525c1631771c99fca5428eadc7 ssh-agent [2024-10-22T18:22:01.008Z] SSH_AUTH_SOCK=/tmp/ssh-Bb8oHqbhHVyd/agent.32 [2024-10-22T18:22:01.008Z] SSH_AGENT_PID=38 [2024-10-22T18:22:01.014Z] Running ssh-add (command line suppressed) [2024-10-22T18:22:01.117Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-518@tmp/private_key_2232461462769529379.key (/w/workspace/edgexfoundry_device-sdk-c_PR-518@tmp/private_key_2232461462769529379.key) [2024-10-22T18:22:01.131Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-10-22T18:22:01.491Z] + git tag --points-at HEAD [Pipeline] } [2024-10-22T18:22:01.520Z] $ docker exec --env ******** --env ******** cf2f7431970f9529cf89f91fef513a5e15b48a525c1631771c99fca5428eadc7 ssh-agent -k [2024-10-22T18:22:01.620Z] unset SSH_AUTH_SOCK; [2024-10-22T18:22:01.620Z] unset SSH_AGENT_PID; [2024-10-22T18:22:01.620Z] echo Agent pid 38 killed; [2024-10-22T18:22:01.632Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-10-22T18:22:01.746Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-10-22T18:22:01.747Z] [ssh-agent] Looking for ssh-agent implementation... [2024-10-22T18:22:01.865Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-10-22T18:22:01.868Z] $ docker exec cf2f7431970f9529cf89f91fef513a5e15b48a525c1631771c99fca5428eadc7 ssh-agent [2024-10-22T18:22:01.999Z] SSH_AUTH_SOCK=/tmp/ssh-bR2JZxvIfGr3/agent.71 [2024-10-22T18:22:01.999Z] SSH_AGENT_PID=77 [2024-10-22T18:22:02.006Z] Running ssh-add (command line suppressed) [2024-10-22T18:22:02.104Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-518@tmp/private_key_13872877001259987506.key (/w/workspace/edgexfoundry_device-sdk-c_PR-518@tmp/private_key_13872877001259987506.key) [2024-10-22T18:22:02.123Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-10-22T18:22:02.484Z] + git semver init [2024-10-22T18:22:02.866Z] 2024-10-22 18:22:02,802 [run_init] DEBUG init version:0.0.0 force:False [2024-10-22T18:22:02.866Z] 2024-10-22 18:22:02,804 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-c_PR-518/.semver [2024-10-22T18:22:02.866Z] 2024-10-22 18:22:02,805 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-c.git /w/workspace/edgexfoundry_device-sdk-c_PR-518/.semver [2024-10-22T18:22:02.866Z] 2024-10-22 18:22:02,805 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-c.git', '/w/workspace/edgexfoundry_device-sdk-c_PR-518/.semver'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-518, universal_newlines=False, shell=None, istream=None) [2024-10-22T18:22:03.808Z] 2024-10-22 18:22:03,689 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-c_PR-518/.git/info/exclude [2024-10-22T18:22:03.808Z] 2024-10-22 18:22:03,689 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-c_PR-518/.semver/PR-518 with force:False [2024-10-22T18:22:03.808Z] 2024-10-22 18:22:03,689 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-c_PR-518/.semver/PR-518 [2024-10-22T18:22:03.808Z] 2024-10-22 18:22:03,694 [execute] INFO git cat-file --batch-check [2024-10-22T18:22:03.808Z] 2024-10-22 18:22:03,694 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-518/.semver, universal_newlines=False, shell=None, istream=) [2024-10-22T18:22:03.808Z] 2024-10-22 18:22:03,700 [execute] INFO git cat-file --batch [2024-10-22T18:22:03.808Z] 2024-10-22 18:22:03,700 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-518/.semver, universal_newlines=False, shell=None, istream=) [2024-10-22T18:22:03.808Z] 2024-10-22 18:22:03,705 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_PR-518/.semver/PR-518 [2024-10-22T18:22:03.808Z] 0.0.0 [Pipeline] } [2024-10-22T18:22:03.838Z] $ docker exec --env ******** --env ******** cf2f7431970f9529cf89f91fef513a5e15b48a525c1631771c99fca5428eadc7 ssh-agent -k [2024-10-22T18:22:03.951Z] unset SSH_AUTH_SOCK; [2024-10-22T18:22:03.951Z] unset SSH_AGENT_PID; [2024-10-22T18:22:03.951Z] echo Agent pid 77 killed; [2024-10-22T18:22:03.962Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-10-22T18:22:04.423Z] + git semver [Pipeline] } [2024-10-22T18:22:04.718Z] $ docker stop --time=1 cf2f7431970f9529cf89f91fef513a5e15b48a525c1631771c99fca5428eadc7 [2024-10-22T18:22:06.028Z] $ docker rm -f --volumes cf2f7431970f9529cf89f91fef513a5e15b48a525c1631771c99fca5428eadc7 [Pipeline] // withDockerContainer [Pipeline] sh [2024-10-22T18:22:06.457Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-10-22T18:22:06.779Z] Stashed 1 file(s) [Pipeline] echo [2024-10-22T18:22:06.804Z] [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-10-22T18:22:07.431Z] provisioning config files... [2024-10-22T18:22:07.441Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-518@tmp/config9161354243797909657tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-22T18:22:07.791Z] ---> ****-login.sh [2024-10-22T18:22:07.791Z] nexus3.edgexfoundry.org:10001 [2024-10-22T18:22:07.791Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-22T18:22:07.791Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-22T18:22:07.791Z] Configure a credential helper to remove this warning. See [2024-10-22T18:22:07.791Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-22T18:22:07.791Z] [2024-10-22T18:22:07.791Z] Login Succeeded [2024-10-22T18:22:07.791Z] nexus3.edgexfoundry.org:10002 [2024-10-22T18:22:07.791Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-22T18:22:07.791Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-22T18:22:07.791Z] Configure a credential helper to remove this warning. See [2024-10-22T18:22:07.791Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-22T18:22:07.791Z] [2024-10-22T18:22:07.791Z] Login Succeeded [2024-10-22T18:22:07.791Z] nexus3.edgexfoundry.org:10003 [2024-10-22T18:22:08.051Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-22T18:22:08.051Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-22T18:22:08.051Z] Configure a credential helper to remove this warning. See [2024-10-22T18:22:08.051Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-22T18:22:08.051Z] [2024-10-22T18:22:08.051Z] Login Succeeded [2024-10-22T18:22:08.051Z] nexus3.edgexfoundry.org:10004 [2024-10-22T18:22:08.051Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-22T18:22:08.052Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-22T18:22:08.052Z] Configure a credential helper to remove this warning. See [2024-10-22T18:22:08.052Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-22T18:22:08.052Z] [2024-10-22T18:22:08.052Z] Login Succeeded [2024-10-22T18:22:08.052Z] ****.io [2024-10-22T18:22:08.052Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-22T18:22:08.313Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-22T18:22:08.313Z] Configure a credential helper to remove this warning. See [2024-10-22T18:22:08.313Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-22T18:22:08.313Z] [2024-10-22T18:22:08.313Z] Login Succeeded [2024-10-22T18:22:08.313Z] ---> ****-login.sh ends [Pipeline] } [2024-10-22T18:22:08.346Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-10-22T18:22:08.646Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-22T18:22:08.696Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo [2024-10-22T18:22:08.740Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-22T18:22:08.788Z] ========================================================= [2024-10-22T18:22:08.788Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] [2024-10-22T18:22:08.788Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-22T18:22:09.238Z] + 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-10-22T18:22:09.239Z] Sending build context to Docker daemon 5.108MB [2024-10-22T18:22:09.239Z] Step 1/22 : ARG BASE=alpine:3.18 [2024-10-22T18:22:09.239Z] Step 2/22 : FROM ${BASE} as builder [2024-10-22T18:22:09.239Z] latest: Pulling from edgex-devops/edgex-gcc-base [2024-10-22T18:22:09.239Z] 96526aa774ef: Pulling fs layer [2024-10-22T18:22:09.239Z] da60e534fd72: Pulling fs layer [2024-10-22T18:22:09.239Z] 96526aa774ef: Download complete [2024-10-22T18:22:09.497Z] 96526aa774ef: Pull complete [2024-10-22T18:22:10.917Z] da60e534fd72: Verifying Checksum [2024-10-22T18:22:10.917Z] da60e534fd72: Download complete [2024-10-22T18:22:13.452Z] da60e534fd72: Pull complete [2024-10-22T18:22:13.452Z] Digest: sha256:86f282524b252fca782185160d82ec4889448d07d1475dd6b76f2052073facff [2024-10-22T18:22:13.452Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [2024-10-22T18:22:13.452Z] ---> 6605166a5db4 [2024-10-22T18:22:13.452Z] 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-10-22T18:22:16.590Z] ---> Running in 785c10846fbd [2024-10-22T18:22:16.590Z] Connecting to iotech.jfrog.io (34.247.22.236:443) [2024-10-22T18:22:16.852Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-10-22T18:22:16.852Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-10-22T18:22:16.852Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-10-22T18:22:17.112Z] Removing intermediate container 785c10846fbd [2024-10-22T18:22:17.112Z] ---> ea50c06acf40 [2024-10-22T18:22:17.112Z] Step 4/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-10-22T18:22:17.112Z] ---> Running in 162564a46f88 [2024-10-22T18:22:18.049Z] Removing intermediate container 162564a46f88 [2024-10-22T18:22:18.049Z] ---> 8df2764ee99b [2024-10-22T18:22:18.049Z] 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-10-22T18:22:18.049Z] ---> Running in cd03bcf0fa69 [2024-10-22T18:22:18.307Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-10-22T18:22:18.565Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-10-22T18:22:18.565Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-10-22T18:22:19.136Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-10-22T18:22:19.136Z] (1/17) Installing hiredis (1.1.0-r2) [2024-10-22T18:22:19.136Z] (2/17) Installing hiredis-dev (1.1.0-r2) [2024-10-22T18:22:19.136Z] (3/17) Installing libcbor (0.10.2-r1) [2024-10-22T18:22:19.136Z] (4/17) Installing iotech-iot-1.5 (1.5.4-r2) [2024-10-22T18:22:20.075Z] (5/17) Installing iotech-iot-1.5-dev (1.5.4-r2) [2024-10-22T18:22:20.075Z] (6/17) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) [2024-10-22T18:22:20.335Z] (7/17) Installing libcbor-dev (0.10.2-r1) [2024-10-22T18:22:20.335Z] (8/17) Installing libmenuw (6.4_p20230506-r0) [2024-10-22T18:22:20.335Z] (9/17) Installing libpanelw (6.4_p20230506-r0) [2024-10-22T18:22:20.335Z] (10/17) Installing libncurses++ (6.4_p20230506-r0) [2024-10-22T18:22:20.335Z] (11/17) Installing ncurses-dev (6.4_p20230506-r0) [2024-10-22T18:22:20.335Z] (12/17) Installing libblkid (2.38.1-r8) [2024-10-22T18:22:20.335Z] (13/17) Installing libuuid (2.38.1-r8) [2024-10-22T18:22:20.335Z] (14/17) Installing libfdisk (2.38.1-r8) [2024-10-22T18:22:20.335Z] (15/17) Installing libmount (2.38.1-r8) [2024-10-22T18:22:20.335Z] (16/17) Installing libsmartcols (2.38.1-r8) [2024-10-22T18:22:20.335Z] (17/17) Installing util-linux-dev (2.38.1-r8) [2024-10-22T18:22:20.335Z] Executing busybox-1.36.1-r4.trigger [2024-10-22T18:22:20.335Z] OK: 336 MiB in 99 packages [2024-10-22T18:22:20.905Z] Removing intermediate container cd03bcf0fa69 [2024-10-22T18:22:20.905Z] ---> c7b23fdd01d1 [2024-10-22T18:22:20.905Z] Step 6/22 : RUN mkdir /tmp/sdk [2024-10-22T18:22:21.170Z] ---> Running in 26e6bdf11dea [2024-10-22T18:22:21.746Z] Removing intermediate container 26e6bdf11dea [2024-10-22T18:22:21.746Z] ---> 4d65b1eaab58 [2024-10-22T18:22:21.746Z] Step 7/22 : COPY VERSION /tmp/sdk [2024-10-22T18:22:21.746Z] ---> 73a2582336b9 [2024-10-22T18:22:21.746Z] Step 8/22 : COPY src /tmp/sdk/src [2024-10-22T18:22:22.006Z] ---> 92e00c16049e [2024-10-22T18:22:22.006Z] Step 9/22 : COPY include /tmp/sdk/include [2024-10-22T18:22:22.218Z] Still waiting to schedule task [2024-10-22T18:22:22.218Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-23535’ [2024-10-22T18:22:22.267Z] ---> 363fe9459e41 [2024-10-22T18:22:22.267Z] Step 10/22 : COPY scripts /tmp/sdk/scripts [2024-10-22T18:22:22.267Z] ---> 7c14ed77739d [2024-10-22T18:22:22.267Z] Step 11/22 : COPY LICENSE /tmp/sdk [2024-10-22T18:22:22.526Z] ---> cf2db4482d5f [2024-10-22T18:22:22.526Z] Step 12/22 : COPY Attribution.txt /tmp/sdk [2024-10-22T18:22:22.526Z] ---> d5eeb9d7e988 [2024-10-22T18:22:22.526Z] Step 13/22 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2024-10-22T18:22:22.526Z] ---> Running in f258a9359b11 [2024-10-22T18:22:23.120Z] + CPPCHECK=false [2024-10-22T18:22:23.120Z] + DOCGEN=false [2024-10-22T18:22:23.120Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2024-10-22T18:22:23.120Z] + '[' 0 -gt 0 ] [2024-10-22T18:22:23.120Z] + readlink -f ./scripts/build.sh [2024-10-22T18:22:23.120Z] + dirname /tmp/sdk/scripts/build.sh [2024-10-22T18:22:23.120Z] + dirname /tmp/sdk/scripts [2024-10-22T18:22:23.120Z] + ROOT=/tmp/sdk [2024-10-22T18:22:23.120Z] + cd /tmp/sdk [2024-10-22T18:22:23.120Z] + mkdir -p /tmp/sdk/build/release [2024-10-22T18:22:23.120Z] + cd /tmp/sdk/build/release [2024-10-22T18:22:23.120Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2024-10-22T18:22:23.120Z] -- The C compiler identification is GNU 12.2.1 [2024-10-22T18:22:23.120Z] -- Detecting C compiler ABI info [2024-10-22T18:22:23.120Z] -- Detecting C compiler ABI info - done [2024-10-22T18:22:23.120Z] -- Check for working C compiler: /usr/bin/cc - skipped [2024-10-22T18:22:23.120Z] -- Detecting C compile features [2024-10-22T18:22:23.120Z] -- Detecting C compile features - done [2024-10-22T18:22:23.120Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2024-10-22T18:22:23.120Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") [2024-10-22T18:22:23.120Z] -- Found LIBYAML: /usr/lib/libyaml.so [2024-10-22T18:22:23.120Z] -- Found LIBUUID: /usr/lib/libuuid.so [2024-10-22T18:22:23.120Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2024-10-22T18:22:23.120Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2024-10-22T18:22:23.120Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2024-10-22T18:22:23.378Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2024-10-22T18:22:23.378Z] -- /opt/iotech/iot/1.5/include [2024-10-22T18:22:23.378Z] -- C SDK 0.0.0 for Linux [2024-10-22T18:22:23.378Z] -- Performing Test CSDK_HAVE_ATOMIC [2024-10-22T18:22:23.378Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2024-10-22T18:22:23.378Z] -- Found Curses: /usr/lib/libcurses.so [2024-10-22T18:22:23.378Z] -- Configuring done (0.5s) [2024-10-22T18:22:23.378Z] -- Generating done (0.0s) [2024-10-22T18:22:23.378Z] -- Build files have been written to: /tmp/sdk/build/release [2024-10-22T18:22:23.378Z] + make all package [2024-10-22T18:22:23.378Z] + tee release.log [2024-10-22T18:22:23.378Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2024-10-22T18:22:23.637Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2024-10-22T18:22:23.637Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2024-10-22T18:22:23.897Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2024-10-22T18:22:23.897Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2024-10-22T18:22:24.155Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2024-10-22T18:22:24.416Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2024-10-22T18:22:24.692Z] /tmp/sdk/src/c/consul.c: In function 'edgex_consul_client_get_common_config': [2024-10-22T18:22:24.692Z] /tmp/sdk/src/c/consul.c:294:10: warning: 'privateConfig' may be used uninitialized [-Wmaybe-uninitialized] [2024-10-22T18:22:24.692Z] 294 | while (privateConfig) [2024-10-22T18:22:24.692Z] | ^~~~~~~~~~~~~ [2024-10-22T18:22:24.692Z] /tmp/sdk/src/c/consul.c:214:28: note: 'privateConfig' was declared here [2024-10-22T18:22:24.692Z] 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; [2024-10-22T18:22:24.692Z] | ^~~~~~~~~~~~~ [2024-10-22T18:22:24.692Z] /tmp/sdk/src/c/consul.c:271:10: warning: 'result' may be used uninitialized [-Wmaybe-uninitialized] [2024-10-22T18:22:24.692Z] 271 | while (result) [2024-10-22T18:22:24.692Z] | ^~~~~~ [2024-10-22T18:22:24.692Z] /tmp/sdk/src/c/consul.c:214:19: note: 'result' was declared here [2024-10-22T18:22:24.692Z] 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; [2024-10-22T18:22:24.692Z] | ^~~~~~ [2024-10-22T18:22:24.692Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2024-10-22T18:22:24.692Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2024-10-22T18:22:24.692Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2024-10-22T18:22:24.951Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2024-10-22T18:22:25.210Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2024-10-22T18:22:25.210Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2024-10-22T18:22:25.470Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2024-10-22T18:22:25.470Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2024-10-22T18:22:25.728Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2024-10-22T18:22:25.728Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2024-10-22T18:22:25.987Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2024-10-22T18:22:25.987Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2024-10-22T18:22:26.247Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2024-10-22T18:22:26.506Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2024-10-22T18:22:27.446Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2024-10-22T18:22:27.446Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2024-10-22T18:22:27.706Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2024-10-22T18:22:27.706Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2024-10-22T18:22:27.706Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2024-10-22T18:22:27.964Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2024-10-22T18:22:28.224Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2024-10-22T18:22:28.483Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2024-10-22T18:22:28.483Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2024-10-22T18:22:28.483Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2024-10-22T18:22:28.741Z] /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2024-10-22T18:22:28.741Z] /tmp/sdk/src/c/service.c:916:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-10-22T18:22:28.741Z] 916 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); [2024-10-22T18:22:28.741Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-10-22T18:22:28.741Z] /tmp/sdk/src/c/service.c:917:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-10-22T18:22:28.741Z] 917 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); [2024-10-22T18:22:28.741Z] | ^ [2024-10-22T18:22:28.741Z] /tmp/sdk/src/c/service.c:1071:5: warning: 'deviceservices_config' may be used uninitialized [-Wmaybe-uninitialized] [2024-10-22T18:22:28.741Z] 1071 | edgex_device_parseClients (svc->logger, iot_data_string_map_get (deviceservices_config, "Clients"), &svc->config.endpoints); [2024-10-22T18:22:28.741Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-10-22T18:22:28.741Z] /tmp/sdk/src/c/service.c:883:68: note: 'deviceservices_config' was declared here [2024-10-22T18:22:28.741Z] 883 | iot_data_t *common_config_map, *private_config_map, *configmap, *deviceservices_config; [2024-10-22T18:22:28.741Z] | ^~~~~~~~~~~~~~~~~~~~~ [2024-10-22T18:22:29.000Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2024-10-22T18:22:29.259Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2024-10-22T18:22:29.259Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2024-10-22T18:22:29.259Z] [ 68%] Linking C shared library libcsdk.so [2024-10-22T18:22:29.259Z] [ 68%] Built target csdk [2024-10-22T18:22:29.259Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2024-10-22T18:22:29.518Z] [ 72%] Linking C executable template [2024-10-22T18:22:29.518Z] [ 72%] Built target template [2024-10-22T18:22:29.518Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2024-10-22T18:22:29.777Z] [ 76%] Linking C executable device-counter [2024-10-22T18:22:29.777Z] [ 76%] Built target device-counter [2024-10-22T18:22:29.777Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2024-10-22T18:22:29.777Z] [ 80%] Linking C executable device-random [2024-10-22T18:22:29.777Z] [ 80%] Built target device-random [2024-10-22T18:22:30.037Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2024-10-22T18:22:30.037Z] [ 84%] Linking C executable device-gyro [2024-10-22T18:22:30.037Z] [ 84%] Built target device-gyro [2024-10-22T18:22:30.037Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2024-10-22T18:22:30.295Z] [ 88%] Linking C executable device-bitfields [2024-10-22T18:22:30.296Z] [ 88%] Built target device-bitfields [2024-10-22T18:22:30.296Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2024-10-22T18:22:30.296Z] [ 92%] Linking C executable template-discovery [2024-10-22T18:22:30.555Z] [ 92%] Built target template-discovery [2024-10-22T18:22:30.555Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2024-10-22T18:22:30.555Z] [ 96%] Linking C executable device-file [2024-10-22T18:22:30.555Z] [ 96%] Built target device-file [2024-10-22T18:22:30.555Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2024-10-22T18:22:30.813Z] [100%] Linking C executable device-terminal [2024-10-22T18:22:30.813Z] [100%] Built target device-terminal [2024-10-22T18:22:30.813Z] Run CPack packaging tool... [2024-10-22T18:22:30.813Z] CPack: Create package using TGZ [2024-10-22T18:22:30.813Z] CPack: Install projects [2024-10-22T18:22:30.813Z] CPack: - Run preinstall target for: Csdk [2024-10-22T18:22:31.072Z] CPack: - Install project: Csdk [] [2024-10-22T18:22:31.072Z] CPack: Create package [2024-10-22T18:22:31.072Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2024-10-22T18:22:31.072Z] + '[' false '=' true ] [2024-10-22T18:22:31.072Z] + '[' false '=' true ] [2024-10-22T18:22:31.072Z] + mkdir -p /tmp/sdk/build/debug [2024-10-22T18:22:31.072Z] + cd /tmp/sdk/build/debug [2024-10-22T18:22:31.072Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2024-10-22T18:22:31.331Z] -- The C compiler identification is GNU 12.2.1 [2024-10-22T18:22:31.331Z] -- Detecting C compiler ABI info [2024-10-22T18:22:31.331Z] -- Detecting C compiler ABI info - done [2024-10-22T18:22:31.331Z] -- Check for working C compiler: /usr/bin/cc - skipped [2024-10-22T18:22:31.331Z] -- Detecting C compile features [2024-10-22T18:22:31.331Z] -- Detecting C compile features - done [2024-10-22T18:22:31.331Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2024-10-22T18:22:31.331Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") [2024-10-22T18:22:31.331Z] -- Found LIBYAML: /usr/lib/libyaml.so [2024-10-22T18:22:31.331Z] -- Found LIBUUID: /usr/lib/libuuid.so [2024-10-22T18:22:31.331Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2024-10-22T18:22:31.590Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2024-10-22T18:22:31.590Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2024-10-22T18:22:31.590Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2024-10-22T18:22:31.590Z] -- /opt/iotech/iot/1.5/include [2024-10-22T18:22:31.590Z] -- C SDK 0.0.0 for Linux [2024-10-22T18:22:31.590Z] -- Performing Test CSDK_HAVE_ATOMIC [2024-10-22T18:22:31.590Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2024-10-22T18:22:31.590Z] -- Found Curses: /usr/lib/libcurses.so [2024-10-22T18:22:31.590Z] -- Configuring done (0.4s) [2024-10-22T18:22:31.590Z] -- Generating done (0.0s) [2024-10-22T18:22:31.590Z] -- Build files have been written to: /tmp/sdk/build/debug [2024-10-22T18:22:31.590Z] + make [2024-10-22T18:22:31.590Z] + tee debug.log [2024-10-22T18:22:31.590Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2024-10-22T18:22:31.848Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2024-10-22T18:22:31.848Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2024-10-22T18:22:31.848Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2024-10-22T18:22:32.106Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2024-10-22T18:22:32.106Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2024-10-22T18:22:32.106Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2024-10-22T18:22:32.365Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2024-10-22T18:22:32.365Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2024-10-22T18:22:32.365Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2024-10-22T18:22:32.624Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2024-10-22T18:22:32.624Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2024-10-22T18:22:32.624Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2024-10-22T18:22:32.624Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2024-10-22T18:22:32.883Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2024-10-22T18:22:32.883Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2024-10-22T18:22:32.883Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2024-10-22T18:22:33.143Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2024-10-22T18:22:33.143Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2024-10-22T18:22:33.143Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2024-10-22T18:22:33.143Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2024-10-22T18:22:33.402Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2024-10-22T18:22:33.402Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2024-10-22T18:22:33.661Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2024-10-22T18:22:33.661Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2024-10-22T18:22:33.661Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2024-10-22T18:22:33.920Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2024-10-22T18:22:33.920Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2024-10-22T18:22:34.179Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2024-10-22T18:22:34.179Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2024-10-22T18:22:34.179Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2024-10-22T18:22:34.179Z] /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2024-10-22T18:22:34.179Z] /tmp/sdk/src/c/service.c:916:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-10-22T18:22:34.179Z] 916 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); [2024-10-22T18:22:34.179Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-10-22T18:22:34.179Z] /tmp/sdk/src/c/service.c:917:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-10-22T18:22:34.179Z] 917 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); [2024-10-22T18:22:34.179Z] | ^ [2024-10-22T18:22:34.438Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2024-10-22T18:22:34.438Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2024-10-22T18:22:34.438Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2024-10-22T18:22:34.438Z] [ 68%] Linking C shared library libcsdk.so [2024-10-22T18:22:34.697Z] [ 68%] Built target csdk [2024-10-22T18:22:34.697Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2024-10-22T18:22:34.697Z] [ 72%] Linking C executable template [2024-10-22T18:22:34.697Z] [ 72%] Built target template [2024-10-22T18:22:34.697Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2024-10-22T18:22:34.697Z] [ 76%] Linking C executable device-counter [2024-10-22T18:22:34.955Z] [ 76%] Built target device-counter [2024-10-22T18:22:34.955Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2024-10-22T18:22:34.955Z] [ 80%] Linking C executable device-random [2024-10-22T18:22:34.955Z] [ 80%] Built target device-random [2024-10-22T18:22:34.955Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2024-10-22T18:22:34.955Z] [ 84%] Linking C executable device-gyro [2024-10-22T18:22:35.215Z] [ 84%] Built target device-gyro [2024-10-22T18:22:35.215Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2024-10-22T18:22:35.215Z] [ 88%] Linking C executable device-bitfields [2024-10-22T18:22:35.215Z] [ 88%] Built target device-bitfields [2024-10-22T18:22:35.215Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2024-10-22T18:22:35.476Z] [ 92%] Linking C executable template-discovery [2024-10-22T18:22:35.476Z] [ 92%] Built target template-discovery [2024-10-22T18:22:35.476Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2024-10-22T18:22:35.476Z] [ 96%] Linking C executable device-file [2024-10-22T18:22:35.736Z] [ 96%] Built target device-file [2024-10-22T18:22:35.736Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2024-10-22T18:22:35.736Z] [100%] Linking C executable device-terminal [2024-10-22T18:22:35.736Z] [100%] Built target device-terminal [2024-10-22T18:22:35.736Z] make: Entering directory '/tmp/sdk/build/release' [2024-10-22T18:22:35.736Z] [ 68%] Built target csdk [2024-10-22T18:22:35.736Z] [ 72%] Built target template [2024-10-22T18:22:35.996Z] [ 76%] Built target device-counter [2024-10-22T18:22:35.996Z] [ 80%] Built target device-random [2024-10-22T18:22:35.996Z] [ 84%] Built target device-gyro [2024-10-22T18:22:35.996Z] [ 88%] Built target device-bitfields [2024-10-22T18:22:35.996Z] [ 92%] Built target template-discovery [2024-10-22T18:22:35.996Z] [ 96%] Built target device-file [2024-10-22T18:22:35.996Z] [100%] Built target device-terminal [2024-10-22T18:22:35.996Z] Install the project... [2024-10-22T18:22:35.996Z] -- Install configuration: "Release" [2024-10-22T18:22:35.996Z] -- Installing: /usr/local/lib/libcsdk.so [2024-10-22T18:22:35.996Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2024-10-22T18:22:35.996Z] -- Installing: /usr/local/include [2024-10-22T18:22:35.996Z] -- Installing: /usr/local/include/devsdk [2024-10-22T18:22:35.996Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2024-10-22T18:22:35.996Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2024-10-22T18:22:35.996Z] -- Installing: /usr/local/include/edgex [2024-10-22T18:22:35.996Z] -- Installing: /usr/local/include/edgex/edgex.h [2024-10-22T18:22:35.996Z] -- Installing: /usr/local/include/edgex/devices.h [2024-10-22T18:22:35.996Z] -- Installing: /usr/local/include/edgex/profiles.h [2024-10-22T18:22:35.996Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2024-10-22T18:22:35.996Z] -- Installing: /usr/local/include/edgex/rest-server.h [2024-10-22T18:22:35.996Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2024-10-22T18:22:35.996Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2024-10-22T18:22:35.996Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2024-10-22T18:22:35.996Z] make: Leaving directory '/tmp/sdk/build/release' [2024-10-22T18:22:36.934Z] Removing intermediate container f258a9359b11 [2024-10-22T18:22:36.934Z] ---> 93ab1be994dd [2024-10-22T18:22:36.934Z] Step 14/22 : FROM ${BASE} [2024-10-22T18:22:36.934Z] ---> 6605166a5db4 [2024-10-22T18:22:36.934Z] Step 15/22 : LABEL maintainer="IOTech " [2024-10-22T18:22:36.934Z] ---> Running in 7a09deaac0c8 [2024-10-22T18:22:36.934Z] Removing intermediate container 7a09deaac0c8 [2024-10-22T18:22:36.934Z] ---> 63c57396200a [2024-10-22T18:22:36.934Z] 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-10-22T18:22:36.934Z] ---> Running in 712c352f82d9 [2024-10-22T18:22:37.193Z] Connecting to iotech.jfrog.io (54.73.4.50:443) [2024-10-22T18:22:37.452Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-10-22T18:22:37.452Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-10-22T18:22:37.452Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-10-22T18:22:37.710Z] Removing intermediate container 712c352f82d9 [2024-10-22T18:22:37.710Z] ---> 45179fcb444d [2024-10-22T18:22:37.710Z] Step 17/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-10-22T18:22:37.710Z] ---> Running in 755d376ace15 [2024-10-22T18:22:38.275Z] Removing intermediate container 755d376ace15 [2024-10-22T18:22:38.275Z] ---> 88ef8217103c [2024-10-22T18:22:38.275Z] 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-10-22T18:22:38.275Z] ---> Running in 5a1da2510413 [2024-10-22T18:22:38.537Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-10-22T18:22:38.801Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-10-22T18:22:39.060Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-10-22T18:22:39.319Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-10-22T18:22:39.319Z] (1/10) Upgrading libcurl (8.4.0-r0 -> 8.9.1-r1) [2024-10-22T18:22:39.319Z] (2/10) Installing curl (8.9.1-r1) [2024-10-22T18:22:39.577Z] (3/10) Upgrading curl-dev (8.4.0-r0 -> 8.9.1-r1) [2024-10-22T18:22:39.577Z] (4/10) Installing dumb-init (1.2.5-r2) [2024-10-22T18:22:39.577Z] (5/10) Installing hiredis (1.1.0-r2) [2024-10-22T18:22:39.577Z] (6/10) Installing hiredis-dev (1.1.0-r2) [2024-10-22T18:22:39.577Z] (7/10) Installing libcbor (0.10.2-r1) [2024-10-22T18:22:39.577Z] (8/10) Installing iotech-iot-1.5 (1.5.4-r2) [2024-10-22T18:22:40.147Z] (9/10) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) [2024-10-22T18:22:40.405Z] (10/10) Installing libuuid (2.38.1-r8) [2024-10-22T18:22:40.405Z] Executing busybox-1.36.1-r4.trigger [2024-10-22T18:22:40.405Z] OK: 331 MiB in 90 packages [2024-10-22T18:22:40.972Z] Removing intermediate container 5a1da2510413 [2024-10-22T18:22:40.972Z] ---> 882850c9a5d8 [2024-10-22T18:22:40.972Z] Step 19/22 : RUN apk --no-cache upgrade [2024-10-22T18:22:40.972Z] ---> Running in 835c3de56970 [2024-10-22T18:22:41.229Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-10-22T18:22:41.229Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-10-22T18:22:41.229Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-10-22T18:22:41.796Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-10-22T18:22:41.797Z] Upgrading critical system libraries and apk-tools: [2024-10-22T18:22:41.797Z] (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) [2024-10-22T18:22:41.797Z] Executing busybox-1.36.1-r4.trigger [2024-10-22T18:22:42.056Z] Continuing the upgrade transaction with new apk-tools: [2024-10-22T18:22:42.056Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-10-22T18:22:42.056Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-10-22T18:22:42.056Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-10-22T18:22:42.622Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-10-22T18:22:42.622Z] (1/14) Upgrading busybox (1.36.1-r4 -> 1.36.1-r7) [2024-10-22T18:22:42.622Z] Executing busybox-1.36.1-r7.post-upgrade [2024-10-22T18:22:42.622Z] (2/14) Upgrading busybox-binsh (1.36.1-r4 -> 1.36.1-r7) [2024-10-22T18:22:42.622Z] (3/14) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) [2024-10-22T18:22:42.622Z] (4/14) Upgrading libcrypto3 (3.1.4-r0 -> 3.1.7-r1) [2024-10-22T18:22:42.622Z] (5/14) Upgrading libssl3 (3.1.4-r0 -> 3.1.7-r1) [2024-10-22T18:22:42.622Z] (6/14) Upgrading ssl_client (1.36.1-r4 -> 1.36.1-r7) [2024-10-22T18:22:42.622Z] (7/14) Upgrading libexpat (2.5.0-r1 -> 2.6.3-r0) [2024-10-22T18:22:42.622Z] (8/14) Upgrading libarchive (3.7.2-r0 -> 3.7.6-r0) [2024-10-22T18:22:42.622Z] (9/14) Upgrading ca-certificates (20230506-r0 -> 20240226-r0) [2024-10-22T18:22:42.622Z] (10/14) Upgrading openssl-dev (3.1.4-r0 -> 3.1.7-r1) [2024-10-22T18:22:42.622Z] (11/14) Upgrading git (2.40.1-r0 -> 2.40.3-r0) [2024-10-22T18:22:42.881Z] (12/14) Upgrading gnutls (3.8.0-r2 -> 3.8.4-r0) [2024-10-22T18:22:42.881Z] (13/14) Upgrading gnutls-c++ (3.8.0-r2 -> 3.8.4-r0) [2024-10-22T18:22:42.881Z] (14/14) Upgrading gnutls-dev (3.8.0-r2 -> 3.8.4-r0) [2024-10-22T18:22:42.881Z] Executing busybox-1.36.1-r7.trigger [2024-10-22T18:22:42.881Z] Executing ca-certificates-20240226-r0.trigger [2024-10-22T18:22:42.881Z] OK: 332 MiB in 90 packages [2024-10-22T18:22:43.814Z] Removing intermediate container 835c3de56970 [2024-10-22T18:22:43.814Z] ---> 49e33a59f5ad [2024-10-22T18:22:43.814Z] Step 20/22 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2024-10-22T18:22:44.074Z] ---> 99b890711e84 [2024-10-22T18:22:44.074Z] Step 21/22 : COPY --from=builder /usr/local/lib /usr/local/lib [2024-10-22T18:22:44.074Z] ---> f83522df7b54 [2024-10-22T18:22:44.074Z] Step 22/22 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2024-10-22T18:22:44.338Z] ---> 9ec5ea151419 [2024-10-22T18:22:44.338Z] Successfully built 9ec5ea151419 [2024-10-22T18:22:44.338Z] 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-10-22T18:22:45.105Z] + docker inspect -f . ci-base-image-x86_64 [2024-10-22T18:22:45.105Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-22T18:22:45.268Z] prd-ubuntu20.04-docker-8c-8g-23536 does not seem to be running inside a container [2024-10-22T18:22:45.304Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-c_PR-518 -v /w/workspace/edgexfoundry_device-sdk-c_PR-518:/w/workspace/edgexfoundry_device-sdk-c_PR-518:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-518@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-518@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 ******** ci-base-image-x86_64 cat [2024-10-22T18:22:45.635Z] $ docker top 80cdd43c5c002c6e057da06afdf973b27ddb3bc5213754d0fde941dcb28e0cc1 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-22T18:22:46.062Z] + make test [2024-10-22T18:22:46.062Z] echo "make test" [2024-10-22T18:22:46.062Z] make test [Pipeline] } [2024-10-22T18:22:46.100Z] $ docker stop --time=1 80cdd43c5c002c6e057da06afdf973b27ddb3bc5213754d0fde941dcb28e0cc1 [2024-10-22T18:22:47.368Z] $ docker rm -f --volumes 80cdd43c5c002c6e057da06afdf973b27ddb3bc5213754d0fde941dcb28e0cc1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-10-22T18:22:48.314Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-10-22T18:22:48.642Z] + ls -al . [2024-10-22T18:22:48.642Z] total 212 [2024-10-22T18:22:48.642Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 22 18:22 . [2024-10-22T18:22:48.642Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 22 18:21 .. [2024-10-22T18:22:48.642Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 22 18:22 .git [2024-10-22T18:22:48.642Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 22 18:21 .github [2024-10-22T18:22:48.642Z] -rw-rw-r-- 1 jenkins jenkins 176 Oct 22 18:21 .gitignore [2024-10-22T18:22:48.642Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 22 18:22 .semver [2024-10-22T18:22:48.642Z] -rw-rw-r-- 1 jenkins jenkins 2908 Oct 22 18:21 Attribution.txt [2024-10-22T18:22:48.642Z] -rw-rw-r-- 1 jenkins jenkins 11953 Oct 22 18:21 CHANGELOG.md [2024-10-22T18:22:48.642Z] -rw-rw-r-- 1 jenkins jenkins 108574 Oct 22 18:21 Doxyfile [2024-10-22T18:22:48.642Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 22 18:21 GOVERNANCE.md [2024-10-22T18:22:48.642Z] -rw-rw-r-- 1 jenkins jenkins 784 Oct 22 18:21 Jenkinsfile [2024-10-22T18:22:48.642Z] -rw-rw-r-- 1 jenkins jenkins 10174 Oct 22 18:21 LICENSE [2024-10-22T18:22:48.642Z] -rw-rw-r-- 1 jenkins jenkins 444 Oct 22 18:21 Makefile [2024-10-22T18:22:48.642Z] -rw-rw-r-- 1 jenkins jenkins 618 Oct 22 18:21 OWNERS.md [2024-10-22T18:22:48.642Z] -rw-rw-r-- 1 jenkins jenkins 1651 Oct 22 18:21 README.IOT.md [2024-10-22T18:22:48.642Z] -rw-rw-r-- 1 jenkins jenkins 4215 Oct 22 18:21 README.md [2024-10-22T18:22:48.642Z] -rw-rw-r-- 1 jenkins jenkins 1245 Oct 22 18:21 README.v3.md [2024-10-22T18:22:48.642Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 22 18:22 VERSION [2024-10-22T18:22:48.642Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 22 18:21 docs [2024-10-22T18:22:48.642Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 22 18:21 include [2024-10-22T18:22:48.642Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 22 18:21 scripts [2024-10-22T18:22:48.642Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 22 18:21 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-22T18:22:49.078Z] + 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=ed5efed169abac3de29651138726e3fff7b5cf65 --label arch=amd64 --label version=0.0.0 . [2024-10-22T18:22:49.079Z] Sending build context to Docker daemon 5.108MB [2024-10-22T18:22:49.079Z] Step 1/18 : ARG BASE=alpine:3.18 [2024-10-22T18:22:49.079Z] Step 2/18 : FROM ${BASE} [2024-10-22T18:22:49.079Z] ---> 9ec5ea151419 [2024-10-22T18:22:49.079Z] Step 3/18 : LABEL maintainer="IOTech " [2024-10-22T18:22:49.079Z] ---> Running in 12eb2367cfd0 [2024-10-22T18:22:49.338Z] Removing intermediate container 12eb2367cfd0 [2024-10-22T18:22:49.338Z] ---> 77f9dbe5ac63 [2024-10-22T18:22:49.338Z] 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-10-22T18:22:49.338Z] ---> Running in 6cf33892422d [2024-10-22T18:22:49.599Z] Connecting to iotech.jfrog.io (34.247.22.236:443) [2024-10-22T18:22:49.861Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-10-22T18:22:49.861Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-10-22T18:22:49.861Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-10-22T18:22:50.121Z] Removing intermediate container 6cf33892422d [2024-10-22T18:22:50.121Z] ---> 663fa65d139b [2024-10-22T18:22:50.121Z] Step 5/18 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-10-22T18:22:50.121Z] ---> Running in 78526f55f0c4 [2024-10-22T18:22:50.689Z] Removing intermediate container 78526f55f0c4 [2024-10-22T18:22:50.689Z] ---> dbd4001ffd2d [2024-10-22T18:22:50.689Z] 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-10-22T18:22:50.689Z] ---> Running in 9109b0535e0b [2024-10-22T18:22:50.948Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-10-22T18:22:51.206Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-10-22T18:22:51.206Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-10-22T18:22:51.774Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-10-22T18:22:51.774Z] (1/11) Installing iotech-iot-1.5-dev (1.5.4-r2) [2024-10-22T18:22:53.657Z] (2/11) Installing libcbor-dev (0.10.2-r1) [2024-10-22T18:22:53.657Z] (3/11) Installing libmenuw (6.4_p20230506-r0) [2024-10-22T18:22:53.657Z] (4/11) Installing libpanelw (6.4_p20230506-r0) [2024-10-22T18:22:53.657Z] (5/11) Installing libncurses++ (6.4_p20230506-r0) [2024-10-22T18:22:53.657Z] (6/11) Installing ncurses-dev (6.4_p20230506-r0) [2024-10-22T18:22:53.657Z] (7/11) Installing libblkid (2.38.1-r8) [2024-10-22T18:22:53.657Z] (8/11) Installing libfdisk (2.38.1-r8) [2024-10-22T18:22:53.657Z] (9/11) Installing libmount (2.38.1-r8) [2024-10-22T18:22:53.657Z] (10/11) Installing libsmartcols (2.38.1-r8) [2024-10-22T18:22:53.657Z] (11/11) Installing util-linux-dev (2.38.1-r8) [2024-10-22T18:22:53.657Z] Executing busybox-1.36.1-r7.trigger [2024-10-22T18:22:53.657Z] OK: 337 MiB in 101 packages [2024-10-22T18:22:53.657Z] Removing intermediate container 9109b0535e0b [2024-10-22T18:22:53.657Z] ---> ed9970083808 [2024-10-22T18:22:53.657Z] Step 7/18 : RUN apk --no-cache upgrade [2024-10-22T18:22:53.657Z] ---> Running in cf7a36f03037 [2024-10-22T18:22:53.657Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-10-22T18:22:53.917Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-10-22T18:22:53.917Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-10-22T18:22:55.063Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-10-22T18:22:55.063Z] OK: 337 MiB in 101 packages [2024-10-22T18:22:55.063Z] Removing intermediate container cf7a36f03037 [2024-10-22T18:22:55.063Z] ---> 4e24a20124ae [2024-10-22T18:22:55.063Z] Step 8/18 : COPY VERSION /edgex-c-sdk/ [2024-10-22T18:22:55.063Z] ---> 9e59ac46b9d6 [2024-10-22T18:22:55.063Z] Step 9/18 : COPY src /edgex-c-sdk/src/ [2024-10-22T18:22:55.063Z] ---> f1693f2f0f7a [2024-10-22T18:22:55.063Z] Step 10/18 : COPY include /edgex-c-sdk/include/ [2024-10-22T18:22:55.322Z] ---> 536974793de7 [2024-10-22T18:22:55.322Z] Step 11/18 : COPY scripts /edgex-c-sdk/scripts [2024-10-22T18:22:55.322Z] ---> f2468400cb44 [2024-10-22T18:22:55.322Z] Step 12/18 : COPY LICENSE /edgex-c-sdk/ [2024-10-22T18:22:55.322Z] ---> ef9475249b9c [2024-10-22T18:22:55.322Z] Step 13/18 : COPY Attribution.txt /edgex-c-sdk/ [2024-10-22T18:22:56.424Z] ---> 3240bbfa6b78 [2024-10-22T18:22:56.424Z] Step 14/18 : WORKDIR /edgex-c-sdk [2024-10-22T18:22:56.425Z] ---> Running in c36c64da596e [2024-10-22T18:22:56.425Z] Removing intermediate container c36c64da596e [2024-10-22T18:22:56.425Z] ---> f57bd253955b [2024-10-22T18:22:56.425Z] Step 15/18 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2024-10-22T18:22:56.425Z] ---> Running in bc6b67d92e40 [2024-10-22T18:22:56.425Z] Removing intermediate container bc6b67d92e40 [2024-10-22T18:22:56.425Z] ---> 7bfcdd6da86f [2024-10-22T18:22:56.425Z] Step 16/18 : LABEL arch=amd64 [2024-10-22T18:22:56.425Z] ---> Running in bb4ba248aab2 [2024-10-22T18:22:56.425Z] Removing intermediate container bb4ba248aab2 [2024-10-22T18:22:56.425Z] ---> 528ac55e0ab6 [2024-10-22T18:22:56.425Z] Step 17/18 : LABEL git_sha=ed5efed169abac3de29651138726e3fff7b5cf65 [2024-10-22T18:22:56.425Z] ---> Running in c3daa835b44b [2024-10-22T18:22:56.425Z] Removing intermediate container c3daa835b44b [2024-10-22T18:22:56.425Z] ---> 610fea1f69a1 [2024-10-22T18:22:56.425Z] Step 18/18 : LABEL version=0.0.0 [2024-10-22T18:22:56.425Z] ---> Running in ff820fa3ae13 [2024-10-22T18:22:56.425Z] Removing intermediate container ff820fa3ae13 [2024-10-22T18:22:56.425Z] ---> 2fda5bfbfe51 [2024-10-22T18:22:56.425Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2024-10-22T18:22:56.425Z] Successfully built 2fda5bfbfe51 [2024-10-22T18:22:56.425Z] 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-10-22T18:22:57.495Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-22T18:22:57.495Z] [2024-10-22T18:22:57.495Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-22T18:22:57.894Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-22T18:22:57.894Z] latest: Pulling from edgex-lftools-log-publisher [2024-10-22T18:22:57.894Z] 5eb5b503b376: Pulling fs layer [2024-10-22T18:22:57.894Z] 5c69ac0246d0: Pulling fs layer [2024-10-22T18:22:57.894Z] ec43610c2a17: Pulling fs layer [2024-10-22T18:22:57.894Z] 3a2ae6a8a46f: Pulling fs layer [2024-10-22T18:22:57.894Z] 33b1e0a273af: Pulling fs layer [2024-10-22T18:22:57.894Z] 5d3b04190fa2: Pulling fs layer [2024-10-22T18:22:57.894Z] 2f39f015ded8: Pulling fs layer [2024-10-22T18:22:57.894Z] 3a2ae6a8a46f: Waiting [2024-10-22T18:22:57.894Z] 33b1e0a273af: Waiting [2024-10-22T18:22:57.894Z] 5d3b04190fa2: Waiting [2024-10-22T18:22:57.894Z] 2f39f015ded8: Waiting [2024-10-22T18:22:57.894Z] 5c69ac0246d0: Download complete [2024-10-22T18:22:57.894Z] 3a2ae6a8a46f: Download complete [2024-10-22T18:22:57.894Z] 33b1e0a273af: Verifying Checksum [2024-10-22T18:22:57.894Z] 33b1e0a273af: Download complete [2024-10-22T18:22:57.894Z] 5d3b04190fa2: Verifying Checksum [2024-10-22T18:22:57.894Z] 5d3b04190fa2: Download complete [2024-10-22T18:22:57.894Z] ec43610c2a17: Verifying Checksum [2024-10-22T18:22:57.894Z] ec43610c2a17: Download complete [2024-10-22T18:22:58.153Z] 5eb5b503b376: Verifying Checksum [2024-10-22T18:22:58.153Z] 5eb5b503b376: Download complete [2024-10-22T18:22:59.370Z] 5eb5b503b376: Pull complete [2024-10-22T18:22:59.371Z] 5c69ac0246d0: Pull complete [2024-10-22T18:22:59.651Z] 2f39f015ded8: Download complete [2024-10-22T18:22:59.910Z] ec43610c2a17: Pull complete [2024-10-22T18:22:59.910Z] 3a2ae6a8a46f: Pull complete [2024-10-22T18:23:00.169Z] 33b1e0a273af: Pull complete [2024-10-22T18:23:00.169Z] 5d3b04190fa2: Pull complete [2024-10-22T18:23:04.357Z] 2f39f015ded8: Pull complete [2024-10-22T18:23:04.357Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-10-22T18:23:04.357Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-22T18:23:04.357Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-22T18:23:04.604Z] prd-ubuntu20.04-docker-8c-8g-23536 does not seem to be running inside a container [2024-10-22T18:23:04.633Z] $ 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-518 -v /w/workspace/edgexfoundry_device-sdk-c_PR-518:/w/workspace/edgexfoundry_device-sdk-c_PR-518:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-518@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-518@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-10-22T18:23:09.785Z] $ docker top e7c8fe6806743f3024c69dffa686fa4d36e825420bceb6ed05896ae0832fa394 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-22T18:23:10.266Z] ---> job-cost.sh [2024-10-22T18:23:10.266Z] lf-activate-venv: SKIPPING [2024-10-22T18:23:10.266Z] INFO: No Stack... [2024-10-22T18:23:10.836Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-10-22T18:23:11.774Z] INFO: Archiving Costs [Pipeline] sh [2024-10-22T18:23:12.098Z] + cat+ /w/workspace/edgexfoundry_device-sdk-c_PR-518/archives/cost.csv [2024-10-22T18:23:12.098Z] cut -d, -f6 [Pipeline] lock [2024-10-22T18:23:12.152Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-c-PR-518-1-stack-cost] [2024-10-22T18:23:12.160Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-518-1-stack-cost] did not exist. Created. [2024-10-22T18:23:12.168Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-c-PR-518-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-10-22T18:23:12.589Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-10-22T18:23:12.663Z] Stashed 1 file(s) [Pipeline] } [2024-10-22T18:23:12.685Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-c-PR-518-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-10-22T18:23:12.776Z] $ docker stop --time=1 e7c8fe6806743f3024c69dffa686fa4d36e825420bceb6ed05896ae0832fa394 [2024-10-22T18:23:13.946Z] $ docker rm -f --volumes e7c8fe6806743f3024c69dffa686fa4d36e825420bceb6ed05896ae0832fa394 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-10-22T18:26:03.469Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-23537 in /w/workspace/edgexfoundry_device-sdk-c_PR-518 [Pipeline] { [Pipeline] ws [2024-10-22T18:26:03.544Z] Running in /w/workspace/device-sdk-c/1 [Pipeline] { [Pipeline] checkout [2024-10-22T18:26:06.660Z] Selected Git installation does not exist. Using Default [2024-10-22T18:26:06.660Z] The recommended git tool is: NONE [2024-10-22T18:26:15.872Z] using credential edgex-jenkins-ssh [2024-10-22T18:26:15.904Z] Cloning the remote Git repository [2024-10-22T18:26:15.980Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2024-10-22T18:26:16.156Z] > git init /w/workspace/device-sdk-c/1 # timeout=10 [2024-10-22T18:26:16.418Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2024-10-22T18:26:16.419Z] > git --version # timeout=10 [2024-10-22T18:26:16.460Z] > git --version # 'git version 2.25.1' [2024-10-22T18:26:16.469Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-10-22T18:26:16.692Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-10-22T18:26:17.785Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2024-10-22T18:26:17.810Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-10-22T18:26:19.782Z] Merging remotes/origin/main commit de2f7dd484aed31b8929cc3252062c81ad15313f into PR head commit ed5efed169abac3de29651138726e3fff7b5cf65 [2024-10-22T18:26:20.232Z] Merge succeeded, producing ed5efed169abac3de29651138726e3fff7b5cf65 [2024-10-22T18:26:20.232Z] Checking out Revision ed5efed169abac3de29651138726e3fff7b5cf65 (PR-518) [2024-10-22T18:26:19.079Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2024-10-22T18:26:19.173Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2024-10-22T18:26:19.174Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-10-22T18:26:19.216Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/518/head:refs/remotes/origin/PR-518 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-10-22T18:26:19.815Z] > git config core.sparsecheckout # timeout=10 [2024-10-22T18:26:19.943Z] > git checkout -f ed5efed169abac3de29651138726e3fff7b5cf65 # timeout=10 [2024-10-22T18:26:20.104Z] > git remote # timeout=10 [2024-10-22T18:26:20.124Z] > git config --get remote.origin.url # timeout=10 [2024-10-22T18:26:20.152Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-10-22T18:26:20.178Z] > git merge de2f7dd484aed31b8929cc3252062c81ad15313f # timeout=10 [2024-10-22T18:26:20.205Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-10-22T18:26:20.234Z] > git config core.sparsecheckout # timeout=10 [2024-10-22T18:26:20.248Z] > git checkout -f ed5efed169abac3de29651138726e3fff7b5cf65 # timeout=10 [2024-10-22T18:26:23.922Z] Commit message: "bug: Only 20 devices end up in devmap (#555)" [2024-10-22T18:26:23.982Z] > git --version # timeout=10 [2024-10-22T18:26:23.996Z] > git --version # 'git version 2.25.1' [2024-10-22T18:26:24.020Z] fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-10-22T18:26:26.188Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-10-22T18:26:26.188Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-10-22T18:26:26.188Z] Dload Upload Total Spent Left Speed [2024-10-22T18:26:26.188Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 87863 0 --:--:-- --:--:-- --:--:-- 88468 [Pipeline] sh [2024-10-22T18:26:26.539Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-10-22T18:26:26.895Z] + + sudo tee /etc/docker/daemon.newsudo [2024-10-22T18:26:26.895Z] jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-10-22T18:26:26.895Z] { [2024-10-22T18:26:26.895Z] "registry-mirrors": [ [2024-10-22T18:26:26.895Z] "https://nexus3.edgexfoundry.org:10001" [2024-10-22T18:26:26.895Z] ], [2024-10-22T18:26:26.895Z] "bip": "10.250.0.254/24", [2024-10-22T18:26:26.895Z] "hosts": [ [2024-10-22T18:26:26.895Z] "tcp://0.0.0.0:5555", [2024-10-22T18:26:26.895Z] "unix:///var/run/docker.sock" [2024-10-22T18:26:26.895Z] ], [2024-10-22T18:26:26.895Z] "mtu": 1458, [2024-10-22T18:26:26.895Z] "selinux-enabled": true, [2024-10-22T18:26:26.895Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-10-22T18:26:26.895Z] } [Pipeline] sh [2024-10-22T18:26:27.247Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-10-22T18:26:27.603Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-22T18:26:46.208Z] provisioning config files... [2024-10-22T18:26:46.247Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/1@tmp/config7172229716706207276tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-22T18:26:46.741Z] ---> ****-login.sh [2024-10-22T18:26:46.742Z] nexus3.edgexfoundry.org:10001 [2024-10-22T18:26:47.329Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-22T18:26:47.599Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-22T18:26:47.599Z] Configure a credential helper to remove this warning. See [2024-10-22T18:26:47.599Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-22T18:26:47.599Z] [2024-10-22T18:26:47.599Z] Login Succeeded [2024-10-22T18:26:47.599Z] nexus3.edgexfoundry.org:10002 [2024-10-22T18:26:47.599Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-22T18:26:47.872Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-22T18:26:47.872Z] Configure a credential helper to remove this warning. See [2024-10-22T18:26:47.872Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-22T18:26:47.872Z] [2024-10-22T18:26:47.872Z] Login Succeeded [2024-10-22T18:26:47.872Z] nexus3.edgexfoundry.org:10003 [2024-10-22T18:26:48.149Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-22T18:26:48.150Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-22T18:26:48.150Z] Configure a credential helper to remove this warning. See [2024-10-22T18:26:48.150Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-22T18:26:48.150Z] [2024-10-22T18:26:48.150Z] Login Succeeded [2024-10-22T18:26:48.482Z] nexus3.edgexfoundry.org:10004 [2024-10-22T18:26:48.482Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-22T18:26:48.757Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-22T18:26:48.757Z] Configure a credential helper to remove this warning. See [2024-10-22T18:26:48.757Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-22T18:26:48.757Z] [2024-10-22T18:26:48.757Z] Login Succeeded [2024-10-22T18:26:48.757Z] ****.io [2024-10-22T18:26:49.032Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-22T18:26:49.303Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-22T18:26:49.303Z] Configure a credential helper to remove this warning. See [2024-10-22T18:26:49.303Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-22T18:26:49.303Z] [2024-10-22T18:26:49.303Z] Login Succeeded [2024-10-22T18:26:49.303Z] ---> ****-login.sh ends [Pipeline] } [2024-10-22T18:26:49.342Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-10-22T18:26:49.823Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-22T18:26:49.864Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-arm64 [Pipeline] echo [2024-10-22T18:26:49.912Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-22T18:26:49.960Z] ========================================================= [2024-10-22T18:26:49.960Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] [2024-10-22T18:26:49.960Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-22T18:26:50.457Z] + 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-10-22T18:26:50.727Z] Sending build context to Docker daemon 3.068MB [2024-10-22T18:26:50.995Z] Step 1/22 : ARG BASE=alpine:3.18 [2024-10-22T18:26:50.995Z] Step 2/22 : FROM ${BASE} as builder [2024-10-22T18:26:50.995Z] latest: Pulling from edgex-devops/edgex-gcc-base-arm64 [2024-10-22T18:26:50.995Z] 579b34f0a95b: Pulling fs layer [2024-10-22T18:26:50.995Z] e71477ac5e1b: Pulling fs layer [2024-10-22T18:26:51.267Z] 579b34f0a95b: Download complete [2024-10-22T18:26:51.853Z] 579b34f0a95b: Pull complete [2024-10-22T18:26:53.796Z] e71477ac5e1b: Download complete [2024-10-22T18:27:06.116Z] e71477ac5e1b: Pull complete [2024-10-22T18:27:06.116Z] Digest: sha256:d6da9bdca73313daf4d05ece6476ab4dbe9e0e950a139422d865873582b0d46d [2024-10-22T18:27:06.116Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest [2024-10-22T18:27:06.116Z] ---> 2b552cad5dd9 [2024-10-22T18:27:06.116Z] 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-10-22T18:27:06.388Z] ---> Running in 159f92e310d5 [2024-10-22T18:27:07.362Z] Connecting to iotech.jfrog.io (54.73.4.50:443) [2024-10-22T18:27:07.945Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-10-22T18:27:07.945Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-10-22T18:27:07.945Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-10-22T18:27:08.907Z] Removing intermediate container 159f92e310d5 [2024-10-22T18:27:08.907Z] ---> deeb3173e7d7 [2024-10-22T18:27:08.907Z] Step 4/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-10-22T18:27:08.907Z] ---> Running in dbca400a7394 [2024-10-22T18:27:10.343Z] Removing intermediate container dbca400a7394 [2024-10-22T18:27:10.343Z] ---> 8dad32adaffa [2024-10-22T18:27:10.343Z] 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-10-22T18:27:10.617Z] ---> Running in 5fa2610cde7e [2024-10-22T18:27:12.025Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-10-22T18:27:12.025Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-10-22T18:27:12.996Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz [2024-10-22T18:27:13.587Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-10-22T18:27:13.587Z] (1/17) Installing hiredis (1.1.0-r2) [2024-10-22T18:27:13.587Z] (2/17) Installing hiredis-dev (1.1.0-r2) [2024-10-22T18:27:13.587Z] (3/17) Installing libcbor (0.10.2-r1) [2024-10-22T18:27:13.587Z] (4/17) Installing iotech-iot-1.5 (1.5.4-r2) [2024-10-22T18:27:14.552Z] (5/17) Installing iotech-iot-1.5-dev (1.5.4-r2) [2024-10-22T18:27:14.552Z] (6/17) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) [2024-10-22T18:27:14.822Z] (7/17) Installing libcbor-dev (0.10.2-r1) [2024-10-22T18:27:14.822Z] (8/17) Installing libmenuw (6.4_p20230506-r0) [2024-10-22T18:27:14.822Z] (9/17) Installing libpanelw (6.4_p20230506-r0) [2024-10-22T18:27:14.822Z] (10/17) Installing libncurses++ (6.4_p20230506-r0) [2024-10-22T18:27:14.822Z] (11/17) Installing ncurses-dev (6.4_p20230506-r0) [2024-10-22T18:27:14.822Z] (12/17) Installing libblkid (2.38.1-r8) [2024-10-22T18:27:14.822Z] (13/17) Installing libuuid (2.38.1-r8) [2024-10-22T18:27:14.822Z] (14/17) Installing libfdisk (2.38.1-r8) [2024-10-22T18:27:14.822Z] (15/17) Installing libmount (2.38.1-r8) [2024-10-22T18:27:14.822Z] (16/17) Installing libsmartcols (2.38.1-r8) [2024-10-22T18:27:14.822Z] (17/17) Installing util-linux-dev (2.38.1-r8) [2024-10-22T18:27:15.090Z] Executing busybox-1.36.1-r4.trigger [2024-10-22T18:27:15.090Z] OK: 333 MiB in 99 packages [2024-10-22T18:27:16.512Z] Removing intermediate container 5fa2610cde7e [2024-10-22T18:27:16.512Z] ---> acaa924b623e [2024-10-22T18:27:16.512Z] Step 6/22 : RUN mkdir /tmp/sdk [2024-10-22T18:27:16.512Z] ---> Running in 18003ed53c86 [2024-10-22T18:27:18.468Z] Removing intermediate container 18003ed53c86 [2024-10-22T18:27:18.468Z] ---> f2278790496d [2024-10-22T18:27:18.468Z] Step 7/22 : COPY VERSION /tmp/sdk [2024-10-22T18:27:18.740Z] ---> 58879d2fdf49 [2024-10-22T18:27:18.740Z] Step 8/22 : COPY src /tmp/sdk/src [2024-10-22T18:27:19.712Z] ---> a60d1194d88d [2024-10-22T18:27:19.712Z] Step 9/22 : COPY include /tmp/sdk/include [2024-10-22T18:27:19.983Z] ---> 673f23976147 [2024-10-22T18:27:19.983Z] Step 10/22 : COPY scripts /tmp/sdk/scripts [2024-10-22T18:27:20.572Z] ---> 0ea777543649 [2024-10-22T18:27:20.572Z] Step 11/22 : COPY LICENSE /tmp/sdk [2024-10-22T18:27:20.843Z] ---> e4f70e88faec [2024-10-22T18:27:20.843Z] Step 12/22 : COPY Attribution.txt /tmp/sdk [2024-10-22T18:27:21.435Z] ---> 84f1cbf75e1d [2024-10-22T18:27:21.435Z] Step 13/22 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2024-10-22T18:27:21.435Z] ---> Running in 124f151c8ea3 [2024-10-22T18:27:22.421Z] + CPPCHECK=false [2024-10-22T18:27:22.421Z] + DOCGEN=false [2024-10-22T18:27:22.421Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2024-10-22T18:27:22.421Z] + '[' 0 -gt 0 ] [2024-10-22T18:27:22.421Z] + readlink -f ./scripts/build.sh [2024-10-22T18:27:22.421Z] + dirname /tmp/sdk/scripts/build.sh [2024-10-22T18:27:22.421Z] + dirname /tmp/sdk/scripts [2024-10-22T18:27:22.421Z] + ROOT=/tmp/sdk [2024-10-22T18:27:22.421Z] + cd /tmp/sdk [2024-10-22T18:27:22.421Z] + mkdir -p /tmp/sdk/build/release [2024-10-22T18:27:22.421Z] + cd /tmp/sdk/build/release [2024-10-22T18:27:22.421Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2024-10-22T18:27:23.008Z] -- The C compiler identification is GNU 12.2.1 [2024-10-22T18:27:23.008Z] -- Detecting C compiler ABI info [2024-10-22T18:27:23.292Z] -- Detecting C compiler ABI info - done [2024-10-22T18:27:23.292Z] -- Check for working C compiler: /usr/bin/cc - skipped [2024-10-22T18:27:23.292Z] -- Detecting C compile features [2024-10-22T18:27:23.292Z] -- Detecting C compile features - done [2024-10-22T18:27:23.561Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2024-10-22T18:27:23.561Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") [2024-10-22T18:27:23.561Z] -- Found LIBYAML: /usr/lib/libyaml.so [2024-10-22T18:27:23.561Z] -- Found LIBUUID: /usr/lib/libuuid.so [2024-10-22T18:27:23.561Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2024-10-22T18:27:23.831Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2024-10-22T18:27:23.831Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2024-10-22T18:27:23.831Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2024-10-22T18:27:23.831Z] -- /opt/iotech/iot/1.5/include [2024-10-22T18:27:23.831Z] -- C SDK 0.0.0 for Linux [2024-10-22T18:27:23.831Z] -- Performing Test CSDK_HAVE_ATOMIC [2024-10-22T18:27:24.103Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2024-10-22T18:27:24.379Z] -- Found Curses: /usr/lib/libcurses.so [2024-10-22T18:27:24.379Z] -- Configuring done (1.9s) [2024-10-22T18:27:24.650Z] -- Generating done (0.2s) [2024-10-22T18:27:24.650Z] -- Build files have been written to: /tmp/sdk/build/release [2024-10-22T18:27:24.650Z] + make all package [2024-10-22T18:27:24.650Z] + tee release.log [2024-10-22T18:27:24.921Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2024-10-22T18:27:25.509Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2024-10-22T18:27:26.491Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2024-10-22T18:27:27.463Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2024-10-22T18:27:28.431Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2024-10-22T18:27:29.034Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2024-10-22T18:27:31.629Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2024-10-22T18:27:32.215Z] /tmp/sdk/src/c/consul.c: In function 'edgex_consul_client_get_common_config': [2024-10-22T18:27:32.215Z] /tmp/sdk/src/c/consul.c:294:10: warning: 'privateConfig' may be used uninitialized [-Wmaybe-uninitialized] [2024-10-22T18:27:32.215Z] 294 | while (privateConfig) [2024-10-22T18:27:32.215Z] | ^~~~~~~~~~~~~ [2024-10-22T18:27:32.215Z] /tmp/sdk/src/c/consul.c:214:28: note: 'privateConfig' was declared here [2024-10-22T18:27:32.215Z] 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; [2024-10-22T18:27:32.215Z] | ^~~~~~~~~~~~~ [2024-10-22T18:27:32.215Z] /tmp/sdk/src/c/consul.c:271:10: warning: 'result' may be used uninitialized [-Wmaybe-uninitialized] [2024-10-22T18:27:32.215Z] 271 | while (result) [2024-10-22T18:27:32.215Z] | ^~~~~~ [2024-10-22T18:27:32.215Z] /tmp/sdk/src/c/consul.c:214:19: note: 'result' was declared here [2024-10-22T18:27:32.215Z] 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; [2024-10-22T18:27:32.215Z] | ^~~~~~ [2024-10-22T18:27:32.487Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2024-10-22T18:27:32.792Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2024-10-22T18:27:33.897Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2024-10-22T18:27:35.852Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2024-10-22T18:27:36.438Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2024-10-22T18:27:37.395Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2024-10-22T18:27:38.358Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2024-10-22T18:27:38.943Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2024-10-22T18:27:40.372Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2024-10-22T18:27:40.372Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2024-10-22T18:27:42.962Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2024-10-22T18:27:43.229Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2024-10-22T18:27:43.818Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2024-10-22T18:27:45.241Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2024-10-22T18:27:53.486Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2024-10-22T18:27:53.486Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2024-10-22T18:27:53.755Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2024-10-22T18:27:54.343Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2024-10-22T18:27:54.611Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2024-10-22T18:27:56.025Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2024-10-22T18:27:58.622Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2024-10-22T18:27:59.213Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2024-10-22T18:28:00.171Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2024-10-22T18:28:00.751Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2024-10-22T18:28:01.018Z] /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2024-10-22T18:28:01.018Z] /tmp/sdk/src/c/service.c:916:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-10-22T18:28:01.018Z] 916 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); [2024-10-22T18:28:01.018Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-10-22T18:28:01.018Z] /tmp/sdk/src/c/service.c:917:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-10-22T18:28:01.018Z] 917 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); [2024-10-22T18:28:01.018Z] | ^ [2024-10-22T18:28:02.957Z] /tmp/sdk/src/c/service.c:1071:5: warning: 'deviceservices_config' may be used uninitialized [-Wmaybe-uninitialized] [2024-10-22T18:28:02.957Z] 1071 | edgex_device_parseClients (svc->logger, iot_data_string_map_get (deviceservices_config, "Clients"), &svc->config.endpoints); [2024-10-22T18:28:02.957Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-10-22T18:28:02.957Z] /tmp/sdk/src/c/service.c:883:68: note: 'deviceservices_config' was declared here [2024-10-22T18:28:02.957Z] 883 | iot_data_t *common_config_map, *private_config_map, *configmap, *deviceservices_config; [2024-10-22T18:28:02.957Z] | ^~~~~~~~~~~~~~~~~~~~~ [2024-10-22T18:28:03.919Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2024-10-22T18:28:04.876Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2024-10-22T18:28:05.145Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2024-10-22T18:28:05.734Z] [ 68%] Linking C shared library libcsdk.so [2024-10-22T18:28:06.002Z] [ 68%] Built target csdk [2024-10-22T18:28:06.002Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2024-10-22T18:28:06.964Z] [ 72%] Linking C executable template [2024-10-22T18:28:07.231Z] [ 72%] Built target template [2024-10-22T18:28:07.231Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2024-10-22T18:28:07.818Z] [ 76%] Linking C executable device-counter [2024-10-22T18:28:08.088Z] [ 76%] Built target device-counter [2024-10-22T18:28:08.088Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2024-10-22T18:28:08.684Z] [ 80%] Linking C executable device-random [2024-10-22T18:28:08.952Z] [ 80%] Built target device-random [2024-10-22T18:28:09.220Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2024-10-22T18:28:09.806Z] [ 84%] Linking C executable device-gyro [2024-10-22T18:28:10.073Z] [ 84%] Built target device-gyro [2024-10-22T18:28:10.073Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2024-10-22T18:28:10.657Z] [ 88%] Linking C executable device-bitfields [2024-10-22T18:28:10.924Z] [ 88%] Built target device-bitfields [2024-10-22T18:28:11.194Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2024-10-22T18:28:12.154Z] [ 92%] Linking C executable template-discovery [2024-10-22T18:28:12.423Z] [ 92%] Built target template-discovery [2024-10-22T18:28:12.423Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2024-10-22T18:28:13.405Z] [ 96%] Linking C executable device-file [2024-10-22T18:28:13.671Z] [ 96%] Built target device-file [2024-10-22T18:28:13.671Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2024-10-22T18:28:14.629Z] [100%] Linking C executable device-terminal [2024-10-22T18:28:14.896Z] [100%] Built target device-terminal [2024-10-22T18:28:14.896Z] Run CPack packaging tool... [2024-10-22T18:28:14.896Z] CPack: Create package using TGZ [2024-10-22T18:28:14.896Z] CPack: Install projects [2024-10-22T18:28:14.896Z] CPack: - Run preinstall target for: Csdk [2024-10-22T18:28:15.860Z] CPack: - Install project: Csdk [] [2024-10-22T18:28:15.860Z] CPack: Create package [2024-10-22T18:28:15.860Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2024-10-22T18:28:15.860Z] + '[' false '=' true ] [2024-10-22T18:28:15.860Z] + '[' false '=' true ] [2024-10-22T18:28:15.860Z] + mkdir -p /tmp/sdk/build/debug [2024-10-22T18:28:15.860Z] + cd /tmp/sdk/build/debug [2024-10-22T18:28:15.860Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2024-10-22T18:28:16.128Z] -- The C compiler identification is GNU 12.2.1 [2024-10-22T18:28:16.398Z] -- Detecting C compiler ABI info [2024-10-22T18:28:16.667Z] -- Detecting C compiler ABI info - done [2024-10-22T18:28:16.667Z] -- Check for working C compiler: /usr/bin/cc - skipped [2024-10-22T18:28:16.667Z] -- Detecting C compile features [2024-10-22T18:28:16.667Z] -- Detecting C compile features - done [2024-10-22T18:28:16.667Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2024-10-22T18:28:16.936Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") [2024-10-22T18:28:16.936Z] -- Found LIBYAML: /usr/lib/libyaml.so [2024-10-22T18:28:16.936Z] -- Found LIBUUID: /usr/lib/libuuid.so [2024-10-22T18:28:16.936Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2024-10-22T18:28:16.936Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2024-10-22T18:28:16.936Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2024-10-22T18:28:16.936Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2024-10-22T18:28:16.936Z] -- /opt/iotech/iot/1.5/include [2024-10-22T18:28:16.936Z] -- C SDK 0.0.0 for Linux [2024-10-22T18:28:16.936Z] -- Performing Test CSDK_HAVE_ATOMIC [2024-10-22T18:28:17.525Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2024-10-22T18:28:17.525Z] -- Found Curses: /usr/lib/libcurses.so [2024-10-22T18:28:17.793Z] -- Configuring done (1.7s) [2024-10-22T18:28:18.060Z] -- Generating done (0.2s) [2024-10-22T18:28:18.060Z] -- Build files have been written to: /tmp/sdk/build/debug [2024-10-22T18:28:18.060Z] + make [2024-10-22T18:28:18.060Z] + tee debug.log [2024-10-22T18:28:18.060Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2024-10-22T18:28:18.644Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2024-10-22T18:28:18.910Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2024-10-22T18:28:19.177Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2024-10-22T18:28:19.762Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2024-10-22T18:28:20.031Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2024-10-22T18:28:20.618Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2024-10-22T18:28:21.207Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2024-10-22T18:28:21.207Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2024-10-22T18:28:21.791Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2024-10-22T18:28:22.383Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2024-10-22T18:28:22.655Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2024-10-22T18:28:23.240Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2024-10-22T18:28:23.526Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2024-10-22T18:28:23.795Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2024-10-22T18:28:24.381Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2024-10-22T18:28:24.381Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2024-10-22T18:28:25.344Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2024-10-22T18:28:25.612Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2024-10-22T18:28:25.880Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2024-10-22T18:28:26.466Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2024-10-22T18:28:27.882Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2024-10-22T18:28:28.150Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2024-10-22T18:28:28.416Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2024-10-22T18:28:28.681Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2024-10-22T18:28:28.949Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2024-10-22T18:28:29.536Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2024-10-22T18:28:30.951Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2024-10-22T18:28:31.220Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2024-10-22T18:28:31.810Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2024-10-22T18:28:32.078Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2024-10-22T18:28:32.343Z] /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2024-10-22T18:28:32.343Z] /tmp/sdk/src/c/service.c:916:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-10-22T18:28:32.343Z] 916 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); [2024-10-22T18:28:32.343Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-10-22T18:28:32.343Z] /tmp/sdk/src/c/service.c:917:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-10-22T18:28:32.343Z] 917 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); [2024-10-22T18:28:32.343Z] | ^ [2024-10-22T18:28:33.320Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2024-10-22T18:28:33.586Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2024-10-22T18:28:33.854Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2024-10-22T18:28:34.122Z] [ 68%] Linking C shared library libcsdk.so [2024-10-22T18:28:34.398Z] [ 68%] Built target csdk [2024-10-22T18:28:34.398Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2024-10-22T18:28:34.978Z] [ 72%] Linking C executable template [2024-10-22T18:28:35.244Z] [ 72%] Built target template [2024-10-22T18:28:35.244Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2024-10-22T18:28:35.510Z] [ 76%] Linking C executable device-counter [2024-10-22T18:28:35.776Z] [ 76%] Built target device-counter [2024-10-22T18:28:35.776Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2024-10-22T18:28:36.042Z] [ 80%] Linking C executable device-random [2024-10-22T18:28:36.624Z] [ 80%] Built target device-random [2024-10-22T18:28:36.624Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2024-10-22T18:28:36.895Z] [ 84%] Linking C executable device-gyro [2024-10-22T18:28:37.162Z] [ 84%] Built target device-gyro [2024-10-22T18:28:37.162Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2024-10-22T18:28:37.433Z] [ 88%] Linking C executable device-bitfields [2024-10-22T18:28:37.714Z] [ 88%] Built target device-bitfields [2024-10-22T18:28:37.982Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2024-10-22T18:28:38.264Z] [ 92%] Linking C executable template-discovery [2024-10-22T18:28:38.533Z] [ 92%] Built target template-discovery [2024-10-22T18:28:38.800Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2024-10-22T18:28:39.065Z] [ 96%] Linking C executable device-file [2024-10-22T18:28:39.331Z] [ 96%] Built target device-file [2024-10-22T18:28:39.331Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2024-10-22T18:28:39.912Z] [100%] Linking C executable device-terminal [2024-10-22T18:28:40.179Z] [100%] Built target device-terminal [2024-10-22T18:28:40.179Z] make: Entering directory '/tmp/sdk/build/release' [2024-10-22T18:28:40.445Z] [ 68%] Built target csdk [2024-10-22T18:28:40.445Z] [ 72%] Built target template [2024-10-22T18:28:40.445Z] [ 76%] Built target device-counter [2024-10-22T18:28:40.445Z] [ 80%] Built target device-random [2024-10-22T18:28:40.445Z] [ 84%] Built target device-gyro [2024-10-22T18:28:40.711Z] [ 88%] Built target device-bitfields [2024-10-22T18:28:40.711Z] [ 92%] Built target template-discovery [2024-10-22T18:28:40.711Z] [ 96%] Built target device-file [2024-10-22T18:28:40.711Z] [100%] Built target device-terminal [2024-10-22T18:28:40.711Z] Install the project... [2024-10-22T18:28:40.978Z] -- Install configuration: "Release" [2024-10-22T18:28:40.978Z] -- Installing: /usr/local/lib/libcsdk.so [2024-10-22T18:28:40.978Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2024-10-22T18:28:40.978Z] -- Installing: /usr/local/include [2024-10-22T18:28:40.978Z] -- Installing: /usr/local/include/devsdk [2024-10-22T18:28:40.978Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2024-10-22T18:28:40.978Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2024-10-22T18:28:40.978Z] -- Installing: /usr/local/include/edgex [2024-10-22T18:28:40.978Z] -- Installing: /usr/local/include/edgex/rest-server.h [2024-10-22T18:28:40.978Z] -- Installing: /usr/local/include/edgex/edgex.h [2024-10-22T18:28:40.978Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2024-10-22T18:28:40.978Z] -- Installing: /usr/local/include/edgex/devices.h [2024-10-22T18:28:40.978Z] -- Installing: /usr/local/include/edgex/profiles.h [2024-10-22T18:28:40.978Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2024-10-22T18:28:40.978Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2024-10-22T18:28:40.978Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2024-10-22T18:28:40.978Z] make: Leaving directory '/tmp/sdk/build/release' [2024-10-22T18:28:42.391Z] Removing intermediate container 124f151c8ea3 [2024-10-22T18:28:42.391Z] ---> 21b34d2978bd [2024-10-22T18:28:42.391Z] Step 14/22 : FROM ${BASE} [2024-10-22T18:28:42.391Z] ---> 2b552cad5dd9 [2024-10-22T18:28:42.391Z] Step 15/22 : LABEL maintainer="IOTech " [2024-10-22T18:28:42.391Z] ---> Running in 6145dd7abb70 [2024-10-22T18:28:42.659Z] Removing intermediate container 6145dd7abb70 [2024-10-22T18:28:42.659Z] ---> ee26015c6854 [2024-10-22T18:28:42.659Z] 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-10-22T18:28:42.659Z] ---> Running in 8f2425dcd4ac [2024-10-22T18:28:43.618Z] Connecting to iotech.jfrog.io (34.246.139.145:443) [2024-10-22T18:28:44.208Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-10-22T18:28:44.208Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-10-22T18:28:44.208Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-10-22T18:28:45.172Z] Removing intermediate container 8f2425dcd4ac [2024-10-22T18:28:45.172Z] ---> 367e190f512e [2024-10-22T18:28:45.172Z] Step 17/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-10-22T18:28:45.172Z] ---> Running in 0f64327a4bac [2024-10-22T18:28:46.601Z] Removing intermediate container 0f64327a4bac [2024-10-22T18:28:46.601Z] ---> 0830d3739ba0 [2024-10-22T18:28:46.601Z] 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-10-22T18:28:46.601Z] ---> Running in da544bf0c0b4 [2024-10-22T18:28:47.570Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-10-22T18:28:48.152Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-10-22T18:28:48.735Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz [2024-10-22T18:28:49.691Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-10-22T18:28:49.691Z] (1/10) Upgrading libcurl (8.4.0-r0 -> 8.9.1-r1) [2024-10-22T18:28:49.691Z] (2/10) Installing curl (8.9.1-r1) [2024-10-22T18:28:49.691Z] (3/10) Upgrading curl-dev (8.4.0-r0 -> 8.9.1-r1) [2024-10-22T18:28:49.691Z] (4/10) Installing dumb-init (1.2.5-r2) [2024-10-22T18:28:49.691Z] (5/10) Installing hiredis (1.1.0-r2) [2024-10-22T18:28:49.691Z] (6/10) Installing hiredis-dev (1.1.0-r2) [2024-10-22T18:28:49.691Z] (7/10) Installing libcbor (0.10.2-r1) [2024-10-22T18:28:49.691Z] (8/10) Installing iotech-iot-1.5 (1.5.4-r2) [2024-10-22T18:28:50.647Z] (9/10) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) [2024-10-22T18:28:50.647Z] (10/10) Installing libuuid (2.38.1-r8) [2024-10-22T18:28:50.647Z] Executing busybox-1.36.1-r4.trigger [2024-10-22T18:28:50.647Z] OK: 328 MiB in 90 packages [2024-10-22T18:28:52.052Z] Removing intermediate container da544bf0c0b4 [2024-10-22T18:28:52.052Z] ---> ff3347e3bafb [2024-10-22T18:28:52.052Z] Step 19/22 : RUN apk --no-cache upgrade [2024-10-22T18:28:52.052Z] ---> Running in 92203f8530b7 [2024-10-22T18:28:53.014Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-10-22T18:28:53.284Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-10-22T18:28:53.872Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz [2024-10-22T18:28:54.832Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-10-22T18:28:54.832Z] Upgrading critical system libraries and apk-tools: [2024-10-22T18:28:54.832Z] (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) [2024-10-22T18:28:54.832Z] Executing busybox-1.36.1-r4.trigger [2024-10-22T18:28:54.832Z] Continuing the upgrade transaction with new apk-tools: [2024-10-22T18:28:55.100Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-10-22T18:28:55.375Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-10-22T18:28:55.961Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz [2024-10-22T18:28:56.944Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-10-22T18:28:56.944Z] (1/14) Upgrading busybox (1.36.1-r4 -> 1.36.1-r7) [2024-10-22T18:28:56.944Z] Executing busybox-1.36.1-r7.post-upgrade [2024-10-22T18:28:56.945Z] (2/14) Upgrading busybox-binsh (1.36.1-r4 -> 1.36.1-r7) [2024-10-22T18:28:56.945Z] (3/14) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) [2024-10-22T18:28:56.945Z] (4/14) Upgrading libcrypto3 (3.1.4-r0 -> 3.1.7-r1) [2024-10-22T18:28:56.945Z] (5/14) Upgrading libssl3 (3.1.4-r0 -> 3.1.7-r1) [2024-10-22T18:28:56.945Z] (6/14) Upgrading ssl_client (1.36.1-r4 -> 1.36.1-r7) [2024-10-22T18:28:56.945Z] (7/14) Upgrading libexpat (2.5.0-r1 -> 2.6.3-r0) [2024-10-22T18:28:56.945Z] (8/14) Upgrading libarchive (3.7.2-r0 -> 3.7.6-r0) [2024-10-22T18:28:56.945Z] (9/14) Upgrading ca-certificates (20230506-r0 -> 20240226-r0) [2024-10-22T18:28:57.211Z] (10/14) Upgrading openssl-dev (3.1.4-r0 -> 3.1.7-r1) [2024-10-22T18:28:57.211Z] (11/14) Upgrading git (2.40.1-r0 -> 2.40.3-r0) [2024-10-22T18:28:57.477Z] (12/14) Upgrading gnutls (3.8.0-r2 -> 3.8.4-r0) [2024-10-22T18:28:57.477Z] (13/14) Upgrading gnutls-c++ (3.8.0-r2 -> 3.8.4-r0) [2024-10-22T18:28:57.477Z] (14/14) Upgrading gnutls-dev (3.8.0-r2 -> 3.8.4-r0) [2024-10-22T18:28:57.745Z] Executing busybox-1.36.1-r7.trigger [2024-10-22T18:28:57.745Z] Executing ca-certificates-20240226-r0.trigger [2024-10-22T18:28:57.745Z] OK: 328 MiB in 90 packages [2024-10-22T18:28:59.697Z] Removing intermediate container 92203f8530b7 [2024-10-22T18:28:59.697Z] ---> 56c0cc41615a [2024-10-22T18:28:59.697Z] Step 20/22 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2024-10-22T18:29:00.284Z] ---> 690a275463c7 [2024-10-22T18:29:00.284Z] Step 21/22 : COPY --from=builder /usr/local/lib /usr/local/lib [2024-10-22T18:29:00.869Z] ---> 8635a39a848a [2024-10-22T18:29:00.869Z] Step 22/22 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2024-10-22T18:29:01.452Z] ---> ba58e2d17ef8 [2024-10-22T18:29:01.453Z] Successfully built ba58e2d17ef8 [2024-10-22T18:29:01.453Z] 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-10-22T18:29:02.278Z] + docker inspect -f . ci-base-image-arm64 [2024-10-22T18:29:02.278Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-22T18:29:02.603Z] prd-ubuntu20.04-docker-arm64-4c-16g-23537 does not seem to be running inside a container [2024-10-22T18:29:02.683Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/1 -v /w/workspace/device-sdk-c/1:/w/workspace/device-sdk-c/1:rw,z -v /w/workspace/device-sdk-c/1@tmp:/w/workspace/device-sdk-c/1@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 ******** ci-base-image-arm64 cat [2024-10-22T18:29:03.949Z] $ docker top 4236cde282e9d77171e45ad13779d341e173ac2c57c6f389256aa5a0a1f76c4a -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-22T18:29:04.980Z] + make test [2024-10-22T18:29:04.980Z] echo "make test" [2024-10-22T18:29:04.980Z] make test [Pipeline] } [2024-10-22T18:29:05.012Z] $ docker stop --time=1 4236cde282e9d77171e45ad13779d341e173ac2c57c6f389256aa5a0a1f76c4a [2024-10-22T18:29:06.996Z] $ docker rm -f --volumes 4236cde282e9d77171e45ad13779d341e173ac2c57c6f389256aa5a0a1f76c4a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-10-22T18:29:07.871Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-10-22T18:29:08.220Z] + ls -al . [2024-10-22T18:29:08.220Z] total 208 [2024-10-22T18:29:08.220Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 22 18:26 . [2024-10-22T18:29:08.220Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 22 18:26 .. [2024-10-22T18:29:08.220Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 22 18:26 .git [2024-10-22T18:29:08.220Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 22 18:26 .github [2024-10-22T18:29:08.220Z] -rw-rw-r-- 1 jenkins jenkins 176 Oct 22 18:26 .gitignore [2024-10-22T18:29:08.220Z] -rw-rw-r-- 1 jenkins jenkins 2908 Oct 22 18:26 Attribution.txt [2024-10-22T18:29:08.220Z] -rw-rw-r-- 1 jenkins jenkins 11953 Oct 22 18:26 CHANGELOG.md [2024-10-22T18:29:08.220Z] -rw-rw-r-- 1 jenkins jenkins 108574 Oct 22 18:26 Doxyfile [2024-10-22T18:29:08.220Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 22 18:26 GOVERNANCE.md [2024-10-22T18:29:08.221Z] -rw-rw-r-- 1 jenkins jenkins 784 Oct 22 18:26 Jenkinsfile [2024-10-22T18:29:08.221Z] -rw-rw-r-- 1 jenkins jenkins 10174 Oct 22 18:26 LICENSE [2024-10-22T18:29:08.221Z] -rw-rw-r-- 1 jenkins jenkins 444 Oct 22 18:26 Makefile [2024-10-22T18:29:08.221Z] -rw-rw-r-- 1 jenkins jenkins 618 Oct 22 18:26 OWNERS.md [2024-10-22T18:29:08.221Z] -rw-rw-r-- 1 jenkins jenkins 1651 Oct 22 18:26 README.IOT.md [2024-10-22T18:29:08.221Z] -rw-rw-r-- 1 jenkins jenkins 4215 Oct 22 18:26 README.md [2024-10-22T18:29:08.221Z] -rw-rw-r-- 1 jenkins jenkins 1245 Oct 22 18:26 README.v3.md [2024-10-22T18:29:08.221Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 22 18:22 VERSION [2024-10-22T18:29:08.221Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 22 18:26 docs [2024-10-22T18:29:08.221Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 22 18:26 include [2024-10-22T18:29:08.221Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 22 18:26 scripts [2024-10-22T18:29:08.221Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 22 18:26 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-22T18:29:08.675Z] + 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=ed5efed169abac3de29651138726e3fff7b5cf65 --label arch=arm64 --label version=0.0.0 . [2024-10-22T18:29:09.268Z] Sending build context to Docker daemon 3.068MB [2024-10-22T18:29:09.268Z] Step 1/18 : ARG BASE=alpine:3.18 [2024-10-22T18:29:09.268Z] Step 2/18 : FROM ${BASE} [2024-10-22T18:29:09.268Z] ---> ba58e2d17ef8 [2024-10-22T18:29:09.268Z] Step 3/18 : LABEL maintainer="IOTech " [2024-10-22T18:29:09.268Z] ---> Running in 6a69058a3ea5 [2024-10-22T18:29:09.538Z] Removing intermediate container 6a69058a3ea5 [2024-10-22T18:29:09.538Z] ---> 368949dc6ad7 [2024-10-22T18:29:09.538Z] 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-10-22T18:29:09.538Z] ---> Running in 4569fcba3a62 [2024-10-22T18:29:10.503Z] Connecting to iotech.jfrog.io (34.246.139.145:443) [2024-10-22T18:29:11.093Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-10-22T18:29:11.093Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-10-22T18:29:11.093Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-10-22T18:29:12.062Z] Removing intermediate container 4569fcba3a62 [2024-10-22T18:29:12.062Z] ---> fae3d3822485 [2024-10-22T18:29:12.062Z] Step 5/18 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-10-22T18:29:12.062Z] ---> Running in 3a5d069049dc [2024-10-22T18:29:13.488Z] Removing intermediate container 3a5d069049dc [2024-10-22T18:29:13.488Z] ---> 52f12ba9d913 [2024-10-22T18:29:13.488Z] 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-10-22T18:29:13.488Z] ---> Running in 081dbd557266 [2024-10-22T18:29:14.454Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-10-22T18:29:15.092Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-10-22T18:29:15.688Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz [2024-10-22T18:29:16.668Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-10-22T18:29:16.668Z] (1/11) Installing iotech-iot-1.5-dev (1.5.4-r2) [2024-10-22T18:29:16.941Z] (2/11) Installing libcbor-dev (0.10.2-r1) [2024-10-22T18:29:16.941Z] (3/11) Installing libmenuw (6.4_p20230506-r0) [2024-10-22T18:29:16.941Z] (4/11) Installing libpanelw (6.4_p20230506-r0) [2024-10-22T18:29:16.941Z] (5/11) Installing libncurses++ (6.4_p20230506-r0) [2024-10-22T18:29:16.941Z] (6/11) Installing ncurses-dev (6.4_p20230506-r0) [2024-10-22T18:29:16.941Z] (7/11) Installing libblkid (2.38.1-r8) [2024-10-22T18:29:16.941Z] (8/11) Installing libfdisk (2.38.1-r8) [2024-10-22T18:29:16.941Z] (9/11) Installing libmount (2.38.1-r8) [2024-10-22T18:29:16.941Z] (10/11) Installing libsmartcols (2.38.1-r8) [2024-10-22T18:29:16.941Z] (11/11) Installing util-linux-dev (2.38.1-r8) [2024-10-22T18:29:17.217Z] Executing busybox-1.36.1-r7.trigger [2024-10-22T18:29:17.217Z] OK: 334 MiB in 101 packages [2024-10-22T18:29:18.647Z] Removing intermediate container 081dbd557266 [2024-10-22T18:29:18.647Z] ---> 0dfdb3639e61 [2024-10-22T18:29:18.647Z] Step 7/18 : RUN apk --no-cache upgrade [2024-10-22T18:29:18.647Z] ---> Running in 1dcea7de736e [2024-10-22T18:29:19.611Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-10-22T18:29:19.878Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-10-22T18:29:20.463Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz [2024-10-22T18:29:21.418Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-10-22T18:29:21.418Z] OK: 334 MiB in 101 packages [2024-10-22T18:29:21.999Z] Removing intermediate container 1dcea7de736e [2024-10-22T18:29:21.999Z] ---> 31a616bbdb49 [2024-10-22T18:29:21.999Z] Step 8/18 : COPY VERSION /edgex-c-sdk/ [2024-10-22T18:29:22.580Z] ---> 8e922236d9ea [2024-10-22T18:29:22.580Z] Step 9/18 : COPY src /edgex-c-sdk/src/ [2024-10-22T18:29:23.161Z] ---> 69afd4f14461 [2024-10-22T18:29:23.161Z] Step 10/18 : COPY include /edgex-c-sdk/include/ [2024-10-22T18:29:23.743Z] ---> 0c234f522c82 [2024-10-22T18:29:23.743Z] Step 11/18 : COPY scripts /edgex-c-sdk/scripts [2024-10-22T18:29:24.327Z] ---> d1e4c6fb6e8e [2024-10-22T18:29:24.327Z] Step 12/18 : COPY LICENSE /edgex-c-sdk/ [2024-10-22T18:29:24.913Z] ---> e4c74eff056f [2024-10-22T18:29:24.913Z] Step 13/18 : COPY Attribution.txt /edgex-c-sdk/ [2024-10-22T18:29:25.181Z] ---> 1b2317cac313 [2024-10-22T18:29:25.181Z] Step 14/18 : WORKDIR /edgex-c-sdk [2024-10-22T18:29:25.451Z] ---> Running in 460ac7ae1df1 [2024-10-22T18:29:25.718Z] Removing intermediate container 460ac7ae1df1 [2024-10-22T18:29:25.718Z] ---> 90ae3439c483 [2024-10-22T18:29:25.718Z] Step 15/18 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2024-10-22T18:29:25.718Z] ---> Running in 4e0f6e57b831 [2024-10-22T18:29:25.984Z] Removing intermediate container 4e0f6e57b831 [2024-10-22T18:29:25.984Z] ---> cff38ec974f8 [2024-10-22T18:29:25.984Z] Step 16/18 : LABEL arch=arm64 [2024-10-22T18:29:25.984Z] ---> Running in 47dc15543217 [2024-10-22T18:29:26.256Z] Removing intermediate container 47dc15543217 [2024-10-22T18:29:26.256Z] ---> 4d6b845f167b [2024-10-22T18:29:26.256Z] Step 17/18 : LABEL git_sha=ed5efed169abac3de29651138726e3fff7b5cf65 [2024-10-22T18:29:26.521Z] ---> Running in 4aae6abeb6ea [2024-10-22T18:29:26.788Z] Removing intermediate container 4aae6abeb6ea [2024-10-22T18:29:26.788Z] ---> 106104e5cb3d [2024-10-22T18:29:26.788Z] Step 18/18 : LABEL version=0.0.0 [2024-10-22T18:29:26.788Z] ---> Running in c3e5dbd309f3 [2024-10-22T18:29:27.054Z] Removing intermediate container c3e5dbd309f3 [2024-10-22T18:29:27.054Z] ---> 14abef9b4b3c [2024-10-22T18:29:27.054Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2024-10-22T18:29:27.054Z] Successfully built 14abef9b4b3c [2024-10-22T18:29:27.054Z] 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-10-22T18:29:27.979Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-10-22T18:29:27.979Z] [2024-10-22T18:29:27.979Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-22T18:29:28.402Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-10-22T18:29:28.402Z] arm64: Pulling from edgex-lftools-log-publisher [2024-10-22T18:29:28.402Z] 8998bd30e6a1: Pulling fs layer [2024-10-22T18:29:28.402Z] 04944245beec: Pulling fs layer [2024-10-22T18:29:28.402Z] 699f458cf7ca: Pulling fs layer [2024-10-22T18:29:28.402Z] 765212b225bb: Pulling fs layer [2024-10-22T18:29:28.402Z] f23df028b6ca: Pulling fs layer [2024-10-22T18:29:28.402Z] d65c8cfc05b1: Pulling fs layer [2024-10-22T18:29:28.402Z] 2437ff75d9bd: Pulling fs layer [2024-10-22T18:29:28.402Z] f23df028b6ca: Waiting [2024-10-22T18:29:28.402Z] d65c8cfc05b1: Waiting [2024-10-22T18:29:28.402Z] 2437ff75d9bd: Waiting [2024-10-22T18:29:28.402Z] 765212b225bb: Waiting [2024-10-22T18:29:28.675Z] 04944245beec: Verifying Checksum [2024-10-22T18:29:28.675Z] 04944245beec: Download complete [2024-10-22T18:29:28.675Z] 765212b225bb: Verifying Checksum [2024-10-22T18:29:28.675Z] 765212b225bb: Download complete [2024-10-22T18:29:28.675Z] f23df028b6ca: Verifying Checksum [2024-10-22T18:29:28.675Z] f23df028b6ca: Download complete [2024-10-22T18:29:28.675Z] d65c8cfc05b1: Download complete [2024-10-22T18:29:28.941Z] 699f458cf7ca: Verifying Checksum [2024-10-22T18:29:28.941Z] 699f458cf7ca: Download complete [2024-10-22T18:29:29.207Z] 8998bd30e6a1: Verifying Checksum [2024-10-22T18:29:29.207Z] 8998bd30e6a1: Download complete [2024-10-22T18:29:31.778Z] 2437ff75d9bd: Verifying Checksum [2024-10-22T18:29:31.778Z] 2437ff75d9bd: Download complete [2024-10-22T18:29:33.715Z] 8998bd30e6a1: Pull complete [2024-10-22T18:29:34.299Z] 04944245beec: Pull complete [2024-10-22T18:29:35.711Z] 699f458cf7ca: Pull complete [2024-10-22T18:29:35.979Z] 765212b225bb: Pull complete [2024-10-22T18:29:36.944Z] f23df028b6ca: Pull complete [2024-10-22T18:29:36.944Z] d65c8cfc05b1: Pull complete [2024-10-22T18:29:55.184Z] 2437ff75d9bd: Pull complete [2024-10-22T18:29:55.184Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-10-22T18:29:55.184Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-10-22T18:29:55.184Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-22T18:29:55.530Z] prd-ubuntu20.04-docker-arm64-4c-16g-23537 does not seem to be running inside a container [2024-10-22T18:29:55.589Z] $ 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/1 -v /w/workspace/device-sdk-c/1:/w/workspace/device-sdk-c/1:rw,z -v /w/workspace/device-sdk-c/1@tmp:/w/workspace/device-sdk-c/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2024-10-22T18:29:58.149Z] $ docker top 26c4a2ded09ca9fde19e700cad3c5f9612a83974e6bed8e47715211f98a0c539 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-22T18:29:59.104Z] ---> job-cost.sh [2024-10-22T18:29:59.104Z] lf-activate-venv: SKIPPING [2024-10-22T18:29:59.104Z] INFO: No Stack... [2024-10-22T18:29:59.685Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-10-22T18:30:00.264Z] INFO: Archiving Costs [Pipeline] sh [2024-10-22T18:30:00.925Z] + cut -d, -f6 [2024-10-22T18:30:00.925Z] + cat /w/workspace/device-sdk-c/1/archives/cost.csv [Pipeline] lock [2024-10-22T18:30:01.006Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-c-PR-518-1-stack-cost] [2024-10-22T18:30:01.013Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-518-1-stack-cost] did not exist. Created. [2024-10-22T18:30:01.023Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-c-PR-518-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-10-22T18:30:01.791Z] /w/workspace/device-sdk-c/1@tmp/durable-7cf46815/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-10-22T18:30:02.466Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-10-22T18:30:02.511Z] Warning: overwriting stash ‘stack-cost’ [2024-10-22T18:30:03.017Z] Stashed 1 file(s) [Pipeline] } [2024-10-22T18:30:03.044Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-c-PR-518-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-10-22T18:30:03.129Z] $ docker stop --time=1 26c4a2ded09ca9fde19e700cad3c5f9612a83974e6bed8e47715211f98a0c539 [2024-10-22T18:30:04.799Z] $ docker rm -f --volumes 26c4a2ded09ca9fde19e700cad3c5f9612a83974e6bed8e47715211f98a0c539 [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-10-22T18:30:06.871Z] + [ -d /w/workspace/edgexfoundry_device-sdk-c_PR-518/archives ] [2024-10-22T18:30:06.871Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-518/archives [2024-10-22T18:30:06.871Z] total 16 [2024-10-22T18:30:06.871Z] drwxr-xr-x 3 root root 4096 Oct 22 18:23 . [2024-10-22T18:30:06.871Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 22 18:23 .. [2024-10-22T18:30:06.871Z] drwxr-xr-x 2 root root 4096 Oct 22 18:23 cost [2024-10-22T18:30:06.871Z] -rw-r--r-- 1 root root 84 Oct 22 18:23 cost.csv [2024-10-22T18:30:06.871Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_PR-518/archives [2024-10-22T18:30:06.871Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-518/archives [2024-10-22T18:30:06.871Z] total 16 [2024-10-22T18:30:06.871Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 22 18:23 . [2024-10-22T18:30:06.871Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 22 18:23 .. [2024-10-22T18:30:06.871Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 22 18:23 cost [2024-10-22T18:30:06.871Z] -rw-r--r-- 1 jenkins jenkins 84 Oct 22 18:23 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-10-22T18:30:07.213Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-22T18:30:08.126Z] ---> package-listing.sh [2024-10-22T18:30:08.126Z] ++ facter osfamily [2024-10-22T18:30:08.126Z] ++ tr '[:upper:]' '[:lower:]' [2024-10-22T18:30:08.387Z] + OS_FAMILY=debian [2024-10-22T18:30:08.387Z] + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-518 [2024-10-22T18:30:08.387Z] + START_PACKAGES=/tmp/packages_start.txt [2024-10-22T18:30:08.387Z] + END_PACKAGES=/tmp/packages_end.txt [2024-10-22T18:30:08.387Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-10-22T18:30:08.387Z] + PACKAGES=/tmp/packages_start.txt [2024-10-22T18:30:08.387Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-518 ']' [2024-10-22T18:30:08.387Z] + PACKAGES=/tmp/packages_end.txt [2024-10-22T18:30:08.387Z] + case "${OS_FAMILY}" in [2024-10-22T18:30:08.387Z] + dpkg -l [2024-10-22T18:30:08.387Z] + grep '^ii' [2024-10-22T18:30:08.387Z] + '[' -f /tmp/packages_start.txt ']' [2024-10-22T18:30:08.387Z] + '[' -f /tmp/packages_end.txt ']' [2024-10-22T18:30:08.387Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-10-22T18:30:08.387Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-518 ']' [2024-10-22T18:30:08.387Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-518/archives/ [2024-10-22T18:30:08.387Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-518/archives/ [Pipeline] echo [2024-10-22T18:30:08.427Z] 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-518/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-10-22T18:30:08.727Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-22T18:30:09.376Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-22T18:30:09.376Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-22T18:30:09.546Z] prd-ubuntu20.04-docker-8c-8g-23536 does not seem to be running inside a container [2024-10-22T18:30:09.577Z] $ 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-518/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-518 -v /w/workspace/edgexfoundry_device-sdk-c_PR-518:/w/workspace/edgexfoundry_device-sdk-c_PR-518:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-518@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-518@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-lftools-log-publisher:latest cat [2024-10-22T18:30:09.945Z] $ docker top 112eff5f8971bc65c409c5386df031da396ef38f07d564c605beb153322ab19b -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-22T18:30:10.360Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-10-22T18:30:10.681Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-10-22T18:30:11.007Z] + ls /var/log/sa-host [2024-10-22T18:30:11.007Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-22T18:30:11.167Z] provisioning config files... [2024-10-22T18:30:11.179Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-518@tmp/config5164445046068948868tmp [Pipeline] { [Pipeline] echo [2024-10-22T18:30:11.249Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-22T18:30:11.575Z] ---> create-netrc.sh [Pipeline] } [2024-10-22T18:30:11.611Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-10-22T18:30:12.037Z] ---> python-tools-install.sh [Pipeline] echo [2024-10-22T18:30:12.079Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-22T18:30:12.404Z] ---> sudo-logs.sh [2024-10-22T18:30:12.404Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-10-22T18:30:12.510Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-22T18:30:12.837Z] ---> job-cost.sh [2024-10-22T18:30:12.837Z] lf-activate-venv: SKIPPING [2024-10-22T18:30:12.837Z] DEBUG: total: 0.2199999988079071 [2024-10-22T18:30:12.837Z] INFO: Retrieving Stack Cost... [2024-10-22T18:30:13.097Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-10-22T18:30:13.357Z] INFO: Archiving Costs [Pipeline] echo [2024-10-22T18:30:13.400Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-22T18:30:13.733Z] ---> logs-deploy.sh [2024-10-22T18:30:13.733Z] lf-activate-venv: SKIPPING [2024-10-22T18:30:13.733Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-518/1 [2024-10-22T18:30:13.733Z] INFO: archiving workspace using pattern(s): [2024-10-22T18:30:14.686Z] Archives upload complete. [2024-10-22T18:30:14.686Z] INFO: archiving logs to Nexus