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 2d47f06130efe23f62a62eca7f2537e0d7c1e066 rather than bb5c42cdde93153f32635e6e5637fc162a7abfce Obtained Jenkinsfile from 2d47f06130efe23f62a62eca7f2537e0d7c1e066 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-ssh16324704325769602005.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-ssh12656106498203426422.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-ssh2548137284988448630.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-ssh10156392989656419053.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-ssh14905894097322621992.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 All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-6291 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-ssh4647407261537820939.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-ssh1822546283363180162.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 2d47f06130efe23f62a62eca7f2537e0d7c1e066 into PR head commit bb5c42cdde93153f32635e6e5637fc162a7abfce Merge succeeded, producing cba3241d69c56e480a345c81d7caae044e4693c4 Checking out Revision cba3241d69c56e480a345c81d7caae044e4693c4 (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-ssh2652412509649502354.key > git merge 2d47f06130efe23f62a62eca7f2537e0d7c1e066 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f cba3241d69c56e480a345c81d7caae044e4693c4 # timeout=10 Commit message: "Merge commit '2d47f06130efe23f62a62eca7f2537e0d7c1e066' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 22:41:26 Timeout set to expire in 6 hr 0 min [Pipeline] { > git rev-list --no-walk f43761e549a5573a2abaf24ba3968b4b66cedc59 # timeout=10 [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 22:41:26 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 22:41:26 ========================================================= 22:41:26 EdgeX Global Pipelines Version Info 22:41:26 ========================================================= [Pipeline] libraryResource [Pipeline] sh 22:41:27 ------------------- 22:41:27 stable info: 22:41:27 ------------------- 22:41:27 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 22:41:27 Commit SHA: efdbc04638cc485a1a2a98c60e49a0e43cac6f53 22:41:27 Message: update stable to v1.0.220 22:41:28 ------------------- 22:41:28 experimental info: 22:41:28 ------------------- 22:41:28 Commited By: **** collab-it+edgex@linuxfoundation.org 22:41:28 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 22:41:28 Message: update experimental to v1.0.221 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 22:41:28 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 22:41:28 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 22:41:28 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 22:41:28 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 22:41:28 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 22:41:28 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 22:41:28 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 22:41:28 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 22:41:28 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 22:41:28 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 22:41:28 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 22:41:28 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 22:41:28 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 22:41:28 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 22:41:28 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 22:41:28 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 22:41:28 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 22:41:28 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 22:41:28 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 22:41:28 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 22:41:28 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 22:41:28 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 22:41:28 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 22:41:28 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 22:41:28 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 22:41:28 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 22:41:28 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1073 [Pipeline] echo 22:41:28 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1073 [Pipeline] echo 22:41:28 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1073 [Pipeline] echo 22:41:28 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = cba3241d69c56e480a345c81d7caae044e4693c4 [Pipeline] echo 22:41:28 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = cba3241 [Pipeline] echo 22:41:28 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:41:28 provisioning config files... 22:41:28 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1073@tmp/config4068571931419340825tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:41:29 ---> docker-login.sh 22:41:29 nexus3.edgexfoundry.org:10001 22:41:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:41:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:41:29 Configure a credential helper to remove this warning. See 22:41:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:41:29 22:41:29 Login Succeeded 22:41:29 nexus3.edgexfoundry.org:10002 22:41:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:41:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:41:29 Configure a credential helper to remove this warning. See 22:41:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:41:29 22:41:29 Login Succeeded 22:41:29 nexus3.edgexfoundry.org:10003 22:41:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:41:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:41:29 Configure a credential helper to remove this warning. See 22:41:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:41:29 22:41:29 Login Succeeded 22:41:29 nexus3.edgexfoundry.org:10004 22:41:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:41:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:41:29 Configure a credential helper to remove this warning. See 22:41:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:41:29 22:41:29 Login Succeeded 22:41:29 docker.io 22:41:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:41:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:41:30 Configure a credential helper to remove this warning. See 22:41:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:41:30 22:41:30 Login Succeeded 22:41:30 ---> docker-login.sh ends [Pipeline] } 22:41:30 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 22:41:30 + git rev-list -1 --merges cba3241d69c56e480a345c81d7caae044e4693c4~1..cba3241d69c56e480a345c81d7caae044e4693c4 [Pipeline] echo 22:41:30 -----------> git rev-list -1 --merges cba3241d69c56e480a345c81d7caae044e4693c4~1..cba3241d69c56e480a345c81d7caae044e4693c4 cba3241d69c56e480a345c81d7caae044e4693c4 22:41:30 cba3241d69c56e480a345c81d7caae044e4693c4 [false] [Pipeline] sh 22:41:30 + git log --format=format:%s -1 cba3241d69c56e480a345c81d7caae044e4693c4 [Pipeline] echo 22:41:30 ========================================================= 22:41:30 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 22:41:30 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:41:31 + git log --format=format:%s -1 cba3241d69c56e480a345c81d7caae044e4693c4 [Pipeline] echo 22:41:31 [semverPrep] GIT_COMMIT: cba3241d69c56e480a345c81d7caae044e4693c4, Commit Message: Merge commit '2d47f06130efe23f62a62eca7f2537e0d7c1e066' into HEAD [Pipeline] echo 22:41:31 [semverPrep] This is not a build commit. [Pipeline] sh 22:41:31 + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts 22:41:31 + grep -v github /etc/ssh/ssh_known_hosts 22:41:31 + '[' -e /tmp/ssh_known_hosts ']' 22:41:31 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 22:41:31 + sudo tee -a /etc/ssh/ssh_known_hosts 22:41:31 + echo 'github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=' 22:41:31 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 22:41:32 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 22:41:32 22:41:32 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 22:41:32 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 22:41:32 latest: Pulling from edgex-devops/git-semver 22:41:32 a0d0a0d46f8b: Pulling fs layer 22:41:32 3e5f54012d9b: Pulling fs layer 22:41:32 4c7163046ea9: Pulling fs layer 22:41:32 0c2d73faf560: Pulling fs layer 22:41:32 0c2d73faf560: Waiting 22:41:32 3e5f54012d9b: Verifying Checksum 22:41:32 3e5f54012d9b: Download complete 22:41:32 a0d0a0d46f8b: Verifying Checksum 22:41:32 a0d0a0d46f8b: Download complete 22:41:32 0c2d73faf560: Verifying Checksum 22:41:32 0c2d73faf560: Download complete 22:41:32 4c7163046ea9: Verifying Checksum 22:41:32 4c7163046ea9: Download complete 22:41:32 a0d0a0d46f8b: Pull complete 22:41:32 3e5f54012d9b: Pull complete 22:41:33 4c7163046ea9: Pull complete 22:41:33 0c2d73faf560: Pull complete 22:41:33 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 22:41:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 22:41:33 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 22:41:33 prd-centos7-docker-4c-2g-6291 does not seem to be running inside a container 22:41:33 $ 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:41:34 $ docker top 5cccc98caa0a5052ad28f584257daf2c3047c58d6ae49b77c416c17c33d785e1 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:41:34 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:41:34 [ssh-agent] Looking for ssh-agent implementation... 22:41:34 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:41:34 $ docker exec 5cccc98caa0a5052ad28f584257daf2c3047c58d6ae49b77c416c17c33d785e1 ssh-agent 22:41:34 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXeolKeF/agent.14 22:41:34 SSH_AGENT_PID=21 22:41:34 Running ssh-add (command line suppressed) 22:41:34 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1073@tmp/private_key_4821736880837773380.key (/w/workspace/gexfoundry_device-sdk-go_PR-1073@tmp/private_key_4821736880837773380.key) 22:41:34 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:41:34 + git tag --points-at HEAD [Pipeline] } 22:41:34 $ docker exec --env ******** --env ******** 5cccc98caa0a5052ad28f584257daf2c3047c58d6ae49b77c416c17c33d785e1 ssh-agent -k 22:41:35 unset SSH_AUTH_SOCK; 22:41:35 unset SSH_AGENT_PID; 22:41:35 echo Agent pid 21 killed; 22:41:35 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 22:41:35 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:41:35 [ssh-agent] Looking for ssh-agent implementation... 22:41:35 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:41:35 $ docker exec 5cccc98caa0a5052ad28f584257daf2c3047c58d6ae49b77c416c17c33d785e1 ssh-agent 22:41:35 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXCOmhGC/agent.54 22:41:35 SSH_AGENT_PID=60 22:41:35 Running ssh-add (command line suppressed) 22:41:35 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1073@tmp/private_key_6540576983100578589.key (/w/workspace/gexfoundry_device-sdk-go_PR-1073@tmp/private_key_6540576983100578589.key) 22:41:35 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:41:35 + git semver init 22:41:35 # -> Open(): unable to determine branch for HEAD 22:41:35 # $GIT_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1073/.git 22:41:35 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-sdk-go_PR-1073 22:41:35 # $SEMVER_REMOTE_NAME = origin 22:41:35 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 22:41:35 # $SEMVER_USER_NAME = edgex-jenkins 22:41:35 # $SEMVER_BRANCH = PR-1073 22:41:35 # $SEMVER_TEMP = /tmp/semver-627529951 22:41:35 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 22:41:36 # '/tmp/semver-627529951' -> '/w/workspace/gexfoundry_device-sdk-go_PR-1073/.semver' 22:41:36 # -> Force: false 22:41:36 # $SEMVER_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1073/.semver [Pipeline] } 22:41:36 $ docker exec --env ******** --env ******** 5cccc98caa0a5052ad28f584257daf2c3047c58d6ae49b77c416c17c33d785e1 ssh-agent -k 22:41:36 unset SSH_AUTH_SOCK; 22:41:36 unset SSH_AGENT_PID; 22:41:36 echo Agent pid 60 killed; 22:41:36 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:41:37 + git semver [Pipeline] } 22:41:37 $ docker stop --time=1 5cccc98caa0a5052ad28f584257daf2c3047c58d6ae49b77c416c17c33d785e1 22:41:38 $ docker rm -f 5cccc98caa0a5052ad28f584257daf2c3047c58d6ae49b77c416c17c33d785e1 [Pipeline] // withDockerContainer [Pipeline] sh 22:41:38 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 22:41:39 Stashed 1 file(s) [Pipeline] echo 22:41:39 [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:41:39 provisioning config files... 22:41:39 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1073@tmp/config7200375255683525852tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:41:39 ---> docker-login.sh 22:41:39 nexus3.edgexfoundry.org:10001 22:41:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:41:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:41:39 Configure a credential helper to remove this warning. See 22:41:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:41:39 22:41:39 Login Succeeded 22:41:39 nexus3.edgexfoundry.org:10002 22:41:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:41:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:41:39 Configure a credential helper to remove this warning. See 22:41:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:41:39 22:41:39 Login Succeeded 22:41:39 nexus3.edgexfoundry.org:10003 22:41:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:41:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:41:39 Configure a credential helper to remove this warning. See 22:41:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:41:39 22:41:39 Login Succeeded 22:41:39 nexus3.edgexfoundry.org:10004 22:41:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:41:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:41:40 Configure a credential helper to remove this warning. See 22:41:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:41:40 22:41:40 Login Succeeded 22:41:40 docker.io 22:41:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:41:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:41:40 Configure a credential helper to remove this warning. See 22:41:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:41:40 22:41:40 Login Succeeded 22:41:40 ---> docker-login.sh ends [Pipeline] } 22:41:40 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:41:40 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:41:40 ========================================================= 22:41:40 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 22:41:40 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 22:41:40 + 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:41:40 Sending build context to Docker daemon 33.96MB 22:41:40 Step 1/11 : ARG BASE=golang:1.17-alpine3.15 22:41:40 Step 2/11 : FROM ${BASE} AS builder 22:41:40 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 22:41:40 59bf1c3509f3: Pulling fs layer 22:41:40 666ba61612fd: Pulling fs layer 22:41:40 8ed8ca486205: Pulling fs layer 22:41:40 4fe6c5a15a65: Pulling fs layer 22:41:40 22a0e8bec74d: Pulling fs layer 22:41:40 640e595b4fbd: Pulling fs layer 22:41:40 763cafe07f6e: Pulling fs layer 22:41:40 0c0b528cf693: Pulling fs layer 22:41:40 10935f4eaf8b: Pulling fs layer 22:41:40 640e595b4fbd: Waiting 22:41:40 763cafe07f6e: Waiting 22:41:40 0c0b528cf693: Waiting 22:41:40 10935f4eaf8b: Waiting 22:41:40 4fe6c5a15a65: Waiting 22:41:40 22a0e8bec74d: Waiting 22:41:40 8ed8ca486205: Verifying Checksum 22:41:40 8ed8ca486205: Download complete 22:41:40 666ba61612fd: Verifying Checksum 22:41:40 666ba61612fd: Download complete 22:41:40 22a0e8bec74d: Verifying Checksum 22:41:40 22a0e8bec74d: Download complete 22:41:40 640e595b4fbd: Verifying Checksum 22:41:40 640e595b4fbd: Download complete 22:41:40 59bf1c3509f3: Verifying Checksum 22:41:40 59bf1c3509f3: Download complete 22:41:40 763cafe07f6e: Verifying Checksum 22:41:40 763cafe07f6e: Download complete 22:41:41 0c0b528cf693: Verifying Checksum 22:41:41 0c0b528cf693: Download complete 22:41:41 59bf1c3509f3: Pull complete 22:41:41 4fe6c5a15a65: Verifying Checksum 22:41:41 4fe6c5a15a65: Download complete 22:41:41 666ba61612fd: Pull complete 22:41:41 10935f4eaf8b: Verifying Checksum 22:41:41 10935f4eaf8b: Download complete 22:41:41 8ed8ca486205: Pull complete 22:41:47 4fe6c5a15a65: Pull complete 22:41:47 22a0e8bec74d: Pull complete 22:41:47 640e595b4fbd: Pull complete 22:41:47 763cafe07f6e: Pull complete 22:41:47 0c0b528cf693: Pull complete 22:41:49 10935f4eaf8b: Pull complete 22:41:49 Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 22:41:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 22:41:49 ---> 99d49a6021b9 22:41:49 Step 3/11 : ARG MAKE=make build 22:41:51 ---> Running in 65a42acfe0f7 22:41:51 Removing intermediate container 65a42acfe0f7 22:41:51 ---> e901957f62c2 22:41:51 Step 4/11 : WORKDIR /device-sdk-go 22:41:51 ---> Running in 87b28d1178bc 22:41:51 Removing intermediate container 87b28d1178bc 22:41:51 ---> 9115c24ac3e5 22:41:51 Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 22:41:51 ---> Running in 6ecff00f1ab7 22:41:51 Removing intermediate container 6ecff00f1ab7 22:41:51 ---> fede1338ff04 22:41:51 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 22:41:51 ---> Running in e86223cf9419 22:41:52 Removing intermediate container e86223cf9419 22:41:52 ---> 59e2c91f9457 22:41:52 Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 22:41:52 ---> Running in 1e9000431637 22:41:52 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 22:41:53 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 22:41:54 OK: 221 MiB in 52 packages 22:41:54 Removing intermediate container 1e9000431637 22:41:54 ---> 6c67e1753198 22:41:54 Step 8/11 : COPY go.mod vendor* ./ 22:41:54 Still waiting to schedule task 22:41:54 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 22:41:54 ---> 35c091674240 22:41:54 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:41:54 ---> Running in 8a1be9fb1f6f 22:42:33 Removing intermediate container 8a1be9fb1f6f 22:42:33 ---> 3dd80c9b501f 22:42:33 Step 10/11 : COPY . . 22:42:33 ---> e5a3d48f4fa1 22:42:33 Step 11/11 : RUN ${MAKE} 22:42:33 ---> Running in 41c602abb5c0 22:42:33 noop 22:42:33 Removing intermediate container 41c602abb5c0 22:42:33 ---> 8dcfced1539d 22:42:33 Successfully built 8dcfced1539d 22:42:33 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 22:42:33 + docker inspect -f . ci-base-image-x86_64 22:42:33 . [Pipeline] withDockerContainer 22:42:33 prd-centos7-docker-4c-2g-6291 does not seem to be running inside a container 22:42:33 $ 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:42:33 $ docker top e4c3d39e48b05752d5b6ef94045e7ba49b099260bdd074cc77f5890bc00969f9 -eo pid,comm [Pipeline] { [Pipeline] sh 22:42:34 + go version 22:42:34 go version go1.17.6 linux/amd64 [Pipeline] } 22:42:34 $ docker stop --time=1 e4c3d39e48b05752d5b6ef94045e7ba49b099260bdd074cc77f5890bc00969f9 22:42:35 $ docker rm -f e4c3d39e48b05752d5b6ef94045e7ba49b099260bdd074cc77f5890bc00969f9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 22:42:35 + docker inspect -f . ci-base-image-x86_64 22:42:35 . [Pipeline] withDockerContainer 22:42:35 prd-centos7-docker-4c-2g-6291 does not seem to be running inside a container 22:42:35 $ 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:42:36 $ docker top 187afe58c2633c7ae3f8bb8e2aae38b0cab30f07d32bf0de709209971f2d0827 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 22:42:36 + make test 22:42:36 GO111MODULE=on go test -coverprofile=coverage.out ./... 22:42:36 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:42:36 go get github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 22:42:36 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:42:36 go get github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 22:42:36 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:42:36 go get github.com/edgexfoundry/device-sdk-go/v2/internal/prometheus 22:42:36 make: *** [Makefile:36: unittest] Error 1 [Pipeline] } 22:42:36 $ docker stop --time=1 187afe58c2633c7ae3f8bb8e2aae38b0cab30f07d32bf0de709209971f2d0827 22:42:38 $ docker rm -f 187afe58c2633c7ae3f8bb8e2aae38b0cab30f07d32bf0de709209971f2d0827 [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:42:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:42:38 22:42:38 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 22:42:38 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:42:38 latest: Pulling from edgex-lftools-log-publisher 22:42:38 5eb5b503b376: Pulling fs layer 22:42:38 5c69ac0246d0: Pulling fs layer 22:42:38 ec43610c2a17: Pulling fs layer 22:42:38 3a2ae6a8a46f: Pulling fs layer 22:42:38 33b1e0a273af: Pulling fs layer 22:42:38 5d3b04190fa2: Pulling fs layer 22:42:38 2f39f015ded8: Pulling fs layer 22:42:38 33b1e0a273af: Waiting 22:42:38 5d3b04190fa2: Waiting 22:42:38 2f39f015ded8: Waiting 22:42:38 3a2ae6a8a46f: Waiting 22:42:38 5c69ac0246d0: Verifying Checksum 22:42:38 5c69ac0246d0: Download complete 22:42:38 3a2ae6a8a46f: Verifying Checksum 22:42:38 3a2ae6a8a46f: Download complete 22:42:38 33b1e0a273af: Verifying Checksum 22:42:38 33b1e0a273af: Download complete 22:42:39 5d3b04190fa2: Verifying Checksum 22:42:39 5d3b04190fa2: Download complete 22:42:39 ec43610c2a17: Verifying Checksum 22:42:39 ec43610c2a17: Download complete 22:42:39 5eb5b503b376: Verifying Checksum 22:42:39 5eb5b503b376: Download complete 22:42:39 2f39f015ded8: Verifying Checksum 22:42:39 2f39f015ded8: Download complete 22:42:41 5eb5b503b376: Pull complete 22:42:41 5c69ac0246d0: Pull complete 22:42:41 ec43610c2a17: Pull complete 22:42:41 3a2ae6a8a46f: Pull complete 22:42:41 33b1e0a273af: Pull complete 22:42:41 5d3b04190fa2: Pull complete 22:42:47 2f39f015ded8: Pull complete 22:42:47 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 22:42:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:42:47 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 22:42:47 prd-centos7-docker-4c-2g-6291 does not seem to be running inside a container 22:42:47 $ 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:42:49 $ docker top 026793f69c5f24a642b6fb8883edc62da89a299aa302c9537d10413fcdbd9d81 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:42:50 ---> job-cost.sh 22:42:50 lf-activate-venv: SKIPPING 22:42:50 INFO: No Stack... 22:42:50 INFO: Retrieving Pricing Info for: v3-standard-2 22:42:51 INFO: Archiving Costs [Pipeline] sh 22:42:51 + cat /w/workspace/gexfoundry_device-sdk-go_PR-1073/archives/cost.csv 22:42:51 + cut -d, -f6 [Pipeline] lock 22:42:51 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1073-13-stack-cost] 22:42:51 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1073-13-stack-cost] did not exist. Created. 22:42:51 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1073-13-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:42:51 + echo total: 0.05999999865889549 [Pipeline] stash 22:42:51 Stashed 1 file(s) [Pipeline] } 22:42:51 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1073-13-stack-cost] [Pipeline] // lock [Pipeline] } 22:42:51 $ docker stop --time=1 026793f69c5f24a642b6fb8883edc62da89a299aa302c9537d10413fcdbd9d81 22:42:52 $ docker rm -f 026793f69c5f24a642b6fb8883edc62da89a299aa302c9537d10413fcdbd9d81 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 22:42:52 Failed in branch amd64 22:43:18 Running on prd-ubuntu18.04-docker-arm64-4c-16g-6292 in /w/workspace/gexfoundry_device-sdk-go_PR-1073 [Pipeline] { [Pipeline] ws 22:43:18 Running in /w/workspace/device-sdk-go/13 [Pipeline] { [Pipeline] checkout 22:43:18 The recommended git tool is: git 22:43:23 using credential edgex-jenkins-ssh 22:43:23 Cloning the remote Git repository 22:43:23 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 22:43:23 > git init /w/workspace/device-sdk-go/13 # timeout=10 22:43:23 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 22:43:23 > git --version # timeout=10 22:43:23 > git --version # 'git version 2.17.1' 22:43:23 using GIT_SSH to set credentials SSH Credentials for GitHub 22:43:23 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 22:43:25 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 22:43:25 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 22:43:25 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 22:43:25 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 22:43:25 using GIT_SSH to set credentials SSH Credentials for GitHub 22:43:25 > 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:43:28 Merging remotes/origin/main commit 2d47f06130efe23f62a62eca7f2537e0d7c1e066 into PR head commit bb5c42cdde93153f32635e6e5637fc162a7abfce 22:43:28 Merge succeeded, producing 5abea0a0df12cd7231ebf2db9ee8b1adf86ce145 22:43:28 Checking out Revision 5abea0a0df12cd7231ebf2db9ee8b1adf86ce145 (PR-1073) 22:43:28 > git config core.sparsecheckout # timeout=10 22:43:28 > git checkout -f bb5c42cdde93153f32635e6e5637fc162a7abfce # timeout=10 22:43:28 > git remote # timeout=10 22:43:28 > git config --get remote.origin.url # timeout=10 22:43:28 using GIT_SSH to set credentials SSH Credentials for GitHub 22:43:28 > git merge 2d47f06130efe23f62a62eca7f2537e0d7c1e066 # timeout=10 22:43:28 > git rev-parse HEAD^{commit} # timeout=10 22:43:29 > git config core.sparsecheckout # timeout=10 22:43:29 > git checkout -f 5abea0a0df12cd7231ebf2db9ee8b1adf86ce145 # timeout=10 22:43:33 Commit message: "Merge commit '2d47f06130efe23f62a62eca7f2537e0d7c1e066' into HEAD" 22:43:33 First time build. Skipping changelog. 22:43:33 > git rev-list --no-walk f43761e549a5573a2abaf24ba3968b4b66cedc59 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:43:34 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 22:43:34 % Total % Received % Xferd Average Speed Time Time Time Current 22:43:34 Dload Upload Total Spent Left Speed 22:43:34 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 47562 0 --:--:-- --:--:-- --:--:-- 47562 [Pipeline] sh 22:43:34 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 22:43:35 + sudo tee /etc/docker/daemon.new 22:43:35 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 22:43:35 { 22:43:35 "registry-mirrors": [ 22:43:35 "https://nexus3.edgexfoundry.org:10001" 22:43:35 ], 22:43:35 "bip": "10.250.0.254/24", 22:43:35 "hosts": [ 22:43:35 "tcp://0.0.0.0:5555", 22:43:35 "unix:///var/run/docker.sock" 22:43:35 ], 22:43:35 "mtu": 1458, 22:43:35 "selinux-enabled": true, 22:43:35 "seccomp-profile": "/etc/docker/seccomp.json" 22:43:35 } [Pipeline] sh 22:43:35 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 22:43:35 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:43:54 provisioning config files... 22:43:54 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/13@tmp/config2064636045202198253tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:43:54 ---> docker-login.sh 22:43:54 nexus3.edgexfoundry.org:10001 22:43:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:43:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:43:55 Configure a credential helper to remove this warning. See 22:43:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:43:55 22:43:55 Login Succeeded 22:43:55 nexus3.edgexfoundry.org:10002 22:43:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:43:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:43:55 Configure a credential helper to remove this warning. See 22:43:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:43:55 22:43:55 Login Succeeded 22:43:55 nexus3.edgexfoundry.org:10003 22:43:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:43:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:43:56 Configure a credential helper to remove this warning. See 22:43:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:43:56 22:43:56 Login Succeeded 22:43:56 nexus3.edgexfoundry.org:10004 22:43:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:43:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:43:56 Configure a credential helper to remove this warning. See 22:43:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:43:56 22:43:56 Login Succeeded 22:43:56 docker.io 22:43:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:43:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:43:57 Configure a credential helper to remove this warning. See 22:43:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:43:57 22:43:57 Login Succeeded 22:43:57 ---> docker-login.sh ends [Pipeline] } 22:43:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:43:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:43:57 ========================================================= 22:43:57 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 22:43:57 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 22:43:58 + 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:43:58 Sending build context to Docker daemon 29.57MB 22:43:58 Step 1/11 : ARG BASE=golang:1.17-alpine3.15 22:43:58 Step 2/11 : FROM ${BASE} AS builder 22:43:58 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 22:43:58 9b3977197b4f: Pulling fs layer 22:43:58 1a89e8eeedd5: Pulling fs layer 22:43:58 94645a83ff95: Pulling fs layer 22:43:58 3f3a8bcf1eab: Pulling fs layer 22:43:58 0c92f367c5e7: Pulling fs layer 22:43:58 f7c0051592d6: Pulling fs layer 22:43:58 a227ed2f7395: Pulling fs layer 22:43:58 7b1c46037f91: Pulling fs layer 22:43:58 3f3a8bcf1eab: Waiting 22:43:58 f7c0051592d6: Waiting 22:43:58 a227ed2f7395: Waiting 22:43:58 7b1c46037f91: Waiting 22:43:58 0c92f367c5e7: Waiting 22:43:58 94645a83ff95: Verifying Checksum 22:43:58 94645a83ff95: Download complete 22:43:58 1a89e8eeedd5: Verifying Checksum 22:43:58 1a89e8eeedd5: Download complete 22:43:58 0c92f367c5e7: Verifying Checksum 22:43:58 0c92f367c5e7: Download complete 22:43:58 f7c0051592d6: Verifying Checksum 22:43:58 f7c0051592d6: Download complete 22:43:58 9b3977197b4f: Verifying Checksum 22:43:58 9b3977197b4f: Download complete 22:43:58 a227ed2f7395: Verifying Checksum 22:43:58 a227ed2f7395: Download complete 22:43:59 9b3977197b4f: Pull complete 22:44:00 1a89e8eeedd5: Pull complete 22:44:00 94645a83ff95: Pull complete 22:44:00 7b1c46037f91: Download complete 22:44:01 3f3a8bcf1eab: Verifying Checksum 22:44:01 3f3a8bcf1eab: Download complete 22:44:13 3f3a8bcf1eab: Pull complete 22:44:13 0c92f367c5e7: Pull complete 22:44:13 f7c0051592d6: Pull complete 22:44:13 a227ed2f7395: Pull complete 22:44:20 7b1c46037f91: Pull complete 22:44:20 Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe 22:44:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 22:44:20 ---> f79e39bc4007 22:44:20 Step 3/11 : ARG MAKE=make build 22:44:21 ---> Running in 9af9c104e394 22:44:21 Removing intermediate container 9af9c104e394 22:44:21 ---> 7ade7e1796e8 22:44:21 Step 4/11 : WORKDIR /device-sdk-go 22:44:21 ---> Running in b873b99632df 22:44:22 Removing intermediate container b873b99632df 22:44:22 ---> 253b23d6b8f0 22:44:22 Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 22:44:22 ---> Running in 6cd693189a09 22:44:22 Removing intermediate container 6cd693189a09 22:44:22 ---> eba34ab14e81 22:44:22 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 22:44:22 ---> Running in c73ec3cc16ac 22:44:24 Removing intermediate container c73ec3cc16ac 22:44:24 ---> 1157866c9e5f 22:44:24 Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 22:44:24 ---> Running in e26d15e41a1c 22:44:25 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 22:44:26 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 22:44:27 OK: 220 MiB in 52 packages 22:44:28 Removing intermediate container e26d15e41a1c 22:44:28 ---> 6a7035d8925f 22:44:28 Step 8/11 : COPY go.mod vendor* ./ 22:44:29 ---> 08e17236915d 22:44:29 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:44:29 ---> Running in c164640b91e7 22:45:50 Removing intermediate container c164640b91e7 22:45:50 ---> 1875e67807bb 22:45:50 Step 10/11 : COPY . . 22:45:50 ---> a3e319e1af1f 22:45:50 Step 11/11 : RUN ${MAKE} 22:45:50 ---> Running in ed2da10a2a07 22:45:50 noop 22:45:50 Removing intermediate container ed2da10a2a07 22:45:50 ---> b10ed57ce726 22:45:50 Successfully built b10ed57ce726 22:45:50 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 22:45:51 + docker inspect -f . ci-base-image-arm64 22:45:51 . [Pipeline] withDockerContainer 22:45:51 prd-ubuntu18.04-docker-arm64-4c-16g-6292 does not seem to be running inside a container 22:45:51 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/13 -v /w/workspace/device-sdk-go/13:/w/workspace/device-sdk-go/13:rw,z -v /w/workspace/device-sdk-go/13@tmp:/w/workspace/device-sdk-go/13@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:45:52 $ docker top 3668d139f57518cd4668144406b4396e0e87dd416550de67e5b773370b5926f3 -eo pid,comm [Pipeline] { [Pipeline] sh 22:45:53 + go version 22:45:53 go version go1.17.6 linux/arm64 [Pipeline] } 22:45:53 $ docker stop --time=1 3668d139f57518cd4668144406b4396e0e87dd416550de67e5b773370b5926f3 22:45:55 $ docker rm -f 3668d139f57518cd4668144406b4396e0e87dd416550de67e5b773370b5926f3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 22:45:56 + docker inspect -f . ci-base-image-arm64 22:45:56 . [Pipeline] withDockerContainer 22:45:56 prd-ubuntu18.04-docker-arm64-4c-16g-6292 does not seem to be running inside a container 22:45:56 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/13 -v /w/workspace/device-sdk-go/13:/w/workspace/device-sdk-go/13:rw,z -v /w/workspace/device-sdk-go/13@tmp:/w/workspace/device-sdk-go/13@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:45:57 $ docker top 75caf3c751190bb8a7ba2d22f101ed913d8418756dd590a6b91c7418cc524c1e -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 22:45:58 + make test 22:45:58 GO111MODULE=on go test -coverprofile=coverage.out ./... 22:45:59 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:45:59 go get github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 22:45:59 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:45:59 go get github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 22:45:59 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:45:59 go get github.com/edgexfoundry/device-sdk-go/v2/internal/prometheus 22:45:59 make: *** [Makefile:36: unittest] Error 1 [Pipeline] } 22:45:59 $ docker stop --time=1 75caf3c751190bb8a7ba2d22f101ed913d8418756dd590a6b91c7418cc524c1e 22:46:01 $ docker rm -f 75caf3c751190bb8a7ba2d22f101ed913d8418756dd590a6b91c7418cc524c1e [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:46:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:46:01 22:46:01 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 22:46:02 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:46:02 arm64: Pulling from edgex-lftools-log-publisher 22:46:02 8998bd30e6a1: Pulling fs layer 22:46:02 04944245beec: Pulling fs layer 22:46:02 699f458cf7ca: Pulling fs layer 22:46:02 765212b225bb: Pulling fs layer 22:46:02 f23df028b6ca: Pulling fs layer 22:46:02 d65c8cfc05b1: Pulling fs layer 22:46:02 2437ff75d9bd: Pulling fs layer 22:46:02 f23df028b6ca: Waiting 22:46:02 d65c8cfc05b1: Waiting 22:46:02 2437ff75d9bd: Waiting 22:46:02 765212b225bb: Waiting 22:46:02 04944245beec: Verifying Checksum 22:46:02 04944245beec: Download complete 22:46:02 765212b225bb: Verifying Checksum 22:46:02 765212b225bb: Download complete 22:46:02 f23df028b6ca: Verifying Checksum 22:46:02 f23df028b6ca: Download complete 22:46:02 d65c8cfc05b1: Verifying Checksum 22:46:02 d65c8cfc05b1: Download complete 22:46:02 699f458cf7ca: Verifying Checksum 22:46:02 699f458cf7ca: Download complete 22:46:03 8998bd30e6a1: Verifying Checksum 22:46:03 8998bd30e6a1: Download complete 22:46:05 2437ff75d9bd: Verifying Checksum 22:46:05 2437ff75d9bd: Download complete 22:46:07 8998bd30e6a1: Pull complete 22:46:07 04944245beec: Pull complete 22:46:09 699f458cf7ca: Pull complete 22:46:09 765212b225bb: Pull complete 22:46:10 f23df028b6ca: Pull complete 22:46:10 d65c8cfc05b1: Pull complete 22:46:25 2437ff75d9bd: Pull complete 22:46:25 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 22:46:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:46:25 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 22:46:25 prd-ubuntu18.04-docker-arm64-4c-16g-6292 does not seem to be running inside a container 22:46:26 $ 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/13 -v /w/workspace/device-sdk-go/13:/w/workspace/device-sdk-go/13:rw,z -v /w/workspace/device-sdk-go/13@tmp:/w/workspace/device-sdk-go/13@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:46:28 $ docker top 4d7a94363f2cd79d5aba456795ba656754b62f9c92b0e4e08a854e4a798f12ff -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:46:29 ---> job-cost.sh 22:46:29 lf-activate-venv: SKIPPING 22:46:29 INFO: No Stack... 22:46:30 INFO: Retrieving Pricing Info for: v3-standard-4 22:46:31 INFO: Archiving Costs [Pipeline] sh 22:46:31 + cat /w/workspace/device-sdk-go/13/archives/cost.csv 22:46:31 + cut -d, -f6 [Pipeline] lock 22:46:31 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1073-13-stack-cost] 22:46:31 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1073-13-stack-cost] did not exist. Created. 22:46:31 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1073-13-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:46:32 /w/workspace/device-sdk-go/13@tmp/durable-f757167e/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 22:46:33 + echo total: 0.10999999940395355 [Pipeline] stash 22:46:33 Warning: overwriting stash ‘stack-cost’ 22:46:33 Stashed 1 file(s) [Pipeline] } 22:46:33 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1073-13-stack-cost] [Pipeline] // lock [Pipeline] } 22:46:33 $ docker stop --time=1 4d7a94363f2cd79d5aba456795ba656754b62f9c92b0e4e08a854e4a798f12ff 22:46:35 $ docker rm -f 4d7a94363f2cd79d5aba456795ba656754b62f9c92b0e4e08a854e4a798f12ff [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 22:46:35 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:46:36 + '[' -d /w/workspace/gexfoundry_device-sdk-go_PR-1073/archives ']' 22:46:36 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1073/archives 22:46:36 total 8 22:46:36 drwxr-xr-x. 3 root root 34 Mar 2 22:42 . 22:46:36 drwxrwxr-x. 12 jenkins jenkins 4096 Mar 2 22:42 .. 22:46:36 drwxr-xr-x. 2 root root 6 Mar 2 22:42 cost 22:46:36 -rw-r--r--. 1 root root 86 Mar 2 22:42 cost.csv 22:46:36 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1073/archives 22:46:36 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1073/archives 22:46:36 total 8 22:46:36 drwxr-xr-x. 3 jenkins jenkins 34 Mar 2 22:42 . 22:46:36 drwxrwxr-x. 12 jenkins jenkins 4096 Mar 2 22:42 .. 22:46:36 drwxr-xr-x. 2 jenkins jenkins 6 Mar 2 22:42 cost 22:46:36 -rw-r--r--. 1 jenkins jenkins 86 Mar 2 22:42 cost.csv [Pipeline] libraryResource [Pipeline] sh 22:46:36 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 22:46:37 ---> package-listing.sh 22:46:37 ++ facter osfamily 22:46:37 ++ tr '[:upper:]' '[:lower:]' 22:46:37 + OS_FAMILY=redhat 22:46:37 + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1073 22:46:37 + START_PACKAGES=/tmp/packages_start.txt 22:46:37 + END_PACKAGES=/tmp/packages_end.txt 22:46:37 + DIFF_PACKAGES=/tmp/packages_diff.txt 22:46:37 + PACKAGES=/tmp/packages_start.txt 22:46:37 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1073 ']' 22:46:37 + PACKAGES=/tmp/packages_end.txt 22:46:37 + case "${OS_FAMILY}" in 22:46:37 + sort 22:46:37 + rpm -qa 22:46:37 + '[' -f /tmp/packages_start.txt ']' 22:46:37 + '[' -f /tmp/packages_end.txt ']' 22:46:37 + diff /tmp/packages_start.txt /tmp/packages_end.txt 22:46:37 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1073 ']' 22:46:37 + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1073/archives/ 22:46:37 + 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:46:37 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:46:38 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 22:46:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:46:38 . [Pipeline] withDockerContainer 22:46:38 prd-centos7-docker-4c-2g-6291 does not seem to be running inside a container 22:46:38 $ 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:46:39 $ docker top 383a3844818d7011bc727f346f1ee3e6a8ea0f8de5e9708cd91373722c7853d4 -eo pid,comm [Pipeline] { [Pipeline] sh 22:46:39 + touch /tmp/pre-build-complete [Pipeline] sh 22:46:39 + mkdir -p /var/log/sysstat [Pipeline] sh 22:46:39 + ls /var/log/sa-host 22:46:39 + sadf -c /var/log/sa-host/sa02 22:46:39 file_magic: OK 22:46:39 HZ: Using current value: 100 22:46:39 file_header: OK 22:46:39 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:46:39 Statistics: 22:46:39 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 22:46:39 File successfully converted to sysstat format version 12.5.2 22:46:39 + sadf -c /var/log/sa-host/sa17 22:46:39 file_magic: OK 22:46:39 HZ: Using current value: 100 22:46:39 file_header: OK 22:46:39 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:46:39 Statistics: 22:46:39 Hnuu...uuuununununu...Hnuu...uuuununununu... 22:46:39 File successfully converted to sysstat format version 12.5.2 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:46:40 provisioning config files... 22:46:40 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1073@tmp/config7058385278508499675tmp [Pipeline] { [Pipeline] echo 22:46:40 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 22:46:40 ---> create-netrc.sh [Pipeline] } 22:46:40 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 22:46:41 ---> python-tools-install.sh [Pipeline] echo 22:46:41 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 22:46:41 ---> sudo-logs.sh 22:46:41 Archiving 'sudo' log.. 22:46:41 sudo: unable to resolve host prd-centos7-docker-4c-2g-6291.novalocal: Name or service not known 22:46:41 sudo: unable to resolve host prd-centos7-docker-4c-2g-6291.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo 22:46:41 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 22:46:41 ---> job-cost.sh 22:46:41 lf-activate-venv: SKIPPING 22:46:41 DEBUG: total: 0.05999999865889549 22:46:41 INFO: Retrieving Stack Cost... 22:46:42 INFO: Retrieving Pricing Info for: v3-standard-2 22:46:42 INFO: Archiving Costs [Pipeline] echo 22:46:42 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 22:46:42 ---> logs-deploy.sh 22:46:42 lf-activate-venv: SKIPPING 22:46:42 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1073/13 22:46:42 INFO: archiving workspace using pattern(s): 22:46:43 Archives upload complete. 22:46:43 INFO: archiving logs to Nexus