Pull request #405 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 iain-anderson for edgexfoundry/device-sdk-c Obtained Jenkinsfile from 7ec469130c5b085487fe1a295745b41d936d73c8+0f9fd7bebf2f77d7be2ba62bd03931a1c6f4d1f4 (fa6017538ef0cffaaf46abc3a2640d00889dffaa) 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-ssh12513983340507095437.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision c72b16708d6eed9a08be464a432ce22db7d90667 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-ssh10863346321253206849.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 c72b16708d6eed9a08be464a432ce22db7d90667 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-405/workspace@libs/edgex-global-pipelines # 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-405/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh831295486636694028.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-405/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh9838469349859579391.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision c72b16708d6eed9a08be464a432ce22db7d90667 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f c72b16708d6eed9a08be464a432ce22db7d90667 # timeout=10 Commit message: "Merge pull request #378 from ernestojeda/ubuntu-20-changes" > 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 shared 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-ssh9329185106087075108.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b3dada9287033e4e81bc68320e01fd57bef02650 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-405/workspace@libs/lf-pipelines # 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-405/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh4742671350869278114.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 b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > 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 c72b16708d6eed9a08be464a432ce22db7d90667 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildCApp] RAW Config: [project:device-sdk-c, dockerBuildFilePath:scripts/Dockerfile.alpine-base, dockerFilePath:scripts/Dockerfile.alpine, pushImage:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildCApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-c-settings PROJECT: device-sdk-c USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build DOCKER_FILE_PATH: scripts/Dockerfile.alpine DOCKER_BUILD_FILE_PATH: scripts/Dockerfile.alpine-base DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-8674 in /w/workspace/edgexfoundry_device-sdk-c_PR-405 [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-405 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/405/head:refs/remotes/origin/PR-405 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 0f9fd7bebf2f77d7be2ba62bd03931a1c6f4d1f4 into PR head commit 7ec469130c5b085487fe1a295745b41d936d73c8 Merge succeeded, producing 7ec469130c5b085487fe1a295745b41d936d73c8 Checking out Revision 7ec469130c5b085487fe1a295745b41d936d73c8 (PR-405) > git config core.sparsecheckout # timeout=10 > git checkout -f 7ec469130c5b085487fe1a295745b41d936d73c8 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 0f9fd7bebf2f77d7be2ba62bd03931a1c6f4d1f4 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7ec469130c5b085487fe1a295745b41d936d73c8 # timeout=10 Commit message: "feat: Authenticate to Redis Streams / MQTT using secrets (#314)" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-03-23T17:08:59.297Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-03-23T17:08:59.466Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-03-23T17:08:59.574Z] ========================================================= [2022-03-23T17:08:59.574Z] EdgeX Global Pipelines Version Info [2022-03-23T17:08:59.574Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-03-23T17:09:00.381Z] ------------------- [2022-03-23T17:09:00.381Z] stable info: [2022-03-23T17:09:00.381Z] ------------------- [2022-03-23T17:09:00.381Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-03-23T17:09:00.381Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-03-23T17:09:00.381Z] Message: update stable to v1.0.221 [2022-03-23T17:09:00.956Z] ------------------- [2022-03-23T17:09:00.956Z] experimental info: [2022-03-23T17:09:00.956Z] ------------------- [2022-03-23T17:09:00.956Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-03-23T17:09:00.956Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-03-23T17:09:00.956Z] Message: update experimental to v1.0.221 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-03-23T17:09:01.222Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo [2022-03-23T17:09:01.262Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo [2022-03-23T17:09:01.297Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-03-23T17:09:01.332Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-03-23T17:09:01.372Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-03-23T17:09:01.408Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo [2022-03-23T17:09:01.443Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo [2022-03-23T17:09:01.481Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-03-23T17:09:01.522Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-03-23T17:09:01.556Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo [2022-03-23T17:09:01.598Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-03-23T17:09:01.637Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-03-23T17:09:01.680Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-03-23T17:09:01.718Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2022-03-23T17:09:01.754Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-03-23T17:09:01.797Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-03-23T17:09:01.838Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-03-23T17:09:01.876Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-405 [Pipeline] echo [2022-03-23T17:09:01.917Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-405 [Pipeline] echo [2022-03-23T17:09:01.953Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-405 [Pipeline] echo [2022-03-23T17:09:01.994Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 7ec469130c5b085487fe1a295745b41d936d73c8 [Pipeline] echo [2022-03-23T17:09:02.034Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7ec4691 [Pipeline] echo [2022-03-23T17:09:02.075Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-03-23T17:09:02.197Z] provisioning config files... [2022-03-23T17:09:02.210Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-405@tmp/config5747608385006954788tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-03-23T17:09:02.571Z] ---> docker-login.sh [2022-03-23T17:09:02.571Z] nexus3.edgexfoundry.org:10001 [2022-03-23T17:09:02.834Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-23T17:09:03.096Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-23T17:09:03.096Z] Configure a credential helper to remove this warning. See [2022-03-23T17:09:03.096Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-23T17:09:03.096Z] [2022-03-23T17:09:03.096Z] Login Succeeded [2022-03-23T17:09:03.096Z] nexus3.edgexfoundry.org:10002 [2022-03-23T17:09:03.096Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-23T17:09:03.096Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-23T17:09:03.096Z] Configure a credential helper to remove this warning. See [2022-03-23T17:09:03.096Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-23T17:09:03.096Z] [2022-03-23T17:09:03.096Z] Login Succeeded [2022-03-23T17:09:03.096Z] nexus3.edgexfoundry.org:10003 [2022-03-23T17:09:03.361Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-23T17:09:03.361Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-23T17:09:03.361Z] Configure a credential helper to remove this warning. See [2022-03-23T17:09:03.361Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-23T17:09:03.361Z] [2022-03-23T17:09:03.361Z] Login Succeeded [2022-03-23T17:09:03.361Z] nexus3.edgexfoundry.org:10004 [2022-03-23T17:09:03.361Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-23T17:09:03.361Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-23T17:09:03.361Z] Configure a credential helper to remove this warning. See [2022-03-23T17:09:03.361Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-23T17:09:03.361Z] [2022-03-23T17:09:03.361Z] Login Succeeded [2022-03-23T17:09:03.361Z] docker.io [2022-03-23T17:09:03.625Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-23T17:09:03.890Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-23T17:09:03.890Z] Configure a credential helper to remove this warning. See [2022-03-23T17:09:03.890Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-23T17:09:03.890Z] [2022-03-23T17:09:03.890Z] Login Succeeded [2022-03-23T17:09:03.890Z] ---> docker-login.sh ends [Pipeline] } [2022-03-23T17:09:03.915Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build LTS Release Image) [Pipeline] sh [2022-03-23T17:09:04.559Z] + git rev-list -1 --merges 7ec469130c5b085487fe1a295745b41d936d73c8~1..7ec469130c5b085487fe1a295745b41d936d73c8 [Pipeline] echo [2022-03-23T17:09:04.688Z] -----------> git rev-list -1 --merges 7ec469130c5b085487fe1a295745b41d936d73c8~1..7ec469130c5b085487fe1a295745b41d936d73c8 7ec469130c5b085487fe1a295745b41d936d73c8 [false] [Pipeline] sh [2022-03-23T17:09:05.004Z] + git log --format=format:%s -1 7ec469130c5b085487fe1a295745b41d936d73c8 [Pipeline] echo [2022-03-23T17:09:05.038Z] ========================================================= [2022-03-23T17:09:05.038Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-03-23T17:09:05.038Z] ========================================================= Stage "Build LTS Release Image" skipped due to when conditional [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) Stage "amd64" skipped due to when conditional [Pipeline] } Stage "arm64" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] // stage [Pipeline] } [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-03-23T17:09:05.921Z] + git rev-list -1 --merges 7ec469130c5b085487fe1a295745b41d936d73c8~1..7ec469130c5b085487fe1a295745b41d936d73c8 [Pipeline] echo [2022-03-23T17:09:05.956Z] -----------> git rev-list -1 --merges 7ec469130c5b085487fe1a295745b41d936d73c8~1..7ec469130c5b085487fe1a295745b41d936d73c8 7ec469130c5b085487fe1a295745b41d936d73c8 [false] [Pipeline] sh [2022-03-23T17:09:06.267Z] + git log --format=format:%s -1 7ec469130c5b085487fe1a295745b41d936d73c8 [Pipeline] echo [2022-03-23T17:09:06.304Z] ========================================================= [2022-03-23T17:09:06.304Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-03-23T17:09:06.304Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh [2022-03-23T17:09:06.952Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-03-23T17:09:06.952Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-03-23T17:09:06.952Z] + [ -e /tmp/ssh_known_hosts ] [2022-03-23T17:09:06.952Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-03-23T17:09:06.952Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-03-23T17:09:06.952Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-03-23T17:09:06.952Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-03-23T17:09:07.480Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-03-23T17:09:07.480Z] [2022-03-23T17:09:07.480Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-03-23T17:09:07.830Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-03-23T17:09:07.830Z] latest: Pulling from edgex-devops/git-semver [2022-03-23T17:09:07.830Z] a0d0a0d46f8b: Pulling fs layer [2022-03-23T17:09:07.830Z] 3e5f54012d9b: Pulling fs layer [2022-03-23T17:09:07.830Z] 4c7163046ea9: Pulling fs layer [2022-03-23T17:09:07.830Z] 0c2d73faf560: Pulling fs layer [2022-03-23T17:09:07.830Z] 0c2d73faf560: Waiting [2022-03-23T17:09:07.830Z] 3e5f54012d9b: Verifying Checksum [2022-03-23T17:09:07.830Z] 3e5f54012d9b: Download complete [2022-03-23T17:09:07.830Z] a0d0a0d46f8b: Download complete [2022-03-23T17:09:08.094Z] 0c2d73faf560: Verifying Checksum [2022-03-23T17:09:08.094Z] 0c2d73faf560: Download complete [2022-03-23T17:09:08.094Z] 4c7163046ea9: Verifying Checksum [2022-03-23T17:09:08.094Z] 4c7163046ea9: Download complete [2022-03-23T17:09:08.094Z] a0d0a0d46f8b: Pull complete [2022-03-23T17:09:08.094Z] 3e5f54012d9b: Pull complete [2022-03-23T17:09:08.355Z] 4c7163046ea9: Pull complete [2022-03-23T17:09:08.619Z] 0c2d73faf560: Pull complete [2022-03-23T17:09:08.619Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-03-23T17:09:08.619Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-03-23T17:09:08.619Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-03-23T17:09:08.718Z] prd-ubuntu20.04-docker-8c-8g-8674 does not seem to be running inside a container [2022-03-23T17:09:08.767Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-405 -v /w/workspace/edgexfoundry_device-sdk-c_PR-405:/w/workspace/edgexfoundry_device-sdk-c_PR-405:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-405@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-405@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-03-23T17:09:09.574Z] $ docker top 4970ba873132fe1519ed7a3157ab0b7f773a32857ae4f8e10fc138ece40bd294 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-03-23T17:09:09.770Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-03-23T17:09:09.770Z] [ssh-agent] Looking for ssh-agent implementation... [2022-03-23T17:09:09.927Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-03-23T17:09:09.933Z] $ docker exec 4970ba873132fe1519ed7a3157ab0b7f773a32857ae4f8e10fc138ece40bd294 ssh-agent [2022-03-23T17:09:10.055Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXbjcAKP/agent.14 [2022-03-23T17:09:10.055Z] SSH_AGENT_PID=20 [2022-03-23T17:09:10.064Z] Running ssh-add (command line suppressed) [2022-03-23T17:09:10.198Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-405@tmp/private_key_6472883953385201377.key (/w/workspace/edgexfoundry_device-sdk-c_PR-405@tmp/private_key_6472883953385201377.key) [2022-03-23T17:09:10.212Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-03-23T17:09:10.545Z] + git tag --points-at HEAD [Pipeline] } [2022-03-23T17:09:10.575Z] $ docker exec --env ******** --env ******** 4970ba873132fe1519ed7a3157ab0b7f773a32857ae4f8e10fc138ece40bd294 ssh-agent -k [2022-03-23T17:09:10.694Z] unset SSH_AUTH_SOCK; [2022-03-23T17:09:10.695Z] unset SSH_AGENT_PID; [2022-03-23T17:09:10.695Z] echo Agent pid 20 killed; [2022-03-23T17:09:10.704Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-03-23T17:09:10.786Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-03-23T17:09:10.786Z] [ssh-agent] Looking for ssh-agent implementation... [2022-03-23T17:09:10.924Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-03-23T17:09:10.931Z] $ docker exec 4970ba873132fe1519ed7a3157ab0b7f773a32857ae4f8e10fc138ece40bd294 ssh-agent [2022-03-23T17:09:11.064Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXhIJoAG/agent.54 [2022-03-23T17:09:11.064Z] SSH_AGENT_PID=60 [2022-03-23T17:09:11.071Z] Running ssh-add (command line suppressed) [2022-03-23T17:09:11.188Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-405@tmp/private_key_1572510608613394087.key (/w/workspace/edgexfoundry_device-sdk-c_PR-405@tmp/private_key_1572510608613394087.key) [2022-03-23T17:09:11.203Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-03-23T17:09:11.543Z] + git semver init [2022-03-23T17:09:11.543Z] # -> Open(): unable to determine branch for HEAD [2022-03-23T17:09:11.543Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-405/.git [2022-03-23T17:09:11.543Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_PR-405 [2022-03-23T17:09:11.543Z] # $SEMVER_REMOTE_NAME = origin [2022-03-23T17:09:11.543Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-03-23T17:09:11.543Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-03-23T17:09:11.543Z] # $SEMVER_BRANCH = PR-405 [2022-03-23T17:09:11.543Z] # $SEMVER_TEMP = /tmp/semver-480411255 [2022-03-23T17:09:11.543Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-c.git $SEMVER_TEMP [2022-03-23T17:09:12.490Z] # '/tmp/semver-480411255' -> '/w/workspace/edgexfoundry_device-sdk-c_PR-405/.semver' [2022-03-23T17:09:12.490Z] # -> Force: false [2022-03-23T17:09:12.490Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-405/.semver [Pipeline] } [2022-03-23T17:09:12.520Z] $ docker exec --env ******** --env ******** 4970ba873132fe1519ed7a3157ab0b7f773a32857ae4f8e10fc138ece40bd294 ssh-agent -k [2022-03-23T17:09:12.653Z] unset SSH_AUTH_SOCK; [2022-03-23T17:09:12.653Z] unset SSH_AGENT_PID; [2022-03-23T17:09:12.653Z] echo Agent pid 60 killed; [2022-03-23T17:09:12.662Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-03-23T17:09:13.091Z] + git semver [Pipeline] } [2022-03-23T17:09:13.124Z] $ docker stop --time=1 4970ba873132fe1519ed7a3157ab0b7f773a32857ae4f8e10fc138ece40bd294 [2022-03-23T17:09:14.493Z] $ docker rm -f 4970ba873132fe1519ed7a3157ab0b7f773a32857ae4f8e10fc138ece40bd294 [Pipeline] // withDockerContainer [Pipeline] sh [2022-03-23T17:09:14.917Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-03-23T17:09:15.234Z] Stashed 1 file(s) [Pipeline] echo [2022-03-23T17:09:15.251Z] [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 [2022-03-23T17:09:15.750Z] provisioning config files... [2022-03-23T17:09:15.762Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-405@tmp/config3721179997307794969tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-03-23T17:09:16.112Z] ---> docker-login.sh [2022-03-23T17:09:16.112Z] nexus3.edgexfoundry.org:10001 [2022-03-23T17:09:16.112Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-23T17:09:16.112Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-23T17:09:16.112Z] Configure a credential helper to remove this warning. See [2022-03-23T17:09:16.112Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-23T17:09:16.112Z] [2022-03-23T17:09:16.112Z] Login Succeeded [2022-03-23T17:09:16.112Z] nexus3.edgexfoundry.org:10002 [2022-03-23T17:09:16.112Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-23T17:09:16.375Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-23T17:09:16.375Z] Configure a credential helper to remove this warning. See [2022-03-23T17:09:16.375Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-23T17:09:16.375Z] [2022-03-23T17:09:16.375Z] Login Succeeded [2022-03-23T17:09:16.375Z] nexus3.edgexfoundry.org:10003 [2022-03-23T17:09:16.375Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-23T17:09:16.375Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-23T17:09:16.375Z] Configure a credential helper to remove this warning. See [2022-03-23T17:09:16.375Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-23T17:09:16.375Z] [2022-03-23T17:09:16.375Z] Login Succeeded [2022-03-23T17:09:16.375Z] nexus3.edgexfoundry.org:10004 [2022-03-23T17:09:16.375Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-23T17:09:16.641Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-23T17:09:16.641Z] Configure a credential helper to remove this warning. See [2022-03-23T17:09:16.641Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-23T17:09:16.641Z] [2022-03-23T17:09:16.641Z] Login Succeeded [2022-03-23T17:09:16.641Z] docker.io [2022-03-23T17:09:16.641Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-23T17:09:16.903Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-23T17:09:16.903Z] Configure a credential helper to remove this warning. See [2022-03-23T17:09:16.903Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-23T17:09:16.903Z] [2022-03-23T17:09:16.903Z] Login Succeeded [2022-03-23T17:09:16.903Z] ---> docker-login.sh ends [Pipeline] } [2022-03-23T17:09:16.928Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-03-23T17:09:17.105Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-03-23T17:09:17.138Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo [2022-03-23T17:09:17.163Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-03-23T17:09:17.189Z] ========================================================= [2022-03-23T17:09:17.189Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] [2022-03-23T17:09:17.189Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-03-23T17:09:17.543Z] + 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 . [2022-03-23T17:09:17.543Z] Sending build context to Docker daemon 4.562MB [2022-03-23T17:09:17.543Z] Step 1/22 : ARG BASE=alpine:3.15 [2022-03-23T17:09:17.543Z] Step 2/22 : FROM ${BASE} as builder [2022-03-23T17:09:17.543Z] latest: Pulling from edgex-devops/edgex-gcc-base [2022-03-23T17:09:17.543Z] 59bf1c3509f3: Pulling fs layer [2022-03-23T17:09:17.543Z] c743a93c8381: Pulling fs layer [2022-03-23T17:09:17.543Z] a2ad9f71ba65: Pulling fs layer [2022-03-23T17:09:17.543Z] c743a93c8381: Verifying Checksum [2022-03-23T17:09:17.543Z] c743a93c8381: Download complete [2022-03-23T17:09:17.806Z] 59bf1c3509f3: Verifying Checksum [2022-03-23T17:09:17.806Z] 59bf1c3509f3: Download complete [2022-03-23T17:09:17.806Z] 59bf1c3509f3: Pull complete [2022-03-23T17:09:18.066Z] c743a93c8381: Pull complete [2022-03-23T17:09:18.641Z] a2ad9f71ba65: Verifying Checksum [2022-03-23T17:09:18.641Z] a2ad9f71ba65: Download complete [2022-03-23T17:09:21.943Z] a2ad9f71ba65: Pull complete [2022-03-23T17:09:21.943Z] Digest: sha256:1add200577aa6f30a3653c04583074abbdfe99a16f60a8a3474aeff88a149476 [2022-03-23T17:09:21.943Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [2022-03-23T17:09:21.943Z] ---> c9e13ccc37c5 [2022-03-23T17:09:21.943Z] 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 [2022-03-23T17:09:22.206Z] ---> Running in 80fa260e2da8 [2022-03-23T17:09:22.784Z] Connecting to iotech.jfrog.io (52.30.156.103:443) [2022-03-23T17:09:23.045Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2022-03-23T17:09:23.045Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2022-03-23T17:09:23.045Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2022-03-23T17:09:23.309Z] Removing intermediate container 80fa260e2da8 [2022-03-23T17:09:23.309Z] ---> 1661536a60a3 [2022-03-23T17:09:23.309Z] Step 4/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main' >> /etc/apk/repositories [2022-03-23T17:09:23.309Z] ---> Running in 27ba6175e058 [2022-03-23T17:09:24.256Z] Removing intermediate container 27ba6175e058 [2022-03-23T17:09:24.256Z] ---> d18e8f4848f3 [2022-03-23T17:09:24.257Z] 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 paho-mqtt-c-dev-1.3 hiredis-dev [2022-03-23T17:09:24.257Z] ---> Running in cd7cd7e0bbdb [2022-03-23T17:09:24.257Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-03-23T17:09:25.205Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-03-23T17:09:25.779Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main/x86_64/APKINDEX.tar.gz [2022-03-23T17:09:26.041Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2022-03-23T17:09:26.041Z] (1/31) Installing hiredis (1.0.2-r0) [2022-03-23T17:09:26.041Z] (2/31) Installing hiredis-dev (1.0.2-r0) [2022-03-23T17:09:26.305Z] (3/31) Installing libcbor (0.8.0-r0) [2022-03-23T17:09:26.305Z] (4/31) Installing libcbor-dev (0.8.0-r0) [2022-03-23T17:09:26.305Z] (5/31) Installing ncurses-dev (6.3_p20211120-r0) [2022-03-23T17:09:26.567Z] (6/31) Installing paho-mqtt-c-dev-1.3 (1.3.9-r0) [2022-03-23T17:09:29.144Z] (7/31) Installing util-linux (2.37.4-r0) [2022-03-23T17:09:29.144Z] (8/31) Installing libblkid (2.37.4-r0) [2022-03-23T17:09:29.407Z] (9/31) Installing libeconf (0.4.2-r0) [2022-03-23T17:09:29.672Z] (10/31) Installing libuuid (2.37.4-r0) [2022-03-23T17:09:29.672Z] (11/31) Installing libfdisk (2.37.4-r0) [2022-03-23T17:09:29.935Z] (12/31) Installing libmount (2.37.4-r0) [2022-03-23T17:09:29.935Z] (13/31) Installing libsmartcols (2.37.4-r0) [2022-03-23T17:09:29.935Z] (14/31) Installing util-linux-misc (2.37.4-r0) [2022-03-23T17:09:30.199Z] (15/31) Installing linux-pam (1.5.2-r0) [2022-03-23T17:09:30.461Z] (16/31) Installing runuser (2.37.4-r0) [2022-03-23T17:09:30.461Z] (17/31) Installing hexdump (2.37.4-r0) [2022-03-23T17:09:30.461Z] (18/31) Installing uuidgen (2.37.4-r0) [2022-03-23T17:09:30.581Z] Still waiting to schedule task [2022-03-23T17:09:30.582Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-03-23T17:09:30.723Z] (19/31) Installing blkid (2.37.4-r0) [2022-03-23T17:09:30.723Z] (20/31) Installing sfdisk (2.37.4-r0) [2022-03-23T17:09:30.985Z] (21/31) Installing mcookie (2.37.4-r0) [2022-03-23T17:09:31.248Z] (22/31) Installing wipefs (2.37.4-r0) [2022-03-23T17:09:31.248Z] (23/31) Installing cfdisk (2.37.4-r0) [2022-03-23T17:09:31.248Z] (24/31) Installing flock (2.37.4-r0) [2022-03-23T17:09:31.512Z] (25/31) Installing lsblk (2.37.4-r0) [2022-03-23T17:09:31.777Z] (26/31) Installing libcap-ng (0.8.2-r1) [2022-03-23T17:09:32.039Z] (27/31) Installing setpriv (2.37.4-r0) [2022-03-23T17:09:32.040Z] (28/31) Installing logger (2.37.4-r0) [2022-03-23T17:09:32.040Z] (29/31) Installing partx (2.37.4-r0) [2022-03-23T17:09:32.302Z] (30/31) Installing findmnt (2.37.4-r0) [2022-03-23T17:09:32.302Z] (31/31) Installing util-linux-dev (2.37.4-r0) [2022-03-23T17:09:32.565Z] Executing busybox-1.34.1-r3.trigger [2022-03-23T17:09:32.565Z] OK: 293 MiB in 108 packages [2022-03-23T17:09:33.141Z] Removing intermediate container cd7cd7e0bbdb [2022-03-23T17:09:33.141Z] ---> 17de1d8028ab [2022-03-23T17:09:33.141Z] Step 6/22 : RUN mkdir /tmp/sdk [2022-03-23T17:09:33.141Z] ---> Running in 818572a535ba [2022-03-23T17:09:33.721Z] Removing intermediate container 818572a535ba [2022-03-23T17:09:33.721Z] ---> 63e3145cd4c0 [2022-03-23T17:09:33.721Z] Step 7/22 : COPY VERSION /tmp/sdk [2022-03-23T17:09:33.988Z] ---> 7f31c279e191 [2022-03-23T17:09:33.989Z] Step 8/22 : COPY src /tmp/sdk/src [2022-03-23T17:09:34.251Z] ---> 2775733468bd [2022-03-23T17:09:34.251Z] Step 9/22 : COPY include /tmp/sdk/include [2022-03-23T17:09:34.519Z] ---> 72616d612259 [2022-03-23T17:09:34.519Z] Step 10/22 : COPY scripts /tmp/sdk/scripts [2022-03-23T17:09:34.519Z] ---> d6194623d05e [2022-03-23T17:09:34.519Z] Step 11/22 : COPY LICENSE /tmp/sdk [2022-03-23T17:09:34.780Z] ---> a3c7434a0440 [2022-03-23T17:09:34.780Z] Step 12/22 : COPY Attribution.txt /tmp/sdk [2022-03-23T17:09:34.780Z] ---> 071b8573a888 [2022-03-23T17:09:34.780Z] Step 13/22 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2022-03-23T17:09:35.040Z] ---> Running in dc831c5bcb99 [2022-03-23T17:09:35.302Z] + CPPCHECK=false [2022-03-23T17:09:35.302Z] + DOCGEN=false [2022-03-23T17:09:35.302Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2022-03-23T17:09:35.302Z] + TOMLVER=SDK-0.2 [2022-03-23T17:09:35.302Z] + CUTILVER=1.2.2 [2022-03-23T17:09:35.302Z] + '[' 0 -gt 0 ] [2022-03-23T17:09:35.302Z] + readlink -f ./scripts/build.sh [2022-03-23T17:09:35.302Z] + dirname /tmp/sdk/scripts/build.sh [2022-03-23T17:09:35.302Z] + dirname /tmp/sdk/scripts [2022-03-23T17:09:35.302Z] + ROOT=/tmp/sdk [2022-03-23T17:09:35.302Z] + cd /tmp/sdk [2022-03-23T17:09:35.302Z] + '[' '!' -d deps ] [2022-03-23T17:09:35.302Z] + mkdir deps [2022-03-23T17:09:35.302Z] + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2022-03-23T17:09:35.302Z] + tar -C deps -z -x -f - [2022-03-23T17:09:35.302Z] Connecting to github.com (140.82.112.3:443) [2022-03-23T17:09:35.567Z] Connecting to codeload.github.com (140.82.112.10:443) [2022-03-23T17:09:35.567Z] writing to stdout [2022-03-23T17:09:35.567Z] - 100% |********************************| 16451 0:00:00 ETA [2022-03-23T17:09:35.567Z] written to stdout [2022-03-23T17:09:35.567Z] + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c [2022-03-23T17:09:35.567Z] + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.2.2.tar.gz [2022-03-23T17:09:35.567Z] + tar -C deps -z -x -f - [2022-03-23T17:09:35.567Z] Connecting to github.com (140.82.112.3:443) [2022-03-23T17:09:35.835Z] Connecting to codeload.github.com (140.82.112.10:443) [2022-03-23T17:09:36.098Z] writing to stdout [2022-03-23T17:09:36.098Z] - 100% |********************************| 189k 0:00:00 ETA [2022-03-23T17:09:36.098Z] written to stdout [2022-03-23T17:09:36.098Z] + mkdir -p src/c/iot [2022-03-23T17:09:36.098Z] + cp deps/iotech-c-utils-1.2.2/src/c/base64.c deps/iotech-c-utils-1.2.2/src/c/component.c deps/iotech-c-utils-1.2.2/src/c/config.c deps/iotech-c-utils-1.2.2/src/c/container.c deps/iotech-c-utils-1.2.2/src/c/data.c deps/iotech-c-utils-1.2.2/src/c/hash.c deps/iotech-c-utils-1.2.2/src/c/iot.c deps/iotech-c-utils-1.2.2/src/c/json.c deps/iotech-c-utils-1.2.2/src/c/logger.c deps/iotech-c-utils-1.2.2/src/c/os.c deps/iotech-c-utils-1.2.2/src/c/scheduler.c deps/iotech-c-utils-1.2.2/src/c/thread.c deps/iotech-c-utils-1.2.2/src/c/threadpool.c deps/iotech-c-utils-1.2.2/src/c/time.c deps/iotech-c-utils-1.2.2/src/c/uuid.c deps/iotech-c-utils-1.2.2/src/c/yxml.c src/c/iot [2022-03-23T17:09:36.098Z] + cp deps/iotech-c-utils-1.2.2/src/c/defs.h.in src/c/iot [2022-03-23T17:09:36.098Z] + cp deps/iotech-c-utils-1.2.2/src/c/yxml.h src/c/iot [2022-03-23T17:09:36.098Z] + cp deps/iotech-c-utils-1.2.2/VERSION src/c/iot [2022-03-23T17:09:36.098Z] + mkdir -p include/iot [2022-03-23T17:09:36.098Z] + cp deps/iotech-c-utils-1.2.2/include/iot/base64.h deps/iotech-c-utils-1.2.2/include/iot/component.h deps/iotech-c-utils-1.2.2/include/iot/config.h deps/iotech-c-utils-1.2.2/include/iot/container.h deps/iotech-c-utils-1.2.2/include/iot/data.h deps/iotech-c-utils-1.2.2/include/iot/hash.h deps/iotech-c-utils-1.2.2/include/iot/iot.h deps/iotech-c-utils-1.2.2/include/iot/json.h deps/iotech-c-utils-1.2.2/include/iot/logger.h deps/iotech-c-utils-1.2.2/include/iot/os.h deps/iotech-c-utils-1.2.2/include/iot/scheduler.h deps/iotech-c-utils-1.2.2/include/iot/thread.h deps/iotech-c-utils-1.2.2/include/iot/threadpool.h deps/iotech-c-utils-1.2.2/include/iot/time.h deps/iotech-c-utils-1.2.2/include/iot/typecode.h deps/iotech-c-utils-1.2.2/include/iot/uuid.h include/iot [2022-03-23T17:09:36.098Z] + mkdir -p include/iot/os [2022-03-23T17:09:36.098Z] + cp deps/iotech-c-utils-1.2.2/include/iot/os/linux.h deps/iotech-c-utils-1.2.2/include/iot/os/macos.h deps/iotech-c-utils-1.2.2/include/iot/os/zephyr.h include/iot/os [2022-03-23T17:09:36.098Z] + mkdir -p /tmp/sdk/build/release [2022-03-23T17:09:36.098Z] + cd /tmp/sdk/build/release [2022-03-23T17:09:36.098Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2022-03-23T17:09:36.098Z] -- The C compiler identification is GNU 10.3.1 [2022-03-23T17:09:36.098Z] -- Detecting C compiler ABI info [2022-03-23T17:09:36.359Z] -- Detecting C compiler ABI info - done [2022-03-23T17:09:36.359Z] -- Check for working C compiler: /usr/bin/cc - skipped [2022-03-23T17:09:36.359Z] -- Detecting C compile features [2022-03-23T17:09:36.359Z] -- Detecting C compile features - done [2022-03-23T17:09:36.359Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2022-03-23T17:09:36.359Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.80.0") [2022-03-23T17:09:36.359Z] -- Found LIBYAML: /usr/lib/libyaml.so [2022-03-23T17:09:36.359Z] -- Found LIBUUID: /usr/lib/libuuid.so [2022-03-23T17:09:36.359Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2022-03-23T17:09:36.359Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2022-03-23T17:09:36.359Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2022-03-23T17:09:36.359Z] -- C SDK 0.0.0 for Linux [2022-03-23T17:09:36.359Z] -- Performing Test CSDK_HAVE_ATOMIC [2022-03-23T17:09:36.360Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2022-03-23T17:09:36.622Z] -- Found Curses: /usr/lib/libcurses.so [2022-03-23T17:09:36.622Z] -- Configuring done [2022-03-23T17:09:36.622Z] -- Generating done [2022-03-23T17:09:36.622Z] -- Build files have been written to: /tmp/sdk/build/release [2022-03-23T17:09:36.622Z] + make all package [2022-03-23T17:09:36.622Z] + tee release.log [2022-03-23T17:09:36.622Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2022-03-23T17:09:36.622Z] [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2022-03-23T17:09:36.886Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2022-03-23T17:09:37.149Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2022-03-23T17:09:37.411Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2022-03-23T17:09:37.411Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2022-03-23T17:09:37.676Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2022-03-23T17:09:37.676Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o [2022-03-23T17:09:37.676Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2022-03-23T17:09:37.939Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2022-03-23T17:09:38.530Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2022-03-23T17:09:38.530Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2022-03-23T17:09:38.530Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2022-03-23T17:09:38.794Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2022-03-23T17:09:38.794Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2022-03-23T17:09:38.794Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2022-03-23T17:09:39.057Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2022-03-23T17:09:39.629Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2022-03-23T17:09:39.629Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2022-03-23T17:09:39.629Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2022-03-23T17:09:39.629Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2022-03-23T17:09:39.891Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2022-03-23T17:09:39.891Z] /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': [2022-03-23T17:09:39.891Z] /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] [2022-03-23T17:09:39.891Z] 275 | const iot_component_factory_t * factory; [2022-03-23T17:09:39.891Z] | ^~~~~~~ [2022-03-23T17:09:39.891Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2022-03-23T17:09:40.836Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2022-03-23T17:09:40.836Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2022-03-23T17:09:40.836Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2022-03-23T17:09:41.100Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2022-03-23T17:09:41.100Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2022-03-23T17:09:41.100Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2022-03-23T17:09:41.364Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2022-03-23T17:09:41.626Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2022-03-23T17:09:41.626Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2022-03-23T17:09:41.889Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o [2022-03-23T17:09:41.889Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2022-03-23T17:09:42.151Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2022-03-23T17:09:42.411Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2022-03-23T17:09:42.674Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2022-03-23T17:09:42.674Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2022-03-23T17:09:43.623Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2022-03-23T17:09:43.623Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2022-03-23T17:09:43.623Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2022-03-23T17:09:43.884Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2022-03-23T17:09:43.884Z] /tmp/sdk/src/c/rest-server.c: In function 'http_handler': [2022-03-23T17:09:43.884Z] /tmp/sdk/src/c/rest-server.c:250:65: warning: passing argument 3 of 'MHD_get_connection_values' from incompatible pointer type [-Wincompatible-pointer-types] [2022-03-23T17:09:43.884Z] 250 | MHD_get_connection_values (conn, MHD_GET_ARGUMENT_KIND, queryIterator, req.qparams); [2022-03-23T17:09:43.884Z] | ^~~~~~~~~~~~~ [2022-03-23T17:09:43.884Z] | | [2022-03-23T17:09:43.884Z] | int (*)(void *, enum MHD_ValueKind, const char *, const char *) [2022-03-23T17:09:43.884Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2022-03-23T17:09:43.884Z] /usr/include/microhttpd.h:2784:49: note: expected 'MHD_KeyValueIterator' {aka 'enum MHD_Result (*)(void *, enum MHD_ValueKind, const char *, const char *)'} but argument is of type 'int (*)(void *, enum MHD_ValueKind, const char *, const char *)' [2022-03-23T17:09:43.884Z] 2784 | MHD_KeyValueIterator iterator, [2022-03-23T17:09:43.884Z] | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ [2022-03-23T17:09:43.884Z] /tmp/sdk/src/c/rest-server.c: In function 'edgex_rest_server_create': [2022-03-23T17:09:43.884Z] /tmp/sdk/src/c/rest-server.c:348:58: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] [2022-03-23T17:09:43.884Z] 348 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_SOCK_ADDR, res->ai_addr, MHD_OPTION_END); [2022-03-23T17:09:43.884Z] | ^~~~~~~~~~~~ [2022-03-23T17:09:43.884Z] | | [2022-03-23T17:09:43.884Z] | int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, size_t *, void **) {aka int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)} [2022-03-23T17:09:43.884Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2022-03-23T17:09:43.884Z] /usr/include/microhttpd.h:2480:45: note: expected 'MHD_AccessHandlerCallback' {aka 'enum MHD_Result (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)'} but argument is of type 'int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, size_t *, void **)' {aka 'int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)'} [2022-03-23T17:09:43.884Z] 2480 | MHD_AccessHandlerCallback dh, void *dh_cls, [2022-03-23T17:09:43.884Z] | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ [2022-03-23T17:09:43.884Z] /tmp/sdk/src/c/rest-server.c:359:56: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] [2022-03-23T17:09:43.884Z] 359 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_END); [2022-03-23T17:09:43.884Z] | ^~~~~~~~~~~~ [2022-03-23T17:09:43.884Z] | | [2022-03-23T17:09:43.884Z] | int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, size_t *, void **) {aka int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)} [2022-03-23T17:09:43.884Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2022-03-23T17:09:43.884Z] /usr/include/microhttpd.h:2480:45: note: expected 'MHD_AccessHandlerCallback' {aka 'enum MHD_Result (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)'} but argument is of type 'int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, size_t *, void **)' {aka 'int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)'} [2022-03-23T17:09:43.884Z] 2480 | MHD_AccessHandlerCallback dh, void *dh_cls, [2022-03-23T17:09:43.884Z] | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ [2022-03-23T17:09:43.884Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2022-03-23T17:09:44.461Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2022-03-23T17:09:44.461Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2022-03-23T17:09:44.461Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2022-03-23T17:09:44.725Z] [ 70%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2022-03-23T17:09:44.988Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2022-03-23T17:09:45.934Z] [ 73%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2022-03-23T17:09:45.934Z] [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2022-03-23T17:09:46.196Z] [ 76%] Linking C shared library libcsdk.so [2022-03-23T17:09:46.196Z] [ 76%] Built target csdk [2022-03-23T17:09:46.196Z] [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2022-03-23T17:09:46.196Z] [ 79%] Linking C executable template [2022-03-23T17:09:46.462Z] [ 79%] Built target template [2022-03-23T17:09:46.462Z] [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2022-03-23T17:09:46.462Z] [ 82%] Linking C executable device-counter [2022-03-23T17:09:46.462Z] [ 82%] Built target device-counter [2022-03-23T17:09:46.462Z] [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2022-03-23T17:09:46.731Z] [ 85%] Linking C executable device-random [2022-03-23T17:09:46.731Z] [ 85%] Built target device-random [2022-03-23T17:09:46.731Z] [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2022-03-23T17:09:47.009Z] [ 88%] Linking C executable device-gyro [2022-03-23T17:09:47.009Z] [ 88%] Built target device-gyro [2022-03-23T17:09:47.009Z] [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2022-03-23T17:09:47.009Z] [ 91%] Linking C executable device-bitfields [2022-03-23T17:09:47.009Z] [ 91%] Built target device-bitfields [2022-03-23T17:09:47.271Z] [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2022-03-23T17:09:47.271Z] [ 94%] Linking C executable template-discovery [2022-03-23T17:09:47.271Z] [ 94%] Built target template-discovery [2022-03-23T17:09:47.271Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2022-03-23T17:09:47.738Z] [ 97%] Linking C executable device-file [2022-03-23T17:09:47.738Z] [ 97%] Built target device-file [2022-03-23T17:09:47.738Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2022-03-23T17:09:47.738Z] [100%] Linking C executable device-terminal [2022-03-23T17:09:47.738Z] [100%] Built target device-terminal [2022-03-23T17:09:47.738Z] Run CPack packaging tool... [2022-03-23T17:09:47.738Z] CPack: Create package using TGZ [2022-03-23T17:09:47.738Z] CPack: Install projects [2022-03-23T17:09:47.738Z] CPack: - Run preinstall target for: Csdk [2022-03-23T17:09:48.001Z] CPack: - Install project: Csdk [] [2022-03-23T17:09:48.001Z] CPack: Create package [2022-03-23T17:09:48.277Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2022-03-23T17:09:48.277Z] + '[' false '=' true ] [2022-03-23T17:09:48.277Z] + '[' false '=' true ] [2022-03-23T17:09:48.277Z] + mkdir -p /tmp/sdk/build/debug [2022-03-23T17:09:48.277Z] + cd /tmp/sdk/build/debug [2022-03-23T17:09:48.277Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2022-03-23T17:09:48.277Z] -- The C compiler identification is GNU 10.3.1 [2022-03-23T17:09:48.277Z] -- Detecting C compiler ABI info [2022-03-23T17:09:48.277Z] -- Detecting C compiler ABI info - done [2022-03-23T17:09:48.277Z] -- Check for working C compiler: /usr/bin/cc - skipped [2022-03-23T17:09:48.277Z] -- Detecting C compile features [2022-03-23T17:09:48.277Z] -- Detecting C compile features - done [2022-03-23T17:09:48.277Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2022-03-23T17:09:48.540Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.80.0") [2022-03-23T17:09:48.540Z] -- Found LIBYAML: /usr/lib/libyaml.so [2022-03-23T17:09:48.540Z] -- Found LIBUUID: /usr/lib/libuuid.so [2022-03-23T17:09:48.540Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2022-03-23T17:09:48.540Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2022-03-23T17:09:48.540Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2022-03-23T17:09:48.540Z] -- C SDK 0.0.0 for Linux [2022-03-23T17:09:48.540Z] -- Performing Test CSDK_HAVE_ATOMIC [2022-03-23T17:09:48.540Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2022-03-23T17:09:48.540Z] -- Found Curses: /usr/lib/libcurses.so [2022-03-23T17:09:48.540Z] -- Configuring done [2022-03-23T17:09:48.540Z] -- Generating done [2022-03-23T17:09:48.540Z] -- Build files have been written to: /tmp/sdk/build/debug [2022-03-23T17:09:48.540Z] + + teemake debug.log [2022-03-23T17:09:48.540Z] [2022-03-23T17:09:48.540Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2022-03-23T17:09:48.801Z] [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2022-03-23T17:09:48.801Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2022-03-23T17:09:48.801Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2022-03-23T17:09:49.063Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2022-03-23T17:09:49.063Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2022-03-23T17:09:49.063Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2022-03-23T17:09:49.323Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o [2022-03-23T17:09:49.323Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2022-03-23T17:09:49.323Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2022-03-23T17:09:49.587Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2022-03-23T17:09:49.587Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2022-03-23T17:09:49.588Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2022-03-23T17:09:49.851Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2022-03-23T17:09:49.851Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2022-03-23T17:09:49.851Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2022-03-23T17:09:49.851Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2022-03-23T17:09:50.114Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2022-03-23T17:09:50.114Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2022-03-23T17:09:50.114Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2022-03-23T17:09:50.376Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2022-03-23T17:09:50.376Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2022-03-23T17:09:50.376Z] /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': [2022-03-23T17:09:50.376Z] /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] [2022-03-23T17:09:50.376Z] 275 | const iot_component_factory_t * factory; [2022-03-23T17:09:50.376Z] | ^~~~~~~ [2022-03-23T17:09:50.376Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2022-03-23T17:09:50.636Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2022-03-23T17:09:50.636Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2022-03-23T17:09:50.636Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2022-03-23T17:09:50.901Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2022-03-23T17:09:50.901Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2022-03-23T17:09:50.901Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2022-03-23T17:09:50.901Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2022-03-23T17:09:51.165Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2022-03-23T17:09:51.165Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2022-03-23T17:09:51.165Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o [2022-03-23T17:09:51.165Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2022-03-23T17:09:51.429Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2022-03-23T17:09:51.429Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2022-03-23T17:09:51.429Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2022-03-23T17:09:51.692Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2022-03-23T17:09:51.692Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2022-03-23T17:09:51.959Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2022-03-23T17:09:51.959Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2022-03-23T17:09:51.959Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2022-03-23T17:09:51.959Z] /tmp/sdk/src/c/rest-server.c: In function 'http_handler': [2022-03-23T17:09:51.959Z] /tmp/sdk/src/c/rest-server.c:250:65: warning: passing argument 3 of 'MHD_get_connection_values' from incompatible pointer type [-Wincompatible-pointer-types] [2022-03-23T17:09:51.959Z] 250 | MHD_get_connection_values (conn, MHD_GET_ARGUMENT_KIND, queryIterator, req.qparams); [2022-03-23T17:09:51.959Z] | ^~~~~~~~~~~~~ [2022-03-23T17:09:51.959Z] | | [2022-03-23T17:09:51.959Z] | int (*)(void *, enum MHD_ValueKind, const char *, const char *) [2022-03-23T17:09:51.959Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2022-03-23T17:09:51.959Z] /usr/include/microhttpd.h:2784:49: note: expected 'MHD_KeyValueIterator' {aka 'enum MHD_Result (*)(void *, enum MHD_ValueKind, const char *, const char *)'} but argument is of type 'int (*)(void *, enum MHD_ValueKind, const char *, const char *)' [2022-03-23T17:09:51.959Z] 2784 | MHD_KeyValueIterator iterator, [2022-03-23T17:09:51.959Z] | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ [2022-03-23T17:09:51.959Z] /tmp/sdk/src/c/rest-server.c: In function 'edgex_rest_server_create': [2022-03-23T17:09:51.959Z] /tmp/sdk/src/c/rest-server.c:348:58: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] [2022-03-23T17:09:51.959Z] 348 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_SOCK_ADDR, res->ai_addr, MHD_OPTION_END); [2022-03-23T17:09:51.959Z] | ^~~~~~~~~~~~ [2022-03-23T17:09:51.959Z] | | [2022-03-23T17:09:51.959Z] | int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, size_t *, void **) {aka int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)} [2022-03-23T17:09:51.959Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2022-03-23T17:09:51.960Z] /usr/include/microhttpd.h:2480:45: note: expected 'MHD_AccessHandlerCallback' {aka 'enum MHD_Result (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)'} but argument is of type 'int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, size_t *, void **)' {aka 'int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)'} [2022-03-23T17:09:51.960Z] 2480 | MHD_AccessHandlerCallback dh, void *dh_cls, [2022-03-23T17:09:51.960Z] | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ [2022-03-23T17:09:51.960Z] /tmp/sdk/src/c/rest-server.c:359:56: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] [2022-03-23T17:09:51.960Z] 359 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_END); [2022-03-23T17:09:51.960Z] | ^~~~~~~~~~~~ [2022-03-23T17:09:51.960Z] | | [2022-03-23T17:09:51.960Z] | int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, size_t *, void **) {aka int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)} [2022-03-23T17:09:51.960Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2022-03-23T17:09:51.960Z] /usr/include/microhttpd.h:2480:45: note: expected 'MHD_AccessHandlerCallback' {aka 'enum MHD_Result (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)'} but argument is of type 'int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, size_t *, void **)' {aka 'int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)'} [2022-03-23T17:09:51.960Z] 2480 | MHD_AccessHandlerCallback dh, void *dh_cls, [2022-03-23T17:09:51.960Z] | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ [2022-03-23T17:09:52.226Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2022-03-23T17:09:52.226Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2022-03-23T17:09:52.487Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2022-03-23T17:09:52.487Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2022-03-23T17:09:52.487Z] [ 70%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2022-03-23T17:09:52.747Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2022-03-23T17:09:52.747Z] [ 73%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2022-03-23T17:09:53.009Z] [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2022-03-23T17:09:53.009Z] [ 76%] Linking C shared library libcsdk.so [2022-03-23T17:09:53.009Z] [ 76%] Built target csdk [2022-03-23T17:09:53.010Z] [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2022-03-23T17:09:53.275Z] [ 79%] Linking C executable template [2022-03-23T17:09:53.275Z] [ 79%] Built target template [2022-03-23T17:09:53.275Z] [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2022-03-23T17:09:53.275Z] [ 82%] Linking C executable device-counter [2022-03-23T17:09:53.275Z] [ 82%] Built target device-counter [2022-03-23T17:09:53.275Z] [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2022-03-23T17:09:53.537Z] [ 85%] Linking C executable device-random [2022-03-23T17:09:53.537Z] [ 85%] Built target device-random [2022-03-23T17:09:53.537Z] [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2022-03-23T17:09:53.537Z] [ 88%] Linking C executable device-gyro [2022-03-23T17:09:53.797Z] [ 88%] Built target device-gyro [2022-03-23T17:09:53.797Z] [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2022-03-23T17:09:53.797Z] [ 91%] Linking C executable device-bitfields [2022-03-23T17:09:53.797Z] [ 91%] Built target device-bitfields [2022-03-23T17:09:53.797Z] [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2022-03-23T17:09:54.069Z] [ 94%] Linking C executable template-discovery [2022-03-23T17:09:54.069Z] [ 94%] Built target template-discovery [2022-03-23T17:09:54.069Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2022-03-23T17:09:54.069Z] [ 97%] Linking C executable device-file [2022-03-23T17:09:54.069Z] [ 97%] Built target device-file [2022-03-23T17:09:54.069Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2022-03-23T17:09:54.332Z] [100%] Linking C executable device-terminal [2022-03-23T17:09:54.332Z] [100%] Built target device-terminal [2022-03-23T17:09:54.332Z] make: Entering directory '/tmp/sdk/build/release' [2022-03-23T17:09:54.332Z] make[1]: Entering directory '/tmp/sdk/build/release' [2022-03-23T17:09:54.332Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-03-23T17:09:54.332Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-03-23T17:09:54.332Z] [ 76%] Built target csdk [2022-03-23T17:09:54.332Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-03-23T17:09:54.332Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-03-23T17:09:54.332Z] [ 79%] Built target template [2022-03-23T17:09:54.332Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-03-23T17:09:54.332Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-03-23T17:09:54.332Z] [ 82%] Built target device-counter [2022-03-23T17:09:54.332Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-03-23T17:09:54.332Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-03-23T17:09:54.332Z] [ 85%] Built target device-random [2022-03-23T17:09:54.597Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-03-23T17:09:54.597Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-03-23T17:09:54.597Z] [ 88%] Built target device-gyro [2022-03-23T17:09:54.597Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-03-23T17:09:54.597Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-03-23T17:09:54.597Z] [ 91%] Built target device-bitfields [2022-03-23T17:09:54.597Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-03-23T17:09:54.597Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-03-23T17:09:54.597Z] [ 94%] Built target template-discovery [2022-03-23T17:09:54.597Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-03-23T17:09:54.597Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-03-23T17:09:54.597Z] [ 97%] Built target device-file [2022-03-23T17:09:54.597Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-03-23T17:09:54.597Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-03-23T17:09:54.597Z] [100%] Built target device-terminal [2022-03-23T17:09:54.597Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2022-03-23T17:09:54.597Z] Install the project... [2022-03-23T17:09:54.597Z] -- Install configuration: "Release" [2022-03-23T17:09:54.597Z] -- Installing: /usr/local/lib/libcsdk.so [2022-03-23T17:09:54.597Z] -- Installing: /usr/local/include [2022-03-23T17:09:54.597Z] -- Installing: /usr/local/include/edgex [2022-03-23T17:09:54.597Z] -- Installing: /usr/local/include/edgex/profiles.h [2022-03-23T17:09:54.597Z] -- Installing: /usr/local/include/edgex/edgex.h [2022-03-23T17:09:54.597Z] -- Installing: /usr/local/include/edgex/rest-server.h [2022-03-23T17:09:54.597Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2022-03-23T17:09:54.597Z] -- Installing: /usr/local/include/edgex/devices.h [2022-03-23T17:09:54.597Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2022-03-23T17:09:54.597Z] -- Installing: /usr/local/include/devsdk [2022-03-23T17:09:54.597Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2022-03-23T17:09:54.597Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2022-03-23T17:09:54.597Z] -- Installing: /usr/local/include/iot [2022-03-23T17:09:54.597Z] -- Installing: /usr/local/include/iot/thread.h [2022-03-23T17:09:54.597Z] -- Installing: /usr/local/include/iot/hash.h [2022-03-23T17:09:54.597Z] -- Installing: /usr/local/include/iot/typecode.h [2022-03-23T17:09:54.597Z] -- Installing: /usr/local/include/iot/threadpool.h [2022-03-23T17:09:54.597Z] -- Installing: /usr/local/include/iot/uuid.h [2022-03-23T17:09:54.597Z] -- Installing: /usr/local/include/iot/logger.h [2022-03-23T17:09:54.597Z] -- Installing: /usr/local/include/iot/config.h [2022-03-23T17:09:54.597Z] -- Installing: /usr/local/include/iot/os.h [2022-03-23T17:09:54.597Z] -- Installing: /usr/local/include/iot/container.h [2022-03-23T17:09:54.597Z] -- Installing: /usr/local/include/iot/scheduler.h [2022-03-23T17:09:54.597Z] -- Installing: /usr/local/include/iot/defs.h [2022-03-23T17:09:54.597Z] -- Installing: /usr/local/include/iot/iot.h [2022-03-23T17:09:54.597Z] -- Installing: /usr/local/include/iot/component.h [2022-03-23T17:09:54.597Z] -- Installing: /usr/local/include/iot/os [2022-03-23T17:09:54.597Z] -- Installing: /usr/local/include/iot/os/linux.h [2022-03-23T17:09:54.597Z] -- Installing: /usr/local/include/iot/os/zephyr.h [2022-03-23T17:09:54.597Z] -- Installing: /usr/local/include/iot/os/macos.h [2022-03-23T17:09:54.597Z] -- Installing: /usr/local/include/iot/base64.h [2022-03-23T17:09:54.597Z] -- Installing: /usr/local/include/iot/time.h [2022-03-23T17:09:54.597Z] -- Installing: /usr/local/include/iot/data.h [2022-03-23T17:09:54.597Z] -- Installing: /usr/local/include/iot/json.h [2022-03-23T17:09:54.597Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2022-03-23T17:09:54.597Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2022-03-23T17:09:54.597Z] make: Leaving directory '/tmp/sdk/build/release' [2022-03-23T17:09:55.183Z] Removing intermediate container dc831c5bcb99 [2022-03-23T17:09:55.183Z] ---> 93cd4372f2b3 [2022-03-23T17:09:55.183Z] Step 14/22 : FROM ${BASE} [2022-03-23T17:09:55.183Z] ---> c9e13ccc37c5 [2022-03-23T17:09:55.183Z] Step 15/22 : LABEL maintainer="IOTech " [2022-03-23T17:09:55.470Z] ---> Running in 055e503ee5a4 [2022-03-23T17:09:55.470Z] Removing intermediate container 055e503ee5a4 [2022-03-23T17:09:55.470Z] ---> a703783b3dfd [2022-03-23T17:09:55.470Z] 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 [2022-03-23T17:09:55.470Z] ---> Running in 2ad12e7229a4 [2022-03-23T17:09:55.773Z] Connecting to iotech.jfrog.io (52.18.159.91:443) [2022-03-23T17:09:56.275Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2022-03-23T17:09:56.275Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2022-03-23T17:09:56.275Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2022-03-23T17:09:56.275Z] Removing intermediate container 2ad12e7229a4 [2022-03-23T17:09:56.275Z] ---> 06a3b10179fb [2022-03-23T17:09:56.275Z] Step 17/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main' >> /etc/apk/repositories [2022-03-23T17:09:56.540Z] ---> Running in 4fb1159b71b9 [2022-03-23T17:09:57.122Z] Removing intermediate container 4fb1159b71b9 [2022-03-23T17:09:57.122Z] ---> 040a5d7ee1dd [2022-03-23T17:09:57.122Z] Step 18/22 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml curl libmicrohttpd libuuid libcbor paho-mqtt-c-dev-1.3 hiredis-dev [2022-03-23T17:09:57.122Z] ---> Running in 90baf765521e [2022-03-23T17:09:57.387Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-03-23T17:09:58.336Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-03-23T17:09:59.293Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main/x86_64/APKINDEX.tar.gz [2022-03-23T17:09:59.873Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2022-03-23T17:09:59.873Z] (1/6) Installing curl (7.80.0-r0) [2022-03-23T17:09:59.873Z] (2/6) Installing hiredis (1.0.2-r0) [2022-03-23T17:09:59.873Z] (3/6) Installing hiredis-dev (1.0.2-r0) [2022-03-23T17:10:00.137Z] (4/6) Installing libcbor (0.8.0-r0) [2022-03-23T17:10:00.137Z] (5/6) Installing libuuid (2.37.4-r0) [2022-03-23T17:10:00.137Z] (6/6) Installing paho-mqtt-c-dev-1.3 (1.3.9-r0) [2022-03-23T17:10:01.093Z] Executing busybox-1.34.1-r3.trigger [2022-03-23T17:10:01.093Z] OK: 283 MiB in 83 packages [2022-03-23T17:10:01.365Z] Removing intermediate container 90baf765521e [2022-03-23T17:10:01.365Z] ---> bea0f36d845e [2022-03-23T17:10:01.365Z] Step 19/22 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot [2022-03-23T17:10:01.630Z] ---> 759d9fc5c68e [2022-03-23T17:10:01.630Z] Step 20/22 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2022-03-23T17:10:01.630Z] ---> f9189681e097 [2022-03-23T17:10:01.630Z] Step 21/22 : COPY --from=builder /usr/local/lib /usr/local/lib [2022-03-23T17:10:01.893Z] ---> d1cfcb314bd3 [2022-03-23T17:10:01.893Z] Step 22/22 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2022-03-23T17:10:02.160Z] ---> 981a7f0238ce [2022-03-23T17:10:02.160Z] Successfully built 981a7f0238ce [2022-03-23T17:10:02.160Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-03-23T17:10:02.728Z] + docker inspect -f . ci-base-image-x86_64 [2022-03-23T17:10:02.729Z] . [Pipeline] withDockerContainer [2022-03-23T17:10:02.834Z] prd-ubuntu20.04-docker-8c-8g-8674 does not seem to be running inside a container [2022-03-23T17:10:02.880Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-c_PR-405 -v /w/workspace/edgexfoundry_device-sdk-c_PR-405:/w/workspace/edgexfoundry_device-sdk-c_PR-405:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-405@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-405@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 ******** ci-base-image-x86_64 cat [2022-03-23T17:10:03.301Z] $ docker top 452bfff6d46ac232a2dc77845de570c481808050ad934cbec49fef2c3d1dee53 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-03-23T17:10:03.741Z] + make test [2022-03-23T17:10:03.741Z] echo "make test" [2022-03-23T17:10:03.741Z] make test [Pipeline] } [2022-03-23T17:10:03.775Z] $ docker stop --time=1 452bfff6d46ac232a2dc77845de570c481808050ad934cbec49fef2c3d1dee53 [2022-03-23T17:10:05.083Z] $ docker rm -f 452bfff6d46ac232a2dc77845de570c481808050ad934cbec49fef2c3d1dee53 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-03-23T17:10:06.512Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-03-23T17:10:06.825Z] + ls -al . [2022-03-23T17:10:06.825Z] total 208 [2022-03-23T17:10:06.825Z] drwxrwxr-x 9 jenkins jenkins 4096 Mar 23 17:09 . [2022-03-23T17:10:06.825Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 23 17:08 .. [2022-03-23T17:10:06.825Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 23 17:08 .git [2022-03-23T17:10:06.825Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 23 17:08 .github [2022-03-23T17:10:06.825Z] -rw-rw-r-- 1 jenkins jenkins 176 Mar 23 17:08 .gitignore [2022-03-23T17:10:06.825Z] drwx------ 3 jenkins jenkins 4096 Mar 23 17:09 .semver [2022-03-23T17:10:06.825Z] -rw-rw-r-- 1 jenkins jenkins 3104 Mar 23 17:08 Attribution.txt [2022-03-23T17:10:06.825Z] -rw-rw-r-- 1 jenkins jenkins 8302 Mar 23 17:08 CHANGES [2022-03-23T17:10:06.825Z] -rw-rw-r-- 1 jenkins jenkins 108574 Mar 23 17:08 Doxyfile [2022-03-23T17:10:06.825Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 23 17:08 GOVERNANCE.md [2022-03-23T17:10:06.825Z] -rw-rw-r-- 1 jenkins jenkins 784 Mar 23 17:08 Jenkinsfile [2022-03-23T17:10:06.825Z] -rw-rw-r-- 1 jenkins jenkins 10174 Mar 23 17:08 LICENSE [2022-03-23T17:10:06.825Z] -rw-rw-r-- 1 jenkins jenkins 444 Mar 23 17:08 Makefile [2022-03-23T17:10:06.825Z] -rw-rw-r-- 1 jenkins jenkins 618 Mar 23 17:08 OWNERS.md [2022-03-23T17:10:06.825Z] -rw-rw-r-- 1 jenkins jenkins 4086 Mar 23 17:08 README.md [2022-03-23T17:10:06.825Z] -rw-rw-r-- 1 jenkins jenkins 7422 Mar 23 17:08 README.v2.md [2022-03-23T17:10:06.825Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 23 17:09 VERSION [2022-03-23T17:10:06.825Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 23 17:08 docs [2022-03-23T17:10:06.825Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 23 17:08 include [2022-03-23T17:10:06.825Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 23 17:08 scripts [2022-03-23T17:10:06.825Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 23 17:08 src [Pipeline] isUnix [Pipeline] sh [2022-03-23T17:10:07.157Z] + 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=7ec469130c5b085487fe1a295745b41d936d73c8 --label arch=amd64 --label version=0.0.0 . [2022-03-23T17:10:07.157Z] Sending build context to Docker daemon 4.562MB [2022-03-23T17:10:07.157Z] Step 1/17 : ARG BASE=alpine:3.15 [2022-03-23T17:10:07.157Z] Step 2/17 : FROM ${BASE} [2022-03-23T17:10:07.157Z] ---> 981a7f0238ce [2022-03-23T17:10:07.157Z] Step 3/17 : LABEL maintainer="IOTech " [2022-03-23T17:10:07.157Z] ---> Running in bc4a86ef8b42 [2022-03-23T17:10:07.418Z] Removing intermediate container bc4a86ef8b42 [2022-03-23T17:10:07.418Z] ---> dbca8b655d0e [2022-03-23T17:10:07.418Z] Step 4/17 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2022-03-23T17:10:07.418Z] ---> Running in cc4c804ab0fa [2022-03-23T17:10:07.680Z] Connecting to iotech.jfrog.io (52.18.159.91:443) [2022-03-23T17:10:07.942Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2022-03-23T17:10:07.942Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2022-03-23T17:10:07.942Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2022-03-23T17:10:08.203Z] Removing intermediate container cc4c804ab0fa [2022-03-23T17:10:08.203Z] ---> 2048436be46d [2022-03-23T17:10:08.203Z] Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main' >> /etc/apk/repositories [2022-03-23T17:10:08.464Z] ---> Running in 117051e2a5c5 [2022-03-23T17:10:09.035Z] Removing intermediate container 117051e2a5c5 [2022-03-23T17:10:09.035Z] ---> 0ebe252dfd23 [2022-03-23T17:10:09.035Z] Step 6/17 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml-dev curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev libcbor-dev paho-mqtt-c-dev-1.3 hiredis-dev && mkdir -p /edgex-c-sdk/build [2022-03-23T17:10:09.035Z] ---> Running in b89644e6685b [2022-03-23T17:10:09.297Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-03-23T17:10:10.245Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-03-23T17:10:10.245Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main/x86_64/APKINDEX.tar.gz [2022-03-23T17:10:10.816Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2022-03-23T17:10:10.816Z] (1/26) Installing libcbor-dev (0.8.0-r0) [2022-03-23T17:10:10.816Z] (2/26) Installing ncurses-dev (6.3_p20211120-r0) [2022-03-23T17:10:10.816Z] (3/26) Installing util-linux (2.37.4-r0) [2022-03-23T17:10:11.078Z] (4/26) Installing libblkid (2.37.4-r0) [2022-03-23T17:10:11.078Z] (5/26) Installing libeconf (0.4.2-r0) [2022-03-23T17:10:11.078Z] (6/26) Installing libfdisk (2.37.4-r0) [2022-03-23T17:10:11.343Z] (7/26) Installing libmount (2.37.4-r0) [2022-03-23T17:10:11.343Z] (8/26) Installing libsmartcols (2.37.4-r0) [2022-03-23T17:10:11.343Z] (9/26) Installing util-linux-misc (2.37.4-r0) [2022-03-23T17:10:11.603Z] (10/26) Installing linux-pam (1.5.2-r0) [2022-03-23T17:10:11.863Z] (11/26) Installing runuser (2.37.4-r0) [2022-03-23T17:10:11.863Z] (12/26) Installing hexdump (2.37.4-r0) [2022-03-23T17:10:11.863Z] (13/26) Installing uuidgen (2.37.4-r0) [2022-03-23T17:10:12.123Z] (14/26) Installing blkid (2.37.4-r0) [2022-03-23T17:10:12.123Z] (15/26) Installing sfdisk (2.37.4-r0) [2022-03-23T17:10:12.123Z] (16/26) Installing mcookie (2.37.4-r0) [2022-03-23T17:10:12.384Z] (17/26) Installing wipefs (2.37.4-r0) [2022-03-23T17:10:12.384Z] (18/26) Installing cfdisk (2.37.4-r0) [2022-03-23T17:10:12.384Z] (19/26) Installing flock (2.37.4-r0) [2022-03-23T17:10:12.643Z] (20/26) Installing lsblk (2.37.4-r0) [2022-03-23T17:10:12.643Z] (21/26) Installing libcap-ng (0.8.2-r1) [2022-03-23T17:10:12.643Z] (22/26) Installing setpriv (2.37.4-r0) [2022-03-23T17:10:12.904Z] (23/26) Installing logger (2.37.4-r0) [2022-03-23T17:10:12.904Z] (24/26) Installing partx (2.37.4-r0) [2022-03-23T17:10:12.904Z] (25/26) Installing findmnt (2.37.4-r0) [2022-03-23T17:10:13.165Z] (26/26) Installing util-linux-dev (2.37.4-r0) [2022-03-23T17:10:13.165Z] Executing busybox-1.34.1-r3.trigger [2022-03-23T17:10:13.165Z] OK: 294 MiB in 109 packages [2022-03-23T17:10:13.737Z] Removing intermediate container b89644e6685b [2022-03-23T17:10:13.737Z] ---> b41066508022 [2022-03-23T17:10:13.737Z] Step 7/17 : COPY VERSION /edgex-c-sdk/ [2022-03-23T17:10:13.996Z] ---> c4b424818e3b [2022-03-23T17:10:13.996Z] Step 8/17 : COPY src /edgex-c-sdk/src/ [2022-03-23T17:10:14.255Z] ---> f4a81a93f40a [2022-03-23T17:10:14.255Z] Step 9/17 : COPY include /edgex-c-sdk/include/ [2022-03-23T17:10:14.255Z] ---> 0d7fea6abd1d [2022-03-23T17:10:14.255Z] Step 10/17 : COPY scripts /edgex-c-sdk/scripts [2022-03-23T17:10:14.514Z] ---> 4cbe097188c2 [2022-03-23T17:10:14.514Z] Step 11/17 : COPY LICENSE /edgex-c-sdk/ [2022-03-23T17:10:14.514Z] ---> 1592d64035db [2022-03-23T17:10:14.514Z] Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ [2022-03-23T17:10:14.773Z] ---> 34c3cf63e581 [2022-03-23T17:10:14.773Z] Step 13/17 : WORKDIR /edgex-c-sdk [2022-03-23T17:10:14.773Z] ---> Running in 814ec662db91 [2022-03-23T17:10:15.035Z] Removing intermediate container 814ec662db91 [2022-03-23T17:10:15.035Z] ---> ff0522cea950 [2022-03-23T17:10:15.035Z] Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2022-03-23T17:10:15.035Z] ---> Running in c6a911451e7d [2022-03-23T17:10:15.035Z] Removing intermediate container c6a911451e7d [2022-03-23T17:10:15.035Z] ---> 20fa48665511 [2022-03-23T17:10:15.035Z] Step 15/17 : LABEL arch=amd64 [2022-03-23T17:10:15.035Z] ---> Running in eda99350243f [2022-03-23T17:10:15.304Z] Removing intermediate container eda99350243f [2022-03-23T17:10:15.304Z] ---> 12d3890a963f [2022-03-23T17:10:15.304Z] Step 16/17 : LABEL git_sha=7ec469130c5b085487fe1a295745b41d936d73c8 [2022-03-23T17:10:15.304Z] ---> Running in 471e4b93be63 [2022-03-23T17:10:15.304Z] Removing intermediate container 471e4b93be63 [2022-03-23T17:10:15.304Z] ---> 8d1ff7fca7af [2022-03-23T17:10:15.304Z] Step 17/17 : LABEL version=0.0.0 [2022-03-23T17:10:15.304Z] ---> Running in eb3aa8f55810 [2022-03-23T17:10:15.565Z] Removing intermediate container eb3aa8f55810 [2022-03-23T17:10:15.565Z] ---> 20330d07ef35 [2022-03-23T17:10:15.565Z] [Warning] One or more build-args [MAKE ARCH] were not consumed [2022-03-23T17:10:15.565Z] Successfully built 20330d07ef35 [2022-03-23T17:10:15.565Z] Successfully tagged device-sdk:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-03-23T17:10:16.367Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-03-23T17:10:16.367Z] [2022-03-23T17:10:16.367Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-03-23T17:10:16.703Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-03-23T17:10:16.703Z] latest: Pulling from edgex-lftools-log-publisher [2022-03-23T17:10:16.703Z] 5eb5b503b376: Pulling fs layer [2022-03-23T17:10:16.703Z] 5c69ac0246d0: Pulling fs layer [2022-03-23T17:10:16.703Z] ec43610c2a17: Pulling fs layer [2022-03-23T17:10:16.703Z] 3a2ae6a8a46f: Pulling fs layer [2022-03-23T17:10:16.703Z] 33b1e0a273af: Pulling fs layer [2022-03-23T17:10:16.703Z] 5d3b04190fa2: Pulling fs layer [2022-03-23T17:10:16.703Z] 2f39f015ded8: Pulling fs layer [2022-03-23T17:10:16.703Z] 3a2ae6a8a46f: Waiting [2022-03-23T17:10:16.703Z] 33b1e0a273af: Waiting [2022-03-23T17:10:16.703Z] 5d3b04190fa2: Waiting [2022-03-23T17:10:16.703Z] 5c69ac0246d0: Verifying Checksum [2022-03-23T17:10:16.703Z] 5c69ac0246d0: Download complete [2022-03-23T17:10:16.703Z] 3a2ae6a8a46f: Verifying Checksum [2022-03-23T17:10:16.703Z] 3a2ae6a8a46f: Download complete [2022-03-23T17:10:16.703Z] 33b1e0a273af: Verifying Checksum [2022-03-23T17:10:16.703Z] 33b1e0a273af: Download complete [2022-03-23T17:10:16.703Z] ec43610c2a17: Verifying Checksum [2022-03-23T17:10:16.703Z] ec43610c2a17: Download complete [2022-03-23T17:10:16.963Z] 5eb5b503b376: Verifying Checksum [2022-03-23T17:10:16.963Z] 5eb5b503b376: Download complete [2022-03-23T17:10:17.530Z] 2f39f015ded8: Verifying Checksum [2022-03-23T17:10:17.531Z] 2f39f015ded8: Download complete [2022-03-23T17:10:18.099Z] 5eb5b503b376: Pull complete [2022-03-23T17:10:18.357Z] 5c69ac0246d0: Pull complete [2022-03-23T17:10:18.927Z] ec43610c2a17: Pull complete [2022-03-23T17:10:18.927Z] 3a2ae6a8a46f: Pull complete [2022-03-23T17:10:18.927Z] 33b1e0a273af: Pull complete [2022-03-23T17:10:19.184Z] 5d3b04190fa2: Pull complete [2022-03-23T17:10:23.376Z] 2f39f015ded8: Pull complete [2022-03-23T17:10:23.376Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-03-23T17:10:23.376Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-03-23T17:10:23.376Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-03-23T17:10:23.462Z] prd-ubuntu20.04-docker-8c-8g-8674 does not seem to be running inside a container [2022-03-23T17:10:23.503Z] $ 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-405 -v /w/workspace/edgexfoundry_device-sdk-c_PR-405:/w/workspace/edgexfoundry_device-sdk-c_PR-405:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-405@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-405@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 [2022-03-23T17:10:25.646Z] $ docker top ed5d6809d03c644d37e6b878edf564f37771038cc9801b9cd2e5941bce9c5422 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-03-23T17:10:26.173Z] ---> job-cost.sh [2022-03-23T17:10:26.173Z] lf-activate-venv: SKIPPING [2022-03-23T17:10:26.173Z] INFO: No Stack... [2022-03-23T17:10:26.434Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-03-23T17:10:27.005Z] INFO: Archiving Costs [Pipeline] sh [2022-03-23T17:10:27.331Z] + cat /w/workspace/edgexfoundry_device-sdk-c_PR-405/archives/cost.csv [2022-03-23T17:10:27.332Z] + cut -d, -f6 [Pipeline] lock [2022-03-23T17:10:27.375Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-405-1-stack-cost] [2022-03-23T17:10:27.380Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-405-1-stack-cost] did not exist. Created. [2022-03-23T17:10:27.380Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-405-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-03-23T17:10:27.769Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-03-23T17:10:27.835Z] Stashed 1 file(s) [Pipeline] } [2022-03-23T17:10:27.852Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-405-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-03-23T17:10:27.935Z] $ docker stop --time=1 ed5d6809d03c644d37e6b878edf564f37771038cc9801b9cd2e5941bce9c5422 [2022-03-23T17:10:29.103Z] $ docker rm -f ed5d6809d03c644d37e6b878edf564f37771038cc9801b9cd2e5941bce9c5422 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-03-23T17:11:09.932Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-8675 in /w/workspace/edgexfoundry_device-sdk-c_PR-405 [Pipeline] { [Pipeline] ws [2022-03-23T17:11:09.978Z] Running in /w/workspace/device-sdk-c/1 [Pipeline] { [Pipeline] checkout [2022-03-23T17:11:10.542Z] Selected Git installation does not exist. Using Default [2022-03-23T17:11:10.542Z] The recommended git tool is: NONE [2022-03-23T17:11:17.782Z] using credential edgex-jenkins-ssh [2022-03-23T17:11:17.820Z] Cloning the remote Git repository [2022-03-23T17:11:17.899Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2022-03-23T17:11:17.981Z] > git init /w/workspace/device-sdk-c/1 # timeout=10 [2022-03-23T17:11:18.176Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2022-03-23T17:11:18.182Z] > git --version # timeout=10 [2022-03-23T17:11:18.207Z] > git --version # 'git version 2.25.1' [2022-03-23T17:11:18.208Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-03-23T17:11:18.287Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-03-23T17:11:20.031Z] Merging remotes/origin/main commit 0f9fd7bebf2f77d7be2ba62bd03931a1c6f4d1f4 into PR head commit 7ec469130c5b085487fe1a295745b41d936d73c8 [2022-03-23T17:11:19.321Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2022-03-23T17:11:19.357Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-03-23T17:11:19.382Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2022-03-23T17:11:19.419Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2022-03-23T17:11:19.420Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-03-23T17:11:19.431Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/405/head:refs/remotes/origin/PR-405 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-03-23T17:11:20.058Z] > git config core.sparsecheckout # timeout=10 [2022-03-23T17:11:20.073Z] > git checkout -f 7ec469130c5b085487fe1a295745b41d936d73c8 # timeout=10 [2022-03-23T17:11:20.324Z] Merge succeeded, producing 7ec469130c5b085487fe1a295745b41d936d73c8 [2022-03-23T17:11:20.324Z] Checking out Revision 7ec469130c5b085487fe1a295745b41d936d73c8 (PR-405) [2022-03-23T17:11:20.208Z] > git remote # timeout=10 [2022-03-23T17:11:20.233Z] > git config --get remote.origin.url # timeout=10 [2022-03-23T17:11:20.254Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-03-23T17:11:20.272Z] > git merge 0f9fd7bebf2f77d7be2ba62bd03931a1c6f4d1f4 # timeout=10 [2022-03-23T17:11:20.308Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-03-23T17:11:20.337Z] > git config core.sparsecheckout # timeout=10 [2022-03-23T17:11:20.359Z] > git checkout -f 7ec469130c5b085487fe1a295745b41d936d73c8 # timeout=10 [2022-03-23T17:11:24.669Z] Commit message: "feat: Authenticate to Redis Streams / MQTT using secrets (#314)" [2022-03-23T17:11:24.732Z] > git --version # timeout=10 [2022-03-23T17:11:24.743Z] > git --version # 'git version 2.25.1' [2022-03-23T17:11:24.756Z] fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-03-23T17:11:25.920Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-03-23T17:11:25.920Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-03-23T17:11:25.920Z] Dload Upload Total Spent Left Speed [2022-03-23T17:11:25.920Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 46996 0 --:--:-- --:--:-- --:--:-- 47183 [Pipeline] sh [2022-03-23T17:11:26.496Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-03-23T17:11:26.860Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-03-23T17:11:26.860Z] + sudo tee /etc/docker/daemon.new [2022-03-23T17:11:26.860Z] { [2022-03-23T17:11:26.860Z] "registry-mirrors": [ [2022-03-23T17:11:26.860Z] "https://nexus3.edgexfoundry.org:10001" [2022-03-23T17:11:26.860Z] ], [2022-03-23T17:11:26.860Z] "bip": "10.250.0.254/24", [2022-03-23T17:11:26.860Z] "hosts": [ [2022-03-23T17:11:26.860Z] "tcp://0.0.0.0:5555", [2022-03-23T17:11:26.860Z] "unix:///var/run/docker.sock" [2022-03-23T17:11:26.860Z] ], [2022-03-23T17:11:26.860Z] "mtu": 1458, [2022-03-23T17:11:26.860Z] "selinux-enabled": true, [2022-03-23T17:11:26.860Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-03-23T17:11:26.860Z] } [Pipeline] sh [2022-03-23T17:11:27.220Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-03-23T17:11:27.594Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-03-23T17:11:46.011Z] provisioning config files... [2022-03-23T17:11:46.041Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/1@tmp/config2150690801664132429tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-03-23T17:11:46.661Z] ---> docker-login.sh [2022-03-23T17:11:46.661Z] nexus3.edgexfoundry.org:10001 [2022-03-23T17:11:47.273Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-23T17:11:47.549Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-23T17:11:47.549Z] Configure a credential helper to remove this warning. See [2022-03-23T17:11:47.549Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-23T17:11:47.549Z] [2022-03-23T17:11:47.549Z] Login Succeeded [2022-03-23T17:11:47.549Z] nexus3.edgexfoundry.org:10002 [2022-03-23T17:11:47.825Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-23T17:11:48.102Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-23T17:11:48.102Z] Configure a credential helper to remove this warning. See [2022-03-23T17:11:48.102Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-23T17:11:48.102Z] [2022-03-23T17:11:48.102Z] Login Succeeded [2022-03-23T17:11:48.102Z] nexus3.edgexfoundry.org:10003 [2022-03-23T17:11:48.382Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-23T17:11:48.382Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-23T17:11:48.382Z] Configure a credential helper to remove this warning. See [2022-03-23T17:11:48.382Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-23T17:11:48.382Z] [2022-03-23T17:11:48.382Z] Login Succeeded [2022-03-23T17:11:48.656Z] nexus3.edgexfoundry.org:10004 [2022-03-23T17:11:48.931Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-23T17:11:48.931Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-23T17:11:48.931Z] Configure a credential helper to remove this warning. See [2022-03-23T17:11:48.931Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-23T17:11:48.931Z] [2022-03-23T17:11:48.931Z] Login Succeeded [2022-03-23T17:11:48.931Z] docker.io [2022-03-23T17:11:49.533Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-23T17:11:49.808Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-23T17:11:49.808Z] Configure a credential helper to remove this warning. See [2022-03-23T17:11:49.808Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-23T17:11:49.808Z] [2022-03-23T17:11:49.808Z] Login Succeeded [2022-03-23T17:11:49.808Z] ---> docker-login.sh ends [Pipeline] } [2022-03-23T17:11:49.841Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-03-23T17:11:50.268Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-03-23T17:11:50.311Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-arm64 [Pipeline] echo [2022-03-23T17:11:50.359Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-03-23T17:11:50.414Z] ========================================================= [2022-03-23T17:11:50.414Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] [2022-03-23T17:11:50.414Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-03-23T17:11:50.844Z] + docker build -t ci-base-image-arm64 -f scripts/Dockerfile.alpine-base --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest . [2022-03-23T17:11:51.124Z] Sending build context to Docker daemon 2.789MB [2022-03-23T17:11:51.400Z] Step 1/22 : ARG BASE=alpine:3.15 [2022-03-23T17:11:51.400Z] Step 2/22 : FROM ${BASE} as builder [2022-03-23T17:11:51.400Z] latest: Pulling from edgex-devops/edgex-gcc-base-arm64 [2022-03-23T17:11:51.400Z] 9b3977197b4f: Pulling fs layer [2022-03-23T17:11:51.400Z] 2a93055cfd06: Pulling fs layer [2022-03-23T17:11:51.400Z] ff5fdaca7850: Pulling fs layer [2022-03-23T17:11:51.400Z] 2a93055cfd06: Download complete [2022-03-23T17:11:51.680Z] 9b3977197b4f: Download complete [2022-03-23T17:11:52.285Z] 9b3977197b4f: Pull complete [2022-03-23T17:11:52.285Z] 2a93055cfd06: Pull complete [2022-03-23T17:11:53.738Z] ff5fdaca7850: Verifying Checksum [2022-03-23T17:11:53.738Z] ff5fdaca7850: Download complete [2022-03-23T17:12:02.048Z] ff5fdaca7850: Pull complete [2022-03-23T17:12:02.048Z] Digest: sha256:bf249b2a65b15776358c73a8f9886e573022f6b9ba75e542fbdefbaa4c9006da [2022-03-23T17:12:02.048Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest [2022-03-23T17:12:02.048Z] ---> 0af3d9908a83 [2022-03-23T17:12:02.048Z] 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 [2022-03-23T17:12:02.661Z] ---> Running in 0951789b86c1 [2022-03-23T17:12:04.125Z] Connecting to iotech.jfrog.io (52.49.191.191:443) [2022-03-23T17:12:04.401Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2022-03-23T17:12:04.401Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2022-03-23T17:12:04.401Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2022-03-23T17:12:05.005Z] Removing intermediate container 0951789b86c1 [2022-03-23T17:12:05.005Z] ---> 537a18cd0ec3 [2022-03-23T17:12:05.005Z] Step 4/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main' >> /etc/apk/repositories [2022-03-23T17:12:05.005Z] ---> Running in bcfa12f46e6c [2022-03-23T17:12:07.000Z] Removing intermediate container bcfa12f46e6c [2022-03-23T17:12:07.000Z] ---> 7cd43dcd6bda [2022-03-23T17:12:07.000Z] 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 paho-mqtt-c-dev-1.3 hiredis-dev [2022-03-23T17:12:07.000Z] ---> Running in 8d3dbba08df2 [2022-03-23T17:12:07.597Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-03-23T17:12:08.574Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-03-23T17:12:09.168Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main/aarch64/APKINDEX.tar.gz [2022-03-23T17:12:09.761Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2022-03-23T17:12:09.761Z] (1/31) Installing hiredis (1.0.2-r0) [2022-03-23T17:12:10.034Z] (2/31) Installing hiredis-dev (1.0.2-r0) [2022-03-23T17:12:10.034Z] (3/31) Installing libcbor (0.8.0-r0) [2022-03-23T17:12:10.034Z] (4/31) Installing libcbor-dev (0.8.0-r0) [2022-03-23T17:12:10.306Z] (5/31) Installing ncurses-dev (6.3_p20211120-r0) [2022-03-23T17:12:10.306Z] (6/31) Installing paho-mqtt-c-dev-1.3 (1.3.9-r0) [2022-03-23T17:12:11.283Z] (7/31) Installing util-linux (2.37.4-r0) [2022-03-23T17:12:11.283Z] (8/31) Installing libblkid (2.37.4-r0) [2022-03-23T17:12:11.283Z] (9/31) Installing libeconf (0.4.2-r0) [2022-03-23T17:12:11.557Z] (10/31) Installing libuuid (2.37.4-r0) [2022-03-23T17:12:11.557Z] (11/31) Installing libfdisk (2.37.4-r0) [2022-03-23T17:12:11.557Z] (12/31) Installing libmount (2.37.4-r0) [2022-03-23T17:12:11.828Z] (13/31) Installing libsmartcols (2.37.4-r0) [2022-03-23T17:12:11.828Z] (14/31) Installing util-linux-misc (2.37.4-r0) [2022-03-23T17:12:12.102Z] (15/31) Installing linux-pam (1.5.2-r0) [2022-03-23T17:12:12.373Z] (16/31) Installing runuser (2.37.4-r0) [2022-03-23T17:12:12.373Z] (17/31) Installing hexdump (2.37.4-r0) [2022-03-23T17:12:12.373Z] (18/31) Installing uuidgen (2.37.4-r0) [2022-03-23T17:12:12.647Z] (19/31) Installing blkid (2.37.4-r0) [2022-03-23T17:12:12.647Z] (20/31) Installing sfdisk (2.37.4-r0) [2022-03-23T17:12:12.647Z] (21/31) Installing mcookie (2.37.4-r0) [2022-03-23T17:12:12.918Z] (22/31) Installing wipefs (2.37.4-r0) [2022-03-23T17:12:12.918Z] (23/31) Installing cfdisk (2.37.4-r0) [2022-03-23T17:12:12.918Z] (24/31) Installing flock (2.37.4-r0) [2022-03-23T17:12:13.190Z] (25/31) Installing lsblk (2.37.4-r0) [2022-03-23T17:12:13.190Z] (26/31) Installing libcap-ng (0.8.2-r1) [2022-03-23T17:12:13.190Z] (27/31) Installing setpriv (2.37.4-r0) [2022-03-23T17:12:13.462Z] (28/31) Installing logger (2.37.4-r0) [2022-03-23T17:12:13.462Z] (29/31) Installing partx (2.37.4-r0) [2022-03-23T17:12:13.462Z] (30/31) Installing findmnt (2.37.4-r0) [2022-03-23T17:12:13.738Z] (31/31) Installing util-linux-dev (2.37.4-r0) [2022-03-23T17:12:13.738Z] Executing busybox-1.34.1-r3.trigger [2022-03-23T17:12:14.011Z] OK: 289 MiB in 108 packages [2022-03-23T17:12:15.453Z] Removing intermediate container 8d3dbba08df2 [2022-03-23T17:12:15.453Z] ---> d08ae36d15a1 [2022-03-23T17:12:15.453Z] Step 6/22 : RUN mkdir /tmp/sdk [2022-03-23T17:12:15.453Z] ---> Running in 9f5c4249e990 [2022-03-23T17:12:16.917Z] Removing intermediate container 9f5c4249e990 [2022-03-23T17:12:16.917Z] ---> 3bea7fd875ff [2022-03-23T17:12:16.917Z] Step 7/22 : COPY VERSION /tmp/sdk [2022-03-23T17:12:17.512Z] ---> e2727374f648 [2022-03-23T17:12:17.512Z] Step 8/22 : COPY src /tmp/sdk/src [2022-03-23T17:12:18.113Z] ---> ef5ca2ef9e65 [2022-03-23T17:12:18.113Z] Step 9/22 : COPY include /tmp/sdk/include [2022-03-23T17:12:18.711Z] ---> def139e80278 [2022-03-23T17:12:18.711Z] Step 10/22 : COPY scripts /tmp/sdk/scripts [2022-03-23T17:12:19.309Z] ---> 85858acb296a [2022-03-23T17:12:19.309Z] Step 11/22 : COPY LICENSE /tmp/sdk [2022-03-23T17:12:19.595Z] ---> 592f4d4d8805 [2022-03-23T17:12:19.595Z] Step 12/22 : COPY Attribution.txt /tmp/sdk [2022-03-23T17:12:20.196Z] ---> a548846020fa [2022-03-23T17:12:20.196Z] Step 13/22 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2022-03-23T17:12:20.196Z] ---> Running in cab8a02c5105 [2022-03-23T17:12:21.178Z] + CPPCHECK=false [2022-03-23T17:12:21.178Z] + DOCGEN=false [2022-03-23T17:12:21.178Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2022-03-23T17:12:21.178Z] + TOMLVER=SDK-0.2 [2022-03-23T17:12:21.178Z] + CUTILVER=1.2.2 [2022-03-23T17:12:21.178Z] + '[' 0 -gt 0 ] [2022-03-23T17:12:21.178Z] + readlink -f ./scripts/build.sh [2022-03-23T17:12:21.178Z] + dirname /tmp/sdk/scripts/build.sh [2022-03-23T17:12:21.178Z] + dirname /tmp/sdk/scripts [2022-03-23T17:12:21.178Z] + ROOT=/tmp/sdk [2022-03-23T17:12:21.178Z] + cd /tmp/sdk [2022-03-23T17:12:21.178Z] + '[' '!' -d deps ] [2022-03-23T17:12:21.178Z] + mkdir deps [2022-03-23T17:12:21.178Z] + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2022-03-23T17:12:21.178Z] + tar -C deps -z -x -f - [2022-03-23T17:12:21.178Z] Connecting to github.com (140.82.113.4:443) [2022-03-23T17:12:21.452Z] Connecting to codeload.github.com (140.82.113.9:443) [2022-03-23T17:12:21.728Z] writing to stdout [2022-03-23T17:12:21.728Z] - 100% |********************************| 16451 0:00:00 ETA [2022-03-23T17:12:21.728Z] written to stdout [2022-03-23T17:12:21.728Z] + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c [2022-03-23T17:12:21.728Z] + + wgettar -O -C - deps https://github.com/IOTechSystems/iotech-c-utils/archive/v1.2.2.tar.gz -z [2022-03-23T17:12:21.728Z] -x -f - [2022-03-23T17:12:21.728Z] Connecting to github.com (140.82.113.4:443) [2022-03-23T17:12:22.003Z] Connecting to codeload.github.com (140.82.113.9:443) [2022-03-23T17:12:22.280Z] writing to stdout [2022-03-23T17:12:22.280Z] - 100% |********************************| 189k 0:00:00 ETA [2022-03-23T17:12:22.280Z] written to stdout [2022-03-23T17:12:22.642Z] + mkdir -p src/c/iot [2022-03-23T17:12:22.642Z] + cp deps/iotech-c-utils-1.2.2/src/c/base64.c deps/iotech-c-utils-1.2.2/src/c/component.c deps/iotech-c-utils-1.2.2/src/c/config.c deps/iotech-c-utils-1.2.2/src/c/container.c deps/iotech-c-utils-1.2.2/src/c/data.c deps/iotech-c-utils-1.2.2/src/c/hash.c deps/iotech-c-utils-1.2.2/src/c/iot.c deps/iotech-c-utils-1.2.2/src/c/json.c deps/iotech-c-utils-1.2.2/src/c/logger.c deps/iotech-c-utils-1.2.2/src/c/os.c deps/iotech-c-utils-1.2.2/src/c/scheduler.c deps/iotech-c-utils-1.2.2/src/c/thread.c deps/iotech-c-utils-1.2.2/src/c/threadpool.c deps/iotech-c-utils-1.2.2/src/c/time.c deps/iotech-c-utils-1.2.2/src/c/uuid.c deps/iotech-c-utils-1.2.2/src/c/yxml.c src/c/iot [2022-03-23T17:12:22.642Z] + cp deps/iotech-c-utils-1.2.2/src/c/defs.h.in src/c/iot [2022-03-23T17:12:22.642Z] + cp deps/iotech-c-utils-1.2.2/src/c/yxml.h src/c/iot [2022-03-23T17:12:22.642Z] + cp deps/iotech-c-utils-1.2.2/VERSION src/c/iot [2022-03-23T17:12:22.642Z] + mkdir -p include/iot [2022-03-23T17:12:22.642Z] + cp deps/iotech-c-utils-1.2.2/include/iot/base64.h deps/iotech-c-utils-1.2.2/include/iot/component.h deps/iotech-c-utils-1.2.2/include/iot/config.h deps/iotech-c-utils-1.2.2/include/iot/container.h deps/iotech-c-utils-1.2.2/include/iot/data.h deps/iotech-c-utils-1.2.2/include/iot/hash.h deps/iotech-c-utils-1.2.2/include/iot/iot.h deps/iotech-c-utils-1.2.2/include/iot/json.h deps/iotech-c-utils-1.2.2/include/iot/logger.h deps/iotech-c-utils-1.2.2/include/iot/os.h deps/iotech-c-utils-1.2.2/include/iot/scheduler.h deps/iotech-c-utils-1.2.2/include/iot/thread.h deps/iotech-c-utils-1.2.2/include/iot/threadpool.h deps/iotech-c-utils-1.2.2/include/iot/time.h deps/iotech-c-utils-1.2.2/include/iot/typecode.h deps/iotech-c-utils-1.2.2/include/iot/uuid.h include/iot [2022-03-23T17:12:22.642Z] + mkdir -p include/iot/os [2022-03-23T17:12:22.642Z] + cp deps/iotech-c-utils-1.2.2/include/iot/os/linux.h deps/iotech-c-utils-1.2.2/include/iot/os/macos.h deps/iotech-c-utils-1.2.2/include/iot/os/zephyr.h include/iot/os [2022-03-23T17:12:22.642Z] + mkdir -p /tmp/sdk/build/release [2022-03-23T17:12:22.642Z] + cd /tmp/sdk/build/release [2022-03-23T17:12:22.642Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2022-03-23T17:12:22.948Z] -- The C compiler identification is GNU 10.3.1 [2022-03-23T17:12:22.948Z] -- Detecting C compiler ABI info [2022-03-23T17:12:23.228Z] -- Detecting C compiler ABI info - done [2022-03-23T17:12:23.228Z] -- Check for working C compiler: /usr/bin/cc - skipped [2022-03-23T17:12:23.228Z] -- Detecting C compile features [2022-03-23T17:12:23.228Z] -- Detecting C compile features - done [2022-03-23T17:12:23.228Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2022-03-23T17:12:23.512Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.80.0") [2022-03-23T17:12:23.512Z] -- Found LIBYAML: /usr/lib/libyaml.so [2022-03-23T17:12:23.512Z] -- Found LIBUUID: /usr/lib/libuuid.so [2022-03-23T17:12:23.512Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2022-03-23T17:12:23.512Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2022-03-23T17:12:23.811Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2022-03-23T17:12:23.811Z] -- C SDK 0.0.0 for Linux [2022-03-23T17:12:23.811Z] -- Performing Test CSDK_HAVE_ATOMIC [2022-03-23T17:12:24.090Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2022-03-23T17:12:24.090Z] -- Found Curses: /usr/lib/libcurses.so [2022-03-23T17:12:24.365Z] -- Configuring done [2022-03-23T17:12:24.649Z] -- Generating done [2022-03-23T17:12:24.649Z] -- Build files have been written to: /tmp/sdk/build/release [2022-03-23T17:12:24.649Z] + + teemake release.log all [2022-03-23T17:12:24.649Z] package [2022-03-23T17:12:24.649Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2022-03-23T17:12:25.639Z] [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2022-03-23T17:12:26.236Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2022-03-23T17:12:28.864Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2022-03-23T17:12:29.465Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2022-03-23T17:12:29.740Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2022-03-23T17:12:30.725Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2022-03-23T17:12:31.324Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o [2022-03-23T17:12:31.599Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2022-03-23T17:12:33.041Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2022-03-23T17:12:35.678Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2022-03-23T17:12:35.952Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2022-03-23T17:12:36.929Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2022-03-23T17:12:37.530Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2022-03-23T17:12:38.129Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2022-03-23T17:12:38.129Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2022-03-23T17:12:38.728Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2022-03-23T17:12:42.112Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2022-03-23T17:12:42.112Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2022-03-23T17:12:42.708Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2022-03-23T17:12:42.982Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2022-03-23T17:12:43.960Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2022-03-23T17:12:43.960Z] /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': [2022-03-23T17:12:43.960Z] /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] [2022-03-23T17:12:43.960Z] 275 | const iot_component_factory_t * factory; [2022-03-23T17:12:43.960Z] | ^~~~~~~ [2022-03-23T17:12:44.560Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2022-03-23T17:12:49.959Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2022-03-23T17:12:49.959Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2022-03-23T17:12:50.231Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2022-03-23T17:12:50.828Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2022-03-23T17:12:51.810Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2022-03-23T17:12:51.810Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2022-03-23T17:12:53.237Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2022-03-23T17:12:53.512Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2022-03-23T17:12:54.493Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2022-03-23T17:12:54.764Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o [2022-03-23T17:12:55.360Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2022-03-23T17:12:57.982Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2022-03-23T17:12:58.261Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2022-03-23T17:12:59.692Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2022-03-23T17:12:59.692Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2022-03-23T17:13:05.099Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2022-03-23T17:13:05.099Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2022-03-23T17:13:06.075Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2022-03-23T17:13:06.346Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2022-03-23T17:13:06.621Z] /tmp/sdk/src/c/rest-server.c: In function 'http_handler': [2022-03-23T17:13:06.621Z] /tmp/sdk/src/c/rest-server.c:250:65: warning: passing argument 3 of 'MHD_get_connection_values' from incompatible pointer type [-Wincompatible-pointer-types] [2022-03-23T17:13:06.621Z] 250 | MHD_get_connection_values (conn, MHD_GET_ARGUMENT_KIND, queryIterator, req.qparams); [2022-03-23T17:13:06.621Z] | ^~~~~~~~~~~~~ [2022-03-23T17:13:06.621Z] | | [2022-03-23T17:13:06.621Z] | int (*)(void *, enum MHD_ValueKind, const char *, const char *) [2022-03-23T17:13:06.621Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2022-03-23T17:13:06.621Z] /usr/include/microhttpd.h:2784:49: note: expected 'MHD_KeyValueIterator' {aka 'enum MHD_Result (*)(void *, enum MHD_ValueKind, const char *, const char *)'} but argument is of type 'int (*)(void *, enum MHD_ValueKind, const char *, const char *)' [2022-03-23T17:13:06.621Z] 2784 | MHD_KeyValueIterator iterator, [2022-03-23T17:13:06.621Z] | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ [2022-03-23T17:13:06.621Z] /tmp/sdk/src/c/rest-server.c: In function 'edgex_rest_server_create': [2022-03-23T17:13:06.621Z] /tmp/sdk/src/c/rest-server.c:348:58: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] [2022-03-23T17:13:06.621Z] 348 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_SOCK_ADDR, res->ai_addr, MHD_OPTION_END); [2022-03-23T17:13:06.621Z] | ^~~~~~~~~~~~ [2022-03-23T17:13:06.621Z] | | [2022-03-23T17:13:06.621Z] | int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, size_t *, void **) {aka int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)} [2022-03-23T17:13:06.621Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2022-03-23T17:13:06.621Z] /usr/include/microhttpd.h:2480:45: note: expected 'MHD_AccessHandlerCallback' {aka 'enum MHD_Result (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)'} but argument is of type 'int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, size_t *, void **)' {aka 'int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)'} [2022-03-23T17:13:06.621Z] 2480 | MHD_AccessHandlerCallback dh, void *dh_cls, [2022-03-23T17:13:06.621Z] | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ [2022-03-23T17:13:06.621Z] /tmp/sdk/src/c/rest-server.c:359:56: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] [2022-03-23T17:13:06.621Z] 359 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_END); [2022-03-23T17:13:06.621Z] | ^~~~~~~~~~~~ [2022-03-23T17:13:06.621Z] | | [2022-03-23T17:13:06.621Z] | int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, size_t *, void **) {aka int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)} [2022-03-23T17:13:06.621Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2022-03-23T17:13:06.621Z] /usr/include/microhttpd.h:2480:45: note: expected 'MHD_AccessHandlerCallback' {aka 'enum MHD_Result (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)'} but argument is of type 'int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, size_t *, void **)' {aka 'int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)'} [2022-03-23T17:13:06.621Z] 2480 | MHD_AccessHandlerCallback dh, void *dh_cls, [2022-03-23T17:13:06.621Z] | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ [2022-03-23T17:13:07.603Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2022-03-23T17:13:10.229Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2022-03-23T17:13:10.229Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2022-03-23T17:13:10.828Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2022-03-23T17:13:11.423Z] [ 70%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2022-03-23T17:13:14.042Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2022-03-23T17:13:18.341Z] [ 73%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2022-03-23T17:13:18.937Z] [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2022-03-23T17:13:19.532Z] [ 76%] Linking C shared library libcsdk.so [2022-03-23T17:13:19.805Z] [ 76%] Built target csdk [2022-03-23T17:13:19.805Z] [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2022-03-23T17:13:20.778Z] [ 79%] Linking C executable template [2022-03-23T17:13:21.049Z] [ 79%] Built target template [2022-03-23T17:13:21.050Z] [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2022-03-23T17:13:21.644Z] [ 82%] Linking C executable device-counter [2022-03-23T17:13:21.916Z] [ 82%] Built target device-counter [2022-03-23T17:13:21.916Z] [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2022-03-23T17:13:22.506Z] [ 85%] Linking C executable device-random [2022-03-23T17:13:22.779Z] [ 85%] Built target device-random [2022-03-23T17:13:22.779Z] [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2022-03-23T17:13:23.374Z] [ 88%] Linking C executable device-gyro [2022-03-23T17:13:23.374Z] [ 88%] Built target device-gyro [2022-03-23T17:13:23.646Z] [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2022-03-23T17:13:23.918Z] [ 91%] Linking C executable device-bitfields [2022-03-23T17:13:24.514Z] [ 91%] Built target device-bitfields [2022-03-23T17:13:24.514Z] [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2022-03-23T17:13:25.108Z] [ 94%] Linking C executable template-discovery [2022-03-23T17:13:25.701Z] [ 94%] Built target template-discovery [2022-03-23T17:13:25.701Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2022-03-23T17:13:26.295Z] [ 97%] Linking C executable device-file [2022-03-23T17:13:26.577Z] [ 97%] Built target device-file [2022-03-23T17:13:26.577Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2022-03-23T17:13:27.562Z] [100%] Linking C executable device-terminal [2022-03-23T17:13:27.562Z] [100%] Built target device-terminal [2022-03-23T17:13:27.836Z] Run CPack packaging tool... [2022-03-23T17:13:27.836Z] CPack: Create package using TGZ [2022-03-23T17:13:27.836Z] CPack: Install projects [2022-03-23T17:13:27.836Z] CPack: - Run preinstall target for: Csdk [2022-03-23T17:13:28.430Z] CPack: - Install project: Csdk [] [2022-03-23T17:13:28.430Z] CPack: Create package [2022-03-23T17:13:28.704Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2022-03-23T17:13:28.704Z] + '[' false '=' true ] [2022-03-23T17:13:28.704Z] + '[' false '=' true ] [2022-03-23T17:13:28.704Z] + mkdir -p /tmp/sdk/build/debug [2022-03-23T17:13:28.704Z] + cd /tmp/sdk/build/debug [2022-03-23T17:13:28.704Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2022-03-23T17:13:28.974Z] -- The C compiler identification is GNU 10.3.1 [2022-03-23T17:13:28.974Z] -- Detecting C compiler ABI info [2022-03-23T17:13:29.246Z] -- Detecting C compiler ABI info - done [2022-03-23T17:13:29.521Z] -- Check for working C compiler: /usr/bin/cc - skipped [2022-03-23T17:13:29.521Z] -- Detecting C compile features [2022-03-23T17:13:29.521Z] -- Detecting C compile features - done [2022-03-23T17:13:29.521Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2022-03-23T17:13:29.521Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.80.0") [2022-03-23T17:13:29.521Z] -- Found LIBYAML: /usr/lib/libyaml.so [2022-03-23T17:13:29.521Z] -- Found LIBUUID: /usr/lib/libuuid.so [2022-03-23T17:13:29.797Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2022-03-23T17:13:29.797Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2022-03-23T17:13:29.797Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2022-03-23T17:13:29.797Z] -- C SDK 0.0.0 for Linux [2022-03-23T17:13:29.797Z] -- Performing Test CSDK_HAVE_ATOMIC [2022-03-23T17:13:30.074Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2022-03-23T17:13:30.074Z] -- Found Curses: /usr/lib/libcurses.so [2022-03-23T17:13:30.350Z] -- Configuring done [2022-03-23T17:13:30.625Z] -- Generating done [2022-03-23T17:13:30.625Z] -- Build files have been written to: /tmp/sdk/build/debug [2022-03-23T17:13:30.625Z] + + make [2022-03-23T17:13:30.625Z] tee debug.log [2022-03-23T17:13:30.625Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2022-03-23T17:13:31.220Z] [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2022-03-23T17:13:31.493Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2022-03-23T17:13:32.091Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2022-03-23T17:13:32.686Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2022-03-23T17:13:32.686Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2022-03-23T17:13:33.278Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2022-03-23T17:13:33.551Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o [2022-03-23T17:13:33.825Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2022-03-23T17:13:34.424Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2022-03-23T17:13:35.026Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2022-03-23T17:13:35.300Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2022-03-23T17:13:35.905Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2022-03-23T17:13:36.179Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2022-03-23T17:13:36.454Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2022-03-23T17:13:36.729Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2022-03-23T17:13:36.729Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2022-03-23T17:13:37.714Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2022-03-23T17:13:37.990Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2022-03-23T17:13:38.265Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2022-03-23T17:13:38.537Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2022-03-23T17:13:38.809Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2022-03-23T17:13:39.085Z] /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': [2022-03-23T17:13:39.085Z] /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] [2022-03-23T17:13:39.085Z] 275 | const iot_component_factory_t * factory; [2022-03-23T17:13:39.085Z] | ^~~~~~~ [2022-03-23T17:13:39.085Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2022-03-23T17:13:40.544Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2022-03-23T17:13:40.544Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2022-03-23T17:13:40.817Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2022-03-23T17:13:41.090Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2022-03-23T17:13:41.364Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2022-03-23T17:13:41.637Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2022-03-23T17:13:41.910Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2022-03-23T17:13:42.183Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2022-03-23T17:13:42.777Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2022-03-23T17:13:42.777Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o [2022-03-23T17:13:43.051Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2022-03-23T17:13:43.649Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2022-03-23T17:13:43.649Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2022-03-23T17:13:44.249Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2022-03-23T17:13:44.523Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2022-03-23T17:13:45.964Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2022-03-23T17:13:46.240Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2022-03-23T17:13:46.516Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2022-03-23T17:13:46.790Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2022-03-23T17:13:47.065Z] /tmp/sdk/src/c/rest-server.c: In function 'http_handler': [2022-03-23T17:13:47.065Z] /tmp/sdk/src/c/rest-server.c:250:65: warning: passing argument 3 of 'MHD_get_connection_values' from incompatible pointer type [-Wincompatible-pointer-types] [2022-03-23T17:13:47.065Z] 250 | MHD_get_connection_values (conn, MHD_GET_ARGUMENT_KIND, queryIterator, req.qparams); [2022-03-23T17:13:47.065Z] | ^~~~~~~~~~~~~ [2022-03-23T17:13:47.065Z] | | [2022-03-23T17:13:47.065Z] | int (*)(void *, enum MHD_ValueKind, const char *, const char *) [2022-03-23T17:13:47.065Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2022-03-23T17:13:47.065Z] /usr/include/microhttpd.h:2784:49: note: expected 'MHD_KeyValueIterator' {aka 'enum MHD_Result (*)(void *, enum MHD_ValueKind, const char *, const char *)'} but argument is of type 'int (*)(void *, enum MHD_ValueKind, const char *, const char *)' [2022-03-23T17:13:47.065Z] 2784 | MHD_KeyValueIterator iterator, [2022-03-23T17:13:47.065Z] | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ [2022-03-23T17:13:47.065Z] /tmp/sdk/src/c/rest-server.c: In function 'edgex_rest_server_create': [2022-03-23T17:13:47.065Z] /tmp/sdk/src/c/rest-server.c:348:58: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] [2022-03-23T17:13:47.065Z] 348 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_SOCK_ADDR, res->ai_addr, MHD_OPTION_END); [2022-03-23T17:13:47.065Z] | ^~~~~~~~~~~~ [2022-03-23T17:13:47.065Z] | | [2022-03-23T17:13:47.065Z] | int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, size_t *, void **) {aka int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)} [2022-03-23T17:13:47.065Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2022-03-23T17:13:47.065Z] /usr/include/microhttpd.h:2480:45: note: expected 'MHD_AccessHandlerCallback' {aka 'enum MHD_Result (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)'} but argument is of type 'int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, size_t *, void **)' {aka 'int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)'} [2022-03-23T17:13:47.065Z] 2480 | MHD_AccessHandlerCallback dh, void *dh_cls, [2022-03-23T17:13:47.065Z] | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ [2022-03-23T17:13:47.065Z] /tmp/sdk/src/c/rest-server.c:359:56: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] [2022-03-23T17:13:47.065Z] 359 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_END); [2022-03-23T17:13:47.065Z] | ^~~~~~~~~~~~ [2022-03-23T17:13:47.065Z] | | [2022-03-23T17:13:47.065Z] | int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, size_t *, void **) {aka int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)} [2022-03-23T17:13:47.065Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2022-03-23T17:13:47.065Z] /usr/include/microhttpd.h:2480:45: note: expected 'MHD_AccessHandlerCallback' {aka 'enum MHD_Result (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)'} but argument is of type 'int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, size_t *, void **)' {aka 'int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)'} [2022-03-23T17:13:47.065Z] 2480 | MHD_AccessHandlerCallback dh, void *dh_cls, [2022-03-23T17:13:47.065Z] | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ [2022-03-23T17:13:47.342Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2022-03-23T17:13:48.787Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2022-03-23T17:13:49.064Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2022-03-23T17:13:49.341Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2022-03-23T17:13:49.940Z] [ 70%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2022-03-23T17:13:50.537Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2022-03-23T17:13:51.516Z] [ 73%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2022-03-23T17:13:51.796Z] [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2022-03-23T17:13:52.072Z] [ 76%] Linking C shared library libcsdk.so [2022-03-23T17:13:52.346Z] [ 76%] Built target csdk [2022-03-23T17:13:52.620Z] [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2022-03-23T17:13:52.893Z] [ 79%] Linking C executable template [2022-03-23T17:13:53.167Z] [ 79%] Built target template [2022-03-23T17:13:53.167Z] [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2022-03-23T17:13:53.443Z] [ 82%] Linking C executable device-counter [2022-03-23T17:13:53.720Z] [ 82%] Built target device-counter [2022-03-23T17:13:53.720Z] [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2022-03-23T17:13:53.995Z] [ 85%] Linking C executable device-random [2022-03-23T17:13:54.590Z] [ 85%] Built target device-random [2022-03-23T17:13:54.590Z] [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2022-03-23T17:13:54.867Z] [ 88%] Linking C executable device-gyro [2022-03-23T17:13:55.147Z] [ 88%] Built target device-gyro [2022-03-23T17:13:55.147Z] [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2022-03-23T17:13:55.421Z] [ 91%] Linking C executable device-bitfields [2022-03-23T17:13:55.694Z] [ 91%] Built target device-bitfields [2022-03-23T17:13:55.694Z] [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2022-03-23T17:13:55.977Z] [ 94%] Linking C executable template-discovery [2022-03-23T17:13:56.253Z] [ 94%] Built target template-discovery [2022-03-23T17:13:56.253Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2022-03-23T17:13:56.850Z] [ 97%] Linking C executable device-file [2022-03-23T17:13:56.850Z] [ 97%] Built target device-file [2022-03-23T17:13:57.123Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2022-03-23T17:13:57.397Z] [100%] Linking C executable device-terminal [2022-03-23T17:13:57.671Z] [100%] Built target device-terminal [2022-03-23T17:13:57.671Z] make: Entering directory '/tmp/sdk/build/release' [2022-03-23T17:13:57.944Z] make[1]: Entering directory '/tmp/sdk/build/release' [2022-03-23T17:13:57.944Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-03-23T17:13:57.944Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-03-23T17:13:57.944Z] [ 76%] Built target csdk [2022-03-23T17:13:57.944Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-03-23T17:13:57.944Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-03-23T17:13:57.944Z] [ 79%] Built target template [2022-03-23T17:13:57.944Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-03-23T17:13:57.944Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-03-23T17:13:57.944Z] [ 82%] Built target device-counter [2022-03-23T17:13:57.944Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-03-23T17:13:57.944Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-03-23T17:13:58.217Z] [ 85%] Built target device-random [2022-03-23T17:13:58.217Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-03-23T17:13:58.217Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-03-23T17:13:58.217Z] [ 88%] Built target device-gyro [2022-03-23T17:13:58.217Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-03-23T17:13:58.217Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-03-23T17:13:58.217Z] [ 91%] Built target device-bitfields [2022-03-23T17:13:58.217Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-03-23T17:13:58.217Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-03-23T17:13:58.217Z] [ 94%] Built target template-discovery [2022-03-23T17:13:58.217Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-03-23T17:13:58.217Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-03-23T17:13:58.217Z] [ 97%] Built target device-file [2022-03-23T17:13:58.217Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-03-23T17:13:58.217Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-03-23T17:13:58.217Z] [100%] Built target device-terminal [2022-03-23T17:13:58.217Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2022-03-23T17:13:58.492Z] Install the project... [2022-03-23T17:13:58.492Z] -- Install configuration: "Release" [2022-03-23T17:13:58.492Z] -- Installing: /usr/local/lib/libcsdk.so [2022-03-23T17:13:58.492Z] -- Installing: /usr/local/include [2022-03-23T17:13:58.492Z] -- Installing: /usr/local/include/devsdk [2022-03-23T17:13:58.492Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2022-03-23T17:13:58.492Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2022-03-23T17:13:58.492Z] -- Installing: /usr/local/include/edgex [2022-03-23T17:13:58.492Z] -- Installing: /usr/local/include/edgex/rest-server.h [2022-03-23T17:13:58.492Z] -- Installing: /usr/local/include/edgex/edgex.h [2022-03-23T17:13:58.492Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2022-03-23T17:13:58.492Z] -- Installing: /usr/local/include/edgex/devices.h [2022-03-23T17:13:58.492Z] -- Installing: /usr/local/include/edgex/profiles.h [2022-03-23T17:13:58.492Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2022-03-23T17:13:58.492Z] -- Installing: /usr/local/include/iot [2022-03-23T17:13:58.492Z] -- Installing: /usr/local/include/iot/threadpool.h [2022-03-23T17:13:58.492Z] -- Installing: /usr/local/include/iot/defs.h [2022-03-23T17:13:58.492Z] -- Installing: /usr/local/include/iot/time.h [2022-03-23T17:13:58.492Z] -- Installing: /usr/local/include/iot/base64.h [2022-03-23T17:13:58.492Z] -- Installing: /usr/local/include/iot/component.h [2022-03-23T17:13:58.492Z] -- Installing: /usr/local/include/iot/scheduler.h [2022-03-23T17:13:58.492Z] -- Installing: /usr/local/include/iot/config.h [2022-03-23T17:13:58.492Z] -- Installing: /usr/local/include/iot/container.h [2022-03-23T17:13:58.492Z] -- Installing: /usr/local/include/iot/uuid.h [2022-03-23T17:13:58.492Z] -- Installing: /usr/local/include/iot/os.h [2022-03-23T17:13:58.492Z] -- Installing: /usr/local/include/iot/thread.h [2022-03-23T17:13:58.492Z] -- Installing: /usr/local/include/iot/data.h [2022-03-23T17:13:58.492Z] -- Installing: /usr/local/include/iot/typecode.h [2022-03-23T17:13:58.492Z] -- Installing: /usr/local/include/iot/hash.h [2022-03-23T17:13:58.492Z] -- Installing: /usr/local/include/iot/logger.h [2022-03-23T17:13:58.492Z] -- Installing: /usr/local/include/iot/os [2022-03-23T17:13:58.492Z] -- Installing: /usr/local/include/iot/os/zephyr.h [2022-03-23T17:13:58.493Z] -- Installing: /usr/local/include/iot/os/macos.h [2022-03-23T17:13:58.493Z] -- Installing: /usr/local/include/iot/os/linux.h [2022-03-23T17:13:58.493Z] -- Installing: /usr/local/include/iot/json.h [2022-03-23T17:13:58.493Z] -- Installing: /usr/local/include/iot/iot.h [2022-03-23T17:13:58.493Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2022-03-23T17:13:58.493Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2022-03-23T17:13:58.493Z] make: Leaving directory '/tmp/sdk/build/release' [2022-03-23T17:14:00.477Z] Removing intermediate container cab8a02c5105 [2022-03-23T17:14:00.477Z] ---> fdcaaca3ce75 [2022-03-23T17:14:00.477Z] Step 14/22 : FROM ${BASE} [2022-03-23T17:14:00.477Z] ---> 0af3d9908a83 [2022-03-23T17:14:00.477Z] Step 15/22 : LABEL maintainer="IOTech " [2022-03-23T17:14:00.477Z] ---> Running in 36a0a4f329b2 [2022-03-23T17:14:00.477Z] Removing intermediate container 36a0a4f329b2 [2022-03-23T17:14:00.477Z] ---> 79c1a414c3ef [2022-03-23T17:14:00.477Z] 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 [2022-03-23T17:14:00.754Z] ---> Running in f86f664f5867 [2022-03-23T17:14:01.741Z] Connecting to iotech.jfrog.io (52.18.159.91:443) [2022-03-23T17:14:02.016Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2022-03-23T17:14:02.016Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2022-03-23T17:14:02.016Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2022-03-23T17:14:02.614Z] Removing intermediate container f86f664f5867 [2022-03-23T17:14:02.614Z] ---> 5cc326d36e0e [2022-03-23T17:14:02.614Z] Step 17/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main' >> /etc/apk/repositories [2022-03-23T17:14:02.893Z] ---> Running in 4d43b74b71ef [2022-03-23T17:14:04.339Z] Removing intermediate container 4d43b74b71ef [2022-03-23T17:14:04.339Z] ---> 629c7820c995 [2022-03-23T17:14:04.339Z] Step 18/22 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml curl libmicrohttpd libuuid libcbor paho-mqtt-c-dev-1.3 hiredis-dev [2022-03-23T17:14:04.339Z] ---> Running in 0a65a3495ebf [2022-03-23T17:14:05.778Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-03-23T17:14:06.373Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-03-23T17:14:06.970Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main/aarch64/APKINDEX.tar.gz [2022-03-23T17:14:07.567Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2022-03-23T17:14:07.567Z] (1/6) Installing curl (7.80.0-r0) [2022-03-23T17:14:07.567Z] (2/6) Installing hiredis (1.0.2-r0) [2022-03-23T17:14:07.841Z] (3/6) Installing hiredis-dev (1.0.2-r0) [2022-03-23T17:14:07.841Z] (4/6) Installing libcbor (0.8.0-r0) [2022-03-23T17:14:08.115Z] (5/6) Installing libuuid (2.37.4-r0) [2022-03-23T17:14:08.115Z] (6/6) Installing paho-mqtt-c-dev-1.3 (1.3.9-r0) [2022-03-23T17:14:09.093Z] Executing busybox-1.34.1-r3.trigger [2022-03-23T17:14:09.093Z] OK: 278 MiB in 83 packages [2022-03-23T17:14:09.700Z] Removing intermediate container 0a65a3495ebf [2022-03-23T17:14:09.700Z] ---> 65ce89491c88 [2022-03-23T17:14:09.700Z] Step 19/22 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot [2022-03-23T17:14:10.302Z] ---> 7596f4bd8ebc [2022-03-23T17:14:10.302Z] Step 20/22 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2022-03-23T17:14:11.297Z] ---> 41517d50f91b [2022-03-23T17:14:11.297Z] Step 21/22 : COPY --from=builder /usr/local/lib /usr/local/lib [2022-03-23T17:14:11.574Z] ---> 69eab4f1296c [2022-03-23T17:14:11.574Z] Step 22/22 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2022-03-23T17:14:12.170Z] ---> c57c44a4707a [2022-03-23T17:14:12.170Z] Successfully built c57c44a4707a [2022-03-23T17:14:12.170Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-03-23T17:14:12.803Z] + docker inspect -f . ci-base-image-arm64 [2022-03-23T17:14:12.803Z] . [Pipeline] withDockerContainer [2022-03-23T17:14:13.073Z] prd-ubuntu20.04-docker-arm64-4c-16g-8675 does not seem to be running inside a container [2022-03-23T17:14:13.161Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/1 -v /w/workspace/device-sdk-c/1:/w/workspace/device-sdk-c/1:rw,z -v /w/workspace/device-sdk-c/1@tmp:/w/workspace/device-sdk-c/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-03-23T17:14:14.499Z] $ docker top 7358a21c4cc5ab3b9e893bc4e53a56a56f2542933a415af8412b24a03b71692d -eo pid,comm [Pipeline] { [Pipeline] sh [2022-03-23T17:14:15.505Z] + make test [2022-03-23T17:14:15.505Z] echo "make test" [2022-03-23T17:14:15.505Z] make test [Pipeline] } [2022-03-23T17:14:15.546Z] $ docker stop --time=1 7358a21c4cc5ab3b9e893bc4e53a56a56f2542933a415af8412b24a03b71692d [2022-03-23T17:14:17.222Z] $ docker rm -f 7358a21c4cc5ab3b9e893bc4e53a56a56f2542933a415af8412b24a03b71692d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-03-23T17:14:18.104Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-03-23T17:14:18.471Z] + ls -al . [2022-03-23T17:14:18.471Z] total 204 [2022-03-23T17:14:18.471Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 23 17:11 . [2022-03-23T17:14:18.471Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 23 17:11 .. [2022-03-23T17:14:18.471Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 23 17:11 .git [2022-03-23T17:14:18.471Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 23 17:11 .github [2022-03-23T17:14:18.471Z] -rw-rw-r-- 1 jenkins jenkins 176 Mar 23 17:11 .gitignore [2022-03-23T17:14:18.471Z] -rw-rw-r-- 1 jenkins jenkins 3104 Mar 23 17:11 Attribution.txt [2022-03-23T17:14:18.471Z] -rw-rw-r-- 1 jenkins jenkins 8302 Mar 23 17:11 CHANGES [2022-03-23T17:14:18.471Z] -rw-rw-r-- 1 jenkins jenkins 108574 Mar 23 17:11 Doxyfile [2022-03-23T17:14:18.471Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 23 17:11 GOVERNANCE.md [2022-03-23T17:14:18.471Z] -rw-rw-r-- 1 jenkins jenkins 784 Mar 23 17:11 Jenkinsfile [2022-03-23T17:14:18.471Z] -rw-rw-r-- 1 jenkins jenkins 10174 Mar 23 17:11 LICENSE [2022-03-23T17:14:18.471Z] -rw-rw-r-- 1 jenkins jenkins 444 Mar 23 17:11 Makefile [2022-03-23T17:14:18.471Z] -rw-rw-r-- 1 jenkins jenkins 618 Mar 23 17:11 OWNERS.md [2022-03-23T17:14:18.471Z] -rw-rw-r-- 1 jenkins jenkins 4086 Mar 23 17:11 README.md [2022-03-23T17:14:18.471Z] -rw-rw-r-- 1 jenkins jenkins 7422 Mar 23 17:11 README.v2.md [2022-03-23T17:14:18.471Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 23 17:09 VERSION [2022-03-23T17:14:18.471Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 23 17:11 docs [2022-03-23T17:14:18.471Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 23 17:11 include [2022-03-23T17:14:18.471Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 23 17:11 scripts [2022-03-23T17:14:18.471Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 23 17:11 src [Pipeline] isUnix [Pipeline] sh [2022-03-23T17:14:18.846Z] + docker build -t device-sdk-arm64 -f scripts/Dockerfile.alpine --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=7ec469130c5b085487fe1a295745b41d936d73c8 --label arch=arm64 --label version=0.0.0 . [2022-03-23T17:14:19.447Z] Sending build context to Docker daemon 2.789MB [2022-03-23T17:14:19.447Z] Step 1/17 : ARG BASE=alpine:3.15 [2022-03-23T17:14:19.447Z] Step 2/17 : FROM ${BASE} [2022-03-23T17:14:19.447Z] ---> c57c44a4707a [2022-03-23T17:14:19.447Z] Step 3/17 : LABEL maintainer="IOTech " [2022-03-23T17:14:19.447Z] ---> Running in 7011e55cf574 [2022-03-23T17:14:19.725Z] Removing intermediate container 7011e55cf574 [2022-03-23T17:14:19.725Z] ---> 7b6862fd0c27 [2022-03-23T17:14:19.725Z] Step 4/17 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2022-03-23T17:14:19.725Z] ---> Running in 28c3f898b97d [2022-03-23T17:14:20.710Z] Connecting to iotech.jfrog.io (52.49.191.191:443) [2022-03-23T17:14:21.307Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2022-03-23T17:14:21.307Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2022-03-23T17:14:21.307Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2022-03-23T17:14:21.921Z] Removing intermediate container 28c3f898b97d [2022-03-23T17:14:21.921Z] ---> 210cf2183db9 [2022-03-23T17:14:21.921Z] Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main' >> /etc/apk/repositories [2022-03-23T17:14:21.921Z] ---> Running in e6aaddcca266 [2022-03-23T17:14:23.373Z] Removing intermediate container e6aaddcca266 [2022-03-23T17:14:23.373Z] ---> 97e5e95cdcaf [2022-03-23T17:14:23.373Z] Step 6/17 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml-dev curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev libcbor-dev paho-mqtt-c-dev-1.3 hiredis-dev && mkdir -p /edgex-c-sdk/build [2022-03-23T17:14:23.373Z] ---> Running in 2dd25eecc22f [2022-03-23T17:14:24.357Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-03-23T17:14:25.351Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-03-23T17:14:25.625Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main/aarch64/APKINDEX.tar.gz [2022-03-23T17:14:26.602Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2022-03-23T17:14:26.602Z] (1/26) Installing libcbor-dev (0.8.0-r0) [2022-03-23T17:14:26.602Z] (2/26) Installing ncurses-dev (6.3_p20211120-r0) [2022-03-23T17:14:26.602Z] (3/26) Installing util-linux (2.37.4-r0) [2022-03-23T17:14:26.602Z] (4/26) Installing libblkid (2.37.4-r0) [2022-03-23T17:14:26.881Z] (5/26) Installing libeconf (0.4.2-r0) [2022-03-23T17:14:26.881Z] (6/26) Installing libfdisk (2.37.4-r0) [2022-03-23T17:14:26.881Z] (7/26) Installing libmount (2.37.4-r0) [2022-03-23T17:14:27.158Z] (8/26) Installing libsmartcols (2.37.4-r0) [2022-03-23T17:14:27.158Z] (9/26) Installing util-linux-misc (2.37.4-r0) [2022-03-23T17:14:27.434Z] (10/26) Installing linux-pam (1.5.2-r0) [2022-03-23T17:14:27.708Z] (11/26) Installing runuser (2.37.4-r0) [2022-03-23T17:14:27.708Z] (12/26) Installing hexdump (2.37.4-r0) [2022-03-23T17:14:27.708Z] (13/26) Installing uuidgen (2.37.4-r0) [2022-03-23T17:14:27.982Z] (14/26) Installing blkid (2.37.4-r0) [2022-03-23T17:14:27.982Z] (15/26) Installing sfdisk (2.37.4-r0) [2022-03-23T17:14:27.982Z] (16/26) Installing mcookie (2.37.4-r0) [2022-03-23T17:14:28.255Z] (17/26) Installing wipefs (2.37.4-r0) [2022-03-23T17:14:28.255Z] (18/26) Installing cfdisk (2.37.4-r0) [2022-03-23T17:14:28.255Z] (19/26) Installing flock (2.37.4-r0) [2022-03-23T17:14:28.529Z] (20/26) Installing lsblk (2.37.4-r0) [2022-03-23T17:14:28.529Z] (21/26) Installing libcap-ng (0.8.2-r1) [2022-03-23T17:14:28.529Z] (22/26) Installing setpriv (2.37.4-r0) [2022-03-23T17:14:28.803Z] (23/26) Installing logger (2.37.4-r0) [2022-03-23T17:14:28.803Z] (24/26) Installing partx (2.37.4-r0) [2022-03-23T17:14:28.803Z] (25/26) Installing findmnt (2.37.4-r0) [2022-03-23T17:14:28.803Z] (26/26) Installing util-linux-dev (2.37.4-r0) [2022-03-23T17:14:29.076Z] Executing busybox-1.34.1-r3.trigger [2022-03-23T17:14:29.076Z] OK: 290 MiB in 109 packages [2022-03-23T17:14:30.518Z] Removing intermediate container 2dd25eecc22f [2022-03-23T17:14:30.518Z] ---> 0622b9ae8ac3 [2022-03-23T17:14:30.518Z] Step 7/17 : COPY VERSION /edgex-c-sdk/ [2022-03-23T17:14:30.793Z] ---> b5fd86ee548f [2022-03-23T17:14:30.793Z] Step 8/17 : COPY src /edgex-c-sdk/src/ [2022-03-23T17:14:31.781Z] ---> e3ecbc106f0d [2022-03-23T17:14:31.781Z] Step 9/17 : COPY include /edgex-c-sdk/include/ [2022-03-23T17:14:32.070Z] ---> 15e0459b2c57 [2022-03-23T17:14:32.070Z] Step 10/17 : COPY scripts /edgex-c-sdk/scripts [2022-03-23T17:14:32.667Z] ---> 674470809e8d [2022-03-23T17:14:32.667Z] Step 11/17 : COPY LICENSE /edgex-c-sdk/ [2022-03-23T17:14:33.264Z] ---> aa4b0c74c3f0 [2022-03-23T17:14:33.264Z] Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ [2022-03-23T17:14:33.866Z] ---> 7a6fd5b5b590 [2022-03-23T17:14:33.866Z] Step 13/17 : WORKDIR /edgex-c-sdk [2022-03-23T17:14:33.866Z] ---> Running in a4ded09f519a [2022-03-23T17:14:34.141Z] Removing intermediate container a4ded09f519a [2022-03-23T17:14:34.141Z] ---> f31b1764f73a [2022-03-23T17:14:34.141Z] Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2022-03-23T17:14:34.423Z] ---> Running in 4a87dbb8ee8f [2022-03-23T17:14:34.698Z] Removing intermediate container 4a87dbb8ee8f [2022-03-23T17:14:34.698Z] ---> 85864afb4901 [2022-03-23T17:14:34.698Z] Step 15/17 : LABEL arch=arm64 [2022-03-23T17:14:34.698Z] ---> Running in 6d40db082bf7 [2022-03-23T17:14:34.972Z] Removing intermediate container 6d40db082bf7 [2022-03-23T17:14:34.972Z] ---> 460c6910c92f [2022-03-23T17:14:34.972Z] Step 16/17 : LABEL git_sha=7ec469130c5b085487fe1a295745b41d936d73c8 [2022-03-23T17:14:34.972Z] ---> Running in 69a9ffaa9dc7 [2022-03-23T17:14:35.253Z] Removing intermediate container 69a9ffaa9dc7 [2022-03-23T17:14:35.253Z] ---> 517e604b3f56 [2022-03-23T17:14:35.253Z] Step 17/17 : LABEL version=0.0.0 [2022-03-23T17:14:35.528Z] ---> Running in cb76ecc9b77f [2022-03-23T17:14:35.802Z] Removing intermediate container cb76ecc9b77f [2022-03-23T17:14:35.802Z] ---> c0081d092d7f [2022-03-23T17:14:35.802Z] [Warning] One or more build-args [MAKE ARCH] were not consumed [2022-03-23T17:14:35.802Z] Successfully built c0081d092d7f [2022-03-23T17:14:35.802Z] Successfully tagged device-sdk-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-03-23T17:14:36.546Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-03-23T17:14:36.547Z] [2022-03-23T17:14:36.547Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-03-23T17:14:36.941Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-03-23T17:14:37.217Z] arm64: Pulling from edgex-lftools-log-publisher [2022-03-23T17:14:37.217Z] 8998bd30e6a1: Pulling fs layer [2022-03-23T17:14:37.217Z] 04944245beec: Pulling fs layer [2022-03-23T17:14:37.217Z] 699f458cf7ca: Pulling fs layer [2022-03-23T17:14:37.217Z] 765212b225bb: Pulling fs layer [2022-03-23T17:14:37.217Z] f23df028b6ca: Pulling fs layer [2022-03-23T17:14:37.217Z] d65c8cfc05b1: Pulling fs layer [2022-03-23T17:14:37.217Z] 2437ff75d9bd: Pulling fs layer [2022-03-23T17:14:37.217Z] d65c8cfc05b1: Waiting [2022-03-23T17:14:37.217Z] 2437ff75d9bd: Waiting [2022-03-23T17:14:37.217Z] 765212b225bb: Waiting [2022-03-23T17:14:37.217Z] f23df028b6ca: Waiting [2022-03-23T17:14:37.217Z] 04944245beec: Verifying Checksum [2022-03-23T17:14:37.217Z] 04944245beec: Download complete [2022-03-23T17:14:37.217Z] 765212b225bb: Verifying Checksum [2022-03-23T17:14:37.217Z] 765212b225bb: Download complete [2022-03-23T17:14:37.217Z] f23df028b6ca: Verifying Checksum [2022-03-23T17:14:37.217Z] f23df028b6ca: Download complete [2022-03-23T17:14:37.217Z] d65c8cfc05b1: Verifying Checksum [2022-03-23T17:14:37.217Z] d65c8cfc05b1: Download complete [2022-03-23T17:14:37.497Z] 699f458cf7ca: Verifying Checksum [2022-03-23T17:14:37.497Z] 699f458cf7ca: Download complete [2022-03-23T17:14:37.776Z] 8998bd30e6a1: Verifying Checksum [2022-03-23T17:14:37.776Z] 8998bd30e6a1: Download complete [2022-03-23T17:14:40.410Z] 2437ff75d9bd: Verifying Checksum [2022-03-23T17:14:40.410Z] 2437ff75d9bd: Download complete [2022-03-23T17:14:42.413Z] 8998bd30e6a1: Pull complete [2022-03-23T17:14:42.691Z] 04944245beec: Pull complete [2022-03-23T17:14:44.134Z] 699f458cf7ca: Pull complete [2022-03-23T17:14:44.134Z] 765212b225bb: Pull complete [2022-03-23T17:14:45.124Z] f23df028b6ca: Pull complete [2022-03-23T17:14:45.399Z] d65c8cfc05b1: Pull complete [2022-03-23T17:15:04.021Z] 2437ff75d9bd: Pull complete [2022-03-23T17:15:04.021Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-03-23T17:15:04.021Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-03-23T17:15:04.021Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-03-23T17:15:04.309Z] prd-ubuntu20.04-docker-arm64-4c-16g-8675 does not seem to be running inside a container [2022-03-23T17:15:04.424Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-c/1 -v /w/workspace/device-sdk-c/1:/w/workspace/device-sdk-c/1:rw,z -v /w/workspace/device-sdk-c/1@tmp:/w/workspace/device-sdk-c/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-03-23T17:15:07.173Z] $ docker top e0214ae90f7af1bb9f21c6b807da06c3f9a5b78fd0618095f7d94fb648bcbea5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-03-23T17:15:08.164Z] ---> job-cost.sh [2022-03-23T17:15:08.164Z] lf-activate-venv: SKIPPING [2022-03-23T17:15:08.164Z] INFO: No Stack... [2022-03-23T17:15:08.439Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-03-23T17:15:09.421Z] INFO: Archiving Costs [Pipeline] sh [2022-03-23T17:15:10.116Z] + + cut -d,cat -f6 /w/workspace/device-sdk-c/1/archives/cost.csv [2022-03-23T17:15:10.117Z] [Pipeline] lock [2022-03-23T17:15:10.214Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-405-1-stack-cost] [2022-03-23T17:15:10.219Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-405-1-stack-cost] did not exist. Created. [2022-03-23T17:15:10.219Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-405-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-03-23T17:15:10.968Z] /w/workspace/device-sdk-c/1@tmp/durable-5f71e3dc/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-03-23T17:15:11.679Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-03-23T17:15:11.718Z] Warning: overwriting stash ‘stack-cost’ [2022-03-23T17:15:12.205Z] Stashed 1 file(s) [Pipeline] } [2022-03-23T17:15:12.222Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-405-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-03-23T17:15:12.308Z] $ docker stop --time=1 e0214ae90f7af1bb9f21c6b807da06c3f9a5b78fd0618095f7d94fb648bcbea5 [2022-03-23T17:15:13.824Z] $ docker rm -f e0214ae90f7af1bb9f21c6b807da06c3f9a5b78fd0618095f7d94fb648bcbea5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2022-03-23T17:15:15.701Z] + [ -d /w/workspace/edgexfoundry_device-sdk-c_PR-405/archives ] [2022-03-23T17:15:15.701Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-405/archives [2022-03-23T17:15:15.701Z] total 16 [2022-03-23T17:15:15.701Z] drwxr-xr-x 3 root root 4096 Mar 23 17:10 . [2022-03-23T17:15:15.701Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 23 17:10 .. [2022-03-23T17:15:15.701Z] drwxr-xr-x 2 root root 4096 Mar 23 17:10 cost [2022-03-23T17:15:15.701Z] -rw-r--r-- 1 root root 83 Mar 23 17:10 cost.csv [2022-03-23T17:15:15.701Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_PR-405/archives [2022-03-23T17:15:15.701Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-405/archives [2022-03-23T17:15:15.701Z] total 16 [2022-03-23T17:15:15.701Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 23 17:10 . [2022-03-23T17:15:15.701Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 23 17:10 .. [2022-03-23T17:15:15.701Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 23 17:10 cost [2022-03-23T17:15:15.701Z] -rw-r--r-- 1 jenkins jenkins 83 Mar 23 17:10 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-03-23T17:15:16.039Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-23T17:15:16.951Z] ---> package-listing.sh [2022-03-23T17:15:16.951Z] ++ tr '[:upper:]' '[:lower:]' [2022-03-23T17:15:16.951Z] ++ facter osfamily [2022-03-23T17:15:17.213Z] + OS_FAMILY=debian [2022-03-23T17:15:17.213Z] + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-405 [2022-03-23T17:15:17.213Z] + START_PACKAGES=/tmp/packages_start.txt [2022-03-23T17:15:17.213Z] + END_PACKAGES=/tmp/packages_end.txt [2022-03-23T17:15:17.213Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-03-23T17:15:17.213Z] + PACKAGES=/tmp/packages_start.txt [2022-03-23T17:15:17.213Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-405 ']' [2022-03-23T17:15:17.213Z] + PACKAGES=/tmp/packages_end.txt [2022-03-23T17:15:17.213Z] + case "${OS_FAMILY}" in [2022-03-23T17:15:17.213Z] + dpkg -l [2022-03-23T17:15:17.213Z] + grep '^ii' [2022-03-23T17:15:17.213Z] + '[' -f /tmp/packages_start.txt ']' [2022-03-23T17:15:17.213Z] + '[' -f /tmp/packages_end.txt ']' [2022-03-23T17:15:17.213Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-03-23T17:15:17.213Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-405 ']' [2022-03-23T17:15:17.213Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-405/archives/ [2022-03-23T17:15:17.213Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-405/archives/ [Pipeline] echo [2022-03-23T17:15:17.250Z] 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-405/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-03-23T17:15:17.550Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-03-23T17:15:18.141Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-03-23T17:15:18.141Z] . [Pipeline] withDockerContainer [2022-03-23T17:15:18.232Z] prd-ubuntu20.04-docker-8c-8g-8674 does not seem to be running inside a container [2022-03-23T17:15:18.269Z] $ 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-405/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-405 -v /w/workspace/edgexfoundry_device-sdk-c_PR-405:/w/workspace/edgexfoundry_device-sdk-c_PR-405:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-405@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-405@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-03-23T17:15:18.483Z] $ docker top 2c9b5a6e4d6edeab6ebda1d180141babf5eb81e94428879a874f525b52066996 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-03-23T17:15:18.903Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-03-23T17:15:19.218Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-03-23T17:15:19.542Z] + ls /var/log/sa-host [2022-03-23T17:15:19.542Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-03-23T17:15:19.895Z] provisioning config files... [2022-03-23T17:15:19.907Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-405@tmp/config5090447133800301274tmp [Pipeline] { [Pipeline] echo [2022-03-23T17:15:19.961Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-23T17:15:20.281Z] ---> create-netrc.sh [Pipeline] } [2022-03-23T17:15:20.311Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-03-23T17:15:20.747Z] ---> python-tools-install.sh [Pipeline] echo [2022-03-23T17:15:20.784Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-23T17:15:21.107Z] ---> sudo-logs.sh [2022-03-23T17:15:21.107Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-03-23T17:15:21.192Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-23T17:15:21.509Z] ---> job-cost.sh [2022-03-23T17:15:21.509Z] lf-activate-venv: SKIPPING [2022-03-23T17:15:21.509Z] DEBUG: total: 0.2199999988079071 [2022-03-23T17:15:21.509Z] INFO: Retrieving Stack Cost... [2022-03-23T17:15:21.770Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-03-23T17:15:22.343Z] INFO: Archiving Costs [Pipeline] echo [2022-03-23T17:15:22.382Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-23T17:15:22.699Z] ---> logs-deploy.sh [2022-03-23T17:15:22.699Z] lf-activate-venv: SKIPPING [2022-03-23T17:15:22.699Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-405/1 [2022-03-23T17:15:22.699Z] INFO: archiving workspace using pattern(s): [2022-03-23T17:15:23.640Z] Archives upload complete. [2022-03-23T17:15:23.640Z] INFO: archiving logs to Nexus