Pull request #353 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of iain-anderson for edgexfoundry/device-sdk-c Obtained Jenkinsfile from 2b0697b9b90fee7c5a100d7b7954bc3489632622+c6fc2f878f86612677a70dfca2ecf7cce01bb8e6 (35d82bc7c424a8238c21b9ee1fb37fcf06618e59) Running in Durability level: MAX_SURVIVABILITY 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 > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh4680199919388155689.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6a41506d72e8e131afc862d141935157bee59f41 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 > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh4121106384388710605.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 6a41506d72e8e131afc862d141935157bee59f41 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-353/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 > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-353/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh9106138293637037275.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 > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-353/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh8688234444145289263.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6a41506d72e8e131afc862d141935157bee59f41 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6a41506d72e8e131afc862d141935157bee59f41 # timeout=10 Commit message: "Merge pull request #340 from ernestojeda/enable-snap-stage" > 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 > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh4780467263707283880.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision d1a99147b03c6cd90561f8e70b7af78166bcd4cd 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-353/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 > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-353/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh3349616486715554980.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 d1a99147b03c6cd90561f8e70b7af78166bcd4cd (master) > git config core.sparsecheckout # timeout=10 > git checkout -f d1a99147b03c6cd90561f8e70b7af78166bcd4cd # timeout=10 Commit message: "Feat: Add initial Java pipeline functionality" > 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 6a41506d72e8e131afc862d141935157bee59f41 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: [[centos7-docker-4c-2g, ubuntu18.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_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest DOCKER_FILE_PATH: scripts/Dockerfile.alpine DOCKER_BUILD_FILE_PATH: scripts/Dockerfile.alpine-base DOCKER_BUILD_CONTEXT: . 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 ‘prd-centos7-docker-4c-2g-1825’ is offline Running on prd-centos7-docker-4c-2g-524 in /w/workspace/edgexfoundry_device-sdk-c_PR-353 [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-353 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git > git --version # timeout=10 > git --version # 'git version 2.24.4' 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 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/edgexfoundry_device-sdk-c_PR-353@tmp/jenkins-gitclient-ssh335447920822269207.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit c6fc2f878f86612677a70dfca2ecf7cce01bb8e6 into PR head commit 2b0697b9b90fee7c5a100d7b7954bc3489632622 Merge succeeded, producing 2b0697b9b90fee7c5a100d7b7954bc3489632622 Checking out Revision 2b0697b9b90fee7c5a100d7b7954bc3489632622 (PR-353) > 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/edgexfoundry_device-sdk-c_PR-353@tmp/jenkins-gitclient-ssh8123959509385999183.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/353/head:refs/remotes/origin/PR-353 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2b0697b9b90fee7c5a100d7b7954bc3489632622 # timeout=10 > git remote # timeout=10 > 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 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/edgexfoundry_device-sdk-c_PR-353@tmp/jenkins-gitclient-ssh6494103430091531062.key > git merge c6fc2f878f86612677a70dfca2ecf7cce01bb8e6 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2b0697b9b90fee7c5a100d7b7954bc3489632622 # timeout=10 Commit message: "fix: avoid crash when deviceresource has no attributes" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.4' fatal: bad object 6a41506d72e8e131afc862d141935157bee59f41 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 14:42:34 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 14:42:34 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 14:42:34 ========================================================= 14:42:34 EdgeX Global Pipelines Version Info 14:42:34 ========================================================= [Pipeline] libraryResource [Pipeline] sh 14:42:36 ------------------- 14:42:36 stable info: 14:42:36 ------------------- 14:42:36 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 14:42:36 Commit SHA: 6a41506d72e8e131afc862d141935157bee59f41 14:42:36 Message: update stable to v1.0.195 14:42:36 ------------------- 14:42:36 experimental info: 14:42:36 ------------------- 14:42:36 Commited By: **** collab-it+edgex@linuxfoundation.org 14:42:36 Commit SHA: 6a41506d72e8e131afc862d141935157bee59f41 14:42:36 Message: update experimental to v1.0.195 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 14:42:37 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo 14:42:37 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo 14:42:37 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 14:42:37 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 14:42:37 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 14:42:37 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [Pipeline] echo 14:42:37 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo 14:42:37 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo 14:42:37 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 14:42:37 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo 14:42:37 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 14:42:37 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 14:42:37 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 14:42:37 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 14:42:38 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 14:42:38 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 14:42:38 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 14:42:38 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-353 [Pipeline] echo 14:42:38 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-353 [Pipeline] echo 14:42:38 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-353 [Pipeline] echo 14:42:38 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 2b0697b9b90fee7c5a100d7b7954bc3489632622 [Pipeline] echo 14:42:38 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 2b0697b [Pipeline] echo 14:42:38 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:42:38 provisioning config files... 14:42:38 copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-353@tmp/config8723257991341372641tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:42:39 ---> docker-login.sh 14:42:39 nexus3.edgexfoundry.org:10001 14:42:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:42:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:42:40 Configure a credential helper to remove this warning. See 14:42:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:42:40 14:42:40 Login Succeeded 14:42:40 nexus3.edgexfoundry.org:10002 14:42:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:42:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:42:40 Configure a credential helper to remove this warning. See 14:42:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:42:40 14:42:40 Login Succeeded 14:42:40 nexus3.edgexfoundry.org:10003 14:42:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:42:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:42:40 Configure a credential helper to remove this warning. See 14:42:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:42:40 14:42:40 Login Succeeded 14:42:40 nexus3.edgexfoundry.org:10004 14:42:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:42:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:42:40 Configure a credential helper to remove this warning. See 14:42:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:42:40 14:42:40 Login Succeeded 14:42:40 docker.io 14:42:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:42:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:42:41 Configure a credential helper to remove this warning. See 14:42:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:42:41 14:42:41 Login Succeeded 14:42:41 ---> docker-login.sh ends [Pipeline] } 14:42:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh 14:42:43 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 14:42:43 14:42:43 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 14:42:43 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 14:42:43 latest: Pulling from edgex-devops/git-semver 14:42:43 31603596830f: Pulling fs layer 14:42:43 54011a49482f: Pulling fs layer 14:42:43 a6820b24f6d8: Pulling fs layer 14:42:43 f581987b2513: Pulling fs layer 14:42:43 f581987b2513: Waiting 14:42:43 54011a49482f: Verifying Checksum 14:42:43 54011a49482f: Download complete 14:42:43 31603596830f: Verifying Checksum 14:42:43 31603596830f: Download complete 14:42:44 f581987b2513: Verifying Checksum 14:42:44 f581987b2513: Download complete 14:42:44 a6820b24f6d8: Verifying Checksum 14:42:44 a6820b24f6d8: Download complete 14:42:44 31603596830f: Pull complete 14:42:44 54011a49482f: Pull complete 14:42:44 a6820b24f6d8: Pull complete 14:42:45 f581987b2513: Pull complete 14:42:45 Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 14:42:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 14:42:45 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 14:42:45 prd-centos7-docker-4c-2g-524 does not seem to be running inside a container 14:42:45 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-353 -v /w/workspace/edgexfoundry_device-sdk-c_PR-353:/w/workspace/edgexfoundry_device-sdk-c_PR-353:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-353@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-353@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 14:42:51 $ docker top 8f807f4035ac636b79ee02d160974525b31e0302988ade96dea18bcab2b32b23 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 14:42:51 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:42:51 [ssh-agent] Looking for ssh-agent implementation... 14:42:52 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:42:52 $ docker exec 8f807f4035ac636b79ee02d160974525b31e0302988ade96dea18bcab2b32b23 ssh-agent 14:42:52 SSH_AUTH_SOCK=/tmp/ssh-0rDSWd5lp2VV/agent.13 14:42:52 SSH_AGENT_PID=19 14:42:52 Running ssh-add (command line suppressed) 14:42:52 Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-353@tmp/private_key_2212831408627540857.key (/w/workspace/edgexfoundry_device-sdk-c_PR-353@tmp/private_key_2212831408627540857.key) 14:42:52 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:42:52 + git tag --points-at HEAD [Pipeline] } 14:42:52 $ docker exec --env ******** --env ******** 8f807f4035ac636b79ee02d160974525b31e0302988ade96dea18bcab2b32b23 ssh-agent -k 14:42:52 unset SSH_AUTH_SOCK; 14:42:52 unset SSH_AGENT_PID; 14:42:52 echo Agent pid 19 killed; 14:42:52 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 14:42:52 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:42:52 [ssh-agent] Looking for ssh-agent implementation... 14:42:53 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:42:53 $ docker exec 8f807f4035ac636b79ee02d160974525b31e0302988ade96dea18bcab2b32b23 ssh-agent 14:42:53 SSH_AUTH_SOCK=/tmp/ssh-tpJ7Y7yRKTXK/agent.52 14:42:53 SSH_AGENT_PID=58 14:42:53 Running ssh-add (command line suppressed) 14:42:53 Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-353@tmp/private_key_9214559119053031505.key (/w/workspace/edgexfoundry_device-sdk-c_PR-353@tmp/private_key_9214559119053031505.key) 14:42:53 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:42:53 + git semver init 14:42:53 # -> Open(): unable to determine branch for HEAD 14:42:53 # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-353/.git 14:42:53 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_PR-353 14:42:53 # $SEMVER_REMOTE_NAME = origin 14:42:53 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 14:42:53 # $SEMVER_USER_NAME = edgex-jenkins 14:42:53 # $SEMVER_BRANCH = PR-353 14:42:53 # $SEMVER_TEMP = /tmp/semver-847015757 14:42:53 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-c.git $SEMVER_TEMP 14:42:54 # '/tmp/semver-847015757' -> '/w/workspace/edgexfoundry_device-sdk-c_PR-353/.semver' 14:42:54 # -> Force: false 14:42:54 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-353/.semver [Pipeline] } 14:42:54 $ docker exec --env ******** --env ******** 8f807f4035ac636b79ee02d160974525b31e0302988ade96dea18bcab2b32b23 ssh-agent -k 14:42:54 unset SSH_AUTH_SOCK; 14:42:54 unset SSH_AGENT_PID; 14:42:54 echo Agent pid 58 killed; 14:42:54 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 14:42:55 + git semver [Pipeline] } 14:42:55 $ docker stop --time=1 8f807f4035ac636b79ee02d160974525b31e0302988ade96dea18bcab2b32b23 14:42:56 $ docker rm -f 8f807f4035ac636b79ee02d160974525b31e0302988ade96dea18bcab2b32b23 [Pipeline] // withDockerContainer [Pipeline] sh 14:42:57 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 14:42:57 Stashed 1 file(s) [Pipeline] echo 14:42:57 [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] node [Pipeline] node 14:43:13 Still waiting to schedule task 14:43:13 Waiting for next available executor on ‘centos7-docker-4c-2g’ 14:43:13 Still waiting to schedule task 14:43:13 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 14:45:17 Running on prd-ubuntu18.04-docker-arm64-4c-16g-525 in /w/workspace/edgexfoundry_device-sdk-c_PR-353 [Pipeline] { [Pipeline] ws 14:45:17 Running in /w/workspace/device-sdk-c/1 [Pipeline] { [Pipeline] checkout 14:45:17 Selected Git installation does not exist. Using Default 14:45:17 The recommended git tool is: NONE 14:45:23 using credential edgex-jenkins-ssh 14:45:23 Cloning the remote Git repository 14:45:23 Cloning repository git@github.com:edgexfoundry/device-sdk-c.git 14:45:23 > git init /w/workspace/device-sdk-c/1 # timeout=10 14:45:23 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 14:45:23 > git --version # timeout=10 14:45:23 > git --version # 'git version 2.17.1' 14:45:23 using GIT_SSH to set credentials SSH Credentials for GitHub 14:45:23 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 14:45:25 Merging remotes/origin/master commit c6fc2f878f86612677a70dfca2ecf7cce01bb8e6 into PR head commit 2b0697b9b90fee7c5a100d7b7954bc3489632622 14:45:25 Merge succeeded, producing 2b0697b9b90fee7c5a100d7b7954bc3489632622 14:45:25 Checking out Revision 2b0697b9b90fee7c5a100d7b7954bc3489632622 (PR-353) 14:45:24 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 14:45:24 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 14:45:24 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 14:45:24 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 14:45:24 using GIT_SSH to set credentials SSH Credentials for GitHub 14:45:25 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/353/head:refs/remotes/origin/PR-353 +refs/heads/master:refs/remotes/origin/master # timeout=10 14:45:25 > git config core.sparsecheckout # timeout=10 14:45:25 > git checkout -f 2b0697b9b90fee7c5a100d7b7954bc3489632622 # timeout=10 14:45:25 > git remote # timeout=10 14:45:25 > git config --get remote.origin.url # timeout=10 14:45:25 using GIT_SSH to set credentials SSH Credentials for GitHub 14:45:25 > git merge c6fc2f878f86612677a70dfca2ecf7cce01bb8e6 # timeout=10 14:45:25 > git rev-parse HEAD^{commit} # timeout=10 14:45:25 > git config core.sparsecheckout # timeout=10 14:45:25 > git checkout -f 2b0697b9b90fee7c5a100d7b7954bc3489632622 # timeout=10 14:45:30 Commit message: "fix: avoid crash when deviceresource has no attributes" 14:45:30 > git --version # timeout=10 14:45:30 > git --version # 'git version 2.17.1' 14:45:30 fatal: bad object 6a41506d72e8e131afc862d141935157bee59f41 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 14:45:31 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 14:45:32 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 14:45:32 + true 14:45:32 + sudo service docker restart 14:45:43 Running on prd-centos7-docker-4c-2g-526 in /w/workspace/edgexfoundry_device-sdk-c_PR-353 [Pipeline] { [Pipeline] ws 14:45:43 Running in /w/workspace/device-sdk-c/1 [Pipeline] { [Pipeline] checkout 14:45:43 Selected Git installation does not exist. Using Default 14:45:43 The recommended git tool is: NONE 14:45:45 using credential edgex-jenkins-ssh 14:45:45 Cloning the remote Git repository 14:45:45 Cloning repository git@github.com:edgexfoundry/device-sdk-c.git 14:45:45 > git init /w/workspace/device-sdk-c/1 # timeout=10 14:45:45 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 14:45:45 > git --version # timeout=10 14:45:45 > git --version # 'git version 2.24.4' 14:45:45 using GIT_SSH to set credentials SSH Credentials for GitHub 14:45:45 [INFO] Currently running in a labeled security context 14:45:45 [INFO] Currently SELinux is 'enforcing' on the host 14:45:45 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-c/1@tmp/jenkins-gitclient-ssh1689571242251286310.key 14:45:45 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 14:45:46 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 14:45:46 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 14:45:46 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 14:45:46 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 14:45:46 using GIT_SSH to set credentials SSH Credentials for GitHub 14:45:46 [INFO] Currently running in a labeled security context 14:45:46 [INFO] Currently SELinux is 'enforcing' on the host 14:45:46 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-c/1@tmp/jenkins-gitclient-ssh8137219868547819101.key 14:45:46 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/353/head:refs/remotes/origin/PR-353 +refs/heads/master:refs/remotes/origin/master # timeout=10 14:45:46 Merging remotes/origin/master commit c6fc2f878f86612677a70dfca2ecf7cce01bb8e6 into PR head commit 2b0697b9b90fee7c5a100d7b7954bc3489632622 14:45:47 Merge succeeded, producing 2b0697b9b90fee7c5a100d7b7954bc3489632622 14:45:47 Checking out Revision 2b0697b9b90fee7c5a100d7b7954bc3489632622 (PR-353) 14:45:46 > git config core.sparsecheckout # timeout=10 14:45:46 > git checkout -f 2b0697b9b90fee7c5a100d7b7954bc3489632622 # timeout=10 14:45:46 > git remote # timeout=10 14:45:46 > git config --get remote.origin.url # timeout=10 14:45:46 using GIT_SSH to set credentials SSH Credentials for GitHub 14:45:46 [INFO] Currently running in a labeled security context 14:45:46 [INFO] Currently SELinux is 'enforcing' on the host 14:45:46 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-c/1@tmp/jenkins-gitclient-ssh8498266694317101287.key 14:45:46 > git merge c6fc2f878f86612677a70dfca2ecf7cce01bb8e6 # timeout=10 14:45:47 > git rev-parse HEAD^{commit} # timeout=10 14:45:47 > git config core.sparsecheckout # timeout=10 14:45:47 > git checkout -f 2b0697b9b90fee7c5a100d7b7954bc3489632622 # timeout=10 14:45:50 Commit message: "fix: avoid crash when deviceresource has no attributes" 14:45:50 > git --version # timeout=10 14:45:50 > git --version # 'git version 2.24.4' 14:45:50 fatal: bad object 6a41506d72e8e131afc862d141935157bee59f41 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:45:51 provisioning config files... 14:45:51 copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/1@tmp/config5242648583079825876tmp [Pipeline] withEnv [Pipeline] { [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 14:45:51 ---> docker-login.sh 14:45:51 nexus3.edgexfoundry.org:10001 14:45:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:45:52 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 14:45:52 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 14:45:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:45:52 Configure a credential helper to remove this warning. See 14:45:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:45:52 14:45:52 Login Succeeded 14:45:52 nexus3.edgexfoundry.org:10002 14:45:53 + true 14:45:53 + sudo service docker restart 14:45:53 Redirecting to /bin/systemctl restart docker.service 14:45:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:45:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:45:53 Configure a credential helper to remove this warning. See 14:45:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:45:53 14:45:53 Login Succeeded 14:45:53 nexus3.edgexfoundry.org:10003 14:45:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:45:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:45:53 Configure a credential helper to remove this warning. See 14:45:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:45:53 14:45:53 Login Succeeded 14:45:53 nexus3.edgexfoundry.org:10004 14:45:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:45:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:45:54 Configure a credential helper to remove this warning. See 14:45:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:45:54 14:45:54 Login Succeeded 14:45:54 docker.io 14:45:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:45:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:45:55 Configure a credential helper to remove this warning. See 14:45:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:45:55 14:45:55 Login Succeeded 14:45:55 ---> docker-login.sh ends [Pipeline] } 14:45:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 14:45:55 ========================================================= 14:45:55 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] 14:45:55 ========================================================= [Pipeline] isUnix [Pipeline] sh 14:45:56 + 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 . 14:45:56 Sending build context to Docker daemon 2.628MB 14:45:56 Step 1/25 : ARG BASE=alpine:3.12 14:45:56 Step 2/25 : FROM ${BASE} as builder 14:45:57 latest: Pulling from edgex-devops/edgex-gcc-base-arm64 14:45:57 0362ad1dd800: Pulling fs layer 14:45:57 f2cdb1532d8b: Pulling fs layer 14:45:57 37ed683be191: Pulling fs layer 14:45:57 f2cdb1532d8b: Verifying Checksum 14:45:57 f2cdb1532d8b: Download complete 14:45:57 0362ad1dd800: Verifying Checksum 14:45:57 0362ad1dd800: Download complete 14:45:57 0362ad1dd800: Pull complete 14:45:58 f2cdb1532d8b: Pull complete 14:45:59 37ed683be191: Verifying Checksum 14:45:59 37ed683be191: Download complete 14:46:08 37ed683be191: Pull complete 14:46:08 Digest: sha256:f3a502aba7c4a8aa4a4fcde21dbb9db33787f3779e80dd14fb3ea60ab67de23f 14:46:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest 14:46:08 ---> b23d30803547 14:46:08 Step 3/25 : RUN wget https://iotech.jfrog.io/artifactory/alpine/KEY/support@iotechsys.com-5b990dd9.pub -O /etc/apk/keys/support@iotechsys.com-5b990dd9.pub 14:46:09 ---> Running in 6281d448f15c [Pipeline] withEnv [Pipeline] { 14:46:11 Connecting to iotech.jfrog.io (54.74.239.58:443) [Pipeline] configFileProvider 14:46:11 provisioning config files... 14:46:11 copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/1@tmp/config2759839265567082734tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:46:11 support@iotechsys.co 100% |********************************| 451 0:00:00 ETA 14:46:11 14:46:11 ---> docker-login.sh 14:46:11 nexus3.edgexfoundry.org:10001 14:46:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:46:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:46:11 Configure a credential helper to remove this warning. See 14:46:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:46:11 14:46:11 Login Succeeded 14:46:11 nexus3.edgexfoundry.org:10002 14:46:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:46:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:46:12 Configure a credential helper to remove this warning. See 14:46:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:46:12 14:46:12 Login Succeeded 14:46:12 nexus3.edgexfoundry.org:10003 14:46:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:46:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:46:12 Configure a credential helper to remove this warning. See 14:46:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:46:12 14:46:12 Login Succeeded 14:46:12 nexus3.edgexfoundry.org:10004 14:46:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:46:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:46:12 Configure a credential helper to remove this warning. See 14:46:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:46:12 14:46:12 Login Succeeded 14:46:12 docker.io 14:46:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:46:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:46:12 Configure a credential helper to remove this warning. See 14:46:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:46:12 14:46:12 Login Succeeded 14:46:12 ---> docker-login.sh ends [Pipeline] } 14:46:12 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash 14:46:12 Removing intermediate container 6281d448f15c 14:46:12 ---> 96ae39cf651e 14:46:12 Step 4/25 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories 14:46:12 ---> Running in 8fe3536938a0 [Pipeline] echo 14:46:13 ========================================================= 14:46:13 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] 14:46:13 ========================================================= [Pipeline] isUnix [Pipeline] sh 14:46:13 + 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 . 14:46:13 Sending build context to Docker daemon 2.629MB 14:46:13 Step 1/25 : ARG BASE=alpine:3.12 14:46:13 Step 2/25 : FROM ${BASE} as builder 14:46:13 latest: Pulling from edgex-devops/edgex-gcc-base 14:46:13 e7c96db7181b: Pulling fs layer 14:46:13 4c13bbce0fe7: Pulling fs layer 14:46:13 6059c847ac2f: Pulling fs layer 14:46:13 4c13bbce0fe7: Verifying Checksum 14:46:13 4c13bbce0fe7: Download complete 14:46:13 e7c96db7181b: Verifying Checksum 14:46:13 e7c96db7181b: Download complete 14:46:13 e7c96db7181b: Pull complete 14:46:13 4c13bbce0fe7: Pull complete 14:46:14 6059c847ac2f: Verifying Checksum 14:46:14 6059c847ac2f: Download complete 14:46:15 Removing intermediate container 8fe3536938a0 14:46:15 ---> d64dbdc04fe1 14:46:15 Step 5/25 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml-dev libcurl curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev paho-mqtt-c-dev hiredis-dev 14:46:15 ---> Running in 421d43d1c565 14:46:17 fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz 14:46:17 6059c847ac2f: Pull complete 14:46:17 Digest: sha256:6b5104d086ae1e5e8a284a473be9a93378e3934f9b07db5717372c857cbcbe5e 14:46:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest 14:46:17 ---> 5eabd8fd8ba2 14:46:17 Step 3/25 : RUN wget https://iotech.jfrog.io/artifactory/alpine/KEY/support@iotechsys.com-5b990dd9.pub -O /etc/apk/keys/support@iotechsys.com-5b990dd9.pub 14:46:18 fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz 14:46:18 fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/aarch64/APKINDEX.tar.gz 14:46:18 (1/11) Installing hiredis (0.14.0-r0) 14:46:18 (2/11) Installing hiredis-dev (0.14.0-r0) 14:46:19 (3/11) Installing ncurses-dev (6.1_p20190105-r0) 14:46:19 (4/11) Installing paho-mqtt-c-dev (1.3.5-r0) 14:46:20 (5/11) Installing libuuid (2.33-r0) 14:46:20 (6/11) Installing libblkid (2.33-r0) 14:46:21 (7/11) Installing libfdisk (2.33-r0) 14:46:21 (8/11) Installing libmount (2.33-r0) 14:46:21 ---> Running in 9794e0ccea1d 14:46:21 (9/11) Installing libsmartcols (2.33-r0) 14:46:21 (10/11) Installing util-linux-dev (2.33-r0) 14:46:21 (11/11) Installing wget (1.20.3-r0) 14:46:21 Executing busybox-1.29.3-r10.trigger 14:46:21 Connecting to iotech.jfrog.io (34.243.182.113:443) 14:46:21 OK: 287 MiB in 86 packages 14:46:22 support@iotechsys.co 100% |********************************| 451 0:00:00 ETA 14:46:22 14:46:22 Removing intermediate container 9794e0ccea1d 14:46:22 ---> 23a2fb0d0d22 14:46:22 Step 4/25 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories 14:46:22 ---> Running in 61c4ccc68771 14:46:23 Removing intermediate container 61c4ccc68771 14:46:23 ---> a95b26f29cca 14:46:23 Step 5/25 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml-dev libcurl curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev paho-mqtt-c-dev hiredis-dev 14:46:23 ---> Running in 565ccd4b631f 14:46:23 Removing intermediate container 421d43d1c565 14:46:23 ---> d5c4f4172d75 14:46:23 Step 6/25 : ENV CBOR_VERSION=0.5.0 14:46:23 ---> Running in 7dd24caa1215 14:46:23 fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz 14:46:24 Removing intermediate container 7dd24caa1215 14:46:24 ---> b5ec53519afe 14:46:24 Step 7/25 : RUN mkdir /tmp/cbor && cd /tmp/cbor && wget -O - https://github.com/PJK/libcbor/archive/v${CBOR_VERSION}.tar.gz | tar -z -x -f - && sed -e 's/-flto//' -i libcbor-${CBOR_VERSION}/CMakeLists.txt && cmake -DCMAKE_BUILD_TYPE=Release -DCBOR_CUSTOM_ALLOC=ON libcbor-${CBOR_VERSION} && make && make install 14:46:24 ---> Running in 0b5b13aa4bf4 14:46:24 fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz 14:46:24 fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/x86_64/APKINDEX.tar.gz 14:46:25 (1/11) Installing hiredis (0.14.0-r0) 14:46:25 (2/11) Installing hiredis-dev (0.14.0-r0) 14:46:25 (3/11) Installing ncurses-dev (6.1_p20190105-r0) 14:46:25 (4/11) Installing paho-mqtt-c-dev (1.3.5-r0) 14:46:25 --2021-06-21 14:46:25-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz 14:46:25 Resolving github.com... 140.82.112.4 14:46:25 Connecting to github.com|140.82.112.4|:443... connected. 14:46:25 HTTP request sent, awaiting response... 302 Found 14:46:25 Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] 14:46:25 --2021-06-21 14:46:25-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 14:46:25 Resolving codeload.github.com... 140.82.114.10 14:46:25 Connecting to codeload.github.com|140.82.114.10|:443... connected. 14:46:25 HTTP request sent, awaiting response... 200 OK 14:46:25 Length: unspecified [application/x-gzip] 14:46:25 Saving to: 'STDOUT' 14:46:25  14:46:25 0K .......... .......... .......... .......... .......... 1.53M 14:46:26 50K .......... .......... .......... .......... .......... 3.06M 14:46:26 100K .......... .......... .......... .......... .......... 3.49M 14:46:26 150K .......... .......... .......... .......... .......... 9.56M 14:46:26 200K .......... .......... .......... .......... .......... 8.38M 14:46:26 250K .......... .......... .......... .......... .......... 3.56M 14:46:26 300K .......... .......... .......... .......... .......... 4.92M 14:46:26 350K .......... .......... .......... .......... .......... 4.24M 14:46:26 400K .......... .......... .......... .......... .......... 3.29M 14:46:26 450K .......... .......... .......... .......... .......... 3.69M 14:46:26 500K .......... .......... .......... .......... .......... 10.1M 14:46:26 550K .......... .......... .......... .......... .......... 2.64M 14:46:26 600K .......... .......... .......... .......... .......... 898K 14:46:26 650K .......... .......... .......... .......... .......... 2.37M 14:46:26 700K .. 4.85M=0.2s 14:46:26 14:46:26 2021-06-21 14:46:25 (2.91 MB/s) - written to stdout [719348] 14:46:26 14:46:26 -- The C compiler identification is GNU 8.3.0 14:46:26 -- The CXX compiler identification is GNU 8.3.0 14:46:26 -- Check for working C compiler: /usr/bin/cc 14:46:26 (5/11) Installing libuuid (2.33-r0) 14:46:26 (6/11) Installing libblkid (2.33-r0) 14:46:26 -- Check for working C compiler: /usr/bin/cc -- works 14:46:26 -- Detecting C compiler ABI info 14:46:27 (7/11) Installing libfdisk (2.33-r0) 14:46:27 (8/11) Installing libmount (2.33-r0) 14:46:27 -- Detecting C compiler ABI info - done 14:46:27 -- Detecting C compile features 14:46:27 (9/11) Installing libsmartcols (2.33-r0) 14:46:27 (10/11) Installing util-linux-dev (2.33-r0) 14:46:28 -- Detecting C compile features - done 14:46:28 -- Check for working CXX compiler: /usr/bin/c++ 14:46:28 -- Check for working CXX compiler: /usr/bin/c++ -- works 14:46:28 -- Detecting CXX compiler ABI info 14:46:28 (11/11) Installing wget (1.20.3-r0) 14:46:28 Executing busybox-1.29.3-r10.trigger 14:46:28 OK: 273 MiB in 86 packages 14:46:28 -- Detecting CXX compiler ABI info - done 14:46:28 -- Detecting CXX compile features 14:46:28 Removing intermediate container 565ccd4b631f 14:46:28 ---> e0f48848f378 14:46:28 Step 6/25 : ENV CBOR_VERSION=0.5.0 14:46:28 ---> Running in 54f939d2c786 14:46:28 Removing intermediate container 54f939d2c786 14:46:28 ---> 28be1429f7f1 14:46:28 Step 7/25 : RUN mkdir /tmp/cbor && cd /tmp/cbor && wget -O - https://github.com/PJK/libcbor/archive/v${CBOR_VERSION}.tar.gz | tar -z -x -f - && sed -e 's/-flto//' -i libcbor-${CBOR_VERSION}/CMakeLists.txt && cmake -DCMAKE_BUILD_TYPE=Release -DCBOR_CUSTOM_ALLOC=ON libcbor-${CBOR_VERSION} && make && make install 14:46:28 ---> Running in 60573af9b354 14:46:28 --2021-06-21 14:46:28-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz 14:46:28 Resolving github.com... 140.82.112.4 14:46:29 Connecting to github.com|140.82.112.4|:443... connected. 14:46:29 HTTP request sent, awaiting response... 302 Found 14:46:29 Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] 14:46:29 --2021-06-21 14:46:28-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 14:46:29 Resolving codeload.github.com... 140.82.114.10 14:46:29 Connecting to codeload.github.com|140.82.114.10|:443... connected. 14:46:29 HTTP request sent, awaiting response... 200 OK 14:46:29 Length: 719348 (702K) [application/x-gzip] 14:46:29 Saving to: 'STDOUT' 14:46:29  14:46:29 0K .......... .......... .......... .......... .......... 7% 1.36M 0s 14:46:29 50K .......... .......... .......... .......... .......... 14% 2.71M 0s 14:46:29 100K .......... .......... .......... .......... .......... 21% 47.8M 0s 14:46:29 150K .......... .......... .......... .......... .......... 28% 3.00M 0s 14:46:29 200K .......... .......... .......... .......... .......... 35% 13.2M 0s 14:46:29 250K .......... .......... .......... .......... .......... 42% 7.61M 0s 14:46:29 300K .......... .......... .......... .......... .......... 49% 11.0M 0s 14:46:29 350K .......... .......... .......... .......... .......... 56% 8.40M 0s 14:46:29 400K .......... .......... .......... .......... .......... 64% 10.3M 0s 14:46:29 450K .......... .......... .......... .......... .......... 71% 14.2M 0s 14:46:29 500K .......... .......... .......... .......... .......... 78% 13.0M 0s 14:46:29 550K .......... .......... .......... .......... .......... 85% 15.7M 0s 14:46:29 600K .......... .......... .......... .......... .......... 92% 4.97M 0s 14:46:29 650K .......... .......... .......... .......... .......... 99% 5.90M 0s 14:46:29 700K .. 100% 1.06M=0.1s 14:46:29 14:46:29 2021-06-21 14:46:29 (5.40 MB/s) - written to stdout [719348/719348] 14:46:29 14:46:29 -- The C compiler identification is GNU 8.3.0 14:46:29 -- The CXX compiler identification is GNU 8.3.0 14:46:29 -- Check for working C compiler: /usr/bin/cc 14:46:29 -- Check for working C compiler: /usr/bin/cc -- works 14:46:29 -- Detecting C compiler ABI info 14:46:29 -- Detecting C compiler ABI info - done 14:46:29 -- Detecting C compile features 14:46:29 -- Detecting C compile features - done 14:46:29 -- Check for working CXX compiler: /usr/bin/c++ 14:46:29 -- Detecting CXX compile features - done 14:46:29 -- Looking for include file endian.h 14:46:29 -- Check for working CXX compiler: /usr/bin/c++ -- works 14:46:29 -- Detecting CXX compiler ABI info 14:46:29 -- Detecting CXX compiler ABI info - done 14:46:29 -- Detecting CXX compile features 14:46:30 -- Looking for include file endian.h - found 14:46:30 -- Check if the system is big endian 14:46:30 -- Searching 16 bit integer 14:46:30 -- Looking for sys/types.h 14:46:30 -- Detecting CXX compile features - done 14:46:30 -- Looking for include file endian.h 14:46:30 -- Looking for include file endian.h - found 14:46:30 -- Check if the system is big endian 14:46:30 -- Searching 16 bit integer 14:46:30 -- Looking for sys/types.h 14:46:30 -- Looking for sys/types.h - found 14:46:30 -- Looking for stdint.h 14:46:30 -- Looking for stdint.h - found 14:46:30 -- Looking for stddef.h 14:46:30 -- Looking for stddef.h - found 14:46:30 -- Check size of unsigned short 14:46:30 -- Looking for sys/types.h - found 14:46:30 -- Looking for stdint.h 14:46:30 -- Check size of unsigned short - done 14:46:30 -- Using unsigned short 14:46:30 -- Check if the system is big endian - little endian 14:46:30 -- Check size of size_t 14:46:30 -- Check size of size_t - done 14:46:30 CMake Warning at examples/CMakeLists.txt:16 (find_package): 14:46:30 By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has 14:46:30 asked CMake to find a package configuration file provided by "cJSON", but 14:46:30 CMake did not find one. 14:46:30 14:46:30 Could not find a package configuration file provided by "cJSON" with any of 14:46:30 the following names: 14:46:30 14:46:30 cJSONConfig.cmake 14:46:30 cjson-config.cmake 14:46:30 14:46:30 Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set 14:46:30 "cJSON_DIR" to a directory containing one of the above files. If "cJSON" 14:46:30 provides a separate development package or SDK, be sure it has been 14:46:30 installed. 14:46:30 14:46:30 14:46:30 -- Configuring done 14:46:30 -- Generating done 14:46:30 -- Build files have been written to: /tmp/cbor 14:46:30 -- Looking for stdint.h - found 14:46:30 -- Looking for stddef.h 14:46:30 Scanning dependencies of target cbor_shared 14:46:30 [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o 14:46:30 [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o 14:46:30 -- Looking for stddef.h - found 14:46:30 -- Check size of unsigned short 14:46:31 [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o 14:46:31 [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o 14:46:31 [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o 14:46:31 -- Check size of unsigned short - done 14:46:31 -- Using unsigned short 14:46:31 [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o 14:46:31 [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o 14:46:31 [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o 14:46:31 [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o 14:46:31 [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o 14:46:31 -- Check if the system is big endian - little endian 14:46:31 -- Check size of size_t 14:46:31 [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o 14:46:31 [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o 14:46:31 [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o 14:46:31 -- Check size of size_t - done 14:46:31 CMake Warning at examples/CMakeLists.txt:16 (find_package): 14:46:31 By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has 14:46:31 asked CMake to find a package configuration file provided by "cJSON", but 14:46:31 CMake did not find one. 14:46:31 14:46:31 Could not find a package configuration file provided by "cJSON" with any of 14:46:31 the following names: 14:46:31 14:46:31 cJSONConfig.cmake 14:46:31 cjson-config.cmake 14:46:31 14:46:31 Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set 14:46:31 "cJSON_DIR" to a directory containing one of the above files. If "cJSON" 14:46:31 provides a separate development package or SDK, be sure it has been 14:46:31 installed. 14:46:31 14:46:31 14:46:31 -- Configuring done 14:46:31 [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o 14:46:31 [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o 14:46:31 [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o 14:46:31 [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o 14:46:32 -- Generating done 14:46:32 -- Build files have been written to: /tmp/cbor 14:46:32 Scanning dependencies of target cbor_shared 14:46:32 [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o 14:46:32 [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o 14:46:32 [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o 14:46:32 [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o 14:46:32 [ 40%] Linking C shared library libcbor.so 14:46:32 [ 40%] Built target cbor_shared 14:46:32 Scanning dependencies of target cbor 14:46:32 [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o 14:46:32 [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o 14:46:32 [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o 14:46:32 [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o 14:46:32 [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o 14:46:33 [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o 14:46:33 [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o 14:46:33 [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o 14:46:33 [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o 14:46:33 [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o 14:46:33 [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o 14:46:33 [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o 14:46:33 [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o 14:46:33 [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o 14:46:33 [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o 14:46:33 [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o 14:46:33 [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o 14:46:33 [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o 14:46:33 [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o 14:46:33 [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o 14:46:33 [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o 14:46:33 [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o 14:46:33 [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o 14:46:33 [ 80%] Linking C static library libcbor.a 14:46:33 [ 80%] Built target cbor 14:46:33 Scanning dependencies of target create_items 14:46:34 [ 82%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o 14:46:34 [ 84%] Linking C executable create_items 14:46:34 [ 84%] Built target create_items 14:46:34 Scanning dependencies of target readfile 14:46:34 [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o 14:46:34 [ 88%] Linking C executable readfile 14:46:34 [ 88%] Built target readfile 14:46:34 Scanning dependencies of target streaming_parser 14:46:34 [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o 14:46:34 [ 92%] Linking C executable streaming_parser 14:46:34 [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o 14:46:34 [ 92%] Built target streaming_parser 14:46:34 Scanning dependencies of target sort 14:46:34 [ 94%] Building C object examples/CMakeFiles/sort.dir/sort.c.o 14:46:34 [ 96%] Linking C executable sort 14:46:34 [ 96%] Built target sort 14:46:34 Scanning dependencies of target hello 14:46:34 [ 98%] Building C object examples/CMakeFiles/hello.dir/hello.c.o 14:46:34 [100%] Linking C executable hello 14:46:34 [100%] Built target hello 14:46:34 Install the project... 14:46:34 -- Install configuration: "Release" 14:46:34 -- Installing: /usr/local/include/cbor/configuration.h 14:46:34 -- Installing: /usr/local/lib64/libcbor.a 14:46:34 -- Installing: /usr/local/lib64/libcbor.so.0.0.0 14:46:34 -- Installing: /usr/local/lib64/libcbor.so.0 14:46:34 -- Installing: /usr/local/lib64/libcbor.so 14:46:34 -- Up-to-date: /usr/local/include/cbor 14:46:34 -- Installing: /usr/local/include/cbor/arrays.h 14:46:34 -- Installing: /usr/local/include/cbor/bytestrings.h 14:46:34 -- Installing: /usr/local/include/cbor/callbacks.h 14:46:34 -- Installing: /usr/local/include/cbor/common.h 14:46:34 -- Installing: /usr/local/include/cbor/data.h 14:46:34 -- Installing: /usr/local/include/cbor/encoding.h 14:46:34 -- Installing: /usr/local/include/cbor/floats_ctrls.h 14:46:34 -- Installing: /usr/local/include/cbor/internal 14:46:34 -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h 14:46:34 -- Installing: /usr/local/include/cbor/internal/encoders.h 14:46:34 -- Installing: /usr/local/include/cbor/internal/loaders.h 14:46:34 -- Installing: /usr/local/include/cbor/internal/memory_utils.h 14:46:34 -- Installing: /usr/local/include/cbor/internal/stack.h 14:46:34 -- Installing: /usr/local/include/cbor/internal/unicode.h 14:46:34 -- Installing: /usr/local/include/cbor/ints.h 14:46:34 -- Installing: /usr/local/include/cbor/maps.h 14:46:34 -- Installing: /usr/local/include/cbor/serialization.h 14:46:34 -- Installing: /usr/local/include/cbor/streaming.h 14:46:34 -- Installing: /usr/local/include/cbor/strings.h 14:46:34 -- Installing: /usr/local/include/cbor/tags.h 14:46:34 -- Installing: /usr/local/include/cbor.h 14:46:34 -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc 14:46:34 [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o 14:46:34 [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o 14:46:34 [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o 14:46:34 Removing intermediate container 60573af9b354 14:46:34 ---> 61667f0f93cb 14:46:34 Step 8/25 : RUN mkdir /tmp/sdk 14:46:34 ---> Running in 3d77d1af122b 14:46:35 [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o 14:46:35 [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o 14:46:35 Removing intermediate container 3d77d1af122b 14:46:35 ---> 88f744b3ad3e 14:46:35 Step 9/25 : COPY VERSION /tmp/sdk 14:46:35 ---> 255add0ebb24 14:46:35 Step 10/25 : COPY src /tmp/sdk/src 14:46:35 ---> c7ecb0c7490a 14:46:35 Step 11/25 : COPY include /tmp/sdk/include 14:46:35 [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o 14:46:36 ---> fef9b7f0b83f 14:46:36 Step 12/25 : COPY scripts /tmp/sdk/scripts 14:46:36 ---> 106796a53523 14:46:36 Step 13/25 : COPY LICENSE /tmp/sdk 14:46:36 [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o 14:46:36 ---> c3c3f3ea0636 14:46:36 Step 14/25 : COPY Attribution.txt /tmp/sdk 14:46:36 ---> beecac18d068 14:46:36 Step 15/25 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 14:46:36 ---> Running in 339f08e26797 14:46:36 + CPPCHECK=false 14:46:36 + DOCGEN=false 14:46:36 + TOMLVER=SDK-0.2 14:46:36 + CUTILVER=1.1.4 14:46:36 + '[' 0 -gt 0 ] 14:46:36 + readlink -f ./scripts/build.sh 14:46:36 + dirname /tmp/sdk/scripts/build.sh 14:46:36 + dirname /tmp/sdk/scripts 14:46:36 + ROOT=/tmp/sdk 14:46:36 + cd /tmp/sdk 14:46:36 + '[' '!' -d deps ] 14:46:36 + mkdir deps 14:46:36 + + wgettar -O -C - deps -z -x https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz -f - 14:46:36 14:46:36 --2021-06-21 14:46:36-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 14:46:36 Resolving github.com... 140.82.112.4 14:46:36 Connecting to github.com|140.82.112.4|:443... connected. 14:46:36 [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o 14:46:36 HTTP request sent, awaiting response... 302 Found 14:46:36 Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] 14:46:36 --2021-06-21 14:46:36-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 14:46:36 Resolving codeload.github.com... 140.82.114.10 14:46:36 Connecting to codeload.github.com|140.82.114.10|:443... connected. 14:46:37 [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o 14:46:37 HTTP request sent, awaiting response... 200 OK 14:46:37 Length: unspecified [application/x-gzip] 14:46:37 Saving to: 'STDOUT' 14:46:37 14:46:37 0K .......... ......  1.00M=0.02s 14:46:37 14:46:37 2021-06-21 14:46:36 (1.00 MB/s) - written to stdout [16451] 14:46:37 14:46:37 + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c 14:46:37 + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz 14:46:37 + tar -C deps -z -x -f - 14:46:37 --2021-06-21 14:46:36-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz 14:46:37 Resolving github.com... 140.82.112.4 14:46:37 Connecting to github.com|140.82.112.4|:443... connected. 14:46:37 HTTP request sent, awaiting response... 302 Found 14:46:37 Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 [following] 14:46:37 --2021-06-21 14:46:37-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 14:46:37 Resolving codeload.github.com... 140.82.114.10 14:46:37 Connecting to codeload.github.com|140.82.114.10|:443... connected. 14:46:37 [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o 14:46:37 [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o 14:46:37 HTTP request sent, awaiting response... 200 OK 14:46:37 Length: unspecified [application/x-gzip] 14:46:37 Saving to: 'STDOUT' 14:46:37 14:46:37 0K .......... .......... .......... .......... .......... 1.55M 14:46:37 50K .......... .......... .......... .......... .......... 3.08M 14:46:37 100K .......... .......... .......... .......... .......... 34.5M 14:46:37 150K .......... .......... ....... 5.32M=0.05s 14:46:37 14:46:37 2021-06-21 14:46:37 (3.22 MB/s) - written to stdout [181796] 14:46:37 14:46:37 + mkdir -p src/c/iot 14:46:37 + cp deps/iotech-c-utils-1.1.4/src/c/base64.c deps/iotech-c-utils-1.1.4/src/c/component.c deps/iotech-c-utils-1.1.4/src/c/config.c deps/iotech-c-utils-1.1.4/src/c/container.c deps/iotech-c-utils-1.1.4/src/c/data.c deps/iotech-c-utils-1.1.4/src/c/hash.c deps/iotech-c-utils-1.1.4/src/c/iot.c deps/iotech-c-utils-1.1.4/src/c/json.c deps/iotech-c-utils-1.1.4/src/c/logger.c deps/iotech-c-utils-1.1.4/src/c/os.c deps/iotech-c-utils-1.1.4/src/c/scheduler.c deps/iotech-c-utils-1.1.4/src/c/thread.c deps/iotech-c-utils-1.1.4/src/c/threadpool.c deps/iotech-c-utils-1.1.4/src/c/time.c deps/iotech-c-utils-1.1.4/src/c/yxml.c src/c/iot 14:46:37 + cp deps/iotech-c-utils-1.1.4/src/c/defs.h.in src/c/iot 14:46:37 + cp deps/iotech-c-utils-1.1.4/src/c/yxml.h src/c/iot 14:46:37 + cp deps/iotech-c-utils-1.1.4/VERSION src/c/iot 14:46:37 + mkdir -p include/iot 14:46:37 + cp deps/iotech-c-utils-1.1.4/include/iot/base64.h deps/iotech-c-utils-1.1.4/include/iot/component.h deps/iotech-c-utils-1.1.4/include/iot/config.h deps/iotech-c-utils-1.1.4/include/iot/container.h deps/iotech-c-utils-1.1.4/include/iot/data.h deps/iotech-c-utils-1.1.4/include/iot/hash.h deps/iotech-c-utils-1.1.4/include/iot/iot.h deps/iotech-c-utils-1.1.4/include/iot/json.h deps/iotech-c-utils-1.1.4/include/iot/logger.h deps/iotech-c-utils-1.1.4/include/iot/os.h deps/iotech-c-utils-1.1.4/include/iot/scheduler.h deps/iotech-c-utils-1.1.4/include/iot/thread.h deps/iotech-c-utils-1.1.4/include/iot/threadpool.h deps/iotech-c-utils-1.1.4/include/iot/time.h deps/iotech-c-utils-1.1.4/include/iot/typecode.h include/iot 14:46:37 + mkdir -p include/iot/os 14:46:37 + cp deps/iotech-c-utils-1.1.4/include/iot/os/linux.h deps/iotech-c-utils-1.1.4/include/iot/os/macos.h deps/iotech-c-utils-1.1.4/include/iot/os/zephyr.h include/iot/os 14:46:37 + mkdir -p /tmp/sdk/build/release 14:46:37 + cd /tmp/sdk/build/release 14:46:37 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 14:46:37 -- The C compiler identification is GNU 8.3.0 14:46:37 -- Check for working C compiler: /usr/bin/cc 14:46:37 [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o 14:46:37 -- Check for working C compiler: /usr/bin/cc -- works 14:46:37 -- Detecting C compiler ABI info 14:46:37 -- Detecting C compiler ABI info - done 14:46:37 -- Detecting C compile features 14:46:37 [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o 14:46:37 -- Detecting C compile features - done 14:46:37 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 14:46:37 -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") 14:46:37 -- Found LIBYAML: /usr/lib/libyaml.so 14:46:37 -- Found LIBUUID: /usr/lib/libuuid.so 14:46:37 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 14:46:37 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 14:46:37 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 14:46:37 -- C SDK 0.0.0 for Linux 14:46:37 -- Performing Test CSDK_HAVE_ATOMIC 14:46:37 -- Performing Test CSDK_HAVE_ATOMIC - Success 14:46:37 -- Found Curses: /usr/lib/libcurses.so 14:46:37 -- Configuring done 14:46:37 -- Generating done 14:46:37 -- Build files have been written to: /tmp/sdk/build/release 14:46:37 + tee release.log 14:46:37 + make all package 14:46:37 Scanning dependencies of target csdk 14:46:38 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 14:46:38 [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 14:46:38 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 14:46:38 [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o 14:46:38 [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 14:46:38 [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o 14:46:38 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 14:46:38 [ 9%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o 14:46:38 [ 40%] Linking C shared library libcbor.so 14:46:38 [ 40%] Built target cbor_shared 14:46:38 Scanning dependencies of target cbor 14:46:38 [ 11%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 14:46:38 [ 12%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o 14:46:38 [ 14%] Building C object c/CMakeFiles/csdk.dir/data.c.o 14:46:38 [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o 14:46:39 [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o 14:46:39 [ 17%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 14:46:39 [ 19%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 14:46:39 [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o 14:46:39 [ 20%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 14:46:39 [ 22%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 14:46:39 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 14:46:39 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 14:46:39 [ 26%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 14:46:40 [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o 14:46:40 [ 28%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 14:46:40 [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 14:46:40 [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o 14:46:40 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 14:46:40 [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 14:46:40 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 14:46:40 [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 14:46:41 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 14:46:41 [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 14:46:41 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 14:46:41 [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 14:46:41 [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 14:46:41 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 14:46:41 [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o 14:46:41 [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 14:46:41 [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 14:46:41 [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o 14:46:41 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 14:46:41 [ 52%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 14:46:41 [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o 14:46:42 [ 53%] Building C object c/CMakeFiles/csdk.dir/map.c.o 14:46:42 [ 55%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 14:46:42 [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o 14:46:42 [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o 14:46:42 [ 57%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 14:46:42 [ 58%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 14:46:42 [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o 14:46:43 [ 60%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 14:46:43 [ 61%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 14:46:43 [ 63%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 14:46:43 [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o 14:46:43 [ 65%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 14:46:43 [ 66%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 14:46:43 [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o 14:46:43 [ 68%] Building C object c/CMakeFiles/csdk.dir/service.c.o 14:46:43 [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o 14:46:44 [ 69%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 14:46:44 [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o 14:46:44 [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o 14:46:44 [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o 14:46:45 [ 71%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 14:46:45 [ 73%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 14:46:45 [ 74%] Linking C shared library libcsdk.so 14:46:45 [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o 14:46:45 [ 74%] Built target csdk 14:46:45 Scanning dependencies of target template 14:46:45 [ 76%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 14:46:45 [ 77%] Linking C executable template 14:46:45 [ 77%] Built target template 14:46:45 Scanning dependencies of target device-counter 14:46:45 [ 79%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 14:46:45 [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o 14:46:45 [ 80%] Linking C executable device-counter 14:46:45 [ 80%] Built target device-counter 14:46:45 Scanning dependencies of target device-random 14:46:45 [ 82%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 14:46:45 [ 84%] Linking C executable device-random 14:46:45 [ 84%] Built target device-random 14:46:45 Scanning dependencies of target device-gyro 14:46:45 [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o 14:46:45 [ 85%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 14:46:45 [ 87%] Linking C executable device-gyro 14:46:45 [ 87%] Built target device-gyro 14:46:45 Scanning dependencies of target device-bitfields 14:46:45 [ 88%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 14:46:45 [ 90%] Linking C executable device-bitfields 14:46:45 [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o 14:46:46 [ 90%] Built target device-bitfields 14:46:46 Scanning dependencies of target template-discovery 14:46:46 [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 14:46:46 [ 93%] Linking C executable template-discovery 14:46:46 [ 93%] Built target template-discovery 14:46:46 Scanning dependencies of target device-file 14:46:46 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 14:46:46 [ 80%] Linking C static library libcbor.a 14:46:46 [ 80%] Built target cbor 14:46:46 Scanning dependencies of target create_items 14:46:46 [ 82%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o 14:46:46 [ 96%] Linking C executable device-file 14:46:46 [ 96%] Built target device-file 14:46:46 Scanning dependencies of target device-terminal 14:46:46 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 14:46:46 [100%] Linking C executable device-terminal 14:46:46 [ 84%] Linking C executable create_items 14:46:46 [ 84%] Built target create_items 14:46:46 Scanning dependencies of target readfile 14:46:46 [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o 14:46:46 [100%] Built target device-terminal 14:46:46 Run CPack packaging tool... 14:46:46 CPack: Create package using TGZ 14:46:46 CPack: Install projects 14:46:46 CPack: - Run preinstall target for: Csdk 14:46:46 CPack: - Install project: Csdk 14:46:46 CPack: Create package 14:46:46 CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. 14:46:46 + '[' false '=' true ] 14:46:46 + '[' false '=' true ] 14:46:46 + mkdir -p /tmp/sdk/build/debug 14:46:46 + cd /tmp/sdk/build/debug 14:46:46 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 14:46:46 [ 88%] Linking C executable readfile 14:46:46 -- The C compiler identification is GNU 8.3.0 14:46:46 -- Check for working C compiler: /usr/bin/cc 14:46:46 -- Check for working C compiler: /usr/bin/cc -- works 14:46:46 -- Detecting C compiler ABI info 14:46:46 -- Detecting C compiler ABI info - done 14:46:46 -- Detecting C compile features 14:46:47 [ 88%] Built target readfile 14:46:47 Scanning dependencies of target streaming_parser 14:46:47 [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o 14:46:47 -- Detecting C compile features - done 14:46:47 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 14:46:47 -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") 14:46:47 -- Found LIBYAML: /usr/lib/libyaml.so 14:46:47 -- Found LIBUUID: /usr/lib/libuuid.so 14:46:47 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 14:46:47 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 14:46:47 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 14:46:47 -- C SDK 0.0.0 for Linux 14:46:47 -- Performing Test CSDK_HAVE_ATOMIC 14:46:47 -- Performing Test CSDK_HAVE_ATOMIC - Success 14:46:47 -- Found Curses: /usr/lib/libcurses.so 14:46:47 -- Configuring done 14:46:47 -- Generating done 14:46:47 -- Build files have been written to: /tmp/sdk/build/debug 14:46:47 + make 14:46:47 + tee debug.log 14:46:47 [ 92%] Linking C executable streaming_parser 14:46:47 [ 92%] Built target streaming_parser 14:46:47 Scanning dependencies of target sort 14:46:47 [ 94%] Building C object examples/CMakeFiles/sort.dir/sort.c.o 14:46:47 Scanning dependencies of target csdk 14:46:47 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 14:46:47 [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 14:46:47 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 14:46:47 [ 96%] Linking C executable sort 14:46:47 [ 96%] Built target sort 14:46:47 Scanning dependencies of target hello 14:46:47 [ 98%] Building C object examples/CMakeFiles/hello.dir/hello.c.o 14:46:47 [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 14:46:47 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 14:46:47 [ 9%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o 14:46:47 [ 11%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 14:46:47 [ 12%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o 14:46:47 [100%] Linking C executable hello 14:46:47 [100%] Built target hello 14:46:47 Install the project... 14:46:47 -- Install configuration: "Release" 14:46:47 -- Installing: /usr/local/include/cbor/configuration.h 14:46:47 -- Installing: /usr/local/lib64/libcbor.a 14:46:47 -- Installing: /usr/local/lib64/libcbor.so.0.0.0 14:46:47 -- Installing: /usr/local/lib64/libcbor.so.0 14:46:47 -- Installing: /usr/local/lib64/libcbor.so 14:46:47 -- Up-to-date: /usr/local/include/cbor 14:46:47 -- Installing: /usr/local/include/cbor/streaming.h 14:46:47 -- Installing: /usr/local/include/cbor/ints.h 14:46:47 -- Installing: /usr/local/include/cbor/floats_ctrls.h 14:46:47 -- Installing: /usr/local/include/cbor/bytestrings.h 14:46:47 -- Installing: /usr/local/include/cbor/encoding.h 14:46:47 -- Installing: /usr/local/include/cbor/serialization.h 14:46:47 -- Installing: /usr/local/include/cbor/data.h 14:46:47 -- Installing: /usr/local/include/cbor/common.h 14:46:47 -- Installing: /usr/local/include/cbor/callbacks.h 14:46:47 -- Installing: /usr/local/include/cbor/strings.h 14:46:47 -- Installing: /usr/local/include/cbor/tags.h 14:46:47 -- Installing: /usr/local/include/cbor/internal 14:46:47 -- Installing: /usr/local/include/cbor/internal/encoders.h 14:46:47 -- Installing: /usr/local/include/cbor/internal/loaders.h 14:46:47 -- Installing: /usr/local/include/cbor/internal/stack.h 14:46:47 -- Installing: /usr/local/include/cbor/internal/unicode.h 14:46:47 -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h 14:46:47 -- Installing: /usr/local/include/cbor/internal/memory_utils.h 14:46:47 -- Installing: /usr/local/include/cbor/arrays.h 14:46:47 -- Installing: /usr/local/include/cbor/maps.h 14:46:47 -- Installing: /usr/local/include/cbor.h 14:46:47 -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc 14:46:47 [ 14%] Building C object c/CMakeFiles/csdk.dir/data.c.o 14:46:47 [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o 14:46:47 [ 17%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 14:46:48 [ 19%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 14:46:48 [ 20%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 14:46:48 [ 22%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 14:46:48 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 14:46:48 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 14:46:48 [ 26%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 14:46:48 [ 28%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 14:46:48 [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 14:46:48 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 14:46:48 [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 14:46:48 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 14:46:48 [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 14:46:49 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 14:46:49 [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 14:46:49 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 14:46:49 [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 14:46:49 [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 14:46:49 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 14:46:49 [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 14:46:49 [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 14:46:49 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 14:46:49 [ 52%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 14:46:49 [ 53%] Building C object c/CMakeFiles/csdk.dir/map.c.o 14:46:49 [ 55%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 14:46:49 [ 57%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 14:46:49 [ 58%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 14:46:49 [ 60%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 14:46:49 [ 61%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 14:46:49 [ 63%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 14:46:49 Removing intermediate container 0b5b13aa4bf4 14:46:49 ---> ebcee145eba4 14:46:49 Step 8/25 : RUN mkdir /tmp/sdk 14:46:50 [ 65%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 14:46:50 [ 66%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 14:46:50 [ 68%] Building C object c/CMakeFiles/csdk.dir/service.c.o 14:46:50 ---> Running in 73490482befb 14:46:50 [ 69%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 14:46:50 [ 71%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 14:46:50 [ 73%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 14:46:50 [ 74%] Linking C shared library libcsdk.so 14:46:50 [ 74%] Built target csdk 14:46:50 Scanning dependencies of target template 14:46:50 [ 76%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 14:46:50 [ 77%] Linking C executable template 14:46:50 [ 77%] Built target template 14:46:50 Scanning dependencies of target device-counter 14:46:50 [ 79%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 14:46:50 [ 80%] Linking C executable device-counter 14:46:50 [ 80%] Built target device-counter 14:46:50 Scanning dependencies of target device-random 14:46:50 [ 82%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 14:46:50 [ 84%] Linking C executable device-random 14:46:51 [ 84%] Built target device-random 14:46:51 Scanning dependencies of target device-gyro 14:46:51 [ 85%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 14:46:51 [ 87%] Linking C executable device-gyro 14:46:51 [ 87%] Built target device-gyro 14:46:51 Scanning dependencies of target device-bitfields 14:46:51 [ 88%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 14:46:51 [ 90%] Linking C executable device-bitfields 14:46:51 [ 90%] Built target device-bitfields 14:46:51 Scanning dependencies of target template-discovery 14:46:51 [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 14:46:51 [ 93%] Linking C executable template-discovery 14:46:51 [ 93%] Built target template-discovery 14:46:51 Scanning dependencies of target device-file 14:46:51 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 14:46:51 [ 96%] Linking C executable device-file 14:46:51 [ 96%] Built target device-file 14:46:51 Scanning dependencies of target device-terminal 14:46:51 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 14:46:51 [100%] Linking C executable device-terminal 14:46:51 [100%] Built target device-terminal 14:46:51 make: Entering directory '/tmp/sdk/build/release' 14:46:51 make[1]: Entering directory '/tmp/sdk/build/release' 14:46:51 make[2]: Entering directory '/tmp/sdk/build/release' 14:46:51 make[2]: Leaving directory '/tmp/sdk/build/release' 14:46:51 [ 74%] Built target csdk 14:46:51 make[2]: Entering directory '/tmp/sdk/build/release' 14:46:51 make[2]: Leaving directory '/tmp/sdk/build/release' 14:46:51 [ 77%] Built target template 14:46:51 make[2]: Entering directory '/tmp/sdk/build/release' 14:46:51 make[2]: Leaving directory '/tmp/sdk/build/release' 14:46:51 [ 80%] Built target device-counter 14:46:51 make[2]: Entering directory '/tmp/sdk/build/release' 14:46:51 make[2]: Leaving directory '/tmp/sdk/build/release' 14:46:51 [ 84%] Built target device-random 14:46:51 make[2]: Entering directory '/tmp/sdk/build/release' 14:46:51 make[2]: Leaving directory '/tmp/sdk/build/release' 14:46:51 [ 87%] Built target device-gyro 14:46:51 make[2]: Entering directory '/tmp/sdk/build/release' 14:46:51 make[2]: Leaving directory '/tmp/sdk/build/release' 14:46:51 [ 90%] Built target device-bitfields 14:46:51 make[2]: Entering directory '/tmp/sdk/build/release' 14:46:51 make[2]: Leaving directory '/tmp/sdk/build/release' 14:46:51 [ 93%] Built target template-discovery 14:46:51 make[2]: Entering directory '/tmp/sdk/build/release' 14:46:51 make[2]: Leaving directory '/tmp/sdk/build/release' 14:46:51 [ 96%] Built target device-file 14:46:51 make[2]: Entering directory '/tmp/sdk/build/release' 14:46:51 make[2]: Leaving directory '/tmp/sdk/build/release' 14:46:51 [100%] Built target device-terminal 14:46:51 make[1]: Leaving directory '/tmp/sdk/build/release' 14:46:51 Install the project... 14:46:51 -- Install configuration: "Release" 14:46:51 -- Installing: /usr/local/lib/libcsdk.so 14:46:51 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" 14:46:51 -- Up-to-date: /usr/local/include 14:46:51 -- Installing: /usr/local/include/devsdk 14:46:51 -- Installing: /usr/local/include/devsdk/devsdk-base.h 14:46:51 -- Installing: /usr/local/include/devsdk/devsdk.h 14:46:51 -- Installing: /usr/local/include/edgex 14:46:51 -- Installing: /usr/local/include/edgex/devices.h 14:46:51 -- Installing: /usr/local/include/edgex/edgex-base.h 14:46:51 -- Installing: /usr/local/include/edgex/edgex.h 14:46:51 -- Installing: /usr/local/include/edgex/profiles.h 14:46:51 -- Installing: /usr/local/include/edgex/rest-server.h 14:46:51 -- Installing: /usr/local/include/edgex/csdk-defs.h 14:46:51 -- Installing: /usr/local/include/iot 14:46:51 -- Installing: /usr/local/include/iot/base64.h 14:46:51 -- Installing: /usr/local/include/iot/component.h 14:46:51 -- Installing: /usr/local/include/iot/config.h 14:46:51 -- Installing: /usr/local/include/iot/container.h 14:46:51 -- Installing: /usr/local/include/iot/data.h 14:46:51 -- Installing: /usr/local/include/iot/hash.h 14:46:51 -- Installing: /usr/local/include/iot/iot.h 14:46:51 -- Installing: /usr/local/include/iot/json.h 14:46:51 -- Installing: /usr/local/include/iot/logger.h 14:46:51 -- Installing: /usr/local/include/iot/os.h 14:46:51 -- Installing: /usr/local/include/iot/scheduler.h 14:46:51 -- Installing: /usr/local/include/iot/thread.h 14:46:51 -- Installing: /usr/local/include/iot/threadpool.h 14:46:51 -- Installing: /usr/local/include/iot/time.h 14:46:51 -- Installing: /usr/local/include/iot/typecode.h 14:46:51 -- Installing: /usr/local/include/iot/os 14:46:51 -- Installing: /usr/local/include/iot/os/linux.h 14:46:51 -- Installing: /usr/local/include/iot/os/macos.h 14:46:51 -- Installing: /usr/local/include/iot/os/zephyr.h 14:46:51 -- Installing: /usr/local/include/iot/defs.h 14:46:51 -- Installing: /usr/local/share/device-sdk-c/LICENSE 14:46:51 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 14:46:51 make: Leaving directory '/tmp/sdk/build/release' 14:46:52 Removing intermediate container 73490482befb 14:46:52 ---> 297d556b7d6c 14:46:52 Step 9/25 : COPY VERSION /tmp/sdk 14:46:52 Removing intermediate container 339f08e26797 14:46:52 ---> c045c4e04121 14:46:52 Step 16/25 : FROM ${BASE} 14:46:52 ---> 5eabd8fd8ba2 14:46:52 Step 17/25 : LABEL maintainer="IOTech " 14:46:52 ---> Running in e9b6e06bfb91 14:46:52 Removing intermediate container e9b6e06bfb91 14:46:52 ---> 8ab30f79db02 14:46:52 Step 18/25 : RUN wget https://iotech.jfrog.io/artifactory/alpine/KEY/support@iotechsys.com-5b990dd9.pub -O /etc/apk/keys/support@iotechsys.com-5b990dd9.pub 14:46:52 ---> Running in 6328cb84eac7 14:46:53 Connecting to iotech.jfrog.io (34.243.182.113:443) 14:46:53 ---> 5f4e818dbedb 14:46:53 Step 10/25 : COPY src /tmp/sdk/src 14:46:53 support@iotechsys.co 100% |********************************| 451 0:00:00 ETA 14:46:53 14:46:53 Removing intermediate container 6328cb84eac7 14:46:53 ---> 7d3906063428 14:46:53 Step 19/25 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories 14:46:53 ---> Running in edb8b8eb9590 14:46:54 ---> f50736fdac75 14:46:54 Step 11/25 : COPY include /tmp/sdk/include 14:46:54 Removing intermediate container edb8b8eb9590 14:46:54 ---> 840f1487ef1d 14:46:54 Step 20/25 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml curl libmicrohttpd libuuid paho-mqtt-c-dev hiredis-dev 14:46:54 ---> Running in 154c3975cbea 14:46:54 ---> a4d8c5feb3b7 14:46:54 Step 12/25 : COPY scripts /tmp/sdk/scripts 14:46:54 fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz 14:46:55 ---> 38a779ccf793 14:46:55 Step 13/25 : COPY LICENSE /tmp/sdk 14:46:55 fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz 14:46:55 fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/x86_64/APKINDEX.tar.gz 14:46:56 (1/6) Installing curl (7.64.0-r5) 14:46:56 (2/6) Installing hiredis (0.14.0-r0) 14:46:56 ---> 458479a070b6 14:46:56 Step 14/25 : COPY Attribution.txt /tmp/sdk 14:46:56 (3/6) Installing hiredis-dev (0.14.0-r0) 14:46:56 (4/6) Installing libuuid (2.33-r0) 14:46:56 (5/6) Installing paho-mqtt-c-dev (1.3.5-r0) 14:46:56 ---> 2e885e8d424c 14:46:56 Step 15/25 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 14:46:57 ---> Running in 473f92f467a1 14:46:57 (6/6) Installing wget (1.20.3-r0) 14:46:58 Executing busybox-1.29.3-r10.trigger 14:46:58 OK: 269 MiB in 81 packages 14:46:58 Removing intermediate container 154c3975cbea 14:46:58 ---> ed3baa8cb8fe 14:46:58 Step 21/25 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot 14:46:58 ---> fd5cd37a6727 14:46:58 Step 22/25 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 14:46:58 + CPPCHECK=false 14:46:58 + DOCGEN=false 14:46:58 + TOMLVER=SDK-0.2 14:46:58 + CUTILVER=1.1.4 14:46:58 + '[' 0 -gt 0 ] 14:46:58 + readlink -f ./scripts/build.sh 14:46:58 + dirname /tmp/sdk/scripts/build.sh 14:46:58 + dirname /tmp/sdk/scripts 14:46:58 + ROOT=/tmp/sdk 14:46:58 + cd /tmp/sdk 14:46:58 + '[' '!' -d deps ] 14:46:58 + mkdir deps 14:46:58 + wget -O+ tar -C deps -z -x -f - 14:46:58 - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 14:46:58 --2021-06-21 14:46:58-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 14:46:58 Resolving github.com... 140.82.112.4 14:46:58 Connecting to github.com|140.82.112.4|:443... connected. 14:46:58 HTTP request sent, awaiting response... 302 Found 14:46:58 Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] 14:46:58 --2021-06-21 14:46:58-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 14:46:58 Resolving codeload.github.com... 140.82.114.10 14:46:58 Connecting to codeload.github.com|140.82.114.10|:443... connected. 14:46:58 HTTP request sent, awaiting response... 200 OK 14:46:58 Length: 16451 (16K) [application/x-gzip] 14:46:58 Saving to: 'STDOUT' 14:46:58 14:46:58 0K .......... ......  100% 1.06M=0.01s 14:46:58 14:46:58 2021-06-21 14:46:58 (1.06 MB/s) - written to stdout [16451/16451] 14:46:58 14:46:58 + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c 14:46:58 + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz 14:46:58 + tar -C deps -z -x -f - 14:46:58 --2021-06-21 14:46:58-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz 14:46:58 Resolving github.com... 140.82.112.4 14:46:58 Connecting to github.com|140.82.112.4|:443... connected. 14:46:58 HTTP request sent, awaiting response... 302 Found 14:46:58 Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 [following] 14:46:58 --2021-06-21 14:46:58-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 14:46:58 Resolving codeload.github.com... 140.82.114.10 14:46:58 Connecting to codeload.github.com|140.82.114.10|:443... connected. 14:46:58 ---> 99ecc359610d 14:46:58 Step 23/25 : COPY --from=builder /usr/local/lib /usr/local/lib 14:46:58 ---> ccf9759ca284 14:46:58 Step 24/25 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 14:46:58 ---> 665e664cabf8 14:46:58 Step 25/25 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 14:46:58 HTTP request sent, awaiting response... 200 OK 14:46:58 Length: unspecified [application/x-gzip] 14:46:58 Saving to: 'STDOUT' 14:46:58  14:46:58 0K .......... .......... .......... .......... .......... 1.55M 14:46:58 50K .......... .......... .......... .......... .......... 3.23M 14:46:58 100K .......... .......... .......... .......... .......... 4.19M 14:46:58 150K .......... .......... ....... 1.40M=0.08s 14:46:58 14:46:58 2021-06-21 14:46:58 (2.24 MB/s) - written to stdout [181796] 14:46:58 14:46:58 + mkdir -p src/c/iot 14:46:58 + cp deps/iotech-c-utils-1.1.4/src/c/base64.c deps/iotech-c-utils-1.1.4/src/c/component.c deps/iotech-c-utils-1.1.4/src/c/config.c deps/iotech-c-utils-1.1.4/src/c/container.c deps/iotech-c-utils-1.1.4/src/c/data.c deps/iotech-c-utils-1.1.4/src/c/hash.c deps/iotech-c-utils-1.1.4/src/c/iot.c deps/iotech-c-utils-1.1.4/src/c/json.c deps/iotech-c-utils-1.1.4/src/c/logger.c deps/iotech-c-utils-1.1.4/src/c/os.c deps/iotech-c-utils-1.1.4/src/c/scheduler.c deps/iotech-c-utils-1.1.4/src/c/thread.c deps/iotech-c-utils-1.1.4/src/c/threadpool.c deps/iotech-c-utils-1.1.4/src/c/time.c deps/iotech-c-utils-1.1.4/src/c/yxml.c src/c/iot 14:46:58 + cp deps/iotech-c-utils-1.1.4/src/c/defs.h.in src/c/iot 14:46:58 + cp deps/iotech-c-utils-1.1.4/src/c/yxml.h src/c/iot 14:46:58 + cp deps/iotech-c-utils-1.1.4/VERSION src/c/iot 14:46:58 + mkdir -p include/iot 14:46:58 + cp deps/iotech-c-utils-1.1.4/include/iot/base64.h deps/iotech-c-utils-1.1.4/include/iot/component.h deps/iotech-c-utils-1.1.4/include/iot/config.h deps/iotech-c-utils-1.1.4/include/iot/container.h deps/iotech-c-utils-1.1.4/include/iot/data.h deps/iotech-c-utils-1.1.4/include/iot/hash.h deps/iotech-c-utils-1.1.4/include/iot/iot.h deps/iotech-c-utils-1.1.4/include/iot/json.h deps/iotech-c-utils-1.1.4/include/iot/logger.h deps/iotech-c-utils-1.1.4/include/iot/os.h deps/iotech-c-utils-1.1.4/include/iot/scheduler.h deps/iotech-c-utils-1.1.4/include/iot/thread.h deps/iotech-c-utils-1.1.4/include/iot/threadpool.h deps/iotech-c-utils-1.1.4/include/iot/time.h deps/iotech-c-utils-1.1.4/include/iot/typecode.h include/iot 14:46:58 + mkdir -p include/iot/os 14:46:58 + cp deps/iotech-c-utils-1.1.4/include/iot/os/linux.h deps/iotech-c-utils-1.1.4/include/iot/os/macos.h deps/iotech-c-utils-1.1.4/include/iot/os/zephyr.h include/iot/os 14:46:58 + mkdir -p /tmp/sdk/build/release 14:46:58 + cd /tmp/sdk/build/release 14:46:58 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 14:46:59 ---> 41d7fae75a64 14:46:59 Successfully built 41d7fae75a64 14:46:59 Successfully tagged ci-base-image-x86_64:latest 14:46:59 -- The C compiler identification is GNU 8.3.0 14:46:59 -- Check for working C compiler: /usr/bin/cc [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage 14:46:59 -- Check for working C compiler: /usr/bin/cc -- works 14:46:59 -- Detecting C compiler ABI info [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 14:46:59 -- Detecting C compiler ABI info - done 14:46:59 -- Detecting C compile features 14:46:59 + docker inspect -f . ci-base-image-x86_64 14:46:59 . [Pipeline] withDockerContainer 14:47:00 prd-centos7-docker-4c-2g-526 does not seem to be running inside a container 14:47:00 $ 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 ******** ci-base-image-x86_64 cat 14:47:00 $ docker top 88f820d764600c0d435613f85b5868294be12c6e4d792be4016284ea41093459 -eo pid,comm [Pipeline] { [Pipeline] sh 14:47:00 -- Detecting C compile features - done 14:47:00 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 14:47:00 -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") 14:47:00 -- Found LIBYAML: /usr/lib/libyaml.so 14:47:00 -- Found LIBUUID: /usr/lib/libuuid.so 14:47:00 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 14:47:00 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 14:47:00 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 14:47:00 -- C SDK 0.0.0 for Linux 14:47:00 -- Performing Test CSDK_HAVE_ATOMIC 14:47:00 -- Performing Test CSDK_HAVE_ATOMIC - Success 14:47:00 + make test 14:47:00 echo "make test" 14:47:00 make test [Pipeline] } 14:47:00 $ docker stop --time=1 88f820d764600c0d435613f85b5868294be12c6e4d792be4016284ea41093459 14:47:00 -- Found Curses: /usr/lib/libcurses.so 14:47:00 -- Configuring done 14:47:01 -- Generating done 14:47:01 -- Build files have been written to: /tmp/sdk/build/release 14:47:01 + make all package 14:47:01 + tee release.log 14:47:01 Scanning dependencies of target csdk 14:47:01 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 14:47:02 $ docker rm -f 88f820d764600c0d435613f85b5868294be12c6e4d792be4016284ea41093459 14:47:02 [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { 14:47:02 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 14:47:04 [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 14:47:04 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 14:47:05 [ 9%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [Pipeline] sh 14:47:05 [ 11%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 14:47:05 + sudo chown -R jenkins:jenkins . [Pipeline] sh 14:47:06 + ls -al . 14:47:06 total 160 14:47:06 drwxrwxr-x. 8 jenkins jenkins 260 Jun 21 14:45 . 14:47:06 drwxrwxr-x. 4 jenkins jenkins 28 Jun 21 14:45 .. 14:47:06 -rw-rw-r--. 1 jenkins jenkins 3104 Jun 21 14:45 Attribution.txt 14:47:06 -rw-rw-r--. 1 jenkins jenkins 7509 Jun 21 14:45 CHANGES 14:47:06 drwxrwxr-x. 2 jenkins jenkins 121 Jun 21 14:45 docs 14:47:06 -rw-rw-r--. 1 jenkins jenkins 108574 Jun 21 14:45 Doxyfile 14:47:06 drwxrwxr-x. 8 jenkins jenkins 179 Jun 21 14:45 .git 14:47:06 drwxrwxr-x. 2 jenkins jenkins 81 Jun 21 14:45 .github 14:47:06 -rw-rw-r--. 1 jenkins jenkins 176 Jun 21 14:45 .gitignore 14:47:06 drwxrwxr-x. 4 jenkins jenkins 33 Jun 21 14:45 include 14:47:06 -rw-rw-r--. 1 jenkins jenkins 784 Jun 21 14:45 Jenkinsfile 14:47:06 -rw-rw-r--. 1 jenkins jenkins 10174 Jun 21 14:45 LICENSE 14:47:06 -rw-rw-r--. 1 jenkins jenkins 444 Jun 21 14:45 Makefile 14:47:06 -rw-rw-r--. 1 jenkins jenkins 4090 Jun 21 14:45 README.md 14:47:06 -rw-rw-r--. 1 jenkins jenkins 7090 Jun 21 14:45 README.v2.md 14:47:06 drwxrwxr-x. 2 jenkins jenkins 98 Jun 21 14:45 scripts 14:47:06 drwxrwxr-x. 4 jenkins jenkins 50 Jun 21 14:45 src 14:47:06 -rw-rw-r--. 1 jenkins jenkins 5 Jun 21 14:42 VERSION [Pipeline] isUnix [Pipeline] sh 14:47:06 [ 12%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o 14:47:06 [ 14%] Building C object c/CMakeFiles/csdk.dir/data.c.o 14:47:06 + 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=2b0697b9b90fee7c5a100d7b7954bc3489632622 --label arch=amd64 --label version=0.0.0 . 14:47:06 Sending build context to Docker daemon 2.629MB 14:47:06 Step 1/17 : ARG BASE=alpine:3.12 14:47:06 Step 2/17 : FROM ${BASE} 14:47:06 ---> 41d7fae75a64 14:47:06 Step 3/17 : LABEL maintainer="IOTech " 14:47:06 ---> Running in 743a1562a2c1 14:47:06 Removing intermediate container 743a1562a2c1 14:47:06 ---> cfd26852c651 14:47:06 Step 4/17 : RUN wget https://iotech.jfrog.io/artifactory/alpine/KEY/support@iotechsys.com-5b990dd9.pub -O /etc/apk/keys/support@iotechsys.com-5b990dd9.pub 14:47:06 ---> Running in 0758c1078fd8 14:47:06 --2021-06-21 14:47:06-- https://iotech.jfrog.io/artifactory/alpine/KEY/support@iotechsys.com-5b990dd9.pub 14:47:06 Resolving iotech.jfrog.io... 34.243.182.113, 54.74.239.58, 54.72.115.12 14:47:06 Connecting to iotech.jfrog.io|34.243.182.113|:443... connected. 14:47:07 HTTP request sent, awaiting response... 200 OK 14:47:07 Length: 451 [application/octet-stream] 14:47:07 Saving to: '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' 14:47:07  14:47:07 0K 100% 50.4M=0s 14:47:07 14:47:07 2021-06-21 14:47:07 (50.4 MB/s) - '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' saved [451/451] 14:47:07 14:47:07 Removing intermediate container 0758c1078fd8 14:47:07 ---> 1c4bf15f2401 14:47:07 Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories 14:47:07 [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o 14:47:07 ---> Running in 08025904c48a 14:47:08 Removing intermediate container 08025904c48a 14:47:08 ---> aefac296608d 14:47:08 Step 6/17 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml-dev libcurl curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev paho-mqtt-c-dev hiredis-dev && mkdir -p /edgex-c-sdk/build 14:47:08 ---> Running in d4f523d04d71 14:47:08 fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz 14:47:09 [ 17%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 14:47:09 [ 19%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 14:47:09 fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz 14:47:09 fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/x86_64/APKINDEX.tar.gz 14:47:09 [ 20%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 14:47:10 (1/6) Installing ncurses-dev (6.1_p20190105-r0) 14:47:10 (2/6) Installing libblkid (2.33-r0) 14:47:10 (3/6) Installing libfdisk (2.33-r0) 14:47:10 [ 22%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 14:47:10 (4/6) Installing libmount (2.33-r0) 14:47:10 (5/6) Installing libsmartcols (2.33-r0) 14:47:10 (6/6) Installing util-linux-dev (2.33-r0) 14:47:10 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 14:47:10 Executing busybox-1.29.3-r10.trigger 14:47:10 OK: 273 MiB in 87 packages 14:47:11 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 14:47:11 [ 26%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 14:47:11 Removing intermediate container d4f523d04d71 14:47:11 ---> 6e5a001b5328 14:47:11 Step 7/17 : COPY VERSION /edgex-c-sdk/ 14:47:11 ---> cd5b7172f055 14:47:11 Step 8/17 : COPY src /edgex-c-sdk/src/ 14:47:11 ---> d5390aeff7aa 14:47:11 Step 9/17 : COPY include /edgex-c-sdk/include/ 14:47:11 ---> 5f877d6197a1 14:47:11 Step 10/17 : COPY scripts /edgex-c-sdk/scripts 14:47:12 ---> 9350d0b03b0f 14:47:12 Step 11/17 : COPY LICENSE /edgex-c-sdk/ 14:47:12 ---> 59b46a116fd9 14:47:12 Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ 14:47:12 ---> 848394e27a13 14:47:12 Step 13/17 : WORKDIR /edgex-c-sdk 14:47:12 ---> Running in 5aee0078338c 14:47:12 Removing intermediate container 5aee0078338c 14:47:12 ---> 99893b820d3e 14:47:12 Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 14:47:12 ---> Running in 65babab41674 14:47:12 Removing intermediate container 65babab41674 14:47:12 ---> 7dfb352ac412 14:47:12 Step 15/17 : LABEL arch=amd64 14:47:12 ---> Running in 7190bc766c05 14:47:12 Removing intermediate container 7190bc766c05 14:47:12 ---> 3e13c15b0064 14:47:12 Step 16/17 : LABEL git_sha=2b0697b9b90fee7c5a100d7b7954bc3489632622 14:47:12 ---> Running in 10c492e06e55 14:47:12 Removing intermediate container 10c492e06e55 14:47:12 ---> 0538db2de9cc 14:47:12 Step 17/17 : LABEL version=0.0.0 14:47:12 ---> Running in fbfdef37f663 14:47:12 Removing intermediate container fbfdef37f663 14:47:12 ---> c9565d028c73 14:47:12 [Warning] One or more build-args [ARCH MAKE] were not consumed 14:47:12 Successfully built c9565d028c73 14:47:12 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 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } 14:47:14 [ 28%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 14:47:14 [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 14:47:14 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 14:47:15 [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 14:47:15 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 14:47:16 [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 14:47:18 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 14:47:18 [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 14:47:18 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 14:47:19 [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 14:47:19 [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 14:47:20 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 14:47:21 [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 14:47:21 [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 14:47:21 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 14:47:22 [ 52%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 14:47:24 [ 53%] Building C object c/CMakeFiles/csdk.dir/map.c.o 14:47:24 [ 55%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 14:47:25 [ 57%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 14:47:25 [ 58%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 14:47:29 [ 60%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 14:47:30 [ 61%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 14:47:30 [ 63%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 14:47:31 [ 65%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 14:47:32 [ 66%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 14:47:33 [ 68%] Building C object c/CMakeFiles/csdk.dir/service.c.o 14:47:35 [ 69%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 14:47:38 [ 71%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 14:47:38 [ 73%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 14:47:39 [ 74%] Linking C shared library libcsdk.so 14:47:39 [ 74%] Built target csdk 14:47:39 Scanning dependencies of target template 14:47:39 [ 76%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 14:47:40 [ 77%] Linking C executable template 14:47:40 [ 77%] Built target template 14:47:40 Scanning dependencies of target device-counter 14:47:40 [ 79%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 14:47:40 [ 80%] Linking C executable device-counter 14:47:40 [ 80%] Built target device-counter 14:47:41 Scanning dependencies of target device-random 14:47:41 [ 82%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 14:47:41 [ 84%] Linking C executable device-random 14:47:41 [ 84%] Built target device-random 14:47:41 Scanning dependencies of target device-gyro 14:47:41 [ 85%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 14:47:42 [ 87%] Linking C executable device-gyro 14:47:42 [ 87%] Built target device-gyro 14:47:42 Scanning dependencies of target device-bitfields 14:47:42 [ 88%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 14:47:42 [ 90%] Linking C executable device-bitfields 14:47:42 [ 90%] Built target device-bitfields 14:47:43 Scanning dependencies of target template-discovery 14:47:43 [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 14:47:43 [ 93%] Linking C executable template-discovery 14:47:44 [ 93%] Built target template-discovery 14:47:44 Scanning dependencies of target device-file 14:47:44 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 14:47:44 [ 96%] Linking C executable device-file 14:47:44 [ 96%] Built target device-file 14:47:44 Scanning dependencies of target device-terminal 14:47:44 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 14:47:45 [100%] Linking C executable device-terminal 14:47:45 [100%] Built target device-terminal 14:47:45 Run CPack packaging tool... 14:47:45 CPack: Create package using TGZ 14:47:45 CPack: Install projects 14:47:45 CPack: - Run preinstall target for: Csdk 14:47:46 CPack: - Install project: Csdk 14:47:46 CPack: Create package 14:47:46 CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. 14:47:46 + '[' false '=' true ] 14:47:46 + '[' false '=' true ] 14:47:46 + mkdir -p /tmp/sdk/build/debug 14:47:46 + cd /tmp/sdk/build/debug 14:47:46 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 14:47:46 -- The C compiler identification is GNU 8.3.0 14:47:46 -- Check for working C compiler: /usr/bin/cc 14:47:46 -- Check for working C compiler: /usr/bin/cc -- works 14:47:46 -- Detecting C compiler ABI info 14:47:47 -- Detecting C compiler ABI info - done 14:47:47 -- Detecting C compile features 14:47:47 -- Detecting C compile features - done 14:47:47 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 14:47:47 -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") 14:47:47 -- Found LIBYAML: /usr/lib/libyaml.so 14:47:47 -- Found LIBUUID: /usr/lib/libuuid.so 14:47:47 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 14:47:47 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 14:47:48 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 14:47:48 -- C SDK 0.0.0 for Linux 14:47:48 -- Performing Test CSDK_HAVE_ATOMIC 14:47:48 -- Performing Test CSDK_HAVE_ATOMIC - Success 14:47:48 -- Found Curses: /usr/lib/libcurses.so 14:47:48 -- Configuring done 14:47:48 -- Generating done 14:47:48 -- Build files have been written to: /tmp/sdk/build/debug 14:47:48 + make 14:47:48 + tee debug.log 14:47:48 Scanning dependencies of target csdk 14:47:48 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 14:47:49 [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 14:47:49 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 14:47:50 [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 14:47:50 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 14:47:50 [ 9%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o 14:47:50 [ 11%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 14:47:50 [ 12%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o 14:47:51 [ 14%] Building C object c/CMakeFiles/csdk.dir/data.c.o 14:47:51 [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o 14:47:51 [ 17%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 14:47:52 [ 19%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 14:47:52 [ 20%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 14:47:52 [ 22%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 14:47:53 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 14:47:53 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 14:47:53 [ 26%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 14:47:54 [ 28%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 14:47:54 [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 14:47:54 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 14:47:54 [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 14:47:55 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 14:47:55 [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 14:47:56 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 14:47:56 [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 14:47:56 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 14:47:56 [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 14:47:56 [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 14:47:56 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 14:47:57 [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 14:47:57 [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 14:47:57 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 14:47:58 [ 52%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 14:47:58 [ 53%] Building C object c/CMakeFiles/csdk.dir/map.c.o 14:47:58 [ 55%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 14:47:58 [ 57%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 14:47:59 [ 58%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 14:48:00 [ 60%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 14:48:00 [ 61%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 14:48:00 [ 63%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 14:48:00 [ 65%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 14:48:01 [ 66%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 14:48:02 [ 68%] Building C object c/CMakeFiles/csdk.dir/service.c.o 14:48:02 [ 69%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 14:48:03 [ 71%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 14:48:03 [ 73%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 14:48:03 [ 74%] Linking C shared library libcsdk.so 14:48:03 [ 74%] Built target csdk 14:48:04 Scanning dependencies of target template 14:48:04 [ 76%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 14:48:04 [ 77%] Linking C executable template 14:48:04 [ 77%] Built target template 14:48:04 Scanning dependencies of target device-counter 14:48:04 [ 79%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 14:48:04 [ 80%] Linking C executable device-counter 14:48:04 [ 80%] Built target device-counter 14:48:04 Scanning dependencies of target device-random 14:48:05 [ 82%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 14:48:05 [ 84%] Linking C executable device-random 14:48:05 [ 84%] Built target device-random 14:48:05 Scanning dependencies of target device-gyro 14:48:05 [ 85%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 14:48:05 [ 87%] Linking C executable device-gyro 14:48:06 [ 87%] Built target device-gyro 14:48:06 Scanning dependencies of target device-bitfields 14:48:06 [ 88%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 14:48:06 [ 90%] Linking C executable device-bitfields 14:48:06 [ 90%] Built target device-bitfields 14:48:06 Scanning dependencies of target template-discovery 14:48:06 [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 14:48:06 [ 93%] Linking C executable template-discovery 14:48:07 [ 93%] Built target template-discovery 14:48:07 Scanning dependencies of target device-file 14:48:07 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 14:48:07 [ 96%] Linking C executable device-file 14:48:07 [ 96%] Built target device-file 14:48:07 Scanning dependencies of target device-terminal 14:48:07 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 14:48:07 [100%] Linking C executable device-terminal 14:48:08 [100%] Built target device-terminal 14:48:08 make: Entering directory '/tmp/sdk/build/release' 14:48:08 make[1]: Entering directory '/tmp/sdk/build/release' 14:48:08 make[2]: Entering directory '/tmp/sdk/build/release' 14:48:08 make[2]: Leaving directory '/tmp/sdk/build/release' 14:48:08 [ 74%] Built target csdk 14:48:08 make[2]: Entering directory '/tmp/sdk/build/release' 14:48:08 make[2]: Leaving directory '/tmp/sdk/build/release' 14:48:08 [ 77%] Built target template 14:48:08 make[2]: Entering directory '/tmp/sdk/build/release' 14:48:08 make[2]: Leaving directory '/tmp/sdk/build/release' 14:48:08 [ 80%] Built target device-counter 14:48:08 make[2]: Entering directory '/tmp/sdk/build/release' 14:48:08 make[2]: Leaving directory '/tmp/sdk/build/release' 14:48:08 [ 84%] Built target device-random 14:48:08 make[2]: Entering directory '/tmp/sdk/build/release' 14:48:08 make[2]: Leaving directory '/tmp/sdk/build/release' 14:48:08 [ 87%] Built target device-gyro 14:48:08 make[2]: Entering directory '/tmp/sdk/build/release' 14:48:08 make[2]: Leaving directory '/tmp/sdk/build/release' 14:48:08 [ 90%] Built target device-bitfields 14:48:08 make[2]: Entering directory '/tmp/sdk/build/release' 14:48:08 make[2]: Leaving directory '/tmp/sdk/build/release' 14:48:08 [ 93%] Built target template-discovery 14:48:08 make[2]: Entering directory '/tmp/sdk/build/release' 14:48:08 make[2]: Leaving directory '/tmp/sdk/build/release' 14:48:08 [ 96%] Built target device-file 14:48:08 make[2]: Entering directory '/tmp/sdk/build/release' 14:48:08 make[2]: Leaving directory '/tmp/sdk/build/release' 14:48:08 [100%] Built target device-terminal 14:48:08 make[1]: Leaving directory '/tmp/sdk/build/release' 14:48:08 Install the project... 14:48:08 -- Install configuration: "Release" 14:48:08 -- Installing: /usr/local/lib/libcsdk.so 14:48:08 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" 14:48:08 -- Up-to-date: /usr/local/include 14:48:08 -- Installing: /usr/local/include/edgex 14:48:08 -- Installing: /usr/local/include/edgex/rest-server.h 14:48:08 -- Installing: /usr/local/include/edgex/edgex-base.h 14:48:08 -- Installing: /usr/local/include/edgex/edgex.h 14:48:08 -- Installing: /usr/local/include/edgex/devices.h 14:48:08 -- Installing: /usr/local/include/edgex/profiles.h 14:48:08 -- Installing: /usr/local/include/edgex/csdk-defs.h 14:48:08 -- Installing: /usr/local/include/devsdk 14:48:08 -- Installing: /usr/local/include/devsdk/devsdk-base.h 14:48:08 -- Installing: /usr/local/include/devsdk/devsdk.h 14:48:08 -- Installing: /usr/local/include/iot 14:48:08 -- Installing: /usr/local/include/iot/json.h 14:48:08 -- Installing: /usr/local/include/iot/container.h 14:48:08 -- Installing: /usr/local/include/iot/component.h 14:48:08 -- Installing: /usr/local/include/iot/typecode.h 14:48:08 -- Installing: /usr/local/include/iot/iot.h 14:48:08 -- Installing: /usr/local/include/iot/time.h 14:48:08 -- Installing: /usr/local/include/iot/hash.h 14:48:08 -- Installing: /usr/local/include/iot/logger.h 14:48:08 -- Installing: /usr/local/include/iot/os 14:48:08 -- Installing: /usr/local/include/iot/os/zephyr.h 14:48:08 -- Installing: /usr/local/include/iot/os/linux.h 14:48:08 -- Installing: /usr/local/include/iot/os/macos.h 14:48:08 -- Installing: /usr/local/include/iot/scheduler.h 14:48:08 -- Installing: /usr/local/include/iot/data.h 14:48:08 -- Installing: /usr/local/include/iot/thread.h 14:48:08 -- Installing: /usr/local/include/iot/os.h 14:48:08 -- Installing: /usr/local/include/iot/base64.h 14:48:08 -- Installing: /usr/local/include/iot/defs.h 14:48:08 -- Installing: /usr/local/include/iot/threadpool.h 14:48:08 -- Installing: /usr/local/include/iot/config.h 14:48:08 -- Installing: /usr/local/share/device-sdk-c/LICENSE 14:48:08 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 14:48:08 make: Leaving directory '/tmp/sdk/build/release' 14:48:10 Removing intermediate container 473f92f467a1 14:48:10 ---> bc6391464235 14:48:10 Step 16/25 : FROM ${BASE} 14:48:10 ---> b23d30803547 14:48:10 Step 17/25 : LABEL maintainer="IOTech " 14:48:11 ---> Running in 61116849b915 14:48:11 Removing intermediate container 61116849b915 14:48:11 ---> bb196f9f2cbe 14:48:11 Step 18/25 : RUN wget https://iotech.jfrog.io/artifactory/alpine/KEY/support@iotechsys.com-5b990dd9.pub -O /etc/apk/keys/support@iotechsys.com-5b990dd9.pub 14:48:11 ---> Running in 51476339430b 14:48:13 Connecting to iotech.jfrog.io (34.243.182.113:443) 14:48:13 support@iotechsys.co 100% |********************************| 451 0:00:00 ETA 14:48:13 14:48:14 Removing intermediate container 51476339430b 14:48:14 ---> 5f3d9cdfe287 14:48:14 Step 19/25 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories 14:48:14 ---> Running in ee7dd8db3163 14:48:16 Removing intermediate container ee7dd8db3163 14:48:16 ---> d583bd196cbd 14:48:16 Step 20/25 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml curl libmicrohttpd libuuid paho-mqtt-c-dev hiredis-dev 14:48:16 ---> Running in da59dcb7e93f 14:48:17 fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz 14:48:18 fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz 14:48:19 fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/aarch64/APKINDEX.tar.gz 14:48:19 (1/6) Installing curl (7.64.0-r5) 14:48:19 (2/6) Installing hiredis (0.14.0-r0) 14:48:20 (3/6) Installing hiredis-dev (0.14.0-r0) 14:48:20 (4/6) Installing libuuid (2.33-r0) 14:48:20 (5/6) Installing paho-mqtt-c-dev (1.3.5-r0) 14:48:21 (6/6) Installing wget (1.20.3-r0) 14:48:22 Executing busybox-1.29.3-r10.trigger 14:48:22 OK: 283 MiB in 81 packages 14:48:23 Removing intermediate container da59dcb7e93f 14:48:23 ---> 82c82d9798db 14:48:23 Step 21/25 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot 14:48:24 ---> 54243581b9f9 14:48:24 Step 22/25 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 14:48:25 ---> cc4ac22b4242 14:48:25 Step 23/25 : COPY --from=builder /usr/local/lib /usr/local/lib 14:48:26 ---> a02c7300da8f 14:48:26 Step 24/25 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 14:48:26 ---> a5462efdfa8d 14:48:26 Step 25/25 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 14:48:27 ---> ab2ddb7e5031 14:48:27 Successfully built ab2ddb7e5031 14:48:27 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 14:48:28 + docker inspect -f . ci-base-image-arm64 14:48:28 . [Pipeline] withDockerContainer 14:48:28 prd-ubuntu18.04-docker-arm64-4c-16g-525 does not seem to be running inside a container 14:48:28 $ 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 ******** ci-base-image-arm64 cat 14:48:30 $ docker top d47a8c0d0aeaabfc8d3e52f905d4bc02adab3613d8a05d50f1d80f28abf1fa26 -eo pid,comm [Pipeline] { [Pipeline] sh 14:48:31 + make test 14:48:31 echo "make test" 14:48:31 make test [Pipeline] } 14:48:31 $ docker stop --time=1 d47a8c0d0aeaabfc8d3e52f905d4bc02adab3613d8a05d50f1d80f28abf1fa26 14:48:33 $ docker rm -f d47a8c0d0aeaabfc8d3e52f905d4bc02adab3613d8a05d50f1d80f28abf1fa26 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 14:48:34 + sudo chown -R jenkins:jenkins . [Pipeline] sh 14:48:34 + ls -al . 14:48:34 total 192 14:48:34 drwxrwxr-x 8 jenkins jenkins 4096 Jun 21 14:45 . 14:48:34 drwxrwxr-x 4 jenkins jenkins 4096 Jun 21 14:45 .. 14:48:34 drwxrwxr-x 8 jenkins jenkins 4096 Jun 21 14:45 .git 14:48:34 drwxrwxr-x 2 jenkins jenkins 4096 Jun 21 14:45 .github 14:48:34 -rw-rw-r-- 1 jenkins jenkins 176 Jun 21 14:45 .gitignore 14:48:34 -rw-rw-r-- 1 jenkins jenkins 3104 Jun 21 14:45 Attribution.txt 14:48:34 -rw-rw-r-- 1 jenkins jenkins 7509 Jun 21 14:45 CHANGES 14:48:34 -rw-rw-r-- 1 jenkins jenkins 108574 Jun 21 14:45 Doxyfile 14:48:34 -rw-rw-r-- 1 jenkins jenkins 784 Jun 21 14:45 Jenkinsfile 14:48:34 -rw-rw-r-- 1 jenkins jenkins 10174 Jun 21 14:45 LICENSE 14:48:34 -rw-rw-r-- 1 jenkins jenkins 444 Jun 21 14:45 Makefile 14:48:34 -rw-rw-r-- 1 jenkins jenkins 4090 Jun 21 14:45 README.md 14:48:34 -rw-rw-r-- 1 jenkins jenkins 7090 Jun 21 14:45 README.v2.md 14:48:34 -rw-rw-r-- 1 jenkins jenkins 5 Jun 21 14:42 VERSION 14:48:34 drwxrwxr-x 2 jenkins jenkins 4096 Jun 21 14:45 docs 14:48:34 drwxrwxr-x 4 jenkins jenkins 4096 Jun 21 14:45 include 14:48:34 drwxrwxr-x 2 jenkins jenkins 4096 Jun 21 14:45 scripts 14:48:34 drwxrwxr-x 4 jenkins jenkins 4096 Jun 21 14:45 src [Pipeline] isUnix [Pipeline] sh 14:48:35 + 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=2b0697b9b90fee7c5a100d7b7954bc3489632622 --label arch=arm64 --label version=0.0.0 . 14:48:35 Sending build context to Docker daemon 2.628MB 14:48:35 Step 1/17 : ARG BASE=alpine:3.12 14:48:35 Step 2/17 : FROM ${BASE} 14:48:35 ---> ab2ddb7e5031 14:48:35 Step 3/17 : LABEL maintainer="IOTech " 14:48:36 ---> Running in 58387b43eeea 14:48:36 Removing intermediate container 58387b43eeea 14:48:36 ---> 7415d7b28afc 14:48:36 Step 4/17 : RUN wget https://iotech.jfrog.io/artifactory/alpine/KEY/support@iotechsys.com-5b990dd9.pub -O /etc/apk/keys/support@iotechsys.com-5b990dd9.pub 14:48:36 ---> Running in 87a707ced0db 14:48:38 --2021-06-21 14:48:37-- https://iotech.jfrog.io/artifactory/alpine/KEY/support@iotechsys.com-5b990dd9.pub 14:48:38 Resolving iotech.jfrog.io... 54.72.115.12, 34.243.182.113, 54.74.239.58 14:48:38 Connecting to iotech.jfrog.io|54.72.115.12|:443... connected. 14:48:38 HTTP request sent, awaiting response... 200 OK 14:48:38 Length: 451 [application/octet-stream] 14:48:38 Saving to: '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' 14:48:38  14:48:38 0K  100% 17.7M=0s 14:48:38 14:48:38 2021-06-21 14:48:38 (17.7 MB/s) - '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' saved [451/451] 14:48:38 14:48:39 Removing intermediate container 87a707ced0db 14:48:39 ---> ae60367edb76 14:48:39 Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories 14:48:39 ---> Running in 5a28ef0e3057 14:48:41 Removing intermediate container 5a28ef0e3057 14:48:41 ---> abd90f418034 14:48:41 Step 6/17 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml-dev libcurl curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev paho-mqtt-c-dev hiredis-dev && mkdir -p /edgex-c-sdk/build 14:48:41 ---> Running in 99060a200d45 14:48:42 fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz 14:48:43 fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz 14:48:43 fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/aarch64/APKINDEX.tar.gz 14:48:52 (1/6) Installing ncurses-dev (6.1_p20190105-r0) 14:48:52 (2/6) Installing libblkid (2.33-r0) 14:48:52 (3/6) Installing libfdisk (2.33-r0) 14:48:52 (4/6) Installing libmount (2.33-r0) 14:48:52 (5/6) Installing libsmartcols (2.33-r0) 14:48:52 (6/6) Installing util-linux-dev (2.33-r0) 14:48:52 Executing busybox-1.29.3-r10.trigger 14:48:52 OK: 287 MiB in 87 packages 14:48:53 Removing intermediate container 99060a200d45 14:48:53 ---> 5b4ba356b61c 14:48:53 Step 7/17 : COPY VERSION /edgex-c-sdk/ 14:48:54 ---> 115a4eb65d20 14:48:54 Step 8/17 : COPY src /edgex-c-sdk/src/ 14:48:55 ---> abd3231b827c 14:48:55 Step 9/17 : COPY include /edgex-c-sdk/include/ 14:48:56 ---> 96f924b6fbc5 14:48:56 Step 10/17 : COPY scripts /edgex-c-sdk/scripts 14:48:56 ---> c5140b28144d 14:48:56 Step 11/17 : COPY LICENSE /edgex-c-sdk/ 14:48:57 ---> ec8c7e3a33bc 14:48:57 Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ 14:48:58 ---> d063aa9e4925 14:48:58 Step 13/17 : WORKDIR /edgex-c-sdk 14:48:58 ---> Running in c3ef14c68bfe 14:48:59 Removing intermediate container c3ef14c68bfe 14:48:59 ---> ebb747076c1f 14:48:59 Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 14:48:59 ---> Running in 9890473fc8c8 14:48:59 Removing intermediate container 9890473fc8c8 14:48:59 ---> 9a79f63c0a2c 14:48:59 Step 15/17 : LABEL arch=arm64 14:48:59 ---> Running in 5e9b4d23d9d1 14:49:00 Removing intermediate container 5e9b4d23d9d1 14:49:00 ---> cce12a10ebf6 14:49:00 Step 16/17 : LABEL git_sha=2b0697b9b90fee7c5a100d7b7954bc3489632622 14:49:00 ---> Running in 574b634c01e0 14:49:01 Removing intermediate container 574b634c01e0 14:49:01 ---> 3385c1d8b816 14:49:01 Step 17/17 : LABEL version=0.0.0 14:49:01 ---> Running in 0edf7f85cfa4 14:49:01 Removing intermediate container 0edf7f85cfa4 14:49:01 ---> 5bacc5bd28b7 14:49:01 [Warning] One or more build-args [ARCH MAKE] were not consumed 14:49:01 Successfully built 5bacc5bd28b7 14:49:01 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 [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] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh 14:49:04 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 14:49:05 ---> package-listing.sh 14:49:05 ++ facter osfamily 14:49:05 ++ tr '[:upper:]' '[:lower:]' 14:49:05 + OS_FAMILY=redhat 14:49:05 + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-353 14:49:05 + START_PACKAGES=/tmp/packages_start.txt 14:49:05 + END_PACKAGES=/tmp/packages_end.txt 14:49:05 + DIFF_PACKAGES=/tmp/packages_diff.txt 14:49:05 + PACKAGES=/tmp/packages_start.txt 14:49:05 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-353 ']' 14:49:05 + PACKAGES=/tmp/packages_end.txt 14:49:05 + case "${OS_FAMILY}" in 14:49:05 + rpm -qa 14:49:05 + sort 14:49:06 + '[' -f /tmp/packages_start.txt ']' 14:49:06 + '[' -f /tmp/packages_end.txt ']' 14:49:06 + diff /tmp/packages_start.txt /tmp/packages_end.txt 14:49:06 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-353 ']' 14:49:06 + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-353/archives/ 14:49:06 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-353/archives/ [Pipeline] echo 14:49:06 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-c_PR-353/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 14:49:06 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 14:49:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 14:49:07 14:49:07 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 14:49:07 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 14:49:07 alpine: Pulling from edgex-lftools-log-publisher 14:49:07 df20fa9351a1: Pulling fs layer 14:49:07 36b3adc4ff6f: Pulling fs layer 14:49:07 8ad3a11d3b57: Pulling fs layer 14:49:07 46f8f816bc3b: Pulling fs layer 14:49:07 93b61091891f: Pulling fs layer 14:49:07 93b9cdb0e59b: Pulling fs layer 14:49:07 5e14af77c1be: Pulling fs layer 14:49:07 01666e4c0597: Pulling fs layer 14:49:07 aa168da1d23b: Pulling fs layer 14:49:07 93b9cdb0e59b: Waiting 14:49:07 5e14af77c1be: Waiting 14:49:07 01666e4c0597: Waiting 14:49:07 aa168da1d23b: Waiting 14:49:07 93b61091891f: Waiting 14:49:07 46f8f816bc3b: Waiting 14:49:07 36b3adc4ff6f: Verifying Checksum 14:49:07 36b3adc4ff6f: Download complete 14:49:07 46f8f816bc3b: Verifying Checksum 14:49:07 46f8f816bc3b: Download complete 14:49:07 df20fa9351a1: Verifying Checksum 14:49:07 df20fa9351a1: Download complete 14:49:07 93b9cdb0e59b: Verifying Checksum 14:49:07 93b9cdb0e59b: Download complete 14:49:07 5e14af77c1be: Verifying Checksum 14:49:07 5e14af77c1be: Download complete 14:49:07 93b61091891f: Verifying Checksum 14:49:07 93b61091891f: Download complete 14:49:07 01666e4c0597: Verifying Checksum 14:49:07 01666e4c0597: Download complete 14:49:07 df20fa9351a1: Pull complete 14:49:07 8ad3a11d3b57: Verifying Checksum 14:49:07 8ad3a11d3b57: Download complete 14:49:07 36b3adc4ff6f: Pull complete 14:49:08 8ad3a11d3b57: Pull complete 14:49:08 46f8f816bc3b: Pull complete 14:49:09 93b61091891f: Pull complete 14:49:09 93b9cdb0e59b: Pull complete 14:49:09 5e14af77c1be: Pull complete 14:49:09 01666e4c0597: Pull complete 14:49:09 aa168da1d23b: Verifying Checksum 14:49:09 aa168da1d23b: Download complete 14:49:13 aa168da1d23b: Pull complete 14:49:13 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 14:49:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 14:49:13 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 14:49:13 prd-centos7-docker-4c-2g-524 does not seem to be running inside a container 14:49:13 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-c_PR-353/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-353 -v /w/workspace/edgexfoundry_device-sdk-c_PR-353:/w/workspace/edgexfoundry_device-sdk-c_PR-353:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-353@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-353@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 14:49:17 $ docker top 65ba050eed7b9bd6ac70392eb87032d6346845d6e54c61e668d5f856e335c81b -eo pid,comm [Pipeline] { [Pipeline] sh 14:49:18 + touch /tmp/pre-build-complete [Pipeline] sh 14:49:18 + mkdir -p /var/log/sa [Pipeline] sh 14:49:18 + ls /var/log/sa-host 14:49:18 + sadf -c /var/log/sa-host/sa05 14:49:18 file_magic: OK 14:49:18 HZ: Using current value: 100 14:49:18 file_header: OK 14:49:18 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 14:49:18 Statistics: 14:49:18 Hnuu...uuuununununu...Hnuu...uuuununununu... 14:49:18 File successfully converted to sysstat format version 12.2.1 14:49:18 + sadf -c /var/log/sa-host/sa21 14:49:18 file_magic: OK 14:49:18 HZ: Using current value: 100 14:49:18 file_header: OK 14:49:18 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 14:49:18 Statistics: 14:49:18 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 14:49:18 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:49:19 provisioning config files... 14:49:19 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-353@tmp/config3656036085783626276tmp [Pipeline] { [Pipeline] echo 14:49:19 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 14:49:19 ---> create-netrc.sh [Pipeline] } 14:49:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 14:49:20 ---> python-tools-install.sh [Pipeline] echo 14:49:20 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 14:49:20 ---> sudo-logs.sh 14:49:20 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 14:49:20 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 14:49:21 ---> job-cost.sh 14:49:21 lf-activate-venv: SKIPPING 14:49:21 INFO: No Stack... 14:49:21 INFO: Retrieving Pricing Info for: v3-standard-2 14:49:22 INFO: Archiving Costs [Pipeline] echo 14:49:22 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 14:49:22 ---> logs-deploy.sh 14:49:22 lf-activate-venv: SKIPPING 14:49:22 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-353/1 14:49:22 INFO: archiving workspace using pattern(s): 14:49:23 Archives upload complete. 14:49:23 INFO: archiving logs to Nexus 14:49:24 ---> uname -a: 14:49:24 Linux prd-centos7-docker-4c-2g-524.vexxhost.local 3.10.0-1160.21.1.el7.x86_64 #1 SMP Tue Mar 16 18:28:22 UTC 2021 x86_64 Linux 14:49:24 14:49:24 14:49:24 ---> lscpu: 14:49:24 Architecture: x86_64 14:49:24 CPU op-mode(s): 32-bit, 64-bit 14:49:24 Byte Order: Little Endian 14:49:24 Address sizes: 40 bits physical, 48 bits virtual 14:49:24 CPU(s): 2 14:49:24 On-line CPU(s) list: 0,1 14:49:24 Thread(s) per core: 1 14:49:24 Core(s) per socket: 1 14:49:24 Socket(s): 2 14:49:24 NUMA node(s): 1 14:49:24 Vendor ID: AuthenticAMD 14:49:24 CPU family: 23 14:49:24 Model: 49 14:49:24 Model name: AMD EPYC-Rome Processor 14:49:24 Stepping: 0 14:49:24 CPU MHz: 2800.000 14:49:24 BogoMIPS: 5600.00 14:49:24 Virtualization: AMD-V 14:49:24 Hypervisor vendor: KVM 14:49:24 Virtualization type: full 14:49:24 L1d cache: 64 KiB 14:49:24 L1i cache: 64 KiB 14:49:24 L2 cache: 1 MiB 14:49:24 L3 cache: 32 MiB 14:49:24 NUMA node0 CPU(s): 0,1 14:49:24 Vulnerability Itlb multihit: Not affected 14:49:24 Vulnerability L1tf: Not affected 14:49:24 Vulnerability Mds: Not affected 14:49:24 Vulnerability Meltdown: Not affected 14:49:24 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 14:49:24 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 14:49:24 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 14:49:24 Vulnerability Srbds: Not affected 14:49:24 Vulnerability Tsx async abort: Not affected 14:49:24 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm art rep_good nopl extd_apicid eagerfpu pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext retpoline_amd ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 arat npt nrip_save umip spec_ctrl intel_stibp 14:49:24 14:49:24 14:49:24 ---> nproc: 14:49:24 2 14:49:24 14:49:24 14:49:24 ---> df -h: 14:49:24 Filesystem Size Used Available Use% Mounted on 14:49:24 overlay 40.0G 7.6G 32.4G 19% / 14:49:24 tmpfs 64.0M 0 64.0M 0% /dev 14:49:24 tmpfs 3.8G 0 3.8G 0% /sys/fs/cgroup 14:49:24 shm 64.0M 0 64.0M 0% /dev/shm 14:49:24 /dev/vda1 40.0G 7.6G 32.4G 19% /facter-os 14:49:24 /dev/vda1 40.0G 7.6G 32.4G 19% /etc/resolv.conf 14:49:24 /dev/vda1 40.0G 7.6G 32.4G 19% /etc/hostname 14:49:24 /dev/vda1 40.0G 7.6G 32.4G 19% /etc/hosts 14:49:24 /dev/vda1 40.0G 7.6G 32.4G 19% /run/cloud-init/result.json 14:49:24 /dev/vda1 40.0G 7.6G 32.4G 19% /w/workspace/edgexfoundry_device-sdk-c_PR-353 14:49:24 /dev/vda1 40.0G 7.6G 32.4G 19% /w/workspace/edgexfoundry_device-sdk-c_PR-353@tmp 14:49:24 /dev/vda1 40.0G 7.6G 32.4G 19% /var/log/sa-host 14:49:24 /dev/vda1 40.0G 7.6G 32.4G 19% /var/log/secure 14:49:24 /dev/vda1 40.0G 7.6G 32.4G 19% /var/log/auth.log 14:49:24 14:49:24 14:49:24 ---> free -m: 14:49:24 total used free shared buff/cache available 14:49:24 Mem: 7821 955 4768 0 2097 6687 14:49:24 Swap: 1023 0 1023 14:49:24 14:49:24 14:49:24 ---> ip addr: 14:49:24 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 14:49:24 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 14:49:24 inet 127.0.0.1/8 scope host lo 14:49:24 valid_lft forever preferred_lft forever 14:49:24 inet6 ::1/128 scope host 14:49:24 valid_lft forever preferred_lft forever 14:49:24 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 14:49:24 link/ether fa:16:3e:e2:2e:e7 brd ff:ff:ff:ff:ff:ff 14:49:24 inet 10.30.123.60/23 brd 10.30.123.255 scope global dynamic eth0 14:49:24 valid_lft 85955sec preferred_lft 85955sec 14:49:24 inet6 fe80::f816:3eff:fee2:2ee7/64 scope link 14:49:24 valid_lft forever preferred_lft forever 14:49:24 3: docker0: mtu 1500 qdisc noqueue state DOWN 14:49:24 link/ether 02:42:d6:2b:19:79 brd ff:ff:ff:ff:ff:ff 14:49:24 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 14:49:24 valid_lft forever preferred_lft forever 14:49:24 inet6 fe80::42:d6ff:fe2b:1979/64 scope link 14:49:24 valid_lft forever preferred_lft forever 14:49:24 14:49:24 14:49:24 ---> sar -b -r -n DEV: 14:49:24 Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 06/21/21 _x86_64_ (2 CPU) 14:49:24 14:49:24 14:41:50 LINUX RESTART (2 CPU) 14:49:24 14:49:24 14:43:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 14:49:24 14:44:01 3.25 0.03 3.22 0.00 1.07 117.57 0.00 14:49:24 14:45:01 0.42 0.00 0.42 0.00 0.00 6.18 0.00 14:49:24 14:46:01 0.38 0.00 0.38 0.00 0.00 5.71 0.00 14:49:24 14:47:01 0.23 0.00 0.23 0.00 0.00 3.33 0.00 14:49:24 14:48:01 0.28 0.00 0.28 0.00 0.00 4.00 0.00 14:49:24 14:49:01 0.22 0.00 0.22 0.00 0.00 2.30 0.00 14:49:24 Average: 0.80 0.01 0.79 0.00 0.18 23.18 0.00 14:49:24 14:49:24 14:43:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 14:49:24 14:44:01 5465868 0 800328 9.99 2620 1740124 1202864 13.28 574184 1570852 20 14:49:24 14:45:01 5466780 0 799412 9.98 2620 1740128 1198752 13.23 576380 1568000 8 14:49:24 14:46:01 5463944 0 802244 10.02 2620 1740132 1199052 13.24 579008 1568288 8 14:49:24 14:47:01 5466428 0 799756 9.99 2620 1740136 1198752 13.23 576312 1569280 12 14:49:24 14:48:01 5464428 0 801748 10.01 2620 1740144 1198848 13.24 572012 1575320 8 14:49:24 14:49:01 5464316 0 801860 10.01 2620 1740144 1198752 13.23 571360 1575320 8 14:49:24 Average: 5465294 0 800891 10.00 2620 1740135 1199503 13.24 574876 1571177 11 14:49:24 14:49:24 14:43:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 14:49:24 14:44:01 eth0 0.42 0.10 0.02 0.02 0.00 0.00 0.00 0.00 14:49:24 14:44:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:49:24 14:44:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:49:24 14:45:01 eth0 0.48 0.08 0.05 0.01 0.00 0.00 0.00 0.00 14:49:24 14:45:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:49:24 14:45:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:49:24 14:46:01 eth0 1.45 0.57 0.59 0.36 0.00 0.00 0.00 0.00 14:49:24 14:46:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:49:24 14:46:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:49:24 14:47:01 eth0 0.10 0.08 0.01 0.04 0.00 0.00 0.00 0.00 14:49:24 14:47:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:49:24 14:47:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:49:24 14:48:01 eth0 0.28 0.23 0.14 0.07 0.00 0.00 0.00 0.00 14:49:24 14:48:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:49:24 14:48:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:49:24 14:49:01 eth0 0.10 0.08 0.01 0.01 0.00 0.00 0.00 0.00 14:49:24 14:49:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:49:24 14:49:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:49:24 Average: eth0 0.47 0.19 0.14 0.08 0.00 0.00 0.00 0.00 14:49:24 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:49:24 Average: docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:49:24 14:49:24 14:49:24 ---> sar -P ALL: 14:49:24 Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 06/21/21 _x86_64_ (2 CPU) 14:49:24 14:49:24 14:41:50 LINUX RESTART (2 CPU) 14:49:24 14:49:24 14:43:01 CPU %user %nice %system %iowait %steal %idle 14:49:24 14:44:01 all 0.24 0.00 0.05 0.05 0.01 99.65 14:49:24 14:44:01 0 0.40 0.00 0.05 0.10 0.00 99.45 14:49:24 14:44:01 1 0.08 0.00 0.05 0.00 0.02 99.85 14:49:24 14:45:01 all 0.16 0.00 0.03 0.01 0.03 99.77 14:49:24 14:45:01 0 0.28 0.00 0.03 0.02 0.03 99.63 14:49:24 14:45:01 1 0.03 0.00 0.03 0.00 0.03 99.90 14:49:24 14:46:01 all 0.16 0.00 0.04 0.01 0.02 99.77 14:49:24 14:46:01 0 0.28 0.00 0.03 0.02 0.02 99.65 14:49:24 14:46:01 1 0.03 0.00 0.05 0.00 0.02 99.90 14:49:24 14:47:01 all 0.18 0.00 0.04 0.00 0.01 99.77 14:49:24 14:47:01 0 0.32 0.00 0.05 0.00 0.02 99.62 14:49:24 14:47:01 1 0.03 0.00 0.03 0.00 0.00 99.93 14:49:24 14:48:01 all 0.19 0.00 0.03 0.00 0.02 99.76 14:49:24 14:48:01 0 0.32 0.00 0.05 0.00 0.00 99.63 14:49:24 14:48:01 1 0.07 0.00 0.02 0.00 0.03 99.88 14:49:24 14:49:01 all 0.15 0.00 0.03 0.00 0.01 99.82 14:49:24 14:49:01 0 0.25 0.00 0.02 0.00 0.00 99.73 14:49:24 14:49:01 1 0.05 0.00 0.03 0.00 0.02 99.90 14:49:24 Average: all 0.18 0.00 0.04 0.01 0.02 99.76 14:49:24 Average: 0 0.31 0.00 0.04 0.02 0.01 99.62 14:49:24 Average: 1 0.05 0.00 0.04 0.00 0.02 99.89 14:49:24 14:49:24 14:49:24