Pull request #1144 event Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 5e296d66d2ce57adbef0f8cc5f24a8b4caa869f5+0ad629fb126a20093fbb85ee62bd441bcf21fc4e (29723418736e55889a5a2726932f80b8e5436f22) 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-ssh12477466818088374768.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-ssh8243915156595867830.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision c72b16708d6eed9a08be464a432ce22db7d90667 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1144/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1144/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh10958141194860293036.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision c72b16708d6eed9a08be464a432ce22db7d90667 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f c72b16708d6eed9a08be464a432ce22db7d90667 # timeout=10 Commit message: "Merge pull request #378 from ernestojeda/ubuntu-20-changes" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh5011326360186079768.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b3dada9287033e4e81bc68320e01fd57bef02650 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1144/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1144/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh16927890199689182410.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-21801’ Running on prd-ubuntu20.04-docker-8c-8g-21803 in /w/workspace/gexfoundry_device-sdk-go_PR-1144 [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-1144 # 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 0ad629fb126a20093fbb85ee62bd441bcf21fc4e into PR head commit 5e296d66d2ce57adbef0f8cc5f24a8b4caa869f5 > 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/1144/head:refs/remotes/origin/PR-1144 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5e296d66d2ce57adbef0f8cc5f24a8b4caa869f5 # timeout=10 Merge succeeded, producing 5e296d66d2ce57adbef0f8cc5f24a8b4caa869f5 Checking out Revision 5e296d66d2ce57adbef0f8cc5f24a8b4caa869f5 (PR-1144) > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 0ad629fb126a20093fbb85ee62bd441bcf21fc4e # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5e296d66d2ce57adbef0f8cc5f24a8b4caa869f5 # timeout=10 Commit message: "build(deps): bump github.com/pelletier/go-toml from 1.9.4 to 1.9.5" First time build. Skipping changelog. > git rev-list --no-walk f48a0afc7bbbb2ffc5b8f0f74775da9a4fd15e2e # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-04-22T16:19:16.234Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-04-22T16:19:16.275Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-04-22T16:19:16.287Z] ========================================================= [2022-04-22T16:19:16.287Z] EdgeX Global Pipelines Version Info [2022-04-22T16:19:16.287Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-04-22T16:19:17.068Z] ------------------- [2022-04-22T16:19:17.068Z] stable info: [2022-04-22T16:19:17.068Z] ------------------- [2022-04-22T16:19:17.068Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-04-22T16:19:17.068Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-04-22T16:19:17.068Z] Message: update stable to v1.0.221 [2022-04-22T16:19:17.644Z] ------------------- [2022-04-22T16:19:17.644Z] experimental info: [2022-04-22T16:19:17.644Z] ------------------- [2022-04-22T16:19:17.644Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-04-22T16:19:17.644Z] Commit SHA: e334d830fa8e8412d6042b94a77caa8dfa54c97b [2022-04-22T16:19:17.644Z] Message: update experimental to v1.0.223 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-04-22T16:19:17.774Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2022-04-22T16:19:17.783Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2022-04-22T16:19:17.793Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-04-22T16:19:17.807Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-04-22T16:19:17.819Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-04-22T16:19:17.830Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-04-22T16:19:17.849Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-04-22T16:19:17.867Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2022-04-22T16:19:17.884Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-04-22T16:19:17.903Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-04-22T16:19:17.921Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-04-22T16:19:17.940Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2022-04-22T16:19:17.957Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-04-22T16:19:17.971Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-04-22T16:19:17.988Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-04-22T16:19:18.005Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2022-04-22T16:19:18.015Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-04-22T16:19:18.027Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-04-22T16:19:18.041Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-04-22T16:19:18.050Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-04-22T16:19:18.062Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-04-22T16:19:18.076Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2022-04-22T16:19:18.088Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-04-22T16:19:18.102Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-04-22T16:19:18.114Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-04-22T16:19:18.127Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-04-22T16:19:18.138Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1144 [Pipeline] echo [2022-04-22T16:19:18.149Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1144 [Pipeline] echo [2022-04-22T16:19:18.165Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1144 [Pipeline] echo [2022-04-22T16:19:18.177Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 5e296d66d2ce57adbef0f8cc5f24a8b4caa869f5 [Pipeline] echo [2022-04-22T16:19:18.189Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 5e296d6 [Pipeline] echo [2022-04-22T16:19:18.201Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-22T16:19:18.244Z] provisioning config files... [2022-04-22T16:19:18.258Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1144@tmp/config5592059589666138911tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-22T16:19:18.577Z] ---> docker-login.sh [2022-04-22T16:19:18.577Z] nexus3.edgexfoundry.org:10001 [2022-04-22T16:19:18.839Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-22T16:19:18.839Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-22T16:19:18.839Z] Configure a credential helper to remove this warning. See [2022-04-22T16:19:18.839Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-22T16:19:18.839Z] [2022-04-22T16:19:18.839Z] Login Succeeded [2022-04-22T16:19:18.839Z] nexus3.edgexfoundry.org:10002 [2022-04-22T16:19:19.110Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-22T16:19:19.110Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-22T16:19:19.110Z] Configure a credential helper to remove this warning. See [2022-04-22T16:19:19.110Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-22T16:19:19.110Z] [2022-04-22T16:19:19.110Z] Login Succeeded [2022-04-22T16:19:19.110Z] nexus3.edgexfoundry.org:10003 [2022-04-22T16:19:19.110Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-22T16:19:19.110Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-22T16:19:19.110Z] Configure a credential helper to remove this warning. See [2022-04-22T16:19:19.110Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-22T16:19:19.110Z] [2022-04-22T16:19:19.110Z] Login Succeeded [2022-04-22T16:19:19.110Z] nexus3.edgexfoundry.org:10004 [2022-04-22T16:19:19.372Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-22T16:19:19.372Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-22T16:19:19.372Z] Configure a credential helper to remove this warning. See [2022-04-22T16:19:19.372Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-22T16:19:19.372Z] [2022-04-22T16:19:19.372Z] Login Succeeded [2022-04-22T16:19:19.372Z] docker.io [2022-04-22T16:19:19.372Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-22T16:19:19.634Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-22T16:19:19.634Z] Configure a credential helper to remove this warning. See [2022-04-22T16:19:19.634Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-22T16:19:19.634Z] [2022-04-22T16:19:19.634Z] Login Succeeded [2022-04-22T16:19:19.634Z] ---> docker-login.sh ends [Pipeline] } [2022-04-22T16:19:19.643Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-04-22T16:19:20.037Z] + git rev-list -1 --merges 5e296d66d2ce57adbef0f8cc5f24a8b4caa869f5~1..5e296d66d2ce57adbef0f8cc5f24a8b4caa869f5 [Pipeline] echo [2022-04-22T16:19:20.159Z] -----------> git rev-list -1 --merges 5e296d66d2ce57adbef0f8cc5f24a8b4caa869f5~1..5e296d66d2ce57adbef0f8cc5f24a8b4caa869f5 5e296d66d2ce57adbef0f8cc5f24a8b4caa869f5 [false] [Pipeline] sh [2022-04-22T16:19:20.451Z] + git log --format=format:%s -1 5e296d66d2ce57adbef0f8cc5f24a8b4caa869f5 [Pipeline] echo [2022-04-22T16:19:20.467Z] ========================================================= [2022-04-22T16:19:20.467Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-04-22T16:19:20.467Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-22T16:19:20.800Z] + git log --format=format:%s -1 5e296d66d2ce57adbef0f8cc5f24a8b4caa869f5 [Pipeline] echo [2022-04-22T16:19:20.814Z] [semverPrep] GIT_COMMIT: 5e296d66d2ce57adbef0f8cc5f24a8b4caa869f5, Commit Message: build(deps): bump github.com/pelletier/go-toml from 1.9.4 to 1.9.5 [Pipeline] echo [2022-04-22T16:19:20.825Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-04-22T16:19:21.222Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-22T16:19:21.222Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-04-22T16:19:21.222Z] + [ -e /tmp/ssh_known_hosts ] [2022-04-22T16:19:21.222Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-04-22T16:19:21.222Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-04-22T16:19:21.222Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-04-22T16:19:21.222Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-22T16:19:21.661Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-22T16:19:21.661Z] [2022-04-22T16:19:21.661Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-04-22T16:19:21.973Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-22T16:19:21.973Z] latest: Pulling from edgex-devops/git-semver [2022-04-22T16:19:21.973Z] a0d0a0d46f8b: Pulling fs layer [2022-04-22T16:19:21.973Z] 3e5f54012d9b: Pulling fs layer [2022-04-22T16:19:21.973Z] 4c7163046ea9: Pulling fs layer [2022-04-22T16:19:21.973Z] 0c2d73faf560: Pulling fs layer [2022-04-22T16:19:21.973Z] 3e5f54012d9b: Download complete [2022-04-22T16:19:21.973Z] a0d0a0d46f8b: Download complete [2022-04-22T16:19:21.973Z] 0c2d73faf560: Verifying Checksum [2022-04-22T16:19:21.973Z] 0c2d73faf560: Download complete [2022-04-22T16:19:21.973Z] 4c7163046ea9: Verifying Checksum [2022-04-22T16:19:21.973Z] 4c7163046ea9: Download complete [2022-04-22T16:19:22.233Z] a0d0a0d46f8b: Pull complete [2022-04-22T16:19:22.233Z] 3e5f54012d9b: Pull complete [2022-04-22T16:19:22.495Z] 4c7163046ea9: Pull complete [2022-04-22T16:19:22.756Z] 0c2d73faf560: Pull complete [2022-04-22T16:19:22.756Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-04-22T16:19:22.756Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-22T16:19:22.756Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-04-22T16:19:22.824Z] prd-ubuntu20.04-docker-8c-8g-21803 does not seem to be running inside a container [2022-04-22T16:19:22.857Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1144 -v /w/workspace/gexfoundry_device-sdk-go_PR-1144:/w/workspace/gexfoundry_device-sdk-go_PR-1144:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1144@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1144@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-04-22T16:19:23.606Z] $ docker top c18c4036d70d64608fdc323edf12d4d28c114cd9247243948eab4d589e52dc58 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-22T16:19:23.720Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-22T16:19:23.720Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-22T16:19:23.832Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-22T16:19:23.828Z] $ docker exec c18c4036d70d64608fdc323edf12d4d28c114cd9247243948eab4d589e52dc58 ssh-agent [2022-04-22T16:19:23.971Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXEfGfkE/agent.13 [2022-04-22T16:19:23.971Z] SSH_AGENT_PID=19 [2022-04-22T16:19:23.979Z] Running ssh-add (command line suppressed) [2022-04-22T16:19:24.097Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1144@tmp/private_key_8505813606419191958.key (/w/workspace/gexfoundry_device-sdk-go_PR-1144@tmp/private_key_8505813606419191958.key) [2022-04-22T16:19:24.120Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-22T16:19:24.419Z] + git tag --points-at HEAD [Pipeline] } [2022-04-22T16:19:24.427Z] $ docker exec --env ******** --env ******** c18c4036d70d64608fdc323edf12d4d28c114cd9247243948eab4d589e52dc58 ssh-agent -k [2022-04-22T16:19:24.556Z] unset SSH_AUTH_SOCK; [2022-04-22T16:19:24.557Z] unset SSH_AGENT_PID; [2022-04-22T16:19:24.557Z] echo Agent pid 19 killed; [2022-04-22T16:19:24.573Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-04-22T16:19:24.596Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-22T16:19:24.596Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-22T16:19:24.740Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-22T16:19:24.737Z] $ docker exec c18c4036d70d64608fdc323edf12d4d28c114cd9247243948eab4d589e52dc58 ssh-agent [2022-04-22T16:19:24.848Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXfnOOHg/agent.53 [2022-04-22T16:19:24.848Z] SSH_AGENT_PID=59 [2022-04-22T16:19:24.854Z] Running ssh-add (command line suppressed) [2022-04-22T16:19:24.961Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1144@tmp/private_key_5139096269614903158.key (/w/workspace/gexfoundry_device-sdk-go_PR-1144@tmp/private_key_5139096269614903158.key) [2022-04-22T16:19:24.981Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-22T16:19:25.275Z] + git semver init [2022-04-22T16:19:25.275Z] # -> Open(): unable to determine branch for HEAD [2022-04-22T16:19:25.275Z] # $GIT_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1144/.git [2022-04-22T16:19:25.275Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-sdk-go_PR-1144 [2022-04-22T16:19:25.275Z] # $SEMVER_REMOTE_NAME = origin [2022-04-22T16:19:25.275Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-04-22T16:19:25.275Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-04-22T16:19:25.275Z] # $SEMVER_BRANCH = PR-1144 [2022-04-22T16:19:25.275Z] # $SEMVER_TEMP = /tmp/semver-023015293 [2022-04-22T16:19:25.275Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2022-04-22T16:19:26.216Z] # '/tmp/semver-023015293' -> '/w/workspace/gexfoundry_device-sdk-go_PR-1144/.semver' [2022-04-22T16:19:26.216Z] # -> Force: false [2022-04-22T16:19:26.216Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1144/.semver [Pipeline] } [2022-04-22T16:19:26.221Z] $ docker exec --env ******** --env ******** c18c4036d70d64608fdc323edf12d4d28c114cd9247243948eab4d589e52dc58 ssh-agent -k [2022-04-22T16:19:26.332Z] unset SSH_AUTH_SOCK; [2022-04-22T16:19:26.332Z] unset SSH_AGENT_PID; [2022-04-22T16:19:26.332Z] echo Agent pid 59 killed; [2022-04-22T16:19:26.347Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-22T16:19:26.659Z] + git semver [Pipeline] } [2022-04-22T16:19:26.669Z] $ docker stop --time=1 c18c4036d70d64608fdc323edf12d4d28c114cd9247243948eab4d589e52dc58 [2022-04-22T16:19:28.062Z] $ docker rm -f c18c4036d70d64608fdc323edf12d4d28c114cd9247243948eab4d589e52dc58 [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-22T16:19:28.419Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-04-22T16:19:28.649Z] Stashed 1 file(s) [Pipeline] echo [2022-04-22T16:19:28.652Z] [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-22T16:19:28.789Z] provisioning config files... [2022-04-22T16:19:28.799Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1144@tmp/config1650924582931236941tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-22T16:19:29.102Z] ---> docker-login.sh [2022-04-22T16:19:29.102Z] nexus3.edgexfoundry.org:10001 [2022-04-22T16:19:29.102Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-22T16:19:29.102Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-22T16:19:29.102Z] Configure a credential helper to remove this warning. See [2022-04-22T16:19:29.102Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-22T16:19:29.102Z] [2022-04-22T16:19:29.102Z] Login Succeeded [2022-04-22T16:19:29.102Z] nexus3.edgexfoundry.org:10002 [2022-04-22T16:19:29.102Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-22T16:19:29.102Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-22T16:19:29.102Z] Configure a credential helper to remove this warning. See [2022-04-22T16:19:29.102Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-22T16:19:29.102Z] [2022-04-22T16:19:29.102Z] Login Succeeded [2022-04-22T16:19:29.102Z] nexus3.edgexfoundry.org:10003 [2022-04-22T16:19:29.364Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-22T16:19:29.364Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-22T16:19:29.364Z] Configure a credential helper to remove this warning. See [2022-04-22T16:19:29.364Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-22T16:19:29.364Z] [2022-04-22T16:19:29.364Z] Login Succeeded [2022-04-22T16:19:29.364Z] nexus3.edgexfoundry.org:10004 [2022-04-22T16:19:29.364Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-22T16:19:29.625Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-22T16:19:29.625Z] Configure a credential helper to remove this warning. See [2022-04-22T16:19:29.625Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-22T16:19:29.625Z] [2022-04-22T16:19:29.625Z] Login Succeeded [2022-04-22T16:19:29.625Z] docker.io [2022-04-22T16:19:29.625Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-22T16:19:29.887Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-22T16:19:29.887Z] Configure a credential helper to remove this warning. See [2022-04-22T16:19:29.887Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-22T16:19:29.887Z] [2022-04-22T16:19:29.887Z] Login Succeeded [2022-04-22T16:19:29.887Z] ---> docker-login.sh ends [Pipeline] } [2022-04-22T16:19:29.895Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-22T16:19:29.959Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-22T16:19:29.971Z] ========================================================= [2022-04-22T16:19:29.972Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-04-22T16:19:29.972Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-22T16:19:30.281Z] + 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-22T16:19:30.281Z] Sending build context to Docker daemon 9.585MB [2022-04-22T16:19:30.281Z] Step 1/11 : ARG BASE=golang:1.17-alpine3.15 [2022-04-22T16:19:30.281Z] Step 2/11 : FROM ${BASE} AS builder [2022-04-22T16:19:30.543Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-04-22T16:19:30.543Z] 59bf1c3509f3: Pulling fs layer [2022-04-22T16:19:30.544Z] 666ba61612fd: Pulling fs layer [2022-04-22T16:19:30.544Z] 8ed8ca486205: Pulling fs layer [2022-04-22T16:19:30.544Z] 4fe6c5a15a65: Pulling fs layer [2022-04-22T16:19:30.544Z] 22a0e8bec74d: Pulling fs layer [2022-04-22T16:19:30.544Z] ca2b28591e48: Pulling fs layer [2022-04-22T16:19:30.544Z] a51346096db8: Pulling fs layer [2022-04-22T16:19:30.544Z] daebc70d1ce1: Pulling fs layer [2022-04-22T16:19:30.544Z] 0e18a0eac166: Pulling fs layer [2022-04-22T16:19:30.544Z] 4fe6c5a15a65: Waiting [2022-04-22T16:19:30.544Z] a51346096db8: Waiting [2022-04-22T16:19:30.544Z] daebc70d1ce1: Waiting [2022-04-22T16:19:30.544Z] 0e18a0eac166: Waiting [2022-04-22T16:19:30.544Z] 22a0e8bec74d: Waiting [2022-04-22T16:19:30.544Z] ca2b28591e48: Waiting [2022-04-22T16:19:30.544Z] 8ed8ca486205: Verifying Checksum [2022-04-22T16:19:30.544Z] 8ed8ca486205: Download complete [2022-04-22T16:19:30.544Z] 666ba61612fd: Download complete [2022-04-22T16:19:30.544Z] 22a0e8bec74d: Verifying Checksum [2022-04-22T16:19:30.544Z] 22a0e8bec74d: Download complete [2022-04-22T16:19:30.544Z] ca2b28591e48: Download complete [2022-04-22T16:19:30.544Z] 59bf1c3509f3: Verifying Checksum [2022-04-22T16:19:30.544Z] a51346096db8: Verifying Checksum [2022-04-22T16:19:30.544Z] a51346096db8: Download complete [2022-04-22T16:19:30.544Z] daebc70d1ce1: Verifying Checksum [2022-04-22T16:19:30.544Z] daebc70d1ce1: Download complete [2022-04-22T16:19:30.544Z] 59bf1c3509f3: Pull complete [2022-04-22T16:19:30.804Z] 666ba61612fd: Pull complete [2022-04-22T16:19:30.804Z] 8ed8ca486205: Pull complete [2022-04-22T16:19:31.067Z] 0e18a0eac166: Verifying Checksum [2022-04-22T16:19:31.067Z] 0e18a0eac166: Download complete [2022-04-22T16:19:31.327Z] 4fe6c5a15a65: Download complete [2022-04-22T16:19:34.621Z] 4fe6c5a15a65: Pull complete [2022-04-22T16:19:34.621Z] 22a0e8bec74d: Pull complete [2022-04-22T16:19:34.621Z] ca2b28591e48: Pull complete [2022-04-22T16:19:34.882Z] a51346096db8: Pull complete [2022-04-22T16:19:34.882Z] daebc70d1ce1: Pull complete [2022-04-22T16:19:37.433Z] 0e18a0eac166: Pull complete [2022-04-22T16:19:37.433Z] Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 [2022-04-22T16:19:37.433Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-04-22T16:19:37.433Z] ---> f018257e8ee9 [2022-04-22T16:19:37.433Z] Step 3/11 : ARG MAKE=make build [2022-04-22T16:19:38.820Z] ---> Running in 4a0fdd6951d2 [2022-04-22T16:19:38.820Z] Removing intermediate container 4a0fdd6951d2 [2022-04-22T16:19:38.820Z] ---> 96244ec27dbe [2022-04-22T16:19:38.820Z] Step 4/11 : WORKDIR /device-sdk-go [2022-04-22T16:19:38.820Z] ---> Running in f6d4904e51a2 [2022-04-22T16:19:38.820Z] Removing intermediate container f6d4904e51a2 [2022-04-22T16:19:38.820Z] ---> a92223679905 [2022-04-22T16:19:38.820Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-04-22T16:19:39.080Z] ---> Running in d6dbb2f90359 [2022-04-22T16:19:39.080Z] Removing intermediate container d6dbb2f90359 [2022-04-22T16:19:39.080Z] ---> 61afbbaaba10 [2022-04-22T16:19:39.080Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-22T16:19:39.080Z] ---> Running in 7320eb21189c [2022-04-22T16:19:39.651Z] Removing intermediate container 7320eb21189c [2022-04-22T16:19:39.651Z] ---> 27b86016f36c [2022-04-22T16:19:39.651Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-04-22T16:19:39.651Z] ---> Running in 2de652b3ddea [2022-04-22T16:19:39.911Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-22T16:19:40.853Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-22T16:19:41.113Z] OK: 221 MiB in 52 packages [2022-04-22T16:19:41.683Z] Removing intermediate container 2de652b3ddea [2022-04-22T16:19:41.683Z] ---> e82b8c8ad69f [2022-04-22T16:19:41.683Z] Step 8/11 : COPY go.mod vendor* ./ [2022-04-22T16:19:41.683Z] ---> 907f897072d1 [2022-04-22T16:19:41.683Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-22T16:19:41.683Z] ---> Running in e9d13daf1b5b [2022-04-22T16:19:43.758Z] Still waiting to schedule task [2022-04-22T16:19:43.758Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-21802’ [2022-04-22T16:19:56.587Z] Removing intermediate container e9d13daf1b5b [2022-04-22T16:19:56.587Z] ---> 5d62143f130d [2022-04-22T16:19:56.587Z] Step 10/11 : COPY . . [2022-04-22T16:19:56.587Z] ---> 9e769a108a0d [2022-04-22T16:19:56.587Z] Step 11/11 : RUN ${MAKE} [2022-04-22T16:19:56.587Z] ---> Running in 923fd785e7ed [2022-04-22T16:19:56.587Z] noop [2022-04-22T16:19:56.587Z] Removing intermediate container 923fd785e7ed [2022-04-22T16:19:56.587Z] ---> 69768d5e108d [2022-04-22T16:19:56.587Z] Successfully built 69768d5e108d [2022-04-22T16:19:56.587Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-22T16:19:56.888Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-22T16:19:56.888Z] . [Pipeline] withDockerContainer [2022-04-22T16:19:56.954Z] prd-ubuntu20.04-docker-8c-8g-21803 does not seem to be running inside a container [2022-04-22T16:19:56.996Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1144 -v /w/workspace/gexfoundry_device-sdk-go_PR-1144:/w/workspace/gexfoundry_device-sdk-go_PR-1144:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1144@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1144@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-04-22T16:19:57.366Z] $ docker top 455062a35fdccc3e1333e41b964bd321d95088219cd3a29925eaa0ebe95f7ef7 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-22T16:19:57.715Z] + go version [2022-04-22T16:19:57.715Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-04-22T16:19:57.735Z] $ docker stop --time=1 455062a35fdccc3e1333e41b964bd321d95088219cd3a29925eaa0ebe95f7ef7 [2022-04-22T16:19:59.031Z] $ docker rm -f 455062a35fdccc3e1333e41b964bd321d95088219cd3a29925eaa0ebe95f7ef7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-22T16:19:59.414Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-22T16:19:59.414Z] . [Pipeline] withDockerContainer [2022-04-22T16:19:59.477Z] prd-ubuntu20.04-docker-8c-8g-21803 does not seem to be running inside a container [2022-04-22T16:19:59.531Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1144 -v /w/workspace/gexfoundry_device-sdk-go_PR-1144:/w/workspace/gexfoundry_device-sdk-go_PR-1144:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1144@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1144@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-04-22T16:19:59.937Z] $ docker top 0488f653103836c79ccda1b8c863c791f4864b36e5f312c7efb65d241c09129a -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-22T16:20:00.295Z] + make test [2022-04-22T16:20:00.295Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-04-22T16:20:05.573Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-04-22T16:20:17.915Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-04-22T16:20:17.915Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-04-22T16:20:17.915Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-04-22T16:20:17.915Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.079s coverage: 23.3% of statements [2022-04-22T16:20:17.915Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-04-22T16:20:17.915Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.070s coverage: 27.6% of statements [2022-04-22T16:20:17.915Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.072s coverage: 78.9% of statements [2022-04-22T16:20:17.915Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.056s coverage: 10.8% of statements [2022-04-22T16:20:17.915Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.084s coverage: 60.0% of statements [2022-04-22T16:20:17.915Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-04-22T16:20:17.915Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-04-22T16:20:17.915Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.094s coverage: 34.8% of statements [2022-04-22T16:20:17.915Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-04-22T16:20:18.486Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.061s coverage: 86.1% of statements [2022-04-22T16:20:18.486Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-04-22T16:20:18.486Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-04-22T16:20:18.486Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.086s coverage: 65.1% of statements [2022-04-22T16:20:18.486Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.725s coverage: 89.2% of statements [2022-04-22T16:20:18.486Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-04-22T16:20:18.486Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.058s coverage: 4.7% of statements [2022-04-22T16:20:18.486Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-04-22T16:20:33.377Z] GO111MODULE=on go vet ./... [2022-04-22T16:20:35.923Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-22T16:20:35.923Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-22T16:20:35.923Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-04-22T16:20:36.507Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-04-22T16:20:36.528Z] $ docker stop --time=1 0488f653103836c79ccda1b8c863c791f4864b36e5f312c7efb65d241c09129a [2022-04-22T16:20:38.789Z] $ docker rm -f 0488f653103836c79ccda1b8c863c791f4864b36e5f312c7efb65d241c09129a [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-22T16:20:39.266Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-04-22T16:20:39.319Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-04-22T16:20:39.896Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-04-22T16:20:40.186Z] + ls -al . [2022-04-22T16:20:40.186Z] total 316 [2022-04-22T16:20:40.186Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 22 16:20 . [2022-04-22T16:20:40.186Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 22 16:19 .. [2022-04-22T16:20:40.186Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 22 16:19 .dockerignore [2022-04-22T16:20:40.186Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 22 16:19 .git [2022-04-22T16:20:40.186Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 22 16:19 .github [2022-04-22T16:20:40.186Z] -rw-rw-r-- 1 jenkins jenkins 131 Apr 22 16:19 .gitignore [2022-04-22T16:20:40.186Z] -rw-rw-r-- 1 jenkins jenkins 42 Apr 22 16:19 .golangci.yml [2022-04-22T16:20:40.186Z] drwx------ 3 jenkins jenkins 4096 Apr 22 16:19 .semver [2022-04-22T16:20:40.186Z] -rw-rw-r-- 1 jenkins jenkins 26321 Apr 22 16:19 CHANGELOG.md [2022-04-22T16:20:40.186Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 22 16:19 GOVERNANCE.md [2022-04-22T16:20:40.186Z] -rw-rw-r-- 1 jenkins jenkins 880 Apr 22 16:19 Jenkinsfile [2022-04-22T16:20:40.186Z] -rw-rw-r-- 1 jenkins jenkins 11341 Apr 22 16:19 LICENSE [2022-04-22T16:20:40.186Z] -rw-rw-r-- 1 jenkins jenkins 2015 Apr 22 16:19 Makefile [2022-04-22T16:20:40.186Z] -rw-rw-r-- 1 jenkins jenkins 619 Apr 22 16:19 OWNERS.md [2022-04-22T16:20:40.186Z] -rw-rw-r-- 1 jenkins jenkins 4881 Apr 22 16:19 README.md [2022-04-22T16:20:40.186Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 22 16:19 VERSION [2022-04-22T16:20:40.186Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 22 16:19 bin [2022-04-22T16:20:40.186Z] -rw-r--r-- 1 jenkins jenkins 130819 Apr 22 16:20 coverage.out [2022-04-22T16:20:40.186Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 22 16:19 example [2022-04-22T16:20:40.186Z] -rw-rw-r-- 1 jenkins jenkins 3198 Apr 22 16:19 go.mod [2022-04-22T16:20:40.186Z] -rw-rw-r-- 1 jenkins jenkins 53967 Apr 22 16:19 go.sum [2022-04-22T16:20:40.186Z] drwxrwxr-x 15 jenkins jenkins 4096 Apr 22 16:19 internal [2022-04-22T16:20:40.186Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 22 16:19 openapi [2022-04-22T16:20:40.186Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 22 16:19 pkg [2022-04-22T16:20:40.186Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 22 16:19 snap [2022-04-22T16:20:40.186Z] -rw-rw-r-- 1 jenkins jenkins 222 Apr 22 16:19 version.go [Pipeline] isUnix [Pipeline] sh [2022-04-22T16:20:40.489Z] + 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=5e296d66d2ce57adbef0f8cc5f24a8b4caa869f5 --label arch=amd64 --label version=0.0.0 . [2022-04-22T16:20:40.489Z] Sending build context to Docker daemon 9.717MB [2022-04-22T16:20:40.489Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-04-22T16:20:40.489Z] Step 2/25 : FROM ${BASE} AS builder [2022-04-22T16:20:40.489Z] ---> 69768d5e108d [2022-04-22T16:20:40.489Z] Step 3/25 : ARG MAKE=make build [2022-04-22T16:20:40.750Z] ---> Running in bc9350f83644 [2022-04-22T16:20:40.750Z] Removing intermediate container bc9350f83644 [2022-04-22T16:20:40.750Z] ---> 69b63e3474a9 [2022-04-22T16:20:40.750Z] Step 4/25 : WORKDIR /device-sdk-go [2022-04-22T16:20:40.750Z] ---> Running in 0e4573416bd2 [2022-04-22T16:20:40.750Z] Removing intermediate container 0e4573416bd2 [2022-04-22T16:20:40.750Z] ---> 5b3b4d0e60e6 [2022-04-22T16:20:40.750Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-04-22T16:20:41.010Z] ---> Running in ced3601e7023 [2022-04-22T16:20:41.010Z] Removing intermediate container ced3601e7023 [2022-04-22T16:20:41.010Z] ---> 53a962b61c07 [2022-04-22T16:20:41.010Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-22T16:20:41.010Z] ---> Running in 09b2124a94ef [2022-04-22T16:20:41.581Z] Removing intermediate container 09b2124a94ef [2022-04-22T16:20:41.581Z] ---> 4da1eb08c29a [2022-04-22T16:20:41.581Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-04-22T16:20:41.581Z] ---> Running in b3ac13d310c9 [2022-04-22T16:20:41.842Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-22T16:20:42.782Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-22T16:20:43.044Z] OK: 221 MiB in 52 packages [2022-04-22T16:20:43.303Z] Removing intermediate container b3ac13d310c9 [2022-04-22T16:20:43.303Z] ---> 67355e92663b [2022-04-22T16:20:43.303Z] Step 8/25 : COPY go.mod vendor* ./ [2022-04-22T16:20:43.564Z] ---> 0c41bc8358c2 [2022-04-22T16:20:43.564Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-22T16:20:43.564Z] ---> Running in e3dd1a867f58 [2022-04-22T16:20:44.134Z] Removing intermediate container e3dd1a867f58 [2022-04-22T16:20:44.134Z] ---> 1ae28a443366 [2022-04-22T16:20:44.134Z] Step 10/25 : COPY . . [2022-04-22T16:20:44.704Z] ---> 099a2733f6e1 [2022-04-22T16:20:44.704Z] Step 11/25 : RUN ${MAKE} [2022-04-22T16:20:44.704Z] ---> Running in 1f5306f0ccbf [2022-04-22T16:20:44.966Z] 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-22T16:21:03.064Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-04-22T16:21:03.322Z] Removing intermediate container 1f5306f0ccbf [2022-04-22T16:21:03.322Z] ---> 66187aed662f [2022-04-22T16:21:03.322Z] Step 12/25 : FROM alpine:3.14 [2022-04-22T16:21:03.890Z] 3.14: Pulling from library/alpine [2022-04-22T16:21:03.890Z] 8663204ce13b: Pulling fs layer [2022-04-22T16:21:04.150Z] 8663204ce13b: Verifying Checksum [2022-04-22T16:21:04.150Z] 8663204ce13b: Download complete [2022-04-22T16:21:04.410Z] 8663204ce13b: Pull complete [2022-04-22T16:21:04.410Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-04-22T16:21:04.410Z] Status: Downloaded newer image for alpine:3.14 [2022-04-22T16:21:04.410Z] ---> e04c818066af [2022-04-22T16:21:04.410Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-04-22T16:21:04.410Z] ---> Running in f2489bd93dea [2022-04-22T16:21:04.410Z] Removing intermediate container f2489bd93dea [2022-04-22T16:21:04.410Z] ---> 5d9c5c835b4b [2022-04-22T16:21:04.410Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-22T16:21:04.670Z] ---> Running in a5c8d8a78b8c [2022-04-22T16:21:05.238Z] Removing intermediate container a5c8d8a78b8c [2022-04-22T16:21:05.238Z] ---> 4900be094fd8 [2022-04-22T16:21:05.238Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-04-22T16:21:05.238Z] ---> Running in 51ce76a1ee22 [2022-04-22T16:21:05.499Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-04-22T16:21:06.436Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-04-22T16:21:06.696Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2022-04-22T16:21:06.696Z] (2/5) Installing libsodium (1.0.18-r0) [2022-04-22T16:21:06.696Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2022-04-22T16:21:06.956Z] (4/5) Installing libzmq (4.3.4-r0) [2022-04-22T16:21:06.956Z] (5/5) Installing zeromq (4.3.4-r0) [2022-04-22T16:21:06.956Z] Executing busybox-1.33.1-r7.trigger [2022-04-22T16:21:06.956Z] OK: 8 MiB in 19 packages [2022-04-22T16:21:07.525Z] Removing intermediate container 51ce76a1ee22 [2022-04-22T16:21:07.525Z] ---> 26324611251b [2022-04-22T16:21:07.525Z] Step 16/25 : WORKDIR / [2022-04-22T16:21:07.525Z] ---> Running in c71b9ea1d9c8 [2022-04-22T16:21:07.525Z] Removing intermediate container c71b9ea1d9c8 [2022-04-22T16:21:07.525Z] ---> ada30f6b7514 [2022-04-22T16:21:07.525Z] Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-04-22T16:21:07.785Z] ---> e1624c8b9de3 [2022-04-22T16:21:07.785Z] Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-04-22T16:21:08.355Z] ---> 8529c342fd8f [2022-04-22T16:21:08.355Z] Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-04-22T16:21:08.355Z] ---> e7fb53259970 [2022-04-22T16:21:08.355Z] Step 20/25 : EXPOSE 59999 [2022-04-22T16:21:08.616Z] ---> Running in 0c3bb43af0c8 [2022-04-22T16:21:08.616Z] Removing intermediate container 0c3bb43af0c8 [2022-04-22T16:21:08.616Z] ---> 7f98915a4019 [2022-04-22T16:21:08.616Z] Step 21/25 : ENTRYPOINT ["/device-simple"] [2022-04-22T16:21:08.616Z] ---> Running in 53cab395a476 [2022-04-22T16:21:08.616Z] Removing intermediate container 53cab395a476 [2022-04-22T16:21:08.616Z] ---> 896e6e51ad54 [2022-04-22T16:21:08.616Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-04-22T16:21:08.616Z] ---> Running in 37ae8dd05b82 [2022-04-22T16:21:08.876Z] Removing intermediate container 37ae8dd05b82 [2022-04-22T16:21:08.876Z] ---> 0eb412cf0dcf [2022-04-22T16:21:08.876Z] Step 23/25 : LABEL arch=amd64 [2022-04-22T16:21:08.876Z] ---> Running in b90fa0e7f769 [2022-04-22T16:21:08.876Z] Removing intermediate container b90fa0e7f769 [2022-04-22T16:21:08.876Z] ---> 18b50f0793ca [2022-04-22T16:21:08.876Z] Step 24/25 : LABEL git_sha=5e296d66d2ce57adbef0f8cc5f24a8b4caa869f5 [2022-04-22T16:21:09.136Z] ---> Running in ff1f5fa39951 [2022-04-22T16:21:09.136Z] Removing intermediate container ff1f5fa39951 [2022-04-22T16:21:09.136Z] ---> ac0411cf8dcb [2022-04-22T16:21:09.136Z] Step 25/25 : LABEL version=0.0.0 [2022-04-22T16:21:09.136Z] ---> Running in 13a0071f6b0c [2022-04-22T16:21:09.136Z] Removing intermediate container 13a0071f6b0c [2022-04-22T16:21:09.136Z] ---> 37e36015a84d [2022-04-22T16:21:09.136Z] [Warning] One or more build-args [ARCH] were not consumed [2022-04-22T16:21:09.136Z] Successfully built 37e36015a84d [2022-04-22T16:21:09.136Z] 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-22T16:21:09.524Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-22T16:21:09.524Z] [2022-04-22T16:21:09.524Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-04-22T16:21:09.826Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-22T16:21:09.826Z] latest: Pulling from edgex-lftools-log-publisher [2022-04-22T16:21:09.826Z] 5eb5b503b376: Pulling fs layer [2022-04-22T16:21:09.826Z] 5c69ac0246d0: Pulling fs layer [2022-04-22T16:21:09.826Z] ec43610c2a17: Pulling fs layer [2022-04-22T16:21:09.826Z] 3a2ae6a8a46f: Pulling fs layer [2022-04-22T16:21:09.826Z] 33b1e0a273af: Pulling fs layer [2022-04-22T16:21:09.826Z] 5d3b04190fa2: Pulling fs layer [2022-04-22T16:21:09.826Z] 2f39f015ded8: Pulling fs layer [2022-04-22T16:21:09.826Z] 3a2ae6a8a46f: Waiting [2022-04-22T16:21:09.826Z] 33b1e0a273af: Waiting [2022-04-22T16:21:09.826Z] 5d3b04190fa2: Waiting [2022-04-22T16:21:09.826Z] 2f39f015ded8: Waiting [2022-04-22T16:21:09.826Z] 5c69ac0246d0: Verifying Checksum [2022-04-22T16:21:09.826Z] 5c69ac0246d0: Download complete [2022-04-22T16:21:09.826Z] 3a2ae6a8a46f: Verifying Checksum [2022-04-22T16:21:09.826Z] 3a2ae6a8a46f: Download complete [2022-04-22T16:21:09.826Z] 33b1e0a273af: Verifying Checksum [2022-04-22T16:21:09.826Z] 33b1e0a273af: Download complete [2022-04-22T16:21:09.826Z] 5d3b04190fa2: Verifying Checksum [2022-04-22T16:21:09.826Z] 5d3b04190fa2: Download complete [2022-04-22T16:21:09.826Z] ec43610c2a17: Verifying Checksum [2022-04-22T16:21:09.826Z] ec43610c2a17: Download complete [2022-04-22T16:21:10.086Z] 5eb5b503b376: Verifying Checksum [2022-04-22T16:21:10.086Z] 5eb5b503b376: Download complete [2022-04-22T16:21:10.654Z] 2f39f015ded8: Download complete [2022-04-22T16:21:11.227Z] 5eb5b503b376: Pull complete [2022-04-22T16:21:11.227Z] 5c69ac0246d0: Pull complete [2022-04-22T16:21:11.794Z] ec43610c2a17: Pull complete [2022-04-22T16:21:11.794Z] 3a2ae6a8a46f: Pull complete [2022-04-22T16:21:12.053Z] 33b1e0a273af: Pull complete [2022-04-22T16:21:12.053Z] 5d3b04190fa2: Pull complete [2022-04-22T16:21:16.251Z] 2f39f015ded8: Pull complete [2022-04-22T16:21:16.251Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-04-22T16:21:16.251Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-22T16:21:16.251Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-04-22T16:21:16.317Z] prd-ubuntu20.04-docker-8c-8g-21803 does not seem to be running inside a container [2022-04-22T16:21:16.366Z] $ 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-1144 -v /w/workspace/gexfoundry_device-sdk-go_PR-1144:/w/workspace/gexfoundry_device-sdk-go_PR-1144:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1144@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1144@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-22T16:21:18.133Z] $ docker top 33ce93556ac742483b27a8c615bc6b28eedc73f4f59eab273b1667c2bc2c3dd0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-22T16:21:18.513Z] ---> job-cost.sh [2022-04-22T16:21:18.513Z] lf-activate-venv: SKIPPING [2022-04-22T16:21:18.513Z] INFO: No Stack... [2022-04-22T16:21:19.085Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-22T16:21:19.346Z] INFO: Archiving Costs [Pipeline] sh [2022-04-22T16:21:19.639Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1144/archives/cost.csv [2022-04-22T16:21:19.639Z] + cut -d, -f6 [Pipeline] lock [2022-04-22T16:21:19.656Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1144-2-stack-cost] [2022-04-22T16:21:19.668Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1144-2-stack-cost] did not exist. Created. [2022-04-22T16:21:19.668Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1144-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-22T16:21:19.971Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-04-22T16:21:19.999Z] Stashed 1 file(s) [Pipeline] } [2022-04-22T16:21:20.006Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1144-2-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-22T16:21:20.037Z] $ docker stop --time=1 33ce93556ac742483b27a8c615bc6b28eedc73f4f59eab273b1667c2bc2c3dd0 [2022-04-22T16:21:21.198Z] $ docker rm -f 33ce93556ac742483b27a8c615bc6b28eedc73f4f59eab273b1667c2bc2c3dd0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-04-22T16:22:42.128Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-21804 in /w/workspace/gexfoundry_device-sdk-go_PR-1144 [Pipeline] { [Pipeline] ws [2022-04-22T16:22:42.142Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2022-04-22T16:22:42.409Z] The recommended git tool is: git [2022-04-22T16:22:49.643Z] using credential edgex-jenkins-ssh [2022-04-22T16:22:49.665Z] Cloning the remote Git repository [2022-04-22T16:22:49.757Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2022-04-22T16:22:49.857Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2022-04-22T16:22:49.972Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-04-22T16:22:49.973Z] > git --version # timeout=10 [2022-04-22T16:22:50.011Z] > git --version # 'git version 2.25.1' [2022-04-22T16:22:50.014Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-22T16:22:50.085Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-22T16:22:52.279Z] Merging remotes/origin/main commit 0ad629fb126a20093fbb85ee62bd441bcf21fc4e into PR head commit 5e296d66d2ce57adbef0f8cc5f24a8b4caa869f5 [2022-04-22T16:22:52.688Z] Merge succeeded, producing 5e296d66d2ce57adbef0f8cc5f24a8b4caa869f5 [2022-04-22T16:22:52.689Z] Checking out Revision 5e296d66d2ce57adbef0f8cc5f24a8b4caa869f5 (PR-1144) [2022-04-22T16:22:51.593Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-04-22T16:22:51.623Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-22T16:22:51.654Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-04-22T16:22:51.695Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-04-22T16:22:51.696Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-22T16:22:51.710Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1144/head:refs/remotes/origin/PR-1144 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-04-22T16:22:52.304Z] > git config core.sparsecheckout # timeout=10 [2022-04-22T16:22:52.322Z] > git checkout -f 5e296d66d2ce57adbef0f8cc5f24a8b4caa869f5 # timeout=10 [2022-04-22T16:22:52.499Z] > git remote # timeout=10 [2022-04-22T16:22:52.533Z] > git config --get remote.origin.url # timeout=10 [2022-04-22T16:22:52.568Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-22T16:22:52.581Z] > git merge 0ad629fb126a20093fbb85ee62bd441bcf21fc4e # timeout=10 [2022-04-22T16:22:52.656Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-04-22T16:22:52.704Z] > git config core.sparsecheckout # timeout=10 [2022-04-22T16:22:52.731Z] > git checkout -f 5e296d66d2ce57adbef0f8cc5f24a8b4caa869f5 # timeout=10 [2022-04-22T16:22:57.091Z] Commit message: "build(deps): bump github.com/pelletier/go-toml from 1.9.4 to 1.9.5" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-22T16:22:58.096Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-04-22T16:22:58.096Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-22T16:22:58.096Z] Dload Upload Total Spent Left Speed [2022-04-22T16:22:58.096Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 206k 0 --:--:-- --:--:-- --:--:-- 206k [Pipeline] sh [2022-04-22T16:22:58.614Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-04-22T16:22:58.961Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-04-22T16:22:58.961Z] + sudo tee /etc/docker/daemon.new [2022-04-22T16:22:58.961Z] { [2022-04-22T16:22:58.961Z] "registry-mirrors": [ [2022-04-22T16:22:58.961Z] "https://nexus3.edgexfoundry.org:10001" [2022-04-22T16:22:58.961Z] ], [2022-04-22T16:22:58.961Z] "bip": "10.250.0.254/24", [2022-04-22T16:22:58.961Z] "hosts": [ [2022-04-22T16:22:58.961Z] "tcp://0.0.0.0:5555", [2022-04-22T16:22:58.961Z] "unix:///var/run/docker.sock" [2022-04-22T16:22:58.961Z] ], [2022-04-22T16:22:58.961Z] "mtu": 1458, [2022-04-22T16:22:58.961Z] "selinux-enabled": true, [2022-04-22T16:22:58.961Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-04-22T16:22:58.961Z] } [Pipeline] sh [2022-04-22T16:22:59.310Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-04-22T16:22:59.669Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-22T16:23:18.061Z] provisioning config files... [2022-04-22T16:23:18.092Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config336596059270452863tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-22T16:23:18.523Z] ---> docker-login.sh [2022-04-22T16:23:18.523Z] nexus3.edgexfoundry.org:10001 [2022-04-22T16:23:19.140Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-22T16:23:19.415Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-22T16:23:19.415Z] Configure a credential helper to remove this warning. See [2022-04-22T16:23:19.415Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-22T16:23:19.415Z] [2022-04-22T16:23:19.415Z] Login Succeeded [2022-04-22T16:23:19.694Z] nexus3.edgexfoundry.org:10002 [2022-04-22T16:23:19.969Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-22T16:23:19.969Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-22T16:23:19.969Z] Configure a credential helper to remove this warning. See [2022-04-22T16:23:19.969Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-22T16:23:19.969Z] [2022-04-22T16:23:19.969Z] Login Succeeded [2022-04-22T16:23:19.969Z] nexus3.edgexfoundry.org:10003 [2022-04-22T16:23:20.577Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-22T16:23:20.577Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-22T16:23:20.577Z] Configure a credential helper to remove this warning. See [2022-04-22T16:23:20.577Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-22T16:23:20.577Z] [2022-04-22T16:23:20.577Z] Login Succeeded [2022-04-22T16:23:20.577Z] nexus3.edgexfoundry.org:10004 [2022-04-22T16:23:20.852Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-22T16:23:21.128Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-22T16:23:21.128Z] Configure a credential helper to remove this warning. See [2022-04-22T16:23:21.128Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-22T16:23:21.128Z] [2022-04-22T16:23:21.128Z] Login Succeeded [2022-04-22T16:23:21.128Z] docker.io [2022-04-22T16:23:21.403Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-22T16:23:22.001Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-22T16:23:22.001Z] Configure a credential helper to remove this warning. See [2022-04-22T16:23:22.001Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-22T16:23:22.001Z] [2022-04-22T16:23:22.001Z] Login Succeeded [2022-04-22T16:23:22.001Z] ---> docker-login.sh ends [Pipeline] } [2022-04-22T16:23:22.022Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-22T16:23:22.508Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-22T16:23:22.519Z] ========================================================= [2022-04-22T16:23:22.519Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-04-22T16:23:22.519Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-22T16:23:22.901Z] + 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-22T16:23:23.512Z] Sending build context to Docker daemon 5.197MB [2022-04-22T16:23:23.512Z] Step 1/11 : ARG BASE=golang:1.17-alpine3.15 [2022-04-22T16:23:23.512Z] Step 2/11 : FROM ${BASE} AS builder [2022-04-22T16:23:23.512Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-04-22T16:23:23.512Z] 9b3977197b4f: Pulling fs layer [2022-04-22T16:23:23.512Z] 1a89e8eeedd5: Pulling fs layer [2022-04-22T16:23:23.512Z] 94645a83ff95: Pulling fs layer [2022-04-22T16:23:23.512Z] 3f3a8bcf1eab: Pulling fs layer [2022-04-22T16:23:23.512Z] 0c92f367c5e7: Pulling fs layer [2022-04-22T16:23:23.512Z] 3096ccb668a1: Pulling fs layer [2022-04-22T16:23:23.512Z] e8cf19c19ddd: Pulling fs layer [2022-04-22T16:23:23.512Z] a4caa8a26152: Pulling fs layer [2022-04-22T16:23:23.512Z] 3f3a8bcf1eab: Waiting [2022-04-22T16:23:23.512Z] 0c92f367c5e7: Waiting [2022-04-22T16:23:23.512Z] 3096ccb668a1: Waiting [2022-04-22T16:23:23.512Z] e8cf19c19ddd: Waiting [2022-04-22T16:23:23.512Z] a4caa8a26152: Waiting [2022-04-22T16:23:23.791Z] 94645a83ff95: Verifying Checksum [2022-04-22T16:23:23.791Z] 1a89e8eeedd5: Verifying Checksum [2022-04-22T16:23:23.791Z] 94645a83ff95: Download complete [2022-04-22T16:23:23.791Z] 1a89e8eeedd5: Download complete [2022-04-22T16:23:23.791Z] 0c92f367c5e7: Verifying Checksum [2022-04-22T16:23:23.791Z] 0c92f367c5e7: Download complete [2022-04-22T16:23:23.791Z] 3096ccb668a1: Verifying Checksum [2022-04-22T16:23:23.791Z] 3096ccb668a1: Download complete [2022-04-22T16:23:23.791Z] 9b3977197b4f: Verifying Checksum [2022-04-22T16:23:23.791Z] 9b3977197b4f: Download complete [2022-04-22T16:23:23.791Z] e8cf19c19ddd: Verifying Checksum [2022-04-22T16:23:23.791Z] e8cf19c19ddd: Download complete [2022-04-22T16:23:24.392Z] 9b3977197b4f: Pull complete [2022-04-22T16:23:25.382Z] 1a89e8eeedd5: Pull complete [2022-04-22T16:23:25.658Z] 94645a83ff95: Pull complete [2022-04-22T16:23:25.932Z] a4caa8a26152: Verifying Checksum [2022-04-22T16:23:25.932Z] a4caa8a26152: Download complete [2022-04-22T16:23:26.531Z] 3f3a8bcf1eab: Verifying Checksum [2022-04-22T16:23:26.531Z] 3f3a8bcf1eab: Download complete [2022-04-22T16:23:38.957Z] 3f3a8bcf1eab: Pull complete [2022-04-22T16:23:38.957Z] 0c92f367c5e7: Pull complete [2022-04-22T16:23:38.957Z] 3096ccb668a1: Pull complete [2022-04-22T16:23:39.230Z] e8cf19c19ddd: Pull complete [2022-04-22T16:23:45.970Z] a4caa8a26152: Pull complete [2022-04-22T16:23:45.970Z] Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 [2022-04-22T16:23:45.970Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-04-22T16:23:45.970Z] ---> 725f1c02e7f9 [2022-04-22T16:23:45.970Z] Step 3/11 : ARG MAKE=make build [2022-04-22T16:23:46.581Z] ---> Running in f2e582b1b60f [2022-04-22T16:23:46.858Z] Removing intermediate container f2e582b1b60f [2022-04-22T16:23:46.858Z] ---> 9a027d27a373 [2022-04-22T16:23:46.858Z] Step 4/11 : WORKDIR /device-sdk-go [2022-04-22T16:23:46.858Z] ---> Running in 66a6cf5c1f5b [2022-04-22T16:23:47.131Z] Removing intermediate container 66a6cf5c1f5b [2022-04-22T16:23:47.131Z] ---> 56cfe127ad28 [2022-04-22T16:23:47.131Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-04-22T16:23:47.131Z] ---> Running in 2176d9feae75 [2022-04-22T16:23:47.733Z] Removing intermediate container 2176d9feae75 [2022-04-22T16:23:47.733Z] ---> c5beb3b7bfa1 [2022-04-22T16:23:47.733Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-22T16:23:47.733Z] ---> Running in 382e4dbfb3b9 [2022-04-22T16:23:49.721Z] Removing intermediate container 382e4dbfb3b9 [2022-04-22T16:23:49.721Z] ---> f338425c5758 [2022-04-22T16:23:49.722Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-04-22T16:23:49.722Z] ---> Running in 6adc332dd401 [2022-04-22T16:23:50.719Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-22T16:23:51.722Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-22T16:23:52.734Z] OK: 220 MiB in 52 packages [2022-04-22T16:23:53.345Z] Removing intermediate container 6adc332dd401 [2022-04-22T16:23:53.345Z] ---> 14734e1bb3be [2022-04-22T16:23:53.345Z] Step 8/11 : COPY go.mod vendor* ./ [2022-04-22T16:23:53.948Z] ---> c6274257767a [2022-04-22T16:23:53.948Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-22T16:23:54.223Z] ---> Running in ca95d24d2de0 [2022-04-22T16:24:41.257Z] Removing intermediate container ca95d24d2de0 [2022-04-22T16:24:41.257Z] ---> cb5dc8aa4975 [2022-04-22T16:24:41.257Z] Step 10/11 : COPY . . [2022-04-22T16:24:41.257Z] ---> 487d7f6f1066 [2022-04-22T16:24:41.257Z] Step 11/11 : RUN ${MAKE} [2022-04-22T16:24:41.257Z] ---> Running in b05336d2896c [2022-04-22T16:24:41.257Z] noop [2022-04-22T16:24:41.857Z] Removing intermediate container b05336d2896c [2022-04-22T16:24:41.857Z] ---> 49ab7599fba0 [2022-04-22T16:24:41.857Z] Successfully built 49ab7599fba0 [2022-04-22T16:24:41.857Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-22T16:24:42.197Z] + docker inspect -f . ci-base-image-arm64 [2022-04-22T16:24:42.198Z] . [Pipeline] withDockerContainer [2022-04-22T16:24:42.428Z] prd-ubuntu20.04-docker-arm64-4c-16g-21804 does not seem to be running inside a container [2022-04-22T16:24:42.516Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-04-22T16:24:43.753Z] $ docker top df0d1eda7efa80d545473b131abaa1907e82e8c730c6b34be09bcce557b8f449 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-22T16:24:44.630Z] + go version [2022-04-22T16:24:44.630Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-04-22T16:24:44.666Z] $ docker stop --time=1 df0d1eda7efa80d545473b131abaa1907e82e8c730c6b34be09bcce557b8f449 [2022-04-22T16:24:46.287Z] $ docker rm -f df0d1eda7efa80d545473b131abaa1907e82e8c730c6b34be09bcce557b8f449 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-22T16:24:46.880Z] + docker inspect -f . ci-base-image-arm64 [2022-04-22T16:24:46.880Z] . [Pipeline] withDockerContainer [2022-04-22T16:24:47.100Z] prd-ubuntu20.04-docker-arm64-4c-16g-21804 does not seem to be running inside a container [2022-04-22T16:24:47.196Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-04-22T16:24:48.387Z] $ docker top 6b7be2408262a0a6718b1d94fbf6e65b5deb9fdf07e42e345efc37d77202cb2d -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-22T16:24:49.273Z] + make test [2022-04-22T16:24:49.273Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-04-22T16:25:21.614Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-04-22T16:27:13.645Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-04-22T16:27:13.645Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-04-22T16:27:13.645Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-04-22T16:27:13.645Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.372s coverage: 23.3% of statements [2022-04-22T16:27:13.645Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-04-22T16:27:13.645Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.275s coverage: 27.6% of statements [2022-04-22T16:27:13.645Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.335s coverage: 78.9% of statements [2022-04-22T16:27:13.645Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.303s coverage: 10.8% of statements [2022-04-22T16:27:13.645Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.399s coverage: 60.0% of statements [2022-04-22T16:27:13.646Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-04-22T16:27:13.646Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-04-22T16:27:17.069Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.438s coverage: 34.8% of statements [2022-04-22T16:27:17.069Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-04-22T16:27:17.674Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.266s coverage: 86.1% of statements [2022-04-22T16:27:17.674Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-04-22T16:27:17.674Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-04-22T16:27:19.117Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.525s coverage: 65.1% of statements [2022-04-22T16:27:21.761Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.292s coverage: 89.2% of statements [2022-04-22T16:27:21.761Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-04-22T16:27:23.738Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.239s coverage: 4.7% of statements [2022-04-22T16:27:23.738Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-04-22T16:27:24.332Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-04-22T16:27:24.332Z] GO111MODULE=on go vet ./... [2022-04-22T16:29:01.205Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-22T16:29:01.205Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-22T16:29:01.205Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-04-22T16:29:01.229Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-04-22T16:29:01.263Z] $ docker stop --time=1 6b7be2408262a0a6718b1d94fbf6e65b5deb9fdf07e42e345efc37d77202cb2d [2022-04-22T16:29:03.088Z] $ docker rm -f 6b7be2408262a0a6718b1d94fbf6e65b5deb9fdf07e42e345efc37d77202cb2d [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-22T16:29:04.507Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-04-22T16:29:04.526Z] Warning: overwriting stash ‘coverage-report’ [2022-04-22T16:29:05.408Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-22T16:29:05.804Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-04-22T16:29:06.135Z] + ls -al . [2022-04-22T16:29:06.135Z] total 312 [2022-04-22T16:29:06.135Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 22 16:28 . [2022-04-22T16:29:06.135Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 22 16:22 .. [2022-04-22T16:29:06.135Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 22 16:22 .dockerignore [2022-04-22T16:29:06.135Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 22 16:22 .git [2022-04-22T16:29:06.135Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 22 16:22 .github [2022-04-22T16:29:06.135Z] -rw-rw-r-- 1 jenkins jenkins 131 Apr 22 16:22 .gitignore [2022-04-22T16:29:06.135Z] -rw-rw-r-- 1 jenkins jenkins 42 Apr 22 16:22 .golangci.yml [2022-04-22T16:29:06.135Z] -rw-rw-r-- 1 jenkins jenkins 26321 Apr 22 16:22 CHANGELOG.md [2022-04-22T16:29:06.135Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 22 16:22 GOVERNANCE.md [2022-04-22T16:29:06.135Z] -rw-rw-r-- 1 jenkins jenkins 880 Apr 22 16:22 Jenkinsfile [2022-04-22T16:29:06.135Z] -rw-rw-r-- 1 jenkins jenkins 11341 Apr 22 16:22 LICENSE [2022-04-22T16:29:06.135Z] -rw-rw-r-- 1 jenkins jenkins 2015 Apr 22 16:22 Makefile [2022-04-22T16:29:06.135Z] -rw-rw-r-- 1 jenkins jenkins 619 Apr 22 16:22 OWNERS.md [2022-04-22T16:29:06.135Z] -rw-rw-r-- 1 jenkins jenkins 4881 Apr 22 16:22 README.md [2022-04-22T16:29:06.135Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 22 16:19 VERSION [2022-04-22T16:29:06.135Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 22 16:22 bin [2022-04-22T16:29:06.135Z] -rw-r--r-- 1 jenkins jenkins 130819 Apr 22 16:27 coverage.out [2022-04-22T16:29:06.135Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 22 16:22 example [2022-04-22T16:29:06.135Z] -rw-rw-r-- 1 jenkins jenkins 3198 Apr 22 16:22 go.mod [2022-04-22T16:29:06.135Z] -rw-rw-r-- 1 jenkins jenkins 53967 Apr 22 16:22 go.sum [2022-04-22T16:29:06.135Z] drwxrwxr-x 15 jenkins jenkins 4096 Apr 22 16:22 internal [2022-04-22T16:29:06.135Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 22 16:22 openapi [2022-04-22T16:29:06.135Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 22 16:22 pkg [2022-04-22T16:29:06.135Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 22 16:22 snap [2022-04-22T16:29:06.135Z] -rw-rw-r-- 1 jenkins jenkins 222 Apr 22 16:22 version.go [Pipeline] isUnix [Pipeline] sh [2022-04-22T16:29:06.505Z] + 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=5e296d66d2ce57adbef0f8cc5f24a8b4caa869f5 --label arch=arm64 --label version=0.0.0 . [2022-04-22T16:29:07.110Z] Sending build context to Docker daemon 5.328MB [2022-04-22T16:29:07.110Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-04-22T16:29:07.110Z] Step 2/25 : FROM ${BASE} AS builder [2022-04-22T16:29:07.110Z] ---> 49ab7599fba0 [2022-04-22T16:29:07.110Z] Step 3/25 : ARG MAKE=make build [2022-04-22T16:29:07.110Z] ---> Running in 0e9abc8b5e0f [2022-04-22T16:29:07.385Z] Removing intermediate container 0e9abc8b5e0f [2022-04-22T16:29:07.385Z] ---> 0cacd922deb4 [2022-04-22T16:29:07.385Z] Step 4/25 : WORKDIR /device-sdk-go [2022-04-22T16:29:07.660Z] ---> Running in 45f7319078bc [2022-04-22T16:29:07.935Z] Removing intermediate container 45f7319078bc [2022-04-22T16:29:07.935Z] ---> a1a3ff594b5e [2022-04-22T16:29:07.935Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-04-22T16:29:07.935Z] ---> Running in c294f3496e59 [2022-04-22T16:29:08.209Z] Removing intermediate container c294f3496e59 [2022-04-22T16:29:08.209Z] ---> 457de9fcdcad [2022-04-22T16:29:08.209Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-22T16:29:08.209Z] ---> Running in ee8125e2b041 [2022-04-22T16:29:10.193Z] Removing intermediate container ee8125e2b041 [2022-04-22T16:29:10.193Z] ---> 8324e5dc4096 [2022-04-22T16:29:10.193Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-04-22T16:29:10.193Z] ---> Running in 514bf7eeb9a3 [2022-04-22T16:29:11.172Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-22T16:29:11.764Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-22T16:29:12.744Z] OK: 220 MiB in 52 packages [2022-04-22T16:29:13.349Z] Removing intermediate container 514bf7eeb9a3 [2022-04-22T16:29:13.349Z] ---> cb777a13608f [2022-04-22T16:29:13.349Z] Step 8/25 : COPY go.mod vendor* ./ [2022-04-22T16:29:13.951Z] ---> 18df9e19d572 [2022-04-22T16:29:13.951Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-22T16:29:13.951Z] ---> Running in 03b434df7ce3 [2022-04-22T16:29:15.938Z] Removing intermediate container 03b434df7ce3 [2022-04-22T16:29:15.938Z] ---> 3752563f4161 [2022-04-22T16:29:15.938Z] Step 10/25 : COPY . . [2022-04-22T16:29:17.375Z] ---> 55d9ac1f7c4d [2022-04-22T16:29:17.375Z] Step 11/25 : RUN ${MAKE} [2022-04-22T16:29:17.375Z] ---> Running in b31687ee417c [2022-04-22T16:29:18.354Z] 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-22T16:31:10.164Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-04-22T16:31:12.138Z] Removing intermediate container b31687ee417c [2022-04-22T16:31:12.139Z] ---> a58d956ef768 [2022-04-22T16:31:12.139Z] Step 12/25 : FROM alpine:3.14 [2022-04-22T16:31:12.734Z] 3.14: Pulling from library/alpine [2022-04-22T16:31:13.007Z] 455c02918c45: Pulling fs layer [2022-04-22T16:31:13.280Z] 455c02918c45: Verifying Checksum [2022-04-22T16:31:13.280Z] 455c02918c45: Download complete [2022-04-22T16:31:13.880Z] 455c02918c45: Pull complete [2022-04-22T16:31:13.880Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-04-22T16:31:13.880Z] Status: Downloaded newer image for alpine:3.14 [2022-04-22T16:31:13.880Z] ---> ac73e934f311 [2022-04-22T16:31:13.880Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-04-22T16:31:13.880Z] ---> Running in f3beb728a4b2 [2022-04-22T16:31:14.159Z] Removing intermediate container f3beb728a4b2 [2022-04-22T16:31:14.159Z] ---> b522816e6457 [2022-04-22T16:31:14.159Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-22T16:31:14.437Z] ---> Running in 90fc4c782fca [2022-04-22T16:31:15.883Z] Removing intermediate container 90fc4c782fca [2022-04-22T16:31:15.883Z] ---> d6cb7bd8b8a4 [2022-04-22T16:31:15.883Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-04-22T16:31:15.883Z] ---> Running in 2306112c23fc [2022-04-22T16:31:16.865Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-04-22T16:31:17.844Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-04-22T16:31:18.825Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2022-04-22T16:31:18.825Z] (2/5) Installing libsodium (1.0.18-r0) [2022-04-22T16:31:18.825Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2022-04-22T16:31:19.101Z] (4/5) Installing libzmq (4.3.4-r0) [2022-04-22T16:31:19.101Z] (5/5) Installing zeromq (4.3.4-r0) [2022-04-22T16:31:19.101Z] Executing busybox-1.33.1-r7.trigger [2022-04-22T16:31:19.101Z] OK: 8 MiB in 19 packages [2022-04-22T16:31:20.081Z] Removing intermediate container 2306112c23fc [2022-04-22T16:31:20.081Z] ---> f0c8b5056e5b [2022-04-22T16:31:20.081Z] Step 16/25 : WORKDIR / [2022-04-22T16:31:20.081Z] ---> Running in 59a3c10f9a99 [2022-04-22T16:31:20.677Z] Removing intermediate container 59a3c10f9a99 [2022-04-22T16:31:20.677Z] ---> 9527679f0e84 [2022-04-22T16:31:20.677Z] Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-04-22T16:31:20.960Z] ---> b1aab7918b15 [2022-04-22T16:31:20.960Z] Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-04-22T16:31:22.931Z] ---> 1cd3bf9c9b45 [2022-04-22T16:31:22.931Z] Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-04-22T16:31:23.205Z] ---> ff07713a2ca8 [2022-04-22T16:31:23.205Z] Step 20/25 : EXPOSE 59999 [2022-04-22T16:31:23.205Z] ---> Running in 2b8f49d4193f [2022-04-22T16:31:23.489Z] Removing intermediate container 2b8f49d4193f [2022-04-22T16:31:23.489Z] ---> e6c518bf5fc8 [2022-04-22T16:31:23.489Z] Step 21/25 : ENTRYPOINT ["/device-simple"] [2022-04-22T16:31:23.489Z] ---> Running in 4034929d96fc [2022-04-22T16:31:24.089Z] Removing intermediate container 4034929d96fc [2022-04-22T16:31:24.089Z] ---> c57b04726b35 [2022-04-22T16:31:24.089Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-04-22T16:31:24.089Z] ---> Running in 972b4da6b1c6 [2022-04-22T16:31:24.363Z] Removing intermediate container 972b4da6b1c6 [2022-04-22T16:31:24.363Z] ---> 942b4324ed35 [2022-04-22T16:31:24.363Z] Step 23/25 : LABEL arch=arm64 [2022-04-22T16:31:24.363Z] ---> Running in 06cff0039c69 [2022-04-22T16:31:24.645Z] Removing intermediate container 06cff0039c69 [2022-04-22T16:31:24.645Z] ---> d4ee40b9d0c8 [2022-04-22T16:31:24.645Z] Step 24/25 : LABEL git_sha=5e296d66d2ce57adbef0f8cc5f24a8b4caa869f5 [2022-04-22T16:31:24.645Z] ---> Running in 6b02e362497e [2022-04-22T16:31:24.918Z] Removing intermediate container 6b02e362497e [2022-04-22T16:31:24.918Z] ---> 6abcec64272d [2022-04-22T16:31:24.918Z] Step 25/25 : LABEL version=0.0.0 [2022-04-22T16:31:25.192Z] ---> Running in dae3d1542d62 [2022-04-22T16:31:25.466Z] Removing intermediate container dae3d1542d62 [2022-04-22T16:31:25.466Z] ---> 6a43620ceb74 [2022-04-22T16:31:25.466Z] [Warning] One or more build-args [ARCH] were not consumed [2022-04-22T16:31:25.466Z] Successfully built 6a43620ceb74 [2022-04-22T16:31:25.466Z] 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-22T16:31:25.899Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-22T16:31:25.899Z] [2022-04-22T16:31:25.899Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-04-22T16:31:26.256Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-22T16:31:26.533Z] arm64: Pulling from edgex-lftools-log-publisher [2022-04-22T16:31:26.533Z] 8998bd30e6a1: Pulling fs layer [2022-04-22T16:31:26.533Z] 04944245beec: Pulling fs layer [2022-04-22T16:31:26.533Z] 699f458cf7ca: Pulling fs layer [2022-04-22T16:31:26.533Z] 765212b225bb: Pulling fs layer [2022-04-22T16:31:26.533Z] f23df028b6ca: Pulling fs layer [2022-04-22T16:31:26.533Z] d65c8cfc05b1: Pulling fs layer [2022-04-22T16:31:26.533Z] 2437ff75d9bd: Pulling fs layer [2022-04-22T16:31:26.533Z] 765212b225bb: Waiting [2022-04-22T16:31:26.533Z] f23df028b6ca: Waiting [2022-04-22T16:31:26.533Z] d65c8cfc05b1: Waiting [2022-04-22T16:31:26.533Z] 2437ff75d9bd: Waiting [2022-04-22T16:31:26.533Z] 04944245beec: Download complete [2022-04-22T16:31:26.533Z] 765212b225bb: Download complete [2022-04-22T16:31:26.533Z] f23df028b6ca: Download complete [2022-04-22T16:31:26.533Z] d65c8cfc05b1: Verifying Checksum [2022-04-22T16:31:26.533Z] d65c8cfc05b1: Download complete [2022-04-22T16:31:26.808Z] 699f458cf7ca: Verifying Checksum [2022-04-22T16:31:26.808Z] 699f458cf7ca: Download complete [2022-04-22T16:31:27.084Z] 8998bd30e6a1: Verifying Checksum [2022-04-22T16:31:27.084Z] 8998bd30e6a1: Download complete [2022-04-22T16:31:29.713Z] 2437ff75d9bd: Verifying Checksum [2022-04-22T16:31:29.714Z] 2437ff75d9bd: Download complete [2022-04-22T16:31:31.695Z] 8998bd30e6a1: Pull complete [2022-04-22T16:31:31.968Z] 04944245beec: Pull complete [2022-04-22T16:31:33.403Z] 699f458cf7ca: Pull complete [2022-04-22T16:31:33.679Z] 765212b225bb: Pull complete [2022-04-22T16:31:34.656Z] f23df028b6ca: Pull complete [2022-04-22T16:31:34.656Z] d65c8cfc05b1: Pull complete [2022-04-22T16:31:49.732Z] 2437ff75d9bd: Pull complete [2022-04-22T16:31:49.732Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-04-22T16:31:49.732Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-22T16:31:49.732Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-04-22T16:31:50.048Z] prd-ubuntu20.04-docker-arm64-4c-16g-21804 does not seem to be running inside a container [2022-04-22T16:31:50.171Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-04-22T16:31:52.697Z] $ docker top 8b3a88b5ac50e970b5b871d2685addea02bf2b8af7994e67507fe8b28c669edf -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-22T16:31:53.692Z] ---> job-cost.sh [2022-04-22T16:31:53.692Z] lf-activate-venv: SKIPPING [2022-04-22T16:31:53.692Z] INFO: No Stack... [2022-04-22T16:31:54.301Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-04-22T16:31:55.276Z] INFO: Archiving Costs [Pipeline] sh [2022-04-22T16:31:55.944Z] + cat /w/workspace/device-sdk-go/2/archives/cost.csv [2022-04-22T16:31:55.944Z] + cut -d, -f6 [Pipeline] lock [2022-04-22T16:31:56.010Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1144-2-stack-cost] [2022-04-22T16:31:56.016Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1144-2-stack-cost] did not exist. Created. [2022-04-22T16:31:56.016Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1144-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-22T16:31:56.698Z] /w/workspace/device-sdk-go/2@tmp/durable-c3d0abab/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-04-22T16:31:57.371Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-04-22T16:31:57.392Z] Warning: overwriting stash ‘stack-cost’ [2022-04-22T16:31:57.452Z] Stashed 1 file(s) [Pipeline] } [2022-04-22T16:31:57.459Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1144-2-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-22T16:31:57.496Z] $ docker stop --time=1 8b3a88b5ac50e970b5b871d2685addea02bf2b8af7994e67507fe8b28c669edf [2022-04-22T16:31:58.989Z] $ docker rm -f 8b3a88b5ac50e970b5b871d2685addea02bf2b8af7994e67507fe8b28c669edf [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-22T16:31:59.541Z] provisioning config files... [2022-04-22T16:31:59.565Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1144@tmp/config9006693587668167921tmp [Pipeline] { [Pipeline] sh [2022-04-22T16:31:59.888Z] + set +x [2022-04-22T16:31:59.888Z] + curl -s https://codecov.io/bash [2022-04-22T16:31:59.888Z] + bash -s -- [2022-04-22T16:31:59.888Z] [2022-04-22T16:31:59.888Z] _____ _ [2022-04-22T16:31:59.888Z] / ____| | | [2022-04-22T16:31:59.888Z] | | ___ __| | ___ ___ _____ __ [2022-04-22T16:31:59.888Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-04-22T16:31:59.888Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-04-22T16:31:59.888Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-04-22T16:31:59.888Z] Bash-1.0.6 [2022-04-22T16:31:59.888Z] [2022-04-22T16:31:59.888Z] [2022-04-22T16:31:59.888Z] ==> git version 2.25.1 found [2022-04-22T16:31:59.888Z] ==> 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-22T16:31:59.888Z] Release-Date: 2020-01-08 [2022-04-22T16:31:59.888Z] 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-22T16:31:59.888Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-04-22T16:31:59.888Z] ==> Jenkins CI detected. [2022-04-22T16:31:59.888Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1144 [2022-04-22T16:31:59.888Z] project root: . [2022-04-22T16:31:59.888Z] --> token set from env [2022-04-22T16:31:59.888Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-04-22T16:31:59.888Z] ==> Running gcov in . (disable via -X gcov) [2022-04-22T16:31:59.888Z] ==> Python coveragepy not found [2022-04-22T16:31:59.888Z] ==> Searching for coverage reports in: [2022-04-22T16:31:59.888Z] + . [2022-04-22T16:31:59.888Z] -> Found 1 reports [2022-04-22T16:31:59.888Z] ==> Detecting git/mercurial file structure [2022-04-22T16:31:59.888Z] ==> Reading reports [2022-04-22T16:31:59.888Z] + ./coverage.out bytes=130819 [2022-04-22T16:31:59.888Z] ==> Appending adjustments [2022-04-22T16:31:59.888Z] https://docs.codecov.io/docs/fixing-reports [2022-04-22T16:32:00.149Z] + Found adjustments [2022-04-22T16:32:00.149Z] ==> Gzipping contents [2022-04-22T16:32:00.149Z] 20K /tmp/codecov.SQikeo.gz [2022-04-22T16:32:00.411Z] ==> Uploading reports [2022-04-22T16:32:00.411Z] url: https://codecov.io [2022-04-22T16:32:00.411Z] query: branch=PR-1144&commit=5e296d66d2ce57adbef0f8cc5f24a8b4caa869f5&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1144%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1144&job=&cmd_args= [2022-04-22T16:32:00.411Z] -> Pinging Codecov [2022-04-22T16:32:00.411Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1144&commit=5e296d66d2ce57adbef0f8cc5f24a8b4caa869f5&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1144%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1144&job=&cmd_args= [2022-04-22T16:32:00.672Z] -> Uploading to [2022-04-22T16:32:00.672Z] https://storage.googleapis.com/codecov/v4/raw/2022-04-22/7E55EF52A471D76F132DFD9A03CDDE97/5e296d66d2ce57adbef0f8cc5f24a8b4caa869f5/3782750e-36d1-4009-a081-d838888d0dad.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220422%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220422T163200Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=ecf7604955d3b1fc7d1aa663a72948f4dd0b3d6c53d9423466ac2516dd21377a [2022-04-22T16:32:00.672Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-22T16:32:00.672Z] Dload Upload Total Spent Left Speed [2022-04-22T16:32:00.933Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16804 0 0 100 16804 0 74353 --:--:-- --:--:-- --:--:-- 74684 [2022-04-22T16:32:00.933Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/5e296d66d2ce57adbef0f8cc5f24a8b4caa869f5 [Pipeline] } [2022-04-22T16:32:00.942Z] 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-22T16:32:01.676Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1144/archives ] [2022-04-22T16:32:01.676Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1144/archives [2022-04-22T16:32:01.676Z] total 16 [2022-04-22T16:32:01.676Z] drwxr-xr-x 3 root root 4096 Apr 22 16:21 . [2022-04-22T16:32:01.676Z] drwxrwxr-x 12 jenkins jenkins 4096 Apr 22 16:21 .. [2022-04-22T16:32:01.676Z] drwxr-xr-x 2 root root 4096 Apr 22 16:21 cost [2022-04-22T16:32:01.676Z] -rw-r--r-- 1 root root 85 Apr 22 16:21 cost.csv [2022-04-22T16:32:01.676Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1144/archives [2022-04-22T16:32:01.676Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1144/archives [2022-04-22T16:32:01.676Z] total 16 [2022-04-22T16:32:01.676Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 22 16:21 . [2022-04-22T16:32:01.676Z] drwxrwxr-x 12 jenkins jenkins 4096 Apr 22 16:21 .. [2022-04-22T16:32:01.676Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 22 16:21 cost [2022-04-22T16:32:01.676Z] -rw-r--r-- 1 jenkins jenkins 85 Apr 22 16:21 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-04-22T16:32:01.970Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-22T16:32:02.837Z] ---> package-listing.sh [2022-04-22T16:32:02.838Z] ++ facter osfamily [2022-04-22T16:32:02.838Z] ++ tr '[:upper:]' '[:lower:]' [2022-04-22T16:32:02.838Z] + OS_FAMILY=debian [2022-04-22T16:32:02.838Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1144 [2022-04-22T16:32:02.838Z] + START_PACKAGES=/tmp/packages_start.txt [2022-04-22T16:32:02.838Z] + END_PACKAGES=/tmp/packages_end.txt [2022-04-22T16:32:02.838Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-04-22T16:32:02.838Z] + PACKAGES=/tmp/packages_start.txt [2022-04-22T16:32:02.838Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1144 ']' [2022-04-22T16:32:02.838Z] + PACKAGES=/tmp/packages_end.txt [2022-04-22T16:32:02.838Z] + case "${OS_FAMILY}" in [2022-04-22T16:32:02.838Z] + dpkg -l [2022-04-22T16:32:02.838Z] + grep '^ii' [2022-04-22T16:32:03.098Z] + '[' -f /tmp/packages_start.txt ']' [2022-04-22T16:32:03.098Z] + '[' -f /tmp/packages_end.txt ']' [2022-04-22T16:32:03.098Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-04-22T16:32:03.098Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1144 ']' [2022-04-22T16:32:03.098Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1144/archives/ [2022-04-22T16:32:03.098Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1144/archives/ [Pipeline] echo [2022-04-22T16:32:03.111Z] 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-1144/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-04-22T16:32:03.408Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-04-22T16:32:03.704Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-22T16:32:03.704Z] . [Pipeline] withDockerContainer [2022-04-22T16:32:03.766Z] prd-ubuntu20.04-docker-8c-8g-21803 does not seem to be running inside a container [2022-04-22T16:32:03.820Z] $ 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-1144/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-1144 -v /w/workspace/gexfoundry_device-sdk-go_PR-1144:/w/workspace/gexfoundry_device-sdk-go_PR-1144:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1144@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1144@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-04-22T16:32:04.043Z] $ docker top 3a7978defeec343ae772cc2dfc0913e19d3a6c902006f345ddb910978cedd19a -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-22T16:32:04.381Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-04-22T16:32:04.670Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-04-22T16:32:04.960Z] + ls /var/log/sa-host [2022-04-22T16:32:04.960Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-22T16:32:05.053Z] provisioning config files... [2022-04-22T16:32:05.061Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1144@tmp/config4968415055617426645tmp [Pipeline] { [Pipeline] echo [2022-04-22T16:32:05.074Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-22T16:32:05.362Z] ---> create-netrc.sh [Pipeline] } [2022-04-22T16:32:05.370Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-04-22T16:32:05.699Z] ---> python-tools-install.sh [Pipeline] echo [2022-04-22T16:32:05.709Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-22T16:32:05.996Z] ---> sudo-logs.sh [2022-04-22T16:32:05.996Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-04-22T16:32:06.024Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-22T16:32:06.313Z] ---> job-cost.sh [2022-04-22T16:32:06.313Z] lf-activate-venv: SKIPPING [2022-04-22T16:32:06.313Z] DEBUG: total: 0.2199999988079071 [2022-04-22T16:32:06.313Z] INFO: Retrieving Stack Cost... [2022-04-22T16:32:06.575Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-22T16:32:07.146Z] INFO: Archiving Costs [Pipeline] echo [2022-04-22T16:32:07.159Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-22T16:32:07.444Z] ---> logs-deploy.sh [2022-04-22T16:32:07.444Z] lf-activate-venv: SKIPPING [2022-04-22T16:32:07.444Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1144/2 [2022-04-22T16:32:07.444Z] INFO: archiving workspace using pattern(s): [2022-04-22T16:32:08.386Z] Archives upload complete. [2022-04-22T16:32:08.386Z] INFO: archiving logs to Nexus