Pull request #524 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 FelixTing for edgexfoundry/device-sdk-c Obtained Jenkinsfile from 8edf09f5aad0a792c2e2c975227ca9300c9d835d+b4a60c126f741d84c14ee104c3263f3235d33930 (048638c49c9bf2578ada1bf1fa5f9b464e299d51) 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-ssh3245399993261969739.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-ssh5235857556110212161.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-524/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-524/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7647046976474451097.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-524/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12455681720999467709.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-ssh5716251056039491322.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-524/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-524/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh7474073317043145505.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-32866 in /w/workspace/edgexfoundry_device-sdk-c_PR-524 [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-524 # 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 Merging remotes/origin/main commit b4a60c126f741d84c14ee104c3263f3235d33930 into PR head commit 8edf09f5aad0a792c2e2c975227ca9300c9d835d > 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/524/head:refs/remotes/origin/PR-524 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 8edf09f5aad0a792c2e2c975227ca9300c9d835d # timeout=10 Merge succeeded, producing 8edf09f5aad0a792c2e2c975227ca9300c9d835d Checking out Revision 8edf09f5aad0a792c2e2c975227ca9300c9d835d (PR-524) > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge b4a60c126f741d84c14ee104c3263f3235d33930 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 8edf09f5aad0a792c2e2c975227ca9300c9d835d # timeout=10 Commit message: "fix: Add support for additional MQTT protocol aliases" 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-11-26T02:00:16.662Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-11-26T02:00:16.865Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-11-26T02:00:16.978Z] ========================================================= [2024-11-26T02:00:16.978Z] EdgeX Global Pipelines Version Info [2024-11-26T02:00:16.978Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-11-26T02:00:18.117Z] ------------------- [2024-11-26T02:00:18.117Z] stable info: [2024-11-26T02:00:18.117Z] ------------------- [2024-11-26T02:00:18.117Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-11-26T02:00:18.117Z] Commit SHA: 0b81fa10a7dd14683a964f04f411324fe83f93ac [2024-11-26T02:00:18.117Z] Message: update stable to v1.0.265 [2024-11-26T02:00:18.381Z] ------------------- [2024-11-26T02:00:18.381Z] experimental info: [2024-11-26T02:00:18.381Z] ------------------- [2024-11-26T02:00:18.381Z] Commited By: Cherry Wang cherry@iotechsys.com [2024-11-26T02:00:18.381Z] Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 [2024-11-26T02:00:18.381Z] Message: update experimental to v1.0.264 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-11-26T02:00:18.632Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo [2024-11-26T02:00:18.692Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo [2024-11-26T02:00:18.746Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-11-26T02:00:18.800Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-11-26T02:00:18.850Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-11-26T02:00:18.899Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo [2024-11-26T02:00:18.957Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo [2024-11-26T02:00:19.016Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-11-26T02:00:19.072Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-11-26T02:00:19.124Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo [2024-11-26T02:00:19.179Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-11-26T02:00:19.233Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-11-26T02:00:19.284Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-11-26T02:00:19.341Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2024-11-26T02:00:19.400Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-11-26T02:00:19.454Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-11-26T02:00:19.505Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-11-26T02:00:19.565Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-524 [Pipeline] echo [2024-11-26T02:00:19.640Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-524 [Pipeline] echo [2024-11-26T02:00:19.704Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-524 [Pipeline] echo [2024-11-26T02:00:19.760Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 8edf09f5aad0a792c2e2c975227ca9300c9d835d [Pipeline] echo [2024-11-26T02:00:19.816Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 8edf09f [Pipeline] echo [2024-11-26T02:00:19.976Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-11-26T02:00:20.117Z] provisioning config files... [2024-11-26T02:00:20.131Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-524@tmp/config11974158931053907450tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-11-26T02:00:20.517Z] ---> ****-login.sh [2024-11-26T02:00:20.517Z] nexus3.edgexfoundry.org:10001 [2024-11-26T02:00:20.778Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-26T02:00:21.038Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-26T02:00:21.038Z] Configure a credential helper to remove this warning. See [2024-11-26T02:00:21.038Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-26T02:00:21.038Z] [2024-11-26T02:00:21.038Z] Login Succeeded [2024-11-26T02:00:21.038Z] nexus3.edgexfoundry.org:10002 [2024-11-26T02:00:21.038Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-26T02:00:21.038Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-26T02:00:21.038Z] Configure a credential helper to remove this warning. See [2024-11-26T02:00:21.038Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-26T02:00:21.038Z] [2024-11-26T02:00:21.038Z] Login Succeeded [2024-11-26T02:00:21.038Z] nexus3.edgexfoundry.org:10003 [2024-11-26T02:00:21.039Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-26T02:00:21.039Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-26T02:00:21.039Z] Configure a credential helper to remove this warning. See [2024-11-26T02:00:21.039Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-26T02:00:21.039Z] [2024-11-26T02:00:21.039Z] Login Succeeded [2024-11-26T02:00:21.039Z] nexus3.edgexfoundry.org:10004 [2024-11-26T02:00:21.298Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-26T02:00:21.298Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-26T02:00:21.298Z] Configure a credential helper to remove this warning. See [2024-11-26T02:00:21.298Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-26T02:00:21.298Z] [2024-11-26T02:00:21.298Z] Login Succeeded [2024-11-26T02:00:21.298Z] ****.io [2024-11-26T02:00:21.299Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-26T02:00:21.560Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-26T02:00:21.560Z] Configure a credential helper to remove this warning. See [2024-11-26T02:00:21.560Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-26T02:00:21.560Z] [2024-11-26T02:00:21.560Z] Login Succeeded [2024-11-26T02:00:21.560Z] ---> ****-login.sh ends [Pipeline] } [2024-11-26T02:00:21.594Z] 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-11-26T02:00:22.278Z] + git rev-list -1 --merges 8edf09f5aad0a792c2e2c975227ca9300c9d835d~1..8edf09f5aad0a792c2e2c975227ca9300c9d835d [Pipeline] echo [2024-11-26T02:00:22.328Z] -----------> git rev-list -1 --merges 8edf09f5aad0a792c2e2c975227ca9300c9d835d~1..8edf09f5aad0a792c2e2c975227ca9300c9d835d 8edf09f5aad0a792c2e2c975227ca9300c9d835d [false] [Pipeline] sh [2024-11-26T02:00:22.651Z] + git log --format=format:%s -1 8edf09f5aad0a792c2e2c975227ca9300c9d835d [Pipeline] echo [2024-11-26T02:00:22.687Z] ========================================================= [2024-11-26T02:00:22.687Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-11-26T02:00:22.687Z] ========================================================= 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-11-26T02:00:23.700Z] + git rev-list -1 --merges 8edf09f5aad0a792c2e2c975227ca9300c9d835d~1..8edf09f5aad0a792c2e2c975227ca9300c9d835d [Pipeline] echo [2024-11-26T02:00:23.738Z] -----------> git rev-list -1 --merges 8edf09f5aad0a792c2e2c975227ca9300c9d835d~1..8edf09f5aad0a792c2e2c975227ca9300c9d835d 8edf09f5aad0a792c2e2c975227ca9300c9d835d [false] [Pipeline] sh [2024-11-26T02:00:24.064Z] + git log --format=format:%s -1 8edf09f5aad0a792c2e2c975227ca9300c9d835d [Pipeline] echo [2024-11-26T02:00:24.111Z] ========================================================= [2024-11-26T02:00:24.111Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-11-26T02:00:24.111Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh [2024-11-26T02:00:24.641Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-11-26T02:00:24.641Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-11-26T02:00:24.641Z] + [ -e /tmp/ssh_known_hosts ] [2024-11-26T02:00:24.641Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-11-26T02:00:24.641Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-11-26T02:00:24.641Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-11-26T02:00:24.641Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-26T02:00:25.159Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-11-26T02:00:25.159Z] [2024-11-26T02:00:25.159Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-26T02:00:25.560Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-11-26T02:00:25.560Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-11-26T02:00:25.560Z] b85a868b505f: Pulling fs layer [2024-11-26T02:00:25.560Z] e2be974225ed: Pulling fs layer [2024-11-26T02:00:25.560Z] 339a4e72a1f5: Pulling fs layer [2024-11-26T02:00:25.560Z] 988bab9f4d93: Pulling fs layer [2024-11-26T02:00:25.560Z] 1469e6f7b9e6: Pulling fs layer [2024-11-26T02:00:25.560Z] eaf3925da568: Pulling fs layer [2024-11-26T02:00:25.560Z] bab4dde63d76: Pulling fs layer [2024-11-26T02:00:25.560Z] bde34c3a00c8: Pulling fs layer [2024-11-26T02:00:25.560Z] b352a97aabf1: Pulling fs layer [2024-11-26T02:00:25.560Z] 4872d77fe225: Pulling fs layer [2024-11-26T02:00:25.560Z] 5851b861e8e6: Pulling fs layer [2024-11-26T02:00:25.560Z] bab4dde63d76: Waiting [2024-11-26T02:00:25.560Z] bde34c3a00c8: Waiting [2024-11-26T02:00:25.560Z] b352a97aabf1: Waiting [2024-11-26T02:00:25.560Z] 4872d77fe225: Waiting [2024-11-26T02:00:25.560Z] 5851b861e8e6: Waiting [2024-11-26T02:00:25.560Z] 988bab9f4d93: Waiting [2024-11-26T02:00:25.560Z] eaf3925da568: Waiting [2024-11-26T02:00:25.560Z] 1469e6f7b9e6: Waiting [2024-11-26T02:00:25.560Z] e2be974225ed: Verifying Checksum [2024-11-26T02:00:25.560Z] e2be974225ed: Download complete [2024-11-26T02:00:25.560Z] 988bab9f4d93: Verifying Checksum [2024-11-26T02:00:25.560Z] 988bab9f4d93: Download complete [2024-11-26T02:00:25.560Z] 339a4e72a1f5: Download complete [2024-11-26T02:00:25.560Z] 1469e6f7b9e6: Verifying Checksum [2024-11-26T02:00:25.560Z] 1469e6f7b9e6: Download complete [2024-11-26T02:00:25.820Z] eaf3925da568: Download complete [2024-11-26T02:00:25.820Z] bde34c3a00c8: Verifying Checksum [2024-11-26T02:00:25.820Z] bde34c3a00c8: Download complete [2024-11-26T02:00:25.820Z] b352a97aabf1: Download complete [2024-11-26T02:00:25.820Z] 4872d77fe225: Verifying Checksum [2024-11-26T02:00:25.820Z] 4872d77fe225: Download complete [2024-11-26T02:00:25.820Z] 5851b861e8e6: Download complete [2024-11-26T02:00:25.820Z] b85a868b505f: Verifying Checksum [2024-11-26T02:00:25.820Z] b85a868b505f: Download complete [2024-11-26T02:00:26.079Z] bab4dde63d76: Verifying Checksum [2024-11-26T02:00:26.079Z] bab4dde63d76: Download complete [2024-11-26T02:00:27.015Z] b85a868b505f: Pull complete [2024-11-26T02:00:27.273Z] e2be974225ed: Pull complete [2024-11-26T02:00:27.842Z] 339a4e72a1f5: Pull complete [2024-11-26T02:00:27.842Z] 988bab9f4d93: Pull complete [2024-11-26T02:00:28.101Z] 1469e6f7b9e6: Pull complete [2024-11-26T02:00:28.101Z] eaf3925da568: Pull complete [2024-11-26T02:00:30.008Z] bab4dde63d76: Pull complete [2024-11-26T02:00:30.008Z] bde34c3a00c8: Pull complete [2024-11-26T02:00:30.008Z] b352a97aabf1: Pull complete [2024-11-26T02:00:30.008Z] 4872d77fe225: Pull complete [2024-11-26T02:00:30.008Z] 5851b861e8e6: Pull complete [2024-11-26T02:00:30.271Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-11-26T02:00:30.271Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-11-26T02:00:30.271Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-26T02:00:30.541Z] prd-ubuntu20.04-docker-8c-8g-32866 does not seem to be running inside a container [2024-11-26T02:00:30.569Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-524 -v /w/workspace/edgexfoundry_device-sdk-c_PR-524:/w/workspace/edgexfoundry_device-sdk-c_PR-524:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-524@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-524@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-11-26T02:00:34.121Z] $ docker top 9bbbac052d53830b61d55ac819c7d6974ebdce8d99066d8511f43081f55682e3 -eo pid,comm [2024-11-26T02:00:34.189Z] 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-11-26T02:00:34.189Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-11-26T02:00:34.347Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-11-26T02:00:34.347Z] [ssh-agent] Looking for ssh-agent implementation... [2024-11-26T02:00:34.452Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-11-26T02:00:34.450Z] $ docker exec 9bbbac052d53830b61d55ac819c7d6974ebdce8d99066d8511f43081f55682e3 ssh-agent [2024-11-26T02:00:34.572Z] SSH_AUTH_SOCK=/tmp/ssh-e1gtdH9gWlzP/agent.31 [2024-11-26T02:00:34.572Z] SSH_AGENT_PID=37 [2024-11-26T02:00:34.581Z] Running ssh-add (command line suppressed) [2024-11-26T02:00:34.690Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-524@tmp/private_key_15620765618545882404.key (/w/workspace/edgexfoundry_device-sdk-c_PR-524@tmp/private_key_15620765618545882404.key) [2024-11-26T02:00:34.712Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-11-26T02:00:35.063Z] + git tag --points-at HEAD [Pipeline] } [2024-11-26T02:00:35.085Z] $ docker exec --env ******** --env ******** 9bbbac052d53830b61d55ac819c7d6974ebdce8d99066d8511f43081f55682e3 ssh-agent -k [2024-11-26T02:00:35.174Z] unset SSH_AUTH_SOCK; [2024-11-26T02:00:35.175Z] unset SSH_AGENT_PID; [2024-11-26T02:00:35.175Z] echo Agent pid 37 killed; [2024-11-26T02:00:35.186Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-11-26T02:00:35.306Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-11-26T02:00:35.306Z] [ssh-agent] Looking for ssh-agent implementation... [2024-11-26T02:00:37.330Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-11-26T02:00:37.329Z] $ docker exec 9bbbac052d53830b61d55ac819c7d6974ebdce8d99066d8511f43081f55682e3 ssh-agent [2024-11-26T02:00:37.456Z] SSH_AUTH_SOCK=/tmp/ssh-2dOqzEuG6ivj/agent.70 [2024-11-26T02:00:37.456Z] SSH_AGENT_PID=76 [2024-11-26T02:00:37.460Z] Running ssh-add (command line suppressed) [2024-11-26T02:00:37.555Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-524@tmp/private_key_10338047688412726742.key (/w/workspace/edgexfoundry_device-sdk-c_PR-524@tmp/private_key_10338047688412726742.key) [2024-11-26T02:00:37.573Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-11-26T02:00:37.920Z] + git semver init [2024-11-26T02:00:39.425Z] 2024-11-26 02:00:38,099 [run_init] DEBUG init version:0.0.0 force:False [2024-11-26T02:00:39.425Z] 2024-11-26 02:00:38,100 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-c_PR-524/.semver [2024-11-26T02:00:39.425Z] 2024-11-26 02:00:38,100 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-c.git /w/workspace/edgexfoundry_device-sdk-c_PR-524/.semver [2024-11-26T02:00:39.425Z] 2024-11-26 02:00:38,100 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-c.git', '/w/workspace/edgexfoundry_device-sdk-c_PR-524/.semver'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-524, universal_newlines=False, shell=None, istream=None) [2024-11-26T02:00:48.091Z] 2024-11-26 02:00:39,729 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-c_PR-524/.git/info/exclude [2024-11-26T02:00:48.091Z] 2024-11-26 02:00:39,729 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-c_PR-524/.semver/PR-524 with force:False [2024-11-26T02:00:48.091Z] 2024-11-26 02:00:39,730 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-c_PR-524/.semver/PR-524 [2024-11-26T02:00:48.091Z] 2024-11-26 02:00:39,734 [execute] INFO git cat-file --batch-check [2024-11-26T02:00:48.091Z] 2024-11-26 02:00:39,734 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-524/.semver, universal_newlines=False, shell=None, istream=<valid stream>) [2024-11-26T02:00:48.091Z] 2024-11-26 02:00:39,740 [execute] INFO git cat-file --batch [2024-11-26T02:00:48.091Z] 2024-11-26 02:00:39,740 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-524/.semver, universal_newlines=False, shell=None, istream=<valid stream>) [2024-11-26T02:00:48.091Z] 2024-11-26 02:00:39,745 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_PR-524/.semver/PR-524 [2024-11-26T02:00:48.091Z] 0.0.0 [Pipeline] } [2024-11-26T02:00:48.429Z] $ docker exec --env ******** --env ******** 9bbbac052d53830b61d55ac819c7d6974ebdce8d99066d8511f43081f55682e3 ssh-agent -k [2024-11-26T02:00:48.541Z] unset SSH_AUTH_SOCK; [2024-11-26T02:00:48.541Z] unset SSH_AGENT_PID; [2024-11-26T02:00:48.541Z] echo Agent pid 76 killed; [2024-11-26T02:00:48.557Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-11-26T02:00:49.017Z] + git semver [Pipeline] } [2024-11-26T02:00:49.306Z] $ docker stop --time=1 9bbbac052d53830b61d55ac819c7d6974ebdce8d99066d8511f43081f55682e3 [2024-11-26T02:00:50.606Z] $ docker rm -f --volumes 9bbbac052d53830b61d55ac819c7d6974ebdce8d99066d8511f43081f55682e3 [Pipeline] // withDockerContainer [Pipeline] sh [2024-11-26T02:00:51.034Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-11-26T02:00:51.331Z] Stashed 1 file(s) [Pipeline] echo [2024-11-26T02:00:51.356Z] [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-11-26T02:00:51.973Z] provisioning config files... [2024-11-26T02:00:51.982Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-524@tmp/config7844830143163612757tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-11-26T02:00:52.360Z] ---> ****-login.sh [2024-11-26T02:00:52.360Z] nexus3.edgexfoundry.org:10001 [2024-11-26T02:00:52.360Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-26T02:00:52.360Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-26T02:00:52.360Z] Configure a credential helper to remove this warning. See [2024-11-26T02:00:52.360Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-26T02:00:52.360Z] [2024-11-26T02:00:52.360Z] Login Succeeded [2024-11-26T02:00:52.360Z] nexus3.edgexfoundry.org:10002 [2024-11-26T02:00:52.360Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-26T02:00:52.360Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-26T02:00:52.360Z] Configure a credential helper to remove this warning. See [2024-11-26T02:00:52.360Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-26T02:00:52.360Z] [2024-11-26T02:00:52.360Z] Login Succeeded [2024-11-26T02:00:52.360Z] nexus3.edgexfoundry.org:10003 [2024-11-26T02:00:52.623Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-26T02:00:52.623Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-26T02:00:52.623Z] Configure a credential helper to remove this warning. See [2024-11-26T02:00:52.623Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-26T02:00:52.623Z] [2024-11-26T02:00:52.623Z] Login Succeeded [2024-11-26T02:00:52.623Z] nexus3.edgexfoundry.org:10004 [2024-11-26T02:00:52.623Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-26T02:00:52.623Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-26T02:00:52.623Z] Configure a credential helper to remove this warning. See [2024-11-26T02:00:52.623Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-26T02:00:52.623Z] [2024-11-26T02:00:52.623Z] Login Succeeded [2024-11-26T02:00:52.623Z] ****.io [2024-11-26T02:00:52.884Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-26T02:00:52.884Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-26T02:00:52.884Z] Configure a credential helper to remove this warning. See [2024-11-26T02:00:52.884Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-26T02:00:52.884Z] [2024-11-26T02:00:52.884Z] Login Succeeded [2024-11-26T02:00:52.884Z] ---> ****-login.sh ends [Pipeline] } [2024-11-26T02:00:52.915Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-11-26T02:00:53.144Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-11-26T02:00:53.191Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo [2024-11-26T02:00:53.234Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-11-26T02:00:53.281Z] ========================================================= [2024-11-26T02:00:53.281Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] [2024-11-26T02:00:53.282Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-26T02:00:53.735Z] + 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-11-26T02:00:53.735Z] Sending build context to Docker daemon 5.142MB [2024-11-26T02:00:53.735Z] Step 1/22 : ARG BASE=alpine:3.18 [2024-11-26T02:00:53.735Z] Step 2/22 : FROM ${BASE} as builder [2024-11-26T02:00:53.735Z] latest: Pulling from edgex-devops/edgex-gcc-base [2024-11-26T02:00:53.735Z] 96526aa774ef: Pulling fs layer [2024-11-26T02:00:53.735Z] da60e534fd72: Pulling fs layer [2024-11-26T02:00:53.993Z] 96526aa774ef: Verifying Checksum [2024-11-26T02:00:53.993Z] 96526aa774ef: Download complete [2024-11-26T02:00:53.993Z] 96526aa774ef: Pull complete [2024-11-26T02:00:54.562Z] da60e534fd72: Verifying Checksum [2024-11-26T02:00:54.562Z] da60e534fd72: Download complete [2024-11-26T02:00:57.849Z] da60e534fd72: Pull complete [2024-11-26T02:00:57.849Z] Digest: sha256:86f282524b252fca782185160d82ec4889448d07d1475dd6b76f2052073facff [2024-11-26T02:00:57.849Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [2024-11-26T02:00:57.849Z] ---> 6605166a5db4 [2024-11-26T02:00:57.849Z] 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-11-26T02:00:59.758Z] ---> Running in 16357615ebf4 [2024-11-26T02:01:00.017Z] [91mConnecting to iotech.jfrog.io (54.73.4.50:443) [2024-11-26T02:01:00.587Z] [0m[91msaving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-11-26T02:01:00.587Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-11-26T02:01:00.587Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-11-26T02:01:00.848Z] [0mRemoving intermediate container 16357615ebf4 [2024-11-26T02:01:00.848Z] ---> a7093b355958 [2024-11-26T02:01:00.848Z] Step 4/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-11-26T02:01:00.848Z] ---> Running in 23456da5ba59 [2024-11-26T02:01:01.427Z] Removing intermediate container 23456da5ba59 [2024-11-26T02:01:01.427Z] ---> cc18a18bfd0b [2024-11-26T02:01:01.427Z] 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-11-26T02:01:01.427Z] ---> Running in a06244b179f5 [2024-11-26T02:01:01.689Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-11-26T02:01:01.949Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-11-26T02:01:01.949Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-11-26T02:01:02.889Z] [91mWARNING: This apk-tools is OLD! Some packages might not function properly. [2024-11-26T02:01:02.890Z] [0m(1/17) Installing hiredis (1.1.0-r2) [2024-11-26T02:01:02.890Z] (2/17) Installing hiredis-dev (1.1.0-r2) [2024-11-26T02:01:02.890Z] (3/17) Installing libcbor (0.10.2-r1) [2024-11-26T02:01:02.890Z] (4/17) Installing iotech-iot-1.5 (1.5.5-r0) [2024-11-26T02:01:03.830Z] (5/17) Installing iotech-iot-1.5-dev (1.5.5-r0) [2024-11-26T02:01:03.830Z] (6/17) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) [2024-11-26T02:01:04.090Z] (7/17) Installing libcbor-dev (0.10.2-r1) [2024-11-26T02:01:04.090Z] (8/17) Installing libmenuw (6.4_p20230506-r0) [2024-11-26T02:01:04.090Z] (9/17) Installing libpanelw (6.4_p20230506-r0) [2024-11-26T02:01:04.090Z] (10/17) Installing libncurses++ (6.4_p20230506-r0) [2024-11-26T02:01:04.090Z] (11/17) Installing ncurses-dev (6.4_p20230506-r0) [2024-11-26T02:01:04.090Z] (12/17) Installing libblkid (2.38.1-r8) [2024-11-26T02:01:04.090Z] (13/17) Installing libuuid (2.38.1-r8) [2024-11-26T02:01:04.090Z] (14/17) Installing libfdisk (2.38.1-r8) [2024-11-26T02:01:04.090Z] (15/17) Installing libmount (2.38.1-r8) [2024-11-26T02:01:04.352Z] (16/17) Installing libsmartcols (2.38.1-r8) [2024-11-26T02:01:04.352Z] (17/17) Installing util-linux-dev (2.38.1-r8) [2024-11-26T02:01:04.352Z] Executing busybox-1.36.1-r4.trigger [2024-11-26T02:01:04.352Z] OK: 336 MiB in 99 packages [2024-11-26T02:01:04.926Z] Removing intermediate container a06244b179f5 [2024-11-26T02:01:04.926Z] ---> e4a4e6cdcdf9 [2024-11-26T02:01:04.926Z] Step 6/22 : RUN mkdir /tmp/sdk [2024-11-26T02:01:04.926Z] ---> Running in bc9d11728619 [2024-11-26T02:01:05.494Z] Removing intermediate container bc9d11728619 [2024-11-26T02:01:05.494Z] ---> 161e9092b5a2 [2024-11-26T02:01:05.494Z] Step 7/22 : COPY VERSION /tmp/sdk [2024-11-26T02:01:05.753Z] ---> a860700f9832 [2024-11-26T02:01:05.753Z] Step 8/22 : COPY src /tmp/sdk/src [2024-11-26T02:01:05.753Z] ---> aecc25be957d [2024-11-26T02:01:05.753Z] Step 9/22 : COPY include /tmp/sdk/include [2024-11-26T02:01:06.012Z] ---> f24deadaecdc [2024-11-26T02:01:06.012Z] Step 10/22 : COPY scripts /tmp/sdk/scripts [2024-11-26T02:01:06.012Z] ---> b7dd3edc432f [2024-11-26T02:01:06.012Z] Step 11/22 : COPY LICENSE /tmp/sdk [2024-11-26T02:01:06.272Z] ---> e92e56782b40 [2024-11-26T02:01:06.272Z] Step 12/22 : COPY Attribution.txt /tmp/sdk [2024-11-26T02:01:06.531Z] ---> 6b10990515a6 [2024-11-26T02:01:06.531Z] Step 13/22 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2024-11-26T02:01:06.531Z] ---> Running in 6cae326d8b41 [2024-11-26T02:01:06.772Z] Still waiting to schedule task [2024-11-26T02:01:06.773Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2024-11-26T02:01:06.791Z] [91m+ CPPCHECK=false [2024-11-26T02:01:06.792Z] + DOCGEN=false [2024-11-26T02:01:06.792Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2024-11-26T02:01:06.792Z] + '[' 0 -gt 0 ] [2024-11-26T02:01:06.792Z] [0m[91m+ readlink -f ./scripts/build.sh [2024-11-26T02:01:06.792Z] [0m[91m+ dirname /tmp/sdk/scripts/build.sh [2024-11-26T02:01:06.792Z] [0m[91m+ dirname /tmp/sdk/scripts [2024-11-26T02:01:06.792Z] [0m[91m+ ROOT=/tmp/sdk [2024-11-26T02:01:06.792Z] + cd /tmp/sdk [2024-11-26T02:01:06.792Z] + mkdir -p /tmp/sdk/build/release [2024-11-26T02:01:06.792Z] [0m[91m+ cd /tmp/sdk/build/release [2024-11-26T02:01:06.792Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2024-11-26T02:01:06.792Z] [0m-- The C compiler identification is GNU 12.2.1 [2024-11-26T02:01:06.792Z] -- Detecting C compiler ABI info [2024-11-26T02:01:06.792Z] -- Detecting C compiler ABI info - done [2024-11-26T02:01:06.792Z] -- Check for working C compiler: /usr/bin/cc - skipped [2024-11-26T02:01:06.792Z] -- Detecting C compile features [2024-11-26T02:01:06.792Z] -- Detecting C compile features - done [2024-11-26T02:01:07.051Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2024-11-26T02:01:07.051Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") [2024-11-26T02:01:07.051Z] -- Found LIBYAML: /usr/lib/libyaml.so [2024-11-26T02:01:07.051Z] -- Found LIBUUID: /usr/lib/libuuid.so [2024-11-26T02:01:07.051Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2024-11-26T02:01:07.051Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2024-11-26T02:01:07.051Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2024-11-26T02:01:07.051Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2024-11-26T02:01:07.051Z] -- /opt/iotech/iot/1.5/include [2024-11-26T02:01:07.051Z] -- C SDK 0.0.0 for Linux [2024-11-26T02:01:07.051Z] -- Performing Test CSDK_HAVE_ATOMIC [2024-11-26T02:01:07.051Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2024-11-26T02:01:07.051Z] -- Found Curses: /usr/lib/libcurses.so [2024-11-26T02:01:07.051Z] -- Configuring done (0.4s) [2024-11-26T02:01:07.051Z] -- Generating done (0.0s) [2024-11-26T02:01:07.051Z] -- Build files have been written to: /tmp/sdk/build/release [2024-11-26T02:01:07.312Z] [91m+ make all package [2024-11-26T02:01:07.312Z] [0m[91m+ tee release.log [2024-11-26T02:01:07.312Z] [0m[ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2024-11-26T02:01:07.312Z] In file included from /tmp/sdk/src/c/../../include/devsdk/devsdk.h:18, [2024-11-26T02:01:07.312Z] from /tmp/sdk/src/c/service.h:12, [2024-11-26T02:01:07.312Z] from /tmp/sdk/src/c/autoevent.h:12, [2024-11-26T02:01:07.312Z] from /tmp/sdk/src/c/autoevent.c:9: [2024-11-26T02:01:07.312Z] /tmp/sdk/src/c/autoevent.c: In function 'ae_runner': [2024-11-26T02:01:07.312Z] /tmp/sdk/src/c/autoevent.c:81:47: warning: format '%d' expects argument of type 'int', but argument 4 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] [2024-11-26T02:01:07.312Z] 81 | iot_log_error (ai->svc->logger, "Auto Event size (%d KiB) exceeds configured MaxEventSize", edgex_event_cooked_size (event) / 1024); [2024-11-26T02:01:07.312Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-11-26T02:01:07.312Z] | | [2024-11-26T02:01:07.312Z] | size_t {aka long unsigned int} [2024-11-26T02:01:07.312Z] /opt/iotech/iot/1.5/include/iot/logger.h:185:104: note: in definition of macro 'iot_log_error' [2024-11-26T02:01:07.312Z] 185 | #define iot_log_error(l,...) if ((l) && (l)->level >= IOT_LOG_ERROR) iot_log__log ((l), IOT_LOG_ERROR, __VA_ARGS__) [2024-11-26T02:01:07.312Z] | ^~~~~~~~~~~ [2024-11-26T02:01:07.312Z] /tmp/sdk/src/c/autoevent.c:81:66: note: format string is defined here [2024-11-26T02:01:07.312Z] 81 | iot_log_error (ai->svc->logger, "Auto Event size (%d KiB) exceeds configured MaxEventSize", edgex_event_cooked_size (event) / 1024); [2024-11-26T02:01:07.312Z] | ~^ [2024-11-26T02:01:07.312Z] | | [2024-11-26T02:01:07.312Z] | int [2024-11-26T02:01:07.312Z] | %ld [2024-11-26T02:01:07.312Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2024-11-26T02:01:07.572Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2024-11-26T02:01:07.572Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2024-11-26T02:01:07.833Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2024-11-26T02:01:07.833Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2024-11-26T02:01:08.092Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2024-11-26T02:01:08.352Z] /tmp/sdk/src/c/consul.c: In function 'edgex_consul_client_get_common_config': [2024-11-26T02:01:08.352Z] /tmp/sdk/src/c/consul.c:294:10: warning: 'privateConfig' may be used uninitialized [-Wmaybe-uninitialized] [2024-11-26T02:01:08.352Z] 294 | while (privateConfig) [2024-11-26T02:01:08.352Z] | ^~~~~~~~~~~~~ [2024-11-26T02:01:08.352Z] /tmp/sdk/src/c/consul.c:214:28: note: 'privateConfig' was declared here [2024-11-26T02:01:08.352Z] 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; [2024-11-26T02:01:08.352Z] | ^~~~~~~~~~~~~ [2024-11-26T02:01:08.352Z] /tmp/sdk/src/c/consul.c:271:10: warning: 'result' may be used uninitialized [-Wmaybe-uninitialized] [2024-11-26T02:01:08.352Z] 271 | while (result) [2024-11-26T02:01:08.352Z] | ^~~~~~ [2024-11-26T02:01:08.352Z] /tmp/sdk/src/c/consul.c:214:19: note: 'result' was declared here [2024-11-26T02:01:08.352Z] 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; [2024-11-26T02:01:08.352Z] | ^~~~~~ [2024-11-26T02:01:08.352Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2024-11-26T02:01:08.352Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2024-11-26T02:01:08.352Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2024-11-26T02:01:08.920Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2024-11-26T02:01:08.920Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2024-11-26T02:01:08.920Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2024-11-26T02:01:09.180Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2024-11-26T02:01:09.180Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2024-11-26T02:01:09.440Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2024-11-26T02:01:09.440Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2024-11-26T02:01:09.699Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2024-11-26T02:01:09.699Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2024-11-26T02:01:09.958Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2024-11-26T02:01:10.219Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2024-11-26T02:01:11.161Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2024-11-26T02:01:11.161Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2024-11-26T02:01:11.161Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2024-11-26T02:01:11.421Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2024-11-26T02:01:11.421Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2024-11-26T02:01:11.680Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2024-11-26T02:01:11.941Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2024-11-26T02:01:11.941Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2024-11-26T02:01:12.200Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2024-11-26T02:01:12.200Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2024-11-26T02:01:12.200Z] /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2024-11-26T02:01:12.200Z] /tmp/sdk/src/c/service.c:919:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-11-26T02:01:12.200Z] 919 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); [2024-11-26T02:01:12.200Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-11-26T02:01:12.200Z] /tmp/sdk/src/c/service.c:920:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-11-26T02:01:12.200Z] 920 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); [2024-11-26T02:01:12.200Z] | ^ [2024-11-26T02:01:12.200Z] In file included from /tmp/sdk/src/c/../../include/devsdk/devsdk.h:18, [2024-11-26T02:01:12.200Z] from /tmp/sdk/src/c/service.h:12, [2024-11-26T02:01:12.200Z] from /tmp/sdk/src/c/service.c:9: [2024-11-26T02:01:12.200Z] /tmp/sdk/src/c/service.c:1091:32: warning: format '%d' expects argument of type 'int', but argument 4 has type 'uint64_t' {aka 'long unsigned int'} [-Wformat=] [2024-11-26T02:01:12.200Z] 1091 | iot_log_info (svc->logger, "Service started in: %dms", iot_time_msecs() - svc->starttime); [2024-11-26T02:01:12.200Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-11-26T02:01:12.200Z] | | [2024-11-26T02:01:12.200Z] | uint64_t {aka long unsigned int} [2024-11-26T02:01:12.200Z] /opt/iotech/iot/1.5/include/iot/logger.h:179:101: note: in definition of macro 'iot_log_info' [2024-11-26T02:01:12.200Z] 179 | #define iot_log_info(l,...) if ((l) && (l)->level >= IOT_LOG_INFO) iot_log__log ((l), IOT_LOG_INFO, __VA_ARGS__) [2024-11-26T02:01:12.200Z] | ^~~~~~~~~~~ [2024-11-26T02:01:12.200Z] /tmp/sdk/src/c/service.c:1091:54: note: format string is defined here [2024-11-26T02:01:12.200Z] 1091 | iot_log_info (svc->logger, "Service started in: %dms", iot_time_msecs() - svc->starttime); [2024-11-26T02:01:12.200Z] | ~^ [2024-11-26T02:01:12.200Z] | | [2024-11-26T02:01:12.200Z] | int [2024-11-26T02:01:12.200Z] | %ld [2024-11-26T02:01:12.200Z] /tmp/sdk/src/c/service.c: In function 'devsdk_post_readings': [2024-11-26T02:01:12.200Z] /tmp/sdk/src/c/service.c:1154:37: warning: format '%d' expects argument of type 'int', but argument 4 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] [2024-11-26T02:01:12.200Z] 1154 | iot_log_error (svc->logger, "Post readings: Event size (%d KiB) exceeds configured MaxEventSize", edgex_event_cooked_size (event) / 1024); [2024-11-26T02:01:12.200Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-11-26T02:01:12.200Z] | | [2024-11-26T02:01:12.200Z] | size_t {aka long unsigned int} [2024-11-26T02:01:12.200Z] /opt/iotech/iot/1.5/include/iot/logger.h:185:104: note: in definition of macro 'iot_log_error' [2024-11-26T02:01:12.200Z] 185 | #define iot_log_error(l,...) if ((l) && (l)->level >= IOT_LOG_ERROR) iot_log__log ((l), IOT_LOG_ERROR, __VA_ARGS__) [2024-11-26T02:01:12.200Z] | ^~~~~~~~~~~ [2024-11-26T02:01:12.200Z] /tmp/sdk/src/c/service.c:1154:66: note: format string is defined here [2024-11-26T02:01:12.200Z] 1154 | iot_log_error (svc->logger, "Post readings: Event size (%d KiB) exceeds configured MaxEventSize", edgex_event_cooked_size (event) / 1024); [2024-11-26T02:01:12.200Z] | ~^ [2024-11-26T02:01:12.200Z] | | [2024-11-26T02:01:12.200Z] | int [2024-11-26T02:01:12.200Z] | %ld [2024-11-26T02:01:12.458Z] /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2024-11-26T02:01:12.458Z] /tmp/sdk/src/c/service.c:1074:5: warning: 'deviceservices_config' may be used uninitialized [-Wmaybe-uninitialized] [2024-11-26T02:01:12.458Z] 1074 | edgex_device_parseClients (svc->logger, iot_data_string_map_get (deviceservices_config, "Clients"), &svc->config.endpoints); [2024-11-26T02:01:12.458Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-11-26T02:01:12.458Z] /tmp/sdk/src/c/service.c:886:68: note: 'deviceservices_config' was declared here [2024-11-26T02:01:12.458Z] 886 | iot_data_t *common_config_map, *private_config_map, *configmap, *deviceservices_config; [2024-11-26T02:01:12.458Z] | ^~~~~~~~~~~~~~~~~~~~~ [2024-11-26T02:01:12.719Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2024-11-26T02:01:12.719Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2024-11-26T02:01:12.979Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2024-11-26T02:01:12.979Z] [ 68%] Linking C shared library libcsdk.so [2024-11-26T02:01:12.979Z] [ 68%] Built target csdk [2024-11-26T02:01:12.979Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2024-11-26T02:01:13.245Z] [ 72%] Linking C executable template [2024-11-26T02:01:13.245Z] [ 72%] Built target template [2024-11-26T02:01:13.245Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2024-11-26T02:01:13.245Z] [ 76%] Linking C executable device-counter [2024-11-26T02:01:13.503Z] [ 76%] Built target device-counter [2024-11-26T02:01:13.503Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2024-11-26T02:01:13.503Z] [ 80%] Linking C executable device-random [2024-11-26T02:01:13.503Z] [ 80%] Built target device-random [2024-11-26T02:01:13.503Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2024-11-26T02:01:13.765Z] [ 84%] Linking C executable device-gyro [2024-11-26T02:01:13.765Z] [ 84%] Built target device-gyro [2024-11-26T02:01:13.765Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2024-11-26T02:01:13.765Z] [ 88%] Linking C executable device-bitfields [2024-11-26T02:01:14.024Z] [ 88%] Built target device-bitfields [2024-11-26T02:01:14.024Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2024-11-26T02:01:14.024Z] [ 92%] Linking C executable template-discovery [2024-11-26T02:01:14.024Z] [ 92%] Built target template-discovery [2024-11-26T02:01:14.285Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2024-11-26T02:01:14.285Z] [ 96%] Linking C executable device-file [2024-11-26T02:01:14.285Z] [ 96%] Built target device-file [2024-11-26T02:01:14.285Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2024-11-26T02:01:14.544Z] [100%] Linking C executable device-terminal [2024-11-26T02:01:14.544Z] [100%] Built target device-terminal [2024-11-26T02:01:14.544Z] Run CPack packaging tool... [2024-11-26T02:01:14.544Z] CPack: Create package using TGZ [2024-11-26T02:01:14.544Z] CPack: Install projects [2024-11-26T02:01:14.544Z] CPack: - Run preinstall target for: Csdk [2024-11-26T02:01:14.804Z] CPack: - Install project: Csdk [] [2024-11-26T02:01:14.804Z] CPack: Create package [2024-11-26T02:01:14.804Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2024-11-26T02:01:14.804Z] [91m+ '[' false '=' true ] [2024-11-26T02:01:14.804Z] + '[' false '=' true ] [2024-11-26T02:01:14.804Z] + mkdir -p /tmp/sdk/build/debug [2024-11-26T02:01:14.804Z] [0m[91m+ cd /tmp/sdk/build/debug [2024-11-26T02:01:14.804Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2024-11-26T02:01:14.804Z] [0m-- The C compiler identification is GNU 12.2.1 [2024-11-26T02:01:15.062Z] -- Detecting C compiler ABI info [2024-11-26T02:01:15.063Z] -- Detecting C compiler ABI info - done [2024-11-26T02:01:15.063Z] -- Check for working C compiler: /usr/bin/cc - skipped [2024-11-26T02:01:15.063Z] -- Detecting C compile features [2024-11-26T02:01:15.063Z] -- Detecting C compile features - done [2024-11-26T02:01:15.063Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2024-11-26T02:01:15.063Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") [2024-11-26T02:01:15.063Z] -- Found LIBYAML: /usr/lib/libyaml.so [2024-11-26T02:01:15.063Z] -- Found LIBUUID: /usr/lib/libuuid.so [2024-11-26T02:01:15.063Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2024-11-26T02:01:15.063Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2024-11-26T02:01:15.063Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2024-11-26T02:01:15.063Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2024-11-26T02:01:15.063Z] -- /opt/iotech/iot/1.5/include [2024-11-26T02:01:15.063Z] -- C SDK 0.0.0 for Linux [2024-11-26T02:01:15.063Z] -- Performing Test CSDK_HAVE_ATOMIC [2024-11-26T02:01:15.063Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2024-11-26T02:01:15.322Z] -- Found Curses: /usr/lib/libcurses.so [2024-11-26T02:01:15.322Z] -- Configuring done (0.4s) [2024-11-26T02:01:15.322Z] -- Generating done (0.0s) [2024-11-26T02:01:15.322Z] -- Build files have been written to: /tmp/sdk/build/debug [2024-11-26T02:01:15.322Z] [91m+ make [2024-11-26T02:01:15.322Z] + tee debug.log [2024-11-26T02:01:15.322Z] [0m[ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2024-11-26T02:01:15.322Z] In file included from /tmp/sdk/src/c/../../include/devsdk/devsdk.h:18, [2024-11-26T02:01:15.322Z] from /tmp/sdk/src/c/service.h:12, [2024-11-26T02:01:15.322Z] from /tmp/sdk/src/c/autoevent.h:12, [2024-11-26T02:01:15.322Z] from /tmp/sdk/src/c/autoevent.c:9: [2024-11-26T02:01:15.322Z] /tmp/sdk/src/c/autoevent.c: In function 'ae_runner': [2024-11-26T02:01:15.322Z] /tmp/sdk/src/c/autoevent.c:81:47: warning: format '%d' expects argument of type 'int', but argument 4 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] [2024-11-26T02:01:15.322Z] 81 | iot_log_error (ai->svc->logger, "Auto Event size (%d KiB) exceeds configured MaxEventSize", edgex_event_cooked_size (event) / 1024); [2024-11-26T02:01:15.322Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-11-26T02:01:15.322Z] | | [2024-11-26T02:01:15.322Z] | size_t {aka long unsigned int} [2024-11-26T02:01:15.322Z] /opt/iotech/iot/1.5/include/iot/logger.h:185:104: note: in definition of macro 'iot_log_error' [2024-11-26T02:01:15.322Z] 185 | #define iot_log_error(l,...) if ((l) && (l)->level >= IOT_LOG_ERROR) iot_log__log ((l), IOT_LOG_ERROR, __VA_ARGS__) [2024-11-26T02:01:15.322Z] | ^~~~~~~~~~~ [2024-11-26T02:01:15.322Z] /tmp/sdk/src/c/autoevent.c:81:66: note: format string is defined here [2024-11-26T02:01:15.322Z] 81 | iot_log_error (ai->svc->logger, "Auto Event size (%d KiB) exceeds configured MaxEventSize", edgex_event_cooked_size (event) / 1024); [2024-11-26T02:01:15.322Z] | ~^ [2024-11-26T02:01:15.322Z] | | [2024-11-26T02:01:15.322Z] | int [2024-11-26T02:01:15.322Z] | %ld [2024-11-26T02:01:15.322Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2024-11-26T02:01:15.581Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2024-11-26T02:01:15.581Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2024-11-26T02:01:15.581Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2024-11-26T02:01:15.581Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2024-11-26T02:01:15.840Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2024-11-26T02:01:15.840Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2024-11-26T02:01:15.840Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2024-11-26T02:01:16.101Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2024-11-26T02:01:16.101Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2024-11-26T02:01:16.101Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2024-11-26T02:01:16.364Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2024-11-26T02:01:16.364Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2024-11-26T02:01:16.364Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2024-11-26T02:01:16.364Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2024-11-26T02:01:16.624Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2024-11-26T02:01:16.624Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2024-11-26T02:01:16.624Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2024-11-26T02:01:16.624Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2024-11-26T02:01:16.884Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2024-11-26T02:01:17.144Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2024-11-26T02:01:17.144Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2024-11-26T02:01:17.144Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2024-11-26T02:01:17.144Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2024-11-26T02:01:17.404Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2024-11-26T02:01:17.404Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2024-11-26T02:01:17.664Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2024-11-26T02:01:17.664Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2024-11-26T02:01:17.664Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2024-11-26T02:01:17.664Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2024-11-26T02:01:17.923Z] /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2024-11-26T02:01:17.923Z] /tmp/sdk/src/c/service.c:919:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-11-26T02:01:17.923Z] 919 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); [2024-11-26T02:01:17.923Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-11-26T02:01:17.923Z] /tmp/sdk/src/c/service.c:920:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-11-26T02:01:17.923Z] 920 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); [2024-11-26T02:01:17.923Z] | ^ [2024-11-26T02:01:17.923Z] In file included from /tmp/sdk/src/c/../../include/devsdk/devsdk.h:18, [2024-11-26T02:01:17.923Z] from /tmp/sdk/src/c/service.h:12, [2024-11-26T02:01:17.923Z] from /tmp/sdk/src/c/service.c:9: [2024-11-26T02:01:17.923Z] /tmp/sdk/src/c/service.c:1091:32: warning: format '%d' expects argument of type 'int', but argument 4 has type 'uint64_t' {aka 'long unsigned int'} [-Wformat=] [2024-11-26T02:01:17.923Z] 1091 | iot_log_info (svc->logger, "Service started in: %dms", iot_time_msecs() - svc->starttime); [2024-11-26T02:01:17.923Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-11-26T02:01:17.923Z] | | [2024-11-26T02:01:17.923Z] | uint64_t {aka long unsigned int} [2024-11-26T02:01:17.923Z] /opt/iotech/iot/1.5/include/iot/logger.h:179:101: note: in definition of macro 'iot_log_info' [2024-11-26T02:01:17.923Z] 179 | #define iot_log_info(l,...) if ((l) && (l)->level >= IOT_LOG_INFO) iot_log__log ((l), IOT_LOG_INFO, __VA_ARGS__) [2024-11-26T02:01:17.923Z] | ^~~~~~~~~~~ [2024-11-26T02:01:17.923Z] /tmp/sdk/src/c/service.c:1091:54: note: format string is defined here [2024-11-26T02:01:17.923Z] 1091 | iot_log_info (svc->logger, "Service started in: %dms", iot_time_msecs() - svc->starttime); [2024-11-26T02:01:17.923Z] | ~^ [2024-11-26T02:01:17.923Z] | | [2024-11-26T02:01:17.923Z] | int [2024-11-26T02:01:17.923Z] | %ld [2024-11-26T02:01:17.923Z] /tmp/sdk/src/c/service.c: In function 'devsdk_post_readings': [2024-11-26T02:01:17.923Z] /tmp/sdk/src/c/service.c:1154:37: warning: format '%d' expects argument of type 'int', but argument 4 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] [2024-11-26T02:01:17.923Z] 1154 | iot_log_error (svc->logger, "Post readings: Event size (%d KiB) exceeds configured MaxEventSize", edgex_event_cooked_size (event) / 1024); [2024-11-26T02:01:17.923Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-11-26T02:01:17.923Z] | | [2024-11-26T02:01:17.923Z] | size_t {aka long unsigned int} [2024-11-26T02:01:17.923Z] /opt/iotech/iot/1.5/include/iot/logger.h:185:104: note: in definition of macro 'iot_log_error' [2024-11-26T02:01:17.923Z] 185 | #define iot_log_error(l,...) if ((l) && (l)->level >= IOT_LOG_ERROR) iot_log__log ((l), IOT_LOG_ERROR, __VA_ARGS__) [2024-11-26T02:01:17.923Z] | ^~~~~~~~~~~ [2024-11-26T02:01:17.923Z] /tmp/sdk/src/c/service.c:1154:66: note: format string is defined here [2024-11-26T02:01:17.924Z] 1154 | iot_log_error (svc->logger, "Post readings: Event size (%d KiB) exceeds configured MaxEventSize", edgex_event_cooked_size (event) / 1024); [2024-11-26T02:01:17.924Z] | ~^ [2024-11-26T02:01:17.924Z] | | [2024-11-26T02:01:17.924Z] | int [2024-11-26T02:01:17.924Z] | %ld [2024-11-26T02:01:17.924Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2024-11-26T02:01:17.924Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2024-11-26T02:01:18.183Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2024-11-26T02:01:18.183Z] [ 68%] Linking C shared library libcsdk.so [2024-11-26T02:01:18.183Z] [ 68%] Built target csdk [2024-11-26T02:01:18.183Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2024-11-26T02:01:18.183Z] [ 72%] Linking C executable template [2024-11-26T02:01:18.443Z] [ 72%] Built target template [2024-11-26T02:01:18.444Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2024-11-26T02:01:18.444Z] [ 76%] Linking C executable device-counter [2024-11-26T02:01:18.444Z] [ 76%] Built target device-counter [2024-11-26T02:01:18.444Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2024-11-26T02:01:18.444Z] [ 80%] Linking C executable device-random [2024-11-26T02:01:18.703Z] [ 80%] Built target device-random [2024-11-26T02:01:18.703Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2024-11-26T02:01:18.703Z] [ 84%] Linking C executable device-gyro [2024-11-26T02:01:18.703Z] [ 84%] Built target device-gyro [2024-11-26T02:01:18.703Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2024-11-26T02:01:18.963Z] [ 88%] Linking C executable device-bitfields [2024-11-26T02:01:18.963Z] [ 88%] Built target device-bitfields [2024-11-26T02:01:18.963Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2024-11-26T02:01:18.963Z] [ 92%] Linking C executable template-discovery [2024-11-26T02:01:18.963Z] [ 92%] Built target template-discovery [2024-11-26T02:01:18.963Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2024-11-26T02:01:19.224Z] [ 96%] Linking C executable device-file [2024-11-26T02:01:19.224Z] [ 96%] Built target device-file [2024-11-26T02:01:19.224Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2024-11-26T02:01:19.224Z] [100%] Linking C executable device-terminal [2024-11-26T02:01:19.485Z] [100%] Built target device-terminal [2024-11-26T02:01:19.485Z] make: Entering directory '/tmp/sdk/build/release' [2024-11-26T02:01:19.485Z] [ 68%] Built target csdk [2024-11-26T02:01:19.485Z] [ 72%] Built target template [2024-11-26T02:01:19.485Z] [ 76%] Built target device-counter [2024-11-26T02:01:19.485Z] [ 80%] Built target device-random [2024-11-26T02:01:19.485Z] [ 84%] Built target device-gyro [2024-11-26T02:01:19.485Z] [ 88%] Built target device-bitfields [2024-11-26T02:01:19.485Z] [ 92%] Built target template-discovery [2024-11-26T02:01:19.485Z] [ 96%] Built target device-file [2024-11-26T02:01:19.748Z] [100%] Built target device-terminal [2024-11-26T02:01:19.749Z] Install the project... [2024-11-26T02:01:19.749Z] -- Install configuration: "Release" [2024-11-26T02:01:19.749Z] -- Installing: /usr/local/lib/libcsdk.so [2024-11-26T02:01:19.749Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2024-11-26T02:01:19.749Z] -- Installing: /usr/local/include [2024-11-26T02:01:19.749Z] -- Installing: /usr/local/include/devsdk [2024-11-26T02:01:19.749Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2024-11-26T02:01:19.749Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2024-11-26T02:01:19.749Z] -- Installing: /usr/local/include/edgex [2024-11-26T02:01:19.749Z] -- Installing: /usr/local/include/edgex/edgex.h [2024-11-26T02:01:19.749Z] -- Installing: /usr/local/include/edgex/devices.h [2024-11-26T02:01:19.749Z] -- Installing: /usr/local/include/edgex/profiles.h [2024-11-26T02:01:19.749Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2024-11-26T02:01:19.749Z] -- Installing: /usr/local/include/edgex/rest-server.h [2024-11-26T02:01:19.749Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2024-11-26T02:01:19.749Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2024-11-26T02:01:19.749Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2024-11-26T02:01:19.749Z] make: Leaving directory '/tmp/sdk/build/release' [2024-11-26T02:01:22.261Z] Removing intermediate container 6cae326d8b41 [2024-11-26T02:01:22.261Z] ---> 4401256f9389 [2024-11-26T02:01:22.261Z] Step 14/22 : FROM ${BASE} [2024-11-26T02:01:22.261Z] ---> 6605166a5db4 [2024-11-26T02:01:22.261Z] Step 15/22 : LABEL maintainer="IOTech <support@iotechsys.com>" [2024-11-26T02:01:22.261Z] ---> Running in 05f12fe0c785 [2024-11-26T02:01:22.521Z] Removing intermediate container 05f12fe0c785 [2024-11-26T02:01:22.521Z] ---> 14f9e2000b8b [2024-11-26T02:01:22.521Z] 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-11-26T02:01:22.521Z] ---> Running in dab88d6e4bed [2024-11-26T02:01:22.780Z] [91mConnecting to iotech.jfrog.io (34.246.139.145:443) [2024-11-26T02:01:23.352Z] [0m[91msaving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-11-26T02:01:23.352Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-11-26T02:01:23.352Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-11-26T02:01:23.352Z] [0mRemoving intermediate container dab88d6e4bed [2024-11-26T02:01:23.352Z] ---> 4a6414711e8e [2024-11-26T02:01:23.352Z] Step 17/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-11-26T02:01:23.352Z] ---> Running in dfc77a328ca0 [2024-11-26T02:01:23.922Z] Removing intermediate container dfc77a328ca0 [2024-11-26T02:01:23.922Z] ---> 5ebdc40b7d9a [2024-11-26T02:01:23.922Z] 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-11-26T02:01:23.922Z] ---> Running in 14199061d357 [2024-11-26T02:01:24.492Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-11-26T02:01:24.492Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-11-26T02:01:24.752Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-11-26T02:01:25.327Z] [91mWARNING: This apk-tools is OLD! Some packages might not function properly. [2024-11-26T02:01:25.327Z] [0m(1/10) Upgrading libcurl (8.4.0-r0 -> 8.9.1-r1) [2024-11-26T02:01:25.327Z] (2/10) Installing curl (8.9.1-r1) [2024-11-26T02:01:25.327Z] (3/10) Upgrading curl-dev (8.4.0-r0 -> 8.9.1-r1) [2024-11-26T02:01:25.327Z] (4/10) Installing dumb-init (1.2.5-r2) [2024-11-26T02:01:25.327Z] (5/10) Installing hiredis (1.1.0-r2) [2024-11-26T02:01:25.327Z] (6/10) Installing hiredis-dev (1.1.0-r2) [2024-11-26T02:01:25.327Z] (7/10) Installing libcbor (0.10.2-r1) [2024-11-26T02:01:25.327Z] (8/10) Installing iotech-iot-1.5 (1.5.5-r0) [2024-11-26T02:01:26.265Z] (9/10) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) [2024-11-26T02:01:26.265Z] (10/10) Installing libuuid (2.38.1-r8) [2024-11-26T02:01:26.265Z] Executing busybox-1.36.1-r4.trigger [2024-11-26T02:01:26.592Z] OK: 331 MiB in 90 packages [2024-11-26T02:01:26.850Z] Removing intermediate container 14199061d357 [2024-11-26T02:01:26.850Z] ---> 1f84c082cabb [2024-11-26T02:01:26.850Z] Step 19/22 : RUN apk --no-cache upgrade [2024-11-26T02:01:26.850Z] ---> Running in 51f1b7aeb9fc [2024-11-26T02:01:27.111Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-11-26T02:01:27.369Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-11-26T02:01:27.369Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-11-26T02:01:27.951Z] [91mWARNING: This apk-tools is OLD! Some packages might not function properly. [2024-11-26T02:01:27.951Z] [0mUpgrading critical system libraries and apk-tools: [2024-11-26T02:01:27.951Z] (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) [2024-11-26T02:01:27.951Z] Executing busybox-1.36.1-r4.trigger [2024-11-26T02:01:27.951Z] Continuing the upgrade transaction with new apk-tools: [2024-11-26T02:01:27.951Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-11-26T02:01:28.209Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-11-26T02:01:28.209Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-11-26T02:01:28.787Z] [91mWARNING: This apk-tools is OLD! Some packages might not function properly. [2024-11-26T02:01:28.787Z] [0m(1/14) Upgrading busybox (1.36.1-r4 -> 1.36.1-r7) [2024-11-26T02:01:28.787Z] Executing busybox-1.36.1-r7.post-upgrade [2024-11-26T02:01:28.787Z] (2/14) Upgrading busybox-binsh (1.36.1-r4 -> 1.36.1-r7) [2024-11-26T02:01:28.787Z] (3/14) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) [2024-11-26T02:01:28.787Z] (4/14) Upgrading libcrypto3 (3.1.4-r0 -> 3.1.7-r1) [2024-11-26T02:01:28.787Z] (5/14) Upgrading libssl3 (3.1.4-r0 -> 3.1.7-r1) [2024-11-26T02:01:29.048Z] (6/14) Upgrading ssl_client (1.36.1-r4 -> 1.36.1-r7) [2024-11-26T02:01:29.048Z] (7/14) Upgrading libexpat (2.5.0-r1 -> 2.6.4-r0) [2024-11-26T02:01:29.048Z] (8/14) Upgrading libarchive (3.7.2-r0 -> 3.7.7-r0) [2024-11-26T02:01:29.048Z] (9/14) Upgrading ca-certificates (20230506-r0 -> 20240226-r0) [2024-11-26T02:01:29.048Z] (10/14) Upgrading openssl-dev (3.1.4-r0 -> 3.1.7-r1) [2024-11-26T02:01:29.048Z] (11/14) Upgrading git (2.40.1-r0 -> 2.40.3-r0) [2024-11-26T02:01:29.048Z] (12/14) Upgrading gnutls (3.8.0-r2 -> 3.8.4-r0) [2024-11-26T02:01:29.048Z] (13/14) Upgrading gnutls-c++ (3.8.0-r2 -> 3.8.4-r0) [2024-11-26T02:01:29.048Z] (14/14) Upgrading gnutls-dev (3.8.0-r2 -> 3.8.4-r0) [2024-11-26T02:01:29.048Z] Executing busybox-1.36.1-r7.trigger [2024-11-26T02:01:29.048Z] Executing ca-certificates-20240226-r0.trigger [2024-11-26T02:01:29.048Z] OK: 332 MiB in 90 packages [2024-11-26T02:01:30.431Z] Removing intermediate container 51f1b7aeb9fc [2024-11-26T02:01:30.431Z] ---> 5b0949dfe33e [2024-11-26T02:01:30.431Z] Step 20/22 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2024-11-26T02:01:30.431Z] ---> 7b1bb3dd0ddb [2024-11-26T02:01:30.431Z] Step 21/22 : COPY --from=builder /usr/local/lib /usr/local/lib [2024-11-26T02:01:30.431Z] ---> f8ff53deddd8 [2024-11-26T02:01:30.431Z] Step 22/22 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2024-11-26T02:01:30.697Z] ---> 1c9337b231ea [2024-11-26T02:01:30.697Z] Successfully built 1c9337b231ea [2024-11-26T02:01:30.697Z] 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-11-26T02:01:31.429Z] + docker inspect -f . ci-base-image-x86_64 [2024-11-26T02:01:31.429Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-26T02:01:31.608Z] prd-ubuntu20.04-docker-8c-8g-32866 does not seem to be running inside a container [2024-11-26T02:01:31.647Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-c_PR-524 -v /w/workspace/edgexfoundry_device-sdk-c_PR-524:/w/workspace/edgexfoundry_device-sdk-c_PR-524:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-524@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-524@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-11-26T02:01:32.024Z] $ docker top 1e29ce3eca12cadeeb715d5b3074ee3400512faab0f2376b8a21aeea6872bb84 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-11-26T02:01:32.453Z] + make test [2024-11-26T02:01:32.453Z] echo "make test" [2024-11-26T02:01:32.453Z] make test [Pipeline] } [2024-11-26T02:01:32.484Z] $ docker stop --time=1 1e29ce3eca12cadeeb715d5b3074ee3400512faab0f2376b8a21aeea6872bb84 [2024-11-26T02:01:33.765Z] $ docker rm -f --volumes 1e29ce3eca12cadeeb715d5b3074ee3400512faab0f2376b8a21aeea6872bb84 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-11-26T02:01:34.798Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-11-26T02:01:35.111Z] + ls -al . [2024-11-26T02:01:35.111Z] total 212 [2024-11-26T02:01:35.111Z] drwxrwxr-x 9 jenkins jenkins 4096 Nov 26 02:00 . [2024-11-26T02:01:35.111Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 26 02:00 .. [2024-11-26T02:01:35.111Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 26 02:00 .git [2024-11-26T02:01:35.111Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 26 02:00 .github [2024-11-26T02:01:35.111Z] -rw-rw-r-- 1 jenkins jenkins 176 Nov 26 02:00 .gitignore [2024-11-26T02:01:35.111Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 26 02:00 .semver [2024-11-26T02:01:35.111Z] -rw-rw-r-- 1 jenkins jenkins 2908 Nov 26 02:00 Attribution.txt [2024-11-26T02:01:35.111Z] -rw-rw-r-- 1 jenkins jenkins 11953 Nov 26 02:00 CHANGELOG.md [2024-11-26T02:01:35.111Z] -rw-rw-r-- 1 jenkins jenkins 108574 Nov 26 02:00 Doxyfile [2024-11-26T02:01:35.111Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 26 02:00 GOVERNANCE.md [2024-11-26T02:01:35.111Z] -rw-rw-r-- 1 jenkins jenkins 784 Nov 26 02:00 Jenkinsfile [2024-11-26T02:01:35.111Z] -rw-rw-r-- 1 jenkins jenkins 10174 Nov 26 02:00 LICENSE [2024-11-26T02:01:35.111Z] -rw-rw-r-- 1 jenkins jenkins 444 Nov 26 02:00 Makefile [2024-11-26T02:01:35.111Z] -rw-rw-r-- 1 jenkins jenkins 618 Nov 26 02:00 OWNERS.md [2024-11-26T02:01:35.111Z] -rw-rw-r-- 1 jenkins jenkins 1651 Nov 26 02:00 README.IOT.md [2024-11-26T02:01:35.111Z] -rw-rw-r-- 1 jenkins jenkins 4215 Nov 26 02:00 README.md [2024-11-26T02:01:35.111Z] -rw-rw-r-- 1 jenkins jenkins 1245 Nov 26 02:00 README.v3.md [2024-11-26T02:01:35.111Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 26 02:00 VERSION [2024-11-26T02:01:35.111Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 26 02:00 docs [2024-11-26T02:01:35.111Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 26 02:00 include [2024-11-26T02:01:35.111Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 26 02:00 scripts [2024-11-26T02:01:35.111Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 26 02:00 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-26T02:01:35.523Z] + 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=8edf09f5aad0a792c2e2c975227ca9300c9d835d --label arch=amd64 --label version=0.0.0 . [2024-11-26T02:01:35.523Z] Sending build context to Docker daemon 5.142MB [2024-11-26T02:01:35.523Z] Step 1/18 : ARG BASE=alpine:3.18 [2024-11-26T02:01:35.523Z] Step 2/18 : FROM ${BASE} [2024-11-26T02:01:35.523Z] ---> 1c9337b231ea [2024-11-26T02:01:35.523Z] Step 3/18 : LABEL maintainer="IOTech <support@iotechsys.com>" [2024-11-26T02:01:35.523Z] ---> Running in 1629925c8a05 [2024-11-26T02:01:35.782Z] Removing intermediate container 1629925c8a05 [2024-11-26T02:01:35.782Z] ---> 024b9b85c780 [2024-11-26T02:01:35.782Z] 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-11-26T02:01:35.782Z] ---> Running in 475091c8bd0e [2024-11-26T02:01:36.040Z] [91mConnecting to iotech.jfrog.io (54.73.4.50:443) [2024-11-26T02:01:36.300Z] [0m[91msaving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-11-26T02:01:36.300Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-11-26T02:01:36.300Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-11-26T02:01:36.559Z] [0mRemoving intermediate container 475091c8bd0e [2024-11-26T02:01:36.559Z] ---> 7e3bd764a4e0 [2024-11-26T02:01:36.559Z] Step 5/18 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-11-26T02:01:36.559Z] ---> Running in 2148911cf3f7 [2024-11-26T02:01:37.132Z] Removing intermediate container 2148911cf3f7 [2024-11-26T02:01:37.132Z] ---> 39b2ccfb858e [2024-11-26T02:01:37.132Z] 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-11-26T02:01:37.132Z] ---> Running in 51bc7fdec3f1 [2024-11-26T02:01:37.391Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-11-26T02:01:37.655Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-11-26T02:01:37.922Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-11-26T02:01:38.494Z] [91mWARNING: This apk-tools is OLD! Some packages might not function properly. [2024-11-26T02:01:38.494Z] [0m(1/11) Installing iotech-iot-1.5-dev (1.5.5-r0) [2024-11-26T02:01:38.494Z] (2/11) Installing libcbor-dev (0.10.2-r1) [2024-11-26T02:01:38.494Z] (3/11) Installing libmenuw (6.4_p20230506-r0) [2024-11-26T02:01:38.494Z] (4/11) Installing libpanelw (6.4_p20230506-r0) [2024-11-26T02:01:38.494Z] (5/11) Installing libncurses++ (6.4_p20230506-r0) [2024-11-26T02:01:38.494Z] (6/11) Installing ncurses-dev (6.4_p20230506-r0) [2024-11-26T02:01:38.494Z] (7/11) Installing libblkid (2.38.1-r8) [2024-11-26T02:01:38.494Z] (8/11) Installing libfdisk (2.38.1-r8) [2024-11-26T02:01:38.494Z] (9/11) Installing libmount (2.38.1-r8) [2024-11-26T02:01:38.494Z] (10/11) Installing libsmartcols (2.38.1-r8) [2024-11-26T02:01:38.799Z] (11/11) Installing util-linux-dev (2.38.1-r8) [2024-11-26T02:01:38.799Z] Executing busybox-1.36.1-r7.trigger [2024-11-26T02:01:38.799Z] OK: 337 MiB in 101 packages [2024-11-26T02:01:39.367Z] Removing intermediate container 51bc7fdec3f1 [2024-11-26T02:01:39.367Z] ---> 102b1f8b548c [2024-11-26T02:01:39.367Z] Step 7/18 : RUN apk --no-cache upgrade [2024-11-26T02:01:39.367Z] ---> Running in 08f4ce009159 [2024-11-26T02:01:39.625Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-11-26T02:01:39.625Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-11-26T02:01:39.625Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-11-26T02:01:40.194Z] [91mWARNING: [0m[91mThis apk-tools is OLD! Some packages might not function properly. [2024-11-26T02:01:40.195Z] [0mOK: 337 MiB in 101 packages [2024-11-26T02:01:40.763Z] Removing intermediate container 08f4ce009159 [2024-11-26T02:01:40.763Z] ---> f0a7cfa14ea2 [2024-11-26T02:01:40.763Z] Step 8/18 : COPY VERSION /edgex-c-sdk/ [2024-11-26T02:01:40.763Z] ---> 57ca48583ab3 [2024-11-26T02:01:40.763Z] Step 9/18 : COPY src /edgex-c-sdk/src/ [2024-11-26T02:01:41.022Z] ---> 0015a05d917f [2024-11-26T02:01:41.022Z] Step 10/18 : COPY include /edgex-c-sdk/include/ [2024-11-26T02:01:41.022Z] ---> 52f893a8247e [2024-11-26T02:01:41.022Z] Step 11/18 : COPY scripts /edgex-c-sdk/scripts [2024-11-26T02:01:41.281Z] ---> 317639dd4e52 [2024-11-26T02:01:41.281Z] Step 12/18 : COPY LICENSE /edgex-c-sdk/ [2024-11-26T02:01:41.281Z] ---> 04074a30b21c [2024-11-26T02:01:41.281Z] Step 13/18 : COPY Attribution.txt /edgex-c-sdk/ [2024-11-26T02:01:41.539Z] ---> fe174dd97dda [2024-11-26T02:01:41.539Z] Step 14/18 : WORKDIR /edgex-c-sdk [2024-11-26T02:01:41.539Z] ---> Running in 4154ec0eb9a0 [2024-11-26T02:01:41.539Z] Removing intermediate container 4154ec0eb9a0 [2024-11-26T02:01:41.539Z] ---> 94de3e147621 [2024-11-26T02:01:41.539Z] Step 15/18 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2024-11-26T02:01:41.539Z] ---> Running in cc49033d9563 [2024-11-26T02:01:41.798Z] Removing intermediate container cc49033d9563 [2024-11-26T02:01:41.798Z] ---> 6447356e153e [2024-11-26T02:01:41.798Z] Step 16/18 : LABEL arch=amd64 [2024-11-26T02:01:41.798Z] ---> Running in 5d3c6f1750d1 [2024-11-26T02:01:41.798Z] Removing intermediate container 5d3c6f1750d1 [2024-11-26T02:01:41.798Z] ---> 11845265eea0 [2024-11-26T02:01:41.798Z] Step 17/18 : LABEL git_sha=8edf09f5aad0a792c2e2c975227ca9300c9d835d [2024-11-26T02:01:41.798Z] ---> Running in f92193569c2d [2024-11-26T02:01:42.058Z] Removing intermediate container f92193569c2d [2024-11-26T02:01:42.058Z] ---> 125d7ebcba42 [2024-11-26T02:01:42.058Z] Step 18/18 : LABEL version=0.0.0 [2024-11-26T02:01:42.058Z] ---> Running in fb5b46ff9eb0 [2024-11-26T02:01:42.058Z] Removing intermediate container fb5b46ff9eb0 [2024-11-26T02:01:42.058Z] ---> b86585882dfa [2024-11-26T02:01:42.058Z] [Warning] One or more build-args [MAKE ARCH] were not consumed [2024-11-26T02:01:42.058Z] Successfully built b86585882dfa [2024-11-26T02:01:42.058Z] 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-11-26T02:01:43.113Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-11-26T02:01:43.114Z] [2024-11-26T02:01:43.114Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-26T02:01:43.501Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-11-26T02:01:43.501Z] latest: Pulling from edgex-lftools-log-publisher [2024-11-26T02:01:43.501Z] 5eb5b503b376: Pulling fs layer [2024-11-26T02:01:43.501Z] 5c69ac0246d0: Pulling fs layer [2024-11-26T02:01:43.501Z] ec43610c2a17: Pulling fs layer [2024-11-26T02:01:43.501Z] 3a2ae6a8a46f: Pulling fs layer [2024-11-26T02:01:43.501Z] 33b1e0a273af: Pulling fs layer [2024-11-26T02:01:43.501Z] 5d3b04190fa2: Pulling fs layer [2024-11-26T02:01:43.501Z] 2f39f015ded8: Pulling fs layer [2024-11-26T02:01:43.501Z] 33b1e0a273af: Waiting [2024-11-26T02:01:43.501Z] 5d3b04190fa2: Waiting [2024-11-26T02:01:43.501Z] 2f39f015ded8: Waiting [2024-11-26T02:01:43.501Z] 3a2ae6a8a46f: Waiting [2024-11-26T02:01:43.501Z] 5c69ac0246d0: Verifying Checksum [2024-11-26T02:01:43.501Z] 5c69ac0246d0: Download complete [2024-11-26T02:01:43.501Z] 3a2ae6a8a46f: Verifying Checksum [2024-11-26T02:01:43.501Z] 3a2ae6a8a46f: Download complete [2024-11-26T02:01:43.501Z] 33b1e0a273af: Verifying Checksum [2024-11-26T02:01:43.501Z] 33b1e0a273af: Download complete [2024-11-26T02:01:43.501Z] ec43610c2a17: Verifying Checksum [2024-11-26T02:01:43.501Z] ec43610c2a17: Download complete [2024-11-26T02:01:43.759Z] 5d3b04190fa2: Verifying Checksum [2024-11-26T02:01:43.759Z] 5d3b04190fa2: Download complete [2024-11-26T02:01:43.759Z] 5eb5b503b376: Verifying Checksum [2024-11-26T02:01:43.759Z] 5eb5b503b376: Download complete [2024-11-26T02:01:44.325Z] 2f39f015ded8: Download complete [2024-11-26T02:01:44.892Z] 5eb5b503b376: Pull complete [2024-11-26T02:01:45.150Z] 5c69ac0246d0: Pull complete [2024-11-26T02:01:45.719Z] ec43610c2a17: Pull complete [2024-11-26T02:01:45.719Z] 3a2ae6a8a46f: Pull complete [2024-11-26T02:01:45.978Z] 33b1e0a273af: Pull complete [2024-11-26T02:01:45.978Z] 5d3b04190fa2: Pull complete [2024-11-26T02:02:01.029Z] 2f39f015ded8: Pull complete [2024-11-26T02:02:01.029Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-11-26T02:02:01.029Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-11-26T02:02:01.029Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-26T02:02:01.292Z] prd-ubuntu20.04-docker-8c-8g-32866 does not seem to be running inside a container [2024-11-26T02:02:01.319Z] $ 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-524 -v /w/workspace/edgexfoundry_device-sdk-c_PR-524:/w/workspace/edgexfoundry_device-sdk-c_PR-524:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-524@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-524@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-11-26T02:02:06.311Z] $ docker top 2c5c88aba76387add4d5ec86450eb81efdc77df59abd00ff05175506ee0fef3c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-11-26T02:02:06.814Z] ---> job-cost.sh [2024-11-26T02:02:06.814Z] lf-activate-venv: SKIPPING [2024-11-26T02:02:06.814Z] INFO: No Stack... [2024-11-26T02:02:07.074Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-11-26T02:02:07.334Z] INFO: Archiving Costs [Pipeline] sh [2024-11-26T02:02:07.655Z] + cat /w/workspace/edgexfoundry_device-sdk-c_PR-524/archives/cost.csv [2024-11-26T02:02:07.655Z] + cut -d, -f6 [Pipeline] lock [2024-11-26T02:02:07.704Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-c-PR-524-1-stack-cost] [2024-11-26T02:02:07.711Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-524-1-stack-cost] did not exist. Created. [2024-11-26T02:02:07.719Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-c-PR-524-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-11-26T02:02:08.134Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-11-26T02:02:08.197Z] Stashed 1 file(s) [Pipeline] } [2024-11-26T02:02:08.221Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-c-PR-524-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-11-26T02:02:08.306Z] $ docker stop --time=1 2c5c88aba76387add4d5ec86450eb81efdc77df59abd00ff05175506ee0fef3c [2024-11-26T02:02:09.456Z] $ docker rm -f --volumes 2c5c88aba76387add4d5ec86450eb81efdc77df59abd00ff05175506ee0fef3c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-11-26T08:00:16.662Z] Cancelling nested steps due to timeout [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-11-26T08:00:18.973Z] Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [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-11-26T08:00:25.520Z] + [ -d /w/workspace/edgexfoundry_device-sdk-c_PR-524/archives ] [2024-11-26T08:00:25.520Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-524/archives [2024-11-26T08:00:25.520Z] total 16 [2024-11-26T08:00:25.520Z] drwxr-xr-x 3 root root 4096 Nov 26 02:02 . [2024-11-26T08:00:25.520Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 26 02:02 .. [2024-11-26T08:00:25.520Z] drwxr-xr-x 2 root root 4096 Nov 26 02:02 cost [2024-11-26T08:00:25.520Z] -rw-r--r-- 1 root root 84 Nov 26 02:02 cost.csv [2024-11-26T08:00:25.520Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_PR-524/archives [2024-11-26T08:00:25.520Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-524/archives [2024-11-26T08:00:25.520Z] total 16 [2024-11-26T08:00:25.520Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 26 02:02 . [2024-11-26T08:00:25.520Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 26 02:02 .. [2024-11-26T08:00:25.520Z] drwxr-xr-x 2 jenkins jenkins 4096 Nov 26 02:02 cost [2024-11-26T08:00:25.520Z] -rw-r--r-- 1 jenkins jenkins 84 Nov 26 02:02 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-11-26T08:00:25.859Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-11-26T08:00:26.765Z] ---> package-listing.sh [2024-11-26T08:00:26.765Z] ++ facter osfamily [2024-11-26T08:00:26.765Z] ++ tr '[:upper:]' '[:lower:]' [2024-11-26T08:00:27.024Z] + OS_FAMILY=debian [2024-11-26T08:00:27.024Z] + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-524 [2024-11-26T08:00:27.024Z] + START_PACKAGES=/tmp/packages_start.txt [2024-11-26T08:00:27.024Z] + END_PACKAGES=/tmp/packages_end.txt [2024-11-26T08:00:27.024Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-11-26T08:00:27.024Z] + PACKAGES=/tmp/packages_start.txt [2024-11-26T08:00:27.024Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-524 ']' [2024-11-26T08:00:27.024Z] + PACKAGES=/tmp/packages_end.txt [2024-11-26T08:00:27.024Z] + case "${OS_FAMILY}" in [2024-11-26T08:00:27.024Z] + dpkg -l [2024-11-26T08:00:27.024Z] + grep '^ii' [2024-11-26T08:00:27.024Z] + '[' -f /tmp/packages_start.txt ']' [2024-11-26T08:00:27.024Z] + '[' -f /tmp/packages_end.txt ']' [2024-11-26T08:00:27.024Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-11-26T08:00:27.024Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-524 ']' [2024-11-26T08:00:27.024Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-524/archives/ [2024-11-26T08:00:27.024Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-524/archives/ [Pipeline] echo [2024-11-26T08:00:27.074Z] 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-524/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-11-26T08:00:27.369Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-26T08:00:28.021Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-11-26T08:00:28.021Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-26T08:00:28.192Z] prd-ubuntu20.04-docker-8c-8g-32866 does not seem to be running inside a container [2024-11-26T08:00:28.218Z] $ 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-524/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-524 -v /w/workspace/edgexfoundry_device-sdk-c_PR-524:/w/workspace/edgexfoundry_device-sdk-c_PR-524:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-524@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-524@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-11-26T08:00:28.425Z] $ docker top 4c287ac16995d76a819cbe9ebd2632b7d64e9a6f7e8ee5a5c7b83de81296aa25 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-11-26T08:00:28.836Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-11-26T08:00:29.151Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-11-26T08:00:29.467Z] + ls /var/log/sa-host [2024-11-26T08:00:29.467Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-11-26T08:00:29.731Z] provisioning config files... [2024-11-26T08:00:29.741Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-524@tmp/config11509187791561537871tmp [Pipeline] { [Pipeline] echo [2024-11-26T08:00:29.808Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-11-26T08:00:30.134Z] ---> create-netrc.sh [Pipeline] } [2024-11-26T08:00:30.167Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-11-26T08:00:30.596Z] ---> python-tools-install.sh [Pipeline] echo [2024-11-26T08:00:30.633Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-11-26T08:00:30.960Z] ---> sudo-logs.sh [2024-11-26T08:00:30.960Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-11-26T08:00:31.052Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-11-26T08:00:31.376Z] ---> job-cost.sh [2024-11-26T08:00:31.376Z] lf-activate-venv: SKIPPING [2024-11-26T08:00:31.376Z] DEBUG: total: 0.2199999988079071 [2024-11-26T08:00:31.376Z] INFO: Retrieving Stack Cost... [2024-11-26T08:00:31.636Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-11-26T08:00:32.208Z] INFO: Archiving Costs [Pipeline] echo [2024-11-26T08:00:32.247Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-11-26T08:00:32.568Z] ---> logs-deploy.sh [2024-11-26T08:00:32.568Z] lf-activate-venv: SKIPPING [2024-11-26T08:00:32.568Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-524/1 [2024-11-26T08:00:32.568Z] INFO: archiving workspace using pattern(s): [2024-11-26T08:00:33.501Z] Archives upload complete. [2024-11-26T08:00:33.761Z] INFO: archiving logs to Nexus [2024-11-26T08:00:34.330Z] ---> uname -a: [2024-11-26T08:00:34.331Z] Linux prd-ubuntu20-04-docker-8c-8g-32866 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux [2024-11-26T08:00:34.331Z] [2024-11-26T08:00:34.331Z] [2024-11-26T08:00:34.331Z] ---> lscpu: [2024-11-26T08:00:34.331Z] Architecture: x86_64 [2024-11-26T08:00:34.331Z] CPU op-mode(s): 32-bit, 64-bit [2024-11-26T08:00:34.331Z] Byte Order: Little Endian [2024-11-26T08:00:34.331Z] Address sizes: 40 bits physical, 48 bits virtual [2024-11-26T08:00:34.331Z] CPU(s): 8 [2024-11-26T08:00:34.331Z] On-line CPU(s) list: 0-7 [2024-11-26T08:00:34.331Z] Thread(s) per core: 1 [2024-11-26T08:00:34.331Z] Core(s) per socket: 1 [2024-11-26T08:00:34.331Z] Socket(s): 8 [2024-11-26T08:00:34.331Z] NUMA node(s): 1 [2024-11-26T08:00:34.331Z] Vendor ID: AuthenticAMD [2024-11-26T08:00:34.331Z] CPU family: 23 [2024-11-26T08:00:34.331Z] Model: 49 [2024-11-26T08:00:34.331Z] Model name: AMD EPYC-Rome Processor [2024-11-26T08:00:34.331Z] Stepping: 0 [2024-11-26T08:00:34.331Z] CPU MHz: 2799.998 [2024-11-26T08:00:34.331Z] BogoMIPS: 5599.99 [2024-11-26T08:00:34.331Z] Virtualization: AMD-V [2024-11-26T08:00:34.331Z] Hypervisor vendor: KVM [2024-11-26T08:00:34.331Z] Virtualization type: full [2024-11-26T08:00:34.331Z] L1d cache: 256 KiB [2024-11-26T08:00:34.331Z] L1i cache: 256 KiB [2024-11-26T08:00:34.331Z] L2 cache: 4 MiB [2024-11-26T08:00:34.331Z] L3 cache: 128 MiB [2024-11-26T08:00:34.331Z] NUMA node0 CPU(s): 0-7 [2024-11-26T08:00:34.331Z] Vulnerability Itlb multihit: Not affected [2024-11-26T08:00:34.331Z] Vulnerability L1tf: Not affected [2024-11-26T08:00:34.331Z] Vulnerability Mds: Not affected [2024-11-26T08:00:34.331Z] Vulnerability Meltdown: Not affected [2024-11-26T08:00:34.331Z] Vulnerability Mmio stale data: Not affected [2024-11-26T08:00:34.331Z] Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp [2024-11-26T08:00:34.331Z] Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization [2024-11-26T08:00:34.331Z] Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling [2024-11-26T08:00:34.331Z] Vulnerability Srbds: Not affected [2024-11-26T08:00:34.331Z] Vulnerability Tsx async abort: Not affected [2024-11-26T08:00:34.331Z] Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities [2024-11-26T08:00:34.331Z] [2024-11-26T08:00:34.331Z] [2024-11-26T08:00:34.331Z] ---> nproc: [2024-11-26T08:00:34.331Z] 8 [2024-11-26T08:00:34.331Z] [2024-11-26T08:00:34.331Z] [2024-11-26T08:00:34.331Z] ---> df -h: [2024-11-26T08:00:34.331Z] Filesystem Size Used Avail Use% Mounted on [2024-11-26T08:00:34.331Z] overlay 155G 11G 145G 7% / [2024-11-26T08:00:34.331Z] tmpfs 64M 0 64M 0% /dev [2024-11-26T08:00:34.331Z] tmpfs 16G 0 16G 0% /sys/fs/cgroup [2024-11-26T08:00:34.331Z] shm 64M 0 64M 0% /dev/shm [2024-11-26T08:00:34.331Z] /dev/vda1 155G 11G 145G 7% /facter-os [2024-11-26T08:00:34.331Z] [2024-11-26T08:00:34.331Z]