Pull request #1395 event Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 87f1280631e1bc9034406075f695943dded451d8+6846a58e9a18fc50eb2597edee49cc2f283037fd (4b3689a3eb2755f086404603a3f0d1ae9bd9b1d3) 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-ssh14499742808555300753.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh8901289337309703364.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1395/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-1395/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15403466584863346079.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh7498579115027550188.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-1395/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-1395/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh16016620611510404734.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 ‘prd-ubuntu20.04-docker-8c-8g-5705’ Running on prd-ubuntu20.04-docker-8c-8g-5708 in /w/workspace/gexfoundry_device-sdk-go_PR-1395 [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-1395 # 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 > 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/1395/head:refs/remotes/origin/PR-1395 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 6846a58e9a18fc50eb2597edee49cc2f283037fd into PR head commit 87f1280631e1bc9034406075f695943dded451d8 Merge succeeded, producing 87f1280631e1bc9034406075f695943dded451d8 Checking out Revision 87f1280631e1bc9034406075f695943dded451d8 (PR-1395) Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-messaging/v3" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 11:40:19 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 11:40:19 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 11:40:19 ========================================================= 11:40:19 EdgeX Global Pipelines Version Info 11:40:19 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git config core.sparsecheckout # timeout=10 > git checkout -f 87f1280631e1bc9034406075f695943dded451d8 # 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 6846a58e9a18fc50eb2597edee49cc2f283037fd # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 87f1280631e1bc9034406075f695943dded451d8 # timeout=10 > git rev-list --no-walk c0547ce26adfd38f73c3deaa266ae8ca76fe60d0 # timeout=10 11:40:19 ------------------- 11:40:19 stable info: 11:40:19 ------------------- 11:40:19 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 11:40:19 Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a 11:40:19 Message: update stable to v1.0.245 11:40:20 ------------------- 11:40:20 experimental info: 11:40:20 ------------------- 11:40:20 Commited By: **** collab-it+edgex@linuxfoundation.org 11:40:20 Commit SHA: 046ad6d0e2e636d38ea4daf53c055316476b9501 11:40:20 Message: update experimental to v1.0.247 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 11:40:20 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 11:40:20 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 11:40:20 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 11:40:20 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 11:40:20 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 11:40:20 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 11:40:20 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 11:40:20 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 11:40:20 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 11:40:20 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 11:40:20 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 11:40:20 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 11:40:20 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 11:40:20 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 11:40:20 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 11:40:20 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 11:40:20 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 11:40:20 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 11:40:20 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 11:40:20 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 11:40:20 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 11:40:20 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo 11:40:20 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 11:40:20 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 11:40:20 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 11:40:20 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 11:40:20 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 11:40:20 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1395 [Pipeline] echo 11:40:20 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1395 [Pipeline] echo 11:40:20 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1395 [Pipeline] echo 11:40:20 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 87f1280631e1bc9034406075f695943dded451d8 [Pipeline] echo 11:40:21 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 87f1280 [Pipeline] echo 11:40:21 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:40:21 provisioning config files... 11:40:21 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1395@tmp/config10436360199814470912tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:40:21 ---> docker-login.sh 11:40:21 nexus3.edgexfoundry.org:10001 11:40:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:40:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:40:21 Configure a credential helper to remove this warning. See 11:40:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:40:21 11:40:21 Login Succeeded 11:40:21 nexus3.edgexfoundry.org:10002 11:40:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:40:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:40:21 Configure a credential helper to remove this warning. See 11:40:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:40:21 11:40:21 Login Succeeded 11:40:21 nexus3.edgexfoundry.org:10003 11:40:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:40:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:40:21 Configure a credential helper to remove this warning. See 11:40:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:40:21 11:40:21 Login Succeeded 11:40:21 nexus3.edgexfoundry.org:10004 11:40:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:40:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:40:21 Configure a credential helper to remove this warning. See 11:40:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:40:21 11:40:21 Login Succeeded 11:40:21 docker.io 11:40:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:40:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:40:22 Configure a credential helper to remove this warning. See 11:40:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:40:22 11:40:22 Login Succeeded 11:40:22 ---> docker-login.sh ends [Pipeline] } 11:40:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 11:40:22 + git rev-list -1 --merges 87f1280631e1bc9034406075f695943dded451d8~1..87f1280631e1bc9034406075f695943dded451d8 [Pipeline] echo 11:40:22 -----------> git rev-list -1 --merges 87f1280631e1bc9034406075f695943dded451d8~1..87f1280631e1bc9034406075f695943dded451d8 87f1280631e1bc9034406075f695943dded451d8 [false] [Pipeline] sh 11:40:23 + git log --format=format:%s -1 87f1280631e1bc9034406075f695943dded451d8 [Pipeline] echo 11:40:23 ========================================================= 11:40:23 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 11:40:23 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 11:40:23 + git log --format=format:%s -1 87f1280631e1bc9034406075f695943dded451d8 [Pipeline] echo 11:40:23 [semverPrep] GIT_COMMIT: 87f1280631e1bc9034406075f695943dded451d8, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-messaging/v3 [Pipeline] echo 11:40:23 [semverPrep] This is not a build commit. [Pipeline] sh 11:40:23 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 11:40:23 + grep -v github /etc/ssh/ssh_known_hosts 11:40:23 + [ -e /tmp/ssh_known_hosts ] 11:40:23 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 11:40:23 + + echosudo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= tee 11:40:23 -a /etc/ssh/ssh_known_hosts 11:40:23 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:40:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 11:40:24 11:40:24 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:40:24 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 11:40:24 0.1.4: Pulling from edgex-devops/py-git-semver 11:40:24 b85a868b505f: Pulling fs layer 11:40:24 e2be974225ed: Pulling fs layer 11:40:24 339a4e72a1f5: Pulling fs layer 11:40:24 988bab9f4d93: Pulling fs layer 11:40:24 1469e6f7b9e6: Pulling fs layer 11:40:24 eaf3925da568: Pulling fs layer 11:40:24 bab4dde63d76: Pulling fs layer 11:40:24 bde34c3a00c8: Pulling fs layer 11:40:24 b352a97aabf1: Pulling fs layer 11:40:24 4872d77fe225: Pulling fs layer 11:40:24 5851b861e8e6: Pulling fs layer 11:40:24 bab4dde63d76: Waiting 11:40:24 bde34c3a00c8: Waiting 11:40:24 b352a97aabf1: Waiting 11:40:24 4872d77fe225: Waiting 11:40:24 5851b861e8e6: Waiting 11:40:24 988bab9f4d93: Waiting 11:40:24 1469e6f7b9e6: Waiting 11:40:24 eaf3925da568: Waiting 11:40:24 e2be974225ed: Verifying Checksum 11:40:24 e2be974225ed: Download complete 11:40:24 988bab9f4d93: Verifying Checksum 11:40:24 988bab9f4d93: Download complete 11:40:24 1469e6f7b9e6: Verifying Checksum 11:40:24 1469e6f7b9e6: Download complete 11:40:24 339a4e72a1f5: Verifying Checksum 11:40:24 339a4e72a1f5: Download complete 11:40:24 eaf3925da568: Verifying Checksum 11:40:24 eaf3925da568: Download complete 11:40:24 bde34c3a00c8: Download complete 11:40:24 b352a97aabf1: Download complete 11:40:24 4872d77fe225: Verifying Checksum 11:40:24 4872d77fe225: Download complete 11:40:24 5851b861e8e6: Download complete 11:40:24 b85a868b505f: Verifying Checksum 11:40:24 b85a868b505f: Download complete 11:40:24 bab4dde63d76: Verifying Checksum 11:40:24 bab4dde63d76: Download complete 11:40:26 b85a868b505f: Pull complete 11:40:26 e2be974225ed: Pull complete 11:40:26 339a4e72a1f5: Pull complete 11:40:26 988bab9f4d93: Pull complete 11:40:26 1469e6f7b9e6: Pull complete 11:40:27 eaf3925da568: Pull complete 11:40:29 bab4dde63d76: Pull complete 11:40:29 bde34c3a00c8: Pull complete 11:40:29 b352a97aabf1: Pull complete 11:40:29 4872d77fe225: Pull complete 11:40:29 5851b861e8e6: Pull complete 11:40:29 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 11:40:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 11:40:29 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:40:29 prd-ubuntu20.04-docker-8c-8g-5708 does not seem to be running inside a container 11:40:29 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1395 -v /w/workspace/gexfoundry_device-sdk-go_PR-1395:/w/workspace/gexfoundry_device-sdk-go_PR-1395:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1395@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1395@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 11:40:30 $ docker top 94c4c2f9f6841f8c37bc3a4ae6eebb869baa4bcc4642d57ae4187b812edf367c -eo pid,comm 11:40:30 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). 11:40:30 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 11:40:30 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:40:30 [ssh-agent] Looking for ssh-agent implementation... 11:40:30 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:40:30 $ docker exec 94c4c2f9f6841f8c37bc3a4ae6eebb869baa4bcc4642d57ae4187b812edf367c ssh-agent 11:40:31 SSH_AUTH_SOCK=/tmp/ssh-HSsZWtIHJEgq/agent.31 11:40:31 SSH_AGENT_PID=37 11:40:31 Running ssh-add (command line suppressed) 11:40:31 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1395@tmp/private_key_3669799521536389067.key (/w/workspace/gexfoundry_device-sdk-go_PR-1395@tmp/private_key_3669799521536389067.key) 11:40:31 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:40:31 + git tag --points-at HEAD [Pipeline] } 11:40:31 $ docker exec --env ******** --env ******** 94c4c2f9f6841f8c37bc3a4ae6eebb869baa4bcc4642d57ae4187b812edf367c ssh-agent -k 11:40:31 unset SSH_AUTH_SOCK; 11:40:31 unset SSH_AGENT_PID; 11:40:31 echo Agent pid 37 killed; 11:40:31 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 11:40:31 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:40:31 [ssh-agent] Looking for ssh-agent implementation... 11:40:31 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:40:31 $ docker exec 94c4c2f9f6841f8c37bc3a4ae6eebb869baa4bcc4642d57ae4187b812edf367c ssh-agent 11:40:31 SSH_AUTH_SOCK=/tmp/ssh-a58c7SriqSHD/agent.69 11:40:31 SSH_AGENT_PID=75 11:40:31 Running ssh-add (command line suppressed) 11:40:31 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1395@tmp/private_key_6388048186346980534.key (/w/workspace/gexfoundry_device-sdk-go_PR-1395@tmp/private_key_6388048186346980534.key) 11:40:31 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:40:32 + git semver init 11:40:32 2023-03-24 11:40:32,417 [run_init] DEBUG init version:0.0.0 force:False 11:40:32 2023-03-24 11:40:32,418 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1395/.semver 11:40:32 2023-03-24 11:40:32,419 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1395/.semver 11:40:32 2023-03-24 11:40:32,419 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1395/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1395, universal_newlines=False, shell=None, istream=None) 11:40:33 2023-03-24 11:40:33,271 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1395/.git/info/exclude 11:40:33 2023-03-24 11:40:33,271 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1395/.semver/PR-1395 with force:False 11:40:33 2023-03-24 11:40:33,272 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1395/.semver/PR-1395 11:40:33 2023-03-24 11:40:33,276 [execute] INFO git cat-file --batch-check 11:40:33 2023-03-24 11:40:33,277 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1395/.semver, universal_newlines=False, shell=None, istream=) 11:40:33 2023-03-24 11:40:33,282 [execute] INFO git cat-file --batch 11:40:33 2023-03-24 11:40:33,283 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1395/.semver, universal_newlines=False, shell=None, istream=) 11:40:33 2023-03-24 11:40:33,288 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1395/.semver/PR-1395 11:40:33 0.0.0 [Pipeline] } 11:40:33 $ docker exec --env ******** --env ******** 94c4c2f9f6841f8c37bc3a4ae6eebb869baa4bcc4642d57ae4187b812edf367c ssh-agent -k 11:40:33 unset SSH_AUTH_SOCK; 11:40:33 unset SSH_AGENT_PID; 11:40:33 echo Agent pid 75 killed; 11:40:33 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 11:40:33 + git semver [Pipeline] } 11:40:34 $ docker stop --time=1 94c4c2f9f6841f8c37bc3a4ae6eebb869baa4bcc4642d57ae4187b812edf367c 11:40:35 $ docker rm -f --volumes 94c4c2f9f6841f8c37bc3a4ae6eebb869baa4bcc4642d57ae4187b812edf367c [Pipeline] // withDockerContainer [Pipeline] sh 11:40:35 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 11:40:35 Stashed 1 file(s) [Pipeline] echo 11:40:35 [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 11:40:36 provisioning config files... 11:40:36 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1395@tmp/config7046473108095041231tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:40:36 ---> docker-login.sh 11:40:36 nexus3.edgexfoundry.org:10001 11:40:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:40:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:40:36 Configure a credential helper to remove this warning. See 11:40:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:40:36 11:40:36 Login Succeeded 11:40:36 nexus3.edgexfoundry.org:10002 11:40:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:40:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:40:36 Configure a credential helper to remove this warning. See 11:40:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:40:36 11:40:36 Login Succeeded 11:40:36 nexus3.edgexfoundry.org:10003 11:40:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:40:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:40:36 Configure a credential helper to remove this warning. See 11:40:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:40:36 11:40:36 Login Succeeded 11:40:36 nexus3.edgexfoundry.org:10004 11:40:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:40:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:40:36 Configure a credential helper to remove this warning. See 11:40:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:40:36 11:40:36 Login Succeeded 11:40:36 docker.io 11:40:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:40:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:40:36 Configure a credential helper to remove this warning. See 11:40:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:40:36 11:40:36 Login Succeeded 11:40:36 ---> docker-login.sh ends [Pipeline] } 11:40:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 11:40:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 11:40:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 11:40:37 ========================================================= 11:40:37 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 11:40:37 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:40:37 + 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 . 11:40:37 Sending build context to Docker daemon 10.82MB 11:40:37 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 11:40:37 Step 2/10 : FROM ${BASE} AS builder 11:40:37 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 11:40:37 63b65145d645: Pulling fs layer 11:40:37 a2d21d5440eb: Pulling fs layer 11:40:37 935e6c44a52c: Pulling fs layer 11:40:37 94cc34f8dd06: Pulling fs layer 11:40:37 30dea6a524f1: Pulling fs layer 11:40:37 a2aff8979fd8: Pulling fs layer 11:40:37 6808be2612f2: Pulling fs layer 11:40:37 f25807f1079a: Pulling fs layer 11:40:37 94cc34f8dd06: Waiting 11:40:37 30dea6a524f1: Waiting 11:40:37 a2aff8979fd8: Waiting 11:40:37 6808be2612f2: Waiting 11:40:37 f25807f1079a: Waiting 11:40:37 a2d21d5440eb: Download complete 11:40:37 94cc34f8dd06: Verifying Checksum 11:40:37 94cc34f8dd06: Download complete 11:40:37 30dea6a524f1: Verifying Checksum 11:40:37 30dea6a524f1: Download complete 11:40:37 63b65145d645: Verifying Checksum 11:40:37 63b65145d645: Download complete 11:40:37 a2aff8979fd8: Verifying Checksum 11:40:37 a2aff8979fd8: Download complete 11:40:37 63b65145d645: Pull complete 11:40:37 a2d21d5440eb: Pull complete 11:40:38 f25807f1079a: Verifying Checksum 11:40:38 f25807f1079a: Download complete 11:40:38 935e6c44a52c: Verifying Checksum 11:40:38 935e6c44a52c: Download complete 11:40:38 6808be2612f2: Verifying Checksum 11:40:38 6808be2612f2: Download complete 11:40:41 935e6c44a52c: Pull complete 11:40:41 94cc34f8dd06: Pull complete 11:40:41 30dea6a524f1: Pull complete 11:40:41 a2aff8979fd8: Pull complete 11:40:44 6808be2612f2: Pull complete 11:40:44 f25807f1079a: Pull complete 11:40:44 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 11:40:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 11:40:44 ---> 3b553350e43f 11:40:44 Step 3/10 : ARG MAKE=make build 11:40:46 ---> Running in 1ee328b57a1e 11:40:46 Removing intermediate container 1ee328b57a1e 11:40:46 ---> 8f53ba5b9a30 11:40:46 Step 4/10 : WORKDIR /device-sdk-go 11:40:46 ---> Running in 0efa9fff553d 11:40:46 Removing intermediate container 0efa9fff553d 11:40:46 ---> b9d971bba3bf 11:40:46 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 11:40:46 ---> Running in b237b25bd8fe 11:40:46 Removing intermediate container b237b25bd8fe 11:40:46 ---> 704a164feb7d 11:40:46 Step 6/10 : RUN apk add --update --no-cache make git 11:40:46 ---> Running in 1782ab009422 11:40:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 11:40:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 11:40:47 OK: 265 MiB in 53 packages 11:40:47 Removing intermediate container 1782ab009422 11:40:47 ---> a9c05f19af81 11:40:47 Step 7/10 : COPY go.mod vendor* ./ 11:40:47 ---> 6839f0923f51 11:40:47 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:40:47 ---> Running in f48d8573907b 11:40:51 Still waiting to schedule task 11:40:51 ‘prd-ubuntu20.04-docker-arm64-4c-16g-5707’ is offline 11:41:05 Removing intermediate container f48d8573907b 11:41:05 ---> f0462aee4bbb 11:41:05 Step 9/10 : COPY . . 11:41:06 ---> 119ab53f5e7b 11:41:06 Step 10/10 : RUN ${MAKE} 11:41:06 ---> Running in 8799aecffb68 11:41:06 noop 11:41:06 Removing intermediate container 8799aecffb68 11:41:06 ---> 9fcc60d212a5 11:41:06 Successfully built 9fcc60d212a5 11:41:06 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:41:07 + docker inspect -f . ci-base-image-x86_64 11:41:07 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:41:07 prd-ubuntu20.04-docker-8c-8g-5708 does not seem to be running inside a container 11:41:07 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1395 -v /w/workspace/gexfoundry_device-sdk-go_PR-1395:/w/workspace/gexfoundry_device-sdk-go_PR-1395:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1395@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1395@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 ******** ci-base-image-x86_64 cat 11:41:07 $ docker top 376677df6ad1142b25b55f096b7b8e1371c9b89080bcf5d9a51f5e2714286718 -eo pid,comm [Pipeline] { [Pipeline] sh 11:41:08 + go version 11:41:08 go version go1.20.2 linux/amd64 [Pipeline] } 11:41:08 $ docker stop --time=1 376677df6ad1142b25b55f096b7b8e1371c9b89080bcf5d9a51f5e2714286718 11:41:09 $ docker rm -f --volumes 376677df6ad1142b25b55f096b7b8e1371c9b89080bcf5d9a51f5e2714286718 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:41:09 + docker inspect -f . ci-base-image-x86_64 11:41:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:41:09 prd-ubuntu20.04-docker-8c-8g-5708 does not seem to be running inside a container 11:41:09 $ 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-1395 -v /w/workspace/gexfoundry_device-sdk-go_PR-1395:/w/workspace/gexfoundry_device-sdk-go_PR-1395:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1395@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1395@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 ******** ci-base-image-x86_64 cat 11:41:10 $ docker top 00e002b0248734a826089b92f70821b812be9ee15a95b6142c2040be0a4432d2 -eo pid,comm [Pipeline] { [Pipeline] sh 11:41:10 + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1395 [Pipeline] fileExists [Pipeline] sh 11:41:10 + make test 11:41:10 go test -race -coverprofile=coverage.out ./... 11:41:17 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 11:41:32 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 11:41:32 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 11:41:32 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 11:41:32 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 11:41:32 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 11:41:32 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.059s coverage: 27.6% of statements 11:41:32 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 11:41:32 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 11:41:32 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.048s coverage: 78.9% of statements 11:41:32 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.080s coverage: 86.0% of statements 11:41:32 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 11:41:32 ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] 11:41:32 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.092s coverage: 75.9% of statements 11:41:32 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 11:41:32 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 11:41:32 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 11:41:35 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.064s coverage: 15.2% of statements 11:41:35 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.070s coverage: 68.5% of statements 11:41:35 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.117s coverage: 89.2% of statements 11:41:35 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.060s coverage: 5.5% of statements 11:41:53 GO111MODULE=on go vet ./... 11:41:56 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 11:41:56 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 11:41:56 ./bin/test-attribution-txt.sh [Pipeline] echo 11:41:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 11:41:57 $ docker stop --time=1 00e002b0248734a826089b92f70821b812be9ee15a95b6142c2040be0a4432d2 11:41:59 $ docker rm -f --volumes 00e002b0248734a826089b92f70821b812be9ee15a95b6142c2040be0a4432d2 [Pipeline] // withDockerContainer [Pipeline] sh 11:41:59 + sudo chown -R jenkins:jenkins . [Pipeline] stash 11:41:59 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 11:42:00 + sudo chown -R jenkins:jenkins . [Pipeline] sh 11:42:00 + ls -al . 11:42:00 total 272 11:42:00 drwxrwxr-x 11 jenkins jenkins 4096 Mar 24 11:41 . 11:42:00 drwxrwxr-x 4 jenkins jenkins 4096 Mar 24 11:40 .. 11:42:00 -rw-rw-r-- 1 jenkins jenkins 140 Mar 24 11:40 .dockerignore 11:42:00 drwxrwxr-x 8 jenkins jenkins 4096 Mar 24 11:40 .git 11:42:00 drwxrwxr-x 2 jenkins jenkins 4096 Mar 24 11:40 .github 11:42:00 -rw-rw-r-- 1 jenkins jenkins 131 Mar 24 11:40 .gitignore 11:42:00 -rw-rw-r-- 1 jenkins jenkins 42 Mar 24 11:40 .golangci.yml 11:42:00 drwxr-xr-x 3 jenkins jenkins 4096 Mar 24 11:40 .semver 11:42:00 -rw-rw-r-- 1 jenkins jenkins 31677 Mar 24 11:40 CHANGELOG.md 11:42:00 -rw-rw-r-- 1 jenkins jenkins 677 Mar 24 11:40 GOVERNANCE.md 11:42:00 -rw-rw-r-- 1 jenkins jenkins 885 Mar 24 11:40 Jenkinsfile 11:42:00 -rw-rw-r-- 1 jenkins jenkins 11341 Mar 24 11:40 LICENSE 11:42:00 -rw-rw-r-- 1 jenkins jenkins 1714 Mar 24 11:40 Makefile 11:42:00 -rw-rw-r-- 1 jenkins jenkins 619 Mar 24 11:40 OWNERS.md 11:42:00 -rw-rw-r-- 1 jenkins jenkins 4891 Mar 24 11:40 README.md 11:42:00 -rw-rw-r-- 1 jenkins jenkins 5 Mar 24 11:40 VERSION 11:42:00 drwxrwxr-x 2 jenkins jenkins 4096 Mar 24 11:40 bin 11:42:00 -rw-r--r-- 1 jenkins jenkins 105812 Mar 24 11:41 coverage.out 11:42:00 drwxrwxr-x 5 jenkins jenkins 4096 Mar 24 11:40 example 11:42:00 -rw-rw-r-- 1 jenkins jenkins 3243 Mar 24 11:40 go.mod 11:42:00 -rw-rw-r-- 1 jenkins jenkins 30606 Mar 24 11:40 go.sum 11:42:00 drwxrwxr-x 12 jenkins jenkins 4096 Mar 24 11:40 internal 11:42:00 drwxrwxr-x 3 jenkins jenkins 4096 Mar 24 11:40 openapi 11:42:00 drwxrwxr-x 6 jenkins jenkins 4096 Mar 24 11:40 pkg 11:42:00 drwxrwxr-x 4 jenkins jenkins 4096 Mar 24 11:40 snap 11:42:00 -rw-rw-r-- 1 jenkins jenkins 222 Mar 24 11:40 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:42:00 + 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=87f1280631e1bc9034406075f695943dded451d8 --label arch=amd64 --label version=0.0.0 . 11:42:00 Sending build context to Docker daemon 10.93MB 11:42:00 Step 1/23 : ARG BASE=golang:1.20-alpine3.17 11:42:00 Step 2/23 : FROM ${BASE} AS builder 11:42:00 ---> 9fcc60d212a5 11:42:00 Step 3/23 : ARG MAKE=make build 11:42:00 ---> Running in 4f9a4c673224 11:42:00 Removing intermediate container 4f9a4c673224 11:42:00 ---> 7ea594ff9175 11:42:00 Step 4/23 : WORKDIR /device-sdk-go 11:42:00 ---> Running in 0977a540f14f 11:42:00 Removing intermediate container 0977a540f14f 11:42:00 ---> d4bf36602ea0 11:42:00 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 11:42:01 ---> Running in f451950d4d7a 11:42:01 Removing intermediate container f451950d4d7a 11:42:01 ---> f549bac109cc 11:42:01 Step 6/23 : RUN apk add --update --no-cache make git 11:42:01 ---> Running in 5fb45891be97 11:42:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 11:42:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 11:42:01 OK: 265 MiB in 53 packages 11:42:02 Removing intermediate container 5fb45891be97 11:42:02 ---> 637660ad778b 11:42:02 Step 7/23 : COPY go.mod vendor* ./ 11:42:02 ---> 73a17a877d6c 11:42:02 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:42:02 ---> Running in e603692fe030 11:42:03 Removing intermediate container e603692fe030 11:42:03 ---> a392f200fdb0 11:42:03 Step 9/23 : COPY . . 11:42:03 ---> a4fb81e7e6e4 11:42:03 Step 10/23 : RUN ${MAKE} 11:42:03 ---> Running in 4695f4b3c6b7 11:42:04 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 11:42:22 Removing intermediate container 4695f4b3c6b7 11:42:22 ---> deb419e03a50 11:42:22 Step 11/23 : FROM alpine:3.17 11:42:22 3.17: Pulling from library/alpine 11:42:22 63b65145d645: Already exists 11:42:22 Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 11:42:22 Status: Downloaded newer image for alpine:3.17 11:42:22 ---> b2aa39c304c2 11:42:22 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 11:42:22 ---> Running in 3c58c6fc866a 11:42:22 Removing intermediate container 3c58c6fc866a 11:42:22 ---> 0876914fcc36 11:42:22 Step 13/23 : RUN apk add --update --no-cache 11:42:22 ---> Running in 611514d50d8c 11:42:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 11:42:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 11:42:22 OK: 7 MiB in 15 packages 11:42:22 Removing intermediate container 611514d50d8c 11:42:22 ---> 1904995738df 11:42:22 Step 14/23 : WORKDIR / 11:42:22 ---> Running in 9c67330eb66f 11:42:22 Removing intermediate container 9c67330eb66f 11:42:22 ---> c176507caba5 11:42:22 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 11:42:22 ---> 5ff5d3ba3499 11:42:22 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 11:42:22 ---> 417c3c05cf56 11:42:22 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 11:42:22 ---> a407bd7130d5 11:42:22 Step 18/23 : EXPOSE 59999 11:42:22 ---> Running in a29ecefffc0f 11:42:22 Removing intermediate container a29ecefffc0f 11:42:22 ---> 3f9b9e1d5f8a 11:42:22 Step 19/23 : ENTRYPOINT ["/device-simple"] 11:42:22 ---> Running in a8a1d1240557 11:42:22 Removing intermediate container a8a1d1240557 11:42:22 ---> 7925aaf39daf 11:42:22 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 11:42:22 ---> Running in b100dc5452dd 11:42:22 Removing intermediate container b100dc5452dd 11:42:22 ---> 0d3bbf5d1b0d 11:42:22 Step 21/23 : LABEL arch=amd64 11:42:22 ---> Running in 701729f1f0f6 11:42:22 Removing intermediate container 701729f1f0f6 11:42:22 ---> 07f2ad3622bb 11:42:22 Step 22/23 : LABEL git_sha=87f1280631e1bc9034406075f695943dded451d8 11:42:22 ---> Running in 85f6c4bf0eab 11:42:23 Removing intermediate container 85f6c4bf0eab 11:42:23 ---> 4d84a94c0702 11:42:23 Step 23/23 : LABEL version=0.0.0 11:42:23 ---> Running in b7d9149aa15a 11:42:23 Removing intermediate container b7d9149aa15a 11:42:23 ---> 0d508e11bbae 11:42:23 [Warning] One or more build-args [ARCH] were not consumed 11:42:23 Successfully built 0d508e11bbae 11:42:23 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 11:42:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:42:23 11:42:23 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:42:23 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:42:23 latest: Pulling from edgex-lftools-log-publisher 11:42:23 5eb5b503b376: Pulling fs layer 11:42:23 5c69ac0246d0: Pulling fs layer 11:42:23 ec43610c2a17: Pulling fs layer 11:42:23 3a2ae6a8a46f: Pulling fs layer 11:42:23 33b1e0a273af: Pulling fs layer 11:42:23 5d3b04190fa2: Pulling fs layer 11:42:23 2f39f015ded8: Pulling fs layer 11:42:23 3a2ae6a8a46f: Waiting 11:42:23 33b1e0a273af: Waiting 11:42:23 5d3b04190fa2: Waiting 11:42:23 2f39f015ded8: Waiting 11:42:23 5c69ac0246d0: Verifying Checksum 11:42:23 5c69ac0246d0: Download complete 11:42:23 3a2ae6a8a46f: Verifying Checksum 11:42:23 3a2ae6a8a46f: Download complete 11:42:23 33b1e0a273af: Verifying Checksum 11:42:23 33b1e0a273af: Download complete 11:42:23 5d3b04190fa2: Verifying Checksum 11:42:23 5d3b04190fa2: Download complete 11:42:24 ec43610c2a17: Verifying Checksum 11:42:24 5eb5b503b376: Verifying Checksum 11:42:24 5eb5b503b376: Download complete 11:42:24 2f39f015ded8: Download complete 11:42:25 5eb5b503b376: Pull complete 11:42:25 5c69ac0246d0: Pull complete 11:42:25 ec43610c2a17: Pull complete 11:42:25 3a2ae6a8a46f: Pull complete 11:42:26 33b1e0a273af: Pull complete 11:42:26 5d3b04190fa2: Pull complete 11:42:30 2f39f015ded8: Pull complete 11:42:30 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 11:42:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:42:30 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:42:30 prd-ubuntu20.04-docker-8c-8g-5708 does not seem to be running inside a container 11:42:30 $ 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-1395 -v /w/workspace/gexfoundry_device-sdk-go_PR-1395:/w/workspace/gexfoundry_device-sdk-go_PR-1395:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1395@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1395@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 11:42:32 $ docker top c4538acfd021ff713b234624506a925866cae3e900dcfe18931aa8e61f680236 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:42:32 ---> job-cost.sh 11:42:32 lf-activate-venv: SKIPPING 11:42:32 INFO: No Stack... 11:42:32 INFO: Retrieving Pricing Info for: v3-standard-8 11:42:32 INFO: Archiving Costs [Pipeline] sh 11:42:33 + cat /w/workspace/gexfoundry_device-sdk-go_PR-1395/archives/cost.csv 11:42:33 + cut -d, -f6 [Pipeline] lock 11:42:33 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1395-5-stack-cost] 11:42:33 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1395-5-stack-cost] did not exist. Created. 11:42:33 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1395-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 11:42:33 + echo total: 0.2199999988079071 [Pipeline] stash 11:42:33 Stashed 1 file(s) [Pipeline] } 11:42:33 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1395-5-stack-cost] [Pipeline] // lock [Pipeline] } 11:42:33 $ docker stop --time=1 c4538acfd021ff713b234624506a925866cae3e900dcfe18931aa8e61f680236 11:42:34 $ docker rm -f --volumes c4538acfd021ff713b234624506a925866cae3e900dcfe18931aa8e61f680236 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 11:43:12 Running on prd-ubuntu20.04-docker-arm64-4c-16g-5709 in /w/workspace/gexfoundry_device-sdk-go_PR-1395 [Pipeline] { [Pipeline] ws 11:43:12 Running in /w/workspace/device-sdk-go/5 [Pipeline] { [Pipeline] checkout 11:43:12 The recommended git tool is: git 11:43:21 using credential edgex-jenkins-ssh 11:43:22 Cloning the remote Git repository 11:43:22 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 11:43:22 > git init /w/workspace/device-sdk-go/5 # timeout=10 11:43:22 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 11:43:22 > git --version # timeout=10 11:43:22 > git --version # 'git version 2.25.1' 11:43:22 using GIT_SSH to set credentials SSH Credentials for GitHub 11:43:22 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 11:43:24 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 11:43:24 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 11:43:26 Merging remotes/origin/main commit 6846a58e9a18fc50eb2597edee49cc2f283037fd into PR head commit 87f1280631e1bc9034406075f695943dded451d8 11:43:26 Merge succeeded, producing 87f1280631e1bc9034406075f695943dded451d8 11:43:26 Checking out Revision 87f1280631e1bc9034406075f695943dded451d8 (PR-1395) 11:43:25 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 11:43:25 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 11:43:25 using GIT_SSH to set credentials SSH Credentials for GitHub 11:43:25 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1395/head:refs/remotes/origin/PR-1395 +refs/heads/main:refs/remotes/origin/main # timeout=10 11:43:26 > git config core.sparsecheckout # timeout=10 11:43:26 > git checkout -f 87f1280631e1bc9034406075f695943dded451d8 # timeout=10 11:43:26 > git remote # timeout=10 11:43:26 > git config --get remote.origin.url # timeout=10 11:43:26 using GIT_SSH to set credentials SSH Credentials for GitHub 11:43:26 > git merge 6846a58e9a18fc50eb2597edee49cc2f283037fd # timeout=10 11:43:26 > git rev-parse HEAD^{commit} # timeout=10 11:43:26 > git config core.sparsecheckout # timeout=10 11:43:26 > git checkout -f 87f1280631e1bc9034406075f695943dded451d8 # timeout=10 11:43:27 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-messaging/v3" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 11:43:28 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 11:43:28 % Total % Received % Xferd Average Speed Time Time Time Current 11:43:28 Dload Upload Total Spent Left Speed 11:43:28 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 222k 0 --:--:-- --:--:-- --:--:-- 222k [Pipeline] sh 11:43:29 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 11:43:29 + + sudo teesudo /etc/docker/daemon.new jq 11:43:29 . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 11:43:29 { 11:43:29 "registry-mirrors": [ 11:43:29 "https://nexus3.edgexfoundry.org:10001" 11:43:29 ], 11:43:29 "bip": "10.250.0.254/24", 11:43:29 "hosts": [ 11:43:29 "tcp://0.0.0.0:5555", 11:43:29 "unix:///var/run/docker.sock" 11:43:29 ], 11:43:29 "mtu": 1458, 11:43:29 "selinux-enabled": true, 11:43:29 "seccomp-profile": "/etc/docker/seccomp.json" 11:43:29 } [Pipeline] sh 11:43:30 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 11:43:30 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:43:48 provisioning config files... 11:43:48 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/5@tmp/config10178543322766442053tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:43:49 ---> docker-login.sh 11:43:49 nexus3.edgexfoundry.org:10001 11:43:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:43:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:43:49 Configure a credential helper to remove this warning. See 11:43:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:43:49 11:43:49 Login Succeeded 11:43:49 nexus3.edgexfoundry.org:10002 11:43:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:43:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:43:50 Configure a credential helper to remove this warning. See 11:43:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:43:50 11:43:50 Login Succeeded 11:43:50 nexus3.edgexfoundry.org:10003 11:43:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:43:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:43:50 Configure a credential helper to remove this warning. See 11:43:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:43:50 11:43:50 Login Succeeded 11:43:50 nexus3.edgexfoundry.org:10004 11:43:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:43:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:43:50 Configure a credential helper to remove this warning. See 11:43:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:43:50 11:43:50 Login Succeeded 11:43:50 docker.io 11:43:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:43:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:43:51 Configure a credential helper to remove this warning. See 11:43:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:43:51 11:43:51 Login Succeeded 11:43:51 ---> docker-login.sh ends [Pipeline] } 11:43:51 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 11:43:52 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 11:43:52 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 11:43:52 ========================================================= 11:43:52 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 11:43:52 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:43:52 + 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 . 11:43:53 Sending build context to Docker daemon 5.812MB 11:43:53 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 11:43:53 Step 2/10 : FROM ${BASE} AS builder 11:43:53 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 11:43:53 af6eaf76a39c: Pulling fs layer 11:43:53 55522c791124: Pulling fs layer 11:43:53 ce5c4a1c91eb: Pulling fs layer 11:43:53 169dfbe0d373: Pulling fs layer 11:43:53 e1ff8fa3b103: Pulling fs layer 11:43:53 52ebb69f0ebf: Pulling fs layer 11:43:53 5abe8eddf0d5: Pulling fs layer 11:43:53 169dfbe0d373: Waiting 11:43:53 e1ff8fa3b103: Waiting 11:43:53 52ebb69f0ebf: Waiting 11:43:53 5abe8eddf0d5: Waiting 11:43:53 55522c791124: Verifying Checksum 11:43:53 55522c791124: Download complete 11:43:53 169dfbe0d373: Verifying Checksum 11:43:53 169dfbe0d373: Download complete 11:43:53 e1ff8fa3b103: Verifying Checksum 11:43:53 af6eaf76a39c: Download complete 11:43:54 5abe8eddf0d5: Verifying Checksum 11:43:54 5abe8eddf0d5: Download complete 11:43:55 ce5c4a1c91eb: Verifying Checksum 11:43:55 ce5c4a1c91eb: Download complete 11:43:55 52ebb69f0ebf: Verifying Checksum 11:43:55 52ebb69f0ebf: Download complete 11:43:56 af6eaf76a39c: Pull complete 11:43:57 55522c791124: Pull complete 11:44:09 ce5c4a1c91eb: Pull complete 11:44:09 169dfbe0d373: Pull complete 11:44:09 e1ff8fa3b103: Pull complete 11:44:16 52ebb69f0ebf: Pull complete 11:44:19 5abe8eddf0d5: Pull complete 11:44:19 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 11:44:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 11:44:19 ---> 6cb57ee374ae 11:44:19 Step 3/10 : ARG MAKE=make build 11:44:20 ---> Running in f143d4e3ce89 11:44:20 Removing intermediate container f143d4e3ce89 11:44:20 ---> 7fcba4cd1fb2 11:44:20 Step 4/10 : WORKDIR /device-sdk-go 11:44:20 ---> Running in d6623965af01 11:44:21 Removing intermediate container d6623965af01 11:44:21 ---> c5b4686fa87a 11:44:21 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 11:44:21 ---> Running in 6deda6b2b2bc 11:44:21 Removing intermediate container 6deda6b2b2bc 11:44:21 ---> ad4101366e88 11:44:21 Step 6/10 : RUN apk add --update --no-cache make git 11:44:21 ---> Running in 77fdbf964c6e 11:44:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 11:44:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 11:44:24 OK: 263 MiB in 53 packages 11:44:25 Removing intermediate container 77fdbf964c6e 11:44:25 ---> ecd1fb30492d 11:44:25 Step 7/10 : COPY go.mod vendor* ./ 11:44:27 ---> d4fde0a41860 11:44:27 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:44:27 ---> Running in e1e329f580ee 11:45:23 Removing intermediate container e1e329f580ee 11:45:23 ---> e8c813b40d25 11:45:23 Step 9/10 : COPY . . 11:45:24 ---> 805f6cdd30a1 11:45:24 Step 10/10 : RUN ${MAKE} 11:45:24 ---> Running in 11095fe3f3e7 11:45:25 noop 11:45:26 Removing intermediate container 11095fe3f3e7 11:45:26 ---> 7f2fd9825e0f 11:45:26 Successfully built 7f2fd9825e0f 11:45:26 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:45:26 + docker inspect -f . ci-base-image-arm64 11:45:26 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:45:26 prd-ubuntu20.04-docker-arm64-4c-16g-5709 does not seem to be running inside a container 11:45:26 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/5 -v /w/workspace/device-sdk-go/5:/w/workspace/device-sdk-go/5:rw,z -v /w/workspace/device-sdk-go/5@tmp:/w/workspace/device-sdk-go/5@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 ******** ci-base-image-arm64 cat 11:45:28 $ docker top 392bcaeff154e6bb5c781cd4785aaef74deb0154fb472e708e06d060919ca177 -eo pid,comm [Pipeline] { [Pipeline] sh 11:45:29 + go version 11:45:29 go version go1.20.2 linux/arm64 [Pipeline] } 11:45:29 $ docker stop --time=1 392bcaeff154e6bb5c781cd4785aaef74deb0154fb472e708e06d060919ca177 11:45:31 $ docker rm -f --volumes 392bcaeff154e6bb5c781cd4785aaef74deb0154fb472e708e06d060919ca177 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:45:31 + docker inspect -f . ci-base-image-arm64 11:45:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:45:31 prd-ubuntu20.04-docker-arm64-4c-16g-5709 does not seem to be running inside a container 11:45:31 $ 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/5 -v /w/workspace/device-sdk-go/5:/w/workspace/device-sdk-go/5:rw,z -v /w/workspace/device-sdk-go/5@tmp:/w/workspace/device-sdk-go/5@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 ******** ci-base-image-arm64 cat 11:45:32 $ docker top 86ed0bf53847c340d4f12d5d451776ba645d9e877cc6da84279ce794423585df -eo pid,comm [Pipeline] { [Pipeline] sh 11:45:33 + git config --global --add safe.directory /w/workspace/device-sdk-go/5 [Pipeline] fileExists [Pipeline] sh 11:45:34 + make test 11:45:34 go test -race -coverprofile=coverage.out ./... 11:46:20 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 11:48:12 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 11:48:12 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 11:48:12 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 11:48:12 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 11:48:12 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 11:48:22 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.318s coverage: 27.6% of statements 11:48:22 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.273s coverage: 78.9% of statements 11:48:35 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 11:48:35 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 11:48:35 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.398s coverage: 86.0% of statements 11:48:43 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 11:48:43 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.538s coverage: 75.9% of statements 11:48:48 ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] 11:48:49 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 11:48:49 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 11:48:50 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.287s coverage: 15.2% of statements 11:48:50 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.431s coverage: 68.5% of statements 11:48:54 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.461s coverage: 89.2% of statements 11:48:55 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 11:48:55 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.238s coverage: 5.5% of statements 11:48:56 WARNING: Linting skipped (not on x86_64 or linter not installed) 11:48:56 GO111MODULE=on go vet ./... 11:51:18 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 11:51:18 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 11:51:18 ./bin/test-attribution-txt.sh [Pipeline] echo 11:51:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 11:51:18 $ docker stop --time=1 86ed0bf53847c340d4f12d5d451776ba645d9e877cc6da84279ce794423585df 11:51:20 $ docker rm -f --volumes 86ed0bf53847c340d4f12d5d451776ba645d9e877cc6da84279ce794423585df [Pipeline] // withDockerContainer [Pipeline] sh 11:51:21 + sudo chown -R jenkins:jenkins . [Pipeline] stash 11:51:21 Warning: overwriting stash ‘coverage-report’ 11:51:22 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 11:51:22 + sudo chown -R jenkins:jenkins . [Pipeline] sh 11:51:23 + ls -al . 11:51:23 total 268 11:51:23 drwxrwxr-x 10 jenkins jenkins 4096 Mar 24 11:45 . 11:51:23 drwxrwxr-x 4 jenkins jenkins 4096 Mar 24 11:43 .. 11:51:23 -rw-rw-r-- 1 jenkins jenkins 140 Mar 24 11:43 .dockerignore 11:51:23 drwxrwxr-x 8 jenkins jenkins 4096 Mar 24 11:43 .git 11:51:23 drwxrwxr-x 2 jenkins jenkins 4096 Mar 24 11:43 .github 11:51:23 -rw-rw-r-- 1 jenkins jenkins 131 Mar 24 11:43 .gitignore 11:51:23 -rw-rw-r-- 1 jenkins jenkins 42 Mar 24 11:43 .golangci.yml 11:51:23 -rw-rw-r-- 1 jenkins jenkins 31677 Mar 24 11:43 CHANGELOG.md 11:51:23 -rw-rw-r-- 1 jenkins jenkins 677 Mar 24 11:43 GOVERNANCE.md 11:51:23 -rw-rw-r-- 1 jenkins jenkins 885 Mar 24 11:43 Jenkinsfile 11:51:23 -rw-rw-r-- 1 jenkins jenkins 11341 Mar 24 11:43 LICENSE 11:51:23 -rw-rw-r-- 1 jenkins jenkins 1714 Mar 24 11:43 Makefile 11:51:23 -rw-rw-r-- 1 jenkins jenkins 619 Mar 24 11:43 OWNERS.md 11:51:23 -rw-rw-r-- 1 jenkins jenkins 4891 Mar 24 11:43 README.md 11:51:23 -rw-rw-r-- 1 jenkins jenkins 5 Mar 24 11:40 VERSION 11:51:23 drwxrwxr-x 2 jenkins jenkins 4096 Mar 24 11:43 bin 11:51:23 -rw-r--r-- 1 jenkins jenkins 105812 Mar 24 11:48 coverage.out 11:51:23 drwxrwxr-x 5 jenkins jenkins 4096 Mar 24 11:43 example 11:51:23 -rw-rw-r-- 1 jenkins jenkins 3243 Mar 24 11:43 go.mod 11:51:23 -rw-rw-r-- 1 jenkins jenkins 30606 Mar 24 11:43 go.sum 11:51:23 drwxrwxr-x 12 jenkins jenkins 4096 Mar 24 11:43 internal 11:51:23 drwxrwxr-x 3 jenkins jenkins 4096 Mar 24 11:43 openapi 11:51:23 drwxrwxr-x 6 jenkins jenkins 4096 Mar 24 11:43 pkg 11:51:23 drwxrwxr-x 4 jenkins jenkins 4096 Mar 24 11:43 snap 11:51:23 -rw-rw-r-- 1 jenkins jenkins 222 Mar 24 11:43 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:51:23 + 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=87f1280631e1bc9034406075f695943dded451d8 --label arch=arm64 --label version=0.0.0 . 11:51:23 Sending build context to Docker daemon 5.918MB 11:51:23 Step 1/23 : ARG BASE=golang:1.20-alpine3.17 11:51:23 Step 2/23 : FROM ${BASE} AS builder 11:51:23 ---> 7f2fd9825e0f 11:51:23 Step 3/23 : ARG MAKE=make build 11:51:23 ---> Running in 62086a216e8f 11:51:24 Removing intermediate container 62086a216e8f 11:51:24 ---> a1014de05fb7 11:51:24 Step 4/23 : WORKDIR /device-sdk-go 11:51:24 ---> Running in 4a6c891711f1 11:51:24 Removing intermediate container 4a6c891711f1 11:51:24 ---> db675f418c3b 11:51:24 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 11:51:24 ---> Running in 088f2c070df8 11:51:25 Removing intermediate container 088f2c070df8 11:51:25 ---> 092c336ad41f 11:51:25 Step 6/23 : RUN apk add --update --no-cache make git 11:51:25 ---> Running in 8a30dc39358b 11:51:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 11:51:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 11:51:27 OK: 263 MiB in 53 packages 11:51:28 Removing intermediate container 8a30dc39358b 11:51:28 ---> 73ad8b1fb820 11:51:28 Step 7/23 : COPY go.mod vendor* ./ 11:51:28 ---> e5c081287824 11:51:28 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:51:28 ---> Running in 2fd7f7891415 11:51:31 Removing intermediate container 2fd7f7891415 11:51:31 ---> a734776bf41d 11:51:31 Step 9/23 : COPY . . 11:51:35 ---> 88d3bba63bb2 11:51:35 Step 10/23 : RUN ${MAKE} 11:51:35 ---> Running in 432976c15794 11:51:36 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 11:53:58 Removing intermediate container 432976c15794 11:53:58 ---> ddb32a01d233 11:53:58 Step 11/23 : FROM alpine:3.17 11:53:58 3.17: Pulling from library/alpine 11:53:58 af6eaf76a39c: Already exists 11:53:58 Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 11:53:58 Status: Downloaded newer image for alpine:3.17 11:53:58 ---> d74e625d9115 11:53:58 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 11:53:58 ---> Running in 1d6374123ad1 11:53:58 Removing intermediate container 1d6374123ad1 11:53:58 ---> 0035d638a1b1 11:53:58 Step 13/23 : RUN apk add --update --no-cache 11:53:58 ---> Running in 0079f8cad2b0 11:53:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 11:53:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 11:53:58 OK: 7 MiB in 15 packages 11:53:58 Removing intermediate container 0079f8cad2b0 11:53:58 ---> 876dc566d29e 11:53:58 Step 14/23 : WORKDIR / 11:53:58 ---> Running in a98653b74d1c 11:53:58 Removing intermediate container a98653b74d1c 11:53:58 ---> ddada3648e72 11:53:58 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 11:53:58 ---> 62e328385f2f 11:53:58 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 11:53:58 ---> dc6ddef77d5d 11:53:58 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 11:53:58 ---> ead439599e31 11:53:58 Step 18/23 : EXPOSE 59999 11:53:58 ---> Running in ce8ccd78bfb1 11:53:58 Removing intermediate container ce8ccd78bfb1 11:53:58 ---> 1a3e4da353a5 11:53:58 Step 19/23 : ENTRYPOINT ["/device-simple"] 11:53:58 ---> Running in cff71e6ac975 11:53:58 Removing intermediate container cff71e6ac975 11:53:58 ---> 4c7b09728279 11:53:58 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 11:53:58 ---> Running in c02ad6c1b69a 11:53:58 Removing intermediate container c02ad6c1b69a 11:53:58 ---> 80486f1509e8 11:53:58 Step 21/23 : LABEL arch=arm64 11:53:58 ---> Running in add85b148e07 11:53:58 Removing intermediate container add85b148e07 11:53:58 ---> 1e58be5bfab5 11:53:58 Step 22/23 : LABEL git_sha=87f1280631e1bc9034406075f695943dded451d8 11:53:58 ---> Running in 0016db58f3e3 11:53:58 Removing intermediate container 0016db58f3e3 11:53:58 ---> 9694d79e36e3 11:53:58 Step 23/23 : LABEL version=0.0.0 11:53:58 ---> Running in bfd989d3b868 11:53:58 Removing intermediate container bfd989d3b868 11:53:58 ---> 1e6cc39f6618 11:53:58 [Warning] One or more build-args [ARCH] were not consumed 11:53:58 Successfully built 1e6cc39f6618 11:53:58 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 11:53:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 11:53:58 11:53:58 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:53:58 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 11:53:58 arm64: Pulling from edgex-lftools-log-publisher 11:53:58 8998bd30e6a1: Pulling fs layer 11:53:58 04944245beec: Pulling fs layer 11:53:58 699f458cf7ca: Pulling fs layer 11:53:58 765212b225bb: Pulling fs layer 11:53:58 f23df028b6ca: Pulling fs layer 11:53:58 d65c8cfc05b1: Pulling fs layer 11:53:58 2437ff75d9bd: Pulling fs layer 11:53:58 f23df028b6ca: Waiting 11:53:58 d65c8cfc05b1: Waiting 11:53:58 2437ff75d9bd: Waiting 11:53:58 765212b225bb: Waiting 11:53:59 04944245beec: Verifying Checksum 11:53:59 04944245beec: Download complete 11:53:59 765212b225bb: Verifying Checksum 11:53:59 765212b225bb: Download complete 11:53:59 f23df028b6ca: Verifying Checksum 11:53:59 f23df028b6ca: Download complete 11:53:59 d65c8cfc05b1: Verifying Checksum 11:53:59 d65c8cfc05b1: Download complete 11:53:59 699f458cf7ca: Verifying Checksum 11:53:59 699f458cf7ca: Download complete 11:53:59 8998bd30e6a1: Verifying Checksum 11:53:59 8998bd30e6a1: Download complete 11:54:02 2437ff75d9bd: Verifying Checksum 11:54:02 2437ff75d9bd: Download complete 11:54:03 8998bd30e6a1: Pull complete 11:54:04 04944245beec: Pull complete 11:54:05 699f458cf7ca: Pull complete 11:54:05 765212b225bb: Pull complete 11:54:06 f23df028b6ca: Pull complete 11:54:06 d65c8cfc05b1: Pull complete 11:54:21 2437ff75d9bd: Pull complete 11:54:21 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 11:54:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 11:54:21 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:54:21 prd-ubuntu20.04-docker-arm64-4c-16g-5709 does not seem to be running inside a container 11:54:21 $ 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/5 -v /w/workspace/device-sdk-go/5:/w/workspace/device-sdk-go/5:rw,z -v /w/workspace/device-sdk-go/5@tmp:/w/workspace/device-sdk-go/5@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:arm64 cat 11:54:24 $ docker top 2b5f99c5661ac5cc0bd12f79436209d49f3a0394afec808a1aed0375298b0a34 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:54:25 ---> job-cost.sh 11:54:25 lf-activate-venv: SKIPPING 11:54:25 INFO: No Stack... 11:54:25 INFO: Retrieving Pricing Info for: v3-standard-4 11:54:26 INFO: Archiving Costs [Pipeline] sh 11:54:27 + cat /w/workspace/device-sdk-go/5/archives/cost.csv 11:54:27 + cut -d, -f6 [Pipeline] lock 11:54:27 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1395-5-stack-cost] 11:54:27 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1395-5-stack-cost] did not exist. Created. 11:54:27 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1395-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 11:54:27 /w/workspace/device-sdk-go/5@tmp/durable-664b9188/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 11:54:28 + echo total: 0.10999999940395355 [Pipeline] stash 11:54:28 Warning: overwriting stash ‘stack-cost’ 11:54:28 Stashed 1 file(s) [Pipeline] } 11:54:28 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1395-5-stack-cost] [Pipeline] // lock [Pipeline] } 11:54:28 $ docker stop --time=1 2b5f99c5661ac5cc0bd12f79436209d49f3a0394afec808a1aed0375298b0a34 11:54:30 $ docker rm -f --volumes 2b5f99c5661ac5cc0bd12f79436209d49f3a0394afec808a1aed0375298b0a34 [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 11:54:30 provisioning config files... 11:54:30 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1395@tmp/config6478357958488810368tmp [Pipeline] { [Pipeline] sh 11:54:30 + set +x 11:54:30 + bash -s -- 11:54:30 + curl -s https://codecov.io/bash 11:54:30 11:54:30 _____ _ 11:54:30 / ____| | | 11:54:30 | | ___ __| | ___ ___ _____ __ 11:54:30 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 11:54:30 | |___| (_) | (_| | __/ (_| (_) \ V / 11:54:30 \_____\___/ \__,_|\___|\___\___/ \_/ 11:54:30 Bash-1.0.6 11:54:30 11:54:30 11:54:30 ==> git version 2.25.1 found 11:54:30 ==> 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 11:54:30 Release-Date: 2020-01-08 11:54:30 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 11:54:30 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 11:54:30 ==> Jenkins CI detected. 11:54:30 current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1395 11:54:30 project root: . 11:54:30 --> token set from env 11:54:30 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 11:54:30 ==> Running gcov in . (disable via -X gcov) 11:54:30 ==> Python coveragepy not found 11:54:30 ==> Searching for coverage reports in: 11:54:30 + . 11:54:30 -> Found 1 reports 11:54:30 ==> Detecting git/mercurial file structure 11:54:30 ==> Reading reports 11:54:30 + ./coverage.out bytes=105812 11:54:30 ==> Appending adjustments 11:54:30 https://docs.codecov.io/docs/fixing-reports 11:54:31 + Found adjustments 11:54:31 ==> Gzipping contents 11:54:31 16K /tmp/codecov.G3Tj1Q.gz 11:54:31 ==> Uploading reports 11:54:31 url: https://codecov.io 11:54:31 query: branch=PR-1395&commit=87f1280631e1bc9034406075f695943dded451d8&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1395%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1395&job=&cmd_args= 11:54:31 -> Pinging Codecov 11:54:31 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1395&commit=87f1280631e1bc9034406075f695943dded451d8&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1395%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1395&job=&cmd_args= 11:54:31 -> Uploading to 11:54:31 https://storage.googleapis.com/codecov/v4/raw/2023-03-24/7E55EF52A471D76F132DFD9A03CDDE97/87f1280631e1bc9034406075f695943dded451d8/11cf5f12-dd83-40d5-bfe2-833050b6e37a.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230324%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230324T115431Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=07793821908c7d620f75a735f08dfb55f3b77be7e48b72eb94e0ef4deef07afc 11:54:31 % Total % Received % Xferd Average Speed Time Time Time Current 11:54:31 Dload Upload Total Spent Left Speed 11:54:31 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14993 0 0 100 14993 0 65186 --:--:-- --:--:-- --:--:-- 65186 11:54:31 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/87f1280631e1bc9034406075f695943dded451d8 [Pipeline] } 11:54:31 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 11:54:32 + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1395/archives ] 11:54:32 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1395/archives 11:54:32 total 16 11:54:32 drwxr-xr-x 3 root root 4096 Mar 24 11:42 . 11:54:32 drwxrwxr-x 12 jenkins jenkins 4096 Mar 24 11:42 .. 11:54:32 drwxr-xr-x 2 root root 4096 Mar 24 11:42 cost 11:54:32 -rw-r--r-- 1 root root 86 Mar 24 11:42 cost.csv 11:54:32 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1395/archives 11:54:32 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1395/archives 11:54:32 total 16 11:54:32 drwxr-xr-x 3 jenkins jenkins 4096 Mar 24 11:42 . 11:54:32 drwxrwxr-x 12 jenkins jenkins 4096 Mar 24 11:42 .. 11:54:32 drwxr-xr-x 2 jenkins jenkins 4096 Mar 24 11:42 cost 11:54:32 -rw-r--r-- 1 jenkins jenkins 86 Mar 24 11:42 cost.csv [Pipeline] libraryResource [Pipeline] sh 11:54:32 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 11:54:33 ---> package-listing.sh 11:54:33 ++ facter osfamily 11:54:33 ++ tr '[:upper:]' '[:lower:]' 11:54:33 + OS_FAMILY=debian 11:54:33 + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1395 11:54:33 + START_PACKAGES=/tmp/packages_start.txt 11:54:33 + END_PACKAGES=/tmp/packages_end.txt 11:54:33 + DIFF_PACKAGES=/tmp/packages_diff.txt 11:54:33 + PACKAGES=/tmp/packages_start.txt 11:54:33 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1395 ']' 11:54:33 + PACKAGES=/tmp/packages_end.txt 11:54:33 + case "${OS_FAMILY}" in 11:54:33 + grep '^ii' 11:54:33 + dpkg -l 11:54:33 + '[' -f /tmp/packages_start.txt ']' 11:54:33 + '[' -f /tmp/packages_end.txt ']' 11:54:33 + diff /tmp/packages_start.txt /tmp/packages_end.txt 11:54:33 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1395 ']' 11:54:33 + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1395/archives/ 11:54:33 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1395/archives/ [Pipeline] echo 11:54:33 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-1395/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 11:54:33 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:54:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:54:34 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:54:34 prd-ubuntu20.04-docker-8c-8g-5708 does not seem to be running inside a container 11:54:34 $ 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-1395/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-1395 -v /w/workspace/gexfoundry_device-sdk-go_PR-1395:/w/workspace/gexfoundry_device-sdk-go_PR-1395:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1395@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1395@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 11:54:34 $ docker top ba5bb56ebd93b3dee522afbe3d82e0bf2310dee3cb1a305d90071b14f4b68fc1 -eo pid,comm [Pipeline] { [Pipeline] sh 11:54:35 + touch /tmp/pre-build-complete [Pipeline] sh 11:54:35 + mkdir -p /var/log/sysstat [Pipeline] sh 11:54:35 + ls /var/log/sa-host 11:54:35 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:54:35 provisioning config files... 11:54:35 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1395@tmp/config781817620370794237tmp [Pipeline] { [Pipeline] echo 11:54:35 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 11:54:36 ---> create-netrc.sh [Pipeline] } 11:54:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 11:54:36 ---> python-tools-install.sh [Pipeline] echo 11:54:36 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 11:54:36 ---> sudo-logs.sh 11:54:36 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 11:54:36 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 11:54:36 ---> job-cost.sh 11:54:36 lf-activate-venv: SKIPPING 11:54:36 DEBUG: total: 0.2199999988079071 11:54:36 INFO: Retrieving Stack Cost... 11:54:37 INFO: Retrieving Pricing Info for: v3-standard-8 11:54:37 INFO: Archiving Costs [Pipeline] echo 11:54:37 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 11:54:38 ---> logs-deploy.sh 11:54:38 lf-activate-venv: SKIPPING 11:54:38 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1395/5 11:54:38 INFO: archiving workspace using pattern(s): 11:54:39 Archives upload complete. 11:54:39 INFO: archiving logs to Nexus