Pull request #1140 event Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 4d74de5021f692274428b5aff4c6b8ccd612cc20+5f3ddcf8acb855a32ed46a26f751dc40ab556708 (6e3ca91cff8f2bbc8bb8e2d2b920563977f0f46a) 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-ssh1618210704167633853.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-ssh9094180538518218741.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-1140/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-1140/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh16284734334317247776.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-ssh16075256045338174777.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-1140/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-1140/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh8712952491872449440.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-21721’ Running on prd-ubuntu20.04-docker-8c-8g-21724 in /w/workspace/gexfoundry_device-sdk-go_PR-1140 [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-1140 # 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 > 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/1140/head:refs/remotes/origin/PR-1140 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 5f3ddcf8acb855a32ed46a26f751dc40ab556708 into PR head commit 4d74de5021f692274428b5aff4c6b8ccd612cc20 Merge succeeded, producing 4d74de5021f692274428b5aff4c6b8ccd612cc20 Checking out Revision 4d74de5021f692274428b5aff4c6b8ccd612cc20 (PR-1140) > git config core.sparsecheckout # timeout=10 > git checkout -f 4d74de5021f692274428b5aff4c6b8ccd612cc20 # 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 5f3ddcf8acb855a32ed46a26f751dc40ab556708 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 4d74de5021f692274428b5aff4c6b8ccd612cc20 # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-04-22T02:35:22.395Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-04-22T02:35:22.459Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-04-22T02:35:22.473Z] ========================================================= [2022-04-22T02:35:22.473Z] EdgeX Global Pipelines Version Info [2022-04-22T02:35:22.473Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-04-22T02:35:23.274Z] ------------------- [2022-04-22T02:35:23.275Z] stable info: [2022-04-22T02:35:23.275Z] ------------------- [2022-04-22T02:35:23.275Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-04-22T02:35:23.275Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-04-22T02:35:23.275Z] Message: update stable to v1.0.221 > git rev-list --no-walk 84c4a4a4ea32f6c227d81b26f5a3a96be19c7cc6 # timeout=10 [2022-04-22T02:35:23.848Z] ------------------- [2022-04-22T02:35:23.848Z] experimental info: [2022-04-22T02:35:23.848Z] ------------------- [2022-04-22T02:35:23.848Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-04-22T02:35:23.848Z] Commit SHA: e334d830fa8e8412d6042b94a77caa8dfa54c97b [2022-04-22T02:35:23.848Z] Message: update experimental to v1.0.223 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-04-22T02:35:23.998Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2022-04-22T02:35:24.017Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2022-04-22T02:35:24.033Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-04-22T02:35:24.051Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-04-22T02:35:24.068Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-04-22T02:35:24.084Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-04-22T02:35:24.097Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-04-22T02:35:24.112Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2022-04-22T02:35:24.126Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-04-22T02:35:24.143Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-04-22T02:35:24.157Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-04-22T02:35:24.171Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2022-04-22T02:35:24.187Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-04-22T02:35:24.198Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-04-22T02:35:24.214Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-04-22T02:35:24.229Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2022-04-22T02:35:24.248Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-04-22T02:35:24.267Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-04-22T02:35:24.285Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-04-22T02:35:24.296Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-04-22T02:35:24.310Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-04-22T02:35:24.323Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2022-04-22T02:35:24.338Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-04-22T02:35:24.354Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-04-22T02:35:24.368Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-04-22T02:35:24.382Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-04-22T02:35:24.395Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1140 [Pipeline] echo [2022-04-22T02:35:24.409Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1140 [Pipeline] echo [2022-04-22T02:35:24.422Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1140 [Pipeline] echo [2022-04-22T02:35:24.439Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 4d74de5021f692274428b5aff4c6b8ccd612cc20 [Pipeline] echo [2022-04-22T02:35:24.450Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 4d74de5 [Pipeline] echo [2022-04-22T02:35:24.461Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-22T02:35:24.510Z] provisioning config files... [2022-04-22T02:35:24.526Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1140@tmp/config8168886128629468101tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-22T02:35:24.852Z] ---> docker-login.sh [2022-04-22T02:35:24.852Z] nexus3.edgexfoundry.org:10001 [2022-04-22T02:35:25.114Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-22T02:35:25.114Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-22T02:35:25.114Z] Configure a credential helper to remove this warning. See [2022-04-22T02:35:25.114Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-22T02:35:25.114Z] [2022-04-22T02:35:25.114Z] Login Succeeded [2022-04-22T02:35:25.114Z] nexus3.edgexfoundry.org:10002 [2022-04-22T02:35:25.375Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-22T02:35:25.375Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-22T02:35:25.375Z] Configure a credential helper to remove this warning. See [2022-04-22T02:35:25.375Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-22T02:35:25.375Z] [2022-04-22T02:35:25.375Z] Login Succeeded [2022-04-22T02:35:25.375Z] nexus3.edgexfoundry.org:10003 [2022-04-22T02:35:25.375Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-22T02:35:25.639Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-22T02:35:25.639Z] Configure a credential helper to remove this warning. See [2022-04-22T02:35:25.639Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-22T02:35:25.639Z] [2022-04-22T02:35:25.639Z] Login Succeeded [2022-04-22T02:35:25.639Z] nexus3.edgexfoundry.org:10004 [2022-04-22T02:35:25.639Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-22T02:35:25.639Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-22T02:35:25.639Z] Configure a credential helper to remove this warning. See [2022-04-22T02:35:25.639Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-22T02:35:25.639Z] [2022-04-22T02:35:25.639Z] Login Succeeded [2022-04-22T02:35:25.639Z] docker.io [2022-04-22T02:35:25.639Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-22T02:35:26.228Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-22T02:35:26.228Z] Configure a credential helper to remove this warning. See [2022-04-22T02:35:26.228Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-22T02:35:26.228Z] [2022-04-22T02:35:26.228Z] Login Succeeded [2022-04-22T02:35:26.228Z] ---> docker-login.sh ends [Pipeline] } [2022-04-22T02:35:26.237Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-04-22T02:35:26.605Z] + git rev-list -1 --merges 4d74de5021f692274428b5aff4c6b8ccd612cc20~1..4d74de5021f692274428b5aff4c6b8ccd612cc20 [Pipeline] echo [2022-04-22T02:35:26.726Z] -----------> git rev-list -1 --merges 4d74de5021f692274428b5aff4c6b8ccd612cc20~1..4d74de5021f692274428b5aff4c6b8ccd612cc20 4d74de5021f692274428b5aff4c6b8ccd612cc20 [false] [Pipeline] sh [2022-04-22T02:35:27.016Z] + git log --format=format:%s -1 4d74de5021f692274428b5aff4c6b8ccd612cc20 [Pipeline] echo [2022-04-22T02:35:27.033Z] ========================================================= [2022-04-22T02:35:27.033Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-04-22T02:35:27.033Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-22T02:35:27.378Z] + git log --format=format:%s -1 4d74de5021f692274428b5aff4c6b8ccd612cc20 [Pipeline] echo [2022-04-22T02:35:27.392Z] [semverPrep] GIT_COMMIT: 4d74de5021f692274428b5aff4c6b8ccd612cc20, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2 [Pipeline] echo [2022-04-22T02:35:27.403Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-04-22T02:35:27.786Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-22T02:35:27.786Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-04-22T02:35:27.786Z] + [ -e /tmp/ssh_known_hosts ] [2022-04-22T02:35:27.786Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-04-22T02:35:27.786Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-04-22T02:35:27.786Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-04-22T02:35:27.786Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-22T02:35:28.137Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-22T02:35:28.137Z] [2022-04-22T02:35:28.137Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-04-22T02:35:28.445Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-22T02:35:28.445Z] latest: Pulling from edgex-devops/git-semver [2022-04-22T02:35:28.445Z] a0d0a0d46f8b: Pulling fs layer [2022-04-22T02:35:28.445Z] 3e5f54012d9b: Pulling fs layer [2022-04-22T02:35:28.445Z] 4c7163046ea9: Pulling fs layer [2022-04-22T02:35:28.445Z] 0c2d73faf560: Pulling fs layer [2022-04-22T02:35:28.445Z] 0c2d73faf560: Waiting [2022-04-22T02:35:28.445Z] 3e5f54012d9b: Verifying Checksum [2022-04-22T02:35:28.445Z] 3e5f54012d9b: Download complete [2022-04-22T02:35:28.445Z] a0d0a0d46f8b: Verifying Checksum [2022-04-22T02:35:28.445Z] a0d0a0d46f8b: Download complete [2022-04-22T02:35:28.445Z] 0c2d73faf560: Verifying Checksum [2022-04-22T02:35:28.445Z] 0c2d73faf560: Download complete [2022-04-22T02:35:28.445Z] 4c7163046ea9: Verifying Checksum [2022-04-22T02:35:28.445Z] 4c7163046ea9: Download complete [2022-04-22T02:35:28.710Z] a0d0a0d46f8b: Pull complete [2022-04-22T02:35:28.710Z] 3e5f54012d9b: Pull complete [2022-04-22T02:35:28.971Z] 4c7163046ea9: Pull complete [2022-04-22T02:35:29.230Z] 0c2d73faf560: Pull complete [2022-04-22T02:35:29.230Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-04-22T02:35:29.230Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-22T02:35:29.230Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-04-22T02:35:29.312Z] prd-ubuntu20.04-docker-8c-8g-21724 does not seem to be running inside a container [2022-04-22T02:35:29.343Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1140 -v /w/workspace/gexfoundry_device-sdk-go_PR-1140:/w/workspace/gexfoundry_device-sdk-go_PR-1140:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1140@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1140@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-22T02:35:30.120Z] $ docker top e2cd5c062474a9fbf02229471065f485abc1ba507012501427218841c1cea25b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-22T02:35:30.237Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-22T02:35:30.237Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-22T02:35:30.355Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-22T02:35:30.346Z] $ docker exec e2cd5c062474a9fbf02229471065f485abc1ba507012501427218841c1cea25b ssh-agent [2022-04-22T02:35:30.483Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXNjiPkh/agent.16 [2022-04-22T02:35:30.483Z] SSH_AGENT_PID=22 [2022-04-22T02:35:30.491Z] Running ssh-add (command line suppressed) [2022-04-22T02:35:30.576Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1140@tmp/private_key_6638007655038691115.key (/w/workspace/gexfoundry_device-sdk-go_PR-1140@tmp/private_key_6638007655038691115.key) [2022-04-22T02:35:30.610Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-22T02:35:30.903Z] + git tag --points-at HEAD [Pipeline] } [2022-04-22T02:35:30.907Z] $ docker exec --env ******** --env ******** e2cd5c062474a9fbf02229471065f485abc1ba507012501427218841c1cea25b ssh-agent -k [2022-04-22T02:35:31.024Z] unset SSH_AUTH_SOCK; [2022-04-22T02:35:31.025Z] unset SSH_AGENT_PID; [2022-04-22T02:35:31.025Z] echo Agent pid 22 killed; [2022-04-22T02:35:31.047Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-04-22T02:35:31.078Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-22T02:35:31.078Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-22T02:35:31.208Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-22T02:35:31.200Z] $ docker exec e2cd5c062474a9fbf02229471065f485abc1ba507012501427218841c1cea25b ssh-agent [2022-04-22T02:35:31.350Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXHopFOO/agent.55 [2022-04-22T02:35:31.350Z] SSH_AGENT_PID=62 [2022-04-22T02:35:31.356Z] Running ssh-add (command line suppressed) [2022-04-22T02:35:31.457Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1140@tmp/private_key_7708485350436317588.key (/w/workspace/gexfoundry_device-sdk-go_PR-1140@tmp/private_key_7708485350436317588.key) [2022-04-22T02:35:31.487Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-22T02:35:31.781Z] + git semver init [2022-04-22T02:35:31.781Z] # -> Open(): unable to determine branch for HEAD [2022-04-22T02:35:31.781Z] # $GIT_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1140/.git [2022-04-22T02:35:31.781Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-sdk-go_PR-1140 [2022-04-22T02:35:31.781Z] # $SEMVER_REMOTE_NAME = origin [2022-04-22T02:35:31.781Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-04-22T02:35:31.781Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-04-22T02:35:31.781Z] # $SEMVER_BRANCH = PR-1140 [2022-04-22T02:35:31.781Z] # $SEMVER_TEMP = /tmp/semver-327592756 [2022-04-22T02:35:31.781Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2022-04-22T02:35:32.726Z] # '/tmp/semver-327592756' -> '/w/workspace/gexfoundry_device-sdk-go_PR-1140/.semver' [2022-04-22T02:35:32.726Z] # -> Force: false [2022-04-22T02:35:32.726Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1140/.semver [Pipeline] } [2022-04-22T02:35:32.728Z] $ docker exec --env ******** --env ******** e2cd5c062474a9fbf02229471065f485abc1ba507012501427218841c1cea25b ssh-agent -k [2022-04-22T02:35:32.835Z] unset SSH_AUTH_SOCK; [2022-04-22T02:35:32.835Z] unset SSH_AGENT_PID; [2022-04-22T02:35:32.835Z] echo Agent pid 62 killed; [2022-04-22T02:35:32.856Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-22T02:35:33.178Z] + git semver [Pipeline] } [2022-04-22T02:35:33.184Z] $ docker stop --time=1 e2cd5c062474a9fbf02229471065f485abc1ba507012501427218841c1cea25b [2022-04-22T02:35:34.592Z] $ docker rm -f e2cd5c062474a9fbf02229471065f485abc1ba507012501427218841c1cea25b [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-22T02:35:34.969Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-04-22T02:35:35.250Z] Stashed 1 file(s) [Pipeline] echo [2022-04-22T02:35:35.254Z] [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-22T02:35:35.425Z] provisioning config files... [2022-04-22T02:35:35.437Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1140@tmp/config7570033721182613100tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-22T02:35:35.748Z] ---> docker-login.sh [2022-04-22T02:35:35.749Z] nexus3.edgexfoundry.org:10001 [2022-04-22T02:35:35.749Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-22T02:35:35.749Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-22T02:35:35.749Z] Configure a credential helper to remove this warning. See [2022-04-22T02:35:35.749Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-22T02:35:35.749Z] [2022-04-22T02:35:35.749Z] Login Succeeded [2022-04-22T02:35:35.749Z] nexus3.edgexfoundry.org:10002 [2022-04-22T02:35:35.749Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-22T02:35:36.011Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-22T02:35:36.011Z] Configure a credential helper to remove this warning. See [2022-04-22T02:35:36.011Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-22T02:35:36.011Z] [2022-04-22T02:35:36.011Z] Login Succeeded [2022-04-22T02:35:36.011Z] nexus3.edgexfoundry.org:10003 [2022-04-22T02:35:36.011Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-22T02:35:36.011Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-22T02:35:36.011Z] Configure a credential helper to remove this warning. See [2022-04-22T02:35:36.011Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-22T02:35:36.011Z] [2022-04-22T02:35:36.011Z] Login Succeeded [2022-04-22T02:35:36.011Z] nexus3.edgexfoundry.org:10004 [2022-04-22T02:35:36.272Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-22T02:35:36.272Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-22T02:35:36.272Z] Configure a credential helper to remove this warning. See [2022-04-22T02:35:36.272Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-22T02:35:36.272Z] [2022-04-22T02:35:36.272Z] Login Succeeded [2022-04-22T02:35:36.272Z] docker.io [2022-04-22T02:35:36.272Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-22T02:35:36.534Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-22T02:35:36.534Z] Configure a credential helper to remove this warning. See [2022-04-22T02:35:36.534Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-22T02:35:36.534Z] [2022-04-22T02:35:36.534Z] Login Succeeded [2022-04-22T02:35:36.534Z] ---> docker-login.sh ends [Pipeline] } [2022-04-22T02:35:36.543Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-22T02:35:36.617Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-22T02:35:36.627Z] ========================================================= [2022-04-22T02:35:36.627Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-04-22T02:35:36.627Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-22T02:35:36.953Z] + 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-22T02:35:36.953Z] Sending build context to Docker daemon 9.508MB [2022-04-22T02:35:36.953Z] Step 1/11 : ARG BASE=golang:1.17-alpine3.15 [2022-04-22T02:35:36.953Z] Step 2/11 : FROM ${BASE} AS builder [2022-04-22T02:35:36.953Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-04-22T02:35:36.953Z] 59bf1c3509f3: Pulling fs layer [2022-04-22T02:35:36.953Z] 666ba61612fd: Pulling fs layer [2022-04-22T02:35:36.953Z] 8ed8ca486205: Pulling fs layer [2022-04-22T02:35:36.953Z] 4fe6c5a15a65: Pulling fs layer [2022-04-22T02:35:36.953Z] 22a0e8bec74d: Pulling fs layer [2022-04-22T02:35:36.953Z] 640e595b4fbd: Pulling fs layer [2022-04-22T02:35:36.953Z] 763cafe07f6e: Pulling fs layer [2022-04-22T02:35:36.953Z] 0c0b528cf693: Pulling fs layer [2022-04-22T02:35:36.953Z] 10935f4eaf8b: Pulling fs layer [2022-04-22T02:35:36.953Z] 22a0e8bec74d: Waiting [2022-04-22T02:35:36.953Z] 640e595b4fbd: Waiting [2022-04-22T02:35:36.953Z] 763cafe07f6e: Waiting [2022-04-22T02:35:36.953Z] 0c0b528cf693: Waiting [2022-04-22T02:35:36.953Z] 10935f4eaf8b: Waiting [2022-04-22T02:35:36.953Z] 4fe6c5a15a65: Waiting [2022-04-22T02:35:37.216Z] 8ed8ca486205: Download complete [2022-04-22T02:35:37.216Z] 666ba61612fd: Download complete [2022-04-22T02:35:37.216Z] 22a0e8bec74d: Verifying Checksum [2022-04-22T02:35:37.216Z] 22a0e8bec74d: Download complete [2022-04-22T02:35:37.216Z] 640e595b4fbd: Verifying Checksum [2022-04-22T02:35:37.216Z] 640e595b4fbd: Download complete [2022-04-22T02:35:37.216Z] 59bf1c3509f3: Verifying Checksum [2022-04-22T02:35:37.216Z] 59bf1c3509f3: Download complete [2022-04-22T02:35:37.216Z] 763cafe07f6e: Verifying Checksum [2022-04-22T02:35:37.216Z] 763cafe07f6e: Download complete [2022-04-22T02:35:37.216Z] 0c0b528cf693: Verifying Checksum [2022-04-22T02:35:37.216Z] 0c0b528cf693: Download complete [2022-04-22T02:35:37.216Z] 59bf1c3509f3: Pull complete [2022-04-22T02:35:37.481Z] 666ba61612fd: Pull complete [2022-04-22T02:35:37.482Z] 8ed8ca486205: Pull complete [2022-04-22T02:35:37.746Z] 10935f4eaf8b: Verifying Checksum [2022-04-22T02:35:37.746Z] 10935f4eaf8b: Download complete [2022-04-22T02:35:38.009Z] 4fe6c5a15a65: Verifying Checksum [2022-04-22T02:35:38.009Z] 4fe6c5a15a65: Download complete [2022-04-22T02:35:42.211Z] 4fe6c5a15a65: Pull complete [2022-04-22T02:35:42.211Z] 22a0e8bec74d: Pull complete [2022-04-22T02:35:42.211Z] 640e595b4fbd: Pull complete [2022-04-22T02:35:42.211Z] 763cafe07f6e: Pull complete [2022-04-22T02:35:42.211Z] 0c0b528cf693: Pull complete [2022-04-22T02:35:44.752Z] 10935f4eaf8b: Pull complete [2022-04-22T02:35:44.752Z] Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 [2022-04-22T02:35:44.752Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-04-22T02:35:44.752Z] ---> 99d49a6021b9 [2022-04-22T02:35:44.752Z] Step 3/11 : ARG MAKE=make build [2022-04-22T02:35:46.671Z] ---> Running in 10e26a216990 [2022-04-22T02:35:46.671Z] Removing intermediate container 10e26a216990 [2022-04-22T02:35:46.671Z] ---> 9eb4b2a39fef [2022-04-22T02:35:46.671Z] Step 4/11 : WORKDIR /device-sdk-go [2022-04-22T02:35:46.671Z] ---> Running in 87edff03f151 [2022-04-22T02:35:46.671Z] Removing intermediate container 87edff03f151 [2022-04-22T02:35:46.671Z] ---> ce23745a31b8 [2022-04-22T02:35:46.672Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-04-22T02:35:46.672Z] ---> Running in ef032ef75c73 [2022-04-22T02:35:46.672Z] Removing intermediate container ef032ef75c73 [2022-04-22T02:35:46.672Z] ---> ea4e36f099d8 [2022-04-22T02:35:46.672Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-22T02:35:46.932Z] ---> Running in ba70d270bcd1 [2022-04-22T02:35:47.501Z] Removing intermediate container ba70d270bcd1 [2022-04-22T02:35:47.501Z] ---> 92f92258865e [2022-04-22T02:35:47.501Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-04-22T02:35:47.501Z] ---> Running in cce3e1e7b0ac [2022-04-22T02:35:47.763Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-22T02:35:48.704Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-22T02:35:48.704Z] OK: 221 MiB in 52 packages [2022-04-22T02:35:49.277Z] Removing intermediate container cce3e1e7b0ac [2022-04-22T02:35:49.277Z] ---> 7a3301316a0b [2022-04-22T02:35:49.277Z] Step 8/11 : COPY go.mod vendor* ./ [2022-04-22T02:35:49.277Z] ---> 68ef1980662a [2022-04-22T02:35:49.277Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-22T02:35:49.538Z] ---> Running in e12b02ad5a29 [2022-04-22T02:35:50.369Z] Still waiting to schedule task [2022-04-22T02:35:50.370Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-21722’ [2022-04-22T02:36:04.441Z] Removing intermediate container e12b02ad5a29 [2022-04-22T02:36:04.441Z] ---> 7651a541c5d4 [2022-04-22T02:36:04.441Z] Step 10/11 : COPY . . [2022-04-22T02:36:04.441Z] ---> e0995220b367 [2022-04-22T02:36:04.441Z] Step 11/11 : RUN ${MAKE} [2022-04-22T02:36:04.441Z] ---> Running in d22d3123c060 [2022-04-22T02:36:04.441Z] noop [2022-04-22T02:36:04.441Z] Removing intermediate container d22d3123c060 [2022-04-22T02:36:04.441Z] ---> 860499160f31 [2022-04-22T02:36:04.441Z] Successfully built 860499160f31 [2022-04-22T02:36:04.441Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-22T02:36:04.746Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-22T02:36:04.746Z] . [Pipeline] withDockerContainer [2022-04-22T02:36:04.819Z] prd-ubuntu20.04-docker-8c-8g-21724 does not seem to be running inside a container [2022-04-22T02:36:04.871Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1140 -v /w/workspace/gexfoundry_device-sdk-go_PR-1140:/w/workspace/gexfoundry_device-sdk-go_PR-1140:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1140@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1140@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-22T02:36:05.269Z] $ docker top 6221bac9712f62275d0b4808217ea6e07b8e3b4d5ebeae4b8695414742db84fa -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-22T02:36:05.631Z] + go version [2022-04-22T02:36:05.631Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-04-22T02:36:05.652Z] $ docker stop --time=1 6221bac9712f62275d0b4808217ea6e07b8e3b4d5ebeae4b8695414742db84fa [2022-04-22T02:36:06.942Z] $ docker rm -f 6221bac9712f62275d0b4808217ea6e07b8e3b4d5ebeae4b8695414742db84fa [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-22T02:36:07.349Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-22T02:36:07.349Z] . [Pipeline] withDockerContainer [2022-04-22T02:36:07.418Z] prd-ubuntu20.04-docker-8c-8g-21724 does not seem to be running inside a container [2022-04-22T02:36:07.477Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1140 -v /w/workspace/gexfoundry_device-sdk-go_PR-1140:/w/workspace/gexfoundry_device-sdk-go_PR-1140:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1140@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1140@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-22T02:36:07.938Z] $ docker top cce29e815dcc04cd08b914b281b10116a6cf5795e540f0f20830ab1b09310db0 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-22T02:36:08.333Z] + make test [2022-04-22T02:36:08.333Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-04-22T02:36:13.618Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-04-22T02:36:25.832Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-04-22T02:36:25.832Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-04-22T02:36:25.832Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-04-22T02:36:25.832Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.102s coverage: 23.3% of statements [2022-04-22T02:36:25.832Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-04-22T02:36:26.403Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.061s coverage: 27.6% of statements [2022-04-22T02:36:26.403Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.116s coverage: 78.9% of statements [2022-04-22T02:36:26.403Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.068s coverage: 10.8% of statements [2022-04-22T02:36:26.403Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.071s coverage: 60.0% of statements [2022-04-22T02:36:26.403Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-04-22T02:36:26.403Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-04-22T02:36:26.664Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.079s coverage: 34.7% of statements [2022-04-22T02:36:26.664Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-04-22T02:36:26.664Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.067s coverage: 86.1% of statements [2022-04-22T02:36:26.664Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-04-22T02:36:26.664Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-04-22T02:36:26.664Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.119s coverage: 65.1% of statements [2022-04-22T02:36:26.664Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.863s coverage: 89.2% of statements [2022-04-22T02:36:26.664Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-04-22T02:36:26.664Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.061s coverage: 4.7% of statements [2022-04-22T02:36:26.664Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-04-22T02:36:41.552Z] GO111MODULE=on go vet ./... [2022-04-22T02:36:45.750Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-22T02:36:45.750Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-22T02:36:45.750Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-04-22T02:36:45.764Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-04-22T02:36:45.790Z] $ docker stop --time=1 cce29e815dcc04cd08b914b281b10116a6cf5795e540f0f20830ab1b09310db0 [2022-04-22T02:36:48.341Z] $ docker rm -f cce29e815dcc04cd08b914b281b10116a6cf5795e540f0f20830ab1b09310db0 [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-22T02:36:48.830Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-04-22T02:36:48.908Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-04-22T02:36:49.486Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-04-22T02:36:49.776Z] + ls -al . [2022-04-22T02:36:49.776Z] total 316 [2022-04-22T02:36:49.776Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 22 02:36 . [2022-04-22T02:36:49.776Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 22 02:35 .. [2022-04-22T02:36:49.776Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 22 02:35 .dockerignore [2022-04-22T02:36:49.776Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 22 02:35 .git [2022-04-22T02:36:49.776Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 22 02:35 .github [2022-04-22T02:36:49.776Z] -rw-rw-r-- 1 jenkins jenkins 131 Apr 22 02:35 .gitignore [2022-04-22T02:36:49.776Z] -rw-rw-r-- 1 jenkins jenkins 42 Apr 22 02:35 .golangci.yml [2022-04-22T02:36:49.776Z] drwx------ 3 jenkins jenkins 4096 Apr 22 02:35 .semver [2022-04-22T02:36:49.776Z] -rw-rw-r-- 1 jenkins jenkins 26321 Apr 22 02:35 CHANGELOG.md [2022-04-22T02:36:49.776Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 22 02:35 GOVERNANCE.md [2022-04-22T02:36:49.776Z] -rw-rw-r-- 1 jenkins jenkins 880 Apr 22 02:35 Jenkinsfile [2022-04-22T02:36:49.776Z] -rw-rw-r-- 1 jenkins jenkins 11341 Apr 22 02:35 LICENSE [2022-04-22T02:36:49.776Z] -rw-rw-r-- 1 jenkins jenkins 2015 Apr 22 02:35 Makefile [2022-04-22T02:36:49.776Z] -rw-rw-r-- 1 jenkins jenkins 619 Apr 22 02:35 OWNERS.md [2022-04-22T02:36:49.776Z] -rw-rw-r-- 1 jenkins jenkins 4881 Apr 22 02:35 README.md [2022-04-22T02:36:49.776Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 22 02:35 VERSION [2022-04-22T02:36:49.776Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 22 02:35 bin [2022-04-22T02:36:49.776Z] -rw-r--r-- 1 jenkins jenkins 131008 Apr 22 02:36 coverage.out [2022-04-22T02:36:49.776Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 22 02:35 example [2022-04-22T02:36:49.776Z] -rw-rw-r-- 1 jenkins jenkins 3106 Apr 22 02:35 go.mod [2022-04-22T02:36:49.776Z] -rw-rw-r-- 1 jenkins jenkins 53786 Apr 22 02:35 go.sum [2022-04-22T02:36:49.776Z] drwxrwxr-x 15 jenkins jenkins 4096 Apr 22 02:35 internal [2022-04-22T02:36:49.776Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 22 02:35 openapi [2022-04-22T02:36:49.776Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 22 02:35 pkg [2022-04-22T02:36:49.776Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 22 02:35 snap [2022-04-22T02:36:49.776Z] -rw-rw-r-- 1 jenkins jenkins 222 Apr 22 02:35 version.go [Pipeline] isUnix [Pipeline] sh [2022-04-22T02:36:50.078Z] + 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=4d74de5021f692274428b5aff4c6b8ccd612cc20 --label arch=amd64 --label version=0.0.0 . [2022-04-22T02:36:50.078Z] Sending build context to Docker daemon 9.639MB [2022-04-22T02:36:50.078Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-04-22T02:36:50.078Z] Step 2/25 : FROM ${BASE} AS builder [2022-04-22T02:36:50.078Z] ---> 860499160f31 [2022-04-22T02:36:50.078Z] Step 3/25 : ARG MAKE=make build [2022-04-22T02:36:50.339Z] ---> Running in 39c3f94acd57 [2022-04-22T02:36:50.339Z] Removing intermediate container 39c3f94acd57 [2022-04-22T02:36:50.339Z] ---> 88a762be806a [2022-04-22T02:36:50.339Z] Step 4/25 : WORKDIR /device-sdk-go [2022-04-22T02:36:50.339Z] ---> Running in cfb87e5d9e4f [2022-04-22T02:36:50.339Z] Removing intermediate container cfb87e5d9e4f [2022-04-22T02:36:50.339Z] ---> 5bf9dd881ddd [2022-04-22T02:36:50.339Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-04-22T02:36:50.598Z] ---> Running in 9fc1d8f628de [2022-04-22T02:36:50.598Z] Removing intermediate container 9fc1d8f628de [2022-04-22T02:36:50.598Z] ---> 74227a044c83 [2022-04-22T02:36:50.598Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-22T02:36:50.598Z] ---> Running in e3be53b1b398 [2022-04-22T02:36:51.169Z] Removing intermediate container e3be53b1b398 [2022-04-22T02:36:51.169Z] ---> 528bc747a998 [2022-04-22T02:36:51.169Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-04-22T02:36:51.169Z] ---> Running in 8976d6bf7705 [2022-04-22T02:36:51.436Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-22T02:36:52.379Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-22T02:36:52.639Z] OK: 221 MiB in 52 packages [2022-04-22T02:36:52.899Z] Removing intermediate container 8976d6bf7705 [2022-04-22T02:36:52.899Z] ---> 5668f81776bd [2022-04-22T02:36:52.899Z] Step 8/25 : COPY go.mod vendor* ./ [2022-04-22T02:36:53.159Z] ---> 54d098270072 [2022-04-22T02:36:53.159Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-22T02:36:53.159Z] ---> Running in 58831869037a [2022-04-22T02:36:53.730Z] Removing intermediate container 58831869037a [2022-04-22T02:36:53.730Z] ---> 4efb0eff3f9d [2022-04-22T02:36:53.730Z] Step 10/25 : COPY . . [2022-04-22T02:36:54.302Z] ---> bd3cbdd80cf6 [2022-04-22T02:36:54.302Z] Step 11/25 : RUN ${MAKE} [2022-04-22T02:36:54.302Z] ---> Running in ab8e0a97c064 [2022-04-22T02:36:54.563Z] 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-22T02:37:12.672Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-04-22T02:37:14.580Z] Removing intermediate container ab8e0a97c064 [2022-04-22T02:37:14.580Z] ---> 32e51d0b2336 [2022-04-22T02:37:14.580Z] Step 12/25 : FROM alpine:3.14 [2022-04-22T02:37:15.153Z] 3.14: Pulling from library/alpine [2022-04-22T02:37:15.414Z] 8663204ce13b: Pulling fs layer [2022-04-22T02:37:15.676Z] 8663204ce13b: Verifying Checksum [2022-04-22T02:37:15.676Z] 8663204ce13b: Pull complete [2022-04-22T02:37:15.676Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-04-22T02:37:15.676Z] Status: Downloaded newer image for alpine:3.14 [2022-04-22T02:37:15.676Z] ---> e04c818066af [2022-04-22T02:37:15.676Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-04-22T02:37:15.936Z] ---> Running in 84c44534a76b [2022-04-22T02:37:15.936Z] Removing intermediate container 84c44534a76b [2022-04-22T02:37:15.936Z] ---> 051d54a269f4 [2022-04-22T02:37:15.936Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-22T02:37:15.936Z] ---> Running in 1a67257278b7 [2022-04-22T02:37:16.508Z] Removing intermediate container 1a67257278b7 [2022-04-22T02:37:16.508Z] ---> 86e21c8cc06f [2022-04-22T02:37:16.508Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-04-22T02:37:16.508Z] ---> Running in e676388743b1 [2022-04-22T02:37:16.767Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-04-22T02:37:17.713Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-04-22T02:37:17.973Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2022-04-22T02:37:17.973Z] (2/5) Installing libsodium (1.0.18-r0) [2022-04-22T02:37:18.233Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2022-04-22T02:37:18.233Z] (4/5) Installing libzmq (4.3.4-r0) [2022-04-22T02:37:18.233Z] (5/5) Installing zeromq (4.3.4-r0) [2022-04-22T02:37:18.494Z] Executing busybox-1.33.1-r7.trigger [2022-04-22T02:37:18.494Z] OK: 8 MiB in 19 packages [2022-04-22T02:37:18.755Z] Removing intermediate container e676388743b1 [2022-04-22T02:37:18.755Z] ---> 66cff941419b [2022-04-22T02:37:18.755Z] Step 16/25 : WORKDIR / [2022-04-22T02:37:18.755Z] ---> Running in 62bfab32886f [2022-04-22T02:37:19.016Z] Removing intermediate container 62bfab32886f [2022-04-22T02:37:19.016Z] ---> c3249766143c [2022-04-22T02:37:19.016Z] Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-04-22T02:37:19.016Z] ---> 1058d137bd52 [2022-04-22T02:37:19.016Z] Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-04-22T02:37:19.586Z] ---> 650e33a2c873 [2022-04-22T02:37:19.586Z] Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-04-22T02:37:19.851Z] ---> ff41a6733912 [2022-04-22T02:37:19.851Z] Step 20/25 : EXPOSE 59999 [2022-04-22T02:37:19.851Z] ---> Running in 0f1b90c89aaa [2022-04-22T02:37:19.851Z] Removing intermediate container 0f1b90c89aaa [2022-04-22T02:37:19.851Z] ---> 19bd4a50c28a [2022-04-22T02:37:19.851Z] Step 21/25 : ENTRYPOINT ["/device-simple"] [2022-04-22T02:37:20.111Z] ---> Running in 12151d6b7482 [2022-04-22T02:37:20.111Z] Removing intermediate container 12151d6b7482 [2022-04-22T02:37:20.111Z] ---> b80e75b52b48 [2022-04-22T02:37:20.111Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-04-22T02:37:20.111Z] ---> Running in 513e9f9b489e [2022-04-22T02:37:20.111Z] Removing intermediate container 513e9f9b489e [2022-04-22T02:37:20.111Z] ---> d487b17e3ad4 [2022-04-22T02:37:20.111Z] Step 23/25 : LABEL arch=amd64 [2022-04-22T02:37:20.371Z] ---> Running in 0ca8c2b8a442 [2022-04-22T02:37:20.371Z] Removing intermediate container 0ca8c2b8a442 [2022-04-22T02:37:20.371Z] ---> 8c27ba07fc45 [2022-04-22T02:37:20.371Z] Step 24/25 : LABEL git_sha=4d74de5021f692274428b5aff4c6b8ccd612cc20 [2022-04-22T02:37:20.371Z] ---> Running in fa5b5053f9d1 [2022-04-22T02:37:20.371Z] Removing intermediate container fa5b5053f9d1 [2022-04-22T02:37:20.371Z] ---> eb7d6f01f679 [2022-04-22T02:37:20.371Z] Step 25/25 : LABEL version=0.0.0 [2022-04-22T02:37:20.636Z] ---> Running in 15353aaff443 [2022-04-22T02:37:20.636Z] Removing intermediate container 15353aaff443 [2022-04-22T02:37:20.636Z] ---> e1d46e110e7c [2022-04-22T02:37:20.636Z] [Warning] One or more build-args [ARCH] were not consumed [2022-04-22T02:37:20.636Z] Successfully built e1d46e110e7c [2022-04-22T02:37:20.636Z] 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-22T02:37:21.060Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-22T02:37:21.060Z] [2022-04-22T02:37:21.060Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-04-22T02:37:21.362Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-22T02:37:21.362Z] latest: Pulling from edgex-lftools-log-publisher [2022-04-22T02:37:21.362Z] 5eb5b503b376: Pulling fs layer [2022-04-22T02:37:21.362Z] 5c69ac0246d0: Pulling fs layer [2022-04-22T02:37:21.362Z] ec43610c2a17: Pulling fs layer [2022-04-22T02:37:21.362Z] 3a2ae6a8a46f: Pulling fs layer [2022-04-22T02:37:21.362Z] 33b1e0a273af: Pulling fs layer [2022-04-22T02:37:21.362Z] 5d3b04190fa2: Pulling fs layer [2022-04-22T02:37:21.362Z] 2f39f015ded8: Pulling fs layer [2022-04-22T02:37:21.362Z] 3a2ae6a8a46f: Waiting [2022-04-22T02:37:21.362Z] 33b1e0a273af: Waiting [2022-04-22T02:37:21.362Z] 5d3b04190fa2: Waiting [2022-04-22T02:37:21.362Z] 2f39f015ded8: Waiting [2022-04-22T02:37:21.362Z] 5c69ac0246d0: Download complete [2022-04-22T02:37:21.362Z] 3a2ae6a8a46f: Verifying Checksum [2022-04-22T02:37:21.362Z] 3a2ae6a8a46f: Download complete [2022-04-22T02:37:21.362Z] 33b1e0a273af: Verifying Checksum [2022-04-22T02:37:21.362Z] 33b1e0a273af: Download complete [2022-04-22T02:37:21.623Z] 5d3b04190fa2: Verifying Checksum [2022-04-22T02:37:21.623Z] 5d3b04190fa2: Download complete [2022-04-22T02:37:21.623Z] ec43610c2a17: Verifying Checksum [2022-04-22T02:37:21.623Z] 5eb5b503b376: Verifying Checksum [2022-04-22T02:37:21.623Z] 5eb5b503b376: Download complete [2022-04-22T02:37:22.194Z] 2f39f015ded8: Download complete [2022-04-22T02:37:23.137Z] 5eb5b503b376: Pull complete [2022-04-22T02:37:23.137Z] 5c69ac0246d0: Pull complete [2022-04-22T02:37:23.708Z] ec43610c2a17: Pull complete [2022-04-22T02:37:23.708Z] 3a2ae6a8a46f: Pull complete [2022-04-22T02:37:23.967Z] 33b1e0a273af: Pull complete [2022-04-22T02:37:23.967Z] 5d3b04190fa2: Pull complete [2022-04-22T02:37:29.243Z] 2f39f015ded8: Pull complete [2022-04-22T02:37:29.243Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-04-22T02:37:29.243Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-22T02:37:29.243Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-04-22T02:37:29.319Z] prd-ubuntu20.04-docker-8c-8g-21724 does not seem to be running inside a container [2022-04-22T02:37:29.373Z] $ 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-1140 -v /w/workspace/gexfoundry_device-sdk-go_PR-1140:/w/workspace/gexfoundry_device-sdk-go_PR-1140:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1140@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1140@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-22T02:37:31.603Z] $ docker top b1930931e9f290738443fa09bdbab31f097b0a682220572636510c77077747c3 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-22T02:37:32.020Z] ---> job-cost.sh [2022-04-22T02:37:32.020Z] lf-activate-venv: SKIPPING [2022-04-22T02:37:32.020Z] INFO: No Stack... [2022-04-22T02:37:32.282Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-22T02:37:32.854Z] INFO: Archiving Costs [Pipeline] sh [2022-04-22T02:37:33.149Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1140/archives/cost.csv [2022-04-22T02:37:33.149Z] + cut -d, -f6 [Pipeline] lock [2022-04-22T02:37:33.167Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1140-2-stack-cost] [2022-04-22T02:37:33.233Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1140-2-stack-cost] did not exist. Created. [2022-04-22T02:37:33.233Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1140-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-22T02:37:33.529Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-04-22T02:37:33.554Z] Stashed 1 file(s) [Pipeline] } [2022-04-22T02:37:33.560Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1140-2-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-22T02:37:33.589Z] $ docker stop --time=1 b1930931e9f290738443fa09bdbab31f097b0a682220572636510c77077747c3 [2022-04-22T02:37:34.767Z] $ docker rm -f b1930931e9f290738443fa09bdbab31f097b0a682220572636510c77077747c3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-04-22T02:39:15.896Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-21727 in /w/workspace/gexfoundry_device-sdk-go_PR-1140 [Pipeline] { [Pipeline] ws [2022-04-22T02:39:15.909Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2022-04-22T02:39:16.244Z] The recommended git tool is: git [2022-04-22T02:39:22.740Z] using credential edgex-jenkins-ssh [2022-04-22T02:39:22.762Z] Cloning the remote Git repository [2022-04-22T02:39:22.830Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2022-04-22T02:39:22.922Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2022-04-22T02:39:23.026Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-04-22T02:39:23.027Z] > git --version # timeout=10 [2022-04-22T02:39:23.063Z] > git --version # 'git version 2.25.1' [2022-04-22T02:39:23.066Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-22T02:39:23.212Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-22T02:39:25.650Z] Merging remotes/origin/main commit 5f3ddcf8acb855a32ed46a26f751dc40ab556708 into PR head commit 4d74de5021f692274428b5aff4c6b8ccd612cc20 [2022-04-22T02:39:24.896Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-04-22T02:39:24.916Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-22T02:39:24.953Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-04-22T02:39:24.996Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-04-22T02:39:24.997Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-22T02:39:25.015Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1140/head:refs/remotes/origin/PR-1140 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-04-22T02:39:25.676Z] > git config core.sparsecheckout # timeout=10 [2022-04-22T02:39:25.693Z] > git checkout -f 4d74de5021f692274428b5aff4c6b8ccd612cc20 # timeout=10 [2022-04-22T02:39:25.824Z] > git remote # timeout=10 [2022-04-22T02:39:25.849Z] > git config --get remote.origin.url # timeout=10 [2022-04-22T02:39:25.871Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-22T02:39:25.885Z] > git merge 5f3ddcf8acb855a32ed46a26f751dc40ab556708 # timeout=10 [2022-04-22T02:39:25.917Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-04-22T02:39:25.937Z] Merge succeeded, producing 4d74de5021f692274428b5aff4c6b8ccd612cc20 [2022-04-22T02:39:25.937Z] Checking out Revision 4d74de5021f692274428b5aff4c6b8ccd612cc20 (PR-1140) [2022-04-22T02:39:25.948Z] > git config core.sparsecheckout # timeout=10 [2022-04-22T02:39:25.965Z] > git checkout -f 4d74de5021f692274428b5aff4c6b8ccd612cc20 # timeout=10 [2022-04-22T02:39:30.455Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-22T02:39:31.500Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-04-22T02:39:31.500Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-22T02:39:31.500Z] Dload Upload Total Spent Left Speed [2022-04-22T02:39:31.500Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 189k 0 --:--:-- --:--:-- --:--:-- 192k [Pipeline] sh [2022-04-22T02:39:32.017Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-04-22T02:39:32.361Z] + sudo tee /etc/docker/daemon.new [2022-04-22T02:39:32.361Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-04-22T02:39:32.361Z] { [2022-04-22T02:39:32.361Z] "registry-mirrors": [ [2022-04-22T02:39:32.361Z] "https://nexus3.edgexfoundry.org:10001" [2022-04-22T02:39:32.361Z] ], [2022-04-22T02:39:32.361Z] "bip": "10.250.0.254/24", [2022-04-22T02:39:32.361Z] "hosts": [ [2022-04-22T02:39:32.361Z] "tcp://0.0.0.0:5555", [2022-04-22T02:39:32.361Z] "unix:///var/run/docker.sock" [2022-04-22T02:39:32.361Z] ], [2022-04-22T02:39:32.361Z] "mtu": 1458, [2022-04-22T02:39:32.361Z] "selinux-enabled": true, [2022-04-22T02:39:32.361Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-04-22T02:39:32.361Z] } [Pipeline] sh [2022-04-22T02:39:32.725Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-04-22T02:39:33.072Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-22T02:39:51.464Z] provisioning config files... [2022-04-22T02:39:51.490Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config1558087060991439113tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-22T02:39:51.866Z] ---> docker-login.sh [2022-04-22T02:39:51.867Z] nexus3.edgexfoundry.org:10001 [2022-04-22T02:39:52.462Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-22T02:39:52.740Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-22T02:39:52.740Z] Configure a credential helper to remove this warning. See [2022-04-22T02:39:52.740Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-22T02:39:52.740Z] [2022-04-22T02:39:52.740Z] Login Succeeded [2022-04-22T02:39:52.740Z] nexus3.edgexfoundry.org:10002 [2022-04-22T02:39:53.343Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-22T02:39:53.343Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-22T02:39:53.343Z] Configure a credential helper to remove this warning. See [2022-04-22T02:39:53.343Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-22T02:39:53.343Z] [2022-04-22T02:39:53.343Z] Login Succeeded [2022-04-22T02:39:53.343Z] nexus3.edgexfoundry.org:10003 [2022-04-22T02:39:53.623Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-22T02:39:53.904Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-22T02:39:53.904Z] Configure a credential helper to remove this warning. See [2022-04-22T02:39:53.904Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-22T02:39:53.904Z] [2022-04-22T02:39:53.904Z] Login Succeeded [2022-04-22T02:39:53.904Z] nexus3.edgexfoundry.org:10004 [2022-04-22T02:39:54.179Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-22T02:39:54.456Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-22T02:39:54.456Z] Configure a credential helper to remove this warning. See [2022-04-22T02:39:54.456Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-22T02:39:54.456Z] [2022-04-22T02:39:54.456Z] Login Succeeded [2022-04-22T02:39:54.456Z] docker.io [2022-04-22T02:39:54.731Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-22T02:39:55.004Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-22T02:39:55.004Z] Configure a credential helper to remove this warning. See [2022-04-22T02:39:55.004Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-22T02:39:55.004Z] [2022-04-22T02:39:55.004Z] Login Succeeded [2022-04-22T02:39:55.004Z] ---> docker-login.sh ends [Pipeline] } [2022-04-22T02:39:55.024Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-22T02:39:55.529Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-22T02:39:55.540Z] ========================================================= [2022-04-22T02:39:55.540Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-04-22T02:39:55.540Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-22T02:39:55.924Z] + 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-22T02:39:56.530Z] Sending build context to Docker daemon 5.148MB [2022-04-22T02:39:56.530Z] Step 1/11 : ARG BASE=golang:1.17-alpine3.15 [2022-04-22T02:39:56.530Z] Step 2/11 : FROM ${BASE} AS builder [2022-04-22T02:39:56.530Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-04-22T02:39:56.530Z] 9b3977197b4f: Pulling fs layer [2022-04-22T02:39:56.530Z] 1a89e8eeedd5: Pulling fs layer [2022-04-22T02:39:56.530Z] 94645a83ff95: Pulling fs layer [2022-04-22T02:39:56.530Z] 3f3a8bcf1eab: Pulling fs layer [2022-04-22T02:39:56.530Z] 0c92f367c5e7: Pulling fs layer [2022-04-22T02:39:56.530Z] f7c0051592d6: Pulling fs layer [2022-04-22T02:39:56.530Z] a227ed2f7395: Pulling fs layer [2022-04-22T02:39:56.530Z] 7b1c46037f91: Pulling fs layer [2022-04-22T02:39:56.530Z] 3f3a8bcf1eab: Waiting [2022-04-22T02:39:56.530Z] 0c92f367c5e7: Waiting [2022-04-22T02:39:56.530Z] f7c0051592d6: Waiting [2022-04-22T02:39:56.530Z] a227ed2f7395: Waiting [2022-04-22T02:39:56.530Z] 7b1c46037f91: Waiting [2022-04-22T02:39:56.530Z] 94645a83ff95: Verifying Checksum [2022-04-22T02:39:56.530Z] 94645a83ff95: Download complete [2022-04-22T02:39:56.530Z] 1a89e8eeedd5: Verifying Checksum [2022-04-22T02:39:56.530Z] 1a89e8eeedd5: Download complete [2022-04-22T02:39:56.530Z] 0c92f367c5e7: Verifying Checksum [2022-04-22T02:39:56.530Z] 0c92f367c5e7: Download complete [2022-04-22T02:39:56.810Z] f7c0051592d6: Verifying Checksum [2022-04-22T02:39:56.810Z] f7c0051592d6: Download complete [2022-04-22T02:39:56.810Z] 9b3977197b4f: Verifying Checksum [2022-04-22T02:39:56.810Z] 9b3977197b4f: Download complete [2022-04-22T02:39:56.810Z] a227ed2f7395: Verifying Checksum [2022-04-22T02:39:56.810Z] a227ed2f7395: Download complete [2022-04-22T02:39:57.418Z] 9b3977197b4f: Pull complete [2022-04-22T02:39:58.021Z] 1a89e8eeedd5: Pull complete [2022-04-22T02:39:58.624Z] 94645a83ff95: Pull complete [2022-04-22T02:39:58.898Z] 7b1c46037f91: Verifying Checksum [2022-04-22T02:39:58.898Z] 7b1c46037f91: Download complete [2022-04-22T02:39:59.497Z] 3f3a8bcf1eab: Verifying Checksum [2022-04-22T02:39:59.497Z] 3f3a8bcf1eab: Download complete [2022-04-22T02:40:11.927Z] 3f3a8bcf1eab: Pull complete [2022-04-22T02:40:11.927Z] 0c92f367c5e7: Pull complete [2022-04-22T02:40:12.205Z] f7c0051592d6: Pull complete [2022-04-22T02:40:12.481Z] a227ed2f7395: Pull complete [2022-04-22T02:40:19.236Z] 7b1c46037f91: Pull complete [2022-04-22T02:40:19.236Z] Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe [2022-04-22T02:40:19.236Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-04-22T02:40:19.236Z] ---> f79e39bc4007 [2022-04-22T02:40:19.236Z] Step 3/11 : ARG MAKE=make build [2022-04-22T02:40:19.850Z] ---> Running in c34667ab4f3c [2022-04-22T02:40:20.128Z] Removing intermediate container c34667ab4f3c [2022-04-22T02:40:20.128Z] ---> 7128f202836d [2022-04-22T02:40:20.128Z] Step 4/11 : WORKDIR /device-sdk-go [2022-04-22T02:40:20.414Z] ---> Running in 16a5804fbbb7 [2022-04-22T02:40:21.042Z] Removing intermediate container 16a5804fbbb7 [2022-04-22T02:40:21.042Z] ---> 9ce9abba16d0 [2022-04-22T02:40:21.042Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-04-22T02:40:21.042Z] ---> Running in 0cc81354aede [2022-04-22T02:40:22.482Z] Removing intermediate container 0cc81354aede [2022-04-22T02:40:22.482Z] ---> 2a17eedfac8f [2022-04-22T02:40:22.482Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-22T02:40:22.482Z] ---> Running in 3a7dd28bf4e1 [2022-04-22T02:40:24.473Z] Removing intermediate container 3a7dd28bf4e1 [2022-04-22T02:40:24.473Z] ---> 32054820dd7e [2022-04-22T02:40:24.473Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-04-22T02:40:24.473Z] ---> Running in 00041b4022d8 [2022-04-22T02:40:25.464Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-22T02:40:26.451Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-22T02:40:27.438Z] OK: 220 MiB in 52 packages [2022-04-22T02:40:28.437Z] Removing intermediate container 00041b4022d8 [2022-04-22T02:40:28.437Z] ---> 69ee34f29580 [2022-04-22T02:40:28.437Z] Step 8/11 : COPY go.mod vendor* ./ [2022-04-22T02:40:29.046Z] ---> 83ed34518033 [2022-04-22T02:40:29.046Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-22T02:40:29.046Z] ---> Running in cbcc3d25cd75 [2022-04-22T02:41:25.644Z] Removing intermediate container cbcc3d25cd75 [2022-04-22T02:41:25.644Z] ---> 7db94fa3daf1 [2022-04-22T02:41:25.644Z] Step 10/11 : COPY . . [2022-04-22T02:41:25.644Z] ---> 7fe1ac2e6da3 [2022-04-22T02:41:25.644Z] Step 11/11 : RUN ${MAKE} [2022-04-22T02:41:25.644Z] ---> Running in f9e772dd600a [2022-04-22T02:41:25.644Z] noop [2022-04-22T02:41:25.644Z] Removing intermediate container f9e772dd600a [2022-04-22T02:41:25.644Z] ---> 39161dfc0a5b [2022-04-22T02:41:25.644Z] Successfully built 39161dfc0a5b [2022-04-22T02:41:25.644Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-22T02:41:26.010Z] + docker inspect -f . ci-base-image-arm64 [2022-04-22T02:41:26.010Z] . [Pipeline] withDockerContainer [2022-04-22T02:41:26.278Z] prd-ubuntu20.04-docker-arm64-4c-16g-21727 does not seem to be running inside a container [2022-04-22T02:41:26.383Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-04-22T02:41:27.888Z] $ docker top d2363dc36cc5dc1ef235bd2902bd68b369f9e4518dc6667b265296ed5a9c24d1 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-22T02:41:28.856Z] + go version [2022-04-22T02:41:28.857Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-04-22T02:41:28.889Z] $ docker stop --time=1 d2363dc36cc5dc1ef235bd2902bd68b369f9e4518dc6667b265296ed5a9c24d1 [2022-04-22T02:41:30.609Z] $ docker rm -f d2363dc36cc5dc1ef235bd2902bd68b369f9e4518dc6667b265296ed5a9c24d1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-22T02:41:31.255Z] + docker inspect -f . ci-base-image-arm64 [2022-04-22T02:41:31.255Z] . [Pipeline] withDockerContainer [2022-04-22T02:41:31.518Z] prd-ubuntu20.04-docker-arm64-4c-16g-21727 does not seem to be running inside a container [2022-04-22T02:41:31.636Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-04-22T02:41:33.044Z] $ docker top aa8cb117c866fa61aa4d90ba812a8a01d6e02fc9d3ac7e59c0e8c3865a66e09b -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-22T02:41:34.016Z] + make test [2022-04-22T02:41:34.016Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-04-22T02:42:13.072Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-04-22T02:44:05.081Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-04-22T02:44:05.081Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-04-22T02:44:05.081Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-04-22T02:44:20.252Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.598s coverage: 23.3% of statements [2022-04-22T02:44:20.252Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-04-22T02:44:20.252Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.268s coverage: 27.6% of statements [2022-04-22T02:44:20.252Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.330s coverage: 78.9% of statements [2022-04-22T02:44:20.252Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.320s coverage: 10.8% of statements [2022-04-22T02:44:20.252Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.495s coverage: 60.0% of statements [2022-04-22T02:44:20.252Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-04-22T02:44:20.252Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-04-22T02:44:23.682Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.468s coverage: 34.7% of statements [2022-04-22T02:44:23.682Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-04-22T02:44:23.961Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.324s coverage: 86.1% of statements [2022-04-22T02:44:23.961Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-04-22T02:44:23.961Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-04-22T02:44:30.765Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.528s coverage: 65.1% of statements [2022-04-22T02:44:30.765Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.815s coverage: 89.2% of statements [2022-04-22T02:44:30.765Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-04-22T02:44:33.403Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.285s coverage: 4.7% of statements [2022-04-22T02:44:33.403Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-04-22T02:44:33.677Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-04-22T02:44:33.677Z] GO111MODULE=on go vet ./... [2022-04-22T02:46:10.570Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-22T02:46:10.570Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-22T02:46:10.570Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-04-22T02:46:10.598Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-04-22T02:46:10.619Z] $ docker stop --time=1 aa8cb117c866fa61aa4d90ba812a8a01d6e02fc9d3ac7e59c0e8c3865a66e09b [2022-04-22T02:46:12.456Z] $ docker rm -f aa8cb117c866fa61aa4d90ba812a8a01d6e02fc9d3ac7e59c0e8c3865a66e09b [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-22T02:46:13.936Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-04-22T02:46:13.968Z] Warning: overwriting stash ‘coverage-report’ [2022-04-22T02:46:14.665Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-22T02:46:15.075Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-04-22T02:46:15.423Z] + ls -al . [2022-04-22T02:46:15.423Z] total 312 [2022-04-22T02:46:15.423Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 22 02:46 . [2022-04-22T02:46:15.423Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 22 02:39 .. [2022-04-22T02:46:15.423Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 22 02:39 .dockerignore [2022-04-22T02:46:15.423Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 22 02:39 .git [2022-04-22T02:46:15.423Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 22 02:39 .github [2022-04-22T02:46:15.423Z] -rw-rw-r-- 1 jenkins jenkins 131 Apr 22 02:39 .gitignore [2022-04-22T02:46:15.423Z] -rw-rw-r-- 1 jenkins jenkins 42 Apr 22 02:39 .golangci.yml [2022-04-22T02:46:15.423Z] -rw-rw-r-- 1 jenkins jenkins 26321 Apr 22 02:39 CHANGELOG.md [2022-04-22T02:46:15.423Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 22 02:39 GOVERNANCE.md [2022-04-22T02:46:15.423Z] -rw-rw-r-- 1 jenkins jenkins 880 Apr 22 02:39 Jenkinsfile [2022-04-22T02:46:15.423Z] -rw-rw-r-- 1 jenkins jenkins 11341 Apr 22 02:39 LICENSE [2022-04-22T02:46:15.423Z] -rw-rw-r-- 1 jenkins jenkins 2015 Apr 22 02:39 Makefile [2022-04-22T02:46:15.423Z] -rw-rw-r-- 1 jenkins jenkins 619 Apr 22 02:39 OWNERS.md [2022-04-22T02:46:15.423Z] -rw-rw-r-- 1 jenkins jenkins 4881 Apr 22 02:39 README.md [2022-04-22T02:46:15.423Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 22 02:35 VERSION [2022-04-22T02:46:15.423Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 22 02:39 bin [2022-04-22T02:46:15.423Z] -rw-r--r-- 1 jenkins jenkins 131008 Apr 22 02:44 coverage.out [2022-04-22T02:46:15.423Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 22 02:39 example [2022-04-22T02:46:15.423Z] -rw-rw-r-- 1 jenkins jenkins 3106 Apr 22 02:39 go.mod [2022-04-22T02:46:15.423Z] -rw-rw-r-- 1 jenkins jenkins 53786 Apr 22 02:39 go.sum [2022-04-22T02:46:15.423Z] drwxrwxr-x 15 jenkins jenkins 4096 Apr 22 02:39 internal [2022-04-22T02:46:15.423Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 22 02:39 openapi [2022-04-22T02:46:15.423Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 22 02:39 pkg [2022-04-22T02:46:15.423Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 22 02:39 snap [2022-04-22T02:46:15.423Z] -rw-rw-r-- 1 jenkins jenkins 222 Apr 22 02:39 version.go [Pipeline] isUnix [Pipeline] sh [2022-04-22T02:46:15.786Z] + 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=4d74de5021f692274428b5aff4c6b8ccd612cc20 --label arch=arm64 --label version=0.0.0 . [2022-04-22T02:46:16.388Z] Sending build context to Docker daemon 5.279MB [2022-04-22T02:46:16.388Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-04-22T02:46:16.388Z] Step 2/25 : FROM ${BASE} AS builder [2022-04-22T02:46:16.388Z] ---> 39161dfc0a5b [2022-04-22T02:46:16.388Z] Step 3/25 : ARG MAKE=make build [2022-04-22T02:46:16.388Z] ---> Running in e089aa0f906e [2022-04-22T02:46:16.673Z] Removing intermediate container e089aa0f906e [2022-04-22T02:46:16.673Z] ---> 18b6ba228f8a [2022-04-22T02:46:16.673Z] Step 4/25 : WORKDIR /device-sdk-go [2022-04-22T02:46:16.951Z] ---> Running in f885fd60dc96 [2022-04-22T02:46:17.232Z] Removing intermediate container f885fd60dc96 [2022-04-22T02:46:17.232Z] ---> 125db1b0a71c [2022-04-22T02:46:17.232Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-04-22T02:46:17.232Z] ---> Running in 9a1d43368cbe [2022-04-22T02:46:17.519Z] Removing intermediate container 9a1d43368cbe [2022-04-22T02:46:17.519Z] ---> 445f3890153b [2022-04-22T02:46:17.519Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-22T02:46:17.795Z] ---> Running in d8736843966c [2022-04-22T02:46:19.775Z] Removing intermediate container d8736843966c [2022-04-22T02:46:19.775Z] ---> bd0364696052 [2022-04-22T02:46:19.775Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-04-22T02:46:19.775Z] ---> Running in 6c1966661b56 [2022-04-22T02:46:20.757Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-22T02:46:21.741Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-22T02:46:22.726Z] OK: 220 MiB in 52 packages [2022-04-22T02:46:23.728Z] Removing intermediate container 6c1966661b56 [2022-04-22T02:46:23.728Z] ---> d4420a291660 [2022-04-22T02:46:23.728Z] Step 8/25 : COPY go.mod vendor* ./ [2022-04-22T02:46:24.331Z] ---> 7a4ee1ea47ad [2022-04-22T02:46:24.331Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-22T02:46:24.331Z] ---> Running in bdb47ce5c95f [2022-04-22T02:46:26.318Z] Removing intermediate container bdb47ce5c95f [2022-04-22T02:46:26.318Z] ---> 8a804e45976b [2022-04-22T02:46:26.318Z] Step 10/25 : COPY . . [2022-04-22T02:46:27.761Z] ---> c01b4818cefe [2022-04-22T02:46:27.761Z] Step 11/25 : RUN ${MAKE} [2022-04-22T02:46:27.761Z] ---> Running in 3f0d21b85202 [2022-04-22T02:46:28.750Z] 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-22T02:48:35.642Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-04-22T02:48:36.625Z] Removing intermediate container 3f0d21b85202 [2022-04-22T02:48:36.625Z] ---> fcccc59a4cee [2022-04-22T02:48:36.625Z] Step 12/25 : FROM alpine:3.14 [2022-04-22T02:48:37.218Z] 3.14: Pulling from library/alpine [2022-04-22T02:48:37.218Z] 455c02918c45: Pulling fs layer [2022-04-22T02:48:37.490Z] 455c02918c45: Verifying Checksum [2022-04-22T02:48:37.490Z] 455c02918c45: Download complete [2022-04-22T02:48:38.083Z] 455c02918c45: Pull complete [2022-04-22T02:48:38.083Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-04-22T02:48:38.083Z] Status: Downloaded newer image for alpine:3.14 [2022-04-22T02:48:38.083Z] ---> ac73e934f311 [2022-04-22T02:48:38.083Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-04-22T02:48:38.083Z] ---> Running in cfcbdcaeb2ce [2022-04-22T02:48:38.691Z] Removing intermediate container cfcbdcaeb2ce [2022-04-22T02:48:38.691Z] ---> a5d3692d12ae [2022-04-22T02:48:38.691Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-22T02:48:38.691Z] ---> Running in 3312bc719333 [2022-04-22T02:48:40.137Z] Removing intermediate container 3312bc719333 [2022-04-22T02:48:40.137Z] ---> d5e6f056a485 [2022-04-22T02:48:40.137Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-04-22T02:48:40.137Z] ---> Running in c3c04dae2400 [2022-04-22T02:48:41.116Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-04-22T02:48:42.094Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-04-22T02:48:43.076Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2022-04-22T02:48:43.076Z] (2/5) Installing libsodium (1.0.18-r0) [2022-04-22T02:48:43.076Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2022-04-22T02:48:43.348Z] (4/5) Installing libzmq (4.3.4-r0) [2022-04-22T02:48:43.348Z] (5/5) Installing zeromq (4.3.4-r0) [2022-04-22T02:48:43.629Z] Executing busybox-1.33.1-r7.trigger [2022-04-22T02:48:43.629Z] OK: 8 MiB in 19 packages [2022-04-22T02:48:44.614Z] Removing intermediate container c3c04dae2400 [2022-04-22T02:48:44.614Z] ---> e75efbd95cf7 [2022-04-22T02:48:44.614Z] Step 16/25 : WORKDIR / [2022-04-22T02:48:44.614Z] ---> Running in 7d2f34f610f7 [2022-04-22T02:48:44.887Z] Removing intermediate container 7d2f34f610f7 [2022-04-22T02:48:44.888Z] ---> a394cdc46b82 [2022-04-22T02:48:44.888Z] Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-04-22T02:48:45.485Z] ---> 3064b62fd3a9 [2022-04-22T02:48:45.485Z] Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-04-22T02:48:46.921Z] ---> 76d2d7666446 [2022-04-22T02:48:46.921Z] Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-04-22T02:48:47.521Z] ---> b7238f30c794 [2022-04-22T02:48:47.521Z] Step 20/25 : EXPOSE 59999 [2022-04-22T02:48:47.521Z] ---> Running in 3939ac27420b [2022-04-22T02:48:48.116Z] Removing intermediate container 3939ac27420b [2022-04-22T02:48:48.116Z] ---> 7f5d6d7803e2 [2022-04-22T02:48:48.116Z] Step 21/25 : ENTRYPOINT ["/device-simple"] [2022-04-22T02:48:48.116Z] ---> Running in aa497635b5f1 [2022-04-22T02:48:48.386Z] Removing intermediate container aa497635b5f1 [2022-04-22T02:48:48.386Z] ---> b8b4a8b567fc [2022-04-22T02:48:48.386Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-04-22T02:48:48.386Z] ---> Running in 9692234b36c5 [2022-04-22T02:48:48.658Z] Removing intermediate container 9692234b36c5 [2022-04-22T02:48:48.658Z] ---> 04c7642e4b32 [2022-04-22T02:48:48.658Z] Step 23/25 : LABEL arch=arm64 [2022-04-22T02:48:48.933Z] ---> Running in f153a46668a0 [2022-04-22T02:48:49.208Z] Removing intermediate container f153a46668a0 [2022-04-22T02:48:49.208Z] ---> 6f654e56a29b [2022-04-22T02:48:49.208Z] Step 24/25 : LABEL git_sha=4d74de5021f692274428b5aff4c6b8ccd612cc20 [2022-04-22T02:48:49.208Z] ---> Running in 2986777fc43c [2022-04-22T02:48:49.484Z] Removing intermediate container 2986777fc43c [2022-04-22T02:48:49.484Z] ---> 119251b70d92 [2022-04-22T02:48:49.484Z] Step 25/25 : LABEL version=0.0.0 [2022-04-22T02:48:49.760Z] ---> Running in d9b5fc7fe69e [2022-04-22T02:48:50.034Z] Removing intermediate container d9b5fc7fe69e [2022-04-22T02:48:50.034Z] ---> e970f8ad4aff [2022-04-22T02:48:50.034Z] [Warning] One or more build-args [ARCH] were not consumed [2022-04-22T02:48:50.034Z] Successfully built e970f8ad4aff [2022-04-22T02:48:50.034Z] 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-22T02:48:50.468Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-22T02:48:50.468Z] [2022-04-22T02:48:50.468Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-04-22T02:48:50.822Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-22T02:48:51.098Z] arm64: Pulling from edgex-lftools-log-publisher [2022-04-22T02:48:51.098Z] 8998bd30e6a1: Pulling fs layer [2022-04-22T02:48:51.098Z] 04944245beec: Pulling fs layer [2022-04-22T02:48:51.098Z] 699f458cf7ca: Pulling fs layer [2022-04-22T02:48:51.098Z] 765212b225bb: Pulling fs layer [2022-04-22T02:48:51.098Z] f23df028b6ca: Pulling fs layer [2022-04-22T02:48:51.098Z] d65c8cfc05b1: Pulling fs layer [2022-04-22T02:48:51.098Z] 2437ff75d9bd: Pulling fs layer [2022-04-22T02:48:51.098Z] f23df028b6ca: Waiting [2022-04-22T02:48:51.098Z] d65c8cfc05b1: Waiting [2022-04-22T02:48:51.098Z] 2437ff75d9bd: Waiting [2022-04-22T02:48:51.098Z] 765212b225bb: Waiting [2022-04-22T02:48:51.098Z] 04944245beec: Verifying Checksum [2022-04-22T02:48:51.098Z] 04944245beec: Download complete [2022-04-22T02:48:51.098Z] 765212b225bb: Verifying Checksum [2022-04-22T02:48:51.098Z] 765212b225bb: Download complete [2022-04-22T02:48:51.098Z] f23df028b6ca: Verifying Checksum [2022-04-22T02:48:51.098Z] f23df028b6ca: Download complete [2022-04-22T02:48:51.098Z] d65c8cfc05b1: Verifying Checksum [2022-04-22T02:48:51.098Z] d65c8cfc05b1: Download complete [2022-04-22T02:48:51.377Z] 699f458cf7ca: Download complete [2022-04-22T02:48:51.653Z] 8998bd30e6a1: Verifying Checksum [2022-04-22T02:48:51.653Z] 8998bd30e6a1: Download complete [2022-04-22T02:48:54.317Z] 2437ff75d9bd: Verifying Checksum [2022-04-22T02:48:54.317Z] 2437ff75d9bd: Download complete [2022-04-22T02:48:57.009Z] 8998bd30e6a1: Pull complete [2022-04-22T02:48:57.289Z] 04944245beec: Pull complete [2022-04-22T02:48:58.729Z] 699f458cf7ca: Pull complete [2022-04-22T02:48:59.002Z] 765212b225bb: Pull complete [2022-04-22T02:48:59.601Z] f23df028b6ca: Pull complete [2022-04-22T02:48:59.875Z] d65c8cfc05b1: Pull complete [2022-04-22T02:49:14.958Z] 2437ff75d9bd: Pull complete [2022-04-22T02:49:14.958Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-04-22T02:49:14.958Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-22T02:49:14.958Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-04-22T02:49:15.187Z] prd-ubuntu20.04-docker-arm64-4c-16g-21727 does not seem to be running inside a container [2022-04-22T02:49:15.276Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-04-22T02:49:18.061Z] $ docker top 514aa9671296aa7008c4e3bedb08256ad5aed50bede95df3e2fcededb495463c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-22T02:49:18.968Z] ---> job-cost.sh [2022-04-22T02:49:18.968Z] lf-activate-venv: SKIPPING [2022-04-22T02:49:18.968Z] INFO: No Stack... [2022-04-22T02:49:19.948Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-04-22T02:49:20.551Z] INFO: Archiving Costs [Pipeline] sh [2022-04-22T02:49:21.482Z] + cat /w/workspace/device-sdk-go/2/archives/cost.csv [2022-04-22T02:49:21.482Z] + cut -d, -f6 [Pipeline] lock [2022-04-22T02:49:21.549Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1140-2-stack-cost] [2022-04-22T02:49:21.555Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1140-2-stack-cost] did not exist. Created. [2022-04-22T02:49:21.555Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1140-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-22T02:49:22.241Z] /w/workspace/device-sdk-go/2@tmp/durable-4130e27a/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-04-22T02:49:22.920Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-04-22T02:49:22.942Z] Warning: overwriting stash ‘stack-cost’ [2022-04-22T02:49:23.003Z] Stashed 1 file(s) [Pipeline] } [2022-04-22T02:49:23.010Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1140-2-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-22T02:49:23.036Z] $ docker stop --time=1 514aa9671296aa7008c4e3bedb08256ad5aed50bede95df3e2fcededb495463c [2022-04-22T02:49:24.512Z] $ docker rm -f 514aa9671296aa7008c4e3bedb08256ad5aed50bede95df3e2fcededb495463c [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-22T02:49:24.962Z] provisioning config files... [2022-04-22T02:49:24.970Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1140@tmp/config3884367961063063850tmp [Pipeline] { [Pipeline] sh [2022-04-22T02:49:25.267Z] + set +x [2022-04-22T02:49:25.267Z] + curl -s https://codecov.io/bash [2022-04-22T02:49:25.267Z] + bash -s -- [2022-04-22T02:49:25.267Z] [2022-04-22T02:49:25.267Z] _____ _ [2022-04-22T02:49:25.267Z] / ____| | | [2022-04-22T02:49:25.267Z] | | ___ __| | ___ ___ _____ __ [2022-04-22T02:49:25.267Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-04-22T02:49:25.267Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-04-22T02:49:25.267Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-04-22T02:49:25.267Z] Bash-1.0.6 [2022-04-22T02:49:25.267Z] [2022-04-22T02:49:25.267Z] [2022-04-22T02:49:25.267Z] ==> git version 2.25.1 found [2022-04-22T02:49:25.267Z] ==> 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-22T02:49:25.267Z] Release-Date: 2020-01-08 [2022-04-22T02:49:25.267Z] 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-22T02:49:25.267Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-04-22T02:49:25.267Z] ==> Jenkins CI detected. [2022-04-22T02:49:25.267Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1140 [2022-04-22T02:49:25.267Z] project root: . [2022-04-22T02:49:25.267Z] --> token set from env [2022-04-22T02:49:25.267Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-04-22T02:49:25.267Z] ==> Running gcov in . (disable via -X gcov) [2022-04-22T02:49:25.267Z] ==> Python coveragepy not found [2022-04-22T02:49:25.267Z] ==> Searching for coverage reports in: [2022-04-22T02:49:25.267Z] + . [2022-04-22T02:49:25.267Z] -> Found 1 reports [2022-04-22T02:49:25.267Z] ==> Detecting git/mercurial file structure [2022-04-22T02:49:25.267Z] ==> Reading reports [2022-04-22T02:49:25.267Z] + ./coverage.out bytes=131008 [2022-04-22T02:49:25.267Z] ==> Appending adjustments [2022-04-22T02:49:25.267Z] https://docs.codecov.io/docs/fixing-reports [2022-04-22T02:49:25.528Z] + Found adjustments [2022-04-22T02:49:25.528Z] ==> Gzipping contents [2022-04-22T02:49:25.528Z] 20K /tmp/codecov.kbr0I6.gz [2022-04-22T02:49:25.528Z] ==> Uploading reports [2022-04-22T02:49:25.528Z] url: https://codecov.io [2022-04-22T02:49:25.528Z] query: branch=PR-1140&commit=4d74de5021f692274428b5aff4c6b8ccd612cc20&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1140%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1140&job=&cmd_args= [2022-04-22T02:49:25.528Z] -> Pinging Codecov [2022-04-22T02:49:25.528Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1140&commit=4d74de5021f692274428b5aff4c6b8ccd612cc20&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1140%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1140&job=&cmd_args= [2022-04-22T02:49:26.100Z] -> Uploading to [2022-04-22T02:49:26.101Z] https://storage.googleapis.com/codecov/v4/raw/2022-04-22/7E55EF52A471D76F132DFD9A03CDDE97/4d74de5021f692274428b5aff4c6b8ccd612cc20/bb2bca56-5623-4dca-a41c-2bafd511bfb8.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220422%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220422T024925Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=5facd672b7e13221ccf985ba50fc0bdbdb844d5eab9269bf6838582e1358fc22 [2022-04-22T02:49:26.101Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-22T02:49:26.101Z] Dload Upload Total Spent Left Speed [2022-04-22T02:49:26.101Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16843 0 0 100 16843 0 72913 --:--:-- --:--:-- --:--:-- 72913 [2022-04-22T02:49:26.101Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/4d74de5021f692274428b5aff4c6b8ccd612cc20 [Pipeline] } [2022-04-22T02:49:26.109Z] 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-22T02:49:26.783Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1140/archives ] [2022-04-22T02:49:26.783Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1140/archives [2022-04-22T02:49:26.783Z] total 16 [2022-04-22T02:49:26.783Z] drwxr-xr-x 3 root root 4096 Apr 22 02:37 . [2022-04-22T02:49:26.783Z] drwxrwxr-x 12 jenkins jenkins 4096 Apr 22 02:37 .. [2022-04-22T02:49:26.783Z] drwxr-xr-x 2 root root 4096 Apr 22 02:37 cost [2022-04-22T02:49:26.783Z] -rw-r--r-- 1 root root 85 Apr 22 02:37 cost.csv [2022-04-22T02:49:26.783Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1140/archives [2022-04-22T02:49:26.783Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1140/archives [2022-04-22T02:49:26.783Z] total 16 [2022-04-22T02:49:26.783Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 22 02:37 . [2022-04-22T02:49:26.783Z] drwxrwxr-x 12 jenkins jenkins 4096 Apr 22 02:37 .. [2022-04-22T02:49:26.783Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 22 02:37 cost [2022-04-22T02:49:26.783Z] -rw-r--r-- 1 jenkins jenkins 85 Apr 22 02:37 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-04-22T02:49:27.081Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-22T02:49:27.954Z] ---> package-listing.sh [2022-04-22T02:49:27.954Z] ++ facter osfamily [2022-04-22T02:49:27.954Z] ++ tr '[:upper:]' '[:lower:]' [2022-04-22T02:49:28.215Z] + OS_FAMILY=debian [2022-04-22T02:49:28.215Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1140 [2022-04-22T02:49:28.215Z] + START_PACKAGES=/tmp/packages_start.txt [2022-04-22T02:49:28.215Z] + END_PACKAGES=/tmp/packages_end.txt [2022-04-22T02:49:28.215Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-04-22T02:49:28.215Z] + PACKAGES=/tmp/packages_start.txt [2022-04-22T02:49:28.215Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1140 ']' [2022-04-22T02:49:28.215Z] + PACKAGES=/tmp/packages_end.txt [2022-04-22T02:49:28.215Z] + case "${OS_FAMILY}" in [2022-04-22T02:49:28.215Z] + dpkg -l [2022-04-22T02:49:28.215Z] + grep '^ii' [2022-04-22T02:49:28.215Z] + '[' -f /tmp/packages_start.txt ']' [2022-04-22T02:49:28.215Z] + '[' -f /tmp/packages_end.txt ']' [2022-04-22T02:49:28.215Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-04-22T02:49:28.215Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1140 ']' [2022-04-22T02:49:28.215Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1140/archives/ [2022-04-22T02:49:28.215Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1140/archives/ [Pipeline] echo [2022-04-22T02:49:28.228Z] 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-1140/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-04-22T02:49:28.514Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-04-22T02:49:28.812Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-22T02:49:28.813Z] . [Pipeline] withDockerContainer [2022-04-22T02:49:28.877Z] prd-ubuntu20.04-docker-8c-8g-21724 does not seem to be running inside a container [2022-04-22T02:49:28.943Z] $ 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-1140/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-1140 -v /w/workspace/gexfoundry_device-sdk-go_PR-1140:/w/workspace/gexfoundry_device-sdk-go_PR-1140:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1140@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1140@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-22T02:49:29.152Z] $ docker top 05dd8d96f1a862fdc0c6e602e53f178dd0de148c0282c71fbda383b9449337db -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-22T02:49:29.499Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-04-22T02:49:29.790Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-04-22T02:49:30.082Z] + ls /var/log/sa-host [2022-04-22T02:49:30.082Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-22T02:49:30.203Z] provisioning config files... [2022-04-22T02:49:30.211Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1140@tmp/config8244403856642769275tmp [Pipeline] { [Pipeline] echo [2022-04-22T02:49:30.230Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-22T02:49:30.522Z] ---> create-netrc.sh [Pipeline] } [2022-04-22T02:49:30.531Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-04-22T02:49:30.868Z] ---> python-tools-install.sh [Pipeline] echo [2022-04-22T02:49:30.879Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-22T02:49:31.170Z] ---> sudo-logs.sh [2022-04-22T02:49:31.170Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-04-22T02:49:31.201Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-22T02:49:31.493Z] ---> job-cost.sh [2022-04-22T02:49:31.493Z] lf-activate-venv: SKIPPING [2022-04-22T02:49:31.493Z] DEBUG: total: 0.2199999988079071 [2022-04-22T02:49:31.493Z] INFO: Retrieving Stack Cost... [2022-04-22T02:49:31.754Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-22T02:49:32.325Z] INFO: Archiving Costs [Pipeline] echo [2022-04-22T02:49:32.339Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-22T02:49:32.630Z] ---> logs-deploy.sh [2022-04-22T02:49:32.630Z] lf-activate-venv: SKIPPING [2022-04-22T02:49:32.630Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1140/2 [2022-04-22T02:49:32.630Z] INFO: archiving workspace using pattern(s): [2022-04-22T02:49:33.573Z] Archives upload complete. [2022-04-22T02:49:33.573Z] INFO: archiving logs to Nexus