Pull request #1114 event Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 864fa5d4fd2559e1cdbbad4694ed8b83946360d3+0c98a10ee9e4548efad256221762cfb1e846b147 (0661465e3bb1fa52fe1a7989e53883a8cd6f3cb0) 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-ssh1807195857038091486.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision c72b16708d6eed9a08be464a432ce22db7d90667 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-ssh17796247115071312410.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 c72b16708d6eed9a08be464a432ce22db7d90667 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-1114/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-1114/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh1900077409457634824.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision c72b16708d6eed9a08be464a432ce22db7d90667 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f c72b16708d6eed9a08be464a432ce22db7d90667 # timeout=10 Commit message: "Merge pull request #378 from ernestojeda/ubuntu-20-changes" > 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-ssh9777831998004554788.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b3dada9287033e4e81bc68320e01fd57bef02650 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-1114/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-1114/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh10911200366362720751.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > 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: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.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 on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-9219 in /w/workspace/gexfoundry_device-sdk-go_PR-1114 [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-1114 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 0c98a10ee9e4548efad256221762cfb1e846b147 into PR head commit 864fa5d4fd2559e1cdbbad4694ed8b83946360d3 Merge succeeded, producing 864fa5d4fd2559e1cdbbad4694ed8b83946360d3 Checking out Revision 864fa5d4fd2559e1cdbbad4694ed8b83946360d3 (PR-1114) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1114/head:refs/remotes/origin/PR-1114 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 864fa5d4fd2559e1cdbbad4694ed8b83946360d3 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 0c98a10ee9e4548efad256221762cfb1e846b147 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 864fa5d4fd2559e1cdbbad4694ed8b83946360d3 # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2" First time build. Skipping changelog. > git rev-list --no-walk 4539fa7440f788030369b66d47597f71f55c7fbf # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-03-28T04:20:10.484Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-03-28T04:20:10.545Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-03-28T04:20:10.561Z] ========================================================= [2022-03-28T04:20:10.561Z] EdgeX Global Pipelines Version Info [2022-03-28T04:20:10.561Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-03-28T04:20:11.352Z] ------------------- [2022-03-28T04:20:11.352Z] stable info: [2022-03-28T04:20:11.352Z] ------------------- [2022-03-28T04:20:11.352Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-03-28T04:20:11.352Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-03-28T04:20:11.352Z] Message: update stable to v1.0.221 [2022-03-28T04:20:11.923Z] ------------------- [2022-03-28T04:20:11.923Z] experimental info: [2022-03-28T04:20:11.923Z] ------------------- [2022-03-28T04:20:11.923Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-03-28T04:20:11.923Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-03-28T04:20:11.923Z] Message: update experimental to v1.0.221 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-03-28T04:20:12.065Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2022-03-28T04:20:12.083Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2022-03-28T04:20:12.101Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-03-28T04:20:12.113Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-03-28T04:20:12.128Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-03-28T04:20:12.145Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-03-28T04:20:12.167Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-03-28T04:20:12.189Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2022-03-28T04:20:12.205Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-03-28T04:20:12.217Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-03-28T04:20:12.232Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-03-28T04:20:12.245Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2022-03-28T04:20:12.260Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-03-28T04:20:12.279Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-03-28T04:20:12.295Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-03-28T04:20:12.305Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2022-03-28T04:20:12.321Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-03-28T04:20:12.333Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-03-28T04:20:12.349Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-03-28T04:20:12.362Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-03-28T04:20:12.375Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-03-28T04:20:12.387Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2022-03-28T04:20:12.399Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-03-28T04:20:12.414Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-03-28T04:20:12.429Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-03-28T04:20:12.449Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-03-28T04:20:12.468Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1114 [Pipeline] echo [2022-03-28T04:20:12.489Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1114 [Pipeline] echo [2022-03-28T04:20:12.508Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1114 [Pipeline] echo [2022-03-28T04:20:12.525Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 864fa5d4fd2559e1cdbbad4694ed8b83946360d3 [Pipeline] echo [2022-03-28T04:20:12.540Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 864fa5d [Pipeline] echo [2022-03-28T04:20:12.549Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-03-28T04:20:12.581Z] provisioning config files... [2022-03-28T04:20:12.596Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1114@tmp/config8905954081745370956tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-03-28T04:20:12.905Z] ---> docker-login.sh [2022-03-28T04:20:12.905Z] nexus3.edgexfoundry.org:10001 [2022-03-28T04:20:13.167Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-28T04:20:13.167Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-28T04:20:13.167Z] Configure a credential helper to remove this warning. See [2022-03-28T04:20:13.167Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-28T04:20:13.167Z] [2022-03-28T04:20:13.167Z] Login Succeeded [2022-03-28T04:20:13.167Z] nexus3.edgexfoundry.org:10002 [2022-03-28T04:20:13.429Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-28T04:20:13.429Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-28T04:20:13.429Z] Configure a credential helper to remove this warning. See [2022-03-28T04:20:13.429Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-28T04:20:13.429Z] [2022-03-28T04:20:13.429Z] Login Succeeded [2022-03-28T04:20:13.429Z] nexus3.edgexfoundry.org:10003 [2022-03-28T04:20:13.429Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-28T04:20:13.429Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-28T04:20:13.429Z] Configure a credential helper to remove this warning. See [2022-03-28T04:20:13.429Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-28T04:20:13.429Z] [2022-03-28T04:20:13.429Z] Login Succeeded [2022-03-28T04:20:13.429Z] nexus3.edgexfoundry.org:10004 [2022-03-28T04:20:13.690Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-28T04:20:13.690Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-28T04:20:13.690Z] Configure a credential helper to remove this warning. See [2022-03-28T04:20:13.690Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-28T04:20:13.690Z] [2022-03-28T04:20:13.690Z] Login Succeeded [2022-03-28T04:20:13.690Z] docker.io [2022-03-28T04:20:13.690Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-28T04:20:13.951Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-28T04:20:13.951Z] Configure a credential helper to remove this warning. See [2022-03-28T04:20:13.951Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-28T04:20:13.951Z] [2022-03-28T04:20:13.951Z] Login Succeeded [2022-03-28T04:20:13.951Z] ---> docker-login.sh ends [Pipeline] } [2022-03-28T04:20:13.965Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-03-28T04:20:14.363Z] + git rev-list -1 --merges 864fa5d4fd2559e1cdbbad4694ed8b83946360d3~1..864fa5d4fd2559e1cdbbad4694ed8b83946360d3 [Pipeline] echo [2022-03-28T04:20:14.496Z] -----------> git rev-list -1 --merges 864fa5d4fd2559e1cdbbad4694ed8b83946360d3~1..864fa5d4fd2559e1cdbbad4694ed8b83946360d3 864fa5d4fd2559e1cdbbad4694ed8b83946360d3 [false] [Pipeline] sh [2022-03-28T04:20:14.787Z] + git log --format=format:%s -1 864fa5d4fd2559e1cdbbad4694ed8b83946360d3 [Pipeline] echo [2022-03-28T04:20:14.805Z] ========================================================= [2022-03-28T04:20:14.805Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-03-28T04:20:14.805Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-03-28T04:20:15.159Z] + git log --format=format:%s -1 864fa5d4fd2559e1cdbbad4694ed8b83946360d3 [Pipeline] echo [2022-03-28T04:20:15.171Z] [semverPrep] GIT_COMMIT: 864fa5d4fd2559e1cdbbad4694ed8b83946360d3, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2 [Pipeline] echo [2022-03-28T04:20:15.185Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-03-28T04:20:15.795Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-03-28T04:20:15.795Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-03-28T04:20:15.795Z] + [ -e /tmp/ssh_known_hosts ] [2022-03-28T04:20:15.795Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-03-28T04:20:15.795Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-03-28T04:20:15.795Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-03-28T04:20:15.795Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-03-28T04:20:16.154Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-03-28T04:20:16.154Z] [2022-03-28T04:20:16.154Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-03-28T04:20:16.460Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-03-28T04:20:16.460Z] latest: Pulling from edgex-devops/git-semver [2022-03-28T04:20:16.460Z] a0d0a0d46f8b: Pulling fs layer [2022-03-28T04:20:16.460Z] 3e5f54012d9b: Pulling fs layer [2022-03-28T04:20:16.460Z] 4c7163046ea9: Pulling fs layer [2022-03-28T04:20:16.460Z] 0c2d73faf560: Pulling fs layer [2022-03-28T04:20:16.460Z] 0c2d73faf560: Waiting [2022-03-28T04:20:16.461Z] 3e5f54012d9b: Download complete [2022-03-28T04:20:16.461Z] a0d0a0d46f8b: Verifying Checksum [2022-03-28T04:20:16.461Z] a0d0a0d46f8b: Download complete [2022-03-28T04:20:16.461Z] 0c2d73faf560: Verifying Checksum [2022-03-28T04:20:16.461Z] 0c2d73faf560: Download complete [2022-03-28T04:20:16.461Z] 4c7163046ea9: Verifying Checksum [2022-03-28T04:20:16.461Z] 4c7163046ea9: Download complete [2022-03-28T04:20:16.720Z] a0d0a0d46f8b: Pull complete [2022-03-28T04:20:16.720Z] 3e5f54012d9b: Pull complete [2022-03-28T04:20:16.979Z] 4c7163046ea9: Pull complete [2022-03-28T04:20:17.239Z] 0c2d73faf560: Pull complete [2022-03-28T04:20:17.239Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-03-28T04:20:17.239Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-03-28T04:20:17.239Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-03-28T04:20:17.311Z] prd-ubuntu20.04-docker-8c-8g-9219 does not seem to be running inside a container [2022-03-28T04:20:17.362Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1114 -v /w/workspace/gexfoundry_device-sdk-go_PR-1114:/w/workspace/gexfoundry_device-sdk-go_PR-1114:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1114@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1114@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-03-28T04:20:18.073Z] $ docker top 467cb99077d46f6885744dcbaf008c7df8157214c794ce4a8a2048089b146c82 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-03-28T04:20:18.175Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-03-28T04:20:18.175Z] [ssh-agent] Looking for ssh-agent implementation... [2022-03-28T04:20:18.303Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-03-28T04:20:18.312Z] $ docker exec 467cb99077d46f6885744dcbaf008c7df8157214c794ce4a8a2048089b146c82 ssh-agent [2022-03-28T04:20:18.427Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXgfHBOl/agent.13 [2022-03-28T04:20:18.427Z] SSH_AGENT_PID=19 [2022-03-28T04:20:18.435Z] Running ssh-add (command line suppressed) [2022-03-28T04:20:18.549Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1114@tmp/private_key_7664036809614741871.key (/w/workspace/gexfoundry_device-sdk-go_PR-1114@tmp/private_key_7664036809614741871.key) [2022-03-28T04:20:18.560Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-03-28T04:20:18.852Z] + git tag --points-at HEAD [Pipeline] } [2022-03-28T04:20:18.871Z] $ docker exec --env ******** --env ******** 467cb99077d46f6885744dcbaf008c7df8157214c794ce4a8a2048089b146c82 ssh-agent -k [2022-03-28T04:20:18.985Z] unset SSH_AUTH_SOCK; [2022-03-28T04:20:18.985Z] unset SSH_AGENT_PID; [2022-03-28T04:20:18.985Z] echo Agent pid 19 killed; [2022-03-28T04:20:18.992Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-03-28T04:20:19.021Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-03-28T04:20:19.021Z] [ssh-agent] Looking for ssh-agent implementation... [2022-03-28T04:20:19.150Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-03-28T04:20:19.159Z] $ docker exec 467cb99077d46f6885744dcbaf008c7df8157214c794ce4a8a2048089b146c82 ssh-agent [2022-03-28T04:20:19.279Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXdJiIMi/agent.55 [2022-03-28T04:20:19.279Z] SSH_AGENT_PID=61 [2022-03-28T04:20:19.284Z] Running ssh-add (command line suppressed) [2022-03-28T04:20:19.411Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1114@tmp/private_key_8332357517371094485.key (/w/workspace/gexfoundry_device-sdk-go_PR-1114@tmp/private_key_8332357517371094485.key) [2022-03-28T04:20:19.422Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-03-28T04:20:19.716Z] + git semver init [2022-03-28T04:20:19.716Z] # -> Open(): unable to determine branch for HEAD [2022-03-28T04:20:19.716Z] # $GIT_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1114/.git [2022-03-28T04:20:19.716Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-sdk-go_PR-1114 [2022-03-28T04:20:19.716Z] # $SEMVER_REMOTE_NAME = origin [2022-03-28T04:20:19.716Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-03-28T04:20:19.716Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-03-28T04:20:19.716Z] # $SEMVER_BRANCH = PR-1114 [2022-03-28T04:20:19.716Z] # $SEMVER_TEMP = /tmp/semver-506694407 [2022-03-28T04:20:19.716Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2022-03-28T04:20:20.659Z] # '/tmp/semver-506694407' -> '/w/workspace/gexfoundry_device-sdk-go_PR-1114/.semver' [2022-03-28T04:20:20.659Z] # -> Force: false [2022-03-28T04:20:20.659Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1114/.semver [Pipeline] } [2022-03-28T04:20:20.676Z] $ docker exec --env ******** --env ******** 467cb99077d46f6885744dcbaf008c7df8157214c794ce4a8a2048089b146c82 ssh-agent -k [2022-03-28T04:20:20.790Z] unset SSH_AUTH_SOCK; [2022-03-28T04:20:20.790Z] unset SSH_AGENT_PID; [2022-03-28T04:20:20.790Z] echo Agent pid 61 killed; [2022-03-28T04:20:20.794Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-03-28T04:20:21.105Z] + git semver [Pipeline] } [2022-03-28T04:20:21.125Z] $ docker stop --time=1 467cb99077d46f6885744dcbaf008c7df8157214c794ce4a8a2048089b146c82 [2022-03-28T04:20:22.551Z] $ docker rm -f 467cb99077d46f6885744dcbaf008c7df8157214c794ce4a8a2048089b146c82 [Pipeline] // withDockerContainer [Pipeline] sh [2022-03-28T04:20:22.914Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-03-28T04:20:23.168Z] Stashed 1 file(s) [Pipeline] echo [2022-03-28T04:20:23.172Z] [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 [2022-03-28T04:20:23.377Z] provisioning config files... [2022-03-28T04:20:23.388Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1114@tmp/config4023423041652305513tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-03-28T04:20:23.693Z] ---> docker-login.sh [2022-03-28T04:20:23.693Z] nexus3.edgexfoundry.org:10001 [2022-03-28T04:20:23.693Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-28T04:20:23.693Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-28T04:20:23.693Z] Configure a credential helper to remove this warning. See [2022-03-28T04:20:23.693Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-28T04:20:23.693Z] [2022-03-28T04:20:23.693Z] Login Succeeded [2022-03-28T04:20:23.693Z] nexus3.edgexfoundry.org:10002 [2022-03-28T04:20:23.693Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-28T04:20:23.693Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-28T04:20:23.693Z] Configure a credential helper to remove this warning. See [2022-03-28T04:20:23.693Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-28T04:20:23.693Z] [2022-03-28T04:20:23.693Z] Login Succeeded [2022-03-28T04:20:23.953Z] nexus3.edgexfoundry.org:10003 [2022-03-28T04:20:23.953Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-28T04:20:23.953Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-28T04:20:23.953Z] Configure a credential helper to remove this warning. See [2022-03-28T04:20:23.953Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-28T04:20:23.953Z] [2022-03-28T04:20:23.953Z] Login Succeeded [2022-03-28T04:20:23.953Z] nexus3.edgexfoundry.org:10004 [2022-03-28T04:20:23.953Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-28T04:20:24.215Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-28T04:20:24.215Z] Configure a credential helper to remove this warning. See [2022-03-28T04:20:24.215Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-28T04:20:24.215Z] [2022-03-28T04:20:24.215Z] Login Succeeded [2022-03-28T04:20:24.215Z] docker.io [2022-03-28T04:20:24.215Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-28T04:20:24.476Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-28T04:20:24.476Z] Configure a credential helper to remove this warning. See [2022-03-28T04:20:24.476Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-28T04:20:24.476Z] [2022-03-28T04:20:24.476Z] Login Succeeded [2022-03-28T04:20:24.476Z] ---> docker-login.sh ends [Pipeline] } [2022-03-28T04:20:24.485Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-03-28T04:20:24.566Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-03-28T04:20:24.580Z] ========================================================= [2022-03-28T04:20:24.580Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-03-28T04:20:24.580Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-03-28T04:20:24.895Z] + 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 . [2022-03-28T04:20:24.895Z] Sending build context to Docker daemon 9.554MB [2022-03-28T04:20:24.895Z] Step 1/11 : ARG BASE=golang:1.17-alpine3.15 [2022-03-28T04:20:24.895Z] Step 2/11 : FROM ${BASE} AS builder [2022-03-28T04:20:24.895Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-03-28T04:20:24.895Z] 59bf1c3509f3: Pulling fs layer [2022-03-28T04:20:24.895Z] 666ba61612fd: Pulling fs layer [2022-03-28T04:20:24.895Z] 8ed8ca486205: Pulling fs layer [2022-03-28T04:20:24.895Z] 4fe6c5a15a65: Pulling fs layer [2022-03-28T04:20:24.895Z] 22a0e8bec74d: Pulling fs layer [2022-03-28T04:20:24.895Z] 640e595b4fbd: Pulling fs layer [2022-03-28T04:20:24.895Z] 763cafe07f6e: Pulling fs layer [2022-03-28T04:20:24.895Z] 0c0b528cf693: Pulling fs layer [2022-03-28T04:20:24.895Z] 10935f4eaf8b: Pulling fs layer [2022-03-28T04:20:24.895Z] 4fe6c5a15a65: Waiting [2022-03-28T04:20:24.895Z] 22a0e8bec74d: Waiting [2022-03-28T04:20:24.895Z] 640e595b4fbd: Waiting [2022-03-28T04:20:24.895Z] 10935f4eaf8b: Waiting [2022-03-28T04:20:24.895Z] 763cafe07f6e: Waiting [2022-03-28T04:20:24.895Z] 0c0b528cf693: Waiting [2022-03-28T04:20:25.159Z] 8ed8ca486205: Download complete [2022-03-28T04:20:25.159Z] 666ba61612fd: Verifying Checksum [2022-03-28T04:20:25.159Z] 666ba61612fd: Download complete [2022-03-28T04:20:25.159Z] 22a0e8bec74d: Verifying Checksum [2022-03-28T04:20:25.159Z] 22a0e8bec74d: Download complete [2022-03-28T04:20:25.159Z] 640e595b4fbd: Verifying Checksum [2022-03-28T04:20:25.159Z] 640e595b4fbd: Download complete [2022-03-28T04:20:25.159Z] 59bf1c3509f3: Verifying Checksum [2022-03-28T04:20:25.159Z] 59bf1c3509f3: Download complete [2022-03-28T04:20:25.159Z] 763cafe07f6e: Verifying Checksum [2022-03-28T04:20:25.159Z] 763cafe07f6e: Download complete [2022-03-28T04:20:25.159Z] 0c0b528cf693: Verifying Checksum [2022-03-28T04:20:25.159Z] 0c0b528cf693: Download complete [2022-03-28T04:20:25.159Z] 59bf1c3509f3: Pull complete [2022-03-28T04:20:25.424Z] 666ba61612fd: Pull complete [2022-03-28T04:20:25.424Z] 8ed8ca486205: Pull complete [2022-03-28T04:20:25.688Z] 10935f4eaf8b: Verifying Checksum [2022-03-28T04:20:25.688Z] 10935f4eaf8b: Download complete [2022-03-28T04:20:25.949Z] 4fe6c5a15a65: Verifying Checksum [2022-03-28T04:20:25.949Z] 4fe6c5a15a65: Download complete [2022-03-28T04:20:29.243Z] 4fe6c5a15a65: Pull complete [2022-03-28T04:20:29.243Z] 22a0e8bec74d: Pull complete [2022-03-28T04:20:29.243Z] 640e595b4fbd: Pull complete [2022-03-28T04:20:29.503Z] 763cafe07f6e: Pull complete [2022-03-28T04:20:29.503Z] 0c0b528cf693: Pull complete [2022-03-28T04:20:32.045Z] 10935f4eaf8b: Pull complete [2022-03-28T04:20:32.045Z] Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 [2022-03-28T04:20:32.045Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-03-28T04:20:32.045Z] ---> 99d49a6021b9 [2022-03-28T04:20:32.045Z] Step 3/11 : ARG MAKE=make build [2022-03-28T04:20:33.433Z] ---> Running in 9da9115a1828 [2022-03-28T04:20:33.433Z] Removing intermediate container 9da9115a1828 [2022-03-28T04:20:33.433Z] ---> 55032dc4a0bb [2022-03-28T04:20:33.433Z] Step 4/11 : WORKDIR /device-sdk-go [2022-03-28T04:20:33.433Z] ---> Running in 7ac0ffa068d1 [2022-03-28T04:20:33.433Z] Removing intermediate container 7ac0ffa068d1 [2022-03-28T04:20:33.433Z] ---> a1746ac95e2a [2022-03-28T04:20:33.433Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-03-28T04:20:33.433Z] ---> Running in 3f343db4251b [2022-03-28T04:20:33.694Z] Removing intermediate container 3f343db4251b [2022-03-28T04:20:33.694Z] ---> 22a2a8114866 [2022-03-28T04:20:33.694Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-03-28T04:20:33.694Z] ---> Running in 77cd99eb8f1e [2022-03-28T04:20:34.265Z] Removing intermediate container 77cd99eb8f1e [2022-03-28T04:20:34.265Z] ---> e8fc948c27e3 [2022-03-28T04:20:34.265Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-03-28T04:20:34.265Z] ---> Running in df80aefc1f1e [2022-03-28T04:20:34.526Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-03-28T04:20:35.474Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-03-28T04:20:35.737Z] OK: 221 MiB in 52 packages [2022-03-28T04:20:36.311Z] Removing intermediate container df80aefc1f1e [2022-03-28T04:20:36.311Z] ---> 9b82a7f117aa [2022-03-28T04:20:36.311Z] Step 8/11 : COPY go.mod vendor* ./ [2022-03-28T04:20:36.311Z] ---> 7dd28ba18f68 [2022-03-28T04:20:36.311Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-03-28T04:20:36.311Z] ---> Running in d5c06c909302 [2022-03-28T04:20:38.311Z] Still waiting to schedule task [2022-03-28T04:20:38.311Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2022-03-28T04:20:54.425Z] Removing intermediate container d5c06c909302 [2022-03-28T04:20:54.425Z] ---> 39a2c3c464a8 [2022-03-28T04:20:54.425Z] Step 10/11 : COPY . . [2022-03-28T04:20:54.425Z] ---> be63b0a2011e [2022-03-28T04:20:54.425Z] Step 11/11 : RUN ${MAKE} [2022-03-28T04:20:54.425Z] ---> Running in 54181c107193 [2022-03-28T04:20:54.425Z] noop [2022-03-28T04:20:54.685Z] Removing intermediate container 54181c107193 [2022-03-28T04:20:54.685Z] ---> f00d04aa67ac [2022-03-28T04:20:54.685Z] Successfully built f00d04aa67ac [2022-03-28T04:20:54.685Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-03-28T04:20:54.979Z] + docker inspect -f . ci-base-image-x86_64 [2022-03-28T04:20:54.979Z] . [Pipeline] withDockerContainer [2022-03-28T04:20:55.043Z] prd-ubuntu20.04-docker-8c-8g-9219 does not seem to be running inside a container [2022-03-28T04:20:55.083Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1114 -v /w/workspace/gexfoundry_device-sdk-go_PR-1114:/w/workspace/gexfoundry_device-sdk-go_PR-1114:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1114@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1114@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-03-28T04:20:55.493Z] $ docker top 92d1e37dd7f746bea70f98c93ef4600c1ace35aa85bdd69b01b5f14d44a8d81a -eo pid,comm [Pipeline] { [Pipeline] sh [2022-03-28T04:20:55.855Z] + go version [2022-03-28T04:20:55.855Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-03-28T04:20:55.873Z] $ docker stop --time=1 92d1e37dd7f746bea70f98c93ef4600c1ace35aa85bdd69b01b5f14d44a8d81a [2022-03-28T04:20:57.215Z] $ docker rm -f 92d1e37dd7f746bea70f98c93ef4600c1ace35aa85bdd69b01b5f14d44a8d81a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-03-28T04:20:57.647Z] + docker inspect -f . ci-base-image-x86_64 [2022-03-28T04:20:57.647Z] . [Pipeline] withDockerContainer [2022-03-28T04:20:57.715Z] prd-ubuntu20.04-docker-8c-8g-9219 does not seem to be running inside a container [2022-03-28T04:20:57.759Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1114 -v /w/workspace/gexfoundry_device-sdk-go_PR-1114:/w/workspace/gexfoundry_device-sdk-go_PR-1114:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1114@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1114@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-03-28T04:20:58.177Z] $ docker top 29948c194e39eaaabb39b6dca77a7cbd9949b9d56899017f08bf7fe83d8bc683 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-03-28T04:20:58.548Z] + make test [2022-03-28T04:20:58.548Z] GO111MODULE=on go test -coverprofile=coverage.out ./... [2022-03-28T04:20:59.119Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-03-28T04:21:09.104Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-03-28T04:21:09.104Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-03-28T04:21:09.104Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-03-28T04:21:09.104Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.011s coverage: 23.3% of statements [2022-03-28T04:21:09.104Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-03-28T04:21:09.104Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.024s coverage: 27.6% of statements [2022-03-28T04:21:09.104Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.028s coverage: 78.9% of statements [2022-03-28T04:21:09.104Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.018s coverage: 10.8% of statements [2022-03-28T04:21:09.104Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2022-03-28T04:21:09.104Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-03-28T04:21:09.104Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-03-28T04:21:09.104Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.021s coverage: 33.2% of statements [2022-03-28T04:21:09.104Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-03-28T04:21:09.104Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.030s coverage: 86.1% of statements [2022-03-28T04:21:09.104Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-03-28T04:21:09.104Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-03-28T04:21:09.104Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.017s coverage: 57.4% of statements [2022-03-28T04:21:09.104Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.036s coverage: 89.2% of statements [2022-03-28T04:21:09.104Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-03-28T04:21:09.104Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.017s coverage: 4.8% of statements [2022-03-28T04:21:09.104Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-03-28T04:21:15.784Z] GO111MODULE=on go vet ./... [2022-03-28T04:21:19.979Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-03-28T04:21:19.979Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-03-28T04:21:19.979Z] ./bin/test-attribution-txt.sh [2022-03-28T04:21:20.240Z] An attribution for github.com/golang/protobuf is missing from in Attribution.txt, please add [2022-03-28T04:21:20.240Z] An attribution for github.com/spiffe/go-spiffe/v2 is missing from in Attribution.txt, please add [2022-03-28T04:21:20.240Z] An attribution for github.com/zeebo/errs is missing from in Attribution.txt, please add [2022-03-28T04:21:20.505Z] An attribution for google.golang.org/genproto is missing from in Attribution.txt, please add [2022-03-28T04:21:20.505Z] An attribution for google.golang.org/grpc is missing from in Attribution.txt, please add [2022-03-28T04:21:20.505Z] An attribution for google.golang.org/protobuf is missing from in Attribution.txt, please add [2022-03-28T04:21:20.505Z] An attribution for gopkg.in/square/go-jose.v2 is missing from in Attribution.txt, please add [2022-03-28T04:21:20.505Z] make: *** [Makefile:46: test] Error 1 [Pipeline] } [2022-03-28T04:21:20.525Z] $ docker stop --time=1 29948c194e39eaaabb39b6dca77a7cbd9949b9d56899017f08bf7fe83d8bc683 [2022-03-28T04:21:22.449Z] $ docker rm -f 29948c194e39eaaabb39b6dca77a7cbd9949b9d56899017f08bf7fe83d8bc683 [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 [2022-03-28T04:21:23.057Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-03-28T04:21:23.057Z] [2022-03-28T04:21:23.057Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-03-28T04:21:23.364Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-03-28T04:21:23.364Z] latest: Pulling from edgex-lftools-log-publisher [2022-03-28T04:21:23.364Z] 5eb5b503b376: Pulling fs layer [2022-03-28T04:21:23.364Z] 5c69ac0246d0: Pulling fs layer [2022-03-28T04:21:23.364Z] ec43610c2a17: Pulling fs layer [2022-03-28T04:21:23.364Z] 3a2ae6a8a46f: Pulling fs layer [2022-03-28T04:21:23.364Z] 33b1e0a273af: Pulling fs layer [2022-03-28T04:21:23.364Z] 5d3b04190fa2: Pulling fs layer [2022-03-28T04:21:23.364Z] 2f39f015ded8: Pulling fs layer [2022-03-28T04:21:23.364Z] 33b1e0a273af: Waiting [2022-03-28T04:21:23.364Z] 5d3b04190fa2: Waiting [2022-03-28T04:21:23.364Z] 2f39f015ded8: Waiting [2022-03-28T04:21:23.364Z] 3a2ae6a8a46f: Waiting [2022-03-28T04:21:23.364Z] 5c69ac0246d0: Download complete [2022-03-28T04:21:23.364Z] 3a2ae6a8a46f: Verifying Checksum [2022-03-28T04:21:23.364Z] 3a2ae6a8a46f: Download complete [2022-03-28T04:21:23.364Z] 33b1e0a273af: Verifying Checksum [2022-03-28T04:21:23.364Z] 33b1e0a273af: Download complete [2022-03-28T04:21:23.364Z] 5d3b04190fa2: Verifying Checksum [2022-03-28T04:21:23.364Z] 5d3b04190fa2: Download complete [2022-03-28T04:21:23.364Z] ec43610c2a17: Verifying Checksum [2022-03-28T04:21:23.364Z] ec43610c2a17: Download complete [2022-03-28T04:21:23.624Z] 5eb5b503b376: Verifying Checksum [2022-03-28T04:21:23.624Z] 5eb5b503b376: Download complete [2022-03-28T04:21:24.191Z] 2f39f015ded8: Verifying Checksum [2022-03-28T04:21:24.191Z] 2f39f015ded8: Download complete [2022-03-28T04:21:24.762Z] 5eb5b503b376: Pull complete [2022-03-28T04:21:25.022Z] 5c69ac0246d0: Pull complete [2022-03-28T04:21:25.590Z] ec43610c2a17: Pull complete [2022-03-28T04:21:25.590Z] 3a2ae6a8a46f: Pull complete [2022-03-28T04:21:25.849Z] 33b1e0a273af: Pull complete [2022-03-28T04:21:25.849Z] 5d3b04190fa2: Pull complete [2022-03-28T04:21:31.132Z] 2f39f015ded8: Pull complete [2022-03-28T04:21:31.132Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-03-28T04:21:31.132Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-03-28T04:21:31.132Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-03-28T04:21:31.211Z] prd-ubuntu20.04-docker-8c-8g-9219 does not seem to be running inside a container [2022-03-28T04:21:31.255Z] $ 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-1114 -v /w/workspace/gexfoundry_device-sdk-go_PR-1114:/w/workspace/gexfoundry_device-sdk-go_PR-1114:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1114@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1114@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-03-28T04:21:33.048Z] $ docker top 6e0188e94a9078a0e712024254c7ca74fa7045f3d2df80f7172d3f0605448231 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-03-28T04:21:33.460Z] ---> job-cost.sh [2022-03-28T04:21:33.460Z] lf-activate-venv: SKIPPING [2022-03-28T04:21:33.460Z] INFO: No Stack... [2022-03-28T04:21:33.719Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-03-28T04:21:34.289Z] INFO: Archiving Costs [Pipeline] sh [2022-03-28T04:21:34.592Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1114/archives/cost.csv [2022-03-28T04:21:34.592Z] + cut -d, -f6 [Pipeline] lock [2022-03-28T04:21:34.611Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1114-2-stack-cost] [2022-03-28T04:21:34.617Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1114-2-stack-cost] did not exist. Created. [2022-03-28T04:21:34.617Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1114-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-03-28T04:21:34.924Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-03-28T04:21:34.957Z] Stashed 1 file(s) [Pipeline] } [2022-03-28T04:21:34.966Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1114-2-stack-cost] [Pipeline] // lock [Pipeline] } [2022-03-28T04:21:34.991Z] $ docker stop --time=1 6e0188e94a9078a0e712024254c7ca74fa7045f3d2df80f7172d3f0605448231 [2022-03-28T04:21:36.169Z] $ docker rm -f 6e0188e94a9078a0e712024254c7ca74fa7045f3d2df80f7172d3f0605448231 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-03-28T04:21:36.286Z] Failed in branch amd64 [2022-03-28T04:23:38.012Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-9221 in /w/workspace/gexfoundry_device-sdk-go_PR-1114 [Pipeline] { [Pipeline] ws [2022-03-28T04:23:38.026Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2022-03-28T04:23:38.392Z] The recommended git tool is: git [2022-03-28T04:23:46.583Z] using credential edgex-jenkins-ssh [2022-03-28T04:23:46.599Z] Cloning the remote Git repository [2022-03-28T04:23:46.683Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2022-03-28T04:23:46.766Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2022-03-28T04:23:46.889Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-03-28T04:23:46.890Z] > git --version # timeout=10 [2022-03-28T04:23:46.989Z] > git --version # 'git version 2.25.1' [2022-03-28T04:23:46.991Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-03-28T04:23:47.085Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-03-28T04:23:49.555Z] Merging remotes/origin/main commit 0c98a10ee9e4548efad256221762cfb1e846b147 into PR head commit 864fa5d4fd2559e1cdbbad4694ed8b83946360d3 [2022-03-28T04:23:48.823Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-03-28T04:23:48.854Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-03-28T04:23:48.882Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-03-28T04:23:48.924Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-03-28T04:23:48.925Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-03-28T04:23:48.945Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1114/head:refs/remotes/origin/PR-1114 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-03-28T04:23:49.581Z] > git config core.sparsecheckout # timeout=10 [2022-03-28T04:23:49.604Z] > git checkout -f 864fa5d4fd2559e1cdbbad4694ed8b83946360d3 # timeout=10 [2022-03-28T04:23:49.857Z] Merge succeeded, producing 864fa5d4fd2559e1cdbbad4694ed8b83946360d3 [2022-03-28T04:23:49.857Z] Checking out Revision 864fa5d4fd2559e1cdbbad4694ed8b83946360d3 (PR-1114) [2022-03-28T04:23:49.733Z] > git remote # timeout=10 [2022-03-28T04:23:49.761Z] > git config --get remote.origin.url # timeout=10 [2022-03-28T04:23:49.785Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-03-28T04:23:49.798Z] > git merge 0c98a10ee9e4548efad256221762cfb1e846b147 # timeout=10 [2022-03-28T04:23:49.831Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-03-28T04:23:49.870Z] > git config core.sparsecheckout # timeout=10 [2022-03-28T04:23:49.904Z] > git checkout -f 864fa5d4fd2559e1cdbbad4694ed8b83946360d3 # timeout=10 [2022-03-28T04:23:54.399Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-03-28T04:23:55.307Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-03-28T04:23:55.307Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-03-28T04:23:55.307Z] Dload Upload Total Spent Left Speed [2022-03-28T04:23:55.307Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 218k 0 --:--:-- --:--:-- --:--:-- 218k [Pipeline] sh [2022-03-28T04:23:55.860Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-03-28T04:23:56.224Z] + sudo tee /etc/docker/daemon.new [2022-03-28T04:23:56.225Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-03-28T04:23:56.225Z] { [2022-03-28T04:23:56.225Z] "registry-mirrors": [ [2022-03-28T04:23:56.225Z] "https://nexus3.edgexfoundry.org:10001" [2022-03-28T04:23:56.225Z] ], [2022-03-28T04:23:56.225Z] "bip": "10.250.0.254/24", [2022-03-28T04:23:56.225Z] "hosts": [ [2022-03-28T04:23:56.225Z] "tcp://0.0.0.0:5555", [2022-03-28T04:23:56.225Z] "unix:///var/run/docker.sock" [2022-03-28T04:23:56.225Z] ], [2022-03-28T04:23:56.225Z] "mtu": 1458, [2022-03-28T04:23:56.225Z] "selinux-enabled": true, [2022-03-28T04:23:56.225Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-03-28T04:23:56.225Z] } [Pipeline] sh [2022-03-28T04:23:56.587Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-03-28T04:23:56.947Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-03-28T04:24:15.368Z] provisioning config files... [2022-03-28T04:24:15.423Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config629897750964484313tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-03-28T04:24:15.831Z] ---> docker-login.sh [2022-03-28T04:24:15.832Z] nexus3.edgexfoundry.org:10001 [2022-03-28T04:24:16.455Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-28T04:24:16.735Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-28T04:24:16.735Z] Configure a credential helper to remove this warning. See [2022-03-28T04:24:16.735Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-28T04:24:16.735Z] [2022-03-28T04:24:16.735Z] Login Succeeded [2022-03-28T04:24:16.735Z] nexus3.edgexfoundry.org:10002 [2022-03-28T04:24:17.344Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-28T04:24:17.344Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-28T04:24:17.344Z] Configure a credential helper to remove this warning. See [2022-03-28T04:24:17.344Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-28T04:24:17.344Z] [2022-03-28T04:24:17.344Z] Login Succeeded [2022-03-28T04:24:17.344Z] nexus3.edgexfoundry.org:10003 [2022-03-28T04:24:17.624Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-28T04:24:17.901Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-28T04:24:17.901Z] Configure a credential helper to remove this warning. See [2022-03-28T04:24:17.901Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-28T04:24:17.901Z] [2022-03-28T04:24:17.901Z] Login Succeeded [2022-03-28T04:24:17.901Z] nexus3.edgexfoundry.org:10004 [2022-03-28T04:24:18.176Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-28T04:24:18.449Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-28T04:24:18.449Z] Configure a credential helper to remove this warning. See [2022-03-28T04:24:18.449Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-28T04:24:18.449Z] [2022-03-28T04:24:18.449Z] Login Succeeded [2022-03-28T04:24:18.449Z] docker.io [2022-03-28T04:24:18.724Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-28T04:24:19.324Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-28T04:24:19.324Z] Configure a credential helper to remove this warning. See [2022-03-28T04:24:19.324Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-28T04:24:19.324Z] [2022-03-28T04:24:19.324Z] Login Succeeded [2022-03-28T04:24:19.324Z] ---> docker-login.sh ends [Pipeline] } [2022-03-28T04:24:19.344Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-03-28T04:24:19.789Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-03-28T04:24:19.805Z] ========================================================= [2022-03-28T04:24:19.805Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-03-28T04:24:19.805Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-03-28T04:24:20.225Z] + 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 . [2022-03-28T04:24:20.507Z] Sending build context to Docker daemon 5.162MB [2022-03-28T04:24:20.786Z] Step 1/11 : ARG BASE=golang:1.17-alpine3.15 [2022-03-28T04:24:20.786Z] Step 2/11 : FROM ${BASE} AS builder [2022-03-28T04:24:20.786Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-03-28T04:24:20.787Z] 9b3977197b4f: Pulling fs layer [2022-03-28T04:24:20.787Z] 1a89e8eeedd5: Pulling fs layer [2022-03-28T04:24:20.787Z] 94645a83ff95: Pulling fs layer [2022-03-28T04:24:20.787Z] 3f3a8bcf1eab: Pulling fs layer [2022-03-28T04:24:20.787Z] 0c92f367c5e7: Pulling fs layer [2022-03-28T04:24:20.787Z] f7c0051592d6: Pulling fs layer [2022-03-28T04:24:20.787Z] a227ed2f7395: Pulling fs layer [2022-03-28T04:24:20.787Z] 7b1c46037f91: Pulling fs layer [2022-03-28T04:24:20.787Z] 3f3a8bcf1eab: Waiting [2022-03-28T04:24:20.787Z] 0c92f367c5e7: Waiting [2022-03-28T04:24:20.787Z] f7c0051592d6: Waiting [2022-03-28T04:24:20.787Z] a227ed2f7395: Waiting [2022-03-28T04:24:20.787Z] 7b1c46037f91: Waiting [2022-03-28T04:24:20.787Z] 94645a83ff95: Verifying Checksum [2022-03-28T04:24:20.787Z] 94645a83ff95: Download complete [2022-03-28T04:24:21.066Z] 1a89e8eeedd5: Download complete [2022-03-28T04:24:21.066Z] 0c92f367c5e7: Verifying Checksum [2022-03-28T04:24:21.066Z] 0c92f367c5e7: Download complete [2022-03-28T04:24:21.066Z] 9b3977197b4f: Download complete [2022-03-28T04:24:21.066Z] f7c0051592d6: Verifying Checksum [2022-03-28T04:24:21.066Z] f7c0051592d6: Download complete [2022-03-28T04:24:21.066Z] a227ed2f7395: Verifying Checksum [2022-03-28T04:24:21.066Z] a227ed2f7395: Download complete [2022-03-28T04:24:21.673Z] 9b3977197b4f: Pull complete [2022-03-28T04:24:22.283Z] 1a89e8eeedd5: Pull complete [2022-03-28T04:24:22.884Z] 94645a83ff95: Pull complete [2022-03-28T04:24:23.168Z] 7b1c46037f91: Verifying Checksum [2022-03-28T04:24:23.168Z] 7b1c46037f91: Download complete [2022-03-28T04:24:23.765Z] 3f3a8bcf1eab: Verifying Checksum [2022-03-28T04:24:23.765Z] 3f3a8bcf1eab: Download complete [2022-03-28T04:24:36.183Z] 3f3a8bcf1eab: Pull complete [2022-03-28T04:24:36.183Z] 0c92f367c5e7: Pull complete [2022-03-28T04:24:36.458Z] f7c0051592d6: Pull complete [2022-03-28T04:24:37.056Z] a227ed2f7395: Pull complete [2022-03-28T04:24:43.927Z] 7b1c46037f91: Pull complete [2022-03-28T04:24:43.927Z] Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe [2022-03-28T04:24:43.927Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-03-28T04:24:43.927Z] ---> f79e39bc4007 [2022-03-28T04:24:43.927Z] Step 3/11 : ARG MAKE=make build [2022-03-28T04:24:44.209Z] ---> Running in 82e7dbe69b22 [2022-03-28T04:24:44.490Z] Removing intermediate container 82e7dbe69b22 [2022-03-28T04:24:44.490Z] ---> f69c230033c2 [2022-03-28T04:24:44.490Z] Step 4/11 : WORKDIR /device-sdk-go [2022-03-28T04:24:44.490Z] ---> Running in 10362dda39bb [2022-03-28T04:24:44.766Z] Removing intermediate container 10362dda39bb [2022-03-28T04:24:44.766Z] ---> f3f1712d2e6f [2022-03-28T04:24:44.766Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-03-28T04:24:45.042Z] ---> Running in 145063ab6a30 [2022-03-28T04:24:45.338Z] Removing intermediate container 145063ab6a30 [2022-03-28T04:24:45.338Z] ---> 392b4fd4633a [2022-03-28T04:24:45.338Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-03-28T04:24:45.338Z] ---> Running in 8d26037889c6 [2022-03-28T04:24:47.323Z] Removing intermediate container 8d26037889c6 [2022-03-28T04:24:47.323Z] ---> f2e794254068 [2022-03-28T04:24:47.323Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-03-28T04:24:47.323Z] ---> Running in 2eeb5423b1e4 [2022-03-28T04:24:48.319Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-03-28T04:24:49.298Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-03-28T04:24:49.904Z] OK: 220 MiB in 52 packages [2022-03-28T04:24:50.909Z] Removing intermediate container 2eeb5423b1e4 [2022-03-28T04:24:50.909Z] ---> bcfc5c1d8162 [2022-03-28T04:24:50.909Z] Step 8/11 : COPY go.mod vendor* ./ [2022-03-28T04:24:51.182Z] ---> 2eeb9d261d6f [2022-03-28T04:24:51.182Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-03-28T04:24:51.468Z] ---> Running in 01cb062edc8c [2022-03-28T04:25:38.491Z] Removing intermediate container 01cb062edc8c [2022-03-28T04:25:38.491Z] ---> 5db04391135d [2022-03-28T04:25:38.491Z] Step 10/11 : COPY . . [2022-03-28T04:25:38.491Z] ---> 7c53e8a6c727 [2022-03-28T04:25:38.491Z] Step 11/11 : RUN ${MAKE} [2022-03-28T04:25:38.491Z] ---> Running in 9544e3a95010 [2022-03-28T04:25:38.491Z] noop [2022-03-28T04:25:38.767Z] Removing intermediate container 9544e3a95010 [2022-03-28T04:25:38.767Z] ---> 93b71f33e55b [2022-03-28T04:25:39.041Z] Successfully built 93b71f33e55b [2022-03-28T04:25:39.041Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-03-28T04:25:39.395Z] + docker inspect -f . ci-base-image-arm64 [2022-03-28T04:25:39.395Z] . [Pipeline] withDockerContainer [2022-03-28T04:25:39.641Z] prd-ubuntu20.04-docker-arm64-4c-16g-9221 does not seem to be running inside a container [2022-03-28T04:25:39.742Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-03-28T04:25:41.111Z] $ docker top ab0a22cc30c5d2d2b2d2260b5c964a66b3ad81ca4c2e3a37de4f23535eadd985 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-03-28T04:25:42.041Z] + go version [2022-03-28T04:25:42.041Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-03-28T04:25:42.075Z] $ docker stop --time=1 ab0a22cc30c5d2d2b2d2260b5c964a66b3ad81ca4c2e3a37de4f23535eadd985 [2022-03-28T04:25:43.739Z] $ docker rm -f ab0a22cc30c5d2d2b2d2260b5c964a66b3ad81ca4c2e3a37de4f23535eadd985 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-03-28T04:25:44.329Z] + docker inspect -f . ci-base-image-arm64 [2022-03-28T04:25:44.329Z] . [Pipeline] withDockerContainer [2022-03-28T04:25:44.558Z] prd-ubuntu20.04-docker-arm64-4c-16g-9221 does not seem to be running inside a container [2022-03-28T04:25:44.661Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-03-28T04:25:46.016Z] $ docker top fc52657fb2c0a4f0bcdadb3cdb3f1037411c875674aa0c606dc56ee7fe6fda58 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-03-28T04:25:46.947Z] + make test [2022-03-28T04:25:46.947Z] GO111MODULE=on go test -coverprofile=coverage.out ./... [2022-03-28T04:25:48.938Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-03-28T04:27:10.784Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-03-28T04:27:10.784Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-03-28T04:27:10.784Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-03-28T04:27:14.212Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.127s coverage: 23.3% of statements [2022-03-28T04:27:14.212Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-03-28T04:27:14.212Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.063s coverage: 27.6% of statements [2022-03-28T04:27:14.212Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.073s coverage: 78.9% of statements [2022-03-28T04:27:16.204Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.063s coverage: 10.8% of statements [2022-03-28T04:27:16.204Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2022-03-28T04:27:16.204Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-03-28T04:27:16.204Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-03-28T04:27:18.852Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.100s coverage: 33.2% of statements [2022-03-28T04:27:18.852Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-03-28T04:27:21.494Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.077s coverage: 86.1% of statements [2022-03-28T04:27:21.494Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-03-28T04:27:21.494Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-03-28T04:27:21.494Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.104s coverage: 57.4% of statements [2022-03-28T04:27:21.494Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.243s coverage: 89.2% of statements [2022-03-28T04:27:21.494Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-03-28T04:27:24.873Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.063s coverage: 4.8% of statements [2022-03-28T04:27:24.873Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-03-28T04:27:25.471Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-03-28T04:27:25.471Z] GO111MODULE=on go vet ./... [2022-03-28T04:27:57.852Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-03-28T04:27:57.852Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-03-28T04:27:57.852Z] ./bin/test-attribution-txt.sh [2022-03-28T04:27:57.852Z] An attribution for github.com/golang/protobuf is missing from in Attribution.txt, please add [2022-03-28T04:27:57.852Z] An attribution for github.com/spiffe/go-spiffe/v2 is missing from in Attribution.txt, please add [2022-03-28T04:27:57.852Z] An attribution for github.com/zeebo/errs is missing from in Attribution.txt, please add [2022-03-28T04:27:57.852Z] An attribution for google.golang.org/genproto is missing from in Attribution.txt, please add [2022-03-28T04:27:57.852Z] An attribution for google.golang.org/grpc is missing from in Attribution.txt, please add [2022-03-28T04:27:57.852Z] An attribution for google.golang.org/protobuf is missing from in Attribution.txt, please add [2022-03-28T04:27:57.852Z] An attribution for gopkg.in/square/go-jose.v2 is missing from in Attribution.txt, please add [2022-03-28T04:27:57.852Z] make: *** [Makefile:46: test] Error 1 [Pipeline] } [2022-03-28T04:27:57.890Z] $ docker stop --time=1 fc52657fb2c0a4f0bcdadb3cdb3f1037411c875674aa0c606dc56ee7fe6fda58 [2022-03-28T04:27:59.633Z] $ docker rm -f fc52657fb2c0a4f0bcdadb3cdb3f1037411c875674aa0c606dc56ee7fe6fda58 [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 [2022-03-28T04:28:00.727Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-03-28T04:28:00.727Z] [2022-03-28T04:28:00.727Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-03-28T04:28:01.081Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-03-28T04:28:01.358Z] arm64: Pulling from edgex-lftools-log-publisher [2022-03-28T04:28:01.358Z] 8998bd30e6a1: Pulling fs layer [2022-03-28T04:28:01.358Z] 04944245beec: Pulling fs layer [2022-03-28T04:28:01.358Z] 699f458cf7ca: Pulling fs layer [2022-03-28T04:28:01.358Z] 765212b225bb: Pulling fs layer [2022-03-28T04:28:01.358Z] f23df028b6ca: Pulling fs layer [2022-03-28T04:28:01.358Z] d65c8cfc05b1: Pulling fs layer [2022-03-28T04:28:01.358Z] 2437ff75d9bd: Pulling fs layer [2022-03-28T04:28:01.358Z] 765212b225bb: Waiting [2022-03-28T04:28:01.358Z] f23df028b6ca: Waiting [2022-03-28T04:28:01.358Z] 2437ff75d9bd: Waiting [2022-03-28T04:28:01.358Z] d65c8cfc05b1: Waiting [2022-03-28T04:28:01.358Z] 04944245beec: Verifying Checksum [2022-03-28T04:28:01.358Z] 04944245beec: Download complete [2022-03-28T04:28:01.358Z] 765212b225bb: Verifying Checksum [2022-03-28T04:28:01.358Z] 765212b225bb: Download complete [2022-03-28T04:28:01.358Z] f23df028b6ca: Verifying Checksum [2022-03-28T04:28:01.358Z] f23df028b6ca: Download complete [2022-03-28T04:28:01.358Z] d65c8cfc05b1: Verifying Checksum [2022-03-28T04:28:01.358Z] d65c8cfc05b1: Download complete [2022-03-28T04:28:01.633Z] 699f458cf7ca: Verifying Checksum [2022-03-28T04:28:01.633Z] 699f458cf7ca: Download complete [2022-03-28T04:28:01.921Z] 8998bd30e6a1: Verifying Checksum [2022-03-28T04:28:01.921Z] 8998bd30e6a1: Download complete [2022-03-28T04:28:04.551Z] 2437ff75d9bd: Verifying Checksum [2022-03-28T04:28:04.551Z] 2437ff75d9bd: Download complete [2022-03-28T04:28:06.534Z] 8998bd30e6a1: Pull complete [2022-03-28T04:28:06.808Z] 04944245beec: Pull complete [2022-03-28T04:28:08.252Z] 699f458cf7ca: Pull complete [2022-03-28T04:28:08.535Z] 765212b225bb: Pull complete [2022-03-28T04:28:09.527Z] f23df028b6ca: Pull complete [2022-03-28T04:28:09.799Z] d65c8cfc05b1: Pull complete [2022-03-28T04:28:24.893Z] 2437ff75d9bd: Pull complete [2022-03-28T04:28:24.893Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-03-28T04:28:24.893Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-03-28T04:28:24.893Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-03-28T04:28:25.138Z] prd-ubuntu20.04-docker-arm64-4c-16g-9221 does not seem to be running inside a container [2022-03-28T04:28:25.237Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-03-28T04:28:27.957Z] $ docker top 4b0e34476b55cced213ef7f48b85c8f94b53974ab6a4f3673b64443421e17460 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-03-28T04:28:28.899Z] ---> job-cost.sh [2022-03-28T04:28:28.899Z] lf-activate-venv: SKIPPING [2022-03-28T04:28:28.899Z] INFO: No Stack... [2022-03-28T04:28:29.492Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-03-28T04:28:30.326Z] INFO: Archiving Costs [Pipeline] sh [2022-03-28T04:28:31.011Z] + cut -d, -f6 [2022-03-28T04:28:31.011Z] + cat /w/workspace/device-sdk-go/2/archives/cost.csv [Pipeline] lock [2022-03-28T04:28:31.044Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1114-2-stack-cost] [2022-03-28T04:28:31.050Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1114-2-stack-cost] did not exist. Created. [2022-03-28T04:28:31.050Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1114-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-03-28T04:28:31.780Z] /w/workspace/device-sdk-go/2@tmp/durable-58b5b48f/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-03-28T04:28:32.472Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-03-28T04:28:32.492Z] Warning: overwriting stash ‘stack-cost’ [2022-03-28T04:28:32.971Z] Stashed 1 file(s) [Pipeline] } [2022-03-28T04:28:32.979Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1114-2-stack-cost] [Pipeline] // lock [Pipeline] } [2022-03-28T04:28:33.013Z] $ docker stop --time=1 4b0e34476b55cced213ef7f48b85c8f94b53974ab6a4f3673b64443421e17460 [2022-03-28T04:28:34.554Z] $ docker rm -f 4b0e34476b55cced213ef7f48b85c8f94b53974ab6a4f3673b64443421e17460 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-03-28T04:28:34.897Z] 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 [2022-03-28T04:28:35.650Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1114/archives ] [2022-03-28T04:28:35.651Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1114/archives [2022-03-28T04:28:35.651Z] total 16 [2022-03-28T04:28:35.651Z] drwxr-xr-x 3 root root 4096 Mar 28 04:21 . [2022-03-28T04:28:35.651Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 28 04:21 .. [2022-03-28T04:28:35.651Z] drwxr-xr-x 2 root root 4096 Mar 28 04:21 cost [2022-03-28T04:28:35.651Z] -rw-r--r-- 1 root root 85 Mar 28 04:21 cost.csv [2022-03-28T04:28:35.651Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1114/archives [2022-03-28T04:28:35.651Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1114/archives [2022-03-28T04:28:35.651Z] total 16 [2022-03-28T04:28:35.651Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 28 04:21 . [2022-03-28T04:28:35.651Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 28 04:21 .. [2022-03-28T04:28:35.651Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 28 04:21 cost [2022-03-28T04:28:35.651Z] -rw-r--r-- 1 jenkins jenkins 85 Mar 28 04:21 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-03-28T04:28:35.949Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-28T04:28:36.818Z] ---> package-listing.sh [2022-03-28T04:28:36.818Z] ++ facter osfamily [2022-03-28T04:28:36.818Z] ++ tr '[:upper:]' '[:lower:]' [2022-03-28T04:28:37.760Z] + OS_FAMILY=debian [2022-03-28T04:28:37.760Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1114 [2022-03-28T04:28:37.760Z] + START_PACKAGES=/tmp/packages_start.txt [2022-03-28T04:28:37.760Z] + END_PACKAGES=/tmp/packages_end.txt [2022-03-28T04:28:37.760Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-03-28T04:28:37.760Z] + PACKAGES=/tmp/packages_start.txt [2022-03-28T04:28:37.760Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1114 ']' [2022-03-28T04:28:37.760Z] + PACKAGES=/tmp/packages_end.txt [2022-03-28T04:28:37.760Z] + case "${OS_FAMILY}" in [2022-03-28T04:28:37.760Z] + dpkg -l [2022-03-28T04:28:37.760Z] + grep '^ii' [2022-03-28T04:28:37.760Z] + '[' -f /tmp/packages_start.txt ']' [2022-03-28T04:28:37.760Z] + '[' -f /tmp/packages_end.txt ']' [2022-03-28T04:28:37.760Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-03-28T04:28:37.760Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1114 ']' [2022-03-28T04:28:37.760Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1114/archives/ [2022-03-28T04:28:37.760Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1114/archives/ [Pipeline] echo [2022-03-28T04:28:37.803Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-sdk-go_PR-1114/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-03-28T04:28:38.087Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-03-28T04:28:38.648Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-03-28T04:28:38.648Z] . [Pipeline] withDockerContainer [2022-03-28T04:28:38.716Z] prd-ubuntu20.04-docker-8c-8g-9219 does not seem to be running inside a container [2022-03-28T04:28:38.754Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-sdk-go_PR-1114/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-1114 -v /w/workspace/gexfoundry_device-sdk-go_PR-1114:/w/workspace/gexfoundry_device-sdk-go_PR-1114:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1114@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1114@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-03-28T04:28:39.026Z] $ docker top 23dfdf0e1ad9ef93e4757e5c06094d943315cfd7dbe2696671b5463736a5f2a6 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-03-28T04:28:39.391Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-03-28T04:28:39.683Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-03-28T04:28:39.975Z] + ls /var/log/sa-host [2022-03-28T04:28:39.975Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-03-28T04:28:40.242Z] provisioning config files... [2022-03-28T04:28:40.251Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1114@tmp/config5209669226213100175tmp [Pipeline] { [Pipeline] echo [2022-03-28T04:28:40.267Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-28T04:28:40.551Z] ---> create-netrc.sh [Pipeline] } [2022-03-28T04:28:40.564Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-03-28T04:28:40.906Z] ---> python-tools-install.sh [Pipeline] echo [2022-03-28T04:28:40.916Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-28T04:28:41.205Z] ---> sudo-logs.sh [2022-03-28T04:28:41.205Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-03-28T04:28:41.228Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-28T04:28:41.515Z] ---> job-cost.sh [2022-03-28T04:28:41.515Z] lf-activate-venv: SKIPPING [2022-03-28T04:28:41.515Z] DEBUG: total: 0.2199999988079071 [2022-03-28T04:28:41.515Z] INFO: Retrieving Stack Cost... [2022-03-28T04:28:41.775Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-03-28T04:28:42.346Z] INFO: Archiving Costs [Pipeline] echo [2022-03-28T04:28:42.360Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-28T04:28:42.651Z] ---> logs-deploy.sh [2022-03-28T04:28:42.651Z] lf-activate-venv: SKIPPING [2022-03-28T04:28:42.651Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1114/2 [2022-03-28T04:28:42.651Z] INFO: archiving workspace using pattern(s): [2022-03-28T04:28:43.591Z] Archives upload complete. [2022-03-28T04:28:43.591Z] INFO: archiving logs to Nexus