Pull request #1156 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of jpwhitemn for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 6a887373bb055dc946875f60d46cae4c18153317+cc37b9e2c9629ca07e46878051115594cd22d281 (4a689c599e0443f67e8605653fa3d7fc22ef42c0) 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-ssh4590272645791665477.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-ssh93370583147233986.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1156/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1156/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh5160941095591920085.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 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-ssh5745167008291348972.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b3dada9287033e4e81bc68320e01fd57bef02650 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1156/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1156/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh9097040324243538277.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-41406’ Running on prd-ubuntu20.04-docker-8c-8g-41409 in /w/workspace/gexfoundry_device-sdk-go_PR-1156 [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-1156 # 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 6a887373bb055dc946875f60d46cae4c18153317 Merge succeeded, producing 6a887373bb055dc946875f60d46cae4c18153317 Checking out Revision 6a887373bb055dc946875f60d46cae4c18153317 (PR-1156) > 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/1156/head:refs/remotes/origin/PR-1156 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6a887373bb055dc946875f60d46cae4c18153317 # 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 6a887373bb055dc946875f60d46cae4c18153317 # timeout=10 Commit message: "docs: change the go mod references in Changelog" > git rev-list --no-walk 4ba4dfe5bdcf3fbe372c788b043049de3605ce73 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-05-07T20:07:31.738Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-05-07T20:07:31.803Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-05-07T20:07:31.818Z] ========================================================= [2022-05-07T20:07:31.818Z] EdgeX Global Pipelines Version Info [2022-05-07T20:07:31.818Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-05-07T20:07:32.595Z] ------------------- [2022-05-07T20:07:32.595Z] stable info: [2022-05-07T20:07:32.595Z] ------------------- [2022-05-07T20:07:32.595Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-05-07T20:07:32.595Z] Commit SHA: 61d3a14f5ee21304eadc9c25f102bcac80e1a589 [2022-05-07T20:07:32.595Z] Message: update stable to v1.0.227 [2022-05-07T20:07:33.169Z] ------------------- [2022-05-07T20:07:33.169Z] experimental info: [2022-05-07T20:07:33.169Z] ------------------- [2022-05-07T20:07:33.169Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-05-07T20:07:33.169Z] Commit SHA: 821e2ffd3fa43eddc5db18cf710cdace1a36094c [2022-05-07T20:07:33.169Z] Message: update experimental to v1.0.229 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-05-07T20:07:33.384Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2022-05-07T20:07:33.396Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2022-05-07T20:07:33.407Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-05-07T20:07:33.419Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-05-07T20:07:33.431Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-05-07T20:07:33.446Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-05-07T20:07:33.463Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-05-07T20:07:33.479Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2022-05-07T20:07:33.488Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-05-07T20:07:33.496Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-05-07T20:07:33.505Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-05-07T20:07:33.515Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2022-05-07T20:07:33.531Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-05-07T20:07:33.548Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-05-07T20:07:33.559Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-05-07T20:07:33.573Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2022-05-07T20:07:33.584Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-05-07T20:07:33.601Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-05-07T20:07:33.617Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-05-07T20:07:33.627Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-05-07T20:07:33.639Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-05-07T20:07:33.652Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2022-05-07T20:07:33.667Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-05-07T20:07:33.678Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-05-07T20:07:33.693Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-05-07T20:07:33.704Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-05-07T20:07:33.718Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1156 [Pipeline] echo [2022-05-07T20:07:33.729Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1156 [Pipeline] echo [2022-05-07T20:07:33.741Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1156 [Pipeline] echo [2022-05-07T20:07:33.755Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6a887373bb055dc946875f60d46cae4c18153317 [Pipeline] echo [2022-05-07T20:07:33.767Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6a88737 [Pipeline] echo [2022-05-07T20:07:33.780Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-07T20:07:33.825Z] provisioning config files... [2022-05-07T20:07:33.839Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1156@tmp/config885273712100843893tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-07T20:07:34.154Z] ---> docker-login.sh [2022-05-07T20:07:34.154Z] nexus3.edgexfoundry.org:10001 [2022-05-07T20:07:34.726Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-07T20:07:34.726Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-07T20:07:34.726Z] Configure a credential helper to remove this warning. See [2022-05-07T20:07:34.726Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-07T20:07:34.726Z] [2022-05-07T20:07:34.988Z] Login Succeeded [2022-05-07T20:07:34.988Z] nexus3.edgexfoundry.org:10002 [2022-05-07T20:07:34.988Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-07T20:07:34.988Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-07T20:07:34.988Z] Configure a credential helper to remove this warning. See [2022-05-07T20:07:34.988Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-07T20:07:34.988Z] [2022-05-07T20:07:34.988Z] Login Succeeded [2022-05-07T20:07:34.988Z] nexus3.edgexfoundry.org:10003 [2022-05-07T20:07:34.988Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-07T20:07:35.250Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-07T20:07:35.250Z] Configure a credential helper to remove this warning. See [2022-05-07T20:07:35.250Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-07T20:07:35.250Z] [2022-05-07T20:07:35.250Z] Login Succeeded [2022-05-07T20:07:35.250Z] nexus3.edgexfoundry.org:10004 [2022-05-07T20:07:35.250Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-07T20:07:35.250Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-07T20:07:35.250Z] Configure a credential helper to remove this warning. See [2022-05-07T20:07:35.250Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-07T20:07:35.250Z] [2022-05-07T20:07:35.250Z] Login Succeeded [2022-05-07T20:07:35.250Z] docker.io [2022-05-07T20:07:35.250Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-07T20:07:35.825Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-07T20:07:35.825Z] Configure a credential helper to remove this warning. See [2022-05-07T20:07:35.825Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-07T20:07:35.825Z] [2022-05-07T20:07:35.825Z] Login Succeeded [2022-05-07T20:07:35.825Z] ---> docker-login.sh ends [Pipeline] } [2022-05-07T20:07:35.834Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-05-07T20:07:36.218Z] + git rev-list -1 --merges 6a887373bb055dc946875f60d46cae4c18153317~1..6a887373bb055dc946875f60d46cae4c18153317 [Pipeline] echo [2022-05-07T20:07:36.252Z] -----------> git rev-list -1 --merges 6a887373bb055dc946875f60d46cae4c18153317~1..6a887373bb055dc946875f60d46cae4c18153317 6a887373bb055dc946875f60d46cae4c18153317 [false] [Pipeline] sh [2022-05-07T20:07:36.548Z] + git log --format=format:%s -1 6a887373bb055dc946875f60d46cae4c18153317 [Pipeline] echo [2022-05-07T20:07:36.566Z] ========================================================= [2022-05-07T20:07:36.566Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-05-07T20:07:36.566Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-05-07T20:07:36.899Z] + git log --format=format:%s -1 6a887373bb055dc946875f60d46cae4c18153317 [Pipeline] echo [2022-05-07T20:07:36.911Z] [semverPrep] GIT_COMMIT: 6a887373bb055dc946875f60d46cae4c18153317, Commit Message: docs: change the go mod references in Changelog [Pipeline] echo [2022-05-07T20:07:36.922Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-05-07T20:07:37.305Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-05-07T20:07:37.305Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-05-07T20:07:37.305Z] + [ -e /tmp/ssh_known_hosts ] [2022-05-07T20:07:37.305Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-05-07T20:07:37.305Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-05-07T20:07:37.305Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-05-07T20:07:37.305Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-05-07T20:07:37.730Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-07T20:07:37.730Z] [2022-05-07T20:07:37.730Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-05-07T20:07:38.041Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-07T20:07:38.041Z] latest: Pulling from edgex-devops/py-git-semver [2022-05-07T20:07:38.041Z] 1fe172e4850f: Pulling fs layer [2022-05-07T20:07:38.041Z] caf521ccaac6: Pulling fs layer [2022-05-07T20:07:38.041Z] 3ead6fa29328: Pulling fs layer [2022-05-07T20:07:38.041Z] 5c2a1cbceb83: Pulling fs layer [2022-05-07T20:07:38.041Z] a8d5f1318db7: Pulling fs layer [2022-05-07T20:07:38.041Z] c427282e49a2: Pulling fs layer [2022-05-07T20:07:38.041Z] 1827001aaf11: Pulling fs layer [2022-05-07T20:07:38.041Z] 0714d37db230: Pulling fs layer [2022-05-07T20:07:38.041Z] ac28cf19c067: Pulling fs layer [2022-05-07T20:07:38.041Z] ca983d60f3e2: Pulling fs layer [2022-05-07T20:07:38.041Z] 9f894cec8388: Pulling fs layer [2022-05-07T20:07:38.041Z] 5c2a1cbceb83: Waiting [2022-05-07T20:07:38.041Z] 1827001aaf11: Waiting [2022-05-07T20:07:38.041Z] a8d5f1318db7: Waiting [2022-05-07T20:07:38.041Z] c427282e49a2: Waiting [2022-05-07T20:07:38.041Z] 0714d37db230: Waiting [2022-05-07T20:07:38.041Z] ac28cf19c067: Waiting [2022-05-07T20:07:38.041Z] ca983d60f3e2: Waiting [2022-05-07T20:07:38.041Z] 9f894cec8388: Waiting [2022-05-07T20:07:38.041Z] caf521ccaac6: Verifying Checksum [2022-05-07T20:07:38.041Z] caf521ccaac6: Download complete [2022-05-07T20:07:38.041Z] 5c2a1cbceb83: Verifying Checksum [2022-05-07T20:07:38.041Z] 5c2a1cbceb83: Download complete [2022-05-07T20:07:38.301Z] a8d5f1318db7: Verifying Checksum [2022-05-07T20:07:38.301Z] a8d5f1318db7: Download complete [2022-05-07T20:07:38.301Z] 3ead6fa29328: Verifying Checksum [2022-05-07T20:07:38.301Z] 3ead6fa29328: Download complete [2022-05-07T20:07:38.301Z] c427282e49a2: Verifying Checksum [2022-05-07T20:07:38.301Z] c427282e49a2: Download complete [2022-05-07T20:07:38.301Z] 0714d37db230: Download complete [2022-05-07T20:07:38.301Z] ac28cf19c067: Download complete [2022-05-07T20:07:38.301Z] ca983d60f3e2: Verifying Checksum [2022-05-07T20:07:38.301Z] ca983d60f3e2: Download complete [2022-05-07T20:07:38.301Z] 9f894cec8388: Download complete [2022-05-07T20:07:38.301Z] 1fe172e4850f: Verifying Checksum [2022-05-07T20:07:38.301Z] 1fe172e4850f: Download complete [2022-05-07T20:07:38.566Z] 1827001aaf11: Verifying Checksum [2022-05-07T20:07:38.566Z] 1827001aaf11: Download complete [2022-05-07T20:07:39.957Z] 1fe172e4850f: Pull complete [2022-05-07T20:07:39.957Z] caf521ccaac6: Pull complete [2022-05-07T20:07:40.534Z] 3ead6fa29328: Pull complete [2022-05-07T20:07:40.795Z] 5c2a1cbceb83: Pull complete [2022-05-07T20:07:41.057Z] a8d5f1318db7: Pull complete [2022-05-07T20:07:41.057Z] c427282e49a2: Pull complete [2022-05-07T20:07:42.966Z] 1827001aaf11: Pull complete [2022-05-07T20:07:43.226Z] 0714d37db230: Pull complete [2022-05-07T20:07:43.487Z] ac28cf19c067: Pull complete [2022-05-07T20:07:43.487Z] ca983d60f3e2: Pull complete [2022-05-07T20:07:43.748Z] 9f894cec8388: Pull complete [2022-05-07T20:07:43.749Z] Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee [2022-05-07T20:07:43.749Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-07T20:07:43.749Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] withDockerContainer [2022-05-07T20:07:43.826Z] prd-ubuntu20.04-docker-8c-8g-41409 does not seem to be running inside a container [2022-05-07T20:07:43.897Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1156 -v /w/workspace/gexfoundry_device-sdk-go_PR-1156:/w/workspace/gexfoundry_device-sdk-go_PR-1156:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1156@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1156@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat [2022-05-07T20:07:46.862Z] $ docker top 88bf9efeeaf39943ce19b175c8d916ca36e7c5c4e73f9d7c7176821346ea17d2 -eo pid,comm [2022-05-07T20:07:46.922Z] 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-07T20:07:46.922Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-05-07T20:07:46.970Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-07T20:07:46.970Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-07T20:07:47.123Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-07T20:07:47.132Z] $ docker exec 88bf9efeeaf39943ce19b175c8d916ca36e7c5c4e73f9d7c7176821346ea17d2 ssh-agent [2022-05-07T20:07:47.260Z] SSH_AUTH_SOCK=/tmp/ssh-SfU9TmUCJeZJ/agent.33 [2022-05-07T20:07:47.260Z] SSH_AGENT_PID=40 [2022-05-07T20:07:47.279Z] Running ssh-add (command line suppressed) [2022-05-07T20:07:47.389Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1156@tmp/private_key_4948902118661512207.key (/w/workspace/gexfoundry_device-sdk-go_PR-1156@tmp/private_key_4948902118661512207.key) [2022-05-07T20:07:47.400Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-07T20:07:47.696Z] + git tag --points-at HEAD [Pipeline] } [2022-05-07T20:07:47.714Z] $ docker exec --env ******** --env ******** 88bf9efeeaf39943ce19b175c8d916ca36e7c5c4e73f9d7c7176821346ea17d2 ssh-agent -k [2022-05-07T20:07:47.826Z] unset SSH_AUTH_SOCK; [2022-05-07T20:07:47.826Z] unset SSH_AGENT_PID; [2022-05-07T20:07:47.827Z] echo Agent pid 40 killed; [2022-05-07T20:07:47.836Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-05-07T20:07:47.862Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-07T20:07:47.862Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-07T20:07:47.987Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-07T20:07:47.998Z] $ docker exec 88bf9efeeaf39943ce19b175c8d916ca36e7c5c4e73f9d7c7176821346ea17d2 ssh-agent [2022-05-07T20:07:48.134Z] SSH_AUTH_SOCK=/tmp/ssh-P5IMP5qkgkKf/agent.72 [2022-05-07T20:07:48.134Z] SSH_AGENT_PID=78 [2022-05-07T20:07:48.140Z] Running ssh-add (command line suppressed) [2022-05-07T20:07:48.282Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1156@tmp/private_key_3265822001812563535.key (/w/workspace/gexfoundry_device-sdk-go_PR-1156@tmp/private_key_3265822001812563535.key) [2022-05-07T20:07:48.292Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-07T20:07:48.587Z] + git semver init [2022-05-07T20:07:48.848Z] 2022-05-07 20:07:48,803 [run_init] DEBUG init version:0.0.0 force:False [2022-05-07T20:07:48.848Z] 2022-05-07 20:07:48,805 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1156/.semver [2022-05-07T20:07:48.848Z] 2022-05-07 20:07:48,806 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1156/.semver [2022-05-07T20:07:48.848Z] 2022-05-07 20:07:48,806 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1156/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1156, universal_newlines=False, shell=None, istream=None) [2022-05-07T20:07:49.793Z] 2022-05-07 20:07:49,691 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1156/.git/info/exclude [2022-05-07T20:07:49.793Z] 2022-05-07 20:07:49,692 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1156/.semver/PR-1156 with force:False [2022-05-07T20:07:49.793Z] 2022-05-07 20:07:49,692 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1156/.semver/PR-1156 [2022-05-07T20:07:49.793Z] 2022-05-07 20:07:49,696 [execute] INFO git cat-file --batch-check [2022-05-07T20:07:49.793Z] 2022-05-07 20:07:49,697 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1156/.semver, universal_newlines=False, shell=None, istream=) [2022-05-07T20:07:49.793Z] 2022-05-07 20:07:49,702 [execute] INFO git cat-file --batch [2022-05-07T20:07:49.793Z] 2022-05-07 20:07:49,702 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1156/.semver, universal_newlines=False, shell=None, istream=) [2022-05-07T20:07:49.793Z] 2022-05-07 20:07:49,706 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1156/.semver/PR-1156 [2022-05-07T20:07:49.793Z] 0.0.0 [Pipeline] } [2022-05-07T20:07:49.810Z] $ docker exec --env ******** --env ******** 88bf9efeeaf39943ce19b175c8d916ca36e7c5c4e73f9d7c7176821346ea17d2 ssh-agent -k [2022-05-07T20:07:49.927Z] unset SSH_AUTH_SOCK; [2022-05-07T20:07:49.928Z] unset SSH_AGENT_PID; [2022-05-07T20:07:49.928Z] echo Agent pid 78 killed; [2022-05-07T20:07:49.935Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-05-07T20:07:50.248Z] + git semver [Pipeline] } [2022-05-07T20:07:50.534Z] $ docker stop --time=1 88bf9efeeaf39943ce19b175c8d916ca36e7c5c4e73f9d7c7176821346ea17d2 [2022-05-07T20:07:52.141Z] $ docker rm -f 88bf9efeeaf39943ce19b175c8d916ca36e7c5c4e73f9d7c7176821346ea17d2 [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-07T20:07:52.517Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-05-07T20:07:52.799Z] Stashed 1 file(s) [Pipeline] echo [2022-05-07T20:07:52.803Z] [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-07T20:07:52.959Z] provisioning config files... [2022-05-07T20:07:52.971Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1156@tmp/config4083884599318555518tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-07T20:07:53.273Z] ---> docker-login.sh [2022-05-07T20:07:53.273Z] nexus3.edgexfoundry.org:10001 [2022-05-07T20:07:53.273Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-07T20:07:53.273Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-07T20:07:53.273Z] Configure a credential helper to remove this warning. See [2022-05-07T20:07:53.273Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-07T20:07:53.273Z] [2022-05-07T20:07:53.273Z] Login Succeeded [2022-05-07T20:07:53.273Z] nexus3.edgexfoundry.org:10002 [2022-05-07T20:07:53.273Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-07T20:07:53.532Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-07T20:07:53.532Z] Configure a credential helper to remove this warning. See [2022-05-07T20:07:53.532Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-07T20:07:53.532Z] [2022-05-07T20:07:53.532Z] Login Succeeded [2022-05-07T20:07:53.532Z] nexus3.edgexfoundry.org:10003 [2022-05-07T20:07:53.532Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-07T20:07:53.532Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-07T20:07:53.532Z] Configure a credential helper to remove this warning. See [2022-05-07T20:07:53.532Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-07T20:07:53.532Z] [2022-05-07T20:07:53.532Z] Login Succeeded [2022-05-07T20:07:53.532Z] nexus3.edgexfoundry.org:10004 [2022-05-07T20:07:53.792Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-07T20:07:53.792Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-07T20:07:53.792Z] Configure a credential helper to remove this warning. See [2022-05-07T20:07:53.792Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-07T20:07:53.792Z] [2022-05-07T20:07:53.792Z] Login Succeeded [2022-05-07T20:07:53.792Z] docker.io [2022-05-07T20:07:53.792Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-07T20:07:54.062Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-07T20:07:54.062Z] Configure a credential helper to remove this warning. See [2022-05-07T20:07:54.062Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-07T20:07:54.062Z] [2022-05-07T20:07:54.062Z] Login Succeeded [2022-05-07T20:07:54.062Z] ---> docker-login.sh ends [Pipeline] } [2022-05-07T20:07:54.070Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-05-07T20:07:54.131Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-05-07T20:07:54.139Z] ========================================================= [2022-05-07T20:07:54.139Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-05-07T20:07:54.139Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-05-07T20:07:54.461Z] + 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-07T20:07:54.461Z] Sending build context to Docker daemon 9.731MB [2022-05-07T20:07:54.461Z] Step 1/11 : ARG BASE=golang:1.17-alpine3.15 [2022-05-07T20:07:54.461Z] Step 2/11 : FROM ${BASE} AS builder [2022-05-07T20:07:54.722Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-05-07T20:07:54.722Z] 59bf1c3509f3: Pulling fs layer [2022-05-07T20:07:54.722Z] 666ba61612fd: Pulling fs layer [2022-05-07T20:07:54.722Z] 8ed8ca486205: Pulling fs layer [2022-05-07T20:07:54.722Z] 4fe6c5a15a65: Pulling fs layer [2022-05-07T20:07:54.722Z] 22a0e8bec74d: Pulling fs layer [2022-05-07T20:07:54.722Z] ca2b28591e48: Pulling fs layer [2022-05-07T20:07:54.722Z] a51346096db8: Pulling fs layer [2022-05-07T20:07:54.722Z] daebc70d1ce1: Pulling fs layer [2022-05-07T20:07:54.722Z] 0e18a0eac166: Pulling fs layer [2022-05-07T20:07:54.722Z] 4fe6c5a15a65: Waiting [2022-05-07T20:07:54.722Z] 22a0e8bec74d: Waiting [2022-05-07T20:07:54.722Z] ca2b28591e48: Waiting [2022-05-07T20:07:54.722Z] a51346096db8: Waiting [2022-05-07T20:07:54.722Z] daebc70d1ce1: Waiting [2022-05-07T20:07:54.722Z] 0e18a0eac166: Waiting [2022-05-07T20:07:54.722Z] 8ed8ca486205: Verifying Checksum [2022-05-07T20:07:54.722Z] 8ed8ca486205: Download complete [2022-05-07T20:07:54.722Z] 22a0e8bec74d: Verifying Checksum [2022-05-07T20:07:54.722Z] 22a0e8bec74d: Download complete [2022-05-07T20:07:54.722Z] ca2b28591e48: Verifying Checksum [2022-05-07T20:07:54.722Z] a51346096db8: Download complete [2022-05-07T20:07:54.722Z] 59bf1c3509f3: Verifying Checksum [2022-05-07T20:07:54.722Z] 59bf1c3509f3: Download complete [2022-05-07T20:07:54.982Z] daebc70d1ce1: Verifying Checksum [2022-05-07T20:07:54.982Z] daebc70d1ce1: Download complete [2022-05-07T20:07:54.982Z] 59bf1c3509f3: Pull complete [2022-05-07T20:07:55.562Z] 666ba61612fd: Pull complete [2022-05-07T20:07:55.562Z] 0e18a0eac166: Verifying Checksum [2022-05-07T20:07:55.562Z] 0e18a0eac166: Download complete [2022-05-07T20:07:55.562Z] 8ed8ca486205: Pull complete [2022-05-07T20:07:55.562Z] 4fe6c5a15a65: Verifying Checksum [2022-05-07T20:07:55.562Z] 4fe6c5a15a65: Download complete [2022-05-07T20:07:59.755Z] 4fe6c5a15a65: Pull complete [2022-05-07T20:07:59.755Z] 22a0e8bec74d: Pull complete [2022-05-07T20:07:59.755Z] ca2b28591e48: Pull complete [2022-05-07T20:07:59.755Z] a51346096db8: Pull complete [2022-05-07T20:07:59.755Z] daebc70d1ce1: Pull complete [2022-05-07T20:08:02.318Z] 0e18a0eac166: Pull complete [2022-05-07T20:08:02.318Z] Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 [2022-05-07T20:08:02.318Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-05-07T20:08:02.318Z] ---> f018257e8ee9 [2022-05-07T20:08:02.318Z] Step 3/11 : ARG MAKE=make build [2022-05-07T20:08:04.861Z] ---> Running in 464734fd2933 [2022-05-07T20:08:05.122Z] Removing intermediate container 464734fd2933 [2022-05-07T20:08:05.122Z] ---> ec7df6884274 [2022-05-07T20:08:05.122Z] Step 4/11 : WORKDIR /device-sdk-go [2022-05-07T20:08:05.384Z] ---> Running in 2dce0eb6b763 [2022-05-07T20:08:05.384Z] Removing intermediate container 2dce0eb6b763 [2022-05-07T20:08:05.384Z] ---> 644c09573552 [2022-05-07T20:08:05.384Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-05-07T20:08:05.647Z] ---> Running in 8447ac618dc4 [2022-05-07T20:08:05.919Z] Removing intermediate container 8447ac618dc4 [2022-05-07T20:08:05.919Z] ---> 01ca158b2ad4 [2022-05-07T20:08:05.919Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-07T20:08:05.919Z] ---> Running in 5b56e80b2b91 [2022-05-07T20:08:06.869Z] Removing intermediate container 5b56e80b2b91 [2022-05-07T20:08:06.869Z] ---> 0e66df4a5dbe [2022-05-07T20:08:06.869Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-05-07T20:08:07.130Z] ---> Running in b4b37cc4b48b [2022-05-07T20:08:07.390Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-05-07T20:08:07.914Z] Still waiting to schedule task [2022-05-07T20:08:07.915Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-41408’ [2022-05-07T20:08:08.334Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-05-07T20:08:08.595Z] OK: 221 MiB in 52 packages [2022-05-07T20:08:08.856Z] Removing intermediate container b4b37cc4b48b [2022-05-07T20:08:08.856Z] ---> 804c43260488 [2022-05-07T20:08:08.856Z] Step 8/11 : COPY go.mod vendor* ./ [2022-05-07T20:08:09.117Z] ---> 7a2534efd4bd [2022-05-07T20:08:09.117Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-07T20:08:09.117Z] ---> Running in f9a0a6ef19a8 [2022-05-07T20:08:24.330Z] Removing intermediate container f9a0a6ef19a8 [2022-05-07T20:08:24.330Z] ---> 3b8efe589334 [2022-05-07T20:08:24.330Z] Step 10/11 : COPY . . [2022-05-07T20:08:25.278Z] ---> 22bd3acbdf79 [2022-05-07T20:08:25.278Z] Step 11/11 : RUN ${MAKE} [2022-05-07T20:08:25.278Z] ---> Running in 53069013bfbc [2022-05-07T20:08:25.540Z] noop [2022-05-07T20:08:25.803Z] Removing intermediate container 53069013bfbc [2022-05-07T20:08:25.803Z] ---> dd5edbb2a481 [2022-05-07T20:08:25.803Z] Successfully built dd5edbb2a481 [2022-05-07T20:08:25.803Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-05-07T20:08:26.105Z] + docker inspect -f . ci-base-image-x86_64 [2022-05-07T20:08:26.105Z] . [Pipeline] withDockerContainer [2022-05-07T20:08:26.179Z] prd-ubuntu20.04-docker-8c-8g-41409 does not seem to be running inside a container [2022-05-07T20:08:26.249Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1156 -v /w/workspace/gexfoundry_device-sdk-go_PR-1156:/w/workspace/gexfoundry_device-sdk-go_PR-1156:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1156@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1156@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-05-07T20:08:26.852Z] $ docker top 6ceec22f357d4ae61d35f0230927a9abd344fc2bc7d40d3896ab155dc2ebcab1 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-07T20:08:27.277Z] + go version [2022-05-07T20:08:27.277Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-05-07T20:08:27.293Z] $ docker stop --time=1 6ceec22f357d4ae61d35f0230927a9abd344fc2bc7d40d3896ab155dc2ebcab1 [2022-05-07T20:08:28.596Z] $ docker rm -f 6ceec22f357d4ae61d35f0230927a9abd344fc2bc7d40d3896ab155dc2ebcab1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-07T20:08:29.033Z] + docker inspect -f . ci-base-image-x86_64 [2022-05-07T20:08:29.033Z] . [Pipeline] withDockerContainer [2022-05-07T20:08:29.110Z] prd-ubuntu20.04-docker-8c-8g-41409 does not seem to be running inside a container [2022-05-07T20:08:29.162Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1156 -v /w/workspace/gexfoundry_device-sdk-go_PR-1156:/w/workspace/gexfoundry_device-sdk-go_PR-1156:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1156@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1156@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-05-07T20:08:29.555Z] $ docker top d38fa0d6a09a83c08cc1c0b7f162350ddc386c3d774d3cfde3a9988c0d9d456a -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-05-07T20:08:29.920Z] + make test [2022-05-07T20:08:29.920Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-05-07T20:08:35.194Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-05-07T20:08:47.417Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-05-07T20:08:47.417Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-05-07T20:08:47.417Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-05-07T20:08:47.417Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.067s coverage: 23.3% of statements [2022-05-07T20:08:47.417Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-05-07T20:08:47.417Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.066s coverage: 27.6% of statements [2022-05-07T20:08:47.417Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.081s coverage: 78.9% of statements [2022-05-07T20:08:47.417Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.072s coverage: 10.8% of statements [2022-05-07T20:08:47.417Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.093s coverage: 60.0% of statements [2022-05-07T20:08:47.417Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-05-07T20:08:47.417Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-05-07T20:08:47.992Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.079s coverage: 34.8% of statements [2022-05-07T20:08:47.992Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-05-07T20:08:48.253Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.057s coverage: 86.1% of statements [2022-05-07T20:08:48.253Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-05-07T20:08:48.253Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-05-07T20:08:48.253Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.098s coverage: 65.1% of statements [2022-05-07T20:08:48.253Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.753s coverage: 89.2% of statements [2022-05-07T20:08:48.253Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-05-07T20:08:48.517Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.060s coverage: 4.7% of statements [2022-05-07T20:08:48.517Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-05-07T20:09:03.410Z] GO111MODULE=on go vet ./... [2022-05-07T20:09:05.950Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-05-07T20:09:06.211Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-05-07T20:09:06.211Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-05-07T20:09:06.794Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-05-07T20:09:06.813Z] $ docker stop --time=1 d38fa0d6a09a83c08cc1c0b7f162350ddc386c3d774d3cfde3a9988c0d9d456a [2022-05-07T20:09:09.441Z] $ docker rm -f d38fa0d6a09a83c08cc1c0b7f162350ddc386c3d774d3cfde3a9988c0d9d456a [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-07T20:09:09.982Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-05-07T20:09:10.050Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-05-07T20:09:10.670Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-05-07T20:09:10.962Z] + ls -al . [2022-05-07T20:09:10.962Z] total 296 [2022-05-07T20:09:10.962Z] drwxrwxr-x 11 jenkins jenkins 4096 May 7 20:09 . [2022-05-07T20:09:10.962Z] drwxrwxr-x 4 jenkins jenkins 4096 May 7 20:07 .. [2022-05-07T20:09:10.962Z] -rw-rw-r-- 1 jenkins jenkins 140 May 7 20:07 .dockerignore [2022-05-07T20:09:10.962Z] drwxrwxr-x 8 jenkins jenkins 4096 May 7 20:07 .git [2022-05-07T20:09:10.962Z] drwxrwxr-x 2 jenkins jenkins 4096 May 7 20:07 .github [2022-05-07T20:09:10.962Z] -rw-rw-r-- 1 jenkins jenkins 131 May 7 20:07 .gitignore [2022-05-07T20:09:10.962Z] -rw-rw-r-- 1 jenkins jenkins 42 May 7 20:07 .golangci.yml [2022-05-07T20:09:10.962Z] drwxr-xr-x 3 jenkins jenkins 4096 May 7 20:07 .semver [2022-05-07T20:09:10.962Z] -rw-rw-r-- 1 jenkins jenkins 28010 May 7 20:07 CHANGELOG.md [2022-05-07T20:09:10.962Z] -rw-rw-r-- 1 jenkins jenkins 677 May 7 20:07 GOVERNANCE.md [2022-05-07T20:09:10.962Z] -rw-rw-r-- 1 jenkins jenkins 880 May 7 20:07 Jenkinsfile [2022-05-07T20:09:10.962Z] -rw-rw-r-- 1 jenkins jenkins 11341 May 7 20:07 LICENSE [2022-05-07T20:09:10.962Z] -rw-rw-r-- 1 jenkins jenkins 2015 May 7 20:07 Makefile [2022-05-07T20:09:10.962Z] -rw-rw-r-- 1 jenkins jenkins 619 May 7 20:07 OWNERS.md [2022-05-07T20:09:10.962Z] -rw-rw-r-- 1 jenkins jenkins 4881 May 7 20:07 README.md [2022-05-07T20:09:10.962Z] -rw-rw-r-- 1 jenkins jenkins 5 May 7 20:07 VERSION [2022-05-07T20:09:10.962Z] drwxrwxr-x 2 jenkins jenkins 4096 May 7 20:07 bin [2022-05-07T20:09:10.962Z] -rw-r--r-- 1 jenkins jenkins 130819 May 7 20:08 coverage.out [2022-05-07T20:09:10.962Z] drwxrwxr-x 5 jenkins jenkins 4096 May 7 20:07 example [2022-05-07T20:09:10.962Z] -rw-rw-r-- 1 jenkins jenkins 3198 May 7 20:07 go.mod [2022-05-07T20:09:10.962Z] -rw-rw-r-- 1 jenkins jenkins 35003 May 7 20:07 go.sum [2022-05-07T20:09:10.962Z] drwxrwxr-x 15 jenkins jenkins 4096 May 7 20:07 internal [2022-05-07T20:09:10.962Z] drwxrwxr-x 3 jenkins jenkins 4096 May 7 20:07 openapi [2022-05-07T20:09:10.962Z] drwxrwxr-x 5 jenkins jenkins 4096 May 7 20:07 pkg [2022-05-07T20:09:10.962Z] drwxrwxr-x 4 jenkins jenkins 4096 May 7 20:07 snap [2022-05-07T20:09:10.962Z] -rw-rw-r-- 1 jenkins jenkins 222 May 7 20:07 version.go [Pipeline] isUnix [Pipeline] sh [2022-05-07T20:09:11.261Z] + 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=6a887373bb055dc946875f60d46cae4c18153317 --label arch=amd64 --label version=0.0.0 . [2022-05-07T20:09:11.261Z] Sending build context to Docker daemon 9.863MB [2022-05-07T20:09:11.261Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-05-07T20:09:11.261Z] Step 2/25 : FROM ${BASE} AS builder [2022-05-07T20:09:11.261Z] ---> dd5edbb2a481 [2022-05-07T20:09:11.261Z] Step 3/25 : ARG MAKE=make build [2022-05-07T20:09:11.522Z] ---> Running in b36d0abb9bdc [2022-05-07T20:09:11.783Z] Removing intermediate container b36d0abb9bdc [2022-05-07T20:09:11.783Z] ---> d357e9e4e819 [2022-05-07T20:09:11.783Z] Step 4/25 : WORKDIR /device-sdk-go [2022-05-07T20:09:11.783Z] ---> Running in 52cd537f5bd3 [2022-05-07T20:09:12.059Z] Removing intermediate container 52cd537f5bd3 [2022-05-07T20:09:12.059Z] ---> 4e196e696434 [2022-05-07T20:09:12.059Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-05-07T20:09:12.059Z] ---> Running in 35316319ec8e [2022-05-07T20:09:12.322Z] Removing intermediate container 35316319ec8e [2022-05-07T20:09:12.322Z] ---> 273563e964d7 [2022-05-07T20:09:12.322Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-07T20:09:12.322Z] ---> Running in 7dd5948364ad [2022-05-07T20:09:13.263Z] Removing intermediate container 7dd5948364ad [2022-05-07T20:09:13.263Z] ---> 5889157c078c [2022-05-07T20:09:13.263Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-05-07T20:09:13.263Z] ---> Running in 0c4d1b5dfc57 [2022-05-07T20:09:13.837Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-05-07T20:09:14.408Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-05-07T20:09:14.980Z] OK: 221 MiB in 52 packages [2022-05-07T20:09:15.241Z] Removing intermediate container 0c4d1b5dfc57 [2022-05-07T20:09:15.241Z] ---> 1d3d831f8189 [2022-05-07T20:09:15.241Z] Step 8/25 : COPY go.mod vendor* ./ [2022-05-07T20:09:15.241Z] ---> 701ce3f8f9b0 [2022-05-07T20:09:15.241Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-07T20:09:15.502Z] ---> Running in 53ab6729d897 [2022-05-07T20:09:16.071Z] Removing intermediate container 53ab6729d897 [2022-05-07T20:09:16.072Z] ---> 02a207474d23 [2022-05-07T20:09:16.072Z] Step 10/25 : COPY . . [2022-05-07T20:09:16.640Z] ---> b795874f6037 [2022-05-07T20:09:16.640Z] Step 11/25 : RUN ${MAKE} [2022-05-07T20:09:16.640Z] ---> Running in 7c98cefe15d9 [2022-05-07T20:09:16.899Z] 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-07T20:09:35.005Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-05-07T20:09:36.914Z] Removing intermediate container 7c98cefe15d9 [2022-05-07T20:09:36.914Z] ---> f9e3d9355da3 [2022-05-07T20:09:36.914Z] Step 12/25 : FROM alpine:3.14 [2022-05-07T20:09:37.481Z] 3.14: Pulling from library/alpine [2022-05-07T20:09:37.739Z] 8663204ce13b: Pulling fs layer [2022-05-07T20:09:37.739Z] 8663204ce13b: Verifying Checksum [2022-05-07T20:09:37.739Z] 8663204ce13b: Download complete [2022-05-07T20:09:38.002Z] 8663204ce13b: Pull complete [2022-05-07T20:09:38.002Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-05-07T20:09:38.002Z] Status: Downloaded newer image for alpine:3.14 [2022-05-07T20:09:38.002Z] ---> e04c818066af [2022-05-07T20:09:38.002Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-05-07T20:09:38.260Z] ---> Running in 8a20dcd22f6f [2022-05-07T20:09:38.261Z] Removing intermediate container 8a20dcd22f6f [2022-05-07T20:09:38.261Z] ---> cae5c3fe627f [2022-05-07T20:09:38.261Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-07T20:09:38.261Z] ---> Running in 4f6d81040be8 [2022-05-07T20:09:38.830Z] Removing intermediate container 4f6d81040be8 [2022-05-07T20:09:38.830Z] ---> c94242eabe2d [2022-05-07T20:09:38.830Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-05-07T20:09:39.090Z] ---> Running in e52a1a183be4 [2022-05-07T20:09:39.352Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-05-07T20:09:40.291Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-05-07T20:09:40.551Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2022-05-07T20:09:40.551Z] (2/5) Installing libsodium (1.0.18-r0) [2022-05-07T20:09:40.551Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2022-05-07T20:09:40.812Z] (4/5) Installing libzmq (4.3.4-r0) [2022-05-07T20:09:40.812Z] (5/5) Installing zeromq (4.3.4-r0) [2022-05-07T20:09:40.812Z] Executing busybox-1.33.1-r7.trigger [2022-05-07T20:09:40.812Z] OK: 8 MiB in 19 packages [2022-05-07T20:09:41.760Z] Removing intermediate container e52a1a183be4 [2022-05-07T20:09:41.760Z] ---> 9ea6ab237e8f [2022-05-07T20:09:41.760Z] Step 16/25 : WORKDIR / [2022-05-07T20:09:42.020Z] ---> Running in f001763ebb0e [2022-05-07T20:09:42.281Z] Removing intermediate container f001763ebb0e [2022-05-07T20:09:42.281Z] ---> ce170e8a4164 [2022-05-07T20:09:42.281Z] Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-05-07T20:09:42.281Z] ---> 49f1b0f94faf [2022-05-07T20:09:42.281Z] Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-05-07T20:09:43.219Z] ---> 363225d545ec [2022-05-07T20:09:43.219Z] Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-05-07T20:09:43.479Z] ---> 8ac20705f293 [2022-05-07T20:09:43.479Z] Step 20/25 : EXPOSE 59999 [2022-05-07T20:09:43.479Z] ---> Running in 435359fcbe6c [2022-05-07T20:09:43.479Z] Removing intermediate container 435359fcbe6c [2022-05-07T20:09:43.479Z] ---> e16b495424a3 [2022-05-07T20:09:43.479Z] Step 21/25 : ENTRYPOINT ["/device-simple"] [2022-05-07T20:09:43.738Z] ---> Running in dc3d0e1fe35a [2022-05-07T20:09:43.738Z] Removing intermediate container dc3d0e1fe35a [2022-05-07T20:09:43.738Z] ---> 9d8bfdcc3fa3 [2022-05-07T20:09:43.738Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-05-07T20:09:43.738Z] ---> Running in 7c5795f925f7 [2022-05-07T20:09:43.997Z] Removing intermediate container 7c5795f925f7 [2022-05-07T20:09:43.997Z] ---> e7add27b1744 [2022-05-07T20:09:43.997Z] Step 23/25 : LABEL arch=amd64 [2022-05-07T20:09:44.257Z] ---> Running in 6e076f126da8 [2022-05-07T20:09:44.516Z] Removing intermediate container 6e076f126da8 [2022-05-07T20:09:44.516Z] ---> 71f5374ef0c2 [2022-05-07T20:09:44.516Z] Step 24/25 : LABEL git_sha=6a887373bb055dc946875f60d46cae4c18153317 [2022-05-07T20:09:44.516Z] ---> Running in 96b888c8ccb0 [2022-05-07T20:09:44.779Z] Removing intermediate container 96b888c8ccb0 [2022-05-07T20:09:44.779Z] ---> ce4285ce875c [2022-05-07T20:09:44.779Z] Step 25/25 : LABEL version=0.0.0 [2022-05-07T20:09:44.779Z] ---> Running in b7eb91c88b48 [2022-05-07T20:09:45.039Z] Removing intermediate container b7eb91c88b48 [2022-05-07T20:09:45.039Z] ---> e76e1dc32089 [2022-05-07T20:09:45.039Z] [Warning] One or more build-args [ARCH] were not consumed [2022-05-07T20:09:45.039Z] Successfully built e76e1dc32089 [2022-05-07T20:09:45.039Z] 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-07T20:09:45.432Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-07T20:09:45.432Z] [2022-05-07T20:09:45.432Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-05-07T20:09:45.731Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-07T20:09:45.731Z] latest: Pulling from edgex-lftools-log-publisher [2022-05-07T20:09:45.731Z] 5eb5b503b376: Pulling fs layer [2022-05-07T20:09:45.731Z] 5c69ac0246d0: Pulling fs layer [2022-05-07T20:09:45.731Z] ec43610c2a17: Pulling fs layer [2022-05-07T20:09:45.731Z] 3a2ae6a8a46f: Pulling fs layer [2022-05-07T20:09:45.731Z] 33b1e0a273af: Pulling fs layer [2022-05-07T20:09:45.731Z] 5d3b04190fa2: Pulling fs layer [2022-05-07T20:09:45.731Z] 2f39f015ded8: Pulling fs layer [2022-05-07T20:09:45.731Z] 33b1e0a273af: Waiting [2022-05-07T20:09:45.731Z] 5d3b04190fa2: Waiting [2022-05-07T20:09:45.731Z] 3a2ae6a8a46f: Waiting [2022-05-07T20:09:45.731Z] 2f39f015ded8: Waiting [2022-05-07T20:09:45.731Z] 5c69ac0246d0: Download complete [2022-05-07T20:09:45.731Z] 3a2ae6a8a46f: Download complete [2022-05-07T20:09:45.731Z] 33b1e0a273af: Verifying Checksum [2022-05-07T20:09:45.731Z] 33b1e0a273af: Download complete [2022-05-07T20:09:45.731Z] ec43610c2a17: Verifying Checksum [2022-05-07T20:09:45.731Z] ec43610c2a17: Download complete [2022-05-07T20:09:45.731Z] 5d3b04190fa2: Verifying Checksum [2022-05-07T20:09:45.731Z] 5d3b04190fa2: Download complete [2022-05-07T20:09:45.992Z] 5eb5b503b376: Verifying Checksum [2022-05-07T20:09:45.992Z] 5eb5b503b376: Download complete [2022-05-07T20:09:46.561Z] 2f39f015ded8: Verifying Checksum [2022-05-07T20:09:46.561Z] 2f39f015ded8: Download complete [2022-05-07T20:09:47.128Z] 5eb5b503b376: Pull complete [2022-05-07T20:09:47.390Z] 5c69ac0246d0: Pull complete [2022-05-07T20:09:47.650Z] ec43610c2a17: Pull complete [2022-05-07T20:09:47.910Z] 3a2ae6a8a46f: Pull complete [2022-05-07T20:09:48.169Z] 33b1e0a273af: Pull complete [2022-05-07T20:09:48.169Z] 5d3b04190fa2: Pull complete [2022-05-07T20:09:52.420Z] 2f39f015ded8: Pull complete [2022-05-07T20:09:52.420Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-05-07T20:09:52.712Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-07T20:09:52.712Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-05-07T20:09:52.794Z] prd-ubuntu20.04-docker-8c-8g-41409 does not seem to be running inside a container [2022-05-07T20:09:52.840Z] $ 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-1156 -v /w/workspace/gexfoundry_device-sdk-go_PR-1156:/w/workspace/gexfoundry_device-sdk-go_PR-1156:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1156@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1156@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-05-07T20:09:55.454Z] $ docker top eb2b837352254a2ba176f2b9bf28ea8143d183364abd1b7e3e967601f28d6ee6 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-07T20:09:55.885Z] ---> job-cost.sh [2022-05-07T20:09:55.885Z] lf-activate-venv: SKIPPING [2022-05-07T20:09:55.885Z] INFO: No Stack... [2022-05-07T20:09:56.147Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-05-07T20:09:56.718Z] INFO: Archiving Costs [Pipeline] sh [2022-05-07T20:09:57.008Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1156/archives/cost.csv [2022-05-07T20:09:57.008Z] + cut -d, -f6 [Pipeline] lock [2022-05-07T20:09:57.027Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1156-2-stack-cost] [2022-05-07T20:09:57.041Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1156-2-stack-cost] did not exist. Created. [2022-05-07T20:09:57.041Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1156-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-05-07T20:09:57.351Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-05-07T20:09:57.379Z] Stashed 1 file(s) [Pipeline] } [2022-05-07T20:09:57.386Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1156-2-stack-cost] [Pipeline] // lock [Pipeline] } [2022-05-07T20:09:57.412Z] $ docker stop --time=1 eb2b837352254a2ba176f2b9bf28ea8143d183364abd1b7e3e967601f28d6ee6 [2022-05-07T20:09:58.609Z] $ docker rm -f eb2b837352254a2ba176f2b9bf28ea8143d183364abd1b7e3e967601f28d6ee6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-05-07T20:10:56.235Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-41411 in /w/workspace/gexfoundry_device-sdk-go_PR-1156 [Pipeline] { [Pipeline] ws [2022-05-07T20:10:56.248Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2022-05-07T20:10:56.550Z] The recommended git tool is: git [2022-05-07T20:11:02.573Z] using credential edgex-jenkins-ssh [2022-05-07T20:11:02.594Z] Cloning the remote Git repository [2022-05-07T20:11:02.664Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2022-05-07T20:11:02.740Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2022-05-07T20:11:02.831Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-05-07T20:11:02.831Z] > git --version # timeout=10 [2022-05-07T20:11:02.850Z] > git --version # 'git version 2.25.1' [2022-05-07T20:11:02.852Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-05-07T20:11:02.924Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-05-07T20:11:05.177Z] Merging remotes/origin/main commit cc37b9e2c9629ca07e46878051115594cd22d281 into PR head commit 6a887373bb055dc946875f60d46cae4c18153317 [2022-05-07T20:11:05.405Z] Merge succeeded, producing 6a887373bb055dc946875f60d46cae4c18153317 [2022-05-07T20:11:05.405Z] Checking out Revision 6a887373bb055dc946875f60d46cae4c18153317 (PR-1156) [2022-05-07T20:11:04.419Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-05-07T20:11:04.442Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-05-07T20:11:04.473Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-05-07T20:11:04.512Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-05-07T20:11:04.513Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-05-07T20:11:04.527Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1156/head:refs/remotes/origin/PR-1156 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-05-07T20:11:05.201Z] > git config core.sparsecheckout # timeout=10 [2022-05-07T20:11:05.220Z] > git checkout -f 6a887373bb055dc946875f60d46cae4c18153317 # timeout=10 [2022-05-07T20:11:05.329Z] > git remote # timeout=10 [2022-05-07T20:11:05.347Z] > git config --get remote.origin.url # timeout=10 [2022-05-07T20:11:05.359Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-05-07T20:11:05.371Z] > git merge cc37b9e2c9629ca07e46878051115594cd22d281 # timeout=10 [2022-05-07T20:11:05.395Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-05-07T20:11:05.417Z] > git config core.sparsecheckout # timeout=10 [2022-05-07T20:11:05.428Z] > git checkout -f 6a887373bb055dc946875f60d46cae4c18153317 # timeout=10 [2022-05-07T20:11:09.768Z] Commit message: "docs: change the go mod references in Changelog" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-05-07T20:11:10.695Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-05-07T20:11:10.695Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-05-07T20:11:10.695Z] Dload Upload Total Spent Left Speed [2022-05-07T20:11:10.695Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 96284 0 --:--:-- --:--:-- --:--:-- 97073 [Pipeline] sh [2022-05-07T20:11:11.251Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-05-07T20:11:11.606Z] + sudo tee /etc/docker/daemon.new [2022-05-07T20:11:11.606Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-05-07T20:11:11.606Z] { [2022-05-07T20:11:11.606Z] "registry-mirrors": [ [2022-05-07T20:11:11.606Z] "https://nexus3.edgexfoundry.org:10001" [2022-05-07T20:11:11.606Z] ], [2022-05-07T20:11:11.606Z] "bip": "10.250.0.254/24", [2022-05-07T20:11:11.606Z] "hosts": [ [2022-05-07T20:11:11.606Z] "tcp://0.0.0.0:5555", [2022-05-07T20:11:11.606Z] "unix:///var/run/docker.sock" [2022-05-07T20:11:11.606Z] ], [2022-05-07T20:11:11.606Z] "mtu": 1458, [2022-05-07T20:11:11.606Z] "selinux-enabled": true, [2022-05-07T20:11:11.606Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-05-07T20:11:11.606Z] } [Pipeline] sh [2022-05-07T20:11:11.963Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-05-07T20:11:12.468Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-07T20:11:30.856Z] provisioning config files... [2022-05-07T20:11:30.889Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config3021187039351282269tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-07T20:11:31.273Z] ---> docker-login.sh [2022-05-07T20:11:31.273Z] nexus3.edgexfoundry.org:10001 [2022-05-07T20:11:32.710Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-07T20:11:32.710Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-07T20:11:32.710Z] Configure a credential helper to remove this warning. See [2022-05-07T20:11:32.710Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-07T20:11:32.710Z] [2022-05-07T20:11:32.710Z] Login Succeeded [2022-05-07T20:11:32.710Z] nexus3.edgexfoundry.org:10002 [2022-05-07T20:11:33.310Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-07T20:11:33.310Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-07T20:11:33.310Z] Configure a credential helper to remove this warning. See [2022-05-07T20:11:33.310Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-07T20:11:33.310Z] [2022-05-07T20:11:33.310Z] Login Succeeded [2022-05-07T20:11:33.310Z] nexus3.edgexfoundry.org:10003 [2022-05-07T20:11:33.589Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-07T20:11:33.863Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-07T20:11:33.863Z] Configure a credential helper to remove this warning. See [2022-05-07T20:11:33.863Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-07T20:11:33.863Z] [2022-05-07T20:11:33.863Z] Login Succeeded [2022-05-07T20:11:33.863Z] nexus3.edgexfoundry.org:10004 [2022-05-07T20:11:34.138Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-07T20:11:34.412Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-07T20:11:34.412Z] Configure a credential helper to remove this warning. See [2022-05-07T20:11:34.412Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-07T20:11:34.412Z] [2022-05-07T20:11:34.412Z] Login Succeeded [2022-05-07T20:11:34.412Z] docker.io [2022-05-07T20:11:34.689Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-07T20:11:35.289Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-07T20:11:35.289Z] Configure a credential helper to remove this warning. See [2022-05-07T20:11:35.289Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-07T20:11:35.289Z] [2022-05-07T20:11:35.289Z] Login Succeeded [2022-05-07T20:11:35.289Z] ---> docker-login.sh ends [Pipeline] } [2022-05-07T20:11:35.307Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-05-07T20:11:35.895Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-05-07T20:11:35.911Z] ========================================================= [2022-05-07T20:11:35.911Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-05-07T20:11:35.911Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-05-07T20:11:36.261Z] + 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-07T20:11:36.872Z] Sending build context to Docker daemon 5.254MB [2022-05-07T20:11:36.872Z] Step 1/11 : ARG BASE=golang:1.17-alpine3.15 [2022-05-07T20:11:36.872Z] Step 2/11 : FROM ${BASE} AS builder [2022-05-07T20:11:36.872Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-05-07T20:11:36.872Z] 9b3977197b4f: Pulling fs layer [2022-05-07T20:11:36.872Z] 1a89e8eeedd5: Pulling fs layer [2022-05-07T20:11:36.872Z] 94645a83ff95: Pulling fs layer [2022-05-07T20:11:36.872Z] 3f3a8bcf1eab: Pulling fs layer [2022-05-07T20:11:36.872Z] 0c92f367c5e7: Pulling fs layer [2022-05-07T20:11:36.872Z] 3096ccb668a1: Pulling fs layer [2022-05-07T20:11:36.872Z] e8cf19c19ddd: Pulling fs layer [2022-05-07T20:11:36.872Z] a4caa8a26152: Pulling fs layer [2022-05-07T20:11:36.872Z] 3f3a8bcf1eab: Waiting [2022-05-07T20:11:36.872Z] e8cf19c19ddd: Waiting [2022-05-07T20:11:36.872Z] 3096ccb668a1: Waiting [2022-05-07T20:11:36.872Z] a4caa8a26152: Waiting [2022-05-07T20:11:36.872Z] 94645a83ff95: Verifying Checksum [2022-05-07T20:11:36.872Z] 94645a83ff95: Download complete [2022-05-07T20:11:36.872Z] 1a89e8eeedd5: Verifying Checksum [2022-05-07T20:11:36.872Z] 1a89e8eeedd5: Download complete [2022-05-07T20:11:36.872Z] 0c92f367c5e7: Verifying Checksum [2022-05-07T20:11:36.872Z] 0c92f367c5e7: Download complete [2022-05-07T20:11:37.154Z] 3096ccb668a1: Verifying Checksum [2022-05-07T20:11:37.154Z] 3096ccb668a1: Download complete [2022-05-07T20:11:37.154Z] 9b3977197b4f: Verifying Checksum [2022-05-07T20:11:37.154Z] 9b3977197b4f: Download complete [2022-05-07T20:11:37.154Z] e8cf19c19ddd: Verifying Checksum [2022-05-07T20:11:37.154Z] e8cf19c19ddd: Download complete [2022-05-07T20:11:37.755Z] 9b3977197b4f: Pull complete [2022-05-07T20:11:38.365Z] 1a89e8eeedd5: Pull complete [2022-05-07T20:11:38.651Z] 94645a83ff95: Pull complete [2022-05-07T20:11:39.250Z] a4caa8a26152: Verifying Checksum [2022-05-07T20:11:39.250Z] a4caa8a26152: Download complete [2022-05-07T20:11:39.848Z] 3f3a8bcf1eab: Verifying Checksum [2022-05-07T20:11:39.848Z] 3f3a8bcf1eab: Download complete [2022-05-07T20:11:52.276Z] 3f3a8bcf1eab: Pull complete [2022-05-07T20:11:52.276Z] 0c92f367c5e7: Pull complete [2022-05-07T20:11:52.276Z] 3096ccb668a1: Pull complete [2022-05-07T20:11:52.551Z] e8cf19c19ddd: Pull complete [2022-05-07T20:11:59.283Z] a4caa8a26152: Pull complete [2022-05-07T20:11:59.283Z] Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 [2022-05-07T20:11:59.283Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-05-07T20:11:59.283Z] ---> 725f1c02e7f9 [2022-05-07T20:11:59.283Z] Step 3/11 : ARG MAKE=make build [2022-05-07T20:12:00.283Z] ---> Running in 044314fa754c [2022-05-07T20:12:00.888Z] Removing intermediate container 044314fa754c [2022-05-07T20:12:00.888Z] ---> 0159faae4f69 [2022-05-07T20:12:00.888Z] Step 4/11 : WORKDIR /device-sdk-go [2022-05-07T20:12:00.888Z] ---> Running in 3e8f41ccd814 [2022-05-07T20:12:01.160Z] Removing intermediate container 3e8f41ccd814 [2022-05-07T20:12:01.160Z] ---> 0044e56fd8e8 [2022-05-07T20:12:01.160Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-05-07T20:12:01.430Z] ---> Running in 3a6e69f7b9a2 [2022-05-07T20:12:02.862Z] Removing intermediate container 3a6e69f7b9a2 [2022-05-07T20:12:02.862Z] ---> 86dbe7fffe7a [2022-05-07T20:12:02.862Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-07T20:12:02.862Z] ---> Running in 38d322f5c867 [2022-05-07T20:12:04.837Z] Removing intermediate container 38d322f5c867 [2022-05-07T20:12:04.837Z] ---> 53321d9a93e2 [2022-05-07T20:12:04.837Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-05-07T20:12:04.837Z] ---> Running in 81bc62412315 [2022-05-07T20:12:05.825Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-05-07T20:12:06.809Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-05-07T20:12:07.789Z] OK: 220 MiB in 52 packages [2022-05-07T20:12:08.395Z] Removing intermediate container 81bc62412315 [2022-05-07T20:12:08.395Z] ---> 5091f17b73c5 [2022-05-07T20:12:08.395Z] Step 8/11 : COPY go.mod vendor* ./ [2022-05-07T20:12:08.994Z] ---> 75d0c4890683 [2022-05-07T20:12:08.994Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-07T20:12:08.994Z] ---> Running in 15d556ecf075 [2022-05-07T20:13:05.559Z] Removing intermediate container 15d556ecf075 [2022-05-07T20:13:05.559Z] ---> 73f5278df7ff [2022-05-07T20:13:05.559Z] Step 10/11 : COPY . . [2022-05-07T20:13:05.559Z] ---> 9c906683192b [2022-05-07T20:13:05.559Z] Step 11/11 : RUN ${MAKE} [2022-05-07T20:13:05.559Z] ---> Running in cd09ebd4ca91 [2022-05-07T20:13:05.559Z] noop [2022-05-07T20:13:05.559Z] Removing intermediate container cd09ebd4ca91 [2022-05-07T20:13:05.559Z] ---> 2e7570f9f6f5 [2022-05-07T20:13:05.559Z] Successfully built 2e7570f9f6f5 [2022-05-07T20:13:05.559Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-05-07T20:13:05.916Z] + docker inspect -f . ci-base-image-arm64 [2022-05-07T20:13:05.916Z] . [Pipeline] withDockerContainer [2022-05-07T20:13:06.182Z] prd-ubuntu20.04-docker-arm64-4c-16g-41411 does not seem to be running inside a container [2022-05-07T20:13:06.277Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-05-07T20:13:07.707Z] $ docker top 8048acb32449a789e1fbc0f88cba1ba53272d8a3e718eacf6f25f5356fb61276 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-07T20:13:08.623Z] + go version [2022-05-07T20:13:08.623Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-05-07T20:13:08.654Z] $ docker stop --time=1 8048acb32449a789e1fbc0f88cba1ba53272d8a3e718eacf6f25f5356fb61276 [2022-05-07T20:13:10.327Z] $ docker rm -f 8048acb32449a789e1fbc0f88cba1ba53272d8a3e718eacf6f25f5356fb61276 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-07T20:13:10.916Z] + docker inspect -f . ci-base-image-arm64 [2022-05-07T20:13:10.916Z] . [Pipeline] withDockerContainer [2022-05-07T20:13:11.142Z] prd-ubuntu20.04-docker-arm64-4c-16g-41411 does not seem to be running inside a container [2022-05-07T20:13:11.233Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-05-07T20:13:12.506Z] $ docker top 5d0fb895f47d8d73e1abd5ff18a7a615439a7cfed1ef91ebedfec94ed4d2086d -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-05-07T20:13:13.420Z] + make test [2022-05-07T20:13:13.420Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-05-07T20:13:45.794Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-05-07T20:15:37.719Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-05-07T20:15:37.719Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-05-07T20:15:37.719Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-05-07T20:15:42.077Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.366s coverage: 23.3% of statements [2022-05-07T20:15:42.077Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-05-07T20:15:42.077Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.260s coverage: 27.6% of statements [2022-05-07T20:15:42.077Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.311s coverage: 78.9% of statements [2022-05-07T20:15:42.077Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.284s coverage: 10.8% of statements [2022-05-07T20:15:46.415Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.483s coverage: 60.0% of statements [2022-05-07T20:15:46.415Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-05-07T20:15:46.415Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-05-07T20:15:49.844Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.541s coverage: 34.8% of statements [2022-05-07T20:15:49.844Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-05-07T20:15:51.292Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.278s coverage: 86.1% of statements [2022-05-07T20:15:51.292Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-05-07T20:15:51.292Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-05-07T20:15:51.292Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.535s coverage: 65.1% of statements [2022-05-07T20:15:53.972Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.198s coverage: 89.2% of statements [2022-05-07T20:15:53.972Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-05-07T20:15:57.409Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.276s coverage: 4.7% of statements [2022-05-07T20:15:57.409Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-05-07T20:15:58.031Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-05-07T20:15:58.031Z] GO111MODULE=on go vet ./... [2022-05-07T20:17:35.069Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-05-07T20:17:35.069Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-05-07T20:17:35.069Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-05-07T20:17:35.096Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-05-07T20:17:35.110Z] $ docker stop --time=1 5d0fb895f47d8d73e1abd5ff18a7a615439a7cfed1ef91ebedfec94ed4d2086d [2022-05-07T20:17:36.939Z] $ docker rm -f 5d0fb895f47d8d73e1abd5ff18a7a615439a7cfed1ef91ebedfec94ed4d2086d [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-07T20:17:38.298Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-05-07T20:17:38.325Z] Warning: overwriting stash ‘coverage-report’ [2022-05-07T20:17:38.951Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-05-07T20:17:39.367Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-05-07T20:17:39.710Z] + ls -al . [2022-05-07T20:17:39.710Z] total 292 [2022-05-07T20:17:39.710Z] drwxrwxr-x 10 jenkins jenkins 4096 May 7 20:17 . [2022-05-07T20:17:39.710Z] drwxrwxr-x 4 jenkins jenkins 4096 May 7 20:11 .. [2022-05-07T20:17:39.710Z] -rw-rw-r-- 1 jenkins jenkins 140 May 7 20:11 .dockerignore [2022-05-07T20:17:39.710Z] drwxrwxr-x 8 jenkins jenkins 4096 May 7 20:11 .git [2022-05-07T20:17:39.710Z] drwxrwxr-x 2 jenkins jenkins 4096 May 7 20:11 .github [2022-05-07T20:17:39.710Z] -rw-rw-r-- 1 jenkins jenkins 131 May 7 20:11 .gitignore [2022-05-07T20:17:39.710Z] -rw-rw-r-- 1 jenkins jenkins 42 May 7 20:11 .golangci.yml [2022-05-07T20:17:39.710Z] -rw-rw-r-- 1 jenkins jenkins 28010 May 7 20:11 CHANGELOG.md [2022-05-07T20:17:39.710Z] -rw-rw-r-- 1 jenkins jenkins 677 May 7 20:11 GOVERNANCE.md [2022-05-07T20:17:39.710Z] -rw-rw-r-- 1 jenkins jenkins 880 May 7 20:11 Jenkinsfile [2022-05-07T20:17:39.710Z] -rw-rw-r-- 1 jenkins jenkins 11341 May 7 20:11 LICENSE [2022-05-07T20:17:39.710Z] -rw-rw-r-- 1 jenkins jenkins 2015 May 7 20:11 Makefile [2022-05-07T20:17:39.710Z] -rw-rw-r-- 1 jenkins jenkins 619 May 7 20:11 OWNERS.md [2022-05-07T20:17:39.710Z] -rw-rw-r-- 1 jenkins jenkins 4881 May 7 20:11 README.md [2022-05-07T20:17:39.710Z] -rw-rw-r-- 1 jenkins jenkins 5 May 7 20:07 VERSION [2022-05-07T20:17:39.710Z] drwxrwxr-x 2 jenkins jenkins 4096 May 7 20:11 bin [2022-05-07T20:17:39.710Z] -rw-r--r-- 1 jenkins jenkins 130819 May 7 20:15 coverage.out [2022-05-07T20:17:39.710Z] drwxrwxr-x 5 jenkins jenkins 4096 May 7 20:11 example [2022-05-07T20:17:39.710Z] -rw-rw-r-- 1 jenkins jenkins 3198 May 7 20:11 go.mod [2022-05-07T20:17:39.710Z] -rw-rw-r-- 1 jenkins jenkins 35003 May 7 20:11 go.sum [2022-05-07T20:17:39.710Z] drwxrwxr-x 15 jenkins jenkins 4096 May 7 20:11 internal [2022-05-07T20:17:39.710Z] drwxrwxr-x 3 jenkins jenkins 4096 May 7 20:11 openapi [2022-05-07T20:17:39.710Z] drwxrwxr-x 5 jenkins jenkins 4096 May 7 20:11 pkg [2022-05-07T20:17:39.710Z] drwxrwxr-x 4 jenkins jenkins 4096 May 7 20:11 snap [2022-05-07T20:17:39.710Z] -rw-rw-r-- 1 jenkins jenkins 222 May 7 20:11 version.go [Pipeline] isUnix [Pipeline] sh [2022-05-07T20:17:40.066Z] + 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=6a887373bb055dc946875f60d46cae4c18153317 --label arch=arm64 --label version=0.0.0 . [2022-05-07T20:17:40.667Z] Sending build context to Docker daemon 5.386MB [2022-05-07T20:17:40.667Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-05-07T20:17:40.667Z] Step 2/25 : FROM ${BASE} AS builder [2022-05-07T20:17:40.667Z] ---> 2e7570f9f6f5 [2022-05-07T20:17:40.667Z] Step 3/25 : ARG MAKE=make build [2022-05-07T20:17:40.667Z] ---> Running in c658716da2ce [2022-05-07T20:17:40.943Z] Removing intermediate container c658716da2ce [2022-05-07T20:17:40.943Z] ---> 245c357624d9 [2022-05-07T20:17:40.943Z] Step 4/25 : WORKDIR /device-sdk-go [2022-05-07T20:17:40.943Z] ---> Running in 243055f2d78a [2022-05-07T20:17:41.547Z] Removing intermediate container 243055f2d78a [2022-05-07T20:17:41.547Z] ---> 3558b72954f5 [2022-05-07T20:17:41.547Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-05-07T20:17:41.547Z] ---> Running in 00ed699ccb66 [2022-05-07T20:17:41.819Z] Removing intermediate container 00ed699ccb66 [2022-05-07T20:17:41.819Z] ---> f5932562bc07 [2022-05-07T20:17:41.819Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-07T20:17:41.819Z] ---> Running in 5e88a5b259d4 [2022-05-07T20:17:43.813Z] Removing intermediate container 5e88a5b259d4 [2022-05-07T20:17:43.813Z] ---> 0b31ed805e90 [2022-05-07T20:17:43.813Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-05-07T20:17:43.813Z] ---> Running in fd69b26d2739 [2022-05-07T20:17:44.792Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-05-07T20:17:45.770Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-05-07T20:17:46.364Z] OK: 220 MiB in 52 packages [2022-05-07T20:17:47.348Z] Removing intermediate container fd69b26d2739 [2022-05-07T20:17:47.348Z] ---> 573f0e840e14 [2022-05-07T20:17:47.348Z] Step 8/25 : COPY go.mod vendor* ./ [2022-05-07T20:17:47.942Z] ---> 20cb38e83add [2022-05-07T20:17:47.942Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-07T20:17:47.942Z] ---> Running in aac30b322ad8 [2022-05-07T20:17:49.918Z] Removing intermediate container aac30b322ad8 [2022-05-07T20:17:49.918Z] ---> 5454fa664469 [2022-05-07T20:17:49.918Z] Step 10/25 : COPY . . [2022-05-07T20:17:51.349Z] ---> 464ae59f0bbe [2022-05-07T20:17:51.349Z] Step 11/25 : RUN ${MAKE} [2022-05-07T20:17:51.349Z] ---> Running in 3f2e37625001 [2022-05-07T20:17:52.327Z] 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-07T20:19:59.181Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-05-07T20:20:01.832Z] Removing intermediate container 3f2e37625001 [2022-05-07T20:20:01.832Z] ---> 29459e3b4057 [2022-05-07T20:20:01.832Z] Step 12/25 : FROM alpine:3.14 [2022-05-07T20:20:02.814Z] 3.14: Pulling from library/alpine [2022-05-07T20:20:02.814Z] 455c02918c45: Pulling fs layer [2022-05-07T20:20:03.087Z] 455c02918c45: Verifying Checksum [2022-05-07T20:20:03.087Z] 455c02918c45: Download complete [2022-05-07T20:20:03.691Z] 455c02918c45: Pull complete [2022-05-07T20:20:03.691Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-05-07T20:20:03.691Z] Status: Downloaded newer image for alpine:3.14 [2022-05-07T20:20:03.691Z] ---> ac73e934f311 [2022-05-07T20:20:03.691Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-05-07T20:20:03.964Z] ---> Running in af1eb1673d4c [2022-05-07T20:20:04.238Z] Removing intermediate container af1eb1673d4c [2022-05-07T20:20:04.238Z] ---> 2fd309a515b6 [2022-05-07T20:20:04.238Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-07T20:20:04.238Z] ---> Running in 21ef1b35fb2a [2022-05-07T20:20:06.210Z] Removing intermediate container 21ef1b35fb2a [2022-05-07T20:20:06.211Z] ---> 4aba37b9bad2 [2022-05-07T20:20:06.211Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-05-07T20:20:06.211Z] ---> Running in 14ba1468cfde [2022-05-07T20:20:07.189Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-05-07T20:20:07.790Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-05-07T20:20:08.771Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2022-05-07T20:20:08.771Z] (2/5) Installing libsodium (1.0.18-r0) [2022-05-07T20:20:09.045Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2022-05-07T20:20:09.045Z] (4/5) Installing libzmq (4.3.4-r0) [2022-05-07T20:20:09.321Z] (5/5) Installing zeromq (4.3.4-r0) [2022-05-07T20:20:09.321Z] Executing busybox-1.33.1-r7.trigger [2022-05-07T20:20:09.321Z] OK: 8 MiB in 19 packages [2022-05-07T20:20:10.308Z] Removing intermediate container 14ba1468cfde [2022-05-07T20:20:10.308Z] ---> d1658c6996d2 [2022-05-07T20:20:10.308Z] Step 16/25 : WORKDIR / [2022-05-07T20:20:10.308Z] ---> Running in f8010cf8dde4 [2022-05-07T20:20:10.588Z] Removing intermediate container f8010cf8dde4 [2022-05-07T20:20:10.588Z] ---> ec58435cec3d [2022-05-07T20:20:10.588Z] Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-05-07T20:20:11.185Z] ---> 661596e28daf [2022-05-07T20:20:11.185Z] Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-05-07T20:20:13.164Z] ---> f0517585ea44 [2022-05-07T20:20:13.164Z] Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-05-07T20:20:13.437Z] ---> a46a6b940f39 [2022-05-07T20:20:13.437Z] Step 20/25 : EXPOSE 59999 [2022-05-07T20:20:13.726Z] ---> Running in a8fe6181a51b [2022-05-07T20:20:13.999Z] Removing intermediate container a8fe6181a51b [2022-05-07T20:20:13.999Z] ---> bed75762a3d6 [2022-05-07T20:20:13.999Z] Step 21/25 : ENTRYPOINT ["/device-simple"] [2022-05-07T20:20:13.999Z] ---> Running in 95be4cb2f0a7 [2022-05-07T20:20:14.277Z] Removing intermediate container 95be4cb2f0a7 [2022-05-07T20:20:14.277Z] ---> eeacbfbbc3c4 [2022-05-07T20:20:14.277Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-05-07T20:20:14.564Z] ---> Running in 96ca2da4dcf1 [2022-05-07T20:20:14.838Z] Removing intermediate container 96ca2da4dcf1 [2022-05-07T20:20:14.838Z] ---> ce74ac59c032 [2022-05-07T20:20:14.838Z] Step 23/25 : LABEL arch=arm64 [2022-05-07T20:20:14.838Z] ---> Running in 28a48d59f0cc [2022-05-07T20:20:15.119Z] Removing intermediate container 28a48d59f0cc [2022-05-07T20:20:15.119Z] ---> 0528a0f78f0a [2022-05-07T20:20:15.119Z] Step 24/25 : LABEL git_sha=6a887373bb055dc946875f60d46cae4c18153317 [2022-05-07T20:20:15.397Z] ---> Running in 80f023c5c6a1 [2022-05-07T20:20:15.670Z] Removing intermediate container 80f023c5c6a1 [2022-05-07T20:20:15.670Z] ---> 96d8411eaa9a [2022-05-07T20:20:15.670Z] Step 25/25 : LABEL version=0.0.0 [2022-05-07T20:20:15.670Z] ---> Running in 2e3a11c4990a [2022-05-07T20:20:15.943Z] Removing intermediate container 2e3a11c4990a [2022-05-07T20:20:15.943Z] ---> 142bf30dfa87 [2022-05-07T20:20:15.943Z] [Warning] One or more build-args [ARCH] were not consumed [2022-05-07T20:20:16.216Z] Successfully built 142bf30dfa87 [2022-05-07T20:20:16.216Z] 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-07T20:20:16.662Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-07T20:20:16.662Z] [2022-05-07T20:20:16.662Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-05-07T20:20:17.086Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-07T20:20:17.366Z] arm64: Pulling from edgex-lftools-log-publisher [2022-05-07T20:20:17.366Z] 8998bd30e6a1: Pulling fs layer [2022-05-07T20:20:17.366Z] 04944245beec: Pulling fs layer [2022-05-07T20:20:17.366Z] 699f458cf7ca: Pulling fs layer [2022-05-07T20:20:17.366Z] 765212b225bb: Pulling fs layer [2022-05-07T20:20:17.366Z] f23df028b6ca: Pulling fs layer [2022-05-07T20:20:17.366Z] d65c8cfc05b1: Pulling fs layer [2022-05-07T20:20:17.366Z] 2437ff75d9bd: Pulling fs layer [2022-05-07T20:20:17.366Z] f23df028b6ca: Waiting [2022-05-07T20:20:17.366Z] d65c8cfc05b1: Waiting [2022-05-07T20:20:17.366Z] 2437ff75d9bd: Waiting [2022-05-07T20:20:17.366Z] 765212b225bb: Waiting [2022-05-07T20:20:17.366Z] 04944245beec: Verifying Checksum [2022-05-07T20:20:17.366Z] 04944245beec: Download complete [2022-05-07T20:20:17.366Z] 765212b225bb: Verifying Checksum [2022-05-07T20:20:17.366Z] 765212b225bb: Download complete [2022-05-07T20:20:17.683Z] f23df028b6ca: Download complete [2022-05-07T20:20:17.683Z] d65c8cfc05b1: Verifying Checksum [2022-05-07T20:20:17.683Z] d65c8cfc05b1: Download complete [2022-05-07T20:20:17.683Z] 699f458cf7ca: Verifying Checksum [2022-05-07T20:20:17.683Z] 699f458cf7ca: Download complete [2022-05-07T20:20:18.330Z] 8998bd30e6a1: Verifying Checksum [2022-05-07T20:20:18.330Z] 8998bd30e6a1: Download complete [2022-05-07T20:20:20.974Z] 2437ff75d9bd: Verifying Checksum [2022-05-07T20:20:20.974Z] 2437ff75d9bd: Download complete [2022-05-07T20:20:22.952Z] 8998bd30e6a1: Pull complete [2022-05-07T20:20:23.224Z] 04944245beec: Pull complete [2022-05-07T20:20:24.667Z] 699f458cf7ca: Pull complete [2022-05-07T20:20:24.939Z] 765212b225bb: Pull complete [2022-05-07T20:20:25.916Z] f23df028b6ca: Pull complete [2022-05-07T20:20:25.916Z] d65c8cfc05b1: Pull complete [2022-05-07T20:20:41.006Z] 2437ff75d9bd: Pull complete [2022-05-07T20:20:41.006Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-05-07T20:20:41.006Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-07T20:20:41.007Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-05-07T20:20:41.268Z] prd-ubuntu20.04-docker-arm64-4c-16g-41411 does not seem to be running inside a container [2022-05-07T20:20:41.354Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-05-07T20:20:44.329Z] $ docker top df70cf394092bcc16b011c8a98517f214a9fa754b8f36704b3ddd31f2defc944 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-07T20:20:45.306Z] ---> job-cost.sh [2022-05-07T20:20:45.306Z] lf-activate-venv: SKIPPING [2022-05-07T20:20:45.306Z] INFO: No Stack... [2022-05-07T20:20:46.281Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-05-07T20:20:47.255Z] INFO: Archiving Costs [Pipeline] sh [2022-05-07T20:20:47.920Z] + cat /w/workspace/device-sdk-go/2/archives/cost.csv [2022-05-07T20:20:47.920Z] + cut -d, -f6 [Pipeline] lock [2022-05-07T20:20:47.987Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1156-2-stack-cost] [2022-05-07T20:20:47.993Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1156-2-stack-cost] did not exist. Created. [2022-05-07T20:20:47.993Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1156-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-05-07T20:20:48.665Z] /w/workspace/device-sdk-go/2@tmp/durable-062fc177/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-05-07T20:20:49.339Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-05-07T20:20:49.370Z] Warning: overwriting stash ‘stack-cost’ [2022-05-07T20:20:49.437Z] Stashed 1 file(s) [Pipeline] } [2022-05-07T20:20:49.444Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1156-2-stack-cost] [Pipeline] // lock [Pipeline] } [2022-05-07T20:20:49.470Z] $ docker stop --time=1 df70cf394092bcc16b011c8a98517f214a9fa754b8f36704b3ddd31f2defc944 [2022-05-07T20:20:51.026Z] $ docker rm -f df70cf394092bcc16b011c8a98517f214a9fa754b8f36704b3ddd31f2defc944 [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-07T20:20:51.586Z] provisioning config files... [2022-05-07T20:20:51.596Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1156@tmp/config522476726023535730tmp [Pipeline] { [Pipeline] sh [2022-05-07T20:20:51.899Z] + set +x [2022-05-07T20:20:51.899Z] + bash -s -- [2022-05-07T20:20:51.899Z] + curl -s https://codecov.io/bash [2022-05-07T20:20:51.899Z] [2022-05-07T20:20:51.899Z] _____ _ [2022-05-07T20:20:51.899Z] / ____| | | [2022-05-07T20:20:51.899Z] | | ___ __| | ___ ___ _____ __ [2022-05-07T20:20:51.899Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-05-07T20:20:51.899Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-05-07T20:20:51.899Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-05-07T20:20:51.899Z] Bash-1.0.6 [2022-05-07T20:20:51.899Z] [2022-05-07T20:20:51.899Z] [2022-05-07T20:20:51.899Z] ==> git version 2.25.1 found [2022-05-07T20:20:51.899Z] ==> 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-07T20:20:51.899Z] Release-Date: 2020-01-08 [2022-05-07T20:20:51.899Z] 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-07T20:20:51.899Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-05-07T20:20:51.899Z] ==> Jenkins CI detected. [2022-05-07T20:20:51.899Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1156 [2022-05-07T20:20:51.899Z] project root: . [2022-05-07T20:20:51.899Z] --> token set from env [2022-05-07T20:20:51.899Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-05-07T20:20:51.899Z] ==> Running gcov in . (disable via -X gcov) [2022-05-07T20:20:51.899Z] ==> Python coveragepy not found [2022-05-07T20:20:51.899Z] ==> Searching for coverage reports in: [2022-05-07T20:20:51.899Z] + . [2022-05-07T20:20:51.899Z] -> Found 1 reports [2022-05-07T20:20:51.899Z] ==> Detecting git/mercurial file structure [2022-05-07T20:20:51.899Z] ==> Reading reports [2022-05-07T20:20:51.899Z] + ./coverage.out bytes=130819 [2022-05-07T20:20:51.899Z] ==> Appending adjustments [2022-05-07T20:20:51.899Z] https://docs.codecov.io/docs/fixing-reports [2022-05-07T20:20:52.160Z] + Found adjustments [2022-05-07T20:20:52.160Z] ==> Gzipping contents [2022-05-07T20:20:52.160Z] 20K /tmp/codecov.z49Lv8.gz [2022-05-07T20:20:52.160Z] ==> Uploading reports [2022-05-07T20:20:52.160Z] url: https://codecov.io [2022-05-07T20:20:52.160Z] query: branch=PR-1156&commit=6a887373bb055dc946875f60d46cae4c18153317&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1156%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1156&job=&cmd_args= [2022-05-07T20:20:52.160Z] -> Pinging Codecov [2022-05-07T20:20:52.160Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1156&commit=6a887373bb055dc946875f60d46cae4c18153317&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1156%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1156&job=&cmd_args= [2022-05-07T20:20:52.421Z] -> Uploading to [2022-05-07T20:20:52.421Z] https://storage.googleapis.com/codecov/v4/raw/2022-05-07/7E55EF52A471D76F132DFD9A03CDDE97/6a887373bb055dc946875f60d46cae4c18153317/5653448f-0457-4fdd-9b9e-2911be9ab0cf.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220507%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220507T202052Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=5150b6287113349bb9aa550e69c0af748de26b4dca7f87c068e1d0aa302f82b3 [2022-05-07T20:20:52.681Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-05-07T20:20:52.681Z] Dload Upload Total Spent Left Speed [2022-05-07T20:20:52.681Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16835 0 0 100 16835 0 71638 --:--:-- --:--:-- --:--:-- 71638 [2022-05-07T20:20:52.681Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/6a887373bb055dc946875f60d46cae4c18153317 [Pipeline] } [2022-05-07T20:20:52.689Z] 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-07T20:20:53.490Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1156/archives ] [2022-05-07T20:20:53.490Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1156/archives [2022-05-07T20:20:53.490Z] total 16 [2022-05-07T20:20:53.490Z] drwxr-xr-x 3 root root 4096 May 7 20:09 . [2022-05-07T20:20:53.490Z] drwxrwxr-x 12 jenkins jenkins 4096 May 7 20:09 .. [2022-05-07T20:20:53.490Z] drwxr-xr-x 2 root root 4096 May 7 20:09 cost [2022-05-07T20:20:53.490Z] -rw-r--r-- 1 root root 85 May 7 20:09 cost.csv [2022-05-07T20:20:53.490Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1156/archives [2022-05-07T20:20:53.490Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1156/archives [2022-05-07T20:20:53.490Z] total 16 [2022-05-07T20:20:53.490Z] drwxr-xr-x 3 jenkins jenkins 4096 May 7 20:09 . [2022-05-07T20:20:53.490Z] drwxrwxr-x 12 jenkins jenkins 4096 May 7 20:09 .. [2022-05-07T20:20:53.490Z] drwxr-xr-x 2 jenkins jenkins 4096 May 7 20:09 cost [2022-05-07T20:20:53.490Z] -rw-r--r-- 1 jenkins jenkins 85 May 7 20:09 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-05-07T20:20:53.791Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-07T20:20:54.660Z] ---> package-listing.sh [2022-05-07T20:20:54.660Z] ++ facter osfamily [2022-05-07T20:20:54.660Z] ++ tr '[:upper:]' '[:lower:]' [2022-05-07T20:20:54.921Z] + OS_FAMILY=debian [2022-05-07T20:20:54.921Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1156 [2022-05-07T20:20:54.921Z] + START_PACKAGES=/tmp/packages_start.txt [2022-05-07T20:20:54.921Z] + END_PACKAGES=/tmp/packages_end.txt [2022-05-07T20:20:54.921Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-05-07T20:20:54.921Z] + PACKAGES=/tmp/packages_start.txt [2022-05-07T20:20:54.921Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1156 ']' [2022-05-07T20:20:54.921Z] + PACKAGES=/tmp/packages_end.txt [2022-05-07T20:20:54.921Z] + case "${OS_FAMILY}" in [2022-05-07T20:20:54.921Z] + dpkg -l [2022-05-07T20:20:54.921Z] + grep '^ii' [2022-05-07T20:20:54.921Z] + '[' -f /tmp/packages_start.txt ']' [2022-05-07T20:20:54.921Z] + '[' -f /tmp/packages_end.txt ']' [2022-05-07T20:20:54.921Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-05-07T20:20:54.921Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1156 ']' [2022-05-07T20:20:54.921Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1156/archives/ [2022-05-07T20:20:54.921Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1156/archives/ [Pipeline] echo [2022-05-07T20:20:54.935Z] 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-1156/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-05-07T20:20:55.217Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-05-07T20:20:55.780Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-07T20:20:55.780Z] . [Pipeline] withDockerContainer [2022-05-07T20:20:55.849Z] prd-ubuntu20.04-docker-8c-8g-41409 does not seem to be running inside a container [2022-05-07T20:20:55.891Z] $ 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-1156/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-1156 -v /w/workspace/gexfoundry_device-sdk-go_PR-1156:/w/workspace/gexfoundry_device-sdk-go_PR-1156:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1156@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1156@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-05-07T20:20:56.110Z] $ docker top b205939e827c5c85545b9e42dff84b51c8b899b26964c6862d611d0b9560bd83 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-07T20:20:56.471Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-05-07T20:20:56.759Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-05-07T20:20:57.046Z] + ls /var/log/sa-host [2022-05-07T20:20:57.046Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-07T20:20:57.136Z] provisioning config files... [2022-05-07T20:20:57.145Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1156@tmp/config4966781483882436684tmp [Pipeline] { [Pipeline] echo [2022-05-07T20:20:57.160Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-07T20:20:57.446Z] ---> create-netrc.sh [Pipeline] } [2022-05-07T20:20:57.453Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-05-07T20:20:57.783Z] ---> python-tools-install.sh [Pipeline] echo [2022-05-07T20:20:57.793Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-07T20:20:58.081Z] ---> sudo-logs.sh [2022-05-07T20:20:58.081Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-05-07T20:20:58.112Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-07T20:20:58.396Z] ---> job-cost.sh [2022-05-07T20:20:58.396Z] lf-activate-venv: SKIPPING [2022-05-07T20:20:58.396Z] DEBUG: total: 0.2199999988079071 [2022-05-07T20:20:58.396Z] INFO: Retrieving Stack Cost... [2022-05-07T20:20:58.656Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-05-07T20:20:59.226Z] INFO: Archiving Costs [Pipeline] echo [2022-05-07T20:20:59.240Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-07T20:20:59.525Z] ---> logs-deploy.sh [2022-05-07T20:20:59.525Z] lf-activate-venv: SKIPPING [2022-05-07T20:20:59.525Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1156/2 [2022-05-07T20:20:59.525Z] INFO: archiving workspace using pattern(s): [2022-05-07T20:21:00.465Z] Archives upload complete. [2022-05-07T20:21:00.465Z] INFO: archiving logs to Nexus