Pull request #1443 reopened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 61ec8093b165144a006433c656a45b83127e485c+1f684668525fd42346bcfc2ecf4c1133232fc3c4 (6b9727af930064b2e6cad1048fccd5728cf49dee) 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-ssh3993323272259874030.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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-ssh13687743298711945411.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 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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-1443/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-1443/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13243897062200684699.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 # timeout=10 Commit message: "fix: bug with isLTS relying on env.GIT_BRANCH inside cd-management repo (#429)" > 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-ssh11601841299978338771.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-1443/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-1443/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh79232917336002354.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v3]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-12346 in /w/workspace/gexfoundry_device-sdk-go_PR-1443 [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-1443 # 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/1443/head:refs/remotes/origin/PR-1443 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 1f684668525fd42346bcfc2ecf4c1133232fc3c4 into PR head commit 61ec8093b165144a006433c656a45b83127e485c Merge succeeded, producing 61ec8093b165144a006433c656a45b83127e485c Checking out Revision 61ec8093b165144a006433c656a45b83127e485c (PR-1443) Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3" > git config core.sparsecheckout # timeout=10 > git checkout -f 61ec8093b165144a006433c656a45b83127e485c # 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 1f684668525fd42346bcfc2ecf4c1133232fc3c4 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 61ec8093b165144a006433c656a45b83127e485c # timeout=10 > git rev-list --no-walk 61ec8093b165144a006433c656a45b83127e485c # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 09:13:29 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 09:13:29 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 09:13:29 ========================================================= 09:13:29 EdgeX Global Pipelines Version Info 09:13:29 ========================================================= [Pipeline] libraryResource [Pipeline] sh 09:13:30 ------------------- 09:13:30 stable info: 09:13:30 ------------------- 09:13:30 Commited By: Bill Mahoney bill.mahoney@intel.com 09:13:30 Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 09:13:30 Message: update stable to v1.0.248 09:13:30 ------------------- 09:13:30 experimental info: 09:13:30 ------------------- 09:13:30 Commited By: **** collab-it+edgex@linuxfoundation.org 09:13:30 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 09:13:30 Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 09:13:30 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 09:13:30 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 09:13:30 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 09:13:30 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 09:13:30 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 09:13:30 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 09:13:31 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 09:13:31 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 09:13:31 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 09:13:31 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 09:13:31 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 09:13:31 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 09:13:31 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 09:13:31 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 09:13:31 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 09:13:31 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 09:13:31 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 09:13:31 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 09:13:31 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 09:13:31 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 09:13:31 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 09:13:31 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo 09:13:31 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 09:13:31 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 09:13:31 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 09:13:31 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 09:13:31 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 09:13:31 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1443 [Pipeline] echo 09:13:31 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1443 [Pipeline] echo 09:13:31 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1443 [Pipeline] echo 09:13:31 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 61ec8093b165144a006433c656a45b83127e485c [Pipeline] echo 09:13:31 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 61ec809 [Pipeline] echo 09:13:31 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:13:31 provisioning config files... 09:13:31 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1443@tmp/config16899746227596696324tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:13:31 ---> docker-login.sh 09:13:31 nexus3.edgexfoundry.org:10001 09:13:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:13:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:13:32 Configure a credential helper to remove this warning. See 09:13:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:13:32 09:13:32 Login Succeeded 09:13:32 nexus3.edgexfoundry.org:10002 09:13:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:13:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:13:32 Configure a credential helper to remove this warning. See 09:13:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:13:32 09:13:32 Login Succeeded 09:13:32 nexus3.edgexfoundry.org:10003 09:13:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:13:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:13:32 Configure a credential helper to remove this warning. See 09:13:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:13:32 09:13:32 Login Succeeded 09:13:32 nexus3.edgexfoundry.org:10004 09:13:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:13:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:13:32 Configure a credential helper to remove this warning. See 09:13:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:13:32 09:13:32 Login Succeeded 09:13:32 docker.io 09:13:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:13:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:13:32 Configure a credential helper to remove this warning. See 09:13:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:13:32 09:13:32 Login Succeeded 09:13:32 ---> docker-login.sh ends [Pipeline] } 09:13:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 09:13:32 + git rev-list -1 --merges 61ec8093b165144a006433c656a45b83127e485c~1..61ec8093b165144a006433c656a45b83127e485c [Pipeline] echo 09:13:32 -----------> git rev-list -1 --merges 61ec8093b165144a006433c656a45b83127e485c~1..61ec8093b165144a006433c656a45b83127e485c 61ec8093b165144a006433c656a45b83127e485c [false] [Pipeline] sh 09:13:33 + git log --format=format:%s -1 61ec8093b165144a006433c656a45b83127e485c [Pipeline] echo 09:13:33 ========================================================= 09:13:33 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 09:13:33 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 09:13:33 + git log --format=format:%s -1 61ec8093b165144a006433c656a45b83127e485c [Pipeline] echo 09:13:33 [semverPrep] GIT_COMMIT: 61ec8093b165144a006433c656a45b83127e485c, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3 [Pipeline] echo 09:13:33 [semverPrep] This is not a build commit. [Pipeline] sh 09:13:34 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 09:13:34 + grep -v github /etc/ssh/ssh_known_hosts 09:13:34 + [ -e /tmp/ssh_known_hosts ] 09:13:34 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 09:13:34 + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 09:13:34 sudo tee -a /etc/ssh/ssh_known_hosts 09:13:34 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:13:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:13:34 09:13:34 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:13:34 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:13:34 0.1.4: Pulling from edgex-devops/py-git-semver 09:13:34 b85a868b505f: Pulling fs layer 09:13:34 e2be974225ed: Pulling fs layer 09:13:34 339a4e72a1f5: Pulling fs layer 09:13:34 988bab9f4d93: Pulling fs layer 09:13:34 1469e6f7b9e6: Pulling fs layer 09:13:34 eaf3925da568: Pulling fs layer 09:13:34 bab4dde63d76: Pulling fs layer 09:13:34 bde34c3a00c8: Pulling fs layer 09:13:34 b352a97aabf1: Pulling fs layer 09:13:34 4872d77fe225: Pulling fs layer 09:13:34 5851b861e8e6: Pulling fs layer 09:13:34 b352a97aabf1: Waiting 09:13:34 bab4dde63d76: Waiting 09:13:34 4872d77fe225: Waiting 09:13:34 1469e6f7b9e6: Waiting 09:13:34 eaf3925da568: Waiting 09:13:34 bde34c3a00c8: Waiting 09:13:34 988bab9f4d93: Waiting 09:13:34 e2be974225ed: Verifying Checksum 09:13:34 e2be974225ed: Download complete 09:13:34 988bab9f4d93: Download complete 09:13:34 1469e6f7b9e6: Verifying Checksum 09:13:34 1469e6f7b9e6: Download complete 09:13:34 339a4e72a1f5: Download complete 09:13:34 eaf3925da568: Verifying Checksum 09:13:34 eaf3925da568: Download complete 09:13:34 bde34c3a00c8: Verifying Checksum 09:13:34 bde34c3a00c8: Download complete 09:13:34 b352a97aabf1: Download complete 09:13:34 4872d77fe225: Download complete 09:13:34 5851b861e8e6: Verifying Checksum 09:13:34 5851b861e8e6: Download complete 09:13:34 b85a868b505f: Verifying Checksum 09:13:34 b85a868b505f: Download complete 09:13:35 bab4dde63d76: Verifying Checksum 09:13:35 bab4dde63d76: Download complete 09:13:36 b85a868b505f: Pull complete 09:13:36 e2be974225ed: Pull complete 09:13:37 339a4e72a1f5: Pull complete 09:13:37 988bab9f4d93: Pull complete 09:13:37 1469e6f7b9e6: Pull complete 09:13:37 eaf3925da568: Pull complete 09:13:39 bab4dde63d76: Pull complete 09:13:39 bde34c3a00c8: Pull complete 09:13:39 b352a97aabf1: Pull complete 09:13:39 4872d77fe225: Pull complete 09:13:39 5851b861e8e6: Pull complete 09:13:39 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 09:13:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:13:39 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:13:39 prd-ubuntu20.04-docker-8c-8g-12346 does not seem to be running inside a container 09:13:39 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1443 -v /w/workspace/gexfoundry_device-sdk-go_PR-1443:/w/workspace/gexfoundry_device-sdk-go_PR-1443:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1443@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1443@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 09:13:41 $ docker top 5d62d2dba9b2aac44aab824cb9f62fb5dc100bf30cb44a622998f938fd375939 -eo pid,comm 09:13:41 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). 09:13:41 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:13:41 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:13:41 [ssh-agent] Looking for ssh-agent implementation... 09:13:41 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:13:41 $ docker exec 5d62d2dba9b2aac44aab824cb9f62fb5dc100bf30cb44a622998f938fd375939 ssh-agent 09:13:41 SSH_AUTH_SOCK=/tmp/ssh-GU9UOgQyY0oO/agent.31 09:13:41 SSH_AGENT_PID=38 09:13:41 Running ssh-add (command line suppressed) 09:13:42 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1443@tmp/private_key_415574838655842624.key (/w/workspace/gexfoundry_device-sdk-go_PR-1443@tmp/private_key_415574838655842624.key) 09:13:42 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:13:42 + git tag --points-at HEAD [Pipeline] } 09:13:42 $ docker exec --env ******** --env ******** 5d62d2dba9b2aac44aab824cb9f62fb5dc100bf30cb44a622998f938fd375939 ssh-agent -k 09:13:42 unset SSH_AUTH_SOCK; 09:13:42 unset SSH_AGENT_PID; 09:13:42 echo Agent pid 38 killed; 09:13:42 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 09:13:42 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:13:42 [ssh-agent] Looking for ssh-agent implementation... 09:13:42 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:13:42 $ docker exec 5d62d2dba9b2aac44aab824cb9f62fb5dc100bf30cb44a622998f938fd375939 ssh-agent 09:13:42 SSH_AUTH_SOCK=/tmp/ssh-ozjERt9JnrPa/agent.70 09:13:42 SSH_AGENT_PID=76 09:13:42 Running ssh-add (command line suppressed) 09:13:42 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1443@tmp/private_key_5197283064077018138.key (/w/workspace/gexfoundry_device-sdk-go_PR-1443@tmp/private_key_5197283064077018138.key) 09:13:42 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:13:43 + git semver init 09:13:43 2023-05-02 09:13:43,335 [run_init] DEBUG init version:0.0.0 force:False 09:13:43 2023-05-02 09:13:43,336 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1443/.semver 09:13:43 2023-05-02 09:13:43,336 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1443/.semver 09:13:43 2023-05-02 09:13:43,337 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1443/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1443, universal_newlines=False, shell=None, istream=None) 09:13:44 2023-05-02 09:13:44,254 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1443/.git/info/exclude 09:13:44 2023-05-02 09:13:44,254 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1443/.semver/PR-1443 with force:False 09:13:44 2023-05-02 09:13:44,254 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1443/.semver/PR-1443 09:13:44 2023-05-02 09:13:44,258 [execute] INFO git cat-file --batch-check 09:13:44 2023-05-02 09:13:44,259 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1443/.semver, universal_newlines=False, shell=None, istream=) 09:13:44 2023-05-02 09:13:44,265 [execute] INFO git cat-file --batch 09:13:44 2023-05-02 09:13:44,266 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1443/.semver, universal_newlines=False, shell=None, istream=) 09:13:44 2023-05-02 09:13:44,271 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1443/.semver/PR-1443 09:13:44 0.0.0 [Pipeline] } 09:13:44 $ docker exec --env ******** --env ******** 5d62d2dba9b2aac44aab824cb9f62fb5dc100bf30cb44a622998f938fd375939 ssh-agent -k 09:13:44 unset SSH_AUTH_SOCK; 09:13:44 unset SSH_AGENT_PID; 09:13:44 echo Agent pid 76 killed; 09:13:44 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:13:44 + git semver [Pipeline] } 09:13:45 $ docker stop --time=1 5d62d2dba9b2aac44aab824cb9f62fb5dc100bf30cb44a622998f938fd375939 09:13:46 $ docker rm -f --volumes 5d62d2dba9b2aac44aab824cb9f62fb5dc100bf30cb44a622998f938fd375939 [Pipeline] // withDockerContainer [Pipeline] sh 09:13:46 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 09:13:46 Stashed 1 file(s) [Pipeline] echo 09:13:46 [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 09:13:47 provisioning config files... 09:13:47 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1443@tmp/config10802622219286925700tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:13:47 ---> docker-login.sh 09:13:47 nexus3.edgexfoundry.org:10001 09:13:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:13:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:13:47 Configure a credential helper to remove this warning. See 09:13:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:13:47 09:13:47 Login Succeeded 09:13:47 nexus3.edgexfoundry.org:10002 09:13:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:13:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:13:47 Configure a credential helper to remove this warning. See 09:13:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:13:47 09:13:47 Login Succeeded 09:13:47 nexus3.edgexfoundry.org:10003 09:13:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:13:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:13:47 Configure a credential helper to remove this warning. See 09:13:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:13:47 09:13:47 Login Succeeded 09:13:47 nexus3.edgexfoundry.org:10004 09:13:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:13:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:13:47 Configure a credential helper to remove this warning. See 09:13:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:13:47 09:13:47 Login Succeeded 09:13:47 docker.io 09:13:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:13:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:13:47 Configure a credential helper to remove this warning. See 09:13:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:13:47 09:13:47 Login Succeeded 09:13:47 ---> docker-login.sh ends [Pipeline] } 09:13:47 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 09:13:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:13:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:13:47 ========================================================= 09:13:47 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 09:13:47 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:13:48 + 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 . 09:13:48 Sending build context to Docker daemon 11.06MB 09:13:48 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 09:13:48 Step 2/10 : FROM ${BASE} AS builder 09:13:48 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 09:13:48 f56be85fc22e: Pulling fs layer 09:13:48 85791d961cd3: Pulling fs layer 09:13:48 d694b5ae8c79: Pulling fs layer 09:13:48 9f32a84ed3da: Pulling fs layer 09:13:48 4d19c01a9841: Pulling fs layer 09:13:48 9325e15d5711: Pulling fs layer 09:13:48 556b6ee489ea: Pulling fs layer 09:13:48 c5a4b2cf53e6: Pulling fs layer 09:13:48 9f32a84ed3da: Waiting 09:13:48 c5a4b2cf53e6: Waiting 09:13:48 4d19c01a9841: Waiting 09:13:48 556b6ee489ea: Waiting 09:13:48 9325e15d5711: Waiting 09:13:48 85791d961cd3: Verifying Checksum 09:13:48 85791d961cd3: Download complete 09:13:48 9f32a84ed3da: Verifying Checksum 09:13:48 9f32a84ed3da: Download complete 09:13:48 4d19c01a9841: Verifying Checksum 09:13:48 4d19c01a9841: Download complete 09:13:48 f56be85fc22e: Verifying Checksum 09:13:48 f56be85fc22e: Download complete 09:13:48 9325e15d5711: Verifying Checksum 09:13:48 9325e15d5711: Download complete 09:13:48 f56be85fc22e: Pull complete 09:13:48 85791d961cd3: Pull complete 09:13:49 c5a4b2cf53e6: Verifying Checksum 09:13:49 d694b5ae8c79: Verifying Checksum 09:13:49 d694b5ae8c79: Download complete 09:13:49 556b6ee489ea: Verifying Checksum 09:13:49 556b6ee489ea: Download complete 09:13:52 d694b5ae8c79: Pull complete 09:13:52 9f32a84ed3da: Pull complete 09:13:52 4d19c01a9841: Pull complete 09:13:52 9325e15d5711: Pull complete 09:13:55 556b6ee489ea: Pull complete 09:13:55 c5a4b2cf53e6: Pull complete 09:13:56 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 09:13:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 09:13:56 ---> c4be618373d6 09:13:56 Step 3/10 : ARG MAKE=make build 09:13:58 ---> Running in 58196c0edc7c 09:13:58 Removing intermediate container 58196c0edc7c 09:13:58 ---> 47bd90e783a6 09:13:58 Step 4/10 : WORKDIR /device-sdk-go 09:13:58 ---> Running in 359e44ab338e 09:13:58 Removing intermediate container 359e44ab338e 09:13:58 ---> ff82ea4503f5 09:13:58 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 09:13:58 ---> Running in 9965436db42c 09:13:58 Removing intermediate container 9965436db42c 09:13:58 ---> 5b70baba29bc 09:13:58 Step 6/10 : RUN apk add --update --no-cache make git 09:13:58 ---> Running in b8007023235b 09:13:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 09:13:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 09:13:59 OK: 265 MiB in 53 packages 09:13:59 Removing intermediate container b8007023235b 09:13:59 ---> 16cddbf2b592 09:13:59 Step 7/10 : COPY go.mod vendor* ./ 09:13:59 ---> bc9ec6a72565 09:13:59 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:13:59 ---> Running in e5e85f5a9856 09:14:02 Still waiting to schedule task 09:14:02 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 09:14:26 Removing intermediate container e5e85f5a9856 09:14:26 ---> 0f90eb8c2ebe 09:14:26 Step 9/10 : COPY . . 09:14:26 ---> e5c5eb8c67fc 09:14:26 Step 10/10 : RUN ${MAKE} 09:14:26 ---> Running in d960ab88144d 09:14:26 noop 09:14:26 Removing intermediate container d960ab88144d 09:14:26 ---> 90090a2ee0ac 09:14:26 Successfully built 90090a2ee0ac 09:14:26 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:14:26 + docker inspect -f . ci-base-image-x86_64 09:14:26 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:14:26 prd-ubuntu20.04-docker-8c-8g-12346 does not seem to be running inside a container 09:14:26 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1443 -v /w/workspace/gexfoundry_device-sdk-go_PR-1443:/w/workspace/gexfoundry_device-sdk-go_PR-1443:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1443@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1443@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 09:14:27 $ docker top 0718513f80ea6ff67462a5761ba36070d5a57aab65cd9f6c41bebdae1bf1c011 -eo pid,comm [Pipeline] { [Pipeline] sh 09:14:27 + go version 09:14:27 go version go1.20.2 linux/amd64 [Pipeline] } 09:14:27 $ docker stop --time=1 0718513f80ea6ff67462a5761ba36070d5a57aab65cd9f6c41bebdae1bf1c011 09:14:28 $ docker rm -f --volumes 0718513f80ea6ff67462a5761ba36070d5a57aab65cd9f6c41bebdae1bf1c011 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:14:29 + docker inspect -f . ci-base-image-x86_64 09:14:29 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:14:29 prd-ubuntu20.04-docker-8c-8g-12346 does not seem to be running inside a container 09:14:29 $ 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-1443 -v /w/workspace/gexfoundry_device-sdk-go_PR-1443:/w/workspace/gexfoundry_device-sdk-go_PR-1443:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1443@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1443@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 09:14:29 $ docker top d2bacd69bdd4544791e258ca6cb3aa3ae1fd453e929f20fe9cb13582e4ad222d -eo pid,comm [Pipeline] { [Pipeline] sh 09:14:29 + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1443 [Pipeline] fileExists [Pipeline] sh 09:14:30 + make test 09:14:30 go test -race -coverprofile=coverage.out ./... 09:14:38 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 09:14:53 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 09:14:53 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 09:14:53 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 09:14:53 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 09:14:53 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 09:14:53 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.067s coverage: 27.6% of statements 09:14:53 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.060s coverage: 80.2% of statements 09:14:53 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 09:14:53 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 09:14:53 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.082s coverage: 86.0% of statements 09:14:53 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 09:14:53 ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] 09:14:53 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.100s coverage: 77.5% of statements 09:14:53 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 09:14:53 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 09:14:54 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 09:14:56 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.068s coverage: 14.6% of statements 09:14:56 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.080s coverage: 68.5% of statements 09:14:56 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.115s coverage: 89.2% of statements 09:14:56 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.064s coverage: 5.5% of statements 09:15:18 GO111MODULE=on go vet ./... 09:15:22 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 09:15:22 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 09:15:22 ./bin/test-attribution-txt.sh [Pipeline] echo 09:15:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 09:15:22 $ docker stop --time=1 d2bacd69bdd4544791e258ca6cb3aa3ae1fd453e929f20fe9cb13582e4ad222d 09:15:24 $ docker rm -f --volumes d2bacd69bdd4544791e258ca6cb3aa3ae1fd453e929f20fe9cb13582e4ad222d [Pipeline] // withDockerContainer [Pipeline] sh 09:15:24 + sudo chown -R jenkins:jenkins . [Pipeline] stash 09:15:25 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 09:15:25 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:15:25 + ls -al . 09:15:25 total 272 09:15:25 drwxrwxr-x 11 jenkins jenkins 4096 May 2 09:14 . 09:15:25 drwxrwxr-x 4 jenkins jenkins 4096 May 2 09:13 .. 09:15:25 -rw-rw-r-- 1 jenkins jenkins 140 May 2 09:13 .dockerignore 09:15:25 drwxrwxr-x 8 jenkins jenkins 4096 May 2 09:13 .git 09:15:25 drwxrwxr-x 2 jenkins jenkins 4096 May 2 09:13 .github 09:15:25 -rw-rw-r-- 1 jenkins jenkins 131 May 2 09:13 .gitignore 09:15:25 -rw-rw-r-- 1 jenkins jenkins 42 May 2 09:13 .golangci.yml 09:15:25 drwxr-xr-x 3 jenkins jenkins 4096 May 2 09:13 .semver 09:15:25 -rw-rw-r-- 1 jenkins jenkins 31677 May 2 09:13 CHANGELOG.md 09:15:25 -rw-rw-r-- 1 jenkins jenkins 677 May 2 09:13 GOVERNANCE.md 09:15:25 -rw-rw-r-- 1 jenkins jenkins 885 May 2 09:13 Jenkinsfile 09:15:25 -rw-rw-r-- 1 jenkins jenkins 11341 May 2 09:13 LICENSE 09:15:25 -rw-rw-r-- 1 jenkins jenkins 1714 May 2 09:13 Makefile 09:15:25 -rw-rw-r-- 1 jenkins jenkins 619 May 2 09:13 OWNERS.md 09:15:25 -rw-rw-r-- 1 jenkins jenkins 4891 May 2 09:13 README.md 09:15:25 -rw-rw-r-- 1 jenkins jenkins 5 May 2 09:13 VERSION 09:15:25 drwxrwxr-x 2 jenkins jenkins 4096 May 2 09:13 bin 09:15:25 -rw-r--r-- 1 jenkins jenkins 106119 May 2 09:14 coverage.out 09:15:25 drwxrwxr-x 5 jenkins jenkins 4096 May 2 09:13 example 09:15:25 -rw-rw-r-- 1 jenkins jenkins 3246 May 2 09:13 go.mod 09:15:25 -rw-rw-r-- 1 jenkins jenkins 30896 May 2 09:13 go.sum 09:15:25 drwxrwxr-x 12 jenkins jenkins 4096 May 2 09:13 internal 09:15:25 drwxrwxr-x 3 jenkins jenkins 4096 May 2 09:13 openapi 09:15:25 drwxrwxr-x 6 jenkins jenkins 4096 May 2 09:13 pkg 09:15:25 drwxrwxr-x 4 jenkins jenkins 4096 May 2 09:13 snap 09:15:25 -rw-rw-r-- 1 jenkins jenkins 222 May 2 09:13 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:15:26 + 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=61ec8093b165144a006433c656a45b83127e485c --label arch=amd64 --label version=0.0.0 . 09:15:26 Sending build context to Docker daemon 11.17MB 09:15:26 Step 1/23 : ARG BASE=golang:1.20-alpine3.17 09:15:26 Step 2/23 : FROM ${BASE} AS builder 09:15:26 ---> 90090a2ee0ac 09:15:26 Step 3/23 : ARG MAKE=make build 09:15:26 ---> Running in 1013870da4d1 09:15:26 Removing intermediate container 1013870da4d1 09:15:26 ---> 6002a335ea9d 09:15:26 Step 4/23 : WORKDIR /device-sdk-go 09:15:26 ---> Running in 8ec942cec64d 09:15:26 Removing intermediate container 8ec942cec64d 09:15:26 ---> cb095680900e 09:15:26 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 09:15:26 ---> Running in e7c5f1988210 09:15:26 Removing intermediate container e7c5f1988210 09:15:26 ---> f537b8e0a0f7 09:15:26 Step 6/23 : RUN apk add --update --no-cache make git 09:15:26 ---> Running in 4314fc723d01 09:15:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 09:15:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 09:15:27 OK: 265 MiB in 53 packages 09:15:27 Removing intermediate container 4314fc723d01 09:15:27 ---> 725f41421b67 09:15:27 Step 7/23 : COPY go.mod vendor* ./ 09:15:27 ---> 946947544d3e 09:15:27 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:15:27 ---> Running in 43100e27e3d6 09:15:28 Removing intermediate container 43100e27e3d6 09:15:28 ---> 718272991a40 09:15:28 Step 9/23 : COPY . . 09:15:29 ---> 2b4960833bb3 09:15:29 Step 10/23 : RUN ${MAKE} 09:15:29 ---> Running in d9f579c3389f 09:15:29 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 09:15:47 Running on prd-ubuntu20.04-docker-arm64-4c-16g-12347 in /w/workspace/gexfoundry_device-sdk-go_PR-1443 [Pipeline] { [Pipeline] ws 09:15:47 Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout 09:15:47 The recommended git tool is: git 09:15:47 Removing intermediate container d9f579c3389f 09:15:47 ---> b9e0ca8ad023 09:15:47 Step 11/23 : FROM alpine:3.17 09:15:48 3.17: Pulling from library/alpine 09:15:48 f56be85fc22e: Already exists 09:15:48 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 09:15:48 Status: Downloaded newer image for alpine:3.17 09:15:48 ---> 9ed4aefc74f6 09:15:48 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 09:15:48 ---> Running in ddc16e48560f 09:15:48 Removing intermediate container ddc16e48560f 09:15:48 ---> cf53d15af4c9 09:15:48 Step 13/23 : RUN apk add --update --no-cache 09:15:48 ---> Running in 078e4c24552b 09:15:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 09:15:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 09:15:48 OK: 7 MiB in 15 packages 09:15:49 Removing intermediate container 078e4c24552b 09:15:49 ---> db396e40a3a7 09:15:49 Step 14/23 : WORKDIR / 09:15:49 ---> Running in 090a56b9ac44 09:15:49 Removing intermediate container 090a56b9ac44 09:15:49 ---> e19f624f452b 09:15:49 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 09:15:49 ---> c29db51f1f13 09:15:49 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 09:15:50 ---> 7c089bb0fc52 09:15:50 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 09:15:50 ---> cc9a1e0649b5 09:15:50 Step 18/23 : EXPOSE 59999 09:15:50 ---> Running in 35b1ee05fba0 09:15:50 Removing intermediate container 35b1ee05fba0 09:15:50 ---> 41feca5e54be 09:15:50 Step 19/23 : ENTRYPOINT ["/device-simple"] 09:15:50 ---> Running in 8ad10f0eef7d 09:15:50 Removing intermediate container 8ad10f0eef7d 09:15:50 ---> e7449c6ab560 09:15:50 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 09:15:50 ---> Running in fedead71213a 09:15:50 Removing intermediate container fedead71213a 09:15:50 ---> 4fa2e2d03d57 09:15:50 Step 21/23 : LABEL arch=amd64 09:15:50 ---> Running in 7ab7c0408932 09:15:50 Removing intermediate container 7ab7c0408932 09:15:50 ---> fa12f3f8dcb4 09:15:50 Step 22/23 : LABEL git_sha=61ec8093b165144a006433c656a45b83127e485c 09:15:50 ---> Running in 77dcf6d25518 09:15:50 Removing intermediate container 77dcf6d25518 09:15:50 ---> 9d4e8fdfd706 09:15:50 Step 23/23 : LABEL version=0.0.0 09:15:50 ---> Running in 58a2c87f2d97 09:15:50 Removing intermediate container 58a2c87f2d97 09:15:50 ---> afb95d36967d 09:15:50 [Warning] One or more build-args [ARCH] were not consumed 09:15:50 Successfully built afb95d36967d 09:15:50 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 09:15:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:15:51 09:15:51 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:15:51 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:15:51 latest: Pulling from edgex-lftools-log-publisher 09:15:51 5eb5b503b376: Pulling fs layer 09:15:51 5c69ac0246d0: Pulling fs layer 09:15:51 ec43610c2a17: Pulling fs layer 09:15:51 3a2ae6a8a46f: Pulling fs layer 09:15:51 33b1e0a273af: Pulling fs layer 09:15:51 5d3b04190fa2: Pulling fs layer 09:15:51 2f39f015ded8: Pulling fs layer 09:15:51 33b1e0a273af: Waiting 09:15:51 5d3b04190fa2: Waiting 09:15:51 3a2ae6a8a46f: Waiting 09:15:51 2f39f015ded8: Waiting 09:15:51 5c69ac0246d0: Verifying Checksum 09:15:51 5c69ac0246d0: Download complete 09:15:51 3a2ae6a8a46f: Verifying Checksum 09:15:51 3a2ae6a8a46f: Download complete 09:15:51 33b1e0a273af: Verifying Checksum 09:15:51 33b1e0a273af: Download complete 09:15:51 5d3b04190fa2: Verifying Checksum 09:15:51 5d3b04190fa2: Download complete 09:15:51 ec43610c2a17: Verifying Checksum 09:15:51 ec43610c2a17: Download complete 09:15:51 5eb5b503b376: Verifying Checksum 09:15:51 5eb5b503b376: Download complete 09:15:52 using credential edgex-jenkins-ssh 09:15:52 Cloning the remote Git repository 09:15:52 2f39f015ded8: Verifying Checksum 09:15:52 2f39f015ded8: Download complete 09:15:52 5eb5b503b376: Pull complete 09:15:53 5c69ac0246d0: Pull complete 09:15:52 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 09:15:52 > git init /w/workspace/device-sdk-go/2 # timeout=10 09:15:52 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 09:15:52 > git --version # timeout=10 09:15:52 > git --version # 'git version 2.25.1' 09:15:52 using GIT_SSH to set credentials SSH Credentials for GitHub 09:15:52 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 09:15:53 ec43610c2a17: Pull complete 09:15:53 3a2ae6a8a46f: Pull complete 09:15:54 33b1e0a273af: Pull complete 09:15:54 5d3b04190fa2: Pull complete 09:15:56 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 09:15:56 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 09:15:56 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 09:15:56 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 09:15:56 using GIT_SSH to set credentials SSH Credentials for GitHub 09:15:57 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1443/head:refs/remotes/origin/PR-1443 +refs/heads/main:refs/remotes/origin/main # timeout=10 09:15:57 Merging remotes/origin/main commit 1f684668525fd42346bcfc2ecf4c1133232fc3c4 into PR head commit 61ec8093b165144a006433c656a45b83127e485c 09:15:57 Merge succeeded, producing 61ec8093b165144a006433c656a45b83127e485c 09:15:57 Checking out Revision 61ec8093b165144a006433c656a45b83127e485c (PR-1443) 09:15:58 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3" 09:15:57 > git config core.sparsecheckout # timeout=10 09:15:57 > git checkout -f 61ec8093b165144a006433c656a45b83127e485c # timeout=10 09:15:57 > git remote # timeout=10 09:15:57 > git config --get remote.origin.url # timeout=10 09:15:57 using GIT_SSH to set credentials SSH Credentials for GitHub 09:15:57 > git merge 1f684668525fd42346bcfc2ecf4c1133232fc3c4 # timeout=10 09:15:57 > git rev-parse HEAD^{commit} # timeout=10 09:15:57 > git config core.sparsecheckout # timeout=10 09:15:57 > git checkout -f 61ec8093b165144a006433c656a45b83127e485c # timeout=10 09:15:58 09:15:58 GitHub has been notified of this commit’s build result 09:15:58 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 09:15:59 2f39f015ded8: Pull complete 09:15:59 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 09:15:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:15:59 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:15:59 prd-ubuntu20.04-docker-8c-8g-12346 does not seem to be running inside a container 09:15:59 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 09:15:59 % Total % Received % Xferd Average Speed Time Time Time Current 09:15:59 Dload Upload Total Spent Left Speed 09:15:59 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 81216 0 --:--:-- --:--:-- --:--:-- 81737 09:15:59 $ 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-1443 -v /w/workspace/gexfoundry_device-sdk-go_PR-1443:/w/workspace/gexfoundry_device-sdk-go_PR-1443:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1443@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1443@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 09:16:01 $ docker top 966f62357f7709948e019da7cdce27336d38806526feae213bba80bd992f70f7 -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] libraryResource [Pipeline] sh 09:16:01 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 09:16:01 ---> job-cost.sh 09:16:01 lf-activate-venv: SKIPPING 09:16:01 INFO: No Stack... 09:16:02 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 09:16:02 + sudo tee /etc/docker/daemon.new 09:16:02 { 09:16:02 "registry-mirrors": [ 09:16:02 "https://nexus3.edgexfoundry.org:10001" 09:16:02 ], 09:16:02 "bip": "10.250.0.254/24", 09:16:02 "hosts": [ 09:16:02 "tcp://0.0.0.0:5555", 09:16:02 "unix:///var/run/docker.sock" 09:16:02 ], 09:16:02 "mtu": 1458, 09:16:02 "selinux-enabled": true, 09:16:02 "seccomp-profile": "/etc/docker/seccomp.json" 09:16:02 } [Pipeline] sh 09:16:02 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json 09:16:02 INFO: Retrieving Pricing Info for: v3-standard-8 [Pipeline] sh 09:16:02 INFO: Archiving Costs [Pipeline] sh 09:16:02 + sudo service docker restart 09:16:02 + cat /w/workspace/gexfoundry_device-sdk-go_PR-1443/archives/cost.csv 09:16:02 + cut -d, -f6 [Pipeline] lock 09:16:02 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1443-2-stack-cost] 09:16:03 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1443-2-stack-cost] did not exist. Created. 09:16:03 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1443-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 09:16:03 + echo total: 0.2199999988079071 [Pipeline] stash 09:16:03 Stashed 1 file(s) [Pipeline] } 09:16:03 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1443-2-stack-cost] [Pipeline] // lock [Pipeline] } 09:16:03 $ docker stop --time=1 966f62357f7709948e019da7cdce27336d38806526feae213bba80bd992f70f7 09:16:04 $ docker rm -f --volumes 966f62357f7709948e019da7cdce27336d38806526feae213bba80bd992f70f7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:16:20 provisioning config files... 09:16:21 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config1111298417932378930tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:16:21 ---> docker-login.sh 09:16:21 nexus3.edgexfoundry.org:10001 09:16:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:16:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:16:21 Configure a credential helper to remove this warning. See 09:16:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:16:21 09:16:21 Login Succeeded 09:16:21 nexus3.edgexfoundry.org:10002 09:16:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:16:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:16:22 Configure a credential helper to remove this warning. See 09:16:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:16:22 09:16:22 Login Succeeded 09:16:22 nexus3.edgexfoundry.org:10003 09:16:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:16:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:16:22 Configure a credential helper to remove this warning. See 09:16:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:16:22 09:16:22 Login Succeeded 09:16:22 nexus3.edgexfoundry.org:10004 09:16:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:16:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:16:23 Configure a credential helper to remove this warning. See 09:16:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:16:23 09:16:23 Login Succeeded 09:16:23 docker.io 09:16:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:16:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:16:23 Configure a credential helper to remove this warning. See 09:16:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:16:23 09:16:23 Login Succeeded 09:16:23 ---> docker-login.sh ends [Pipeline] } 09:16:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 09:16:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:16:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:16:24 ========================================================= 09:16:24 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 09:16:24 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:16:24 + 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 . 09:16:24 Sending build context to Docker daemon 5.942MB 09:16:24 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 09:16:24 Step 2/10 : FROM ${BASE} AS builder 09:16:24 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 09:16:24 c41833b44d91: Pulling fs layer 09:16:24 ed15518f5707: Pulling fs layer 09:16:24 feae8fd75edb: Pulling fs layer 09:16:24 242c74f7c9fa: Pulling fs layer 09:16:24 3cdef696dda3: Pulling fs layer 09:16:24 2ced38df9373: Pulling fs layer 09:16:24 58f1dce35555: Pulling fs layer 09:16:24 242c74f7c9fa: Waiting 09:16:24 3cdef696dda3: Waiting 09:16:24 58f1dce35555: Waiting 09:16:24 2ced38df9373: Waiting 09:16:24 ed15518f5707: Verifying Checksum 09:16:24 ed15518f5707: Download complete 09:16:25 242c74f7c9fa: Verifying Checksum 09:16:25 242c74f7c9fa: Download complete 09:16:25 3cdef696dda3: Verifying Checksum 09:16:25 3cdef696dda3: Download complete 09:16:25 c41833b44d91: Verifying Checksum 09:16:26 c41833b44d91: Pull complete 09:16:27 58f1dce35555: Verifying Checksum 09:16:27 58f1dce35555: Download complete 09:16:27 ed15518f5707: Pull complete 09:16:28 feae8fd75edb: Verifying Checksum 09:16:28 feae8fd75edb: Download complete 09:16:28 2ced38df9373: Verifying Checksum 09:16:28 2ced38df9373: Download complete 09:16:40 feae8fd75edb: Pull complete 09:16:40 242c74f7c9fa: Pull complete 09:16:40 3cdef696dda3: Pull complete 09:16:45 2ced38df9373: Pull complete 09:16:48 58f1dce35555: Pull complete 09:16:48 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 09:16:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 09:16:48 ---> fadd8f120f05 09:16:48 Step 3/10 : ARG MAKE=make build 09:16:50 ---> Running in ce63449368fe 09:16:50 Removing intermediate container ce63449368fe 09:16:50 ---> 207e6e6b5586 09:16:50 Step 4/10 : WORKDIR /device-sdk-go 09:16:50 ---> Running in 1581b217b070 09:16:50 Removing intermediate container 1581b217b070 09:16:50 ---> b619d7b61d67 09:16:50 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 09:16:50 ---> Running in c8a80a0ab742 09:16:51 Removing intermediate container c8a80a0ab742 09:16:51 ---> 6ec942c7f47a 09:16:51 Step 6/10 : RUN apk add --update --no-cache make git 09:16:51 ---> Running in b5816326fd15 09:16:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 09:16:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 09:16:54 OK: 263 MiB in 53 packages 09:16:54 Removing intermediate container b5816326fd15 09:16:54 ---> 19c2feb360ba 09:16:54 Step 7/10 : COPY go.mod vendor* ./ 09:16:55 ---> 57bd4e3b6e35 09:16:55 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:16:55 ---> Running in 506ad46f4c02 09:17:51 Removing intermediate container 506ad46f4c02 09:17:51 ---> c1bf8dfa9c47 09:17:51 Step 9/10 : COPY . . 09:17:51 ---> ffdebda24519 09:17:51 Step 10/10 : RUN ${MAKE} 09:17:51 ---> Running in 5dabcafd393d 09:17:52 noop 09:17:52 Removing intermediate container 5dabcafd393d 09:17:52 ---> 8cfff3ffea83 09:17:52 Successfully built 8cfff3ffea83 09:17:52 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:17:53 + docker inspect -f . ci-base-image-arm64 09:17:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:17:53 prd-ubuntu20.04-docker-arm64-4c-16g-12347 does not seem to be running inside a container 09:17:53 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 09:17:54 $ docker top 2622f73944390836fee3cc6dacb869353a5403c1c3cd92e037bdc4fe38923c3b -eo pid,comm [Pipeline] { [Pipeline] sh 09:17:55 + go version 09:17:55 go version go1.20.2 linux/arm64 [Pipeline] } 09:17:55 $ docker stop --time=1 2622f73944390836fee3cc6dacb869353a5403c1c3cd92e037bdc4fe38923c3b 09:17:56 $ docker rm -f --volumes 2622f73944390836fee3cc6dacb869353a5403c1c3cd92e037bdc4fe38923c3b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:17:57 + docker inspect -f . ci-base-image-arm64 09:17:57 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:17:57 prd-ubuntu20.04-docker-arm64-4c-16g-12347 does not seem to be running inside a container 09:17:57 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 09:17:58 $ docker top c93fd0cba74900b94e91f6442b7cee643391fc4dc2bfd3ceb8b5056b0c7a655a -eo pid,comm [Pipeline] { [Pipeline] sh 09:17:59 + git config --global --add safe.directory /w/workspace/device-sdk-go/2 [Pipeline] fileExists [Pipeline] sh 09:17:59 + make test 09:17:59 go test -race -coverprofile=coverage.out ./... 09:18:38 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 09:20:30 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 09:20:30 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 09:20:30 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 09:20:30 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 09:20:30 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 09:20:42 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.195s coverage: 27.6% of statements 09:20:42 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.249s coverage: 80.2% of statements 09:20:52 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 09:20:52 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 09:20:52 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.405s coverage: 86.0% of statements 09:20:58 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 09:20:58 ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] 09:20:58 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.489s coverage: 77.5% of statements 09:21:01 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.265s coverage: 14.6% of statements 09:21:03 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 09:21:03 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 09:21:03 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.625s coverage: 68.5% of statements 09:21:07 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.598s coverage: 89.2% of statements 09:21:09 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 09:21:09 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.386s coverage: 5.5% of statements 09:21:10 WARNING: Linting skipped (not on x86_64 or linter not installed) 09:21:10 GO111MODULE=on go vet ./... 09:23:33 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 09:23:33 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 09:23:33 ./bin/test-attribution-txt.sh [Pipeline] echo 09:23:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 09:23:33 $ docker stop --time=1 c93fd0cba74900b94e91f6442b7cee643391fc4dc2bfd3ceb8b5056b0c7a655a 09:23:35 $ docker rm -f --volumes c93fd0cba74900b94e91f6442b7cee643391fc4dc2bfd3ceb8b5056b0c7a655a [Pipeline] // withDockerContainer [Pipeline] sh 09:23:37 + sudo chown -R jenkins:jenkins . [Pipeline] stash 09:23:37 Warning: overwriting stash ‘coverage-report’ 09:23:37 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 09:23:38 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:23:38 + ls -al . 09:23:38 total 268 09:23:38 drwxrwxr-x 10 jenkins jenkins 4096 May 2 09:18 . 09:23:38 drwxrwxr-x 4 jenkins jenkins 4096 May 2 09:15 .. 09:23:38 -rw-rw-r-- 1 jenkins jenkins 140 May 2 09:15 .dockerignore 09:23:38 drwxrwxr-x 8 jenkins jenkins 4096 May 2 09:15 .git 09:23:38 drwxrwxr-x 2 jenkins jenkins 4096 May 2 09:15 .github 09:23:38 -rw-rw-r-- 1 jenkins jenkins 131 May 2 09:15 .gitignore 09:23:38 -rw-rw-r-- 1 jenkins jenkins 42 May 2 09:15 .golangci.yml 09:23:38 -rw-rw-r-- 1 jenkins jenkins 31677 May 2 09:15 CHANGELOG.md 09:23:38 -rw-rw-r-- 1 jenkins jenkins 677 May 2 09:15 GOVERNANCE.md 09:23:38 -rw-rw-r-- 1 jenkins jenkins 885 May 2 09:15 Jenkinsfile 09:23:38 -rw-rw-r-- 1 jenkins jenkins 11341 May 2 09:15 LICENSE 09:23:38 -rw-rw-r-- 1 jenkins jenkins 1714 May 2 09:15 Makefile 09:23:38 -rw-rw-r-- 1 jenkins jenkins 619 May 2 09:15 OWNERS.md 09:23:38 -rw-rw-r-- 1 jenkins jenkins 4891 May 2 09:15 README.md 09:23:38 -rw-rw-r-- 1 jenkins jenkins 5 May 2 09:13 VERSION 09:23:38 drwxrwxr-x 2 jenkins jenkins 4096 May 2 09:15 bin 09:23:38 -rw-r--r-- 1 jenkins jenkins 106120 May 2 09:21 coverage.out 09:23:38 drwxrwxr-x 5 jenkins jenkins 4096 May 2 09:15 example 09:23:38 -rw-rw-r-- 1 jenkins jenkins 3246 May 2 09:15 go.mod 09:23:38 -rw-rw-r-- 1 jenkins jenkins 30896 May 2 09:15 go.sum 09:23:38 drwxrwxr-x 12 jenkins jenkins 4096 May 2 09:15 internal 09:23:38 drwxrwxr-x 3 jenkins jenkins 4096 May 2 09:15 openapi 09:23:38 drwxrwxr-x 6 jenkins jenkins 4096 May 2 09:15 pkg 09:23:38 drwxrwxr-x 4 jenkins jenkins 4096 May 2 09:15 snap 09:23:38 -rw-rw-r-- 1 jenkins jenkins 222 May 2 09:15 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:23:38 + 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=61ec8093b165144a006433c656a45b83127e485c --label arch=arm64 --label version=0.0.0 . 09:23:39 Sending build context to Docker daemon 6.049MB 09:23:39 Step 1/23 : ARG BASE=golang:1.20-alpine3.17 09:23:39 Step 2/23 : FROM ${BASE} AS builder 09:23:39 ---> 8cfff3ffea83 09:23:39 Step 3/23 : ARG MAKE=make build 09:23:39 ---> Running in e4d0e358fca0 09:23:39 Removing intermediate container e4d0e358fca0 09:23:39 ---> 05321ddfa168 09:23:39 Step 4/23 : WORKDIR /device-sdk-go 09:23:40 ---> Running in 63753f7320a6 09:23:40 Removing intermediate container 63753f7320a6 09:23:40 ---> 6c436b03105e 09:23:40 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 09:23:40 ---> Running in 83d2ea22992d 09:23:40 Removing intermediate container 83d2ea22992d 09:23:40 ---> 09f361ce0835 09:23:40 Step 6/23 : RUN apk add --update --no-cache make git 09:23:40 ---> Running in 0ae8d6ba4156 09:23:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 09:23:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 09:23:43 OK: 263 MiB in 53 packages 09:23:44 Removing intermediate container 0ae8d6ba4156 09:23:44 ---> 0db1aa175fed 09:23:44 Step 7/23 : COPY go.mod vendor* ./ 09:23:44 ---> 7c2024f2124f 09:23:44 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:23:44 ---> Running in 02dbd32bf56d 09:23:47 Removing intermediate container 02dbd32bf56d 09:23:47 ---> c5c8f690bb12 09:23:47 Step 9/23 : COPY . . 09:23:48 ---> 085eb91df0d0 09:23:48 Step 10/23 : RUN ${MAKE} 09:23:48 ---> Running in b985d3e58dac 09:23:49 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 09:25:57 Removing intermediate container b985d3e58dac 09:25:57 ---> 4d43db585b54 09:25:57 Step 11/23 : FROM alpine:3.17 09:25:57 3.17: Pulling from library/alpine 09:25:57 c41833b44d91: Already exists 09:25:57 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 09:25:57 Status: Downloaded newer image for alpine:3.17 09:25:57 ---> 51e60588ff2c 09:25:57 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 09:25:57 ---> Running in c20cc58314cd 09:25:57 Removing intermediate container c20cc58314cd 09:25:57 ---> ed3cf52b5c14 09:25:57 Step 13/23 : RUN apk add --update --no-cache 09:25:57 ---> Running in f471a17b0259 09:25:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 09:25:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 09:25:57 OK: 7 MiB in 15 packages 09:25:58 Removing intermediate container f471a17b0259 09:25:58 ---> 1478b3d0d7a1 09:25:58 Step 14/23 : WORKDIR / 09:25:58 ---> Running in 399219b5cb1d 09:25:58 Removing intermediate container 399219b5cb1d 09:25:58 ---> ce738dd32644 09:25:58 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 09:25:59 ---> 17449fadc7cd 09:25:59 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 09:26:00 ---> 39126cf15592 09:26:00 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 09:26:00 ---> 991b0681a37d 09:26:00 Step 18/23 : EXPOSE 59999 09:26:00 ---> Running in 490d85905916 09:26:01 Removing intermediate container 490d85905916 09:26:01 ---> bb06e91bb2de 09:26:01 Step 19/23 : ENTRYPOINT ["/device-simple"] 09:26:01 ---> Running in d51562752ef9 09:26:01 Removing intermediate container d51562752ef9 09:26:01 ---> 52327ac848a8 09:26:01 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 09:26:01 ---> Running in f873b2fb1f87 09:26:02 Removing intermediate container f873b2fb1f87 09:26:02 ---> ea963800d443 09:26:02 Step 21/23 : LABEL arch=arm64 09:26:02 ---> Running in afdbd4f96232 09:26:02 Removing intermediate container afdbd4f96232 09:26:02 ---> 8e7ecb11d4b3 09:26:02 Step 22/23 : LABEL git_sha=61ec8093b165144a006433c656a45b83127e485c 09:26:02 ---> Running in 9087cd8dbc05 09:26:02 Removing intermediate container 9087cd8dbc05 09:26:02 ---> ba94c7eda97b 09:26:02 Step 23/23 : LABEL version=0.0.0 09:26:02 ---> Running in 5161a39d2ac9 09:26:03 Removing intermediate container 5161a39d2ac9 09:26:03 ---> 97297d137dcf 09:26:03 [Warning] One or more build-args [ARCH] were not consumed 09:26:03 Successfully built 97297d137dcf 09:26:03 Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:26:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:26:03 09:26:03 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:26:03 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:26:03 arm64: Pulling from edgex-lftools-log-publisher 09:26:03 8998bd30e6a1: Pulling fs layer 09:26:03 04944245beec: Pulling fs layer 09:26:03 699f458cf7ca: Pulling fs layer 09:26:03 765212b225bb: Pulling fs layer 09:26:03 f23df028b6ca: Pulling fs layer 09:26:03 d65c8cfc05b1: Pulling fs layer 09:26:03 2437ff75d9bd: Pulling fs layer 09:26:03 d65c8cfc05b1: Waiting 09:26:03 765212b225bb: Waiting 09:26:03 f23df028b6ca: Waiting 09:26:03 2437ff75d9bd: Waiting 09:26:04 04944245beec: Verifying Checksum 09:26:04 04944245beec: Download complete 09:26:04 765212b225bb: Verifying Checksum 09:26:04 765212b225bb: Download complete 09:26:04 f23df028b6ca: Verifying Checksum 09:26:04 f23df028b6ca: Download complete 09:26:04 d65c8cfc05b1: Verifying Checksum 09:26:04 d65c8cfc05b1: Download complete 09:26:04 699f458cf7ca: Verifying Checksum 09:26:04 699f458cf7ca: Download complete 09:26:04 8998bd30e6a1: Verifying Checksum 09:26:04 8998bd30e6a1: Download complete 09:26:06 2437ff75d9bd: Verifying Checksum 09:26:06 2437ff75d9bd: Download complete 09:26:08 8998bd30e6a1: Pull complete 09:26:08 04944245beec: Pull complete 09:26:09 699f458cf7ca: Pull complete 09:26:09 765212b225bb: Pull complete 09:26:10 f23df028b6ca: Pull complete 09:26:10 d65c8cfc05b1: Pull complete 09:26:23 2437ff75d9bd: Pull complete 09:26:23 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 09:26:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:26:23 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:26:23 prd-ubuntu20.04-docker-arm64-4c-16g-12347 does not seem to be running inside a container 09:26:23 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 09:26:26 $ docker top 07007d707e799fdee27a640ace76bb2a51eeb99dc6193c2a54650cfc7038c296 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:26:26 ---> job-cost.sh 09:26:26 lf-activate-venv: SKIPPING 09:26:26 INFO: No Stack... 09:26:27 INFO: Retrieving Pricing Info for: v3-standard-4 09:26:28 INFO: Archiving Costs [Pipeline] sh 09:26:29 + cut -d, -f6 09:26:29 + cat /w/workspace/device-sdk-go/2/archives/cost.csv [Pipeline] lock 09:26:29 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1443-2-stack-cost] 09:26:29 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1443-2-stack-cost] did not exist. Created. 09:26:29 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1443-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 09:26:29 /w/workspace/device-sdk-go/2@tmp/durable-92e7f917/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 09:26:29 + echo total: 0.10999999940395355 [Pipeline] stash 09:26:29 Warning: overwriting stash ‘stack-cost’ 09:26:29 Stashed 1 file(s) [Pipeline] } 09:26:29 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1443-2-stack-cost] [Pipeline] // lock [Pipeline] } 09:26:29 $ docker stop --time=1 07007d707e799fdee27a640ace76bb2a51eeb99dc6193c2a54650cfc7038c296 09:26:31 $ docker rm -f --volumes 07007d707e799fdee27a640ace76bb2a51eeb99dc6193c2a54650cfc7038c296 [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 09:26:31 provisioning config files... 09:26:31 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1443@tmp/config9123492946475333678tmp [Pipeline] { [Pipeline] sh 09:26:32 + set +x 09:26:32 + curl -s https://codecov.io/bash 09:26:32 + bash -s -- 09:26:32 09:26:32 _____ _ 09:26:32 / ____| | | 09:26:32 | | ___ __| | ___ ___ _____ __ 09:26:32 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 09:26:32 | |___| (_) | (_| | __/ (_| (_) \ V / 09:26:32 \_____\___/ \__,_|\___|\___\___/ \_/ 09:26:32 Bash-1.0.6 09:26:32 09:26:32 09:26:32 ==> git version 2.25.1 found 09:26:32 ==> 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 09:26:32 Release-Date: 2020-01-08 09:26:32 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 09:26:32 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 09:26:32 ==> Jenkins CI detected. 09:26:32 current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1443 09:26:32 project root: . 09:26:32 --> token set from env 09:26:32 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 09:26:32 ==> Running gcov in . (disable via -X gcov) 09:26:32 ==> Python coveragepy not found 09:26:32 ==> Searching for coverage reports in: 09:26:32 + . 09:26:32 -> Found 1 reports 09:26:32 ==> Detecting git/mercurial file structure 09:26:32 ==> Reading reports 09:26:32 + ./coverage.out bytes=106120 09:26:32 ==> Appending adjustments 09:26:32 https://docs.codecov.io/docs/fixing-reports 09:26:32 + Found adjustments 09:26:32 ==> Gzipping contents 09:26:32 16K /tmp/codecov.ZORxP2.gz 09:26:32 ==> Uploading reports 09:26:32 url: https://codecov.io 09:26:32 query: branch=PR-1443&commit=61ec8093b165144a006433c656a45b83127e485c&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1443%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1443&job=&cmd_args= 09:26:32 -> Pinging Codecov 09:26:32 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1443&commit=61ec8093b165144a006433c656a45b83127e485c&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1443%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1443&job=&cmd_args= 09:26:32 -> Uploading to 09:26:32 https://storage.googleapis.com/codecov/v4/raw/2023-05-02/7E55EF52A471D76F132DFD9A03CDDE97/61ec8093b165144a006433c656a45b83127e485c/ffb62ef6-ca6e-4cc1-a1b4-93d771064828.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230502%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230502T092632Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=cd35db2494af25f02ff2330737b03c383d9ad758021492d3c79c1652c7643457 09:26:32 % Total % Received % Xferd Average Speed Time Time Time Current 09:26:32 Dload Upload Total Spent Left Speed 09:26:33 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14995 0 0 100 14995 0 61707 --:--:-- --:--:-- --:--:-- 61707 09:26:33 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/61ec8093b165144a006433c656a45b83127e485c [Pipeline] } 09:26:33 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 09:26:33 + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1443/archives ] 09:26:33 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1443/archives 09:26:33 total 16 09:26:33 drwxr-xr-x 3 root root 4096 May 2 09:16 . 09:26:33 drwxrwxr-x 12 jenkins jenkins 4096 May 2 09:16 .. 09:26:33 drwxr-xr-x 2 root root 4096 May 2 09:16 cost 09:26:33 -rw-r--r-- 1 root root 86 May 2 09:16 cost.csv 09:26:33 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1443/archives 09:26:33 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1443/archives 09:26:33 total 16 09:26:33 drwxr-xr-x 3 jenkins jenkins 4096 May 2 09:16 . 09:26:33 drwxrwxr-x 12 jenkins jenkins 4096 May 2 09:16 .. 09:26:33 drwxr-xr-x 2 jenkins jenkins 4096 May 2 09:16 cost 09:26:33 -rw-r--r-- 1 jenkins jenkins 86 May 2 09:16 cost.csv [Pipeline] libraryResource [Pipeline] sh 09:26:34 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 09:26:35 ---> package-listing.sh 09:26:35 ++ facter osfamily 09:26:35 ++ tr '[:upper:]' '[:lower:]' 09:26:35 + OS_FAMILY=debian 09:26:35 + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1443 09:26:35 + START_PACKAGES=/tmp/packages_start.txt 09:26:35 + END_PACKAGES=/tmp/packages_end.txt 09:26:35 + DIFF_PACKAGES=/tmp/packages_diff.txt 09:26:35 + PACKAGES=/tmp/packages_start.txt 09:26:35 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1443 ']' 09:26:35 + PACKAGES=/tmp/packages_end.txt 09:26:35 + case "${OS_FAMILY}" in 09:26:35 + dpkg -l 09:26:35 + grep '^ii' 09:26:35 + '[' -f /tmp/packages_start.txt ']' 09:26:35 + '[' -f /tmp/packages_end.txt ']' 09:26:35 + diff /tmp/packages_start.txt /tmp/packages_end.txt 09:26:35 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1443 ']' 09:26:35 + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1443/archives/ 09:26:35 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1443/archives/ [Pipeline] echo 09:26:35 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-1443/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 09:26:35 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:26:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:26:36 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:26:36 prd-ubuntu20.04-docker-8c-8g-12346 does not seem to be running inside a container 09:26:36 $ 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-1443/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-1443 -v /w/workspace/gexfoundry_device-sdk-go_PR-1443:/w/workspace/gexfoundry_device-sdk-go_PR-1443:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1443@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1443@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 09:26:36 $ docker top 21e3e7b049eb3486cbcc1873a059dd2c0fe9fdbabacb44875d365f2bafc33507 -eo pid,comm [Pipeline] { [Pipeline] sh 09:26:36 + touch /tmp/pre-build-complete [Pipeline] sh 09:26:37 + mkdir -p /var/log/sysstat [Pipeline] sh 09:26:37 + ls /var/log/sa-host 09:26:37 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:26:37 provisioning config files... 09:26:37 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1443@tmp/config3528017498221628947tmp [Pipeline] { [Pipeline] echo 09:26:37 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 09:26:37 ---> create-netrc.sh [Pipeline] } 09:26:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 09:26:38 ---> python-tools-install.sh [Pipeline] echo 09:26:38 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 09:26:38 ---> sudo-logs.sh 09:26:38 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 09:26:38 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 09:26:38 ---> job-cost.sh 09:26:38 lf-activate-venv: SKIPPING 09:26:38 DEBUG: total: 0.2199999988079071 09:26:38 INFO: Retrieving Stack Cost... 09:26:39 INFO: Retrieving Pricing Info for: v3-standard-8 09:26:39 INFO: Archiving Costs [Pipeline] echo 09:26:39 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 09:26:40 ---> logs-deploy.sh 09:26:40 lf-activate-venv: SKIPPING 09:26:40 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1443/2 09:26:40 INFO: archiving workspace using pattern(s): 09:26:40 Archives upload complete. 09:26:40 INFO: archiving logs to Nexus