Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of edgego for edgexfoundry/device-sdk-go Loading trusted files from base branch main at 9a649bf1bf9918af6bcd6933aa59ded149e77d26 rather than bb5c42cdde93153f32635e6e5637fc162a7abfce Obtained Jenkinsfile from 9a649bf1bf9918af6bcd6933aa59ded149e77d26 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-ssh15810903530300281475.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision efdbc04638cc485a1a2a98c60e49a0e43cac6f53 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-ssh9130875496275575807.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 efdbc04638cc485a1a2a98c60e49a0e43cac6f53 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-1073/workspace@libs/edgex-global-pipelines/.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-1073/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh10984382808079298052.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision efdbc04638cc485a1a2a98c60e49a0e43cac6f53 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f efdbc04638cc485a1a2a98c60e49a0e43cac6f53 # timeout=10 Commit message: "Merge pull request #376 from ernestojeda/add-ireland-release-stream" > 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 shared 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-ssh8379640786678514938.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 9bc0e518fca0494fd51682b06eec2da29a326327 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-1073/workspace@libs/lf-pipelines/.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-1073/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh15601909559589735515.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 9bc0e518fca0494fd51682b06eec2da29a326327 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 9bc0e518fca0494fd51682b06eec2da29a326327 # timeout=10 Commit message: "Merge "Fix: Make archiveArtifacts overwriteable in lfJava"" > 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 shared 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/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.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.17 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/v2 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 [Pipeline] node Still waiting to schedule task Waiting for next available executor Running on prd-centos7-docker-4c-2g-4597 in /w/workspace/gexfoundry_device-sdk-go_PR-1073 [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-1073 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.4' 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 /w/workspace/gexfoundry_device-sdk-go_PR-1073@tmp/jenkins-gitclient-ssh5511135260943147656.key > 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/gexfoundry_device-sdk-go_PR-1073@tmp/jenkins-gitclient-ssh660664341125221954.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1073/head:refs/remotes/origin/PR-1073 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 9a649bf1bf9918af6bcd6933aa59ded149e77d26 into PR head commit bb5c42cdde93153f32635e6e5637fc162a7abfce Merge succeeded, producing 7fc8aa036b7cec3061b759d0f8d02ed5204bc328 Checking out Revision 7fc8aa036b7cec3061b759d0f8d02ed5204bc328 (PR-1073) > git config core.sparsecheckout # timeout=10 > git checkout -f bb5c42cdde93153f32635e6e5637fc162a7abfce # timeout=10 > git remote # timeout=10 > 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 /w/workspace/gexfoundry_device-sdk-go_PR-1073@tmp/jenkins-gitclient-ssh3301947902160863546.key > git merge 9a649bf1bf9918af6bcd6933aa59ded149e77d26 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7fc8aa036b7cec3061b759d0f8d02ed5204bc328 # timeout=10 Commit message: "Merge commit '9a649bf1bf9918af6bcd6933aa59ded149e77d26' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 22:42:16 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 22:42:16 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 22:42:16 ========================================================= 22:42:16 EdgeX Global Pipelines Version Info 22:42:16 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk a83ef47174334c41610966b9d152aa3c9d0a893f # timeout=10 22:42:17 ------------------- 22:42:17 stable info: 22:42:17 ------------------- 22:42:17 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 22:42:17 Commit SHA: efdbc04638cc485a1a2a98c60e49a0e43cac6f53 22:42:17 Message: update stable to v1.0.220 22:42:18 ------------------- 22:42:18 experimental info: 22:42:18 ------------------- 22:42:18 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 22:42:18 Commit SHA: efdbc04638cc485a1a2a98c60e49a0e43cac6f53 22:42:18 Message: update experimental to v1.0.220 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 22:42:18 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 22:42:18 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 22:42:18 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 22:42:18 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 22:42:18 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 22:42:18 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 22:42:18 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 22:42:18 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 22:42:18 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 22:42:18 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 22:42:18 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 22:42:18 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 22:42:18 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 22:42:18 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 22:42:18 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 22:42:18 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 22:42:18 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 22:42:18 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 22:42:18 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 22:42:18 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 22:42:18 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 22:42:18 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 22:42:18 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 22:42:18 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 22:42:18 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 22:42:18 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 22:42:18 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1073 [Pipeline] echo 22:42:18 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1073 [Pipeline] echo 22:42:18 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1073 [Pipeline] echo 22:42:18 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 7fc8aa036b7cec3061b759d0f8d02ed5204bc328 [Pipeline] echo 22:42:18 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7fc8aa0 [Pipeline] echo 22:42:18 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:42:18 provisioning config files... 22:42:18 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1073@tmp/config2579939287518318059tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:42:19 ---> docker-login.sh 22:42:19 nexus3.edgexfoundry.org:10001 22:42:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:42:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:42:19 Configure a credential helper to remove this warning. See 22:42:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:42:19 22:42:19 Login Succeeded 22:42:19 nexus3.edgexfoundry.org:10002 22:42:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:42:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:42:19 Configure a credential helper to remove this warning. See 22:42:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:42:19 22:42:19 Login Succeeded 22:42:19 nexus3.edgexfoundry.org:10003 22:42:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:42:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:42:19 Configure a credential helper to remove this warning. See 22:42:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:42:19 22:42:19 Login Succeeded 22:42:19 nexus3.edgexfoundry.org:10004 22:42:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:42:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:42:19 Configure a credential helper to remove this warning. See 22:42:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:42:19 22:42:19 Login Succeeded 22:42:19 docker.io 22:42:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:42:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:42:20 Configure a credential helper to remove this warning. See 22:42:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:42:20 22:42:20 Login Succeeded 22:42:20 ---> docker-login.sh ends [Pipeline] } 22:42:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 22:42:20 + git rev-list -1 --merges 7fc8aa036b7cec3061b759d0f8d02ed5204bc328~1..7fc8aa036b7cec3061b759d0f8d02ed5204bc328 [Pipeline] echo 22:42:20 -----------> git rev-list -1 --merges 7fc8aa036b7cec3061b759d0f8d02ed5204bc328~1..7fc8aa036b7cec3061b759d0f8d02ed5204bc328 7fc8aa036b7cec3061b759d0f8d02ed5204bc328 22:42:20 7fc8aa036b7cec3061b759d0f8d02ed5204bc328 [false] [Pipeline] sh 22:42:21 + git log --format=format:%s -1 7fc8aa036b7cec3061b759d0f8d02ed5204bc328 [Pipeline] echo 22:42:21 ========================================================= 22:42:21 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 22:42:21 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:42:21 + git log --format=format:%s -1 7fc8aa036b7cec3061b759d0f8d02ed5204bc328 [Pipeline] echo 22:42:21 [semverPrep] GIT_COMMIT: 7fc8aa036b7cec3061b759d0f8d02ed5204bc328, Commit Message: Merge commit '9a649bf1bf9918af6bcd6933aa59ded149e77d26' into HEAD [Pipeline] echo 22:42:21 [semverPrep] This is not a build commit. [Pipeline] sh 22:42:21 + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts 22:42:21 + grep -v github /etc/ssh/ssh_known_hosts 22:42:21 + '[' -e /tmp/ssh_known_hosts ']' 22:42:21 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 22:42:21 + sudo tee -a /etc/ssh/ssh_known_hosts 22:42:21 + echo 'github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=' 22:42:21 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 22:42:22 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 22:42:22 22:42:22 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 22:42:22 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 22:42:22 latest: Pulling from edgex-devops/git-semver 22:42:22 a0d0a0d46f8b: Pulling fs layer 22:42:22 3e5f54012d9b: Pulling fs layer 22:42:22 4c7163046ea9: Pulling fs layer 22:42:22 0c2d73faf560: Pulling fs layer 22:42:22 0c2d73faf560: Waiting 22:42:22 3e5f54012d9b: Verifying Checksum 22:42:22 3e5f54012d9b: Download complete 22:42:22 a0d0a0d46f8b: Verifying Checksum 22:42:22 a0d0a0d46f8b: Download complete 22:42:22 0c2d73faf560: Verifying Checksum 22:42:22 0c2d73faf560: Download complete 22:42:22 4c7163046ea9: Verifying Checksum 22:42:22 4c7163046ea9: Download complete 22:42:22 a0d0a0d46f8b: Pull complete 22:42:22 3e5f54012d9b: Pull complete 22:42:22 4c7163046ea9: Pull complete 22:42:23 0c2d73faf560: Pull complete 22:42:23 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 22:42:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 22:42:23 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 22:42:23 prd-centos7-docker-4c-2g-4597 does not seem to be running inside a container 22:42:23 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1073 -v /w/workspace/gexfoundry_device-sdk-go_PR-1073:/w/workspace/gexfoundry_device-sdk-go_PR-1073:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1073@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1073@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:10004/edgex-devops/git-semver:latest cat 22:42:23 $ docker top 6aa520e80c0562fc544477dcdc200929cde8a0aea70c3a1cf0485e194b3646f8 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:42:24 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:42:24 [ssh-agent] Looking for ssh-agent implementation... 22:42:24 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:42:23 $ docker exec 6aa520e80c0562fc544477dcdc200929cde8a0aea70c3a1cf0485e194b3646f8 ssh-agent 22:42:24 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXJpLcpg/agent.14 22:42:24 SSH_AGENT_PID=20 22:42:24 Running ssh-add (command line suppressed) 22:42:24 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1073@tmp/private_key_6540843493706423574.key (/w/workspace/gexfoundry_device-sdk-go_PR-1073@tmp/private_key_6540843493706423574.key) 22:42:24 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:42:24 + git tag --points-at HEAD [Pipeline] } 22:42:24 $ docker exec --env ******** --env ******** 6aa520e80c0562fc544477dcdc200929cde8a0aea70c3a1cf0485e194b3646f8 ssh-agent -k 22:42:24 unset SSH_AUTH_SOCK; 22:42:24 unset SSH_AGENT_PID; 22:42:24 echo Agent pid 20 killed; 22:42:24 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 22:42:24 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:42:24 [ssh-agent] Looking for ssh-agent implementation... 22:42:25 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:42:24 $ docker exec 6aa520e80c0562fc544477dcdc200929cde8a0aea70c3a1cf0485e194b3646f8 ssh-agent 22:42:25 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXMijJGE/agent.54 22:42:25 SSH_AGENT_PID=61 22:42:25 Running ssh-add (command line suppressed) 22:42:25 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1073@tmp/private_key_6303683971931576285.key (/w/workspace/gexfoundry_device-sdk-go_PR-1073@tmp/private_key_6303683971931576285.key) 22:42:25 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:42:25 + git semver init 22:42:25 # -> Open(): unable to determine branch for HEAD 22:42:25 # $GIT_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1073/.git 22:42:25 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-sdk-go_PR-1073 22:42:25 # $SEMVER_REMOTE_NAME = origin 22:42:25 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 22:42:25 # $SEMVER_USER_NAME = edgex-jenkins 22:42:25 # $SEMVER_BRANCH = PR-1073 22:42:25 # $SEMVER_TEMP = /tmp/semver-659940106 22:42:25 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 22:42:26 # '/tmp/semver-659940106' -> '/w/workspace/gexfoundry_device-sdk-go_PR-1073/.semver' 22:42:26 # -> Force: false 22:42:26 # $SEMVER_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1073/.semver [Pipeline] } 22:42:26 $ docker exec --env ******** --env ******** 6aa520e80c0562fc544477dcdc200929cde8a0aea70c3a1cf0485e194b3646f8 ssh-agent -k 22:42:26 unset SSH_AUTH_SOCK; 22:42:26 unset SSH_AGENT_PID; 22:42:26 echo Agent pid 61 killed; 22:42:26 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:42:26 + git semver [Pipeline] } 22:42:26 $ docker stop --time=1 6aa520e80c0562fc544477dcdc200929cde8a0aea70c3a1cf0485e194b3646f8 22:42:28 $ docker rm -f 6aa520e80c0562fc544477dcdc200929cde8a0aea70c3a1cf0485e194b3646f8 [Pipeline] // withDockerContainer [Pipeline] sh 22:42:28 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 22:42:28 Stashed 1 file(s) [Pipeline] echo 22:42:28 [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 22:42:28 provisioning config files... 22:42:28 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1073@tmp/config2972076608757086933tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:42:29 ---> docker-login.sh 22:42:29 nexus3.edgexfoundry.org:10001 22:42:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:42:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:42:29 Configure a credential helper to remove this warning. See 22:42:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:42:29 22:42:29 Login Succeeded 22:42:29 nexus3.edgexfoundry.org:10002 22:42:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:42:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:42:29 Configure a credential helper to remove this warning. See 22:42:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:42:29 22:42:29 Login Succeeded 22:42:29 nexus3.edgexfoundry.org:10003 22:42:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:42:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:42:29 Configure a credential helper to remove this warning. See 22:42:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:42:29 22:42:29 Login Succeeded 22:42:29 nexus3.edgexfoundry.org:10004 22:42:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:42:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:42:29 Configure a credential helper to remove this warning. See 22:42:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:42:29 22:42:29 Login Succeeded 22:42:29 docker.io 22:42:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:42:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:42:30 Configure a credential helper to remove this warning. See 22:42:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:42:30 22:42:30 Login Succeeded 22:42:30 ---> docker-login.sh ends [Pipeline] } 22:42:30 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:42:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:42:30 ========================================================= 22:42:30 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 22:42:30 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 22:42:30 + 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.17-alpine --build-arg 'MAKE=echo noop' --target=builder . 22:42:30 Sending build context to Docker daemon 33.88MB 22:42:30 Step 1/11 : ARG BASE=golang:1.17-alpine3.15 22:42:30 Step 2/11 : FROM ${BASE} AS builder 22:42:30 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 22:42:30 59bf1c3509f3: Pulling fs layer 22:42:30 666ba61612fd: Pulling fs layer 22:42:30 8ed8ca486205: Pulling fs layer 22:42:30 4fe6c5a15a65: Pulling fs layer 22:42:30 22a0e8bec74d: Pulling fs layer 22:42:30 640e595b4fbd: Pulling fs layer 22:42:30 763cafe07f6e: Pulling fs layer 22:42:30 0c0b528cf693: Pulling fs layer 22:42:30 10935f4eaf8b: Pulling fs layer 22:42:30 4fe6c5a15a65: Waiting 22:42:30 22a0e8bec74d: Waiting 22:42:30 640e595b4fbd: Waiting 22:42:30 763cafe07f6e: Waiting 22:42:30 0c0b528cf693: Waiting 22:42:30 10935f4eaf8b: Waiting 22:42:30 8ed8ca486205: Verifying Checksum 22:42:30 8ed8ca486205: Download complete 22:42:30 666ba61612fd: Verifying Checksum 22:42:30 666ba61612fd: Download complete 22:42:30 22a0e8bec74d: Verifying Checksum 22:42:30 22a0e8bec74d: Download complete 22:42:30 640e595b4fbd: Verifying Checksum 22:42:30 640e595b4fbd: Download complete 22:42:30 763cafe07f6e: Verifying Checksum 22:42:30 763cafe07f6e: Download complete 22:42:30 59bf1c3509f3: Verifying Checksum 22:42:30 59bf1c3509f3: Download complete 22:42:31 0c0b528cf693: Verifying Checksum 22:42:31 0c0b528cf693: Download complete 22:42:31 10935f4eaf8b: Verifying Checksum 22:42:31 10935f4eaf8b: Download complete 22:42:31 4fe6c5a15a65: Verifying Checksum 22:42:31 4fe6c5a15a65: Download complete 22:42:31 59bf1c3509f3: Pull complete 22:42:31 666ba61612fd: Pull complete 22:42:31 8ed8ca486205: Pull complete 22:42:35 4fe6c5a15a65: Pull complete 22:42:36 22a0e8bec74d: Pull complete 22:42:36 640e595b4fbd: Pull complete 22:42:36 763cafe07f6e: Pull complete 22:42:36 0c0b528cf693: Pull complete 22:42:38 10935f4eaf8b: Pull complete 22:42:38 Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 22:42:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 22:42:38 ---> 99d49a6021b9 22:42:38 Step 3/11 : ARG MAKE=make build 22:42:40 ---> Running in 2ae1e573a711 22:42:40 Removing intermediate container 2ae1e573a711 22:42:40 ---> 317a5b300039 22:42:40 Step 4/11 : WORKDIR /device-sdk-go 22:42:40 ---> Running in e0cafee4959c 22:42:40 Removing intermediate container e0cafee4959c 22:42:40 ---> 1c1a4187bdcb 22:42:40 Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 22:42:40 ---> Running in b91814060fe1 22:42:41 Removing intermediate container b91814060fe1 22:42:41 ---> 033d210eaa66 22:42:41 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 22:42:41 ---> Running in ef300be37ba6 22:42:41 Removing intermediate container ef300be37ba6 22:42:41 ---> 845c411394ee 22:42:41 Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 22:42:41 ---> Running in 2f2a3772aeef 22:42:41 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 22:42:42 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 22:42:43 OK: 221 MiB in 52 packages 22:42:43 Removing intermediate container 2f2a3772aeef 22:42:43 ---> 1562bbe8cadd 22:42:43 Step 8/11 : COPY go.mod vendor* ./ 22:42:43 ---> a450ae0006f5 22:42:43 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:42:43 ---> Running in 134fc96eb513 22:42:43 Still waiting to schedule task 22:42:43 ‘prd-ubuntu18.04-docker-arm64-4c-16g-4598’ is offline 22:43:15 Removing intermediate container 134fc96eb513 22:43:15 ---> 51ddc72ae22a 22:43:15 Step 10/11 : COPY . . 22:43:15 ---> 08bd8e255264 22:43:15 Step 11/11 : RUN ${MAKE} 22:43:15 ---> Running in f4ea23b70b98 22:43:15 noop 22:43:15 Removing intermediate container f4ea23b70b98 22:43:15 ---> 706a1d1a494b 22:43:15 Successfully built 706a1d1a494b 22:43:15 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 22:43:15 + docker inspect -f . ci-base-image-x86_64 22:43:15 . [Pipeline] withDockerContainer 22:43:15 prd-centos7-docker-4c-2g-4597 does not seem to be running inside a container 22:43:16 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1073 -v /w/workspace/gexfoundry_device-sdk-go_PR-1073:/w/workspace/gexfoundry_device-sdk-go_PR-1073:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1073@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1073@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 ******** ci-base-image-x86_64 cat 22:43:16 $ docker top 1795d4f9ae7d0806ac7dc5e914ba9f287fb9f077ae448c854b4cf43ab28ed4ad -eo pid,comm [Pipeline] { [Pipeline] sh 22:43:16 + go version 22:43:16 go version go1.17.6 linux/amd64 [Pipeline] } 22:43:16 $ docker stop --time=1 1795d4f9ae7d0806ac7dc5e914ba9f287fb9f077ae448c854b4cf43ab28ed4ad 22:43:17 $ docker rm -f 1795d4f9ae7d0806ac7dc5e914ba9f287fb9f077ae448c854b4cf43ab28ed4ad [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 22:43:18 + docker inspect -f . ci-base-image-x86_64 22:43:18 . [Pipeline] withDockerContainer 22:43:18 prd-centos7-docker-4c-2g-4597 does not seem to be running inside a container 22:43:18 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1073 -v /w/workspace/gexfoundry_device-sdk-go_PR-1073:/w/workspace/gexfoundry_device-sdk-go_PR-1073:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1073@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1073@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 ******** ci-base-image-x86_64 cat 22:43:18 $ docker top deb805122dc8f61ef9fe6cd521929bc47186a96551616e4de9003bf95100f659 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 22:43:19 + make test 22:43:19 GO111MODULE=on go test -coverprofile=coverage.out ./... 22:43:19 internal/autoevent/executor.go:12:2: missing go.sum entry for module providing package github.com/prometheus/client_golang/prometheus (imported by github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent); to add: 22:43:19 go get github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 22:43:19 internal/autoevent/executor.go:13:2: missing go.sum entry for module providing package github.com/prometheus/client_golang/prometheus/promauto (imported by github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent); to add: 22:43:19 go get github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 22:43:19 internal/prometheus/prom.go:8:2: missing go.sum entry for module providing package github.com/prometheus/client_golang/prometheus/promhttp (imported by github.com/edgexfoundry/device-sdk-go/v2/internal/prometheus); to add: 22:43:19 go get github.com/edgexfoundry/device-sdk-go/v2/internal/prometheus 22:43:19 make: *** [Makefile:36: unittest] Error 1 [Pipeline] } 22:43:19 $ docker stop --time=1 deb805122dc8f61ef9fe6cd521929bc47186a96551616e4de9003bf95100f659 22:43:20 $ docker rm -f deb805122dc8f61ef9fe6cd521929bc47186a96551616e4de9003bf95100f659 [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] sh 22:43:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:43:21 22:43:21 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 22:43:21 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:43:21 latest: Pulling from edgex-lftools-log-publisher 22:43:21 b4d181a07f80: Pulling fs layer 22:43:21 a1111a8f2ec3: Pulling fs layer 22:43:21 ed53099fbce6: Pulling fs layer 22:43:21 dc539afda2c1: Pulling fs layer 22:43:21 77bc0d833cb6: Pulling fs layer 22:43:21 9065ff56babe: Pulling fs layer 22:43:21 d287ab97295c: Pulling fs layer 22:43:21 dc539afda2c1: Waiting 22:43:21 77bc0d833cb6: Waiting 22:43:21 d287ab97295c: Waiting 22:43:21 9065ff56babe: Waiting 22:43:21 a1111a8f2ec3: Verifying Checksum 22:43:21 a1111a8f2ec3: Download complete 22:43:21 dc539afda2c1: Verifying Checksum 22:43:21 dc539afda2c1: Download complete 22:43:21 77bc0d833cb6: Verifying Checksum 22:43:21 77bc0d833cb6: Download complete 22:43:21 ed53099fbce6: Verifying Checksum 22:43:21 ed53099fbce6: Download complete 22:43:21 9065ff56babe: Verifying Checksum 22:43:21 9065ff56babe: Download complete 22:43:21 b4d181a07f80: Verifying Checksum 22:43:21 b4d181a07f80: Download complete 22:43:22 d287ab97295c: Verifying Checksum 22:43:22 d287ab97295c: Download complete 22:43:23 b4d181a07f80: Pull complete 22:43:23 a1111a8f2ec3: Pull complete 22:43:23 ed53099fbce6: Pull complete 22:43:24 dc539afda2c1: Pull complete 22:43:24 77bc0d833cb6: Pull complete 22:43:24 9065ff56babe: Pull complete 22:43:29 d287ab97295c: Pull complete 22:43:29 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 22:43:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:43:29 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 22:43:29 prd-centos7-docker-4c-2g-4597 does not seem to be running inside a container 22:43: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/gexfoundry_device-sdk-go_PR-1073 -v /w/workspace/gexfoundry_device-sdk-go_PR-1073:/w/workspace/gexfoundry_device-sdk-go_PR-1073:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1073@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1073@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 22:43:32 $ docker top 8d16123e3f075f14374b41701f9eee9a63fcdc12619369e53ea8f29a37ba8102 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:43:32 ---> job-cost.sh 22:43:32 lf-activate-venv: SKIPPING 22:43:32 INFO: No Stack... 22:43:33 INFO: Retrieving Pricing Info for: v3-standard-2 22:43:33 INFO: Archiving Costs [Pipeline] sh 22:43:33 + cut -d, -f6 22:43:33 + cat /w/workspace/gexfoundry_device-sdk-go_PR-1073/archives/cost.csv [Pipeline] lock 22:43:33 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1073-11-stack-cost] 22:43:33 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1073-11-stack-cost] did not exist. Created. 22:43:33 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1073-11-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:43:34 + echo total: 0.05999999865889549 [Pipeline] stash 22:43:34 Stashed 1 file(s) [Pipeline] } 22:43:34 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1073-11-stack-cost] [Pipeline] // lock [Pipeline] } 22:43:34 $ docker stop --time=1 8d16123e3f075f14374b41701f9eee9a63fcdc12619369e53ea8f29a37ba8102 22:43:35 $ docker rm -f 8d16123e3f075f14374b41701f9eee9a63fcdc12619369e53ea8f29a37ba8102 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 22:43:35 Failed in branch amd64 22:44:53 Running on prd-ubuntu18.04-docker-arm64-4c-16g-4599 in /w/workspace/gexfoundry_device-sdk-go_PR-1073 [Pipeline] { [Pipeline] ws 22:44:53 Running in /w/workspace/device-sdk-go/11 [Pipeline] { [Pipeline] checkout 22:44:53 The recommended git tool is: git 22:44:58 using credential edgex-jenkins-ssh 22:44:58 Cloning the remote Git repository 22:44:58 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 22:44:58 > git init /w/workspace/device-sdk-go/11 # timeout=10 22:44:59 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 22:44:59 > git --version # timeout=10 22:44:59 > git --version # 'git version 2.17.1' 22:44:59 using GIT_SSH to set credentials SSH Credentials for GitHub 22:44:59 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 22:45:00 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 22:45:00 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 22:45:00 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 22:45:01 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 22:45:01 using GIT_SSH to set credentials SSH Credentials for GitHub 22:45:01 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1073/head:refs/remotes/origin/PR-1073 +refs/heads/main:refs/remotes/origin/main # timeout=10 22:45:04 Merging remotes/origin/main commit 9a649bf1bf9918af6bcd6933aa59ded149e77d26 into PR head commit bb5c42cdde93153f32635e6e5637fc162a7abfce 22:45:04 Merge succeeded, producing 1a6e0d3e7e2cad0ffbff5f3494a532a871e05c75 22:45:04 Checking out Revision 1a6e0d3e7e2cad0ffbff5f3494a532a871e05c75 (PR-1073) 22:45:04 > git config core.sparsecheckout # timeout=10 22:45:04 > git checkout -f bb5c42cdde93153f32635e6e5637fc162a7abfce # timeout=10 22:45:04 > git remote # timeout=10 22:45:04 > git config --get remote.origin.url # timeout=10 22:45:04 using GIT_SSH to set credentials SSH Credentials for GitHub 22:45:04 > git merge 9a649bf1bf9918af6bcd6933aa59ded149e77d26 # timeout=10 22:45:04 > git rev-parse HEAD^{commit} # timeout=10 22:45:04 > git config core.sparsecheckout # timeout=10 22:45:04 > git checkout -f 1a6e0d3e7e2cad0ffbff5f3494a532a871e05c75 # timeout=10 22:45:08 Commit message: "Merge commit '9a649bf1bf9918af6bcd6933aa59ded149e77d26' into HEAD" 22:45:08 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:45:09 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 22:45:09 % Total % Received % Xferd Average Speed Time Time Time Current 22:45:09 Dload Upload Total Spent Left Speed 22:45:09 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 206k 0 --:--:-- --:--:-- --:--:-- 206k [Pipeline] sh 22:45:10 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 22:45:08 > git rev-list --no-walk a83ef47174334c41610966b9d152aa3c9d0a893f # timeout=10 22:45:10 + sudo tee /etc/docker/daemon.new 22:45:10 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 22:45:10 { 22:45:10 "registry-mirrors": [ 22:45:10 "https://nexus3.edgexfoundry.org:10001" 22:45:10 ], 22:45:10 "bip": "10.250.0.254/24", 22:45:10 "hosts": [ 22:45:10 "tcp://0.0.0.0:5555", 22:45:10 "unix:///var/run/docker.sock" 22:45:10 ], 22:45:10 "mtu": 1458, 22:45:10 "selinux-enabled": true, 22:45:10 "seccomp-profile": "/etc/docker/seccomp.json" 22:45:10 } [Pipeline] sh 22:45:10 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 22:45:11 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:45:29 provisioning config files... 22:45:29 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/11@tmp/config3657688563805836504tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:45:30 ---> docker-login.sh 22:45:30 nexus3.edgexfoundry.org:10001 22:45:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:45:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:45:30 Configure a credential helper to remove this warning. See 22:45:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:45:30 22:45:30 Login Succeeded 22:45:30 nexus3.edgexfoundry.org:10002 22:45:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:45:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:45:31 Configure a credential helper to remove this warning. See 22:45:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:45:31 22:45:31 Login Succeeded 22:45:31 nexus3.edgexfoundry.org:10003 22:45:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:45:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:45:31 Configure a credential helper to remove this warning. See 22:45:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:45:31 22:45:31 Login Succeeded 22:45:31 nexus3.edgexfoundry.org:10004 22:45:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:45:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:45:32 Configure a credential helper to remove this warning. See 22:45:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:45:32 22:45:32 Login Succeeded 22:45:32 docker.io 22:45:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:45:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:45:32 Configure a credential helper to remove this warning. See 22:45:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:45:32 22:45:32 Login Succeeded 22:45:32 ---> docker-login.sh ends [Pipeline] } 22:45:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:45:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:45:33 ========================================================= 22:45:33 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 22:45:33 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 22:45:33 + 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.17-alpine --build-arg MAKE=echo noop --target=builder . 22:45:34 Sending build context to Docker daemon 29.52MB 22:45:34 Step 1/11 : ARG BASE=golang:1.17-alpine3.15 22:45:34 Step 2/11 : FROM ${BASE} AS builder 22:45:34 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 22:45:34 9b3977197b4f: Pulling fs layer 22:45:34 1a89e8eeedd5: Pulling fs layer 22:45:34 94645a83ff95: Pulling fs layer 22:45:34 3f3a8bcf1eab: Pulling fs layer 22:45:34 0c92f367c5e7: Pulling fs layer 22:45:34 f7c0051592d6: Pulling fs layer 22:45:34 a227ed2f7395: Pulling fs layer 22:45:34 7b1c46037f91: Pulling fs layer 22:45:34 3f3a8bcf1eab: Waiting 22:45:34 0c92f367c5e7: Waiting 22:45:34 f7c0051592d6: Waiting 22:45:34 a227ed2f7395: Waiting 22:45:34 7b1c46037f91: Waiting 22:45:34 94645a83ff95: Verifying Checksum 22:45:34 94645a83ff95: Download complete 22:45:34 1a89e8eeedd5: Verifying Checksum 22:45:34 1a89e8eeedd5: Download complete 22:45:34 0c92f367c5e7: Verifying Checksum 22:45:34 0c92f367c5e7: Download complete 22:45:34 f7c0051592d6: Verifying Checksum 22:45:34 f7c0051592d6: Download complete 22:45:34 9b3977197b4f: Verifying Checksum 22:45:34 9b3977197b4f: Download complete 22:45:34 a227ed2f7395: Verifying Checksum 22:45:34 a227ed2f7395: Download complete 22:45:35 9b3977197b4f: Pull complete 22:45:36 1a89e8eeedd5: Pull complete 22:45:36 94645a83ff95: Pull complete 22:45:36 7b1c46037f91: Verifying Checksum 22:45:36 7b1c46037f91: Download complete 22:45:37 3f3a8bcf1eab: Verifying Checksum 22:45:37 3f3a8bcf1eab: Download complete 22:45:49 3f3a8bcf1eab: Pull complete 22:45:49 0c92f367c5e7: Pull complete 22:45:49 f7c0051592d6: Pull complete 22:45:50 a227ed2f7395: Pull complete 22:45:56 7b1c46037f91: Pull complete 22:45:56 Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe 22:45:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 22:45:56 ---> f79e39bc4007 22:45:56 Step 3/11 : ARG MAKE=make build 22:45:56 ---> Running in 8c881105913b 22:45:57 Removing intermediate container 8c881105913b 22:45:57 ---> 001b8d9f4e4e 22:45:57 Step 4/11 : WORKDIR /device-sdk-go 22:45:57 ---> Running in ef6b05da6175 22:45:57 Removing intermediate container ef6b05da6175 22:45:57 ---> 32265a933413 22:45:57 Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 22:45:58 ---> Running in d3110d24d81f 22:45:58 Removing intermediate container d3110d24d81f 22:45:58 ---> 0cdaf11cbeaa 22:45:58 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 22:45:58 ---> Running in 10d340582956 22:46:00 Removing intermediate container 10d340582956 22:46:00 ---> 50f216eaa8b5 22:46:00 Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 22:46:00 ---> Running in e561e0b64079 22:46:01 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 22:46:02 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 22:46:03 OK: 220 MiB in 52 packages 22:46:04 Removing intermediate container e561e0b64079 22:46:04 ---> 569f52f76abd 22:46:04 Step 8/11 : COPY go.mod vendor* ./ 22:46:04 ---> a9c535c1e1c8 22:46:04 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:46:04 ---> Running in 1d8c369b4495 22:47:12 Removing intermediate container 1d8c369b4495 22:47:12 ---> de97b1fbbf35 22:47:12 Step 10/11 : COPY . . 22:47:14 ---> f28a2ea99d0d 22:47:14 Step 11/11 : RUN ${MAKE} 22:47:14 ---> Running in ea0a9c39abe3 22:47:15 noop 22:47:15 Removing intermediate container ea0a9c39abe3 22:47:15 ---> 384a3eabeb0d 22:47:15 Successfully built 384a3eabeb0d 22:47:15 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 22:47:16 + docker inspect -f . ci-base-image-arm64 22:47:16 . [Pipeline] withDockerContainer 22:47:16 prd-ubuntu18.04-docker-arm64-4c-16g-4599 does not seem to be running inside a container 22:47:16 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/11 -v /w/workspace/device-sdk-go/11:/w/workspace/device-sdk-go/11:rw,z -v /w/workspace/device-sdk-go/11@tmp:/w/workspace/device-sdk-go/11@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 ******** ci-base-image-arm64 cat 22:47:17 $ docker top f7101c129de58787278582fe1b00c5aa13a9a3be3de90532906dd9ef8dfbefce -eo pid,comm [Pipeline] { [Pipeline] sh 22:47:18 + go version 22:47:18 go version go1.17.6 linux/arm64 [Pipeline] } 22:47:18 $ docker stop --time=1 f7101c129de58787278582fe1b00c5aa13a9a3be3de90532906dd9ef8dfbefce 22:47:20 $ docker rm -f f7101c129de58787278582fe1b00c5aa13a9a3be3de90532906dd9ef8dfbefce [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 22:47:20 + docker inspect -f . ci-base-image-arm64 22:47:20 . [Pipeline] withDockerContainer 22:47:21 prd-ubuntu18.04-docker-arm64-4c-16g-4599 does not seem to be running inside a container 22:47:21 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/11 -v /w/workspace/device-sdk-go/11:/w/workspace/device-sdk-go/11:rw,z -v /w/workspace/device-sdk-go/11@tmp:/w/workspace/device-sdk-go/11@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 ******** ci-base-image-arm64 cat 22:47:22 $ docker top 63e1243fccfc584e160a97471dc2037daae4ee9ff6fa81ff87cdff7f41dd20a9 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 22:47:23 + make test 22:47:23 GO111MODULE=on go test -coverprofile=coverage.out ./... 22:47:24 internal/autoevent/executor.go:12:2: missing go.sum entry for module providing package github.com/prometheus/client_golang/prometheus (imported by github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent); to add: 22:47:24 go get github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 22:47:24 internal/autoevent/executor.go:13:2: missing go.sum entry for module providing package github.com/prometheus/client_golang/prometheus/promauto (imported by github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent); to add: 22:47:24 go get github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 22:47:24 internal/prometheus/prom.go:8:2: missing go.sum entry for module providing package github.com/prometheus/client_golang/prometheus/promhttp (imported by github.com/edgexfoundry/device-sdk-go/v2/internal/prometheus); to add: 22:47:24 go get github.com/edgexfoundry/device-sdk-go/v2/internal/prometheus 22:47:24 make: *** [Makefile:36: unittest] Error 1 [Pipeline] } 22:47:24 $ docker stop --time=1 63e1243fccfc584e160a97471dc2037daae4ee9ff6fa81ff87cdff7f41dd20a9 22:47:25 $ docker rm -f 63e1243fccfc584e160a97471dc2037daae4ee9ff6fa81ff87cdff7f41dd20a9 [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] sh 22:47:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:47:26 22:47:26 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 22:47:26 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:47:27 arm64: Pulling from edgex-lftools-log-publisher 22:47:27 448f6bf000e3: Pulling fs layer 22:47:27 f757da607395: Pulling fs layer 22:47:27 05883995daec: Pulling fs layer 22:47:27 8603b9c90790: Pulling fs layer 22:47:27 1560dd03e051: Pulling fs layer 22:47:27 27f5ce0e4adf: Pulling fs layer 22:47:27 c2d8d7efcc4b: Pulling fs layer 22:47:27 1560dd03e051: Waiting 22:47:27 8603b9c90790: Waiting 22:47:27 27f5ce0e4adf: Waiting 22:47:27 c2d8d7efcc4b: Waiting 22:47:27 f757da607395: Verifying Checksum 22:47:27 f757da607395: Download complete 22:47:27 8603b9c90790: Verifying Checksum 22:47:27 8603b9c90790: Download complete 22:47:27 1560dd03e051: Verifying Checksum 22:47:27 1560dd03e051: Download complete 22:47:27 27f5ce0e4adf: Verifying Checksum 22:47:27 27f5ce0e4adf: Download complete 22:47:27 05883995daec: Verifying Checksum 22:47:27 05883995daec: Download complete 22:47:27 448f6bf000e3: Verifying Checksum 22:47:30 c2d8d7efcc4b: Verifying Checksum 22:47:30 c2d8d7efcc4b: Download complete 22:47:31 448f6bf000e3: Pull complete 22:47:31 f757da607395: Pull complete 22:47:33 05883995daec: Pull complete 22:47:33 8603b9c90790: Pull complete 22:47:34 1560dd03e051: Pull complete 22:47:34 27f5ce0e4adf: Pull complete 22:47:49 c2d8d7efcc4b: Pull complete 22:47:49 Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 22:47:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:47:49 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 22:47:50 prd-ubuntu18.04-docker-arm64-4c-16g-4599 does not seem to be running inside a container 22:47:50 $ 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/11 -v /w/workspace/device-sdk-go/11:/w/workspace/device-sdk-go/11:rw,z -v /w/workspace/device-sdk-go/11@tmp:/w/workspace/device-sdk-go/11@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:arm64 cat 22:47:52 $ docker top 7c225218b657348f3acefcccfa34eed4c39b6118d8c6cc4e7dc54e8d165b4bda -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:47:53 ---> job-cost.sh 22:47:53 lf-activate-venv: SKIPPING 22:47:53 INFO: No Stack... 22:47:53 INFO: Retrieving Pricing Info for: v3-standard-4 22:47:54 INFO: Archiving Costs [Pipeline] sh 22:47:55 + cut -d, -f6 22:47:55 + cat /w/workspace/device-sdk-go/11/archives/cost.csv [Pipeline] lock 22:47:55 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1073-11-stack-cost] 22:47:55 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1073-11-stack-cost] did not exist. Created. 22:47:55 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1073-11-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:47:55 /w/workspace/device-sdk-go/11@tmp/durable-d1a64f91/script.sh: 1: /w/workspace/device-sdk-go/11@tmp/durable-d1a64f91/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 22:47:56 + echo total: 0.10999999940395355 [Pipeline] stash 22:47:56 Warning: overwriting stash ‘stack-cost’ 22:47:57 Stashed 1 file(s) [Pipeline] } 22:47:57 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1073-11-stack-cost] [Pipeline] // lock [Pipeline] } 22:47:57 $ docker stop --time=1 7c225218b657348f3acefcccfa34eed4c39b6118d8c6cc4e7dc54e8d165b4bda 22:47:58 $ docker rm -f 7c225218b657348f3acefcccfa34eed4c39b6118d8c6cc4e7dc54e8d165b4bda [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 22:47:58 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 22:47:59 + '[' -d /w/workspace/gexfoundry_device-sdk-go_PR-1073/archives ']' 22:47:59 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1073/archives 22:47:59 total 8 22:47:59 drwxr-xr-x. 3 root root 34 Feb 3 22:43 . 22:47:59 drwxrwxr-x. 12 jenkins jenkins 4096 Feb 3 22:43 .. 22:47:59 drwxr-xr-x. 2 root root 6 Feb 3 22:43 cost 22:47:59 -rw-r--r--. 1 root root 86 Feb 3 22:43 cost.csv 22:47:59 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1073/archives 22:47:59 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1073/archives 22:47:59 total 8 22:47:59 drwxr-xr-x. 3 jenkins jenkins 34 Feb 3 22:43 . 22:47:59 drwxrwxr-x. 12 jenkins jenkins 4096 Feb 3 22:43 .. 22:47:59 drwxr-xr-x. 2 jenkins jenkins 6 Feb 3 22:43 cost 22:47:59 -rw-r--r--. 1 jenkins jenkins 86 Feb 3 22:43 cost.csv [Pipeline] libraryResource [Pipeline] sh 22:47:59 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 22:48:00 ---> package-listing.sh 22:48:00 ++ facter osfamily 22:48:00 ++ tr '[:upper:]' '[:lower:]' 22:48:00 + OS_FAMILY=redhat 22:48:00 + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1073 22:48:00 + START_PACKAGES=/tmp/packages_start.txt 22:48:00 + END_PACKAGES=/tmp/packages_end.txt 22:48:00 + DIFF_PACKAGES=/tmp/packages_diff.txt 22:48:00 + PACKAGES=/tmp/packages_start.txt 22:48:00 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1073 ']' 22:48:00 + PACKAGES=/tmp/packages_end.txt 22:48:00 + case "${OS_FAMILY}" in 22:48:00 + rpm -qa 22:48:00 + sort 22:48:01 + '[' -f /tmp/packages_start.txt ']' 22:48:01 + '[' -f /tmp/packages_end.txt ']' 22:48:01 + diff /tmp/packages_start.txt /tmp/packages_end.txt 22:48:01 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1073 ']' 22:48:01 + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1073/archives/ 22:48:01 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1073/archives/ [Pipeline] echo 22:48:01 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-sdk-go_PR-1073/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 22:48:01 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 22:48:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:48:02 . [Pipeline] withDockerContainer 22:48:02 prd-centos7-docker-4c-2g-4597 does not seem to be running inside a container 22:48:02 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-sdk-go_PR-1073/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-1073 -v /w/workspace/gexfoundry_device-sdk-go_PR-1073:/w/workspace/gexfoundry_device-sdk-go_PR-1073:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1073@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1073@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 22:48:02 $ docker top 3a19779ab74e0136ac31946faf01de8208577a6d948fe32ccb037af4f7ec56ae -eo pid,comm [Pipeline] { [Pipeline] sh 22:48:02 + touch /tmp/pre-build-complete [Pipeline] sh 22:48:03 + mkdir -p /var/log/sysstat [Pipeline] sh 22:48:03 + ls /var/log/sa-host 22:48:03 + sadf -c /var/log/sa-host/sa03 22:48:03 file_magic: OK 22:48:03 HZ: Using current value: 100 22:48:03 file_header: OK 22:48:03 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 22:48:03 Statistics: 22:48:03 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 22:48:03 File successfully converted to sysstat format version 12.0.3 22:48:03 + sadf -c /var/log/sa-host/sa17 22:48:03 file_magic: OK 22:48:03 HZ: Using current value: 100 22:48:03 file_header: OK 22:48:03 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 22:48:03 Statistics: 22:48:03 Hnuu...uuuununununu...Hnuu...uuuununununu... 22:48:03 File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:48:03 provisioning config files... 22:48:03 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1073@tmp/config7633389941007371663tmp [Pipeline] { [Pipeline] echo 22:48:03 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 22:48:03 ---> create-netrc.sh [Pipeline] } 22:48:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 22:48:04 ---> python-tools-install.sh [Pipeline] echo 22:48:04 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 22:48:04 ---> sudo-logs.sh 22:48:04 Archiving 'sudo' log.. 22:48:04 sudo: unable to resolve host prd-centos7-docker-4c-2g-4597.novalocal: Name or service not known 22:48:04 sudo: unable to resolve host prd-centos7-docker-4c-2g-4597.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo 22:48:04 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 22:48:04 ---> job-cost.sh 22:48:04 lf-activate-venv: SKIPPING 22:48:04 DEBUG: total: 0.05999999865889549 22:48:04 INFO: Retrieving Stack Cost... 22:48:04 INFO: Retrieving Pricing Info for: v3-standard-2 22:48:05 INFO: Archiving Costs [Pipeline] echo 22:48:05 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 22:48:05 ---> logs-deploy.sh 22:48:05 lf-activate-venv: SKIPPING 22:48:05 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1073/11 22:48:05 INFO: archiving workspace using pattern(s): 22:48:06 Archives upload complete. 22:48:06 INFO: archiving logs to Nexus