Pull request #1311 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 7b15996d0f48507d4852a74e8cb5987a03af1c96+d7de237c874a90e81091b377f7571cc3981ed0ab (b28e149143a9b452d861783653b7981fb33a122c) 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-ssh17504649103429196033.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh2089468369594191912.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1311/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1311/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh90093011305855388.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1311/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5531561234045180898.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that 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-ssh12637566185022990134.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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1311/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1311/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh737098010871847538.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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.18 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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-5298 in /w/workspace/gexfoundry_device-sdk-go_PR-1311 [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-1311 # 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/1311/head:refs/remotes/origin/PR-1311 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit d7de237c874a90e81091b377f7571cc3981ed0ab into PR head commit 7b15996d0f48507d4852a74e8cb5987a03af1c96 Merge succeeded, producing 7b15996d0f48507d4852a74e8cb5987a03af1c96 Checking out Revision 7b15996d0f48507d4852a74e8cb5987a03af1c96 (PR-1311) Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 04:58:57 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { > git config core.sparsecheckout # timeout=10 > git checkout -f 7b15996d0f48507d4852a74e8cb5987a03af1c96 # 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 d7de237c874a90e81091b377f7571cc3981ed0ab # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7b15996d0f48507d4852a74e8cb5987a03af1c96 # timeout=10 [Pipeline] withCredentials 04:58:57 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 04:58:57 ========================================================= 04:58:57 EdgeX Global Pipelines Version Info 04:58:57 ========================================================= [Pipeline] libraryResource [Pipeline] sh 04:58:58 ------------------- 04:58:58 stable info: 04:58:58 ------------------- 04:58:58 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 04:58:58 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 04:58:58 Message: update stable to v1.0.244 04:58:59 ------------------- 04:58:59 experimental info: 04:58:59 ------------------- 04:58:59 Commited By: **** collab-it+edgex@linuxfoundation.org 04:58:59 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 04:58:59 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 04:58:59 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 04:58:59 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 04:58:59 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 04:58:59 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 04:58:59 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 04:58:59 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 04:58:59 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 04:58:59 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 04:58:59 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 04:58:59 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 04:58:59 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 04:59:00 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 04:59:00 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 04:59:00 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 04:59:00 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 04:59:00 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 04:59:00 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 04:59:00 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 04:59:00 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 04:59:00 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 04:59:00 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 04:59:00 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo 04:59:00 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 04:59:00 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 04:59:00 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 04:59:00 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 04:59:00 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 04:59:00 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1311 [Pipeline] echo 04:59:00 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1311 [Pipeline] echo 04:59:00 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1311 [Pipeline] echo 04:59:00 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 7b15996d0f48507d4852a74e8cb5987a03af1c96 [Pipeline] echo 04:59:00 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7b15996 [Pipeline] echo 04:59:00 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:59:00 provisioning config files... 04:59:00 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1311@tmp/config4158872828222404856tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:59:01 ---> docker-login.sh 04:59:01 nexus3.edgexfoundry.org:10001 04:59:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:59:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:59:01 Configure a credential helper to remove this warning. See 04:59:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:59:01 04:59:01 Login Succeeded 04:59:01 nexus3.edgexfoundry.org:10002 04:59:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:59:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:59:01 Configure a credential helper to remove this warning. See 04:59:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:59:01 04:59:01 Login Succeeded 04:59:01 nexus3.edgexfoundry.org:10003 04:59:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:59:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:59:02 Configure a credential helper to remove this warning. See 04:59:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:59:02 04:59:02 Login Succeeded 04:59:02 nexus3.edgexfoundry.org:10004 04:59:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:59:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:59:02 Configure a credential helper to remove this warning. See 04:59:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:59:02 04:59:02 Login Succeeded 04:59:02 docker.io 04:59:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:59:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:59:02 Configure a credential helper to remove this warning. See 04:59:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:59:02 04:59:02 Login Succeeded 04:59:02 ---> docker-login.sh ends [Pipeline] } 04:59:02 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 04:59:03 + git rev-list -1 --merges 7b15996d0f48507d4852a74e8cb5987a03af1c96~1..7b15996d0f48507d4852a74e8cb5987a03af1c96 [Pipeline] echo 04:59:03 -----------> git rev-list -1 --merges 7b15996d0f48507d4852a74e8cb5987a03af1c96~1..7b15996d0f48507d4852a74e8cb5987a03af1c96 7b15996d0f48507d4852a74e8cb5987a03af1c96 [false] [Pipeline] sh 04:59:03 + git log --format=format:%s -1 7b15996d0f48507d4852a74e8cb5987a03af1c96 [Pipeline] echo 04:59:03 ========================================================= 04:59:03 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 04:59:03 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:59:03 + git log --format=format:%s -1 7b15996d0f48507d4852a74e8cb5987a03af1c96 [Pipeline] echo 04:59:03 [semverPrep] GIT_COMMIT: 7b15996d0f48507d4852a74e8cb5987a03af1c96, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3 [Pipeline] echo 04:59:03 [semverPrep] This is not a build commit. [Pipeline] sh 04:59:04 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:59:04 + grep -v github /etc/ssh/ssh_known_hosts 04:59:04 + [ -e /tmp/ssh_known_hosts ] 04:59:04 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 04:59:04 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 04:59:04 + sudo tee -a /etc/ssh/ssh_known_hosts 04:59:04 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:59:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:59:04 04:59:04 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:59:05 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:59:05 0.1.4: Pulling from edgex-devops/py-git-semver 04:59:05 b85a868b505f: Pulling fs layer 04:59:05 e2be974225ed: Pulling fs layer 04:59:05 339a4e72a1f5: Pulling fs layer 04:59:05 988bab9f4d93: Pulling fs layer 04:59:05 1469e6f7b9e6: Pulling fs layer 04:59:05 eaf3925da568: Pulling fs layer 04:59:05 bab4dde63d76: Pulling fs layer 04:59:05 bde34c3a00c8: Pulling fs layer 04:59:05 b352a97aabf1: Pulling fs layer 04:59:05 4872d77fe225: Pulling fs layer 04:59:05 5851b861e8e6: Pulling fs layer 04:59:05 988bab9f4d93: Waiting 04:59:05 1469e6f7b9e6: Waiting 04:59:05 4872d77fe225: Waiting 04:59:05 b352a97aabf1: Waiting 04:59:05 bde34c3a00c8: Waiting 04:59:05 bab4dde63d76: Waiting 04:59:05 5851b861e8e6: Waiting 04:59:05 e2be974225ed: Download complete 04:59:05 988bab9f4d93: Verifying Checksum 04:59:05 988bab9f4d93: Download complete 04:59:05 339a4e72a1f5: Verifying Checksum 04:59:05 339a4e72a1f5: Download complete 04:59:05 1469e6f7b9e6: Verifying Checksum 04:59:05 1469e6f7b9e6: Download complete 04:59:05 eaf3925da568: Verifying Checksum 04:59:05 eaf3925da568: Download complete 04:59:05 bde34c3a00c8: Verifying Checksum 04:59:05 bde34c3a00c8: Download complete 04:59:05 b352a97aabf1: Verifying Checksum 04:59:05 b352a97aabf1: Download complete 04:59:05 5851b861e8e6: Download complete 04:59:05 b85a868b505f: Verifying Checksum 04:59:05 b85a868b505f: Download complete 04:59:06 bab4dde63d76: Verifying Checksum 04:59:06 bab4dde63d76: Download complete 04:59:07 b85a868b505f: Pull complete 04:59:07 e2be974225ed: Pull complete 04:59:07 339a4e72a1f5: Pull complete 04:59:07 988bab9f4d93: Pull complete 04:59:08 1469e6f7b9e6: Pull complete 04:59:08 eaf3925da568: Pull complete 04:59:09 bab4dde63d76: Pull complete 04:59:09 bde34c3a00c8: Pull complete 04:59:09 b352a97aabf1: Pull complete 04:59:09 4872d77fe225: Pull complete 04:59:09 5851b861e8e6: Pull complete 04:59:09 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 04:59:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:59:09 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:59:10 prd-ubuntu20.04-docker-8c-8g-5298 does not seem to be running inside a container 04:59:10 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1311 -v /w/workspace/gexfoundry_device-sdk-go_PR-1311:/w/workspace/gexfoundry_device-sdk-go_PR-1311:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1311@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1311@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 04:59:11 $ docker top 187d33551a11ec07e9c64d280016c9a01b93d076cfbef097e2cf56abebbdc159 -eo pid,comm 04:59:11 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). 04:59:11 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:59:11 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:59:11 [ssh-agent] Looking for ssh-agent implementation... 04:59:11 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:59:11 $ docker exec 187d33551a11ec07e9c64d280016c9a01b93d076cfbef097e2cf56abebbdc159 ssh-agent 04:59:11 SSH_AUTH_SOCK=/tmp/ssh-sRBO67JvsvMo/agent.31 04:59:11 SSH_AGENT_PID=37 04:59:11 Running ssh-add (command line suppressed) 04:59:11 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1311@tmp/private_key_5042086861710931217.key (/w/workspace/gexfoundry_device-sdk-go_PR-1311@tmp/private_key_5042086861710931217.key) 04:59:12 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:59:12 + git tag --points-at HEAD [Pipeline] } 04:59:12 $ docker exec --env ******** --env ******** 187d33551a11ec07e9c64d280016c9a01b93d076cfbef097e2cf56abebbdc159 ssh-agent -k 04:59:12 unset SSH_AUTH_SOCK; 04:59:12 unset SSH_AGENT_PID; 04:59:12 echo Agent pid 37 killed; 04:59:12 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 04:59:12 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:59:12 [ssh-agent] Looking for ssh-agent implementation... 04:59:12 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:59:12 $ docker exec 187d33551a11ec07e9c64d280016c9a01b93d076cfbef097e2cf56abebbdc159 ssh-agent 04:59:12 SSH_AUTH_SOCK=/tmp/ssh-27X1l9qVvoA3/agent.69 04:59:12 SSH_AGENT_PID=75 04:59:12 Running ssh-add (command line suppressed) 04:59:12 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1311@tmp/private_key_11269369890916087686.key (/w/workspace/gexfoundry_device-sdk-go_PR-1311@tmp/private_key_11269369890916087686.key) 04:59:12 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:59:13 + git semver init 04:59:13 2023-02-10 04:59:13,425 [run_init] DEBUG init version:0.0.0 force:False 04:59:13 2023-02-10 04:59:13,426 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1311/.semver 04:59:13 2023-02-10 04:59:13,426 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1311/.semver 04:59:13 2023-02-10 04:59:13,426 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1311/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1311, universal_newlines=False, shell=None, istream=None) 04:59:14 2023-02-10 04:59:14,381 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1311/.git/info/exclude 04:59:14 2023-02-10 04:59:14,382 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1311/.semver/PR-1311 with force:False 04:59:14 2023-02-10 04:59:14,382 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1311/.semver/PR-1311 04:59:14 2023-02-10 04:59:14,386 [execute] INFO git cat-file --batch-check 04:59:14 2023-02-10 04:59:14,386 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1311/.semver, universal_newlines=False, shell=None, istream=) 04:59:14 2023-02-10 04:59:14,393 [execute] INFO git cat-file --batch 04:59:14 2023-02-10 04:59:14,393 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1311/.semver, universal_newlines=False, shell=None, istream=) 04:59:14 2023-02-10 04:59:14,398 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1311/.semver/PR-1311 04:59:14 0.0.0 [Pipeline] } 04:59:14 $ docker exec --env ******** --env ******** 187d33551a11ec07e9c64d280016c9a01b93d076cfbef097e2cf56abebbdc159 ssh-agent -k 04:59:14 unset SSH_AUTH_SOCK; 04:59:14 unset SSH_AGENT_PID; 04:59:14 echo Agent pid 75 killed; 04:59:14 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:59:15 + git semver [Pipeline] } 04:59:15 $ docker stop --time=1 187d33551a11ec07e9c64d280016c9a01b93d076cfbef097e2cf56abebbdc159 04:59:16 $ docker rm -f --volumes 187d33551a11ec07e9c64d280016c9a01b93d076cfbef097e2cf56abebbdc159 [Pipeline] // withDockerContainer [Pipeline] sh 04:59:16 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 04:59:17 Stashed 1 file(s) [Pipeline] echo 04:59:17 [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 04:59:17 provisioning config files... 04:59:17 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1311@tmp/config5185019599727221996tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:59:18 ---> docker-login.sh 04:59:18 nexus3.edgexfoundry.org:10001 04:59:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:59:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:59:18 Configure a credential helper to remove this warning. See 04:59:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:59:18 04:59:18 Login Succeeded 04:59:18 nexus3.edgexfoundry.org:10002 04:59:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:59:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:59:18 Configure a credential helper to remove this warning. See 04:59:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:59:18 04:59:18 Login Succeeded 04:59:18 nexus3.edgexfoundry.org:10003 04:59:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:59:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:59:18 Configure a credential helper to remove this warning. See 04:59:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:59:18 04:59:18 Login Succeeded 04:59:18 nexus3.edgexfoundry.org:10004 04:59:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:59:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:59:19 Configure a credential helper to remove this warning. See 04:59:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:59:19 04:59:19 Login Succeeded 04:59:19 docker.io 04:59:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:59:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:59:19 Configure a credential helper to remove this warning. See 04:59:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:59:19 04:59:19 Login Succeeded 04:59:19 ---> docker-login.sh ends [Pipeline] } 04:59:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:59:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:59:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:59:19 ========================================================= 04:59:19 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 04:59:19 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:59:20 + 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.18-alpine --build-arg MAKE=echo noop --target=builder . 04:59:20 Sending build context to Docker daemon 10.53MB 04:59:20 Step 1/10 : ARG BASE=golang:1.18-alpine3.16 04:59:20 Step 2/10 : FROM ${BASE} AS builder 04:59:20 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 04:59:20 213ec9aee27d: Pulling fs layer 04:59:20 4583459ba037: Pulling fs layer 04:59:20 93c1e223e6f2: Pulling fs layer 04:59:20 53926ce57604: Pulling fs layer 04:59:20 21b2b0c7a3f4: Pulling fs layer 04:59:20 22ff95d597cd: Pulling fs layer 04:59:20 12d6caf4c0d1: Pulling fs layer 04:59:20 96b7cbca73a9: Pulling fs layer 04:59:20 a7acece74701: Pulling fs layer 04:59:20 21b2b0c7a3f4: Waiting 04:59:20 22ff95d597cd: Waiting 04:59:20 a7acece74701: Waiting 04:59:20 12d6caf4c0d1: Waiting 04:59:20 96b7cbca73a9: Waiting 04:59:20 53926ce57604: Waiting 04:59:20 93c1e223e6f2: Verifying Checksum 04:59:20 93c1e223e6f2: Download complete 04:59:20 4583459ba037: Verifying Checksum 04:59:20 4583459ba037: Download complete 04:59:20 21b2b0c7a3f4: Verifying Checksum 04:59:20 21b2b0c7a3f4: Download complete 04:59:20 22ff95d597cd: Download complete 04:59:20 213ec9aee27d: Verifying Checksum 04:59:20 213ec9aee27d: Download complete 04:59:20 12d6caf4c0d1: Download complete 04:59:20 213ec9aee27d: Pull complete 04:59:20 4583459ba037: Pull complete 04:59:20 93c1e223e6f2: Pull complete 04:59:21 53926ce57604: Verifying Checksum 04:59:21 53926ce57604: Download complete 04:59:21 a7acece74701: Verifying Checksum 04:59:21 96b7cbca73a9: Verifying Checksum 04:59:21 96b7cbca73a9: Download complete 04:59:25 53926ce57604: Pull complete 04:59:25 21b2b0c7a3f4: Pull complete 04:59:25 22ff95d597cd: Pull complete 04:59:25 12d6caf4c0d1: Pull complete 04:59:27 96b7cbca73a9: Pull complete 04:59:28 a7acece74701: Pull complete 04:59:28 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 04:59:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 04:59:28 ---> db6d94c90886 04:59:28 Step 3/10 : ARG MAKE=make build 04:59:29 ---> Running in 440115afb15b 04:59:29 Removing intermediate container 440115afb15b 04:59:29 ---> c72fd8e77083 04:59:29 Step 4/10 : WORKDIR /device-sdk-go 04:59:29 ---> Running in aacecb7d486d 04:59:29 Removing intermediate container aacecb7d486d 04:59:29 ---> 2008260ec60e 04:59:29 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 04:59:29 ---> Running in c0c363259b3b 04:59:30 Removing intermediate container c0c363259b3b 04:59:30 ---> 2e10765fe8cc 04:59:30 Step 6/10 : RUN apk add --update --no-cache make git 04:59:30 ---> Running in 38adddedd31c 04:59:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 04:59:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 04:59:30 OK: 211 MiB in 51 packages 04:59:31 Removing intermediate container 38adddedd31c 04:59:31 ---> 5e4c2e36b18a 04:59:31 Step 7/10 : COPY go.mod vendor* ./ 04:59:31 ---> 45d744b107a9 04:59:31 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:59:31 ---> Running in 65ee6c47abe8 04:59:32 Still waiting to schedule task 04:59:32 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 05:00:17 Removing intermediate container 65ee6c47abe8 05:00:17 ---> 3609bda5a83d 05:00:17 Step 9/10 : COPY . . 05:00:17 ---> f39eaa15749c 05:00:17 Step 10/10 : RUN ${MAKE} 05:00:17 ---> Running in 15b0e5c3d234 05:00:17 noop 05:00:17 Removing intermediate container 15b0e5c3d234 05:00:17 ---> f2942a10d160 05:00:17 Successfully built f2942a10d160 05:00:17 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:00:18 + docker inspect -f . ci-base-image-x86_64 05:00:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:00:18 prd-ubuntu20.04-docker-8c-8g-5298 does not seem to be running inside a container 05:00:18 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1311 -v /w/workspace/gexfoundry_device-sdk-go_PR-1311:/w/workspace/gexfoundry_device-sdk-go_PR-1311:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1311@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1311@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 ******** ci-base-image-x86_64 cat 05:00:18 $ docker top e8e2b8b762f26a7473884cc4b447ee719db6dc9b1ef62667cbeecfb3d1f8ac1f -eo pid,comm [Pipeline] { [Pipeline] sh 05:00:19 + go version 05:00:19 go version go1.18.7 linux/amd64 [Pipeline] } 05:00:19 $ docker stop --time=1 e8e2b8b762f26a7473884cc4b447ee719db6dc9b1ef62667cbeecfb3d1f8ac1f 05:00:20 $ docker rm -f --volumes e8e2b8b762f26a7473884cc4b447ee719db6dc9b1ef62667cbeecfb3d1f8ac1f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:00:21 + docker inspect -f . ci-base-image-x86_64 05:00:21 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:00:21 prd-ubuntu20.04-docker-8c-8g-5298 does not seem to be running inside a container 05:00:21 $ 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-1311 -v /w/workspace/gexfoundry_device-sdk-go_PR-1311:/w/workspace/gexfoundry_device-sdk-go_PR-1311:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1311@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1311@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 ******** ci-base-image-x86_64 cat 05:00:21 $ docker top f05c33c8fef28e121fd850e50874bd2f1e3a8866fcf036e36ba64a611ff298ff -eo pid,comm [Pipeline] { [Pipeline] sh 05:00:22 + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1311 [Pipeline] fileExists [Pipeline] sh 05:00:22 + make test 05:00:22 go test -race -coverprofile=coverage.out ./... 05:00:29 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 05:00:41 # github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 05:00:41 internal/controller/messaging/callback.go:83:17: undefined: common.DeviceSystemEventActionAdd 05:00:41 internal/controller/messaging/callback.go:88:17: undefined: common.DeviceSystemEventActionUpdate 05:00:41 internal/controller/messaging/callback.go:95:17: undefined: common.DeviceSystemEventActionDelete 05:00:41 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.067s coverage: 27.6% of statements 05:00:41 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.052s coverage: 78.9% of statements 05:00:41 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.085s coverage: 77.8% of statements 05:00:42 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.109s coverage: 59.8% of statements 05:00:42 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.107s coverage: 65.2% of statements 05:00:42 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.735s coverage: 89.2% of statements 05:00:42 FAIL github.com/edgexfoundry/device-sdk-go/v3/pkg/service [build failed] 05:00:42 make: *** [Makefile:35: unittest] Error 2 [Pipeline] } 05:00:42 $ docker stop --time=1 f05c33c8fef28e121fd850e50874bd2f1e3a8866fcf036e36ba64a611ff298ff 05:00:44 $ docker rm -f --volumes f05c33c8fef28e121fd850e50874bd2f1e3a8866fcf036e36ba64a611ff298ff [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:00:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:00:45 05:00:45 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:00:46 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:00:46 latest: Pulling from edgex-lftools-log-publisher 05:00:46 5eb5b503b376: Pulling fs layer 05:00:46 5c69ac0246d0: Pulling fs layer 05:00:46 ec43610c2a17: Pulling fs layer 05:00:46 3a2ae6a8a46f: Pulling fs layer 05:00:46 33b1e0a273af: Pulling fs layer 05:00:46 5d3b04190fa2: Pulling fs layer 05:00:46 2f39f015ded8: Pulling fs layer 05:00:46 3a2ae6a8a46f: Waiting 05:00:46 2f39f015ded8: Waiting 05:00:46 5c69ac0246d0: Verifying Checksum 05:00:46 5c69ac0246d0: Download complete 05:00:46 3a2ae6a8a46f: Verifying Checksum 05:00:46 3a2ae6a8a46f: Download complete 05:00:46 ec43610c2a17: Verifying Checksum 05:00:46 ec43610c2a17: Download complete 05:00:47 33b1e0a273af: Download complete 05:00:47 5d3b04190fa2: Verifying Checksum 05:00:47 5d3b04190fa2: Download complete 05:00:47 5eb5b503b376: Verifying Checksum 05:00:47 5eb5b503b376: Download complete 05:00:48 2f39f015ded8: Download complete 05:00:48 5eb5b503b376: Pull complete 05:00:48 5c69ac0246d0: Pull complete 05:00:48 ec43610c2a17: Pull complete 05:00:49 3a2ae6a8a46f: Pull complete 05:00:49 33b1e0a273af: Pull complete 05:00:49 5d3b04190fa2: Pull complete 05:00:53 2f39f015ded8: Pull complete 05:00:53 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 05:00:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:00:53 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:00:53 prd-ubuntu20.04-docker-8c-8g-5298 does not seem to be running inside a container 05:00:53 $ 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-1311 -v /w/workspace/gexfoundry_device-sdk-go_PR-1311:/w/workspace/gexfoundry_device-sdk-go_PR-1311:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1311@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1311@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-lftools-log-publisher:latest cat 05:00:55 $ docker top 00aab2bb8b309d2f8f791e257d20060848344adde57c6c97190ffe0d82cbdd2d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:00:56 ---> job-cost.sh 05:00:56 lf-activate-venv: SKIPPING 05:00:56 INFO: No Stack... 05:00:56 INFO: Retrieving Pricing Info for: v3-standard-8 05:00:56 INFO: Archiving Costs [Pipeline] sh 05:00:57 + cat /w/workspace/gexfoundry_device-sdk-go_PR-1311/archives/cost.csv 05:00:57 + cut -d, -f6 [Pipeline] lock 05:00:57 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1311-1-stack-cost] 05:00:57 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1311-1-stack-cost] did not exist. Created. 05:00:57 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1311-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:00:57 + echo total: 0.2199999988079071 [Pipeline] stash 05:00:57 Stashed 1 file(s) [Pipeline] } 05:00:57 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1311-1-stack-cost] [Pipeline] // lock [Pipeline] } 05:00:57 $ docker stop --time=1 00aab2bb8b309d2f8f791e257d20060848344adde57c6c97190ffe0d82cbdd2d 05:00:58 $ docker rm -f --volumes 00aab2bb8b309d2f8f791e257d20060848344adde57c6c97190ffe0d82cbdd2d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 05:00:59 Failed in branch amd64 05:01:02 Running on prd-ubuntu20.04-docker-arm64-4c-16g-5299 in /w/workspace/gexfoundry_device-sdk-go_PR-1311 [Pipeline] { [Pipeline] ws 05:01:03 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 05:01:03 The recommended git tool is: git 05:01:08 using credential edgex-jenkins-ssh 05:01:08 Cloning the remote Git repository 05:01:08 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 05:01:08 > git init /w/workspace/device-sdk-go/1 # timeout=10 05:01:08 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 05:01:08 > git --version # timeout=10 05:01:08 > git --version # 'git version 2.25.1' 05:01:08 using GIT_SSH to set credentials SSH Credentials for GitHub 05:01:09 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:01:10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 05:01:10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:01:11 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 05:01:11 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 05:01:11 using GIT_SSH to set credentials SSH Credentials for GitHub 05:01:11 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1311/head:refs/remotes/origin/PR-1311 +refs/heads/main:refs/remotes/origin/main # timeout=10 05:01:12 Merging remotes/origin/main commit d7de237c874a90e81091b377f7571cc3981ed0ab into PR head commit 7b15996d0f48507d4852a74e8cb5987a03af1c96 05:01:12 Merge succeeded, producing 7b15996d0f48507d4852a74e8cb5987a03af1c96 05:01:12 Checking out Revision 7b15996d0f48507d4852a74e8cb5987a03af1c96 (PR-1311) 05:01:12 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3" 05:01:12 > git --version # timeout=10 05:01:12 > git --version # 'git version 2.25.1' 05:01:12 fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 05:01:12 > git config core.sparsecheckout # timeout=10 05:01:12 > git checkout -f 7b15996d0f48507d4852a74e8cb5987a03af1c96 # timeout=10 05:01:12 > git remote # timeout=10 05:01:12 > git config --get remote.origin.url # timeout=10 05:01:12 using GIT_SSH to set credentials SSH Credentials for GitHub 05:01:12 > git merge d7de237c874a90e81091b377f7571cc3981ed0ab # timeout=10 05:01:12 > git rev-parse HEAD^{commit} # timeout=10 05:01:12 > git config core.sparsecheckout # timeout=10 05:01:12 > git checkout -f 7b15996d0f48507d4852a74e8cb5987a03af1c96 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:01:14 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 05:01:14 % Total % Received % Xferd Average Speed Time Time Time Current 05:01:14 Dload Upload Total Spent Left Speed 05:01:14 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 222k 0 --:--:-- --:--:-- --:--:-- 226k [Pipeline] sh 05:01:14 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 05:01:15 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 05:01:15 + sudo tee /etc/docker/daemon.new 05:01:15 { 05:01:15 "registry-mirrors": [ 05:01:15 "https://nexus3.edgexfoundry.org:10001" 05:01:15 ], 05:01:15 "bip": "10.250.0.254/24", 05:01:15 "hosts": [ 05:01:15 "tcp://0.0.0.0:5555", 05:01:15 "unix:///var/run/docker.sock" 05:01:15 ], 05:01:15 "mtu": 1458, 05:01:15 "selinux-enabled": true, 05:01:15 "seccomp-profile": "/etc/docker/seccomp.json" 05:01:15 } [Pipeline] sh 05:01:15 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 05:01:15 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:01:34 provisioning config files... 05:01:34 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config9923303763653897812tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:01:34 ---> docker-login.sh 05:01:34 nexus3.edgexfoundry.org:10001 05:01:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:01:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:01:35 Configure a credential helper to remove this warning. See 05:01:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:01:35 05:01:35 Login Succeeded 05:01:35 nexus3.edgexfoundry.org:10002 05:01:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:01:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:01:35 Configure a credential helper to remove this warning. See 05:01:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:01:35 05:01:35 Login Succeeded 05:01:35 nexus3.edgexfoundry.org:10003 05:01:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:01:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:01:35 Configure a credential helper to remove this warning. See 05:01:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:01:35 05:01:35 Login Succeeded 05:01:35 nexus3.edgexfoundry.org:10004 05:01:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:01:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:01:36 Configure a credential helper to remove this warning. See 05:01:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:01:36 05:01:36 Login Succeeded 05:01:36 docker.io 05:01:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:01:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:01:36 Configure a credential helper to remove this warning. See 05:01:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:01:36 05:01:36 Login Succeeded 05:01:36 ---> docker-login.sh ends [Pipeline] } 05:01:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:01:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:01:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:01:37 ========================================================= 05:01:37 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 05:01:37 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:01:37 + 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.18-alpine --build-arg MAKE=echo noop --target=builder . 05:01:37 Sending build context to Docker daemon 5.654MB 05:01:37 Step 1/10 : ARG BASE=golang:1.18-alpine3.16 05:01:37 Step 2/10 : FROM ${BASE} AS builder 05:01:38 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 05:01:38 9b18e9b68314: Pulling fs layer 05:01:38 35d82f9e3411: Pulling fs layer 05:01:38 e16973657156: Pulling fs layer 05:01:38 fc693d55d65f: Pulling fs layer 05:01:38 7e9fc2657dce: Pulling fs layer 05:01:38 dda99020689f: Pulling fs layer 05:01:38 db1c61fa0a46: Pulling fs layer 05:01:38 891c053d2c06: Pulling fs layer 05:01:38 fc693d55d65f: Waiting 05:01:38 7e9fc2657dce: Waiting 05:01:38 891c053d2c06: Waiting 05:01:38 db1c61fa0a46: Waiting 05:01:38 dda99020689f: Waiting 05:01:38 e16973657156: Verifying Checksum 05:01:38 e16973657156: Download complete 05:01:38 35d82f9e3411: Verifying Checksum 05:01:38 35d82f9e3411: Download complete 05:01:38 7e9fc2657dce: Download complete 05:01:38 dda99020689f: Verifying Checksum 05:01:38 dda99020689f: Download complete 05:01:38 9b18e9b68314: Verifying Checksum 05:01:38 9b18e9b68314: Download complete 05:01:39 9b18e9b68314: Pull complete 05:01:39 891c053d2c06: Verifying Checksum 05:01:39 891c053d2c06: Download complete 05:01:40 35d82f9e3411: Pull complete 05:01:40 e16973657156: Pull complete 05:01:40 db1c61fa0a46: Verifying Checksum 05:01:40 db1c61fa0a46: Download complete 05:01:41 fc693d55d65f: Verifying Checksum 05:01:41 fc693d55d65f: Download complete 05:01:53 fc693d55d65f: Pull complete 05:01:53 7e9fc2657dce: Pull complete 05:01:53 dda99020689f: Pull complete 05:01:58 db1c61fa0a46: Pull complete 05:02:00 891c053d2c06: Pull complete 05:02:01 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 05:02:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 05:02:01 ---> f96f9c87975a 05:02:01 Step 3/10 : ARG MAKE=make build 05:02:02 ---> Running in 04fe2fca8c51 05:02:02 Removing intermediate container 04fe2fca8c51 05:02:02 ---> fb2c1ee7ccd4 05:02:02 Step 4/10 : WORKDIR /device-sdk-go 05:02:02 ---> Running in 28d64a4fb534 05:02:03 Removing intermediate container 28d64a4fb534 05:02:03 ---> 6db3304440cd 05:02:03 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 05:02:03 ---> Running in 703fccece90c 05:02:03 Removing intermediate container 703fccece90c 05:02:03 ---> eca099a2fea3 05:02:03 Step 6/10 : RUN apk add --update --no-cache make git 05:02:03 ---> Running in 0c799c00e368 05:02:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 05:02:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 05:02:06 OK: 221 MiB in 51 packages 05:02:06 Removing intermediate container 0c799c00e368 05:02:06 ---> 67794629871e 05:02:06 Step 7/10 : COPY go.mod vendor* ./ 05:02:07 ---> a2b94836e98b 05:02:07 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:02:07 ---> Running in 7dbbf3b7b42d 05:03:15 Removing intermediate container 7dbbf3b7b42d 05:03:15 ---> 030e4f7f03e7 05:03:15 Step 9/10 : COPY . . 05:03:15 ---> a691cb3f0f81 05:03:15 Step 10/10 : RUN ${MAKE} 05:03:15 ---> Running in 6a0ae97a2ae2 05:03:15 noop 05:03:15 Removing intermediate container 6a0ae97a2ae2 05:03:15 ---> 44a6b3888519 05:03:15 Successfully built 44a6b3888519 05:03:15 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:03:15 + docker inspect -f . ci-base-image-arm64 05:03:15 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:03:15 prd-ubuntu20.04-docker-arm64-4c-16g-5299 does not seem to be running inside a container 05:03:15 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 05:03:17 $ docker top 4c1ca668f318b7670a66bb5cfd74eb2204a683561ff6ca4ce81da7619bb35209 -eo pid,comm [Pipeline] { [Pipeline] sh 05:03:17 + go version 05:03:17 go version go1.18.7 linux/arm64 [Pipeline] } 05:03:18 $ docker stop --time=1 4c1ca668f318b7670a66bb5cfd74eb2204a683561ff6ca4ce81da7619bb35209 05:03:19 $ docker rm -f --volumes 4c1ca668f318b7670a66bb5cfd74eb2204a683561ff6ca4ce81da7619bb35209 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:03:20 + docker inspect -f . ci-base-image-arm64 05:03:20 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:03:20 prd-ubuntu20.04-docker-arm64-4c-16g-5299 does not seem to be running inside a container 05:03:20 $ 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/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 05:03:21 $ docker top 29087298fd7f21ff0fd6a4c1b7642a94c09bdf6513dd57f913e4634bc41216ee -eo pid,comm [Pipeline] { [Pipeline] sh 05:03:22 + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh 05:03:22 + make test 05:03:22 go test -race -coverprofile=coverage.out ./... 05:03:54 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 05:05:33 # github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 05:05:33 internal/controller/messaging/callback.go:83:17: undefined: common.DeviceSystemEventActionAdd 05:05:33 internal/controller/messaging/callback.go:88:17: undefined: common.DeviceSystemEventActionUpdate 05:05:33 internal/controller/messaging/callback.go:95:17: undefined: common.DeviceSystemEventActionDelete 05:05:43 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.638s coverage: 27.6% of statements 05:05:43 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.863s coverage: 78.9% of statements 05:05:48 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.414s coverage: 77.8% of statements 05:05:51 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.440s coverage: 59.8% of statements 05:05:51 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.633s coverage: 65.2% of statements 05:05:51 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 3.633s coverage: 89.2% of statements 05:05:51 FAIL github.com/edgexfoundry/device-sdk-go/v3/pkg/service [build failed] 05:05:52 make: *** [Makefile:35: unittest] Error 2 [Pipeline] } 05:05:52 $ docker stop --time=1 29087298fd7f21ff0fd6a4c1b7642a94c09bdf6513dd57f913e4634bc41216ee 05:05:54 $ docker rm -f --volumes 29087298fd7f21ff0fd6a4c1b7642a94c09bdf6513dd57f913e4634bc41216ee [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:05:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:05:55 05:05:55 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:05:56 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:05:56 arm64: Pulling from edgex-lftools-log-publisher 05:05:56 8998bd30e6a1: Pulling fs layer 05:05:56 04944245beec: Pulling fs layer 05:05:56 699f458cf7ca: Pulling fs layer 05:05:56 765212b225bb: Pulling fs layer 05:05:56 f23df028b6ca: Pulling fs layer 05:05:56 d65c8cfc05b1: Pulling fs layer 05:05:56 2437ff75d9bd: Pulling fs layer 05:05:56 f23df028b6ca: Waiting 05:05:56 d65c8cfc05b1: Waiting 05:05:56 2437ff75d9bd: Waiting 05:05:56 765212b225bb: Waiting 05:05:56 04944245beec: Verifying Checksum 05:05:56 04944245beec: Download complete 05:05:56 765212b225bb: Verifying Checksum 05:05:56 765212b225bb: Download complete 05:05:56 f23df028b6ca: Verifying Checksum 05:05:56 f23df028b6ca: Download complete 05:05:57 d65c8cfc05b1: Verifying Checksum 05:05:57 d65c8cfc05b1: Download complete 05:05:57 699f458cf7ca: Verifying Checksum 05:05:57 699f458cf7ca: Download complete 05:05:57 8998bd30e6a1: Verifying Checksum 05:05:57 8998bd30e6a1: Download complete 05:06:00 2437ff75d9bd: Verifying Checksum 05:06:00 2437ff75d9bd: Download complete 05:06:03 8998bd30e6a1: Pull complete 05:06:03 04944245beec: Pull complete 05:06:05 699f458cf7ca: Pull complete 05:06:05 765212b225bb: Pull complete 05:06:06 f23df028b6ca: Pull complete 05:06:06 d65c8cfc05b1: Pull complete 05:06:28 2437ff75d9bd: Pull complete 05:06:28 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 05:06:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:06:28 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:06:29 prd-ubuntu20.04-docker-arm64-4c-16g-5299 does not seem to be running inside a container 05:06:29 $ 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/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 05:06:30 $ docker top 32d1e6d247be8d84dc3be103453fa13d4b9c55feb49a0ea26b1c249af30d56b7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:06:31 ---> job-cost.sh 05:06:31 lf-activate-venv: SKIPPING 05:06:31 INFO: No Stack... 05:06:32 INFO: Retrieving Pricing Info for: v3-standard-4 05:06:32 INFO: Archiving Costs [Pipeline] sh 05:06:32 + cat /w/workspace/device-sdk-go/1/archives/cost.csv 05:06:32 + cut -d, -f6 [Pipeline] lock 05:06:32 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1311-1-stack-cost] 05:06:32 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1311-1-stack-cost] did not exist. Created. 05:06:32 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1311-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:06:33 /w/workspace/device-sdk-go/1@tmp/durable-565dcb2c/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 05:06:33 + echo total: 0.10999999940395355 [Pipeline] stash 05:06:33 Warning: overwriting stash ‘stack-cost’ 05:06:34 Stashed 1 file(s) [Pipeline] } 05:06:34 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1311-1-stack-cost] [Pipeline] // lock [Pipeline] } 05:06:34 $ docker stop --time=1 32d1e6d247be8d84dc3be103453fa13d4b9c55feb49a0ea26b1c249af30d56b7 05:06:35 $ docker rm -f --volumes 32d1e6d247be8d84dc3be103453fa13d4b9c55feb49a0ea26b1c249af30d56b7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 05:06:36 Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 05:06:38 + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1311/archives ] 05:06:38 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1311/archives 05:06:38 total 16 05:06:38 drwxr-xr-x 3 root root 4096 Feb 10 05:00 . 05:06:38 drwxrwxr-x 12 jenkins jenkins 4096 Feb 10 05:00 .. 05:06:38 drwxr-xr-x 2 root root 4096 Feb 10 05:00 cost 05:06:38 -rw-r--r-- 1 root root 86 Feb 10 05:00 cost.csv 05:06:38 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1311/archives 05:06:38 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1311/archives 05:06:38 total 16 05:06:38 drwxr-xr-x 3 jenkins jenkins 4096 Feb 10 05:00 . 05:06:38 drwxrwxr-x 12 jenkins jenkins 4096 Feb 10 05:00 .. 05:06:38 drwxr-xr-x 2 jenkins jenkins 4096 Feb 10 05:00 cost 05:06:38 -rw-r--r-- 1 jenkins jenkins 86 Feb 10 05:00 cost.csv [Pipeline] libraryResource [Pipeline] sh 05:06:38 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 05:06:39 ---> package-listing.sh 05:06:39 ++ facter osfamily 05:06:39 ++ tr '[:upper:]' '[:lower:]' 05:06:39 + OS_FAMILY=debian 05:06:39 + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1311 05:06:39 + START_PACKAGES=/tmp/packages_start.txt 05:06:39 + END_PACKAGES=/tmp/packages_end.txt 05:06:39 + DIFF_PACKAGES=/tmp/packages_diff.txt 05:06:39 + PACKAGES=/tmp/packages_start.txt 05:06:39 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1311 ']' 05:06:39 + PACKAGES=/tmp/packages_end.txt 05:06:39 + case "${OS_FAMILY}" in 05:06:39 + dpkg -l 05:06:39 + grep '^ii' 05:06:39 + '[' -f /tmp/packages_start.txt ']' 05:06:39 + '[' -f /tmp/packages_end.txt ']' 05:06:39 + diff /tmp/packages_start.txt /tmp/packages_end.txt 05:06:39 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1311 ']' 05:06:39 + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1311/archives/ 05:06:39 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1311/archives/ [Pipeline] echo 05:06:39 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-sdk-go_PR-1311/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 05:06:40 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:06:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:06:40 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:06:40 prd-ubuntu20.04-docker-8c-8g-5298 does not seem to be running inside a container 05:06:40 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-sdk-go_PR-1311/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-1311 -v /w/workspace/gexfoundry_device-sdk-go_PR-1311:/w/workspace/gexfoundry_device-sdk-go_PR-1311:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1311@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1311@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 05:06:41 $ docker top 060aa83251016f85818f7c4520ae7972823449c78e0f55a55fe77bff046a5327 -eo pid,comm [Pipeline] { [Pipeline] sh 05:06:41 + touch /tmp/pre-build-complete [Pipeline] sh 05:06:41 + mkdir -p /var/log/sysstat [Pipeline] sh 05:06:42 + ls /var/log/sa-host 05:06:42 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:06:42 provisioning config files... 05:06:42 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1311@tmp/config5714944425087847666tmp [Pipeline] { [Pipeline] echo 05:06:42 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 05:06:42 ---> create-netrc.sh [Pipeline] } 05:06:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 05:06:43 ---> python-tools-install.sh [Pipeline] echo 05:06:43 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 05:06:43 ---> sudo-logs.sh 05:06:43 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 05:06:43 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 05:06:43 ---> job-cost.sh 05:06:43 lf-activate-venv: SKIPPING 05:06:43 DEBUG: total: 0.2199999988079071 05:06:43 INFO: Retrieving Stack Cost... 05:06:44 INFO: Retrieving Pricing Info for: v3-standard-8 05:06:44 INFO: Archiving Costs [Pipeline] echo 05:06:44 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 05:06:45 ---> logs-deploy.sh 05:06:45 lf-activate-venv: SKIPPING 05:06:45 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1311/1 05:06:45 INFO: archiving workspace using pattern(s): 05:06:46 Archives upload complete. 05:06:46 INFO: archiving logs to Nexus