Pull request #1174 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 8db0fe1ca3bb257608845c3112ddc7dd7646fc86+9409b3b23bd5b149471ef599a7e928019826e6b9 (54a170c5efcc9ff0559c0d43adc0a8fae1376cfb) 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-ssh11650997724838337142.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision eff4ace5e529e22b05c56fc30efd0d4b1d113677 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-ssh4143066469554150471.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 eff4ace5e529e22b05c56fc30efd0d4b1d113677 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1174/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1174/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1937606045526599262.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1174/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9763601375315535018.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision eff4ace5e529e22b05c56fc30efd0d4b1d113677 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f eff4ace5e529e22b05c56fc30efd0d4b1d113677 # timeout=10 Commit message: "Merge pull request #397 from edgexfoundry/us4712" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh6245929120170832445.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 0f180ed1236c637af8c254f95ad106931cc77145 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1174/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1174/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh10220073353434244731.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 0f180ed1236c637af8c254f95ad106931cc77145 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 0f180ed1236c637af8c254f95ad106931cc77145 # timeout=10 Commit message: "Feat: Add initial docker pipelines" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object eff4ace5e529e22b05c56fc30efd0d4b1d113677 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/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 SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-1600 in /w/workspace/gexfoundry_device-sdk-go_PR-1174 [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-1174 # 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 9409b3b23bd5b149471ef599a7e928019826e6b9 into PR head commit 8db0fe1ca3bb257608845c3112ddc7dd7646fc86 Merge succeeded, producing 8db0fe1ca3bb257608845c3112ddc7dd7646fc86 Checking out Revision 8db0fe1ca3bb257608845c3112ddc7dd7646fc86 (PR-1174) > 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/1174/head:refs/remotes/origin/PR-1174 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 8db0fe1ca3bb257608845c3112ddc7dd7646fc86 # 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 9409b3b23bd5b149471ef599a7e928019826e6b9 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 8db0fe1ca3bb257608845c3112ddc7dd7646fc86 # timeout=10 Commit message: "build(deps): bump github.com/stretchr/testify from 1.7.1 to 1.7.2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object eff4ace5e529e22b05c56fc30efd0d4b1d113677 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-06-07T04:04:57.680Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-06-07T04:04:57.870Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-06-07T04:04:57.973Z] ========================================================= [2022-06-07T04:04:57.973Z] EdgeX Global Pipelines Version Info [2022-06-07T04:04:57.973Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-06-07T04:04:58.800Z] ------------------- [2022-06-07T04:04:58.800Z] stable info: [2022-06-07T04:04:58.800Z] ------------------- [2022-06-07T04:04:58.800Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-06-07T04:04:58.800Z] Commit SHA: eff4ace5e529e22b05c56fc30efd0d4b1d113677 [2022-06-07T04:04:58.800Z] Message: update stable to v1.0.232 [2022-06-07T04:04:59.379Z] ------------------- [2022-06-07T04:04:59.379Z] experimental info: [2022-06-07T04:04:59.379Z] ------------------- [2022-06-07T04:04:59.379Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-06-07T04:04:59.379Z] Commit SHA: eff4ace5e529e22b05c56fc30efd0d4b1d113677 [2022-06-07T04:04:59.379Z] Message: update experimental to v1.0.232 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-06-07T04:04:59.791Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2022-06-07T04:04:59.835Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2022-06-07T04:04:59.876Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-06-07T04:04:59.919Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-06-07T04:04:59.961Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-06-07T04:05:00.001Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-06-07T04:05:00.046Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-06-07T04:05:00.093Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2022-06-07T04:05:00.139Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-06-07T04:05:00.183Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-06-07T04:05:00.228Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-06-07T04:05:00.274Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2022-06-07T04:05:00.324Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-06-07T04:05:00.372Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-06-07T04:05:00.422Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-06-07T04:05:00.470Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2022-06-07T04:05:00.513Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-06-07T04:05:00.556Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-06-07T04:05:00.602Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-06-07T04:05:00.645Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-06-07T04:05:00.683Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-06-07T04:05:00.731Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2022-06-07T04:05:00.771Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-06-07T04:05:00.814Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-06-07T04:05:00.854Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-06-07T04:05:00.892Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-06-07T04:05:00.930Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-06-07T04:05:00.972Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1174 [Pipeline] echo [2022-06-07T04:05:01.015Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1174 [Pipeline] echo [2022-06-07T04:05:01.049Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1174 [Pipeline] echo [2022-06-07T04:05:01.087Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 8db0fe1ca3bb257608845c3112ddc7dd7646fc86 [Pipeline] echo [2022-06-07T04:05:01.129Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 8db0fe1 [Pipeline] echo [2022-06-07T04:05:01.178Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-07T04:05:01.300Z] provisioning config files... [2022-06-07T04:05:01.319Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1174@tmp/config7646233646751553511tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-07T04:05:01.679Z] ---> docker-login.sh [2022-06-07T04:05:01.679Z] nexus3.edgexfoundry.org:10001 [2022-06-07T04:05:01.941Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-07T04:05:01.941Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-07T04:05:01.941Z] Configure a credential helper to remove this warning. See [2022-06-07T04:05:01.941Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-07T04:05:01.941Z] [2022-06-07T04:05:01.941Z] Login Succeeded [2022-06-07T04:05:01.941Z] nexus3.edgexfoundry.org:10002 [2022-06-07T04:05:02.209Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-07T04:05:02.209Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-07T04:05:02.209Z] Configure a credential helper to remove this warning. See [2022-06-07T04:05:02.209Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-07T04:05:02.209Z] [2022-06-07T04:05:02.209Z] Login Succeeded [2022-06-07T04:05:02.209Z] nexus3.edgexfoundry.org:10003 [2022-06-07T04:05:02.209Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-07T04:05:02.475Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-07T04:05:02.475Z] Configure a credential helper to remove this warning. See [2022-06-07T04:05:02.475Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-07T04:05:02.475Z] [2022-06-07T04:05:02.475Z] Login Succeeded [2022-06-07T04:05:02.475Z] nexus3.edgexfoundry.org:10004 [2022-06-07T04:05:02.475Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-07T04:05:02.475Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-07T04:05:02.475Z] Configure a credential helper to remove this warning. See [2022-06-07T04:05:02.475Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-07T04:05:02.475Z] [2022-06-07T04:05:02.475Z] Login Succeeded [2022-06-07T04:05:02.475Z] docker.io [2022-06-07T04:05:02.475Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-07T04:05:03.052Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-07T04:05:03.052Z] Configure a credential helper to remove this warning. See [2022-06-07T04:05:03.052Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-07T04:05:03.052Z] [2022-06-07T04:05:03.052Z] Login Succeeded [2022-06-07T04:05:03.052Z] ---> docker-login.sh ends [Pipeline] } [2022-06-07T04:05:03.080Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-06-07T04:05:03.757Z] + git rev-list -1 --merges 8db0fe1ca3bb257608845c3112ddc7dd7646fc86~1..8db0fe1ca3bb257608845c3112ddc7dd7646fc86 [Pipeline] echo [2022-06-07T04:05:03.813Z] -----------> git rev-list -1 --merges 8db0fe1ca3bb257608845c3112ddc7dd7646fc86~1..8db0fe1ca3bb257608845c3112ddc7dd7646fc86 8db0fe1ca3bb257608845c3112ddc7dd7646fc86 [false] [Pipeline] sh [2022-06-07T04:05:04.137Z] + git log --format=format:%s -1 8db0fe1ca3bb257608845c3112ddc7dd7646fc86 [Pipeline] echo [2022-06-07T04:05:04.175Z] ========================================================= [2022-06-07T04:05:04.175Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-06-07T04:05:04.175Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-07T04:05:04.626Z] + git log --format=format:%s -1 8db0fe1ca3bb257608845c3112ddc7dd7646fc86 [Pipeline] echo [2022-06-07T04:05:04.659Z] [semverPrep] GIT_COMMIT: 8db0fe1ca3bb257608845c3112ddc7dd7646fc86, Commit Message: build(deps): bump github.com/stretchr/testify from 1.7.1 to 1.7.2 [Pipeline] echo [2022-06-07T04:05:04.686Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-06-07T04:05:05.118Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-06-07T04:05:05.119Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-06-07T04:05:05.119Z] + [ -e /tmp/ssh_known_hosts ] [2022-06-07T04:05:05.119Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-06-07T04:05:05.119Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-06-07T04:05:05.119Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-06-07T04:05:05.119Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-07T04:05:05.665Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-07T04:05:05.665Z] [2022-06-07T04:05:05.665Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-07T04:05:06.053Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-07T04:05:06.053Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-06-07T04:05:06.053Z] 42c077c10790: Pulling fs layer [2022-06-07T04:05:06.053Z] f63e77b7563a: Pulling fs layer [2022-06-07T04:05:06.053Z] bd5fdadae976: Pulling fs layer [2022-06-07T04:05:06.053Z] 205491f53016: Pulling fs layer [2022-06-07T04:05:06.053Z] df18705c85c3: Pulling fs layer [2022-06-07T04:05:06.053Z] bdb3f477010e: Pulling fs layer [2022-06-07T04:05:06.053Z] c8a8fc8e1c8f: Pulling fs layer [2022-06-07T04:05:06.053Z] 2c6e9b1d212d: Pulling fs layer [2022-06-07T04:05:06.053Z] bdb8f0575790: Pulling fs layer [2022-06-07T04:05:06.053Z] 386e3cb2ff24: Pulling fs layer [2022-06-07T04:05:06.053Z] 2343380bae48: Pulling fs layer [2022-06-07T04:05:06.053Z] 2c6e9b1d212d: Waiting [2022-06-07T04:05:06.053Z] 205491f53016: Waiting [2022-06-07T04:05:06.053Z] bdb8f0575790: Waiting [2022-06-07T04:05:06.053Z] df18705c85c3: Waiting [2022-06-07T04:05:06.053Z] 386e3cb2ff24: Waiting [2022-06-07T04:05:06.053Z] bdb3f477010e: Waiting [2022-06-07T04:05:06.053Z] 2343380bae48: Waiting [2022-06-07T04:05:06.053Z] f63e77b7563a: Verifying Checksum [2022-06-07T04:05:06.053Z] f63e77b7563a: Download complete [2022-06-07T04:05:06.053Z] 205491f53016: Verifying Checksum [2022-06-07T04:05:06.053Z] 205491f53016: Download complete [2022-06-07T04:05:06.314Z] df18705c85c3: Verifying Checksum [2022-06-07T04:05:06.314Z] df18705c85c3: Download complete [2022-06-07T04:05:06.314Z] bdb3f477010e: Download complete [2022-06-07T04:05:06.314Z] bd5fdadae976: Verifying Checksum [2022-06-07T04:05:06.314Z] bd5fdadae976: Download complete [2022-06-07T04:05:06.314Z] 2c6e9b1d212d: Verifying Checksum [2022-06-07T04:05:06.314Z] 2c6e9b1d212d: Download complete [2022-06-07T04:05:06.314Z] bdb8f0575790: Download complete [2022-06-07T04:05:06.314Z] 386e3cb2ff24: Verifying Checksum [2022-06-07T04:05:06.314Z] 386e3cb2ff24: Download complete [2022-06-07T04:05:06.314Z] 2343380bae48: Download complete [2022-06-07T04:05:06.314Z] 42c077c10790: Verifying Checksum [2022-06-07T04:05:06.314Z] 42c077c10790: Download complete [2022-06-07T04:05:06.575Z] c8a8fc8e1c8f: Verifying Checksum [2022-06-07T04:05:06.575Z] c8a8fc8e1c8f: Download complete [2022-06-07T04:05:07.958Z] 42c077c10790: Pull complete [2022-06-07T04:05:07.958Z] f63e77b7563a: Pull complete [2022-06-07T04:05:08.220Z] bd5fdadae976: Pull complete [2022-06-07T04:05:08.483Z] 205491f53016: Pull complete [2022-06-07T04:05:08.743Z] df18705c85c3: Pull complete [2022-06-07T04:05:08.743Z] bdb3f477010e: Pull complete [2022-06-07T04:05:10.661Z] c8a8fc8e1c8f: Pull complete [2022-06-07T04:05:10.661Z] 2c6e9b1d212d: Pull complete [2022-06-07T04:05:10.661Z] bdb8f0575790: Pull complete [2022-06-07T04:05:10.661Z] 386e3cb2ff24: Pull complete [2022-06-07T04:05:10.661Z] 2343380bae48: Pull complete [2022-06-07T04:05:10.661Z] Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 [2022-06-07T04:05:10.661Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-07T04:05:10.661Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-07T04:05:10.907Z] prd-ubuntu20.04-docker-8c-8g-1600 does not seem to be running inside a container [2022-06-07T04:05:10.951Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1174 -v /w/workspace/gexfoundry_device-sdk-go_PR-1174:/w/workspace/gexfoundry_device-sdk-go_PR-1174:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1174@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1174@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-06-07T04:05:12.408Z] $ docker top abe9b32592e7af82e3ce0bf9857990ae1be7716019b5e20d95efccf7fa2f8e1c -eo pid,comm [2022-06-07T04:05:12.474Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2022-06-07T04:05:12.474Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-06-07T04:05:12.612Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-07T04:05:12.612Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-07T04:05:12.752Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-07T04:05:12.759Z] $ docker exec abe9b32592e7af82e3ce0bf9857990ae1be7716019b5e20d95efccf7fa2f8e1c ssh-agent [2022-06-07T04:05:12.874Z] SSH_AUTH_SOCK=/tmp/ssh-tZrbZcH0Fyr5/agent.34 [2022-06-07T04:05:12.874Z] SSH_AGENT_PID=40 [2022-06-07T04:05:12.880Z] Running ssh-add (command line suppressed) [2022-06-07T04:05:13.002Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1174@tmp/private_key_306646402364594768.key (/w/workspace/gexfoundry_device-sdk-go_PR-1174@tmp/private_key_306646402364594768.key) [2022-06-07T04:05:13.016Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-07T04:05:13.353Z] + git tag --points-at HEAD [Pipeline] } [2022-06-07T04:05:13.383Z] $ docker exec --env ******** --env ******** abe9b32592e7af82e3ce0bf9857990ae1be7716019b5e20d95efccf7fa2f8e1c ssh-agent -k [2022-06-07T04:05:13.490Z] unset SSH_AUTH_SOCK; [2022-06-07T04:05:13.490Z] unset SSH_AGENT_PID; [2022-06-07T04:05:13.490Z] echo Agent pid 40 killed; [2022-06-07T04:05:13.500Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-06-07T04:05:13.593Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-07T04:05:13.593Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-07T04:05:13.705Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-07T04:05:13.711Z] $ docker exec abe9b32592e7af82e3ce0bf9857990ae1be7716019b5e20d95efccf7fa2f8e1c ssh-agent [2022-06-07T04:05:13.831Z] SSH_AUTH_SOCK=/tmp/ssh-VcllotDLVleq/agent.73 [2022-06-07T04:05:13.831Z] SSH_AGENT_PID=80 [2022-06-07T04:05:13.839Z] Running ssh-add (command line suppressed) [2022-06-07T04:05:13.964Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1174@tmp/private_key_2289129101564305015.key (/w/workspace/gexfoundry_device-sdk-go_PR-1174@tmp/private_key_2289129101564305015.key) [2022-06-07T04:05:13.974Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-07T04:05:14.312Z] + git semver init [2022-06-07T04:05:14.573Z] 2022-06-07 04:05:14,536 [run_init] DEBUG init version:0.0.0 force:False [2022-06-07T04:05:14.573Z] 2022-06-07 04:05:14,537 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1174/.semver [2022-06-07T04:05:14.573Z] 2022-06-07 04:05:14,538 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1174/.semver [2022-06-07T04:05:14.573Z] 2022-06-07 04:05:14,538 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1174/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1174, universal_newlines=False, shell=None, istream=None) [2022-06-07T04:05:15.516Z] 2022-06-07 04:05:15,294 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1174/.git/info/exclude [2022-06-07T04:05:15.516Z] 2022-06-07 04:05:15,295 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1174/.semver/PR-1174 with force:False [2022-06-07T04:05:15.516Z] 2022-06-07 04:05:15,295 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1174/.semver/PR-1174 [2022-06-07T04:05:15.516Z] 2022-06-07 04:05:15,297 [execute] INFO git cat-file --batch-check [2022-06-07T04:05:15.516Z] 2022-06-07 04:05:15,297 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1174/.semver, universal_newlines=False, shell=None, istream=) [2022-06-07T04:05:15.516Z] 2022-06-07 04:05:15,303 [execute] INFO git cat-file --batch [2022-06-07T04:05:15.516Z] 2022-06-07 04:05:15,303 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1174/.semver, universal_newlines=False, shell=None, istream=) [2022-06-07T04:05:15.516Z] 2022-06-07 04:05:15,307 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1174/.semver/PR-1174 [2022-06-07T04:05:15.516Z] 0.0.0 [Pipeline] } [2022-06-07T04:05:15.547Z] $ docker exec --env ******** --env ******** abe9b32592e7af82e3ce0bf9857990ae1be7716019b5e20d95efccf7fa2f8e1c ssh-agent -k [2022-06-07T04:05:15.651Z] unset SSH_AUTH_SOCK; [2022-06-07T04:05:15.651Z] unset SSH_AGENT_PID; [2022-06-07T04:05:15.651Z] echo Agent pid 80 killed; [2022-06-07T04:05:15.664Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-06-07T04:05:16.103Z] + git semver [Pipeline] } [2022-06-07T04:05:16.395Z] $ docker stop --time=1 abe9b32592e7af82e3ce0bf9857990ae1be7716019b5e20d95efccf7fa2f8e1c [2022-06-07T04:05:17.688Z] $ docker rm -f abe9b32592e7af82e3ce0bf9857990ae1be7716019b5e20d95efccf7fa2f8e1c [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-07T04:05:18.103Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-06-07T04:05:18.441Z] Stashed 1 file(s) [Pipeline] echo [2022-06-07T04:05:18.460Z] [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] { [2022-06-07T04:05:19.068Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-1596 in /w/workspace/gexfoundry_device-sdk-go_PR-1174 [Pipeline] configFileProvider [2022-06-07T04:05:19.104Z] provisioning config files... [2022-06-07T04:05:19.115Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1174@tmp/config4437939316085345089tmp [Pipeline] { [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] ws [2022-06-07T04:05:19.274Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2022-06-07T04:05:19.348Z] The recommended git tool is: git [2022-06-07T04:05:19.493Z] ---> docker-login.sh [2022-06-07T04:05:19.493Z] nexus3.edgexfoundry.org:10001 [2022-06-07T04:05:19.493Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-07T04:05:19.493Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-07T04:05:19.493Z] Configure a credential helper to remove this warning. See [2022-06-07T04:05:19.493Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-07T04:05:19.493Z] [2022-06-07T04:05:19.493Z] Login Succeeded [2022-06-07T04:05:19.493Z] nexus3.edgexfoundry.org:10002 [2022-06-07T04:05:19.493Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-07T04:05:19.752Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-07T04:05:19.752Z] Configure a credential helper to remove this warning. See [2022-06-07T04:05:19.752Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-07T04:05:19.752Z] [2022-06-07T04:05:19.752Z] Login Succeeded [2022-06-07T04:05:19.752Z] nexus3.edgexfoundry.org:10003 [2022-06-07T04:05:19.752Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-07T04:05:19.752Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-07T04:05:19.752Z] Configure a credential helper to remove this warning. See [2022-06-07T04:05:19.752Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-07T04:05:19.752Z] [2022-06-07T04:05:19.752Z] Login Succeeded [2022-06-07T04:05:19.752Z] nexus3.edgexfoundry.org:10004 [2022-06-07T04:05:19.752Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-07T04:05:20.013Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-07T04:05:20.013Z] Configure a credential helper to remove this warning. See [2022-06-07T04:05:20.013Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-07T04:05:20.013Z] [2022-06-07T04:05:20.013Z] Login Succeeded [2022-06-07T04:05:20.013Z] docker.io [2022-06-07T04:05:20.013Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-07T04:05:20.274Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-07T04:05:20.274Z] Configure a credential helper to remove this warning. See [2022-06-07T04:05:20.274Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-07T04:05:20.274Z] [2022-06-07T04:05:20.274Z] Login Succeeded [2022-06-07T04:05:20.274Z] ---> docker-login.sh ends [Pipeline] } [2022-06-07T04:05:20.305Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-07T04:05:20.514Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-07T04:05:20.555Z] ========================================================= [2022-06-07T04:05:20.555Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-06-07T04:05:20.555Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-07T04:05:21.042Z] + 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-06-07T04:05:21.042Z] Sending build context to Docker daemon 9.709MB [2022-06-07T04:05:21.042Z] Step 1/11 : ARG BASE=golang:1.17-alpine3.15 [2022-06-07T04:05:21.042Z] Step 2/11 : FROM ${BASE} AS builder [2022-06-07T04:05:21.042Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-06-07T04:05:21.042Z] 59bf1c3509f3: Pulling fs layer [2022-06-07T04:05:21.042Z] 666ba61612fd: Pulling fs layer [2022-06-07T04:05:21.042Z] 8ed8ca486205: Pulling fs layer [2022-06-07T04:05:21.042Z] cc1cd167ecdc: Pulling fs layer [2022-06-07T04:05:21.042Z] c516ae0d96e1: Pulling fs layer [2022-06-07T04:05:21.042Z] 684cea983483: Pulling fs layer [2022-06-07T04:05:21.042Z] dd3240ac7de5: Pulling fs layer [2022-06-07T04:05:21.042Z] b1e948a4e11c: Pulling fs layer [2022-06-07T04:05:21.042Z] a8fd76ee1af6: Pulling fs layer [2022-06-07T04:05:21.042Z] 646ad004c059: Pulling fs layer [2022-06-07T04:05:21.042Z] cc1cd167ecdc: Waiting [2022-06-07T04:05:21.042Z] c516ae0d96e1: Waiting [2022-06-07T04:05:21.042Z] 684cea983483: Waiting [2022-06-07T04:05:21.042Z] dd3240ac7de5: Waiting [2022-06-07T04:05:21.042Z] b1e948a4e11c: Waiting [2022-06-07T04:05:21.042Z] a8fd76ee1af6: Waiting [2022-06-07T04:05:21.042Z] 646ad004c059: Waiting [2022-06-07T04:05:21.042Z] 8ed8ca486205: Download complete [2022-06-07T04:05:21.305Z] 666ba61612fd: Verifying Checksum [2022-06-07T04:05:21.305Z] 666ba61612fd: Download complete [2022-06-07T04:05:21.305Z] c516ae0d96e1: Download complete [2022-06-07T04:05:21.305Z] 684cea983483: Download complete [2022-06-07T04:05:21.305Z] 59bf1c3509f3: Verifying Checksum [2022-06-07T04:05:21.305Z] dd3240ac7de5: Download complete [2022-06-07T04:05:21.305Z] b1e948a4e11c: Verifying Checksum [2022-06-07T04:05:21.305Z] b1e948a4e11c: Download complete [2022-06-07T04:05:21.305Z] 59bf1c3509f3: Pull complete [2022-06-07T04:05:21.573Z] 666ba61612fd: Pull complete [2022-06-07T04:05:21.573Z] 8ed8ca486205: Pull complete [2022-06-07T04:05:21.839Z] 646ad004c059: Verifying Checksum [2022-06-07T04:05:21.839Z] 646ad004c059: Download complete [2022-06-07T04:05:21.839Z] cc1cd167ecdc: Verifying Checksum [2022-06-07T04:05:21.839Z] cc1cd167ecdc: Download complete [2022-06-07T04:05:22.101Z] a8fd76ee1af6: Verifying Checksum [2022-06-07T04:05:22.101Z] a8fd76ee1af6: Download complete [2022-06-07T04:05:24.014Z] using credential edgex-jenkins-ssh [2022-06-07T04:05:24.034Z] Cloning the remote Git repository [2022-06-07T04:05:24.087Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2022-06-07T04:05:24.151Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2022-06-07T04:05:24.235Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-06-07T04:05:24.236Z] > git --version # timeout=10 [2022-06-07T04:05:24.261Z] > git --version # 'git version 2.25.1' [2022-06-07T04:05:24.263Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-07T04:05:24.322Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-07T04:05:26.162Z] Merging remotes/origin/main commit 9409b3b23bd5b149471ef599a7e928019826e6b9 into PR head commit 8db0fe1ca3bb257608845c3112ddc7dd7646fc86 [2022-06-07T04:05:26.293Z] cc1cd167ecdc: Pull complete [2022-06-07T04:05:26.293Z] c516ae0d96e1: Pull complete [2022-06-07T04:05:26.293Z] 684cea983483: Pull complete [2022-06-07T04:05:26.293Z] dd3240ac7de5: Pull complete [2022-06-07T04:05:26.293Z] b1e948a4e11c: Pull complete [2022-06-07T04:05:26.463Z] Merge succeeded, producing 8db0fe1ca3bb257608845c3112ddc7dd7646fc86 [2022-06-07T04:05:26.464Z] Checking out Revision 8db0fe1ca3bb257608845c3112ddc7dd7646fc86 (PR-1174) [2022-06-07T04:05:25.616Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-06-07T04:05:25.632Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-07T04:05:25.657Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-06-07T04:05:25.689Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-06-07T04:05:25.690Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-07T04:05:25.706Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1174/head:refs/remotes/origin/PR-1174 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-06-07T04:05:26.186Z] > git config core.sparsecheckout # timeout=10 [2022-06-07T04:05:26.204Z] > git checkout -f 8db0fe1ca3bb257608845c3112ddc7dd7646fc86 # timeout=10 [2022-06-07T04:05:26.321Z] > git remote # timeout=10 [2022-06-07T04:05:26.336Z] > git config --get remote.origin.url # timeout=10 [2022-06-07T04:05:26.388Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-07T04:05:26.415Z] > git merge 9409b3b23bd5b149471ef599a7e928019826e6b9 # timeout=10 [2022-06-07T04:05:26.448Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-06-07T04:05:26.474Z] > git config core.sparsecheckout # timeout=10 [2022-06-07T04:05:26.512Z] > git checkout -f 8db0fe1ca3bb257608845c3112ddc7dd7646fc86 # timeout=10 [2022-06-07T04:05:27.679Z] a8fd76ee1af6: Pull complete [2022-06-07T04:05:28.617Z] 646ad004c059: Pull complete [2022-06-07T04:05:28.617Z] Digest: sha256:bc8ce28cadebfaa099e5330588345fe90134e4027cf71364bfd2aff1e7ff8c16 [2022-06-07T04:05:28.617Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-06-07T04:05:28.617Z] ---> 8f69c11f6b0c [2022-06-07T04:05:28.617Z] Step 3/11 : ARG MAKE=make build [2022-06-07T04:05:30.985Z] Commit message: "build(deps): bump github.com/stretchr/testify from 1.7.1 to 1.7.2" [2022-06-07T04:05:31.055Z] > git --version # timeout=10 [2022-06-07T04:05:31.077Z] > git --version # 'git version 2.25.1' [2022-06-07T04:05:31.104Z] fatal: bad object eff4ace5e529e22b05c56fc30efd0d4b1d113677 [2022-06-07T04:05:31.188Z] ---> Running in 58b284d217c0 [2022-06-07T04:05:31.188Z] Removing intermediate container 58b284d217c0 [2022-06-07T04:05:31.188Z] ---> da49b9afd756 [2022-06-07T04:05:31.188Z] Step 4/11 : WORKDIR /device-sdk-go [2022-06-07T04:05:31.188Z] ---> Running in a7b77ce579f9 [2022-06-07T04:05:31.188Z] Removing intermediate container a7b77ce579f9 [2022-06-07T04:05:31.188Z] ---> 612fd6ad39c5 [2022-06-07T04:05:31.188Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-06-07T04:05:31.188Z] ---> Running in aa954bd738dc [2022-06-07T04:05:31.188Z] Removing intermediate container aa954bd738dc [2022-06-07T04:05:31.188Z] ---> 5c62e7ebdfe8 [2022-06-07T04:05:31.188Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [2022-06-07T04:05:31.451Z] ---> Running in 387e66be213f [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-07T04:05:32.021Z] Removing intermediate container 387e66be213f [2022-06-07T04:05:32.021Z] ---> 3ce43ad78a7a [2022-06-07T04:05:32.022Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-06-07T04:05:32.022Z] ---> Running in 7fecfa69451e [2022-06-07T04:05:32.161Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-06-07T04:05:32.161Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-07T04:05:32.161Z] Dload Upload Total Spent Left Speed [2022-06-07T04:05:32.161Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 100k 0 --:--:-- --:--:-- --:--:-- 101k [2022-06-07T04:05:32.282Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [Pipeline] sh [2022-06-07T04:05:32.846Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-06-07T04:05:33.210Z] + sudo tee /etc/docker/daemon.new [2022-06-07T04:05:33.210Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-06-07T04:05:33.210Z] { [2022-06-07T04:05:33.210Z] "registry-mirrors": [ [2022-06-07T04:05:33.210Z] "https://nexus3.edgexfoundry.org:10001" [2022-06-07T04:05:33.210Z] ], [2022-06-07T04:05:33.210Z] "bip": "10.250.0.254/24", [2022-06-07T04:05:33.210Z] "hosts": [ [2022-06-07T04:05:33.210Z] "tcp://0.0.0.0:5555", [2022-06-07T04:05:33.210Z] "unix:///var/run/docker.sock" [2022-06-07T04:05:33.210Z] ], [2022-06-07T04:05:33.210Z] "mtu": 1458, [2022-06-07T04:05:33.210Z] "selinux-enabled": true, [2022-06-07T04:05:33.210Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-06-07T04:05:33.210Z] } [2022-06-07T04:05:33.224Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [Pipeline] sh [2022-06-07T04:05:33.487Z] OK: 221 MiB in 52 packages [2022-06-07T04:05:33.582Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-06-07T04:05:33.947Z] + sudo service docker restart [2022-06-07T04:05:34.060Z] Removing intermediate container 7fecfa69451e [2022-06-07T04:05:34.060Z] ---> d83e6c97f9c1 [2022-06-07T04:05:34.060Z] Step 8/11 : COPY go.mod vendor* ./ [2022-06-07T04:05:34.060Z] ---> f2bb6930f864 [2022-06-07T04:05:34.060Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-07T04:05:34.060Z] ---> Running in 5ffafd7b58e7 [2022-06-07T04:05:52.174Z] Removing intermediate container 5ffafd7b58e7 [2022-06-07T04:05:52.174Z] ---> 78587b77d5fa [2022-06-07T04:05:52.174Z] Step 10/11 : COPY . . [2022-06-07T04:05:52.174Z] ---> 8c4dd7d09710 [2022-06-07T04:05:52.174Z] Step 11/11 : RUN ${MAKE} [2022-06-07T04:05:52.174Z] ---> Running in c64b6f50ebd9 [2022-06-07T04:05:52.174Z] noop [2022-06-07T04:05:52.174Z] Removing intermediate container c64b6f50ebd9 [2022-06-07T04:05:52.174Z] ---> d3afccd42725 [2022-06-07T04:05:52.174Z] Successfully built d3afccd42725 [2022-06-07T04:05:52.174Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sh [Pipeline] configFileProvider [2022-06-07T04:05:52.419Z] provisioning config files... [2022-06-07T04:05:52.445Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config4915674412724674811tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-07T04:05:52.659Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-07T04:05:52.659Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-07T04:05:52.830Z] prd-ubuntu20.04-docker-8c-8g-1600 does not seem to be running inside a container [2022-06-07T04:05:52.838Z] ---> docker-login.sh [2022-06-07T04:05:52.838Z] nexus3.edgexfoundry.org:10001 [2022-06-07T04:05:52.872Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1174 -v /w/workspace/gexfoundry_device-sdk-go_PR-1174:/w/workspace/gexfoundry_device-sdk-go_PR-1174:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1174@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1174@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-06-07T04:05:53.246Z] $ docker top d17e33d3985037941968182012158966e815b340002b7f718343cad5193ed5a7 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-07T04:05:53.443Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-07T04:05:53.708Z] + go version [2022-06-07T04:05:53.708Z] go version go1.17.7 linux/amd64 [2022-06-07T04:05:53.719Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-07T04:05:53.719Z] Configure a credential helper to remove this warning. See [2022-06-07T04:05:53.719Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-07T04:05:53.719Z] [2022-06-07T04:05:53.719Z] Login Succeeded [2022-06-07T04:05:53.719Z] nexus3.edgexfoundry.org:10002 [Pipeline] } [2022-06-07T04:05:53.760Z] $ docker stop --time=1 d17e33d3985037941968182012158966e815b340002b7f718343cad5193ed5a7 [2022-06-07T04:05:53.995Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-07T04:05:54.270Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-07T04:05:54.270Z] Configure a credential helper to remove this warning. See [2022-06-07T04:05:54.270Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-07T04:05:54.270Z] [2022-06-07T04:05:54.270Z] Login Succeeded [2022-06-07T04:05:54.270Z] nexus3.edgexfoundry.org:10003 [2022-06-07T04:05:54.545Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-07T04:05:54.545Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-07T04:05:54.545Z] Configure a credential helper to remove this warning. See [2022-06-07T04:05:54.545Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-07T04:05:54.545Z] [2022-06-07T04:05:54.545Z] Login Succeeded [2022-06-07T04:05:54.545Z] nexus3.edgexfoundry.org:10004 [2022-06-07T04:05:54.823Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-07T04:05:55.078Z] $ docker rm -f d17e33d3985037941968182012158966e815b340002b7f718343cad5193ed5a7 [2022-06-07T04:05:55.099Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-07T04:05:55.099Z] Configure a credential helper to remove this warning. See [2022-06-07T04:05:55.099Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-07T04:05:55.099Z] [2022-06-07T04:05:55.099Z] Login Succeeded [2022-06-07T04:05:55.099Z] docker.io [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [2022-06-07T04:05:55.373Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-07T04:05:55.648Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-07T04:05:55.648Z] Configure a credential helper to remove this warning. See [2022-06-07T04:05:55.648Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-07T04:05:55.648Z] [2022-06-07T04:05:55.648Z] Login Succeeded [2022-06-07T04:05:55.648Z] ---> docker-login.sh ends [Pipeline] } [2022-06-07T04:05:55.711Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [2022-06-07T04:05:55.907Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-07T04:05:55.907Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-07T04:05:56.069Z] prd-ubuntu20.04-docker-8c-8g-1600 does not seem to be running inside a container [2022-06-07T04:05:56.108Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1174 -v /w/workspace/gexfoundry_device-sdk-go_PR-1174:/w/workspace/gexfoundry_device-sdk-go_PR-1174:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1174@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1174@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-06-07T04:05:56.484Z] $ docker top 2ec3eee6e4ab93d56cf9ba3301f74b7a0611eb3ace13c1a076a4e7f1cdf3fde5 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] echo [2022-06-07T04:05:56.645Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] sh [Pipeline] echo [2022-06-07T04:05:56.723Z] ========================================================= [2022-06-07T04:05:56.723Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-06-07T04:05:56.723Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-07T04:05:56.966Z] + make test [2022-06-07T04:05:56.966Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-06-07T04:05:57.238Z] + 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-06-07T04:05:57.511Z] Sending build context to Docker daemon 5.196MB [2022-06-07T04:05:57.790Z] Step 1/11 : ARG BASE=golang:1.17-alpine3.15 [2022-06-07T04:05:57.790Z] Step 2/11 : FROM ${BASE} AS builder [2022-06-07T04:05:57.790Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-06-07T04:05:57.790Z] 9b3977197b4f: Pulling fs layer [2022-06-07T04:05:57.790Z] 1a89e8eeedd5: Pulling fs layer [2022-06-07T04:05:57.790Z] 94645a83ff95: Pulling fs layer [2022-06-07T04:05:57.790Z] e6fb740bc735: Pulling fs layer [2022-06-07T04:05:57.790Z] 3a77bd46dcc9: Pulling fs layer [2022-06-07T04:05:57.790Z] 355e64cbe906: Pulling fs layer [2022-06-07T04:05:57.790Z] 63ab81a10011: Pulling fs layer [2022-06-07T04:05:57.790Z] 555d1d1c4555: Pulling fs layer [2022-06-07T04:05:57.790Z] 7d9057610161: Pulling fs layer [2022-06-07T04:05:57.790Z] e6fb740bc735: Waiting [2022-06-07T04:05:57.790Z] 3a77bd46dcc9: Waiting [2022-06-07T04:05:57.790Z] 355e64cbe906: Waiting [2022-06-07T04:05:57.790Z] 63ab81a10011: Waiting [2022-06-07T04:05:57.790Z] 555d1d1c4555: Waiting [2022-06-07T04:05:57.790Z] 7d9057610161: Waiting [2022-06-07T04:05:57.790Z] 94645a83ff95: Download complete [2022-06-07T04:05:57.790Z] 1a89e8eeedd5: Verifying Checksum [2022-06-07T04:05:57.790Z] 1a89e8eeedd5: Download complete [2022-06-07T04:05:57.790Z] 3a77bd46dcc9: Verifying Checksum [2022-06-07T04:05:57.790Z] 3a77bd46dcc9: Download complete [2022-06-07T04:05:57.790Z] 355e64cbe906: Verifying Checksum [2022-06-07T04:05:57.790Z] 355e64cbe906: Download complete [2022-06-07T04:05:57.790Z] 9b3977197b4f: Verifying Checksum [2022-06-07T04:05:57.790Z] 9b3977197b4f: Download complete [2022-06-07T04:05:58.066Z] 63ab81a10011: Verifying Checksum [2022-06-07T04:05:58.066Z] 63ab81a10011: Download complete [2022-06-07T04:05:59.058Z] 9b3977197b4f: Pull complete [2022-06-07T04:05:59.058Z] 7d9057610161: Verifying Checksum [2022-06-07T04:05:59.058Z] 7d9057610161: Download complete [2022-06-07T04:05:59.338Z] 1a89e8eeedd5: Pull complete [2022-06-07T04:05:59.613Z] 94645a83ff95: Pull complete [2022-06-07T04:06:00.216Z] 555d1d1c4555: Verifying Checksum [2022-06-07T04:06:00.216Z] 555d1d1c4555: Download complete [2022-06-07T04:06:00.491Z] e6fb740bc735: Verifying Checksum [2022-06-07T04:06:00.491Z] e6fb740bc735: Download complete [2022-06-07T04:06:02.252Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-06-07T04:06:12.897Z] e6fb740bc735: Pull complete [2022-06-07T04:06:12.897Z] 3a77bd46dcc9: Pull complete [2022-06-07T04:06:12.897Z] 355e64cbe906: Pull complete [2022-06-07T04:06:13.172Z] 63ab81a10011: Pull complete [2022-06-07T04:06:14.466Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-06-07T04:06:14.466Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-06-07T04:06:14.466Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-06-07T04:06:14.466Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.083s coverage: 23.3% of statements [2022-06-07T04:06:14.466Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-06-07T04:06:14.466Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.105s coverage: 27.6% of statements [2022-06-07T04:06:14.466Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.077s coverage: 78.9% of statements [2022-06-07T04:06:14.466Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.076s coverage: 10.8% of statements [2022-06-07T04:06:14.466Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.098s coverage: 60.0% of statements [2022-06-07T04:06:14.466Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-06-07T04:06:14.466Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-06-07T04:06:14.466Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.082s coverage: 34.8% of statements [2022-06-07T04:06:14.466Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-06-07T04:06:15.408Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.080s coverage: 85.4% of statements [2022-06-07T04:06:15.408Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-06-07T04:06:15.408Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-06-07T04:06:15.408Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.114s coverage: 65.1% of statements [2022-06-07T04:06:15.408Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.752s coverage: 89.2% of statements [2022-06-07T04:06:15.408Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-06-07T04:06:15.408Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.059s coverage: 4.7% of statements [2022-06-07T04:06:15.408Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-06-07T04:06:19.911Z] 555d1d1c4555: Pull complete [2022-06-07T04:06:21.354Z] 7d9057610161: Pull complete [2022-06-07T04:06:21.354Z] Digest: sha256:2bfe06e9b82483759db2d79553298764cc23e00699169ff1c4d7513112b2d636 [2022-06-07T04:06:21.354Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-06-07T04:06:21.354Z] ---> 819e984ddca1 [2022-06-07T04:06:21.354Z] Step 3/11 : ARG MAKE=make build [2022-06-07T04:06:23.338Z] ---> Running in 623f192ea279 [2022-06-07T04:06:23.338Z] Removing intermediate container 623f192ea279 [2022-06-07T04:06:23.338Z] ---> ccbb9f836ff9 [2022-06-07T04:06:23.338Z] Step 4/11 : WORKDIR /device-sdk-go [2022-06-07T04:06:23.338Z] ---> Running in c045176f95eb [2022-06-07T04:06:23.617Z] Removing intermediate container c045176f95eb [2022-06-07T04:06:23.617Z] ---> a66102f03786 [2022-06-07T04:06:23.617Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-06-07T04:06:23.617Z] ---> Running in ff2644889ec7 [2022-06-07T04:06:23.893Z] Removing intermediate container ff2644889ec7 [2022-06-07T04:06:23.893Z] ---> f59c0656085a [2022-06-07T04:06:23.893Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-07T04:06:24.166Z] ---> Running in fc709fa81e0f [2022-06-07T04:06:25.642Z] Removing intermediate container fc709fa81e0f [2022-06-07T04:06:25.642Z] ---> f3bd8bfb3b6f [2022-06-07T04:06:25.642Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-06-07T04:06:25.916Z] ---> Running in 3e60b89565b4 [2022-06-07T04:06:26.915Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-07T04:06:27.512Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-07T04:06:28.500Z] OK: 220 MiB in 52 packages [2022-06-07T04:06:29.487Z] Removing intermediate container 3e60b89565b4 [2022-06-07T04:06:29.487Z] ---> b0323fd7028f [2022-06-07T04:06:29.487Z] Step 8/11 : COPY go.mod vendor* ./ [2022-06-07T04:06:29.765Z] ---> 8f6225b58a3a [2022-06-07T04:06:29.765Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-07T04:06:29.765Z] ---> Running in 011e34cb6116 [2022-06-07T04:06:30.292Z] GO111MODULE=on go vet ./... [2022-06-07T04:06:33.584Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-07T04:06:33.584Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-07T04:06:33.584Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-06-07T04:06:33.877Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-06-07T04:06:33.911Z] $ docker stop --time=1 2ec3eee6e4ab93d56cf9ba3301f74b7a0611eb3ace13c1a076a4e7f1cdf3fde5 [2022-06-07T04:06:36.367Z] $ docker rm -f 2ec3eee6e4ab93d56cf9ba3301f74b7a0611eb3ace13c1a076a4e7f1cdf3fde5 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-07T04:06:36.934Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-06-07T04:06:37.045Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-06-07T04:06:37.775Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-06-07T04:06:38.088Z] + ls -al . [2022-06-07T04:06:38.088Z] total 300 [2022-06-07T04:06:38.088Z] drwxrwxr-x 11 jenkins jenkins 4096 Jun 7 04:06 . [2022-06-07T04:06:38.088Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 7 04:04 .. [2022-06-07T04:06:38.088Z] -rw-rw-r-- 1 jenkins jenkins 140 Jun 7 04:04 .dockerignore [2022-06-07T04:06:38.088Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 7 04:05 .git [2022-06-07T04:06:38.088Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 7 04:04 .github [2022-06-07T04:06:38.088Z] -rw-rw-r-- 1 jenkins jenkins 131 Jun 7 04:04 .gitignore [2022-06-07T04:06:38.088Z] -rw-rw-r-- 1 jenkins jenkins 42 Jun 7 04:04 .golangci.yml [2022-06-07T04:06:38.088Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 7 04:05 .semver [2022-06-07T04:06:38.088Z] -rw-rw-r-- 1 jenkins jenkins 29536 Jun 7 04:04 CHANGELOG.md [2022-06-07T04:06:38.088Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 7 04:04 GOVERNANCE.md [2022-06-07T04:06:38.088Z] -rw-rw-r-- 1 jenkins jenkins 880 Jun 7 04:04 Jenkinsfile [2022-06-07T04:06:38.088Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jun 7 04:04 LICENSE [2022-06-07T04:06:38.088Z] -rw-rw-r-- 1 jenkins jenkins 2015 Jun 7 04:04 Makefile [2022-06-07T04:06:38.088Z] -rw-rw-r-- 1 jenkins jenkins 619 Jun 7 04:04 OWNERS.md [2022-06-07T04:06:38.088Z] -rw-rw-r-- 1 jenkins jenkins 4881 Jun 7 04:04 README.md [2022-06-07T04:06:38.088Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 7 04:05 VERSION [2022-06-07T04:06:38.088Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 7 04:04 bin [2022-06-07T04:06:38.088Z] -rw-r--r-- 1 jenkins jenkins 131010 Jun 7 04:06 coverage.out [2022-06-07T04:06:38.088Z] drwxrwxr-x 5 jenkins jenkins 4096 Jun 7 04:04 example [2022-06-07T04:06:38.088Z] -rw-rw-r-- 1 jenkins jenkins 3131 Jun 7 04:04 go.mod [2022-06-07T04:06:38.088Z] -rw-rw-r-- 1 jenkins jenkins 35039 Jun 7 04:04 go.sum [2022-06-07T04:06:38.088Z] drwxrwxr-x 15 jenkins jenkins 4096 Jun 7 04:04 internal [2022-06-07T04:06:38.088Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 7 04:04 openapi [2022-06-07T04:06:38.088Z] drwxrwxr-x 5 jenkins jenkins 4096 Jun 7 04:04 pkg [2022-06-07T04:06:38.088Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 7 04:04 snap [2022-06-07T04:06:38.088Z] -rw-rw-r-- 1 jenkins jenkins 222 Jun 7 04:04 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-07T04:06:38.506Z] + docker build -t device-sdk-simple -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=8db0fe1ca3bb257608845c3112ddc7dd7646fc86 --label arch=amd64 --label version=0.0.0 . [2022-06-07T04:06:38.506Z] Sending build context to Docker daemon 9.84MB [2022-06-07T04:06:38.506Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-06-07T04:06:38.506Z] Step 2/25 : FROM ${BASE} AS builder [2022-06-07T04:06:38.506Z] ---> d3afccd42725 [2022-06-07T04:06:38.506Z] Step 3/25 : ARG MAKE=make build [2022-06-07T04:06:38.768Z] ---> Running in 8f1dc64cf2e9 [2022-06-07T04:06:38.768Z] Removing intermediate container 8f1dc64cf2e9 [2022-06-07T04:06:38.768Z] ---> efa16663b54c [2022-06-07T04:06:38.768Z] Step 4/25 : WORKDIR /device-sdk-go [2022-06-07T04:06:38.768Z] ---> Running in 493f6d14110b [2022-06-07T04:06:39.029Z] Removing intermediate container 493f6d14110b [2022-06-07T04:06:39.029Z] ---> 096dc0bcfc00 [2022-06-07T04:06:39.029Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-06-07T04:06:39.029Z] ---> Running in c3ce915ac31c [2022-06-07T04:06:39.029Z] Removing intermediate container c3ce915ac31c [2022-06-07T04:06:39.029Z] ---> 205369fa714e [2022-06-07T04:06:39.029Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-07T04:06:39.029Z] ---> Running in 599f26b11d73 [2022-06-07T04:06:39.602Z] Removing intermediate container 599f26b11d73 [2022-06-07T04:06:39.602Z] ---> 9e650ef8d709 [2022-06-07T04:06:39.602Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-06-07T04:06:39.868Z] ---> Running in 42e30160af06 [2022-06-07T04:06:40.130Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-07T04:06:41.071Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-07T04:06:41.071Z] OK: 221 MiB in 52 packages [2022-06-07T04:06:41.645Z] Removing intermediate container 42e30160af06 [2022-06-07T04:06:41.645Z] ---> d669c8c684cc [2022-06-07T04:06:41.645Z] Step 8/25 : COPY go.mod vendor* ./ [2022-06-07T04:06:41.645Z] ---> 1dc679071699 [2022-06-07T04:06:41.645Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-07T04:06:41.645Z] ---> Running in bb2cec8c3ce0 [2022-06-07T04:06:42.214Z] Removing intermediate container bb2cec8c3ce0 [2022-06-07T04:06:42.214Z] ---> 23e656594324 [2022-06-07T04:06:42.214Z] Step 10/25 : COPY . . [2022-06-07T04:06:42.789Z] ---> 24eb163cb181 [2022-06-07T04:06:42.789Z] Step 11/25 : RUN ${MAKE} [2022-06-07T04:06:42.789Z] ---> Running in 5c8586d2b146 [2022-06-07T04:06:43.051Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2022-06-07T04:07:01.160Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-06-07T04:07:02.101Z] Removing intermediate container 5c8586d2b146 [2022-06-07T04:07:02.101Z] ---> 428b40742374 [2022-06-07T04:07:02.101Z] Step 12/25 : FROM alpine:3.14 [2022-06-07T04:07:02.676Z] 3.14: Pulling from library/alpine [2022-06-07T04:07:02.676Z] 8663204ce13b: Pulling fs layer [2022-06-07T04:07:02.938Z] 8663204ce13b: Verifying Checksum [2022-06-07T04:07:02.938Z] 8663204ce13b: Download complete [2022-06-07T04:07:02.938Z] 8663204ce13b: Pull complete [2022-06-07T04:07:03.200Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-06-07T04:07:03.200Z] Status: Downloaded newer image for alpine:3.14 [2022-06-07T04:07:03.200Z] ---> e04c818066af [2022-06-07T04:07:03.200Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-06-07T04:07:03.200Z] ---> Running in 6cdf51c18cef [2022-06-07T04:07:03.200Z] Removing intermediate container 6cdf51c18cef [2022-06-07T04:07:03.200Z] ---> 8343548f1ae1 [2022-06-07T04:07:03.200Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-07T04:07:03.200Z] ---> Running in 09938fc2a0e7 [2022-06-07T04:07:04.140Z] Removing intermediate container 09938fc2a0e7 [2022-06-07T04:07:04.140Z] ---> 6a12a64d2b85 [2022-06-07T04:07:04.140Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-06-07T04:07:04.140Z] ---> Running in feb85d68b86e [2022-06-07T04:07:04.401Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-06-07T04:07:04.974Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-06-07T04:07:05.545Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2022-06-07T04:07:05.545Z] (2/5) Installing libsodium (1.0.18-r0) [2022-06-07T04:07:05.545Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2022-06-07T04:07:05.545Z] (4/5) Installing libzmq (4.3.4-r0) [2022-06-07T04:07:05.808Z] (5/5) Installing zeromq (4.3.4-r0) [2022-06-07T04:07:05.808Z] Executing busybox-1.33.1-r7.trigger [2022-06-07T04:07:05.808Z] OK: 8 MiB in 19 packages [2022-06-07T04:07:06.382Z] Removing intermediate container feb85d68b86e [2022-06-07T04:07:06.382Z] ---> 5cb0d0e1d4da [2022-06-07T04:07:06.382Z] Step 16/25 : WORKDIR / [2022-06-07T04:07:06.382Z] ---> Running in a4b84fa2bd44 [2022-06-07T04:07:06.382Z] Removing intermediate container a4b84fa2bd44 [2022-06-07T04:07:06.382Z] ---> 88446a656983 [2022-06-07T04:07:06.382Z] Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-06-07T04:07:06.643Z] ---> a14b727a36a6 [2022-06-07T04:07:06.643Z] Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-06-07T04:07:07.214Z] ---> a782d2ff4791 [2022-06-07T04:07:07.214Z] Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-06-07T04:07:07.477Z] ---> 714fdeb43202 [2022-06-07T04:07:07.477Z] Step 20/25 : EXPOSE 59999 [2022-06-07T04:07:07.477Z] ---> Running in 705cad9f74a1 [2022-06-07T04:07:07.477Z] Removing intermediate container 705cad9f74a1 [2022-06-07T04:07:07.477Z] ---> 491522742636 [2022-06-07T04:07:07.477Z] Step 21/25 : ENTRYPOINT ["/device-simple"] [2022-06-07T04:07:07.477Z] ---> Running in 505dae8d6b05 [2022-06-07T04:07:07.739Z] Removing intermediate container 505dae8d6b05 [2022-06-07T04:07:07.739Z] ---> 3f60b72bd4d5 [2022-06-07T04:07:07.739Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-06-07T04:07:07.739Z] ---> Running in b1d382ec850b [2022-06-07T04:07:07.739Z] Removing intermediate container b1d382ec850b [2022-06-07T04:07:07.739Z] ---> 98f527c98a8c [2022-06-07T04:07:07.739Z] Step 23/25 : LABEL arch=amd64 [2022-06-07T04:07:07.739Z] ---> Running in ae5bde16fe96 [2022-06-07T04:07:07.998Z] Removing intermediate container ae5bde16fe96 [2022-06-07T04:07:07.998Z] ---> ca10c3f693b5 [2022-06-07T04:07:07.998Z] Step 24/25 : LABEL git_sha=8db0fe1ca3bb257608845c3112ddc7dd7646fc86 [2022-06-07T04:07:07.998Z] ---> Running in df0ed73df3f7 [2022-06-07T04:07:07.998Z] Removing intermediate container df0ed73df3f7 [2022-06-07T04:07:07.998Z] ---> e8d204db2f34 [2022-06-07T04:07:07.998Z] Step 25/25 : LABEL version=0.0.0 [2022-06-07T04:07:07.998Z] ---> Running in 157e767d09c1 [2022-06-07T04:07:08.261Z] Removing intermediate container 157e767d09c1 [2022-06-07T04:07:08.261Z] ---> c3993c50dee2 [2022-06-07T04:07:08.261Z] [Warning] One or more build-args [ARCH] were not consumed [2022-06-07T04:07:08.261Z] Successfully built c3993c50dee2 [2022-06-07T04:07:08.261Z] Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-07T04:07:09.192Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-07T04:07:09.193Z] [2022-06-07T04:07:09.193Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-07T04:07:09.581Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-07T04:07:09.581Z] latest: Pulling from edgex-lftools-log-publisher [2022-06-07T04:07:09.581Z] 5eb5b503b376: Pulling fs layer [2022-06-07T04:07:09.581Z] 5c69ac0246d0: Pulling fs layer [2022-06-07T04:07:09.581Z] ec43610c2a17: Pulling fs layer [2022-06-07T04:07:09.581Z] 3a2ae6a8a46f: Pulling fs layer [2022-06-07T04:07:09.581Z] 33b1e0a273af: Pulling fs layer [2022-06-07T04:07:09.581Z] 5d3b04190fa2: Pulling fs layer [2022-06-07T04:07:09.581Z] 2f39f015ded8: Pulling fs layer [2022-06-07T04:07:09.581Z] 3a2ae6a8a46f: Waiting [2022-06-07T04:07:09.581Z] 33b1e0a273af: Waiting [2022-06-07T04:07:09.581Z] 5d3b04190fa2: Waiting [2022-06-07T04:07:09.581Z] 2f39f015ded8: Waiting [2022-06-07T04:07:09.581Z] 5c69ac0246d0: Download complete [2022-06-07T04:07:09.581Z] 3a2ae6a8a46f: Download complete [2022-06-07T04:07:09.843Z] 33b1e0a273af: Verifying Checksum [2022-06-07T04:07:09.843Z] 33b1e0a273af: Download complete [2022-06-07T04:07:09.843Z] ec43610c2a17: Verifying Checksum [2022-06-07T04:07:09.843Z] ec43610c2a17: Download complete [2022-06-07T04:07:09.843Z] 5d3b04190fa2: Verifying Checksum [2022-06-07T04:07:09.843Z] 5d3b04190fa2: Download complete [2022-06-07T04:07:09.843Z] 5eb5b503b376: Verifying Checksum [2022-06-07T04:07:09.843Z] 5eb5b503b376: Download complete [2022-06-07T04:07:10.412Z] 2f39f015ded8: Verifying Checksum [2022-06-07T04:07:10.412Z] 2f39f015ded8: Download complete [2022-06-07T04:07:10.982Z] 5eb5b503b376: Pull complete [2022-06-07T04:07:11.244Z] 5c69ac0246d0: Pull complete [2022-06-07T04:07:11.828Z] ec43610c2a17: Pull complete [2022-06-07T04:07:11.828Z] 3a2ae6a8a46f: Pull complete [2022-06-07T04:07:11.828Z] 33b1e0a273af: Pull complete [2022-06-07T04:07:12.089Z] 5d3b04190fa2: Pull complete [2022-06-07T04:07:16.297Z] 2f39f015ded8: Pull complete [2022-06-07T04:07:16.297Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-06-07T04:07:16.297Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-07T04:07:16.297Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-07T04:07:16.539Z] prd-ubuntu20.04-docker-8c-8g-1600 does not seem to be running inside a container [2022-06-07T04:07:16.579Z] $ 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-1174 -v /w/workspace/gexfoundry_device-sdk-go_PR-1174:/w/workspace/gexfoundry_device-sdk-go_PR-1174:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1174@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1174@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-06-07T04:07:16.781Z] Removing intermediate container 011e34cb6116 [2022-06-07T04:07:16.781Z] ---> 329548acefb3 [2022-06-07T04:07:16.781Z] Step 10/11 : COPY . . [2022-06-07T04:07:16.781Z] ---> 5abd17794ce3 [2022-06-07T04:07:16.781Z] Step 11/11 : RUN ${MAKE} [2022-06-07T04:07:16.781Z] ---> Running in 898923b336ba [2022-06-07T04:07:16.781Z] noop [2022-06-07T04:07:16.781Z] Removing intermediate container 898923b336ba [2022-06-07T04:07:16.781Z] ---> a8b73220f497 [2022-06-07T04:07:16.781Z] Successfully built a8b73220f497 [2022-06-07T04:07:16.781Z] Successfully tagged ci-base-image-arm64:latest [2022-06-07T04:07:18.685Z] $ docker top a518a719eb7ab00c135f10ea0afbcebd4076bed9f08887c2dcba821300fc3ec8 -eo pid,comm [Pipeline] { [Pipeline] } [Pipeline] // withEnv [Pipeline] libraryResource [Pipeline] sh [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-07T04:07:19.260Z] ---> job-cost.sh [2022-06-07T04:07:19.261Z] lf-activate-venv: SKIPPING [2022-06-07T04:07:19.261Z] INFO: No Stack... [2022-06-07T04:07:19.457Z] + docker inspect -f . ci-base-image-arm64 [2022-06-07T04:07:19.457Z] . [Pipeline] } [2022-06-07T04:07:19.521Z] INFO: Retrieving Pricing Info for: v3-standard-8 [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-07T04:07:19.820Z] prd-ubuntu20.04-docker-arm64-4c-16g-1596 does not seem to be running inside a container [2022-06-07T04:07:19.968Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-06-07T04:07:20.098Z] INFO: Archiving Costs [2022-06-07T04:07:21.311Z] $ docker top e7ab5f655f0d21896fa9bcfcd1e358a5187512b59584ea1774463b01216a4fa6 -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] sh [2022-06-07T04:07:22.067Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1174/archives/cost.csv [2022-06-07T04:07:22.067Z] + cut -d, -f6 [Pipeline] lock [2022-06-07T04:07:22.112Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1174-1-stack-cost] [2022-06-07T04:07:22.117Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1174-1-stack-cost] did not exist. Created. [2022-06-07T04:07:22.118Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1174-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-07T04:07:22.436Z] + go version [2022-06-07T04:07:22.436Z] go version go1.17.7 linux/arm64 [Pipeline] } [2022-06-07T04:07:22.477Z] $ docker stop --time=1 e7ab5f655f0d21896fa9bcfcd1e358a5187512b59584ea1774463b01216a4fa6 [2022-06-07T04:07:22.561Z] + echo total: 0.2199999988079071 [2022-06-07T04:07:24.107Z] $ docker rm -f e7ab5f655f0d21896fa9bcfcd1e358a5187512b59584ea1774463b01216a4fa6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] stash [2022-06-07T04:07:24.436Z] Stashed 1 file(s) [Pipeline] // script [Pipeline] } [Pipeline] } [2022-06-07T04:07:24.508Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1174-1-stack-cost] [Pipeline] // stage [Pipeline] // lock [Pipeline] } [2022-06-07T04:07:24.632Z] $ docker stop --time=1 a518a719eb7ab00c135f10ea0afbcebd4076bed9f08887c2dcba821300fc3ec8 [2022-06-07T04:07:25.812Z] $ docker rm -f a518a719eb7ab00c135f10ea0afbcebd4076bed9f08887c2dcba821300fc3ec8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] stage [Pipeline] { (Test) [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-07T04:07:26.557Z] + docker inspect -f . ci-base-image-arm64 [2022-06-07T04:07:26.558Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-07T04:07:26.858Z] prd-ubuntu20.04-docker-arm64-4c-16g-1596 does not seem to be running inside a container [2022-06-07T04:07:26.944Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-06-07T04:07:28.212Z] $ docker top 1abcdb57ccce9dc9931bd7307f20ab26794149f47f9a77bf283c6361f45804f4 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-07T04:07:29.220Z] + make test [2022-06-07T04:07:29.220Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-06-07T04:07:56.043Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-06-07T04:09:32.926Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-06-07T04:09:32.926Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-06-07T04:09:32.926Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-06-07T04:09:41.251Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.366s coverage: 23.3% of statements [2022-06-07T04:09:41.251Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-06-07T04:09:41.251Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.279s coverage: 27.6% of statements [2022-06-07T04:09:41.251Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.324s coverage: 78.9% of statements [2022-06-07T04:09:41.251Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.357s coverage: 10.8% of statements [2022-06-07T04:09:45.593Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.490s coverage: 60.0% of statements [2022-06-07T04:09:45.593Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-06-07T04:09:45.593Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-06-07T04:09:48.241Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.431s coverage: 34.8% of statements [2022-06-07T04:09:48.241Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-06-07T04:09:50.233Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.298s coverage: 85.4% of statements [2022-06-07T04:09:50.233Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-06-07T04:09:50.233Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-06-07T04:09:50.233Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.536s coverage: 65.1% of statements [2022-06-07T04:09:53.852Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.225s coverage: 89.2% of statements [2022-06-07T04:09:53.852Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-06-07T04:09:54.838Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.240s coverage: 4.7% of statements [2022-06-07T04:09:54.838Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-06-07T04:09:55.439Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-06-07T04:09:55.439Z] GO111MODULE=on go vet ./... [2022-06-07T04:11:32.298Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-07T04:11:32.298Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-07T04:11:32.298Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-06-07T04:11:32.332Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-06-07T04:11:32.368Z] $ docker stop --time=1 1abcdb57ccce9dc9931bd7307f20ab26794149f47f9a77bf283c6361f45804f4 [2022-06-07T04:11:34.096Z] $ docker rm -f 1abcdb57ccce9dc9931bd7307f20ab26794149f47f9a77bf283c6361f45804f4 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-07T04:11:35.456Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-06-07T04:11:35.487Z] Warning: overwriting stash ‘coverage-report’ [2022-06-07T04:11:36.128Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-07T04:11:36.726Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-06-07T04:11:37.076Z] + ls -al . [2022-06-07T04:11:37.076Z] total 296 [2022-06-07T04:11:37.076Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 7 04:11 . [2022-06-07T04:11:37.076Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 7 04:05 .. [2022-06-07T04:11:37.076Z] -rw-rw-r-- 1 jenkins jenkins 140 Jun 7 04:05 .dockerignore [2022-06-07T04:11:37.076Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 7 04:05 .git [2022-06-07T04:11:37.076Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 7 04:05 .github [2022-06-07T04:11:37.076Z] -rw-rw-r-- 1 jenkins jenkins 131 Jun 7 04:05 .gitignore [2022-06-07T04:11:37.076Z] -rw-rw-r-- 1 jenkins jenkins 42 Jun 7 04:05 .golangci.yml [2022-06-07T04:11:37.076Z] -rw-rw-r-- 1 jenkins jenkins 29536 Jun 7 04:05 CHANGELOG.md [2022-06-07T04:11:37.076Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 7 04:05 GOVERNANCE.md [2022-06-07T04:11:37.076Z] -rw-rw-r-- 1 jenkins jenkins 880 Jun 7 04:05 Jenkinsfile [2022-06-07T04:11:37.076Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jun 7 04:05 LICENSE [2022-06-07T04:11:37.076Z] -rw-rw-r-- 1 jenkins jenkins 2015 Jun 7 04:05 Makefile [2022-06-07T04:11:37.076Z] -rw-rw-r-- 1 jenkins jenkins 619 Jun 7 04:05 OWNERS.md [2022-06-07T04:11:37.076Z] -rw-rw-r-- 1 jenkins jenkins 4881 Jun 7 04:05 README.md [2022-06-07T04:11:37.076Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 7 04:05 VERSION [2022-06-07T04:11:37.076Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 7 04:05 bin [2022-06-07T04:11:37.076Z] -rw-r--r-- 1 jenkins jenkins 131011 Jun 7 04:09 coverage.out [2022-06-07T04:11:37.076Z] drwxrwxr-x 5 jenkins jenkins 4096 Jun 7 04:05 example [2022-06-07T04:11:37.076Z] -rw-rw-r-- 1 jenkins jenkins 3131 Jun 7 04:05 go.mod [2022-06-07T04:11:37.076Z] -rw-rw-r-- 1 jenkins jenkins 35039 Jun 7 04:05 go.sum [2022-06-07T04:11:37.076Z] drwxrwxr-x 15 jenkins jenkins 4096 Jun 7 04:05 internal [2022-06-07T04:11:37.076Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 7 04:05 openapi [2022-06-07T04:11:37.076Z] drwxrwxr-x 5 jenkins jenkins 4096 Jun 7 04:05 pkg [2022-06-07T04:11:37.076Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 7 04:05 snap [2022-06-07T04:11:37.076Z] -rw-rw-r-- 1 jenkins jenkins 222 Jun 7 04:05 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-07T04:11:37.496Z] + docker build -t device-sdk-simple-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=8db0fe1ca3bb257608845c3112ddc7dd7646fc86 --label arch=arm64 --label version=0.0.0 . [2022-06-07T04:11:38.087Z] Sending build context to Docker daemon 5.328MB [2022-06-07T04:11:38.087Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-06-07T04:11:38.087Z] Step 2/25 : FROM ${BASE} AS builder [2022-06-07T04:11:38.087Z] ---> a8b73220f497 [2022-06-07T04:11:38.087Z] Step 3/25 : ARG MAKE=make build [2022-06-07T04:11:38.087Z] ---> Running in 734b65139ac7 [2022-06-07T04:11:38.365Z] Removing intermediate container 734b65139ac7 [2022-06-07T04:11:38.365Z] ---> 2286f5ac816f [2022-06-07T04:11:38.365Z] Step 4/25 : WORKDIR /device-sdk-go [2022-06-07T04:11:38.365Z] ---> Running in 71633035b2a4 [2022-06-07T04:11:38.971Z] Removing intermediate container 71633035b2a4 [2022-06-07T04:11:38.971Z] ---> 4a590fcf661e [2022-06-07T04:11:38.971Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-06-07T04:11:38.971Z] ---> Running in 73fa18ac374c [2022-06-07T04:11:39.244Z] Removing intermediate container 73fa18ac374c [2022-06-07T04:11:39.244Z] ---> 88de1782b798 [2022-06-07T04:11:39.244Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-07T04:11:39.244Z] ---> Running in 0b21bd73033e [2022-06-07T04:11:41.221Z] Removing intermediate container 0b21bd73033e [2022-06-07T04:11:41.221Z] ---> 756b5acfbc2f [2022-06-07T04:11:41.221Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-06-07T04:11:41.221Z] ---> Running in 997a5ecdfb8b [2022-06-07T04:11:41.812Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-07T04:11:42.784Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-07T04:11:43.764Z] OK: 220 MiB in 52 packages [2022-06-07T04:11:44.360Z] Removing intermediate container 997a5ecdfb8b [2022-06-07T04:11:44.360Z] ---> bff30c98eb70 [2022-06-07T04:11:44.360Z] Step 8/25 : COPY go.mod vendor* ./ [2022-06-07T04:11:44.962Z] ---> 5413124ada7f [2022-06-07T04:11:44.962Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-07T04:11:44.962Z] ---> Running in 5941543a6611 [2022-06-07T04:11:46.948Z] Removing intermediate container 5941543a6611 [2022-06-07T04:11:46.948Z] ---> e4ff843088af [2022-06-07T04:11:46.948Z] Step 10/25 : COPY . . [2022-06-07T04:11:48.385Z] ---> 7f732671a4c4 [2022-06-07T04:11:48.385Z] Step 11/25 : RUN ${MAKE} [2022-06-07T04:11:48.385Z] ---> Running in 156bf6a1951f [2022-06-07T04:11:49.366Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2022-06-07T04:13:56.227Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-06-07T04:13:56.227Z] Removing intermediate container 156bf6a1951f [2022-06-07T04:13:56.227Z] ---> a708adfea715 [2022-06-07T04:13:56.227Z] Step 12/25 : FROM alpine:3.14 [2022-06-07T04:13:56.227Z] 3.14: Pulling from library/alpine [2022-06-07T04:13:56.227Z] 455c02918c45: Pulling fs layer [2022-06-07T04:13:56.227Z] 455c02918c45: Verifying Checksum [2022-06-07T04:13:56.227Z] 455c02918c45: Download complete [2022-06-07T04:13:56.227Z] 455c02918c45: Pull complete [2022-06-07T04:13:56.227Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-06-07T04:13:56.227Z] Status: Downloaded newer image for alpine:3.14 [2022-06-07T04:13:56.227Z] ---> ac73e934f311 [2022-06-07T04:13:56.227Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-06-07T04:13:56.227Z] ---> Running in a171bf2463c1 [2022-06-07T04:13:56.227Z] Removing intermediate container a171bf2463c1 [2022-06-07T04:13:56.227Z] ---> 2c59342267cc [2022-06-07T04:13:56.227Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-07T04:13:56.227Z] ---> Running in a4406bf15a6a [2022-06-07T04:13:56.227Z] Removing intermediate container a4406bf15a6a [2022-06-07T04:13:56.227Z] ---> 33511be2ec42 [2022-06-07T04:13:56.227Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-06-07T04:13:56.227Z] ---> Running in dcf43bc6bd01 [2022-06-07T04:13:57.205Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-06-07T04:13:58.185Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-06-07T04:13:58.779Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2022-06-07T04:13:59.053Z] (2/5) Installing libsodium (1.0.18-r0) [2022-06-07T04:13:59.053Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2022-06-07T04:13:59.328Z] (4/5) Installing libzmq (4.3.4-r0) [2022-06-07T04:13:59.328Z] (5/5) Installing zeromq (4.3.4-r0) [2022-06-07T04:13:59.328Z] Executing busybox-1.33.1-r7.trigger [2022-06-07T04:13:59.328Z] OK: 8 MiB in 19 packages [2022-06-07T04:14:00.308Z] Removing intermediate container dcf43bc6bd01 [2022-06-07T04:14:00.308Z] ---> 204bc8b97fe4 [2022-06-07T04:14:00.308Z] Step 16/25 : WORKDIR / [2022-06-07T04:14:00.308Z] ---> Running in 056b991d9c98 [2022-06-07T04:14:00.583Z] Removing intermediate container 056b991d9c98 [2022-06-07T04:14:00.583Z] ---> 31d463bf67af [2022-06-07T04:14:00.583Z] Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-06-07T04:14:01.180Z] ---> 51687ba4ea4f [2022-06-07T04:14:01.180Z] Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-06-07T04:14:02.617Z] ---> 2217ca219c67 [2022-06-07T04:14:02.617Z] Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-06-07T04:14:03.231Z] ---> 4c7536aa5b0b [2022-06-07T04:14:03.231Z] Step 20/25 : EXPOSE 59999 [2022-06-07T04:14:03.231Z] ---> Running in 9168d505ca8f [2022-06-07T04:14:03.513Z] Removing intermediate container 9168d505ca8f [2022-06-07T04:14:03.513Z] ---> d82b0defcfc1 [2022-06-07T04:14:03.513Z] Step 21/25 : ENTRYPOINT ["/device-simple"] [2022-06-07T04:14:03.815Z] ---> Running in 9b8471d58db9 [2022-06-07T04:14:04.092Z] Removing intermediate container 9b8471d58db9 [2022-06-07T04:14:04.092Z] ---> b7eea5baeca3 [2022-06-07T04:14:04.092Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-06-07T04:14:04.092Z] ---> Running in a19faf769f8f [2022-06-07T04:14:04.364Z] Removing intermediate container a19faf769f8f [2022-06-07T04:14:04.364Z] ---> 5c511f608554 [2022-06-07T04:14:04.364Z] Step 23/25 : LABEL arch=arm64 [2022-06-07T04:14:04.641Z] ---> Running in 6d0a4788a610 [2022-06-07T04:14:04.915Z] Removing intermediate container 6d0a4788a610 [2022-06-07T04:14:04.915Z] ---> ad22646b1f4f [2022-06-07T04:14:04.915Z] Step 24/25 : LABEL git_sha=8db0fe1ca3bb257608845c3112ddc7dd7646fc86 [2022-06-07T04:14:04.915Z] ---> Running in 24b77299f2d9 [2022-06-07T04:14:05.187Z] Removing intermediate container 24b77299f2d9 [2022-06-07T04:14:05.187Z] ---> adfaafc90051 [2022-06-07T04:14:05.187Z] Step 25/25 : LABEL version=0.0.0 [2022-06-07T04:14:05.187Z] ---> Running in 6577dc9758e4 [2022-06-07T04:14:05.781Z] Removing intermediate container 6577dc9758e4 [2022-06-07T04:14:05.781Z] ---> 03a26bddd33a [2022-06-07T04:14:05.781Z] [Warning] One or more build-args [ARCH] were not consumed [2022-06-07T04:14:05.781Z] Successfully built 03a26bddd33a [2022-06-07T04:14:05.781Z] Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-07T04:14:06.618Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-07T04:14:06.619Z] [2022-06-07T04:14:06.619Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-07T04:14:07.095Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-07T04:14:07.371Z] arm64: Pulling from edgex-lftools-log-publisher [2022-06-07T04:14:07.371Z] 8998bd30e6a1: Pulling fs layer [2022-06-07T04:14:07.371Z] 04944245beec: Pulling fs layer [2022-06-07T04:14:07.371Z] 699f458cf7ca: Pulling fs layer [2022-06-07T04:14:07.371Z] 765212b225bb: Pulling fs layer [2022-06-07T04:14:07.371Z] f23df028b6ca: Pulling fs layer [2022-06-07T04:14:07.371Z] d65c8cfc05b1: Pulling fs layer [2022-06-07T04:14:07.371Z] 2437ff75d9bd: Pulling fs layer [2022-06-07T04:14:07.371Z] 765212b225bb: Waiting [2022-06-07T04:14:07.371Z] f23df028b6ca: Waiting [2022-06-07T04:14:07.371Z] d65c8cfc05b1: Waiting [2022-06-07T04:14:07.371Z] 2437ff75d9bd: Waiting [2022-06-07T04:14:07.371Z] 04944245beec: Verifying Checksum [2022-06-07T04:14:07.371Z] 04944245beec: Download complete [2022-06-07T04:14:07.371Z] 765212b225bb: Verifying Checksum [2022-06-07T04:14:07.371Z] 765212b225bb: Download complete [2022-06-07T04:14:07.371Z] f23df028b6ca: Verifying Checksum [2022-06-07T04:14:07.371Z] f23df028b6ca: Download complete [2022-06-07T04:14:07.371Z] d65c8cfc05b1: Verifying Checksum [2022-06-07T04:14:07.371Z] d65c8cfc05b1: Download complete [2022-06-07T04:14:07.647Z] 699f458cf7ca: Verifying Checksum [2022-06-07T04:14:07.647Z] 699f458cf7ca: Download complete [2022-06-07T04:14:07.921Z] 8998bd30e6a1: Download complete [2022-06-07T04:14:10.555Z] 2437ff75d9bd: Verifying Checksum [2022-06-07T04:14:10.555Z] 2437ff75d9bd: Download complete [2022-06-07T04:14:12.001Z] 8998bd30e6a1: Pull complete [2022-06-07T04:14:12.598Z] 04944245beec: Pull complete [2022-06-07T04:14:14.027Z] 699f458cf7ca: Pull complete [2022-06-07T04:14:14.299Z] 765212b225bb: Pull complete [2022-06-07T04:14:14.892Z] f23df028b6ca: Pull complete [2022-06-07T04:14:15.164Z] d65c8cfc05b1: Pull complete [2022-06-07T04:14:30.226Z] 2437ff75d9bd: Pull complete [2022-06-07T04:14:30.226Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-06-07T04:14:30.226Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-07T04:14:30.226Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-07T04:14:30.601Z] prd-ubuntu20.04-docker-arm64-4c-16g-1596 does not seem to be running inside a container [2022-06-07T04:14:30.693Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-06-07T04:14:33.202Z] $ docker top 189c8dc688007d9cdd46dccecd674678cacf3241e1896a43b3c6bf32e2258fc0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-07T04:14:34.162Z] ---> job-cost.sh [2022-06-07T04:14:34.162Z] lf-activate-venv: SKIPPING [2022-06-07T04:14:34.162Z] INFO: No Stack... [2022-06-07T04:14:34.764Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-06-07T04:14:35.359Z] INFO: Archiving Costs [Pipeline] sh [2022-06-07T04:14:36.044Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2022-06-07T04:14:36.044Z] + cut -d, -f6 [Pipeline] lock [2022-06-07T04:14:36.103Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1174-1-stack-cost] [2022-06-07T04:14:36.108Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1174-1-stack-cost] did not exist. Created. [2022-06-07T04:14:36.108Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1174-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-07T04:14:36.876Z] /w/workspace/device-sdk-go/1@tmp/durable-efd86c91/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-06-07T04:14:37.584Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-06-07T04:14:37.621Z] Warning: overwriting stash ‘stack-cost’ [2022-06-07T04:14:37.688Z] Stashed 1 file(s) [Pipeline] } [2022-06-07T04:14:37.703Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1174-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-07T04:14:37.783Z] $ docker stop --time=1 189c8dc688007d9cdd46dccecd674678cacf3241e1896a43b3c6bf32e2258fc0 [2022-06-07T04:14:39.279Z] $ docker rm -f 189c8dc688007d9cdd46dccecd674678cacf3241e1896a43b3c6bf32e2258fc0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2022-06-07T04:14:40.274Z] provisioning config files... [2022-06-07T04:14:40.283Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1174@tmp/config6085984368532233650tmp [Pipeline] { [Pipeline] sh [2022-06-07T04:14:40.615Z] + set +x [2022-06-07T04:14:40.615Z] + curl -s https://codecov.io/bash [2022-06-07T04:14:40.615Z] + bash -s -- [2022-06-07T04:14:40.615Z] [2022-06-07T04:14:40.615Z] _____ _ [2022-06-07T04:14:40.615Z] / ____| | | [2022-06-07T04:14:40.615Z] | | ___ __| | ___ ___ _____ __ [2022-06-07T04:14:40.615Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-06-07T04:14:40.615Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-06-07T04:14:40.615Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-06-07T04:14:40.615Z] Bash-1.0.6 [2022-06-07T04:14:40.616Z] [2022-06-07T04:14:40.616Z] [2022-06-07T04:14:40.616Z] ==> git version 2.25.1 found [2022-06-07T04:14:40.616Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2022-06-07T04:14:40.616Z] Release-Date: 2020-01-08 [2022-06-07T04:14:40.616Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-06-07T04:14:40.616Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-06-07T04:14:40.616Z] ==> Jenkins CI detected. [2022-06-07T04:14:40.616Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1174 [2022-06-07T04:14:40.616Z] project root: . [2022-06-07T04:14:40.616Z] --> token set from env [2022-06-07T04:14:40.616Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-06-07T04:14:40.616Z] ==> Running gcov in . (disable via -X gcov) [2022-06-07T04:14:40.616Z] ==> Python coveragepy not found [2022-06-07T04:14:40.616Z] ==> Searching for coverage reports in: [2022-06-07T04:14:40.616Z] + . [2022-06-07T04:14:40.616Z] -> Found 1 reports [2022-06-07T04:14:40.616Z] ==> Detecting git/mercurial file structure [2022-06-07T04:14:40.616Z] ==> Reading reports [2022-06-07T04:14:40.875Z] + ./coverage.out bytes=131011 [2022-06-07T04:14:40.875Z] ==> Appending adjustments [2022-06-07T04:14:40.875Z] https://docs.codecov.io/docs/fixing-reports [2022-06-07T04:14:41.138Z] + Found adjustments [2022-06-07T04:14:41.138Z] ==> Gzipping contents [2022-06-07T04:14:41.138Z] 20K /tmp/codecov.TIFrYQ.gz [2022-06-07T04:14:41.138Z] ==> Uploading reports [2022-06-07T04:14:41.138Z] url: https://codecov.io [2022-06-07T04:14:41.139Z] query: branch=PR-1174&commit=8db0fe1ca3bb257608845c3112ddc7dd7646fc86&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1174%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1174&job=&cmd_args= [2022-06-07T04:14:41.139Z] -> Pinging Codecov [2022-06-07T04:14:41.139Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1174&commit=8db0fe1ca3bb257608845c3112ddc7dd7646fc86&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1174%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1174&job=&cmd_args= [2022-06-07T04:14:41.398Z] -> Uploading to [2022-06-07T04:14:41.398Z] https://storage.googleapis.com/codecov/v4/raw/2022-06-07/7E55EF52A471D76F132DFD9A03CDDE97/8db0fe1ca3bb257608845c3112ddc7dd7646fc86/5fe1049b-f942-46c2-9f86-43b518d3163b.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220607%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220607T041441Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=41ba0b7cae0f7a674273662e87f4174ca078a7477f326c3cc4266c1eb83bf97b [2022-06-07T04:14:41.398Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-07T04:14:41.398Z] Dload Upload Total Spent Left Speed [2022-06-07T04:14:41.398Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16849 0 0 100 16849 0 78733 --:--:-- --:--:-- --:--:-- 78733 [2022-06-07T04:14:41.398Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/8db0fe1ca3bb257608845c3112ddc7dd7646fc86 [Pipeline] } [2022-06-07T04:14:41.425Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2022-06-07T04:14:43.115Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1174/archives ] [2022-06-07T04:14:43.115Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1174/archives [2022-06-07T04:14:43.115Z] total 16 [2022-06-07T04:14:43.115Z] drwxr-xr-x 3 root root 4096 Jun 7 04:07 . [2022-06-07T04:14:43.115Z] drwxrwxr-x 12 jenkins jenkins 4096 Jun 7 04:07 .. [2022-06-07T04:14:43.115Z] drwxr-xr-x 2 root root 4096 Jun 7 04:07 cost [2022-06-07T04:14:43.115Z] -rw-r--r-- 1 root root 85 Jun 7 04:07 cost.csv [2022-06-07T04:14:43.115Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1174/archives [2022-06-07T04:14:43.115Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1174/archives [2022-06-07T04:14:43.115Z] total 16 [2022-06-07T04:14:43.115Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 7 04:07 . [2022-06-07T04:14:43.115Z] drwxrwxr-x 12 jenkins jenkins 4096 Jun 7 04:07 .. [2022-06-07T04:14:43.115Z] drwxr-xr-x 2 jenkins jenkins 4096 Jun 7 04:07 cost [2022-06-07T04:14:43.115Z] -rw-r--r-- 1 jenkins jenkins 85 Jun 7 04:07 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-06-07T04:14:43.454Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-07T04:14:44.348Z] ---> package-listing.sh [2022-06-07T04:14:44.348Z] ++ facter osfamily [2022-06-07T04:14:44.348Z] ++ tr '[:upper:]' '[:lower:]' [2022-06-07T04:14:44.609Z] + OS_FAMILY=debian [2022-06-07T04:14:44.609Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1174 [2022-06-07T04:14:44.609Z] + START_PACKAGES=/tmp/packages_start.txt [2022-06-07T04:14:44.609Z] + END_PACKAGES=/tmp/packages_end.txt [2022-06-07T04:14:44.609Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-06-07T04:14:44.609Z] + PACKAGES=/tmp/packages_start.txt [2022-06-07T04:14:44.609Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1174 ']' [2022-06-07T04:14:44.609Z] + PACKAGES=/tmp/packages_end.txt [2022-06-07T04:14:44.609Z] + case "${OS_FAMILY}" in [2022-06-07T04:14:44.609Z] + grep '^ii' [2022-06-07T04:14:44.609Z] + dpkg -l [2022-06-07T04:14:44.609Z] + '[' -f /tmp/packages_start.txt ']' [2022-06-07T04:14:44.609Z] + '[' -f /tmp/packages_end.txt ']' [2022-06-07T04:14:44.609Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-06-07T04:14:44.609Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1174 ']' [2022-06-07T04:14:44.609Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1174/archives/ [2022-06-07T04:14:44.609Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1174/archives/ [Pipeline] echo [2022-06-07T04:14:44.639Z] 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-1174/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-06-07T04:14:44.935Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-07T04:14:45.554Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-07T04:14:45.554Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-07T04:14:45.712Z] prd-ubuntu20.04-docker-8c-8g-1600 does not seem to be running inside a container [2022-06-07T04:14:45.750Z] $ 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-1174/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-1174 -v /w/workspace/gexfoundry_device-sdk-go_PR-1174:/w/workspace/gexfoundry_device-sdk-go_PR-1174:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1174@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1174@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-06-07T04:14:45.987Z] $ docker top 114ca5f316861279f942ae09a3de6ec77667a5f7f2c2c356325c06aff3492944 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-07T04:14:46.395Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-06-07T04:14:46.706Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-06-07T04:14:47.017Z] + ls /var/log/sa-host [2022-06-07T04:14:47.017Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-07T04:14:47.207Z] provisioning config files... [2022-06-07T04:14:47.217Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1174@tmp/config2812602962650440385tmp [Pipeline] { [Pipeline] echo [2022-06-07T04:14:47.265Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-07T04:14:47.586Z] ---> create-netrc.sh [Pipeline] } [2022-06-07T04:14:47.615Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-06-07T04:14:48.024Z] ---> python-tools-install.sh [Pipeline] echo [2022-06-07T04:14:48.056Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-07T04:14:48.372Z] ---> sudo-logs.sh [2022-06-07T04:14:48.372Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-06-07T04:14:48.458Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-07T04:14:48.772Z] ---> job-cost.sh [2022-06-07T04:14:48.772Z] lf-activate-venv: SKIPPING [2022-06-07T04:14:48.772Z] DEBUG: total: 0.2199999988079071 [2022-06-07T04:14:48.772Z] INFO: Retrieving Stack Cost... [2022-06-07T04:14:49.035Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-07T04:14:49.614Z] INFO: Archiving Costs [Pipeline] echo [2022-06-07T04:14:49.645Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-07T04:14:49.958Z] ---> logs-deploy.sh [2022-06-07T04:14:49.958Z] lf-activate-venv: SKIPPING [2022-06-07T04:14:49.958Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1174/1 [2022-06-07T04:14:49.958Z] INFO: archiving workspace using pattern(s): [2022-06-07T04:14:50.899Z] Archives upload complete. [2022-06-07T04:14:50.899Z] INFO: archiving logs to Nexus