Pull request #442 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of bnevis-i for edgexfoundry/device-sdk-c Loading trusted files from base branch main at fdd904db91670bf9b9238bf17ce25b0e9b1934c2 rather than daad38e5568412427f9a797ece8522d5d6051c10 Obtained Jenkinsfile from fdd904db91670bf9b9238bf17ce25b0e9b1934c2 Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh1266137222128740498.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh197179749753594551.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 66200e8eedfc470904d6b329e562ec5b45423d6a The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-442/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-442/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5923046108095011741.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > 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 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh11921675378652536841.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-442/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-442/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh18047447021543649351.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildCApp] RAW Config: [project:device-sdk-c, dockerBuildFilePath:scripts/Dockerfile.alpine-base, dockerFilePath:scripts/Dockerfile.alpine, pushImage:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildCApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-c-settings PROJECT: device-sdk-c USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build DOCKER_FILE_PATH: scripts/Dockerfile.alpine DOCKER_BUILD_FILE_PATH: scripts/Dockerfile.alpine-base DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-9988 in /w/workspace/edgexfoundry_device-sdk-c_PR-442 [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-442 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/442/head:refs/remotes/origin/PR-442 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit fdd904db91670bf9b9238bf17ce25b0e9b1934c2 into PR head commit daad38e5568412427f9a797ece8522d5d6051c10 Merge succeeded, producing daad38e5568412427f9a797ece8522d5d6051c10 Checking out Revision daad38e5568412427f9a797ece8522d5d6051c10 (PR-442) > git config core.sparsecheckout # timeout=10 > git checkout -f daad38e5568412427f9a797ece8522d5d6051c10 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge fdd904db91670bf9b9238bf17ce25b0e9b1934c2 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f daad38e5568412427f9a797ece8522d5d6051c10 # timeout=10 Commit message: "feat!: Implementation of token-based security ADR" First time build. Skipping changelog. > git rev-list --no-walk 547dc8b69211cef1506999b92d438582e890f55e # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 23:08:59 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 23:08:59 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 23:08:59 ========================================================= 23:08:59 EdgeX Global Pipelines Version Info 23:08:59 ========================================================= [Pipeline] libraryResource [Pipeline] sh 23:09:00 ------------------- 23:09:00 stable info: 23:09:00 ------------------- 23:09:00 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 23:09:00 Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a 23:09:00 Message: update stable to v1.0.245 23:09:01 ------------------- 23:09:01 experimental info: 23:09:01 ------------------- 23:09:01 Commited By: **** collab-it+edgex@linuxfoundation.org 23:09:01 Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a 23:09:01 Message: update experimental to v1.0.245 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 23:09:01 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo 23:09:01 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo 23:09:01 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 23:09:01 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 23:09:01 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 23:09:01 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo 23:09:01 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo 23:09:01 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 23:09:01 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 23:09:01 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo 23:09:01 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 23:09:01 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 23:09:01 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 23:09:01 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 23:09:01 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 23:09:01 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 23:09:01 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 23:09:01 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-442 [Pipeline] echo 23:09:01 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-442 [Pipeline] echo 23:09:01 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-442 [Pipeline] echo 23:09:01 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = daad38e5568412427f9a797ece8522d5d6051c10 [Pipeline] echo 23:09:01 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = daad38e [Pipeline] echo 23:09:01 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:09:01 provisioning config files... 23:09:01 copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-442@tmp/config17700579767310741085tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:09:01 ---> docker-login.sh 23:09:01 nexus3.edgexfoundry.org:10001 23:09:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:09:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:09:02 Configure a credential helper to remove this warning. See 23:09:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:09:02 23:09:02 Login Succeeded 23:09:02 nexus3.edgexfoundry.org:10002 23:09:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:09:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:09:02 Configure a credential helper to remove this warning. See 23:09:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:09:02 23:09:02 Login Succeeded 23:09:02 nexus3.edgexfoundry.org:10003 23:09:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:09:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:09:02 Configure a credential helper to remove this warning. See 23:09:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:09:02 23:09:02 Login Succeeded 23:09:02 nexus3.edgexfoundry.org:10004 23:09:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:09:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:09:02 Configure a credential helper to remove this warning. See 23:09:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:09:02 23:09:02 Login Succeeded 23:09:02 docker.io 23:09:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:09:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:09:02 Configure a credential helper to remove this warning. See 23:09:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:09:02 23:09:02 Login Succeeded 23:09:02 ---> docker-login.sh ends [Pipeline] } 23:09:02 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build LTS Release Image) [Pipeline] sh 23:09:03 + git rev-list -1 --merges daad38e5568412427f9a797ece8522d5d6051c10~1..daad38e5568412427f9a797ece8522d5d6051c10 [Pipeline] echo 23:09:03 -----------> git rev-list -1 --merges daad38e5568412427f9a797ece8522d5d6051c10~1..daad38e5568412427f9a797ece8522d5d6051c10 daad38e5568412427f9a797ece8522d5d6051c10 [false] [Pipeline] sh 23:09:03 + git log --format=format:%s -1 daad38e5568412427f9a797ece8522d5d6051c10 [Pipeline] echo 23:09:03 ========================================================= 23:09:03 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 23:09:03 ========================================================= Stage "Build LTS Release Image" skipped due to when conditional [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) Stage "amd64" skipped due to when conditional [Pipeline] } Stage "arm64" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] // stage [Pipeline] } [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 23:09:03 + git rev-list -1 --merges daad38e5568412427f9a797ece8522d5d6051c10~1..daad38e5568412427f9a797ece8522d5d6051c10 [Pipeline] echo 23:09:04 -----------> git rev-list -1 --merges daad38e5568412427f9a797ece8522d5d6051c10~1..daad38e5568412427f9a797ece8522d5d6051c10 daad38e5568412427f9a797ece8522d5d6051c10 [false] [Pipeline] sh 23:09:04 + git log --format=format:%s -1 daad38e5568412427f9a797ece8522d5d6051c10 [Pipeline] echo 23:09:04 ========================================================= 23:09:04 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 23:09:04 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh 23:09:04 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 23:09:04 + grep -v github /etc/ssh/ssh_known_hosts 23:09:04 + [ -e /tmp/ssh_known_hosts ] 23:09:04 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 23:09:04 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 23:09:04 + sudo tee -a /etc/ssh/ssh_known_hosts 23:09:04 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:09:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:09:04 23:09:04 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:09:05 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:09:05 0.1.4: Pulling from edgex-devops/py-git-semver 23:09:05 b85a868b505f: Pulling fs layer 23:09:05 e2be974225ed: Pulling fs layer 23:09:05 339a4e72a1f5: Pulling fs layer 23:09:05 988bab9f4d93: Pulling fs layer 23:09:05 1469e6f7b9e6: Pulling fs layer 23:09:05 eaf3925da568: Pulling fs layer 23:09:05 bab4dde63d76: Pulling fs layer 23:09:05 bde34c3a00c8: Pulling fs layer 23:09:05 b352a97aabf1: Pulling fs layer 23:09:05 4872d77fe225: Pulling fs layer 23:09:05 5851b861e8e6: Pulling fs layer 23:09:05 988bab9f4d93: Waiting 23:09:05 bde34c3a00c8: Waiting 23:09:05 b352a97aabf1: Waiting 23:09:05 4872d77fe225: Waiting 23:09:05 1469e6f7b9e6: Waiting 23:09:05 bab4dde63d76: Waiting 23:09:05 5851b861e8e6: Waiting 23:09:05 eaf3925da568: Waiting 23:09:05 e2be974225ed: Verifying Checksum 23:09:05 e2be974225ed: Download complete 23:09:05 988bab9f4d93: Verifying Checksum 23:09:05 988bab9f4d93: Download complete 23:09:05 1469e6f7b9e6: Verifying Checksum 23:09:05 1469e6f7b9e6: Download complete 23:09:05 eaf3925da568: Verifying Checksum 23:09:05 eaf3925da568: Download complete 23:09:05 339a4e72a1f5: Download complete 23:09:05 bde34c3a00c8: Verifying Checksum 23:09:05 bde34c3a00c8: Download complete 23:09:05 b352a97aabf1: Verifying Checksum 23:09:05 b352a97aabf1: Download complete 23:09:05 4872d77fe225: Verifying Checksum 23:09:05 4872d77fe225: Download complete 23:09:05 5851b861e8e6: Download complete 23:09:05 b85a868b505f: Verifying Checksum 23:09:05 b85a868b505f: Download complete 23:09:06 bab4dde63d76: Verifying Checksum 23:09:06 bab4dde63d76: Download complete 23:09:07 b85a868b505f: Pull complete 23:09:07 e2be974225ed: Pull complete 23:09:07 339a4e72a1f5: Pull complete 23:09:07 988bab9f4d93: Pull complete 23:09:07 1469e6f7b9e6: Pull complete 23:09:07 eaf3925da568: Pull complete 23:09:09 bab4dde63d76: Pull complete 23:09:09 bde34c3a00c8: Pull complete 23:09:09 b352a97aabf1: Pull complete 23:09:09 4872d77fe225: Pull complete 23:09:09 5851b861e8e6: Pull complete 23:09:09 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 23:09:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:09:09 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:09:09 prd-ubuntu20.04-docker-8c-8g-9988 does not seem to be running inside a container 23:09:09 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-442 -v /w/workspace/edgexfoundry_device-sdk-c_PR-442:/w/workspace/edgexfoundry_device-sdk-c_PR-442:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-442@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-442@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 23:09:13 $ docker top 6ae5e4292af9ab59a98ca26c20fe4513ce7327aad45af26a75318a48332fe343 -eo pid,comm 23:09:13 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 23:09:13 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:09:13 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:09:13 [ssh-agent] Looking for ssh-agent implementation... 23:09:13 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:09:13 $ docker exec 6ae5e4292af9ab59a98ca26c20fe4513ce7327aad45af26a75318a48332fe343 ssh-agent 23:09:13 SSH_AUTH_SOCK=/tmp/ssh-ZrNDChniJPKt/agent.32 23:09:13 SSH_AGENT_PID=38 23:09:13 Running ssh-add (command line suppressed) 23:09:13 Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-442@tmp/private_key_15426643581471579439.key (/w/workspace/edgexfoundry_device-sdk-c_PR-442@tmp/private_key_15426643581471579439.key) 23:09:13 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:09:14 + git tag --points-at HEAD [Pipeline] } 23:09:14 $ docker exec --env ******** --env ******** 6ae5e4292af9ab59a98ca26c20fe4513ce7327aad45af26a75318a48332fe343 ssh-agent -k 23:09:14 unset SSH_AUTH_SOCK; 23:09:14 unset SSH_AGENT_PID; 23:09:14 echo Agent pid 38 killed; 23:09:14 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 23:09:14 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:09:14 [ssh-agent] Looking for ssh-agent implementation... 23:09:14 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:09:14 $ docker exec 6ae5e4292af9ab59a98ca26c20fe4513ce7327aad45af26a75318a48332fe343 ssh-agent 23:09:14 SSH_AUTH_SOCK=/tmp/ssh-8FFFwTUQ99y4/agent.70 23:09:14 SSH_AGENT_PID=77 23:09:14 Running ssh-add (command line suppressed) 23:09:14 Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-442@tmp/private_key_4300220185885231476.key (/w/workspace/edgexfoundry_device-sdk-c_PR-442@tmp/private_key_4300220185885231476.key) 23:09:14 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:09:14 + git semver init 23:09:15 2023-03-13 23:09:15,137 [run_init] DEBUG init version:0.0.0 force:False 23:09:15 2023-03-13 23:09:15,137 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-c_PR-442/.semver 23:09:15 2023-03-13 23:09:15,137 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-c.git /w/workspace/edgexfoundry_device-sdk-c_PR-442/.semver 23:09:15 2023-03-13 23:09:15,138 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-c.git', '/w/workspace/edgexfoundry_device-sdk-c_PR-442/.semver'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-442, universal_newlines=False, shell=None, istream=None) 23:09:16 2023-03-13 23:09:15,976 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-c_PR-442/.git/info/exclude 23:09:16 2023-03-13 23:09:15,976 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-c_PR-442/.semver/PR-442 with force:False 23:09:16 2023-03-13 23:09:15,976 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-c_PR-442/.semver/PR-442 23:09:16 2023-03-13 23:09:15,980 [execute] INFO git cat-file --batch-check 23:09:16 2023-03-13 23:09:15,981 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-442/.semver, universal_newlines=False, shell=None, istream=) 23:09:16 2023-03-13 23:09:15,987 [execute] INFO git cat-file --batch 23:09:16 2023-03-13 23:09:15,988 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-442/.semver, universal_newlines=False, shell=None, istream=) 23:09:16 2023-03-13 23:09:15,992 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_PR-442/.semver/PR-442 23:09:16 0.0.0 [Pipeline] } 23:09:16 $ docker exec --env ******** --env ******** 6ae5e4292af9ab59a98ca26c20fe4513ce7327aad45af26a75318a48332fe343 ssh-agent -k 23:09:16 unset SSH_AUTH_SOCK; 23:09:16 unset SSH_AGENT_PID; 23:09:16 echo Agent pid 77 killed; 23:09:16 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:09:16 + git semver [Pipeline] } 23:09:16 $ docker stop --time=1 6ae5e4292af9ab59a98ca26c20fe4513ce7327aad45af26a75318a48332fe343 23:09:18 $ docker rm -f --volumes 6ae5e4292af9ab59a98ca26c20fe4513ce7327aad45af26a75318a48332fe343 [Pipeline] // withDockerContainer [Pipeline] sh 23:09:18 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 23:09:18 Stashed 1 file(s) [Pipeline] echo 23:09:18 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:09:18 provisioning config files... 23:09:18 copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-442@tmp/config4006322706087373760tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:09:19 ---> docker-login.sh 23:09:19 nexus3.edgexfoundry.org:10001 23:09:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:09:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:09:19 Configure a credential helper to remove this warning. See 23:09:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:09:19 23:09:19 Login Succeeded 23:09:19 nexus3.edgexfoundry.org:10002 23:09:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:09:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:09:19 Configure a credential helper to remove this warning. See 23:09:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:09:19 23:09:19 Login Succeeded 23:09:19 nexus3.edgexfoundry.org:10003 23:09:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:09:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:09:19 Configure a credential helper to remove this warning. See 23:09:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:09:19 23:09:19 Login Succeeded 23:09:19 nexus3.edgexfoundry.org:10004 23:09:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:09:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:09:19 Configure a credential helper to remove this warning. See 23:09:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:09:19 23:09:19 Login Succeeded 23:09:19 docker.io 23:09:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:09:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:09:19 Configure a credential helper to remove this warning. See 23:09:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:09:19 23:09:19 Login Succeeded 23:09:19 ---> docker-login.sh ends [Pipeline] } 23:09:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:09:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:09:19 [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo 23:09:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:09:19 ========================================================= 23:09:19 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] 23:09:19 ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:09:19 + 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 . 23:09:19 Sending build context to Docker daemon 4.912MB 23:09:19 Step 1/21 : ARG BASE=alpine:3.16 23:09:19 Step 2/21 : FROM ${BASE} as builder 23:09:19 latest: Pulling from edgex-devops/edgex-gcc-base 23:09:19 213ec9aee27d: Pulling fs layer 23:09:19 0f09ad1b1b37: Pulling fs layer 23:09:20 213ec9aee27d: Verifying Checksum 23:09:20 213ec9aee27d: Download complete 23:09:20 213ec9aee27d: Pull complete 23:09:21 0f09ad1b1b37: Verifying Checksum 23:09:21 0f09ad1b1b37: Download complete 23:09:24 0f09ad1b1b37: Pull complete 23:09:24 Digest: sha256:64e9d1beac36a0037884aaf44bcf94b2de593689edef1cdaec9f2b2ef7c7c108 23:09:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest 23:09:24 ---> b2bbfebb3566 23:09:24 Step 3/21 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub 23:09:27 ---> Running in fb3cf0136aac 23:09:27 Connecting to iotech.jfrog.io (34.248.38.127:443) 23:09:27 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 23:09:27 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 23:09:27 '/etc/apk/keys/alpine.dev.rsa.pub' saved 23:09:27 Removing intermediate container fb3cf0136aac 23:09:27 ---> 83fec1fcd173 23:09:27 Step 4/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories 23:09:27 ---> Running in 0df2d9f9011e 23:09:28 Removing intermediate container 0df2d9f9011e 23:09:28 ---> 9246cc10e910 23:09:28 Step 5/21 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml-dev curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev libcbor-dev paho-mqtt-c-dev-1.3 iotech-iot-1.5-dev hiredis-dev 23:09:28 ---> Running in 4c398feef58c 23:09:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 23:09:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 23:09:29 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/x86_64/APKINDEX.tar.gz 23:09:29 WARNING: This apk-tools is OLD! Some packages might not function properly. 23:09:29 (1/14) Installing hiredis (1.0.2-r0) 23:09:29 (2/14) Installing hiredis-dev (1.0.2-r0) 23:09:29 (3/14) Installing iotech-iot-1.5 (1.5.0-r0) 23:09:30 (4/14) Installing iotech-iot-1.5-dev (1.5.0-r0) 23:09:30 (5/14) Installing libcbor (0.9.0-r1) 23:09:30 (6/14) Installing libcbor-dev (0.9.0-r1) 23:09:30 (7/14) Installing ncurses-dev (6.3_p20220521-r0) 23:09:30 (8/14) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) 23:09:31 (9/14) Installing libblkid (2.38-r1) 23:09:31 (10/14) Installing libuuid (2.38-r1) 23:09:31 (11/14) Installing libfdisk (2.38-r1) 23:09:31 (12/14) Installing libmount (2.38-r1) 23:09:31 (13/14) Installing libsmartcols (2.38-r1) 23:09:31 (14/14) Installing util-linux-dev (2.38-r1) 23:09:31 Executing busybox-1.35.0-r17.trigger 23:09:31 OK: 280 MiB in 90 packages 23:09:31 Removing intermediate container 4c398feef58c 23:09:31 ---> 2a0f1d12b215 23:09:31 Step 6/21 : RUN mkdir /tmp/sdk 23:09:31 ---> Running in 3e394eb92258 23:09:32 Removing intermediate container 3e394eb92258 23:09:32 ---> 987edd38b094 23:09:32 Step 7/21 : COPY VERSION /tmp/sdk 23:09:32 ---> 5cce6e6aab45 23:09:32 Step 8/21 : COPY src /tmp/sdk/src 23:09:32 ---> a74f9c0f576a 23:09:32 Step 9/21 : COPY include /tmp/sdk/include 23:09:33 ---> 20f05d5a4876 23:09:33 Step 10/21 : COPY scripts /tmp/sdk/scripts 23:09:33 ---> b41adb8ac8a9 23:09:33 Step 11/21 : COPY LICENSE /tmp/sdk 23:09:33 ---> 332300c9bb66 23:09:33 Step 12/21 : COPY Attribution.txt /tmp/sdk 23:09:33 ---> ccdac5480d1a 23:09:33 Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 23:09:33 ---> Running in 5840f68636b4 23:09:33 + CPPCHECK=false 23:09:33 + DOCGEN=false 23:09:33 + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' 23:09:33 + TOMLVER=SDK-0.2 23:09:33 + CUTILVER=1.4 23:09:33 + '[' 0 -gt 0 ] 23:09:33 + readlink -f ./scripts/build.sh 23:09:33 + dirname /tmp/sdk/scripts/build.sh 23:09:33 + dirname /tmp/sdk/scripts 23:09:33 + ROOT=/tmp/sdk 23:09:33 + cd /tmp/sdk 23:09:33 + '[' '!' -d deps ] 23:09:33 + mkdir deps 23:09:33 + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 23:09:33 + tar -C deps -z -x -f - 23:09:33 Connecting to github.com (140.82.113.4:443) 23:09:33 Still waiting to schedule task 23:09:33 ‘prd-centos7-blackbox-4c-2g-9735’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 23:09:33 ‘prd-centos7-blackbox-4c-2g-9736’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 23:09:33 ‘prd-centos7-builder-2c-1g-9986’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 23:09:33 ‘prd-ubuntu20.04-docker-arm64-4c-16g-9989’ is offline 23:09:33 Connecting to codeload.github.com (140.82.113.10:443) 23:09:33 writing to stdout 23:09:34 - 100% |********************************| 16451 0:00:00 ETA 23:09:34 written to stdout 23:09:34 + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c 23:09:34 + mkdir -p /tmp/sdk/build/release 23:09:34 + cd /tmp/sdk/build/release 23:09:34 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 23:09:34 -- The C compiler identification is GNU 11.2.1 23:09:34 -- Detecting C compiler ABI info 23:09:34 -- Detecting C compiler ABI info - done 23:09:34 -- Check for working C compiler: /usr/bin/cc - skipped 23:09:34 -- Detecting C compile features 23:09:34 -- Detecting C compile features - done 23:09:34 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 23:09:34 -- Found CURL: /usr/lib/libcurl.so (found version "7.83.1") 23:09:34 -- Found LIBYAML: /usr/lib/libyaml.so 23:09:34 -- Found LIBUUID: /usr/lib/libuuid.so 23:09:34 -- Found LIBCBOR: /usr/lib/libcbor.so 23:09:34 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 23:09:34 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 23:09:34 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 23:09:34 -- /opt/iotech/iot/1.5/include 23:09:34 -- C SDK 0.0.0 for Linux 23:09:34 -- Performing Test CSDK_HAVE_ATOMIC 23:09:34 -- Performing Test CSDK_HAVE_ATOMIC - Success 23:09:34 -- Found Curses: /usr/lib/libcurses.so 23:09:34 -- Configuring done 23:09:34 -- Generating done 23:09:34 -- Build files have been written to: /tmp/sdk/build/release 23:09:34 + make all package 23:09:34 + tee release.log 23:09:34 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 23:09:34 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o 23:09:34 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o 23:09:34 [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o 23:09:35 [ 9%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 23:09:35 [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o 23:09:35 [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 23:09:35 [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 23:09:35 [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o 23:09:35 [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o 23:09:36 /tmp/sdk/src/c/device.c: In function 'edgex_device_runput3': 23:09:36 /tmp/sdk/src/c/device.c:645:93: warning: passing argument 3 of 'edgex_metadata_client_update_lastconnected' from incompatible pointer type [-Wincompatible-pointer-types] 23:09:36 645 | edgex_metadata_client_update_lastconnected (svc->logger, &svc->config.endpoints, dev->name, &err); 23:09:36 | ~~~^~~~~~ 23:09:36 | | 23:09:36 | char * 23:09:36 In file included from /tmp/sdk/src/c/device.c:15: 23:09:36 /tmp/sdk/src/c/metadata.h:138:29: note: expected 'edgex_secret_provider_t *' but argument is of type 'char *' 23:09:36 138 | edgex_secret_provider_t * secretprovider, 23:09:36 | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ 23:09:36 /tmp/sdk/src/c/device.c:645:101: warning: passing argument 4 of 'edgex_metadata_client_update_lastconnected' from incompatible pointer type [-Wincompatible-pointer-types] 23:09:36 645 | edgex_metadata_client_update_lastconnected (svc->logger, &svc->config.endpoints, dev->name, &err); 23:09:36 | ^~~~ 23:09:36 | | 23:09:36 | devsdk_error * 23:09:36 In file included from /tmp/sdk/src/c/device.c:15: 23:09:36 /tmp/sdk/src/c/metadata.h:139:16: note: expected 'const char *' but argument is of type 'devsdk_error *' 23:09:36 139 | const char * devicename, 23:09:36 | ~~~~~~~~~~~~~^~~~~~~~~~ 23:09:36 /tmp/sdk/src/c/device.c:645:9: error: too few arguments to function 'edgex_metadata_client_update_lastconnected' 23:09:36 645 | edgex_metadata_client_update_lastconnected (svc->logger, &svc->config.endpoints, dev->name, &err); 23:09:36 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 23:09:36 In file included from /tmp/sdk/src/c/device.c:15: 23:09:36 /tmp/sdk/src/c/metadata.h:134:6: note: declared here 23:09:36 134 | void edgex_metadata_client_update_lastconnected 23:09:36 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 23:09:36 /tmp/sdk/src/c/device.c: In function 'edgex_device_runget3': 23:09:36 /tmp/sdk/src/c/device.c:702:95: warning: passing argument 3 of 'edgex_metadata_client_update_lastconnected' from incompatible pointer type [-Wincompatible-pointer-types] 23:09:36 702 | edgex_metadata_client_update_lastconnected (svc->logger, &svc->config.endpoints, dev->name, &err); 23:09:36 | ~~~^~~~~~ 23:09:36 | | 23:09:36 | char * 23:09:36 In file included from /tmp/sdk/src/c/device.c:15: 23:09:36 /tmp/sdk/src/c/metadata.h:138:29: note: expected 'edgex_secret_provider_t *' but argument is of type 'char *' 23:09:36 138 | edgex_secret_provider_t * secretprovider, 23:09:36 | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ 23:09:36 /tmp/sdk/src/c/device.c:702:103: warning: passing argument 4 of 'edgex_metadata_client_update_lastconnected' from incompatible pointer type [-Wincompatible-pointer-types] 23:09:36 702 | edgex_metadata_client_update_lastconnected (svc->logger, &svc->config.endpoints, dev->name, &err); 23:09:36 | ^~~~ 23:09:36 | | 23:09:36 | devsdk_error * 23:09:36 In file included from /tmp/sdk/src/c/device.c:15: 23:09:36 /tmp/sdk/src/c/metadata.h:139:16: note: expected 'const char *' but argument is of type 'devsdk_error *' 23:09:36 139 | const char * devicename, 23:09:36 | ~~~~~~~~~~~~~^~~~~~~~~~ 23:09:36 /tmp/sdk/src/c/device.c:702:11: error: too few arguments to function 'edgex_metadata_client_update_lastconnected' 23:09:36 702 | edgex_metadata_client_update_lastconnected (svc->logger, &svc->config.endpoints, dev->name, &err); 23:09:36 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 23:09:36 In file included from /tmp/sdk/src/c/device.c:15: 23:09:36 /tmp/sdk/src/c/metadata.h:134:6: note: declared here 23:09:36 134 | void edgex_metadata_client_update_lastconnected 23:09:36 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 23:09:36 /tmp/sdk/src/c/device.c:714:91: warning: passing argument 3 of 'edgex_metadata_client_set_device_opstate' from incompatible pointer type [-Wincompatible-pointer-types] 23:09:36 714 | edgex_metadata_client_set_device_opstate (svc->logger, &svc->config.endpoints, dev->name, DOWN, &err); 23:09:36 | ~~~^~~~~~ 23:09:36 | | 23:09:36 | char * 23:09:36 In file included from /tmp/sdk/src/c/device.c:15: 23:09:36 /tmp/sdk/src/c/metadata.h:33:29: note: expected 'edgex_secret_provider_t *' but argument is of type 'char *' 23:09:36 33 | edgex_secret_provider_t * secretprovider, 23:09:36 | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ 23:09:36 /tmp/sdk/src/c/device.c:714:99: warning: passing argument 4 of 'edgex_metadata_client_set_device_opstate' makes pointer from integer without a cast [-Wint-conversion] 23:09:36 714 | edgex_metadata_client_set_device_opstate (svc->logger, &svc->config.endpoints, dev->name, DOWN, &err); 23:09:36 | ^~~~ 23:09:36 | | 23:09:36 | int 23:09:36 In file included from /tmp/sdk/src/c/device.c:15: 23:09:36 /tmp/sdk/src/c/metadata.h:34:16: note: expected 'const char *' but argument is of type 'int' 23:09:36 34 | const char * devicename, 23:09:36 | ~~~~~~~~~~~~~^~~~~~~~~~ 23:09:36 /tmp/sdk/src/c/device.c:714:105: error: incompatible type for argument 5 of 'edgex_metadata_client_set_device_opstate' 23:09:36 714 | edgex_metadata_client_set_device_opstate (svc->logger, &svc->config.endpoints, dev->name, DOWN, &err); 23:09:36 | ^~~~ 23:09:36 | | 23:09:36 | devsdk_error * 23:09:36 In file included from /tmp/sdk/src/c/device.c:15: 23:09:36 /tmp/sdk/src/c/metadata.h:35:31: note: expected 'edgex_device_operatingstate' but argument is of type 'devsdk_error *' 23:09:36 35 | edgex_device_operatingstate opstate, 23:09:36 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ 23:09:36 /tmp/sdk/src/c/device.c:714:9: error: too few arguments to function 'edgex_metadata_client_set_device_opstate' 23:09:36 714 | edgex_metadata_client_set_device_opstate (svc->logger, &svc->config.endpoints, dev->name, DOWN, &err); 23:09:36 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 23:09:36 In file included from /tmp/sdk/src/c/device.c:15: 23:09:36 /tmp/sdk/src/c/metadata.h:29:6: note: declared here 23:09:36 29 | void edgex_metadata_client_set_device_opstate 23:09:36 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 23:09:36 make[2]: *** [c/CMakeFiles/csdk.dir/build.make:202: c/CMakeFiles/csdk.dir/device.c.o] Error 1 23:09:36 make[1]: *** [CMakeFiles/Makefile2:240: c/CMakeFiles/csdk.dir/all] Error 2 23:09:36 make: *** [Makefile:156: all] Error 2 23:09:36 + '[' false '=' true ] 23:09:36 + '[' false '=' true ] 23:09:36 + mkdir -p /tmp/sdk/build/debug 23:09:36 + cd /tmp/sdk/build/debug 23:09:36 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 23:09:36 -- The C compiler identification is GNU 11.2.1 23:09:36 -- Detecting C compiler ABI info 23:09:36 -- Detecting C compiler ABI info - done 23:09:36 -- Check for working C compiler: /usr/bin/cc - skipped 23:09:36 -- Detecting C compile features 23:09:36 -- Detecting C compile features - done 23:09:36 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 23:09:36 -- Found CURL: /usr/lib/libcurl.so (found version "7.83.1") 23:09:36 -- Found LIBYAML: /usr/lib/libyaml.so 23:09:36 -- Found LIBUUID: /usr/lib/libuuid.so 23:09:36 -- Found LIBCBOR: /usr/lib/libcbor.so 23:09:36 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 23:09:36 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 23:09:36 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 23:09:36 -- /opt/iotech/iot/1.5/include 23:09:36 -- C SDK 0.0.0 for Linux 23:09:36 -- Performing Test CSDK_HAVE_ATOMIC 23:09:36 -- Performing Test CSDK_HAVE_ATOMIC - Success 23:09:36 -- Found Curses: /usr/lib/libcurses.so 23:09:36 -- Configuring done 23:09:36 -- Generating done 23:09:36 -- Build files have been written to: /tmp/sdk/build/debug 23:09:36 + make 23:09:36 + tee debug.log 23:09:36 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 23:09:36 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o 23:09:36 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o 23:09:36 [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o 23:09:36 [ 9%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 23:09:36 [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o 23:09:37 [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 23:09:37 [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 23:09:37 [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o 23:09:37 [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o 23:09:37 /tmp/sdk/src/c/device.c: In function 'edgex_device_runput3': 23:09:37 /tmp/sdk/src/c/device.c:645:93: warning: passing argument 3 of 'edgex_metadata_client_update_lastconnected' from incompatible pointer type [-Wincompatible-pointer-types] 23:09:37 645 | edgex_metadata_client_update_lastconnected (svc->logger, &svc->config.endpoints, dev->name, &err); 23:09:37 | ~~~^~~~~~ 23:09:37 | | 23:09:37 | char * 23:09:37 In file included from /tmp/sdk/src/c/device.c:15: 23:09:37 /tmp/sdk/src/c/metadata.h:138:29: note: expected 'edgex_secret_provider_t *' but argument is of type 'char *' 23:09:37 138 | edgex_secret_provider_t * secretprovider, 23:09:37 | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ 23:09:37 /tmp/sdk/src/c/device.c:645:101: warning: passing argument 4 of 'edgex_metadata_client_update_lastconnected' from incompatible pointer type [-Wincompatible-pointer-types] 23:09:37 645 | edgex_metadata_client_update_lastconnected (svc->logger, &svc->config.endpoints, dev->name, &err); 23:09:37 | ^~~~ 23:09:37 | | 23:09:37 | devsdk_error * 23:09:37 In file included from /tmp/sdk/src/c/device.c:15: 23:09:37 /tmp/sdk/src/c/metadata.h:139:16: note: expected 'const char *' but argument is of type 'devsdk_error *' 23:09:37 139 | const char * devicename, 23:09:37 | ~~~~~~~~~~~~~^~~~~~~~~~ 23:09:37 /tmp/sdk/src/c/device.c:645:9: error: too few arguments to function 'edgex_metadata_client_update_lastconnected' 23:09:37 645 | edgex_metadata_client_update_lastconnected (svc->logger, &svc->config.endpoints, dev->name, &err); 23:09:37 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 23:09:37 In file included from /tmp/sdk/src/c/device.c:15: 23:09:37 /tmp/sdk/src/c/metadata.h:134:6: note: declared here 23:09:37 134 | void edgex_metadata_client_update_lastconnected 23:09:37 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 23:09:37 /tmp/sdk/src/c/device.c: In function 'edgex_device_runget3': 23:09:37 /tmp/sdk/src/c/device.c:702:95: warning: passing argument 3 of 'edgex_metadata_client_update_lastconnected' from incompatible pointer type [-Wincompatible-pointer-types] 23:09:37 702 | edgex_metadata_client_update_lastconnected (svc->logger, &svc->config.endpoints, dev->name, &err); 23:09:37 | ~~~^~~~~~ 23:09:37 | | 23:09:37 | char * 23:09:37 In file included from /tmp/sdk/src/c/device.c:15: 23:09:37 /tmp/sdk/src/c/metadata.h:138:29: note: expected 'edgex_secret_provider_t *' but argument is of type 'char *' 23:09:37 138 | edgex_secret_provider_t * secretprovider, 23:09:37 | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ 23:09:37 /tmp/sdk/src/c/device.c:702:103: warning: passing argument 4 of 'edgex_metadata_client_update_lastconnected' from incompatible pointer type [-Wincompatible-pointer-types] 23:09:37 702 | edgex_metadata_client_update_lastconnected (svc->logger, &svc->config.endpoints, dev->name, &err); 23:09:37 | ^~~~ 23:09:37 | | 23:09:37 | devsdk_error * 23:09:37 In file included from /tmp/sdk/src/c/device.c:15: 23:09:37 /tmp/sdk/src/c/metadata.h:139:16: note: expected 'const char *' but argument is of type 'devsdk_error *' 23:09:37 139 | const char * devicename, 23:09:37 | ~~~~~~~~~~~~~^~~~~~~~~~ 23:09:37 /tmp/sdk/src/c/device.c:702:11: error: too few arguments to function 'edgex_metadata_client_update_lastconnected' 23:09:37 702 | edgex_metadata_client_update_lastconnected (svc->logger, &svc->config.endpoints, dev->name, &err); 23:09:37 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 23:09:37 In file included from /tmp/sdk/src/c/device.c:15: 23:09:37 /tmp/sdk/src/c/metadata.h:134:6: note: declared here 23:09:37 134 | void edgex_metadata_client_update_lastconnected 23:09:37 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 23:09:37 /tmp/sdk/src/c/device.c:714:91: warning: passing argument 3 of 'edgex_metadata_client_set_device_opstate' from incompatible pointer type [-Wincompatible-pointer-types] 23:09:37 714 | edgex_metadata_client_set_device_opstate (svc->logger, &svc->config.endpoints, dev->name, DOWN, &err); 23:09:37 | ~~~^~~~~~ 23:09:37 | | 23:09:37 | char * 23:09:37 In file included from /tmp/sdk/src/c/device.c:15: 23:09:37 /tmp/sdk/src/c/metadata.h:33:29: note: expected 'edgex_secret_provider_t *' but argument is of type 'char *' 23:09:37 33 | edgex_secret_provider_t * secretprovider, 23:09:37 | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ 23:09:37 /tmp/sdk/src/c/device.c:714:99: warning: passing argument 4 of 'edgex_metadata_client_set_device_opstate' makes pointer from integer without a cast [-Wint-conversion] 23:09:37 714 | edgex_metadata_client_set_device_opstate (svc->logger, &svc->config.endpoints, dev->name, DOWN, &err); 23:09:37 | ^~~~ 23:09:37 | | 23:09:37 | int 23:09:37 In file included from /tmp/sdk/src/c/device.c:15: 23:09:37 /tmp/sdk/src/c/metadata.h:34:16: note: expected 'const char *' but argument is of type 'int' 23:09:37 34 | const char * devicename, 23:09:37 | ~~~~~~~~~~~~~^~~~~~~~~~ 23:09:37 /tmp/sdk/src/c/device.c:714:105: error: incompatible type for argument 5 of 'edgex_metadata_client_set_device_opstate' 23:09:37 714 | edgex_metadata_client_set_device_opstate (svc->logger, &svc->config.endpoints, dev->name, DOWN, &err); 23:09:37 | ^~~~ 23:09:37 | | 23:09:37 | devsdk_error * 23:09:37 In file included from /tmp/sdk/src/c/device.c:15: 23:09:37 /tmp/sdk/src/c/metadata.h:35:31: note: expected 'edgex_device_operatingstate' but argument is of type 'devsdk_error *' 23:09:37 35 | edgex_device_operatingstate opstate, 23:09:37 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ 23:09:37 /tmp/sdk/src/c/device.c:714:9: error: too few arguments to function 'edgex_metadata_client_set_device_opstate' 23:09:37 714 | edgex_metadata_client_set_device_opstate (svc->logger, &svc->config.endpoints, dev->name, DOWN, &err); 23:09:37 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 23:09:37 In file included from /tmp/sdk/src/c/device.c:15: 23:09:37 /tmp/sdk/src/c/metadata.h:29:6: note: declared here 23:09:37 29 | void edgex_metadata_client_set_device_opstate 23:09:37 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 23:09:37 make[2]: *** [c/CMakeFiles/csdk.dir/build.make:202: c/CMakeFiles/csdk.dir/device.c.o] Error 1 23:09:37 make[1]: *** [CMakeFiles/Makefile2:240: c/CMakeFiles/csdk.dir/all] Error 2 23:09:37 make: *** [Makefile:156: all] Error 2 23:09:37 make: Entering directory '/tmp/sdk/build/release' 23:09:37 make[1]: Entering directory '/tmp/sdk/build/release' 23:09:37 make[2]: Entering directory '/tmp/sdk/build/release' 23:09:37 Consolidate compiler generated dependencies of target csdk 23:09:37 make[2]: Leaving directory '/tmp/sdk/build/release' 23:09:37 make[2]: Entering directory '/tmp/sdk/build/release' 23:09:37 [ 1%] Building C object c/CMakeFiles/csdk.dir/device.c.o 23:09:37 /tmp/sdk/src/c/device.c: In function 'edgex_device_runput3': 23:09:37 /tmp/sdk/src/c/device.c:645:93: warning: passing argument 3 of 'edgex_metadata_client_update_lastconnected' from incompatible pointer type [-Wincompatible-pointer-types] 23:09:37 645 | edgex_metadata_client_update_lastconnected (svc->logger, &svc->config.endpoints, dev->name, &err); 23:09:37 | ~~~^~~~~~ 23:09:37 | | 23:09:37 | char * 23:09:37 In file included from /tmp/sdk/src/c/device.c:15: 23:09:37 /tmp/sdk/src/c/metadata.h:138:29: note: expected 'edgex_secret_provider_t *' but argument is of type 'char *' 23:09:37 138 | edgex_secret_provider_t * secretprovider, 23:09:37 | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ 23:09:37 /tmp/sdk/src/c/device.c:645:101: warning: passing argument 4 of 'edgex_metadata_client_update_lastconnected' from incompatible pointer type [-Wincompatible-pointer-types] 23:09:37 645 | edgex_metadata_client_update_lastconnected (svc->logger, &svc->config.endpoints, dev->name, &err); 23:09:37 | ^~~~ 23:09:37 | | 23:09:37 | devsdk_error * 23:09:37 In file included from /tmp/sdk/src/c/device.c:15: 23:09:37 /tmp/sdk/src/c/metadata.h:139:16: note: expected 'const char *' but argument is of type 'devsdk_error *' 23:09:37 139 | const char * devicename, 23:09:37 | ~~~~~~~~~~~~~^~~~~~~~~~ 23:09:37 /tmp/sdk/src/c/device.c:645:9: error: too few arguments to function 'edgex_metadata_client_update_lastconnected' 23:09:37 645 | edgex_metadata_client_update_lastconnected (svc->logger, &svc->config.endpoints, dev->name, &err); 23:09:37 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 23:09:37 In file included from /tmp/sdk/src/c/device.c:15: 23:09:37 /tmp/sdk/src/c/metadata.h:134:6: note: declared here 23:09:37 134 | void edgex_metadata_client_update_lastconnected 23:09:37 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 23:09:37 /tmp/sdk/src/c/device.c: In function 'edgex_device_runget3': 23:09:37 /tmp/sdk/src/c/device.c:702:95: warning: passing argument 3 of 'edgex_metadata_client_update_lastconnected' from incompatible pointer type [-Wincompatible-pointer-types] 23:09:37 702 | edgex_metadata_client_update_lastconnected (svc->logger, &svc->config.endpoints, dev->name, &err); 23:09:37 | ~~~^~~~~~ 23:09:37 | | 23:09:37 | char * 23:09:37 In file included from /tmp/sdk/src/c/device.c:15: 23:09:37 /tmp/sdk/src/c/metadata.h:138:29: note: expected 'edgex_secret_provider_t *' but argument is of type 'char *' 23:09:37 138 | edgex_secret_provider_t * secretprovider, 23:09:37 | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ 23:09:37 /tmp/sdk/src/c/device.c:702:103: warning: passing argument 4 of 'edgex_metadata_client_update_lastconnected' from incompatible pointer type [-Wincompatible-pointer-types] 23:09:37 702 | edgex_metadata_client_update_lastconnected (svc->logger, &svc->config.endpoints, dev->name, &err); 23:09:37 | ^~~~ 23:09:37 | | 23:09:37 | devsdk_error * 23:09:37 In file included from /tmp/sdk/src/c/device.c:15: 23:09:37 /tmp/sdk/src/c/metadata.h:139:16: note: expected 'const char *' but argument is of type 'devsdk_error *' 23:09:37 139 | const char * devicename, 23:09:37 | ~~~~~~~~~~~~~^~~~~~~~~~ 23:09:37 /tmp/sdk/src/c/device.c:702:11: error: too few arguments to function 'edgex_metadata_client_update_lastconnected' 23:09:37 702 | edgex_metadata_client_update_lastconnected (svc->logger, &svc->config.endpoints, dev->name, &err); 23:09:37 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 23:09:37 In file included from /tmp/sdk/src/c/device.c:15: 23:09:37 /tmp/sdk/src/c/metadata.h:134:6: note: declared here 23:09:37 134 | void edgex_metadata_client_update_lastconnected 23:09:37 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 23:09:37 /tmp/sdk/src/c/device.c:714:91: warning: passing argument 3 of 'edgex_metadata_client_set_device_opstate' from incompatible pointer type [-Wincompatible-pointer-types] 23:09:37 714 | edgex_metadata_client_set_device_opstate (svc->logger, &svc->config.endpoints, dev->name, DOWN, &err); 23:09:37 | ~~~^~~~~~ 23:09:37 | | 23:09:37 | char * 23:09:37 In file included from /tmp/sdk/src/c/device.c:15: 23:09:37 /tmp/sdk/src/c/metadata.h:33:29: note: expected 'edgex_secret_provider_t *' but argument is of type 'char *' 23:09:37 33 | edgex_secret_provider_t * secretprovider, 23:09:37 | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ 23:09:37 /tmp/sdk/src/c/device.c:714:99: warning: passing argument 4 of 'edgex_metadata_client_set_device_opstate' makes pointer from integer without a cast [-Wint-conversion] 23:09:37 714 | edgex_metadata_client_set_device_opstate (svc->logger, &svc->config.endpoints, dev->name, DOWN, &err); 23:09:37 | ^~~~ 23:09:37 | | 23:09:37 | int 23:09:37 In file included from /tmp/sdk/src/c/device.c:15: 23:09:37 /tmp/sdk/src/c/metadata.h:34:16: note: expected 'const char *' but argument is of type 'int' 23:09:37 34 | const char * devicename, 23:09:37 | ~~~~~~~~~~~~~^~~~~~~~~~ 23:09:37 /tmp/sdk/src/c/device.c:714:105: error: incompatible type for argument 5 of 'edgex_metadata_client_set_device_opstate' 23:09:37 714 | edgex_metadata_client_set_device_opstate (svc->logger, &svc->config.endpoints, dev->name, DOWN, &err); 23:09:37 | ^~~~ 23:09:37 | | 23:09:37 | devsdk_error * 23:09:37 In file included from /tmp/sdk/src/c/device.c:15: 23:09:37 /tmp/sdk/src/c/metadata.h:35:31: note: expected 'edgex_device_operatingstate' but argument is of type 'devsdk_error *' 23:09:37 35 | edgex_device_operatingstate opstate, 23:09:37 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ 23:09:37 /tmp/sdk/src/c/device.c:714:9: error: too few arguments to function 'edgex_metadata_client_set_device_opstate' 23:09:37 714 | edgex_metadata_client_set_device_opstate (svc->logger, &svc->config.endpoints, dev->name, DOWN, &err); 23:09:37 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 23:09:37 In file included from /tmp/sdk/src/c/device.c:15: 23:09:37 /tmp/sdk/src/c/metadata.h:29:6: note: declared here 23:09:37 29 | void edgex_metadata_client_set_device_opstate 23:09:37 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 23:09:37 make[2]: Leaving directory '/tmp/sdk/build/release' 23:09:37 make[2]: *** [c/CMakeFiles/csdk.dir/build.make:202: c/CMakeFiles/csdk.dir/device.c.o] Error 1 23:09:37 make[1]: *** [CMakeFiles/Makefile2:240: c/CMakeFiles/csdk.dir/all] Error 2 23:09:37 make[1]: Leaving directory '/tmp/sdk/build/release' 23:09:37 make: *** [Makefile:156: all] Error 2 23:09:37 make: Leaving directory '/tmp/sdk/build/release' 23:09:37 The command '/bin/sh -c cd /tmp/sdk && ./scripts/build.sh && make -C build/release install' returned a non-zero code: 2 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) Stage "Test" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:09:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:09:38 23:09:38 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:09:38 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:09:38 latest: Pulling from edgex-lftools-log-publisher 23:09:38 5eb5b503b376: Pulling fs layer 23:09:38 5c69ac0246d0: Pulling fs layer 23:09:38 ec43610c2a17: Pulling fs layer 23:09:38 3a2ae6a8a46f: Pulling fs layer 23:09:38 33b1e0a273af: Pulling fs layer 23:09:38 5d3b04190fa2: Pulling fs layer 23:09:38 2f39f015ded8: Pulling fs layer 23:09:38 2f39f015ded8: Waiting 23:09:38 33b1e0a273af: Waiting 23:09:38 3a2ae6a8a46f: Waiting 23:09:38 5c69ac0246d0: Download complete 23:09:38 3a2ae6a8a46f: Verifying Checksum 23:09:38 3a2ae6a8a46f: Download complete 23:09:38 33b1e0a273af: Verifying Checksum 23:09:38 33b1e0a273af: Download complete 23:09:38 5d3b04190fa2: Download complete 23:09:38 ec43610c2a17: Verifying Checksum 23:09:38 5eb5b503b376: Verifying Checksum 23:09:38 5eb5b503b376: Download complete 23:09:39 2f39f015ded8: Download complete 23:09:40 5eb5b503b376: Pull complete 23:09:40 5c69ac0246d0: Pull complete 23:09:40 ec43610c2a17: Pull complete 23:09:40 3a2ae6a8a46f: Pull complete 23:09:40 33b1e0a273af: Pull complete 23:09:40 5d3b04190fa2: Pull complete 23:09:44 2f39f015ded8: Pull complete 23:09:44 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 23:09:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:09:44 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:09:45 prd-ubuntu20.04-docker-8c-8g-9988 does not seem to be running inside a container 23:09:45 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-c_PR-442 -v /w/workspace/edgexfoundry_device-sdk-c_PR-442:/w/workspace/edgexfoundry_device-sdk-c_PR-442:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-442@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-442@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 23:09:49 $ docker top 3021b75dbc276bc96a92d0fc610aaff16ae64a7688806032a3f43ae44549287e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:09:50 ---> job-cost.sh 23:09:50 lf-activate-venv: SKIPPING 23:09:50 INFO: No Stack... 23:09:50 INFO: Retrieving Pricing Info for: v3-standard-8 23:09:51 INFO: Archiving Costs [Pipeline] sh 23:09:51 + cat /w/workspace/edgexfoundry_device-sdk-c_PR-442/archives/cost.csv 23:09:51 + cut -d, -f6 [Pipeline] lock 23:09:51 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-442-7-stack-cost] 23:09:51 Resource [jenkins-edgexfoundry-device-sdk-c-PR-442-7-stack-cost] did not exist. Created. 23:09:51 Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-442-7-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:09:51 + echo total: 0.2199999988079071 [Pipeline] stash 23:09:51 Stashed 1 file(s) [Pipeline] } 23:09:51 Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-442-7-stack-cost] [Pipeline] // lock [Pipeline] } 23:09:51 $ docker stop --time=1 3021b75dbc276bc96a92d0fc610aaff16ae64a7688806032a3f43ae44549287e 23:09:52 $ docker rm -f --volumes 3021b75dbc276bc96a92d0fc610aaff16ae64a7688806032a3f43ae44549287e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 23:09:53 Failed in branch amd64 23:11:56 Running on prd-ubuntu20.04-docker-arm64-4c-16g-9991 in /w/workspace/edgexfoundry_device-sdk-c_PR-442 [Pipeline] { [Pipeline] ws 23:11:56 Running in /w/workspace/device-sdk-c/7 [Pipeline] { [Pipeline] checkout 23:11:56 Selected Git installation does not exist. Using Default 23:11:56 The recommended git tool is: NONE 23:12:03 using credential edgex-jenkins-ssh 23:12:03 Cloning the remote Git repository 23:12:03 Cloning repository git@github.com:edgexfoundry/device-sdk-c.git 23:12:03 > git init /w/workspace/device-sdk-c/7 # timeout=10 23:12:03 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 23:12:03 > git --version # timeout=10 23:12:03 > git --version # 'git version 2.25.1' 23:12:03 using GIT_SSH to set credentials SSH Credentials for GitHub 23:12:03 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 23:12:05 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 23:12:05 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 23:12:06 Merging remotes/origin/main commit fdd904db91670bf9b9238bf17ce25b0e9b1934c2 into PR head commit daad38e5568412427f9a797ece8522d5d6051c10 23:12:07 Merge succeeded, producing daad38e5568412427f9a797ece8522d5d6051c10 23:12:07 Checking out Revision daad38e5568412427f9a797ece8522d5d6051c10 (PR-442) 23:12:06 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 23:12:06 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 23:12:06 using GIT_SSH to set credentials SSH Credentials for GitHub 23:12:06 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/442/head:refs/remotes/origin/PR-442 +refs/heads/main:refs/remotes/origin/main # timeout=10 23:12:06 > git config core.sparsecheckout # timeout=10 23:12:06 > git checkout -f daad38e5568412427f9a797ece8522d5d6051c10 # timeout=10 23:12:07 > git remote # timeout=10 23:12:07 > git config --get remote.origin.url # timeout=10 23:12:07 using GIT_SSH to set credentials SSH Credentials for GitHub 23:12:07 > git merge fdd904db91670bf9b9238bf17ce25b0e9b1934c2 # timeout=10 23:12:07 > git rev-parse HEAD^{commit} # timeout=10 23:12:07 > git config core.sparsecheckout # timeout=10 23:12:07 > git checkout -f daad38e5568412427f9a797ece8522d5d6051c10 # timeout=10 23:12:10 Commit message: "feat!: Implementation of token-based security ADR" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:12:11 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 23:12:11 % Total % Received % Xferd Average Speed Time Time Time Current 23:12:11 Dload Upload Total Spent Left Speed 23:12:11 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 170k 0 --:--:-- --:--:-- --:--:-- 170k [Pipeline] sh 23:12:12 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 23:12:13 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 23:12:13 + sudo tee /etc/docker/daemon.new 23:12:13 { 23:12:13 "registry-mirrors": [ 23:12:13 "https://nexus3.edgexfoundry.org:10001" 23:12:13 ], 23:12:13 "bip": "10.250.0.254/24", 23:12:13 "hosts": [ 23:12:13 "tcp://0.0.0.0:5555", 23:12:13 "unix:///var/run/docker.sock" 23:12:13 ], 23:12:13 "mtu": 1458, 23:12:13 "selinux-enabled": true, 23:12:13 "seccomp-profile": "/etc/docker/seccomp.json" 23:12:13 } [Pipeline] sh 23:12:13 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 23:12:13 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:12:32 provisioning config files... 23:12:32 copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/7@tmp/config1599236143061407330tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:12:32 ---> docker-login.sh 23:12:32 nexus3.edgexfoundry.org:10001 23:12:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:12:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:12:33 Configure a credential helper to remove this warning. See 23:12:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:12:33 23:12:33 Login Succeeded 23:12:33 nexus3.edgexfoundry.org:10002 23:12:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:12:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:12:33 Configure a credential helper to remove this warning. See 23:12:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:12:33 23:12:33 Login Succeeded 23:12:33 nexus3.edgexfoundry.org:10003 23:12:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:12:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:12:33 Configure a credential helper to remove this warning. See 23:12:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:12:33 23:12:33 Login Succeeded 23:12:33 nexus3.edgexfoundry.org:10004 23:12:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:12:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:12:34 Configure a credential helper to remove this warning. See 23:12:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:12:34 23:12:34 Login Succeeded 23:12:34 docker.io 23:12:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:12:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:12:34 Configure a credential helper to remove this warning. See 23:12:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:12:34 23:12:34 Login Succeeded 23:12:34 ---> docker-login.sh ends [Pipeline] } 23:12:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:12:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:12:35 [prepBaseBuildImage] Generating new image with name: ci-base-image-arm64 [Pipeline] echo 23:12:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:12:35 ========================================================= 23:12:35 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] 23:12:35 ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:12:35 + 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 . 23:12:35 Sending build context to Docker daemon 3.018MB 23:12:35 Step 1/21 : ARG BASE=alpine:3.16 23:12:35 Step 2/21 : FROM ${BASE} as builder 23:12:35 latest: Pulling from edgex-devops/edgex-gcc-base-arm64 23:12:35 9b18e9b68314: Pulling fs layer 23:12:35 1def92ead452: Pulling fs layer 23:12:36 9b18e9b68314: Download complete 23:12:36 9b18e9b68314: Pull complete 23:12:38 1def92ead452: Verifying Checksum 23:12:38 1def92ead452: Download complete 23:12:47 1def92ead452: Pull complete 23:12:47 Digest: sha256:3c74c28e8b16bff0b36cfc53656b3ae71c0a9fddc9bd5376ab4c3f9356b3cc6c 23:12:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest 23:12:47 ---> 9a9802766715 23:12:47 Step 3/21 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub 23:12:47 ---> Running in 3e5722b43ba4 23:12:48 Connecting to iotech.jfrog.io (52.212.188.82:443) 23:12:48 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 23:12:48 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 23:12:48 '/etc/apk/keys/alpine.dev.rsa.pub' saved 23:12:49 Removing intermediate container 3e5722b43ba4 23:12:49 ---> c469d9d60fcb 23:12:49 Step 4/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories 23:12:49 ---> Running in 1a49df2460f2 23:12:51 Removing intermediate container 1a49df2460f2 23:12:51 ---> 6c1c013ce3ca 23:12:51 Step 5/21 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml-dev curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev libcbor-dev paho-mqtt-c-dev-1.3 iotech-iot-1.5-dev hiredis-dev 23:12:51 ---> Running in 1119e8f145af 23:12:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 23:12:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 23:12:53 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/aarch64/APKINDEX.tar.gz 23:12:54 WARNING: This apk-tools is OLD! Some packages might not function properly. 23:12:54 (1/14) Installing hiredis (1.0.2-r0) 23:12:54 (2/14) Installing hiredis-dev (1.0.2-r0) 23:12:54 (3/14) Installing iotech-iot-1.5 (1.5.0-r0) 23:12:55 (4/14) Installing iotech-iot-1.5-dev (1.5.0-r0) 23:12:55 (5/14) Installing libcbor (0.9.0-r1) 23:12:55 (6/14) Installing libcbor-dev (0.9.0-r1) 23:12:55 (7/14) Installing ncurses-dev (6.3_p20220521-r0) 23:12:55 (8/14) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) 23:12:56 (9/14) Installing libblkid (2.38-r1) 23:12:56 (10/14) Installing libuuid (2.38-r1) 23:12:56 (11/14) Installing libfdisk (2.38-r1) 23:12:56 (12/14) Installing libmount (2.38-r1) 23:12:56 (13/14) Installing libsmartcols (2.38-r1) 23:12:56 (14/14) Installing util-linux-dev (2.38-r1) 23:12:56 Executing busybox-1.35.0-r17.trigger 23:12:56 OK: 286 MiB in 90 packages 23:12:57 Removing intermediate container 1119e8f145af 23:12:57 ---> 7e3a89153287 23:12:57 Step 6/21 : RUN mkdir /tmp/sdk 23:12:57 ---> Running in d45b254de0e2 23:12:59 Removing intermediate container d45b254de0e2 23:12:59 ---> 5ee77e532f89 23:12:59 Step 7/21 : COPY VERSION /tmp/sdk 23:12:59 ---> d8862d5f2672 23:12:59 Step 8/21 : COPY src /tmp/sdk/src 23:13:00 ---> b6390d2bfe51 23:13:00 Step 9/21 : COPY include /tmp/sdk/include 23:13:01 ---> 560642f1ca87 23:13:01 Step 10/21 : COPY scripts /tmp/sdk/scripts 23:13:03 ---> 3d3a74734df5 23:13:03 Step 11/21 : COPY LICENSE /tmp/sdk 23:13:04 ---> ba6c00552606 23:13:04 Step 12/21 : COPY Attribution.txt /tmp/sdk 23:13:04 ---> 7656a5b4f105 23:13:04 Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 23:13:04 ---> Running in 5e5cb5fae3c0 23:13:05 + CPPCHECK=false 23:13:05 + DOCGEN=false 23:13:05 + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' 23:13:05 + TOMLVER=SDK-0.2 23:13:05 + CUTILVER=1.4 23:13:05 + '[' 0 -gt 0 ] 23:13:05 + readlink -f ./scripts/build.sh 23:13:05 + dirname /tmp/sdk/scripts/build.sh 23:13:05 + dirname /tmp/sdk/scripts 23:13:05 + ROOT=/tmp/sdk 23:13:05 + cd /tmp/sdk 23:13:05 + '[' '!' -d deps ] 23:13:05 + mkdir deps 23:13:05 + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 23:13:05 + tar -C deps -z -x -f - 23:13:05 Connecting to github.com (140.82.112.4:443) 23:13:05 Connecting to codeload.github.com (140.82.114.9:443) 23:13:06 writing to stdout 23:13:06 - 100% |********************************| 16451 0:00:00 ETA 23:13:06 written to stdout 23:13:06 + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c 23:13:06 + mkdir -p /tmp/sdk/build/release 23:13:06 + cd /tmp/sdk/build/release 23:13:06 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 23:13:06 -- The C compiler identification is GNU 11.2.1 23:13:06 -- Detecting C compiler ABI info 23:13:06 -- Detecting C compiler ABI info - done 23:13:06 -- Check for working C compiler: /usr/bin/cc - skipped 23:13:06 -- Detecting C compile features 23:13:06 -- Detecting C compile features - done 23:13:07 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 23:13:07 -- Found CURL: /usr/lib/libcurl.so (found version "7.83.1") 23:13:07 -- Found LIBYAML: /usr/lib/libyaml.so 23:13:07 -- Found LIBUUID: /usr/lib/libuuid.so 23:13:07 -- Found LIBCBOR: /usr/lib/libcbor.so 23:13:07 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 23:13:07 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 23:13:07 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 23:13:07 -- /opt/iotech/iot/1.5/include 23:13:07 -- C SDK 0.0.0 for Linux 23:13:07 -- Performing Test CSDK_HAVE_ATOMIC 23:13:07 -- Performing Test CSDK_HAVE_ATOMIC - Success 23:13:08 -- Found Curses: /usr/lib/libcurses.so 23:13:08 -- Configuring done 23:13:08 -- Generating done 23:13:08 -- Build files have been written to: /tmp/sdk/build/release 23:13:08 + + maketee all release.log 23:13:08 package 23:13:08 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 23:13:10 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o 23:13:11 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o 23:13:12 [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o 23:13:13 [ 9%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 23:13:14 [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o 23:13:18 [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 23:13:19 [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 23:13:19 [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o 23:13:21 [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o 23:13:21 /tmp/sdk/src/c/device.c: In function 'edgex_device_runput3': 23:13:21 /tmp/sdk/src/c/device.c:645:93: warning: passing argument 3 of 'edgex_metadata_client_update_lastconnected' from incompatible pointer type [-Wincompatible-pointer-types] 23:13:21 645 | edgex_metadata_client_update_lastconnected (svc->logger, &svc->config.endpoints, dev->name, &err); 23:13:21 | ~~~^~~~~~ 23:13:21 | | 23:13:21 | char * 23:13:21 In file included from /tmp/sdk/src/c/device.c:15: 23:13:21 /tmp/sdk/src/c/metadata.h:138:29: note: expected 'edgex_secret_provider_t *' but argument is of type 'char *' 23:13:21 138 | edgex_secret_provider_t * secretprovider, 23:13:21 | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ 23:13:21 /tmp/sdk/src/c/device.c:645:101: warning: passing argument 4 of 'edgex_metadata_client_update_lastconnected' from incompatible pointer type [-Wincompatible-pointer-types] 23:13:21 645 | edgex_metadata_client_update_lastconnected (svc->logger, &svc->config.endpoints, dev->name, &err); 23:13:21 | ^~~~ 23:13:21 | | 23:13:21 | devsdk_error * 23:13:21 In file included from /tmp/sdk/src/c/device.c:15: 23:13:21 /tmp/sdk/src/c/metadata.h:139:16: note: expected 'const char *' but argument is of type 'devsdk_error *' 23:13:21 139 | const char * devicename, 23:13:21 | ~~~~~~~~~~~~~^~~~~~~~~~ 23:13:21 /tmp/sdk/src/c/device.c:645:9: error: too few arguments to function 'edgex_metadata_client_update_lastconnected' 23:13:21 645 | edgex_metadata_client_update_lastconnected (svc->logger, &svc->config.endpoints, dev->name, &err); 23:13:21 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 23:13:21 In file included from /tmp/sdk/src/c/device.c:15: 23:13:21 /tmp/sdk/src/c/metadata.h:134:6: note: declared here 23:13:21 134 | void edgex_metadata_client_update_lastconnected 23:13:21 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 23:13:21 /tmp/sdk/src/c/device.c: In function 'edgex_device_runget3': 23:13:21 /tmp/sdk/src/c/device.c:702:95: warning: passing argument 3 of 'edgex_metadata_client_update_lastconnected' from incompatible pointer type [-Wincompatible-pointer-types] 23:13:21 702 | edgex_metadata_client_update_lastconnected (svc->logger, &svc->config.endpoints, dev->name, &err); 23:13:21 | ~~~^~~~~~ 23:13:21 | | 23:13:21 | char * 23:13:21 In file included from /tmp/sdk/src/c/device.c:15: 23:13:21 /tmp/sdk/src/c/metadata.h:138:29: note: expected 'edgex_secret_provider_t *' but argument is of type 'char *' 23:13:21 138 | edgex_secret_provider_t * secretprovider, 23:13:21 | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ 23:13:21 /tmp/sdk/src/c/device.c:702:103: warning: passing argument 4 of 'edgex_metadata_client_update_lastconnected' from incompatible pointer type [-Wincompatible-pointer-types] 23:13:21 702 | edgex_metadata_client_update_lastconnected (svc->logger, &svc->config.endpoints, dev->name, &err); 23:13:21 | ^~~~ 23:13:21 | | 23:13:21 | devsdk_error * 23:13:21 In file included from /tmp/sdk/src/c/device.c:15: 23:13:21 /tmp/sdk/src/c/metadata.h:139:16: note: expected 'const char *' but argument is of type 'devsdk_error *' 23:13:21 139 | const char * devicename, 23:13:21 | ~~~~~~~~~~~~~^~~~~~~~~~ 23:13:21 /tmp/sdk/src/c/device.c:702:11: error: too few arguments to function 'edgex_metadata_client_update_lastconnected' 23:13:21 702 | edgex_metadata_client_update_lastconnected (svc->logger, &svc->config.endpoints, dev->name, &err); 23:13:21 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 23:13:21 In file included from /tmp/sdk/src/c/device.c:15: 23:13:21 /tmp/sdk/src/c/metadata.h:134:6: note: declared here 23:13:21 134 | void edgex_metadata_client_update_lastconnected 23:13:21 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 23:13:21 /tmp/sdk/src/c/device.c:714:91: warning: passing argument 3 of 'edgex_metadata_client_set_device_opstate' from incompatible pointer type [-Wincompatible-pointer-types] 23:13:21 714 | edgex_metadata_client_set_device_opstate (svc->logger, &svc->config.endpoints, dev->name, DOWN, &err); 23:13:21 | ~~~^~~~~~ 23:13:21 | | 23:13:21 | char * 23:13:21 In file included from /tmp/sdk/src/c/device.c:15: 23:13:21 /tmp/sdk/src/c/metadata.h:33:29: note: expected 'edgex_secret_provider_t *' but argument is of type 'char *' 23:13:21 33 | edgex_secret_provider_t * secretprovider, 23:13:21 | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ 23:13:21 /tmp/sdk/src/c/device.c:714:99: warning: passing argument 4 of 'edgex_metadata_client_set_device_opstate' makes pointer from integer without a cast [-Wint-conversion] 23:13:21 714 | edgex_metadata_client_set_device_opstate (svc->logger, &svc->config.endpoints, dev->name, DOWN, &err); 23:13:21 | ^~~~ 23:13:21 | | 23:13:21 | int 23:13:21 In file included from /tmp/sdk/src/c/device.c:15: 23:13:21 /tmp/sdk/src/c/metadata.h:34:16: note: expected 'const char *' but argument is of type 'int' 23:13:21 34 | const char * devicename, 23:13:21 | ~~~~~~~~~~~~~^~~~~~~~~~ 23:13:21 /tmp/sdk/src/c/device.c:714:105: error: incompatible type for argument 5 of 'edgex_metadata_client_set_device_opstate' 23:13:21 714 | edgex_metadata_client_set_device_opstate (svc->logger, &svc->config.endpoints, dev->name, DOWN, &err); 23:13:21 | ^~~~ 23:13:21 | | 23:13:21 | devsdk_error * 23:13:21 In file included from /tmp/sdk/src/c/device.c:15: 23:13:21 /tmp/sdk/src/c/metadata.h:35:31: note: expected 'edgex_device_operatingstate' but argument is of type 'devsdk_error *' 23:13:21 35 | edgex_device_operatingstate opstate, 23:13:21 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ 23:13:21 /tmp/sdk/src/c/device.c:714:9: error: too few arguments to function 'edgex_metadata_client_set_device_opstate' 23:13:21 714 | edgex_metadata_client_set_device_opstate (svc->logger, &svc->config.endpoints, dev->name, DOWN, &err); 23:13:21 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 23:13:21 In file included from /tmp/sdk/src/c/device.c:15: 23:13:21 /tmp/sdk/src/c/metadata.h:29:6: note: declared here 23:13:21 29 | void edgex_metadata_client_set_device_opstate 23:13:21 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 23:13:21 make[2]: *** [c/CMakeFiles/csdk.dir/build.make:202: c/CMakeFiles/csdk.dir/device.c.o] Error 1 23:13:21 make[1]: *** [CMakeFiles/Makefile2:240: c/CMakeFiles/csdk.dir/all] Error 2 23:13:21 make: *** [Makefile:156: all] Error 2 23:13:21 + '[' false '=' true ] 23:13:21 + '[' false '=' true ] 23:13:21 + mkdir -p /tmp/sdk/build/debug 23:13:21 + cd /tmp/sdk/build/debug 23:13:21 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 23:13:22 -- The C compiler identification is GNU 11.2.1 23:13:22 -- Detecting C compiler ABI info 23:13:22 -- Detecting C compiler ABI info - done 23:13:22 -- Check for working C compiler: /usr/bin/cc - skipped 23:13:22 -- Detecting C compile features 23:13:22 -- Detecting C compile features - done 23:13:22 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 23:13:22 -- Found CURL: /usr/lib/libcurl.so (found version "7.83.1") 23:13:22 -- Found LIBYAML: /usr/lib/libyaml.so 23:13:22 -- Found LIBUUID: /usr/lib/libuuid.so 23:13:22 -- Found LIBCBOR: /usr/lib/libcbor.so 23:13:22 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 23:13:22 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 23:13:23 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 23:13:23 -- /opt/iotech/iot/1.5/include 23:13:23 -- C SDK 0.0.0 for Linux 23:13:23 -- Performing Test CSDK_HAVE_ATOMIC 23:13:23 -- Performing Test CSDK_HAVE_ATOMIC - Success 23:13:23 -- Found Curses: /usr/lib/libcurses.so 23:13:23 -- Configuring done 23:13:23 -- Generating done 23:13:23 -- Build files have been written to: /tmp/sdk/build/debug 23:13:24 + make 23:13:24 + tee debug.log 23:13:24 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 23:13:24 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o 23:13:25 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o 23:13:25 [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o 23:13:26 [ 9%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 23:13:27 [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o 23:13:28 [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 23:13:28 [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 23:13:29 [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o 23:13:29 [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o 23:13:29 /tmp/sdk/src/c/device.c: In function 'edgex_device_runput3': 23:13:29 /tmp/sdk/src/c/device.c:645:93: warning: passing argument 3 of 'edgex_metadata_client_update_lastconnected' from incompatible pointer type [-Wincompatible-pointer-types] 23:13:29 645 | edgex_metadata_client_update_lastconnected (svc->logger, &svc->config.endpoints, dev->name, &err); 23:13:29 | ~~~^~~~~~ 23:13:29 | | 23:13:29 | char * 23:13:29 In file included from /tmp/sdk/src/c/device.c:15: 23:13:29 /tmp/sdk/src/c/metadata.h:138:29: note: expected 'edgex_secret_provider_t *' but argument is of type 'char *' 23:13:29 138 | edgex_secret_provider_t * secretprovider, 23:13:29 | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ 23:13:29 /tmp/sdk/src/c/device.c:645:101: warning: passing argument 4 of 'edgex_metadata_client_update_lastconnected' from incompatible pointer type [-Wincompatible-pointer-types] 23:13:29 645 | edgex_metadata_client_update_lastconnected (svc->logger, &svc->config.endpoints, dev->name, &err); 23:13:29 | ^~~~ 23:13:29 | | 23:13:29 | devsdk_error * 23:13:30 In file included from /tmp/sdk/src/c/device.c:15: 23:13:30 /tmp/sdk/src/c/metadata.h:139:16: note: expected 'const char *' but argument is of type 'devsdk_error *' 23:13:30 139 | const char * devicename, 23:13:30 | ~~~~~~~~~~~~~^~~~~~~~~~ 23:13:30 /tmp/sdk/src/c/device.c:645:9: error: too few arguments to function 'edgex_metadata_client_update_lastconnected' 23:13:30 645 | edgex_metadata_client_update_lastconnected (svc->logger, &svc->config.endpoints, dev->name, &err); 23:13:30 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 23:13:30 In file included from /tmp/sdk/src/c/device.c:15: 23:13:30 /tmp/sdk/src/c/metadata.h:134:6: note: declared here 23:13:30 134 | void edgex_metadata_client_update_lastconnected 23:13:30 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 23:13:30 /tmp/sdk/src/c/device.c: In function 'edgex_device_runget3': 23:13:30 /tmp/sdk/src/c/device.c:702:95: warning: passing argument 3 of 'edgex_metadata_client_update_lastconnected' from incompatible pointer type [-Wincompatible-pointer-types] 23:13:30 702 | edgex_metadata_client_update_lastconnected (svc->logger, &svc->config.endpoints, dev->name, &err); 23:13:30 | ~~~^~~~~~ 23:13:30 | | 23:13:30 | char * 23:13:30 In file included from /tmp/sdk/src/c/device.c:15: 23:13:30 /tmp/sdk/src/c/metadata.h:138:29: note: expected 'edgex_secret_provider_t *' but argument is of type 'char *' 23:13:30 138 | edgex_secret_provider_t * secretprovider, 23:13:30 | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ 23:13:30 /tmp/sdk/src/c/device.c:702:103: warning: passing argument 4 of 'edgex_metadata_client_update_lastconnected' from incompatible pointer type [-Wincompatible-pointer-types] 23:13:30 702 | edgex_metadata_client_update_lastconnected (svc->logger, &svc->config.endpoints, dev->name, &err); 23:13:30 | ^~~~ 23:13:30 | | 23:13:30 | devsdk_error * 23:13:30 In file included from /tmp/sdk/src/c/device.c:15: 23:13:30 /tmp/sdk/src/c/metadata.h:139:16: note: expected 'const char *' but argument is of type 'devsdk_error *' 23:13:30 139 | const char * devicename, 23:13:30 | ~~~~~~~~~~~~~^~~~~~~~~~ 23:13:30 /tmp/sdk/src/c/device.c:702:11: error: too few arguments to function 'edgex_metadata_client_update_lastconnected' 23:13:30 702 | edgex_metadata_client_update_lastconnected (svc->logger, &svc->config.endpoints, dev->name, &err); 23:13:30 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 23:13:30 In file included from /tmp/sdk/src/c/device.c:15: 23:13:30 /tmp/sdk/src/c/metadata.h:134:6: note: declared here 23:13:30 134 | void edgex_metadata_client_update_lastconnected 23:13:30 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 23:13:30 /tmp/sdk/src/c/device.c:714:91: warning: passing argument 3 of 'edgex_metadata_client_set_device_opstate' from incompatible pointer type [-Wincompatible-pointer-types] 23:13:30 714 | edgex_metadata_client_set_device_opstate (svc->logger, &svc->config.endpoints, dev->name, DOWN, &err); 23:13:30 | ~~~^~~~~~ 23:13:30 | | 23:13:30 | char * 23:13:30 In file included from /tmp/sdk/src/c/device.c:15: 23:13:30 /tmp/sdk/src/c/metadata.h:33:29: note: expected 'edgex_secret_provider_t *' but argument is of type 'char *' 23:13:30 33 | edgex_secret_provider_t * secretprovider, 23:13:30 | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ 23:13:30 /tmp/sdk/src/c/device.c:714:99: warning: passing argument 4 of 'edgex_metadata_client_set_device_opstate' makes pointer from integer without a cast [-Wint-conversion] 23:13:30 714 | edgex_metadata_client_set_device_opstate (svc->logger, &svc->config.endpoints, dev->name, DOWN, &err); 23:13:30 | ^~~~ 23:13:30 | | 23:13:30 | int 23:13:30 In file included from /tmp/sdk/src/c/device.c:15: 23:13:30 /tmp/sdk/src/c/metadata.h:34:16: note: expected 'const char *' but argument is of type 'int' 23:13:30 34 | const char * devicename, 23:13:30 | ~~~~~~~~~~~~~^~~~~~~~~~ 23:13:30 /tmp/sdk/src/c/device.c:714:105: error: incompatible type for argument 5 of 'edgex_metadata_client_set_device_opstate' 23:13:30 714 | edgex_metadata_client_set_device_opstate (svc->logger, &svc->config.endpoints, dev->name, DOWN, &err); 23:13:30 | ^~~~ 23:13:30 | | 23:13:30 | devsdk_error * 23:13:30 In file included from /tmp/sdk/src/c/device.c:15: 23:13:30 /tmp/sdk/src/c/metadata.h:35:31: note: expected 'edgex_device_operatingstate' but argument is of type 'devsdk_error *' 23:13:30 35 | edgex_device_operatingstate opstate, 23:13:30 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ 23:13:30 /tmp/sdk/src/c/device.c:714:9: error: too few arguments to function 'edgex_metadata_client_set_device_opstate' 23:13:30 714 | edgex_metadata_client_set_device_opstate (svc->logger, &svc->config.endpoints, dev->name, DOWN, &err); 23:13:30 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 23:13:30 In file included from /tmp/sdk/src/c/device.c:15: 23:13:30 /tmp/sdk/src/c/metadata.h:29:6: note: declared here 23:13:30 29 | void edgex_metadata_client_set_device_opstate 23:13:30 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 23:13:30 make[2]: *** [c/CMakeFiles/csdk.dir/build.make:202: c/CMakeFiles/csdk.dir/device.c.o] Error 1 23:13:30 make[1]: *** [CMakeFiles/Makefile2:240: c/CMakeFiles/csdk.dir/all] Error 2 23:13:30 make: *** [Makefile:156: all] Error 2 23:13:30 make: Entering directory '/tmp/sdk/build/release' 23:13:30 make[1]: Entering directory '/tmp/sdk/build/release' 23:13:30 make[2]: Entering directory '/tmp/sdk/build/release' 23:13:30 Consolidate compiler generated dependencies of target csdk 23:13:30 make[2]: Leaving directory '/tmp/sdk/build/release' 23:13:30 make[2]: Entering directory '/tmp/sdk/build/release' 23:13:30 [ 1%] Building C object c/CMakeFiles/csdk.dir/device.c.o 23:13:30 /tmp/sdk/src/c/device.c: In function 'edgex_device_runput3': 23:13:30 /tmp/sdk/src/c/device.c:645:93: warning: passing argument 3 of 'edgex_metadata_client_update_lastconnected' from incompatible pointer type [-Wincompatible-pointer-types] 23:13:30 645 | edgex_metadata_client_update_lastconnected (svc->logger, &svc->config.endpoints, dev->name, &err); 23:13:30 | ~~~^~~~~~ 23:13:30 | | 23:13:30 | char * 23:13:30 In file included from /tmp/sdk/src/c/device.c:15: 23:13:30 /tmp/sdk/src/c/metadata.h:138:29: note: expected 'edgex_secret_provider_t *' but argument is of type 'char *' 23:13:30 138 | edgex_secret_provider_t * secretprovider, 23:13:30 | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ 23:13:30 /tmp/sdk/src/c/device.c:645:101: warning: passing argument 4 of 'edgex_metadata_client_update_lastconnected' from incompatible pointer type [-Wincompatible-pointer-types] 23:13:30 645 | edgex_metadata_client_update_lastconnected (svc->logger, &svc->config.endpoints, dev->name, &err); 23:13:30 | ^~~~ 23:13:30 | | 23:13:30 | devsdk_error * 23:13:30 In file included from /tmp/sdk/src/c/device.c:15: 23:13:30 /tmp/sdk/src/c/metadata.h:139:16: note: expected 'const char *' but argument is of type 'devsdk_error *' 23:13:30 139 | const char * devicename, 23:13:30 | ~~~~~~~~~~~~~^~~~~~~~~~ 23:13:30 /tmp/sdk/src/c/device.c:645:9: error: too few arguments to function 'edgex_metadata_client_update_lastconnected' 23:13:30 645 | edgex_metadata_client_update_lastconnected (svc->logger, &svc->config.endpoints, dev->name, &err); 23:13:30 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 23:13:30 In file included from /tmp/sdk/src/c/device.c:15: 23:13:30 /tmp/sdk/src/c/metadata.h:134:6: note: declared here 23:13:30 134 | void edgex_metadata_client_update_lastconnected 23:13:30 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 23:13:30 /tmp/sdk/src/c/device.c: In function 'edgex_device_runget3': 23:13:30 /tmp/sdk/src/c/device.c:702:95: warning: passing argument 3 of 'edgex_metadata_client_update_lastconnected' from incompatible pointer type [-Wincompatible-pointer-types] 23:13:30 702 | edgex_metadata_client_update_lastconnected (svc->logger, &svc->config.endpoints, dev->name, &err); 23:13:30 | ~~~^~~~~~ 23:13:30 | | 23:13:30 | char * 23:13:30 In file included from /tmp/sdk/src/c/device.c:15: 23:13:30 /tmp/sdk/src/c/metadata.h:138:29: note: expected 'edgex_secret_provider_t *' but argument is of type 'char *' 23:13:30 138 | edgex_secret_provider_t * secretprovider, 23:13:30 | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ 23:13:30 /tmp/sdk/src/c/device.c:702:103: warning: passing argument 4 of 'edgex_metadata_client_update_lastconnected' from incompatible pointer type [-Wincompatible-pointer-types] 23:13:30 702 | edgex_metadata_client_update_lastconnected (svc->logger, &svc->config.endpoints, dev->name, &err); 23:13:30 | ^~~~ 23:13:30 | | 23:13:30 | devsdk_error * 23:13:30 In file included from /tmp/sdk/src/c/device.c:15: 23:13:30 /tmp/sdk/src/c/metadata.h:139:16: note: expected 'const char *' but argument is of type 'devsdk_error *' 23:13:30 139 | const char * devicename, 23:13:30 | ~~~~~~~~~~~~~^~~~~~~~~~ 23:13:30 /tmp/sdk/src/c/device.c:702:11: error: too few arguments to function 'edgex_metadata_client_update_lastconnected' 23:13:30 702 | edgex_metadata_client_update_lastconnected (svc->logger, &svc->config.endpoints, dev->name, &err); 23:13:30 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 23:13:30 In file included from /tmp/sdk/src/c/device.c:15: 23:13:30 /tmp/sdk/src/c/metadata.h:134:6: note: declared here 23:13:30 134 | void edgex_metadata_client_update_lastconnected 23:13:30 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 23:13:30 /tmp/sdk/src/c/device.c:714:91: warning: passing argument 3 of 'edgex_metadata_client_set_device_opstate' from incompatible pointer type [-Wincompatible-pointer-types] 23:13:30 714 | edgex_metadata_client_set_device_opstate (svc->logger, &svc->config.endpoints, dev->name, DOWN, &err); 23:13:30 | ~~~^~~~~~ 23:13:30 | | 23:13:30 | char * 23:13:30 In file included from /tmp/sdk/src/c/device.c:15: 23:13:30 /tmp/sdk/src/c/metadata.h:33:29: note: expected 'edgex_secret_provider_t *' but argument is of type 'char *' 23:13:30 33 | edgex_secret_provider_t * secretprovider, 23:13:30 | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ 23:13:30 /tmp/sdk/src/c/device.c:714:99: warning: passing argument 4 of 'edgex_metadata_client_set_device_opstate' makes pointer from integer without a cast [-Wint-conversion] 23:13:30 714 | edgex_metadata_client_set_device_opstate (svc->logger, &svc->config.endpoints, dev->name, DOWN, &err); 23:13:30 | ^~~~ 23:13:30 | | 23:13:30 | int 23:13:30 In file included from /tmp/sdk/src/c/device.c:15: 23:13:30 /tmp/sdk/src/c/metadata.h:34:16: note: expected 'const char *' but argument is of type 'int' 23:13:30 34 | const char * devicename, 23:13:30 | ~~~~~~~~~~~~~^~~~~~~~~~ 23:13:30 /tmp/sdk/src/c/device.c:714:105: error: incompatible type for argument 5 of 'edgex_metadata_client_set_device_opstate' 23:13:30 714 | edgex_metadata_client_set_device_opstate (svc->logger, &svc->config.endpoints, dev->name, DOWN, &err); 23:13:30 | ^~~~ 23:13:30 | | 23:13:30 | devsdk_error * 23:13:30 In file included from /tmp/sdk/src/c/device.c:15: 23:13:30 /tmp/sdk/src/c/metadata.h:35:31: note: expected 'edgex_device_operatingstate' but argument is of type 'devsdk_error *' 23:13:30 35 | edgex_device_operatingstate opstate, 23:13:30 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ 23:13:30 /tmp/sdk/src/c/device.c:714:9: error: too few arguments to function 'edgex_metadata_client_set_device_opstate' 23:13:30 714 | edgex_metadata_client_set_device_opstate (svc->logger, &svc->config.endpoints, dev->name, DOWN, &err); 23:13:30 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 23:13:30 In file included from /tmp/sdk/src/c/device.c:15: 23:13:30 /tmp/sdk/src/c/metadata.h:29:6: note: declared here 23:13:30 29 | void edgex_metadata_client_set_device_opstate 23:13:30 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 23:13:30 make[2]: *** [c/CMakeFiles/csdk.dir/build.make:202: c/CMakeFiles/csdk.dir/device.c.o] Error 1 23:13:30 make[2]: Leaving directory '/tmp/sdk/build/release' 23:13:30 make[1]: Leaving directory '/tmp/sdk/build/release' 23:13:30 make[1]: *** [CMakeFiles/Makefile2:240: c/CMakeFiles/csdk.dir/all] Error 2 23:13:30 make: *** [Makefile:156: all] Error 2 23:13:30 make: Leaving directory '/tmp/sdk/build/release' 23:13:31 The command '/bin/sh -c cd /tmp/sdk && ./scripts/build.sh && make -C build/release install' returned a non-zero code: 2 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) Stage "Test" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:13:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:13:31 23:13:31 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:13:32 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:13:32 arm64: Pulling from edgex-lftools-log-publisher 23:13:32 8998bd30e6a1: Pulling fs layer 23:13:32 04944245beec: Pulling fs layer 23:13:32 699f458cf7ca: Pulling fs layer 23:13:32 765212b225bb: Pulling fs layer 23:13:32 f23df028b6ca: Pulling fs layer 23:13:32 d65c8cfc05b1: Pulling fs layer 23:13:32 2437ff75d9bd: Pulling fs layer 23:13:32 765212b225bb: Waiting 23:13:32 f23df028b6ca: Waiting 23:13:32 d65c8cfc05b1: Waiting 23:13:32 2437ff75d9bd: Waiting 23:13:32 04944245beec: Verifying Checksum 23:13:32 04944245beec: Download complete 23:13:32 765212b225bb: Verifying Checksum 23:13:32 765212b225bb: Download complete 23:13:32 f23df028b6ca: Verifying Checksum 23:13:32 f23df028b6ca: Download complete 23:13:32 d65c8cfc05b1: Verifying Checksum 23:13:32 d65c8cfc05b1: Download complete 23:13:32 699f458cf7ca: Verifying Checksum 23:13:32 699f458cf7ca: Download complete 23:13:33 8998bd30e6a1: Verifying Checksum 23:13:33 8998bd30e6a1: Download complete 23:13:35 2437ff75d9bd: Verifying Checksum 23:13:35 2437ff75d9bd: Download complete 23:13:37 8998bd30e6a1: Pull complete 23:13:37 04944245beec: Pull complete 23:13:39 699f458cf7ca: Pull complete 23:13:39 765212b225bb: Pull complete 23:13:40 f23df028b6ca: Pull complete 23:13:40 d65c8cfc05b1: Pull complete 23:13:55 2437ff75d9bd: Pull complete 23:13:55 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 23:13:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:13:55 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:13:55 prd-ubuntu20.04-docker-arm64-4c-16g-9991 does not seem to be running inside a container 23:13:55 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-c/7 -v /w/workspace/device-sdk-c/7:/w/workspace/device-sdk-c/7:rw,z -v /w/workspace/device-sdk-c/7@tmp:/w/workspace/device-sdk-c/7@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 23:13:58 $ docker top f3f70be51978e89df0edc7d4db3ab9f723f61ccdafa39f353c0106faec7c4da0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:13:59 ---> job-cost.sh 23:13:59 lf-activate-venv: SKIPPING 23:13:59 INFO: No Stack... 23:13:59 INFO: Retrieving Pricing Info for: v3-standard-4 23:14:00 INFO: Archiving Costs [Pipeline] sh 23:14:01 + + cat /w/workspace/device-sdk-c/7/archives/cost.csv 23:14:01 cut -d, -f6 [Pipeline] lock 23:14:01 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-442-7-stack-cost] 23:14:01 Resource [jenkins-edgexfoundry-device-sdk-c-PR-442-7-stack-cost] did not exist. Created. 23:14:01 Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-442-7-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:14:02 /w/workspace/device-sdk-c/7@tmp/durable-4a5fe216/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 23:14:02 + echo total: 0.10999999940395355 [Pipeline] stash 23:14:02 Warning: overwriting stash ‘stack-cost’ 23:14:03 Stashed 1 file(s) [Pipeline] } 23:14:03 Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-442-7-stack-cost] [Pipeline] // lock [Pipeline] } 23:14:03 $ docker stop --time=1 f3f70be51978e89df0edc7d4db3ab9f723f61ccdafa39f353c0106faec7c4da0 23:14:05 $ docker rm -f --volumes f3f70be51978e89df0edc7d4db3ab9f723f61ccdafa39f353c0106faec7c4da0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 23:14:05 Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 23:14:05 + [ -d /w/workspace/edgexfoundry_device-sdk-c_PR-442/archives ] 23:14:05 + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-442/archives 23:14:05 total 16 23:14:05 drwxr-xr-x 3 root root 4096 Mar 13 23:09 . 23:14:05 drwxrwxr-x 10 jenkins jenkins 4096 Mar 13 23:09 .. 23:14:05 drwxr-xr-x 2 root root 4096 Mar 13 23:09 cost 23:14:05 -rw-r--r-- 1 root root 84 Mar 13 23:09 cost.csv 23:14:05 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_PR-442/archives 23:14:05 + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-442/archives 23:14:05 total 16 23:14:05 drwxr-xr-x 3 jenkins jenkins 4096 Mar 13 23:09 . 23:14:05 drwxrwxr-x 10 jenkins jenkins 4096 Mar 13 23:09 .. 23:14:05 drwxr-xr-x 2 jenkins jenkins 4096 Mar 13 23:09 cost 23:14:05 -rw-r--r-- 1 jenkins jenkins 84 Mar 13 23:09 cost.csv [Pipeline] libraryResource [Pipeline] sh 23:14:06 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 23:14:06 ---> package-listing.sh 23:14:06 ++ facter osfamily 23:14:06 ++ tr '[:upper:]' '[:lower:]' 23:14:07 + OS_FAMILY=debian 23:14:07 + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-442 23:14:07 + START_PACKAGES=/tmp/packages_start.txt 23:14:07 + END_PACKAGES=/tmp/packages_end.txt 23:14:07 + DIFF_PACKAGES=/tmp/packages_diff.txt 23:14:07 + PACKAGES=/tmp/packages_start.txt 23:14:07 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-442 ']' 23:14:07 + PACKAGES=/tmp/packages_end.txt 23:14:07 + case "${OS_FAMILY}" in 23:14:07 + dpkg -l 23:14:07 + grep '^ii' 23:14:07 + '[' -f /tmp/packages_start.txt ']' 23:14:07 + '[' -f /tmp/packages_end.txt ']' 23:14:07 + diff /tmp/packages_start.txt /tmp/packages_end.txt 23:14:07 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-442 ']' 23:14:07 + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-442/archives/ 23:14:07 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-442/archives/ [Pipeline] echo 23:14:07 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-c_PR-442/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 23:14:07 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:14:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:14:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:14:08 prd-ubuntu20.04-docker-8c-8g-9988 does not seem to be running inside a container 23:14:08 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-c_PR-442/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-442 -v /w/workspace/edgexfoundry_device-sdk-c_PR-442:/w/workspace/edgexfoundry_device-sdk-c_PR-442:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-442@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-442@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 23:14:08 $ docker top b906e8c85043401492a9048fbb6758d54d3f4d7a8145bd7936b323a6b6b51cde -eo pid,comm [Pipeline] { [Pipeline] sh 23:14:08 + touch /tmp/pre-build-complete [Pipeline] sh 23:14:09 + mkdir -p /var/log/sysstat [Pipeline] sh 23:14:09 + ls /var/log/sa-host 23:14:09 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:14:09 provisioning config files... 23:14:09 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-442@tmp/config5682940091907697317tmp [Pipeline] { [Pipeline] echo 23:14:09 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 23:14:09 ---> create-netrc.sh [Pipeline] } 23:14:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 23:14:10 ---> python-tools-install.sh [Pipeline] echo 23:14:10 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 23:14:10 ---> sudo-logs.sh 23:14:10 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 23:14:10 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 23:14:10 ---> job-cost.sh 23:14:10 lf-activate-venv: SKIPPING 23:14:10 DEBUG: total: 0.2199999988079071 23:14:10 INFO: Retrieving Stack Cost... 23:14:10 INFO: Retrieving Pricing Info for: v3-standard-8 23:14:11 INFO: Archiving Costs [Pipeline] echo 23:14:11 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 23:14:11 ---> logs-deploy.sh 23:14:11 lf-activate-venv: SKIPPING 23:14:11 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-442/7 23:14:11 INFO: archiving workspace using pattern(s): 23:14:12 Archives upload complete. 23:14:12 INFO: archiving logs to Nexus