Pull request #1106 event Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from cdb80c6e63b0edc56b463ce5d2a9722185baa673+3d39a6b1d7806654871acffae4a42b12e3fa230c (acca24f34a3d37374d4510c73bf7abcac2b82813) 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-ssh10024323997516018786.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision c72b16708d6eed9a08be464a432ce22db7d90667 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh7743000292121397701.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision c72b16708d6eed9a08be464a432ce22db7d90667 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1106/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-1106/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh15277657232257886626.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision c72b16708d6eed9a08be464a432ce22db7d90667 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f c72b16708d6eed9a08be464a432ce22db7d90667 # timeout=10 Commit message: "Merge pull request #378 from ernestojeda/ubuntu-20-changes" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh2018931411922921159.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-1106/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-1106/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh15790821270627040064.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-7783 in /w/workspace/gexfoundry_device-sdk-go_PR-1106 [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-1106 # 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 3d39a6b1d7806654871acffae4a42b12e3fa230c into PR head commit cdb80c6e63b0edc56b463ce5d2a9722185baa673 Merge succeeded, producing cdb80c6e63b0edc56b463ce5d2a9722185baa673 Checking out Revision cdb80c6e63b0edc56b463ce5d2a9722185baa673 (PR-1106) > 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/1106/head:refs/remotes/origin/PR-1106 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f cdb80c6e63b0edc56b463ce5d2a9722185baa673 # 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 3d39a6b1d7806654871acffae4a42b12e3fa230c # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f cdb80c6e63b0edc56b463ce5d2a9722185baa673 # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-03-17T05:02:43.895Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials > git rev-list --no-walk b8c64523077524e8dc3ba082e55284b6d78094c3 # timeout=10 [2022-03-17T05:02:43.953Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-03-17T05:02:43.969Z] ========================================================= [2022-03-17T05:02:43.969Z] EdgeX Global Pipelines Version Info [2022-03-17T05:02:43.969Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-03-17T05:02:44.749Z] ------------------- [2022-03-17T05:02:44.749Z] stable info: [2022-03-17T05:02:44.749Z] ------------------- [2022-03-17T05:02:44.750Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-03-17T05:02:44.750Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-03-17T05:02:44.750Z] Message: update stable to v1.0.221 [2022-03-17T05:02:45.325Z] ------------------- [2022-03-17T05:02:45.325Z] experimental info: [2022-03-17T05:02:45.325Z] ------------------- [2022-03-17T05:02:45.325Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-03-17T05:02:45.325Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-03-17T05:02:45.325Z] Message: update experimental to v1.0.221 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-03-17T05:02:45.480Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2022-03-17T05:02:45.494Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2022-03-17T05:02:45.515Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-03-17T05:02:45.535Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-03-17T05:02:45.556Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-03-17T05:02:45.571Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-03-17T05:02:45.583Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-03-17T05:02:45.602Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2022-03-17T05:02:45.615Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-03-17T05:02:45.624Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-03-17T05:02:45.634Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-03-17T05:02:45.643Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2022-03-17T05:02:45.652Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-03-17T05:02:45.661Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-03-17T05:02:45.671Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-03-17T05:02:45.682Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2022-03-17T05:02:45.696Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-03-17T05:02:45.707Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-03-17T05:02:45.723Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-03-17T05:02:45.739Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-03-17T05:02:45.751Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-03-17T05:02:45.764Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2022-03-17T05:02:45.775Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-03-17T05:02:45.793Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-03-17T05:02:45.812Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-03-17T05:02:45.824Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-03-17T05:02:45.838Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1106 [Pipeline] echo [2022-03-17T05:02:45.849Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1106 [Pipeline] echo [2022-03-17T05:02:45.861Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1106 [Pipeline] echo [2022-03-17T05:02:45.874Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = cdb80c6e63b0edc56b463ce5d2a9722185baa673 [Pipeline] echo [2022-03-17T05:02:45.885Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = cdb80c6 [Pipeline] echo [2022-03-17T05:02:45.898Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-03-17T05:02:45.945Z] provisioning config files... [2022-03-17T05:02:45.999Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1106@tmp/config7834344105749302100tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-03-17T05:02:46.321Z] ---> docker-login.sh [2022-03-17T05:02:46.321Z] nexus3.edgexfoundry.org:10001 [2022-03-17T05:02:46.583Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-17T05:02:46.583Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-17T05:02:46.583Z] Configure a credential helper to remove this warning. See [2022-03-17T05:02:46.583Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-17T05:02:46.583Z] [2022-03-17T05:02:46.583Z] Login Succeeded [2022-03-17T05:02:46.583Z] nexus3.edgexfoundry.org:10002 [2022-03-17T05:02:46.848Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-17T05:02:46.848Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-17T05:02:46.848Z] Configure a credential helper to remove this warning. See [2022-03-17T05:02:46.848Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-17T05:02:46.848Z] [2022-03-17T05:02:46.848Z] Login Succeeded [2022-03-17T05:02:46.848Z] nexus3.edgexfoundry.org:10003 [2022-03-17T05:02:46.848Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-17T05:02:46.848Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-17T05:02:46.848Z] Configure a credential helper to remove this warning. See [2022-03-17T05:02:46.848Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-17T05:02:46.848Z] [2022-03-17T05:02:46.848Z] Login Succeeded [2022-03-17T05:02:46.848Z] nexus3.edgexfoundry.org:10004 [2022-03-17T05:02:47.110Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-17T05:02:47.110Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-17T05:02:47.110Z] Configure a credential helper to remove this warning. See [2022-03-17T05:02:47.110Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-17T05:02:47.110Z] [2022-03-17T05:02:47.110Z] Login Succeeded [2022-03-17T05:02:47.110Z] docker.io [2022-03-17T05:02:47.110Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-17T05:02:47.686Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-17T05:02:47.686Z] Configure a credential helper to remove this warning. See [2022-03-17T05:02:47.686Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-17T05:02:47.686Z] [2022-03-17T05:02:47.686Z] Login Succeeded [2022-03-17T05:02:47.686Z] ---> docker-login.sh ends [Pipeline] } [2022-03-17T05:02:47.695Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-03-17T05:02:48.077Z] + git rev-list -1 --merges cdb80c6e63b0edc56b463ce5d2a9722185baa673~1..cdb80c6e63b0edc56b463ce5d2a9722185baa673 [Pipeline] echo [2022-03-17T05:02:48.233Z] -----------> git rev-list -1 --merges cdb80c6e63b0edc56b463ce5d2a9722185baa673~1..cdb80c6e63b0edc56b463ce5d2a9722185baa673 cdb80c6e63b0edc56b463ce5d2a9722185baa673 [false] [Pipeline] sh [2022-03-17T05:02:48.520Z] + git log --format=format:%s -1 cdb80c6e63b0edc56b463ce5d2a9722185baa673 [Pipeline] echo [2022-03-17T05:02:48.539Z] ========================================================= [2022-03-17T05:02:48.539Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-03-17T05:02:48.539Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-03-17T05:02:48.881Z] + git log --format=format:%s -1 cdb80c6e63b0edc56b463ce5d2a9722185baa673 [Pipeline] echo [2022-03-17T05:02:48.894Z] [semverPrep] GIT_COMMIT: cdb80c6e63b0edc56b463ce5d2a9722185baa673, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2 [Pipeline] echo [2022-03-17T05:02:48.905Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-03-17T05:02:49.302Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-03-17T05:02:49.302Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-03-17T05:02:49.302Z] + [ -e /tmp/ssh_known_hosts ] [2022-03-17T05:02:49.302Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-03-17T05:02:49.302Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-03-17T05:02:49.302Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-03-17T05:02:49.302Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-03-17T05:02:49.811Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-03-17T05:02:49.811Z] [2022-03-17T05:02:49.811Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-03-17T05:02:50.117Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-03-17T05:02:50.118Z] latest: Pulling from edgex-devops/git-semver [2022-03-17T05:02:50.118Z] a0d0a0d46f8b: Pulling fs layer [2022-03-17T05:02:50.118Z] 3e5f54012d9b: Pulling fs layer [2022-03-17T05:02:50.118Z] 4c7163046ea9: Pulling fs layer [2022-03-17T05:02:50.118Z] 0c2d73faf560: Pulling fs layer [2022-03-17T05:02:50.118Z] 3e5f54012d9b: Download complete [2022-03-17T05:02:50.118Z] a0d0a0d46f8b: Verifying Checksum [2022-03-17T05:02:50.118Z] a0d0a0d46f8b: Download complete [2022-03-17T05:02:50.118Z] 0c2d73faf560: Verifying Checksum [2022-03-17T05:02:50.118Z] 0c2d73faf560: Download complete [2022-03-17T05:02:50.118Z] 4c7163046ea9: Download complete [2022-03-17T05:02:50.379Z] a0d0a0d46f8b: Pull complete [2022-03-17T05:02:50.379Z] 3e5f54012d9b: Pull complete [2022-03-17T05:02:50.641Z] 4c7163046ea9: Pull complete [2022-03-17T05:02:50.904Z] 0c2d73faf560: Pull complete [2022-03-17T05:02:50.904Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-03-17T05:02:50.904Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-03-17T05:02:50.904Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-03-17T05:02:50.983Z] prd-ubuntu20.04-docker-8c-8g-7783 does not seem to be running inside a container [2022-03-17T05:02:51.028Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1106 -v /w/workspace/gexfoundry_device-sdk-go_PR-1106:/w/workspace/gexfoundry_device-sdk-go_PR-1106:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1106@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1106@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-03-17T05:02:51.707Z] $ docker top 81305e8f0d2acddffafb8b9d49eabe92dd6f8e247cc136396df7db4d5a323479 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-03-17T05:02:51.809Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-03-17T05:02:51.809Z] [ssh-agent] Looking for ssh-agent implementation... [2022-03-17T05:02:51.937Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-03-17T05:02:51.944Z] $ docker exec 81305e8f0d2acddffafb8b9d49eabe92dd6f8e247cc136396df7db4d5a323479 ssh-agent [2022-03-17T05:02:52.073Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXCgklEb/agent.13 [2022-03-17T05:02:52.073Z] SSH_AGENT_PID=19 [2022-03-17T05:02:52.084Z] Running ssh-add (command line suppressed) [2022-03-17T05:02:52.217Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1106@tmp/private_key_4116984937820118009.key (/w/workspace/gexfoundry_device-sdk-go_PR-1106@tmp/private_key_4116984937820118009.key) [2022-03-17T05:02:52.231Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-03-17T05:02:52.525Z] + git tag --points-at HEAD [Pipeline] } [2022-03-17T05:02:52.545Z] $ docker exec --env ******** --env ******** 81305e8f0d2acddffafb8b9d49eabe92dd6f8e247cc136396df7db4d5a323479 ssh-agent -k [2022-03-17T05:02:52.655Z] unset SSH_AUTH_SOCK; [2022-03-17T05:02:52.655Z] unset SSH_AGENT_PID; [2022-03-17T05:02:52.655Z] echo Agent pid 19 killed; [2022-03-17T05:02:52.664Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-03-17T05:02:52.687Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-03-17T05:02:52.687Z] [ssh-agent] Looking for ssh-agent implementation... [2022-03-17T05:02:52.825Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-03-17T05:02:52.831Z] $ docker exec 81305e8f0d2acddffafb8b9d49eabe92dd6f8e247cc136396df7db4d5a323479 ssh-agent [2022-03-17T05:02:52.967Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXHOlnPb/agent.52 [2022-03-17T05:02:52.967Z] SSH_AGENT_PID=59 [2022-03-17T05:02:52.972Z] Running ssh-add (command line suppressed) [2022-03-17T05:02:53.095Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1106@tmp/private_key_6901392605384418784.key (/w/workspace/gexfoundry_device-sdk-go_PR-1106@tmp/private_key_6901392605384418784.key) [2022-03-17T05:02:53.110Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-03-17T05:02:53.403Z] + git semver init [2022-03-17T05:02:53.403Z] # -> Open(): unable to determine branch for HEAD [2022-03-17T05:02:53.403Z] # $GIT_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1106/.git [2022-03-17T05:02:53.403Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-sdk-go_PR-1106 [2022-03-17T05:02:53.403Z] # $SEMVER_REMOTE_NAME = origin [2022-03-17T05:02:53.403Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-03-17T05:02:53.403Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-03-17T05:02:53.403Z] # $SEMVER_BRANCH = PR-1106 [2022-03-17T05:02:53.403Z] # $SEMVER_TEMP = /tmp/semver-879777167 [2022-03-17T05:02:53.403Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2022-03-17T05:02:54.346Z] # '/tmp/semver-879777167' -> '/w/workspace/gexfoundry_device-sdk-go_PR-1106/.semver' [2022-03-17T05:02:54.346Z] # -> Force: false [2022-03-17T05:02:54.346Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1106/.semver [Pipeline] } [2022-03-17T05:02:54.360Z] $ docker exec --env ******** --env ******** 81305e8f0d2acddffafb8b9d49eabe92dd6f8e247cc136396df7db4d5a323479 ssh-agent -k [2022-03-17T05:02:54.478Z] unset SSH_AUTH_SOCK; [2022-03-17T05:02:54.479Z] unset SSH_AGENT_PID; [2022-03-17T05:02:54.479Z] echo Agent pid 59 killed; [2022-03-17T05:02:54.487Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-03-17T05:02:54.794Z] + git semver [Pipeline] } [2022-03-17T05:02:54.812Z] $ docker stop --time=1 81305e8f0d2acddffafb8b9d49eabe92dd6f8e247cc136396df7db4d5a323479 [2022-03-17T05:02:56.226Z] $ docker rm -f 81305e8f0d2acddffafb8b9d49eabe92dd6f8e247cc136396df7db4d5a323479 [Pipeline] // withDockerContainer [Pipeline] sh [2022-03-17T05:02:56.585Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-03-17T05:02:56.826Z] Stashed 1 file(s) [Pipeline] echo [2022-03-17T05:02:56.830Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-03-17T05:02:56.989Z] provisioning config files... [2022-03-17T05:02:57.001Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1106@tmp/config4030537740132519682tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-03-17T05:02:57.304Z] ---> docker-login.sh [2022-03-17T05:02:57.304Z] nexus3.edgexfoundry.org:10001 [2022-03-17T05:02:57.304Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-17T05:02:57.304Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-17T05:02:57.304Z] Configure a credential helper to remove this warning. See [2022-03-17T05:02:57.304Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-17T05:02:57.304Z] [2022-03-17T05:02:57.304Z] Login Succeeded [2022-03-17T05:02:57.304Z] nexus3.edgexfoundry.org:10002 [2022-03-17T05:02:57.304Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-17T05:02:57.566Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-17T05:02:57.566Z] Configure a credential helper to remove this warning. See [2022-03-17T05:02:57.566Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-17T05:02:57.566Z] [2022-03-17T05:02:57.566Z] Login Succeeded [2022-03-17T05:02:57.566Z] nexus3.edgexfoundry.org:10003 [2022-03-17T05:02:57.566Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-17T05:02:57.566Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-17T05:02:57.566Z] Configure a credential helper to remove this warning. See [2022-03-17T05:02:57.566Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-17T05:02:57.566Z] [2022-03-17T05:02:57.566Z] Login Succeeded [2022-03-17T05:02:57.566Z] nexus3.edgexfoundry.org:10004 [2022-03-17T05:02:57.566Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-17T05:02:57.828Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-17T05:02:57.828Z] Configure a credential helper to remove this warning. See [2022-03-17T05:02:57.828Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-17T05:02:57.828Z] [2022-03-17T05:02:57.828Z] Login Succeeded [2022-03-17T05:02:57.828Z] docker.io [2022-03-17T05:02:57.828Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-17T05:02:58.089Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-17T05:02:58.089Z] Configure a credential helper to remove this warning. See [2022-03-17T05:02:58.089Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-17T05:02:58.089Z] [2022-03-17T05:02:58.089Z] Login Succeeded [2022-03-17T05:02:58.089Z] ---> docker-login.sh ends [Pipeline] } [2022-03-17T05:02:58.098Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-03-17T05:02:58.183Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-03-17T05:02:58.201Z] ========================================================= [2022-03-17T05:02:58.201Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-03-17T05:02:58.201Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-03-17T05:02:58.520Z] + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-03-17T05:02:58.520Z] Sending build context to Docker daemon 9.518MB [2022-03-17T05:02:58.520Z] Step 1/11 : ARG BASE=golang:1.17-alpine3.15 [2022-03-17T05:02:58.520Z] Step 2/11 : FROM ${BASE} AS builder [2022-03-17T05:02:58.520Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-03-17T05:02:58.520Z] 59bf1c3509f3: Pulling fs layer [2022-03-17T05:02:58.520Z] 666ba61612fd: Pulling fs layer [2022-03-17T05:02:58.520Z] 8ed8ca486205: Pulling fs layer [2022-03-17T05:02:58.520Z] 4fe6c5a15a65: Pulling fs layer [2022-03-17T05:02:58.520Z] 22a0e8bec74d: Pulling fs layer [2022-03-17T05:02:58.520Z] 640e595b4fbd: Pulling fs layer [2022-03-17T05:02:58.520Z] 763cafe07f6e: Pulling fs layer [2022-03-17T05:02:58.520Z] 0c0b528cf693: Pulling fs layer [2022-03-17T05:02:58.520Z] 10935f4eaf8b: Pulling fs layer [2022-03-17T05:02:58.520Z] 640e595b4fbd: Waiting [2022-03-17T05:02:58.520Z] 763cafe07f6e: Waiting [2022-03-17T05:02:58.520Z] 0c0b528cf693: Waiting [2022-03-17T05:02:58.520Z] 10935f4eaf8b: Waiting [2022-03-17T05:02:58.520Z] 4fe6c5a15a65: Waiting [2022-03-17T05:02:58.520Z] 22a0e8bec74d: Waiting [2022-03-17T05:02:58.781Z] 8ed8ca486205: Verifying Checksum [2022-03-17T05:02:58.781Z] 8ed8ca486205: Download complete [2022-03-17T05:02:58.781Z] 666ba61612fd: Verifying Checksum [2022-03-17T05:02:58.781Z] 666ba61612fd: Download complete [2022-03-17T05:02:58.781Z] 22a0e8bec74d: Verifying Checksum [2022-03-17T05:02:58.781Z] 22a0e8bec74d: Download complete [2022-03-17T05:02:58.781Z] 640e595b4fbd: Verifying Checksum [2022-03-17T05:02:58.781Z] 640e595b4fbd: Download complete [2022-03-17T05:02:58.781Z] 59bf1c3509f3: Verifying Checksum [2022-03-17T05:02:58.781Z] 59bf1c3509f3: Download complete [2022-03-17T05:02:58.781Z] 763cafe07f6e: Verifying Checksum [2022-03-17T05:02:58.781Z] 763cafe07f6e: Download complete [2022-03-17T05:02:58.781Z] 0c0b528cf693: Verifying Checksum [2022-03-17T05:02:58.781Z] 0c0b528cf693: Download complete [2022-03-17T05:02:58.781Z] 59bf1c3509f3: Pull complete [2022-03-17T05:02:59.042Z] 666ba61612fd: Pull complete [2022-03-17T05:02:59.042Z] 8ed8ca486205: Pull complete [2022-03-17T05:02:59.302Z] 10935f4eaf8b: Verifying Checksum [2022-03-17T05:02:59.302Z] 10935f4eaf8b: Download complete [2022-03-17T05:02:59.561Z] 4fe6c5a15a65: Verifying Checksum [2022-03-17T05:02:59.561Z] 4fe6c5a15a65: Download complete [2022-03-17T05:03:03.755Z] 4fe6c5a15a65: Pull complete [2022-03-17T05:03:03.755Z] 22a0e8bec74d: Pull complete [2022-03-17T05:03:03.755Z] 640e595b4fbd: Pull complete [2022-03-17T05:03:03.755Z] 763cafe07f6e: Pull complete [2022-03-17T05:03:03.755Z] 0c0b528cf693: Pull complete [2022-03-17T05:03:06.309Z] 10935f4eaf8b: Pull complete [2022-03-17T05:03:06.309Z] Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 [2022-03-17T05:03:06.309Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-03-17T05:03:06.309Z] ---> 99d49a6021b9 [2022-03-17T05:03:06.309Z] Step 3/11 : ARG MAKE=make build [2022-03-17T05:03:07.257Z] ---> Running in beb28c63e0ca [2022-03-17T05:03:07.257Z] Removing intermediate container beb28c63e0ca [2022-03-17T05:03:07.257Z] ---> 04bfe778b8a1 [2022-03-17T05:03:07.257Z] Step 4/11 : WORKDIR /device-sdk-go [2022-03-17T05:03:07.257Z] ---> Running in 9ad9f47cb01a [2022-03-17T05:03:07.257Z] Removing intermediate container 9ad9f47cb01a [2022-03-17T05:03:07.257Z] ---> 74c82468d00b [2022-03-17T05:03:07.257Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-03-17T05:03:07.517Z] ---> Running in 3dbd731e188e [2022-03-17T05:03:07.517Z] Removing intermediate container 3dbd731e188e [2022-03-17T05:03:07.517Z] ---> f2fd17dc9276 [2022-03-17T05:03:07.517Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-03-17T05:03:07.517Z] ---> Running in 81abd229db89 [2022-03-17T05:03:08.088Z] Removing intermediate container 81abd229db89 [2022-03-17T05:03:08.088Z] ---> 452c8dd3ec37 [2022-03-17T05:03:08.088Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-03-17T05:03:08.088Z] ---> Running in 6df48bd446c4 [2022-03-17T05:03:08.660Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-03-17T05:03:09.235Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-03-17T05:03:09.497Z] OK: 221 MiB in 52 packages [2022-03-17T05:03:10.070Z] Removing intermediate container 6df48bd446c4 [2022-03-17T05:03:10.070Z] ---> a726914a1558 [2022-03-17T05:03:10.070Z] Step 8/11 : COPY go.mod vendor* ./ [2022-03-17T05:03:10.070Z] ---> 23ad8d0b231b [2022-03-17T05:03:10.070Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-03-17T05:03:10.070Z] ---> Running in 6e165c428d22 [2022-03-17T05:03:11.938Z] Still waiting to schedule task [2022-03-17T05:03:11.938Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-7781’ [2022-03-17T05:03:32.045Z] Removing intermediate container 6e165c428d22 [2022-03-17T05:03:32.045Z] ---> 0a10a248a509 [2022-03-17T05:03:32.045Z] Step 10/11 : COPY . . [2022-03-17T05:03:32.305Z] ---> 18e56d50f4e7 [2022-03-17T05:03:32.305Z] Step 11/11 : RUN ${MAKE} [2022-03-17T05:03:32.305Z] ---> Running in 0c25dd95666c [2022-03-17T05:03:32.568Z] noop [2022-03-17T05:03:32.829Z] Removing intermediate container 0c25dd95666c [2022-03-17T05:03:32.829Z] ---> 522ad7d4b572 [2022-03-17T05:03:32.829Z] Successfully built 522ad7d4b572 [2022-03-17T05:03:32.829Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-03-17T05:03:33.132Z] + docker inspect -f . ci-base-image-x86_64 [2022-03-17T05:03:33.132Z] . [Pipeline] withDockerContainer [2022-03-17T05:03:33.212Z] prd-ubuntu20.04-docker-8c-8g-7783 does not seem to be running inside a container [2022-03-17T05:03:33.267Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1106 -v /w/workspace/gexfoundry_device-sdk-go_PR-1106:/w/workspace/gexfoundry_device-sdk-go_PR-1106:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1106@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1106@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-03-17T05:03:33.637Z] $ docker top a7a755b9b5d53f7206889d9357439f26dfbed2a5f99fd32862daf7a17f616f0a -eo pid,comm [Pipeline] { [Pipeline] sh [2022-03-17T05:03:34.024Z] + go version [2022-03-17T05:03:34.024Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-03-17T05:03:34.038Z] $ docker stop --time=1 a7a755b9b5d53f7206889d9357439f26dfbed2a5f99fd32862daf7a17f616f0a [2022-03-17T05:03:35.377Z] $ docker rm -f a7a755b9b5d53f7206889d9357439f26dfbed2a5f99fd32862daf7a17f616f0a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-03-17T05:03:35.802Z] + docker inspect -f . ci-base-image-x86_64 [2022-03-17T05:03:35.802Z] . [Pipeline] withDockerContainer [2022-03-17T05:03:35.875Z] prd-ubuntu20.04-docker-8c-8g-7783 does not seem to be running inside a container [2022-03-17T05:03:35.916Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1106 -v /w/workspace/gexfoundry_device-sdk-go_PR-1106:/w/workspace/gexfoundry_device-sdk-go_PR-1106:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1106@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1106@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-03-17T05:03:36.305Z] $ docker top 75dfc8361db345913912811f564067f6ff3e099dabea6bed998c27b4ef2afbde -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-03-17T05:03:36.728Z] + make test [2022-03-17T05:03:36.728Z] GO111MODULE=on go test -coverprofile=coverage.out ./... [2022-03-17T05:03:36.997Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-03-17T05:03:45.127Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-03-17T05:03:45.127Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-03-17T05:03:45.127Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-03-17T05:03:45.127Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.012s coverage: 23.3% of statements [2022-03-17T05:03:45.127Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-03-17T05:03:45.127Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.014s coverage: 27.6% of statements [2022-03-17T05:03:45.127Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.012s coverage: 78.9% of statements [2022-03-17T05:03:45.127Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.017s coverage: 10.8% of statements [2022-03-17T05:03:45.127Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2022-03-17T05:03:45.127Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-03-17T05:03:45.127Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-03-17T05:03:45.127Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.020s coverage: 33.2% of statements [2022-03-17T05:03:45.127Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-03-17T05:03:45.127Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.015s coverage: 86.1% of statements [2022-03-17T05:03:45.127Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-03-17T05:03:45.127Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-03-17T05:03:45.127Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.018s coverage: 57.4% of statements [2022-03-17T05:03:45.127Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.045s coverage: 89.2% of statements [2022-03-17T05:03:45.127Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-03-17T05:03:45.127Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.014s coverage: 4.8% of statements [2022-03-17T05:03:45.127Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-03-17T05:03:51.706Z] GO111MODULE=on go vet ./... [2022-03-17T05:03:54.244Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-03-17T05:03:54.244Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-03-17T05:03:54.244Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-03-17T05:03:54.523Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-03-17T05:03:54.539Z] $ docker stop --time=1 75dfc8361db345913912811f564067f6ff3e099dabea6bed998c27b4ef2afbde [2022-03-17T05:03:56.271Z] $ docker rm -f 75dfc8361db345913912811f564067f6ff3e099dabea6bed998c27b4ef2afbde [Pipeline] // withDockerContainer [Pipeline] sh [2022-03-17T05:03:56.774Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-03-17T05:03:56.840Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-03-17T05:03:57.839Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-03-17T05:03:58.129Z] + ls -al . [2022-03-17T05:03:58.129Z] total 312 [2022-03-17T05:03:58.129Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 17 05:03 . [2022-03-17T05:03:58.129Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 17 05:02 .. [2022-03-17T05:03:58.129Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 17 05:02 .dockerignore [2022-03-17T05:03:58.129Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 17 05:02 .git [2022-03-17T05:03:58.129Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 17 05:02 .github [2022-03-17T05:03:58.129Z] -rw-rw-r-- 1 jenkins jenkins 131 Mar 17 05:02 .gitignore [2022-03-17T05:03:58.129Z] -rw-rw-r-- 1 jenkins jenkins 42 Mar 17 05:02 .golangci.yml [2022-03-17T05:03:58.129Z] drwx------ 3 jenkins jenkins 4096 Mar 17 05:02 .semver [2022-03-17T05:03:58.129Z] -rw-rw-r-- 1 jenkins jenkins 26321 Mar 17 05:02 CHANGELOG.md [2022-03-17T05:03:58.129Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 17 05:02 GOVERNANCE.md [2022-03-17T05:03:58.129Z] -rw-rw-r-- 1 jenkins jenkins 880 Mar 17 05:02 Jenkinsfile [2022-03-17T05:03:58.129Z] -rw-rw-r-- 1 jenkins jenkins 11341 Mar 17 05:02 LICENSE [2022-03-17T05:03:58.129Z] -rw-rw-r-- 1 jenkins jenkins 1614 Mar 17 05:02 Makefile [2022-03-17T05:03:58.129Z] -rw-rw-r-- 1 jenkins jenkins 619 Mar 17 05:02 OWNERS.md [2022-03-17T05:03:58.129Z] -rw-rw-r-- 1 jenkins jenkins 4881 Mar 17 05:02 README.md [2022-03-17T05:03:58.129Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 17 05:02 VERSION [2022-03-17T05:03:58.129Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 17 05:02 bin [2022-03-17T05:03:58.129Z] -rw-r--r-- 1 jenkins jenkins 129001 Mar 17 05:03 coverage.out [2022-03-17T05:03:58.129Z] drwxrwxr-x 5 jenkins jenkins 4096 Mar 17 05:02 example [2022-03-17T05:03:58.129Z] -rw-rw-r-- 1 jenkins jenkins 2773 Mar 17 05:02 go.mod [2022-03-17T05:03:58.129Z] -rw-rw-r-- 1 jenkins jenkins 50080 Mar 17 05:02 go.sum [2022-03-17T05:03:58.129Z] drwxrwxr-x 15 jenkins jenkins 4096 Mar 17 05:02 internal [2022-03-17T05:03:58.129Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 17 05:02 openapi [2022-03-17T05:03:58.129Z] drwxrwxr-x 5 jenkins jenkins 4096 Mar 17 05:02 pkg [2022-03-17T05:03:58.129Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 17 05:02 snap [2022-03-17T05:03:58.129Z] -rw-rw-r-- 1 jenkins jenkins 222 Mar 17 05:02 version.go [Pipeline] isUnix [Pipeline] sh [2022-03-17T05:03:58.439Z] + 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=cdb80c6e63b0edc56b463ce5d2a9722185baa673 --label arch=amd64 --label version=0.0.0 . [2022-03-17T05:03:58.439Z] Sending build context to Docker daemon 9.648MB [2022-03-17T05:03:58.439Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-03-17T05:03:58.439Z] Step 2/25 : FROM ${BASE} AS builder [2022-03-17T05:03:58.439Z] ---> 522ad7d4b572 [2022-03-17T05:03:58.439Z] Step 3/25 : ARG MAKE=make build [2022-03-17T05:03:58.700Z] ---> Running in 743abbb3622a [2022-03-17T05:03:58.700Z] Removing intermediate container 743abbb3622a [2022-03-17T05:03:58.700Z] ---> c2c2dc9be94b [2022-03-17T05:03:58.700Z] Step 4/25 : WORKDIR /device-sdk-go [2022-03-17T05:03:58.700Z] ---> Running in bdfa3b2a7831 [2022-03-17T05:03:58.700Z] Removing intermediate container bdfa3b2a7831 [2022-03-17T05:03:58.700Z] ---> 5917051980b9 [2022-03-17T05:03:58.700Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-03-17T05:03:58.962Z] ---> Running in 4b26846381c6 [2022-03-17T05:03:58.963Z] Removing intermediate container 4b26846381c6 [2022-03-17T05:03:58.963Z] ---> 4908e6bc1d3b [2022-03-17T05:03:58.963Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-03-17T05:03:58.963Z] ---> Running in 05d5d9f04b34 [2022-03-17T05:03:59.533Z] Removing intermediate container 05d5d9f04b34 [2022-03-17T05:03:59.534Z] ---> edcb6c181683 [2022-03-17T05:03:59.534Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-03-17T05:03:59.797Z] ---> Running in 4f01372cd90b [2022-03-17T05:04:00.059Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-03-17T05:04:01.000Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-03-17T05:04:01.262Z] OK: 221 MiB in 52 packages [2022-03-17T05:04:01.523Z] Removing intermediate container 4f01372cd90b [2022-03-17T05:04:01.523Z] ---> 7e3de2cd86c3 [2022-03-17T05:04:01.523Z] Step 8/25 : COPY go.mod vendor* ./ [2022-03-17T05:04:01.783Z] ---> a50094c17fad [2022-03-17T05:04:01.783Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-03-17T05:04:01.783Z] ---> Running in f38db14fe739 [2022-03-17T05:04:02.355Z] Removing intermediate container f38db14fe739 [2022-03-17T05:04:02.355Z] ---> 4fce2b27b7e3 [2022-03-17T05:04:02.355Z] Step 10/25 : COPY . . [2022-03-17T05:04:02.927Z] ---> ee1dfabb7855 [2022-03-17T05:04:02.927Z] Step 11/25 : RUN ${MAKE} [2022-03-17T05:04:02.927Z] ---> Running in c4d75dae9529 [2022-03-17T05:04:03.189Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2022-03-17T05:04:09.762Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-03-17T05:04:10.333Z] Removing intermediate container c4d75dae9529 [2022-03-17T05:04:10.333Z] ---> 742fec15ed35 [2022-03-17T05:04:10.333Z] Step 12/25 : FROM alpine:3.14 [2022-03-17T05:04:10.903Z] 3.14: Pulling from library/alpine [2022-03-17T05:04:11.164Z] 97518928ae5f: Pulling fs layer [2022-03-17T05:04:11.424Z] 97518928ae5f: Verifying Checksum [2022-03-17T05:04:11.424Z] 97518928ae5f: Download complete [2022-03-17T05:04:11.424Z] 97518928ae5f: Pull complete [2022-03-17T05:04:11.424Z] Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 [2022-03-17T05:04:11.424Z] Status: Downloaded newer image for alpine:3.14 [2022-03-17T05:04:11.424Z] ---> 0a97eee8041e [2022-03-17T05:04:11.424Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-03-17T05:04:11.684Z] ---> Running in dc5f33407ad4 [2022-03-17T05:04:11.684Z] Removing intermediate container dc5f33407ad4 [2022-03-17T05:04:11.684Z] ---> d63f91b01fd2 [2022-03-17T05:04:11.684Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-03-17T05:04:11.684Z] ---> Running in c6bbc5193d37 [2022-03-17T05:04:12.254Z] Removing intermediate container c6bbc5193d37 [2022-03-17T05:04:12.254Z] ---> c9c6ea27f6d9 [2022-03-17T05:04:12.254Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-03-17T05:04:12.254Z] ---> Running in 59e3518c9377 [2022-03-17T05:04:12.825Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-03-17T05:04:13.397Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-03-17T05:04:13.658Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2022-03-17T05:04:13.919Z] (2/5) Installing libsodium (1.0.18-r0) [2022-03-17T05:04:13.919Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2022-03-17T05:04:14.179Z] (4/5) Installing libzmq (4.3.4-r0) [2022-03-17T05:04:14.179Z] (5/5) Installing zeromq (4.3.4-r0) [2022-03-17T05:04:14.179Z] Executing busybox-1.33.1-r6.trigger [2022-03-17T05:04:14.179Z] OK: 8 MiB in 19 packages [2022-03-17T05:04:14.750Z] Removing intermediate container 59e3518c9377 [2022-03-17T05:04:14.750Z] ---> 696e688ee891 [2022-03-17T05:04:14.750Z] Step 16/25 : WORKDIR / [2022-03-17T05:04:14.750Z] ---> Running in ac8fe42a7e6f [2022-03-17T05:04:14.750Z] Removing intermediate container ac8fe42a7e6f [2022-03-17T05:04:14.750Z] ---> 5489781ce2f6 [2022-03-17T05:04:14.750Z] Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-03-17T05:04:15.010Z] ---> 82b294ce3bf9 [2022-03-17T05:04:15.010Z] Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-03-17T05:04:15.273Z] ---> 1f6ae9393351 [2022-03-17T05:04:15.273Z] Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-03-17T05:04:15.538Z] ---> 492529fc4eea [2022-03-17T05:04:15.538Z] Step 20/25 : EXPOSE 59999 [2022-03-17T05:04:15.538Z] ---> Running in b8910b3817f1 [2022-03-17T05:04:15.538Z] Removing intermediate container b8910b3817f1 [2022-03-17T05:04:15.538Z] ---> ace61b16ffb9 [2022-03-17T05:04:15.538Z] Step 21/25 : ENTRYPOINT ["/device-simple"] [2022-03-17T05:04:15.538Z] ---> Running in 04b6208219ea [2022-03-17T05:04:15.806Z] Removing intermediate container 04b6208219ea [2022-03-17T05:04:15.806Z] ---> f6665f32cd8e [2022-03-17T05:04:15.806Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-03-17T05:04:15.806Z] ---> Running in ab0f27674a7e [2022-03-17T05:04:15.806Z] Removing intermediate container ab0f27674a7e [2022-03-17T05:04:15.806Z] ---> f228a1bbc2d0 [2022-03-17T05:04:15.806Z] Step 23/25 : LABEL arch=amd64 [2022-03-17T05:04:15.806Z] ---> Running in 238d2efe5ff2 [2022-03-17T05:04:16.070Z] Removing intermediate container 238d2efe5ff2 [2022-03-17T05:04:16.070Z] ---> 25e0aee10d4d [2022-03-17T05:04:16.070Z] Step 24/25 : LABEL git_sha=cdb80c6e63b0edc56b463ce5d2a9722185baa673 [2022-03-17T05:04:16.070Z] ---> Running in 9c39f91722c9 [2022-03-17T05:04:16.070Z] Removing intermediate container 9c39f91722c9 [2022-03-17T05:04:16.070Z] ---> d57fb69cfe65 [2022-03-17T05:04:16.070Z] Step 25/25 : LABEL version=0.0.0 [2022-03-17T05:04:16.070Z] ---> Running in 0fb574222797 [2022-03-17T05:04:16.330Z] Removing intermediate container 0fb574222797 [2022-03-17T05:04:16.330Z] ---> 6280383ecafe [2022-03-17T05:04:16.330Z] [Warning] One or more build-args [ARCH] were not consumed [2022-03-17T05:04:16.330Z] Successfully built 6280383ecafe [2022-03-17T05:04:16.330Z] 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-03-17T05:04:16.728Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-03-17T05:04:16.728Z] [2022-03-17T05:04:16.728Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-03-17T05:04:17.029Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-03-17T05:04:17.029Z] latest: Pulling from edgex-lftools-log-publisher [2022-03-17T05:04:17.029Z] 5eb5b503b376: Pulling fs layer [2022-03-17T05:04:17.029Z] 5c69ac0246d0: Pulling fs layer [2022-03-17T05:04:17.029Z] ec43610c2a17: Pulling fs layer [2022-03-17T05:04:17.029Z] 3a2ae6a8a46f: Pulling fs layer [2022-03-17T05:04:17.029Z] 33b1e0a273af: Pulling fs layer [2022-03-17T05:04:17.029Z] 5d3b04190fa2: Pulling fs layer [2022-03-17T05:04:17.029Z] 2f39f015ded8: Pulling fs layer [2022-03-17T05:04:17.029Z] 33b1e0a273af: Waiting [2022-03-17T05:04:17.029Z] 2f39f015ded8: Waiting [2022-03-17T05:04:17.029Z] 5d3b04190fa2: Waiting [2022-03-17T05:04:17.029Z] 5c69ac0246d0: Download complete [2022-03-17T05:04:17.029Z] 3a2ae6a8a46f: Verifying Checksum [2022-03-17T05:04:17.029Z] 3a2ae6a8a46f: Download complete [2022-03-17T05:04:17.029Z] 33b1e0a273af: Verifying Checksum [2022-03-17T05:04:17.029Z] 33b1e0a273af: Download complete [2022-03-17T05:04:17.029Z] 5d3b04190fa2: Verifying Checksum [2022-03-17T05:04:17.029Z] 5d3b04190fa2: Download complete [2022-03-17T05:04:17.029Z] ec43610c2a17: Verifying Checksum [2022-03-17T05:04:17.029Z] ec43610c2a17: Download complete [2022-03-17T05:04:17.288Z] 5eb5b503b376: Verifying Checksum [2022-03-17T05:04:17.288Z] 5eb5b503b376: Download complete [2022-03-17T05:04:17.855Z] 2f39f015ded8: Download complete [2022-03-17T05:04:18.422Z] 5eb5b503b376: Pull complete [2022-03-17T05:04:18.681Z] 5c69ac0246d0: Pull complete [2022-03-17T05:04:18.941Z] ec43610c2a17: Pull complete [2022-03-17T05:04:19.200Z] 3a2ae6a8a46f: Pull complete [2022-03-17T05:04:19.459Z] 33b1e0a273af: Pull complete [2022-03-17T05:04:19.459Z] 5d3b04190fa2: Pull complete [2022-03-17T05:04:23.652Z] 2f39f015ded8: Pull complete [2022-03-17T05:04:23.652Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-03-17T05:04:23.652Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-03-17T05:04:23.652Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-03-17T05:04:23.719Z] prd-ubuntu20.04-docker-8c-8g-7783 does not seem to be running inside a container [2022-03-17T05:04:23.754Z] $ 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-1106 -v /w/workspace/gexfoundry_device-sdk-go_PR-1106:/w/workspace/gexfoundry_device-sdk-go_PR-1106:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1106@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1106@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-03-17T05:04:25.466Z] $ docker top 99033973abd9543c20fec2b40a5bfbada267e5e71737c890e049a19bb157af04 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-03-17T05:04:25.860Z] ---> job-cost.sh [2022-03-17T05:04:25.860Z] lf-activate-venv: SKIPPING [2022-03-17T05:04:25.860Z] INFO: No Stack... [2022-03-17T05:04:26.122Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-03-17T05:04:26.692Z] INFO: Archiving Costs [Pipeline] sh [2022-03-17T05:04:26.985Z] + cut -d, -f6 [2022-03-17T05:04:26.985Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1106/archives/cost.csv [Pipeline] lock [2022-03-17T05:04:26.999Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1106-4-stack-cost] [2022-03-17T05:04:27.005Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1106-4-stack-cost] did not exist. Created. [2022-03-17T05:04:27.005Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1106-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-03-17T05:04:27.317Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-03-17T05:04:27.346Z] Stashed 1 file(s) [Pipeline] } [2022-03-17T05:04:27.352Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1106-4-stack-cost] [Pipeline] // lock [Pipeline] } [2022-03-17T05:04:27.373Z] $ docker stop --time=1 99033973abd9543c20fec2b40a5bfbada267e5e71737c890e049a19bb157af04 [2022-03-17T05:04:28.536Z] $ docker rm -f 99033973abd9543c20fec2b40a5bfbada267e5e71737c890e049a19bb157af04 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-03-17T05:06:38.816Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-7786 in /w/workspace/gexfoundry_device-sdk-go_PR-1106 [Pipeline] { [Pipeline] ws [2022-03-17T05:06:38.830Z] Running in /w/workspace/device-sdk-go/4 [Pipeline] { [Pipeline] checkout [2022-03-17T05:06:39.070Z] The recommended git tool is: git [2022-03-17T05:06:46.469Z] using credential edgex-jenkins-ssh [2022-03-17T05:06:46.487Z] Cloning the remote Git repository [2022-03-17T05:06:46.552Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2022-03-17T05:06:46.635Z] > git init /w/workspace/device-sdk-go/4 # timeout=10 [2022-03-17T05:06:46.743Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-03-17T05:06:46.744Z] > git --version # timeout=10 [2022-03-17T05:06:46.781Z] > git --version # 'git version 2.25.1' [2022-03-17T05:06:46.784Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-03-17T05:06:46.910Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-03-17T05:06:48.900Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-03-17T05:06:48.937Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-03-17T05:06:48.981Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-03-17T05:06:49.057Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-03-17T05:06:49.059Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-03-17T05:06:49.080Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1106/head:refs/remotes/origin/PR-1106 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-03-17T05:06:49.749Z] Merging remotes/origin/main commit 3d39a6b1d7806654871acffae4a42b12e3fa230c into PR head commit cdb80c6e63b0edc56b463ce5d2a9722185baa673 [2022-03-17T05:06:50.140Z] Merge succeeded, producing cdb80c6e63b0edc56b463ce5d2a9722185baa673 [2022-03-17T05:06:50.140Z] Checking out Revision cdb80c6e63b0edc56b463ce5d2a9722185baa673 (PR-1106) [2022-03-17T05:06:49.784Z] > git config core.sparsecheckout # timeout=10 [2022-03-17T05:06:49.838Z] > git checkout -f cdb80c6e63b0edc56b463ce5d2a9722185baa673 # timeout=10 [2022-03-17T05:06:50.036Z] > git remote # timeout=10 [2022-03-17T05:06:50.057Z] > git config --get remote.origin.url # timeout=10 [2022-03-17T05:06:50.082Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-03-17T05:06:50.095Z] > git merge 3d39a6b1d7806654871acffae4a42b12e3fa230c # timeout=10 [2022-03-17T05:06:50.119Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-03-17T05:06:50.150Z] > git config core.sparsecheckout # timeout=10 [2022-03-17T05:06:50.175Z] > git checkout -f cdb80c6e63b0edc56b463ce5d2a9722185baa673 # timeout=10 [2022-03-17T05:06:54.914Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-03-17T05:06:55.758Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-03-17T05:06:55.758Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-03-17T05:06:55.758Z] Dload Upload Total Spent Left Speed [2022-03-17T05:06:56.037Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 42448 0 --:--:-- --:--:-- --:--:-- 42600 [Pipeline] sh [2022-03-17T05:06:56.556Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-03-17T05:06:56.906Z] + sudo tee+ /etc/docker/daemon.new [2022-03-17T05:06:56.906Z] sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-03-17T05:06:56.906Z] { [2022-03-17T05:06:56.906Z] "registry-mirrors": [ [2022-03-17T05:06:56.906Z] "https://nexus3.edgexfoundry.org:10001" [2022-03-17T05:06:56.906Z] ], [2022-03-17T05:06:56.906Z] "bip": "10.250.0.254/24", [2022-03-17T05:06:56.906Z] "hosts": [ [2022-03-17T05:06:56.906Z] "tcp://0.0.0.0:5555", [2022-03-17T05:06:56.906Z] "unix:///var/run/docker.sock" [2022-03-17T05:06:56.906Z] ], [2022-03-17T05:06:56.906Z] "mtu": 1458, [2022-03-17T05:06:56.906Z] "selinux-enabled": true, [2022-03-17T05:06:56.906Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-03-17T05:06:56.906Z] } [Pipeline] sh [2022-03-17T05:06:57.257Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-03-17T05:06:57.604Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-03-17T05:07:15.956Z] provisioning config files... [2022-03-17T05:07:15.982Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/4@tmp/config6063982770949837019tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-03-17T05:07:16.341Z] ---> docker-login.sh [2022-03-17T05:07:16.341Z] nexus3.edgexfoundry.org:10001 [2022-03-17T05:07:16.939Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-17T05:07:17.213Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-17T05:07:17.213Z] Configure a credential helper to remove this warning. See [2022-03-17T05:07:17.213Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-17T05:07:17.213Z] [2022-03-17T05:07:17.213Z] Login Succeeded [2022-03-17T05:07:17.213Z] nexus3.edgexfoundry.org:10002 [2022-03-17T05:07:17.487Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-17T05:07:17.487Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-17T05:07:17.487Z] Configure a credential helper to remove this warning. See [2022-03-17T05:07:17.487Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-17T05:07:17.487Z] [2022-03-17T05:07:17.487Z] Login Succeeded [2022-03-17T05:07:17.487Z] nexus3.edgexfoundry.org:10003 [2022-03-17T05:07:17.817Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-17T05:07:18.143Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-17T05:07:18.143Z] Configure a credential helper to remove this warning. See [2022-03-17T05:07:18.143Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-17T05:07:18.143Z] [2022-03-17T05:07:18.143Z] Login Succeeded [2022-03-17T05:07:18.143Z] nexus3.edgexfoundry.org:10004 [2022-03-17T05:07:18.437Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-17T05:07:18.713Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-17T05:07:18.713Z] Configure a credential helper to remove this warning. See [2022-03-17T05:07:18.713Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-17T05:07:18.713Z] [2022-03-17T05:07:18.713Z] Login Succeeded [2022-03-17T05:07:18.713Z] docker.io [2022-03-17T05:07:18.985Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-17T05:07:19.580Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-17T05:07:19.580Z] Configure a credential helper to remove this warning. See [2022-03-17T05:07:19.580Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-17T05:07:19.580Z] [2022-03-17T05:07:19.580Z] Login Succeeded [2022-03-17T05:07:19.580Z] ---> docker-login.sh ends [Pipeline] } [2022-03-17T05:07:19.598Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-03-17T05:07:20.040Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-03-17T05:07:20.055Z] ========================================================= [2022-03-17T05:07:20.055Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-03-17T05:07:20.055Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-03-17T05:07:20.425Z] + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-03-17T05:07:20.701Z] Sending build context to Docker daemon 5.146MB [2022-03-17T05:07:20.975Z] Step 1/11 : ARG BASE=golang:1.17-alpine3.15 [2022-03-17T05:07:20.976Z] Step 2/11 : FROM ${BASE} AS builder [2022-03-17T05:07:20.976Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-03-17T05:07:20.976Z] 9b3977197b4f: Pulling fs layer [2022-03-17T05:07:20.976Z] 1a89e8eeedd5: Pulling fs layer [2022-03-17T05:07:20.976Z] 94645a83ff95: Pulling fs layer [2022-03-17T05:07:20.976Z] 3f3a8bcf1eab: Pulling fs layer [2022-03-17T05:07:20.976Z] 0c92f367c5e7: Pulling fs layer [2022-03-17T05:07:20.976Z] f7c0051592d6: Pulling fs layer [2022-03-17T05:07:20.976Z] a227ed2f7395: Pulling fs layer [2022-03-17T05:07:20.976Z] 7b1c46037f91: Pulling fs layer [2022-03-17T05:07:20.976Z] 3f3a8bcf1eab: Waiting [2022-03-17T05:07:20.976Z] 0c92f367c5e7: Waiting [2022-03-17T05:07:20.976Z] f7c0051592d6: Waiting [2022-03-17T05:07:20.976Z] a227ed2f7395: Waiting [2022-03-17T05:07:20.976Z] 7b1c46037f91: Waiting [2022-03-17T05:07:20.976Z] 94645a83ff95: Verifying Checksum [2022-03-17T05:07:20.976Z] 94645a83ff95: Download complete [2022-03-17T05:07:20.976Z] 1a89e8eeedd5: Verifying Checksum [2022-03-17T05:07:20.976Z] 1a89e8eeedd5: Download complete [2022-03-17T05:07:20.976Z] 0c92f367c5e7: Download complete [2022-03-17T05:07:21.255Z] f7c0051592d6: Verifying Checksum [2022-03-17T05:07:21.255Z] f7c0051592d6: Download complete [2022-03-17T05:07:21.255Z] 9b3977197b4f: Download complete [2022-03-17T05:07:21.255Z] a227ed2f7395: Verifying Checksum [2022-03-17T05:07:21.255Z] a227ed2f7395: Download complete [2022-03-17T05:07:21.861Z] 9b3977197b4f: Pull complete [2022-03-17T05:07:22.464Z] 1a89e8eeedd5: Pull complete [2022-03-17T05:07:22.741Z] 94645a83ff95: Pull complete [2022-03-17T05:07:23.338Z] 7b1c46037f91: Verifying Checksum [2022-03-17T05:07:23.338Z] 7b1c46037f91: Download complete [2022-03-17T05:07:23.935Z] 3f3a8bcf1eab: Verifying Checksum [2022-03-17T05:07:23.935Z] 3f3a8bcf1eab: Download complete [2022-03-17T05:07:36.357Z] 3f3a8bcf1eab: Pull complete [2022-03-17T05:07:36.357Z] 0c92f367c5e7: Pull complete [2022-03-17T05:07:36.357Z] f7c0051592d6: Pull complete [2022-03-17T05:07:36.357Z] a227ed2f7395: Pull complete [2022-03-17T05:07:43.086Z] 7b1c46037f91: Pull complete [2022-03-17T05:07:43.086Z] Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe [2022-03-17T05:07:43.086Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-03-17T05:07:43.086Z] ---> f79e39bc4007 [2022-03-17T05:07:43.086Z] Step 3/11 : ARG MAKE=make build [2022-03-17T05:07:43.360Z] ---> Running in af864fda4968 [2022-03-17T05:07:43.635Z] Removing intermediate container af864fda4968 [2022-03-17T05:07:43.635Z] ---> aec7a364a123 [2022-03-17T05:07:43.635Z] Step 4/11 : WORKDIR /device-sdk-go [2022-03-17T05:07:43.921Z] ---> Running in 8168f1f3e069 [2022-03-17T05:07:44.196Z] Removing intermediate container 8168f1f3e069 [2022-03-17T05:07:44.196Z] ---> 13d5710de51e [2022-03-17T05:07:44.196Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-03-17T05:07:44.196Z] ---> Running in fe0b092c1146 [2022-03-17T05:07:44.473Z] Removing intermediate container fe0b092c1146 [2022-03-17T05:07:44.473Z] ---> ae5a1229864b [2022-03-17T05:07:44.473Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-03-17T05:07:44.473Z] ---> Running in cb9eaef5967f [2022-03-17T05:07:46.464Z] Removing intermediate container cb9eaef5967f [2022-03-17T05:07:46.464Z] ---> bdf03b4e2941 [2022-03-17T05:07:46.464Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-03-17T05:07:46.464Z] ---> Running in 8b935e23603a [2022-03-17T05:07:47.442Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-03-17T05:07:48.423Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-03-17T05:07:49.406Z] OK: 220 MiB in 52 packages [2022-03-17T05:07:50.009Z] Removing intermediate container 8b935e23603a [2022-03-17T05:07:50.009Z] ---> e03b36817557 [2022-03-17T05:07:50.009Z] Step 8/11 : COPY go.mod vendor* ./ [2022-03-17T05:07:50.608Z] ---> 2c91d9b3a5b9 [2022-03-17T05:07:50.608Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-03-17T05:07:50.608Z] ---> Running in af31802bf3ab [2022-03-17T05:09:12.406Z] Removing intermediate container af31802bf3ab [2022-03-17T05:09:12.406Z] ---> b9f86b3a9bf0 [2022-03-17T05:09:12.406Z] Step 10/11 : COPY . . [2022-03-17T05:09:12.406Z] ---> bf696af3f0cc [2022-03-17T05:09:12.406Z] Step 11/11 : RUN ${MAKE} [2022-03-17T05:09:12.406Z] ---> Running in 9e1ecb3f022f [2022-03-17T05:09:12.406Z] noop [2022-03-17T05:09:12.406Z] Removing intermediate container 9e1ecb3f022f [2022-03-17T05:09:12.406Z] ---> 78ab133c8832 [2022-03-17T05:09:12.406Z] Successfully built 78ab133c8832 [2022-03-17T05:09:12.406Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-03-17T05:09:12.762Z] + docker inspect -f . ci-base-image-arm64 [2022-03-17T05:09:12.762Z] . [Pipeline] withDockerContainer [2022-03-17T05:09:12.990Z] prd-ubuntu20.04-docker-arm64-4c-16g-7786 does not seem to be running inside a container [2022-03-17T05:09:13.079Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-03-17T05:09:14.412Z] $ docker top 71d1a898aa229aa1b5828d9e4e50719aec52a3697140d80656e09cecb71d5268 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-03-17T05:09:15.310Z] + go version [2022-03-17T05:09:15.311Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-03-17T05:09:15.344Z] $ docker stop --time=1 71d1a898aa229aa1b5828d9e4e50719aec52a3697140d80656e09cecb71d5268 [2022-03-17T05:09:16.970Z] $ docker rm -f 71d1a898aa229aa1b5828d9e4e50719aec52a3697140d80656e09cecb71d5268 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-03-17T05:09:17.588Z] + docker inspect -f . ci-base-image-arm64 [2022-03-17T05:09:17.588Z] . [Pipeline] withDockerContainer [2022-03-17T05:09:17.822Z] prd-ubuntu20.04-docker-arm64-4c-16g-7786 does not seem to be running inside a container [2022-03-17T05:09:17.917Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-03-17T05:09:19.173Z] $ docker top b23e001d5f9388d2b1d915b7042816340fb3f9f434400fc210831f86f0c0cb7c -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-03-17T05:09:20.064Z] + make test [2022-03-17T05:09:20.064Z] GO111MODULE=on go test -coverprofile=coverage.out ./... [2022-03-17T05:09:21.503Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-03-17T05:10:08.521Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-03-17T05:10:08.521Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-03-17T05:10:08.521Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-03-17T05:10:16.828Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.135s coverage: 23.3% of statements [2022-03-17T05:10:16.828Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-03-17T05:10:16.828Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.063s coverage: 27.6% of statements [2022-03-17T05:10:16.828Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.073s coverage: 78.9% of statements [2022-03-17T05:10:16.828Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.096s coverage: 10.8% of statements [2022-03-17T05:10:16.828Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2022-03-17T05:10:16.828Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-03-17T05:10:16.828Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-03-17T05:10:17.833Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.102s coverage: 33.2% of statements [2022-03-17T05:10:17.833Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-03-17T05:10:18.430Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.152s coverage: 86.1% of statements [2022-03-17T05:10:18.430Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-03-17T05:10:18.430Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-03-17T05:10:18.430Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.121s coverage: 57.4% of statements [2022-03-17T05:10:19.417Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.184s coverage: 89.2% of statements [2022-03-17T05:10:19.417Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-03-17T05:10:20.851Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.058s coverage: 4.8% of statements [2022-03-17T05:10:20.851Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-03-17T05:10:21.449Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-03-17T05:10:21.449Z] GO111MODULE=on go vet ./... [2022-03-17T05:10:43.625Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-03-17T05:10:43.625Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-03-17T05:10:43.625Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-03-17T05:10:43.921Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-03-17T05:10:43.944Z] $ docker stop --time=1 b23e001d5f9388d2b1d915b7042816340fb3f9f434400fc210831f86f0c0cb7c [2022-03-17T05:10:45.694Z] $ docker rm -f b23e001d5f9388d2b1d915b7042816340fb3f9f434400fc210831f86f0c0cb7c [Pipeline] // withDockerContainer [Pipeline] sh [2022-03-17T05:10:46.513Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-03-17T05:10:46.534Z] Warning: overwriting stash ‘coverage-report’ [2022-03-17T05:10:47.090Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-03-17T05:10:47.474Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-03-17T05:10:47.809Z] + ls -al . [2022-03-17T05:10:47.809Z] total 308 [2022-03-17T05:10:47.809Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 17 05:10 . [2022-03-17T05:10:47.809Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 17 05:06 .. [2022-03-17T05:10:47.809Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 17 05:06 .dockerignore [2022-03-17T05:10:47.809Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 17 05:06 .git [2022-03-17T05:10:47.809Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 17 05:06 .github [2022-03-17T05:10:47.809Z] -rw-rw-r-- 1 jenkins jenkins 131 Mar 17 05:06 .gitignore [2022-03-17T05:10:47.809Z] -rw-rw-r-- 1 jenkins jenkins 42 Mar 17 05:06 .golangci.yml [2022-03-17T05:10:47.809Z] -rw-rw-r-- 1 jenkins jenkins 26321 Mar 17 05:06 CHANGELOG.md [2022-03-17T05:10:47.809Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 17 05:06 GOVERNANCE.md [2022-03-17T05:10:47.809Z] -rw-rw-r-- 1 jenkins jenkins 880 Mar 17 05:06 Jenkinsfile [2022-03-17T05:10:47.809Z] -rw-rw-r-- 1 jenkins jenkins 11341 Mar 17 05:06 LICENSE [2022-03-17T05:10:47.809Z] -rw-rw-r-- 1 jenkins jenkins 1614 Mar 17 05:06 Makefile [2022-03-17T05:10:47.809Z] -rw-rw-r-- 1 jenkins jenkins 619 Mar 17 05:06 OWNERS.md [2022-03-17T05:10:47.809Z] -rw-rw-r-- 1 jenkins jenkins 4881 Mar 17 05:06 README.md [2022-03-17T05:10:47.809Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 17 05:02 VERSION [2022-03-17T05:10:47.809Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 17 05:06 bin [2022-03-17T05:10:47.809Z] -rw-r--r-- 1 jenkins jenkins 129001 Mar 17 05:10 coverage.out [2022-03-17T05:10:47.809Z] drwxrwxr-x 5 jenkins jenkins 4096 Mar 17 05:06 example [2022-03-17T05:10:47.809Z] -rw-rw-r-- 1 jenkins jenkins 2773 Mar 17 05:06 go.mod [2022-03-17T05:10:47.809Z] -rw-rw-r-- 1 jenkins jenkins 50080 Mar 17 05:06 go.sum [2022-03-17T05:10:47.809Z] drwxrwxr-x 15 jenkins jenkins 4096 Mar 17 05:06 internal [2022-03-17T05:10:47.809Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 17 05:06 openapi [2022-03-17T05:10:47.809Z] drwxrwxr-x 5 jenkins jenkins 4096 Mar 17 05:06 pkg [2022-03-17T05:10:47.809Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 17 05:06 snap [2022-03-17T05:10:47.809Z] -rw-rw-r-- 1 jenkins jenkins 222 Mar 17 05:06 version.go [Pipeline] isUnix [Pipeline] sh [2022-03-17T05:10:48.150Z] + 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=cdb80c6e63b0edc56b463ce5d2a9722185baa673 --label arch=arm64 --label version=0.0.0 . [2022-03-17T05:10:48.754Z] Sending build context to Docker daemon 5.276MB [2022-03-17T05:10:48.754Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-03-17T05:10:48.754Z] Step 2/25 : FROM ${BASE} AS builder [2022-03-17T05:10:48.754Z] ---> 78ab133c8832 [2022-03-17T05:10:48.754Z] Step 3/25 : ARG MAKE=make build [2022-03-17T05:10:48.754Z] ---> Running in d7922edcf93a [2022-03-17T05:10:49.028Z] Removing intermediate container d7922edcf93a [2022-03-17T05:10:49.028Z] ---> 9d834f2d0ca8 [2022-03-17T05:10:49.028Z] Step 4/25 : WORKDIR /device-sdk-go [2022-03-17T05:10:49.028Z] ---> Running in f8eaa9d1f936 [2022-03-17T05:10:49.636Z] Removing intermediate container f8eaa9d1f936 [2022-03-17T05:10:49.636Z] ---> 53d00fd60f20 [2022-03-17T05:10:49.636Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-03-17T05:10:49.636Z] ---> Running in 561f7e07ffe9 [2022-03-17T05:10:49.909Z] Removing intermediate container 561f7e07ffe9 [2022-03-17T05:10:49.909Z] ---> 6d6a8999b1bc [2022-03-17T05:10:49.909Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-03-17T05:10:49.909Z] ---> Running in b67667f7de4a [2022-03-17T05:10:51.904Z] Removing intermediate container b67667f7de4a [2022-03-17T05:10:51.904Z] ---> f087971d7b06 [2022-03-17T05:10:51.904Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-03-17T05:10:51.904Z] ---> Running in 532d23bd49c9 [2022-03-17T05:10:52.505Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-03-17T05:10:53.485Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-03-17T05:10:54.462Z] OK: 220 MiB in 52 packages [2022-03-17T05:10:55.059Z] Removing intermediate container 532d23bd49c9 [2022-03-17T05:10:55.059Z] ---> a0dde41fc6f0 [2022-03-17T05:10:55.059Z] Step 8/25 : COPY go.mod vendor* ./ [2022-03-17T05:10:55.654Z] ---> bec01390fd28 [2022-03-17T05:10:55.654Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-03-17T05:10:55.654Z] ---> Running in d793d8e206c3 [2022-03-17T05:10:57.642Z] Removing intermediate container d793d8e206c3 [2022-03-17T05:10:57.642Z] ---> 3d104289ea0b [2022-03-17T05:10:57.642Z] Step 10/25 : COPY . . [2022-03-17T05:10:59.071Z] ---> 87debe61fee5 [2022-03-17T05:10:59.071Z] Step 11/25 : RUN ${MAKE} [2022-03-17T05:10:59.071Z] ---> Running in a656c77083a7 [2022-03-17T05:11:00.050Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2022-03-17T05:11:39.130Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-03-17T05:11:39.403Z] Removing intermediate container a656c77083a7 [2022-03-17T05:11:39.403Z] ---> face4d376793 [2022-03-17T05:11:39.403Z] Step 12/25 : FROM alpine:3.14 [2022-03-17T05:11:39.997Z] 3.14: Pulling from library/alpine [2022-03-17T05:11:40.270Z] be307f383ecc: Pulling fs layer [2022-03-17T05:11:40.546Z] be307f383ecc: Verifying Checksum [2022-03-17T05:11:40.546Z] be307f383ecc: Download complete [2022-03-17T05:11:41.146Z] be307f383ecc: Pull complete [2022-03-17T05:11:41.146Z] Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 [2022-03-17T05:11:41.146Z] Status: Downloaded newer image for alpine:3.14 [2022-03-17T05:11:41.146Z] ---> 5b8b7b635229 [2022-03-17T05:11:41.146Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-03-17T05:11:41.435Z] ---> Running in 5b19ddc3772e [2022-03-17T05:11:41.435Z] Removing intermediate container 5b19ddc3772e [2022-03-17T05:11:41.435Z] ---> 28a89196bb19 [2022-03-17T05:11:41.436Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-03-17T05:11:41.728Z] ---> Running in d4b4b2b4ae05 [2022-03-17T05:11:43.172Z] Removing intermediate container d4b4b2b4ae05 [2022-03-17T05:11:43.173Z] ---> 2f8177e578ec [2022-03-17T05:11:43.173Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-03-17T05:11:43.451Z] ---> Running in 815cf9e013f4 [2022-03-17T05:11:44.450Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-03-17T05:11:45.433Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-03-17T05:11:46.031Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2022-03-17T05:11:46.031Z] (2/5) Installing libsodium (1.0.18-r0) [2022-03-17T05:11:46.302Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2022-03-17T05:11:46.302Z] (4/5) Installing libzmq (4.3.4-r0) [2022-03-17T05:11:46.302Z] (5/5) Installing zeromq (4.3.4-r0) [2022-03-17T05:11:46.575Z] Executing busybox-1.33.1-r6.trigger [2022-03-17T05:11:46.575Z] OK: 8 MiB in 19 packages [2022-03-17T05:11:47.573Z] Removing intermediate container 815cf9e013f4 [2022-03-17T05:11:47.573Z] ---> 7b81842b85ea [2022-03-17T05:11:47.573Z] Step 16/25 : WORKDIR / [2022-03-17T05:11:47.573Z] ---> Running in bc5fe10a5078 [2022-03-17T05:11:47.847Z] Removing intermediate container bc5fe10a5078 [2022-03-17T05:11:47.847Z] ---> d68d8d3c3bef [2022-03-17T05:11:47.847Z] Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-03-17T05:11:48.444Z] ---> 4368799e6e93 [2022-03-17T05:11:48.444Z] Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-03-17T05:11:49.424Z] ---> 91bac253feec [2022-03-17T05:11:49.425Z] Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-03-17T05:11:50.025Z] ---> 7a07e39936ab [2022-03-17T05:11:50.025Z] Step 20/25 : EXPOSE 59999 [2022-03-17T05:11:50.025Z] ---> Running in e6eb9699a9a5 [2022-03-17T05:11:50.301Z] Removing intermediate container e6eb9699a9a5 [2022-03-17T05:11:50.301Z] ---> 9ba6107083b3 [2022-03-17T05:11:50.301Z] Step 21/25 : ENTRYPOINT ["/device-simple"] [2022-03-17T05:11:50.301Z] ---> Running in cbaf9e69a395 [2022-03-17T05:11:50.576Z] Removing intermediate container cbaf9e69a395 [2022-03-17T05:11:50.576Z] ---> 1f2530967ab3 [2022-03-17T05:11:50.576Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-03-17T05:11:50.864Z] ---> Running in f43a761de651 [2022-03-17T05:11:51.138Z] Removing intermediate container f43a761de651 [2022-03-17T05:11:51.138Z] ---> bdbd3540f3f1 [2022-03-17T05:11:51.138Z] Step 23/25 : LABEL arch=arm64 [2022-03-17T05:11:51.138Z] ---> Running in 93acf67e7c1c [2022-03-17T05:11:51.414Z] Removing intermediate container 93acf67e7c1c [2022-03-17T05:11:51.414Z] ---> d57c1261728e [2022-03-17T05:11:51.414Z] Step 24/25 : LABEL git_sha=cdb80c6e63b0edc56b463ce5d2a9722185baa673 [2022-03-17T05:11:51.414Z] ---> Running in ca89fd2edc11 [2022-03-17T05:11:52.019Z] Removing intermediate container ca89fd2edc11 [2022-03-17T05:11:52.019Z] ---> 3b9ca6c19023 [2022-03-17T05:11:52.019Z] Step 25/25 : LABEL version=0.0.0 [2022-03-17T05:11:52.019Z] ---> Running in 1a47fcd7ef3d [2022-03-17T05:11:52.309Z] Removing intermediate container 1a47fcd7ef3d [2022-03-17T05:11:52.309Z] ---> ed972c29bc59 [2022-03-17T05:11:52.309Z] [Warning] One or more build-args [ARCH] were not consumed [2022-03-17T05:11:52.309Z] Successfully built ed972c29bc59 [2022-03-17T05:11:52.309Z] 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-03-17T05:11:52.739Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-03-17T05:11:52.739Z] [2022-03-17T05:11:52.739Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-03-17T05:11:53.095Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-03-17T05:11:53.373Z] arm64: Pulling from edgex-lftools-log-publisher [2022-03-17T05:11:53.373Z] 8998bd30e6a1: Pulling fs layer [2022-03-17T05:11:53.373Z] 04944245beec: Pulling fs layer [2022-03-17T05:11:53.373Z] 699f458cf7ca: Pulling fs layer [2022-03-17T05:11:53.373Z] 765212b225bb: Pulling fs layer [2022-03-17T05:11:53.373Z] f23df028b6ca: Pulling fs layer [2022-03-17T05:11:53.373Z] d65c8cfc05b1: Pulling fs layer [2022-03-17T05:11:53.373Z] 2437ff75d9bd: Pulling fs layer [2022-03-17T05:11:53.373Z] 765212b225bb: Waiting [2022-03-17T05:11:53.373Z] f23df028b6ca: Waiting [2022-03-17T05:11:53.373Z] d65c8cfc05b1: Waiting [2022-03-17T05:11:53.373Z] 2437ff75d9bd: Waiting [2022-03-17T05:11:53.373Z] 04944245beec: Verifying Checksum [2022-03-17T05:11:53.373Z] 04944245beec: Download complete [2022-03-17T05:11:53.373Z] 765212b225bb: Verifying Checksum [2022-03-17T05:11:53.373Z] 765212b225bb: Download complete [2022-03-17T05:11:53.373Z] f23df028b6ca: Verifying Checksum [2022-03-17T05:11:53.373Z] f23df028b6ca: Download complete [2022-03-17T05:11:53.373Z] d65c8cfc05b1: Verifying Checksum [2022-03-17T05:11:53.373Z] d65c8cfc05b1: Download complete [2022-03-17T05:11:53.653Z] 699f458cf7ca: Verifying Checksum [2022-03-17T05:11:53.653Z] 699f458cf7ca: Download complete [2022-03-17T05:11:53.927Z] 8998bd30e6a1: Verifying Checksum [2022-03-17T05:11:53.927Z] 8998bd30e6a1: Download complete [2022-03-17T05:11:56.578Z] 2437ff75d9bd: Verifying Checksum [2022-03-17T05:11:56.578Z] 2437ff75d9bd: Download complete [2022-03-17T05:11:58.563Z] 8998bd30e6a1: Pull complete [2022-03-17T05:11:58.838Z] 04944245beec: Pull complete [2022-03-17T05:12:00.279Z] 699f458cf7ca: Pull complete [2022-03-17T05:12:00.552Z] 765212b225bb: Pull complete [2022-03-17T05:12:01.151Z] f23df028b6ca: Pull complete [2022-03-17T05:12:01.426Z] d65c8cfc05b1: Pull complete [2022-03-17T05:12:16.525Z] 2437ff75d9bd: Pull complete [2022-03-17T05:12:16.525Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-03-17T05:12:16.525Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-03-17T05:12:16.525Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-03-17T05:12:16.770Z] prd-ubuntu20.04-docker-arm64-4c-16g-7786 does not seem to be running inside a container [2022-03-17T05:12:16.866Z] $ 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/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-03-17T05:12:19.295Z] $ docker top af12bb08d593d09da09d310e8a73a1b89c7c02d365ed9656ac264fd93e4c2490 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-03-17T05:12:20.224Z] ---> job-cost.sh [2022-03-17T05:12:20.224Z] lf-activate-venv: SKIPPING [2022-03-17T05:12:20.224Z] INFO: No Stack... [2022-03-17T05:12:20.498Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-03-17T05:12:21.473Z] INFO: Archiving Costs [Pipeline] sh [2022-03-17T05:12:22.147Z] + cat /w/workspace/device-sdk-go/4/archives/cost.csv [2022-03-17T05:12:22.147Z] + cut -d, -f6 [Pipeline] lock [2022-03-17T05:12:22.217Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1106-4-stack-cost] [2022-03-17T05:12:22.222Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1106-4-stack-cost] did not exist. Created. [2022-03-17T05:12:22.222Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1106-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-03-17T05:12:22.903Z] /w/workspace/device-sdk-go/4@tmp/durable-dcfa4dcc/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-03-17T05:12:23.588Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-03-17T05:12:23.611Z] Warning: overwriting stash ‘stack-cost’ [2022-03-17T05:12:23.673Z] Stashed 1 file(s) [Pipeline] } [2022-03-17T05:12:23.680Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1106-4-stack-cost] [Pipeline] // lock [Pipeline] } [2022-03-17T05:12:23.717Z] $ docker stop --time=1 af12bb08d593d09da09d310e8a73a1b89c7c02d365ed9656ac264fd93e4c2490 [2022-03-17T05:12:25.230Z] $ docker rm -f af12bb08d593d09da09d310e8a73a1b89c7c02d365ed9656ac264fd93e4c2490 [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-03-17T05:12:25.698Z] provisioning config files... [2022-03-17T05:12:25.707Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1106@tmp/config6183259337448157351tmp [Pipeline] { [Pipeline] sh [2022-03-17T05:12:26.017Z] + set +x [2022-03-17T05:12:26.017Z] + curl -s https://codecov.io/bash [2022-03-17T05:12:26.017Z] + bash -s -- [2022-03-17T05:12:26.017Z] [2022-03-17T05:12:26.017Z] _____ _ [2022-03-17T05:12:26.017Z] / ____| | | [2022-03-17T05:12:26.017Z] | | ___ __| | ___ ___ _____ __ [2022-03-17T05:12:26.017Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-03-17T05:12:26.017Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-03-17T05:12:26.017Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-03-17T05:12:26.017Z] Bash-1.0.6 [2022-03-17T05:12:26.017Z] [2022-03-17T05:12:26.017Z] [2022-03-17T05:12:26.017Z] ==> git version 2.25.1 found [2022-03-17T05:12:26.017Z] ==> 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-03-17T05:12:26.017Z] Release-Date: 2020-01-08 [2022-03-17T05:12:26.017Z] 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-03-17T05:12:26.017Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-03-17T05:12:26.017Z] ==> Jenkins CI detected. [2022-03-17T05:12:26.017Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1106 [2022-03-17T05:12:26.017Z] project root: . [2022-03-17T05:12:26.017Z] --> token set from env [2022-03-17T05:12:26.017Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-03-17T05:12:26.017Z] ==> Running gcov in . (disable via -X gcov) [2022-03-17T05:12:26.017Z] ==> Python coveragepy not found [2022-03-17T05:12:26.017Z] ==> Searching for coverage reports in: [2022-03-17T05:12:26.017Z] + . [2022-03-17T05:12:26.017Z] -> Found 1 reports [2022-03-17T05:12:26.017Z] ==> Detecting git/mercurial file structure [2022-03-17T05:12:26.017Z] ==> Reading reports [2022-03-17T05:12:26.017Z] + ./coverage.out bytes=129001 [2022-03-17T05:12:26.017Z] ==> Appending adjustments [2022-03-17T05:12:26.017Z] https://docs.codecov.io/docs/fixing-reports [2022-03-17T05:12:26.278Z] + Found adjustments [2022-03-17T05:12:26.278Z] ==> Gzipping contents [2022-03-17T05:12:26.539Z] 16K /tmp/codecov.08Uk1B.gz [2022-03-17T05:12:26.539Z] ==> Uploading reports [2022-03-17T05:12:26.539Z] url: https://codecov.io [2022-03-17T05:12:26.539Z] query: branch=PR-1106&commit=cdb80c6e63b0edc56b463ce5d2a9722185baa673&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1106%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1106&job=&cmd_args= [2022-03-17T05:12:26.539Z] -> Pinging Codecov [2022-03-17T05:12:26.539Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1106&commit=cdb80c6e63b0edc56b463ce5d2a9722185baa673&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1106%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1106&job=&cmd_args= [2022-03-17T05:12:26.801Z] -> Uploading to [2022-03-17T05:12:26.801Z] https://storage.googleapis.com/codecov/v4/raw/2022-03-17/7E55EF52A471D76F132DFD9A03CDDE97/cdb80c6e63b0edc56b463ce5d2a9722185baa673/70b450c0-0f99-4ce4-a026-92aff4e422ee.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220317%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220317T051226Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=20f54294078857394e5bb91774387d7ea049f85dd7644ec18019d480f748877c [2022-03-17T05:12:26.801Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-03-17T05:12:26.801Z] Dload Upload Total Spent Left Speed [2022-03-17T05:12:27.062Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16254 0 0 100 16254 0 58258 --:--:-- --:--:-- --:--:-- 58258 [2022-03-17T05:12:27.062Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/cdb80c6e63b0edc56b463ce5d2a9722185baa673 [Pipeline] } [2022-03-17T05:12:27.072Z] 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-03-17T05:12:27.846Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1106/archives ] [2022-03-17T05:12:27.846Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1106/archives [2022-03-17T05:12:27.846Z] total 16 [2022-03-17T05:12:27.846Z] drwxr-xr-x 3 root root 4096 Mar 17 05:04 . [2022-03-17T05:12:27.846Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 17 05:04 .. [2022-03-17T05:12:27.846Z] drwxr-xr-x 2 root root 4096 Mar 17 05:04 cost [2022-03-17T05:12:27.846Z] -rw-r--r-- 1 root root 85 Mar 17 05:04 cost.csv [2022-03-17T05:12:27.846Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1106/archives [2022-03-17T05:12:27.846Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1106/archives [2022-03-17T05:12:27.846Z] total 16 [2022-03-17T05:12:27.846Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 17 05:04 . [2022-03-17T05:12:27.846Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 17 05:04 .. [2022-03-17T05:12:27.846Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 17 05:04 cost [2022-03-17T05:12:27.846Z] -rw-r--r-- 1 jenkins jenkins 85 Mar 17 05:04 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-03-17T05:12:28.141Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-17T05:12:29.006Z] ---> package-listing.sh [2022-03-17T05:12:29.006Z] ++ tr '[:upper:]' '[:lower:]' [2022-03-17T05:12:29.006Z] ++ facter osfamily [2022-03-17T05:12:29.266Z] + OS_FAMILY=debian [2022-03-17T05:12:29.266Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1106 [2022-03-17T05:12:29.266Z] + START_PACKAGES=/tmp/packages_start.txt [2022-03-17T05:12:29.266Z] + END_PACKAGES=/tmp/packages_end.txt [2022-03-17T05:12:29.266Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-03-17T05:12:29.266Z] + PACKAGES=/tmp/packages_start.txt [2022-03-17T05:12:29.266Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1106 ']' [2022-03-17T05:12:29.266Z] + PACKAGES=/tmp/packages_end.txt [2022-03-17T05:12:29.266Z] + case "${OS_FAMILY}" in [2022-03-17T05:12:29.266Z] + grep '^ii' [2022-03-17T05:12:29.266Z] + dpkg -l [2022-03-17T05:12:29.266Z] + '[' -f /tmp/packages_start.txt ']' [2022-03-17T05:12:29.266Z] + '[' -f /tmp/packages_end.txt ']' [2022-03-17T05:12:29.266Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-03-17T05:12:29.266Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1106 ']' [2022-03-17T05:12:29.266Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1106/archives/ [2022-03-17T05:12:29.266Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1106/archives/ [Pipeline] echo [2022-03-17T05:12:29.279Z] 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-1106/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-03-17T05:12:29.562Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-03-17T05:12:30.123Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-03-17T05:12:30.123Z] . [Pipeline] withDockerContainer [2022-03-17T05:12:30.189Z] prd-ubuntu20.04-docker-8c-8g-7783 does not seem to be running inside a container [2022-03-17T05:12:30.226Z] $ 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-1106/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-1106 -v /w/workspace/gexfoundry_device-sdk-go_PR-1106:/w/workspace/gexfoundry_device-sdk-go_PR-1106:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1106@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1106@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-03-17T05:12:30.472Z] $ docker top c44dfb516f6c3d59ae321a6651244b44dd8e1909f8c272f074d6a4d2c62721da -eo pid,comm [Pipeline] { [Pipeline] sh [2022-03-17T05:12:30.826Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-03-17T05:12:31.112Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-03-17T05:12:31.401Z] + ls /var/log/sa-host [2022-03-17T05:12:31.401Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-03-17T05:12:31.498Z] provisioning config files... [2022-03-17T05:12:31.508Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1106@tmp/config4296142913064390768tmp [Pipeline] { [Pipeline] echo [2022-03-17T05:12:31.523Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-17T05:12:31.813Z] ---> create-netrc.sh [Pipeline] } [2022-03-17T05:12:31.821Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-03-17T05:12:32.151Z] ---> python-tools-install.sh [Pipeline] echo [2022-03-17T05:12:32.162Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-17T05:12:32.453Z] ---> sudo-logs.sh [2022-03-17T05:12:32.453Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-03-17T05:12:32.478Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-17T05:12:32.765Z] ---> job-cost.sh [2022-03-17T05:12:32.765Z] lf-activate-venv: SKIPPING [2022-03-17T05:12:32.765Z] DEBUG: total: 0.2199999988079071 [2022-03-17T05:12:32.765Z] INFO: Retrieving Stack Cost... [2022-03-17T05:12:33.026Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-03-17T05:12:33.597Z] INFO: Archiving Costs [Pipeline] echo [2022-03-17T05:12:33.611Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-17T05:12:33.898Z] ---> logs-deploy.sh [2022-03-17T05:12:33.898Z] lf-activate-venv: SKIPPING [2022-03-17T05:12:33.898Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1106/4 [2022-03-17T05:12:33.898Z] INFO: archiving workspace using pattern(s): [2022-03-17T05:12:34.840Z] Archives upload complete. [2022-03-17T05:12:34.840Z] INFO: archiving logs to Nexus