Pull request #408 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 jpwhitemn for edgexfoundry/device-sdk-c Loading trusted files from base branch main at b0d2b7caa9bf3af8d95653d5536cc5c3bde74134 rather than 0218c36016b164fa0fbc91c23212454971795544 Obtained Jenkinsfile from b0d2b7caa9bf3af8d95653d5536cc5c3bde74134 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-ssh4405642632270311008.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-ssh437279120421141228.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-408/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-408/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh5219533402877321232.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-408/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh18353130879479384805.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-ssh16685249614355973545.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-408/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-408/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh10691709788596703958.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 Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-11666 in /w/workspace/edgexfoundry_device-sdk-c_PR-408 [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-408 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit b0d2b7caa9bf3af8d95653d5536cc5c3bde74134 into PR head commit 0218c36016b164fa0fbc91c23212454971795544 Merge succeeded, producing 0218c36016b164fa0fbc91c23212454971795544 Checking out Revision 0218c36016b164fa0fbc91c23212454971795544 (PR-408) > 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/408/head:refs/remotes/origin/PR-408 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0218c36016b164fa0fbc91c23212454971795544 # 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 b0d2b7caa9bf3af8d95653d5536cc5c3bde74134 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0218c36016b164fa0fbc91c23212454971795544 # timeout=10 Commit message: "feat: remove default github templates that are now provided in .github repo" 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-04-08T19:33:46.678Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-04-08T19:33:46.862Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-04-08T19:33:46.961Z] ========================================================= [2022-04-08T19:33:46.962Z] EdgeX Global Pipelines Version Info [2022-04-08T19:33:46.962Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-04-08T19:33:47.754Z] ------------------- [2022-04-08T19:33:47.754Z] stable info: [2022-04-08T19:33:47.754Z] ------------------- [2022-04-08T19:33:47.754Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-04-08T19:33:47.754Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-04-08T19:33:47.754Z] Message: update stable to v1.0.221 [2022-04-08T19:33:48.328Z] ------------------- [2022-04-08T19:33:48.328Z] experimental info: [2022-04-08T19:33:48.328Z] ------------------- [2022-04-08T19:33:48.328Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-04-08T19:33:48.328Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-04-08T19:33:48.328Z] Message: update experimental to v1.0.221 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-04-08T19:33:48.577Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo [2022-04-08T19:33:48.618Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo [2022-04-08T19:33:48.659Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-04-08T19:33:48.700Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-04-08T19:33:48.741Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-04-08T19:33:48.780Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo [2022-04-08T19:33:48.823Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo [2022-04-08T19:33:48.861Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-04-08T19:33:48.900Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-04-08T19:33:48.961Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo [2022-04-08T19:33:49.029Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-04-08T19:33:49.070Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-04-08T19:33:49.110Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-04-08T19:33:49.148Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2022-04-08T19:33:49.188Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-04-08T19:33:49.226Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-04-08T19:33:49.262Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-04-08T19:33:49.297Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-408 [Pipeline] echo [2022-04-08T19:33:49.338Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-408 [Pipeline] echo [2022-04-08T19:33:49.372Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-408 [Pipeline] echo [2022-04-08T19:33:49.411Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 0218c36016b164fa0fbc91c23212454971795544 [Pipeline] echo [2022-04-08T19:33:49.457Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 0218c36 [Pipeline] echo [2022-04-08T19:33:49.496Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-08T19:33:49.607Z] provisioning config files... [2022-04-08T19:33:49.623Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-408@tmp/config1113934631746327111tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-08T19:33:49.972Z] ---> docker-login.sh [2022-04-08T19:33:49.972Z] nexus3.edgexfoundry.org:10001 [2022-04-08T19:33:50.233Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-08T19:33:50.233Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-08T19:33:50.233Z] Configure a credential helper to remove this warning. See [2022-04-08T19:33:50.233Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-08T19:33:50.233Z] [2022-04-08T19:33:50.233Z] Login Succeeded [2022-04-08T19:33:50.233Z] nexus3.edgexfoundry.org:10002 [2022-04-08T19:33:50.498Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-08T19:33:50.498Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-08T19:33:50.498Z] Configure a credential helper to remove this warning. See [2022-04-08T19:33:50.498Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-08T19:33:50.498Z] [2022-04-08T19:33:50.498Z] Login Succeeded [2022-04-08T19:33:50.498Z] nexus3.edgexfoundry.org:10003 [2022-04-08T19:33:50.498Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-08T19:33:50.498Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-08T19:33:50.498Z] Configure a credential helper to remove this warning. See [2022-04-08T19:33:50.498Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-08T19:33:50.498Z] [2022-04-08T19:33:50.498Z] Login Succeeded [2022-04-08T19:33:50.498Z] nexus3.edgexfoundry.org:10004 [2022-04-08T19:33:50.763Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-08T19:33:50.763Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-08T19:33:50.763Z] Configure a credential helper to remove this warning. See [2022-04-08T19:33:50.763Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-08T19:33:50.763Z] [2022-04-08T19:33:50.763Z] Login Succeeded [2022-04-08T19:33:50.763Z] docker.io [2022-04-08T19:33:50.763Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-08T19:33:51.338Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-08T19:33:51.338Z] Configure a credential helper to remove this warning. See [2022-04-08T19:33:51.338Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-08T19:33:51.338Z] [2022-04-08T19:33:51.338Z] Login Succeeded [2022-04-08T19:33:51.338Z] ---> docker-login.sh ends [Pipeline] } [2022-04-08T19:33:51.361Z] 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-04-08T19:33:51.977Z] + git rev-list -1 --merges 0218c36016b164fa0fbc91c23212454971795544~1..0218c36016b164fa0fbc91c23212454971795544 [Pipeline] echo [2022-04-08T19:33:52.104Z] -----------> git rev-list -1 --merges 0218c36016b164fa0fbc91c23212454971795544~1..0218c36016b164fa0fbc91c23212454971795544 0218c36016b164fa0fbc91c23212454971795544 [false] [Pipeline] sh [2022-04-08T19:33:52.425Z] + git log --format=format:%s -1 0218c36016b164fa0fbc91c23212454971795544 [Pipeline] echo [2022-04-08T19:33:52.459Z] ========================================================= [2022-04-08T19:33:52.459Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-04-08T19:33:52.459Z] ========================================================= 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-04-08T19:33:53.248Z] + git rev-list -1 --merges 0218c36016b164fa0fbc91c23212454971795544~1..0218c36016b164fa0fbc91c23212454971795544 [Pipeline] echo [2022-04-08T19:33:53.290Z] -----------> git rev-list -1 --merges 0218c36016b164fa0fbc91c23212454971795544~1..0218c36016b164fa0fbc91c23212454971795544 0218c36016b164fa0fbc91c23212454971795544 [false] [Pipeline] sh [2022-04-08T19:33:53.616Z] + git log --format=format:%s -1 0218c36016b164fa0fbc91c23212454971795544 [Pipeline] echo [2022-04-08T19:33:53.654Z] ========================================================= [2022-04-08T19:33:53.654Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-04-08T19:33:53.654Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh [2022-04-08T19:33:54.175Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-08T19:33:54.175Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-04-08T19:33:54.175Z] + [ -e /tmp/ssh_known_hosts ] [2022-04-08T19:33:54.175Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-04-08T19:33:54.175Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-04-08T19:33:54.175Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-04-08T19:33:54.175Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-08T19:33:54.552Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-08T19:33:54.552Z] [2022-04-08T19:33:54.552Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-04-08T19:33:54.898Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-08T19:33:54.898Z] latest: Pulling from edgex-devops/git-semver [2022-04-08T19:33:54.898Z] a0d0a0d46f8b: Pulling fs layer [2022-04-08T19:33:54.898Z] 3e5f54012d9b: Pulling fs layer [2022-04-08T19:33:54.898Z] 4c7163046ea9: Pulling fs layer [2022-04-08T19:33:54.898Z] 0c2d73faf560: Pulling fs layer [2022-04-08T19:33:54.898Z] 0c2d73faf560: Waiting [2022-04-08T19:33:54.898Z] 3e5f54012d9b: Verifying Checksum [2022-04-08T19:33:54.898Z] 3e5f54012d9b: Download complete [2022-04-08T19:33:54.898Z] a0d0a0d46f8b: Download complete [2022-04-08T19:33:54.898Z] 0c2d73faf560: Verifying Checksum [2022-04-08T19:33:54.898Z] 0c2d73faf560: Download complete [2022-04-08T19:33:54.898Z] 4c7163046ea9: Verifying Checksum [2022-04-08T19:33:54.898Z] 4c7163046ea9: Download complete [2022-04-08T19:33:55.159Z] a0d0a0d46f8b: Pull complete [2022-04-08T19:33:55.159Z] 3e5f54012d9b: Pull complete [2022-04-08T19:33:55.420Z] 4c7163046ea9: Pull complete [2022-04-08T19:33:55.683Z] 0c2d73faf560: Pull complete [2022-04-08T19:33:55.683Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-04-08T19:33:55.683Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-08T19:33:55.683Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-04-08T19:33:55.785Z] prd-ubuntu20.04-docker-8c-8g-11666 does not seem to be running inside a container [2022-04-08T19:33:55.829Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-408 -v /w/workspace/edgexfoundry_device-sdk-c_PR-408:/w/workspace/edgexfoundry_device-sdk-c_PR-408:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-408@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-408@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:10004/edgex-devops/git-semver:latest cat [2022-04-08T19:33:56.531Z] $ docker top 0e366c9ddccd1cd0be4ab6af7fb3e208db9f05abf49fcaf997fe676c8208c46e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-08T19:33:56.739Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-08T19:33:56.739Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-08T19:33:56.898Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-08T19:33:56.908Z] $ docker exec 0e366c9ddccd1cd0be4ab6af7fb3e208db9f05abf49fcaf997fe676c8208c46e ssh-agent [2022-04-08T19:33:57.038Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXPBKNIH/agent.14 [2022-04-08T19:33:57.038Z] SSH_AGENT_PID=20 [2022-04-08T19:33:57.051Z] Running ssh-add (command line suppressed) [2022-04-08T19:33:57.173Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-408@tmp/private_key_691605537961117400.key (/w/workspace/edgexfoundry_device-sdk-c_PR-408@tmp/private_key_691605537961117400.key) [2022-04-08T19:33:57.183Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-08T19:33:57.518Z] + git tag --points-at HEAD [Pipeline] } [2022-04-08T19:33:57.559Z] $ docker exec --env ******** --env ******** 0e366c9ddccd1cd0be4ab6af7fb3e208db9f05abf49fcaf997fe676c8208c46e ssh-agent -k [2022-04-08T19:33:57.686Z] unset SSH_AUTH_SOCK; [2022-04-08T19:33:57.687Z] unset SSH_AGENT_PID; [2022-04-08T19:33:57.687Z] echo Agent pid 20 killed; [2022-04-08T19:33:57.695Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-04-08T19:33:57.786Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-08T19:33:57.786Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-08T19:33:57.930Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-08T19:33:57.939Z] $ docker exec 0e366c9ddccd1cd0be4ab6af7fb3e208db9f05abf49fcaf997fe676c8208c46e ssh-agent [2022-04-08T19:33:58.075Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXcMDdMD/agent.52 [2022-04-08T19:33:58.075Z] SSH_AGENT_PID=58 [2022-04-08T19:33:58.082Z] Running ssh-add (command line suppressed) [2022-04-08T19:33:58.213Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-408@tmp/private_key_7308835508593988587.key (/w/workspace/edgexfoundry_device-sdk-c_PR-408@tmp/private_key_7308835508593988587.key) [2022-04-08T19:33:58.223Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-08T19:33:58.566Z] + git semver init [2022-04-08T19:33:58.566Z] # -> Open(): unable to determine branch for HEAD [2022-04-08T19:33:58.566Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-408/.git [2022-04-08T19:33:58.566Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_PR-408 [2022-04-08T19:33:58.566Z] # $SEMVER_REMOTE_NAME = origin [2022-04-08T19:33:58.566Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-04-08T19:33:58.566Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-04-08T19:33:58.566Z] # $SEMVER_BRANCH = PR-408 [2022-04-08T19:33:58.566Z] # $SEMVER_TEMP = /tmp/semver-012277801 [2022-04-08T19:33:58.566Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-c.git $SEMVER_TEMP [2022-04-08T19:33:59.511Z] # '/tmp/semver-012277801' -> '/w/workspace/edgexfoundry_device-sdk-c_PR-408/.semver' [2022-04-08T19:33:59.511Z] # -> Force: false [2022-04-08T19:33:59.511Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-408/.semver [Pipeline] } [2022-04-08T19:33:59.541Z] $ docker exec --env ******** --env ******** 0e366c9ddccd1cd0be4ab6af7fb3e208db9f05abf49fcaf997fe676c8208c46e ssh-agent -k [2022-04-08T19:33:59.674Z] unset SSH_AUTH_SOCK; [2022-04-08T19:33:59.674Z] unset SSH_AGENT_PID; [2022-04-08T19:33:59.674Z] echo Agent pid 58 killed; [2022-04-08T19:33:59.682Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-08T19:34:00.119Z] + git semver [Pipeline] } [2022-04-08T19:34:00.155Z] $ docker stop --time=1 0e366c9ddccd1cd0be4ab6af7fb3e208db9f05abf49fcaf997fe676c8208c46e [2022-04-08T19:34:01.483Z] $ docker rm -f 0e366c9ddccd1cd0be4ab6af7fb3e208db9f05abf49fcaf997fe676c8208c46e [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-08T19:34:01.908Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-04-08T19:34:02.215Z] Stashed 1 file(s) [Pipeline] echo [2022-04-08T19:34:02.233Z] [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-04-08T19:34:02.788Z] provisioning config files... [2022-04-08T19:34:02.801Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-408@tmp/config3682408611594215303tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-08T19:34:03.153Z] ---> docker-login.sh [2022-04-08T19:34:03.153Z] nexus3.edgexfoundry.org:10001 [2022-04-08T19:34:03.153Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-08T19:34:03.153Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-08T19:34:03.153Z] Configure a credential helper to remove this warning. See [2022-04-08T19:34:03.153Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-08T19:34:03.153Z] [2022-04-08T19:34:03.153Z] Login Succeeded [2022-04-08T19:34:03.153Z] nexus3.edgexfoundry.org:10002 [2022-04-08T19:34:03.417Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-08T19:34:03.417Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-08T19:34:03.417Z] Configure a credential helper to remove this warning. See [2022-04-08T19:34:03.417Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-08T19:34:03.417Z] [2022-04-08T19:34:03.417Z] Login Succeeded [2022-04-08T19:34:03.417Z] nexus3.edgexfoundry.org:10003 [2022-04-08T19:34:03.417Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-08T19:34:03.417Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-08T19:34:03.417Z] Configure a credential helper to remove this warning. See [2022-04-08T19:34:03.417Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-08T19:34:03.417Z] [2022-04-08T19:34:03.417Z] Login Succeeded [2022-04-08T19:34:03.417Z] nexus3.edgexfoundry.org:10004 [2022-04-08T19:34:03.679Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-08T19:34:03.679Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-08T19:34:03.679Z] Configure a credential helper to remove this warning. See [2022-04-08T19:34:03.679Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-08T19:34:03.679Z] [2022-04-08T19:34:03.679Z] Login Succeeded [2022-04-08T19:34:03.679Z] docker.io [2022-04-08T19:34:03.679Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-08T19:34:03.942Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-08T19:34:03.942Z] Configure a credential helper to remove this warning. See [2022-04-08T19:34:03.942Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-08T19:34:03.942Z] [2022-04-08T19:34:03.942Z] Login Succeeded [2022-04-08T19:34:03.942Z] ---> docker-login.sh ends [Pipeline] } [2022-04-08T19:34:03.973Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-08T19:34:04.171Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-08T19:34:04.200Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo [2022-04-08T19:34:04.237Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-08T19:34:04.268Z] ========================================================= [2022-04-08T19:34:04.268Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] [2022-04-08T19:34:04.268Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-08T19:34:04.630Z] + 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-04-08T19:34:04.631Z] Sending build context to Docker daemon 4.528MB [2022-04-08T19:34:04.631Z] Step 1/22 : ARG BASE=alpine:3.15 [2022-04-08T19:34:04.631Z] Step 2/22 : FROM ${BASE} as builder [2022-04-08T19:34:04.631Z] latest: Pulling from edgex-devops/edgex-gcc-base [2022-04-08T19:34:04.631Z] df9b9388f04a: Pulling fs layer [2022-04-08T19:34:04.631Z] c3d449058725: Pulling fs layer [2022-04-08T19:34:04.631Z] 6f510119abd0: Pulling fs layer [2022-04-08T19:34:04.631Z] c3d449058725: Verifying Checksum [2022-04-08T19:34:04.891Z] df9b9388f04a: Verifying Checksum [2022-04-08T19:34:04.891Z] df9b9388f04a: Download complete [2022-04-08T19:34:04.891Z] df9b9388f04a: Pull complete [2022-04-08T19:34:05.152Z] c3d449058725: Pull complete [2022-04-08T19:34:05.412Z] 6f510119abd0: Verifying Checksum [2022-04-08T19:34:05.412Z] 6f510119abd0: Download complete [2022-04-08T19:34:08.706Z] 6f510119abd0: Pull complete [2022-04-08T19:34:08.706Z] Digest: sha256:856fb40ca3d1125b2c93e717e1a89c2d5d9bc42c48810694e872c08d802a7fb7 [2022-04-08T19:34:08.706Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [2022-04-08T19:34:08.706Z] ---> 31512f8d4d04 [2022-04-08T19:34:08.706Z] 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-04-08T19:34:09.278Z] ---> Running in fb61ea15bbf7 [2022-04-08T19:34:09.539Z] Connecting to iotech.jfrog.io (52.18.159.91:443) [2022-04-08T19:34:09.801Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2022-04-08T19:34:09.801Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2022-04-08T19:34:09.801Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2022-04-08T19:34:10.070Z] Removing intermediate container fb61ea15bbf7 [2022-04-08T19:34:10.070Z] ---> 8637f6ecafaa [2022-04-08T19:34:10.070Z] Step 4/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main' >> /etc/apk/repositories [2022-04-08T19:34:10.333Z] ---> Running in 0b7009671ebe [2022-04-08T19:34:10.911Z] Removing intermediate container 0b7009671ebe [2022-04-08T19:34:10.911Z] ---> 07ba89d8de1e [2022-04-08T19:34:10.911Z] 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-04-08T19:34:10.911Z] ---> Running in b9274a14a98e [2022-04-08T19:34:11.172Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-08T19:34:12.118Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-08T19:34:12.380Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-08T19:34:12.957Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2022-04-08T19:34:12.957Z] (1/31) Installing hiredis (1.0.2-r0) [2022-04-08T19:34:12.957Z] (2/31) Installing hiredis-dev (1.0.2-r0) [2022-04-08T19:34:12.957Z] (3/31) Installing libcbor (0.8.0-r0) [2022-04-08T19:34:13.219Z] (4/31) Installing libcbor-dev (0.8.0-r0) [2022-04-08T19:34:13.219Z] (5/31) Installing ncurses-dev (6.3_p20211120-r0) [2022-04-08T19:34:13.219Z] (6/31) Installing paho-mqtt-c-dev-1.3 (1.3.9-r0) [2022-04-08T19:34:14.163Z] (7/31) Installing util-linux (2.37.4-r0) [2022-04-08T19:34:14.163Z] (8/31) Installing libblkid (2.37.4-r0) [2022-04-08T19:34:14.424Z] (9/31) Installing libeconf (0.4.2-r0) [2022-04-08T19:34:14.424Z] (10/31) Installing libuuid (2.37.4-r0) [2022-04-08T19:34:14.685Z] (11/31) Installing libfdisk (2.37.4-r0) [2022-04-08T19:34:14.685Z] (12/31) Installing libmount (2.37.4-r0) [2022-04-08T19:34:14.685Z] (13/31) Installing libsmartcols (2.37.4-r0) [2022-04-08T19:34:14.948Z] (14/31) Installing util-linux-misc (2.37.4-r0) [2022-04-08T19:34:15.210Z] (15/31) Installing linux-pam (1.5.2-r0) [2022-04-08T19:34:15.210Z] (16/31) Installing runuser (2.37.4-r0) [2022-04-08T19:34:15.471Z] (17/31) Installing hexdump (2.37.4-r0) [2022-04-08T19:34:15.471Z] (18/31) Installing uuidgen (2.37.4-r0) [2022-04-08T19:34:15.471Z] (19/31) Installing blkid (2.37.4-r0) [2022-04-08T19:34:15.733Z] (20/31) Installing sfdisk (2.37.4-r0) [2022-04-08T19:34:15.733Z] (21/31) Installing mcookie (2.37.4-r0) [2022-04-08T19:34:15.733Z] (22/31) Installing wipefs (2.37.4-r0) [2022-04-08T19:34:15.995Z] (23/31) Installing cfdisk (2.37.4-r0) [2022-04-08T19:34:15.995Z] (24/31) Installing flock (2.37.4-r0) [2022-04-08T19:34:15.995Z] (25/31) Installing lsblk (2.37.4-r0) [2022-04-08T19:34:16.255Z] (26/31) Installing libcap-ng (0.8.2-r1) [2022-04-08T19:34:16.255Z] (27/31) Installing setpriv (2.37.4-r0) [2022-04-08T19:34:16.255Z] (28/31) Installing logger (2.37.4-r0) [2022-04-08T19:34:16.516Z] (29/31) Installing partx (2.37.4-r0) [2022-04-08T19:34:16.516Z] (30/31) Installing findmnt (2.37.4-r0) [2022-04-08T19:34:16.516Z] (31/31) Installing util-linux-dev (2.37.4-r0) [2022-04-08T19:34:16.777Z] Executing busybox-1.34.1-r5.trigger [2022-04-08T19:34:16.777Z] OK: 293 MiB in 108 packages [2022-04-08T19:34:17.348Z] Removing intermediate container b9274a14a98e [2022-04-08T19:34:17.348Z] ---> d82a64c3e5d4 [2022-04-08T19:34:17.348Z] Step 6/22 : RUN mkdir /tmp/sdk [2022-04-08T19:34:17.348Z] ---> Running in c780eedeb778 [2022-04-08T19:34:17.587Z] Still waiting to schedule task [2022-04-08T19:34:17.587Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2022-04-08T19:34:18.311Z] Removing intermediate container c780eedeb778 [2022-04-08T19:34:18.311Z] ---> 9abfdfd83ff9 [2022-04-08T19:34:18.311Z] Step 7/22 : COPY VERSION /tmp/sdk [2022-04-08T19:34:18.311Z] ---> 0cee9ad5cae2 [2022-04-08T19:34:18.311Z] Step 8/22 : COPY src /tmp/sdk/src [2022-04-08T19:34:18.574Z] ---> e852619c1222 [2022-04-08T19:34:18.574Z] Step 9/22 : COPY include /tmp/sdk/include [2022-04-08T19:34:18.574Z] ---> a5c0770de952 [2022-04-08T19:34:18.574Z] Step 10/22 : COPY scripts /tmp/sdk/scripts [2022-04-08T19:34:18.836Z] ---> 6387cc6bda02 [2022-04-08T19:34:18.836Z] Step 11/22 : COPY LICENSE /tmp/sdk [2022-04-08T19:34:18.836Z] ---> 5879875d74fd [2022-04-08T19:34:18.836Z] Step 12/22 : COPY Attribution.txt /tmp/sdk [2022-04-08T19:34:19.097Z] ---> e1954b437417 [2022-04-08T19:34:19.097Z] Step 13/22 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2022-04-08T19:34:19.097Z] ---> Running in 685de73d305c [2022-04-08T19:34:19.360Z] + CPPCHECK=false [2022-04-08T19:34:19.360Z] + DOCGEN=false [2022-04-08T19:34:19.360Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2022-04-08T19:34:19.360Z] + TOMLVER=SDK-0.2 [2022-04-08T19:34:19.360Z] + CUTILVER=1.2.2 [2022-04-08T19:34:19.360Z] + '[' 0 -gt 0 ] [2022-04-08T19:34:19.360Z] + readlink -f ./scripts/build.sh [2022-04-08T19:34:19.360Z] + dirname /tmp/sdk/scripts/build.sh [2022-04-08T19:34:19.360Z] + dirname /tmp/sdk/scripts [2022-04-08T19:34:19.360Z] + ROOT=/tmp/sdk [2022-04-08T19:34:19.360Z] + cd /tmp/sdk [2022-04-08T19:34:19.360Z] + '[' '!' -d deps ] [2022-04-08T19:34:19.360Z] + mkdir deps [2022-04-08T19:34:19.360Z] + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2022-04-08T19:34:19.360Z] + tar -C deps -z -x -f - [2022-04-08T19:34:19.360Z] Connecting to github.com (140.82.113.4:443) [2022-04-08T19:34:19.622Z] Connecting to codeload.github.com (140.82.112.10:443) [2022-04-08T19:34:19.884Z] writing to stdout [2022-04-08T19:34:19.884Z] - 100% |********************************| 16451 0:00:00 ETA [2022-04-08T19:34:19.884Z] written to stdout [2022-04-08T19:34:19.884Z] + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c [2022-04-08T19:34:19.884Z] + + wget -Otar - -C https://github.com/IOTechSystems/iotech-c-utils/archive/v1.2.2.tar.gz deps [2022-04-08T19:34:19.884Z] -z -x -f - [2022-04-08T19:34:19.884Z] Connecting to github.com (140.82.113.4:443) [2022-04-08T19:34:19.884Z] Connecting to codeload.github.com (140.82.112.10:443) [2022-04-08T19:34:20.146Z] writing to stdout [2022-04-08T19:34:20.409Z] - 100% |********************************| 189k 0:00:00 ETA [2022-04-08T19:34:20.409Z] written to stdout [2022-04-08T19:34:20.409Z] + mkdir -p src/c/iot [2022-04-08T19:34:20.409Z] + 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-04-08T19:34:20.409Z] + cp deps/iotech-c-utils-1.2.2/src/c/defs.h.in src/c/iot [2022-04-08T19:34:20.409Z] + cp deps/iotech-c-utils-1.2.2/src/c/yxml.h src/c/iot [2022-04-08T19:34:20.409Z] + cp deps/iotech-c-utils-1.2.2/VERSION src/c/iot [2022-04-08T19:34:20.409Z] + mkdir -p include/iot [2022-04-08T19:34:20.409Z] + 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-04-08T19:34:20.409Z] + mkdir -p include/iot/os [2022-04-08T19:34:20.409Z] + 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-04-08T19:34:20.409Z] + mkdir -p /tmp/sdk/build/release [2022-04-08T19:34:20.409Z] + cd /tmp/sdk/build/release [2022-04-08T19:34:20.409Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2022-04-08T19:34:20.409Z] -- The C compiler identification is GNU 10.3.1 [2022-04-08T19:34:20.409Z] -- Detecting C compiler ABI info [2022-04-08T19:34:20.409Z] -- Detecting C compiler ABI info - done [2022-04-08T19:34:20.409Z] -- Check for working C compiler: /usr/bin/cc - skipped [2022-04-08T19:34:20.409Z] -- Detecting C compile features [2022-04-08T19:34:20.409Z] -- Detecting C compile features - done [2022-04-08T19:34:20.409Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2022-04-08T19:34:20.678Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.80.0") [2022-04-08T19:34:20.678Z] -- Found LIBYAML: /usr/lib/libyaml.so [2022-04-08T19:34:20.678Z] -- Found LIBUUID: /usr/lib/libuuid.so [2022-04-08T19:34:20.678Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2022-04-08T19:34:20.678Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2022-04-08T19:34:20.678Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2022-04-08T19:34:20.678Z] -- C SDK 0.0.0 for Linux [2022-04-08T19:34:20.678Z] -- Performing Test CSDK_HAVE_ATOMIC [2022-04-08T19:34:20.678Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2022-04-08T19:34:20.678Z] -- Found Curses: /usr/lib/libcurses.so [2022-04-08T19:34:20.678Z] -- Configuring done [2022-04-08T19:34:20.678Z] -- Generating done [2022-04-08T19:34:20.678Z] -- Build files have been written to: /tmp/sdk/build/release [2022-04-08T19:34:20.678Z] + make all package [2022-04-08T19:34:20.678Z] + tee release.log [2022-04-08T19:34:20.678Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2022-04-08T19:34:20.939Z] [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2022-04-08T19:34:20.939Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2022-04-08T19:34:21.510Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2022-04-08T19:34:21.510Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2022-04-08T19:34:21.770Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2022-04-08T19:34:21.770Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2022-04-08T19:34:22.031Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o [2022-04-08T19:34:22.031Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2022-04-08T19:34:22.292Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2022-04-08T19:34:22.553Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2022-04-08T19:34:22.813Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2022-04-08T19:34:22.813Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2022-04-08T19:34:23.074Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2022-04-08T19:34:23.074Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2022-04-08T19:34:23.074Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2022-04-08T19:34:23.345Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2022-04-08T19:34:23.917Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2022-04-08T19:34:23.917Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2022-04-08T19:34:23.917Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2022-04-08T19:34:24.177Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2022-04-08T19:34:24.177Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2022-04-08T19:34:24.177Z] /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': [2022-04-08T19:34:24.177Z] /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] [2022-04-08T19:34:24.177Z] 275 | const iot_component_factory_t * factory; [2022-04-08T19:34:24.177Z] | ^~~~~~~ [2022-04-08T19:34:24.440Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2022-04-08T19:34:25.382Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2022-04-08T19:34:25.382Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2022-04-08T19:34:25.382Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2022-04-08T19:34:25.382Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2022-04-08T19:34:25.643Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2022-04-08T19:34:25.643Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2022-04-08T19:34:25.906Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2022-04-08T19:34:25.906Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2022-04-08T19:34:25.906Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2022-04-08T19:34:26.167Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o [2022-04-08T19:34:26.167Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2022-04-08T19:34:26.740Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2022-04-08T19:34:26.740Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2022-04-08T19:34:27.000Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2022-04-08T19:34:27.000Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2022-04-08T19:34:27.943Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2022-04-08T19:34:27.943Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2022-04-08T19:34:27.943Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2022-04-08T19:34:28.203Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2022-04-08T19:34:28.203Z] /tmp/sdk/src/c/rest-server.c: In function 'http_handler': [2022-04-08T19:34:28.203Z] /tmp/sdk/src/c/rest-server.c:394:67: warning: passing argument 3 of 'MHD_get_connection_values' from incompatible pointer type [-Wincompatible-pointer-types] [2022-04-08T19:34:28.203Z] 394 | MHD_get_connection_values (conn, MHD_GET_ARGUMENT_KIND, queryIterator, req.qparams); [2022-04-08T19:34:28.203Z] | ^~~~~~~~~~~~~ [2022-04-08T19:34:28.203Z] | | [2022-04-08T19:34:28.203Z] | int (*)(void *, enum MHD_ValueKind, const char *, const char *) [2022-04-08T19:34:28.203Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2022-04-08T19:34:28.204Z] /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-04-08T19:34:28.204Z] 2784 | MHD_KeyValueIterator iterator, [2022-04-08T19:34:28.204Z] | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ [2022-04-08T19:34:28.204Z] /tmp/sdk/src/c/rest-server.c: In function 'edgex_rest_server_create': [2022-04-08T19:34:28.204Z] /tmp/sdk/src/c/rest-server.c:501:58: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] [2022-04-08T19:34:28.204Z] 501 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_SOCK_ADDR, res->ai_addr, MHD_OPTION_END); [2022-04-08T19:34:28.204Z] | ^~~~~~~~~~~~ [2022-04-08T19:34:28.204Z] | | [2022-04-08T19:34:28.204Z] | 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-04-08T19:34:28.204Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2022-04-08T19:34:28.204Z] /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-04-08T19:34:28.204Z] 2480 | MHD_AccessHandlerCallback dh, void *dh_cls, [2022-04-08T19:34:28.204Z] | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ [2022-04-08T19:34:28.204Z] /tmp/sdk/src/c/rest-server.c:512:56: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] [2022-04-08T19:34:28.204Z] 512 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_END); [2022-04-08T19:34:28.204Z] | ^~~~~~~~~~~~ [2022-04-08T19:34:28.204Z] | | [2022-04-08T19:34:28.204Z] | 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-04-08T19:34:28.204Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2022-04-08T19:34:28.204Z] /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-04-08T19:34:28.204Z] 2480 | MHD_AccessHandlerCallback dh, void *dh_cls, [2022-04-08T19:34:28.204Z] | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ [2022-04-08T19:34:28.204Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2022-04-08T19:34:28.774Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2022-04-08T19:34:28.774Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2022-04-08T19:34:28.774Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2022-04-08T19:34:29.034Z] [ 70%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2022-04-08T19:34:29.294Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2022-04-08T19:34:30.234Z] [ 73%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2022-04-08T19:34:30.234Z] [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2022-04-08T19:34:30.234Z] [ 76%] Linking C shared library libcsdk.so [2022-04-08T19:34:30.494Z] [ 76%] Built target csdk [2022-04-08T19:34:30.494Z] [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2022-04-08T19:34:30.494Z] [ 79%] Linking C executable template [2022-04-08T19:34:30.494Z] [ 79%] Built target template [2022-04-08T19:34:30.494Z] [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2022-04-08T19:34:30.755Z] [ 82%] Linking C executable device-counter [2022-04-08T19:34:30.755Z] [ 82%] Built target device-counter [2022-04-08T19:34:30.755Z] [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2022-04-08T19:34:31.018Z] [ 85%] Linking C executable device-random [2022-04-08T19:34:31.018Z] [ 85%] Built target device-random [2022-04-08T19:34:31.018Z] [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2022-04-08T19:34:31.018Z] [ 88%] Linking C executable device-gyro [2022-04-08T19:34:31.281Z] [ 88%] Built target device-gyro [2022-04-08T19:34:31.281Z] [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2022-04-08T19:34:31.281Z] [ 91%] Linking C executable device-bitfields [2022-04-08T19:34:31.281Z] [ 91%] Built target device-bitfields [2022-04-08T19:34:31.281Z] [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2022-04-08T19:34:31.544Z] [ 94%] Linking C executable template-discovery [2022-04-08T19:34:31.544Z] [ 94%] Built target template-discovery [2022-04-08T19:34:31.544Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2022-04-08T19:34:31.805Z] [ 97%] Linking C executable device-file [2022-04-08T19:34:31.805Z] [ 97%] Built target device-file [2022-04-08T19:34:31.805Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2022-04-08T19:34:32.066Z] [100%] Linking C executable device-terminal [2022-04-08T19:34:32.066Z] [100%] Built target device-terminal [2022-04-08T19:34:32.066Z] Run CPack packaging tool... [2022-04-08T19:34:32.066Z] CPack: Create package using TGZ [2022-04-08T19:34:32.066Z] CPack: Install projects [2022-04-08T19:34:32.066Z] CPack: - Run preinstall target for: Csdk [2022-04-08T19:34:32.329Z] CPack: - Install project: Csdk [] [2022-04-08T19:34:32.329Z] CPack: Create package [2022-04-08T19:34:32.329Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2022-04-08T19:34:32.329Z] + '[' false '=' true ] [2022-04-08T19:34:32.329Z] + '[' false '=' true ] [2022-04-08T19:34:32.329Z] + mkdir -p /tmp/sdk/build/debug [2022-04-08T19:34:32.329Z] + cd /tmp/sdk/build/debug [2022-04-08T19:34:32.329Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2022-04-08T19:34:32.329Z] -- The C compiler identification is GNU 10.3.1 [2022-04-08T19:34:32.329Z] -- Detecting C compiler ABI info [2022-04-08T19:34:32.589Z] -- Detecting C compiler ABI info - done [2022-04-08T19:34:32.589Z] -- Check for working C compiler: /usr/bin/cc - skipped [2022-04-08T19:34:32.589Z] -- Detecting C compile features [2022-04-08T19:34:32.589Z] -- Detecting C compile features - done [2022-04-08T19:34:32.589Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2022-04-08T19:34:32.589Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.80.0") [2022-04-08T19:34:32.589Z] -- Found LIBYAML: /usr/lib/libyaml.so [2022-04-08T19:34:32.589Z] -- Found LIBUUID: /usr/lib/libuuid.so [2022-04-08T19:34:32.589Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2022-04-08T19:34:32.589Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2022-04-08T19:34:32.589Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2022-04-08T19:34:32.589Z] -- C SDK 0.0.0 for Linux [2022-04-08T19:34:32.589Z] -- Performing Test CSDK_HAVE_ATOMIC [2022-04-08T19:34:32.589Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2022-04-08T19:34:32.849Z] -- Found Curses: /usr/lib/libcurses.so [2022-04-08T19:34:32.849Z] -- Configuring done [2022-04-08T19:34:32.849Z] -- Generating done [2022-04-08T19:34:32.849Z] -- Build files have been written to: /tmp/sdk/build/debug [2022-04-08T19:34:32.849Z] + make [2022-04-08T19:34:32.849Z] + tee debug.log [2022-04-08T19:34:32.849Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2022-04-08T19:34:32.849Z] [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2022-04-08T19:34:33.109Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2022-04-08T19:34:33.109Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2022-04-08T19:34:33.109Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2022-04-08T19:34:33.373Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2022-04-08T19:34:33.373Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2022-04-08T19:34:33.373Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o [2022-04-08T19:34:33.373Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2022-04-08T19:34:33.635Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2022-04-08T19:34:33.635Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2022-04-08T19:34:33.898Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2022-04-08T19:34:33.898Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2022-04-08T19:34:33.898Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2022-04-08T19:34:33.898Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2022-04-08T19:34:34.160Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2022-04-08T19:34:34.160Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2022-04-08T19:34:34.160Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2022-04-08T19:34:34.422Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2022-04-08T19:34:34.422Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2022-04-08T19:34:34.422Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2022-04-08T19:34:34.422Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2022-04-08T19:34:34.422Z] /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': [2022-04-08T19:34:34.422Z] /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] [2022-04-08T19:34:34.422Z] 275 | const iot_component_factory_t * factory; [2022-04-08T19:34:34.422Z] | ^~~~~~~ [2022-04-08T19:34:34.683Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2022-04-08T19:34:34.945Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2022-04-08T19:34:34.945Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2022-04-08T19:34:34.945Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2022-04-08T19:34:34.945Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2022-04-08T19:34:34.945Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2022-04-08T19:34:35.205Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2022-04-08T19:34:35.205Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2022-04-08T19:34:35.205Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2022-04-08T19:34:35.205Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2022-04-08T19:34:35.465Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o [2022-04-08T19:34:35.465Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2022-04-08T19:34:35.465Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2022-04-08T19:34:35.465Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2022-04-08T19:34:35.726Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2022-04-08T19:34:35.726Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2022-04-08T19:34:35.985Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2022-04-08T19:34:35.985Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2022-04-08T19:34:36.246Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2022-04-08T19:34:36.246Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2022-04-08T19:34:36.246Z] /tmp/sdk/src/c/rest-server.c: In function 'http_handler': [2022-04-08T19:34:36.246Z] /tmp/sdk/src/c/rest-server.c:394:67: warning: passing argument 3 of 'MHD_get_connection_values' from incompatible pointer type [-Wincompatible-pointer-types] [2022-04-08T19:34:36.246Z] 394 | MHD_get_connection_values (conn, MHD_GET_ARGUMENT_KIND, queryIterator, req.qparams); [2022-04-08T19:34:36.246Z] | ^~~~~~~~~~~~~ [2022-04-08T19:34:36.246Z] | | [2022-04-08T19:34:36.246Z] | int (*)(void *, enum MHD_ValueKind, const char *, const char *) [2022-04-08T19:34:36.246Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2022-04-08T19:34:36.246Z] /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-04-08T19:34:36.246Z] 2784 | MHD_KeyValueIterator iterator, [2022-04-08T19:34:36.246Z] | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ [2022-04-08T19:34:36.246Z] /tmp/sdk/src/c/rest-server.c: In function 'edgex_rest_server_create': [2022-04-08T19:34:36.246Z] /tmp/sdk/src/c/rest-server.c:501:58: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] [2022-04-08T19:34:36.246Z] 501 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_SOCK_ADDR, res->ai_addr, MHD_OPTION_END); [2022-04-08T19:34:36.246Z] | ^~~~~~~~~~~~ [2022-04-08T19:34:36.246Z] | | [2022-04-08T19:34:36.246Z] | 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-04-08T19:34:36.246Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2022-04-08T19:34:36.246Z] /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-04-08T19:34:36.246Z] 2480 | MHD_AccessHandlerCallback dh, void *dh_cls, [2022-04-08T19:34:36.246Z] | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ [2022-04-08T19:34:36.246Z] /tmp/sdk/src/c/rest-server.c:512:56: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] [2022-04-08T19:34:36.246Z] 512 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_END); [2022-04-08T19:34:36.246Z] | ^~~~~~~~~~~~ [2022-04-08T19:34:36.246Z] | | [2022-04-08T19:34:36.246Z] | 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-04-08T19:34:36.246Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2022-04-08T19:34:36.246Z] /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-04-08T19:34:36.246Z] 2480 | MHD_AccessHandlerCallback dh, void *dh_cls, [2022-04-08T19:34:36.246Z] | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ [2022-04-08T19:34:36.246Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2022-04-08T19:34:36.506Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2022-04-08T19:34:36.506Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2022-04-08T19:34:36.506Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2022-04-08T19:34:36.765Z] [ 70%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2022-04-08T19:34:36.765Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2022-04-08T19:34:37.026Z] [ 73%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2022-04-08T19:34:37.026Z] [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2022-04-08T19:34:37.286Z] [ 76%] Linking C shared library libcsdk.so [2022-04-08T19:34:37.286Z] [ 76%] Built target csdk [2022-04-08T19:34:37.286Z] [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2022-04-08T19:34:37.286Z] [ 79%] Linking C executable template [2022-04-08T19:34:37.286Z] [ 79%] Built target template [2022-04-08T19:34:37.547Z] [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2022-04-08T19:34:37.547Z] [ 82%] Linking C executable device-counter [2022-04-08T19:34:37.547Z] [ 82%] Built target device-counter [2022-04-08T19:34:37.547Z] [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2022-04-08T19:34:37.547Z] [ 85%] Linking C executable device-random [2022-04-08T19:34:37.809Z] [ 85%] Built target device-random [2022-04-08T19:34:37.809Z] [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2022-04-08T19:34:37.809Z] [ 88%] Linking C executable device-gyro [2022-04-08T19:34:37.809Z] [ 88%] Built target device-gyro [2022-04-08T19:34:37.809Z] [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2022-04-08T19:34:38.075Z] [ 91%] Linking C executable device-bitfields [2022-04-08T19:34:38.075Z] [ 91%] Built target device-bitfields [2022-04-08T19:34:38.075Z] [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2022-04-08T19:34:38.075Z] [ 94%] Linking C executable template-discovery [2022-04-08T19:34:38.075Z] [ 94%] Built target template-discovery [2022-04-08T19:34:38.075Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2022-04-08T19:34:38.335Z] [ 97%] Linking C executable device-file [2022-04-08T19:34:38.335Z] [ 97%] Built target device-file [2022-04-08T19:34:38.335Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2022-04-08T19:34:38.335Z] [100%] Linking C executable device-terminal [2022-04-08T19:34:38.596Z] [100%] Built target device-terminal [2022-04-08T19:34:38.596Z] make: Entering directory '/tmp/sdk/build/release' [2022-04-08T19:34:38.596Z] make[1]: Entering directory '/tmp/sdk/build/release' [2022-04-08T19:34:38.596Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-04-08T19:34:38.596Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-04-08T19:34:38.596Z] [ 76%] Built target csdk [2022-04-08T19:34:38.596Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-04-08T19:34:38.596Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-04-08T19:34:38.596Z] [ 79%] Built target template [2022-04-08T19:34:38.596Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-04-08T19:34:38.596Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-04-08T19:34:38.596Z] [ 82%] Built target device-counter [2022-04-08T19:34:38.596Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-04-08T19:34:38.596Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-04-08T19:34:38.596Z] [ 85%] Built target device-random [2022-04-08T19:34:38.596Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-04-08T19:34:38.596Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-04-08T19:34:38.596Z] [ 88%] Built target device-gyro [2022-04-08T19:34:38.596Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-04-08T19:34:38.596Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-04-08T19:34:38.596Z] [ 91%] Built target device-bitfields [2022-04-08T19:34:38.596Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-04-08T19:34:38.596Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-04-08T19:34:38.596Z] [ 94%] Built target template-discovery [2022-04-08T19:34:38.596Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-04-08T19:34:38.596Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-04-08T19:34:38.596Z] [ 97%] Built target device-file [2022-04-08T19:34:38.596Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-04-08T19:34:38.596Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-04-08T19:34:38.596Z] [100%] Built target device-terminal [2022-04-08T19:34:38.596Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2022-04-08T19:34:38.596Z] Install the project... [2022-04-08T19:34:38.858Z] -- Install configuration: "Release" [2022-04-08T19:34:38.858Z] -- Installing: /usr/local/lib/libcsdk.so [2022-04-08T19:34:38.858Z] -- Installing: /usr/local/include [2022-04-08T19:34:38.858Z] -- Installing: /usr/local/include/edgex [2022-04-08T19:34:38.858Z] -- Installing: /usr/local/include/edgex/profiles.h [2022-04-08T19:34:38.858Z] -- Installing: /usr/local/include/edgex/edgex.h [2022-04-08T19:34:38.858Z] -- Installing: /usr/local/include/edgex/rest-server.h [2022-04-08T19:34:38.858Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2022-04-08T19:34:38.858Z] -- Installing: /usr/local/include/edgex/devices.h [2022-04-08T19:34:38.858Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2022-04-08T19:34:38.858Z] -- Installing: /usr/local/include/devsdk [2022-04-08T19:34:38.858Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2022-04-08T19:34:38.858Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2022-04-08T19:34:38.859Z] -- Installing: /usr/local/include/iot [2022-04-08T19:34:38.859Z] -- Installing: /usr/local/include/iot/thread.h [2022-04-08T19:34:38.859Z] -- Installing: /usr/local/include/iot/hash.h [2022-04-08T19:34:38.859Z] -- Installing: /usr/local/include/iot/typecode.h [2022-04-08T19:34:38.859Z] -- Installing: /usr/local/include/iot/threadpool.h [2022-04-08T19:34:38.859Z] -- Installing: /usr/local/include/iot/uuid.h [2022-04-08T19:34:38.859Z] -- Installing: /usr/local/include/iot/logger.h [2022-04-08T19:34:38.859Z] -- Installing: /usr/local/include/iot/config.h [2022-04-08T19:34:38.859Z] -- Installing: /usr/local/include/iot/os.h [2022-04-08T19:34:38.859Z] -- Installing: /usr/local/include/iot/container.h [2022-04-08T19:34:38.859Z] -- Installing: /usr/local/include/iot/scheduler.h [2022-04-08T19:34:38.859Z] -- Installing: /usr/local/include/iot/defs.h [2022-04-08T19:34:38.859Z] -- Installing: /usr/local/include/iot/iot.h [2022-04-08T19:34:38.859Z] -- Installing: /usr/local/include/iot/component.h [2022-04-08T19:34:38.859Z] -- Installing: /usr/local/include/iot/os [2022-04-08T19:34:38.859Z] -- Installing: /usr/local/include/iot/os/linux.h [2022-04-08T19:34:38.859Z] -- Installing: /usr/local/include/iot/os/zephyr.h [2022-04-08T19:34:38.859Z] -- Installing: /usr/local/include/iot/os/macos.h [2022-04-08T19:34:38.859Z] -- Installing: /usr/local/include/iot/base64.h [2022-04-08T19:34:38.859Z] -- Installing: /usr/local/include/iot/time.h [2022-04-08T19:34:38.859Z] -- Installing: /usr/local/include/iot/data.h [2022-04-08T19:34:38.859Z] -- Installing: /usr/local/include/iot/json.h [2022-04-08T19:34:38.859Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2022-04-08T19:34:38.859Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2022-04-08T19:34:38.859Z] make: Leaving directory '/tmp/sdk/build/release' [2022-04-08T19:34:39.429Z] Removing intermediate container 685de73d305c [2022-04-08T19:34:39.429Z] ---> d4f2fbc329a8 [2022-04-08T19:34:39.429Z] Step 14/22 : FROM ${BASE} [2022-04-08T19:34:39.429Z] ---> 31512f8d4d04 [2022-04-08T19:34:39.429Z] Step 15/22 : LABEL maintainer="IOTech " [2022-04-08T19:34:39.429Z] ---> Running in 8ccf3b9e265a [2022-04-08T19:34:39.429Z] Removing intermediate container 8ccf3b9e265a [2022-04-08T19:34:39.429Z] ---> a68157292581 [2022-04-08T19:34:39.429Z] 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-04-08T19:34:39.690Z] ---> Running in fec92f8180c5 [2022-04-08T19:34:39.955Z] Connecting to iotech.jfrog.io (52.50.143.190:443) [2022-04-08T19:34:40.214Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2022-04-08T19:34:40.214Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2022-04-08T19:34:40.214Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2022-04-08T19:34:40.475Z] Removing intermediate container fec92f8180c5 [2022-04-08T19:34:40.475Z] ---> 7e43a97200b2 [2022-04-08T19:34:40.475Z] Step 17/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main' >> /etc/apk/repositories [2022-04-08T19:34:40.475Z] ---> Running in 1b37a16450e9 [2022-04-08T19:34:41.080Z] Removing intermediate container 1b37a16450e9 [2022-04-08T19:34:41.080Z] ---> 7a183d53f2b9 [2022-04-08T19:34:41.080Z] 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-04-08T19:34:41.081Z] ---> Running in 908c37af1b70 [2022-04-08T19:34:41.676Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-08T19:34:42.281Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-08T19:34:42.542Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-08T19:34:43.115Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2022-04-08T19:34:43.115Z] (1/6) Installing curl (7.80.0-r0) [2022-04-08T19:34:43.115Z] (2/6) Installing hiredis (1.0.2-r0) [2022-04-08T19:34:43.115Z] (3/6) Installing hiredis-dev (1.0.2-r0) [2022-04-08T19:34:43.377Z] (4/6) Installing libcbor (0.8.0-r0) [2022-04-08T19:34:43.377Z] (5/6) Installing libuuid (2.37.4-r0) [2022-04-08T19:34:43.377Z] (6/6) Installing paho-mqtt-c-dev-1.3 (1.3.9-r0) [2022-04-08T19:34:44.321Z] Executing busybox-1.34.1-r5.trigger [2022-04-08T19:34:44.321Z] OK: 283 MiB in 83 packages [2022-04-08T19:34:44.584Z] Removing intermediate container 908c37af1b70 [2022-04-08T19:34:44.584Z] ---> ccdd81b22d2f [2022-04-08T19:34:44.584Z] Step 19/22 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot [2022-04-08T19:34:44.845Z] ---> 86a56419474a [2022-04-08T19:34:44.845Z] Step 20/22 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2022-04-08T19:34:45.110Z] ---> 2551d83a66de [2022-04-08T19:34:45.110Z] Step 21/22 : COPY --from=builder /usr/local/lib /usr/local/lib [2022-04-08T19:34:45.110Z] ---> 74557c224f59 [2022-04-08T19:34:45.110Z] Step 22/22 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2022-04-08T19:34:45.376Z] ---> 2dd3c1ed14ee [2022-04-08T19:34:45.376Z] Successfully built 2dd3c1ed14ee [2022-04-08T19:34:45.376Z] 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-04-08T19:34:45.932Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-08T19:34:45.932Z] . [Pipeline] withDockerContainer [2022-04-08T19:34:46.032Z] prd-ubuntu20.04-docker-8c-8g-11666 does not seem to be running inside a container [2022-04-08T19:34:46.073Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-c_PR-408 -v /w/workspace/edgexfoundry_device-sdk-c_PR-408:/w/workspace/edgexfoundry_device-sdk-c_PR-408:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-408@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-408@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-04-08T19:34:46.481Z] $ docker top beae5b74e73f92c03a805c00785920a388ad0619a6a501c22cd180b71d715ed4 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-08T19:34:46.877Z] + make test [2022-04-08T19:34:46.877Z] echo "make test" [2022-04-08T19:34:46.877Z] make test [Pipeline] } [2022-04-08T19:34:46.910Z] $ docker stop --time=1 beae5b74e73f92c03a805c00785920a388ad0619a6a501c22cd180b71d715ed4 [2022-04-08T19:34:48.198Z] $ docker rm -f beae5b74e73f92c03a805c00785920a388ad0619a6a501c22cd180b71d715ed4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-08T19:34:49.577Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-04-08T19:34:49.891Z] + ls -al . [2022-04-08T19:34:49.891Z] total 208 [2022-04-08T19:34:49.891Z] drwxrwxr-x 9 jenkins jenkins 4096 Apr 8 19:33 . [2022-04-08T19:34:49.891Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 8 19:33 .. [2022-04-08T19:34:49.891Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 8 19:33 .git [2022-04-08T19:34:49.891Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 8 19:33 .github [2022-04-08T19:34:49.892Z] -rw-rw-r-- 1 jenkins jenkins 176 Apr 8 19:33 .gitignore [2022-04-08T19:34:49.892Z] drwx------ 3 jenkins jenkins 4096 Apr 8 19:33 .semver [2022-04-08T19:34:49.892Z] -rw-rw-r-- 1 jenkins jenkins 3104 Apr 8 19:33 Attribution.txt [2022-04-08T19:34:49.892Z] -rw-rw-r-- 1 jenkins jenkins 8321 Apr 8 19:33 CHANGES [2022-04-08T19:34:49.892Z] -rw-rw-r-- 1 jenkins jenkins 108574 Apr 8 19:33 Doxyfile [2022-04-08T19:34:49.892Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 8 19:33 GOVERNANCE.md [2022-04-08T19:34:49.892Z] -rw-rw-r-- 1 jenkins jenkins 784 Apr 8 19:33 Jenkinsfile [2022-04-08T19:34:49.892Z] -rw-rw-r-- 1 jenkins jenkins 10174 Apr 8 19:33 LICENSE [2022-04-08T19:34:49.892Z] -rw-rw-r-- 1 jenkins jenkins 444 Apr 8 19:33 Makefile [2022-04-08T19:34:49.892Z] -rw-rw-r-- 1 jenkins jenkins 618 Apr 8 19:33 OWNERS.md [2022-04-08T19:34:49.892Z] -rw-rw-r-- 1 jenkins jenkins 4086 Apr 8 19:33 README.md [2022-04-08T19:34:49.892Z] -rw-rw-r-- 1 jenkins jenkins 7422 Apr 8 19:33 README.v2.md [2022-04-08T19:34:49.892Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 8 19:34 VERSION [2022-04-08T19:34:49.892Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 8 19:33 docs [2022-04-08T19:34:49.892Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 8 19:33 include [2022-04-08T19:34:49.892Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 8 19:33 scripts [2022-04-08T19:34:49.892Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 8 19:33 src [Pipeline] isUnix [Pipeline] sh [2022-04-08T19:34:50.218Z] + 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=0218c36016b164fa0fbc91c23212454971795544 --label arch=amd64 --label version=0.0.0 . [2022-04-08T19:34:50.218Z] Sending build context to Docker daemon 4.528MB [2022-04-08T19:34:50.218Z] Step 1/17 : ARG BASE=alpine:3.15 [2022-04-08T19:34:50.218Z] Step 2/17 : FROM ${BASE} [2022-04-08T19:34:50.218Z] ---> 2dd3c1ed14ee [2022-04-08T19:34:50.218Z] Step 3/17 : LABEL maintainer="IOTech " [2022-04-08T19:34:50.218Z] ---> Running in 0fd8d474da8e [2022-04-08T19:34:50.479Z] Removing intermediate container 0fd8d474da8e [2022-04-08T19:34:50.479Z] ---> 2421057ccbfb [2022-04-08T19:34:50.479Z] 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-04-08T19:34:50.479Z] ---> Running in 6d72c5c561f7 [2022-04-08T19:34:50.740Z] Connecting to iotech.jfrog.io (52.50.143.190:443) [2022-04-08T19:34:51.001Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2022-04-08T19:34:51.001Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2022-04-08T19:34:51.001Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2022-04-08T19:34:51.573Z] Removing intermediate container 6d72c5c561f7 [2022-04-08T19:34:51.574Z] ---> 3f3b7be6c1e1 [2022-04-08T19:34:51.574Z] Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main' >> /etc/apk/repositories [2022-04-08T19:34:51.574Z] ---> Running in 0aece9a3fbc1 [2022-04-08T19:34:52.145Z] Removing intermediate container 0aece9a3fbc1 [2022-04-08T19:34:52.145Z] ---> 81413770a114 [2022-04-08T19:34:52.145Z] 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-04-08T19:34:52.145Z] ---> Running in 872bce1ab00e [2022-04-08T19:34:52.405Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-08T19:34:53.347Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-08T19:34:53.347Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-08T19:34:53.920Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2022-04-08T19:34:53.920Z] (1/26) Installing libcbor-dev (0.8.0-r0) [2022-04-08T19:34:53.920Z] (2/26) Installing ncurses-dev (6.3_p20211120-r0) [2022-04-08T19:34:54.185Z] (3/26) Installing util-linux (2.37.4-r0) [2022-04-08T19:34:54.185Z] (4/26) Installing libblkid (2.37.4-r0) [2022-04-08T19:34:54.185Z] (5/26) Installing libeconf (0.4.2-r0) [2022-04-08T19:34:54.446Z] (6/26) Installing libfdisk (2.37.4-r0) [2022-04-08T19:34:54.446Z] (7/26) Installing libmount (2.37.4-r0) [2022-04-08T19:34:54.446Z] (8/26) Installing libsmartcols (2.37.4-r0) [2022-04-08T19:34:54.709Z] (9/26) Installing util-linux-misc (2.37.4-r0) [2022-04-08T19:34:54.970Z] (10/26) Installing linux-pam (1.5.2-r0) [2022-04-08T19:34:54.970Z] (11/26) Installing runuser (2.37.4-r0) [2022-04-08T19:34:54.970Z] (12/26) Installing hexdump (2.37.4-r0) [2022-04-08T19:34:55.231Z] (13/26) Installing uuidgen (2.37.4-r0) [2022-04-08T19:34:55.231Z] (14/26) Installing blkid (2.37.4-r0) [2022-04-08T19:34:55.231Z] (15/26) Installing sfdisk (2.37.4-r0) [2022-04-08T19:34:55.491Z] (16/26) Installing mcookie (2.37.4-r0) [2022-04-08T19:34:55.491Z] (17/26) Installing wipefs (2.37.4-r0) [2022-04-08T19:34:55.491Z] (18/26) Installing cfdisk (2.37.4-r0) [2022-04-08T19:34:55.752Z] (19/26) Installing flock (2.37.4-r0) [2022-04-08T19:34:55.752Z] (20/26) Installing lsblk (2.37.4-r0) [2022-04-08T19:34:55.752Z] (21/26) Installing libcap-ng (0.8.2-r1) [2022-04-08T19:34:56.014Z] (22/26) Installing setpriv (2.37.4-r0) [2022-04-08T19:34:56.014Z] (23/26) Installing logger (2.37.4-r0) [2022-04-08T19:34:56.014Z] (24/26) Installing partx (2.37.4-r0) [2022-04-08T19:34:56.274Z] (25/26) Installing findmnt (2.37.4-r0) [2022-04-08T19:34:56.274Z] (26/26) Installing util-linux-dev (2.37.4-r0) [2022-04-08T19:34:56.274Z] Executing busybox-1.34.1-r5.trigger [2022-04-08T19:34:56.274Z] OK: 294 MiB in 109 packages [2022-04-08T19:34:57.210Z] Removing intermediate container 872bce1ab00e [2022-04-08T19:34:57.210Z] ---> 43a47da1071e [2022-04-08T19:34:57.210Z] Step 7/17 : COPY VERSION /edgex-c-sdk/ [2022-04-08T19:34:57.210Z] ---> 1e9768730d8a [2022-04-08T19:34:57.210Z] Step 8/17 : COPY src /edgex-c-sdk/src/ [2022-04-08T19:34:57.471Z] ---> 3480fa2feda3 [2022-04-08T19:34:57.471Z] Step 9/17 : COPY include /edgex-c-sdk/include/ [2022-04-08T19:34:57.732Z] ---> 928fec7aceb8 [2022-04-08T19:34:57.732Z] Step 10/17 : COPY scripts /edgex-c-sdk/scripts [2022-04-08T19:34:57.732Z] ---> e2212fef132d [2022-04-08T19:34:57.732Z] Step 11/17 : COPY LICENSE /edgex-c-sdk/ [2022-04-08T19:34:57.992Z] ---> a278260962c1 [2022-04-08T19:34:57.992Z] Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ [2022-04-08T19:34:57.992Z] ---> 0faacbbf45a3 [2022-04-08T19:34:57.992Z] Step 13/17 : WORKDIR /edgex-c-sdk [2022-04-08T19:34:57.992Z] ---> Running in 23a11f799c36 [2022-04-08T19:34:58.253Z] Removing intermediate container 23a11f799c36 [2022-04-08T19:34:58.253Z] ---> 66926aa79af2 [2022-04-08T19:34:58.253Z] Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2022-04-08T19:34:58.253Z] ---> Running in c9da1a46ca19 [2022-04-08T19:34:58.253Z] Removing intermediate container c9da1a46ca19 [2022-04-08T19:34:58.253Z] ---> 019e88bf7573 [2022-04-08T19:34:58.253Z] Step 15/17 : LABEL arch=amd64 [2022-04-08T19:34:58.253Z] ---> Running in 453049492fa9 [2022-04-08T19:34:58.517Z] Removing intermediate container 453049492fa9 [2022-04-08T19:34:58.517Z] ---> 994abf13b28d [2022-04-08T19:34:58.517Z] Step 16/17 : LABEL git_sha=0218c36016b164fa0fbc91c23212454971795544 [2022-04-08T19:34:58.517Z] ---> Running in 64c2e6181766 [2022-04-08T19:34:58.517Z] Removing intermediate container 64c2e6181766 [2022-04-08T19:34:58.517Z] ---> 71e5ba0524d7 [2022-04-08T19:34:58.517Z] Step 17/17 : LABEL version=0.0.0 [2022-04-08T19:34:58.517Z] ---> Running in b7127ab1f28e [2022-04-08T19:34:58.776Z] Removing intermediate container b7127ab1f28e [2022-04-08T19:34:58.776Z] ---> 3dc3ec495f96 [2022-04-08T19:34:58.776Z] [Warning] One or more build-args [MAKE ARCH] were not consumed [2022-04-08T19:34:58.776Z] Successfully built 3dc3ec495f96 [2022-04-08T19:34:58.776Z] 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-04-08T19:34:59.530Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-08T19:34:59.530Z] [2022-04-08T19:34:59.530Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-04-08T19:34:59.864Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-08T19:34:59.864Z] latest: Pulling from edgex-lftools-log-publisher [2022-04-08T19:34:59.864Z] 5eb5b503b376: Pulling fs layer [2022-04-08T19:34:59.864Z] 5c69ac0246d0: Pulling fs layer [2022-04-08T19:34:59.864Z] ec43610c2a17: Pulling fs layer [2022-04-08T19:34:59.864Z] 3a2ae6a8a46f: Pulling fs layer [2022-04-08T19:34:59.864Z] 33b1e0a273af: Pulling fs layer [2022-04-08T19:34:59.864Z] 5d3b04190fa2: Pulling fs layer [2022-04-08T19:34:59.864Z] 2f39f015ded8: Pulling fs layer [2022-04-08T19:34:59.864Z] 33b1e0a273af: Waiting [2022-04-08T19:34:59.864Z] 2f39f015ded8: Waiting [2022-04-08T19:34:59.864Z] 3a2ae6a8a46f: Waiting [2022-04-08T19:34:59.864Z] 5c69ac0246d0: Download complete [2022-04-08T19:34:59.864Z] 3a2ae6a8a46f: Verifying Checksum [2022-04-08T19:34:59.864Z] 3a2ae6a8a46f: Download complete [2022-04-08T19:34:59.864Z] ec43610c2a17: Verifying Checksum [2022-04-08T19:34:59.864Z] ec43610c2a17: Download complete [2022-04-08T19:34:59.864Z] 5d3b04190fa2: Download complete [2022-04-08T19:34:59.864Z] 33b1e0a273af: Verifying Checksum [2022-04-08T19:34:59.864Z] 33b1e0a273af: Download complete [2022-04-08T19:35:00.124Z] 5eb5b503b376: Verifying Checksum [2022-04-08T19:35:00.124Z] 5eb5b503b376: Download complete [2022-04-08T19:35:00.696Z] 2f39f015ded8: Download complete [2022-04-08T19:35:01.641Z] 5eb5b503b376: Pull complete [2022-04-08T19:35:01.641Z] 5c69ac0246d0: Pull complete [2022-04-08T19:35:01.902Z] ec43610c2a17: Pull complete [2022-04-08T19:35:02.163Z] 3a2ae6a8a46f: Pull complete [2022-04-08T19:35:02.422Z] 33b1e0a273af: Pull complete [2022-04-08T19:35:02.422Z] 5d3b04190fa2: Pull complete [2022-04-08T19:35:06.624Z] 2f39f015ded8: Pull complete [2022-04-08T19:35:06.624Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-04-08T19:35:06.624Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-08T19:35:06.885Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-04-08T19:35:06.981Z] prd-ubuntu20.04-docker-8c-8g-11666 does not seem to be running inside a container [2022-04-08T19:35:07.019Z] $ 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-408 -v /w/workspace/edgexfoundry_device-sdk-c_PR-408:/w/workspace/edgexfoundry_device-sdk-c_PR-408:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-408@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-408@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-04-08T19:35:08.680Z] $ docker top 7db741309e90a3ee048efde8a7a882eb227ad3d47102ad5ffeb2f3439ac81e68 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-08T19:35:09.134Z] ---> job-cost.sh [2022-04-08T19:35:09.134Z] lf-activate-venv: SKIPPING [2022-04-08T19:35:09.134Z] INFO: No Stack... [2022-04-08T19:35:09.705Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-08T19:35:09.966Z] INFO: Archiving Costs [Pipeline] sh [2022-04-08T19:35:10.281Z] + cat /w/workspace/edgexfoundry_device-sdk-c_PR-408/archives/cost.csv [2022-04-08T19:35:10.281Z] + cut -d, -f6 [Pipeline] lock [2022-04-08T19:35:10.323Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-408-1-stack-cost] [2022-04-08T19:35:10.328Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-408-1-stack-cost] did not exist. Created. [2022-04-08T19:35:10.328Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-408-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-08T19:35:10.718Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-04-08T19:35:10.784Z] Stashed 1 file(s) [Pipeline] } [2022-04-08T19:35:10.800Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-408-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-08T19:35:10.882Z] $ docker stop --time=1 7db741309e90a3ee048efde8a7a882eb227ad3d47102ad5ffeb2f3439ac81e68 [2022-04-08T19:35:12.049Z] $ docker rm -f 7db741309e90a3ee048efde8a7a882eb227ad3d47102ad5ffeb2f3439ac81e68 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-04-08T19:39:17.353Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-11667 in /w/workspace/edgexfoundry_device-sdk-c_PR-408 [Pipeline] { [Pipeline] ws [2022-04-08T19:39:17.399Z] Running in /w/workspace/device-sdk-c/1 [Pipeline] { [Pipeline] checkout [2022-04-08T19:39:17.762Z] Selected Git installation does not exist. Using Default [2022-04-08T19:39:17.762Z] The recommended git tool is: NONE [2022-04-08T19:39:28.168Z] using credential edgex-jenkins-ssh [2022-04-08T19:39:28.188Z] Cloning the remote Git repository [2022-04-08T19:39:28.273Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2022-04-08T19:39:28.451Z] > git init /w/workspace/device-sdk-c/1 # timeout=10 [2022-04-08T19:39:28.674Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2022-04-08T19:39:28.676Z] > git --version # timeout=10 [2022-04-08T19:39:28.724Z] > git --version # 'git version 2.25.1' [2022-04-08T19:39:28.727Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-08T19:39:28.869Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-08T19:39:30.895Z] Merging remotes/origin/main commit b0d2b7caa9bf3af8d95653d5536cc5c3bde74134 into PR head commit 0218c36016b164fa0fbc91c23212454971795544 [2022-04-08T19:39:30.104Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2022-04-08T19:39:30.143Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-08T19:39:30.191Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2022-04-08T19:39:30.271Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2022-04-08T19:39:30.272Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-08T19:39:30.294Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/408/head:refs/remotes/origin/PR-408 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-04-08T19:39:30.934Z] > git config core.sparsecheckout # timeout=10 [2022-04-08T19:39:30.979Z] > git checkout -f 0218c36016b164fa0fbc91c23212454971795544 # timeout=10 [2022-04-08T19:39:31.290Z] Merge succeeded, producing 0218c36016b164fa0fbc91c23212454971795544 [2022-04-08T19:39:31.291Z] Checking out Revision 0218c36016b164fa0fbc91c23212454971795544 (PR-408) [2022-04-08T19:39:31.134Z] > git remote # timeout=10 [2022-04-08T19:39:31.177Z] > git config --get remote.origin.url # timeout=10 [2022-04-08T19:39:31.212Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-08T19:39:31.234Z] > git merge b0d2b7caa9bf3af8d95653d5536cc5c3bde74134 # timeout=10 [2022-04-08T19:39:31.273Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-04-08T19:39:31.305Z] > git config core.sparsecheckout # timeout=10 [2022-04-08T19:39:31.359Z] > git checkout -f 0218c36016b164fa0fbc91c23212454971795544 # timeout=10 [2022-04-08T19:39:35.967Z] Commit message: "feat: remove default github templates that are now provided in .github repo" [2022-04-08T19:39:36.046Z] > git --version # timeout=10 [2022-04-08T19:39:36.058Z] > git --version # 'git version 2.25.1' [2022-04-08T19:39:36.080Z] fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-08T19:39:37.805Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-04-08T19:39:37.805Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-08T19:39:37.805Z] Dload Upload Total Spent Left Speed [2022-04-08T19:39:37.805Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 42909 0 --:--:-- --:--:-- --:--:-- 42909 100 11843 100 11843 0 0 42754 0 --:--:-- --:--:-- --:--:-- 42600 [Pipeline] sh [2022-04-08T19:39:38.382Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-04-08T19:39:38.754Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-04-08T19:39:38.754Z] + sudo tee /etc/docker/daemon.new [2022-04-08T19:39:38.754Z] { [2022-04-08T19:39:38.754Z] "registry-mirrors": [ [2022-04-08T19:39:38.754Z] "https://nexus3.edgexfoundry.org:10001" [2022-04-08T19:39:38.754Z] ], [2022-04-08T19:39:38.754Z] "bip": "10.250.0.254/24", [2022-04-08T19:39:38.754Z] "hosts": [ [2022-04-08T19:39:38.754Z] "tcp://0.0.0.0:5555", [2022-04-08T19:39:38.754Z] "unix:///var/run/docker.sock" [2022-04-08T19:39:38.754Z] ], [2022-04-08T19:39:38.754Z] "mtu": 1458, [2022-04-08T19:39:38.754Z] "selinux-enabled": true, [2022-04-08T19:39:38.754Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-04-08T19:39:38.754Z] } [Pipeline] sh [2022-04-08T19:39:39.142Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-04-08T19:39:39.520Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-08T19:39:57.974Z] provisioning config files... [2022-04-08T19:39:58.003Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/1@tmp/config6879613730333282289tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-08T19:39:58.624Z] ---> docker-login.sh [2022-04-08T19:39:58.624Z] nexus3.edgexfoundry.org:10001 [2022-04-08T19:39:59.224Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-08T19:39:59.499Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-08T19:39:59.499Z] Configure a credential helper to remove this warning. See [2022-04-08T19:39:59.499Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-08T19:39:59.499Z] [2022-04-08T19:39:59.499Z] Login Succeeded [2022-04-08T19:39:59.774Z] nexus3.edgexfoundry.org:10002 [2022-04-08T19:40:00.047Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-08T19:40:00.047Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-08T19:40:00.047Z] Configure a credential helper to remove this warning. See [2022-04-08T19:40:00.047Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-08T19:40:00.047Z] [2022-04-08T19:40:00.047Z] Login Succeeded [2022-04-08T19:40:00.327Z] nexus3.edgexfoundry.org:10003 [2022-04-08T19:40:00.605Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-08T19:40:00.605Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-08T19:40:00.605Z] Configure a credential helper to remove this warning. See [2022-04-08T19:40:00.605Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-08T19:40:00.605Z] [2022-04-08T19:40:00.605Z] Login Succeeded [2022-04-08T19:40:00.605Z] nexus3.edgexfoundry.org:10004 [2022-04-08T19:40:01.204Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-08T19:40:01.204Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-08T19:40:01.204Z] Configure a credential helper to remove this warning. See [2022-04-08T19:40:01.204Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-08T19:40:01.204Z] [2022-04-08T19:40:01.204Z] Login Succeeded [2022-04-08T19:40:01.204Z] docker.io [2022-04-08T19:40:01.477Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-08T19:40:02.082Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-08T19:40:02.082Z] Configure a credential helper to remove this warning. See [2022-04-08T19:40:02.082Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-08T19:40:02.082Z] [2022-04-08T19:40:02.082Z] Login Succeeded [2022-04-08T19:40:02.082Z] ---> docker-login.sh ends [Pipeline] } [2022-04-08T19:40:02.121Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-08T19:40:02.557Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-08T19:40:02.586Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-arm64 [Pipeline] echo [2022-04-08T19:40:02.621Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-08T19:40:02.655Z] ========================================================= [2022-04-08T19:40:02.655Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] [2022-04-08T19:40:02.655Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-08T19:40:03.064Z] + 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-04-08T19:40:03.341Z] Sending build context to Docker daemon 2.75MB [2022-04-08T19:40:03.619Z] Step 1/22 : ARG BASE=alpine:3.15 [2022-04-08T19:40:03.619Z] Step 2/22 : FROM ${BASE} as builder [2022-04-08T19:40:03.619Z] latest: Pulling from edgex-devops/edgex-gcc-base-arm64 [2022-04-08T19:40:03.619Z] 9981e73032c8: Pulling fs layer [2022-04-08T19:40:03.619Z] 7400f6ba8eaf: Pulling fs layer [2022-04-08T19:40:03.619Z] 457beda32014: Pulling fs layer [2022-04-08T19:40:03.619Z] 7400f6ba8eaf: Verifying Checksum [2022-04-08T19:40:03.619Z] 7400f6ba8eaf: Download complete [2022-04-08T19:40:03.896Z] 9981e73032c8: Verifying Checksum [2022-04-08T19:40:03.896Z] 9981e73032c8: Download complete [2022-04-08T19:40:04.503Z] 9981e73032c8: Pull complete [2022-04-08T19:40:04.779Z] 7400f6ba8eaf: Pull complete [2022-04-08T19:40:06.218Z] 457beda32014: Verifying Checksum [2022-04-08T19:40:06.218Z] 457beda32014: Download complete [2022-04-08T19:40:14.519Z] 457beda32014: Pull complete [2022-04-08T19:40:14.519Z] Digest: sha256:0f124dd3b6ead62312a5009ba0dc35a1224119791cb8964a66759dbb1cb35c90 [2022-04-08T19:40:14.519Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest [2022-04-08T19:40:14.519Z] ---> 69c73aa914e4 [2022-04-08T19:40:14.519Z] 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-04-08T19:40:15.509Z] ---> Running in 7268dc41ccc3 [2022-04-08T19:40:16.950Z] Connecting to iotech.jfrog.io (52.49.191.191:443) [2022-04-08T19:40:17.228Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2022-04-08T19:40:17.228Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2022-04-08T19:40:17.228Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2022-04-08T19:40:17.835Z] Removing intermediate container 7268dc41ccc3 [2022-04-08T19:40:17.835Z] ---> 9978c1e84567 [2022-04-08T19:40:17.835Z] Step 4/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main' >> /etc/apk/repositories [2022-04-08T19:40:18.118Z] ---> Running in c3a7d96cae3a [2022-04-08T19:40:20.136Z] Removing intermediate container c3a7d96cae3a [2022-04-08T19:40:20.136Z] ---> 383f66f83c90 [2022-04-08T19:40:20.136Z] 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-04-08T19:40:20.136Z] ---> Running in bb00894ef911 [2022-04-08T19:40:21.120Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-08T19:40:21.717Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-08T19:40:22.313Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-08T19:40:23.288Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2022-04-08T19:40:23.288Z] (1/31) Installing hiredis (1.0.2-r0) [2022-04-08T19:40:23.561Z] (2/31) Installing hiredis-dev (1.0.2-r0) [2022-04-08T19:40:23.561Z] (3/31) Installing libcbor (0.8.0-r0) [2022-04-08T19:40:23.836Z] (4/31) Installing libcbor-dev (0.8.0-r0) [2022-04-08T19:40:23.836Z] (5/31) Installing ncurses-dev (6.3_p20211120-r0) [2022-04-08T19:40:23.836Z] (6/31) Installing paho-mqtt-c-dev-1.3 (1.3.9-r0) [2022-04-08T19:40:24.816Z] (7/31) Installing util-linux (2.37.4-r0) [2022-04-08T19:40:24.816Z] (8/31) Installing libblkid (2.37.4-r0) [2022-04-08T19:40:25.091Z] (9/31) Installing libeconf (0.4.2-r0) [2022-04-08T19:40:25.364Z] (10/31) Installing libuuid (2.37.4-r0) [2022-04-08T19:40:25.364Z] (11/31) Installing libfdisk (2.37.4-r0) [2022-04-08T19:40:25.637Z] (12/31) Installing libmount (2.37.4-r0) [2022-04-08T19:40:25.637Z] (13/31) Installing libsmartcols (2.37.4-r0) [2022-04-08T19:40:25.637Z] (14/31) Installing util-linux-misc (2.37.4-r0) [2022-04-08T19:40:26.233Z] (15/31) Installing linux-pam (1.5.2-r0) [2022-04-08T19:40:26.233Z] (16/31) Installing runuser (2.37.4-r0) [2022-04-08T19:40:26.233Z] (17/31) Installing hexdump (2.37.4-r0) [2022-04-08T19:40:26.510Z] (18/31) Installing uuidgen (2.37.4-r0) [2022-04-08T19:40:26.510Z] (19/31) Installing blkid (2.37.4-r0) [2022-04-08T19:40:26.510Z] (20/31) Installing sfdisk (2.37.4-r0) [2022-04-08T19:40:26.785Z] (21/31) Installing mcookie (2.37.4-r0) [2022-04-08T19:40:26.785Z] (22/31) Installing wipefs (2.37.4-r0) [2022-04-08T19:40:26.785Z] (23/31) Installing cfdisk (2.37.4-r0) [2022-04-08T19:40:26.785Z] (24/31) Installing flock (2.37.4-r0) [2022-04-08T19:40:27.064Z] (25/31) Installing lsblk (2.37.4-r0) [2022-04-08T19:40:27.064Z] (26/31) Installing libcap-ng (0.8.2-r1) [2022-04-08T19:40:27.064Z] (27/31) Installing setpriv (2.37.4-r0) [2022-04-08T19:40:27.338Z] (28/31) Installing logger (2.37.4-r0) [2022-04-08T19:40:27.338Z] (29/31) Installing partx (2.37.4-r0) [2022-04-08T19:40:27.338Z] (30/31) Installing findmnt (2.37.4-r0) [2022-04-08T19:40:27.612Z] (31/31) Installing util-linux-dev (2.37.4-r0) [2022-04-08T19:40:27.612Z] Executing busybox-1.34.1-r5.trigger [2022-04-08T19:40:27.884Z] OK: 289 MiB in 108 packages [2022-04-08T19:40:29.338Z] Removing intermediate container bb00894ef911 [2022-04-08T19:40:29.338Z] ---> ec300ed72c5a [2022-04-08T19:40:29.338Z] Step 6/22 : RUN mkdir /tmp/sdk [2022-04-08T19:40:29.338Z] ---> Running in 1b0cd74a15db [2022-04-08T19:40:31.316Z] Removing intermediate container 1b0cd74a15db [2022-04-08T19:40:31.316Z] ---> 5f56b0234303 [2022-04-08T19:40:31.316Z] Step 7/22 : COPY VERSION /tmp/sdk [2022-04-08T19:40:31.589Z] ---> a630bbd21bb8 [2022-04-08T19:40:31.589Z] Step 8/22 : COPY src /tmp/sdk/src [2022-04-08T19:40:32.572Z] ---> 55cfef9a124b [2022-04-08T19:40:32.572Z] Step 9/22 : COPY include /tmp/sdk/include [2022-04-08T19:40:33.177Z] ---> 682abeb5fc0b [2022-04-08T19:40:33.177Z] Step 10/22 : COPY scripts /tmp/sdk/scripts [2022-04-08T19:40:35.168Z] ---> 9feb77d730d2 [2022-04-08T19:40:35.168Z] Step 11/22 : COPY LICENSE /tmp/sdk [2022-04-08T19:40:36.610Z] ---> a5f7db2e3c70 [2022-04-08T19:40:36.610Z] Step 12/22 : COPY Attribution.txt /tmp/sdk [2022-04-08T19:40:37.215Z] ---> e490217c366f [2022-04-08T19:40:37.215Z] Step 13/22 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2022-04-08T19:40:37.215Z] ---> Running in 9fd0227a5157 [2022-04-08T19:40:38.665Z] + CPPCHECK=false [2022-04-08T19:40:38.666Z] + DOCGEN=false [2022-04-08T19:40:38.666Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2022-04-08T19:40:38.666Z] + TOMLVER=SDK-0.2 [2022-04-08T19:40:38.666Z] + CUTILVER=1.2.2 [2022-04-08T19:40:38.666Z] + '[' 0 -gt 0 ] [2022-04-08T19:40:38.666Z] + readlink -f ./scripts/build.sh [2022-04-08T19:40:38.666Z] + dirname /tmp/sdk/scripts/build.sh [2022-04-08T19:40:38.666Z] + dirname /tmp/sdk/scripts [2022-04-08T19:40:38.666Z] + ROOT=/tmp/sdk [2022-04-08T19:40:38.666Z] + cd /tmp/sdk [2022-04-08T19:40:38.666Z] + '[' '!' -d deps ] [2022-04-08T19:40:38.666Z] + mkdir deps [2022-04-08T19:40:38.666Z] + tar -C deps -z -x -f - [2022-04-08T19:40:38.666Z] + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2022-04-08T19:40:38.666Z] Connecting to github.com (140.82.113.3:443) [2022-04-08T19:40:38.666Z] Connecting to codeload.github.com (140.82.113.10:443) [2022-04-08T19:40:38.939Z] writing to stdout [2022-04-08T19:40:38.939Z] - 100% |********************************| 16451 0:00:00 ETA [2022-04-08T19:40:38.939Z] written to stdout [2022-04-08T19:40:38.939Z] + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c [2022-04-08T19:40:38.939Z] + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.2.2.tar.gz [2022-04-08T19:40:38.939Z] + tar -C deps -z -x -f - [2022-04-08T19:40:38.939Z] Connecting to github.com (140.82.113.3:443) [2022-04-08T19:40:38.939Z] Connecting to codeload.github.com (140.82.113.10:443) [2022-04-08T19:40:39.214Z] writing to stdout [2022-04-08T19:40:39.488Z] - 100% |********************************| 189k 0:00:00 ETA [2022-04-08T19:40:39.488Z] written to stdout [2022-04-08T19:40:39.488Z] + mkdir -p src/c/iot [2022-04-08T19:40:39.488Z] + 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-04-08T19:40:39.488Z] + cp deps/iotech-c-utils-1.2.2/src/c/defs.h.in src/c/iot [2022-04-08T19:40:39.488Z] + cp deps/iotech-c-utils-1.2.2/src/c/yxml.h src/c/iot [2022-04-08T19:40:39.488Z] + cp deps/iotech-c-utils-1.2.2/VERSION src/c/iot [2022-04-08T19:40:39.488Z] + mkdir -p include/iot [2022-04-08T19:40:39.488Z] + 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-04-08T19:40:39.488Z] + mkdir -p include/iot/os [2022-04-08T19:40:39.488Z] + 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-04-08T19:40:39.488Z] + mkdir -p /tmp/sdk/build/release [2022-04-08T19:40:39.488Z] + cd /tmp/sdk/build/release [2022-04-08T19:40:39.488Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2022-04-08T19:40:39.760Z] -- The C compiler identification is GNU 10.3.1 [2022-04-08T19:40:40.034Z] -- Detecting C compiler ABI info [2022-04-08T19:40:40.306Z] -- Detecting C compiler ABI info - done [2022-04-08T19:40:40.306Z] -- Check for working C compiler: /usr/bin/cc - skipped [2022-04-08T19:40:40.306Z] -- Detecting C compile features [2022-04-08T19:40:40.306Z] -- Detecting C compile features - done [2022-04-08T19:40:40.306Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2022-04-08T19:40:40.578Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.80.0") [2022-04-08T19:40:40.578Z] -- Found LIBYAML: /usr/lib/libyaml.so [2022-04-08T19:40:40.578Z] -- Found LIBUUID: /usr/lib/libuuid.so [2022-04-08T19:40:40.578Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2022-04-08T19:40:40.853Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2022-04-08T19:40:40.853Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2022-04-08T19:40:40.853Z] -- C SDK 0.0.0 for Linux [2022-04-08T19:40:40.853Z] -- Performing Test CSDK_HAVE_ATOMIC [2022-04-08T19:40:41.127Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2022-04-08T19:40:41.401Z] -- Found Curses: /usr/lib/libcurses.so [2022-04-08T19:40:41.401Z] -- Configuring done [2022-04-08T19:40:41.675Z] -- Generating done [2022-04-08T19:40:41.675Z] -- Build files have been written to: /tmp/sdk/build/release [2022-04-08T19:40:41.675Z] + make all package [2022-04-08T19:40:41.675Z] + tee release.log [2022-04-08T19:40:41.947Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2022-04-08T19:40:42.924Z] [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2022-04-08T19:40:43.900Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2022-04-08T19:40:47.280Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2022-04-08T19:40:48.710Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2022-04-08T19:40:48.985Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2022-04-08T19:40:50.419Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2022-04-08T19:40:51.016Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o [2022-04-08T19:40:51.615Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2022-04-08T19:40:53.592Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2022-04-08T19:40:56.973Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2022-04-08T19:40:57.567Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2022-04-08T19:40:58.542Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2022-04-08T19:40:59.973Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2022-04-08T19:41:00.246Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2022-04-08T19:41:00.840Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2022-04-08T19:41:01.116Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2022-04-08T19:41:06.520Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2022-04-08T19:41:06.520Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2022-04-08T19:41:06.795Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2022-04-08T19:41:07.778Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2022-04-08T19:41:08.377Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2022-04-08T19:41:08.653Z] /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': [2022-04-08T19:41:08.653Z] /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] [2022-04-08T19:41:08.653Z] 275 | const iot_component_factory_t * factory; [2022-04-08T19:41:08.653Z] | ^~~~~~~ [2022-04-08T19:41:09.637Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2022-04-08T19:41:17.896Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2022-04-08T19:41:17.896Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2022-04-08T19:41:17.896Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2022-04-08T19:41:18.876Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2022-04-08T19:41:19.472Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2022-04-08T19:41:19.746Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2022-04-08T19:41:21.717Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2022-04-08T19:41:22.314Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2022-04-08T19:41:23.746Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2022-04-08T19:41:24.345Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o [2022-04-08T19:41:24.944Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2022-04-08T19:41:28.327Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2022-04-08T19:41:28.921Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2022-04-08T19:41:30.893Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2022-04-08T19:41:31.166Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2022-04-08T19:41:39.431Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2022-04-08T19:41:39.431Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2022-04-08T19:41:40.026Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2022-04-08T19:41:40.620Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2022-04-08T19:41:40.892Z] /tmp/sdk/src/c/rest-server.c: In function 'http_handler': [2022-04-08T19:41:40.892Z] /tmp/sdk/src/c/rest-server.c:394:67: warning: passing argument 3 of 'MHD_get_connection_values' from incompatible pointer type [-Wincompatible-pointer-types] [2022-04-08T19:41:40.892Z] 394 | MHD_get_connection_values (conn, MHD_GET_ARGUMENT_KIND, queryIterator, req.qparams); [2022-04-08T19:41:40.892Z] | ^~~~~~~~~~~~~ [2022-04-08T19:41:40.892Z] | | [2022-04-08T19:41:40.892Z] | int (*)(void *, enum MHD_ValueKind, const char *, const char *) [2022-04-08T19:41:40.892Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2022-04-08T19:41:40.892Z] /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-04-08T19:41:40.892Z] 2784 | MHD_KeyValueIterator iterator, [2022-04-08T19:41:40.892Z] | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ [2022-04-08T19:41:40.892Z] /tmp/sdk/src/c/rest-server.c: In function 'edgex_rest_server_create': [2022-04-08T19:41:40.892Z] /tmp/sdk/src/c/rest-server.c:501:58: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] [2022-04-08T19:41:40.892Z] 501 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_SOCK_ADDR, res->ai_addr, MHD_OPTION_END); [2022-04-08T19:41:40.892Z] | ^~~~~~~~~~~~ [2022-04-08T19:41:40.892Z] | | [2022-04-08T19:41:40.892Z] | 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-04-08T19:41:40.892Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2022-04-08T19:41:40.892Z] /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-04-08T19:41:40.892Z] 2480 | MHD_AccessHandlerCallback dh, void *dh_cls, [2022-04-08T19:41:40.892Z] | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ [2022-04-08T19:41:40.892Z] /tmp/sdk/src/c/rest-server.c:512:56: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] [2022-04-08T19:41:40.892Z] 512 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_END); [2022-04-08T19:41:40.892Z] | ^~~~~~~~~~~~ [2022-04-08T19:41:40.892Z] | | [2022-04-08T19:41:40.892Z] | 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-04-08T19:41:40.892Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2022-04-08T19:41:40.892Z] /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-04-08T19:41:40.892Z] 2480 | MHD_AccessHandlerCallback dh, void *dh_cls, [2022-04-08T19:41:40.892Z] | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ [2022-04-08T19:41:42.863Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2022-04-08T19:41:46.241Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2022-04-08T19:41:46.514Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2022-04-08T19:41:47.111Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2022-04-08T19:41:48.097Z] [ 70%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2022-04-08T19:41:52.392Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2022-04-08T19:41:57.776Z] [ 73%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2022-04-08T19:41:59.215Z] [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2022-04-08T19:42:00.203Z] [ 76%] Linking C shared library libcsdk.so [2022-04-08T19:42:00.203Z] [ 76%] Built target csdk [2022-04-08T19:42:00.203Z] [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2022-04-08T19:42:01.645Z] [ 79%] Linking C executable template [2022-04-08T19:42:01.918Z] [ 79%] Built target template [2022-04-08T19:42:01.918Z] [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2022-04-08T19:42:02.900Z] [ 82%] Linking C executable device-counter [2022-04-08T19:42:03.173Z] [ 82%] Built target device-counter [2022-04-08T19:42:03.173Z] [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2022-04-08T19:42:04.155Z] [ 85%] Linking C executable device-random [2022-04-08T19:42:04.427Z] [ 85%] Built target device-random [2022-04-08T19:42:04.702Z] [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2022-04-08T19:42:05.303Z] [ 88%] Linking C executable device-gyro [2022-04-08T19:42:05.902Z] [ 88%] Built target device-gyro [2022-04-08T19:42:05.902Z] [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2022-04-08T19:42:06.501Z] [ 91%] Linking C executable device-bitfields [2022-04-08T19:42:07.102Z] [ 91%] Built target device-bitfields [2022-04-08T19:42:07.102Z] [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2022-04-08T19:42:08.543Z] [ 94%] Linking C executable template-discovery [2022-04-08T19:42:08.839Z] [ 94%] Built target template-discovery [2022-04-08T19:42:08.839Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2022-04-08T19:42:10.275Z] [ 97%] Linking C executable device-file [2022-04-08T19:42:10.549Z] [ 97%] Built target device-file [2022-04-08T19:42:10.549Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2022-04-08T19:42:11.533Z] [100%] Linking C executable device-terminal [2022-04-08T19:42:12.133Z] [100%] Built target device-terminal [2022-04-08T19:42:12.133Z] Run CPack packaging tool... [2022-04-08T19:42:12.133Z] CPack: Create package using TGZ [2022-04-08T19:42:12.133Z] CPack: Install projects [2022-04-08T19:42:12.133Z] CPack: - Run preinstall target for: Csdk [2022-04-08T19:42:13.118Z] CPack: - Install project: Csdk [] [2022-04-08T19:42:13.118Z] CPack: Create package [2022-04-08T19:42:13.393Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2022-04-08T19:42:13.393Z] + '[' false '=' true ] [2022-04-08T19:42:13.393Z] + '[' false '=' true ] [2022-04-08T19:42:13.393Z] + mkdir -p /tmp/sdk/build/debug [2022-04-08T19:42:13.393Z] + cd /tmp/sdk/build/debug [2022-04-08T19:42:13.393Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2022-04-08T19:42:13.670Z] -- The C compiler identification is GNU 10.3.1 [2022-04-08T19:42:13.946Z] -- Detecting C compiler ABI info [2022-04-08T19:42:14.224Z] -- Detecting C compiler ABI info - done [2022-04-08T19:42:14.224Z] -- Check for working C compiler: /usr/bin/cc - skipped [2022-04-08T19:42:14.224Z] -- Detecting C compile features [2022-04-08T19:42:14.224Z] -- Detecting C compile features - done [2022-04-08T19:42:14.224Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2022-04-08T19:42:14.504Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.80.0") [2022-04-08T19:42:14.504Z] -- Found LIBYAML: /usr/lib/libyaml.so [2022-04-08T19:42:14.504Z] -- Found LIBUUID: /usr/lib/libuuid.so [2022-04-08T19:42:14.504Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2022-04-08T19:42:14.783Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2022-04-08T19:42:14.784Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2022-04-08T19:42:14.784Z] -- C SDK 0.0.0 for Linux [2022-04-08T19:42:14.784Z] -- Performing Test CSDK_HAVE_ATOMIC [2022-04-08T19:42:15.062Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2022-04-08T19:42:15.339Z] -- Found Curses: /usr/lib/libcurses.so [2022-04-08T19:42:15.339Z] -- Configuring done [2022-04-08T19:42:15.943Z] -- Generating done [2022-04-08T19:42:15.943Z] -- Build files have been written to: /tmp/sdk/build/debug [2022-04-08T19:42:15.943Z] + make [2022-04-08T19:42:15.943Z] + tee debug.log [2022-04-08T19:42:15.943Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2022-04-08T19:42:16.546Z] [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2022-04-08T19:42:17.148Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2022-04-08T19:42:18.132Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2022-04-08T19:42:18.730Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2022-04-08T19:42:19.005Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2022-04-08T19:42:19.607Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2022-04-08T19:42:20.210Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o [2022-04-08T19:42:20.486Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2022-04-08T19:42:21.474Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2022-04-08T19:42:22.076Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2022-04-08T19:42:22.676Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2022-04-08T19:42:23.272Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2022-04-08T19:42:23.872Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2022-04-08T19:42:24.148Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2022-04-08T19:42:24.424Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2022-04-08T19:42:25.024Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2022-04-08T19:42:26.463Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2022-04-08T19:42:26.738Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2022-04-08T19:42:27.015Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2022-04-08T19:42:27.302Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2022-04-08T19:42:27.900Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2022-04-08T19:42:27.900Z] /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': [2022-04-08T19:42:27.900Z] /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] [2022-04-08T19:42:27.900Z] 275 | const iot_component_factory_t * factory; [2022-04-08T19:42:27.900Z] | ^~~~~~~ [2022-04-08T19:42:28.508Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2022-04-08T19:42:30.497Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2022-04-08T19:42:30.497Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2022-04-08T19:42:30.771Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2022-04-08T19:42:31.048Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2022-04-08T19:42:31.647Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2022-04-08T19:42:31.647Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2022-04-08T19:42:32.246Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2022-04-08T19:42:32.518Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2022-04-08T19:42:33.115Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2022-04-08T19:42:33.389Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o [2022-04-08T19:42:33.664Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2022-04-08T19:42:34.266Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2022-04-08T19:42:34.869Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2022-04-08T19:42:35.467Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2022-04-08T19:42:36.066Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2022-04-08T19:42:37.508Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2022-04-08T19:42:38.106Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2022-04-08T19:42:38.702Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2022-04-08T19:42:38.978Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2022-04-08T19:42:39.253Z] /tmp/sdk/src/c/rest-server.c: In function 'http_handler': [2022-04-08T19:42:39.253Z] /tmp/sdk/src/c/rest-server.c:394:67: warning: passing argument 3 of 'MHD_get_connection_values' from incompatible pointer type [-Wincompatible-pointer-types] [2022-04-08T19:42:39.253Z] 394 | MHD_get_connection_values (conn, MHD_GET_ARGUMENT_KIND, queryIterator, req.qparams); [2022-04-08T19:42:39.253Z] | ^~~~~~~~~~~~~ [2022-04-08T19:42:39.253Z] | | [2022-04-08T19:42:39.253Z] | int (*)(void *, enum MHD_ValueKind, const char *, const char *) [2022-04-08T19:42:39.253Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2022-04-08T19:42:39.253Z] /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-04-08T19:42:39.253Z] 2784 | MHD_KeyValueIterator iterator, [2022-04-08T19:42:39.253Z] | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ [2022-04-08T19:42:39.253Z] /tmp/sdk/src/c/rest-server.c: In function 'edgex_rest_server_create': [2022-04-08T19:42:39.253Z] /tmp/sdk/src/c/rest-server.c:501:58: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] [2022-04-08T19:42:39.253Z] 501 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_SOCK_ADDR, res->ai_addr, MHD_OPTION_END); [2022-04-08T19:42:39.253Z] | ^~~~~~~~~~~~ [2022-04-08T19:42:39.253Z] | | [2022-04-08T19:42:39.253Z] | 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-04-08T19:42:39.253Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2022-04-08T19:42:39.254Z] /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-04-08T19:42:39.254Z] 2480 | MHD_AccessHandlerCallback dh, void *dh_cls, [2022-04-08T19:42:39.254Z] | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ [2022-04-08T19:42:39.254Z] /tmp/sdk/src/c/rest-server.c:512:56: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] [2022-04-08T19:42:39.254Z] 512 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_END); [2022-04-08T19:42:39.254Z] | ^~~~~~~~~~~~ [2022-04-08T19:42:39.254Z] | | [2022-04-08T19:42:39.254Z] | 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-04-08T19:42:39.254Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2022-04-08T19:42:39.254Z] /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-04-08T19:42:39.254Z] 2480 | MHD_AccessHandlerCallback dh, void *dh_cls, [2022-04-08T19:42:39.254Z] | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ [2022-04-08T19:42:39.852Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2022-04-08T19:42:41.834Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2022-04-08T19:42:42.110Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2022-04-08T19:42:42.708Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2022-04-08T19:42:43.307Z] [ 70%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2022-04-08T19:42:44.293Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2022-04-08T19:42:45.734Z] [ 73%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2022-04-08T19:42:46.007Z] [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2022-04-08T19:42:46.282Z] [ 76%] Linking C shared library libcsdk.so [2022-04-08T19:42:46.881Z] [ 76%] Built target csdk [2022-04-08T19:42:46.882Z] [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2022-04-08T19:42:47.157Z] [ 79%] Linking C executable template [2022-04-08T19:42:47.758Z] [ 79%] Built target template [2022-04-08T19:42:47.758Z] [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2022-04-08T19:42:48.357Z] [ 82%] Linking C executable device-counter [2022-04-08T19:42:48.632Z] [ 82%] Built target device-counter [2022-04-08T19:42:48.632Z] [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2022-04-08T19:42:49.229Z] [ 85%] Linking C executable device-random [2022-04-08T19:42:49.505Z] [ 85%] Built target device-random [2022-04-08T19:42:49.505Z] [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2022-04-08T19:42:50.112Z] [ 88%] Linking C executable device-gyro [2022-04-08T19:42:50.387Z] [ 88%] Built target device-gyro [2022-04-08T19:42:50.663Z] [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2022-04-08T19:42:50.936Z] [ 91%] Linking C executable device-bitfields [2022-04-08T19:42:51.536Z] [ 91%] Built target device-bitfields [2022-04-08T19:42:51.536Z] [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2022-04-08T19:42:51.810Z] [ 94%] Linking C executable template-discovery [2022-04-08T19:42:52.411Z] [ 94%] Built target template-discovery [2022-04-08T19:42:52.411Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2022-04-08T19:42:53.009Z] [ 97%] Linking C executable device-file [2022-04-08T19:42:53.287Z] [ 97%] Built target device-file [2022-04-08T19:42:53.287Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2022-04-08T19:42:53.889Z] [100%] Linking C executable device-terminal [2022-04-08T19:42:54.492Z] [100%] Built target device-terminal [2022-04-08T19:42:54.492Z] make: Entering directory '/tmp/sdk/build/release' [2022-04-08T19:42:54.492Z] make[1]: Entering directory '/tmp/sdk/build/release' [2022-04-08T19:42:54.492Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-04-08T19:42:54.770Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-04-08T19:42:54.770Z] [ 76%] Built target csdk [2022-04-08T19:42:54.770Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-04-08T19:42:54.770Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-04-08T19:42:54.770Z] [ 79%] Built target template [2022-04-08T19:42:54.770Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-04-08T19:42:54.770Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-04-08T19:42:54.770Z] [ 82%] Built target device-counter [2022-04-08T19:42:54.770Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-04-08T19:42:55.046Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-04-08T19:42:55.046Z] [ 85%] Built target device-random [2022-04-08T19:42:55.046Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-04-08T19:42:55.046Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-04-08T19:42:55.046Z] [ 88%] Built target device-gyro [2022-04-08T19:42:55.046Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-04-08T19:42:55.046Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-04-08T19:42:55.046Z] [ 91%] Built target device-bitfields [2022-04-08T19:42:55.046Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-04-08T19:42:55.046Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-04-08T19:42:55.046Z] [ 94%] Built target template-discovery [2022-04-08T19:42:55.046Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-04-08T19:42:55.046Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-04-08T19:42:55.320Z] [ 97%] Built target device-file [2022-04-08T19:42:55.320Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-04-08T19:42:55.320Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-04-08T19:42:55.320Z] [100%] Built target device-terminal [2022-04-08T19:42:55.320Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2022-04-08T19:42:55.320Z] Install the project... [2022-04-08T19:42:55.320Z] -- Install configuration: "Release" [2022-04-08T19:42:55.320Z] -- Installing: /usr/local/lib/libcsdk.so [2022-04-08T19:42:55.320Z] -- Installing: /usr/local/include [2022-04-08T19:42:55.320Z] -- Installing: /usr/local/include/devsdk [2022-04-08T19:42:55.320Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2022-04-08T19:42:55.320Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2022-04-08T19:42:55.320Z] -- Installing: /usr/local/include/edgex [2022-04-08T19:42:55.320Z] -- Installing: /usr/local/include/edgex/rest-server.h [2022-04-08T19:42:55.320Z] -- Installing: /usr/local/include/edgex/edgex.h [2022-04-08T19:42:55.320Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2022-04-08T19:42:55.320Z] -- Installing: /usr/local/include/edgex/devices.h [2022-04-08T19:42:55.320Z] -- Installing: /usr/local/include/edgex/profiles.h [2022-04-08T19:42:55.320Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2022-04-08T19:42:55.320Z] -- Installing: /usr/local/include/iot [2022-04-08T19:42:55.320Z] -- Installing: /usr/local/include/iot/threadpool.h [2022-04-08T19:42:55.320Z] -- Installing: /usr/local/include/iot/defs.h [2022-04-08T19:42:55.320Z] -- Installing: /usr/local/include/iot/time.h [2022-04-08T19:42:55.320Z] -- Installing: /usr/local/include/iot/base64.h [2022-04-08T19:42:55.320Z] -- Installing: /usr/local/include/iot/component.h [2022-04-08T19:42:55.320Z] -- Installing: /usr/local/include/iot/scheduler.h [2022-04-08T19:42:55.320Z] -- Installing: /usr/local/include/iot/config.h [2022-04-08T19:42:55.320Z] -- Installing: /usr/local/include/iot/container.h [2022-04-08T19:42:55.320Z] -- Installing: /usr/local/include/iot/uuid.h [2022-04-08T19:42:55.320Z] -- Installing: /usr/local/include/iot/os.h [2022-04-08T19:42:55.320Z] -- Installing: /usr/local/include/iot/thread.h [2022-04-08T19:42:55.320Z] -- Installing: /usr/local/include/iot/data.h [2022-04-08T19:42:55.320Z] -- Installing: /usr/local/include/iot/typecode.h [2022-04-08T19:42:55.320Z] -- Installing: /usr/local/include/iot/hash.h [2022-04-08T19:42:55.320Z] -- Installing: /usr/local/include/iot/logger.h [2022-04-08T19:42:55.320Z] -- Installing: /usr/local/include/iot/os [2022-04-08T19:42:55.320Z] -- Installing: /usr/local/include/iot/os/zephyr.h [2022-04-08T19:42:55.320Z] -- Installing: /usr/local/include/iot/os/macos.h [2022-04-08T19:42:55.320Z] -- Installing: /usr/local/include/iot/os/linux.h [2022-04-08T19:42:55.320Z] -- Installing: /usr/local/include/iot/json.h [2022-04-08T19:42:55.320Z] -- Installing: /usr/local/include/iot/iot.h [2022-04-08T19:42:55.320Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2022-04-08T19:42:55.320Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2022-04-08T19:42:55.320Z] make: Leaving directory '/tmp/sdk/build/release' [2022-04-08T19:42:57.313Z] Removing intermediate container 9fd0227a5157 [2022-04-08T19:42:57.313Z] ---> fe9f99ab2be5 [2022-04-08T19:42:57.313Z] Step 14/22 : FROM ${BASE} [2022-04-08T19:42:57.313Z] ---> 69c73aa914e4 [2022-04-08T19:42:57.313Z] Step 15/22 : LABEL maintainer="IOTech " [2022-04-08T19:42:57.313Z] ---> Running in af93daf42eb3 [2022-04-08T19:42:57.918Z] Removing intermediate container af93daf42eb3 [2022-04-08T19:42:57.918Z] ---> 924ffacfafb6 [2022-04-08T19:42:57.918Z] 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-04-08T19:42:57.918Z] ---> Running in 04bea634c5f9 [2022-04-08T19:42:58.913Z] Connecting to iotech.jfrog.io (52.50.143.190:443) [2022-04-08T19:42:59.514Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2022-04-08T19:42:59.515Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2022-04-08T19:42:59.515Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2022-04-08T19:43:00.130Z] Removing intermediate container 04bea634c5f9 [2022-04-08T19:43:00.130Z] ---> 3513a8b7599a [2022-04-08T19:43:00.130Z] Step 17/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main' >> /etc/apk/repositories [2022-04-08T19:43:00.130Z] ---> Running in 17d25e1d3d45 [2022-04-08T19:43:02.126Z] Removing intermediate container 17d25e1d3d45 [2022-04-08T19:43:02.126Z] ---> 516248fcfaf2 [2022-04-08T19:43:02.126Z] 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-04-08T19:43:02.126Z] ---> Running in 569d3af8c0a6 [2022-04-08T19:43:03.565Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-08T19:43:04.168Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-08T19:43:04.772Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-08T19:43:05.756Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2022-04-08T19:43:05.756Z] (1/6) Installing curl (7.80.0-r0) [2022-04-08T19:43:05.756Z] (2/6) Installing hiredis (1.0.2-r0) [2022-04-08T19:43:06.031Z] (3/6) Installing hiredis-dev (1.0.2-r0) [2022-04-08T19:43:06.031Z] (4/6) Installing libcbor (0.8.0-r0) [2022-04-08T19:43:06.031Z] (5/6) Installing libuuid (2.37.4-r0) [2022-04-08T19:43:06.306Z] (6/6) Installing paho-mqtt-c-dev-1.3 (1.3.9-r0) [2022-04-08T19:43:07.287Z] Executing busybox-1.34.1-r5.trigger [2022-04-08T19:43:07.287Z] OK: 278 MiB in 83 packages [2022-04-08T19:43:08.285Z] Removing intermediate container 569d3af8c0a6 [2022-04-08T19:43:08.285Z] ---> a44e623ed6bf [2022-04-08T19:43:08.285Z] Step 19/22 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot [2022-04-08T19:43:08.884Z] ---> b2ca1474a040 [2022-04-08T19:43:08.884Z] Step 20/22 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2022-04-08T19:43:09.494Z] ---> 3f2a6fb6e9f2 [2022-04-08T19:43:09.494Z] Step 21/22 : COPY --from=builder /usr/local/lib /usr/local/lib [2022-04-08T19:43:10.478Z] ---> 638b4004bcf6 [2022-04-08T19:43:10.478Z] Step 22/22 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2022-04-08T19:43:11.077Z] ---> 85724d107cad [2022-04-08T19:43:11.077Z] Successfully built 85724d107cad [2022-04-08T19:43:11.077Z] 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-04-08T19:43:11.721Z] + docker inspect -f . ci-base-image-arm64 [2022-04-08T19:43:11.721Z] . [Pipeline] withDockerContainer [2022-04-08T19:43:12.024Z] prd-ubuntu20.04-docker-arm64-4c-16g-11667 does not seem to be running inside a container [2022-04-08T19:43:12.126Z] $ 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 ******** -e ******** ci-base-image-arm64 cat [2022-04-08T19:43:13.611Z] $ docker top a4c8ad34931eb75ad5719bf174e001f6a4cec010a89b689dcf2255f8a936f273 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-08T19:43:14.627Z] + make test [2022-04-08T19:43:14.627Z] echo "make test" [2022-04-08T19:43:14.627Z] make test [Pipeline] } [2022-04-08T19:43:14.674Z] $ docker stop --time=1 a4c8ad34931eb75ad5719bf174e001f6a4cec010a89b689dcf2255f8a936f273 [2022-04-08T19:43:16.432Z] $ docker rm -f a4c8ad34931eb75ad5719bf174e001f6a4cec010a89b689dcf2255f8a936f273 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-08T19:43:17.336Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-04-08T19:43:17.712Z] + ls -al . [2022-04-08T19:43:17.713Z] total 204 [2022-04-08T19:43:17.713Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 8 19:39 . [2022-04-08T19:43:17.713Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 8 19:39 .. [2022-04-08T19:43:17.713Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 8 19:39 .git [2022-04-08T19:43:17.713Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 8 19:39 .github [2022-04-08T19:43:17.713Z] -rw-rw-r-- 1 jenkins jenkins 176 Apr 8 19:39 .gitignore [2022-04-08T19:43:17.713Z] -rw-rw-r-- 1 jenkins jenkins 3104 Apr 8 19:39 Attribution.txt [2022-04-08T19:43:17.713Z] -rw-rw-r-- 1 jenkins jenkins 8321 Apr 8 19:39 CHANGES [2022-04-08T19:43:17.713Z] -rw-rw-r-- 1 jenkins jenkins 108574 Apr 8 19:39 Doxyfile [2022-04-08T19:43:17.713Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 8 19:39 GOVERNANCE.md [2022-04-08T19:43:17.713Z] -rw-rw-r-- 1 jenkins jenkins 784 Apr 8 19:39 Jenkinsfile [2022-04-08T19:43:17.713Z] -rw-rw-r-- 1 jenkins jenkins 10174 Apr 8 19:39 LICENSE [2022-04-08T19:43:17.713Z] -rw-rw-r-- 1 jenkins jenkins 444 Apr 8 19:39 Makefile [2022-04-08T19:43:17.713Z] -rw-rw-r-- 1 jenkins jenkins 618 Apr 8 19:39 OWNERS.md [2022-04-08T19:43:17.713Z] -rw-rw-r-- 1 jenkins jenkins 4086 Apr 8 19:39 README.md [2022-04-08T19:43:17.713Z] -rw-rw-r-- 1 jenkins jenkins 7422 Apr 8 19:39 README.v2.md [2022-04-08T19:43:17.713Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 8 19:34 VERSION [2022-04-08T19:43:17.713Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 8 19:39 docs [2022-04-08T19:43:17.713Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 8 19:39 include [2022-04-08T19:43:17.713Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 8 19:39 scripts [2022-04-08T19:43:17.713Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 8 19:39 src [Pipeline] isUnix [Pipeline] sh [2022-04-08T19:43:18.093Z] + 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=0218c36016b164fa0fbc91c23212454971795544 --label arch=arm64 --label version=0.0.0 . [2022-04-08T19:43:18.700Z] Sending build context to Docker daemon 2.75MB [2022-04-08T19:43:18.700Z] Step 1/17 : ARG BASE=alpine:3.15 [2022-04-08T19:43:18.700Z] Step 2/17 : FROM ${BASE} [2022-04-08T19:43:18.700Z] ---> 85724d107cad [2022-04-08T19:43:18.700Z] Step 3/17 : LABEL maintainer="IOTech " [2022-04-08T19:43:18.700Z] ---> Running in 4680eecf9b86 [2022-04-08T19:43:18.982Z] Removing intermediate container 4680eecf9b86 [2022-04-08T19:43:18.982Z] ---> 31d891f14635 [2022-04-08T19:43:18.982Z] 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-04-08T19:43:19.259Z] ---> Running in 50bdb3248a45 [2022-04-08T19:43:20.250Z] Connecting to iotech.jfrog.io (52.49.191.191:443) [2022-04-08T19:43:20.989Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2022-04-08T19:43:20.989Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2022-04-08T19:43:20.989Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2022-04-08T19:43:21.663Z] Removing intermediate container 50bdb3248a45 [2022-04-08T19:43:21.663Z] ---> 1c273abe13e1 [2022-04-08T19:43:21.663Z] Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main' >> /etc/apk/repositories [2022-04-08T19:43:21.663Z] ---> Running in b7a3edcbdfa9 [2022-04-08T19:43:24.385Z] Removing intermediate container b7a3edcbdfa9 [2022-04-08T19:43:24.385Z] ---> 74bac991c262 [2022-04-08T19:43:24.385Z] 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-04-08T19:43:24.385Z] ---> Running in e383c2d4efef [2022-04-08T19:43:25.406Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-08T19:43:26.411Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-08T19:43:26.694Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-08T19:43:27.695Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2022-04-08T19:43:27.695Z] (1/26) Installing libcbor-dev (0.8.0-r0) [2022-04-08T19:43:27.970Z] (2/26) Installing ncurses-dev (6.3_p20211120-r0) [2022-04-08T19:43:27.970Z] (3/26) Installing util-linux (2.37.4-r0) [2022-04-08T19:43:27.970Z] (4/26) Installing libblkid (2.37.4-r0) [2022-04-08T19:43:28.246Z] (5/26) Installing libeconf (0.4.2-r0) [2022-04-08T19:43:28.246Z] (6/26) Installing libfdisk (2.37.4-r0) [2022-04-08T19:43:28.522Z] (7/26) Installing libmount (2.37.4-r0) [2022-04-08T19:43:28.522Z] (8/26) Installing libsmartcols (2.37.4-r0) [2022-04-08T19:43:28.522Z] (9/26) Installing util-linux-misc (2.37.4-r0) [2022-04-08T19:43:29.120Z] (10/26) Installing linux-pam (1.5.2-r0) [2022-04-08T19:43:29.120Z] (11/26) Installing runuser (2.37.4-r0) [2022-04-08T19:43:29.120Z] (12/26) Installing hexdump (2.37.4-r0) [2022-04-08T19:43:29.393Z] (13/26) Installing uuidgen (2.37.4-r0) [2022-04-08T19:43:29.393Z] (14/26) Installing blkid (2.37.4-r0) [2022-04-08T19:43:29.393Z] (15/26) Installing sfdisk (2.37.4-r0) [2022-04-08T19:43:29.667Z] (16/26) Installing mcookie (2.37.4-r0) [2022-04-08T19:43:29.667Z] (17/26) Installing wipefs (2.37.4-r0) [2022-04-08T19:43:29.667Z] (18/26) Installing cfdisk (2.37.4-r0) [2022-04-08T19:43:29.944Z] (19/26) Installing flock (2.37.4-r0) [2022-04-08T19:43:29.944Z] (20/26) Installing lsblk (2.37.4-r0) [2022-04-08T19:43:29.944Z] (21/26) Installing libcap-ng (0.8.2-r1) [2022-04-08T19:43:30.222Z] (22/26) Installing setpriv (2.37.4-r0) [2022-04-08T19:43:30.222Z] (23/26) Installing logger (2.37.4-r0) [2022-04-08T19:43:30.222Z] (24/26) Installing partx (2.37.4-r0) [2022-04-08T19:43:30.497Z] (25/26) Installing findmnt (2.37.4-r0) [2022-04-08T19:43:30.497Z] (26/26) Installing util-linux-dev (2.37.4-r0) [2022-04-08T19:43:30.497Z] Executing busybox-1.34.1-r5.trigger [2022-04-08T19:43:30.774Z] OK: 290 MiB in 109 packages [2022-04-08T19:43:32.763Z] Removing intermediate container e383c2d4efef [2022-04-08T19:43:32.763Z] ---> eb9c1bf11399 [2022-04-08T19:43:32.763Z] Step 7/17 : COPY VERSION /edgex-c-sdk/ [2022-04-08T19:43:33.037Z] ---> 3f9c7d5b0ba8 [2022-04-08T19:43:33.037Z] Step 8/17 : COPY src /edgex-c-sdk/src/ [2022-04-08T19:43:34.023Z] ---> bbf16fc78e39 [2022-04-08T19:43:34.023Z] Step 9/17 : COPY include /edgex-c-sdk/include/ [2022-04-08T19:43:34.624Z] ---> aecd55ba8337 [2022-04-08T19:43:34.624Z] Step 10/17 : COPY scripts /edgex-c-sdk/scripts [2022-04-08T19:43:35.224Z] ---> a148f6c3d7f4 [2022-04-08T19:43:35.224Z] Step 11/17 : COPY LICENSE /edgex-c-sdk/ [2022-04-08T19:43:35.826Z] ---> e2e70b74dd6b [2022-04-08T19:43:35.826Z] Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ [2022-04-08T19:43:36.427Z] ---> 400d0e0ff443 [2022-04-08T19:43:36.427Z] Step 13/17 : WORKDIR /edgex-c-sdk [2022-04-08T19:43:36.427Z] ---> Running in 686f2b34376b [2022-04-08T19:43:36.713Z] Removing intermediate container 686f2b34376b [2022-04-08T19:43:36.713Z] ---> 91f3780efce9 [2022-04-08T19:43:36.713Z] Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2022-04-08T19:43:36.995Z] ---> Running in 3940354c3633 [2022-04-08T19:43:37.268Z] Removing intermediate container 3940354c3633 [2022-04-08T19:43:37.268Z] ---> 18cd3ab358e1 [2022-04-08T19:43:37.268Z] Step 15/17 : LABEL arch=arm64 [2022-04-08T19:43:37.268Z] ---> Running in cff046567b04 [2022-04-08T19:43:37.871Z] Removing intermediate container cff046567b04 [2022-04-08T19:43:37.871Z] ---> f3d802ea9d96 [2022-04-08T19:43:37.871Z] Step 16/17 : LABEL git_sha=0218c36016b164fa0fbc91c23212454971795544 [2022-04-08T19:43:37.871Z] ---> Running in a46f7135720f [2022-04-08T19:43:38.147Z] Removing intermediate container a46f7135720f [2022-04-08T19:43:38.147Z] ---> 99a4a7774633 [2022-04-08T19:43:38.147Z] Step 17/17 : LABEL version=0.0.0 [2022-04-08T19:43:38.147Z] ---> Running in a7a1a8f23124 [2022-04-08T19:43:38.748Z] Removing intermediate container a7a1a8f23124 [2022-04-08T19:43:38.748Z] ---> 19db0bb0a0dc [2022-04-08T19:43:38.748Z] [Warning] One or more build-args [MAKE ARCH] were not consumed [2022-04-08T19:43:38.748Z] Successfully built 19db0bb0a0dc [2022-04-08T19:43:38.748Z] 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-04-08T19:43:39.431Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-08T19:43:39.431Z] [2022-04-08T19:43:39.431Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-04-08T19:43:39.816Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-08T19:43:40.094Z] arm64: Pulling from edgex-lftools-log-publisher [2022-04-08T19:43:40.094Z] 8998bd30e6a1: Pulling fs layer [2022-04-08T19:43:40.094Z] 04944245beec: Pulling fs layer [2022-04-08T19:43:40.094Z] 699f458cf7ca: Pulling fs layer [2022-04-08T19:43:40.094Z] 765212b225bb: Pulling fs layer [2022-04-08T19:43:40.094Z] f23df028b6ca: Pulling fs layer [2022-04-08T19:43:40.094Z] d65c8cfc05b1: Pulling fs layer [2022-04-08T19:43:40.094Z] 2437ff75d9bd: Pulling fs layer [2022-04-08T19:43:40.094Z] f23df028b6ca: Waiting [2022-04-08T19:43:40.094Z] 765212b225bb: Waiting [2022-04-08T19:43:40.094Z] d65c8cfc05b1: Waiting [2022-04-08T19:43:40.094Z] 2437ff75d9bd: Waiting [2022-04-08T19:43:40.094Z] 04944245beec: Verifying Checksum [2022-04-08T19:43:40.094Z] 765212b225bb: Verifying Checksum [2022-04-08T19:43:40.094Z] 765212b225bb: Download complete [2022-04-08T19:43:40.370Z] f23df028b6ca: Verifying Checksum [2022-04-08T19:43:40.370Z] f23df028b6ca: Download complete [2022-04-08T19:43:40.370Z] d65c8cfc05b1: Verifying Checksum [2022-04-08T19:43:40.370Z] d65c8cfc05b1: Download complete [2022-04-08T19:43:40.370Z] 699f458cf7ca: Verifying Checksum [2022-04-08T19:43:40.370Z] 699f458cf7ca: Download complete [2022-04-08T19:43:40.974Z] 8998bd30e6a1: Verifying Checksum [2022-04-08T19:43:40.974Z] 8998bd30e6a1: Download complete [2022-04-08T19:43:42.968Z] 2437ff75d9bd: Verifying Checksum [2022-04-08T19:43:42.968Z] 2437ff75d9bd: Download complete [2022-04-08T19:43:45.599Z] 8998bd30e6a1: Pull complete [2022-04-08T19:43:45.872Z] 04944245beec: Pull complete [2022-04-08T19:43:47.317Z] 699f458cf7ca: Pull complete [2022-04-08T19:43:47.595Z] 765212b225bb: Pull complete [2022-04-08T19:43:48.574Z] f23df028b6ca: Pull complete [2022-04-08T19:43:48.574Z] d65c8cfc05b1: Pull complete [2022-04-08T19:44:03.671Z] 2437ff75d9bd: Pull complete [2022-04-08T19:44:03.671Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-04-08T19:44:03.671Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-08T19:44:03.671Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-04-08T19:44:03.934Z] prd-ubuntu20.04-docker-arm64-4c-16g-11667 does not seem to be running inside a container [2022-04-08T19:44:04.039Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-04-08T19:44:06.845Z] $ docker top 389a875d57f0e811149919e6fce33211c71f022a9c89225c5cc3bca3d77be509 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-08T19:44:07.872Z] ---> job-cost.sh [2022-04-08T19:44:07.872Z] lf-activate-venv: SKIPPING [2022-04-08T19:44:07.872Z] INFO: No Stack... [2022-04-08T19:44:08.467Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-04-08T19:44:09.446Z] INFO: Archiving Costs [Pipeline] sh [2022-04-08T19:44:10.140Z] + cat /w/workspace/device-sdk-c/1/archives/cost.csv [2022-04-08T19:44:10.140Z] + cut -d, -f6 [Pipeline] lock [2022-04-08T19:44:10.247Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-408-1-stack-cost] [2022-04-08T19:44:10.252Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-408-1-stack-cost] did not exist. Created. [2022-04-08T19:44:10.252Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-408-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-08T19:44:11.004Z] /w/workspace/device-sdk-c/1@tmp/durable-dfaeabdb/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-04-08T19:44:11.718Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-04-08T19:44:11.762Z] Warning: overwriting stash ‘stack-cost’ [2022-04-08T19:44:12.415Z] Stashed 1 file(s) [Pipeline] } [2022-04-08T19:44:12.430Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-408-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-08T19:44:12.514Z] $ docker stop --time=1 389a875d57f0e811149919e6fce33211c71f022a9c89225c5cc3bca3d77be509 [2022-04-08T19:44:14.111Z] $ docker rm -f 389a875d57f0e811149919e6fce33211c71f022a9c89225c5cc3bca3d77be509 [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-04-08T19:44:15.988Z] + [ -d /w/workspace/edgexfoundry_device-sdk-c_PR-408/archives ] [2022-04-08T19:44:15.988Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-408/archives [2022-04-08T19:44:15.988Z] total 16 [2022-04-08T19:44:15.988Z] drwxr-xr-x 3 root root 4096 Apr 8 19:35 . [2022-04-08T19:44:15.988Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 8 19:35 .. [2022-04-08T19:44:15.988Z] drwxr-xr-x 2 root root 4096 Apr 8 19:35 cost [2022-04-08T19:44:15.988Z] -rw-r--r-- 1 root root 83 Apr 8 19:35 cost.csv [2022-04-08T19:44:15.988Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_PR-408/archives [2022-04-08T19:44:15.988Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-408/archives [2022-04-08T19:44:15.988Z] total 16 [2022-04-08T19:44:15.988Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 8 19:35 . [2022-04-08T19:44:15.988Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 8 19:35 .. [2022-04-08T19:44:15.988Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 8 19:35 cost [2022-04-08T19:44:15.988Z] -rw-r--r-- 1 jenkins jenkins 83 Apr 8 19:35 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-04-08T19:44:16.314Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-08T19:44:17.207Z] ---> package-listing.sh [2022-04-08T19:44:17.207Z] ++ tr '[:upper:]' '[:lower:]' [2022-04-08T19:44:17.207Z] ++ facter osfamily [2022-04-08T19:44:17.467Z] + OS_FAMILY=debian [2022-04-08T19:44:17.467Z] + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-408 [2022-04-08T19:44:17.467Z] + START_PACKAGES=/tmp/packages_start.txt [2022-04-08T19:44:17.467Z] + END_PACKAGES=/tmp/packages_end.txt [2022-04-08T19:44:17.467Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-04-08T19:44:17.467Z] + PACKAGES=/tmp/packages_start.txt [2022-04-08T19:44:17.467Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-408 ']' [2022-04-08T19:44:17.467Z] + PACKAGES=/tmp/packages_end.txt [2022-04-08T19:44:17.467Z] + case "${OS_FAMILY}" in [2022-04-08T19:44:17.467Z] + dpkg -l [2022-04-08T19:44:17.467Z] + grep '^ii' [2022-04-08T19:44:17.467Z] + '[' -f /tmp/packages_start.txt ']' [2022-04-08T19:44:17.467Z] + '[' -f /tmp/packages_end.txt ']' [2022-04-08T19:44:17.467Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-04-08T19:44:17.467Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-408 ']' [2022-04-08T19:44:17.467Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-408/archives/ [2022-04-08T19:44:17.467Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-408/archives/ [Pipeline] echo [2022-04-08T19:44:17.502Z] 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-408/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-04-08T19:44:17.800Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-04-08T19:44:18.384Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-08T19:44:18.384Z] . [Pipeline] withDockerContainer [2022-04-08T19:44:18.476Z] prd-ubuntu20.04-docker-8c-8g-11666 does not seem to be running inside a container [2022-04-08T19:44:18.527Z] $ 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-408/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-408 -v /w/workspace/edgexfoundry_device-sdk-c_PR-408:/w/workspace/edgexfoundry_device-sdk-c_PR-408:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-408@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-408@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-04-08T19:44:18.720Z] $ docker top 41d7a7f47a62696d0dced5de338399ca94d8c5ef1b0b161a36bb3cae058d7988 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-08T19:44:19.112Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-04-08T19:44:19.425Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-04-08T19:44:19.738Z] + ls /var/log/sa-host [2022-04-08T19:44:19.739Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-08T19:44:20.017Z] provisioning config files... [2022-04-08T19:44:20.031Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-408@tmp/config4537050226880746958tmp [Pipeline] { [Pipeline] echo [2022-04-08T19:44:20.079Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-08T19:44:20.385Z] ---> create-netrc.sh [Pipeline] } [2022-04-08T19:44:20.414Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-04-08T19:44:20.860Z] ---> python-tools-install.sh [Pipeline] echo [2022-04-08T19:44:20.892Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-08T19:44:21.206Z] ---> sudo-logs.sh [2022-04-08T19:44:21.206Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-04-08T19:44:21.291Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-08T19:44:21.605Z] ---> job-cost.sh [2022-04-08T19:44:21.605Z] lf-activate-venv: SKIPPING [2022-04-08T19:44:21.605Z] DEBUG: total: 0.2199999988079071 [2022-04-08T19:44:21.605Z] INFO: Retrieving Stack Cost... [2022-04-08T19:44:22.179Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-08T19:44:22.443Z] INFO: Archiving Costs [Pipeline] echo [2022-04-08T19:44:22.477Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-08T19:44:22.792Z] ---> logs-deploy.sh [2022-04-08T19:44:22.792Z] lf-activate-venv: SKIPPING [2022-04-08T19:44:22.792Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-408/1 [2022-04-08T19:44:22.792Z] INFO: archiving workspace using pattern(s): [2022-04-08T19:44:23.733Z] Archives upload complete. [2022-04-08T19:44:23.733Z] INFO: archiving logs to Nexus