Pull request #1155 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 4a5051b75c5e9b8ef4d1516f24e40ea778bd17e0+cc37b9e2c9629ca07e46878051115594cd22d281 (37e499fd095789982651328e8cbbeca24e04223e) 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-ssh7158063694254300403.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 61d3a14f5ee21304eadc9c25f102bcac80e1a589 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-ssh18012805454497372309.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 61d3a14f5ee21304eadc9c25f102bcac80e1a589 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-1155/workspace@libs/edgex-global-pipelines # 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-1155/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh3988444182529486802.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-1155/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh15180665558001466965.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 61d3a14f5ee21304eadc9c25f102bcac80e1a589 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 61d3a14f5ee21304eadc9c25f102bcac80e1a589 # timeout=10 Commit message: "Merge pull request #384 from ernestojeda/add-go-1_17-lts" > 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 shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh16300698415106261251.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b3dada9287033e4e81bc68320e01fd57bef02650 The recommended git tool is: NONE using credential edgex-jenkins-ssh 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-1155/workspace@libs/lf-pipelines # 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-1155/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh2342212835887555751.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 b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 61d3a14f5ee21304eadc9c25f102bcac80e1a589 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-40295 in /w/workspace/gexfoundry_device-sdk-go_PR-1155 [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-1155 # 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 cc37b9e2c9629ca07e46878051115594cd22d281 into PR head commit 4a5051b75c5e9b8ef4d1516f24e40ea778bd17e0 Merge succeeded, producing 4a5051b75c5e9b8ef4d1516f24e40ea778bd17e0 Checking out Revision 4a5051b75c5e9b8ef4d1516f24e40ea778bd17e0 (PR-1155) > 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/1155/head:refs/remotes/origin/PR-1155 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 4a5051b75c5e9b8ef4d1516f24e40ea778bd17e0 # 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 cc37b9e2c9629ca07e46878051115594cd22d281 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 4a5051b75c5e9b8ef4d1516f24e40ea778bd17e0 # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 61d3a14f5ee21304eadc9c25f102bcac80e1a589 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-05-03T04:13:49.192Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-05-03T04:13:49.356Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-05-03T04:13:49.460Z] ========================================================= [2022-05-03T04:13:49.460Z] EdgeX Global Pipelines Version Info [2022-05-03T04:13:49.460Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-05-03T04:13:50.246Z] ------------------- [2022-05-03T04:13:50.247Z] stable info: [2022-05-03T04:13:50.247Z] ------------------- [2022-05-03T04:13:50.247Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-05-03T04:13:50.247Z] Commit SHA: 61d3a14f5ee21304eadc9c25f102bcac80e1a589 [2022-05-03T04:13:50.247Z] Message: update stable to v1.0.227 [2022-05-03T04:13:50.819Z] ------------------- [2022-05-03T04:13:50.819Z] experimental info: [2022-05-03T04:13:50.819Z] ------------------- [2022-05-03T04:13:50.819Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-05-03T04:13:50.819Z] Commit SHA: 602d0728ebfd21a5b975e02ac0465e47e5fef8c7 [2022-05-03T04:13:50.819Z] Message: update experimental to v1.0.228 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-05-03T04:13:51.085Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2022-05-03T04:13:51.122Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2022-05-03T04:13:51.159Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-05-03T04:13:51.193Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-05-03T04:13:51.231Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-05-03T04:13:51.271Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-05-03T04:13:51.313Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-05-03T04:13:51.349Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2022-05-03T04:13:51.390Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-05-03T04:13:51.430Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-05-03T04:13:51.471Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-05-03T04:13:51.510Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2022-05-03T04:13:51.545Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-05-03T04:13:51.582Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-05-03T04:13:51.624Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-05-03T04:13:51.658Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2022-05-03T04:13:51.694Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-05-03T04:13:51.732Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-05-03T04:13:51.774Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-05-03T04:13:51.811Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-05-03T04:13:51.849Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-05-03T04:13:51.894Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2022-05-03T04:13:51.930Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-05-03T04:13:51.972Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-05-03T04:13:52.006Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-05-03T04:13:52.041Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-05-03T04:13:52.076Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1155 [Pipeline] echo [2022-05-03T04:13:52.114Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1155 [Pipeline] echo [2022-05-03T04:13:52.229Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1155 [Pipeline] echo [2022-05-03T04:13:52.264Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 4a5051b75c5e9b8ef4d1516f24e40ea778bd17e0 [Pipeline] echo [2022-05-03T04:13:52.305Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 4a5051b [Pipeline] echo [2022-05-03T04:13:52.341Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-03T04:13:52.457Z] provisioning config files... [2022-05-03T04:13:52.576Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1155@tmp/config6699900927434226775tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-03T04:13:52.914Z] ---> docker-login.sh [2022-05-03T04:13:52.914Z] nexus3.edgexfoundry.org:10001 [2022-05-03T04:13:53.175Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-03T04:13:53.175Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-03T04:13:53.175Z] Configure a credential helper to remove this warning. See [2022-05-03T04:13:53.175Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-03T04:13:53.175Z] [2022-05-03T04:13:53.175Z] Login Succeeded [2022-05-03T04:13:53.175Z] nexus3.edgexfoundry.org:10002 [2022-05-03T04:13:53.436Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-03T04:13:53.436Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-03T04:13:53.436Z] Configure a credential helper to remove this warning. See [2022-05-03T04:13:53.436Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-03T04:13:53.436Z] [2022-05-03T04:13:53.436Z] Login Succeeded [2022-05-03T04:13:53.436Z] nexus3.edgexfoundry.org:10003 [2022-05-03T04:13:53.436Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-03T04:13:53.436Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-03T04:13:53.436Z] Configure a credential helper to remove this warning. See [2022-05-03T04:13:53.436Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-03T04:13:53.436Z] [2022-05-03T04:13:53.436Z] Login Succeeded [2022-05-03T04:13:53.436Z] nexus3.edgexfoundry.org:10004 [2022-05-03T04:13:53.699Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-03T04:13:53.699Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-03T04:13:53.699Z] Configure a credential helper to remove this warning. See [2022-05-03T04:13:53.699Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-03T04:13:53.699Z] [2022-05-03T04:13:53.699Z] Login Succeeded [2022-05-03T04:13:53.699Z] docker.io [2022-05-03T04:13:53.699Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-03T04:13:54.273Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-03T04:13:54.273Z] Configure a credential helper to remove this warning. See [2022-05-03T04:13:54.273Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-03T04:13:54.273Z] [2022-05-03T04:13:54.273Z] Login Succeeded [2022-05-03T04:13:54.273Z] ---> docker-login.sh ends [Pipeline] } [2022-05-03T04:13:54.301Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-05-03T04:13:54.952Z] + git rev-list -1 --merges 4a5051b75c5e9b8ef4d1516f24e40ea778bd17e0~1..4a5051b75c5e9b8ef4d1516f24e40ea778bd17e0 [Pipeline] echo [2022-05-03T04:13:54.999Z] -----------> git rev-list -1 --merges 4a5051b75c5e9b8ef4d1516f24e40ea778bd17e0~1..4a5051b75c5e9b8ef4d1516f24e40ea778bd17e0 4a5051b75c5e9b8ef4d1516f24e40ea778bd17e0 [false] [Pipeline] sh [2022-05-03T04:13:55.315Z] + git log --format=format:%s -1 4a5051b75c5e9b8ef4d1516f24e40ea778bd17e0 [Pipeline] echo [2022-05-03T04:13:55.351Z] ========================================================= [2022-05-03T04:13:55.351Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-05-03T04:13:55.351Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-05-03T04:13:55.781Z] + git log --format=format:%s -1 4a5051b75c5e9b8ef4d1516f24e40ea778bd17e0 [Pipeline] echo [2022-05-03T04:13:55.813Z] [semverPrep] GIT_COMMIT: 4a5051b75c5e9b8ef4d1516f24e40ea778bd17e0, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2 [Pipeline] echo [2022-05-03T04:13:55.845Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-05-03T04:13:56.462Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-05-03T04:13:56.463Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-05-03T04:13:56.463Z] + [ -e /tmp/ssh_known_hosts ] [2022-05-03T04:13:56.463Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-05-03T04:13:56.463Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-05-03T04:13:56.463Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-05-03T04:13:56.463Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-05-03T04:13:56.923Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-03T04:13:56.923Z] [2022-05-03T04:13:56.923Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-05-03T04:13:57.269Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-03T04:13:57.269Z] latest: Pulling from edgex-devops/py-git-semver [2022-05-03T04:13:57.269Z] 1fe172e4850f: Pulling fs layer [2022-05-03T04:13:57.269Z] caf521ccaac6: Pulling fs layer [2022-05-03T04:13:57.269Z] 3ead6fa29328: Pulling fs layer [2022-05-03T04:13:57.269Z] 5c2a1cbceb83: Pulling fs layer [2022-05-03T04:13:57.269Z] a8d5f1318db7: Pulling fs layer [2022-05-03T04:13:57.269Z] c427282e49a2: Pulling fs layer [2022-05-03T04:13:57.269Z] 1827001aaf11: Pulling fs layer [2022-05-03T04:13:57.269Z] 0714d37db230: Pulling fs layer [2022-05-03T04:13:57.269Z] ac28cf19c067: Pulling fs layer [2022-05-03T04:13:57.269Z] ca983d60f3e2: Pulling fs layer [2022-05-03T04:13:57.269Z] 9f894cec8388: Pulling fs layer [2022-05-03T04:13:57.269Z] ac28cf19c067: Waiting [2022-05-03T04:13:57.269Z] c427282e49a2: Waiting [2022-05-03T04:13:57.269Z] ca983d60f3e2: Waiting [2022-05-03T04:13:57.269Z] 5c2a1cbceb83: Waiting [2022-05-03T04:13:57.269Z] 9f894cec8388: Waiting [2022-05-03T04:13:57.269Z] a8d5f1318db7: Waiting [2022-05-03T04:13:57.269Z] 1827001aaf11: Waiting [2022-05-03T04:13:57.269Z] 0714d37db230: Waiting [2022-05-03T04:13:57.269Z] caf521ccaac6: Download complete [2022-05-03T04:13:57.269Z] 5c2a1cbceb83: Verifying Checksum [2022-05-03T04:13:57.269Z] 5c2a1cbceb83: Download complete [2022-05-03T04:13:57.269Z] a8d5f1318db7: Verifying Checksum [2022-05-03T04:13:57.269Z] a8d5f1318db7: Download complete [2022-05-03T04:13:57.269Z] c427282e49a2: Download complete [2022-05-03T04:13:57.529Z] 3ead6fa29328: Verifying Checksum [2022-05-03T04:13:57.529Z] 3ead6fa29328: Download complete [2022-05-03T04:13:57.529Z] 0714d37db230: Download complete [2022-05-03T04:13:57.529Z] ac28cf19c067: Download complete [2022-05-03T04:13:57.529Z] ca983d60f3e2: Verifying Checksum [2022-05-03T04:13:57.529Z] ca983d60f3e2: Download complete [2022-05-03T04:13:57.529Z] 9f894cec8388: Verifying Checksum [2022-05-03T04:13:57.529Z] 9f894cec8388: Download complete [2022-05-03T04:13:57.529Z] 1fe172e4850f: Verifying Checksum [2022-05-03T04:13:57.529Z] 1fe172e4850f: Download complete [2022-05-03T04:13:57.791Z] 1827001aaf11: Verifying Checksum [2022-05-03T04:13:57.791Z] 1827001aaf11: Download complete [2022-05-03T04:13:59.173Z] 1fe172e4850f: Pull complete [2022-05-03T04:13:59.173Z] caf521ccaac6: Pull complete [2022-05-03T04:13:59.433Z] 3ead6fa29328: Pull complete [2022-05-03T04:13:59.694Z] 5c2a1cbceb83: Pull complete [2022-05-03T04:13:59.954Z] a8d5f1318db7: Pull complete [2022-05-03T04:13:59.954Z] c427282e49a2: Pull complete [2022-05-03T04:14:01.871Z] 1827001aaf11: Pull complete [2022-05-03T04:14:01.871Z] 0714d37db230: Pull complete [2022-05-03T04:14:01.871Z] ac28cf19c067: Pull complete [2022-05-03T04:14:01.871Z] ca983d60f3e2: Pull complete [2022-05-03T04:14:01.871Z] 9f894cec8388: Pull complete [2022-05-03T04:14:02.131Z] Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee [2022-05-03T04:14:02.131Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-03T04:14:02.131Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] withDockerContainer [2022-05-03T04:14:02.228Z] prd-ubuntu20.04-docker-8c-8g-40295 does not seem to be running inside a container [2022-05-03T04:14:02.272Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1155 -v /w/workspace/gexfoundry_device-sdk-go_PR-1155:/w/workspace/gexfoundry_device-sdk-go_PR-1155:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1155@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1155@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat [2022-05-03T04:14:03.602Z] $ docker top b1abbd03475259289ddb2a985a77db61c9ec54d9ab12b218b9eb767c3c6fe877 -eo pid,comm [2022-05-03T04:14:03.669Z] 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-05-03T04:14:03.669Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-05-03T04:14:03.801Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-03T04:14:03.801Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-03T04:14:03.921Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-03T04:14:03.929Z] $ docker exec b1abbd03475259289ddb2a985a77db61c9ec54d9ab12b218b9eb767c3c6fe877 ssh-agent [2022-05-03T04:14:04.029Z] SSH_AUTH_SOCK=/tmp/ssh-0yEoajbg2LIp/agent.32 [2022-05-03T04:14:04.029Z] SSH_AGENT_PID=38 [2022-05-03T04:14:04.036Z] Running ssh-add (command line suppressed) [2022-05-03T04:14:04.148Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1155@tmp/private_key_4753462116667056931.key (/w/workspace/gexfoundry_device-sdk-go_PR-1155@tmp/private_key_4753462116667056931.key) [2022-05-03T04:14:04.157Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-03T04:14:04.480Z] + git tag --points-at HEAD [Pipeline] } [2022-05-03T04:14:04.510Z] $ docker exec --env ******** --env ******** b1abbd03475259289ddb2a985a77db61c9ec54d9ab12b218b9eb767c3c6fe877 ssh-agent -k [2022-05-03T04:14:04.610Z] unset SSH_AUTH_SOCK; [2022-05-03T04:14:04.611Z] unset SSH_AGENT_PID; [2022-05-03T04:14:04.611Z] echo Agent pid 38 killed; [2022-05-03T04:14:04.616Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-05-03T04:14:04.706Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-03T04:14:04.706Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-03T04:14:04.835Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-03T04:14:04.843Z] $ docker exec b1abbd03475259289ddb2a985a77db61c9ec54d9ab12b218b9eb767c3c6fe877 ssh-agent [2022-05-03T04:14:04.970Z] SSH_AUTH_SOCK=/tmp/ssh-2iT6wWDhPBBZ/agent.71 [2022-05-03T04:14:04.970Z] SSH_AGENT_PID=78 [2022-05-03T04:14:04.974Z] Running ssh-add (command line suppressed) [2022-05-03T04:14:05.099Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1155@tmp/private_key_4954942010950109935.key (/w/workspace/gexfoundry_device-sdk-go_PR-1155@tmp/private_key_4954942010950109935.key) [2022-05-03T04:14:05.111Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-03T04:14:05.436Z] + git semver init [2022-05-03T04:14:05.699Z] 2022-05-03 04:14:05,617 [run_init] DEBUG init version:0.0.0 force:False [2022-05-03T04:14:05.700Z] 2022-05-03 04:14:05,618 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1155/.semver [2022-05-03T04:14:05.700Z] 2022-05-03 04:14:05,618 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1155/.semver [2022-05-03T04:14:05.700Z] 2022-05-03 04:14:05,618 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1155/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1155, universal_newlines=False, shell=None, istream=None) [2022-05-03T04:14:06.646Z] 2022-05-03 04:14:06,486 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1155/.git/info/exclude [2022-05-03T04:14:06.646Z] 2022-05-03 04:14:06,486 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1155/.semver/PR-1155 with force:False [2022-05-03T04:14:06.646Z] 2022-05-03 04:14:06,487 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1155/.semver/PR-1155 [2022-05-03T04:14:06.646Z] 2022-05-03 04:14:06,491 [execute] INFO git cat-file --batch-check [2022-05-03T04:14:06.646Z] 2022-05-03 04:14:06,491 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1155/.semver, universal_newlines=False, shell=None, istream=) [2022-05-03T04:14:06.646Z] 2022-05-03 04:14:06,496 [execute] INFO git cat-file --batch [2022-05-03T04:14:06.646Z] 2022-05-03 04:14:06,496 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1155/.semver, universal_newlines=False, shell=None, istream=) [2022-05-03T04:14:06.646Z] 2022-05-03 04:14:06,501 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1155/.semver/PR-1155 [2022-05-03T04:14:06.646Z] 0.0.0 [Pipeline] } [2022-05-03T04:14:06.674Z] $ docker exec --env ******** --env ******** b1abbd03475259289ddb2a985a77db61c9ec54d9ab12b218b9eb767c3c6fe877 ssh-agent -k [2022-05-03T04:14:06.789Z] unset SSH_AUTH_SOCK; [2022-05-03T04:14:06.790Z] unset SSH_AGENT_PID; [2022-05-03T04:14:06.790Z] echo Agent pid 78 killed; [2022-05-03T04:14:06.794Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-05-03T04:14:07.214Z] + git semver [Pipeline] } [2022-05-03T04:14:07.506Z] $ docker stop --time=1 b1abbd03475259289ddb2a985a77db61c9ec54d9ab12b218b9eb767c3c6fe877 [2022-05-03T04:14:08.814Z] $ docker rm -f b1abbd03475259289ddb2a985a77db61c9ec54d9ab12b218b9eb767c3c6fe877 [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-03T04:14:09.223Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-05-03T04:14:09.541Z] Stashed 1 file(s) [Pipeline] echo [2022-05-03T04:14:09.558Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-03T04:14:10.100Z] provisioning config files... [2022-05-03T04:14:10.113Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1155@tmp/config7875634446969435643tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-03T04:14:10.467Z] ---> docker-login.sh [2022-05-03T04:14:10.467Z] nexus3.edgexfoundry.org:10001 [2022-05-03T04:14:10.467Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-03T04:14:10.467Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-03T04:14:10.467Z] Configure a credential helper to remove this warning. See [2022-05-03T04:14:10.467Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-03T04:14:10.467Z] [2022-05-03T04:14:10.467Z] Login Succeeded [2022-05-03T04:14:10.467Z] nexus3.edgexfoundry.org:10002 [2022-05-03T04:14:10.467Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-03T04:14:10.727Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-03T04:14:10.727Z] Configure a credential helper to remove this warning. See [2022-05-03T04:14:10.727Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-03T04:14:10.727Z] [2022-05-03T04:14:10.727Z] Login Succeeded [2022-05-03T04:14:10.727Z] nexus3.edgexfoundry.org:10003 [2022-05-03T04:14:10.727Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-03T04:14:10.727Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-03T04:14:10.727Z] Configure a credential helper to remove this warning. See [2022-05-03T04:14:10.727Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-03T04:14:10.727Z] [2022-05-03T04:14:10.727Z] Login Succeeded [2022-05-03T04:14:10.727Z] nexus3.edgexfoundry.org:10004 [2022-05-03T04:14:10.727Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-03T04:14:10.989Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-03T04:14:10.989Z] Configure a credential helper to remove this warning. See [2022-05-03T04:14:10.989Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-03T04:14:10.989Z] [2022-05-03T04:14:10.989Z] Login Succeeded [2022-05-03T04:14:10.989Z] docker.io [2022-05-03T04:14:10.989Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-03T04:14:11.252Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-03T04:14:11.252Z] Configure a credential helper to remove this warning. See [2022-05-03T04:14:11.252Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-03T04:14:11.252Z] [2022-05-03T04:14:11.252Z] Login Succeeded [2022-05-03T04:14:11.252Z] ---> docker-login.sh ends [Pipeline] } [2022-05-03T04:14:11.280Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-05-03T04:14:11.474Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-05-03T04:14:11.505Z] ========================================================= [2022-05-03T04:14:11.505Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-05-03T04:14:11.505Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-05-03T04:14:11.910Z] + 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-05-03T04:14:11.910Z] Sending build context to Docker daemon 9.705MB [2022-05-03T04:14:11.910Z] Step 1/11 : ARG BASE=golang:1.17-alpine3.15 [2022-05-03T04:14:11.910Z] Step 2/11 : FROM ${BASE} AS builder [2022-05-03T04:14:11.910Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-05-03T04:14:11.910Z] 59bf1c3509f3: Pulling fs layer [2022-05-03T04:14:11.910Z] 666ba61612fd: Pulling fs layer [2022-05-03T04:14:11.910Z] 8ed8ca486205: Pulling fs layer [2022-05-03T04:14:11.910Z] 4fe6c5a15a65: Pulling fs layer [2022-05-03T04:14:11.910Z] 22a0e8bec74d: Pulling fs layer [2022-05-03T04:14:11.910Z] ca2b28591e48: Pulling fs layer [2022-05-03T04:14:11.910Z] a51346096db8: Pulling fs layer [2022-05-03T04:14:11.910Z] daebc70d1ce1: Pulling fs layer [2022-05-03T04:14:11.910Z] 0e18a0eac166: Pulling fs layer [2022-05-03T04:14:11.910Z] 4fe6c5a15a65: Waiting [2022-05-03T04:14:11.910Z] 22a0e8bec74d: Waiting [2022-05-03T04:14:11.910Z] ca2b28591e48: Waiting [2022-05-03T04:14:11.910Z] a51346096db8: Waiting [2022-05-03T04:14:11.910Z] 0e18a0eac166: Waiting [2022-05-03T04:14:11.910Z] daebc70d1ce1: Waiting [2022-05-03T04:14:11.910Z] 8ed8ca486205: Verifying Checksum [2022-05-03T04:14:11.910Z] 8ed8ca486205: Download complete [2022-05-03T04:14:12.174Z] 666ba61612fd: Verifying Checksum [2022-05-03T04:14:12.174Z] 666ba61612fd: Download complete [2022-05-03T04:14:12.174Z] 22a0e8bec74d: Verifying Checksum [2022-05-03T04:14:12.174Z] 22a0e8bec74d: Download complete [2022-05-03T04:14:12.174Z] ca2b28591e48: Download complete [2022-05-03T04:14:12.174Z] 59bf1c3509f3: Verifying Checksum [2022-05-03T04:14:12.174Z] a51346096db8: Verifying Checksum [2022-05-03T04:14:12.174Z] a51346096db8: Download complete [2022-05-03T04:14:12.174Z] daebc70d1ce1: Verifying Checksum [2022-05-03T04:14:12.174Z] daebc70d1ce1: Download complete [2022-05-03T04:14:12.174Z] 59bf1c3509f3: Pull complete [2022-05-03T04:14:12.436Z] 666ba61612fd: Pull complete [2022-05-03T04:14:12.436Z] 8ed8ca486205: Pull complete [2022-05-03T04:14:12.697Z] 0e18a0eac166: Verifying Checksum [2022-05-03T04:14:12.697Z] 0e18a0eac166: Download complete [2022-05-03T04:14:12.697Z] 4fe6c5a15a65: Download complete [2022-05-03T04:14:16.897Z] 4fe6c5a15a65: Pull complete [2022-05-03T04:14:16.898Z] 22a0e8bec74d: Pull complete [2022-05-03T04:14:16.898Z] ca2b28591e48: Pull complete [2022-05-03T04:14:16.898Z] a51346096db8: Pull complete [2022-05-03T04:14:16.898Z] daebc70d1ce1: Pull complete [2022-05-03T04:14:18.812Z] 0e18a0eac166: Pull complete [2022-05-03T04:14:18.812Z] Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 [2022-05-03T04:14:18.812Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-05-03T04:14:18.812Z] ---> f018257e8ee9 [2022-05-03T04:14:18.812Z] Step 3/11 : ARG MAKE=make build [2022-05-03T04:14:20.196Z] ---> Running in 17fd986e5953 [2022-05-03T04:14:20.196Z] Removing intermediate container 17fd986e5953 [2022-05-03T04:14:20.196Z] ---> f12e73e56811 [2022-05-03T04:14:20.196Z] Step 4/11 : WORKDIR /device-sdk-go [2022-05-03T04:14:20.196Z] ---> Running in e6f37db32021 [2022-05-03T04:14:20.196Z] Removing intermediate container e6f37db32021 [2022-05-03T04:14:20.196Z] ---> d60d7d5c3711 [2022-05-03T04:14:20.196Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-05-03T04:14:20.196Z] ---> Running in 6fa2abe19683 [2022-05-03T04:14:20.457Z] Removing intermediate container 6fa2abe19683 [2022-05-03T04:14:20.457Z] ---> 637f719965df [2022-05-03T04:14:20.457Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-03T04:14:20.457Z] ---> Running in b59ef19fad4e [2022-05-03T04:14:21.032Z] Removing intermediate container b59ef19fad4e [2022-05-03T04:14:21.032Z] ---> 456e3b37fbc8 [2022-05-03T04:14:21.032Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-05-03T04:14:21.032Z] ---> Running in 31605ac77591 [2022-05-03T04:14:21.292Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-05-03T04:14:22.284Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-05-03T04:14:22.284Z] OK: 221 MiB in 52 packages [2022-05-03T04:14:22.853Z] Removing intermediate container 31605ac77591 [2022-05-03T04:14:22.853Z] ---> ef100ae8d24a [2022-05-03T04:14:22.853Z] Step 8/11 : COPY go.mod vendor* ./ [2022-05-03T04:14:22.853Z] ---> 197d28f1db83 [2022-05-03T04:14:22.853Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-03T04:14:22.853Z] ---> Running in 1f960151093a [2022-05-03T04:14:24.940Z] Still waiting to schedule task [2022-05-03T04:14:24.940Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-05-03T04:14:37.751Z] Removing intermediate container 1f960151093a [2022-05-03T04:14:37.751Z] ---> dcf2cf30c871 [2022-05-03T04:14:37.751Z] Step 10/11 : COPY . . [2022-05-03T04:14:37.751Z] ---> 6217d7020a8b [2022-05-03T04:14:37.751Z] Step 11/11 : RUN ${MAKE} [2022-05-03T04:14:37.751Z] ---> Running in b2119a80244a [2022-05-03T04:14:37.751Z] noop [2022-05-03T04:14:37.751Z] Removing intermediate container b2119a80244a [2022-05-03T04:14:37.751Z] ---> e2cf6408f324 [2022-05-03T04:14:37.751Z] Successfully built e2cf6408f324 [2022-05-03T04:14:37.751Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-05-03T04:14:38.076Z] + docker inspect -f . ci-base-image-x86_64 [2022-05-03T04:14:38.076Z] . [Pipeline] withDockerContainer [2022-05-03T04:14:38.162Z] prd-ubuntu20.04-docker-8c-8g-40295 does not seem to be running inside a container [2022-05-03T04:14:38.200Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1155 -v /w/workspace/gexfoundry_device-sdk-go_PR-1155:/w/workspace/gexfoundry_device-sdk-go_PR-1155:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1155@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1155@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 ******** ci-base-image-x86_64 cat [2022-05-03T04:14:38.571Z] $ docker top 7cb72ef019c4bab780a215a7721981ab1743af095260ab9cd469bcc3aba0a02e -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-03T04:14:38.988Z] + go version [2022-05-03T04:14:38.988Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-05-03T04:14:39.026Z] $ docker stop --time=1 7cb72ef019c4bab780a215a7721981ab1743af095260ab9cd469bcc3aba0a02e [2022-05-03T04:14:40.336Z] $ docker rm -f 7cb72ef019c4bab780a215a7721981ab1743af095260ab9cd469bcc3aba0a02e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-03T04:14:40.993Z] + docker inspect -f . ci-base-image-x86_64 [2022-05-03T04:14:40.993Z] . [Pipeline] withDockerContainer [2022-05-03T04:14:41.083Z] prd-ubuntu20.04-docker-8c-8g-40295 does not seem to be running inside a container [2022-05-03T04:14:41.120Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1155 -v /w/workspace/gexfoundry_device-sdk-go_PR-1155:/w/workspace/gexfoundry_device-sdk-go_PR-1155:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1155@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1155@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 ******** ci-base-image-x86_64 cat [2022-05-03T04:14:41.528Z] $ docker top 33805e728b88372aeea35f71435299de0fd9116b3a87ffaca4747cc435604cd3 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-05-03T04:14:41.984Z] + make test [2022-05-03T04:14:41.984Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-05-03T04:14:48.564Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-05-03T04:15:00.767Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-05-03T04:15:00.767Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-05-03T04:15:00.767Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-05-03T04:15:00.767Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.090s coverage: 23.3% of statements [2022-05-03T04:15:00.767Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-05-03T04:15:00.767Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.059s coverage: 27.6% of statements [2022-05-03T04:15:00.767Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.115s coverage: 78.9% of statements [2022-05-03T04:15:00.767Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.042s coverage: 10.8% of statements [2022-05-03T04:15:00.767Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.089s coverage: 60.0% of statements [2022-05-03T04:15:00.767Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-05-03T04:15:00.767Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-05-03T04:15:00.767Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.093s coverage: 34.8% of statements [2022-05-03T04:15:00.767Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-05-03T04:15:01.713Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.080s coverage: 86.1% of statements [2022-05-03T04:15:01.713Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-05-03T04:15:01.713Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-05-03T04:15:01.713Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.125s coverage: 65.1% of statements [2022-05-03T04:15:01.713Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.811s coverage: 89.2% of statements [2022-05-03T04:15:01.713Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-05-03T04:15:01.713Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.060s coverage: 4.7% of statements [2022-05-03T04:15:01.713Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-05-03T04:15:16.605Z] GO111MODULE=on go vet ./... [2022-05-03T04:15:19.139Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-05-03T04:15:19.139Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-05-03T04:15:19.139Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-05-03T04:15:19.737Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-05-03T04:15:19.769Z] $ docker stop --time=1 33805e728b88372aeea35f71435299de0fd9116b3a87ffaca4747cc435604cd3 [2022-05-03T04:15:21.859Z] $ docker rm -f 33805e728b88372aeea35f71435299de0fd9116b3a87ffaca4747cc435604cd3 [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-03T04:15:22.415Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-05-03T04:15:22.501Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-05-03T04:15:23.585Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-05-03T04:15:23.895Z] + ls -al . [2022-05-03T04:15:23.895Z] total 296 [2022-05-03T04:15:23.895Z] drwxrwxr-x 11 jenkins jenkins 4096 May 3 04:15 . [2022-05-03T04:15:23.895Z] drwxrwxr-x 4 jenkins jenkins 4096 May 3 04:13 .. [2022-05-03T04:15:23.895Z] -rw-rw-r-- 1 jenkins jenkins 140 May 3 04:13 .dockerignore [2022-05-03T04:15:23.895Z] drwxrwxr-x 8 jenkins jenkins 4096 May 3 04:14 .git [2022-05-03T04:15:23.895Z] drwxrwxr-x 2 jenkins jenkins 4096 May 3 04:13 .github [2022-05-03T04:15:23.895Z] -rw-rw-r-- 1 jenkins jenkins 131 May 3 04:13 .gitignore [2022-05-03T04:15:23.895Z] -rw-rw-r-- 1 jenkins jenkins 42 May 3 04:13 .golangci.yml [2022-05-03T04:15:23.895Z] drwxr-xr-x 3 jenkins jenkins 4096 May 3 04:14 .semver [2022-05-03T04:15:23.895Z] -rw-rw-r-- 1 jenkins jenkins 26321 May 3 04:13 CHANGELOG.md [2022-05-03T04:15:23.895Z] -rw-rw-r-- 1 jenkins jenkins 677 May 3 04:13 GOVERNANCE.md [2022-05-03T04:15:23.895Z] -rw-rw-r-- 1 jenkins jenkins 880 May 3 04:13 Jenkinsfile [2022-05-03T04:15:23.895Z] -rw-rw-r-- 1 jenkins jenkins 11341 May 3 04:13 LICENSE [2022-05-03T04:15:23.895Z] -rw-rw-r-- 1 jenkins jenkins 2015 May 3 04:13 Makefile [2022-05-03T04:15:23.895Z] -rw-rw-r-- 1 jenkins jenkins 619 May 3 04:13 OWNERS.md [2022-05-03T04:15:23.895Z] -rw-rw-r-- 1 jenkins jenkins 4881 May 3 04:13 README.md [2022-05-03T04:15:23.895Z] -rw-rw-r-- 1 jenkins jenkins 5 May 3 04:14 VERSION [2022-05-03T04:15:23.895Z] drwxrwxr-x 2 jenkins jenkins 4096 May 3 04:13 bin [2022-05-03T04:15:23.895Z] -rw-r--r-- 1 jenkins jenkins 130819 May 3 04:15 coverage.out [2022-05-03T04:15:23.895Z] drwxrwxr-x 5 jenkins jenkins 4096 May 3 04:13 example [2022-05-03T04:15:23.895Z] -rw-rw-r-- 1 jenkins jenkins 3198 May 3 04:13 go.mod [2022-05-03T04:15:23.895Z] -rw-rw-r-- 1 jenkins jenkins 35003 May 3 04:13 go.sum [2022-05-03T04:15:23.895Z] drwxrwxr-x 15 jenkins jenkins 4096 May 3 04:13 internal [2022-05-03T04:15:23.895Z] drwxrwxr-x 3 jenkins jenkins 4096 May 3 04:13 openapi [2022-05-03T04:15:23.895Z] drwxrwxr-x 5 jenkins jenkins 4096 May 3 04:13 pkg [2022-05-03T04:15:23.895Z] drwxrwxr-x 4 jenkins jenkins 4096 May 3 04:13 snap [2022-05-03T04:15:23.895Z] -rw-rw-r-- 1 jenkins jenkins 222 May 3 04:13 version.go [Pipeline] isUnix [Pipeline] sh [2022-05-03T04:15:24.217Z] + 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=4a5051b75c5e9b8ef4d1516f24e40ea778bd17e0 --label arch=amd64 --label version=0.0.0 . [2022-05-03T04:15:24.217Z] Sending build context to Docker daemon 9.837MB [2022-05-03T04:15:24.217Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-05-03T04:15:24.217Z] Step 2/25 : FROM ${BASE} AS builder [2022-05-03T04:15:24.217Z] ---> e2cf6408f324 [2022-05-03T04:15:24.217Z] Step 3/25 : ARG MAKE=make build [2022-05-03T04:15:24.217Z] ---> Running in 1e124e4d2456 [2022-05-03T04:15:24.478Z] Removing intermediate container 1e124e4d2456 [2022-05-03T04:15:24.478Z] ---> 342707bc953b [2022-05-03T04:15:24.478Z] Step 4/25 : WORKDIR /device-sdk-go [2022-05-03T04:15:24.478Z] ---> Running in ecd4ef48f950 [2022-05-03T04:15:24.478Z] Removing intermediate container ecd4ef48f950 [2022-05-03T04:15:24.478Z] ---> 10d345910032 [2022-05-03T04:15:24.478Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-05-03T04:15:24.478Z] ---> Running in 96a14aa01a51 [2022-05-03T04:15:24.737Z] Removing intermediate container 96a14aa01a51 [2022-05-03T04:15:24.737Z] ---> 164b45339e14 [2022-05-03T04:15:24.737Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-03T04:15:24.737Z] ---> Running in f22cce2795c8 [2022-05-03T04:15:25.320Z] Removing intermediate container f22cce2795c8 [2022-05-03T04:15:25.320Z] ---> a2d5badc6dbd [2022-05-03T04:15:25.320Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-05-03T04:15:25.320Z] ---> Running in 998530069a91 [2022-05-03T04:15:25.585Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-05-03T04:15:26.157Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-05-03T04:15:26.728Z] OK: 221 MiB in 52 packages [2022-05-03T04:15:26.987Z] Removing intermediate container 998530069a91 [2022-05-03T04:15:26.987Z] ---> e91e17bf6820 [2022-05-03T04:15:26.987Z] Step 8/25 : COPY go.mod vendor* ./ [2022-05-03T04:15:26.987Z] ---> aae6565d787a [2022-05-03T04:15:26.987Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-03T04:15:26.987Z] ---> Running in 02082c29fac6 [2022-05-03T04:15:27.555Z] Removing intermediate container 02082c29fac6 [2022-05-03T04:15:27.555Z] ---> 75041186a546 [2022-05-03T04:15:27.555Z] Step 10/25 : COPY . . [2022-05-03T04:15:28.123Z] ---> 86469e1607fd [2022-05-03T04:15:28.123Z] Step 11/25 : RUN ${MAKE} [2022-05-03T04:15:28.123Z] ---> Running in 65dcd550205b [2022-05-03T04:15:28.380Z] 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-05-03T04:15:46.473Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-05-03T04:15:46.733Z] Removing intermediate container 65dcd550205b [2022-05-03T04:15:46.733Z] ---> 42e8f6135f16 [2022-05-03T04:15:46.733Z] Step 12/25 : FROM alpine:3.14 [2022-05-03T04:15:47.301Z] 3.14: Pulling from library/alpine [2022-05-03T04:15:47.562Z] 8663204ce13b: Pulling fs layer [2022-05-03T04:15:47.562Z] 8663204ce13b: Verifying Checksum [2022-05-03T04:15:47.562Z] 8663204ce13b: Download complete [2022-05-03T04:15:47.821Z] 8663204ce13b: Pull complete [2022-05-03T04:15:47.821Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-05-03T04:15:47.821Z] Status: Downloaded newer image for alpine:3.14 [2022-05-03T04:15:47.821Z] ---> e04c818066af [2022-05-03T04:15:47.821Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-05-03T04:15:48.083Z] ---> Running in fe05e4bafe4c [2022-05-03T04:15:48.083Z] Removing intermediate container fe05e4bafe4c [2022-05-03T04:15:48.083Z] ---> ccb380d8021b [2022-05-03T04:15:48.083Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-03T04:15:48.083Z] ---> Running in 5489ce59969e [2022-05-03T04:15:48.654Z] Removing intermediate container 5489ce59969e [2022-05-03T04:15:48.654Z] ---> aa58f1e14076 [2022-05-03T04:15:48.654Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-05-03T04:15:48.654Z] ---> Running in b2431daf4464 [2022-05-03T04:15:48.915Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-05-03T04:15:49.859Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-05-03T04:15:50.120Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2022-05-03T04:15:50.121Z] (2/5) Installing libsodium (1.0.18-r0) [2022-05-03T04:15:50.382Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2022-05-03T04:15:50.382Z] (4/5) Installing libzmq (4.3.4-r0) [2022-05-03T04:15:50.646Z] (5/5) Installing zeromq (4.3.4-r0) [2022-05-03T04:15:50.647Z] Executing busybox-1.33.1-r7.trigger [2022-05-03T04:15:50.647Z] OK: 8 MiB in 19 packages [2022-05-03T04:15:50.908Z] Removing intermediate container b2431daf4464 [2022-05-03T04:15:50.908Z] ---> 9e14d8509c39 [2022-05-03T04:15:50.908Z] Step 16/25 : WORKDIR / [2022-05-03T04:15:51.168Z] ---> Running in 885265a8d485 [2022-05-03T04:15:51.168Z] Removing intermediate container 885265a8d485 [2022-05-03T04:15:51.168Z] ---> aa8c12ae2bbd [2022-05-03T04:15:51.168Z] Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-05-03T04:15:51.428Z] ---> 4b6c2c4c6bc4 [2022-05-03T04:15:51.428Z] Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-05-03T04:15:51.999Z] ---> 93128def8337 [2022-05-03T04:15:51.999Z] Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-05-03T04:15:51.999Z] ---> 950550ac115d [2022-05-03T04:15:51.999Z] Step 20/25 : EXPOSE 59999 [2022-05-03T04:15:52.260Z] ---> Running in 5f79d2fc6ec5 [2022-05-03T04:15:52.260Z] Removing intermediate container 5f79d2fc6ec5 [2022-05-03T04:15:52.260Z] ---> 6040f28ed036 [2022-05-03T04:15:52.260Z] Step 21/25 : ENTRYPOINT ["/device-simple"] [2022-05-03T04:15:52.260Z] ---> Running in c4821bcf282a [2022-05-03T04:15:52.260Z] Removing intermediate container c4821bcf282a [2022-05-03T04:15:52.260Z] ---> 331717f73ba5 [2022-05-03T04:15:52.260Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-05-03T04:15:52.260Z] ---> Running in 071e3c28c38a [2022-05-03T04:15:52.520Z] Removing intermediate container 071e3c28c38a [2022-05-03T04:15:52.520Z] ---> ec7cb9787908 [2022-05-03T04:15:52.520Z] Step 23/25 : LABEL arch=amd64 [2022-05-03T04:15:52.520Z] ---> Running in 9852d3dce5f6 [2022-05-03T04:15:52.520Z] Removing intermediate container 9852d3dce5f6 [2022-05-03T04:15:52.520Z] ---> 29e5dc3f76ec [2022-05-03T04:15:52.520Z] Step 24/25 : LABEL git_sha=4a5051b75c5e9b8ef4d1516f24e40ea778bd17e0 [2022-05-03T04:15:52.520Z] ---> Running in 781da3e94e32 [2022-05-03T04:15:52.779Z] Removing intermediate container 781da3e94e32 [2022-05-03T04:15:52.779Z] ---> 28b9d5021668 [2022-05-03T04:15:52.779Z] Step 25/25 : LABEL version=0.0.0 [2022-05-03T04:15:52.779Z] ---> Running in 041ae6c102c6 [2022-05-03T04:15:52.779Z] Removing intermediate container 041ae6c102c6 [2022-05-03T04:15:52.779Z] ---> 3847cee2a6b1 [2022-05-03T04:15:52.779Z] [Warning] One or more build-args [ARCH] were not consumed [2022-05-03T04:15:52.779Z] Successfully built 3847cee2a6b1 [2022-05-03T04:15:52.779Z] Successfully tagged device-sdk-simple:latest [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] sh [2022-05-03T04:15:53.513Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-03T04:15:53.513Z] [2022-05-03T04:15:53.513Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-05-03T04:15:53.849Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-03T04:15:53.850Z] latest: Pulling from edgex-lftools-log-publisher [2022-05-03T04:15:53.850Z] 5eb5b503b376: Pulling fs layer [2022-05-03T04:15:53.850Z] 5c69ac0246d0: Pulling fs layer [2022-05-03T04:15:53.850Z] ec43610c2a17: Pulling fs layer [2022-05-03T04:15:53.850Z] 3a2ae6a8a46f: Pulling fs layer [2022-05-03T04:15:53.850Z] 33b1e0a273af: Pulling fs layer [2022-05-03T04:15:53.850Z] 5d3b04190fa2: Pulling fs layer [2022-05-03T04:15:53.850Z] 2f39f015ded8: Pulling fs layer [2022-05-03T04:15:53.850Z] 3a2ae6a8a46f: Waiting [2022-05-03T04:15:53.850Z] 5d3b04190fa2: Waiting [2022-05-03T04:15:53.850Z] 2f39f015ded8: Waiting [2022-05-03T04:15:53.850Z] 33b1e0a273af: Waiting [2022-05-03T04:15:53.850Z] 5c69ac0246d0: Download complete [2022-05-03T04:15:53.850Z] 3a2ae6a8a46f: Verifying Checksum [2022-05-03T04:15:53.850Z] 3a2ae6a8a46f: Download complete [2022-05-03T04:15:53.850Z] 33b1e0a273af: Verifying Checksum [2022-05-03T04:15:53.850Z] 33b1e0a273af: Download complete [2022-05-03T04:15:53.850Z] ec43610c2a17: Verifying Checksum [2022-05-03T04:15:53.850Z] ec43610c2a17: Download complete [2022-05-03T04:15:53.850Z] 5d3b04190fa2: Download complete [2022-05-03T04:15:54.109Z] 5eb5b503b376: Verifying Checksum [2022-05-03T04:15:54.109Z] 5eb5b503b376: Download complete [2022-05-03T04:15:54.676Z] 2f39f015ded8: Download complete [2022-05-03T04:15:55.244Z] 5eb5b503b376: Pull complete [2022-05-03T04:15:55.244Z] 5c69ac0246d0: Pull complete [2022-05-03T04:15:55.811Z] ec43610c2a17: Pull complete [2022-05-03T04:15:55.811Z] 3a2ae6a8a46f: Pull complete [2022-05-03T04:15:56.072Z] 33b1e0a273af: Pull complete [2022-05-03T04:15:56.072Z] 5d3b04190fa2: Pull complete [2022-05-03T04:16:00.266Z] 2f39f015ded8: Pull complete [2022-05-03T04:16:00.266Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-05-03T04:16:00.266Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-03T04:16:00.266Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-05-03T04:16:00.357Z] prd-ubuntu20.04-docker-8c-8g-40295 does not seem to be running inside a container [2022-05-03T04:16:00.397Z] $ 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-1155 -v /w/workspace/gexfoundry_device-sdk-go_PR-1155:/w/workspace/gexfoundry_device-sdk-go_PR-1155:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1155@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1155@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-05-03T04:16:01.394Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-40301 in /w/workspace/gexfoundry_device-sdk-go_PR-1155 [2022-05-03T04:16:02.002Z] $ docker top 509d038fffdba915b81904b85fad0aa51695fe5a4ac640e4f8a5499220c0cd40 -eo pid,comm [Pipeline] { [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] ws [2022-05-03T04:16:02.263Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2022-05-03T04:16:02.501Z] ---> job-cost.sh [2022-05-03T04:16:02.501Z] lf-activate-venv: SKIPPING [2022-05-03T04:16:02.501Z] INFO: No Stack... [2022-05-03T04:16:02.761Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-05-03T04:16:02.781Z] The recommended git tool is: git [2022-05-03T04:16:03.341Z] INFO: Archiving Costs [Pipeline] sh [2022-05-03T04:16:03.748Z] + + cat /w/workspace/gexfoundry_device-sdk-go_PR-1155/archives/cost.csv [2022-05-03T04:16:03.748Z] cut -d, -f6 [Pipeline] lock [2022-05-03T04:16:03.787Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1155-1-stack-cost] [2022-05-03T04:16:03.792Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1155-1-stack-cost] did not exist. Created. [2022-05-03T04:16:03.792Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1155-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-05-03T04:16:04.183Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-05-03T04:16:04.235Z] Stashed 1 file(s) [Pipeline] } [2022-05-03T04:16:04.261Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1155-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-05-03T04:16:04.347Z] $ docker stop --time=1 509d038fffdba915b81904b85fad0aa51695fe5a4ac640e4f8a5499220c0cd40 [2022-05-03T04:16:05.523Z] $ docker rm -f 509d038fffdba915b81904b85fad0aa51695fe5a4ac640e4f8a5499220c0cd40 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-05-03T04:16:11.194Z] using credential edgex-jenkins-ssh [2022-05-03T04:16:11.214Z] Cloning the remote Git repository [2022-05-03T04:16:11.331Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2022-05-03T04:16:11.472Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2022-05-03T04:16:11.664Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-05-03T04:16:11.665Z] > git --version # timeout=10 [2022-05-03T04:16:11.704Z] > git --version # 'git version 2.25.1' [2022-05-03T04:16:11.707Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-05-03T04:16:11.950Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-05-03T04:16:14.658Z] Merging remotes/origin/main commit cc37b9e2c9629ca07e46878051115594cd22d281 into PR head commit 4a5051b75c5e9b8ef4d1516f24e40ea778bd17e0 [2022-05-03T04:16:14.942Z] Merge succeeded, producing 4a5051b75c5e9b8ef4d1516f24e40ea778bd17e0 [2022-05-03T04:16:14.943Z] Checking out Revision 4a5051b75c5e9b8ef4d1516f24e40ea778bd17e0 (PR-1155) [2022-05-03T04:16:13.882Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-05-03T04:16:13.926Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-05-03T04:16:13.958Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-05-03T04:16:14.014Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-05-03T04:16:14.026Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-05-03T04:16:14.060Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1155/head:refs/remotes/origin/PR-1155 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-05-03T04:16:14.684Z] > git config core.sparsecheckout # timeout=10 [2022-05-03T04:16:14.700Z] > git checkout -f 4a5051b75c5e9b8ef4d1516f24e40ea778bd17e0 # timeout=10 [2022-05-03T04:16:14.832Z] > git remote # timeout=10 [2022-05-03T04:16:14.859Z] > git config --get remote.origin.url # timeout=10 [2022-05-03T04:16:14.878Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-05-03T04:16:14.894Z] > git merge cc37b9e2c9629ca07e46878051115594cd22d281 # timeout=10 [2022-05-03T04:16:14.926Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-05-03T04:16:14.954Z] > git config core.sparsecheckout # timeout=10 [2022-05-03T04:16:14.971Z] > git checkout -f 4a5051b75c5e9b8ef4d1516f24e40ea778bd17e0 # timeout=10 [2022-05-03T04:16:20.038Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2" [2022-05-03T04:16:20.123Z] > git --version # timeout=10 [2022-05-03T04:16:20.149Z] > git --version # 'git version 2.25.1' [2022-05-03T04:16:20.191Z] fatal: bad object 61d3a14f5ee21304eadc9c25f102bcac80e1a589 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-05-03T04:16:21.381Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-05-03T04:16:21.381Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-05-03T04:16:21.381Z] Dload Upload Total Spent Left Speed [2022-05-03T04:16:21.381Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 160k 0 --:--:-- --:--:-- --:--:-- 162k [Pipeline] sh [2022-05-03T04:16:22.084Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-05-03T04:16:22.507Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-05-03T04:16:22.507Z] + sudo tee /etc/docker/daemon.new [2022-05-03T04:16:22.809Z] { [2022-05-03T04:16:22.809Z] "registry-mirrors": [ [2022-05-03T04:16:22.809Z] "https://nexus3.edgexfoundry.org:10001" [2022-05-03T04:16:22.809Z] ], [2022-05-03T04:16:22.809Z] "bip": "10.250.0.254/24", [2022-05-03T04:16:22.809Z] "hosts": [ [2022-05-03T04:16:22.809Z] "tcp://0.0.0.0:5555", [2022-05-03T04:16:22.809Z] "unix:///var/run/docker.sock" [2022-05-03T04:16:22.809Z] ], [2022-05-03T04:16:22.809Z] "mtu": 1458, [2022-05-03T04:16:22.809Z] "selinux-enabled": true, [2022-05-03T04:16:22.809Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-05-03T04:16:22.809Z] } [Pipeline] sh [2022-05-03T04:16:23.451Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-05-03T04:16:23.898Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-03T04:16:42.419Z] provisioning config files... [2022-05-03T04:16:42.454Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config3116519079666912361tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-03T04:16:43.095Z] ---> docker-login.sh [2022-05-03T04:16:43.096Z] nexus3.edgexfoundry.org:10001 [2022-05-03T04:16:44.108Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-03T04:16:44.390Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-03T04:16:44.390Z] Configure a credential helper to remove this warning. See [2022-05-03T04:16:44.390Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-03T04:16:44.390Z] [2022-05-03T04:16:44.390Z] Login Succeeded [2022-05-03T04:16:44.390Z] nexus3.edgexfoundry.org:10002 [2022-05-03T04:16:44.671Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-03T04:16:44.947Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-03T04:16:44.947Z] Configure a credential helper to remove this warning. See [2022-05-03T04:16:44.947Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-03T04:16:44.947Z] [2022-05-03T04:16:44.947Z] Login Succeeded [2022-05-03T04:16:44.947Z] nexus3.edgexfoundry.org:10003 [2022-05-03T04:16:45.549Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-03T04:16:45.549Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-03T04:16:45.549Z] Configure a credential helper to remove this warning. See [2022-05-03T04:16:45.549Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-03T04:16:45.549Z] [2022-05-03T04:16:45.549Z] Login Succeeded [2022-05-03T04:16:45.549Z] nexus3.edgexfoundry.org:10004 [2022-05-03T04:16:46.156Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-03T04:16:46.156Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-03T04:16:46.156Z] Configure a credential helper to remove this warning. See [2022-05-03T04:16:46.156Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-03T04:16:46.156Z] [2022-05-03T04:16:46.156Z] Login Succeeded [2022-05-03T04:16:46.156Z] docker.io [2022-05-03T04:16:46.758Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-03T04:16:47.040Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-03T04:16:47.040Z] Configure a credential helper to remove this warning. See [2022-05-03T04:16:47.040Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-03T04:16:47.040Z] [2022-05-03T04:16:47.040Z] Login Succeeded [2022-05-03T04:16:47.040Z] ---> docker-login.sh ends [Pipeline] } [2022-05-03T04:16:47.072Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-05-03T04:16:47.545Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-05-03T04:16:47.578Z] ========================================================= [2022-05-03T04:16:47.578Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-05-03T04:16:47.578Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-05-03T04:16:48.024Z] + 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-05-03T04:16:48.631Z] Sending build context to Docker daemon 5.23MB [2022-05-03T04:16:48.631Z] Step 1/11 : ARG BASE=golang:1.17-alpine3.15 [2022-05-03T04:16:48.631Z] Step 2/11 : FROM ${BASE} AS builder [2022-05-03T04:16:48.911Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-05-03T04:16:48.911Z] 9b3977197b4f: Pulling fs layer [2022-05-03T04:16:48.911Z] 1a89e8eeedd5: Pulling fs layer [2022-05-03T04:16:48.911Z] 94645a83ff95: Pulling fs layer [2022-05-03T04:16:48.911Z] 3f3a8bcf1eab: Pulling fs layer [2022-05-03T04:16:48.911Z] 0c92f367c5e7: Pulling fs layer [2022-05-03T04:16:48.911Z] 3096ccb668a1: Pulling fs layer [2022-05-03T04:16:48.911Z] e8cf19c19ddd: Pulling fs layer [2022-05-03T04:16:48.911Z] a4caa8a26152: Pulling fs layer [2022-05-03T04:16:48.911Z] 3096ccb668a1: Waiting [2022-05-03T04:16:48.911Z] e8cf19c19ddd: Waiting [2022-05-03T04:16:48.911Z] 3f3a8bcf1eab: Waiting [2022-05-03T04:16:48.911Z] 0c92f367c5e7: Waiting [2022-05-03T04:16:48.911Z] a4caa8a26152: Waiting [2022-05-03T04:16:48.911Z] 94645a83ff95: Download complete [2022-05-03T04:16:48.911Z] 1a89e8eeedd5: Download complete [2022-05-03T04:16:48.911Z] 0c92f367c5e7: Download complete [2022-05-03T04:16:48.911Z] 3096ccb668a1: Verifying Checksum [2022-05-03T04:16:48.911Z] 3096ccb668a1: Download complete [2022-05-03T04:16:48.911Z] 9b3977197b4f: Verifying Checksum [2022-05-03T04:16:48.911Z] 9b3977197b4f: Download complete [2022-05-03T04:16:48.911Z] e8cf19c19ddd: Verifying Checksum [2022-05-03T04:16:48.911Z] e8cf19c19ddd: Download complete [2022-05-03T04:16:49.915Z] 9b3977197b4f: Pull complete [2022-05-03T04:16:50.527Z] 1a89e8eeedd5: Pull complete [2022-05-03T04:16:50.808Z] 94645a83ff95: Pull complete [2022-05-03T04:16:51.087Z] a4caa8a26152: Verifying Checksum [2022-05-03T04:16:51.087Z] a4caa8a26152: Download complete [2022-05-03T04:16:51.687Z] 3f3a8bcf1eab: Verifying Checksum [2022-05-03T04:16:51.687Z] 3f3a8bcf1eab: Download complete [2022-05-03T04:17:04.135Z] 3f3a8bcf1eab: Pull complete [2022-05-03T04:17:04.135Z] 0c92f367c5e7: Pull complete [2022-05-03T04:17:04.135Z] 3096ccb668a1: Pull complete [2022-05-03T04:17:04.413Z] e8cf19c19ddd: Pull complete [2022-05-03T04:17:09.830Z] a4caa8a26152: Pull complete [2022-05-03T04:17:09.830Z] Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 [2022-05-03T04:17:09.830Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-05-03T04:17:09.830Z] ---> 725f1c02e7f9 [2022-05-03T04:17:09.830Z] Step 3/11 : ARG MAKE=make build [2022-05-03T04:17:11.816Z] ---> Running in 244531ec7ba4 [2022-05-03T04:17:12.093Z] Removing intermediate container 244531ec7ba4 [2022-05-03T04:17:12.093Z] ---> d92b45e1a809 [2022-05-03T04:17:12.093Z] Step 4/11 : WORKDIR /device-sdk-go [2022-05-03T04:17:12.093Z] ---> Running in 97f760585e45 [2022-05-03T04:17:12.375Z] Removing intermediate container 97f760585e45 [2022-05-03T04:17:12.375Z] ---> 8ee5073b4cc5 [2022-05-03T04:17:12.375Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-05-03T04:17:12.375Z] ---> Running in 89b638d3039e [2022-05-03T04:17:12.983Z] Removing intermediate container 89b638d3039e [2022-05-03T04:17:12.983Z] ---> 7093be67a304 [2022-05-03T04:17:12.983Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-03T04:17:12.983Z] ---> Running in 5f74e13a4326 [2022-05-03T04:17:14.974Z] Removing intermediate container 5f74e13a4326 [2022-05-03T04:17:14.974Z] ---> 233cb2475725 [2022-05-03T04:17:14.974Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-05-03T04:17:14.974Z] ---> Running in 97b994747f2a [2022-05-03T04:17:15.967Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-05-03T04:17:16.950Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-05-03T04:17:17.931Z] OK: 220 MiB in 52 packages [2022-05-03T04:17:18.923Z] Removing intermediate container 97b994747f2a [2022-05-03T04:17:18.923Z] ---> 3eced2550510 [2022-05-03T04:17:18.923Z] Step 8/11 : COPY go.mod vendor* ./ [2022-05-03T04:17:19.534Z] ---> 306fec41db53 [2022-05-03T04:17:19.534Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-03T04:17:19.811Z] ---> Running in f636eabd831a [2022-05-03T04:18:16.446Z] Removing intermediate container f636eabd831a [2022-05-03T04:18:16.446Z] ---> 444030ae9a81 [2022-05-03T04:18:16.446Z] Step 10/11 : COPY . . [2022-05-03T04:18:16.446Z] ---> 7cf45d078dfc [2022-05-03T04:18:16.446Z] Step 11/11 : RUN ${MAKE} [2022-05-03T04:18:16.446Z] ---> Running in 626caff0a29b [2022-05-03T04:18:16.446Z] noop [2022-05-03T04:18:16.446Z] Removing intermediate container 626caff0a29b [2022-05-03T04:18:16.446Z] ---> ffac1ff3943e [2022-05-03T04:18:16.446Z] Successfully built ffac1ff3943e [2022-05-03T04:18:16.446Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-05-03T04:18:16.841Z] + docker inspect -f . ci-base-image-arm64 [2022-05-03T04:18:16.841Z] . [Pipeline] withDockerContainer [2022-05-03T04:18:17.155Z] prd-ubuntu20.04-docker-arm64-4c-16g-40301 does not seem to be running inside a container [2022-05-03T04:18:17.266Z] $ 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-05-03T04:18:18.854Z] $ docker top fa99dcea74db8ae5055d0931ddb934575e2604c45da6f05383279ea5697ce7d5 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-03T04:18:19.891Z] + go version [2022-05-03T04:18:19.891Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-05-03T04:18:19.932Z] $ docker stop --time=1 fa99dcea74db8ae5055d0931ddb934575e2604c45da6f05383279ea5697ce7d5 [2022-05-03T04:18:21.699Z] $ docker rm -f fa99dcea74db8ae5055d0931ddb934575e2604c45da6f05383279ea5697ce7d5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-03T04:18:22.613Z] + docker inspect -f . ci-base-image-arm64 [2022-05-03T04:18:22.613Z] . [Pipeline] withDockerContainer [2022-05-03T04:18:22.893Z] prd-ubuntu20.04-docker-arm64-4c-16g-40301 does not seem to be running inside a container [2022-05-03T04:18:23.004Z] $ 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-05-03T04:18:24.544Z] $ docker top 90f5ee1c53a3458a73e76af3b0327276a62362746107737c474861abb043a992 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-05-03T04:18:25.627Z] + make test [2022-05-03T04:18:25.627Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-05-03T04:19:04.746Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-05-03T04:21:11.781Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-05-03T04:21:11.781Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-05-03T04:21:11.781Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-05-03T04:21:17.283Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.462s coverage: 23.3% of statements [2022-05-03T04:21:17.283Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-05-03T04:21:17.283Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.259s coverage: 27.6% of statements [2022-05-03T04:21:17.283Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.392s coverage: 78.9% of statements [2022-05-03T04:21:17.283Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.319s coverage: 10.8% of statements [2022-05-03T04:21:24.056Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.664s coverage: 60.0% of statements [2022-05-03T04:21:24.056Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-05-03T04:21:24.056Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-05-03T04:21:27.498Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.483s coverage: 34.8% of statements [2022-05-03T04:21:27.498Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-05-03T04:21:28.496Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.315s coverage: 86.1% of statements [2022-05-03T04:21:28.496Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-05-03T04:21:28.496Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-05-03T04:21:28.496Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.498s coverage: 65.1% of statements [2022-05-03T04:21:32.837Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.324s coverage: 89.2% of statements [2022-05-03T04:21:32.837Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-05-03T04:21:34.278Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.266s coverage: 4.7% of statements [2022-05-03T04:21:34.278Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-05-03T04:21:34.883Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-05-03T04:21:34.883Z] GO111MODULE=on go vet ./... [2022-05-03T04:23:26.918Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-05-03T04:23:26.918Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-05-03T04:23:26.918Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-05-03T04:23:26.955Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-05-03T04:23:26.986Z] $ docker stop --time=1 90f5ee1c53a3458a73e76af3b0327276a62362746107737c474861abb043a992 [2022-05-03T04:23:28.732Z] $ docker rm -f 90f5ee1c53a3458a73e76af3b0327276a62362746107737c474861abb043a992 [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-03T04:23:30.148Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-05-03T04:23:30.188Z] Warning: overwriting stash ‘coverage-report’ [2022-05-03T04:23:30.736Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-05-03T04:23:31.330Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-05-03T04:23:31.674Z] + ls -al . [2022-05-03T04:23:31.674Z] total 292 [2022-05-03T04:23:31.674Z] drwxrwxr-x 10 jenkins jenkins 4096 May 3 04:23 . [2022-05-03T04:23:31.674Z] drwxrwxr-x 4 jenkins jenkins 4096 May 3 04:16 .. [2022-05-03T04:23:31.674Z] -rw-rw-r-- 1 jenkins jenkins 140 May 3 04:16 .dockerignore [2022-05-03T04:23:31.674Z] drwxrwxr-x 8 jenkins jenkins 4096 May 3 04:16 .git [2022-05-03T04:23:31.674Z] drwxrwxr-x 2 jenkins jenkins 4096 May 3 04:16 .github [2022-05-03T04:23:31.674Z] -rw-rw-r-- 1 jenkins jenkins 131 May 3 04:16 .gitignore [2022-05-03T04:23:31.674Z] -rw-rw-r-- 1 jenkins jenkins 42 May 3 04:16 .golangci.yml [2022-05-03T04:23:31.674Z] -rw-rw-r-- 1 jenkins jenkins 26321 May 3 04:16 CHANGELOG.md [2022-05-03T04:23:31.674Z] -rw-rw-r-- 1 jenkins jenkins 677 May 3 04:16 GOVERNANCE.md [2022-05-03T04:23:31.674Z] -rw-rw-r-- 1 jenkins jenkins 880 May 3 04:16 Jenkinsfile [2022-05-03T04:23:31.674Z] -rw-rw-r-- 1 jenkins jenkins 11341 May 3 04:16 LICENSE [2022-05-03T04:23:31.674Z] -rw-rw-r-- 1 jenkins jenkins 2015 May 3 04:16 Makefile [2022-05-03T04:23:31.674Z] -rw-rw-r-- 1 jenkins jenkins 619 May 3 04:16 OWNERS.md [2022-05-03T04:23:31.674Z] -rw-rw-r-- 1 jenkins jenkins 4881 May 3 04:16 README.md [2022-05-03T04:23:31.674Z] -rw-rw-r-- 1 jenkins jenkins 5 May 3 04:14 VERSION [2022-05-03T04:23:31.674Z] drwxrwxr-x 2 jenkins jenkins 4096 May 3 04:16 bin [2022-05-03T04:23:31.674Z] -rw-r--r-- 1 jenkins jenkins 130819 May 3 04:21 coverage.out [2022-05-03T04:23:31.674Z] drwxrwxr-x 5 jenkins jenkins 4096 May 3 04:16 example [2022-05-03T04:23:31.674Z] -rw-rw-r-- 1 jenkins jenkins 3198 May 3 04:16 go.mod [2022-05-03T04:23:31.674Z] -rw-rw-r-- 1 jenkins jenkins 35003 May 3 04:16 go.sum [2022-05-03T04:23:31.674Z] drwxrwxr-x 15 jenkins jenkins 4096 May 3 04:16 internal [2022-05-03T04:23:31.674Z] drwxrwxr-x 3 jenkins jenkins 4096 May 3 04:16 openapi [2022-05-03T04:23:31.674Z] drwxrwxr-x 5 jenkins jenkins 4096 May 3 04:16 pkg [2022-05-03T04:23:31.674Z] drwxrwxr-x 4 jenkins jenkins 4096 May 3 04:16 snap [2022-05-03T04:23:31.674Z] -rw-rw-r-- 1 jenkins jenkins 222 May 3 04:16 version.go [Pipeline] isUnix [Pipeline] sh [2022-05-03T04:23:32.039Z] + 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=4a5051b75c5e9b8ef4d1516f24e40ea778bd17e0 --label arch=arm64 --label version=0.0.0 . [2022-05-03T04:23:32.635Z] Sending build context to Docker daemon 5.361MB [2022-05-03T04:23:32.635Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-05-03T04:23:32.635Z] Step 2/25 : FROM ${BASE} AS builder [2022-05-03T04:23:32.635Z] ---> ffac1ff3943e [2022-05-03T04:23:32.635Z] Step 3/25 : ARG MAKE=make build [2022-05-03T04:23:32.635Z] ---> Running in a1516ec37dff [2022-05-03T04:23:32.912Z] Removing intermediate container a1516ec37dff [2022-05-03T04:23:32.912Z] ---> 3a03bb1f1fb9 [2022-05-03T04:23:32.912Z] Step 4/25 : WORKDIR /device-sdk-go [2022-05-03T04:23:33.186Z] ---> Running in 3280f004c8e2 [2022-05-03T04:23:33.457Z] Removing intermediate container 3280f004c8e2 [2022-05-03T04:23:33.457Z] ---> 505f9851623e [2022-05-03T04:23:33.457Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-05-03T04:23:33.457Z] ---> Running in 9a8e9e8f2c2f [2022-05-03T04:23:33.733Z] Removing intermediate container 9a8e9e8f2c2f [2022-05-03T04:23:33.733Z] ---> 5d2cbdaa9225 [2022-05-03T04:23:33.733Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-03T04:23:33.733Z] ---> Running in 7b3474afd5ac [2022-05-03T04:23:35.718Z] Removing intermediate container 7b3474afd5ac [2022-05-03T04:23:35.718Z] ---> f5ca6b3d9b92 [2022-05-03T04:23:35.718Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-05-03T04:23:35.718Z] ---> Running in 0e115085f334 [2022-05-03T04:23:36.696Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-05-03T04:23:37.291Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-05-03T04:23:38.269Z] OK: 220 MiB in 52 packages [2022-05-03T04:23:39.264Z] Removing intermediate container 0e115085f334 [2022-05-03T04:23:39.264Z] ---> 4070fc5c95e8 [2022-05-03T04:23:39.264Z] Step 8/25 : COPY go.mod vendor* ./ [2022-05-03T04:23:39.539Z] ---> 5a504f8a2a03 [2022-05-03T04:23:39.539Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-03T04:23:39.816Z] ---> Running in ff47bb888f9d [2022-05-03T04:23:41.785Z] Removing intermediate container ff47bb888f9d [2022-05-03T04:23:41.786Z] ---> 505dab83c97b [2022-05-03T04:23:41.786Z] Step 10/25 : COPY . . [2022-05-03T04:23:42.765Z] ---> dea1c8523d23 [2022-05-03T04:23:42.765Z] Step 11/25 : RUN ${MAKE} [2022-05-03T04:23:42.765Z] ---> Running in 20dfd29fd793 [2022-05-03T04:23:43.749Z] 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-05-03T04:25:35.614Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-05-03T04:25:39.916Z] Removing intermediate container 20dfd29fd793 [2022-05-03T04:25:39.916Z] ---> e5813451633e [2022-05-03T04:25:39.916Z] Step 12/25 : FROM alpine:3.14 [2022-05-03T04:25:39.916Z] 3.14: Pulling from library/alpine [2022-05-03T04:25:39.916Z] 455c02918c45: Pulling fs layer [2022-05-03T04:25:40.189Z] 455c02918c45: Verifying Checksum [2022-05-03T04:25:40.189Z] 455c02918c45: Download complete [2022-05-03T04:25:40.787Z] 455c02918c45: Pull complete [2022-05-03T04:25:40.787Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-05-03T04:25:40.787Z] Status: Downloaded newer image for alpine:3.14 [2022-05-03T04:25:40.787Z] ---> ac73e934f311 [2022-05-03T04:25:40.787Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-05-03T04:25:40.787Z] ---> Running in fca76bf47006 [2022-05-03T04:25:41.402Z] Removing intermediate container fca76bf47006 [2022-05-03T04:25:41.402Z] ---> 65b0e440f978 [2022-05-03T04:25:41.402Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-03T04:25:41.402Z] ---> Running in 98306ed614c5 [2022-05-03T04:25:42.839Z] Removing intermediate container 98306ed614c5 [2022-05-03T04:25:42.839Z] ---> 5abb6bb948b0 [2022-05-03T04:25:42.839Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-05-03T04:25:43.114Z] ---> Running in 20ae792a9ecd [2022-05-03T04:25:44.092Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-05-03T04:25:45.072Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-05-03T04:25:45.666Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2022-05-03T04:25:45.666Z] (2/5) Installing libsodium (1.0.18-r0) [2022-05-03T04:25:45.938Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2022-05-03T04:25:45.938Z] (4/5) Installing libzmq (4.3.4-r0) [2022-05-03T04:25:45.938Z] (5/5) Installing zeromq (4.3.4-r0) [2022-05-03T04:25:46.211Z] Executing busybox-1.33.1-r7.trigger [2022-05-03T04:25:46.211Z] OK: 8 MiB in 19 packages [2022-05-03T04:25:47.200Z] Removing intermediate container 20ae792a9ecd [2022-05-03T04:25:47.200Z] ---> ddd7cae6e7f9 [2022-05-03T04:25:47.200Z] Step 16/25 : WORKDIR / [2022-05-03T04:25:47.200Z] ---> Running in 4e735c5be807 [2022-05-03T04:25:47.474Z] Removing intermediate container 4e735c5be807 [2022-05-03T04:25:47.474Z] ---> f522f8700a2d [2022-05-03T04:25:47.474Z] Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-05-03T04:25:48.074Z] ---> e3c00ee4ee8c [2022-05-03T04:25:48.074Z] Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-05-03T04:25:49.508Z] ---> 29fc830597f4 [2022-05-03T04:25:49.508Z] Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-05-03T04:25:50.159Z] ---> 906d78663b39 [2022-05-03T04:25:50.159Z] Step 20/25 : EXPOSE 59999 [2022-05-03T04:25:50.159Z] ---> Running in 0fcdebf8a7e5 [2022-05-03T04:25:50.836Z] Removing intermediate container 0fcdebf8a7e5 [2022-05-03T04:25:50.836Z] ---> 1e06260837db [2022-05-03T04:25:50.836Z] Step 21/25 : ENTRYPOINT ["/device-simple"] [2022-05-03T04:25:50.836Z] ---> Running in 2fbcfeb85c74 [2022-05-03T04:25:51.113Z] Removing intermediate container 2fbcfeb85c74 [2022-05-03T04:25:51.113Z] ---> feeff7c9c593 [2022-05-03T04:25:51.113Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-05-03T04:25:51.113Z] ---> Running in 11ff68da3b84 [2022-05-03T04:25:51.413Z] Removing intermediate container 11ff68da3b84 [2022-05-03T04:25:51.413Z] ---> 872453b70c0c [2022-05-03T04:25:51.413Z] Step 23/25 : LABEL arch=arm64 [2022-05-03T04:25:51.692Z] ---> Running in 371688d85ffe [2022-05-03T04:25:51.973Z] Removing intermediate container 371688d85ffe [2022-05-03T04:25:51.973Z] ---> 7fff45b445ea [2022-05-03T04:25:51.973Z] Step 24/25 : LABEL git_sha=4a5051b75c5e9b8ef4d1516f24e40ea778bd17e0 [2022-05-03T04:25:51.973Z] ---> Running in df792b68fe7b [2022-05-03T04:25:52.259Z] Removing intermediate container df792b68fe7b [2022-05-03T04:25:52.259Z] ---> 2ad1a6e8081e [2022-05-03T04:25:52.259Z] Step 25/25 : LABEL version=0.0.0 [2022-05-03T04:25:52.259Z] ---> Running in 69e816fde640 [2022-05-03T04:25:52.857Z] Removing intermediate container 69e816fde640 [2022-05-03T04:25:52.857Z] ---> 1eaddf969f1d [2022-05-03T04:25:52.857Z] [Warning] One or more build-args [ARCH] were not consumed [2022-05-03T04:25:52.857Z] Successfully built 1eaddf969f1d [2022-05-03T04:25:52.857Z] Successfully tagged device-sdk-simple-arm64:latest [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] sh [2022-05-03T04:25:53.541Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-03T04:25:53.541Z] [2022-05-03T04:25:53.541Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-05-03T04:25:53.923Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-03T04:25:54.203Z] arm64: Pulling from edgex-lftools-log-publisher [2022-05-03T04:25:54.203Z] 8998bd30e6a1: Pulling fs layer [2022-05-03T04:25:54.203Z] 04944245beec: Pulling fs layer [2022-05-03T04:25:54.203Z] 699f458cf7ca: Pulling fs layer [2022-05-03T04:25:54.203Z] 765212b225bb: Pulling fs layer [2022-05-03T04:25:54.203Z] f23df028b6ca: Pulling fs layer [2022-05-03T04:25:54.203Z] d65c8cfc05b1: Pulling fs layer [2022-05-03T04:25:54.203Z] 2437ff75d9bd: Pulling fs layer [2022-05-03T04:25:54.203Z] f23df028b6ca: Waiting [2022-05-03T04:25:54.203Z] d65c8cfc05b1: Waiting [2022-05-03T04:25:54.203Z] 2437ff75d9bd: Waiting [2022-05-03T04:25:54.203Z] 765212b225bb: Waiting [2022-05-03T04:25:54.203Z] 04944245beec: Verifying Checksum [2022-05-03T04:25:54.203Z] 04944245beec: Download complete [2022-05-03T04:25:54.203Z] 765212b225bb: Download complete [2022-05-03T04:25:54.203Z] f23df028b6ca: Download complete [2022-05-03T04:25:54.203Z] d65c8cfc05b1: Verifying Checksum [2022-05-03T04:25:54.203Z] d65c8cfc05b1: Download complete [2022-05-03T04:25:54.482Z] 699f458cf7ca: Verifying Checksum [2022-05-03T04:25:54.482Z] 699f458cf7ca: Download complete [2022-05-03T04:25:54.757Z] 8998bd30e6a1: Verifying Checksum [2022-05-03T04:25:54.757Z] 8998bd30e6a1: Download complete [2022-05-03T04:25:57.387Z] 2437ff75d9bd: Verifying Checksum [2022-05-03T04:25:57.387Z] 2437ff75d9bd: Download complete [2022-05-03T04:25:59.364Z] 8998bd30e6a1: Pull complete [2022-05-03T04:25:59.637Z] 04944245beec: Pull complete [2022-05-03T04:26:01.071Z] 699f458cf7ca: Pull complete [2022-05-03T04:26:01.344Z] 765212b225bb: Pull complete [2022-05-03T04:26:02.321Z] f23df028b6ca: Pull complete [2022-05-03T04:26:02.594Z] d65c8cfc05b1: Pull complete [2022-05-03T04:26:17.665Z] 2437ff75d9bd: Pull complete [2022-05-03T04:26:17.665Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-05-03T04:26:17.665Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-03T04:26:17.665Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-05-03T04:26:17.919Z] prd-ubuntu20.04-docker-arm64-4c-16g-40301 does not seem to be running inside a container [2022-05-03T04:26:18.007Z] $ 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-05-03T04:26:20.526Z] $ docker top 42cea39db25f405c9d2795fa28c160bd740ddcc72b13b91b18f0713430292216 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-03T04:26:21.498Z] ---> job-cost.sh [2022-05-03T04:26:21.498Z] lf-activate-venv: SKIPPING [2022-05-03T04:26:21.498Z] INFO: No Stack... [2022-05-03T04:26:21.769Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-05-03T04:26:22.742Z] INFO: Archiving Costs [Pipeline] sh [2022-05-03T04:26:23.415Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2022-05-03T04:26:23.415Z] + cut -d, -f6 [Pipeline] lock [2022-05-03T04:26:23.497Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1155-1-stack-cost] [2022-05-03T04:26:23.502Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1155-1-stack-cost] did not exist. Created. [2022-05-03T04:26:23.503Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1155-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-05-03T04:26:24.246Z] /w/workspace/device-sdk-go/1@tmp/durable-f80667e4/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-05-03T04:26:24.939Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-05-03T04:26:24.972Z] Warning: overwriting stash ‘stack-cost’ [2022-05-03T04:26:25.031Z] Stashed 1 file(s) [Pipeline] } [2022-05-03T04:26:25.045Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1155-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-05-03T04:26:25.124Z] $ docker stop --time=1 42cea39db25f405c9d2795fa28c160bd740ddcc72b13b91b18f0713430292216 [2022-05-03T04:26:26.600Z] $ docker rm -f 42cea39db25f405c9d2795fa28c160bd740ddcc72b13b91b18f0713430292216 [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-05-03T04:26:27.633Z] provisioning config files... [2022-05-03T04:26:27.644Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1155@tmp/config569643555490554151tmp [Pipeline] { [Pipeline] sh [2022-05-03T04:26:27.976Z] + set +x [2022-05-03T04:26:27.976Z] + curl -s https://codecov.io/bash [2022-05-03T04:26:27.976Z] + bash -s -- [2022-05-03T04:26:27.976Z] [2022-05-03T04:26:27.976Z] _____ _ [2022-05-03T04:26:27.976Z] / ____| | | [2022-05-03T04:26:27.976Z] | | ___ __| | ___ ___ _____ __ [2022-05-03T04:26:27.976Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-05-03T04:26:27.976Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-05-03T04:26:27.976Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-05-03T04:26:27.976Z] Bash-1.0.6 [2022-05-03T04:26:27.976Z] [2022-05-03T04:26:27.976Z] [2022-05-03T04:26:27.976Z] ==> git version 2.25.1 found [2022-05-03T04:26:27.976Z] ==> 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-05-03T04:26:27.976Z] Release-Date: 2020-01-08 [2022-05-03T04:26:27.976Z] 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-05-03T04:26:27.976Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-05-03T04:26:27.976Z] ==> Jenkins CI detected. [2022-05-03T04:26:27.977Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1155 [2022-05-03T04:26:27.977Z] project root: . [2022-05-03T04:26:27.977Z] --> token set from env [2022-05-03T04:26:27.977Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-05-03T04:26:27.977Z] ==> Running gcov in . (disable via -X gcov) [2022-05-03T04:26:27.977Z] ==> Python coveragepy not found [2022-05-03T04:26:27.977Z] ==> Searching for coverage reports in: [2022-05-03T04:26:27.977Z] + . [2022-05-03T04:26:27.977Z] -> Found 1 reports [2022-05-03T04:26:27.977Z] ==> Detecting git/mercurial file structure [2022-05-03T04:26:27.977Z] ==> Reading reports [2022-05-03T04:26:27.977Z] + ./coverage.out bytes=130819 [2022-05-03T04:26:27.977Z] ==> Appending adjustments [2022-05-03T04:26:27.977Z] https://docs.codecov.io/docs/fixing-reports [2022-05-03T04:26:28.239Z] + Found adjustments [2022-05-03T04:26:28.239Z] ==> Gzipping contents [2022-05-03T04:26:28.239Z] 20K /tmp/codecov.IPJh7q.gz [2022-05-03T04:26:28.239Z] ==> Uploading reports [2022-05-03T04:26:28.239Z] url: https://codecov.io [2022-05-03T04:26:28.239Z] query: branch=PR-1155&commit=4a5051b75c5e9b8ef4d1516f24e40ea778bd17e0&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1155%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1155&job=&cmd_args= [2022-05-03T04:26:28.239Z] -> Pinging Codecov [2022-05-03T04:26:28.239Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1155&commit=4a5051b75c5e9b8ef4d1516f24e40ea778bd17e0&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1155%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1155&job=&cmd_args= [2022-05-03T04:26:28.811Z] -> Uploading to [2022-05-03T04:26:28.811Z] https://storage.googleapis.com/codecov/v4/raw/2022-05-03/7E55EF52A471D76F132DFD9A03CDDE97/4a5051b75c5e9b8ef4d1516f24e40ea778bd17e0/cff4f2ce-c087-43c9-ac13-5517cc464438.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220503%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220503T042628Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=6f1131790ad39e4ac08665ab40b33d6ff19a4f834da00a982cb71380f92aa1fe [2022-05-03T04:26:28.811Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-05-03T04:26:28.811Z] Dload Upload Total Spent Left Speed [2022-05-03T04:26:28.811Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16793 0 0 100 16793 0 66114 --:--:-- --:--:-- --:--:-- 66114 [2022-05-03T04:26:28.811Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/4a5051b75c5e9b8ef4d1516f24e40ea778bd17e0 [Pipeline] } [2022-05-03T04:26:28.833Z] 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-05-03T04:26:30.518Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1155/archives ] [2022-05-03T04:26:30.518Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1155/archives [2022-05-03T04:26:30.518Z] total 16 [2022-05-03T04:26:30.518Z] drwxr-xr-x 3 root root 4096 May 3 04:16 . [2022-05-03T04:26:30.518Z] drwxrwxr-x 12 jenkins jenkins 4096 May 3 04:16 .. [2022-05-03T04:26:30.518Z] drwxr-xr-x 2 root root 4096 May 3 04:16 cost [2022-05-03T04:26:30.518Z] -rw-r--r-- 1 root root 85 May 3 04:16 cost.csv [2022-05-03T04:26:30.518Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1155/archives [2022-05-03T04:26:30.518Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1155/archives [2022-05-03T04:26:30.518Z] total 16 [2022-05-03T04:26:30.518Z] drwxr-xr-x 3 jenkins jenkins 4096 May 3 04:16 . [2022-05-03T04:26:30.518Z] drwxrwxr-x 12 jenkins jenkins 4096 May 3 04:16 .. [2022-05-03T04:26:30.518Z] drwxr-xr-x 2 jenkins jenkins 4096 May 3 04:16 cost [2022-05-03T04:26:30.518Z] -rw-r--r-- 1 jenkins jenkins 85 May 3 04:16 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-05-03T04:26:30.844Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-03T04:26:31.737Z] ---> package-listing.sh [2022-05-03T04:26:31.737Z] ++ facter osfamily [2022-05-03T04:26:31.737Z] ++ tr '[:upper:]' '[:lower:]' [2022-05-03T04:26:31.997Z] + OS_FAMILY=debian [2022-05-03T04:26:31.997Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1155 [2022-05-03T04:26:31.997Z] + START_PACKAGES=/tmp/packages_start.txt [2022-05-03T04:26:31.997Z] + END_PACKAGES=/tmp/packages_end.txt [2022-05-03T04:26:31.997Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-05-03T04:26:31.997Z] + PACKAGES=/tmp/packages_start.txt [2022-05-03T04:26:31.997Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1155 ']' [2022-05-03T04:26:31.997Z] + PACKAGES=/tmp/packages_end.txt [2022-05-03T04:26:31.997Z] + case "${OS_FAMILY}" in [2022-05-03T04:26:31.997Z] + dpkg -l [2022-05-03T04:26:31.997Z] + grep '^ii' [2022-05-03T04:26:31.997Z] + '[' -f /tmp/packages_start.txt ']' [2022-05-03T04:26:31.997Z] + '[' -f /tmp/packages_end.txt ']' [2022-05-03T04:26:31.997Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-05-03T04:26:31.997Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1155 ']' [2022-05-03T04:26:31.997Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1155/archives/ [2022-05-03T04:26:31.997Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1155/archives/ [Pipeline] echo [2022-05-03T04:26:32.032Z] 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-1155/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-05-03T04:26:32.325Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-05-03T04:26:32.908Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-03T04:26:32.908Z] . [Pipeline] withDockerContainer [2022-05-03T04:26:33.001Z] prd-ubuntu20.04-docker-8c-8g-40295 does not seem to be running inside a container [2022-05-03T04:26:33.044Z] $ 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-1155/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-1155 -v /w/workspace/gexfoundry_device-sdk-go_PR-1155:/w/workspace/gexfoundry_device-sdk-go_PR-1155:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1155@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1155@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-05-03T04:26:33.279Z] $ docker top 370e913fc88e28438537f7adc0c750037e98bb7f6be61ef6446f3dcdf52ba3c3 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-03T04:26:33.692Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-05-03T04:26:34.005Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-05-03T04:26:34.322Z] + ls /var/log/sa-host [2022-05-03T04:26:34.322Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-03T04:26:34.462Z] provisioning config files... [2022-05-03T04:26:34.473Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1155@tmp/config607702788549877135tmp [Pipeline] { [Pipeline] echo [2022-05-03T04:26:34.522Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-03T04:26:34.862Z] ---> create-netrc.sh [Pipeline] } [2022-05-03T04:26:34.889Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-05-03T04:26:35.296Z] ---> python-tools-install.sh [Pipeline] echo [2022-05-03T04:26:35.326Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-03T04:26:35.645Z] ---> sudo-logs.sh [2022-05-03T04:26:35.645Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-05-03T04:26:35.737Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-03T04:26:36.055Z] ---> job-cost.sh [2022-05-03T04:26:36.055Z] lf-activate-venv: SKIPPING [2022-05-03T04:26:36.055Z] DEBUG: total: 0.2199999988079071 [2022-05-03T04:26:36.055Z] INFO: Retrieving Stack Cost... [2022-05-03T04:26:36.627Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-05-03T04:26:36.891Z] INFO: Archiving Costs [Pipeline] echo [2022-05-03T04:26:36.926Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-03T04:26:37.247Z] ---> logs-deploy.sh [2022-05-03T04:26:37.247Z] lf-activate-venv: SKIPPING [2022-05-03T04:26:37.247Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1155/1 [2022-05-03T04:26:37.247Z] INFO: archiving workspace using pattern(s): [2022-05-03T04:26:38.191Z] Archives upload complete. [2022-05-03T04:26:38.191Z] INFO: archiving logs to Nexus