Pull request #1107 event Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 2865306a2bfe46b626c4b2e0de553eb33f0640df+8ece66f1c570f367a2f406d94221d9aee4294f1c (d481f26586f6c93704b4f74e22fa643077710a1a) 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-ssh11139780670562809382.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-ssh13148320850724875513.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-1107/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-1107/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh7321947505298485624.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-ssh5789048122516920439.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-1107/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-1107/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh1408805190012547546.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-7771’ Running on prd-ubuntu20.04-docker-8c-8g-7775 in /w/workspace/gexfoundry_device-sdk-go_PR-1107 [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-1107 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 8ece66f1c570f367a2f406d94221d9aee4294f1c into PR head commit 2865306a2bfe46b626c4b2e0de553eb33f0640df Merge succeeded, producing 2865306a2bfe46b626c4b2e0de553eb33f0640df Checking out Revision 2865306a2bfe46b626c4b2e0de553eb33f0640df (PR-1107) > 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/1107/head:refs/remotes/origin/PR-1107 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2865306a2bfe46b626c4b2e0de553eb33f0640df # 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 8ece66f1c570f367a2f406d94221d9aee4294f1c # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2865306a2bfe46b626c4b2e0de553eb33f0640df # timeout=10 Commit message: "build(deps): bump github.com/stretchr/testify from 1.7.0 to 1.7.1" First time build. Skipping changelog. > git rev-list --no-walk 26056081b215df26c0679be68df6b046f58fd050 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-03-17T04:47:08.586Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-03-17T04:47:08.659Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-03-17T04:47:08.687Z] ========================================================= [2022-03-17T04:47:08.687Z] EdgeX Global Pipelines Version Info [2022-03-17T04:47:08.687Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-03-17T04:47:09.462Z] ------------------- [2022-03-17T04:47:09.462Z] stable info: [2022-03-17T04:47:09.462Z] ------------------- [2022-03-17T04:47:09.462Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-03-17T04:47:09.462Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-03-17T04:47:09.462Z] Message: update stable to v1.0.221 [2022-03-17T04:47:10.038Z] ------------------- [2022-03-17T04:47:10.038Z] experimental info: [2022-03-17T04:47:10.038Z] ------------------- [2022-03-17T04:47:10.038Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-03-17T04:47:10.038Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-03-17T04:47:10.038Z] Message: update experimental to v1.0.221 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-03-17T04:47:10.155Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2022-03-17T04:47:10.172Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2022-03-17T04:47:10.187Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-03-17T04:47:10.201Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-03-17T04:47:10.214Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-03-17T04:47:10.229Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-03-17T04:47:10.240Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-03-17T04:47:10.250Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2022-03-17T04:47:10.261Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-03-17T04:47:10.271Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-03-17T04:47:10.283Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-03-17T04:47:10.304Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2022-03-17T04:47:10.315Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-03-17T04:47:10.326Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-03-17T04:47:10.336Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-03-17T04:47:10.345Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2022-03-17T04:47:10.356Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-03-17T04:47:10.366Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-03-17T04:47:10.379Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-03-17T04:47:10.396Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-03-17T04:47:10.415Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-03-17T04:47:10.429Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2022-03-17T04:47:10.440Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-03-17T04:47:10.453Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-03-17T04:47:10.467Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-03-17T04:47:10.482Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-03-17T04:47:10.501Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1107 [Pipeline] echo [2022-03-17T04:47:10.519Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1107 [Pipeline] echo [2022-03-17T04:47:10.532Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1107 [Pipeline] echo [2022-03-17T04:47:10.544Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 2865306a2bfe46b626c4b2e0de553eb33f0640df [Pipeline] echo [2022-03-17T04:47:10.557Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 2865306 [Pipeline] echo [2022-03-17T04:47:10.575Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-03-17T04:47:10.620Z] provisioning config files... [2022-03-17T04:47:10.634Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1107@tmp/config7169292681319554875tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-03-17T04:47:10.949Z] ---> docker-login.sh [2022-03-17T04:47:10.949Z] nexus3.edgexfoundry.org:10001 [2022-03-17T04:47:11.209Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-17T04:47:11.209Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-17T04:47:11.209Z] Configure a credential helper to remove this warning. See [2022-03-17T04:47:11.209Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-17T04:47:11.209Z] [2022-03-17T04:47:11.209Z] Login Succeeded [2022-03-17T04:47:11.209Z] nexus3.edgexfoundry.org:10002 [2022-03-17T04:47:11.483Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-17T04:47:11.483Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-17T04:47:11.483Z] Configure a credential helper to remove this warning. See [2022-03-17T04:47:11.483Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-17T04:47:11.483Z] [2022-03-17T04:47:11.483Z] Login Succeeded [2022-03-17T04:47:11.483Z] nexus3.edgexfoundry.org:10003 [2022-03-17T04:47:11.483Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-17T04:47:11.749Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-17T04:47:11.749Z] Configure a credential helper to remove this warning. See [2022-03-17T04:47:11.749Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-17T04:47:11.749Z] [2022-03-17T04:47:11.749Z] Login Succeeded [2022-03-17T04:47:11.749Z] nexus3.edgexfoundry.org:10004 [2022-03-17T04:47:11.749Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-17T04:47:11.749Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-17T04:47:11.749Z] Configure a credential helper to remove this warning. See [2022-03-17T04:47:11.749Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-17T04:47:11.749Z] [2022-03-17T04:47:11.749Z] Login Succeeded [2022-03-17T04:47:11.749Z] docker.io [2022-03-17T04:47:12.017Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-17T04:47:12.282Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-17T04:47:12.282Z] Configure a credential helper to remove this warning. See [2022-03-17T04:47:12.282Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-17T04:47:12.282Z] [2022-03-17T04:47:12.282Z] Login Succeeded [2022-03-17T04:47:12.282Z] ---> docker-login.sh ends [Pipeline] } [2022-03-17T04:47:12.289Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-03-17T04:47:12.670Z] + git rev-list -1 --merges 2865306a2bfe46b626c4b2e0de553eb33f0640df~1..2865306a2bfe46b626c4b2e0de553eb33f0640df [Pipeline] echo [2022-03-17T04:47:12.804Z] -----------> git rev-list -1 --merges 2865306a2bfe46b626c4b2e0de553eb33f0640df~1..2865306a2bfe46b626c4b2e0de553eb33f0640df 2865306a2bfe46b626c4b2e0de553eb33f0640df [false] [Pipeline] sh [2022-03-17T04:47:13.098Z] + git log --format=format:%s -1 2865306a2bfe46b626c4b2e0de553eb33f0640df [Pipeline] echo [2022-03-17T04:47:13.119Z] ========================================================= [2022-03-17T04:47:13.119Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-03-17T04:47:13.119Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-03-17T04:47:13.463Z] + git log --format=format:%s -1 2865306a2bfe46b626c4b2e0de553eb33f0640df [Pipeline] echo [2022-03-17T04:47:13.476Z] [semverPrep] GIT_COMMIT: 2865306a2bfe46b626c4b2e0de553eb33f0640df, Commit Message: build(deps): bump github.com/stretchr/testify from 1.7.0 to 1.7.1 [Pipeline] echo [2022-03-17T04:47:13.486Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-03-17T04:47:13.898Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-03-17T04:47:13.898Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-03-17T04:47:13.898Z] + [ -e /tmp/ssh_known_hosts ] [2022-03-17T04:47:13.898Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-03-17T04:47:13.898Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-03-17T04:47:13.898Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-03-17T04:47:13.898Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-03-17T04:47:14.242Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-03-17T04:47:14.243Z] [2022-03-17T04:47:14.243Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-03-17T04:47:14.544Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-03-17T04:47:14.545Z] latest: Pulling from edgex-devops/git-semver [2022-03-17T04:47:14.545Z] a0d0a0d46f8b: Pulling fs layer [2022-03-17T04:47:14.545Z] 3e5f54012d9b: Pulling fs layer [2022-03-17T04:47:14.545Z] 4c7163046ea9: Pulling fs layer [2022-03-17T04:47:14.545Z] 0c2d73faf560: Pulling fs layer [2022-03-17T04:47:14.545Z] 3e5f54012d9b: Download complete [2022-03-17T04:47:14.545Z] a0d0a0d46f8b: Download complete [2022-03-17T04:47:14.545Z] 4c7163046ea9: Verifying Checksum [2022-03-17T04:47:14.545Z] 4c7163046ea9: Download complete [2022-03-17T04:47:14.545Z] 0c2d73faf560: Verifying Checksum [2022-03-17T04:47:14.545Z] 0c2d73faf560: Download complete [2022-03-17T04:47:14.810Z] a0d0a0d46f8b: Pull complete [2022-03-17T04:47:14.810Z] 3e5f54012d9b: Pull complete [2022-03-17T04:47:15.385Z] 4c7163046ea9: Pull complete [2022-03-17T04:47:15.385Z] 0c2d73faf560: Pull complete [2022-03-17T04:47:15.385Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-03-17T04:47:15.385Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-03-17T04:47:15.385Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-03-17T04:47:15.479Z] prd-ubuntu20.04-docker-8c-8g-7775 does not seem to be running inside a container [2022-03-17T04:47:15.514Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1107 -v /w/workspace/gexfoundry_device-sdk-go_PR-1107:/w/workspace/gexfoundry_device-sdk-go_PR-1107:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1107@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1107@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-03-17T04:47:16.228Z] $ docker top c7b5950cee022200fd682ff6b53c31529acdb4c817cd30b11612befd27112476 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-03-17T04:47:16.348Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-03-17T04:47:16.348Z] [ssh-agent] Looking for ssh-agent implementation... [2022-03-17T04:47:16.479Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-03-17T04:47:16.477Z] $ docker exec c7b5950cee022200fd682ff6b53c31529acdb4c817cd30b11612befd27112476 ssh-agent [2022-03-17T04:47:16.613Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXkLNmmE/agent.13 [2022-03-17T04:47:16.613Z] SSH_AGENT_PID=19 [2022-03-17T04:47:16.621Z] Running ssh-add (command line suppressed) [2022-03-17T04:47:16.730Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1107@tmp/private_key_5689137524877327831.key (/w/workspace/gexfoundry_device-sdk-go_PR-1107@tmp/private_key_5689137524877327831.key) [2022-03-17T04:47:16.753Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-03-17T04:47:17.046Z] + git tag --points-at HEAD [Pipeline] } [2022-03-17T04:47:17.054Z] $ docker exec --env ******** --env ******** c7b5950cee022200fd682ff6b53c31529acdb4c817cd30b11612befd27112476 ssh-agent -k [2022-03-17T04:47:17.169Z] unset SSH_AUTH_SOCK; [2022-03-17T04:47:17.169Z] unset SSH_AGENT_PID; [2022-03-17T04:47:17.169Z] echo Agent pid 19 killed; [2022-03-17T04:47:17.187Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-03-17T04:47:17.216Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-03-17T04:47:17.216Z] [ssh-agent] Looking for ssh-agent implementation... [2022-03-17T04:47:17.356Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-03-17T04:47:17.355Z] $ docker exec c7b5950cee022200fd682ff6b53c31529acdb4c817cd30b11612befd27112476 ssh-agent [2022-03-17T04:47:17.501Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXPjookk/agent.52 [2022-03-17T04:47:17.501Z] SSH_AGENT_PID=58 [2022-03-17T04:47:17.508Z] Running ssh-add (command line suppressed) [2022-03-17T04:47:17.634Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1107@tmp/private_key_7244448415594447171.key (/w/workspace/gexfoundry_device-sdk-go_PR-1107@tmp/private_key_7244448415594447171.key) [2022-03-17T04:47:17.654Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-03-17T04:47:17.949Z] + git semver init [2022-03-17T04:47:17.949Z] # -> Open(): unable to determine branch for HEAD [2022-03-17T04:47:17.949Z] # $GIT_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1107/.git [2022-03-17T04:47:17.949Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-sdk-go_PR-1107 [2022-03-17T04:47:17.949Z] # $SEMVER_REMOTE_NAME = origin [2022-03-17T04:47:17.949Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-03-17T04:47:17.949Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-03-17T04:47:17.949Z] # $SEMVER_BRANCH = PR-1107 [2022-03-17T04:47:17.949Z] # $SEMVER_TEMP = /tmp/semver-706978838 [2022-03-17T04:47:17.949Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2022-03-17T04:47:18.893Z] # '/tmp/semver-706978838' -> '/w/workspace/gexfoundry_device-sdk-go_PR-1107/.semver' [2022-03-17T04:47:19.154Z] # -> Force: false [2022-03-17T04:47:19.154Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1107/.semver [Pipeline] } [2022-03-17T04:47:19.162Z] $ docker exec --env ******** --env ******** c7b5950cee022200fd682ff6b53c31529acdb4c817cd30b11612befd27112476 ssh-agent -k [2022-03-17T04:47:19.280Z] unset SSH_AUTH_SOCK; [2022-03-17T04:47:19.280Z] unset SSH_AGENT_PID; [2022-03-17T04:47:19.280Z] echo Agent pid 58 killed; [2022-03-17T04:47:19.299Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-03-17T04:47:19.612Z] + git semver [Pipeline] } [2022-03-17T04:47:19.624Z] $ docker stop --time=1 c7b5950cee022200fd682ff6b53c31529acdb4c817cd30b11612befd27112476 [2022-03-17T04:47:21.054Z] $ docker rm -f c7b5950cee022200fd682ff6b53c31529acdb4c817cd30b11612befd27112476 [Pipeline] // withDockerContainer [Pipeline] sh [2022-03-17T04:47:21.422Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-03-17T04:47:21.690Z] Stashed 1 file(s) [Pipeline] echo [2022-03-17T04:47:21.693Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-03-17T04:47:21.849Z] provisioning config files... [2022-03-17T04:47:21.859Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1107@tmp/config7213350129247215792tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-03-17T04:47:22.184Z] ---> docker-login.sh [2022-03-17T04:47:22.184Z] nexus3.edgexfoundry.org:10001 [2022-03-17T04:47:22.184Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-17T04:47:22.184Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-17T04:47:22.184Z] Configure a credential helper to remove this warning. See [2022-03-17T04:47:22.184Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-17T04:47:22.184Z] [2022-03-17T04:47:22.184Z] Login Succeeded [2022-03-17T04:47:22.184Z] nexus3.edgexfoundry.org:10002 [2022-03-17T04:47:22.184Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-17T04:47:22.446Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-17T04:47:22.446Z] Configure a credential helper to remove this warning. See [2022-03-17T04:47:22.446Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-17T04:47:22.446Z] [2022-03-17T04:47:22.446Z] Login Succeeded [2022-03-17T04:47:22.446Z] nexus3.edgexfoundry.org:10003 [2022-03-17T04:47:22.446Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-17T04:47:22.446Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-17T04:47:22.446Z] Configure a credential helper to remove this warning. See [2022-03-17T04:47:22.446Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-17T04:47:22.446Z] [2022-03-17T04:47:22.446Z] Login Succeeded [2022-03-17T04:47:22.446Z] nexus3.edgexfoundry.org:10004 [2022-03-17T04:47:22.707Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-17T04:47:22.707Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-17T04:47:22.707Z] Configure a credential helper to remove this warning. See [2022-03-17T04:47:22.707Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-17T04:47:22.707Z] [2022-03-17T04:47:22.707Z] Login Succeeded [2022-03-17T04:47:22.707Z] docker.io [2022-03-17T04:47:22.708Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-17T04:47:22.968Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-17T04:47:22.968Z] Configure a credential helper to remove this warning. See [2022-03-17T04:47:22.968Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-17T04:47:22.968Z] [2022-03-17T04:47:22.968Z] Login Succeeded [2022-03-17T04:47:22.968Z] ---> docker-login.sh ends [Pipeline] } [2022-03-17T04:47:22.975Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-03-17T04:47:23.049Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-03-17T04:47:23.059Z] ========================================================= [2022-03-17T04:47:23.059Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-03-17T04:47:23.059Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-03-17T04:47:23.379Z] + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-03-17T04:47:23.379Z] Sending build context to Docker daemon 9.516MB [2022-03-17T04:47:23.380Z] Step 1/11 : ARG BASE=golang:1.17-alpine3.15 [2022-03-17T04:47:23.380Z] Step 2/11 : FROM ${BASE} AS builder [2022-03-17T04:47:23.639Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-03-17T04:47:23.639Z] 59bf1c3509f3: Pulling fs layer [2022-03-17T04:47:23.639Z] 666ba61612fd: Pulling fs layer [2022-03-17T04:47:23.639Z] 8ed8ca486205: Pulling fs layer [2022-03-17T04:47:23.639Z] 4fe6c5a15a65: Pulling fs layer [2022-03-17T04:47:23.639Z] 22a0e8bec74d: Pulling fs layer [2022-03-17T04:47:23.639Z] 640e595b4fbd: Pulling fs layer [2022-03-17T04:47:23.639Z] 763cafe07f6e: Pulling fs layer [2022-03-17T04:47:23.639Z] 0c0b528cf693: Pulling fs layer [2022-03-17T04:47:23.639Z] 10935f4eaf8b: Pulling fs layer [2022-03-17T04:47:23.639Z] 22a0e8bec74d: Waiting [2022-03-17T04:47:23.639Z] 640e595b4fbd: Waiting [2022-03-17T04:47:23.639Z] 0c0b528cf693: Waiting [2022-03-17T04:47:23.639Z] 10935f4eaf8b: Waiting [2022-03-17T04:47:23.639Z] 4fe6c5a15a65: Waiting [2022-03-17T04:47:23.639Z] 8ed8ca486205: Verifying Checksum [2022-03-17T04:47:23.639Z] 8ed8ca486205: Download complete [2022-03-17T04:47:23.639Z] 666ba61612fd: Download complete [2022-03-17T04:47:23.639Z] 22a0e8bec74d: Verifying Checksum [2022-03-17T04:47:23.639Z] 22a0e8bec74d: Download complete [2022-03-17T04:47:23.639Z] 640e595b4fbd: Verifying Checksum [2022-03-17T04:47:23.639Z] 640e595b4fbd: Download complete [2022-03-17T04:47:23.639Z] 59bf1c3509f3: Verifying Checksum [2022-03-17T04:47:23.639Z] 59bf1c3509f3: Download complete [2022-03-17T04:47:23.639Z] 763cafe07f6e: Verifying Checksum [2022-03-17T04:47:23.639Z] 763cafe07f6e: Download complete [2022-03-17T04:47:23.639Z] 0c0b528cf693: Verifying Checksum [2022-03-17T04:47:23.639Z] 0c0b528cf693: Download complete [2022-03-17T04:47:23.900Z] 59bf1c3509f3: Pull complete [2022-03-17T04:47:23.900Z] 666ba61612fd: Pull complete [2022-03-17T04:47:24.162Z] 8ed8ca486205: Pull complete [2022-03-17T04:47:24.162Z] 10935f4eaf8b: Verifying Checksum [2022-03-17T04:47:24.162Z] 10935f4eaf8b: Download complete [2022-03-17T04:47:24.424Z] 4fe6c5a15a65: Verifying Checksum [2022-03-17T04:47:24.424Z] 4fe6c5a15a65: Download complete [2022-03-17T04:47:28.626Z] 4fe6c5a15a65: Pull complete [2022-03-17T04:47:28.626Z] 22a0e8bec74d: Pull complete [2022-03-17T04:47:28.626Z] 640e595b4fbd: Pull complete [2022-03-17T04:47:28.626Z] 763cafe07f6e: Pull complete [2022-03-17T04:47:28.890Z] 0c0b528cf693: Pull complete [2022-03-17T04:47:31.428Z] 10935f4eaf8b: Pull complete [2022-03-17T04:47:31.428Z] Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 [2022-03-17T04:47:31.428Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-03-17T04:47:31.428Z] ---> 99d49a6021b9 [2022-03-17T04:47:31.428Z] Step 3/11 : ARG MAKE=make build [2022-03-17T04:47:32.814Z] ---> Running in 0bd9252bdc92 [2022-03-17T04:47:32.814Z] Removing intermediate container 0bd9252bdc92 [2022-03-17T04:47:32.814Z] ---> 887658316b6b [2022-03-17T04:47:32.814Z] Step 4/11 : WORKDIR /device-sdk-go [2022-03-17T04:47:32.814Z] ---> Running in b6f3d9670f39 [2022-03-17T04:47:32.814Z] Removing intermediate container b6f3d9670f39 [2022-03-17T04:47:32.814Z] ---> 5cf5b8c942cd [2022-03-17T04:47:32.814Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-03-17T04:47:32.814Z] ---> Running in 43d5327e4eb8 [2022-03-17T04:47:33.076Z] Removing intermediate container 43d5327e4eb8 [2022-03-17T04:47:33.076Z] ---> b07f7387598e [2022-03-17T04:47:33.076Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-03-17T04:47:33.076Z] ---> Running in 44c863da1553 [2022-03-17T04:47:33.649Z] Removing intermediate container 44c863da1553 [2022-03-17T04:47:33.649Z] ---> 9f05173f8034 [2022-03-17T04:47:33.649Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-03-17T04:47:33.649Z] ---> Running in 07c13996e061 [2022-03-17T04:47:33.912Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-03-17T04:47:34.858Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-03-17T04:47:35.118Z] OK: 221 MiB in 52 packages [2022-03-17T04:47:35.379Z] Removing intermediate container 07c13996e061 [2022-03-17T04:47:35.379Z] ---> 550131311154 [2022-03-17T04:47:35.379Z] Step 8/11 : COPY go.mod vendor* ./ [2022-03-17T04:47:35.639Z] ---> 93fd889c27fd [2022-03-17T04:47:35.639Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-03-17T04:47:35.639Z] ---> Running in 8167a7749501 [2022-03-17T04:47:36.802Z] Still waiting to schedule task [2022-03-17T04:47:36.802Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-7772’ [2022-03-17T04:48:02.312Z] Removing intermediate container 8167a7749501 [2022-03-17T04:48:02.312Z] ---> c0cb81a035ef [2022-03-17T04:48:02.312Z] Step 10/11 : COPY . . [2022-03-17T04:48:02.312Z] ---> befaa5ae3c1f [2022-03-17T04:48:02.312Z] Step 11/11 : RUN ${MAKE} [2022-03-17T04:48:02.312Z] ---> Running in fc17fb96daea [2022-03-17T04:48:02.312Z] noop [2022-03-17T04:48:02.312Z] Removing intermediate container fc17fb96daea [2022-03-17T04:48:02.312Z] ---> 6f4949eff7b9 [2022-03-17T04:48:02.312Z] Successfully built 6f4949eff7b9 [2022-03-17T04:48:02.312Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-03-17T04:48:02.615Z] + docker inspect -f . ci-base-image-x86_64 [2022-03-17T04:48:02.615Z] . [Pipeline] withDockerContainer [2022-03-17T04:48:02.692Z] prd-ubuntu20.04-docker-8c-8g-7775 does not seem to be running inside a container [2022-03-17T04:48:02.736Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1107 -v /w/workspace/gexfoundry_device-sdk-go_PR-1107:/w/workspace/gexfoundry_device-sdk-go_PR-1107:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1107@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1107@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-03-17T04:48:03.161Z] $ docker top 26a6858297ad99db333039dc4dc93c6ebf3b489842d7ff536c59b4c571ae70c1 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-03-17T04:48:03.521Z] + go version [2022-03-17T04:48:03.521Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-03-17T04:48:03.542Z] $ docker stop --time=1 26a6858297ad99db333039dc4dc93c6ebf3b489842d7ff536c59b4c571ae70c1 [2022-03-17T04:48:04.833Z] $ docker rm -f 26a6858297ad99db333039dc4dc93c6ebf3b489842d7ff536c59b4c571ae70c1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-03-17T04:48:05.237Z] + docker inspect -f . ci-base-image-x86_64 [2022-03-17T04:48:05.237Z] . [Pipeline] withDockerContainer [2022-03-17T04:48:05.337Z] prd-ubuntu20.04-docker-8c-8g-7775 does not seem to be running inside a container [2022-03-17T04:48:05.421Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1107 -v /w/workspace/gexfoundry_device-sdk-go_PR-1107:/w/workspace/gexfoundry_device-sdk-go_PR-1107:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1107@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1107@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-03-17T04:48:05.854Z] $ docker top b2d142860b2deec151d7070bd4a2e3650e49c950f6150ab4a7285b390da536e5 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-03-17T04:48:06.227Z] + make test [2022-03-17T04:48:06.227Z] GO111MODULE=on go test -coverprofile=coverage.out ./... [2022-03-17T04:48:06.486Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-03-17T04:48:14.622Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-03-17T04:48:14.622Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-03-17T04:48:14.622Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-03-17T04:48:14.622Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.019s coverage: 23.3% of statements [2022-03-17T04:48:14.622Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-03-17T04:48:14.622Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.022s coverage: 27.6% of statements [2022-03-17T04:48:14.622Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.014s coverage: 78.9% of statements [2022-03-17T04:48:14.622Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.031s coverage: 10.8% of statements [2022-03-17T04:48:14.622Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2022-03-17T04:48:14.622Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-03-17T04:48:14.622Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-03-17T04:48:14.622Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.019s coverage: 33.2% of statements [2022-03-17T04:48:14.622Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-03-17T04:48:14.883Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.041s coverage: 86.1% of statements [2022-03-17T04:48:14.883Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-03-17T04:48:14.883Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-03-17T04:48:14.883Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.035s coverage: 57.4% of statements [2022-03-17T04:48:14.883Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.032s coverage: 89.2% of statements [2022-03-17T04:48:14.883Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-03-17T04:48:14.883Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.015s coverage: 4.8% of statements [2022-03-17T04:48:14.883Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-03-17T04:48:21.477Z] GO111MODULE=on go vet ./... [2022-03-17T04:48:24.777Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-03-17T04:48:24.777Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-03-17T04:48:24.777Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-03-17T04:48:24.791Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-03-17T04:48:24.814Z] $ docker stop --time=1 b2d142860b2deec151d7070bd4a2e3650e49c950f6150ab4a7285b390da536e5 [2022-03-17T04:48:26.538Z] $ docker rm -f b2d142860b2deec151d7070bd4a2e3650e49c950f6150ab4a7285b390da536e5 [Pipeline] // withDockerContainer [Pipeline] sh [2022-03-17T04:48:26.965Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-03-17T04:48:27.038Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-03-17T04:48:27.640Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-03-17T04:48:27.929Z] + ls -al . [2022-03-17T04:48:27.929Z] total 312 [2022-03-17T04:48:27.930Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 17 04:48 . [2022-03-17T04:48:27.930Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 17 04:47 .. [2022-03-17T04:48:27.930Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 17 04:47 .dockerignore [2022-03-17T04:48:27.930Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 17 04:47 .git [2022-03-17T04:48:27.930Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 17 04:47 .github [2022-03-17T04:48:27.930Z] -rw-rw-r-- 1 jenkins jenkins 131 Mar 17 04:47 .gitignore [2022-03-17T04:48:27.930Z] -rw-rw-r-- 1 jenkins jenkins 42 Mar 17 04:47 .golangci.yml [2022-03-17T04:48:27.930Z] drwx------ 3 jenkins jenkins 4096 Mar 17 04:47 .semver [2022-03-17T04:48:27.930Z] -rw-rw-r-- 1 jenkins jenkins 26321 Mar 17 04:47 CHANGELOG.md [2022-03-17T04:48:27.930Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 17 04:47 GOVERNANCE.md [2022-03-17T04:48:27.930Z] -rw-rw-r-- 1 jenkins jenkins 880 Mar 17 04:47 Jenkinsfile [2022-03-17T04:48:27.930Z] -rw-rw-r-- 1 jenkins jenkins 11341 Mar 17 04:47 LICENSE [2022-03-17T04:48:27.930Z] -rw-rw-r-- 1 jenkins jenkins 1614 Mar 17 04:47 Makefile [2022-03-17T04:48:27.930Z] -rw-rw-r-- 1 jenkins jenkins 619 Mar 17 04:47 OWNERS.md [2022-03-17T04:48:27.930Z] -rw-rw-r-- 1 jenkins jenkins 4881 Mar 17 04:47 README.md [2022-03-17T04:48:27.930Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 17 04:47 VERSION [2022-03-17T04:48:27.930Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 17 04:47 bin [2022-03-17T04:48:27.930Z] -rw-r--r-- 1 jenkins jenkins 129001 Mar 17 04:48 coverage.out [2022-03-17T04:48:27.930Z] drwxrwxr-x 5 jenkins jenkins 4096 Mar 17 04:47 example [2022-03-17T04:48:27.930Z] -rw-rw-r-- 1 jenkins jenkins 2773 Mar 17 04:47 go.mod [2022-03-17T04:48:27.930Z] -rw-rw-r-- 1 jenkins jenkins 49866 Mar 17 04:47 go.sum [2022-03-17T04:48:27.930Z] drwxrwxr-x 15 jenkins jenkins 4096 Mar 17 04:47 internal [2022-03-17T04:48:27.930Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 17 04:47 openapi [2022-03-17T04:48:27.930Z] drwxrwxr-x 5 jenkins jenkins 4096 Mar 17 04:47 pkg [2022-03-17T04:48:27.930Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 17 04:47 snap [2022-03-17T04:48:27.930Z] -rw-rw-r-- 1 jenkins jenkins 222 Mar 17 04:47 version.go [Pipeline] isUnix [Pipeline] sh [2022-03-17T04:48:28.229Z] + 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=2865306a2bfe46b626c4b2e0de553eb33f0640df --label arch=amd64 --label version=0.0.0 . [2022-03-17T04:48:28.229Z] Sending build context to Docker daemon 9.646MB [2022-03-17T04:48:28.229Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-03-17T04:48:28.229Z] Step 2/25 : FROM ${BASE} AS builder [2022-03-17T04:48:28.229Z] ---> 6f4949eff7b9 [2022-03-17T04:48:28.229Z] Step 3/25 : ARG MAKE=make build [2022-03-17T04:48:28.489Z] ---> Running in 3ec6ac0e4f05 [2022-03-17T04:48:28.489Z] Removing intermediate container 3ec6ac0e4f05 [2022-03-17T04:48:28.489Z] ---> 03e2ccff86a3 [2022-03-17T04:48:28.489Z] Step 4/25 : WORKDIR /device-sdk-go [2022-03-17T04:48:28.489Z] ---> Running in d18ae664aad1 [2022-03-17T04:48:28.489Z] Removing intermediate container d18ae664aad1 [2022-03-17T04:48:28.489Z] ---> 94bc67c30401 [2022-03-17T04:48:28.490Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-03-17T04:48:28.751Z] ---> Running in 7b18b0bbd356 [2022-03-17T04:48:28.751Z] Removing intermediate container 7b18b0bbd356 [2022-03-17T04:48:28.751Z] ---> d656cbf184bb [2022-03-17T04:48:28.751Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-03-17T04:48:28.751Z] ---> Running in bd9da3ffae6a [2022-03-17T04:48:29.321Z] Removing intermediate container bd9da3ffae6a [2022-03-17T04:48:29.321Z] ---> d9a4979a342b [2022-03-17T04:48:29.321Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-03-17T04:48:29.321Z] ---> Running in 02634aa8763a [2022-03-17T04:48:29.581Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-03-17T04:48:30.524Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-03-17T04:48:30.786Z] OK: 221 MiB in 52 packages [2022-03-17T04:48:31.047Z] Removing intermediate container 02634aa8763a [2022-03-17T04:48:31.047Z] ---> 119251eef957 [2022-03-17T04:48:31.047Z] Step 8/25 : COPY go.mod vendor* ./ [2022-03-17T04:48:31.311Z] ---> f2478259541a [2022-03-17T04:48:31.311Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-03-17T04:48:31.311Z] ---> Running in bc709edf8b1a [2022-03-17T04:48:31.882Z] Removing intermediate container bc709edf8b1a [2022-03-17T04:48:31.882Z] ---> f2cb43da0c38 [2022-03-17T04:48:31.882Z] Step 10/25 : COPY . . [2022-03-17T04:48:32.452Z] ---> b448e0a462f6 [2022-03-17T04:48:32.452Z] Step 11/25 : RUN ${MAKE} [2022-03-17T04:48:32.452Z] ---> Running in 512b1f37ab8d [2022-03-17T04:48:32.712Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2022-03-17T04:48:39.294Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-03-17T04:48:40.681Z] Removing intermediate container 512b1f37ab8d [2022-03-17T04:48:40.681Z] ---> 7b37d326002b [2022-03-17T04:48:40.681Z] Step 12/25 : FROM alpine:3.14 [2022-03-17T04:48:40.942Z] 3.14: Pulling from library/alpine [2022-03-17T04:48:41.204Z] 97518928ae5f: Pulling fs layer [2022-03-17T04:48:41.465Z] 97518928ae5f: Download complete [2022-03-17T04:48:41.465Z] 97518928ae5f: Pull complete [2022-03-17T04:48:41.465Z] Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 [2022-03-17T04:48:41.465Z] Status: Downloaded newer image for alpine:3.14 [2022-03-17T04:48:41.465Z] ---> 0a97eee8041e [2022-03-17T04:48:41.465Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-03-17T04:48:41.727Z] ---> Running in 0a43e6ad19c3 [2022-03-17T04:48:41.727Z] Removing intermediate container 0a43e6ad19c3 [2022-03-17T04:48:41.727Z] ---> 99455f702296 [2022-03-17T04:48:41.727Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-03-17T04:48:41.727Z] ---> Running in 4a73c9095c63 [2022-03-17T04:48:42.300Z] Removing intermediate container 4a73c9095c63 [2022-03-17T04:48:42.300Z] ---> 7b15660e903e [2022-03-17T04:48:42.300Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-03-17T04:48:42.300Z] ---> Running in 5edd4bf4977b [2022-03-17T04:48:42.870Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-03-17T04:48:43.444Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-03-17T04:48:44.017Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2022-03-17T04:48:44.017Z] (2/5) Installing libsodium (1.0.18-r0) [2022-03-17T04:48:44.017Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2022-03-17T04:48:44.017Z] (4/5) Installing libzmq (4.3.4-r0) [2022-03-17T04:48:44.277Z] (5/5) Installing zeromq (4.3.4-r0) [2022-03-17T04:48:44.277Z] Executing busybox-1.33.1-r6.trigger [2022-03-17T04:48:44.277Z] OK: 8 MiB in 19 packages [2022-03-17T04:48:44.860Z] Removing intermediate container 5edd4bf4977b [2022-03-17T04:48:44.860Z] ---> 7795a65f55ef [2022-03-17T04:48:44.860Z] Step 16/25 : WORKDIR / [2022-03-17T04:48:44.860Z] ---> Running in 0cdba178b8c7 [2022-03-17T04:48:44.860Z] Removing intermediate container 0cdba178b8c7 [2022-03-17T04:48:44.860Z] ---> 0ca071dee927 [2022-03-17T04:48:44.860Z] Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-03-17T04:48:45.121Z] ---> 0b8dd08584db [2022-03-17T04:48:45.121Z] Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-03-17T04:48:45.382Z] ---> 3af0cc4d8a99 [2022-03-17T04:48:45.382Z] Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-03-17T04:48:45.642Z] ---> 1f8454d503ff [2022-03-17T04:48:45.642Z] Step 20/25 : EXPOSE 59999 [2022-03-17T04:48:45.642Z] ---> Running in aa5c7bc27ce6 [2022-03-17T04:48:45.642Z] Removing intermediate container aa5c7bc27ce6 [2022-03-17T04:48:45.642Z] ---> 99d7d7968f05 [2022-03-17T04:48:45.642Z] Step 21/25 : ENTRYPOINT ["/device-simple"] [2022-03-17T04:48:45.642Z] ---> Running in 7c3d53f66863 [2022-03-17T04:48:45.902Z] Removing intermediate container 7c3d53f66863 [2022-03-17T04:48:45.903Z] ---> 37b6ff9ec5a0 [2022-03-17T04:48:45.903Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-03-17T04:48:45.903Z] ---> Running in 305cd2bef196 [2022-03-17T04:48:45.903Z] Removing intermediate container 305cd2bef196 [2022-03-17T04:48:45.903Z] ---> 1ddeefefeaf4 [2022-03-17T04:48:45.903Z] Step 23/25 : LABEL arch=amd64 [2022-03-17T04:48:45.903Z] ---> Running in fad71f467a8a [2022-03-17T04:48:46.163Z] Removing intermediate container fad71f467a8a [2022-03-17T04:48:46.163Z] ---> 7f2bcece04d0 [2022-03-17T04:48:46.163Z] Step 24/25 : LABEL git_sha=2865306a2bfe46b626c4b2e0de553eb33f0640df [2022-03-17T04:48:46.163Z] ---> Running in fc2a2d9cee71 [2022-03-17T04:48:46.163Z] Removing intermediate container fc2a2d9cee71 [2022-03-17T04:48:46.163Z] ---> c1cec756fc8d [2022-03-17T04:48:46.163Z] Step 25/25 : LABEL version=0.0.0 [2022-03-17T04:48:46.163Z] ---> Running in 3b0a5461f1a6 [2022-03-17T04:48:46.423Z] Removing intermediate container 3b0a5461f1a6 [2022-03-17T04:48:46.423Z] ---> 8aeef692136c [2022-03-17T04:48:46.423Z] [Warning] One or more build-args [ARCH] were not consumed [2022-03-17T04:48:46.423Z] Successfully built 8aeef692136c [2022-03-17T04:48:46.423Z] Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-03-17T04:48:46.821Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-03-17T04:48:46.821Z] [2022-03-17T04:48:46.821Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-03-17T04:48:47.122Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-03-17T04:48:47.122Z] latest: Pulling from edgex-lftools-log-publisher [2022-03-17T04:48:47.122Z] 5eb5b503b376: Pulling fs layer [2022-03-17T04:48:47.122Z] 5c69ac0246d0: Pulling fs layer [2022-03-17T04:48:47.122Z] ec43610c2a17: Pulling fs layer [2022-03-17T04:48:47.122Z] 3a2ae6a8a46f: Pulling fs layer [2022-03-17T04:48:47.122Z] 33b1e0a273af: Pulling fs layer [2022-03-17T04:48:47.122Z] 5d3b04190fa2: Pulling fs layer [2022-03-17T04:48:47.122Z] 2f39f015ded8: Pulling fs layer [2022-03-17T04:48:47.122Z] 3a2ae6a8a46f: Waiting [2022-03-17T04:48:47.122Z] 2f39f015ded8: Waiting [2022-03-17T04:48:47.122Z] 33b1e0a273af: Waiting [2022-03-17T04:48:47.122Z] 5c69ac0246d0: Download complete [2022-03-17T04:48:47.122Z] 3a2ae6a8a46f: Verifying Checksum [2022-03-17T04:48:47.122Z] 3a2ae6a8a46f: Download complete [2022-03-17T04:48:47.122Z] 33b1e0a273af: Verifying Checksum [2022-03-17T04:48:47.122Z] 33b1e0a273af: Download complete [2022-03-17T04:48:47.122Z] 5d3b04190fa2: Download complete [2022-03-17T04:48:47.383Z] ec43610c2a17: Verifying Checksum [2022-03-17T04:48:47.383Z] ec43610c2a17: Download complete [2022-03-17T04:48:47.383Z] 5eb5b503b376: Verifying Checksum [2022-03-17T04:48:47.383Z] 5eb5b503b376: Download complete [2022-03-17T04:48:47.954Z] 2f39f015ded8: Download complete [2022-03-17T04:48:48.525Z] 5eb5b503b376: Pull complete [2022-03-17T04:48:48.784Z] 5c69ac0246d0: Pull complete [2022-03-17T04:48:49.352Z] ec43610c2a17: Pull complete [2022-03-17T04:48:49.352Z] 3a2ae6a8a46f: Pull complete [2022-03-17T04:48:49.612Z] 33b1e0a273af: Pull complete [2022-03-17T04:48:49.612Z] 5d3b04190fa2: Pull complete [2022-03-17T04:48:54.893Z] 2f39f015ded8: Pull complete [2022-03-17T04:48:54.893Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-03-17T04:48:54.893Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-03-17T04:48:54.893Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-03-17T04:48:54.963Z] prd-ubuntu20.04-docker-8c-8g-7775 does not seem to be running inside a container [2022-03-17T04:48:55.009Z] $ 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-1107 -v /w/workspace/gexfoundry_device-sdk-go_PR-1107:/w/workspace/gexfoundry_device-sdk-go_PR-1107:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1107@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1107@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-03-17T04:48:56.544Z] $ docker top 15df6c5c68697ea3580d163111581d8d09cf23a09aa2ee548902aa67dc237ae7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-03-17T04:48:56.932Z] ---> job-cost.sh [2022-03-17T04:48:56.933Z] lf-activate-venv: SKIPPING [2022-03-17T04:48:56.933Z] INFO: No Stack... [2022-03-17T04:48:57.503Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-03-17T04:48:57.764Z] INFO: Archiving Costs [Pipeline] sh [2022-03-17T04:48:58.059Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1107/archives/cost.csv [2022-03-17T04:48:58.059Z] + cut -d, -f6 [Pipeline] lock [2022-03-17T04:48:58.075Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1107-3-stack-cost] [2022-03-17T04:48:58.082Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1107-3-stack-cost] did not exist. Created. [2022-03-17T04:48:58.082Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1107-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-03-17T04:48:58.393Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-03-17T04:48:58.423Z] Stashed 1 file(s) [Pipeline] } [2022-03-17T04:48:58.429Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1107-3-stack-cost] [Pipeline] // lock [Pipeline] } [2022-03-17T04:48:58.462Z] $ docker stop --time=1 15df6c5c68697ea3580d163111581d8d09cf23a09aa2ee548902aa67dc237ae7 [2022-03-17T04:48:59.640Z] $ docker rm -f 15df6c5c68697ea3580d163111581d8d09cf23a09aa2ee548902aa67dc237ae7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-03-17T04:50:29.405Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-7779 in /w/workspace/gexfoundry_device-sdk-go_PR-1107 [Pipeline] { [Pipeline] ws [2022-03-17T04:50:29.421Z] Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout [2022-03-17T04:50:30.048Z] The recommended git tool is: git [2022-03-17T04:50:37.988Z] using credential edgex-jenkins-ssh [2022-03-17T04:50:38.024Z] Cloning the remote Git repository [2022-03-17T04:50:38.103Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2022-03-17T04:50:38.215Z] > git init /w/workspace/device-sdk-go/3 # timeout=10 [2022-03-17T04:50:38.358Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-03-17T04:50:38.359Z] > git --version # timeout=10 [2022-03-17T04:50:38.422Z] > git --version # 'git version 2.25.1' [2022-03-17T04:50:38.424Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-03-17T04:50:38.655Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-03-17T04:50:40.720Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-03-17T04:50:40.796Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-03-17T04:50:40.835Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-03-17T04:50:40.878Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-03-17T04:50:40.879Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-03-17T04:50:40.900Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1107/head:refs/remotes/origin/PR-1107 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-03-17T04:50:41.532Z] Merging remotes/origin/main commit 8ece66f1c570f367a2f406d94221d9aee4294f1c into PR head commit 2865306a2bfe46b626c4b2e0de553eb33f0640df [2022-03-17T04:50:41.877Z] Merge succeeded, producing 2865306a2bfe46b626c4b2e0de553eb33f0640df [2022-03-17T04:50:41.878Z] Checking out Revision 2865306a2bfe46b626c4b2e0de553eb33f0640df (PR-1107) [2022-03-17T04:50:41.564Z] > git config core.sparsecheckout # timeout=10 [2022-03-17T04:50:41.608Z] > git checkout -f 2865306a2bfe46b626c4b2e0de553eb33f0640df # timeout=10 [2022-03-17T04:50:41.742Z] > git remote # timeout=10 [2022-03-17T04:50:41.766Z] > git config --get remote.origin.url # timeout=10 [2022-03-17T04:50:41.788Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-03-17T04:50:41.816Z] > git merge 8ece66f1c570f367a2f406d94221d9aee4294f1c # timeout=10 [2022-03-17T04:50:41.855Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-03-17T04:50:41.889Z] > git config core.sparsecheckout # timeout=10 [2022-03-17T04:50:41.909Z] > git checkout -f 2865306a2bfe46b626c4b2e0de553eb33f0640df # timeout=10 [2022-03-17T04:50:46.264Z] Commit message: "build(deps): bump github.com/stretchr/testify from 1.7.0 to 1.7.1" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-03-17T04:50:47.340Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-03-17T04:50:47.340Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-03-17T04:50:47.340Z] Dload Upload Total Spent Left Speed [2022-03-17T04:50:47.340Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 183k 0 --:--:-- --:--:-- --:--:-- 183k [Pipeline] sh [2022-03-17T04:50:47.869Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-03-17T04:50:48.220Z] + + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-03-17T04:50:48.220Z] sudo tee /etc/docker/daemon.new [2022-03-17T04:50:48.220Z] { [2022-03-17T04:50:48.220Z] "registry-mirrors": [ [2022-03-17T04:50:48.220Z] "https://nexus3.edgexfoundry.org:10001" [2022-03-17T04:50:48.220Z] ], [2022-03-17T04:50:48.220Z] "bip": "10.250.0.254/24", [2022-03-17T04:50:48.220Z] "hosts": [ [2022-03-17T04:50:48.221Z] "tcp://0.0.0.0:5555", [2022-03-17T04:50:48.221Z] "unix:///var/run/docker.sock" [2022-03-17T04:50:48.221Z] ], [2022-03-17T04:50:48.221Z] "mtu": 1458, [2022-03-17T04:50:48.221Z] "selinux-enabled": true, [2022-03-17T04:50:48.221Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-03-17T04:50:48.221Z] } [Pipeline] sh [2022-03-17T04:50:48.578Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-03-17T04:50:48.939Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-03-17T04:51:07.365Z] provisioning config files... [2022-03-17T04:51:07.391Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/3@tmp/config5398360959719704721tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-03-17T04:51:07.764Z] ---> docker-login.sh [2022-03-17T04:51:07.764Z] nexus3.edgexfoundry.org:10001 [2022-03-17T04:51:08.365Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-17T04:51:08.640Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-17T04:51:08.640Z] Configure a credential helper to remove this warning. See [2022-03-17T04:51:08.640Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-17T04:51:08.640Z] [2022-03-17T04:51:08.640Z] Login Succeeded [2022-03-17T04:51:08.640Z] nexus3.edgexfoundry.org:10002 [2022-03-17T04:51:08.916Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-17T04:51:09.190Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-17T04:51:09.190Z] Configure a credential helper to remove this warning. See [2022-03-17T04:51:09.190Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-17T04:51:09.190Z] [2022-03-17T04:51:09.190Z] Login Succeeded [2022-03-17T04:51:09.190Z] nexus3.edgexfoundry.org:10003 [2022-03-17T04:51:09.465Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-17T04:51:09.742Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-17T04:51:09.742Z] Configure a credential helper to remove this warning. See [2022-03-17T04:51:09.742Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-17T04:51:09.742Z] [2022-03-17T04:51:09.742Z] Login Succeeded [2022-03-17T04:51:09.742Z] nexus3.edgexfoundry.org:10004 [2022-03-17T04:51:10.019Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-17T04:51:10.019Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-17T04:51:10.019Z] Configure a credential helper to remove this warning. See [2022-03-17T04:51:10.019Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-17T04:51:10.019Z] [2022-03-17T04:51:10.019Z] Login Succeeded [2022-03-17T04:51:10.295Z] docker.io [2022-03-17T04:51:10.571Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-17T04:51:10.845Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-17T04:51:10.845Z] Configure a credential helper to remove this warning. See [2022-03-17T04:51:10.845Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-17T04:51:10.845Z] [2022-03-17T04:51:10.845Z] Login Succeeded [2022-03-17T04:51:10.845Z] ---> docker-login.sh ends [Pipeline] } [2022-03-17T04:51:10.863Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-03-17T04:51:11.355Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-03-17T04:51:11.370Z] ========================================================= [2022-03-17T04:51:11.370Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-03-17T04:51:11.371Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-03-17T04:51:11.814Z] + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-03-17T04:51:12.422Z] Sending build context to Docker daemon 5.143MB [2022-03-17T04:51:12.422Z] Step 1/11 : ARG BASE=golang:1.17-alpine3.15 [2022-03-17T04:51:12.422Z] Step 2/11 : FROM ${BASE} AS builder [2022-03-17T04:51:12.422Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-03-17T04:51:12.422Z] 9b3977197b4f: Pulling fs layer [2022-03-17T04:51:12.422Z] 1a89e8eeedd5: Pulling fs layer [2022-03-17T04:51:12.422Z] 94645a83ff95: Pulling fs layer [2022-03-17T04:51:12.422Z] 3f3a8bcf1eab: Pulling fs layer [2022-03-17T04:51:12.422Z] 0c92f367c5e7: Pulling fs layer [2022-03-17T04:51:12.422Z] 3f3a8bcf1eab: Waiting [2022-03-17T04:51:12.422Z] f7c0051592d6: Pulling fs layer [2022-03-17T04:51:12.422Z] a227ed2f7395: Pulling fs layer [2022-03-17T04:51:12.422Z] 7b1c46037f91: Pulling fs layer [2022-03-17T04:51:12.422Z] 0c92f367c5e7: Waiting [2022-03-17T04:51:12.422Z] f7c0051592d6: Waiting [2022-03-17T04:51:12.422Z] a227ed2f7395: Waiting [2022-03-17T04:51:12.422Z] 7b1c46037f91: Waiting [2022-03-17T04:51:12.422Z] 94645a83ff95: Download complete [2022-03-17T04:51:12.422Z] 1a89e8eeedd5: Download complete [2022-03-17T04:51:12.422Z] 0c92f367c5e7: Verifying Checksum [2022-03-17T04:51:12.422Z] 0c92f367c5e7: Download complete [2022-03-17T04:51:12.422Z] f7c0051592d6: Verifying Checksum [2022-03-17T04:51:12.422Z] f7c0051592d6: Download complete [2022-03-17T04:51:12.699Z] 9b3977197b4f: Download complete [2022-03-17T04:51:12.699Z] a227ed2f7395: Verifying Checksum [2022-03-17T04:51:12.699Z] a227ed2f7395: Download complete [2022-03-17T04:51:13.302Z] 9b3977197b4f: Pull complete [2022-03-17T04:51:13.938Z] 1a89e8eeedd5: Pull complete [2022-03-17T04:51:14.214Z] 94645a83ff95: Pull complete [2022-03-17T04:51:14.489Z] 7b1c46037f91: Verifying Checksum [2022-03-17T04:51:14.489Z] 7b1c46037f91: Download complete [2022-03-17T04:51:15.086Z] 3f3a8bcf1eab: Verifying Checksum [2022-03-17T04:51:15.086Z] 3f3a8bcf1eab: Download complete [2022-03-17T04:51:27.504Z] 3f3a8bcf1eab: Pull complete [2022-03-17T04:51:27.504Z] 0c92f367c5e7: Pull complete [2022-03-17T04:51:27.504Z] f7c0051592d6: Pull complete [2022-03-17T04:51:27.504Z] a227ed2f7395: Pull complete [2022-03-17T04:51:34.241Z] 7b1c46037f91: Pull complete [2022-03-17T04:51:34.241Z] Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe [2022-03-17T04:51:34.241Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-03-17T04:51:34.241Z] ---> f79e39bc4007 [2022-03-17T04:51:34.241Z] Step 3/11 : ARG MAKE=make build [2022-03-17T04:51:34.241Z] ---> Running in 4a63dcbf0872 [2022-03-17T04:51:34.515Z] Removing intermediate container 4a63dcbf0872 [2022-03-17T04:51:34.515Z] ---> b14c737314d0 [2022-03-17T04:51:34.515Z] Step 4/11 : WORKDIR /device-sdk-go [2022-03-17T04:51:34.515Z] ---> Running in 90a49a812585 [2022-03-17T04:51:35.122Z] Removing intermediate container 90a49a812585 [2022-03-17T04:51:35.122Z] ---> 9f9e53dfb781 [2022-03-17T04:51:35.122Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-03-17T04:51:35.122Z] ---> Running in b9cff010fc5e [2022-03-17T04:51:35.398Z] Removing intermediate container b9cff010fc5e [2022-03-17T04:51:35.398Z] ---> 3bc5d328e742 [2022-03-17T04:51:35.398Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-03-17T04:51:35.398Z] ---> Running in d0278bc55c4a [2022-03-17T04:51:37.395Z] Removing intermediate container d0278bc55c4a [2022-03-17T04:51:37.395Z] ---> be8e7a562b10 [2022-03-17T04:51:37.395Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-03-17T04:51:37.395Z] ---> Running in f2096225a6c7 [2022-03-17T04:51:38.376Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-03-17T04:51:39.357Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-03-17T04:51:40.340Z] OK: 220 MiB in 52 packages [2022-03-17T04:51:41.343Z] Removing intermediate container f2096225a6c7 [2022-03-17T04:51:41.343Z] ---> 0e1a21813b3d [2022-03-17T04:51:41.343Z] Step 8/11 : COPY go.mod vendor* ./ [2022-03-17T04:51:41.946Z] ---> 787eeed7a4de [2022-03-17T04:51:41.946Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-03-17T04:51:41.946Z] ---> Running in eb7f8d9f258c [2022-03-17T04:53:03.797Z] Removing intermediate container eb7f8d9f258c [2022-03-17T04:53:03.797Z] ---> 0662b4c2dc5f [2022-03-17T04:53:03.797Z] Step 10/11 : COPY . . [2022-03-17T04:53:03.797Z] ---> e9ecb5026884 [2022-03-17T04:53:03.797Z] Step 11/11 : RUN ${MAKE} [2022-03-17T04:53:03.797Z] ---> Running in 4b0a75ea1299 [2022-03-17T04:53:03.797Z] noop [2022-03-17T04:53:03.797Z] Removing intermediate container 4b0a75ea1299 [2022-03-17T04:53:03.797Z] ---> 683c42294168 [2022-03-17T04:53:03.797Z] Successfully built 683c42294168 [2022-03-17T04:53:03.797Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-03-17T04:53:04.150Z] + docker inspect -f . ci-base-image-arm64 [2022-03-17T04:53:04.150Z] . [Pipeline] withDockerContainer [2022-03-17T04:53:04.418Z] prd-ubuntu20.04-docker-arm64-4c-16g-7779 does not seem to be running inside a container [2022-03-17T04:53:04.509Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-03-17T04:53:05.940Z] $ docker top 01007a2dfd9f0012b319a174260d4c51189d4c6f9ff09528148974c0b3e3651e -eo pid,comm [Pipeline] { [Pipeline] sh [2022-03-17T04:53:06.910Z] + go version [2022-03-17T04:53:06.910Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-03-17T04:53:06.938Z] $ docker stop --time=1 01007a2dfd9f0012b319a174260d4c51189d4c6f9ff09528148974c0b3e3651e [2022-03-17T04:53:08.614Z] $ docker rm -f 01007a2dfd9f0012b319a174260d4c51189d4c6f9ff09528148974c0b3e3651e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-03-17T04:53:09.255Z] + docker inspect -f . ci-base-image-arm64 [2022-03-17T04:53:09.256Z] . [Pipeline] withDockerContainer [2022-03-17T04:53:09.514Z] prd-ubuntu20.04-docker-arm64-4c-16g-7779 does not seem to be running inside a container [2022-03-17T04:53:09.609Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-03-17T04:53:10.988Z] $ docker top c7936ef0b51209c86178dec8626e12c7313da853a0b6ef8ddff16d44e017b11e -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-03-17T04:53:11.954Z] + make test [2022-03-17T04:53:11.954Z] GO111MODULE=on go test -coverprofile=coverage.out ./... [2022-03-17T04:53:13.402Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-03-17T04:54:10.034Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-03-17T04:54:10.034Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-03-17T04:54:10.034Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-03-17T04:54:15.500Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.088s coverage: 23.3% of statements [2022-03-17T04:54:15.500Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-03-17T04:54:15.500Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.085s coverage: 27.6% of statements [2022-03-17T04:54:15.500Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.126s coverage: 78.9% of statements [2022-03-17T04:54:15.500Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.057s coverage: 10.8% of statements [2022-03-17T04:54:15.500Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2022-03-17T04:54:15.500Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-03-17T04:54:15.500Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-03-17T04:54:16.503Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.094s coverage: 33.2% of statements [2022-03-17T04:54:16.503Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-03-17T04:54:17.500Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.109s coverage: 86.1% of statements [2022-03-17T04:54:17.500Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-03-17T04:54:17.500Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-03-17T04:54:17.500Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.103s coverage: 57.4% of statements [2022-03-17T04:54:18.946Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.212s coverage: 89.2% of statements [2022-03-17T04:54:18.946Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-03-17T04:54:19.923Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.057s coverage: 4.8% of statements [2022-03-17T04:54:19.923Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-03-17T04:54:20.524Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-03-17T04:54:20.524Z] GO111MODULE=on go vet ./... [2022-03-17T04:54:42.741Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-03-17T04:54:42.741Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-03-17T04:54:42.741Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-03-17T04:54:44.278Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-03-17T04:54:44.292Z] $ docker stop --time=1 c7936ef0b51209c86178dec8626e12c7313da853a0b6ef8ddff16d44e017b11e [2022-03-17T04:54:46.112Z] $ docker rm -f c7936ef0b51209c86178dec8626e12c7313da853a0b6ef8ddff16d44e017b11e [Pipeline] // withDockerContainer [Pipeline] sh [2022-03-17T04:54:47.051Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-03-17T04:54:47.075Z] Warning: overwriting stash ‘coverage-report’ [2022-03-17T04:54:47.736Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-03-17T04:54:48.148Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-03-17T04:54:48.501Z] + ls -al . [2022-03-17T04:54:48.501Z] total 308 [2022-03-17T04:54:48.501Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 17 04:54 . [2022-03-17T04:54:48.501Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 17 04:50 .. [2022-03-17T04:54:48.501Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 17 04:50 .dockerignore [2022-03-17T04:54:48.501Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 17 04:50 .git [2022-03-17T04:54:48.501Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 17 04:50 .github [2022-03-17T04:54:48.501Z] -rw-rw-r-- 1 jenkins jenkins 131 Mar 17 04:50 .gitignore [2022-03-17T04:54:48.501Z] -rw-rw-r-- 1 jenkins jenkins 42 Mar 17 04:50 .golangci.yml [2022-03-17T04:54:48.501Z] -rw-rw-r-- 1 jenkins jenkins 26321 Mar 17 04:50 CHANGELOG.md [2022-03-17T04:54:48.501Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 17 04:50 GOVERNANCE.md [2022-03-17T04:54:48.501Z] -rw-rw-r-- 1 jenkins jenkins 880 Mar 17 04:50 Jenkinsfile [2022-03-17T04:54:48.501Z] -rw-rw-r-- 1 jenkins jenkins 11341 Mar 17 04:50 LICENSE [2022-03-17T04:54:48.501Z] -rw-rw-r-- 1 jenkins jenkins 1614 Mar 17 04:50 Makefile [2022-03-17T04:54:48.501Z] -rw-rw-r-- 1 jenkins jenkins 619 Mar 17 04:50 OWNERS.md [2022-03-17T04:54:48.501Z] -rw-rw-r-- 1 jenkins jenkins 4881 Mar 17 04:50 README.md [2022-03-17T04:54:48.501Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 17 04:47 VERSION [2022-03-17T04:54:48.501Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 17 04:50 bin [2022-03-17T04:54:48.501Z] -rw-r--r-- 1 jenkins jenkins 129001 Mar 17 04:54 coverage.out [2022-03-17T04:54:48.501Z] drwxrwxr-x 5 jenkins jenkins 4096 Mar 17 04:50 example [2022-03-17T04:54:48.501Z] -rw-rw-r-- 1 jenkins jenkins 2773 Mar 17 04:50 go.mod [2022-03-17T04:54:48.501Z] -rw-rw-r-- 1 jenkins jenkins 49866 Mar 17 04:50 go.sum [2022-03-17T04:54:48.501Z] drwxrwxr-x 15 jenkins jenkins 4096 Mar 17 04:50 internal [2022-03-17T04:54:48.501Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 17 04:50 openapi [2022-03-17T04:54:48.501Z] drwxrwxr-x 5 jenkins jenkins 4096 Mar 17 04:50 pkg [2022-03-17T04:54:48.501Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 17 04:50 snap [2022-03-17T04:54:48.501Z] -rw-rw-r-- 1 jenkins jenkins 222 Mar 17 04:50 version.go [Pipeline] isUnix [Pipeline] sh [2022-03-17T04:54:48.850Z] + 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=2865306a2bfe46b626c4b2e0de553eb33f0640df --label arch=arm64 --label version=0.0.0 . [2022-03-17T04:54:49.447Z] Sending build context to Docker daemon 5.273MB [2022-03-17T04:54:49.447Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-03-17T04:54:49.447Z] Step 2/25 : FROM ${BASE} AS builder [2022-03-17T04:54:49.447Z] ---> 683c42294168 [2022-03-17T04:54:49.447Z] Step 3/25 : ARG MAKE=make build [2022-03-17T04:54:49.447Z] ---> Running in b0eb06507258 [2022-03-17T04:54:49.721Z] Removing intermediate container b0eb06507258 [2022-03-17T04:54:49.721Z] ---> 9909b54ea4ab [2022-03-17T04:54:49.721Z] Step 4/25 : WORKDIR /device-sdk-go [2022-03-17T04:54:49.996Z] ---> Running in 0b11cb25ea57 [2022-03-17T04:54:50.270Z] Removing intermediate container 0b11cb25ea57 [2022-03-17T04:54:50.270Z] ---> 37e1be91ae58 [2022-03-17T04:54:50.270Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-03-17T04:54:50.270Z] ---> Running in f543ce109c8b [2022-03-17T04:54:50.545Z] Removing intermediate container f543ce109c8b [2022-03-17T04:54:50.545Z] ---> 751c39ed965d [2022-03-17T04:54:50.546Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-03-17T04:54:50.828Z] ---> Running in d6c930c69650 [2022-03-17T04:54:52.839Z] Removing intermediate container d6c930c69650 [2022-03-17T04:54:52.839Z] ---> 5986f30424c6 [2022-03-17T04:54:52.839Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-03-17T04:54:52.839Z] ---> Running in 5bf801816a7f [2022-03-17T04:54:53.821Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-03-17T04:54:54.417Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-03-17T04:54:55.401Z] OK: 220 MiB in 52 packages [2022-03-17T04:54:56.393Z] Removing intermediate container 5bf801816a7f [2022-03-17T04:54:56.393Z] ---> fde0bd250b91 [2022-03-17T04:54:56.393Z] Step 8/25 : COPY go.mod vendor* ./ [2022-03-17T04:54:57.010Z] ---> 75ec2d0dd727 [2022-03-17T04:54:57.010Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-03-17T04:54:57.010Z] ---> Running in 5d85a738d7e3 [2022-03-17T04:54:59.635Z] Removing intermediate container 5d85a738d7e3 [2022-03-17T04:54:59.635Z] ---> ccda2bc4a47a [2022-03-17T04:54:59.635Z] Step 10/25 : COPY . . [2022-03-17T04:55:00.622Z] ---> 930bf6dcb30f [2022-03-17T04:55:00.622Z] Step 11/25 : RUN ${MAKE} [2022-03-17T04:55:00.622Z] ---> Running in 23ba33c1ea5e [2022-03-17T04:55:01.611Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2022-03-17T04:55:48.632Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-03-17T04:55:48.632Z] Removing intermediate container 23ba33c1ea5e [2022-03-17T04:55:48.632Z] ---> af0a5080fb4c [2022-03-17T04:55:48.632Z] Step 12/25 : FROM alpine:3.14 [2022-03-17T04:55:48.632Z] 3.14: Pulling from library/alpine [2022-03-17T04:55:48.632Z] be307f383ecc: Pulling fs layer [2022-03-17T04:55:48.632Z] be307f383ecc: Verifying Checksum [2022-03-17T04:55:48.632Z] be307f383ecc: Download complete [2022-03-17T04:55:48.632Z] be307f383ecc: Pull complete [2022-03-17T04:55:48.632Z] Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 [2022-03-17T04:55:48.632Z] Status: Downloaded newer image for alpine:3.14 [2022-03-17T04:55:48.632Z] ---> 5b8b7b635229 [2022-03-17T04:55:48.632Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-03-17T04:55:48.632Z] ---> Running in ffa50cf36f91 [2022-03-17T04:55:48.632Z] Removing intermediate container ffa50cf36f91 [2022-03-17T04:55:48.632Z] ---> 9e204c1197fa [2022-03-17T04:55:48.632Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-03-17T04:55:48.632Z] ---> Running in 2ad3ee4f799f [2022-03-17T04:55:50.102Z] Removing intermediate container 2ad3ee4f799f [2022-03-17T04:55:50.102Z] ---> 0a3e298bc304 [2022-03-17T04:55:50.102Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-03-17T04:55:50.102Z] ---> Running in d6102cfa7822 [2022-03-17T04:55:51.085Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-03-17T04:55:52.063Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-03-17T04:55:53.049Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2022-03-17T04:55:53.049Z] (2/5) Installing libsodium (1.0.18-r0) [2022-03-17T04:55:53.049Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2022-03-17T04:55:53.321Z] (4/5) Installing libzmq (4.3.4-r0) [2022-03-17T04:55:53.321Z] (5/5) Installing zeromq (4.3.4-r0) [2022-03-17T04:55:53.594Z] Executing busybox-1.33.1-r6.trigger [2022-03-17T04:55:53.594Z] OK: 8 MiB in 19 packages [2022-03-17T04:55:54.580Z] Removing intermediate container d6102cfa7822 [2022-03-17T04:55:54.580Z] ---> 63faa22d1a07 [2022-03-17T04:55:54.580Z] Step 16/25 : WORKDIR / [2022-03-17T04:55:54.580Z] ---> Running in cb19a6dc9b3c [2022-03-17T04:55:54.856Z] Removing intermediate container cb19a6dc9b3c [2022-03-17T04:55:54.856Z] ---> 4c33d29a21e9 [2022-03-17T04:55:54.856Z] Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-03-17T04:55:55.453Z] ---> ab42c5e93cb9 [2022-03-17T04:55:55.453Z] Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-03-17T04:55:56.433Z] ---> d45fe2900830 [2022-03-17T04:55:56.433Z] Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-03-17T04:55:57.030Z] ---> 679c70f45982 [2022-03-17T04:55:57.030Z] Step 20/25 : EXPOSE 59999 [2022-03-17T04:55:57.030Z] ---> Running in f0ac8a4c1e7c [2022-03-17T04:55:57.311Z] Removing intermediate container f0ac8a4c1e7c [2022-03-17T04:55:57.311Z] ---> a744c17360d5 [2022-03-17T04:55:57.311Z] Step 21/25 : ENTRYPOINT ["/device-simple"] [2022-03-17T04:55:57.591Z] ---> Running in 3af08c2e3c77 [2022-03-17T04:55:57.866Z] Removing intermediate container 3af08c2e3c77 [2022-03-17T04:55:57.866Z] ---> 71ebdc51d239 [2022-03-17T04:55:57.866Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-03-17T04:55:57.866Z] ---> Running in 39f714b3d6b9 [2022-03-17T04:55:58.463Z] Removing intermediate container 39f714b3d6b9 [2022-03-17T04:55:58.463Z] ---> 1fc013974a93 [2022-03-17T04:55:58.463Z] Step 23/25 : LABEL arch=arm64 [2022-03-17T04:55:58.463Z] ---> Running in a20bcc2a5d87 [2022-03-17T04:55:58.736Z] Removing intermediate container a20bcc2a5d87 [2022-03-17T04:55:58.736Z] ---> e55fc5a73439 [2022-03-17T04:55:58.736Z] Step 24/25 : LABEL git_sha=2865306a2bfe46b626c4b2e0de553eb33f0640df [2022-03-17T04:55:58.736Z] ---> Running in 2d33bd7a6e18 [2022-03-17T04:55:59.021Z] Removing intermediate container 2d33bd7a6e18 [2022-03-17T04:55:59.021Z] ---> b8cbe60834c7 [2022-03-17T04:55:59.021Z] Step 25/25 : LABEL version=0.0.0 [2022-03-17T04:55:59.021Z] ---> Running in 2157b96ad27c [2022-03-17T04:55:59.630Z] Removing intermediate container 2157b96ad27c [2022-03-17T04:55:59.630Z] ---> 5b46c266590f [2022-03-17T04:55:59.630Z] [Warning] One or more build-args [ARCH] were not consumed [2022-03-17T04:55:59.630Z] Successfully built 5b46c266590f [2022-03-17T04:55:59.630Z] Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-03-17T04:56:00.067Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-03-17T04:56:00.068Z] [2022-03-17T04:56:00.068Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-03-17T04:56:00.424Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-03-17T04:56:00.701Z] arm64: Pulling from edgex-lftools-log-publisher [2022-03-17T04:56:00.701Z] 8998bd30e6a1: Pulling fs layer [2022-03-17T04:56:00.701Z] 04944245beec: Pulling fs layer [2022-03-17T04:56:00.701Z] 699f458cf7ca: Pulling fs layer [2022-03-17T04:56:00.701Z] 765212b225bb: Pulling fs layer [2022-03-17T04:56:00.701Z] f23df028b6ca: Pulling fs layer [2022-03-17T04:56:00.701Z] d65c8cfc05b1: Pulling fs layer [2022-03-17T04:56:00.701Z] 2437ff75d9bd: Pulling fs layer [2022-03-17T04:56:00.701Z] 765212b225bb: Waiting [2022-03-17T04:56:00.701Z] f23df028b6ca: Waiting [2022-03-17T04:56:00.701Z] d65c8cfc05b1: Waiting [2022-03-17T04:56:00.701Z] 2437ff75d9bd: Waiting [2022-03-17T04:56:00.701Z] 04944245beec: Verifying Checksum [2022-03-17T04:56:00.701Z] 04944245beec: Download complete [2022-03-17T04:56:00.701Z] 765212b225bb: Verifying Checksum [2022-03-17T04:56:00.701Z] 765212b225bb: Download complete [2022-03-17T04:56:00.701Z] f23df028b6ca: Verifying Checksum [2022-03-17T04:56:00.701Z] f23df028b6ca: Download complete [2022-03-17T04:56:00.701Z] d65c8cfc05b1: Verifying Checksum [2022-03-17T04:56:00.701Z] d65c8cfc05b1: Download complete [2022-03-17T04:56:00.981Z] 699f458cf7ca: Verifying Checksum [2022-03-17T04:56:00.981Z] 699f458cf7ca: Download complete [2022-03-17T04:56:01.257Z] 8998bd30e6a1: Verifying Checksum [2022-03-17T04:56:01.257Z] 8998bd30e6a1: Download complete [2022-03-17T04:56:03.895Z] 2437ff75d9bd: Verifying Checksum [2022-03-17T04:56:03.895Z] 2437ff75d9bd: Download complete [2022-03-17T04:56:05.341Z] 8998bd30e6a1: Pull complete [2022-03-17T04:56:05.942Z] 04944245beec: Pull complete [2022-03-17T04:56:07.395Z] 699f458cf7ca: Pull complete [2022-03-17T04:56:07.675Z] 765212b225bb: Pull complete [2022-03-17T04:56:08.660Z] f23df028b6ca: Pull complete [2022-03-17T04:56:08.660Z] d65c8cfc05b1: Pull complete [2022-03-17T04:56:23.781Z] 2437ff75d9bd: Pull complete [2022-03-17T04:56:23.781Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-03-17T04:56:23.781Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-03-17T04:56:23.781Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-03-17T04:56:24.038Z] prd-ubuntu20.04-docker-arm64-4c-16g-7779 does not seem to be running inside a container [2022-03-17T04:56:24.135Z] $ 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/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-03-17T04:56:26.892Z] $ docker top 3ffa2abed7124ffd84ee8f90ba801a02a4216204b9195b2d1d33d334dde064c6 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-03-17T04:56:27.850Z] ---> job-cost.sh [2022-03-17T04:56:27.850Z] lf-activate-venv: SKIPPING [2022-03-17T04:56:27.850Z] INFO: No Stack... [2022-03-17T04:56:28.128Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-03-17T04:56:29.108Z] INFO: Archiving Costs [Pipeline] sh [2022-03-17T04:56:29.792Z] + cat /w/workspace/device-sdk-go/3/archives/cost.csv [2022-03-17T04:56:29.792Z] + cut -d, -f6 [Pipeline] lock [2022-03-17T04:56:29.865Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1107-3-stack-cost] [2022-03-17T04:56:29.871Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1107-3-stack-cost] did not exist. Created. [2022-03-17T04:56:29.872Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1107-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-03-17T04:56:30.547Z] /w/workspace/device-sdk-go/3@tmp/durable-b0589157/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-03-17T04:56:31.241Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-03-17T04:56:31.264Z] Warning: overwriting stash ‘stack-cost’ [2022-03-17T04:56:31.335Z] Stashed 1 file(s) [Pipeline] } [2022-03-17T04:56:31.347Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1107-3-stack-cost] [Pipeline] // lock [Pipeline] } [2022-03-17T04:56:31.368Z] $ docker stop --time=1 3ffa2abed7124ffd84ee8f90ba801a02a4216204b9195b2d1d33d334dde064c6 [2022-03-17T04:56:32.878Z] $ docker rm -f 3ffa2abed7124ffd84ee8f90ba801a02a4216204b9195b2d1d33d334dde064c6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2022-03-17T04:56:33.334Z] provisioning config files... [2022-03-17T04:56:33.345Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1107@tmp/config188794444332929751tmp [Pipeline] { [Pipeline] sh [2022-03-17T04:56:33.660Z] + set +x [2022-03-17T04:56:33.660Z] + curl -s https://codecov.io/bash [2022-03-17T04:56:33.660Z] + bash -s -- [2022-03-17T04:56:33.660Z] [2022-03-17T04:56:33.660Z] _____ _ [2022-03-17T04:56:33.660Z] / ____| | | [2022-03-17T04:56:33.660Z] | | ___ __| | ___ ___ _____ __ [2022-03-17T04:56:33.660Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-03-17T04:56:33.660Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-03-17T04:56:33.660Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-03-17T04:56:33.660Z] Bash-1.0.6 [2022-03-17T04:56:33.660Z] [2022-03-17T04:56:33.660Z] [2022-03-17T04:56:33.660Z] ==> git version 2.25.1 found [2022-03-17T04:56:33.660Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2022-03-17T04:56:33.660Z] Release-Date: 2020-01-08 [2022-03-17T04:56:33.660Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-03-17T04:56:33.660Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-03-17T04:56:33.660Z] ==> Jenkins CI detected. [2022-03-17T04:56:33.660Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1107 [2022-03-17T04:56:33.660Z] project root: . [2022-03-17T04:56:33.660Z] --> token set from env [2022-03-17T04:56:33.660Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-03-17T04:56:33.660Z] ==> Running gcov in . (disable via -X gcov) [2022-03-17T04:56:33.660Z] ==> Python coveragepy not found [2022-03-17T04:56:33.660Z] ==> Searching for coverage reports in: [2022-03-17T04:56:33.660Z] + . [2022-03-17T04:56:33.660Z] -> Found 1 reports [2022-03-17T04:56:33.660Z] ==> Detecting git/mercurial file structure [2022-03-17T04:56:33.660Z] ==> Reading reports [2022-03-17T04:56:33.660Z] + ./coverage.out bytes=129001 [2022-03-17T04:56:33.660Z] ==> Appending adjustments [2022-03-17T04:56:33.660Z] https://docs.codecov.io/docs/fixing-reports [2022-03-17T04:56:33.922Z] + Found adjustments [2022-03-17T04:56:33.922Z] ==> Gzipping contents [2022-03-17T04:56:33.922Z] 16K /tmp/codecov.EWmvUO.gz [2022-03-17T04:56:33.922Z] ==> Uploading reports [2022-03-17T04:56:33.922Z] url: https://codecov.io [2022-03-17T04:56:33.922Z] query: branch=PR-1107&commit=2865306a2bfe46b626c4b2e0de553eb33f0640df&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1107%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1107&job=&cmd_args= [2022-03-17T04:56:33.922Z] -> Pinging Codecov [2022-03-17T04:56:33.922Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1107&commit=2865306a2bfe46b626c4b2e0de553eb33f0640df&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1107%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1107&job=&cmd_args= [2022-03-17T04:56:34.496Z] -> Uploading to [2022-03-17T04:56:34.496Z] https://storage.googleapis.com/codecov/v4/raw/2022-03-17/7E55EF52A471D76F132DFD9A03CDDE97/2865306a2bfe46b626c4b2e0de553eb33f0640df/5b8bb3d0-db3f-49b2-858f-13a9ed2fa7a5.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220317%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220317T045634Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=39e3763e6a00ded70ef24d29c8f5a37b02289bf7d65fb5b94da56a3d0234bdb1 [2022-03-17T04:56:34.496Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-03-17T04:56:34.496Z] Dload Upload Total Spent Left Speed [2022-03-17T04:56:34.496Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16251 0 0 100 16251 0 72874 --:--:-- --:--:-- --:--:-- 72874 [2022-03-17T04:56:34.496Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/2865306a2bfe46b626c4b2e0de553eb33f0640df [Pipeline] } [2022-03-17T04:56:34.506Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2022-03-17T04:56:35.210Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1107/archives ] [2022-03-17T04:56:35.210Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1107/archives [2022-03-17T04:56:35.210Z] total 16 [2022-03-17T04:56:35.210Z] drwxr-xr-x 3 root root 4096 Mar 17 04:48 . [2022-03-17T04:56:35.210Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 17 04:48 .. [2022-03-17T04:56:35.210Z] drwxr-xr-x 2 root root 4096 Mar 17 04:48 cost [2022-03-17T04:56:35.210Z] -rw-r--r-- 1 root root 85 Mar 17 04:48 cost.csv [2022-03-17T04:56:35.210Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1107/archives [2022-03-17T04:56:35.210Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1107/archives [2022-03-17T04:56:35.210Z] total 16 [2022-03-17T04:56:35.210Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 17 04:48 . [2022-03-17T04:56:35.210Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 17 04:48 .. [2022-03-17T04:56:35.210Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 17 04:48 cost [2022-03-17T04:56:35.211Z] -rw-r--r-- 1 jenkins jenkins 85 Mar 17 04:48 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-03-17T04:56:35.512Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-17T04:56:36.378Z] ---> package-listing.sh [2022-03-17T04:56:36.378Z] ++ facter osfamily [2022-03-17T04:56:36.378Z] ++ tr '[:upper:]' '[:lower:]' [2022-03-17T04:56:36.639Z] + OS_FAMILY=debian [2022-03-17T04:56:36.639Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1107 [2022-03-17T04:56:36.639Z] + START_PACKAGES=/tmp/packages_start.txt [2022-03-17T04:56:36.639Z] + END_PACKAGES=/tmp/packages_end.txt [2022-03-17T04:56:36.639Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-03-17T04:56:36.639Z] + PACKAGES=/tmp/packages_start.txt [2022-03-17T04:56:36.639Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1107 ']' [2022-03-17T04:56:36.639Z] + PACKAGES=/tmp/packages_end.txt [2022-03-17T04:56:36.639Z] + case "${OS_FAMILY}" in [2022-03-17T04:56:36.639Z] + dpkg -l [2022-03-17T04:56:36.639Z] + grep '^ii' [2022-03-17T04:56:36.639Z] + '[' -f /tmp/packages_start.txt ']' [2022-03-17T04:56:36.639Z] + '[' -f /tmp/packages_end.txt ']' [2022-03-17T04:56:36.639Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-03-17T04:56:36.639Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1107 ']' [2022-03-17T04:56:36.639Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1107/archives/ [2022-03-17T04:56:36.640Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1107/archives/ [Pipeline] echo [2022-03-17T04:56:36.654Z] 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-1107/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-03-17T04:56:36.938Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-03-17T04:56:37.494Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-03-17T04:56:37.494Z] . [Pipeline] withDockerContainer [2022-03-17T04:56:37.565Z] prd-ubuntu20.04-docker-8c-8g-7775 does not seem to be running inside a container [2022-03-17T04:56:37.612Z] $ 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-1107/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-1107 -v /w/workspace/gexfoundry_device-sdk-go_PR-1107:/w/workspace/gexfoundry_device-sdk-go_PR-1107:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1107@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1107@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-03-17T04:56:37.838Z] $ docker top f784832ec755fa0e96013f3227f89be208daebd1929c4bdb8d73f68e893e4087 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-03-17T04:56:38.185Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-03-17T04:56:38.473Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-03-17T04:56:38.763Z] + ls /var/log/sa-host [2022-03-17T04:56:38.763Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-03-17T04:56:38.860Z] provisioning config files... [2022-03-17T04:56:38.868Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1107@tmp/config2101294449936305037tmp [Pipeline] { [Pipeline] echo [2022-03-17T04:56:38.884Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-17T04:56:39.170Z] ---> create-netrc.sh [Pipeline] } [2022-03-17T04:56:39.178Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-03-17T04:56:39.522Z] ---> python-tools-install.sh [Pipeline] echo [2022-03-17T04:56:39.532Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-17T04:56:39.822Z] ---> sudo-logs.sh [2022-03-17T04:56:39.822Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-03-17T04:56:39.850Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-17T04:56:40.138Z] ---> job-cost.sh [2022-03-17T04:56:40.138Z] lf-activate-venv: SKIPPING [2022-03-17T04:56:40.138Z] DEBUG: total: 0.2199999988079071 [2022-03-17T04:56:40.138Z] INFO: Retrieving Stack Cost... [2022-03-17T04:56:40.399Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-03-17T04:56:40.970Z] INFO: Archiving Costs [Pipeline] echo [2022-03-17T04:56:40.985Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-17T04:56:41.273Z] ---> logs-deploy.sh [2022-03-17T04:56:41.273Z] lf-activate-venv: SKIPPING [2022-03-17T04:56:41.273Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1107/3 [2022-03-17T04:56:41.273Z] INFO: archiving workspace using pattern(s): [2022-03-17T04:56:42.217Z] Archives upload complete. [2022-03-17T04:56:42.217Z] INFO: archiving logs to Nexus