Pull request #1125 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of jpwhitemn for edgexfoundry/device-sdk-go Obtained Jenkinsfile from da52579f54110f8d2333392ff37538d74be012fa+71f09d1ab0705056f5c82f36890c48cdd3d80cce (53a8492567188b17af25cbb5870cdae865e6fb9e) 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-ssh17432816802505705625.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-ssh3775877232355898878.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 Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1125/workspace@libs/edgex-global-pipelines # timeout=10 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-1125/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh5919091158373247115.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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-1125/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh5040894380933743503.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 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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-ssh230479998479043172.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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1125/workspace@libs/lf-pipelines # timeout=10 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-1125/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh6644174319986047143.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 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-11600’ Running on prd-ubuntu20.04-docker-8c-8g-11602 in /w/workspace/gexfoundry_device-sdk-go_PR-1125 [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-1125 # 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 71f09d1ab0705056f5c82f36890c48cdd3d80cce into PR head commit da52579f54110f8d2333392ff37538d74be012fa Merge succeeded, producing da52579f54110f8d2333392ff37538d74be012fa Checking out Revision da52579f54110f8d2333392ff37538d74be012fa (PR-1125) > 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/1125/head:refs/remotes/origin/PR-1125 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f da52579f54110f8d2333392ff37538d74be012fa # 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 71f09d1ab0705056f5c82f36890c48cdd3d80cce # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f da52579f54110f8d2333392ff37538d74be012fa # timeout=10 Commit message: "feat: enable security hardening" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-04-08T18:38:21.649Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-04-08T18:38:21.827Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-04-08T18:38:21.928Z] ========================================================= [2022-04-08T18:38:21.928Z] EdgeX Global Pipelines Version Info [2022-04-08T18:38:21.928Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-04-08T18:38:22.772Z] ------------------- [2022-04-08T18:38:22.772Z] stable info: [2022-04-08T18:38:22.772Z] ------------------- [2022-04-08T18:38:22.772Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-04-08T18:38:22.772Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-04-08T18:38:22.772Z] Message: update stable to v1.0.221 [2022-04-08T18:38:23.344Z] ------------------- [2022-04-08T18:38:23.344Z] experimental info: [2022-04-08T18:38:23.344Z] ------------------- [2022-04-08T18:38:23.344Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-04-08T18:38:23.344Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-04-08T18:38:23.344Z] Message: update experimental to v1.0.221 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-04-08T18:38:23.598Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2022-04-08T18:38:23.639Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2022-04-08T18:38:23.681Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-04-08T18:38:23.720Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-04-08T18:38:23.765Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-04-08T18:38:23.806Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-04-08T18:38:23.851Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-04-08T18:38:23.892Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2022-04-08T18:38:23.934Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-04-08T18:38:23.995Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-04-08T18:38:24.038Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-04-08T18:38:24.085Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2022-04-08T18:38:24.134Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-04-08T18:38:24.178Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-04-08T18:38:24.217Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-04-08T18:38:24.349Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2022-04-08T18:38:24.395Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-04-08T18:38:24.441Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-04-08T18:38:24.481Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-04-08T18:38:24.523Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-04-08T18:38:24.573Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-04-08T18:38:24.617Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2022-04-08T18:38:24.660Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-04-08T18:38:24.696Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-04-08T18:38:24.734Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-04-08T18:38:24.770Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-04-08T18:38:24.811Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1125 [Pipeline] echo [2022-04-08T18:38:24.857Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1125 [Pipeline] echo [2022-04-08T18:38:24.904Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1125 [Pipeline] echo [2022-04-08T18:38:24.947Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = da52579f54110f8d2333392ff37538d74be012fa [Pipeline] echo [2022-04-08T18:38:25.040Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = da52579 [Pipeline] echo [2022-04-08T18:38:25.087Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-08T18:38:25.212Z] provisioning config files... [2022-04-08T18:38:25.228Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1125@tmp/config8453846945133151298tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-08T18:38:25.578Z] ---> docker-login.sh [2022-04-08T18:38:25.578Z] nexus3.edgexfoundry.org:10001 [2022-04-08T18:38:25.840Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-08T18:38:25.840Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-08T18:38:25.840Z] Configure a credential helper to remove this warning. See [2022-04-08T18:38:25.840Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-08T18:38:25.840Z] [2022-04-08T18:38:25.840Z] Login Succeeded [2022-04-08T18:38:25.840Z] nexus3.edgexfoundry.org:10002 [2022-04-08T18:38:26.102Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-08T18:38:26.102Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-08T18:38:26.102Z] Configure a credential helper to remove this warning. See [2022-04-08T18:38:26.102Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-08T18:38:26.102Z] [2022-04-08T18:38:26.102Z] Login Succeeded [2022-04-08T18:38:26.102Z] nexus3.edgexfoundry.org:10003 [2022-04-08T18:38:26.102Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-08T18:38:26.102Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-08T18:38:26.102Z] Configure a credential helper to remove this warning. See [2022-04-08T18:38:26.102Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-08T18:38:26.102Z] [2022-04-08T18:38:26.102Z] Login Succeeded [2022-04-08T18:38:26.102Z] nexus3.edgexfoundry.org:10004 [2022-04-08T18:38:26.364Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-08T18:38:26.364Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-08T18:38:26.364Z] Configure a credential helper to remove this warning. See [2022-04-08T18:38:26.364Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-08T18:38:26.364Z] [2022-04-08T18:38:26.364Z] Login Succeeded [2022-04-08T18:38:26.364Z] docker.io [2022-04-08T18:38:26.364Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-08T18:38:26.937Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-08T18:38:26.937Z] Configure a credential helper to remove this warning. See [2022-04-08T18:38:26.937Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-08T18:38:26.937Z] [2022-04-08T18:38:26.937Z] Login Succeeded [2022-04-08T18:38:26.937Z] ---> docker-login.sh ends [Pipeline] } [2022-04-08T18:38:26.964Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-04-08T18:38:27.583Z] + git rev-list -1 --merges da52579f54110f8d2333392ff37538d74be012fa~1..da52579f54110f8d2333392ff37538d74be012fa [Pipeline] echo [2022-04-08T18:38:27.631Z] -----------> git rev-list -1 --merges da52579f54110f8d2333392ff37538d74be012fa~1..da52579f54110f8d2333392ff37538d74be012fa da52579f54110f8d2333392ff37538d74be012fa [false] [Pipeline] sh [2022-04-08T18:38:27.945Z] + git log --format=format:%s -1 da52579f54110f8d2333392ff37538d74be012fa [Pipeline] echo [2022-04-08T18:38:27.981Z] ========================================================= [2022-04-08T18:38:27.981Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-04-08T18:38:27.981Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-08T18:38:28.415Z] + git log --format=format:%s -1 da52579f54110f8d2333392ff37538d74be012fa [Pipeline] echo [2022-04-08T18:38:28.454Z] [semverPrep] GIT_COMMIT: da52579f54110f8d2333392ff37538d74be012fa, Commit Message: feat: enable security hardening [Pipeline] echo [2022-04-08T18:38:28.484Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-04-08T18:38:28.892Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-08T18:38:28.892Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-04-08T18:38:28.892Z] + [ -e /tmp/ssh_known_hosts ] [2022-04-08T18:38:28.892Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-04-08T18:38:28.892Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-04-08T18:38:28.892Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-04-08T18:38:28.892Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-08T18:38:29.278Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-08T18:38:29.278Z] [2022-04-08T18:38:29.278Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-04-08T18:38:29.653Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-08T18:38:29.653Z] latest: Pulling from edgex-devops/git-semver [2022-04-08T18:38:29.653Z] a0d0a0d46f8b: Pulling fs layer [2022-04-08T18:38:29.653Z] 3e5f54012d9b: Pulling fs layer [2022-04-08T18:38:29.653Z] 4c7163046ea9: Pulling fs layer [2022-04-08T18:38:29.653Z] 0c2d73faf560: Pulling fs layer [2022-04-08T18:38:29.653Z] 0c2d73faf560: Waiting [2022-04-08T18:38:29.653Z] 3e5f54012d9b: Verifying Checksum [2022-04-08T18:38:29.653Z] 3e5f54012d9b: Download complete [2022-04-08T18:38:29.653Z] a0d0a0d46f8b: Download complete [2022-04-08T18:38:29.653Z] 0c2d73faf560: Verifying Checksum [2022-04-08T18:38:29.653Z] 0c2d73faf560: Download complete [2022-04-08T18:38:29.653Z] 4c7163046ea9: Download complete [2022-04-08T18:38:29.914Z] a0d0a0d46f8b: Pull complete [2022-04-08T18:38:29.914Z] 3e5f54012d9b: Pull complete [2022-04-08T18:38:30.176Z] 4c7163046ea9: Pull complete [2022-04-08T18:38:30.438Z] 0c2d73faf560: Pull complete [2022-04-08T18:38:30.438Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-04-08T18:38:30.438Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-08T18:38:30.438Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-04-08T18:38:30.536Z] prd-ubuntu20.04-docker-8c-8g-11602 does not seem to be running inside a container [2022-04-08T18:38:30.578Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1125 -v /w/workspace/gexfoundry_device-sdk-go_PR-1125:/w/workspace/gexfoundry_device-sdk-go_PR-1125:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1125@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1125@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-04-08T18:38:31.250Z] $ docker top 1c36ab6c690f791bbee7923877ad7ec6f9c1d85f224bc8d1d342a3f1c2168e51 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-08T18:38:31.473Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-08T18:38:31.473Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-08T18:38:31.605Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-08T18:38:31.614Z] $ docker exec 1c36ab6c690f791bbee7923877ad7ec6f9c1d85f224bc8d1d342a3f1c2168e51 ssh-agent [2022-04-08T18:38:31.723Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXIpLcng/agent.14 [2022-04-08T18:38:31.723Z] SSH_AGENT_PID=20 [2022-04-08T18:38:31.731Z] Running ssh-add (command line suppressed) [2022-04-08T18:38:31.858Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1125@tmp/private_key_3585313350024916655.key (/w/workspace/gexfoundry_device-sdk-go_PR-1125@tmp/private_key_3585313350024916655.key) [2022-04-08T18:38:31.869Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-08T18:38:32.216Z] + git tag --points-at HEAD [Pipeline] } [2022-04-08T18:38:32.247Z] $ docker exec --env ******** --env ******** 1c36ab6c690f791bbee7923877ad7ec6f9c1d85f224bc8d1d342a3f1c2168e51 ssh-agent -k [2022-04-08T18:38:32.365Z] unset SSH_AUTH_SOCK; [2022-04-08T18:38:32.366Z] unset SSH_AGENT_PID; [2022-04-08T18:38:32.366Z] echo Agent pid 20 killed; [2022-04-08T18:38:32.378Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-04-08T18:38:32.466Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-08T18:38:32.466Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-08T18:38:32.595Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-08T18:38:32.605Z] $ docker exec 1c36ab6c690f791bbee7923877ad7ec6f9c1d85f224bc8d1d342a3f1c2168e51 ssh-agent [2022-04-08T18:38:32.721Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXLpDIFL/agent.53 [2022-04-08T18:38:32.721Z] SSH_AGENT_PID=59 [2022-04-08T18:38:32.726Z] Running ssh-add (command line suppressed) [2022-04-08T18:38:32.844Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1125@tmp/private_key_5417786923676519680.key (/w/workspace/gexfoundry_device-sdk-go_PR-1125@tmp/private_key_5417786923676519680.key) [2022-04-08T18:38:32.854Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-08T18:38:33.191Z] + git semver init [2022-04-08T18:38:33.191Z] # -> Open(): unable to determine branch for HEAD [2022-04-08T18:38:33.191Z] # $GIT_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1125/.git [2022-04-08T18:38:33.191Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-sdk-go_PR-1125 [2022-04-08T18:38:33.191Z] # $SEMVER_REMOTE_NAME = origin [2022-04-08T18:38:33.191Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-04-08T18:38:33.191Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-04-08T18:38:33.191Z] # $SEMVER_BRANCH = PR-1125 [2022-04-08T18:38:33.191Z] # $SEMVER_TEMP = /tmp/semver-750030833 [2022-04-08T18:38:33.191Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2022-04-08T18:38:34.135Z] # '/tmp/semver-750030833' -> '/w/workspace/gexfoundry_device-sdk-go_PR-1125/.semver' [2022-04-08T18:38:34.135Z] # -> Force: false [2022-04-08T18:38:34.135Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1125/.semver [Pipeline] } [2022-04-08T18:38:34.166Z] $ docker exec --env ******** --env ******** 1c36ab6c690f791bbee7923877ad7ec6f9c1d85f224bc8d1d342a3f1c2168e51 ssh-agent -k [2022-04-08T18:38:34.281Z] unset SSH_AUTH_SOCK; [2022-04-08T18:38:34.281Z] unset SSH_AGENT_PID; [2022-04-08T18:38:34.281Z] echo Agent pid 59 killed; [2022-04-08T18:38:34.291Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-08T18:38:34.732Z] + git semver [Pipeline] } [2022-04-08T18:38:34.771Z] $ docker stop --time=1 1c36ab6c690f791bbee7923877ad7ec6f9c1d85f224bc8d1d342a3f1c2168e51 [2022-04-08T18:38:36.130Z] $ docker rm -f 1c36ab6c690f791bbee7923877ad7ec6f9c1d85f224bc8d1d342a3f1c2168e51 [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-08T18:38:36.560Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-04-08T18:38:36.842Z] Stashed 1 file(s) [Pipeline] echo [2022-04-08T18:38:36.861Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-08T18:38:37.435Z] provisioning config files... [2022-04-08T18:38:37.447Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1125@tmp/config9129383295577846824tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-08T18:38:37.802Z] ---> docker-login.sh [2022-04-08T18:38:37.802Z] nexus3.edgexfoundry.org:10001 [2022-04-08T18:38:37.802Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-08T18:38:37.802Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-08T18:38:37.802Z] Configure a credential helper to remove this warning. See [2022-04-08T18:38:37.802Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-08T18:38:37.802Z] [2022-04-08T18:38:37.802Z] Login Succeeded [2022-04-08T18:38:37.802Z] nexus3.edgexfoundry.org:10002 [2022-04-08T18:38:37.802Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-08T18:38:38.061Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-08T18:38:38.061Z] Configure a credential helper to remove this warning. See [2022-04-08T18:38:38.061Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-08T18:38:38.061Z] [2022-04-08T18:38:38.061Z] Login Succeeded [2022-04-08T18:38:38.061Z] nexus3.edgexfoundry.org:10003 [2022-04-08T18:38:38.061Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-08T18:38:38.061Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-08T18:38:38.061Z] Configure a credential helper to remove this warning. See [2022-04-08T18:38:38.061Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-08T18:38:38.061Z] [2022-04-08T18:38:38.061Z] Login Succeeded [2022-04-08T18:38:38.061Z] nexus3.edgexfoundry.org:10004 [2022-04-08T18:38:38.061Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-08T18:38:38.326Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-08T18:38:38.326Z] Configure a credential helper to remove this warning. See [2022-04-08T18:38:38.326Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-08T18:38:38.326Z] [2022-04-08T18:38:38.326Z] Login Succeeded [2022-04-08T18:38:38.326Z] docker.io [2022-04-08T18:38:38.326Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-08T18:38:38.588Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-08T18:38:38.589Z] Configure a credential helper to remove this warning. See [2022-04-08T18:38:38.589Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-08T18:38:38.589Z] [2022-04-08T18:38:38.589Z] Login Succeeded [2022-04-08T18:38:38.589Z] ---> docker-login.sh ends [Pipeline] } [2022-04-08T18:38:38.619Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-08T18:38:38.821Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-08T18:38:38.857Z] ========================================================= [2022-04-08T18:38:38.857Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-04-08T18:38:38.857Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-08T18:38:39.270Z] + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-04-08T18:38:39.270Z] Sending build context to Docker daemon 9.572MB [2022-04-08T18:38:39.271Z] Step 1/11 : ARG BASE=golang:1.17-alpine3.15 [2022-04-08T18:38:39.271Z] Step 2/11 : FROM ${BASE} AS builder [2022-04-08T18:38:39.540Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-04-08T18:38:39.540Z] 59bf1c3509f3: Pulling fs layer [2022-04-08T18:38:39.540Z] 666ba61612fd: Pulling fs layer [2022-04-08T18:38:39.540Z] 8ed8ca486205: Pulling fs layer [2022-04-08T18:38:39.540Z] 4fe6c5a15a65: Pulling fs layer [2022-04-08T18:38:39.540Z] 22a0e8bec74d: Pulling fs layer [2022-04-08T18:38:39.540Z] 640e595b4fbd: Pulling fs layer [2022-04-08T18:38:39.540Z] 763cafe07f6e: Pulling fs layer [2022-04-08T18:38:39.540Z] 0c0b528cf693: Pulling fs layer [2022-04-08T18:38:39.540Z] 10935f4eaf8b: Pulling fs layer [2022-04-08T18:38:39.540Z] 0c0b528cf693: Waiting [2022-04-08T18:38:39.540Z] 10935f4eaf8b: Waiting [2022-04-08T18:38:39.540Z] 4fe6c5a15a65: Waiting [2022-04-08T18:38:39.540Z] 22a0e8bec74d: Waiting [2022-04-08T18:38:39.540Z] 640e595b4fbd: Waiting [2022-04-08T18:38:39.540Z] 763cafe07f6e: Waiting [2022-04-08T18:38:39.540Z] 8ed8ca486205: Download complete [2022-04-08T18:38:39.540Z] 666ba61612fd: Download complete [2022-04-08T18:38:39.540Z] 22a0e8bec74d: Download complete [2022-04-08T18:38:39.540Z] 640e595b4fbd: Verifying Checksum [2022-04-08T18:38:39.540Z] 640e595b4fbd: Download complete [2022-04-08T18:38:39.540Z] 59bf1c3509f3: Verifying Checksum [2022-04-08T18:38:39.540Z] 763cafe07f6e: Verifying Checksum [2022-04-08T18:38:39.540Z] 763cafe07f6e: Download complete [2022-04-08T18:38:39.540Z] 0c0b528cf693: Verifying Checksum [2022-04-08T18:38:39.540Z] 0c0b528cf693: Download complete [2022-04-08T18:38:39.801Z] 59bf1c3509f3: Pull complete [2022-04-08T18:38:39.801Z] 666ba61612fd: Pull complete [2022-04-08T18:38:40.061Z] 8ed8ca486205: Pull complete [2022-04-08T18:38:40.061Z] 10935f4eaf8b: Verifying Checksum [2022-04-08T18:38:40.061Z] 10935f4eaf8b: Download complete [2022-04-08T18:38:40.321Z] 4fe6c5a15a65: Verifying Checksum [2022-04-08T18:38:40.321Z] 4fe6c5a15a65: Download complete [2022-04-08T18:38:44.532Z] 4fe6c5a15a65: Pull complete [2022-04-08T18:38:44.532Z] 22a0e8bec74d: Pull complete [2022-04-08T18:38:44.532Z] 640e595b4fbd: Pull complete [2022-04-08T18:38:44.532Z] 763cafe07f6e: Pull complete [2022-04-08T18:38:44.792Z] 0c0b528cf693: Pull complete [2022-04-08T18:38:47.329Z] 10935f4eaf8b: Pull complete [2022-04-08T18:38:47.329Z] Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 [2022-04-08T18:38:47.329Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-04-08T18:38:47.329Z] ---> 99d49a6021b9 [2022-04-08T18:38:47.329Z] Step 3/11 : ARG MAKE=make build [2022-04-08T18:38:48.274Z] ---> Running in 368cf3e41dbe [2022-04-08T18:38:48.274Z] Removing intermediate container 368cf3e41dbe [2022-04-08T18:38:48.274Z] ---> 210bd403990e [2022-04-08T18:38:48.274Z] Step 4/11 : WORKDIR /device-sdk-go [2022-04-08T18:38:48.274Z] ---> Running in 40c221575d45 [2022-04-08T18:38:48.536Z] Removing intermediate container 40c221575d45 [2022-04-08T18:38:48.536Z] ---> c44c2889bcd4 [2022-04-08T18:38:48.536Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-04-08T18:38:48.536Z] ---> Running in 90e7b7991004 [2022-04-08T18:38:48.536Z] Removing intermediate container 90e7b7991004 [2022-04-08T18:38:48.536Z] ---> e9d937c9f888 [2022-04-08T18:38:48.536Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-08T18:38:48.536Z] ---> Running in de397902b592 [2022-04-08T18:38:49.115Z] Removing intermediate container de397902b592 [2022-04-08T18:38:49.116Z] ---> 97f4f1b1da8f [2022-04-08T18:38:49.116Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-04-08T18:38:49.378Z] ---> Running in 8a5eb42335af [2022-04-08T18:38:49.640Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-08T18:38:50.588Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-08T18:38:50.856Z] OK: 221 MiB in 52 packages [2022-04-08T18:38:51.119Z] Removing intermediate container 8a5eb42335af [2022-04-08T18:38:51.119Z] ---> 71516726b7a2 [2022-04-08T18:38:51.119Z] Step 8/11 : COPY go.mod vendor* ./ [2022-04-08T18:38:51.379Z] ---> 2be9b8afd873 [2022-04-08T18:38:51.379Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-08T18:38:51.379Z] ---> Running in 2131e7db437b [2022-04-08T18:38:52.264Z] Still waiting to schedule task [2022-04-08T18:38:52.264Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-11601’ is offline [2022-04-08T18:39:06.291Z] Removing intermediate container 2131e7db437b [2022-04-08T18:39:06.291Z] ---> 796bc4e7f246 [2022-04-08T18:39:06.291Z] Step 10/11 : COPY . . [2022-04-08T18:39:06.291Z] ---> 650d1416f2ab [2022-04-08T18:39:06.291Z] Step 11/11 : RUN ${MAKE} [2022-04-08T18:39:06.291Z] ---> Running in 395a38eb00d4 [2022-04-08T18:39:06.291Z] noop [2022-04-08T18:39:06.291Z] Removing intermediate container 395a38eb00d4 [2022-04-08T18:39:06.291Z] ---> de10fa95d8f6 [2022-04-08T18:39:06.291Z] Successfully built de10fa95d8f6 [2022-04-08T18:39:06.291Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-08T18:39:06.624Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-08T18:39:06.624Z] . [Pipeline] withDockerContainer [2022-04-08T18:39:06.723Z] prd-ubuntu20.04-docker-8c-8g-11602 does not seem to be running inside a container [2022-04-08T18:39:06.766Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1125 -v /w/workspace/gexfoundry_device-sdk-go_PR-1125:/w/workspace/gexfoundry_device-sdk-go_PR-1125:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1125@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1125@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-04-08T18:39:07.160Z] $ docker top fa0c4989a5836d937f4a79e59d23f012a51d704b24bf6dbc2e5c3fc0a745a9b8 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-08T18:39:07.612Z] + go version [2022-04-08T18:39:07.612Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-04-08T18:39:07.693Z] $ docker stop --time=1 fa0c4989a5836d937f4a79e59d23f012a51d704b24bf6dbc2e5c3fc0a745a9b8 [2022-04-08T18:39:09.055Z] $ docker rm -f fa0c4989a5836d937f4a79e59d23f012a51d704b24bf6dbc2e5c3fc0a745a9b8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-08T18:39:09.739Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-08T18:39:09.739Z] . [Pipeline] withDockerContainer [2022-04-08T18:39:09.828Z] prd-ubuntu20.04-docker-8c-8g-11602 does not seem to be running inside a container [2022-04-08T18:39:09.866Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1125 -v /w/workspace/gexfoundry_device-sdk-go_PR-1125:/w/workspace/gexfoundry_device-sdk-go_PR-1125:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1125@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1125@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-04-08T18:39:10.260Z] $ docker top 9338b06937663a84fe21859ffbbe1b6f30b1291504a22c37538d3008b59e0fbd -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-08T18:39:10.705Z] + make test [2022-04-08T18:39:10.705Z] GO111MODULE=on go test -coverprofile=coverage.out ./... [2022-04-08T18:39:10.967Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-04-08T18:39:20.956Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-04-08T18:39:20.956Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-04-08T18:39:20.956Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-04-08T18:39:21.217Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.018s coverage: 23.3% of statements [2022-04-08T18:39:21.217Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-04-08T18:39:21.217Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.019s coverage: 27.6% of statements [2022-04-08T18:39:21.217Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.013s coverage: 78.9% of statements [2022-04-08T18:39:21.217Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.019s coverage: 10.8% of statements [2022-04-08T18:39:21.217Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2022-04-08T18:39:21.217Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-04-08T18:39:21.217Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-04-08T18:39:21.217Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.012s coverage: 33.2% of statements [2022-04-08T18:39:21.217Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-04-08T18:39:21.787Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.017s coverage: 86.1% of statements [2022-04-08T18:39:21.787Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-04-08T18:39:21.787Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-04-08T18:39:21.787Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.023s coverage: 57.4% of statements [2022-04-08T18:39:21.787Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.036s coverage: 89.2% of statements [2022-04-08T18:39:21.787Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-04-08T18:39:21.787Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.016s coverage: 4.8% of statements [2022-04-08T18:39:21.787Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-04-08T18:39:28.362Z] GO111MODULE=on go vet ./... [2022-04-08T18:39:32.563Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-08T18:39:32.563Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-08T18:39:32.563Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-04-08T18:39:33.534Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-04-08T18:39:33.569Z] $ docker stop --time=1 9338b06937663a84fe21859ffbbe1b6f30b1291504a22c37538d3008b59e0fbd [2022-04-08T18:39:35.345Z] $ docker rm -f 9338b06937663a84fe21859ffbbe1b6f30b1291504a22c37538d3008b59e0fbd [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-08T18:39:35.864Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-04-08T18:39:35.954Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-04-08T18:39:37.112Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-04-08T18:39:37.427Z] + ls -al . [2022-04-08T18:39:37.427Z] total 296 [2022-04-08T18:39:37.427Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 8 18:39 . [2022-04-08T18:39:37.427Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 8 18:38 .. [2022-04-08T18:39:37.427Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 8 18:38 .dockerignore [2022-04-08T18:39:37.427Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 8 18:38 .git [2022-04-08T18:39:37.427Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 8 18:38 .github [2022-04-08T18:39:37.427Z] -rw-rw-r-- 1 jenkins jenkins 131 Apr 8 18:38 .gitignore [2022-04-08T18:39:37.427Z] -rw-rw-r-- 1 jenkins jenkins 42 Apr 8 18:38 .golangci.yml [2022-04-08T18:39:37.427Z] drwx------ 3 jenkins jenkins 4096 Apr 8 18:38 .semver [2022-04-08T18:39:37.427Z] -rw-rw-r-- 1 jenkins jenkins 26321 Apr 8 18:38 CHANGELOG.md [2022-04-08T18:39:37.427Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 8 18:38 GOVERNANCE.md [2022-04-08T18:39:37.427Z] -rw-rw-r-- 1 jenkins jenkins 880 Apr 8 18:38 Jenkinsfile [2022-04-08T18:39:37.427Z] -rw-rw-r-- 1 jenkins jenkins 11341 Apr 8 18:38 LICENSE [2022-04-08T18:39:37.427Z] -rw-rw-r-- 1 jenkins jenkins 2016 Apr 8 18:38 Makefile [2022-04-08T18:39:37.427Z] -rw-rw-r-- 1 jenkins jenkins 619 Apr 8 18:38 OWNERS.md [2022-04-08T18:39:37.427Z] -rw-rw-r-- 1 jenkins jenkins 4881 Apr 8 18:38 README.md [2022-04-08T18:39:37.427Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 8 18:38 VERSION [2022-04-08T18:39:37.427Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 8 18:38 bin [2022-04-08T18:39:37.427Z] -rw-r--r-- 1 jenkins jenkins 129001 Apr 8 18:39 coverage.out [2022-04-08T18:39:37.427Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 8 18:38 example [2022-04-08T18:39:37.427Z] -rw-rw-r-- 1 jenkins jenkins 3105 Apr 8 18:38 go.mod [2022-04-08T18:39:37.427Z] -rw-rw-r-- 1 jenkins jenkins 34435 Apr 8 18:38 go.sum [2022-04-08T18:39:37.427Z] drwxrwxr-x 15 jenkins jenkins 4096 Apr 8 18:38 internal [2022-04-08T18:39:37.427Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 8 18:38 openapi [2022-04-08T18:39:37.427Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 8 18:38 pkg [2022-04-08T18:39:37.427Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 8 18:38 snap [2022-04-08T18:39:37.427Z] -rw-rw-r-- 1 jenkins jenkins 222 Apr 8 18:38 version.go [Pipeline] isUnix [Pipeline] sh [2022-04-08T18:39:37.760Z] + 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=da52579f54110f8d2333392ff37538d74be012fa --label arch=amd64 --label version=0.0.0 . [2022-04-08T18:39:37.760Z] Sending build context to Docker daemon 9.701MB [2022-04-08T18:39:37.760Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-04-08T18:39:37.760Z] Step 2/25 : FROM ${BASE} AS builder [2022-04-08T18:39:37.760Z] ---> de10fa95d8f6 [2022-04-08T18:39:37.760Z] Step 3/25 : ARG MAKE=make build [2022-04-08T18:39:38.020Z] ---> Running in b546ade75ef0 [2022-04-08T18:39:38.020Z] Removing intermediate container b546ade75ef0 [2022-04-08T18:39:38.020Z] ---> cd202d779e13 [2022-04-08T18:39:38.020Z] Step 4/25 : WORKDIR /device-sdk-go [2022-04-08T18:39:38.020Z] ---> Running in f46b471a7471 [2022-04-08T18:39:38.020Z] Removing intermediate container f46b471a7471 [2022-04-08T18:39:38.020Z] ---> 9ce714074bb4 [2022-04-08T18:39:38.020Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-04-08T18:39:38.283Z] ---> Running in 309bc46e6975 [2022-04-08T18:39:38.283Z] Removing intermediate container 309bc46e6975 [2022-04-08T18:39:38.283Z] ---> 9aeed3404980 [2022-04-08T18:39:38.283Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-08T18:39:38.283Z] ---> Running in 5f0c6299bf8a [2022-04-08T18:39:38.855Z] Removing intermediate container 5f0c6299bf8a [2022-04-08T18:39:38.855Z] ---> 5de8e8e111fa [2022-04-08T18:39:38.855Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-04-08T18:39:38.855Z] ---> Running in 64a9aef58fe0 [2022-04-08T18:39:39.115Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-08T18:39:40.063Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-08T18:39:40.323Z] OK: 221 MiB in 52 packages [2022-04-08T18:39:40.584Z] Removing intermediate container 64a9aef58fe0 [2022-04-08T18:39:40.584Z] ---> c42fcca38d3e [2022-04-08T18:39:40.584Z] Step 8/25 : COPY go.mod vendor* ./ [2022-04-08T18:39:40.846Z] ---> 3c9f38fe5c18 [2022-04-08T18:39:40.846Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-08T18:39:40.846Z] ---> Running in e7edced8d81e [2022-04-08T18:39:41.428Z] Removing intermediate container e7edced8d81e [2022-04-08T18:39:41.428Z] ---> 7f57e77957e1 [2022-04-08T18:39:41.428Z] Step 10/25 : COPY . . [2022-04-08T18:39:42.000Z] ---> 99337610a8ff [2022-04-08T18:39:42.000Z] Step 11/25 : RUN ${MAKE} [2022-04-08T18:39:42.000Z] ---> Running in 99a731c56cc2 [2022-04-08T18:39:42.261Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2022-04-08T18:40:00.397Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-04-08T18:40:00.658Z] Removing intermediate container 99a731c56cc2 [2022-04-08T18:40:00.658Z] ---> a00362ba577e [2022-04-08T18:40:00.658Z] Step 12/25 : FROM alpine:3.14 [2022-04-08T18:40:01.633Z] 3.14: Pulling from library/alpine [2022-04-08T18:40:01.633Z] 8663204ce13b: Pulling fs layer [2022-04-08T18:40:01.923Z] 8663204ce13b: Verifying Checksum [2022-04-08T18:40:01.923Z] 8663204ce13b: Download complete [2022-04-08T18:40:01.923Z] 8663204ce13b: Pull complete [2022-04-08T18:40:01.923Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-04-08T18:40:01.923Z] Status: Downloaded newer image for alpine:3.14 [2022-04-08T18:40:01.923Z] ---> e04c818066af [2022-04-08T18:40:01.923Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-04-08T18:40:02.197Z] ---> Running in 87c21d65ca25 [2022-04-08T18:40:02.197Z] Removing intermediate container 87c21d65ca25 [2022-04-08T18:40:02.197Z] ---> e62e5782ac1a [2022-04-08T18:40:02.197Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-08T18:40:02.197Z] ---> Running in 68ea79b66514 [2022-04-08T18:40:02.814Z] Removing intermediate container 68ea79b66514 [2022-04-08T18:40:02.814Z] ---> 760c1c34e658 [2022-04-08T18:40:02.814Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-04-08T18:40:02.814Z] ---> Running in 082c5feab245 [2022-04-08T18:40:03.095Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-04-08T18:40:04.073Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-04-08T18:40:04.073Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2022-04-08T18:40:04.353Z] (2/5) Installing libsodium (1.0.18-r0) [2022-04-08T18:40:04.353Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2022-04-08T18:40:04.633Z] (4/5) Installing libzmq (4.3.4-r0) [2022-04-08T18:40:04.633Z] (5/5) Installing zeromq (4.3.4-r0) [2022-04-08T18:40:04.633Z] Executing busybox-1.33.1-r7.trigger [2022-04-08T18:40:04.633Z] OK: 8 MiB in 19 packages [2022-04-08T18:40:09.963Z] Removing intermediate container 082c5feab245 [2022-04-08T18:40:09.963Z] ---> af350b66c9f4 [2022-04-08T18:40:09.963Z] Step 16/25 : WORKDIR / [2022-04-08T18:40:09.963Z] ---> Running in ff2100e3422b [2022-04-08T18:40:13.362Z] Removing intermediate container ff2100e3422b [2022-04-08T18:40:13.362Z] ---> c75e9f6ffe33 [2022-04-08T18:40:13.362Z] Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-04-08T18:40:13.634Z] ---> 3b9bb63d2f04 [2022-04-08T18:40:13.634Z] Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-04-08T18:40:14.223Z] ---> c9b74e92de7a [2022-04-08T18:40:14.223Z] Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-04-08T18:40:14.223Z] ---> bfef03d8d4af [2022-04-08T18:40:14.223Z] Step 20/25 : EXPOSE 59999 [2022-04-08T18:40:14.501Z] ---> Running in c86e6bdd0e84 [2022-04-08T18:40:14.501Z] Removing intermediate container c86e6bdd0e84 [2022-04-08T18:40:14.501Z] ---> e497e2a13b5f [2022-04-08T18:40:14.501Z] Step 21/25 : ENTRYPOINT ["/device-simple"] [2022-04-08T18:40:14.501Z] ---> Running in 29b77bc82e23 [2022-04-08T18:40:14.501Z] Removing intermediate container 29b77bc82e23 [2022-04-08T18:40:14.501Z] ---> 91a8e5c3ae7b [2022-04-08T18:40:14.501Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-04-08T18:40:14.501Z] ---> Running in 2ecd2ed724f1 [2022-04-08T18:40:14.777Z] Removing intermediate container 2ecd2ed724f1 [2022-04-08T18:40:14.777Z] ---> 8213c1010f3e [2022-04-08T18:40:14.777Z] Step 23/25 : LABEL arch=amd64 [2022-04-08T18:40:14.777Z] ---> Running in e1218991176e [2022-04-08T18:40:14.777Z] Removing intermediate container e1218991176e [2022-04-08T18:40:14.777Z] ---> ccbb9228ac70 [2022-04-08T18:40:14.777Z] Step 24/25 : LABEL git_sha=da52579f54110f8d2333392ff37538d74be012fa [2022-04-08T18:40:14.777Z] ---> Running in 7d1c16ebfafe [2022-04-08T18:40:15.063Z] Removing intermediate container 7d1c16ebfafe [2022-04-08T18:40:15.063Z] ---> cc3c04b7e8c2 [2022-04-08T18:40:15.063Z] Step 25/25 : LABEL version=0.0.0 [2022-04-08T18:40:15.063Z] ---> Running in c0b17fe8616c [2022-04-08T18:40:15.063Z] Removing intermediate container c0b17fe8616c [2022-04-08T18:40:15.063Z] ---> b4cf086fea9b [2022-04-08T18:40:15.063Z] [Warning] One or more build-args [ARCH] were not consumed [2022-04-08T18:40:15.063Z] Successfully built b4cf086fea9b [2022-04-08T18:40:15.063Z] Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-08T18:40:15.860Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-08T18:40:15.860Z] [2022-04-08T18:40:15.860Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-04-08T18:40:16.233Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-08T18:40:16.233Z] latest: Pulling from edgex-lftools-log-publisher [2022-04-08T18:40:16.233Z] 5eb5b503b376: Pulling fs layer [2022-04-08T18:40:16.233Z] 5c69ac0246d0: Pulling fs layer [2022-04-08T18:40:16.233Z] ec43610c2a17: Pulling fs layer [2022-04-08T18:40:16.233Z] 3a2ae6a8a46f: Pulling fs layer [2022-04-08T18:40:16.233Z] 33b1e0a273af: Pulling fs layer [2022-04-08T18:40:16.233Z] 5d3b04190fa2: Pulling fs layer [2022-04-08T18:40:16.233Z] 2f39f015ded8: Pulling fs layer [2022-04-08T18:40:16.233Z] 3a2ae6a8a46f: Waiting [2022-04-08T18:40:16.233Z] 33b1e0a273af: Waiting [2022-04-08T18:40:16.233Z] 5d3b04190fa2: Waiting [2022-04-08T18:40:16.233Z] 2f39f015ded8: Waiting [2022-04-08T18:40:16.233Z] 5c69ac0246d0: Verifying Checksum [2022-04-08T18:40:16.233Z] 5c69ac0246d0: Download complete [2022-04-08T18:40:16.519Z] 3a2ae6a8a46f: Verifying Checksum [2022-04-08T18:40:16.519Z] 3a2ae6a8a46f: Download complete [2022-04-08T18:40:16.519Z] 33b1e0a273af: Verifying Checksum [2022-04-08T18:40:16.519Z] 33b1e0a273af: Download complete [2022-04-08T18:40:16.519Z] 5d3b04190fa2: Verifying Checksum [2022-04-08T18:40:16.519Z] 5d3b04190fa2: Download complete [2022-04-08T18:40:16.519Z] ec43610c2a17: Verifying Checksum [2022-04-08T18:40:16.519Z] ec43610c2a17: Download complete [2022-04-08T18:40:17.114Z] 5eb5b503b376: Download complete [2022-04-08T18:40:18.565Z] 5eb5b503b376: Pull complete [2022-04-08T18:40:18.565Z] 2f39f015ded8: Download complete [2022-04-08T18:40:18.565Z] 5c69ac0246d0: Pull complete [2022-04-08T18:40:19.168Z] ec43610c2a17: Pull complete [2022-04-08T18:40:19.168Z] 3a2ae6a8a46f: Pull complete [2022-04-08T18:40:19.168Z] 33b1e0a273af: Pull complete [2022-04-08T18:40:19.438Z] 5d3b04190fa2: Pull complete [2022-04-08T18:40:23.802Z] 2f39f015ded8: Pull complete [2022-04-08T18:40:23.802Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-04-08T18:40:23.802Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-08T18:40:23.802Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-04-08T18:40:23.909Z] prd-ubuntu20.04-docker-8c-8g-11602 does not seem to be running inside a container [2022-04-08T18:40:24.001Z] $ 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-1125 -v /w/workspace/gexfoundry_device-sdk-go_PR-1125:/w/workspace/gexfoundry_device-sdk-go_PR-1125:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1125@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1125@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-04-08T18:40:25.693Z] $ docker top 08889475110d206b188e93363b93dd055d18b212d6b19b8b1ba1430816500c8e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-08T18:40:26.176Z] ---> job-cost.sh [2022-04-08T18:40:26.176Z] lf-activate-venv: SKIPPING [2022-04-08T18:40:26.176Z] INFO: No Stack... [2022-04-08T18:40:26.191Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-11604 in /w/workspace/gexfoundry_device-sdk-go_PR-1125 [Pipeline] { [Pipeline] ws [2022-04-08T18:40:26.254Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2022-04-08T18:40:26.450Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-08T18:40:26.575Z] The recommended git tool is: git [2022-04-08T18:40:27.056Z] INFO: Archiving Costs [Pipeline] sh [2022-04-08T18:40:27.433Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1125/archives/cost.csv [2022-04-08T18:40:27.433Z] + cut -d, -f6 [Pipeline] lock [2022-04-08T18:40:27.473Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1125-1-stack-cost] [2022-04-08T18:40:27.477Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1125-1-stack-cost] did not exist. Created. [2022-04-08T18:40:27.477Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1125-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-08T18:40:27.897Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-04-08T18:40:27.954Z] Stashed 1 file(s) [Pipeline] } [2022-04-08T18:40:27.973Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1125-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-08T18:40:28.053Z] $ docker stop --time=1 08889475110d206b188e93363b93dd055d18b212d6b19b8b1ba1430816500c8e [2022-04-08T18:40:29.236Z] $ docker rm -f 08889475110d206b188e93363b93dd055d18b212d6b19b8b1ba1430816500c8e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-04-08T18:40:33.208Z] using credential edgex-jenkins-ssh [2022-04-08T18:40:33.238Z] Cloning the remote Git repository [2022-04-08T18:40:33.323Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2022-04-08T18:40:33.421Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2022-04-08T18:40:33.575Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-04-08T18:40:33.576Z] > git --version # timeout=10 [2022-04-08T18:40:33.620Z] > git --version # 'git version 2.25.1' [2022-04-08T18:40:33.622Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-08T18:40:33.904Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-08T18:40:36.734Z] Merging remotes/origin/main commit 71f09d1ab0705056f5c82f36890c48cdd3d80cce into PR head commit da52579f54110f8d2333392ff37538d74be012fa [2022-04-08T18:40:35.911Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-04-08T18:40:35.944Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-08T18:40:35.991Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-04-08T18:40:36.060Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-04-08T18:40:36.061Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-08T18:40:36.082Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1125/head:refs/remotes/origin/PR-1125 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-04-08T18:40:36.759Z] > git config core.sparsecheckout # timeout=10 [2022-04-08T18:40:36.796Z] > git checkout -f da52579f54110f8d2333392ff37538d74be012fa # timeout=10 [2022-04-08T18:40:37.011Z] Merge succeeded, producing da52579f54110f8d2333392ff37538d74be012fa [2022-04-08T18:40:37.012Z] Checking out Revision da52579f54110f8d2333392ff37538d74be012fa (PR-1125) [2022-04-08T18:40:36.931Z] > git remote # timeout=10 [2022-04-08T18:40:36.951Z] > git config --get remote.origin.url # timeout=10 [2022-04-08T18:40:36.964Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-08T18:40:36.976Z] > git merge 71f09d1ab0705056f5c82f36890c48cdd3d80cce # timeout=10 [2022-04-08T18:40:36.999Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-04-08T18:40:37.024Z] > git config core.sparsecheckout # timeout=10 [2022-04-08T18:40:37.063Z] > git checkout -f da52579f54110f8d2333392ff37538d74be012fa # timeout=10 [2022-04-08T18:40:41.352Z] Commit message: "feat: enable security hardening" [2022-04-08T18:40:41.413Z] > git --version # timeout=10 [2022-04-08T18:40:41.422Z] > git --version # 'git version 2.25.1' [2022-04-08T18:40:41.433Z] fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-08T18:40:42.569Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-04-08T18:40:42.569Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-08T18:40:42.569Z] Dload Upload Total Spent Left Speed [2022-04-08T18:40:42.569Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 44355 0 --:--:-- --:--:-- --:--:-- 44522 [Pipeline] sh [2022-04-08T18:40:43.370Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-04-08T18:40:43.734Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-04-08T18:40:43.734Z] + sudo tee /etc/docker/daemon.new [2022-04-08T18:40:43.734Z] { [2022-04-08T18:40:43.734Z] "registry-mirrors": [ [2022-04-08T18:40:43.734Z] "https://nexus3.edgexfoundry.org:10001" [2022-04-08T18:40:43.734Z] ], [2022-04-08T18:40:43.734Z] "bip": "10.250.0.254/24", [2022-04-08T18:40:43.734Z] "hosts": [ [2022-04-08T18:40:43.734Z] "tcp://0.0.0.0:5555", [2022-04-08T18:40:43.734Z] "unix:///var/run/docker.sock" [2022-04-08T18:40:43.734Z] ], [2022-04-08T18:40:43.734Z] "mtu": 1458, [2022-04-08T18:40:43.734Z] "selinux-enabled": true, [2022-04-08T18:40:43.734Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-04-08T18:40:43.734Z] } [Pipeline] sh [2022-04-08T18:40:44.100Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-04-08T18:40:44.472Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-08T18:41:02.945Z] provisioning config files... [2022-04-08T18:41:02.974Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config8027310522542695653tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-08T18:41:03.547Z] ---> docker-login.sh [2022-04-08T18:41:03.547Z] nexus3.edgexfoundry.org:10001 [2022-04-08T18:41:04.149Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-08T18:41:04.423Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-08T18:41:04.423Z] Configure a credential helper to remove this warning. See [2022-04-08T18:41:04.423Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-08T18:41:04.423Z] [2022-04-08T18:41:04.423Z] Login Succeeded [2022-04-08T18:41:04.423Z] nexus3.edgexfoundry.org:10002 [2022-04-08T18:41:04.698Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-08T18:41:04.978Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-08T18:41:04.978Z] Configure a credential helper to remove this warning. See [2022-04-08T18:41:04.978Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-08T18:41:04.978Z] [2022-04-08T18:41:04.978Z] Login Succeeded [2022-04-08T18:41:04.978Z] nexus3.edgexfoundry.org:10003 [2022-04-08T18:41:05.252Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-08T18:41:05.252Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-08T18:41:05.252Z] Configure a credential helper to remove this warning. See [2022-04-08T18:41:05.252Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-08T18:41:05.252Z] [2022-04-08T18:41:05.252Z] Login Succeeded [2022-04-08T18:41:05.252Z] nexus3.edgexfoundry.org:10004 [2022-04-08T18:41:05.851Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-08T18:41:05.851Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-08T18:41:05.851Z] Configure a credential helper to remove this warning. See [2022-04-08T18:41:05.851Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-08T18:41:05.851Z] [2022-04-08T18:41:05.851Z] Login Succeeded [2022-04-08T18:41:05.851Z] docker.io [2022-04-08T18:41:06.125Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-08T18:41:06.721Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-08T18:41:06.721Z] Configure a credential helper to remove this warning. See [2022-04-08T18:41:06.721Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-08T18:41:06.721Z] [2022-04-08T18:41:06.721Z] Login Succeeded [2022-04-08T18:41:06.721Z] ---> docker-login.sh ends [Pipeline] } [2022-04-08T18:41:06.750Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-08T18:41:07.121Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-08T18:41:07.159Z] ========================================================= [2022-04-08T18:41:07.159Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-04-08T18:41:07.159Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-08T18:41:07.611Z] + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-04-08T18:41:08.212Z] Sending build context to Docker daemon 5.174MB [2022-04-08T18:41:08.212Z] Step 1/11 : ARG BASE=golang:1.17-alpine3.15 [2022-04-08T18:41:08.212Z] Step 2/11 : FROM ${BASE} AS builder [2022-04-08T18:41:08.212Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-04-08T18:41:08.212Z] 9b3977197b4f: Pulling fs layer [2022-04-08T18:41:08.212Z] 1a89e8eeedd5: Pulling fs layer [2022-04-08T18:41:08.212Z] 94645a83ff95: Pulling fs layer [2022-04-08T18:41:08.212Z] 3f3a8bcf1eab: Pulling fs layer [2022-04-08T18:41:08.212Z] 0c92f367c5e7: Pulling fs layer [2022-04-08T18:41:08.212Z] f7c0051592d6: Pulling fs layer [2022-04-08T18:41:08.212Z] a227ed2f7395: Pulling fs layer [2022-04-08T18:41:08.212Z] 7b1c46037f91: Pulling fs layer [2022-04-08T18:41:08.212Z] f7c0051592d6: Waiting [2022-04-08T18:41:08.212Z] a227ed2f7395: Waiting [2022-04-08T18:41:08.212Z] 7b1c46037f91: Waiting [2022-04-08T18:41:08.212Z] 3f3a8bcf1eab: Waiting [2022-04-08T18:41:08.212Z] 0c92f367c5e7: Waiting [2022-04-08T18:41:08.212Z] 94645a83ff95: Verifying Checksum [2022-04-08T18:41:08.212Z] 94645a83ff95: Download complete [2022-04-08T18:41:08.212Z] 1a89e8eeedd5: Verifying Checksum [2022-04-08T18:41:08.212Z] 1a89e8eeedd5: Download complete [2022-04-08T18:41:08.212Z] 0c92f367c5e7: Verifying Checksum [2022-04-08T18:41:08.212Z] 0c92f367c5e7: Download complete [2022-04-08T18:41:08.212Z] f7c0051592d6: Verifying Checksum [2022-04-08T18:41:08.212Z] f7c0051592d6: Download complete [2022-04-08T18:41:08.212Z] 9b3977197b4f: Download complete [2022-04-08T18:41:08.212Z] a227ed2f7395: Verifying Checksum [2022-04-08T18:41:08.212Z] a227ed2f7395: Download complete [2022-04-08T18:41:09.209Z] 9b3977197b4f: Pull complete [2022-04-08T18:41:09.484Z] 1a89e8eeedd5: Pull complete [2022-04-08T18:41:09.761Z] 94645a83ff95: Pull complete [2022-04-08T18:41:10.363Z] 7b1c46037f91: Verifying Checksum [2022-04-08T18:41:10.363Z] 7b1c46037f91: Download complete [2022-04-08T18:41:10.973Z] 3f3a8bcf1eab: Verifying Checksum [2022-04-08T18:41:10.973Z] 3f3a8bcf1eab: Download complete [2022-04-08T18:41:23.404Z] 3f3a8bcf1eab: Pull complete [2022-04-08T18:41:23.404Z] 0c92f367c5e7: Pull complete [2022-04-08T18:41:23.404Z] f7c0051592d6: Pull complete [2022-04-08T18:41:23.404Z] a227ed2f7395: Pull complete [2022-04-08T18:41:30.119Z] 7b1c46037f91: Pull complete [2022-04-08T18:41:30.119Z] Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe [2022-04-08T18:41:30.119Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-04-08T18:41:30.119Z] ---> f79e39bc4007 [2022-04-08T18:41:30.119Z] Step 3/11 : ARG MAKE=make build [2022-04-08T18:41:30.395Z] ---> Running in 7297ea092698 [2022-04-08T18:41:30.999Z] Removing intermediate container 7297ea092698 [2022-04-08T18:41:30.999Z] ---> 2bde23b03a6e [2022-04-08T18:41:30.999Z] Step 4/11 : WORKDIR /device-sdk-go [2022-04-08T18:41:30.999Z] ---> Running in 5df1940681ab [2022-04-08T18:41:31.274Z] Removing intermediate container 5df1940681ab [2022-04-08T18:41:31.274Z] ---> 45f1468279f6 [2022-04-08T18:41:31.274Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-04-08T18:41:31.274Z] ---> Running in fee75cfeac27 [2022-04-08T18:41:31.554Z] Removing intermediate container fee75cfeac27 [2022-04-08T18:41:31.554Z] ---> 575c0c8494ca [2022-04-08T18:41:31.554Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-08T18:41:31.554Z] ---> Running in 7e1c1ab0e405 [2022-04-08T18:41:33.566Z] Removing intermediate container 7e1c1ab0e405 [2022-04-08T18:41:33.566Z] ---> 2b7357a5e85b [2022-04-08T18:41:33.566Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-04-08T18:41:33.566Z] ---> Running in f0408ec033e2 [2022-04-08T18:41:34.547Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-08T18:41:35.526Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-08T18:41:36.123Z] OK: 220 MiB in 52 packages [2022-04-08T18:41:36.723Z] Removing intermediate container f0408ec033e2 [2022-04-08T18:41:36.723Z] ---> 0e08428217fb [2022-04-08T18:41:36.723Z] Step 8/11 : COPY go.mod vendor* ./ [2022-04-08T18:41:37.320Z] ---> 2ce7bb59bd1c [2022-04-08T18:41:37.320Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-08T18:41:37.597Z] ---> Running in 59416bea9ace [2022-04-08T18:42:24.641Z] Removing intermediate container 59416bea9ace [2022-04-08T18:42:24.641Z] ---> 459c5e627ec3 [2022-04-08T18:42:24.641Z] Step 10/11 : COPY . . [2022-04-08T18:42:24.641Z] ---> 567b60312c3b [2022-04-08T18:42:24.641Z] Step 11/11 : RUN ${MAKE} [2022-04-08T18:42:24.641Z] ---> Running in af0b4e58e6c0 [2022-04-08T18:42:24.917Z] noop [2022-04-08T18:42:25.520Z] Removing intermediate container af0b4e58e6c0 [2022-04-08T18:42:25.520Z] ---> 86bf84ab6dac [2022-04-08T18:42:25.520Z] Successfully built 86bf84ab6dac [2022-04-08T18:42:25.793Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-08T18:42:26.171Z] + docker inspect -f . ci-base-image-arm64 [2022-04-08T18:42:26.171Z] . [Pipeline] withDockerContainer [2022-04-08T18:42:26.423Z] prd-ubuntu20.04-docker-arm64-4c-16g-11604 does not seem to be running inside a container [2022-04-08T18:42:26.515Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-04-08T18:42:27.818Z] $ docker top 2f483ea8ca17f3a38c72441e2839ef653a46fff25efb1e6670b5d8473853a448 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-08T18:42:28.787Z] + go version [2022-04-08T18:42:28.787Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-04-08T18:42:28.823Z] $ docker stop --time=1 2f483ea8ca17f3a38c72441e2839ef653a46fff25efb1e6670b5d8473853a448 [2022-04-08T18:42:30.472Z] $ docker rm -f 2f483ea8ca17f3a38c72441e2839ef653a46fff25efb1e6670b5d8473853a448 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-08T18:42:31.352Z] + docker inspect -f . ci-base-image-arm64 [2022-04-08T18:42:31.352Z] . [Pipeline] withDockerContainer [2022-04-08T18:42:31.584Z] prd-ubuntu20.04-docker-arm64-4c-16g-11604 does not seem to be running inside a container [2022-04-08T18:42:31.669Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-04-08T18:42:32.952Z] $ docker top b6fe04e3f78666e2054fbca1049b126949a88d04124c7cc7c321c77a9ce9bda1 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-08T18:42:33.940Z] + make test [2022-04-08T18:42:33.940Z] GO111MODULE=on go test -coverprofile=coverage.out ./... [2022-04-08T18:42:35.924Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-04-08T18:43:57.774Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-04-08T18:43:57.774Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-04-08T18:43:57.774Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-04-08T18:43:57.774Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.105s coverage: 23.3% of statements [2022-04-08T18:43:57.774Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-04-08T18:43:57.774Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.096s coverage: 27.6% of statements [2022-04-08T18:43:57.774Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.076s coverage: 78.9% of statements [2022-04-08T18:43:59.763Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.073s coverage: 10.8% of statements [2022-04-08T18:43:59.763Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2022-04-08T18:43:59.763Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-04-08T18:43:59.763Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-04-08T18:44:01.212Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.124s coverage: 33.2% of statements [2022-04-08T18:44:01.212Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-04-08T18:44:02.651Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.110s coverage: 86.1% of statements [2022-04-08T18:44:02.651Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-04-08T18:44:02.651Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-04-08T18:44:02.651Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.124s coverage: 57.4% of statements [2022-04-08T18:44:02.651Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.212s coverage: 89.2% of statements [2022-04-08T18:44:02.651Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-04-08T18:44:06.954Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.061s coverage: 4.8% of statements [2022-04-08T18:44:06.954Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-04-08T18:44:06.954Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-04-08T18:44:06.954Z] GO111MODULE=on go vet ./... [2022-04-08T18:44:33.785Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-08T18:44:33.786Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-08T18:44:33.786Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-04-08T18:44:35.271Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-04-08T18:44:35.304Z] $ docker stop --time=1 b6fe04e3f78666e2054fbca1049b126949a88d04124c7cc7c321c77a9ce9bda1 [2022-04-08T18:44:37.074Z] $ docker rm -f b6fe04e3f78666e2054fbca1049b126949a88d04124c7cc7c321c77a9ce9bda1 [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-08T18:44:38.105Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-04-08T18:44:38.140Z] Warning: overwriting stash ‘coverage-report’ [2022-04-08T18:44:38.685Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-08T18:44:39.253Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-04-08T18:44:39.605Z] + ls -al . [2022-04-08T18:44:39.605Z] total 292 [2022-04-08T18:44:39.605Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 8 18:44 . [2022-04-08T18:44:39.605Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 8 18:40 .. [2022-04-08T18:44:39.605Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 8 18:40 .dockerignore [2022-04-08T18:44:39.605Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 8 18:40 .git [2022-04-08T18:44:39.605Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 8 18:40 .github [2022-04-08T18:44:39.605Z] -rw-rw-r-- 1 jenkins jenkins 131 Apr 8 18:40 .gitignore [2022-04-08T18:44:39.605Z] -rw-rw-r-- 1 jenkins jenkins 42 Apr 8 18:40 .golangci.yml [2022-04-08T18:44:39.605Z] -rw-rw-r-- 1 jenkins jenkins 26321 Apr 8 18:40 CHANGELOG.md [2022-04-08T18:44:39.605Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 8 18:40 GOVERNANCE.md [2022-04-08T18:44:39.605Z] -rw-rw-r-- 1 jenkins jenkins 880 Apr 8 18:40 Jenkinsfile [2022-04-08T18:44:39.605Z] -rw-rw-r-- 1 jenkins jenkins 11341 Apr 8 18:40 LICENSE [2022-04-08T18:44:39.605Z] -rw-rw-r-- 1 jenkins jenkins 2016 Apr 8 18:40 Makefile [2022-04-08T18:44:39.605Z] -rw-rw-r-- 1 jenkins jenkins 619 Apr 8 18:40 OWNERS.md [2022-04-08T18:44:39.605Z] -rw-rw-r-- 1 jenkins jenkins 4881 Apr 8 18:40 README.md [2022-04-08T18:44:39.605Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 8 18:38 VERSION [2022-04-08T18:44:39.605Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 8 18:40 bin [2022-04-08T18:44:39.605Z] -rw-r--r-- 1 jenkins jenkins 129001 Apr 8 18:44 coverage.out [2022-04-08T18:44:39.605Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 8 18:40 example [2022-04-08T18:44:39.605Z] -rw-rw-r-- 1 jenkins jenkins 3105 Apr 8 18:40 go.mod [2022-04-08T18:44:39.605Z] -rw-rw-r-- 1 jenkins jenkins 34435 Apr 8 18:40 go.sum [2022-04-08T18:44:39.605Z] drwxrwxr-x 15 jenkins jenkins 4096 Apr 8 18:40 internal [2022-04-08T18:44:39.605Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 8 18:40 openapi [2022-04-08T18:44:39.605Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 8 18:40 pkg [2022-04-08T18:44:39.605Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 8 18:40 snap [2022-04-08T18:44:39.605Z] -rw-rw-r-- 1 jenkins jenkins 222 Apr 8 18:40 version.go [Pipeline] isUnix [Pipeline] sh [2022-04-08T18:44:39.969Z] + 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=da52579f54110f8d2333392ff37538d74be012fa --label arch=arm64 --label version=0.0.0 . [2022-04-08T18:44:40.564Z] Sending build context to Docker daemon 5.303MB [2022-04-08T18:44:40.564Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-04-08T18:44:40.564Z] Step 2/25 : FROM ${BASE} AS builder [2022-04-08T18:44:40.564Z] ---> 86bf84ab6dac [2022-04-08T18:44:40.564Z] Step 3/25 : ARG MAKE=make build [2022-04-08T18:44:40.564Z] ---> Running in 0a1ff28def1a [2022-04-08T18:44:40.843Z] Removing intermediate container 0a1ff28def1a [2022-04-08T18:44:40.843Z] ---> 2928294daa7c [2022-04-08T18:44:40.843Z] Step 4/25 : WORKDIR /device-sdk-go [2022-04-08T18:44:41.117Z] ---> Running in 7297461ab891 [2022-04-08T18:44:41.394Z] Removing intermediate container 7297461ab891 [2022-04-08T18:44:41.394Z] ---> 96ebe90586bf [2022-04-08T18:44:41.394Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-04-08T18:44:41.394Z] ---> Running in 763a37064726 [2022-04-08T18:44:41.670Z] Removing intermediate container 763a37064726 [2022-04-08T18:44:41.670Z] ---> a66f5b1405ec [2022-04-08T18:44:41.670Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-08T18:44:41.670Z] ---> Running in 5dd365aa52c6 [2022-04-08T18:44:43.653Z] Removing intermediate container 5dd365aa52c6 [2022-04-08T18:44:43.653Z] ---> dd1fbb498bcf [2022-04-08T18:44:43.653Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-04-08T18:44:43.653Z] ---> Running in c0e9544930d8 [2022-04-08T18:44:44.630Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-08T18:44:45.227Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-08T18:44:46.215Z] OK: 220 MiB in 52 packages [2022-04-08T18:44:47.204Z] Removing intermediate container c0e9544930d8 [2022-04-08T18:44:47.204Z] ---> d7036120ad98 [2022-04-08T18:44:47.204Z] Step 8/25 : COPY go.mod vendor* ./ [2022-04-08T18:44:47.483Z] ---> 2c7d01f466b8 [2022-04-08T18:44:47.483Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-08T18:44:47.483Z] ---> Running in 2961dc189721 [2022-04-08T18:44:49.472Z] Removing intermediate container 2961dc189721 [2022-04-08T18:44:49.472Z] ---> 16bb533bf613 [2022-04-08T18:44:49.472Z] Step 10/25 : COPY . . [2022-04-08T18:44:50.919Z] ---> 2fb0291f0576 [2022-04-08T18:44:50.919Z] Step 11/25 : RUN ${MAKE} [2022-04-08T18:44:50.919Z] ---> Running in 95326365c7bb [2022-04-08T18:44:51.896Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2022-04-08T18:46:43.788Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-04-08T18:46:44.385Z] Removing intermediate container 95326365c7bb [2022-04-08T18:46:44.385Z] ---> f9b570a8c9c7 [2022-04-08T18:46:44.385Z] Step 12/25 : FROM alpine:3.14 [2022-04-08T18:46:44.981Z] 3.14: Pulling from library/alpine [2022-04-08T18:46:45.261Z] 455c02918c45: Pulling fs layer [2022-04-08T18:46:45.541Z] 455c02918c45: Verifying Checksum [2022-04-08T18:46:45.541Z] 455c02918c45: Download complete [2022-04-08T18:46:46.143Z] 455c02918c45: Pull complete [2022-04-08T18:46:46.143Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-04-08T18:46:46.143Z] Status: Downloaded newer image for alpine:3.14 [2022-04-08T18:46:46.143Z] ---> ac73e934f311 [2022-04-08T18:46:46.143Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-04-08T18:46:46.143Z] ---> Running in d86f2c6cd80d [2022-04-08T18:46:46.429Z] Removing intermediate container d86f2c6cd80d [2022-04-08T18:46:46.429Z] ---> 21c9d5f03937 [2022-04-08T18:46:46.429Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-08T18:46:46.429Z] ---> Running in b8209c77a27b [2022-04-08T18:46:48.412Z] Removing intermediate container b8209c77a27b [2022-04-08T18:46:48.412Z] ---> ffa902e815d3 [2022-04-08T18:46:48.412Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-04-08T18:46:48.412Z] ---> Running in 5fbc0991734d [2022-04-08T18:46:49.011Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-04-08T18:46:49.991Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-04-08T18:46:50.975Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2022-04-08T18:46:50.975Z] (2/5) Installing libsodium (1.0.18-r0) [2022-04-08T18:46:50.975Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2022-04-08T18:46:50.975Z] (4/5) Installing libzmq (4.3.4-r0) [2022-04-08T18:46:51.251Z] (5/5) Installing zeromq (4.3.4-r0) [2022-04-08T18:46:51.251Z] Executing busybox-1.33.1-r7.trigger [2022-04-08T18:46:51.251Z] OK: 8 MiB in 19 packages [2022-04-08T18:46:52.244Z] Removing intermediate container 5fbc0991734d [2022-04-08T18:46:52.244Z] ---> 6299b765bbc6 [2022-04-08T18:46:52.244Z] Step 16/25 : WORKDIR / [2022-04-08T18:46:52.244Z] ---> Running in 6fc84dea3f36 [2022-04-08T18:46:52.519Z] Removing intermediate container 6fc84dea3f36 [2022-04-08T18:46:52.519Z] ---> fe384e4f900f [2022-04-08T18:46:52.519Z] Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-04-08T18:46:53.121Z] ---> b9c1b99798b2 [2022-04-08T18:46:53.121Z] Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-04-08T18:46:54.563Z] ---> 0d71f27588e0 [2022-04-08T18:46:54.563Z] Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-04-08T18:46:55.163Z] ---> 90a27ca5225d [2022-04-08T18:46:55.163Z] Step 20/25 : EXPOSE 59999 [2022-04-08T18:46:55.163Z] ---> Running in a8e27579775d [2022-04-08T18:46:55.439Z] Removing intermediate container a8e27579775d [2022-04-08T18:46:55.439Z] ---> 775d1004ffb2 [2022-04-08T18:46:55.439Z] Step 21/25 : ENTRYPOINT ["/device-simple"] [2022-04-08T18:46:55.439Z] ---> Running in bfccc2033727 [2022-04-08T18:46:55.718Z] Removing intermediate container bfccc2033727 [2022-04-08T18:46:55.718Z] ---> d280474c56f7 [2022-04-08T18:46:55.718Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-04-08T18:46:55.991Z] ---> Running in f10cd7d46a3b [2022-04-08T18:46:56.270Z] Removing intermediate container f10cd7d46a3b [2022-04-08T18:46:56.270Z] ---> 437b3ab39bc9 [2022-04-08T18:46:56.270Z] Step 23/25 : LABEL arch=arm64 [2022-04-08T18:46:56.270Z] ---> Running in 9c81ae87ceb2 [2022-04-08T18:46:56.546Z] Removing intermediate container 9c81ae87ceb2 [2022-04-08T18:46:56.546Z] ---> 48008f5b0f98 [2022-04-08T18:46:56.546Z] Step 24/25 : LABEL git_sha=da52579f54110f8d2333392ff37538d74be012fa [2022-04-08T18:46:56.546Z] ---> Running in d4ff5e00f407 [2022-04-08T18:46:56.821Z] Removing intermediate container d4ff5e00f407 [2022-04-08T18:46:56.821Z] ---> c25ba89ea7fb [2022-04-08T18:46:56.821Z] Step 25/25 : LABEL version=0.0.0 [2022-04-08T18:46:57.112Z] ---> Running in f407b80c5c98 [2022-04-08T18:46:57.387Z] Removing intermediate container f407b80c5c98 [2022-04-08T18:46:57.387Z] ---> de4a45e44c95 [2022-04-08T18:46:57.387Z] [Warning] One or more build-args [ARCH] were not consumed [2022-04-08T18:46:57.387Z] Successfully built de4a45e44c95 [2022-04-08T18:46:57.387Z] Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-08T18:46:58.092Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-08T18:46:58.092Z] [2022-04-08T18:46:58.092Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-04-08T18:46:58.481Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-08T18:46:58.759Z] arm64: Pulling from edgex-lftools-log-publisher [2022-04-08T18:46:58.759Z] 8998bd30e6a1: Pulling fs layer [2022-04-08T18:46:58.759Z] 04944245beec: Pulling fs layer [2022-04-08T18:46:58.759Z] 699f458cf7ca: Pulling fs layer [2022-04-08T18:46:58.759Z] 765212b225bb: Pulling fs layer [2022-04-08T18:46:58.759Z] f23df028b6ca: Pulling fs layer [2022-04-08T18:46:58.759Z] d65c8cfc05b1: Pulling fs layer [2022-04-08T18:46:58.759Z] 2437ff75d9bd: Pulling fs layer [2022-04-08T18:46:58.759Z] f23df028b6ca: Waiting [2022-04-08T18:46:58.759Z] d65c8cfc05b1: Waiting [2022-04-08T18:46:58.759Z] 2437ff75d9bd: Waiting [2022-04-08T18:46:58.759Z] 765212b225bb: Waiting [2022-04-08T18:46:58.759Z] 04944245beec: Verifying Checksum [2022-04-08T18:46:58.759Z] 04944245beec: Download complete [2022-04-08T18:46:58.759Z] 765212b225bb: Verifying Checksum [2022-04-08T18:46:58.759Z] 765212b225bb: Download complete [2022-04-08T18:46:58.759Z] f23df028b6ca: Verifying Checksum [2022-04-08T18:46:58.759Z] f23df028b6ca: Download complete [2022-04-08T18:46:58.759Z] d65c8cfc05b1: Download complete [2022-04-08T18:46:59.036Z] 699f458cf7ca: Verifying Checksum [2022-04-08T18:46:59.313Z] 8998bd30e6a1: Verifying Checksum [2022-04-08T18:46:59.313Z] 8998bd30e6a1: Download complete [2022-04-08T18:47:01.947Z] 2437ff75d9bd: Verifying Checksum [2022-04-08T18:47:01.947Z] 2437ff75d9bd: Download complete [2022-04-08T18:47:03.929Z] 8998bd30e6a1: Pull complete [2022-04-08T18:47:04.205Z] 04944245beec: Pull complete [2022-04-08T18:47:05.647Z] 699f458cf7ca: Pull complete [2022-04-08T18:47:05.924Z] 765212b225bb: Pull complete [2022-04-08T18:47:06.539Z] f23df028b6ca: Pull complete [2022-04-08T18:47:06.813Z] d65c8cfc05b1: Pull complete [2022-04-08T18:47:21.921Z] 2437ff75d9bd: Pull complete [2022-04-08T18:47:21.921Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-04-08T18:47:21.921Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-08T18:47:21.921Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-04-08T18:47:22.188Z] prd-ubuntu20.04-docker-arm64-4c-16g-11604 does not seem to be running inside a container [2022-04-08T18:47:22.274Z] $ 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/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-04-08T18:47:24.772Z] $ docker top c821704e84b7cb3a9801d6edc25dcfa5ba99f10332268bb923c1221e8e185ecd -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-08T18:47:25.748Z] ---> job-cost.sh [2022-04-08T18:47:25.748Z] lf-activate-venv: SKIPPING [2022-04-08T18:47:25.748Z] INFO: No Stack... [2022-04-08T18:47:26.343Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-04-08T18:47:26.941Z] INFO: Archiving Costs [Pipeline] sh [2022-04-08T18:47:27.623Z] + + catcut /w/workspace/device-sdk-go/1/archives/cost.csv -d, [2022-04-08T18:47:27.623Z] -f6 [Pipeline] lock [2022-04-08T18:47:27.708Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1125-1-stack-cost] [2022-04-08T18:47:27.713Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1125-1-stack-cost] did not exist. Created. [2022-04-08T18:47:27.714Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1125-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-08T18:47:28.477Z] /w/workspace/device-sdk-go/1@tmp/durable-9a9ebe1c/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-04-08T18:47:29.188Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-04-08T18:47:29.223Z] Warning: overwriting stash ‘stack-cost’ [2022-04-08T18:47:29.286Z] Stashed 1 file(s) [Pipeline] } [2022-04-08T18:47:29.303Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1125-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-08T18:47:29.386Z] $ docker stop --time=1 c821704e84b7cb3a9801d6edc25dcfa5ba99f10332268bb923c1221e8e185ecd [2022-04-08T18:47:30.893Z] $ docker rm -f c821704e84b7cb3a9801d6edc25dcfa5ba99f10332268bb923c1221e8e185ecd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2022-04-08T18:47:31.962Z] provisioning config files... [2022-04-08T18:47:31.973Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1125@tmp/config2072754001440228800tmp [Pipeline] { [Pipeline] sh [2022-04-08T18:47:32.314Z] + set +x [2022-04-08T18:47:32.314Z] + curl -s https://codecov.io/bash [2022-04-08T18:47:32.314Z] + bash -s -- [2022-04-08T18:47:32.314Z] [2022-04-08T18:47:32.314Z] _____ _ [2022-04-08T18:47:32.314Z] / ____| | | [2022-04-08T18:47:32.314Z] | | ___ __| | ___ ___ _____ __ [2022-04-08T18:47:32.314Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-04-08T18:47:32.314Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-04-08T18:47:32.314Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-04-08T18:47:32.314Z] Bash-1.0.6 [2022-04-08T18:47:32.314Z] [2022-04-08T18:47:32.314Z] [2022-04-08T18:47:32.314Z] ==> git version 2.25.1 found [2022-04-08T18:47:32.314Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2022-04-08T18:47:32.314Z] Release-Date: 2020-01-08 [2022-04-08T18:47:32.314Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-04-08T18:47:32.314Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-04-08T18:47:32.314Z] ==> Jenkins CI detected. [2022-04-08T18:47:32.314Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1125 [2022-04-08T18:47:32.314Z] project root: . [2022-04-08T18:47:32.314Z] --> token set from env [2022-04-08T18:47:32.314Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-04-08T18:47:32.314Z] ==> Running gcov in . (disable via -X gcov) [2022-04-08T18:47:32.314Z] ==> Python coveragepy not found [2022-04-08T18:47:32.314Z] ==> Searching for coverage reports in: [2022-04-08T18:47:32.314Z] + . [2022-04-08T18:47:32.314Z] -> Found 1 reports [2022-04-08T18:47:32.314Z] ==> Detecting git/mercurial file structure [2022-04-08T18:47:32.314Z] ==> Reading reports [2022-04-08T18:47:32.315Z] + ./coverage.out bytes=129001 [2022-04-08T18:47:32.315Z] ==> Appending adjustments [2022-04-08T18:47:32.315Z] https://docs.codecov.io/docs/fixing-reports [2022-04-08T18:47:32.574Z] + Found adjustments [2022-04-08T18:47:32.574Z] ==> Gzipping contents [2022-04-08T18:47:32.574Z] 16K /tmp/codecov.fCBpqW.gz [2022-04-08T18:47:32.834Z] ==> Uploading reports [2022-04-08T18:47:32.834Z] url: https://codecov.io [2022-04-08T18:47:32.834Z] query: branch=PR-1125&commit=da52579f54110f8d2333392ff37538d74be012fa&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1125%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1125&job=&cmd_args= [2022-04-08T18:47:32.834Z] -> Pinging Codecov [2022-04-08T18:47:32.834Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1125&commit=da52579f54110f8d2333392ff37538d74be012fa&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1125%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1125&job=&cmd_args= [2022-04-08T18:47:32.834Z] -> Uploading to [2022-04-08T18:47:32.834Z] https://storage.googleapis.com/codecov/v4/raw/2022-04-08/7E55EF52A471D76F132DFD9A03CDDE97/da52579f54110f8d2333392ff37538d74be012fa/80cae69f-51a9-48da-86ef-8b6ef6bdb27d.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220408%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220408T184732Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=9f4cb96448c5e5dd0ff0f8ff9261a4c9af45d3e3401297bf14d937fdda6e6035 [2022-04-08T18:47:32.834Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-08T18:47:32.834Z] Dload Upload Total Spent Left Speed [2022-04-08T18:47:33.095Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16212 0 0 100 16212 0 63826 --:--:-- --:--:-- --:--:-- 64079 [2022-04-08T18:47:33.095Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/da52579f54110f8d2333392ff37538d74be012fa [Pipeline] } [2022-04-08T18:47:33.123Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2022-04-08T18:47:34.905Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1125/archives ] [2022-04-08T18:47:34.905Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1125/archives [2022-04-08T18:47:34.905Z] total 16 [2022-04-08T18:47:34.905Z] drwxr-xr-x 3 root root 4096 Apr 8 18:40 . [2022-04-08T18:47:34.905Z] drwxrwxr-x 12 jenkins jenkins 4096 Apr 8 18:40 .. [2022-04-08T18:47:34.905Z] drwxr-xr-x 2 root root 4096 Apr 8 18:40 cost [2022-04-08T18:47:34.905Z] -rw-r--r-- 1 root root 85 Apr 8 18:40 cost.csv [2022-04-08T18:47:34.905Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1125/archives [2022-04-08T18:47:34.905Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1125/archives [2022-04-08T18:47:34.905Z] total 16 [2022-04-08T18:47:34.905Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 8 18:40 . [2022-04-08T18:47:34.905Z] drwxrwxr-x 12 jenkins jenkins 4096 Apr 8 18:40 .. [2022-04-08T18:47:34.905Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 8 18:40 cost [2022-04-08T18:47:34.905Z] -rw-r--r-- 1 jenkins jenkins 85 Apr 8 18:40 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-04-08T18:47:35.241Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-08T18:47:36.143Z] ---> package-listing.sh [2022-04-08T18:47:36.143Z] ++ facter osfamily [2022-04-08T18:47:36.143Z] ++ tr '[:upper:]' '[:lower:]' [2022-04-08T18:47:36.406Z] + OS_FAMILY=debian [2022-04-08T18:47:36.406Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1125 [2022-04-08T18:47:36.406Z] + START_PACKAGES=/tmp/packages_start.txt [2022-04-08T18:47:36.406Z] + END_PACKAGES=/tmp/packages_end.txt [2022-04-08T18:47:36.406Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-04-08T18:47:36.406Z] + PACKAGES=/tmp/packages_start.txt [2022-04-08T18:47:36.406Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1125 ']' [2022-04-08T18:47:36.406Z] + PACKAGES=/tmp/packages_end.txt [2022-04-08T18:47:36.406Z] + case "${OS_FAMILY}" in [2022-04-08T18:47:36.406Z] + dpkg -l [2022-04-08T18:47:36.406Z] + grep '^ii' [2022-04-08T18:47:36.406Z] + '[' -f /tmp/packages_start.txt ']' [2022-04-08T18:47:36.406Z] + '[' -f /tmp/packages_end.txt ']' [2022-04-08T18:47:36.406Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-04-08T18:47:36.406Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1125 ']' [2022-04-08T18:47:36.406Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1125/archives/ [2022-04-08T18:47:36.406Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1125/archives/ [Pipeline] echo [2022-04-08T18:47:36.447Z] 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-1125/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-04-08T18:47:36.749Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-04-08T18:47:37.330Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-08T18:47:37.330Z] . [Pipeline] withDockerContainer [2022-04-08T18:47:37.418Z] prd-ubuntu20.04-docker-8c-8g-11602 does not seem to be running inside a container [2022-04-08T18:47:37.456Z] $ 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-1125/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-1125 -v /w/workspace/gexfoundry_device-sdk-go_PR-1125:/w/workspace/gexfoundry_device-sdk-go_PR-1125:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1125@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1125@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-04-08T18:47:37.679Z] $ docker top c7a47ec03255b4336efa3669ad8565e73a793d3c91337fcf484d6ef639bf2a86 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-08T18:47:38.071Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-04-08T18:47:38.383Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-04-08T18:47:38.693Z] + ls /var/log/sa-host [2022-04-08T18:47:38.694Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-08T18:47:38.848Z] provisioning config files... [2022-04-08T18:47:38.859Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1125@tmp/config1224317711260590590tmp [Pipeline] { [Pipeline] echo [2022-04-08T18:47:38.909Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-08T18:47:39.226Z] ---> create-netrc.sh [Pipeline] } [2022-04-08T18:47:39.251Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-04-08T18:47:39.660Z] ---> python-tools-install.sh [Pipeline] echo [2022-04-08T18:47:39.708Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-08T18:47:40.024Z] ---> sudo-logs.sh [2022-04-08T18:47:40.024Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-04-08T18:47:40.110Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-08T18:47:40.422Z] ---> job-cost.sh [2022-04-08T18:47:40.422Z] lf-activate-venv: SKIPPING [2022-04-08T18:47:40.422Z] DEBUG: total: 0.2199999988079071 [2022-04-08T18:47:40.422Z] INFO: Retrieving Stack Cost... [2022-04-08T18:47:40.682Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-08T18:47:41.255Z] INFO: Archiving Costs [Pipeline] echo [2022-04-08T18:47:41.291Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-08T18:47:41.609Z] ---> logs-deploy.sh [2022-04-08T18:47:41.609Z] lf-activate-venv: SKIPPING [2022-04-08T18:47:41.609Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1125/1 [2022-04-08T18:47:41.609Z] INFO: archiving workspace using pattern(s): [2022-04-08T18:47:42.551Z] Archives upload complete. [2022-04-08T18:47:42.551Z] INFO: archiving logs to Nexus