Pull request #1123 event Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 4c3a3a145e2d742fdce328609e9b16a891e2b1aa+49643132f6b9e95e3a0d289ddc01900e940e8eba (cba055789c930642beb2f140d1fffae17d768d18) 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-ssh619603614817805457.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-ssh9014162877854076910.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-1123/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-1123/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh3348543691717094182.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-ssh15701653095530569268.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-1123/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-1123/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh1774912413014626313.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-20760’ Running on prd-ubuntu20.04-docker-8c-8g-20764 in /w/workspace/gexfoundry_device-sdk-go_PR-1123 [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-1123 # 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 49643132f6b9e95e3a0d289ddc01900e940e8eba into PR head commit 4c3a3a145e2d742fdce328609e9b16a891e2b1aa Merge succeeded, producing 4c3a3a145e2d742fdce328609e9b16a891e2b1aa Checking out Revision 4c3a3a145e2d742fdce328609e9b16a891e2b1aa (PR-1123) > 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/1123/head:refs/remotes/origin/PR-1123 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 4c3a3a145e2d742fdce328609e9b16a891e2b1aa # 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 49643132f6b9e95e3a0d289ddc01900e940e8eba # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 4c3a3a145e2d742fdce328609e9b16a891e2b1aa # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-messaging/v2" First time build. Skipping changelog. > git rev-list --no-walk fc18c769fae714dff2db1cdb3b1542ba98770df7 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-04-13T03:32:59.135Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-04-13T03:32:59.184Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-04-13T03:32:59.200Z] ========================================================= [2022-04-13T03:32:59.200Z] EdgeX Global Pipelines Version Info [2022-04-13T03:32:59.200Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-04-13T03:32:59.967Z] ------------------- [2022-04-13T03:32:59.967Z] stable info: [2022-04-13T03:32:59.967Z] ------------------- [2022-04-13T03:32:59.967Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-04-13T03:32:59.967Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-04-13T03:32:59.967Z] Message: update stable to v1.0.221 [2022-04-13T03:33:00.541Z] ------------------- [2022-04-13T03:33:00.541Z] experimental info: [2022-04-13T03:33:00.541Z] ------------------- [2022-04-13T03:33:00.541Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-04-13T03:33:00.541Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-04-13T03:33:00.541Z] Message: update experimental to v1.0.221 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-04-13T03:33:00.659Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2022-04-13T03:33:00.673Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2022-04-13T03:33:00.693Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-04-13T03:33:00.707Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-04-13T03:33:00.718Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-04-13T03:33:00.732Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-04-13T03:33:00.745Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-04-13T03:33:00.762Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2022-04-13T03:33:00.775Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-04-13T03:33:00.791Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-04-13T03:33:00.806Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-04-13T03:33:00.819Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2022-04-13T03:33:00.836Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-04-13T03:33:00.850Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-04-13T03:33:00.859Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-04-13T03:33:00.872Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2022-04-13T03:33:00.892Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-04-13T03:33:00.905Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-04-13T03:33:00.916Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-04-13T03:33:00.932Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-04-13T03:33:00.943Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-04-13T03:33:00.957Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2022-04-13T03:33:00.977Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-04-13T03:33:00.988Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-04-13T03:33:00.999Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-04-13T03:33:01.013Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-04-13T03:33:01.025Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1123 [Pipeline] echo [2022-04-13T03:33:01.038Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1123 [Pipeline] echo [2022-04-13T03:33:01.050Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1123 [Pipeline] echo [2022-04-13T03:33:01.060Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 4c3a3a145e2d742fdce328609e9b16a891e2b1aa [Pipeline] echo [2022-04-13T03:33:01.071Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 4c3a3a1 [Pipeline] echo [2022-04-13T03:33:01.083Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-13T03:33:01.126Z] provisioning config files... [2022-04-13T03:33:01.146Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1123@tmp/config3056470494837568753tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-13T03:33:01.455Z] ---> docker-login.sh [2022-04-13T03:33:01.456Z] nexus3.edgexfoundry.org:10001 [2022-04-13T03:33:01.716Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-13T03:33:01.716Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-13T03:33:01.716Z] Configure a credential helper to remove this warning. See [2022-04-13T03:33:01.716Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-13T03:33:01.716Z] [2022-04-13T03:33:01.716Z] Login Succeeded [2022-04-13T03:33:01.716Z] nexus3.edgexfoundry.org:10002 [2022-04-13T03:33:01.716Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-13T03:33:01.984Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-13T03:33:01.984Z] Configure a credential helper to remove this warning. See [2022-04-13T03:33:01.984Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-13T03:33:01.984Z] [2022-04-13T03:33:01.984Z] Login Succeeded [2022-04-13T03:33:01.984Z] nexus3.edgexfoundry.org:10003 [2022-04-13T03:33:01.984Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-13T03:33:01.984Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-13T03:33:01.984Z] Configure a credential helper to remove this warning. See [2022-04-13T03:33:01.984Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-13T03:33:01.984Z] [2022-04-13T03:33:01.984Z] Login Succeeded [2022-04-13T03:33:01.984Z] nexus3.edgexfoundry.org:10004 [2022-04-13T03:33:02.244Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-13T03:33:02.244Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-13T03:33:02.244Z] Configure a credential helper to remove this warning. See [2022-04-13T03:33:02.244Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-13T03:33:02.244Z] [2022-04-13T03:33:02.244Z] Login Succeeded [2022-04-13T03:33:02.244Z] docker.io [2022-04-13T03:33:02.244Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-13T03:33:02.505Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-13T03:33:02.505Z] Configure a credential helper to remove this warning. See [2022-04-13T03:33:02.505Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-13T03:33:02.505Z] [2022-04-13T03:33:02.505Z] Login Succeeded [2022-04-13T03:33:02.783Z] ---> docker-login.sh ends [Pipeline] } [2022-04-13T03:33:02.793Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-04-13T03:33:03.171Z] + git rev-list -1 --merges 4c3a3a145e2d742fdce328609e9b16a891e2b1aa~1..4c3a3a145e2d742fdce328609e9b16a891e2b1aa [Pipeline] echo [2022-04-13T03:33:03.272Z] -----------> git rev-list -1 --merges 4c3a3a145e2d742fdce328609e9b16a891e2b1aa~1..4c3a3a145e2d742fdce328609e9b16a891e2b1aa 4c3a3a145e2d742fdce328609e9b16a891e2b1aa [false] [Pipeline] sh [2022-04-13T03:33:03.593Z] + git log --format=format:%s -1 4c3a3a145e2d742fdce328609e9b16a891e2b1aa [Pipeline] echo [2022-04-13T03:33:03.609Z] ========================================================= [2022-04-13T03:33:03.609Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-04-13T03:33:03.609Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-13T03:33:03.944Z] + git log --format=format:%s -1 4c3a3a145e2d742fdce328609e9b16a891e2b1aa [Pipeline] echo [2022-04-13T03:33:03.957Z] [semverPrep] GIT_COMMIT: 4c3a3a145e2d742fdce328609e9b16a891e2b1aa, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-messaging/v2 [Pipeline] echo [2022-04-13T03:33:03.968Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-04-13T03:33:04.346Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-13T03:33:04.346Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-04-13T03:33:04.346Z] + [ -e /tmp/ssh_known_hosts ] [2022-04-13T03:33:04.346Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-04-13T03:33:04.346Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-04-13T03:33:04.346Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-04-13T03:33:04.346Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-13T03:33:04.698Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-13T03:33:04.698Z] [2022-04-13T03:33:04.698Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-04-13T03:33:05.008Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-13T03:33:05.009Z] latest: Pulling from edgex-devops/git-semver [2022-04-13T03:33:05.009Z] a0d0a0d46f8b: Pulling fs layer [2022-04-13T03:33:05.009Z] 3e5f54012d9b: Pulling fs layer [2022-04-13T03:33:05.009Z] 4c7163046ea9: Pulling fs layer [2022-04-13T03:33:05.009Z] 0c2d73faf560: Pulling fs layer [2022-04-13T03:33:05.009Z] 0c2d73faf560: Waiting [2022-04-13T03:33:05.009Z] 3e5f54012d9b: Verifying Checksum [2022-04-13T03:33:05.009Z] 3e5f54012d9b: Download complete [2022-04-13T03:33:05.009Z] a0d0a0d46f8b: Download complete [2022-04-13T03:33:05.009Z] 4c7163046ea9: Verifying Checksum [2022-04-13T03:33:05.009Z] 4c7163046ea9: Download complete [2022-04-13T03:33:05.009Z] 0c2d73faf560: Verifying Checksum [2022-04-13T03:33:05.009Z] 0c2d73faf560: Download complete [2022-04-13T03:33:05.269Z] a0d0a0d46f8b: Pull complete [2022-04-13T03:33:05.269Z] 3e5f54012d9b: Pull complete [2022-04-13T03:33:05.530Z] 4c7163046ea9: Pull complete [2022-04-13T03:33:05.791Z] 0c2d73faf560: Pull complete [2022-04-13T03:33:05.791Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-04-13T03:33:05.791Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-13T03:33:05.791Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-04-13T03:33:05.864Z] prd-ubuntu20.04-docker-8c-8g-20764 does not seem to be running inside a container [2022-04-13T03:33:05.900Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1123 -v /w/workspace/gexfoundry_device-sdk-go_PR-1123:/w/workspace/gexfoundry_device-sdk-go_PR-1123:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1123@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1123@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-04-13T03:33:06.538Z] $ docker top a0b11949e8a2a76aaf1627570c011a5c6146af811758a88116b8408a51e9ef60 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-13T03:33:06.643Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-13T03:33:06.643Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-13T03:33:06.792Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-13T03:33:06.803Z] $ docker exec a0b11949e8a2a76aaf1627570c011a5c6146af811758a88116b8408a51e9ef60 ssh-agent [2022-04-13T03:33:06.931Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXhhPchg/agent.13 [2022-04-13T03:33:06.931Z] SSH_AGENT_PID=19 [2022-04-13T03:33:06.942Z] Running ssh-add (command line suppressed) [2022-04-13T03:33:07.084Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1123@tmp/private_key_5487734062626074673.key (/w/workspace/gexfoundry_device-sdk-go_PR-1123@tmp/private_key_5487734062626074673.key) [2022-04-13T03:33:07.096Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-13T03:33:07.392Z] + git tag --points-at HEAD [Pipeline] } [2022-04-13T03:33:07.411Z] $ docker exec --env ******** --env ******** a0b11949e8a2a76aaf1627570c011a5c6146af811758a88116b8408a51e9ef60 ssh-agent -k [2022-04-13T03:33:07.542Z] unset SSH_AUTH_SOCK; [2022-04-13T03:33:07.542Z] unset SSH_AGENT_PID; [2022-04-13T03:33:07.542Z] echo Agent pid 19 killed; [2022-04-13T03:33:07.549Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-04-13T03:33:07.576Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-13T03:33:07.576Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-13T03:33:07.710Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-13T03:33:07.720Z] $ docker exec a0b11949e8a2a76aaf1627570c011a5c6146af811758a88116b8408a51e9ef60 ssh-agent [2022-04-13T03:33:07.844Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXalGcFF/agent.53 [2022-04-13T03:33:07.844Z] SSH_AGENT_PID=59 [2022-04-13T03:33:07.852Z] Running ssh-add (command line suppressed) [2022-04-13T03:33:07.989Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1123@tmp/private_key_4690429731484763432.key (/w/workspace/gexfoundry_device-sdk-go_PR-1123@tmp/private_key_4690429731484763432.key) [2022-04-13T03:33:08.007Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-13T03:33:08.304Z] + git semver init [2022-04-13T03:33:08.304Z] # -> Open(): unable to determine branch for HEAD [2022-04-13T03:33:08.304Z] # $GIT_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1123/.git [2022-04-13T03:33:08.304Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-sdk-go_PR-1123 [2022-04-13T03:33:08.304Z] # $SEMVER_REMOTE_NAME = origin [2022-04-13T03:33:08.304Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-04-13T03:33:08.304Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-04-13T03:33:08.304Z] # $SEMVER_BRANCH = PR-1123 [2022-04-13T03:33:08.304Z] # $SEMVER_TEMP = /tmp/semver-244945117 [2022-04-13T03:33:08.304Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2022-04-13T03:33:09.250Z] # '/tmp/semver-244945117' -> '/w/workspace/gexfoundry_device-sdk-go_PR-1123/.semver' [2022-04-13T03:33:09.512Z] # -> Force: false [2022-04-13T03:33:09.512Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1123/.semver [Pipeline] } [2022-04-13T03:33:09.531Z] $ docker exec --env ******** --env ******** a0b11949e8a2a76aaf1627570c011a5c6146af811758a88116b8408a51e9ef60 ssh-agent -k [2022-04-13T03:33:09.652Z] unset SSH_AUTH_SOCK; [2022-04-13T03:33:09.653Z] unset SSH_AGENT_PID; [2022-04-13T03:33:09.653Z] echo Agent pid 59 killed; [2022-04-13T03:33:09.662Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-13T03:33:09.986Z] + git semver [Pipeline] } [2022-04-13T03:33:10.007Z] $ docker stop --time=1 a0b11949e8a2a76aaf1627570c011a5c6146af811758a88116b8408a51e9ef60 [2022-04-13T03:33:11.348Z] $ docker rm -f a0b11949e8a2a76aaf1627570c011a5c6146af811758a88116b8408a51e9ef60 [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-13T03:33:11.705Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-04-13T03:33:11.988Z] Stashed 1 file(s) [Pipeline] echo [2022-04-13T03:33:11.992Z] [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-04-13T03:33:12.105Z] provisioning config files... [2022-04-13T03:33:12.116Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1123@tmp/config2320442161153418060tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-13T03:33:12.419Z] ---> docker-login.sh [2022-04-13T03:33:12.419Z] nexus3.edgexfoundry.org:10001 [2022-04-13T03:33:12.419Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-13T03:33:12.419Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-13T03:33:12.419Z] Configure a credential helper to remove this warning. See [2022-04-13T03:33:12.419Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-13T03:33:12.419Z] [2022-04-13T03:33:12.419Z] Login Succeeded [2022-04-13T03:33:12.419Z] nexus3.edgexfoundry.org:10002 [2022-04-13T03:33:12.419Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-13T03:33:12.680Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-13T03:33:12.680Z] Configure a credential helper to remove this warning. See [2022-04-13T03:33:12.680Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-13T03:33:12.680Z] [2022-04-13T03:33:12.680Z] Login Succeeded [2022-04-13T03:33:12.680Z] nexus3.edgexfoundry.org:10003 [2022-04-13T03:33:12.680Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-13T03:33:12.680Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-13T03:33:12.680Z] Configure a credential helper to remove this warning. See [2022-04-13T03:33:12.680Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-13T03:33:12.680Z] [2022-04-13T03:33:12.680Z] Login Succeeded [2022-04-13T03:33:12.680Z] nexus3.edgexfoundry.org:10004 [2022-04-13T03:33:12.940Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-13T03:33:12.940Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-13T03:33:12.940Z] Configure a credential helper to remove this warning. See [2022-04-13T03:33:12.940Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-13T03:33:12.940Z] [2022-04-13T03:33:12.940Z] Login Succeeded [2022-04-13T03:33:12.940Z] docker.io [2022-04-13T03:33:12.940Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-13T03:33:13.200Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-13T03:33:13.200Z] Configure a credential helper to remove this warning. See [2022-04-13T03:33:13.200Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-13T03:33:13.200Z] [2022-04-13T03:33:13.200Z] Login Succeeded [2022-04-13T03:33:13.200Z] ---> docker-login.sh ends [Pipeline] } [2022-04-13T03:33:13.209Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-13T03:33:13.281Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-13T03:33:13.290Z] ========================================================= [2022-04-13T03:33:13.290Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-04-13T03:33:13.290Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-13T03:33:13.605Z] + 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-04-13T03:33:13.605Z] Sending build context to Docker daemon 9.594MB [2022-04-13T03:33:13.605Z] Step 1/11 : ARG BASE=golang:1.17-alpine3.15 [2022-04-13T03:33:13.605Z] Step 2/11 : FROM ${BASE} AS builder [2022-04-13T03:33:13.605Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-04-13T03:33:13.605Z] 59bf1c3509f3: Pulling fs layer [2022-04-13T03:33:13.605Z] 666ba61612fd: Pulling fs layer [2022-04-13T03:33:13.605Z] 8ed8ca486205: Pulling fs layer [2022-04-13T03:33:13.605Z] 4fe6c5a15a65: Pulling fs layer [2022-04-13T03:33:13.605Z] 22a0e8bec74d: Pulling fs layer [2022-04-13T03:33:13.605Z] 640e595b4fbd: Pulling fs layer [2022-04-13T03:33:13.605Z] 763cafe07f6e: Pulling fs layer [2022-04-13T03:33:13.605Z] 0c0b528cf693: Pulling fs layer [2022-04-13T03:33:13.605Z] 10935f4eaf8b: Pulling fs layer [2022-04-13T03:33:13.605Z] 640e595b4fbd: Waiting [2022-04-13T03:33:13.605Z] 763cafe07f6e: Waiting [2022-04-13T03:33:13.605Z] 0c0b528cf693: Waiting [2022-04-13T03:33:13.605Z] 10935f4eaf8b: Waiting [2022-04-13T03:33:13.605Z] 22a0e8bec74d: Waiting [2022-04-13T03:33:13.605Z] 4fe6c5a15a65: Waiting [2022-04-13T03:33:13.865Z] 8ed8ca486205: Verifying Checksum [2022-04-13T03:33:13.865Z] 8ed8ca486205: Download complete [2022-04-13T03:33:13.865Z] 666ba61612fd: Download complete [2022-04-13T03:33:13.865Z] 22a0e8bec74d: Verifying Checksum [2022-04-13T03:33:13.865Z] 22a0e8bec74d: Download complete [2022-04-13T03:33:13.865Z] 640e595b4fbd: Verifying Checksum [2022-04-13T03:33:13.865Z] 640e595b4fbd: Download complete [2022-04-13T03:33:13.865Z] 59bf1c3509f3: Verifying Checksum [2022-04-13T03:33:13.865Z] 59bf1c3509f3: Download complete [2022-04-13T03:33:13.865Z] 763cafe07f6e: Download complete [2022-04-13T03:33:13.865Z] 0c0b528cf693: Verifying Checksum [2022-04-13T03:33:13.865Z] 0c0b528cf693: Download complete [2022-04-13T03:33:13.865Z] 59bf1c3509f3: Pull complete [2022-04-13T03:33:14.124Z] 666ba61612fd: Pull complete [2022-04-13T03:33:14.125Z] 8ed8ca486205: Pull complete [2022-04-13T03:33:14.386Z] 10935f4eaf8b: Verifying Checksum [2022-04-13T03:33:14.386Z] 10935f4eaf8b: Download complete [2022-04-13T03:33:14.646Z] 4fe6c5a15a65: Download complete [2022-04-13T03:33:18.846Z] 4fe6c5a15a65: Pull complete [2022-04-13T03:33:18.846Z] 22a0e8bec74d: Pull complete [2022-04-13T03:33:18.846Z] 640e595b4fbd: Pull complete [2022-04-13T03:33:18.846Z] 763cafe07f6e: Pull complete [2022-04-13T03:33:19.106Z] 0c0b528cf693: Pull complete [2022-04-13T03:33:21.650Z] 10935f4eaf8b: Pull complete [2022-04-13T03:33:21.650Z] Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 [2022-04-13T03:33:21.650Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-04-13T03:33:21.650Z] ---> 99d49a6021b9 [2022-04-13T03:33:21.650Z] Step 3/11 : ARG MAKE=make build [2022-04-13T03:33:22.594Z] ---> Running in 81240ed823c7 [2022-04-13T03:33:22.595Z] Removing intermediate container 81240ed823c7 [2022-04-13T03:33:22.595Z] ---> e4427daacf0a [2022-04-13T03:33:22.595Z] Step 4/11 : WORKDIR /device-sdk-go [2022-04-13T03:33:22.595Z] ---> Running in d084c2bc833f [2022-04-13T03:33:22.856Z] Removing intermediate container d084c2bc833f [2022-04-13T03:33:22.856Z] ---> c82246ec1380 [2022-04-13T03:33:22.856Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-04-13T03:33:22.856Z] ---> Running in b84048e21a4e [2022-04-13T03:33:22.856Z] Removing intermediate container b84048e21a4e [2022-04-13T03:33:22.856Z] ---> 49fde2a6113a [2022-04-13T03:33:22.856Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-13T03:33:22.856Z] ---> Running in 223c95dfd974 [2022-04-13T03:33:23.427Z] Removing intermediate container 223c95dfd974 [2022-04-13T03:33:23.427Z] ---> 72afbe61c4fd [2022-04-13T03:33:23.427Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-04-13T03:33:23.427Z] ---> Running in 6a3123c35daa [2022-04-13T03:33:24.000Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-13T03:33:24.573Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-13T03:33:25.146Z] OK: 221 MiB in 52 packages [2022-04-13T03:33:25.408Z] Removing intermediate container 6a3123c35daa [2022-04-13T03:33:25.408Z] ---> b1b82e135110 [2022-04-13T03:33:25.408Z] Step 8/11 : COPY go.mod vendor* ./ [2022-04-13T03:33:25.408Z] ---> b11b068dd9c9 [2022-04-13T03:33:25.408Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-13T03:33:25.668Z] ---> Running in 9ab215a6d34b [2022-04-13T03:33:27.074Z] Still waiting to schedule task [2022-04-13T03:33:27.074Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-20761’ [2022-04-13T03:33:40.573Z] Removing intermediate container 9ab215a6d34b [2022-04-13T03:33:40.573Z] ---> 0d09255e4359 [2022-04-13T03:33:40.573Z] Step 10/11 : COPY . . [2022-04-13T03:33:40.573Z] ---> d87b24f67dfe [2022-04-13T03:33:40.573Z] Step 11/11 : RUN ${MAKE} [2022-04-13T03:33:40.573Z] ---> Running in a5d0ff5514f8 [2022-04-13T03:33:40.573Z] noop [2022-04-13T03:33:40.573Z] Removing intermediate container a5d0ff5514f8 [2022-04-13T03:33:40.573Z] ---> 8c4929ec0814 [2022-04-13T03:33:40.573Z] Successfully built 8c4929ec0814 [2022-04-13T03:33:40.573Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-13T03:33:40.874Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-13T03:33:40.875Z] . [Pipeline] withDockerContainer [2022-04-13T03:33:40.965Z] prd-ubuntu20.04-docker-8c-8g-20764 does not seem to be running inside a container [2022-04-13T03:33:41.008Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1123 -v /w/workspace/gexfoundry_device-sdk-go_PR-1123:/w/workspace/gexfoundry_device-sdk-go_PR-1123:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1123@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1123@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-04-13T03:33:41.426Z] $ docker top 3e777fd44141dcc40a533d6c4895ef692b6f8c93511b22168d52acd3b47477c6 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-13T03:33:41.786Z] + go version [2022-04-13T03:33:41.786Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-04-13T03:33:41.805Z] $ docker stop --time=1 3e777fd44141dcc40a533d6c4895ef692b6f8c93511b22168d52acd3b47477c6 [2022-04-13T03:33:43.135Z] $ docker rm -f 3e777fd44141dcc40a533d6c4895ef692b6f8c93511b22168d52acd3b47477c6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-13T03:33:43.572Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-13T03:33:43.572Z] . [Pipeline] withDockerContainer [2022-04-13T03:33:43.642Z] prd-ubuntu20.04-docker-8c-8g-20764 does not seem to be running inside a container [2022-04-13T03:33:43.690Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1123 -v /w/workspace/gexfoundry_device-sdk-go_PR-1123:/w/workspace/gexfoundry_device-sdk-go_PR-1123:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1123@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1123@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-04-13T03:33:44.074Z] $ docker top 108919f022282fb75dcba2d3c0e995d6dbb23bb27563b99aef7750549b1b838b -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-13T03:33:44.433Z] + make test [2022-04-13T03:33:44.433Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-04-13T03:33:51.112Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-04-13T03:34:03.394Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-04-13T03:34:03.394Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-04-13T03:34:03.394Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-04-13T03:34:03.394Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.069s coverage: 23.3% of statements [2022-04-13T03:34:03.394Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-04-13T03:34:03.394Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.082s coverage: 27.6% of statements [2022-04-13T03:34:03.394Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.086s coverage: 78.9% of statements [2022-04-13T03:34:03.394Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.070s coverage: 10.8% of statements [2022-04-13T03:34:03.394Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2022-04-13T03:34:03.394Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-04-13T03:34:03.394Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-04-13T03:34:03.654Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.095s coverage: 33.2% of statements [2022-04-13T03:34:03.654Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-04-13T03:34:03.654Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.068s coverage: 86.1% of statements [2022-04-13T03:34:03.654Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-04-13T03:34:03.654Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-04-13T03:34:03.654Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.101s coverage: 65.1% of statements [2022-04-13T03:34:03.654Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.880s coverage: 89.2% of statements [2022-04-13T03:34:03.654Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-04-13T03:34:03.654Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.062s coverage: 4.8% of statements [2022-04-13T03:34:03.654Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-04-13T03:34:21.753Z] GO111MODULE=on go vet ./... [2022-04-13T03:34:24.296Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-13T03:34:24.296Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-13T03:34:24.296Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-04-13T03:34:24.880Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-04-13T03:34:24.901Z] $ docker stop --time=1 108919f022282fb75dcba2d3c0e995d6dbb23bb27563b99aef7750549b1b838b [2022-04-13T03:34:26.722Z] $ docker rm -f 108919f022282fb75dcba2d3c0e995d6dbb23bb27563b99aef7750549b1b838b [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-13T03:34:27.239Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-04-13T03:34:27.298Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-04-13T03:34:27.858Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-04-13T03:34:28.154Z] + ls -al . [2022-04-13T03:34:28.154Z] total 316 [2022-04-13T03:34:28.154Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 13 03:34 . [2022-04-13T03:34:28.154Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 13 03:32 .. [2022-04-13T03:34:28.154Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 13 03:32 .dockerignore [2022-04-13T03:34:28.154Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 13 03:32 .git [2022-04-13T03:34:28.154Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 13 03:32 .github [2022-04-13T03:34:28.154Z] -rw-rw-r-- 1 jenkins jenkins 131 Apr 13 03:32 .gitignore [2022-04-13T03:34:28.154Z] -rw-rw-r-- 1 jenkins jenkins 42 Apr 13 03:32 .golangci.yml [2022-04-13T03:34:28.154Z] drwx------ 3 jenkins jenkins 4096 Apr 13 03:33 .semver [2022-04-13T03:34:28.154Z] -rw-rw-r-- 1 jenkins jenkins 26321 Apr 13 03:32 CHANGELOG.md [2022-04-13T03:34:28.154Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 13 03:32 GOVERNANCE.md [2022-04-13T03:34:28.154Z] -rw-rw-r-- 1 jenkins jenkins 880 Apr 13 03:32 Jenkinsfile [2022-04-13T03:34:28.154Z] -rw-rw-r-- 1 jenkins jenkins 11341 Apr 13 03:32 LICENSE [2022-04-13T03:34:28.154Z] -rw-rw-r-- 1 jenkins jenkins 2015 Apr 13 03:32 Makefile [2022-04-13T03:34:28.154Z] -rw-rw-r-- 1 jenkins jenkins 619 Apr 13 03:32 OWNERS.md [2022-04-13T03:34:28.154Z] -rw-rw-r-- 1 jenkins jenkins 4881 Apr 13 03:32 README.md [2022-04-13T03:34:28.154Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 13 03:33 VERSION [2022-04-13T03:34:28.154Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 13 03:32 bin [2022-04-13T03:34:28.154Z] -rw-r--r-- 1 jenkins jenkins 129245 Apr 13 03:34 coverage.out [2022-04-13T03:34:28.154Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 13 03:32 example [2022-04-13T03:34:28.154Z] -rw-rw-r-- 1 jenkins jenkins 3106 Apr 13 03:32 go.mod [2022-04-13T03:34:28.154Z] -rw-rw-r-- 1 jenkins jenkins 53786 Apr 13 03:32 go.sum [2022-04-13T03:34:28.154Z] drwxrwxr-x 15 jenkins jenkins 4096 Apr 13 03:32 internal [2022-04-13T03:34:28.154Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 13 03:32 openapi [2022-04-13T03:34:28.154Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 13 03:32 pkg [2022-04-13T03:34:28.154Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 13 03:32 snap [2022-04-13T03:34:28.154Z] -rw-rw-r-- 1 jenkins jenkins 222 Apr 13 03:32 version.go [Pipeline] isUnix [Pipeline] sh [2022-04-13T03:34:28.451Z] + 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=4c3a3a145e2d742fdce328609e9b16a891e2b1aa --label arch=amd64 --label version=0.0.0 . [2022-04-13T03:34:28.451Z] Sending build context to Docker daemon 9.724MB [2022-04-13T03:34:28.451Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-04-13T03:34:28.451Z] Step 2/25 : FROM ${BASE} AS builder [2022-04-13T03:34:28.451Z] ---> 8c4929ec0814 [2022-04-13T03:34:28.451Z] Step 3/25 : ARG MAKE=make build [2022-04-13T03:34:28.451Z] ---> Running in f29c73233fd0 [2022-04-13T03:34:28.711Z] Removing intermediate container f29c73233fd0 [2022-04-13T03:34:28.711Z] ---> be2aa02cca07 [2022-04-13T03:34:28.711Z] Step 4/25 : WORKDIR /device-sdk-go [2022-04-13T03:34:28.711Z] ---> Running in 7c3ff4f83ad9 [2022-04-13T03:34:28.711Z] Removing intermediate container 7c3ff4f83ad9 [2022-04-13T03:34:28.711Z] ---> 68eb4db7c0a4 [2022-04-13T03:34:28.711Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-04-13T03:34:28.711Z] ---> Running in c815a1dae84f [2022-04-13T03:34:28.971Z] Removing intermediate container c815a1dae84f [2022-04-13T03:34:28.971Z] ---> 87869aaeb1a2 [2022-04-13T03:34:28.971Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-13T03:34:28.971Z] ---> Running in c1f157177dfe [2022-04-13T03:34:29.543Z] Removing intermediate container c1f157177dfe [2022-04-13T03:34:29.543Z] ---> 6bc8e487db20 [2022-04-13T03:34:29.543Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-04-13T03:34:29.543Z] ---> Running in b9b41493ca13 [2022-04-13T03:34:29.804Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-13T03:34:30.748Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-13T03:34:31.008Z] OK: 221 MiB in 52 packages [2022-04-13T03:34:31.267Z] Removing intermediate container b9b41493ca13 [2022-04-13T03:34:31.267Z] ---> c99caa3809a5 [2022-04-13T03:34:31.267Z] Step 8/25 : COPY go.mod vendor* ./ [2022-04-13T03:34:31.528Z] ---> 3ee753dfc767 [2022-04-13T03:34:31.528Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-13T03:34:31.528Z] ---> Running in 28f7f8e77b09 [2022-04-13T03:34:32.099Z] Removing intermediate container 28f7f8e77b09 [2022-04-13T03:34:32.099Z] ---> cbb1d84cfc8b [2022-04-13T03:34:32.099Z] Step 10/25 : COPY . . [2022-04-13T03:34:32.669Z] ---> 0d200b03fcc1 [2022-04-13T03:34:32.670Z] Step 11/25 : RUN ${MAKE} [2022-04-13T03:34:32.670Z] ---> Running in b98f6ae9962c [2022-04-13T03:34:32.930Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2022-04-13T03:34:51.032Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-04-13T03:34:52.942Z] Removing intermediate container b98f6ae9962c [2022-04-13T03:34:52.942Z] ---> 77ee375ba110 [2022-04-13T03:34:52.942Z] Step 12/25 : FROM alpine:3.14 [2022-04-13T03:34:53.203Z] 3.14: Pulling from library/alpine [2022-04-13T03:34:53.203Z] 8663204ce13b: Pulling fs layer [2022-04-13T03:34:53.464Z] 8663204ce13b: Verifying Checksum [2022-04-13T03:34:53.464Z] 8663204ce13b: Download complete [2022-04-13T03:34:53.724Z] 8663204ce13b: Pull complete [2022-04-13T03:34:53.724Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-04-13T03:34:53.724Z] Status: Downloaded newer image for alpine:3.14 [2022-04-13T03:34:53.724Z] ---> e04c818066af [2022-04-13T03:34:53.724Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-04-13T03:34:53.724Z] ---> Running in 9ce38ff9371a [2022-04-13T03:34:53.724Z] Removing intermediate container 9ce38ff9371a [2022-04-13T03:34:53.724Z] ---> 01a81e84903b [2022-04-13T03:34:53.724Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-13T03:34:53.724Z] ---> Running in c853ccfd0086 [2022-04-13T03:34:54.295Z] Removing intermediate container c853ccfd0086 [2022-04-13T03:34:54.295Z] ---> f2534cb5d2ba [2022-04-13T03:34:54.295Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-04-13T03:34:54.295Z] ---> Running in de32a22bc9ec [2022-04-13T03:34:54.867Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-04-13T03:34:55.440Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-04-13T03:34:55.701Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2022-04-13T03:34:55.962Z] (2/5) Installing libsodium (1.0.18-r0) [2022-04-13T03:34:55.962Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2022-04-13T03:34:55.962Z] (4/5) Installing libzmq (4.3.4-r0) [2022-04-13T03:34:56.224Z] (5/5) Installing zeromq (4.3.4-r0) [2022-04-13T03:34:56.224Z] Executing busybox-1.33.1-r7.trigger [2022-04-13T03:34:56.224Z] OK: 8 MiB in 19 packages [2022-04-13T03:34:56.484Z] Removing intermediate container de32a22bc9ec [2022-04-13T03:34:56.484Z] ---> 8019329e19b4 [2022-04-13T03:34:56.484Z] Step 16/25 : WORKDIR / [2022-04-13T03:34:56.484Z] ---> Running in b08035cb7f16 [2022-04-13T03:34:56.745Z] Removing intermediate container b08035cb7f16 [2022-04-13T03:34:56.745Z] ---> 65ec5cb40d82 [2022-04-13T03:34:56.745Z] Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-04-13T03:34:56.745Z] ---> 18ef5d9f0a7f [2022-04-13T03:34:56.745Z] Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-04-13T03:34:57.316Z] ---> 0badb20ca52c [2022-04-13T03:34:57.316Z] Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-04-13T03:34:57.575Z] ---> 0c8dcd6a1fe2 [2022-04-13T03:34:57.575Z] Step 20/25 : EXPOSE 59999 [2022-04-13T03:34:57.575Z] ---> Running in 3bb1ef8ff2f5 [2022-04-13T03:34:57.575Z] Removing intermediate container 3bb1ef8ff2f5 [2022-04-13T03:34:57.575Z] ---> e254142b45c5 [2022-04-13T03:34:57.575Z] Step 21/25 : ENTRYPOINT ["/device-simple"] [2022-04-13T03:34:57.575Z] ---> Running in efa0a9d2b7e5 [2022-04-13T03:34:57.835Z] Removing intermediate container efa0a9d2b7e5 [2022-04-13T03:34:57.835Z] ---> ea3dd61442bb [2022-04-13T03:34:57.835Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-04-13T03:34:57.835Z] ---> Running in 722b95faf601 [2022-04-13T03:34:57.835Z] Removing intermediate container 722b95faf601 [2022-04-13T03:34:57.835Z] ---> a3f7e09d4bef [2022-04-13T03:34:57.835Z] Step 23/25 : LABEL arch=amd64 [2022-04-13T03:34:57.835Z] ---> Running in 84f41558edd8 [2022-04-13T03:34:57.835Z] Removing intermediate container 84f41558edd8 [2022-04-13T03:34:57.835Z] ---> 3f2a658414ca [2022-04-13T03:34:57.835Z] Step 24/25 : LABEL git_sha=4c3a3a145e2d742fdce328609e9b16a891e2b1aa [2022-04-13T03:34:58.096Z] ---> Running in 55e1f6328397 [2022-04-13T03:34:58.096Z] Removing intermediate container 55e1f6328397 [2022-04-13T03:34:58.096Z] ---> 0234eedcce82 [2022-04-13T03:34:58.096Z] Step 25/25 : LABEL version=0.0.0 [2022-04-13T03:34:58.096Z] ---> Running in 5202623029d8 [2022-04-13T03:34:58.096Z] Removing intermediate container 5202623029d8 [2022-04-13T03:34:58.096Z] ---> 259645c2401c [2022-04-13T03:34:58.096Z] [Warning] One or more build-args [ARCH] were not consumed [2022-04-13T03:34:58.096Z] Successfully built 259645c2401c [2022-04-13T03:34:58.096Z] 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-04-13T03:34:58.523Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-13T03:34:58.523Z] [2022-04-13T03:34:58.523Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-04-13T03:34:58.834Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-13T03:34:58.834Z] latest: Pulling from edgex-lftools-log-publisher [2022-04-13T03:34:58.834Z] 5eb5b503b376: Pulling fs layer [2022-04-13T03:34:58.834Z] 5c69ac0246d0: Pulling fs layer [2022-04-13T03:34:58.834Z] ec43610c2a17: Pulling fs layer [2022-04-13T03:34:58.834Z] 3a2ae6a8a46f: Pulling fs layer [2022-04-13T03:34:58.834Z] 33b1e0a273af: Pulling fs layer [2022-04-13T03:34:58.834Z] 5d3b04190fa2: Pulling fs layer [2022-04-13T03:34:58.834Z] 2f39f015ded8: Pulling fs layer [2022-04-13T03:34:58.834Z] 3a2ae6a8a46f: Waiting [2022-04-13T03:34:58.834Z] 33b1e0a273af: Waiting [2022-04-13T03:34:58.834Z] 5d3b04190fa2: Waiting [2022-04-13T03:34:58.834Z] 2f39f015ded8: Waiting [2022-04-13T03:34:58.834Z] 5c69ac0246d0: Verifying Checksum [2022-04-13T03:34:58.834Z] 5c69ac0246d0: Download complete [2022-04-13T03:34:58.834Z] 3a2ae6a8a46f: Verifying Checksum [2022-04-13T03:34:58.834Z] 3a2ae6a8a46f: Download complete [2022-04-13T03:34:59.093Z] 33b1e0a273af: Verifying Checksum [2022-04-13T03:34:59.093Z] 33b1e0a273af: Download complete [2022-04-13T03:34:59.093Z] 5d3b04190fa2: Download complete [2022-04-13T03:34:59.093Z] ec43610c2a17: Verifying Checksum [2022-04-13T03:34:59.093Z] ec43610c2a17: Download complete [2022-04-13T03:34:59.093Z] 5eb5b503b376: Verifying Checksum [2022-04-13T03:34:59.093Z] 5eb5b503b376: Download complete [2022-04-13T03:34:59.663Z] 2f39f015ded8: Verifying Checksum [2022-04-13T03:34:59.663Z] 2f39f015ded8: Download complete [2022-04-13T03:35:00.604Z] 5eb5b503b376: Pull complete [2022-04-13T03:35:00.604Z] 5c69ac0246d0: Pull complete [2022-04-13T03:35:01.174Z] ec43610c2a17: Pull complete [2022-04-13T03:35:01.174Z] 3a2ae6a8a46f: Pull complete [2022-04-13T03:35:01.437Z] 33b1e0a273af: Pull complete [2022-04-13T03:35:01.437Z] 5d3b04190fa2: Pull complete [2022-04-13T03:35:06.714Z] 2f39f015ded8: Pull complete [2022-04-13T03:35:06.714Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-04-13T03:35:06.714Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-13T03:35:06.714Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-04-13T03:35:06.786Z] prd-ubuntu20.04-docker-8c-8g-20764 does not seem to be running inside a container [2022-04-13T03:35:06.834Z] $ 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-1123 -v /w/workspace/gexfoundry_device-sdk-go_PR-1123:/w/workspace/gexfoundry_device-sdk-go_PR-1123:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1123@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1123@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-04-13T03:35:08.147Z] $ docker top 12403176eeb86fda0a54b72afcb8e95b9217b75e0442659ca6e74700a1fdea14 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-13T03:35:08.545Z] ---> job-cost.sh [2022-04-13T03:35:08.545Z] lf-activate-venv: SKIPPING [2022-04-13T03:35:08.545Z] INFO: No Stack... [2022-04-13T03:35:08.807Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-13T03:35:09.380Z] INFO: Archiving Costs [Pipeline] sh [2022-04-13T03:35:09.676Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1123/archives/cost.csv [2022-04-13T03:35:09.676Z] + cut -d, -f6 [Pipeline] lock [2022-04-13T03:35:09.694Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1123-6-stack-cost] [2022-04-13T03:35:09.702Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1123-6-stack-cost] did not exist. Created. [2022-04-13T03:35:09.702Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1123-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-13T03:35:10.007Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-04-13T03:35:10.091Z] Stashed 1 file(s) [Pipeline] } [2022-04-13T03:35:10.096Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1123-6-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-13T03:35:10.121Z] $ docker stop --time=1 12403176eeb86fda0a54b72afcb8e95b9217b75e0442659ca6e74700a1fdea14 [2022-04-13T03:35:11.313Z] $ docker rm -f 12403176eeb86fda0a54b72afcb8e95b9217b75e0442659ca6e74700a1fdea14 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-04-13T03:36:19.878Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-20768 in /w/workspace/gexfoundry_device-sdk-go_PR-1123 [Pipeline] { [Pipeline] ws [2022-04-13T03:36:19.891Z] Running in /w/workspace/device-sdk-go/6 [Pipeline] { [Pipeline] checkout [2022-04-13T03:36:20.347Z] The recommended git tool is: git [2022-04-13T03:36:29.416Z] using credential edgex-jenkins-ssh [2022-04-13T03:36:29.448Z] Cloning the remote Git repository [2022-04-13T03:36:29.528Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2022-04-13T03:36:29.644Z] > git init /w/workspace/device-sdk-go/6 # timeout=10 [2022-04-13T03:36:29.798Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-04-13T03:36:29.801Z] > git --version # timeout=10 [2022-04-13T03:36:29.845Z] > git --version # 'git version 2.25.1' [2022-04-13T03:36:29.848Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-13T03:36:29.912Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-13T03:36:32.498Z] Merging remotes/origin/main commit 49643132f6b9e95e3a0d289ddc01900e940e8eba into PR head commit 4c3a3a145e2d742fdce328609e9b16a891e2b1aa [2022-04-13T03:36:31.756Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-04-13T03:36:31.785Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-13T03:36:31.831Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-04-13T03:36:31.889Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-04-13T03:36:31.891Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-13T03:36:31.908Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1123/head:refs/remotes/origin/PR-1123 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-04-13T03:36:32.524Z] > git config core.sparsecheckout # timeout=10 [2022-04-13T03:36:32.642Z] > git checkout -f 4c3a3a145e2d742fdce328609e9b16a891e2b1aa # timeout=10 [2022-04-13T03:36:32.998Z] > git remote # timeout=10 [2022-04-13T03:36:33.122Z] Merge succeeded, producing 4c3a3a145e2d742fdce328609e9b16a891e2b1aa [2022-04-13T03:36:33.123Z] Checking out Revision 4c3a3a145e2d742fdce328609e9b16a891e2b1aa (PR-1123) [2022-04-13T03:36:33.029Z] > git config --get remote.origin.url # timeout=10 [2022-04-13T03:36:33.051Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-13T03:36:33.070Z] > git merge 49643132f6b9e95e3a0d289ddc01900e940e8eba # timeout=10 [2022-04-13T03:36:33.103Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-04-13T03:36:33.134Z] > git config core.sparsecheckout # timeout=10 [2022-04-13T03:36:33.152Z] > git checkout -f 4c3a3a145e2d742fdce328609e9b16a891e2b1aa # timeout=10 [2022-04-13T03:36:37.744Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-messaging/v2" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-13T03:36:38.575Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-04-13T03:36:38.575Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-13T03:36:38.575Z] Dload Upload Total Spent Left Speed [2022-04-13T03:36:38.575Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 172k 0 --:--:-- --:--:-- --:--:-- 172k [Pipeline] sh [2022-04-13T03:36:39.183Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-04-13T03:36:39.534Z] + + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-04-13T03:36:39.534Z] sudo tee /etc/docker/daemon.new [2022-04-13T03:36:39.534Z] { [2022-04-13T03:36:39.534Z] "registry-mirrors": [ [2022-04-13T03:36:39.534Z] "https://nexus3.edgexfoundry.org:10001" [2022-04-13T03:36:39.534Z] ], [2022-04-13T03:36:39.534Z] "bip": "10.250.0.254/24", [2022-04-13T03:36:39.534Z] "hosts": [ [2022-04-13T03:36:39.534Z] "tcp://0.0.0.0:5555", [2022-04-13T03:36:39.534Z] "unix:///var/run/docker.sock" [2022-04-13T03:36:39.534Z] ], [2022-04-13T03:36:39.534Z] "mtu": 1458, [2022-04-13T03:36:39.534Z] "selinux-enabled": true, [2022-04-13T03:36:39.534Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-04-13T03:36:39.534Z] } [Pipeline] sh [2022-04-13T03:36:39.914Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-04-13T03:36:40.268Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-13T03:36:58.702Z] provisioning config files... [2022-04-13T03:36:58.733Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/6@tmp/config1569486872265137613tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-13T03:36:59.117Z] ---> docker-login.sh [2022-04-13T03:36:59.117Z] nexus3.edgexfoundry.org:10001 [2022-04-13T03:36:59.720Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-13T03:36:59.996Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-13T03:36:59.996Z] Configure a credential helper to remove this warning. See [2022-04-13T03:36:59.996Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-13T03:36:59.996Z] [2022-04-13T03:36:59.996Z] Login Succeeded [2022-04-13T03:36:59.996Z] nexus3.edgexfoundry.org:10002 [2022-04-13T03:37:00.604Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-13T03:37:00.604Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-13T03:37:00.604Z] Configure a credential helper to remove this warning. See [2022-04-13T03:37:00.604Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-13T03:37:00.604Z] [2022-04-13T03:37:00.604Z] Login Succeeded [2022-04-13T03:37:00.604Z] nexus3.edgexfoundry.org:10003 [2022-04-13T03:37:01.215Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-13T03:37:01.215Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-13T03:37:01.215Z] Configure a credential helper to remove this warning. See [2022-04-13T03:37:01.215Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-13T03:37:01.215Z] [2022-04-13T03:37:01.215Z] Login Succeeded [2022-04-13T03:37:01.215Z] nexus3.edgexfoundry.org:10004 [2022-04-13T03:37:01.817Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-13T03:37:01.817Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-13T03:37:01.817Z] Configure a credential helper to remove this warning. See [2022-04-13T03:37:01.817Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-13T03:37:01.817Z] [2022-04-13T03:37:01.817Z] Login Succeeded [2022-04-13T03:37:01.817Z] docker.io [2022-04-13T03:37:02.420Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-13T03:37:02.694Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-13T03:37:02.694Z] Configure a credential helper to remove this warning. See [2022-04-13T03:37:02.694Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-13T03:37:02.694Z] [2022-04-13T03:37:02.694Z] Login Succeeded [2022-04-13T03:37:02.694Z] ---> docker-login.sh ends [Pipeline] } [2022-04-13T03:37:02.712Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-13T03:37:03.230Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-13T03:37:03.241Z] ========================================================= [2022-04-13T03:37:03.241Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-04-13T03:37:03.241Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-13T03:37:03.686Z] + 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-04-13T03:37:04.289Z] Sending build context to Docker daemon 5.187MB [2022-04-13T03:37:04.289Z] Step 1/11 : ARG BASE=golang:1.17-alpine3.15 [2022-04-13T03:37:04.289Z] Step 2/11 : FROM ${BASE} AS builder [2022-04-13T03:37:04.289Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-04-13T03:37:04.569Z] 9b3977197b4f: Pulling fs layer [2022-04-13T03:37:04.569Z] 1a89e8eeedd5: Pulling fs layer [2022-04-13T03:37:04.569Z] 94645a83ff95: Pulling fs layer [2022-04-13T03:37:04.570Z] 3f3a8bcf1eab: Pulling fs layer [2022-04-13T03:37:04.570Z] 0c92f367c5e7: Pulling fs layer [2022-04-13T03:37:04.570Z] f7c0051592d6: Pulling fs layer [2022-04-13T03:37:04.570Z] a227ed2f7395: Pulling fs layer [2022-04-13T03:37:04.570Z] 7b1c46037f91: Pulling fs layer [2022-04-13T03:37:04.570Z] 3f3a8bcf1eab: Waiting [2022-04-13T03:37:04.570Z] 0c92f367c5e7: Waiting [2022-04-13T03:37:04.570Z] f7c0051592d6: Waiting [2022-04-13T03:37:04.570Z] a227ed2f7395: Waiting [2022-04-13T03:37:04.570Z] 7b1c46037f91: Waiting [2022-04-13T03:37:04.570Z] 94645a83ff95: Verifying Checksum [2022-04-13T03:37:04.570Z] 94645a83ff95: Download complete [2022-04-13T03:37:04.570Z] 1a89e8eeedd5: Verifying Checksum [2022-04-13T03:37:04.570Z] 0c92f367c5e7: Verifying Checksum [2022-04-13T03:37:04.570Z] 0c92f367c5e7: Download complete [2022-04-13T03:37:04.570Z] f7c0051592d6: Verifying Checksum [2022-04-13T03:37:04.570Z] f7c0051592d6: Download complete [2022-04-13T03:37:04.570Z] a227ed2f7395: Verifying Checksum [2022-04-13T03:37:04.570Z] a227ed2f7395: Download complete [2022-04-13T03:37:04.570Z] 9b3977197b4f: Verifying Checksum [2022-04-13T03:37:04.570Z] 9b3977197b4f: Download complete [2022-04-13T03:37:05.189Z] 9b3977197b4f: Pull complete [2022-04-13T03:37:05.793Z] 1a89e8eeedd5: Pull complete [2022-04-13T03:37:06.399Z] 94645a83ff95: Pull complete [2022-04-13T03:37:06.677Z] 7b1c46037f91: Verifying Checksum [2022-04-13T03:37:06.677Z] 7b1c46037f91: Download complete [2022-04-13T03:37:07.280Z] 3f3a8bcf1eab: Verifying Checksum [2022-04-13T03:37:07.280Z] 3f3a8bcf1eab: Download complete [2022-04-13T03:37:22.399Z] 3f3a8bcf1eab: Pull complete [2022-04-13T03:37:22.399Z] 0c92f367c5e7: Pull complete [2022-04-13T03:37:22.399Z] f7c0051592d6: Pull complete [2022-04-13T03:37:22.399Z] a227ed2f7395: Pull complete [2022-04-13T03:37:27.857Z] 7b1c46037f91: Pull complete [2022-04-13T03:37:27.857Z] Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe [2022-04-13T03:37:27.857Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-04-13T03:37:27.857Z] ---> f79e39bc4007 [2022-04-13T03:37:27.857Z] Step 3/11 : ARG MAKE=make build [2022-04-13T03:37:29.309Z] ---> Running in c8363cb214f2 [2022-04-13T03:37:29.587Z] Removing intermediate container c8363cb214f2 [2022-04-13T03:37:29.587Z] ---> 2a0882905b27 [2022-04-13T03:37:29.587Z] Step 4/11 : WORKDIR /device-sdk-go [2022-04-13T03:37:29.871Z] ---> Running in 9eaa0d2fc7d8 [2022-04-13T03:37:30.148Z] Removing intermediate container 9eaa0d2fc7d8 [2022-04-13T03:37:30.148Z] ---> 82f8e0eb8d57 [2022-04-13T03:37:30.148Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-04-13T03:37:30.148Z] ---> Running in 41f91da9402f [2022-04-13T03:37:30.753Z] Removing intermediate container 41f91da9402f [2022-04-13T03:37:30.753Z] ---> 07d2c7b26343 [2022-04-13T03:37:30.753Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-13T03:37:30.753Z] ---> Running in d46d1a707268 [2022-04-13T03:37:32.743Z] Removing intermediate container d46d1a707268 [2022-04-13T03:37:32.743Z] ---> 975b2f7e2df2 [2022-04-13T03:37:32.743Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-04-13T03:37:32.743Z] ---> Running in 208dda4f9daf [2022-04-13T03:37:34.194Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-13T03:37:34.809Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-13T03:37:36.291Z] OK: 220 MiB in 52 packages [2022-04-13T03:37:37.748Z] Removing intermediate container 208dda4f9daf [2022-04-13T03:37:37.748Z] ---> 75d2f0a8501f [2022-04-13T03:37:37.748Z] Step 8/11 : COPY go.mod vendor* ./ [2022-04-13T03:37:38.362Z] ---> e1c51421575b [2022-04-13T03:37:38.362Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-13T03:37:38.362Z] ---> Running in e583cc762c72 [2022-04-13T03:38:34.966Z] Removing intermediate container e583cc762c72 [2022-04-13T03:38:34.966Z] ---> 524933ed0150 [2022-04-13T03:38:34.966Z] Step 10/11 : COPY . . [2022-04-13T03:38:34.966Z] ---> e74f41d32ca6 [2022-04-13T03:38:34.966Z] Step 11/11 : RUN ${MAKE} [2022-04-13T03:38:34.966Z] ---> Running in a70f2c2daf82 [2022-04-13T03:38:34.966Z] noop [2022-04-13T03:38:34.966Z] Removing intermediate container a70f2c2daf82 [2022-04-13T03:38:34.966Z] ---> ad67d2729f32 [2022-04-13T03:38:34.966Z] Successfully built ad67d2729f32 [2022-04-13T03:38:34.966Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-13T03:38:35.319Z] + docker inspect -f . ci-base-image-arm64 [2022-04-13T03:38:35.319Z] . [Pipeline] withDockerContainer [2022-04-13T03:38:35.594Z] prd-ubuntu20.04-docker-arm64-4c-16g-20768 does not seem to be running inside a container [2022-04-13T03:38:35.696Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/6 -v /w/workspace/device-sdk-go/6:/w/workspace/device-sdk-go/6:rw,z -v /w/workspace/device-sdk-go/6@tmp:/w/workspace/device-sdk-go/6@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-04-13T03:38:37.194Z] $ docker top 7d6e7626f2991e25240313a32e61da336afbb0444184d4ef005db4c81ff62497 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-13T03:38:38.163Z] + go version [2022-04-13T03:38:38.163Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-04-13T03:38:38.191Z] $ docker stop --time=1 7d6e7626f2991e25240313a32e61da336afbb0444184d4ef005db4c81ff62497 [2022-04-13T03:38:39.900Z] $ docker rm -f 7d6e7626f2991e25240313a32e61da336afbb0444184d4ef005db4c81ff62497 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-13T03:38:40.536Z] + docker inspect -f . ci-base-image-arm64 [2022-04-13T03:38:40.536Z] . [Pipeline] withDockerContainer [2022-04-13T03:38:40.761Z] prd-ubuntu20.04-docker-arm64-4c-16g-20768 does not seem to be running inside a container [2022-04-13T03:38:40.852Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/6 -v /w/workspace/device-sdk-go/6:/w/workspace/device-sdk-go/6:rw,z -v /w/workspace/device-sdk-go/6@tmp:/w/workspace/device-sdk-go/6@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-04-13T03:38:42.127Z] $ docker top 3f8f39b707731d3885af5f26045e81100544a1a35529c4631f072cecb6404b44 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-13T03:38:43.032Z] + make test [2022-04-13T03:38:43.032Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-04-13T03:39:15.403Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-04-13T03:41:07.284Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-04-13T03:41:07.284Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-04-13T03:41:07.284Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-04-13T03:41:19.744Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.604s coverage: 23.3% of statements [2022-04-13T03:41:19.744Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-04-13T03:41:19.744Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.263s coverage: 27.6% of statements [2022-04-13T03:41:19.744Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.368s coverage: 78.9% of statements [2022-04-13T03:41:19.744Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.274s coverage: 10.8% of statements [2022-04-13T03:41:19.744Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2022-04-13T03:41:19.744Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-04-13T03:41:19.744Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-04-13T03:41:22.400Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.449s coverage: 33.2% of statements [2022-04-13T03:41:22.400Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-04-13T03:41:23.393Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.392s coverage: 86.1% of statements [2022-04-13T03:41:23.393Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-04-13T03:41:23.393Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-04-13T03:41:26.042Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.465s coverage: 65.1% of statements [2022-04-13T03:41:26.639Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.595s coverage: 89.2% of statements [2022-04-13T03:41:26.639Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-04-13T03:41:30.036Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.253s coverage: 4.8% of statements [2022-04-13T03:41:30.036Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-04-13T03:41:30.637Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-04-13T03:41:30.637Z] GO111MODULE=on go vet ./... [2022-04-13T03:43:07.495Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-13T03:43:07.495Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-13T03:43:07.495Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-04-13T03:43:07.523Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-04-13T03:43:07.556Z] $ docker stop --time=1 3f8f39b707731d3885af5f26045e81100544a1a35529c4631f072cecb6404b44 [2022-04-13T03:43:09.675Z] $ docker rm -f 3f8f39b707731d3885af5f26045e81100544a1a35529c4631f072cecb6404b44 [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-13T03:43:11.126Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-04-13T03:43:11.152Z] Warning: overwriting stash ‘coverage-report’ [2022-04-13T03:43:12.009Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-13T03:43:12.433Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-04-13T03:43:12.789Z] + ls -al . [2022-04-13T03:43:12.789Z] total 312 [2022-04-13T03:43:12.790Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 13 03:43 . [2022-04-13T03:43:12.790Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 13 03:36 .. [2022-04-13T03:43:12.790Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 13 03:36 .dockerignore [2022-04-13T03:43:12.790Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 13 03:36 .git [2022-04-13T03:43:12.790Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 13 03:36 .github [2022-04-13T03:43:12.790Z] -rw-rw-r-- 1 jenkins jenkins 131 Apr 13 03:36 .gitignore [2022-04-13T03:43:12.790Z] -rw-rw-r-- 1 jenkins jenkins 42 Apr 13 03:36 .golangci.yml [2022-04-13T03:43:12.790Z] -rw-rw-r-- 1 jenkins jenkins 26321 Apr 13 03:36 CHANGELOG.md [2022-04-13T03:43:12.790Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 13 03:36 GOVERNANCE.md [2022-04-13T03:43:12.790Z] -rw-rw-r-- 1 jenkins jenkins 880 Apr 13 03:36 Jenkinsfile [2022-04-13T03:43:12.790Z] -rw-rw-r-- 1 jenkins jenkins 11341 Apr 13 03:36 LICENSE [2022-04-13T03:43:12.790Z] -rw-rw-r-- 1 jenkins jenkins 2015 Apr 13 03:36 Makefile [2022-04-13T03:43:12.790Z] -rw-rw-r-- 1 jenkins jenkins 619 Apr 13 03:36 OWNERS.md [2022-04-13T03:43:12.790Z] -rw-rw-r-- 1 jenkins jenkins 4881 Apr 13 03:36 README.md [2022-04-13T03:43:12.790Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 13 03:33 VERSION [2022-04-13T03:43:12.790Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 13 03:36 bin [2022-04-13T03:43:12.790Z] -rw-r--r-- 1 jenkins jenkins 129245 Apr 13 03:41 coverage.out [2022-04-13T03:43:12.790Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 13 03:36 example [2022-04-13T03:43:12.790Z] -rw-rw-r-- 1 jenkins jenkins 3106 Apr 13 03:36 go.mod [2022-04-13T03:43:12.790Z] -rw-rw-r-- 1 jenkins jenkins 53786 Apr 13 03:36 go.sum [2022-04-13T03:43:12.790Z] drwxrwxr-x 15 jenkins jenkins 4096 Apr 13 03:36 internal [2022-04-13T03:43:12.790Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 13 03:36 openapi [2022-04-13T03:43:12.790Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 13 03:36 pkg [2022-04-13T03:43:12.790Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 13 03:36 snap [2022-04-13T03:43:12.790Z] -rw-rw-r-- 1 jenkins jenkins 222 Apr 13 03:36 version.go [Pipeline] isUnix [Pipeline] sh [2022-04-13T03:43:13.182Z] + 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=4c3a3a145e2d742fdce328609e9b16a891e2b1aa --label arch=arm64 --label version=0.0.0 . [2022-04-13T03:43:13.783Z] Sending build context to Docker daemon 5.317MB [2022-04-13T03:43:13.783Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-04-13T03:43:13.783Z] Step 2/25 : FROM ${BASE} AS builder [2022-04-13T03:43:13.783Z] ---> ad67d2729f32 [2022-04-13T03:43:13.783Z] Step 3/25 : ARG MAKE=make build [2022-04-13T03:43:13.783Z] ---> Running in 8a9769bcfda8 [2022-04-13T03:43:14.060Z] Removing intermediate container 8a9769bcfda8 [2022-04-13T03:43:14.060Z] ---> 7001ec699bf7 [2022-04-13T03:43:14.060Z] Step 4/25 : WORKDIR /device-sdk-go [2022-04-13T03:43:14.333Z] ---> Running in c507ebdc8b84 [2022-04-13T03:43:14.606Z] Removing intermediate container c507ebdc8b84 [2022-04-13T03:43:14.606Z] ---> 62b5e17e0e8b [2022-04-13T03:43:14.606Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-04-13T03:43:14.606Z] ---> Running in 886615e84c0c [2022-04-13T03:43:15.206Z] Removing intermediate container 886615e84c0c [2022-04-13T03:43:15.206Z] ---> 9fdf7910b610 [2022-04-13T03:43:15.206Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-13T03:43:15.206Z] ---> Running in f397df2e4890 [2022-04-13T03:43:17.204Z] Removing intermediate container f397df2e4890 [2022-04-13T03:43:17.204Z] ---> a71c004728ea [2022-04-13T03:43:17.204Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-04-13T03:43:17.204Z] ---> Running in 05345f608a4b [2022-04-13T03:43:18.184Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-13T03:43:18.788Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-13T03:43:19.764Z] OK: 220 MiB in 52 packages [2022-04-13T03:43:20.744Z] Removing intermediate container 05345f608a4b [2022-04-13T03:43:20.744Z] ---> d7936ac0454c [2022-04-13T03:43:20.744Z] Step 8/25 : COPY go.mod vendor* ./ [2022-04-13T03:43:21.344Z] ---> d530a19c9e43 [2022-04-13T03:43:21.344Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-13T03:43:21.344Z] ---> Running in c65e0662780c [2022-04-13T03:43:23.307Z] Removing intermediate container c65e0662780c [2022-04-13T03:43:23.307Z] ---> 4d73b96e2c33 [2022-04-13T03:43:23.307Z] Step 10/25 : COPY . . [2022-04-13T03:43:24.290Z] ---> 1694badb56d9 [2022-04-13T03:43:24.290Z] Step 11/25 : RUN ${MAKE} [2022-04-13T03:43:24.290Z] ---> Running in 03cb23d44ebd [2022-04-13T03:43:25.275Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2022-04-13T03:45:47.170Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-04-13T03:45:47.170Z] Removing intermediate container 03cb23d44ebd [2022-04-13T03:45:47.170Z] ---> c8bd417daa06 [2022-04-13T03:45:47.170Z] Step 12/25 : FROM alpine:3.14 [2022-04-13T03:45:47.170Z] 3.14: Pulling from library/alpine [2022-04-13T03:45:47.170Z] 455c02918c45: Pulling fs layer [2022-04-13T03:45:47.170Z] 455c02918c45: Verifying Checksum [2022-04-13T03:45:47.170Z] 455c02918c45: Download complete [2022-04-13T03:45:47.170Z] 455c02918c45: Pull complete [2022-04-13T03:45:47.170Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-04-13T03:45:47.170Z] Status: Downloaded newer image for alpine:3.14 [2022-04-13T03:45:47.170Z] ---> ac73e934f311 [2022-04-13T03:45:47.170Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-04-13T03:45:47.170Z] ---> Running in d0d5a69175d7 [2022-04-13T03:45:47.170Z] Removing intermediate container d0d5a69175d7 [2022-04-13T03:45:47.170Z] ---> e2d6d98b6ae6 [2022-04-13T03:45:47.170Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-13T03:45:47.170Z] ---> Running in df1f43f4fede [2022-04-13T03:45:47.170Z] Removing intermediate container df1f43f4fede [2022-04-13T03:45:47.170Z] ---> b117eaef0649 [2022-04-13T03:45:47.170Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-04-13T03:45:47.170Z] ---> Running in f2106d339d17 [2022-04-13T03:45:47.170Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-04-13T03:45:47.170Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-04-13T03:45:48.151Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2022-04-13T03:45:48.151Z] (2/5) Installing libsodium (1.0.18-r0) [2022-04-13T03:45:48.151Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2022-04-13T03:45:48.424Z] (4/5) Installing libzmq (4.3.4-r0) [2022-04-13T03:45:48.424Z] (5/5) Installing zeromq (4.3.4-r0) [2022-04-13T03:45:48.699Z] Executing busybox-1.33.1-r7.trigger [2022-04-13T03:45:48.699Z] OK: 8 MiB in 19 packages [2022-04-13T03:45:49.680Z] Removing intermediate container f2106d339d17 [2022-04-13T03:45:49.680Z] ---> ce6aacad092c [2022-04-13T03:45:49.680Z] Step 16/25 : WORKDIR / [2022-04-13T03:45:49.680Z] ---> Running in dba2999a004b [2022-04-13T03:45:49.955Z] Removing intermediate container dba2999a004b [2022-04-13T03:45:49.955Z] ---> eb569ab33bda [2022-04-13T03:45:49.955Z] Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-04-13T03:45:50.556Z] ---> 46d9d813a624 [2022-04-13T03:45:50.556Z] Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-04-13T03:45:52.552Z] ---> a02f00914230 [2022-04-13T03:45:52.552Z] Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-04-13T03:45:53.151Z] ---> f887d41ce527 [2022-04-13T03:45:53.151Z] Step 20/25 : EXPOSE 59999 [2022-04-13T03:45:53.151Z] ---> Running in 9a58638188b8 [2022-04-13T03:45:53.641Z] Removing intermediate container 9a58638188b8 [2022-04-13T03:45:53.642Z] ---> ccd13aa20fe2 [2022-04-13T03:45:53.642Z] Step 21/25 : ENTRYPOINT ["/device-simple"] [2022-04-13T03:45:53.642Z] ---> Running in e2215dc0393e [2022-04-13T03:45:53.917Z] Removing intermediate container e2215dc0393e [2022-04-13T03:45:53.917Z] ---> 630fee605f85 [2022-04-13T03:45:53.917Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-04-13T03:45:53.917Z] ---> Running in 16a643aa585f [2022-04-13T03:45:54.192Z] Removing intermediate container 16a643aa585f [2022-04-13T03:45:54.192Z] ---> 9c4a820f75e2 [2022-04-13T03:45:54.192Z] Step 23/25 : LABEL arch=arm64 [2022-04-13T03:45:54.468Z] ---> Running in 6eadcc75cf28 [2022-04-13T03:45:54.744Z] Removing intermediate container 6eadcc75cf28 [2022-04-13T03:45:54.744Z] ---> 76e750fbbe67 [2022-04-13T03:45:54.744Z] Step 24/25 : LABEL git_sha=4c3a3a145e2d742fdce328609e9b16a891e2b1aa [2022-04-13T03:45:54.744Z] ---> Running in 150e6d8bcf21 [2022-04-13T03:45:55.343Z] Removing intermediate container 150e6d8bcf21 [2022-04-13T03:45:55.343Z] ---> 37652c7e285c [2022-04-13T03:45:55.343Z] Step 25/25 : LABEL version=0.0.0 [2022-04-13T03:45:55.343Z] ---> Running in d655701492d7 [2022-04-13T03:45:55.623Z] Removing intermediate container d655701492d7 [2022-04-13T03:45:55.623Z] ---> 474d1722bc24 [2022-04-13T03:45:55.623Z] [Warning] One or more build-args [ARCH] were not consumed [2022-04-13T03:45:55.623Z] Successfully built 474d1722bc24 [2022-04-13T03:45:55.623Z] 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-04-13T03:45:56.084Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-13T03:45:56.084Z] [2022-04-13T03:45:56.084Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-04-13T03:45:56.439Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-13T03:45:56.713Z] arm64: Pulling from edgex-lftools-log-publisher [2022-04-13T03:45:56.713Z] 8998bd30e6a1: Pulling fs layer [2022-04-13T03:45:56.713Z] 04944245beec: Pulling fs layer [2022-04-13T03:45:56.713Z] 699f458cf7ca: Pulling fs layer [2022-04-13T03:45:56.713Z] 765212b225bb: Pulling fs layer [2022-04-13T03:45:56.713Z] f23df028b6ca: Pulling fs layer [2022-04-13T03:45:56.713Z] d65c8cfc05b1: Pulling fs layer [2022-04-13T03:45:56.713Z] 2437ff75d9bd: Pulling fs layer [2022-04-13T03:45:56.713Z] f23df028b6ca: Waiting [2022-04-13T03:45:56.713Z] d65c8cfc05b1: Waiting [2022-04-13T03:45:56.713Z] 2437ff75d9bd: Waiting [2022-04-13T03:45:56.713Z] 765212b225bb: Waiting [2022-04-13T03:45:56.713Z] 04944245beec: Verifying Checksum [2022-04-13T03:45:56.713Z] 04944245beec: Download complete [2022-04-13T03:45:56.713Z] 765212b225bb: Verifying Checksum [2022-04-13T03:45:56.713Z] 765212b225bb: Download complete [2022-04-13T03:45:56.713Z] f23df028b6ca: Verifying Checksum [2022-04-13T03:45:56.713Z] f23df028b6ca: Download complete [2022-04-13T03:45:56.713Z] d65c8cfc05b1: Download complete [2022-04-13T03:45:56.991Z] 699f458cf7ca: Verifying Checksum [2022-04-13T03:45:56.991Z] 699f458cf7ca: Download complete [2022-04-13T03:45:57.268Z] 8998bd30e6a1: Verifying Checksum [2022-04-13T03:45:57.268Z] 8998bd30e6a1: Download complete [2022-04-13T03:45:59.894Z] 2437ff75d9bd: Verifying Checksum [2022-04-13T03:45:59.894Z] 2437ff75d9bd: Download complete [2022-04-13T03:46:01.875Z] 8998bd30e6a1: Pull complete [2022-04-13T03:46:02.477Z] 04944245beec: Pull complete [2022-04-13T03:46:03.915Z] 699f458cf7ca: Pull complete [2022-04-13T03:46:04.189Z] 765212b225bb: Pull complete [2022-04-13T03:46:05.174Z] f23df028b6ca: Pull complete [2022-04-13T03:46:05.449Z] d65c8cfc05b1: Pull complete [2022-04-13T03:46:23.799Z] 2437ff75d9bd: Pull complete [2022-04-13T03:46:23.799Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-04-13T03:46:23.799Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-13T03:46:23.799Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-04-13T03:46:24.010Z] prd-ubuntu20.04-docker-arm64-4c-16g-20768 does not seem to be running inside a container [2022-04-13T03:46:24.089Z] $ 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/6 -v /w/workspace/device-sdk-go/6:/w/workspace/device-sdk-go/6:rw,z -v /w/workspace/device-sdk-go/6@tmp:/w/workspace/device-sdk-go/6@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-04-13T03:46:26.670Z] $ docker top 3545b917383ef0feb80a8ed6c110823759c5a78e293c36930d035d8caf17270a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-13T03:46:27.572Z] ---> job-cost.sh [2022-04-13T03:46:27.572Z] lf-activate-venv: SKIPPING [2022-04-13T03:46:27.572Z] INFO: No Stack... [2022-04-13T03:46:28.163Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-04-13T03:46:28.753Z] INFO: Archiving Costs [Pipeline] sh [2022-04-13T03:46:29.410Z] + cat /w/workspace/device-sdk-go/6/archives/cost.csv [2022-04-13T03:46:29.410Z] + cut -d, -f6 [Pipeline] lock [2022-04-13T03:46:29.476Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1123-6-stack-cost] [2022-04-13T03:46:29.482Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1123-6-stack-cost] did not exist. Created. [2022-04-13T03:46:29.482Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1123-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-13T03:46:30.154Z] /w/workspace/device-sdk-go/6@tmp/durable-5e4b4f7c/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-04-13T03:46:30.823Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-04-13T03:46:30.843Z] Warning: overwriting stash ‘stack-cost’ [2022-04-13T03:46:30.906Z] Stashed 1 file(s) [Pipeline] } [2022-04-13T03:46:30.916Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1123-6-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-13T03:46:30.941Z] $ docker stop --time=1 3545b917383ef0feb80a8ed6c110823759c5a78e293c36930d035d8caf17270a [2022-04-13T03:46:32.426Z] $ docker rm -f 3545b917383ef0feb80a8ed6c110823759c5a78e293c36930d035d8caf17270a [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-04-13T03:46:32.840Z] provisioning config files... [2022-04-13T03:46:32.849Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1123@tmp/config86321929626857736tmp [Pipeline] { [Pipeline] sh [2022-04-13T03:46:33.145Z] + set +x [2022-04-13T03:46:33.145Z] + curl+ -s https://codecov.io/bash [2022-04-13T03:46:33.145Z] bash -s -- [2022-04-13T03:46:33.145Z] [2022-04-13T03:46:33.145Z] _____ _ [2022-04-13T03:46:33.145Z] / ____| | | [2022-04-13T03:46:33.145Z] | | ___ __| | ___ ___ _____ __ [2022-04-13T03:46:33.145Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-04-13T03:46:33.145Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-04-13T03:46:33.145Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-04-13T03:46:33.145Z] Bash-1.0.6 [2022-04-13T03:46:33.145Z] [2022-04-13T03:46:33.145Z] [2022-04-13T03:46:33.145Z] ==> git version 2.25.1 found [2022-04-13T03:46:33.145Z] ==> 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-04-13T03:46:33.145Z] Release-Date: 2020-01-08 [2022-04-13T03:46:33.145Z] 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-04-13T03:46:33.145Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-04-13T03:46:33.145Z] ==> Jenkins CI detected. [2022-04-13T03:46:33.145Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1123 [2022-04-13T03:46:33.145Z] project root: . [2022-04-13T03:46:33.145Z] --> token set from env [2022-04-13T03:46:33.145Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-04-13T03:46:33.145Z] ==> Running gcov in . (disable via -X gcov) [2022-04-13T03:46:33.145Z] ==> Python coveragepy not found [2022-04-13T03:46:33.145Z] ==> Searching for coverage reports in: [2022-04-13T03:46:33.145Z] + . [2022-04-13T03:46:33.145Z] -> Found 1 reports [2022-04-13T03:46:33.145Z] ==> Detecting git/mercurial file structure [2022-04-13T03:46:33.145Z] ==> Reading reports [2022-04-13T03:46:33.145Z] + ./coverage.out bytes=129245 [2022-04-13T03:46:33.145Z] ==> Appending adjustments [2022-04-13T03:46:33.145Z] https://docs.codecov.io/docs/fixing-reports [2022-04-13T03:46:33.405Z] + Found adjustments [2022-04-13T03:46:33.405Z] ==> Gzipping contents [2022-04-13T03:46:33.405Z] 20K /tmp/codecov.zE1Fb6.gz [2022-04-13T03:46:33.405Z] ==> Uploading reports [2022-04-13T03:46:33.405Z] url: https://codecov.io [2022-04-13T03:46:33.405Z] query: branch=PR-1123&commit=4c3a3a145e2d742fdce328609e9b16a891e2b1aa&build=6&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1123%2F6%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1123&job=&cmd_args= [2022-04-13T03:46:33.405Z] -> Pinging Codecov [2022-04-13T03:46:33.405Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1123&commit=4c3a3a145e2d742fdce328609e9b16a891e2b1aa&build=6&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1123%2F6%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1123&job=&cmd_args= [2022-04-13T03:46:33.976Z] -> Uploading to [2022-04-13T03:46:33.976Z] https://storage.googleapis.com/codecov/v4/raw/2022-04-13/7E55EF52A471D76F132DFD9A03CDDE97/4c3a3a145e2d742fdce328609e9b16a891e2b1aa/c66e016f-79c2-4cfe-98e3-5f25e0fde9cc.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220413%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220413T034633Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=c08c8f325ce358e219c1f654ed95defa619b1d434093d551857fcdd13e51fed7 [2022-04-13T03:46:33.976Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-13T03:46:33.976Z] Dload Upload Total Spent Left Speed [2022-04-13T03:46:33.976Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16591 0 0 100 16591 0 76810 --:--:-- --:--:-- --:--:-- 76810 [2022-04-13T03:46:33.976Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/4c3a3a145e2d742fdce328609e9b16a891e2b1aa [Pipeline] } [2022-04-13T03:46:33.984Z] 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-04-13T03:46:34.700Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1123/archives ] [2022-04-13T03:46:34.700Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1123/archives [2022-04-13T03:46:34.700Z] total 16 [2022-04-13T03:46:34.700Z] drwxr-xr-x 3 root root 4096 Apr 13 03:35 . [2022-04-13T03:46:34.700Z] drwxrwxr-x 12 jenkins jenkins 4096 Apr 13 03:35 .. [2022-04-13T03:46:34.700Z] drwxr-xr-x 2 root root 4096 Apr 13 03:35 cost [2022-04-13T03:46:34.700Z] -rw-r--r-- 1 root root 85 Apr 13 03:35 cost.csv [2022-04-13T03:46:34.700Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1123/archives [2022-04-13T03:46:34.700Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1123/archives [2022-04-13T03:46:34.700Z] total 16 [2022-04-13T03:46:34.700Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 13 03:35 . [2022-04-13T03:46:34.700Z] drwxrwxr-x 12 jenkins jenkins 4096 Apr 13 03:35 .. [2022-04-13T03:46:34.700Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 13 03:35 cost [2022-04-13T03:46:34.700Z] -rw-r--r-- 1 jenkins jenkins 85 Apr 13 03:35 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-04-13T03:46:34.996Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-13T03:46:35.861Z] ---> package-listing.sh [2022-04-13T03:46:35.861Z] ++ facter osfamily [2022-04-13T03:46:35.861Z] ++ tr '[:upper:]' '[:lower:]' [2022-04-13T03:46:36.121Z] + OS_FAMILY=debian [2022-04-13T03:46:36.121Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1123 [2022-04-13T03:46:36.121Z] + START_PACKAGES=/tmp/packages_start.txt [2022-04-13T03:46:36.121Z] + END_PACKAGES=/tmp/packages_end.txt [2022-04-13T03:46:36.121Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-04-13T03:46:36.121Z] + PACKAGES=/tmp/packages_start.txt [2022-04-13T03:46:36.121Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1123 ']' [2022-04-13T03:46:36.122Z] + PACKAGES=/tmp/packages_end.txt [2022-04-13T03:46:36.122Z] + case "${OS_FAMILY}" in [2022-04-13T03:46:36.122Z] + dpkg -l [2022-04-13T03:46:36.122Z] + grep '^ii' [2022-04-13T03:46:36.122Z] + '[' -f /tmp/packages_start.txt ']' [2022-04-13T03:46:36.122Z] + '[' -f /tmp/packages_end.txt ']' [2022-04-13T03:46:36.122Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-04-13T03:46:36.122Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1123 ']' [2022-04-13T03:46:36.122Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1123/archives/ [2022-04-13T03:46:36.122Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1123/archives/ [Pipeline] echo [2022-04-13T03:46:36.135Z] 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-1123/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-04-13T03:46:36.417Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-04-13T03:46:36.713Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-13T03:46:36.714Z] . [Pipeline] withDockerContainer [2022-04-13T03:46:36.782Z] prd-ubuntu20.04-docker-8c-8g-20764 does not seem to be running inside a container [2022-04-13T03:46:36.822Z] $ 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-1123/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-1123 -v /w/workspace/gexfoundry_device-sdk-go_PR-1123:/w/workspace/gexfoundry_device-sdk-go_PR-1123:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1123@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1123@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-04-13T03:46:37.068Z] $ docker top 7360829455bbbfcde24987591c25fcea23481fb2c51bb4fc1c14e645eaa287ef -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-13T03:46:37.423Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-04-13T03:46:37.712Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-04-13T03:46:38.000Z] + ls /var/log/sa-host [2022-04-13T03:46:38.001Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-13T03:46:38.098Z] provisioning config files... [2022-04-13T03:46:38.106Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1123@tmp/config613553018757304204tmp [Pipeline] { [Pipeline] echo [2022-04-13T03:46:38.118Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-13T03:46:38.404Z] ---> create-netrc.sh [Pipeline] } [2022-04-13T03:46:38.411Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-04-13T03:46:38.738Z] ---> python-tools-install.sh [Pipeline] echo [2022-04-13T03:46:38.747Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-13T03:46:39.036Z] ---> sudo-logs.sh [2022-04-13T03:46:39.036Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-04-13T03:46:39.068Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-13T03:46:39.355Z] ---> job-cost.sh [2022-04-13T03:46:39.356Z] lf-activate-venv: SKIPPING [2022-04-13T03:46:39.356Z] DEBUG: total: 0.2199999988079071 [2022-04-13T03:46:39.356Z] INFO: Retrieving Stack Cost... [2022-04-13T03:46:39.618Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-13T03:46:40.191Z] INFO: Archiving Costs [Pipeline] echo [2022-04-13T03:46:40.206Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-13T03:46:40.492Z] ---> logs-deploy.sh [2022-04-13T03:46:40.492Z] lf-activate-venv: SKIPPING [2022-04-13T03:46:40.492Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1123/6 [2022-04-13T03:46:40.492Z] INFO: archiving workspace using pattern(s): [2022-04-13T03:46:41.433Z] Archives upload complete. [2022-04-13T03:46:41.433Z] INFO: archiving logs to Nexus