Pull request #1477 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 jinlinGuan for edgexfoundry/device-sdk-go Loading trusted files from base branch main at a0da80382c0e288d5b5fa5ac238919125b7cf977 rather than 9983415449d789263673552186519e6709848005 Obtained Jenkinsfile from a0da80382c0e288d5b5fa5ac238919125b7cf977 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-ssh2657185763624546915.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 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-ssh16754536766167423476.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 d4291cbe28daa2a40ca94d44cc831565108a4ea5 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-go/branches/PR-1477/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-go/branches/PR-1477/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17853992292661601160.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f d4291cbe28daa2a40ca94d44cc831565108a4ea5 # timeout=10 Commit message: "Merge pull request #431 from ernestojeda/update-compose" > 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-ssh17837865486435115410.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-go/branches/PR-1477/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-go/branches/PR-1477/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh9287455258232389437.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 ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v3]] ========================================================= [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 ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [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-1489 in /w/workspace/gexfoundry_device-sdk-go_PR-1477 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/gexfoundry_device-sdk-go_PR-1477 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.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-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit a0da80382c0e288d5b5fa5ac238919125b7cf977 into PR head commit 9983415449d789263673552186519e6709848005 Merge succeeded, producing 9983415449d789263673552186519e6709848005 Checking out Revision 9983415449d789263673552186519e6709848005 (PR-1477) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1477/head:refs/remotes/origin/PR-1477 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9983415449d789263673552186519e6709848005 # 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 a0da80382c0e288d5b5fa5ac238919125b7cf977 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9983415449d789263673552186519e6709848005 # timeout=10 Commit message: "feat: Move all the common APIs into go-mod-bootstrap" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 01:43:25 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 01:43:25 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 01:43:25 ========================================================= 01:43:25 EdgeX Global Pipelines Version Info 01:43:25 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk cdff07ab9e991a57cea7836e0517c5fa2f4ff086 # timeout=10 01:43:26 ------------------- 01:43:26 stable info: 01:43:26 ------------------- 01:43:26 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 01:43:26 Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 01:43:26 Message: update stable to v1.0.250 01:43:26 ------------------- 01:43:26 experimental info: 01:43:26 ------------------- 01:43:26 Commited By: **** collab-it+edgex@linuxfoundation.org 01:43:26 Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 01:43:26 Message: update experimental to v1.0.250 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 01:43:27 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 01:43:27 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 01:43:27 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 01:43:27 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 01:43:27 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 01:43:27 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 01:43:27 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 01:43:27 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 01:43:27 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 01:43:27 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 01:43:27 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 01:43:27 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 01:43:27 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 01:43:27 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 01:43:27 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 01:43:27 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 01:43:27 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 01:43:27 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 01:43:27 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 01:43:27 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 01:43:27 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 01:43:27 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo 01:43:27 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 01:43:27 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 01:43:27 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 01:43:27 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 01:43:27 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 01:43:27 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1477 [Pipeline] echo 01:43:27 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1477 [Pipeline] echo 01:43:27 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1477 [Pipeline] echo 01:43:27 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 9983415449d789263673552186519e6709848005 [Pipeline] echo 01:43:27 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9983415 [Pipeline] echo 01:43:27 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:43:27 provisioning config files... 01:43:27 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1477@tmp/config4346728626539683516tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:43:27 ---> docker-login.sh 01:43:27 nexus3.edgexfoundry.org:10001 01:43:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:43:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:43:28 Configure a credential helper to remove this warning. See 01:43:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:43:28 01:43:28 Login Succeeded 01:43:28 nexus3.edgexfoundry.org:10002 01:43:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:43:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:43:28 Configure a credential helper to remove this warning. See 01:43:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:43:28 01:43:28 Login Succeeded 01:43:28 nexus3.edgexfoundry.org:10003 01:43:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:43:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:43:28 Configure a credential helper to remove this warning. See 01:43:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:43:28 01:43:28 Login Succeeded 01:43:28 nexus3.edgexfoundry.org:10004 01:43:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:43:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:43:28 Configure a credential helper to remove this warning. See 01:43:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:43:28 01:43:28 Login Succeeded 01:43:28 docker.io 01:43:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:43:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:43:28 Configure a credential helper to remove this warning. See 01:43:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:43:28 01:43:28 Login Succeeded 01:43:28 ---> docker-login.sh ends [Pipeline] } 01:43:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 01:43:29 + git rev-list -1 --merges 9983415449d789263673552186519e6709848005~1..9983415449d789263673552186519e6709848005 [Pipeline] echo 01:43:29 -----------> git rev-list -1 --merges 9983415449d789263673552186519e6709848005~1..9983415449d789263673552186519e6709848005 9983415449d789263673552186519e6709848005 [false] [Pipeline] sh 01:43:29 + git log --format=format:%s -1 9983415449d789263673552186519e6709848005 [Pipeline] echo 01:43:29 ========================================================= 01:43:29 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 01:43:29 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:43:30 + git log --format=format:%s -1 9983415449d789263673552186519e6709848005 [Pipeline] echo 01:43:30 [semverPrep] GIT_COMMIT: 9983415449d789263673552186519e6709848005, Commit Message: feat: Move all the common APIs into go-mod-bootstrap [Pipeline] echo 01:43:30 [semverPrep] This is not a build commit. [Pipeline] sh 01:43:30 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:43:30 + grep -v github /etc/ssh/ssh_known_hosts 01:43:30 + [ -e /tmp/ssh_known_hosts ] 01:43:30 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 01:43:30 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 01:43:30 + sudo tee -a /etc/ssh/ssh_known_hosts 01:43:30 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:43:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:43:30 01:43:30 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:43:31 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:43:31 0.1.4: Pulling from edgex-devops/py-git-semver 01:43:31 b85a868b505f: Pulling fs layer 01:43:31 e2be974225ed: Pulling fs layer 01:43:31 339a4e72a1f5: Pulling fs layer 01:43:31 988bab9f4d93: Pulling fs layer 01:43:31 1469e6f7b9e6: Pulling fs layer 01:43:31 eaf3925da568: Pulling fs layer 01:43:31 bab4dde63d76: Pulling fs layer 01:43:31 bde34c3a00c8: Pulling fs layer 01:43:31 b352a97aabf1: Pulling fs layer 01:43:31 4872d77fe225: Pulling fs layer 01:43:31 988bab9f4d93: Waiting 01:43:31 5851b861e8e6: Pulling fs layer 01:43:31 1469e6f7b9e6: Waiting 01:43:31 4872d77fe225: Waiting 01:43:31 bab4dde63d76: Waiting 01:43:31 b352a97aabf1: Waiting 01:43:31 bde34c3a00c8: Waiting 01:43:31 e2be974225ed: Download complete 01:43:31 988bab9f4d93: Verifying Checksum 01:43:31 988bab9f4d93: Download complete 01:43:31 1469e6f7b9e6: Verifying Checksum 01:43:31 1469e6f7b9e6: Download complete 01:43:31 eaf3925da568: Verifying Checksum 01:43:31 eaf3925da568: Download complete 01:43:31 339a4e72a1f5: Verifying Checksum 01:43:31 339a4e72a1f5: Download complete 01:43:31 bde34c3a00c8: Verifying Checksum 01:43:31 bde34c3a00c8: Download complete 01:43:31 b352a97aabf1: Verifying Checksum 01:43:31 b352a97aabf1: Download complete 01:43:31 4872d77fe225: Verifying Checksum 01:43:31 4872d77fe225: Download complete 01:43:31 5851b861e8e6: Download complete 01:43:31 b85a868b505f: Verifying Checksum 01:43:31 b85a868b505f: Download complete 01:43:31 bab4dde63d76: Download complete 01:43:33 b85a868b505f: Pull complete 01:43:33 e2be974225ed: Pull complete 01:43:33 339a4e72a1f5: Pull complete 01:43:33 988bab9f4d93: Pull complete 01:43:34 1469e6f7b9e6: Pull complete 01:43:34 eaf3925da568: Pull complete 01:43:35 bab4dde63d76: Pull complete 01:43:35 bde34c3a00c8: Pull complete 01:43:36 b352a97aabf1: Pull complete 01:43:36 4872d77fe225: Pull complete 01:43:36 5851b861e8e6: Pull complete 01:43:36 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 01:43:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:43:36 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:43:36 prd-ubuntu20.04-docker-8c-8g-1489 does not seem to be running inside a container 01:43:36 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1477 -v /w/workspace/gexfoundry_device-sdk-go_PR-1477:/w/workspace/gexfoundry_device-sdk-go_PR-1477:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1477@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1477@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 01:43:42 $ docker top 42a13c99191b29c819ffdfac7434933bbf0b08d1c91b7f52baa602f40c702959 -eo pid,comm 01:43:42 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). 01:43:42 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:43:42 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:43:42 [ssh-agent] Looking for ssh-agent implementation... 01:43:42 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:43:42 $ docker exec 42a13c99191b29c819ffdfac7434933bbf0b08d1c91b7f52baa602f40c702959 ssh-agent 01:43:42 SSH_AUTH_SOCK=/tmp/ssh-QOfXE0o3i1za/agent.32 01:43:42 SSH_AGENT_PID=38 01:43:42 Running ssh-add (command line suppressed) 01:43:42 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1477@tmp/private_key_810437893495628470.key (/w/workspace/gexfoundry_device-sdk-go_PR-1477@tmp/private_key_810437893495628470.key) 01:43:42 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:43:43 + git tag --points-at HEAD [Pipeline] } 01:43:43 $ docker exec --env ******** --env ******** 42a13c99191b29c819ffdfac7434933bbf0b08d1c91b7f52baa602f40c702959 ssh-agent -k 01:43:43 unset SSH_AUTH_SOCK; 01:43:43 unset SSH_AGENT_PID; 01:43:43 echo Agent pid 38 killed; 01:43:43 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 01:43:43 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:43:43 [ssh-agent] Looking for ssh-agent implementation... 01:43:43 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:43:43 $ docker exec 42a13c99191b29c819ffdfac7434933bbf0b08d1c91b7f52baa602f40c702959 ssh-agent 01:43:43 SSH_AUTH_SOCK=/tmp/ssh-eWI3qCCtwX8O/agent.70 01:43:43 SSH_AGENT_PID=76 01:43:43 Running ssh-add (command line suppressed) 01:43:43 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1477@tmp/private_key_16986462827777075123.key (/w/workspace/gexfoundry_device-sdk-go_PR-1477@tmp/private_key_16986462827777075123.key) 01:43:43 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:43:43 + git semver init 01:43:44 2023-07-19 01:43:44,148 [run_init] DEBUG init version:0.0.0 force:False 01:43:44 2023-07-19 01:43:44,148 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1477/.semver 01:43:44 2023-07-19 01:43:44,149 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1477/.semver 01:43:44 2023-07-19 01:43:44,149 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1477/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1477, universal_newlines=False, shell=None, istream=None) 01:43:45 2023-07-19 01:43:45,076 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1477/.git/info/exclude 01:43:45 2023-07-19 01:43:45,076 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1477/.semver/PR-1477 with force:False 01:43:45 2023-07-19 01:43:45,077 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1477/.semver/PR-1477 01:43:45 2023-07-19 01:43:45,081 [execute] INFO git cat-file --batch-check 01:43:45 2023-07-19 01:43:45,082 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1477/.semver, universal_newlines=False, shell=None, istream=) 01:43:45 2023-07-19 01:43:45,089 [execute] INFO git cat-file --batch 01:43:45 2023-07-19 01:43:45,090 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1477/.semver, universal_newlines=False, shell=None, istream=) 01:43:45 2023-07-19 01:43:45,095 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1477/.semver/PR-1477 01:43:45 0.0.0 [Pipeline] } 01:43:45 $ docker exec --env ******** --env ******** 42a13c99191b29c819ffdfac7434933bbf0b08d1c91b7f52baa602f40c702959 ssh-agent -k 01:43:45 unset SSH_AUTH_SOCK; 01:43:45 unset SSH_AGENT_PID; 01:43:45 echo Agent pid 76 killed; 01:43:45 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:43:45 + git semver [Pipeline] } 01:43:45 $ docker stop --time=1 42a13c99191b29c819ffdfac7434933bbf0b08d1c91b7f52baa602f40c702959 01:43:47 $ docker rm -f --volumes 42a13c99191b29c819ffdfac7434933bbf0b08d1c91b7f52baa602f40c702959 [Pipeline] // withDockerContainer [Pipeline] sh 01:43:47 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 01:43:47 Stashed 1 file(s) [Pipeline] echo 01:43:47 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [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 01:43:47 provisioning config files... 01:43:47 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1477@tmp/config14816359213161665795tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:43:48 ---> docker-login.sh 01:43:48 nexus3.edgexfoundry.org:10001 01:43:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:43:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:43:48 Configure a credential helper to remove this warning. See 01:43:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:43:48 01:43:48 Login Succeeded 01:43:48 nexus3.edgexfoundry.org:10002 01:43:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:43:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:43:48 Configure a credential helper to remove this warning. See 01:43:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:43:48 01:43:48 Login Succeeded 01:43:48 nexus3.edgexfoundry.org:10003 01:43:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:43:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:43:48 Configure a credential helper to remove this warning. See 01:43:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:43:48 01:43:48 Login Succeeded 01:43:48 nexus3.edgexfoundry.org:10004 01:43:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:43:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:43:48 Configure a credential helper to remove this warning. See 01:43:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:43:48 01:43:48 Login Succeeded 01:43:48 docker.io 01:43:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:43:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:43:48 Configure a credential helper to remove this warning. See 01:43:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:43:48 01:43:48 Login Succeeded 01:43:48 ---> docker-login.sh ends [Pipeline] } 01:43:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:43:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:43:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:43:48 ========================================================= 01:43:48 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 01:43:48 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:43:49 + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 01:43:49 Sending build context to Docker daemon 10.92MB 01:43:49 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 01:43:49 Step 2/10 : FROM ${BASE} AS builder 01:43:49 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 01:43:49 4db1b89c0bd1: Pulling fs layer 01:43:49 6911f1a30b25: Pulling fs layer 01:43:49 e194b8c5c2a9: Pulling fs layer 01:43:49 6863d3e3a2b1: Pulling fs layer 01:43:49 ec0bb842ea78: Pulling fs layer 01:43:49 40a00589a448: Pulling fs layer 01:43:49 6c08303d61cc: Pulling fs layer 01:43:49 798269fcf238: Pulling fs layer 01:43:49 ec0bb842ea78: Waiting 01:43:49 40a00589a448: Waiting 01:43:49 6c08303d61cc: Waiting 01:43:49 798269fcf238: Waiting 01:43:49 6863d3e3a2b1: Waiting 01:43:49 6911f1a30b25: Download complete 01:43:49 6863d3e3a2b1: Verifying Checksum 01:43:49 6863d3e3a2b1: Download complete 01:43:49 ec0bb842ea78: Download complete 01:43:49 4db1b89c0bd1: Verifying Checksum 01:43:49 4db1b89c0bd1: Download complete 01:43:49 40a00589a448: Verifying Checksum 01:43:49 40a00589a448: Download complete 01:43:49 4db1b89c0bd1: Pull complete 01:43:49 6911f1a30b25: Pull complete 01:43:49 798269fcf238: Verifying Checksum 01:43:49 798269fcf238: Download complete 01:43:50 e194b8c5c2a9: Download complete 01:43:50 6c08303d61cc: Verifying Checksum 01:43:50 6c08303d61cc: Download complete 01:43:53 e194b8c5c2a9: Pull complete 01:43:53 6863d3e3a2b1: Pull complete 01:43:53 ec0bb842ea78: Pull complete 01:43:53 40a00589a448: Pull complete 01:43:56 6c08303d61cc: Pull complete 01:43:57 798269fcf238: Pull complete 01:43:57 Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 01:43:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 01:43:57 ---> ec979cd7f677 01:43:57 Step 3/10 : ARG MAKE=make build 01:44:02 Still waiting to schedule task 01:44:02 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 01:44:03 ---> Running in 386b52e82e52 01:44:03 Removing intermediate container 386b52e82e52 01:44:03 ---> b1b27545c616 01:44:03 Step 4/10 : WORKDIR /device-sdk-go 01:44:03 ---> Running in 3672858e99f2 01:44:03 Removing intermediate container 3672858e99f2 01:44:03 ---> f68d80100cde 01:44:03 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 01:44:03 ---> Running in 91cebe4d03ee 01:44:03 Removing intermediate container 91cebe4d03ee 01:44:03 ---> bf60f5a0ee57 01:44:03 Step 6/10 : RUN apk add --update --no-cache make git 01:44:03 ---> Running in 5587e5490499 01:44:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 01:44:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 01:44:04 OK: 265 MiB in 53 packages 01:44:04 Removing intermediate container 5587e5490499 01:44:04 ---> bdea331e5349 01:44:04 Step 7/10 : COPY go.mod vendor* ./ 01:44:04 ---> a44b65af8803 01:44:04 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:44:04 ---> Running in 9dae7244c696 01:44:43 Removing intermediate container 9dae7244c696 01:44:43 ---> 8704dff86c75 01:44:43 Step 9/10 : COPY . . 01:44:43 ---> 01e4524ec988 01:44:43 Step 10/10 : RUN ${MAKE} 01:44:43 ---> Running in 8a05d9358ff6 01:44:43 noop 01:44:43 Removing intermediate container 8a05d9358ff6 01:44:43 ---> f7897c958880 01:44:43 Successfully built f7897c958880 01:44:43 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:44:43 + docker inspect -f . ci-base-image-x86_64 01:44:43 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:44:43 prd-ubuntu20.04-docker-8c-8g-1489 does not seem to be running inside a container 01:44:43 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1477 -v /w/workspace/gexfoundry_device-sdk-go_PR-1477:/w/workspace/gexfoundry_device-sdk-go_PR-1477:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1477@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1477@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 01:44:44 $ docker top e552761d1c38dfae38aae5bc7e722b6f567d0ae6e293625e4408e88f889c49ef -eo pid,comm [Pipeline] { [Pipeline] sh 01:44:44 + go version 01:44:44 go version go1.20.6 linux/amd64 [Pipeline] } 01:44:44 $ docker stop --time=1 e552761d1c38dfae38aae5bc7e722b6f567d0ae6e293625e4408e88f889c49ef 01:44:45 $ docker rm -f --volumes e552761d1c38dfae38aae5bc7e722b6f567d0ae6e293625e4408e88f889c49ef [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:44:46 + docker inspect -f . ci-base-image-x86_64 01:44:46 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:44:46 prd-ubuntu20.04-docker-8c-8g-1489 does not seem to be running inside a container 01:44:46 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/gexfoundry_device-sdk-go_PR-1477 -v /w/workspace/gexfoundry_device-sdk-go_PR-1477:/w/workspace/gexfoundry_device-sdk-go_PR-1477:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1477@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1477@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 01:44:46 $ docker top ef3ccbf302f400b3ad4b483f80f1b2fc66209f50c565b78fb954a1b407bd052b -eo pid,comm [Pipeline] { [Pipeline] sh 01:44:47 + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1477 [Pipeline] fileExists [Pipeline] sh 01:44:47 + make test 01:44:47 go test -race -coverprofile=coverage.out ./... 01:44:53 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 01:45:08 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 01:45:08 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 01:45:08 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 01:45:08 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 01:45:08 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 01:45:08 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.063s coverage: 27.6% of statements 01:45:08 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 01:45:08 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 01:45:08 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.059s coverage: 80.2% of statements 01:45:08 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.078s coverage: 86.0% of statements 01:45:09 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 01:45:09 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.093s coverage: 70.6% of statements 01:45:09 ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] 01:45:09 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 01:45:09 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 01:45:10 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 01:45:13 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.064s coverage: 14.3% of statements 01:45:13 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.076s coverage: 68.5% of statements 01:45:13 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.117s coverage: 89.2% of statements 01:45:13 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.059s coverage: 5.6% of statements 01:45:31 GO111MODULE=on go vet ./... 01:45:35 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:45:35 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:45:35 ./bin/test-attribution-txt.sh [Pipeline] echo 01:45:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 01:45:35 $ docker stop --time=1 ef3ccbf302f400b3ad4b483f80f1b2fc66209f50c565b78fb954a1b407bd052b 01:45:41 $ docker rm -f --volumes ef3ccbf302f400b3ad4b483f80f1b2fc66209f50c565b78fb954a1b407bd052b [Pipeline] // withDockerContainer [Pipeline] sh 01:45:41 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:45:41 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 01:45:42 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:45:42 + ls -al . 01:45:42 total 284 01:45:42 drwxrwxr-x 11 jenkins jenkins 4096 Jul 19 01:44 . 01:45:42 drwxrwxr-x 4 jenkins jenkins 4096 Jul 19 01:43 .. 01:45:42 -rw-rw-r-- 1 jenkins jenkins 140 Jul 19 01:43 .dockerignore 01:45:42 drwxrwxr-x 8 jenkins jenkins 4096 Jul 19 01:43 .git 01:45:42 drwxrwxr-x 2 jenkins jenkins 4096 Jul 19 01:43 .github 01:45:42 -rw-rw-r-- 1 jenkins jenkins 137 Jul 19 01:43 .gitignore 01:45:42 -rw-rw-r-- 1 jenkins jenkins 42 Jul 19 01:43 .golangci.yml 01:45:42 drwxr-xr-x 3 jenkins jenkins 4096 Jul 19 01:43 .semver 01:45:42 -rw-rw-r-- 1 jenkins jenkins 44878 Jul 19 01:43 CHANGELOG.md 01:45:42 -rw-rw-r-- 1 jenkins jenkins 677 Jul 19 01:43 GOVERNANCE.md 01:45:42 -rw-rw-r-- 1 jenkins jenkins 885 Jul 19 01:43 Jenkinsfile 01:45:42 -rw-rw-r-- 1 jenkins jenkins 11341 Jul 19 01:43 LICENSE 01:45:42 -rw-rw-r-- 1 jenkins jenkins 1842 Jul 19 01:43 Makefile 01:45:42 -rw-rw-r-- 1 jenkins jenkins 619 Jul 19 01:43 OWNERS.md 01:45:42 -rw-rw-r-- 1 jenkins jenkins 4933 Jul 19 01:43 README.md 01:45:42 -rw-rw-r-- 1 jenkins jenkins 5 Jul 19 01:43 VERSION 01:45:42 drwxrwxr-x 2 jenkins jenkins 4096 Jul 19 01:43 bin 01:45:42 -rw-r--r-- 1 jenkins jenkins 104687 Jul 19 01:45 coverage.out 01:45:42 drwxrwxr-x 5 jenkins jenkins 4096 Jul 19 01:43 example 01:45:42 -rw-rw-r-- 1 jenkins jenkins 3461 Jul 19 01:43 go.mod 01:45:42 -rw-rw-r-- 1 jenkins jenkins 32143 Jul 19 01:43 go.sum 01:45:42 drwxrwxr-x 12 jenkins jenkins 4096 Jul 19 01:43 internal 01:45:42 drwxrwxr-x 3 jenkins jenkins 4096 Jul 19 01:43 openapi 01:45:42 drwxrwxr-x 6 jenkins jenkins 4096 Jul 19 01:43 pkg 01:45:42 drwxrwxr-x 4 jenkins jenkins 4096 Jul 19 01:43 snap 01:45:42 -rw-rw-r-- 1 jenkins jenkins 222 Jul 19 01:43 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:45:43 + docker build -t device-sdk-simple -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=9983415449d789263673552186519e6709848005 --label arch=amd64 --label version=0.0.0 . 01:45:43 Sending build context to Docker daemon 11.03MB 01:45:43 Step 1/23 : ARG BASE=golang:1.20-alpine3.17 01:45:43 Step 2/23 : FROM ${BASE} AS builder 01:45:43 ---> f7897c958880 01:45:43 Step 3/23 : ARG MAKE=make build 01:45:43 ---> Running in de1da258a2c2 01:45:43 Removing intermediate container de1da258a2c2 01:45:43 ---> 581f99401b6b 01:45:43 Step 4/23 : WORKDIR /device-sdk-go 01:45:43 ---> Running in 625965ab62cb 01:45:43 Removing intermediate container 625965ab62cb 01:45:43 ---> eecad6aef5cb 01:45:43 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 01:45:43 ---> Running in 4bd01d88ed6f 01:45:43 Removing intermediate container 4bd01d88ed6f 01:45:43 ---> 9a6e50880a91 01:45:43 Step 6/23 : RUN apk add --update --no-cache make git 01:45:43 ---> Running in 7d9cd50a4ebb 01:45:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 01:45:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 01:45:44 OK: 265 MiB in 53 packages 01:45:44 Removing intermediate container 7d9cd50a4ebb 01:45:44 ---> 1586a7c44cf1 01:45:44 Step 7/23 : COPY go.mod vendor* ./ 01:45:44 ---> cb1ea747721e 01:45:44 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:45:44 ---> Running in 31e1466999df 01:45:45 Removing intermediate container 31e1466999df 01:45:45 ---> 975dadaeece6 01:45:45 Step 9/23 : COPY . . 01:45:46 ---> 207854500746 01:45:46 Step 10/23 : RUN ${MAKE} 01:45:46 ---> Running in 1f0b9e201192 01:45:46 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 01:46:08 Removing intermediate container 1f0b9e201192 01:46:08 ---> 7ac3e9c9be3f 01:46:08 Step 11/23 : FROM alpine:3.17 01:46:08 3.17: Pulling from library/alpine 01:46:08 4db1b89c0bd1: Already exists 01:46:08 Digest: sha256:e95676db9e4a4f16f6cc01a8915368f82b018cc07aba951c1bd1db586c081388 01:46:08 Status: Downloaded newer image for alpine:3.17 01:46:08 ---> 1f73a9d63274 01:46:08 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 01:46:08 ---> Running in 4d03cd3e569f 01:46:08 Removing intermediate container 4d03cd3e569f 01:46:08 ---> a62556042398 01:46:08 Step 13/23 : RUN apk add --update --no-cache 01:46:08 ---> Running in 8fe28f5aa4ab 01:46:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 01:46:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 01:46:08 OK: 7 MiB in 15 packages 01:46:08 Removing intermediate container 8fe28f5aa4ab 01:46:08 ---> d6f9c1ce4beb 01:46:08 Step 14/23 : WORKDIR / 01:46:08 ---> Running in 42fe182f452a 01:46:08 Removing intermediate container 42fe182f452a 01:46:08 ---> 603f88252253 01:46:08 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 01:46:08 ---> 11bd4a277658 01:46:08 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 01:46:09 ---> f17d838fa685 01:46:09 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 01:46:10 ---> a0fab979cc70 01:46:10 Step 18/23 : EXPOSE 59999 01:46:10 ---> Running in 1afa4b677fba 01:46:10 Removing intermediate container 1afa4b677fba 01:46:10 ---> d864925639c8 01:46:10 Step 19/23 : ENTRYPOINT ["/device-simple"] 01:46:10 ---> Running in 2c667ae03c54 01:46:10 Removing intermediate container 2c667ae03c54 01:46:10 ---> 77b072e92d66 01:46:10 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 01:46:10 ---> Running in deceb689f9ce 01:46:10 Removing intermediate container deceb689f9ce 01:46:10 ---> 4e82f6f39c45 01:46:10 Step 21/23 : LABEL arch=amd64 01:46:10 ---> Running in 6363758a1b4e 01:46:10 Removing intermediate container 6363758a1b4e 01:46:10 ---> 0d97f850b2ae 01:46:10 Step 22/23 : LABEL git_sha=9983415449d789263673552186519e6709848005 01:46:10 ---> Running in e4f4c9380a9b 01:46:10 Removing intermediate container e4f4c9380a9b 01:46:10 ---> b3c3b92a98ba 01:46:10 Step 23/23 : LABEL version=0.0.0 01:46:10 ---> Running in 596d502bb420 01:46:10 Removing intermediate container 596d502bb420 01:46:10 ---> 739475b12bb3 01:46:10 [Warning] One or more build-args [ARCH] were not consumed 01:46:10 Successfully built 739475b12bb3 01:46:10 Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:46:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:46:11 01:46:11 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:46:11 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:46:11 latest: Pulling from edgex-lftools-log-publisher 01:46:11 5eb5b503b376: Pulling fs layer 01:46:11 5c69ac0246d0: Pulling fs layer 01:46:11 ec43610c2a17: Pulling fs layer 01:46:11 3a2ae6a8a46f: Pulling fs layer 01:46:11 33b1e0a273af: Pulling fs layer 01:46:11 5d3b04190fa2: Pulling fs layer 01:46:11 2f39f015ded8: Pulling fs layer 01:46:11 3a2ae6a8a46f: Waiting 01:46:11 33b1e0a273af: Waiting 01:46:11 5d3b04190fa2: Waiting 01:46:11 2f39f015ded8: Waiting 01:46:11 5c69ac0246d0: Verifying Checksum 01:46:11 5c69ac0246d0: Download complete 01:46:11 3a2ae6a8a46f: Download complete 01:46:11 33b1e0a273af: Verifying Checksum 01:46:11 33b1e0a273af: Download complete 01:46:11 5d3b04190fa2: Download complete 01:46:11 ec43610c2a17: Verifying Checksum 01:46:11 ec43610c2a17: Download complete 01:46:11 5eb5b503b376: Verifying Checksum 01:46:11 5eb5b503b376: Download complete 01:46:12 5eb5b503b376: Pull complete 01:46:12 5c69ac0246d0: Pull complete 01:46:13 ec43610c2a17: Pull complete 01:46:13 3a2ae6a8a46f: Pull complete 01:46:13 33b1e0a273af: Pull complete 01:46:13 5d3b04190fa2: Pull complete 01:46:17 2f39f015ded8: Pull complete 01:46:17 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 01:46:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:46:17 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:46:17 prd-ubuntu20.04-docker-8c-8g-1489 does not seem to be running inside a container 01:46:18 $ 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/gexfoundry_device-sdk-go_PR-1477 -v /w/workspace/gexfoundry_device-sdk-go_PR-1477:/w/workspace/gexfoundry_device-sdk-go_PR-1477:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1477@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1477@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 01:46:23 $ docker top 2d1b3ccf9cc1ea5ee00bd53e08a3a07649e2e9b52d9c6cf54eb567cfb49f7acc -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:46:23 ---> job-cost.sh 01:46:23 lf-activate-venv: SKIPPING 01:46:23 INFO: No Stack... 01:46:23 INFO: Retrieving Pricing Info for: v3-standard-8 01:46:24 INFO: Archiving Costs [Pipeline] sh 01:46:24 + cat /w/workspace/gexfoundry_device-sdk-go_PR-1477/archives/cost.csv 01:46:24 + cut -d, -f6 [Pipeline] lock 01:46:24 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1477-2-stack-cost] 01:46:24 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1477-2-stack-cost] did not exist. Created. 01:46:24 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1477-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:46:25 + echo total: 0.2199999988079071 [Pipeline] stash 01:46:25 Stashed 1 file(s) [Pipeline] } 01:46:25 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1477-2-stack-cost] [Pipeline] // lock [Pipeline] } 01:46:25 $ docker stop --time=1 2d1b3ccf9cc1ea5ee00bd53e08a3a07649e2e9b52d9c6cf54eb567cfb49f7acc 01:46:26 $ docker rm -f --volumes 2d1b3ccf9cc1ea5ee00bd53e08a3a07649e2e9b52d9c6cf54eb567cfb49f7acc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 01:48:18 Running on prd-ubuntu20.04-docker-arm64-4c-16g-1491 in /w/workspace/gexfoundry_device-sdk-go_PR-1477 [Pipeline] { [Pipeline] ws 01:48:18 Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout 01:48:18 The recommended git tool is: git 01:48:24 using credential edgex-jenkins-ssh 01:48:24 Cloning the remote Git repository 01:48:24 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 01:48:24 > git init /w/workspace/device-sdk-go/2 # timeout=10 01:48:24 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 01:48:24 > git --version # timeout=10 01:48:24 > git --version # 'git version 2.25.1' 01:48:24 using GIT_SSH to set credentials SSH Credentials for GitHub 01:48:24 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 01:48:26 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 01:48:26 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 01:48:27 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 01:48:27 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 01:48:27 using GIT_SSH to set credentials SSH Credentials for GitHub 01:48:27 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1477/head:refs/remotes/origin/PR-1477 +refs/heads/main:refs/remotes/origin/main # timeout=10 01:48:27 Merging remotes/origin/main commit a0da80382c0e288d5b5fa5ac238919125b7cf977 into PR head commit 9983415449d789263673552186519e6709848005 01:48:28 Merge succeeded, producing 9983415449d789263673552186519e6709848005 01:48:28 Checking out Revision 9983415449d789263673552186519e6709848005 (PR-1477) 01:48:27 > git config core.sparsecheckout # timeout=10 01:48:27 > git checkout -f 9983415449d789263673552186519e6709848005 # timeout=10 01:48:27 > git remote # timeout=10 01:48:27 > git config --get remote.origin.url # timeout=10 01:48:27 using GIT_SSH to set credentials SSH Credentials for GitHub 01:48:27 > git merge a0da80382c0e288d5b5fa5ac238919125b7cf977 # timeout=10 01:48:28 > git rev-parse HEAD^{commit} # timeout=10 01:48:28 > git config core.sparsecheckout # timeout=10 01:48:28 > git checkout -f 9983415449d789263673552186519e6709848005 # timeout=10 01:48:31 Commit message: "feat: Move all the common APIs into go-mod-bootstrap" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:48:32 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 01:48:32 % Total % Received % Xferd Average Speed Time Time Time Current 01:48:32 Dload Upload Total Spent Left Speed 01:48:32 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 92398 0 --:--:-- --:--:-- --:--:-- 93072 [Pipeline] sh 01:48:33 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 01:48:33 + sudo tee /etc/docker/daemon.new 01:48:33 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 01:48:33 { 01:48:33 "registry-mirrors": [ 01:48:33 "https://nexus3.edgexfoundry.org:10001" 01:48:33 ], 01:48:33 "bip": "10.250.0.254/24", 01:48:33 "hosts": [ 01:48:33 "tcp://0.0.0.0:5555", 01:48:33 "unix:///var/run/docker.sock" 01:48:33 ], 01:48:33 "mtu": 1458, 01:48:33 "selinux-enabled": true, 01:48:33 "seccomp-profile": "/etc/docker/seccomp.json" 01:48:33 } [Pipeline] sh 01:48:33 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 01:48:34 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:48:52 provisioning config files... 01:48:52 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config13536683345858280113tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:48:52 ---> docker-login.sh 01:48:52 nexus3.edgexfoundry.org:10001 01:48:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:48:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:48:53 Configure a credential helper to remove this warning. See 01:48:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:48:53 01:48:53 Login Succeeded 01:48:53 nexus3.edgexfoundry.org:10002 01:48:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:48:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:48:54 Configure a credential helper to remove this warning. See 01:48:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:48:54 01:48:54 Login Succeeded 01:48:54 nexus3.edgexfoundry.org:10003 01:48:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:48:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:48:54 Configure a credential helper to remove this warning. See 01:48:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:48:54 01:48:54 Login Succeeded 01:48:54 nexus3.edgexfoundry.org:10004 01:48:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:48:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:48:54 Configure a credential helper to remove this warning. See 01:48:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:48:54 01:48:54 Login Succeeded 01:48:54 docker.io 01:48:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:48:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:48:55 Configure a credential helper to remove this warning. See 01:48:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:48:55 01:48:55 Login Succeeded 01:48:55 ---> docker-login.sh ends [Pipeline] } 01:48:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:48:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:48:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:48:55 ========================================================= 01:48:55 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 01:48:55 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:48:55 + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 01:48:56 Sending build context to Docker daemon 5.83MB 01:48:56 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 01:48:56 Step 2/10 : FROM ${BASE} AS builder 01:48:56 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 01:48:56 edb6bdbacee9: Pulling fs layer 01:48:56 5f9638ab2659: Pulling fs layer 01:48:56 8d51d6327a98: Pulling fs layer 01:48:56 8b374f2dd631: Pulling fs layer 01:48:56 ec14aa9079de: Pulling fs layer 01:48:56 2f466654f4bb: Pulling fs layer 01:48:56 554e91adad29: Pulling fs layer 01:48:56 8b374f2dd631: Waiting 01:48:56 ec14aa9079de: Waiting 01:48:56 2f466654f4bb: Waiting 01:48:56 554e91adad29: Waiting 01:48:56 5f9638ab2659: Verifying Checksum 01:48:56 5f9638ab2659: Download complete 01:48:56 8b374f2dd631: Verifying Checksum 01:48:56 8b374f2dd631: Download complete 01:48:56 ec14aa9079de: Verifying Checksum 01:48:56 ec14aa9079de: Download complete 01:48:56 edb6bdbacee9: Verifying Checksum 01:48:56 edb6bdbacee9: Download complete 01:48:57 edb6bdbacee9: Pull complete 01:48:57 554e91adad29: Verifying Checksum 01:48:57 554e91adad29: Download complete 01:48:58 8d51d6327a98: Verifying Checksum 01:48:58 8d51d6327a98: Download complete 01:48:59 2f466654f4bb: Verifying Checksum 01:48:59 2f466654f4bb: Download complete 01:49:00 5f9638ab2659: Pull complete 01:49:15 8d51d6327a98: Pull complete 01:49:15 8b374f2dd631: Pull complete 01:49:15 ec14aa9079de: Pull complete 01:49:20 2f466654f4bb: Pull complete 01:49:23 554e91adad29: Pull complete 01:49:23 Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 01:49:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 01:49:23 ---> 1e15ea492957 01:49:23 Step 3/10 : ARG MAKE=make build 01:49:27 ---> Running in 0f5c5d34620e 01:49:27 Removing intermediate container 0f5c5d34620e 01:49:27 ---> 96bb019d2d6b 01:49:27 Step 4/10 : WORKDIR /device-sdk-go 01:49:27 ---> Running in d8fbe0ade8ea 01:49:27 Removing intermediate container d8fbe0ade8ea 01:49:27 ---> daa0aa3e946b 01:49:27 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 01:49:27 ---> Running in f8043d7b9817 01:49:28 Removing intermediate container f8043d7b9817 01:49:28 ---> 2a361d13fda8 01:49:28 Step 6/10 : RUN apk add --update --no-cache make git 01:49:28 ---> Running in 13b65c2b6cea 01:49:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 01:49:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 01:49:31 OK: 263 MiB in 53 packages 01:49:32 Removing intermediate container 13b65c2b6cea 01:49:32 ---> 2cb22be81372 01:49:32 Step 7/10 : COPY go.mod vendor* ./ 01:49:32 ---> 140ac67a336c 01:49:32 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:49:33 ---> Running in 8729d3387813 01:50:41 Removing intermediate container 8729d3387813 01:50:41 ---> 55c9db3b27f4 01:50:41 Step 9/10 : COPY . . 01:50:41 ---> c36ceaa2b19b 01:50:41 Step 10/10 : RUN ${MAKE} 01:50:41 ---> Running in d6a9f3eca2a4 01:50:41 noop 01:50:41 Removing intermediate container d6a9f3eca2a4 01:50:41 ---> 4eeb00bc2bd1 01:50:41 Successfully built 4eeb00bc2bd1 01:50:41 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:50:41 + docker inspect -f . ci-base-image-arm64 01:50:41 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:50:41 prd-ubuntu20.04-docker-arm64-4c-16g-1491 does not seem to be running inside a container 01:50:41 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 01:50:43 $ docker top 5ada18988d60b26b939ed0e9df18d563c0268b6c967458f45459bbb5b8e86a7b -eo pid,comm [Pipeline] { [Pipeline] sh 01:50:43 + go version 01:50:43 go version go1.20.6 linux/arm64 [Pipeline] } 01:50:43 $ docker stop --time=1 5ada18988d60b26b939ed0e9df18d563c0268b6c967458f45459bbb5b8e86a7b 01:50:45 $ docker rm -f --volumes 5ada18988d60b26b939ed0e9df18d563c0268b6c967458f45459bbb5b8e86a7b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:50:46 + docker inspect -f . ci-base-image-arm64 01:50:46 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:50:46 prd-ubuntu20.04-docker-arm64-4c-16g-1491 does not seem to be running inside a container 01:50:46 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 01:50:47 $ docker top 7fc887ee1908acee590b2df23e0f8fa30f23e01ecdf0502d709b860466c757ab -eo pid,comm [Pipeline] { [Pipeline] sh 01:50:47 + git config --global --add safe.directory /w/workspace/device-sdk-go/2 [Pipeline] fileExists [Pipeline] sh 01:50:48 + make test 01:50:48 go test -race -coverprofile=coverage.out ./... 01:51:35 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 01:53:57 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 01:53:57 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 01:53:57 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 01:53:57 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 01:53:57 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 01:53:59 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.232s coverage: 27.6% of statements 01:54:05 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.278s coverage: 80.2% of statements 01:54:20 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 01:54:20 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 01:54:20 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.382s coverage: 86.0% of statements 01:54:25 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 01:54:25 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.395s coverage: 70.6% of statements 01:54:30 ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] 01:54:31 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 01:54:31 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 01:54:33 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.290s coverage: 14.3% of statements 01:54:33 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.405s coverage: 68.5% of statements 01:54:35 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.439s coverage: 89.2% of statements 01:54:37 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 01:54:37 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.251s coverage: 5.6% of statements 01:54:38 WARNING: Linting skipped (not on x86_64 or linter not installed) 01:54:38 GO111MODULE=on go vet ./... 01:57:15 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:57:15 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:57:15 ./bin/test-attribution-txt.sh [Pipeline] echo 01:57:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 01:57:15 $ docker stop --time=1 7fc887ee1908acee590b2df23e0f8fa30f23e01ecdf0502d709b860466c757ab 01:57:17 $ docker rm -f --volumes 7fc887ee1908acee590b2df23e0f8fa30f23e01ecdf0502d709b860466c757ab [Pipeline] // withDockerContainer [Pipeline] sh 01:57:19 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:57:19 Warning: overwriting stash ‘coverage-report’ 01:57:19 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 01:57:20 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:57:20 + ls -al . 01:57:20 total 280 01:57:20 drwxrwxr-x 10 jenkins jenkins 4096 Jul 19 01:50 . 01:57:20 drwxrwxr-x 4 jenkins jenkins 4096 Jul 19 01:48 .. 01:57:20 -rw-rw-r-- 1 jenkins jenkins 140 Jul 19 01:48 .dockerignore 01:57:20 drwxrwxr-x 8 jenkins jenkins 4096 Jul 19 01:48 .git 01:57:20 drwxrwxr-x 2 jenkins jenkins 4096 Jul 19 01:48 .github 01:57:20 -rw-rw-r-- 1 jenkins jenkins 137 Jul 19 01:48 .gitignore 01:57:20 -rw-rw-r-- 1 jenkins jenkins 42 Jul 19 01:48 .golangci.yml 01:57:20 -rw-rw-r-- 1 jenkins jenkins 44878 Jul 19 01:48 CHANGELOG.md 01:57:20 -rw-rw-r-- 1 jenkins jenkins 677 Jul 19 01:48 GOVERNANCE.md 01:57:20 -rw-rw-r-- 1 jenkins jenkins 885 Jul 19 01:48 Jenkinsfile 01:57:20 -rw-rw-r-- 1 jenkins jenkins 11341 Jul 19 01:48 LICENSE 01:57:20 -rw-rw-r-- 1 jenkins jenkins 1842 Jul 19 01:48 Makefile 01:57:20 -rw-rw-r-- 1 jenkins jenkins 619 Jul 19 01:48 OWNERS.md 01:57:20 -rw-rw-r-- 1 jenkins jenkins 4933 Jul 19 01:48 README.md 01:57:20 -rw-rw-r-- 1 jenkins jenkins 5 Jul 19 01:43 VERSION 01:57:20 drwxrwxr-x 2 jenkins jenkins 4096 Jul 19 01:48 bin 01:57:20 -rw-r--r-- 1 jenkins jenkins 104688 Jul 19 01:54 coverage.out 01:57:20 drwxrwxr-x 5 jenkins jenkins 4096 Jul 19 01:48 example 01:57:20 -rw-rw-r-- 1 jenkins jenkins 3461 Jul 19 01:48 go.mod 01:57:20 -rw-rw-r-- 1 jenkins jenkins 32143 Jul 19 01:48 go.sum 01:57:20 drwxrwxr-x 12 jenkins jenkins 4096 Jul 19 01:48 internal 01:57:20 drwxrwxr-x 3 jenkins jenkins 4096 Jul 19 01:48 openapi 01:57:20 drwxrwxr-x 6 jenkins jenkins 4096 Jul 19 01:48 pkg 01:57:20 drwxrwxr-x 4 jenkins jenkins 4096 Jul 19 01:48 snap 01:57:20 -rw-rw-r-- 1 jenkins jenkins 222 Jul 19 01:48 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:57:20 + docker build -t device-sdk-simple-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=9983415449d789263673552186519e6709848005 --label arch=arm64 --label version=0.0.0 . 01:57:21 Sending build context to Docker daemon 5.936MB 01:57:21 Step 1/23 : ARG BASE=golang:1.20-alpine3.17 01:57:21 Step 2/23 : FROM ${BASE} AS builder 01:57:21 ---> 4eeb00bc2bd1 01:57:21 Step 3/23 : ARG MAKE=make build 01:57:21 ---> Running in ac25f5ea4d2f 01:57:21 Removing intermediate container ac25f5ea4d2f 01:57:21 ---> 43d351d95419 01:57:21 Step 4/23 : WORKDIR /device-sdk-go 01:57:21 ---> Running in 4b07a9554460 01:57:22 Removing intermediate container 4b07a9554460 01:57:22 ---> 900b7f32b194 01:57:22 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 01:57:22 ---> Running in 8913ce3b923b 01:57:22 Removing intermediate container 8913ce3b923b 01:57:22 ---> 2fad282b07e0 01:57:22 Step 6/23 : RUN apk add --update --no-cache make git 01:57:22 ---> Running in 00537e314157 01:57:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 01:57:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 01:57:25 OK: 263 MiB in 53 packages 01:57:26 Removing intermediate container 00537e314157 01:57:26 ---> 6346f7b2f1fe 01:57:26 Step 7/23 : COPY go.mod vendor* ./ 01:57:29 ---> 4b1639eb1f27 01:57:29 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:57:29 ---> Running in 6565a9c0bc08 01:57:32 Removing intermediate container 6565a9c0bc08 01:57:32 ---> bfd0ca1646a8 01:57:32 Step 9/23 : COPY . . 01:57:33 ---> 250c8accbc86 01:57:33 Step 10/23 : RUN ${MAKE} 01:57:33 ---> Running in 2f152193c7a9 01:57:34 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 01:59:56 Removing intermediate container 2f152193c7a9 01:59:56 ---> 6c916233e983 01:59:56 Step 11/23 : FROM alpine:3.17 01:59:56 3.17: Pulling from library/alpine 01:59:56 edb6bdbacee9: Already exists 01:59:56 Digest: sha256:e95676db9e4a4f16f6cc01a8915368f82b018cc07aba951c1bd1db586c081388 01:59:56 Status: Downloaded newer image for alpine:3.17 01:59:56 ---> 779605e5fbc0 01:59:56 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 01:59:56 ---> Running in 06f15b1b2e38 01:59:56 Removing intermediate container 06f15b1b2e38 01:59:56 ---> 9abfab86253c 01:59:56 Step 13/23 : RUN apk add --update --no-cache 01:59:56 ---> Running in ccf3d3d99b16 01:59:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 01:59:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 01:59:58 OK: 7 MiB in 15 packages 01:59:58 Removing intermediate container ccf3d3d99b16 01:59:58 ---> f094b922e3d6 01:59:58 Step 14/23 : WORKDIR / 01:59:58 ---> Running in a9894577807b 01:59:59 Removing intermediate container a9894577807b 01:59:59 ---> 9ede525b36a4 01:59:59 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 01:59:59 ---> 2c9db95b04ac 01:59:59 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 02:00:01 ---> 130c13a0a6f1 02:00:01 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 02:00:01 ---> b0aca3534216 02:00:01 Step 18/23 : EXPOSE 59999 02:00:01 ---> Running in f3c2a49fe6b8 02:00:01 Removing intermediate container f3c2a49fe6b8 02:00:01 ---> 521b5fb392ef 02:00:01 Step 19/23 : ENTRYPOINT ["/device-simple"] 02:00:01 ---> Running in 5d96c35b5e2c 02:00:02 Removing intermediate container 5d96c35b5e2c 02:00:02 ---> 4223d8d7fc47 02:00:02 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 02:00:02 ---> Running in 133a41c5c03b 02:00:02 Removing intermediate container 133a41c5c03b 02:00:02 ---> 45ac7cce3e03 02:00:02 Step 21/23 : LABEL arch=arm64 02:00:02 ---> Running in abb5d185ec81 02:00:03 Removing intermediate container abb5d185ec81 02:00:03 ---> e90a3b553068 02:00:03 Step 22/23 : LABEL git_sha=9983415449d789263673552186519e6709848005 02:00:03 ---> Running in 3fbda3d13438 02:00:03 Removing intermediate container 3fbda3d13438 02:00:03 ---> 96168b7efba9 02:00:03 Step 23/23 : LABEL version=0.0.0 02:00:03 ---> Running in bda4d11e4632 02:00:03 Removing intermediate container bda4d11e4632 02:00:03 ---> 548cd597027a 02:00:03 [Warning] One or more build-args [ARCH] were not consumed 02:00:03 Successfully built 548cd597027a 02:00:03 Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:00:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:00:04 02:00:04 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:00:04 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:00:04 arm64: Pulling from edgex-lftools-log-publisher 02:00:04 8998bd30e6a1: Pulling fs layer 02:00:04 04944245beec: Pulling fs layer 02:00:04 699f458cf7ca: Pulling fs layer 02:00:04 765212b225bb: Pulling fs layer 02:00:04 f23df028b6ca: Pulling fs layer 02:00:04 d65c8cfc05b1: Pulling fs layer 02:00:04 2437ff75d9bd: Pulling fs layer 02:00:04 765212b225bb: Waiting 02:00:04 f23df028b6ca: Waiting 02:00:04 d65c8cfc05b1: Waiting 02:00:04 2437ff75d9bd: Waiting 02:00:04 04944245beec: Verifying Checksum 02:00:04 04944245beec: Download complete 02:00:04 765212b225bb: Verifying Checksum 02:00:04 765212b225bb: Download complete 02:00:04 f23df028b6ca: Verifying Checksum 02:00:04 f23df028b6ca: Download complete 02:00:04 d65c8cfc05b1: Verifying Checksum 02:00:04 d65c8cfc05b1: Download complete 02:00:05 699f458cf7ca: Verifying Checksum 02:00:05 699f458cf7ca: Download complete 02:00:05 8998bd30e6a1: Verifying Checksum 02:00:05 8998bd30e6a1: Download complete 02:00:07 2437ff75d9bd: Verifying Checksum 02:00:07 2437ff75d9bd: Download complete 02:00:09 8998bd30e6a1: Pull complete 02:00:09 04944245beec: Pull complete 02:00:11 699f458cf7ca: Pull complete 02:00:11 765212b225bb: Pull complete 02:00:12 f23df028b6ca: Pull complete 02:00:12 d65c8cfc05b1: Pull complete 02:00:27 2437ff75d9bd: Pull complete 02:00:27 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 02:00:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:00:27 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:00:27 prd-ubuntu20.04-docker-arm64-4c-16g-1491 does not seem to be running inside a container 02:00:27 $ 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-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 02:00:30 $ docker top 871b6077cd50fe65a0fa5758cfaa1f316b600445b7111d4dcdbde35353c1e528 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:00:31 ---> job-cost.sh 02:00:31 lf-activate-venv: SKIPPING 02:00:31 INFO: No Stack... 02:00:31 INFO: Retrieving Pricing Info for: v3-standard-4 02:00:32 INFO: Archiving Costs [Pipeline] sh 02:00:33 + cat /w/workspace/device-sdk-go/2/archives/cost.csv 02:00:33 + cut -d, -f6 [Pipeline] lock 02:00:33 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1477-2-stack-cost] 02:00:33 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1477-2-stack-cost] did not exist. Created. 02:00:33 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1477-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:00:33 /w/workspace/device-sdk-go/2@tmp/durable-86be4e2b/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 02:00:34 + echo total: 0.10999999940395355 [Pipeline] stash 02:00:34 Warning: overwriting stash ‘stack-cost’ 02:00:34 Stashed 1 file(s) [Pipeline] } 02:00:34 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1477-2-stack-cost] [Pipeline] // lock [Pipeline] } 02:00:34 $ docker stop --time=1 871b6077cd50fe65a0fa5758cfaa1f316b600445b7111d4dcdbde35353c1e528 02:00:36 $ docker rm -f --volumes 871b6077cd50fe65a0fa5758cfaa1f316b600445b7111d4dcdbde35353c1e528 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 02:00:36 provisioning config files... 02:00:36 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1477@tmp/config104687210268123890tmp [Pipeline] { [Pipeline] sh 02:00:36 + set +x 02:00:36 + curl -s https://codecov.io/bash 02:00:36 + bash -s -- 02:00:36 02:00:36 _____ _ 02:00:36 / ____| | | 02:00:36 | | ___ __| | ___ ___ _____ __ 02:00:36 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 02:00:36 | |___| (_) | (_| | __/ (_| (_) \ V / 02:00:36 \_____\___/ \__,_|\___|\___\___/ \_/ 02:00:36 Bash-1.0.6 02:00:36 02:00:36 02:00:36 ==> git version 2.25.1 found 02:00:36 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 02:00:36 Release-Date: 2020-01-08 02:00:36 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 02:00:36 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 02:00:36 ==> Jenkins CI detected. 02:00:36 current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1477 02:00:36 project root: . 02:00:36 --> token set from env 02:00:36 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 02:00:36 ==> Running gcov in . (disable via -X gcov) 02:00:36 ==> Python coveragepy not found 02:00:36 ==> Searching for coverage reports in: 02:00:36 + . 02:00:36 -> Found 1 reports 02:00:36 ==> Detecting git/mercurial file structure 02:00:36 ==> Reading reports 02:00:37 + ./coverage.out bytes=104688 02:00:37 ==> Appending adjustments 02:00:37 https://docs.codecov.io/docs/fixing-reports 02:00:37 + Found adjustments 02:00:37 ==> Gzipping contents 02:00:37 16K /tmp/codecov.E3LqNt.gz 02:00:37 ==> Uploading reports 02:00:37 url: https://codecov.io 02:00:37 query: branch=PR-1477&commit=9983415449d789263673552186519e6709848005&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1477%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1477&job=&cmd_args= 02:00:37 -> Pinging Codecov 02:00:37 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1477&commit=9983415449d789263673552186519e6709848005&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1477%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1477&job=&cmd_args= 02:00:37 -> Uploading to 02:00:37 https://storage.googleapis.com/codecov/v4/raw/2023-07-19/7E55EF52A471D76F132DFD9A03CDDE97/9983415449d789263673552186519e6709848005/183b24fe-1977-43f1-a26b-a1c26990d164.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230719%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230719T020037Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=57baf8fed4bf77bfb724e6d77ffdff86462465a5d6b037fbaaa6391a93658286 02:00:37 % Total % Received % Xferd Average Speed Time Time Time Current 02:00:37 Dload Upload Total Spent Left Speed 02:00:37 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14832 0 0 100 14832 0 66810 --:--:-- --:--:-- --:--:-- 66810 02:00:37 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/9983415449d789263673552186519e6709848005 [Pipeline] } 02:00:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 02:00:38 + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1477/archives ] 02:00:38 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1477/archives 02:00:38 total 16 02:00:38 drwxr-xr-x 3 root root 4096 Jul 19 01:46 . 02:00:38 drwxrwxr-x 12 jenkins jenkins 4096 Jul 19 01:46 .. 02:00:38 drwxr-xr-x 2 root root 4096 Jul 19 01:46 cost 02:00:38 -rw-r--r-- 1 root root 86 Jul 19 01:46 cost.csv 02:00:38 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1477/archives 02:00:38 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1477/archives 02:00:38 total 16 02:00:38 drwxr-xr-x 3 jenkins jenkins 4096 Jul 19 01:46 . 02:00:38 drwxrwxr-x 12 jenkins jenkins 4096 Jul 19 01:46 .. 02:00:38 drwxr-xr-x 2 jenkins jenkins 4096 Jul 19 01:46 cost 02:00:38 -rw-r--r-- 1 jenkins jenkins 86 Jul 19 01:46 cost.csv [Pipeline] libraryResource [Pipeline] sh 02:00:38 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 02:00:39 ---> package-listing.sh 02:00:39 ++ facter osfamily 02:00:39 ++ tr '[:upper:]' '[:lower:]' 02:00:39 + OS_FAMILY=debian 02:00:39 + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1477 02:00:39 + START_PACKAGES=/tmp/packages_start.txt 02:00:39 + END_PACKAGES=/tmp/packages_end.txt 02:00:39 + DIFF_PACKAGES=/tmp/packages_diff.txt 02:00:39 + PACKAGES=/tmp/packages_start.txt 02:00:39 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1477 ']' 02:00:39 + PACKAGES=/tmp/packages_end.txt 02:00:39 + case "${OS_FAMILY}" in 02:00:39 + dpkg -l 02:00:39 + grep '^ii' 02:00:39 + '[' -f /tmp/packages_start.txt ']' 02:00:39 + '[' -f /tmp/packages_end.txt ']' 02:00:39 + diff /tmp/packages_start.txt /tmp/packages_end.txt 02:00:39 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1477 ']' 02:00:39 + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1477/archives/ 02:00:39 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1477/archives/ [Pipeline] echo 02:00:39 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/gexfoundry_device-sdk-go_PR-1477/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 02:00:40 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:00:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:00:40 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:00:40 prd-ubuntu20.04-docker-8c-8g-1489 does not seem to be running inside a container 02:00:40 $ 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/gexfoundry_device-sdk-go_PR-1477/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-sdk-go_PR-1477 -v /w/workspace/gexfoundry_device-sdk-go_PR-1477:/w/workspace/gexfoundry_device-sdk-go_PR-1477:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1477@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1477@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 02:00:40 $ docker top 2e51d0dfb09bc5fad3a145ef77f955fb2e97698155ee84868620d39c3e4b78c7 -eo pid,comm [Pipeline] { [Pipeline] sh 02:00:41 + touch /tmp/pre-build-complete [Pipeline] sh 02:00:41 + mkdir -p /var/log/sysstat [Pipeline] sh 02:00:41 + ls /var/log/sa-host 02:00:41 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:00:41 provisioning config files... 02:00:42 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1477@tmp/config3425805011500781913tmp [Pipeline] { [Pipeline] echo 02:00:42 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 02:00:42 ---> create-netrc.sh [Pipeline] } 02:00:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 02:00:42 ---> python-tools-install.sh [Pipeline] echo 02:00:42 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 02:00:42 ---> sudo-logs.sh 02:00:42 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 02:00:42 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 02:00:43 ---> job-cost.sh 02:00:43 lf-activate-venv: SKIPPING 02:00:43 DEBUG: total: 0.2199999988079071 02:00:43 INFO: Retrieving Stack Cost... 02:00:43 INFO: Retrieving Pricing Info for: v3-standard-8 02:00:44 INFO: Archiving Costs [Pipeline] echo 02:00:44 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 02:00:44 ---> logs-deploy.sh 02:00:44 lf-activate-venv: SKIPPING 02:00:44 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1477/2 02:00:44 INFO: archiving workspace using pattern(s): 02:00:45 Archives upload complete. 02:00:45 INFO: archiving logs to Nexus