Pull request #1131 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of hahattan for edgexfoundry/device-sdk-go Obtained Jenkinsfile from aa2b65f18ab33e5bb4584f16c9ac6030807c49f4+c11ae5f9cc83784f65659a881f6412b77a9cc0d8 (d82f29969cc27e24b931f37e3725398bc9df8afb) 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-ssh18042363249662075049.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-ssh9908384458498892519.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision c72b16708d6eed9a08be464a432ce22db7d90667 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1131/workspace@libs/edgex-global-pipelines # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1131/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh4521073668855758790.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1131/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh8337285639759438860.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision c72b16708d6eed9a08be464a432ce22db7d90667 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f c72b16708d6eed9a08be464a432ce22db7d90667 # timeout=10 Commit message: "Merge pull request #378 from ernestojeda/ubuntu-20-changes" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh9714416085846366038.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b3dada9287033e4e81bc68320e01fd57bef02650 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1131/workspace@libs/lf-pipelines # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1131/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh1657544219244053870.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor Running on prd-ubuntu20.04-docker-8c-8g-20611 in /w/workspace/gexfoundry_device-sdk-go_PR-1131 [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-1131 # 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 c11ae5f9cc83784f65659a881f6412b77a9cc0d8 into PR head commit aa2b65f18ab33e5bb4584f16c9ac6030807c49f4 Merge succeeded, producing aa2b65f18ab33e5bb4584f16c9ac6030807c49f4 Checking out Revision aa2b65f18ab33e5bb4584f16c9ac6030807c49f4 (PR-1131) > 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/1131/head:refs/remotes/origin/PR-1131 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f aa2b65f18ab33e5bb4584f16c9ac6030807c49f4 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge c11ae5f9cc83784f65659a881f6412b77a9cc0d8 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f aa2b65f18ab33e5bb4584f16c9ac6030807c49f4 # timeout=10 Commit message: "fix: update TestMetricsRequest to not fail when using -race" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-04-12T03:16:01.443Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-04-12T03:16:01.632Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-04-12T03:16:01.741Z] ========================================================= [2022-04-12T03:16:01.741Z] EdgeX Global Pipelines Version Info [2022-04-12T03:16:01.741Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-04-12T03:16:02.602Z] ------------------- [2022-04-12T03:16:02.602Z] stable info: [2022-04-12T03:16:02.602Z] ------------------- [2022-04-12T03:16:02.602Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-04-12T03:16:02.602Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-04-12T03:16:02.602Z] Message: update stable to v1.0.221 [2022-04-12T03:16:03.172Z] ------------------- [2022-04-12T03:16:03.172Z] experimental info: [2022-04-12T03:16:03.172Z] ------------------- [2022-04-12T03:16:03.172Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-04-12T03:16:03.172Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-04-12T03:16:03.172Z] Message: update experimental to v1.0.221 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-04-12T03:16:03.459Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2022-04-12T03:16:03.506Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2022-04-12T03:16:03.550Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-04-12T03:16:03.595Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-04-12T03:16:03.641Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-04-12T03:16:03.683Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-04-12T03:16:03.735Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-04-12T03:16:03.824Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2022-04-12T03:16:03.868Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-04-12T03:16:03.913Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-04-12T03:16:03.962Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-04-12T03:16:04.002Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2022-04-12T03:16:04.045Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-04-12T03:16:04.098Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-04-12T03:16:04.149Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-04-12T03:16:04.196Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2022-04-12T03:16:04.241Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-04-12T03:16:04.284Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-04-12T03:16:04.326Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-04-12T03:16:04.375Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-04-12T03:16:04.496Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-04-12T03:16:04.569Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2022-04-12T03:16:04.613Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-04-12T03:16:04.657Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-04-12T03:16:04.705Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-04-12T03:16:04.758Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-04-12T03:16:04.811Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1131 [Pipeline] echo [2022-04-12T03:16:04.854Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1131 [Pipeline] echo [2022-04-12T03:16:05.005Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1131 [Pipeline] echo [2022-04-12T03:16:05.066Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = aa2b65f18ab33e5bb4584f16c9ac6030807c49f4 [Pipeline] echo [2022-04-12T03:16:05.220Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = aa2b65f [Pipeline] echo [2022-04-12T03:16:05.294Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-12T03:16:05.667Z] provisioning config files... [2022-04-12T03:16:05.681Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1131@tmp/config5396777452473207693tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-12T03:16:06.233Z] ---> docker-login.sh [2022-04-12T03:16:06.233Z] nexus3.edgexfoundry.org:10001 [2022-04-12T03:16:06.495Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-12T03:16:06.495Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-12T03:16:06.495Z] Configure a credential helper to remove this warning. See [2022-04-12T03:16:06.495Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-12T03:16:06.495Z] [2022-04-12T03:16:06.495Z] Login Succeeded [2022-04-12T03:16:06.495Z] nexus3.edgexfoundry.org:10002 [2022-04-12T03:16:06.760Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-12T03:16:06.760Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-12T03:16:06.760Z] Configure a credential helper to remove this warning. See [2022-04-12T03:16:06.760Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-12T03:16:06.760Z] [2022-04-12T03:16:06.760Z] Login Succeeded [2022-04-12T03:16:06.760Z] nexus3.edgexfoundry.org:10003 [2022-04-12T03:16:06.760Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-12T03:16:06.760Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-12T03:16:06.760Z] Configure a credential helper to remove this warning. See [2022-04-12T03:16:06.760Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-12T03:16:06.760Z] [2022-04-12T03:16:06.760Z] Login Succeeded [2022-04-12T03:16:06.760Z] nexus3.edgexfoundry.org:10004 [2022-04-12T03:16:07.022Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-12T03:16:07.022Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-12T03:16:07.022Z] Configure a credential helper to remove this warning. See [2022-04-12T03:16:07.022Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-12T03:16:07.022Z] [2022-04-12T03:16:07.022Z] Login Succeeded [2022-04-12T03:16:07.022Z] docker.io [2022-04-12T03:16:07.022Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-12T03:16:07.284Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-12T03:16:07.284Z] Configure a credential helper to remove this warning. See [2022-04-12T03:16:07.284Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-12T03:16:07.284Z] [2022-04-12T03:16:07.284Z] Login Succeeded [2022-04-12T03:16:07.284Z] ---> docker-login.sh ends [Pipeline] } [2022-04-12T03:16:07.311Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-04-12T03:16:08.009Z] + git rev-list -1 --merges aa2b65f18ab33e5bb4584f16c9ac6030807c49f4~1..aa2b65f18ab33e5bb4584f16c9ac6030807c49f4 [Pipeline] echo [2022-04-12T03:16:08.061Z] -----------> git rev-list -1 --merges aa2b65f18ab33e5bb4584f16c9ac6030807c49f4~1..aa2b65f18ab33e5bb4584f16c9ac6030807c49f4 aa2b65f18ab33e5bb4584f16c9ac6030807c49f4 [false] [Pipeline] sh [2022-04-12T03:16:08.389Z] + git log --format=format:%s -1 aa2b65f18ab33e5bb4584f16c9ac6030807c49f4 [Pipeline] echo [2022-04-12T03:16:08.427Z] ========================================================= [2022-04-12T03:16:08.427Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-04-12T03:16:08.427Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-12T03:16:08.879Z] + git log --format=format:%s -1 aa2b65f18ab33e5bb4584f16c9ac6030807c49f4 [Pipeline] echo [2022-04-12T03:16:08.928Z] [semverPrep] GIT_COMMIT: aa2b65f18ab33e5bb4584f16c9ac6030807c49f4, Commit Message: fix: update TestMetricsRequest to not fail when using -race [Pipeline] echo [2022-04-12T03:16:08.967Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-04-12T03:16:09.427Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-12T03:16:09.427Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-04-12T03:16:09.427Z] + [ -e /tmp/ssh_known_hosts ] [2022-04-12T03:16:09.427Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-04-12T03:16:09.427Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-04-12T03:16:09.427Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-04-12T03:16:09.427Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-12T03:16:09.881Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-12T03:16:09.881Z] [2022-04-12T03:16:09.881Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-04-12T03:16:10.230Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-12T03:16:10.230Z] latest: Pulling from edgex-devops/git-semver [2022-04-12T03:16:10.230Z] a0d0a0d46f8b: Pulling fs layer [2022-04-12T03:16:10.230Z] 3e5f54012d9b: Pulling fs layer [2022-04-12T03:16:10.230Z] 4c7163046ea9: Pulling fs layer [2022-04-12T03:16:10.230Z] 0c2d73faf560: Pulling fs layer [2022-04-12T03:16:10.230Z] 0c2d73faf560: Waiting [2022-04-12T03:16:10.230Z] 3e5f54012d9b: Verifying Checksum [2022-04-12T03:16:10.230Z] 3e5f54012d9b: Download complete [2022-04-12T03:16:10.230Z] a0d0a0d46f8b: Verifying Checksum [2022-04-12T03:16:10.230Z] a0d0a0d46f8b: Download complete [2022-04-12T03:16:10.230Z] 4c7163046ea9: Verifying Checksum [2022-04-12T03:16:10.230Z] 4c7163046ea9: Download complete [2022-04-12T03:16:10.490Z] 0c2d73faf560: Verifying Checksum [2022-04-12T03:16:10.490Z] 0c2d73faf560: Download complete [2022-04-12T03:16:10.490Z] a0d0a0d46f8b: Pull complete [2022-04-12T03:16:10.490Z] 3e5f54012d9b: Pull complete [2022-04-12T03:16:10.750Z] 4c7163046ea9: Pull complete [2022-04-12T03:16:11.010Z] 0c2d73faf560: Pull complete [2022-04-12T03:16:11.010Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-04-12T03:16:11.010Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-12T03:16:11.010Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-04-12T03:16:11.157Z] prd-ubuntu20.04-docker-8c-8g-20611 does not seem to be running inside a container [2022-04-12T03:16:11.191Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1131 -v /w/workspace/gexfoundry_device-sdk-go_PR-1131:/w/workspace/gexfoundry_device-sdk-go_PR-1131:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1131@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1131@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-04-12T03:16:11.850Z] $ docker top 5538d88704ef944c8ffd353379b59dcc1a3868eb05f8f81d5ca5075644e3ca39 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-12T03:16:12.055Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-12T03:16:12.055Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-12T03:16:12.180Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-12T03:16:12.182Z] $ docker exec 5538d88704ef944c8ffd353379b59dcc1a3868eb05f8f81d5ca5075644e3ca39 ssh-agent [2022-04-12T03:16:12.291Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXaFpjhH/agent.13 [2022-04-12T03:16:12.291Z] SSH_AGENT_PID=20 [2022-04-12T03:16:12.300Z] Running ssh-add (command line suppressed) [2022-04-12T03:16:12.403Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1131@tmp/private_key_745884690571549226.key (/w/workspace/gexfoundry_device-sdk-go_PR-1131@tmp/private_key_745884690571549226.key) [2022-04-12T03:16:12.424Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-12T03:16:12.766Z] + git tag --points-at HEAD [Pipeline] } [2022-04-12T03:16:12.888Z] $ docker exec --env ******** --env ******** 5538d88704ef944c8ffd353379b59dcc1a3868eb05f8f81d5ca5075644e3ca39 ssh-agent -k [2022-04-12T03:16:13.005Z] unset SSH_AUTH_SOCK; [2022-04-12T03:16:13.005Z] unset SSH_AGENT_PID; [2022-04-12T03:16:13.005Z] echo Agent pid 20 killed; [2022-04-12T03:16:13.018Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-04-12T03:16:13.176Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-12T03:16:13.176Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-12T03:16:13.292Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-12T03:16:13.293Z] $ docker exec 5538d88704ef944c8ffd353379b59dcc1a3868eb05f8f81d5ca5075644e3ca39 ssh-agent [2022-04-12T03:16:13.409Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXGInDIL/agent.52 [2022-04-12T03:16:13.409Z] SSH_AGENT_PID=58 [2022-04-12T03:16:13.414Z] Running ssh-add (command line suppressed) [2022-04-12T03:16:13.523Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1131@tmp/private_key_5418054444038925374.key (/w/workspace/gexfoundry_device-sdk-go_PR-1131@tmp/private_key_5418054444038925374.key) [2022-04-12T03:16:13.541Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-12T03:16:13.921Z] + git semver init [2022-04-12T03:16:13.921Z] # -> Open(): unable to determine branch for HEAD [2022-04-12T03:16:13.921Z] # $GIT_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1131/.git [2022-04-12T03:16:13.921Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-sdk-go_PR-1131 [2022-04-12T03:16:13.921Z] # $SEMVER_REMOTE_NAME = origin [2022-04-12T03:16:13.921Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-04-12T03:16:13.921Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-04-12T03:16:13.921Z] # $SEMVER_BRANCH = PR-1131 [2022-04-12T03:16:13.921Z] # $SEMVER_TEMP = /tmp/semver-842721566 [2022-04-12T03:16:13.921Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2022-04-12T03:16:15.305Z] # '/tmp/semver-842721566' -> '/w/workspace/gexfoundry_device-sdk-go_PR-1131/.semver' [2022-04-12T03:16:15.305Z] # -> Force: false [2022-04-12T03:16:15.305Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1131/.semver [Pipeline] } [2022-04-12T03:16:15.332Z] $ docker exec --env ******** --env ******** 5538d88704ef944c8ffd353379b59dcc1a3868eb05f8f81d5ca5075644e3ca39 ssh-agent -k [2022-04-12T03:16:15.436Z] unset SSH_AUTH_SOCK; [2022-04-12T03:16:15.437Z] unset SSH_AGENT_PID; [2022-04-12T03:16:15.437Z] echo Agent pid 58 killed; [2022-04-12T03:16:15.445Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-12T03:16:15.879Z] + git semver [Pipeline] } [2022-04-12T03:16:15.909Z] $ docker stop --time=1 5538d88704ef944c8ffd353379b59dcc1a3868eb05f8f81d5ca5075644e3ca39 [2022-04-12T03:16:17.286Z] $ docker rm -f 5538d88704ef944c8ffd353379b59dcc1a3868eb05f8f81d5ca5075644e3ca39 [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-12T03:16:17.723Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-04-12T03:16:18.051Z] Stashed 1 file(s) [Pipeline] echo [2022-04-12T03:16:18.072Z] [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-12T03:16:18.762Z] provisioning config files... [2022-04-12T03:16:18.774Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1131@tmp/config5847800435868065380tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-12T03:16:19.114Z] ---> docker-login.sh [2022-04-12T03:16:19.114Z] nexus3.edgexfoundry.org:10001 [2022-04-12T03:16:19.114Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-12T03:16:19.114Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-12T03:16:19.114Z] Configure a credential helper to remove this warning. See [2022-04-12T03:16:19.114Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-12T03:16:19.114Z] [2022-04-12T03:16:19.114Z] Login Succeeded [2022-04-12T03:16:19.114Z] nexus3.edgexfoundry.org:10002 [2022-04-12T03:16:19.114Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-12T03:16:19.375Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-12T03:16:19.375Z] Configure a credential helper to remove this warning. See [2022-04-12T03:16:19.375Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-12T03:16:19.375Z] [2022-04-12T03:16:19.375Z] Login Succeeded [2022-04-12T03:16:19.375Z] nexus3.edgexfoundry.org:10003 [2022-04-12T03:16:19.375Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-12T03:16:19.375Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-12T03:16:19.375Z] Configure a credential helper to remove this warning. See [2022-04-12T03:16:19.375Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-12T03:16:19.375Z] [2022-04-12T03:16:19.375Z] Login Succeeded [2022-04-12T03:16:19.375Z] nexus3.edgexfoundry.org:10004 [2022-04-12T03:16:19.375Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-12T03:16:19.637Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-12T03:16:19.637Z] Configure a credential helper to remove this warning. See [2022-04-12T03:16:19.637Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-12T03:16:19.637Z] [2022-04-12T03:16:19.637Z] Login Succeeded [2022-04-12T03:16:19.637Z] docker.io [2022-04-12T03:16:19.637Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-12T03:16:19.902Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-12T03:16:19.902Z] Configure a credential helper to remove this warning. See [2022-04-12T03:16:19.902Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-12T03:16:19.902Z] [2022-04-12T03:16:19.902Z] Login Succeeded [2022-04-12T03:16:19.902Z] ---> docker-login.sh ends [Pipeline] } [2022-04-12T03:16:19.933Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-12T03:16:20.126Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-12T03:16:20.158Z] ========================================================= [2022-04-12T03:16:20.158Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-04-12T03:16:20.158Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-12T03:16:20.570Z] + 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-12T03:16:20.570Z] Sending build context to Docker daemon 9.595MB [2022-04-12T03:16:20.570Z] Step 1/11 : ARG BASE=golang:1.17-alpine3.15 [2022-04-12T03:16:20.570Z] Step 2/11 : FROM ${BASE} AS builder [2022-04-12T03:16:20.570Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-04-12T03:16:20.570Z] 59bf1c3509f3: Pulling fs layer [2022-04-12T03:16:20.570Z] 666ba61612fd: Pulling fs layer [2022-04-12T03:16:20.570Z] 8ed8ca486205: Pulling fs layer [2022-04-12T03:16:20.570Z] 4fe6c5a15a65: Pulling fs layer [2022-04-12T03:16:20.570Z] 22a0e8bec74d: Pulling fs layer [2022-04-12T03:16:20.570Z] 640e595b4fbd: Pulling fs layer [2022-04-12T03:16:20.571Z] 763cafe07f6e: Pulling fs layer [2022-04-12T03:16:20.571Z] 0c0b528cf693: Pulling fs layer [2022-04-12T03:16:20.571Z] 10935f4eaf8b: Pulling fs layer [2022-04-12T03:16:20.571Z] 4fe6c5a15a65: Waiting [2022-04-12T03:16:20.571Z] 22a0e8bec74d: Waiting [2022-04-12T03:16:20.571Z] 640e595b4fbd: Waiting [2022-04-12T03:16:20.571Z] 763cafe07f6e: Waiting [2022-04-12T03:16:20.571Z] 0c0b528cf693: Waiting [2022-04-12T03:16:20.571Z] 10935f4eaf8b: Waiting [2022-04-12T03:16:20.839Z] 8ed8ca486205: Verifying Checksum [2022-04-12T03:16:20.839Z] 666ba61612fd: Download complete [2022-04-12T03:16:20.839Z] 22a0e8bec74d: Verifying Checksum [2022-04-12T03:16:20.839Z] 22a0e8bec74d: Download complete [2022-04-12T03:16:20.839Z] 59bf1c3509f3: Download complete [2022-04-12T03:16:20.839Z] 640e595b4fbd: Verifying Checksum [2022-04-12T03:16:20.839Z] 640e595b4fbd: Download complete [2022-04-12T03:16:20.839Z] 763cafe07f6e: Verifying Checksum [2022-04-12T03:16:20.839Z] 763cafe07f6e: Download complete [2022-04-12T03:16:20.839Z] 0c0b528cf693: Verifying Checksum [2022-04-12T03:16:20.839Z] 0c0b528cf693: Download complete [2022-04-12T03:16:20.839Z] 59bf1c3509f3: Pull complete [2022-04-12T03:16:21.101Z] 666ba61612fd: Pull complete [2022-04-12T03:16:21.101Z] 8ed8ca486205: Pull complete [2022-04-12T03:16:21.361Z] 10935f4eaf8b: Verifying Checksum [2022-04-12T03:16:21.361Z] 10935f4eaf8b: Download complete [2022-04-12T03:16:21.622Z] 4fe6c5a15a65: Verifying Checksum [2022-04-12T03:16:21.622Z] 4fe6c5a15a65: Download complete [2022-04-12T03:16:24.915Z] 4fe6c5a15a65: Pull complete [2022-04-12T03:16:24.915Z] 22a0e8bec74d: Pull complete [2022-04-12T03:16:25.176Z] 640e595b4fbd: Pull complete [2022-04-12T03:16:25.176Z] 763cafe07f6e: Pull complete [2022-04-12T03:16:25.176Z] 0c0b528cf693: Pull complete [2022-04-12T03:16:27.712Z] 10935f4eaf8b: Pull complete [2022-04-12T03:16:27.712Z] Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 [2022-04-12T03:16:27.712Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-04-12T03:16:27.712Z] ---> 99d49a6021b9 [2022-04-12T03:16:27.712Z] Step 3/11 : ARG MAKE=make build [2022-04-12T03:16:28.653Z] ---> Running in 21f441d69ebd [2022-04-12T03:16:28.653Z] Removing intermediate container 21f441d69ebd [2022-04-12T03:16:28.653Z] ---> 37612a078660 [2022-04-12T03:16:28.653Z] Step 4/11 : WORKDIR /device-sdk-go [2022-04-12T03:16:28.653Z] ---> Running in 25c3a4b6f4e0 [2022-04-12T03:16:28.653Z] Removing intermediate container 25c3a4b6f4e0 [2022-04-12T03:16:28.653Z] ---> 3ff3b0f4199a [2022-04-12T03:16:28.653Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-04-12T03:16:28.653Z] ---> Running in f934545b238b [2022-04-12T03:16:28.653Z] Removing intermediate container f934545b238b [2022-04-12T03:16:28.653Z] ---> b17a3662d22a [2022-04-12T03:16:28.653Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-12T03:16:28.653Z] ---> Running in cf0a23a1f1c7 [2022-04-12T03:16:29.221Z] Removing intermediate container cf0a23a1f1c7 [2022-04-12T03:16:29.221Z] ---> 96736aa2c785 [2022-04-12T03:16:29.221Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-04-12T03:16:29.481Z] ---> Running in 984839b1a3d5 [2022-04-12T03:16:29.481Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-12T03:16:30.422Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-12T03:16:30.993Z] OK: 221 MiB in 52 packages [2022-04-12T03:16:31.253Z] Removing intermediate container 984839b1a3d5 [2022-04-12T03:16:31.253Z] ---> 4f376a3c4c14 [2022-04-12T03:16:31.253Z] Step 8/11 : COPY go.mod vendor* ./ [2022-04-12T03:16:31.253Z] ---> 9e425c0e2e63 [2022-04-12T03:16:31.253Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-12T03:16:31.253Z] ---> Running in 7b3dfc36d0d1 [2022-04-12T03:16:33.595Z] Still waiting to schedule task [2022-04-12T03:16:33.596Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-04-12T03:16:49.372Z] Removing intermediate container 7b3dfc36d0d1 [2022-04-12T03:16:49.372Z] ---> 0a40547ee02d [2022-04-12T03:16:49.372Z] Step 10/11 : COPY . . [2022-04-12T03:16:49.372Z] ---> fb07f58e045a [2022-04-12T03:16:49.372Z] Step 11/11 : RUN ${MAKE} [2022-04-12T03:16:49.372Z] ---> Running in 7c01deaecdc0 [2022-04-12T03:16:49.632Z] noop [2022-04-12T03:16:49.894Z] Removing intermediate container 7c01deaecdc0 [2022-04-12T03:16:49.894Z] ---> c295f8c13d45 [2022-04-12T03:16:49.894Z] Successfully built c295f8c13d45 [2022-04-12T03:16:49.894Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-12T03:16:50.229Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-12T03:16:50.230Z] . [Pipeline] withDockerContainer [2022-04-12T03:16:50.317Z] prd-ubuntu20.04-docker-8c-8g-20611 does not seem to be running inside a container [2022-04-12T03:16:50.372Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1131 -v /w/workspace/gexfoundry_device-sdk-go_PR-1131:/w/workspace/gexfoundry_device-sdk-go_PR-1131:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1131@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1131@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-04-12T03:16:50.792Z] $ docker top e0e4ea4cebdd01788162457d3cdb764c5f8f53968f0ebd1801807f888c5b3cb4 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-12T03:16:51.209Z] + go version [2022-04-12T03:16:51.209Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-04-12T03:16:51.245Z] $ docker stop --time=1 e0e4ea4cebdd01788162457d3cdb764c5f8f53968f0ebd1801807f888c5b3cb4 [2022-04-12T03:16:52.555Z] $ docker rm -f e0e4ea4cebdd01788162457d3cdb764c5f8f53968f0ebd1801807f888c5b3cb4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-12T03:16:53.236Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-12T03:16:53.236Z] . [Pipeline] withDockerContainer [2022-04-12T03:16:53.329Z] prd-ubuntu20.04-docker-8c-8g-20611 does not seem to be running inside a container [2022-04-12T03:16:53.373Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1131 -v /w/workspace/gexfoundry_device-sdk-go_PR-1131:/w/workspace/gexfoundry_device-sdk-go_PR-1131:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1131@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1131@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-04-12T03:16:53.753Z] $ docker top 2e1375d4bb1ab76fa3d72a6bdfb876f8d922842f4ea290b870dbfea9f4074599 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-12T03:16:54.209Z] + make test [2022-04-12T03:16:54.210Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-04-12T03:16:59.502Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-04-12T03:17:11.726Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-04-12T03:17:11.726Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-04-12T03:17:11.726Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-04-12T03:17:11.726Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.095s coverage: 23.3% of statements [2022-04-12T03:17:11.726Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-04-12T03:17:11.726Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.056s coverage: 27.6% of statements [2022-04-12T03:17:11.726Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.086s coverage: 78.9% of statements [2022-04-12T03:17:11.726Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.040s coverage: 10.8% of statements [2022-04-12T03:17:11.726Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2022-04-12T03:17:11.726Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-04-12T03:17:11.726Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-04-12T03:17:11.726Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.075s coverage: 33.2% of statements [2022-04-12T03:17:11.726Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-04-12T03:17:12.300Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.070s coverage: 86.1% of statements [2022-04-12T03:17:12.300Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-04-12T03:17:12.300Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-04-12T03:17:12.300Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.099s coverage: 57.4% of statements [2022-04-12T03:17:12.300Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.817s coverage: 89.2% of statements [2022-04-12T03:17:12.300Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-04-12T03:17:12.300Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.059s coverage: 4.8% of statements [2022-04-12T03:17:12.300Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-04-12T03:17:27.199Z] GO111MODULE=on go vet ./... [2022-04-12T03:17:30.488Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-12T03:17:30.488Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-12T03:17:30.488Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-04-12T03:17:31.092Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-04-12T03:17:31.130Z] $ docker stop --time=1 2e1375d4bb1ab76fa3d72a6bdfb876f8d922842f4ea290b870dbfea9f4074599 [2022-04-12T03:17:33.280Z] $ docker rm -f 2e1375d4bb1ab76fa3d72a6bdfb876f8d922842f4ea290b870dbfea9f4074599 [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-12T03:17:33.825Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-04-12T03:17:33.911Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-04-12T03:17:35.065Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-04-12T03:17:35.381Z] + ls -al . [2022-04-12T03:17:35.381Z] total 296 [2022-04-12T03:17:35.381Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 12 03:17 . [2022-04-12T03:17:35.381Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 12 03:15 .. [2022-04-12T03:17:35.381Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 12 03:15 .dockerignore [2022-04-12T03:17:35.381Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 12 03:16 .git [2022-04-12T03:17:35.381Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 12 03:15 .github [2022-04-12T03:17:35.381Z] -rw-rw-r-- 1 jenkins jenkins 131 Apr 12 03:15 .gitignore [2022-04-12T03:17:35.381Z] -rw-rw-r-- 1 jenkins jenkins 42 Apr 12 03:15 .golangci.yml [2022-04-12T03:17:35.381Z] drwx------ 3 jenkins jenkins 4096 Apr 12 03:16 .semver [2022-04-12T03:17:35.381Z] -rw-rw-r-- 1 jenkins jenkins 26321 Apr 12 03:15 CHANGELOG.md [2022-04-12T03:17:35.381Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 12 03:15 GOVERNANCE.md [2022-04-12T03:17:35.381Z] -rw-rw-r-- 1 jenkins jenkins 880 Apr 12 03:15 Jenkinsfile [2022-04-12T03:17:35.381Z] -rw-rw-r-- 1 jenkins jenkins 11341 Apr 12 03:15 LICENSE [2022-04-12T03:17:35.381Z] -rw-rw-r-- 1 jenkins jenkins 2015 Apr 12 03:15 Makefile [2022-04-12T03:17:35.381Z] -rw-rw-r-- 1 jenkins jenkins 619 Apr 12 03:15 OWNERS.md [2022-04-12T03:17:35.381Z] -rw-rw-r-- 1 jenkins jenkins 4881 Apr 12 03:15 README.md [2022-04-12T03:17:35.381Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 12 03:16 VERSION [2022-04-12T03:17:35.381Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 12 03:15 bin [2022-04-12T03:17:35.381Z] -rw-r--r-- 1 jenkins jenkins 129062 Apr 12 03:17 coverage.out [2022-04-12T03:17:35.381Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 12 03:15 example [2022-04-12T03:17:35.381Z] -rw-rw-r-- 1 jenkins jenkins 3105 Apr 12 03:15 go.mod [2022-04-12T03:17:35.381Z] -rw-rw-r-- 1 jenkins jenkins 34435 Apr 12 03:15 go.sum [2022-04-12T03:17:35.381Z] drwxrwxr-x 15 jenkins jenkins 4096 Apr 12 03:15 internal [2022-04-12T03:17:35.381Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 12 03:15 openapi [2022-04-12T03:17:35.381Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 12 03:15 pkg [2022-04-12T03:17:35.381Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 12 03:15 snap [2022-04-12T03:17:35.381Z] -rw-rw-r-- 1 jenkins jenkins 222 Apr 12 03:15 version.go [Pipeline] isUnix [Pipeline] sh [2022-04-12T03:17:35.713Z] + 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=aa2b65f18ab33e5bb4584f16c9ac6030807c49f4 --label arch=amd64 --label version=0.0.0 . [2022-04-12T03:17:35.713Z] Sending build context to Docker daemon 9.725MB [2022-04-12T03:17:35.713Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-04-12T03:17:35.713Z] Step 2/25 : FROM ${BASE} AS builder [2022-04-12T03:17:35.713Z] ---> c295f8c13d45 [2022-04-12T03:17:35.713Z] Step 3/25 : ARG MAKE=make build [2022-04-12T03:17:35.974Z] ---> Running in 22e4b4997f84 [2022-04-12T03:17:35.974Z] Removing intermediate container 22e4b4997f84 [2022-04-12T03:17:35.974Z] ---> ec6dc45f9fef [2022-04-12T03:17:35.974Z] Step 4/25 : WORKDIR /device-sdk-go [2022-04-12T03:17:35.974Z] ---> Running in 524f3962f90b [2022-04-12T03:17:35.974Z] Removing intermediate container 524f3962f90b [2022-04-12T03:17:35.974Z] ---> 430edb8485ba [2022-04-12T03:17:35.974Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-04-12T03:17:35.974Z] ---> Running in 784bcdb81163 [2022-04-12T03:17:36.236Z] Removing intermediate container 784bcdb81163 [2022-04-12T03:17:36.236Z] ---> 6f171560cd37 [2022-04-12T03:17:36.236Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-12T03:17:36.236Z] ---> Running in 61203e69f667 [2022-04-12T03:17:36.803Z] Removing intermediate container 61203e69f667 [2022-04-12T03:17:36.803Z] ---> 73d3e6c55f33 [2022-04-12T03:17:36.803Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-04-12T03:17:36.803Z] ---> Running in 3a510a7fe8cd [2022-04-12T03:17:37.063Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-12T03:17:38.002Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-12T03:17:38.261Z] OK: 221 MiB in 52 packages [2022-04-12T03:17:38.521Z] Removing intermediate container 3a510a7fe8cd [2022-04-12T03:17:38.521Z] ---> ccfc3d42be5b [2022-04-12T03:17:38.521Z] Step 8/25 : COPY go.mod vendor* ./ [2022-04-12T03:17:38.521Z] ---> 98184f5449ff [2022-04-12T03:17:38.521Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-12T03:17:38.521Z] ---> Running in 87e7e75e1cd4 [2022-04-12T03:17:39.462Z] Removing intermediate container 87e7e75e1cd4 [2022-04-12T03:17:39.462Z] ---> 27b81be19b8c [2022-04-12T03:17:39.462Z] Step 10/25 : COPY . . [2022-04-12T03:17:39.722Z] ---> 03f46195351a [2022-04-12T03:17:39.722Z] Step 11/25 : RUN ${MAKE} [2022-04-12T03:17:39.722Z] ---> Running in 4b254dd37930 [2022-04-12T03:17:39.981Z] 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-12T03:17:58.084Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-04-12T03:17:59.026Z] Removing intermediate container 4b254dd37930 [2022-04-12T03:17:59.026Z] ---> 59e562f08792 [2022-04-12T03:17:59.026Z] Step 12/25 : FROM alpine:3.14 [2022-04-12T03:17:59.288Z] 3.14: Pulling from library/alpine [2022-04-12T03:17:59.548Z] 8663204ce13b: Pulling fs layer [2022-04-12T03:17:59.813Z] 8663204ce13b: Verifying Checksum [2022-04-12T03:17:59.813Z] 8663204ce13b: Download complete [2022-04-12T03:17:59.813Z] 8663204ce13b: Pull complete [2022-04-12T03:17:59.813Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-04-12T03:17:59.813Z] Status: Downloaded newer image for alpine:3.14 [2022-04-12T03:17:59.813Z] ---> e04c818066af [2022-04-12T03:17:59.813Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-04-12T03:18:00.074Z] ---> Running in 2fe287341c26 [2022-04-12T03:18:00.074Z] Removing intermediate container 2fe287341c26 [2022-04-12T03:18:00.074Z] ---> 466183748645 [2022-04-12T03:18:00.074Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-12T03:18:00.074Z] ---> Running in 328848b7eae2 [2022-04-12T03:18:00.645Z] Removing intermediate container 328848b7eae2 [2022-04-12T03:18:00.645Z] ---> ba6e27444436 [2022-04-12T03:18:00.645Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-04-12T03:18:00.905Z] ---> Running in 69a9a67ec424 [2022-04-12T03:18:01.165Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-04-12T03:18:02.108Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-04-12T03:18:02.371Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2022-04-12T03:18:02.371Z] (2/5) Installing libsodium (1.0.18-r0) [2022-04-12T03:18:02.371Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2022-04-12T03:18:02.633Z] (4/5) Installing libzmq (4.3.4-r0) [2022-04-12T03:18:02.633Z] (5/5) Installing zeromq (4.3.4-r0) [2022-04-12T03:18:02.633Z] Executing busybox-1.33.1-r7.trigger [2022-04-12T03:18:02.633Z] OK: 8 MiB in 19 packages [2022-04-12T03:18:03.204Z] Removing intermediate container 69a9a67ec424 [2022-04-12T03:18:03.204Z] ---> 0077bb7b35e5 [2022-04-12T03:18:03.204Z] Step 16/25 : WORKDIR / [2022-04-12T03:18:03.204Z] ---> Running in a4d4e5b23dce [2022-04-12T03:18:03.204Z] Removing intermediate container a4d4e5b23dce [2022-04-12T03:18:03.204Z] ---> 06f67210f74e [2022-04-12T03:18:03.204Z] Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-04-12T03:18:03.464Z] ---> 8d4bc4aaceb1 [2022-04-12T03:18:03.464Z] Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-04-12T03:18:04.046Z] ---> 9019826daa45 [2022-04-12T03:18:04.046Z] Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-04-12T03:18:04.307Z] ---> 98407f259dd7 [2022-04-12T03:18:04.307Z] Step 20/25 : EXPOSE 59999 [2022-04-12T03:18:04.307Z] ---> Running in 0ac1cbbb3993 [2022-04-12T03:18:04.307Z] Removing intermediate container 0ac1cbbb3993 [2022-04-12T03:18:04.307Z] ---> dec3c4882918 [2022-04-12T03:18:04.307Z] Step 21/25 : ENTRYPOINT ["/device-simple"] [2022-04-12T03:18:04.307Z] ---> Running in 9d5a4422ffff [2022-04-12T03:18:04.567Z] Removing intermediate container 9d5a4422ffff [2022-04-12T03:18:04.567Z] ---> 05dc48c4f934 [2022-04-12T03:18:04.567Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-04-12T03:18:04.567Z] ---> Running in 43a31ace7e6a [2022-04-12T03:18:04.567Z] Removing intermediate container 43a31ace7e6a [2022-04-12T03:18:04.567Z] ---> a66bbc75a427 [2022-04-12T03:18:04.567Z] Step 23/25 : LABEL arch=amd64 [2022-04-12T03:18:04.567Z] ---> Running in f7bda7fe4758 [2022-04-12T03:18:04.828Z] Removing intermediate container f7bda7fe4758 [2022-04-12T03:18:04.828Z] ---> 9f5b2bf996db [2022-04-12T03:18:04.828Z] Step 24/25 : LABEL git_sha=aa2b65f18ab33e5bb4584f16c9ac6030807c49f4 [2022-04-12T03:18:04.828Z] ---> Running in b210f6dc4be2 [2022-04-12T03:18:04.828Z] Removing intermediate container b210f6dc4be2 [2022-04-12T03:18:04.828Z] ---> 65d5d7f94ab6 [2022-04-12T03:18:04.828Z] Step 25/25 : LABEL version=0.0.0 [2022-04-12T03:18:04.828Z] ---> Running in 7697520451b1 [2022-04-12T03:18:05.089Z] Removing intermediate container 7697520451b1 [2022-04-12T03:18:05.089Z] ---> 4763b8f81bf2 [2022-04-12T03:18:05.089Z] [Warning] One or more build-args [ARCH] were not consumed [2022-04-12T03:18:05.089Z] Successfully built 4763b8f81bf2 [2022-04-12T03:18:05.089Z] 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-12T03:18:05.843Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-12T03:18:05.843Z] [2022-04-12T03:18:05.843Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-04-12T03:18:06.182Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-12T03:18:06.182Z] latest: Pulling from edgex-lftools-log-publisher [2022-04-12T03:18:06.182Z] 5eb5b503b376: Pulling fs layer [2022-04-12T03:18:06.182Z] 5c69ac0246d0: Pulling fs layer [2022-04-12T03:18:06.182Z] ec43610c2a17: Pulling fs layer [2022-04-12T03:18:06.182Z] 3a2ae6a8a46f: Pulling fs layer [2022-04-12T03:18:06.182Z] 33b1e0a273af: Pulling fs layer [2022-04-12T03:18:06.182Z] 5d3b04190fa2: Pulling fs layer [2022-04-12T03:18:06.182Z] 2f39f015ded8: Pulling fs layer [2022-04-12T03:18:06.182Z] 33b1e0a273af: Waiting [2022-04-12T03:18:06.182Z] 5d3b04190fa2: Waiting [2022-04-12T03:18:06.182Z] 2f39f015ded8: Waiting [2022-04-12T03:18:06.182Z] 3a2ae6a8a46f: Waiting [2022-04-12T03:18:06.182Z] 5c69ac0246d0: Download complete [2022-04-12T03:18:06.182Z] 3a2ae6a8a46f: Verifying Checksum [2022-04-12T03:18:06.182Z] 3a2ae6a8a46f: Download complete [2022-04-12T03:18:06.182Z] ec43610c2a17: Verifying Checksum [2022-04-12T03:18:06.182Z] ec43610c2a17: Download complete [2022-04-12T03:18:06.443Z] 5d3b04190fa2: Verifying Checksum [2022-04-12T03:18:06.443Z] 5d3b04190fa2: Download complete [2022-04-12T03:18:06.443Z] 33b1e0a273af: Verifying Checksum [2022-04-12T03:18:06.443Z] 33b1e0a273af: Download complete [2022-04-12T03:18:06.443Z] 5eb5b503b376: Verifying Checksum [2022-04-12T03:18:06.443Z] 5eb5b503b376: Download complete [2022-04-12T03:18:07.011Z] 2f39f015ded8: Download complete [2022-04-12T03:18:07.951Z] 5eb5b503b376: Pull complete [2022-04-12T03:18:07.951Z] 5c69ac0246d0: Pull complete [2022-04-12T03:18:08.521Z] ec43610c2a17: Pull complete [2022-04-12T03:18:08.521Z] 3a2ae6a8a46f: Pull complete [2022-04-12T03:18:08.782Z] 33b1e0a273af: Pull complete [2022-04-12T03:18:08.782Z] 5d3b04190fa2: Pull complete [2022-04-12T03:18:09.278Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-20612 in /w/workspace/gexfoundry_device-sdk-go_PR-1131 [Pipeline] { [Pipeline] ws [2022-04-12T03:18:09.317Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2022-04-12T03:18:09.609Z] The recommended git tool is: git [2022-04-12T03:18:14.059Z] 2f39f015ded8: Pull complete [2022-04-12T03:18:14.059Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-04-12T03:18:14.059Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-12T03:18:14.059Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-04-12T03:18:14.170Z] prd-ubuntu20.04-docker-8c-8g-20611 does not seem to be running inside a container [2022-04-12T03:18:14.221Z] $ 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-1131 -v /w/workspace/gexfoundry_device-sdk-go_PR-1131:/w/workspace/gexfoundry_device-sdk-go_PR-1131:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1131@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1131@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-04-12T03:18:16.105Z] $ docker top c0259b4e8a44c67ccf50855d13eaf843f2369ed097a4ac38136263be5fa7a460 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-12T03:18:16.632Z] ---> job-cost.sh [2022-04-12T03:18:16.632Z] lf-activate-venv: SKIPPING [2022-04-12T03:18:16.632Z] INFO: No Stack... [2022-04-12T03:18:16.833Z] using credential edgex-jenkins-ssh [2022-04-12T03:18:16.852Z] Cloning the remote Git repository [2022-04-12T03:18:16.915Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-12T03:18:16.936Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2022-04-12T03:18:17.021Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2022-04-12T03:18:17.175Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-04-12T03:18:17.176Z] > git --version # timeout=10 [2022-04-12T03:18:17.211Z] > git --version # 'git version 2.25.1' [2022-04-12T03:18:17.215Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-12T03:18:17.449Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-12T03:18:17.503Z] INFO: Archiving Costs [Pipeline] sh [2022-04-12T03:18:17.829Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1131/archives/cost.csv [2022-04-12T03:18:17.829Z] + cut -d, -f6 [Pipeline] lock [2022-04-12T03:18:17.874Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1131-1-stack-cost] [2022-04-12T03:18:17.878Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1131-1-stack-cost] did not exist. Created. [2022-04-12T03:18:17.878Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1131-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-12T03:18:18.274Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-04-12T03:18:18.325Z] Stashed 1 file(s) [Pipeline] } [2022-04-12T03:18:18.353Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1131-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-12T03:18:18.443Z] $ docker stop --time=1 c0259b4e8a44c67ccf50855d13eaf843f2369ed097a4ac38136263be5fa7a460 [2022-04-12T03:18:19.608Z] $ docker rm -f c0259b4e8a44c67ccf50855d13eaf843f2369ed097a4ac38136263be5fa7a460 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-04-12T03:18:20.096Z] Merging remotes/origin/main commit c11ae5f9cc83784f65659a881f6412b77a9cc0d8 into PR head commit aa2b65f18ab33e5bb4584f16c9ac6030807c49f4 [2022-04-12T03:18:19.327Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-04-12T03:18:19.363Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-12T03:18:19.400Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-04-12T03:18:19.434Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-04-12T03:18:19.435Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-12T03:18:19.447Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1131/head:refs/remotes/origin/PR-1131 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-04-12T03:18:20.135Z] > git config core.sparsecheckout # timeout=10 [2022-04-12T03:18:20.163Z] > git checkout -f aa2b65f18ab33e5bb4584f16c9ac6030807c49f4 # timeout=10 [2022-04-12T03:18:20.428Z] Merge succeeded, producing aa2b65f18ab33e5bb4584f16c9ac6030807c49f4 [2022-04-12T03:18:20.429Z] Checking out Revision aa2b65f18ab33e5bb4584f16c9ac6030807c49f4 (PR-1131) [2022-04-12T03:18:20.320Z] > git remote # timeout=10 [2022-04-12T03:18:20.337Z] > git config --get remote.origin.url # timeout=10 [2022-04-12T03:18:20.356Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-12T03:18:20.366Z] > git merge c11ae5f9cc83784f65659a881f6412b77a9cc0d8 # timeout=10 [2022-04-12T03:18:20.411Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-04-12T03:18:20.438Z] > git config core.sparsecheckout # timeout=10 [2022-04-12T03:18:20.460Z] > git checkout -f aa2b65f18ab33e5bb4584f16c9ac6030807c49f4 # timeout=10 [2022-04-12T03:18:24.788Z] Commit message: "fix: update TestMetricsRequest to not fail when using -race" [2022-04-12T03:18:24.848Z] > git --version # timeout=10 [2022-04-12T03:18:24.861Z] > git --version # 'git version 2.25.1' [2022-04-12T03:18:24.877Z] fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-12T03:18:26.023Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-04-12T03:18:26.023Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-12T03:18:26.023Z] Dload Upload Total Spent Left Speed [2022-04-12T03:18:26.023Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 49552 0 --:--:-- --:--:-- --:--:-- 49345 100 11843 100 11843 0 0 49141 0 --:--:-- --:--:-- --:--:-- 49141 [Pipeline] sh [2022-04-12T03:18:26.546Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-04-12T03:18:26.932Z] + + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.jsonsudo [2022-04-12T03:18:26.932Z] tee /etc/docker/daemon.new [2022-04-12T03:18:26.932Z] { [2022-04-12T03:18:26.932Z] "registry-mirrors": [ [2022-04-12T03:18:26.932Z] "https://nexus3.edgexfoundry.org:10001" [2022-04-12T03:18:26.932Z] ], [2022-04-12T03:18:26.932Z] "bip": "10.250.0.254/24", [2022-04-12T03:18:26.932Z] "hosts": [ [2022-04-12T03:18:26.932Z] "tcp://0.0.0.0:5555", [2022-04-12T03:18:26.932Z] "unix:///var/run/docker.sock" [2022-04-12T03:18:26.932Z] ], [2022-04-12T03:18:26.932Z] "mtu": 1458, [2022-04-12T03:18:26.932Z] "selinux-enabled": true, [2022-04-12T03:18:26.932Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-04-12T03:18:26.932Z] } [Pipeline] sh [2022-04-12T03:18:27.331Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-04-12T03:18:27.785Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-12T03:18:46.221Z] provisioning config files... [2022-04-12T03:18:46.248Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config2572235437748646511tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-12T03:18:46.817Z] ---> docker-login.sh [2022-04-12T03:18:46.818Z] nexus3.edgexfoundry.org:10001 [2022-04-12T03:18:47.423Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-12T03:18:47.698Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-12T03:18:47.698Z] Configure a credential helper to remove this warning. See [2022-04-12T03:18:47.698Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-12T03:18:47.698Z] [2022-04-12T03:18:47.698Z] Login Succeeded [2022-04-12T03:18:47.698Z] nexus3.edgexfoundry.org:10002 [2022-04-12T03:18:47.971Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-12T03:18:48.245Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-12T03:18:48.245Z] Configure a credential helper to remove this warning. See [2022-04-12T03:18:48.245Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-12T03:18:48.245Z] [2022-04-12T03:18:48.245Z] Login Succeeded [2022-04-12T03:18:48.245Z] nexus3.edgexfoundry.org:10003 [2022-04-12T03:18:48.521Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-12T03:18:48.521Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-12T03:18:48.521Z] Configure a credential helper to remove this warning. See [2022-04-12T03:18:48.521Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-12T03:18:48.521Z] [2022-04-12T03:18:48.521Z] Login Succeeded [2022-04-12T03:18:48.521Z] nexus3.edgexfoundry.org:10004 [2022-04-12T03:18:49.119Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-12T03:18:49.119Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-12T03:18:49.119Z] Configure a credential helper to remove this warning. See [2022-04-12T03:18:49.119Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-12T03:18:49.119Z] [2022-04-12T03:18:49.119Z] Login Succeeded [2022-04-12T03:18:49.119Z] docker.io [2022-04-12T03:18:49.393Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-12T03:18:49.986Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-12T03:18:49.986Z] Configure a credential helper to remove this warning. See [2022-04-12T03:18:49.986Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-12T03:18:49.986Z] [2022-04-12T03:18:49.986Z] Login Succeeded [2022-04-12T03:18:49.986Z] ---> docker-login.sh ends [Pipeline] } [2022-04-12T03:18:50.025Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-12T03:18:50.423Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-12T03:18:50.455Z] ========================================================= [2022-04-12T03:18:50.455Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-04-12T03:18:50.456Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-12T03:18:50.906Z] + 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-12T03:18:51.182Z] Sending build context to Docker daemon 5.178MB [2022-04-12T03:18:51.462Z] Step 1/11 : ARG BASE=golang:1.17-alpine3.15 [2022-04-12T03:18:51.462Z] Step 2/11 : FROM ${BASE} AS builder [2022-04-12T03:18:51.462Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-04-12T03:18:51.462Z] 9b3977197b4f: Pulling fs layer [2022-04-12T03:18:51.462Z] 1a89e8eeedd5: Pulling fs layer [2022-04-12T03:18:51.462Z] 94645a83ff95: Pulling fs layer [2022-04-12T03:18:51.462Z] 3f3a8bcf1eab: Pulling fs layer [2022-04-12T03:18:51.462Z] 0c92f367c5e7: Pulling fs layer [2022-04-12T03:18:51.462Z] 3f3a8bcf1eab: Waiting [2022-04-12T03:18:51.462Z] f7c0051592d6: Pulling fs layer [2022-04-12T03:18:51.462Z] a227ed2f7395: Pulling fs layer [2022-04-12T03:18:51.462Z] 7b1c46037f91: Pulling fs layer [2022-04-12T03:18:51.462Z] 0c92f367c5e7: Waiting [2022-04-12T03:18:51.462Z] a227ed2f7395: Waiting [2022-04-12T03:18:51.462Z] 7b1c46037f91: Waiting [2022-04-12T03:18:51.462Z] f7c0051592d6: Waiting [2022-04-12T03:18:51.462Z] 94645a83ff95: Verifying Checksum [2022-04-12T03:18:51.462Z] 94645a83ff95: Download complete [2022-04-12T03:18:51.462Z] 1a89e8eeedd5: Download complete [2022-04-12T03:18:51.462Z] 0c92f367c5e7: Verifying Checksum [2022-04-12T03:18:51.462Z] 0c92f367c5e7: Download complete [2022-04-12T03:18:51.737Z] 9b3977197b4f: Download complete [2022-04-12T03:18:51.737Z] f7c0051592d6: Verifying Checksum [2022-04-12T03:18:51.737Z] f7c0051592d6: Download complete [2022-04-12T03:18:51.737Z] a227ed2f7395: Verifying Checksum [2022-04-12T03:18:51.737Z] a227ed2f7395: Download complete [2022-04-12T03:18:52.341Z] 9b3977197b4f: Pull complete [2022-04-12T03:18:52.948Z] 1a89e8eeedd5: Pull complete [2022-04-12T03:18:53.226Z] 94645a83ff95: Pull complete [2022-04-12T03:18:53.504Z] 7b1c46037f91: Verifying Checksum [2022-04-12T03:18:53.504Z] 7b1c46037f91: Download complete [2022-04-12T03:18:54.104Z] 3f3a8bcf1eab: Verifying Checksum [2022-04-12T03:18:54.104Z] 3f3a8bcf1eab: Download complete [2022-04-12T03:19:06.522Z] 3f3a8bcf1eab: Pull complete [2022-04-12T03:19:06.522Z] 0c92f367c5e7: Pull complete [2022-04-12T03:19:06.522Z] f7c0051592d6: Pull complete [2022-04-12T03:19:06.522Z] a227ed2f7395: Pull complete [2022-04-12T03:19:13.247Z] 7b1c46037f91: Pull complete [2022-04-12T03:19:13.247Z] Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe [2022-04-12T03:19:13.247Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-04-12T03:19:13.247Z] ---> f79e39bc4007 [2022-04-12T03:19:13.247Z] Step 3/11 : ARG MAKE=make build [2022-04-12T03:19:13.852Z] ---> Running in 5f7882d48b33 [2022-04-12T03:19:14.130Z] Removing intermediate container 5f7882d48b33 [2022-04-12T03:19:14.130Z] ---> bb241b977314 [2022-04-12T03:19:14.130Z] Step 4/11 : WORKDIR /device-sdk-go [2022-04-12T03:19:14.405Z] ---> Running in dba18ccf0b88 [2022-04-12T03:19:14.679Z] Removing intermediate container dba18ccf0b88 [2022-04-12T03:19:14.679Z] ---> 7b21b0c59a68 [2022-04-12T03:19:14.679Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-04-12T03:19:14.679Z] ---> Running in 04e427da778b [2022-04-12T03:19:14.958Z] Removing intermediate container 04e427da778b [2022-04-12T03:19:14.959Z] ---> 4826859a3a2c [2022-04-12T03:19:14.959Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-12T03:19:14.959Z] ---> Running in a9bf27e0fdfe [2022-04-12T03:19:16.948Z] Removing intermediate container a9bf27e0fdfe [2022-04-12T03:19:16.948Z] ---> 87a87851c31e [2022-04-12T03:19:16.948Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-04-12T03:19:16.948Z] ---> Running in a968eb59469f [2022-04-12T03:19:17.947Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-12T03:19:18.926Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-12T03:19:19.522Z] OK: 220 MiB in 52 packages [2022-04-12T03:19:20.122Z] Removing intermediate container a968eb59469f [2022-04-12T03:19:20.122Z] ---> f8bbe49c0e87 [2022-04-12T03:19:20.122Z] Step 8/11 : COPY go.mod vendor* ./ [2022-04-12T03:19:20.725Z] ---> b28ea5594a2c [2022-04-12T03:19:20.725Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-12T03:19:20.725Z] ---> Running in 7043ec824768 [2022-04-12T03:20:07.741Z] Removing intermediate container 7043ec824768 [2022-04-12T03:20:07.741Z] ---> f14655524cc1 [2022-04-12T03:20:07.741Z] Step 10/11 : COPY . . [2022-04-12T03:20:07.741Z] ---> c4a4ca8a6c9b [2022-04-12T03:20:07.741Z] Step 11/11 : RUN ${MAKE} [2022-04-12T03:20:07.741Z] ---> Running in 56119d97c5f8 [2022-04-12T03:20:07.741Z] noop [2022-04-12T03:20:08.013Z] Removing intermediate container 56119d97c5f8 [2022-04-12T03:20:08.013Z] ---> 9e0ab9737180 [2022-04-12T03:20:08.013Z] Successfully built 9e0ab9737180 [2022-04-12T03:20:08.013Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-12T03:20:08.386Z] + docker inspect -f . ci-base-image-arm64 [2022-04-12T03:20:08.386Z] . [Pipeline] withDockerContainer [2022-04-12T03:20:08.651Z] prd-ubuntu20.04-docker-arm64-4c-16g-20612 does not seem to be running inside a container [2022-04-12T03:20:08.743Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-04-12T03:20:10.021Z] $ docker top 3b770763d58dd1a64ca897582dd653164c6afb4e2736276db5edb2d4d8ac8fb1 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-12T03:20:10.998Z] + go version [2022-04-12T03:20:10.998Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-04-12T03:20:11.041Z] $ docker stop --time=1 3b770763d58dd1a64ca897582dd653164c6afb4e2736276db5edb2d4d8ac8fb1 [2022-04-12T03:20:12.667Z] $ docker rm -f 3b770763d58dd1a64ca897582dd653164c6afb4e2736276db5edb2d4d8ac8fb1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-12T03:20:13.555Z] + docker inspect -f . ci-base-image-arm64 [2022-04-12T03:20:13.555Z] . [Pipeline] withDockerContainer [2022-04-12T03:20:13.809Z] prd-ubuntu20.04-docker-arm64-4c-16g-20612 does not seem to be running inside a container [2022-04-12T03:20:13.889Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-04-12T03:20:15.180Z] $ docker top bdead0f29b66235babfdfa54079192c458a178534582b1d069820c392edb506b -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-12T03:20:16.199Z] + make test [2022-04-12T03:20:16.199Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-04-12T03:20:43.014Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-04-12T03:22:19.876Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-04-12T03:22:19.876Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-04-12T03:22:19.876Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-04-12T03:22:25.315Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.397s coverage: 23.3% of statements [2022-04-12T03:22:25.315Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-04-12T03:22:25.315Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.309s coverage: 27.6% of statements [2022-04-12T03:22:25.315Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.297s coverage: 78.9% of statements [2022-04-12T03:22:25.315Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.271s coverage: 10.8% of statements [2022-04-12T03:22:25.315Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2022-04-12T03:22:25.315Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-04-12T03:22:25.315Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-04-12T03:22:32.086Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.350s coverage: 33.2% of statements [2022-04-12T03:22:32.087Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-04-12T03:22:32.087Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.312s coverage: 86.1% of statements [2022-04-12T03:22:32.087Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-04-12T03:22:32.087Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-04-12T03:22:33.540Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.423s coverage: 57.4% of statements [2022-04-12T03:22:33.540Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.418s coverage: 89.2% of statements [2022-04-12T03:22:33.540Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-04-12T03:22:37.859Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.240s coverage: 4.8% of statements [2022-04-12T03:22:37.859Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-04-12T03:22:38.452Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-04-12T03:22:38.452Z] GO111MODULE=on go vet ./... [2022-04-12T03:24:00.294Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-12T03:24:00.294Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-12T03:24:00.294Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-04-12T03:24:00.340Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-04-12T03:24:00.374Z] $ docker stop --time=1 bdead0f29b66235babfdfa54079192c458a178534582b1d069820c392edb506b [2022-04-12T03:24:02.175Z] $ docker rm -f bdead0f29b66235babfdfa54079192c458a178534582b1d069820c392edb506b [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-12T03:24:03.538Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-04-12T03:24:03.577Z] Warning: overwriting stash ‘coverage-report’ [2022-04-12T03:24:04.139Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-12T03:24:04.748Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-04-12T03:24:05.104Z] + ls -al . [2022-04-12T03:24:05.105Z] total 292 [2022-04-12T03:24:05.105Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 12 03:23 . [2022-04-12T03:24:05.105Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 12 03:18 .. [2022-04-12T03:24:05.105Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 12 03:18 .dockerignore [2022-04-12T03:24:05.105Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 12 03:18 .git [2022-04-12T03:24:05.105Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 12 03:18 .github [2022-04-12T03:24:05.105Z] -rw-rw-r-- 1 jenkins jenkins 131 Apr 12 03:18 .gitignore [2022-04-12T03:24:05.105Z] -rw-rw-r-- 1 jenkins jenkins 42 Apr 12 03:18 .golangci.yml [2022-04-12T03:24:05.105Z] -rw-rw-r-- 1 jenkins jenkins 26321 Apr 12 03:18 CHANGELOG.md [2022-04-12T03:24:05.105Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 12 03:18 GOVERNANCE.md [2022-04-12T03:24:05.105Z] -rw-rw-r-- 1 jenkins jenkins 880 Apr 12 03:18 Jenkinsfile [2022-04-12T03:24:05.105Z] -rw-rw-r-- 1 jenkins jenkins 11341 Apr 12 03:18 LICENSE [2022-04-12T03:24:05.105Z] -rw-rw-r-- 1 jenkins jenkins 2015 Apr 12 03:18 Makefile [2022-04-12T03:24:05.105Z] -rw-rw-r-- 1 jenkins jenkins 619 Apr 12 03:18 OWNERS.md [2022-04-12T03:24:05.105Z] -rw-rw-r-- 1 jenkins jenkins 4881 Apr 12 03:18 README.md [2022-04-12T03:24:05.105Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 12 03:16 VERSION [2022-04-12T03:24:05.105Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 12 03:18 bin [2022-04-12T03:24:05.105Z] -rw-r--r-- 1 jenkins jenkins 129061 Apr 12 03:22 coverage.out [2022-04-12T03:24:05.105Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 12 03:18 example [2022-04-12T03:24:05.105Z] -rw-rw-r-- 1 jenkins jenkins 3105 Apr 12 03:18 go.mod [2022-04-12T03:24:05.105Z] -rw-rw-r-- 1 jenkins jenkins 34435 Apr 12 03:18 go.sum [2022-04-12T03:24:05.105Z] drwxrwxr-x 15 jenkins jenkins 4096 Apr 12 03:18 internal [2022-04-12T03:24:05.105Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 12 03:18 openapi [2022-04-12T03:24:05.105Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 12 03:18 pkg [2022-04-12T03:24:05.105Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 12 03:18 snap [2022-04-12T03:24:05.105Z] -rw-rw-r-- 1 jenkins jenkins 222 Apr 12 03:18 version.go [Pipeline] isUnix [Pipeline] sh [2022-04-12T03:24:05.484Z] + 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=aa2b65f18ab33e5bb4584f16c9ac6030807c49f4 --label arch=arm64 --label version=0.0.0 . [2022-04-12T03:24:06.090Z] Sending build context to Docker daemon 5.308MB [2022-04-12T03:24:06.090Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-04-12T03:24:06.090Z] Step 2/25 : FROM ${BASE} AS builder [2022-04-12T03:24:06.090Z] ---> 9e0ab9737180 [2022-04-12T03:24:06.090Z] Step 3/25 : ARG MAKE=make build [2022-04-12T03:24:06.090Z] ---> Running in e4c4ff17bb6f [2022-04-12T03:24:06.370Z] Removing intermediate container e4c4ff17bb6f [2022-04-12T03:24:06.370Z] ---> f56ef1e1b788 [2022-04-12T03:24:06.370Z] Step 4/25 : WORKDIR /device-sdk-go [2022-04-12T03:24:06.370Z] ---> Running in 413907adfe8a [2022-04-12T03:24:06.985Z] Removing intermediate container 413907adfe8a [2022-04-12T03:24:06.985Z] ---> 4bab501b2bde [2022-04-12T03:24:06.985Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-04-12T03:24:06.985Z] ---> Running in 2199d418c3a6 [2022-04-12T03:24:07.264Z] Removing intermediate container 2199d418c3a6 [2022-04-12T03:24:07.264Z] ---> d22e6f79ea8f [2022-04-12T03:24:07.264Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-12T03:24:07.264Z] ---> Running in 91f73ead786f [2022-04-12T03:24:08.709Z] Removing intermediate container 91f73ead786f [2022-04-12T03:24:08.709Z] ---> a2c91f01cbcd [2022-04-12T03:24:08.709Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-04-12T03:24:08.998Z] ---> Running in b68f4f4f08ea [2022-04-12T03:24:09.984Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-12T03:24:10.969Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-12T03:24:11.576Z] OK: 220 MiB in 52 packages [2022-04-12T03:24:12.562Z] Removing intermediate container b68f4f4f08ea [2022-04-12T03:24:12.562Z] ---> 7a04844b2eda [2022-04-12T03:24:12.562Z] Step 8/25 : COPY go.mod vendor* ./ [2022-04-12T03:24:12.841Z] ---> ee6107fbd6b8 [2022-04-12T03:24:12.841Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-12T03:24:13.120Z] ---> Running in 61659cee355b [2022-04-12T03:24:15.111Z] Removing intermediate container 61659cee355b [2022-04-12T03:24:15.111Z] ---> f09ef485c9f6 [2022-04-12T03:24:15.111Z] Step 10/25 : COPY . . [2022-04-12T03:24:16.105Z] ---> a48aa1c1e310 [2022-04-12T03:24:16.105Z] Step 11/25 : RUN ${MAKE} [2022-04-12T03:24:16.105Z] ---> Running in 5e44f1eca5ef [2022-04-12T03:24:17.097Z] 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-12T03:26:08.984Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-04-12T03:26:08.984Z] Removing intermediate container 5e44f1eca5ef [2022-04-12T03:26:08.985Z] ---> dec1151c2f82 [2022-04-12T03:26:08.985Z] Step 12/25 : FROM alpine:3.14 [2022-04-12T03:26:09.256Z] 3.14: Pulling from library/alpine [2022-04-12T03:26:09.531Z] 455c02918c45: Pulling fs layer [2022-04-12T03:26:09.531Z] 455c02918c45: Verifying Checksum [2022-04-12T03:26:09.531Z] 455c02918c45: Download complete [2022-04-12T03:26:10.125Z] 455c02918c45: Pull complete [2022-04-12T03:26:10.125Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-04-12T03:26:10.125Z] Status: Downloaded newer image for alpine:3.14 [2022-04-12T03:26:10.125Z] ---> ac73e934f311 [2022-04-12T03:26:10.125Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-04-12T03:26:10.398Z] ---> Running in b1b38571612d [2022-04-12T03:26:10.671Z] Removing intermediate container b1b38571612d [2022-04-12T03:26:10.671Z] ---> eced181e90f1 [2022-04-12T03:26:10.671Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-12T03:26:10.671Z] ---> Running in 1cacc18c77eb [2022-04-12T03:26:12.121Z] Removing intermediate container 1cacc18c77eb [2022-04-12T03:26:12.121Z] ---> 2e66026ad7ed [2022-04-12T03:26:12.121Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-04-12T03:26:12.400Z] ---> Running in c2806f8f18de [2022-04-12T03:26:13.389Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-04-12T03:26:13.983Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-04-12T03:26:14.962Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2022-04-12T03:26:14.962Z] (2/5) Installing libsodium (1.0.18-r0) [2022-04-12T03:26:14.962Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2022-04-12T03:26:15.233Z] (4/5) Installing libzmq (4.3.4-r0) [2022-04-12T03:26:15.233Z] (5/5) Installing zeromq (4.3.4-r0) [2022-04-12T03:26:15.507Z] Executing busybox-1.33.1-r7.trigger [2022-04-12T03:26:15.507Z] OK: 8 MiB in 19 packages [2022-04-12T03:26:16.491Z] Removing intermediate container c2806f8f18de [2022-04-12T03:26:16.491Z] ---> 40609da5ea5a [2022-04-12T03:26:16.491Z] Step 16/25 : WORKDIR / [2022-04-12T03:26:16.491Z] ---> Running in 48f294c512f3 [2022-04-12T03:26:16.770Z] Removing intermediate container 48f294c512f3 [2022-04-12T03:26:16.770Z] ---> 357aaad5652b [2022-04-12T03:26:16.770Z] Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-04-12T03:26:17.056Z] ---> 80dded60d0e8 [2022-04-12T03:26:17.056Z] Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-04-12T03:26:19.040Z] ---> 74bb355568c2 [2022-04-12T03:26:19.040Z] Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-04-12T03:26:19.313Z] ---> 04fd0adb8615 [2022-04-12T03:26:19.313Z] Step 20/25 : EXPOSE 59999 [2022-04-12T03:26:19.313Z] ---> Running in f8a5e59e73fd [2022-04-12T03:26:19.587Z] Removing intermediate container f8a5e59e73fd [2022-04-12T03:26:19.587Z] ---> 9a4784b8e0d9 [2022-04-12T03:26:19.587Z] Step 21/25 : ENTRYPOINT ["/device-simple"] [2022-04-12T03:26:19.587Z] ---> Running in 9d5d32797e48 [2022-04-12T03:26:19.861Z] Removing intermediate container 9d5d32797e48 [2022-04-12T03:26:19.861Z] ---> 21a79693242c [2022-04-12T03:26:19.861Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-04-12T03:26:19.861Z] ---> Running in 8ea8d2b9dfd9 [2022-04-12T03:26:20.138Z] Removing intermediate container 8ea8d2b9dfd9 [2022-04-12T03:26:20.138Z] ---> b4912a0335eb [2022-04-12T03:26:20.138Z] Step 23/25 : LABEL arch=arm64 [2022-04-12T03:26:20.421Z] ---> Running in c0c7338436a2 [2022-04-12T03:26:20.694Z] Removing intermediate container c0c7338436a2 [2022-04-12T03:26:20.695Z] ---> d424dea17968 [2022-04-12T03:26:20.695Z] Step 24/25 : LABEL git_sha=aa2b65f18ab33e5bb4584f16c9ac6030807c49f4 [2022-04-12T03:26:20.695Z] ---> Running in 538c832559d5 [2022-04-12T03:26:20.968Z] Removing intermediate container 538c832559d5 [2022-04-12T03:26:20.968Z] ---> b8434e978e26 [2022-04-12T03:26:20.968Z] Step 25/25 : LABEL version=0.0.0 [2022-04-12T03:26:20.968Z] ---> Running in 6c6dcb8cad47 [2022-04-12T03:26:21.243Z] Removing intermediate container 6c6dcb8cad47 [2022-04-12T03:26:21.243Z] ---> e13aa46b07a1 [2022-04-12T03:26:21.243Z] [Warning] One or more build-args [ARCH] were not consumed [2022-04-12T03:26:21.243Z] Successfully built e13aa46b07a1 [2022-04-12T03:26:21.243Z] 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-12T03:26:22.079Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-12T03:26:22.079Z] [2022-04-12T03:26:22.079Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-04-12T03:26:22.456Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-12T03:26:22.732Z] arm64: Pulling from edgex-lftools-log-publisher [2022-04-12T03:26:22.732Z] 8998bd30e6a1: Pulling fs layer [2022-04-12T03:26:22.732Z] 04944245beec: Pulling fs layer [2022-04-12T03:26:22.732Z] 699f458cf7ca: Pulling fs layer [2022-04-12T03:26:22.732Z] 765212b225bb: Pulling fs layer [2022-04-12T03:26:22.732Z] f23df028b6ca: Pulling fs layer [2022-04-12T03:26:22.732Z] d65c8cfc05b1: Pulling fs layer [2022-04-12T03:26:22.732Z] 2437ff75d9bd: Pulling fs layer [2022-04-12T03:26:22.732Z] 765212b225bb: Waiting [2022-04-12T03:26:22.732Z] f23df028b6ca: Waiting [2022-04-12T03:26:22.732Z] d65c8cfc05b1: Waiting [2022-04-12T03:26:22.732Z] 2437ff75d9bd: Waiting [2022-04-12T03:26:22.732Z] 04944245beec: Download complete [2022-04-12T03:26:22.732Z] 765212b225bb: Verifying Checksum [2022-04-12T03:26:22.732Z] 765212b225bb: Download complete [2022-04-12T03:26:22.732Z] f23df028b6ca: Verifying Checksum [2022-04-12T03:26:22.732Z] f23df028b6ca: Download complete [2022-04-12T03:26:22.732Z] d65c8cfc05b1: Verifying Checksum [2022-04-12T03:26:22.732Z] d65c8cfc05b1: Download complete [2022-04-12T03:26:23.009Z] 699f458cf7ca: Verifying Checksum [2022-04-12T03:26:23.009Z] 699f458cf7ca: Download complete [2022-04-12T03:26:23.283Z] 8998bd30e6a1: Verifying Checksum [2022-04-12T03:26:23.283Z] 8998bd30e6a1: Download complete [2022-04-12T03:26:25.907Z] 2437ff75d9bd: Verifying Checksum [2022-04-12T03:26:25.907Z] 2437ff75d9bd: Download complete [2022-04-12T03:26:27.901Z] 8998bd30e6a1: Pull complete [2022-04-12T03:26:27.901Z] 04944245beec: Pull complete [2022-04-12T03:26:29.884Z] 699f458cf7ca: Pull complete [2022-04-12T03:26:29.884Z] 765212b225bb: Pull complete [2022-04-12T03:26:30.483Z] f23df028b6ca: Pull complete [2022-04-12T03:26:30.759Z] d65c8cfc05b1: Pull complete [2022-04-12T03:26:45.857Z] 2437ff75d9bd: Pull complete [2022-04-12T03:26:45.857Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-04-12T03:26:45.857Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-12T03:26:45.857Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-04-12T03:26:46.085Z] prd-ubuntu20.04-docker-arm64-4c-16g-20612 does not seem to be running inside a container [2022-04-12T03:26:46.176Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-04-12T03:26:48.684Z] $ docker top 1b40944e34060f84197ec95bc9c4859dd4eb111139f37285d47e7a6ee29c76cb -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-12T03:26:49.679Z] ---> job-cost.sh [2022-04-12T03:26:49.679Z] lf-activate-venv: SKIPPING [2022-04-12T03:26:49.679Z] INFO: No Stack... [2022-04-12T03:26:50.275Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-04-12T03:26:51.256Z] INFO: Archiving Costs [Pipeline] sh [2022-04-12T03:26:51.960Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2022-04-12T03:26:51.960Z] + cut -d, -f6 [Pipeline] lock [2022-04-12T03:26:52.052Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1131-1-stack-cost] [2022-04-12T03:26:52.058Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1131-1-stack-cost] did not exist. Created. [2022-04-12T03:26:52.058Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1131-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-12T03:26:52.811Z] /w/workspace/device-sdk-go/1@tmp/durable-db8ba55f/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-04-12T03:26:53.507Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-04-12T03:26:53.556Z] Warning: overwriting stash ‘stack-cost’ [2022-04-12T03:26:53.618Z] Stashed 1 file(s) [Pipeline] } [2022-04-12T03:26:53.633Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1131-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-12T03:26:53.715Z] $ docker stop --time=1 1b40944e34060f84197ec95bc9c4859dd4eb111139f37285d47e7a6ee29c76cb [2022-04-12T03:26:55.216Z] $ docker rm -f 1b40944e34060f84197ec95bc9c4859dd4eb111139f37285d47e7a6ee29c76cb [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-12T03:26:56.285Z] provisioning config files... [2022-04-12T03:26:56.293Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1131@tmp/config8117956906857411476tmp [Pipeline] { [Pipeline] sh [2022-04-12T03:26:56.640Z] + set +x [2022-04-12T03:26:56.640Z] + + curl -sbash https://codecov.io/bash -s [2022-04-12T03:26:56.640Z] -- [2022-04-12T03:26:56.640Z] [2022-04-12T03:26:56.640Z] _____ _ [2022-04-12T03:26:56.640Z] / ____| | | [2022-04-12T03:26:56.640Z] | | ___ __| | ___ ___ _____ __ [2022-04-12T03:26:56.640Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-04-12T03:26:56.640Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-04-12T03:26:56.640Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-04-12T03:26:56.640Z] Bash-1.0.6 [2022-04-12T03:26:56.640Z] [2022-04-12T03:26:56.640Z] [2022-04-12T03:26:56.640Z] ==> git version 2.25.1 found [2022-04-12T03:26:56.640Z] ==> 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-12T03:26:56.640Z] Release-Date: 2020-01-08 [2022-04-12T03:26:56.640Z] 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-12T03:26:56.641Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-04-12T03:26:56.641Z] ==> Jenkins CI detected. [2022-04-12T03:26:56.641Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1131 [2022-04-12T03:26:56.641Z] project root: . [2022-04-12T03:26:56.641Z] --> token set from env [2022-04-12T03:26:56.641Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-04-12T03:26:56.641Z] ==> Running gcov in . (disable via -X gcov) [2022-04-12T03:26:56.641Z] ==> Python coveragepy not found [2022-04-12T03:26:56.641Z] ==> Searching for coverage reports in: [2022-04-12T03:26:56.641Z] + . [2022-04-12T03:26:56.641Z] -> Found 1 reports [2022-04-12T03:26:56.641Z] ==> Detecting git/mercurial file structure [2022-04-12T03:26:56.641Z] ==> Reading reports [2022-04-12T03:26:56.641Z] + ./coverage.out bytes=129061 [2022-04-12T03:26:56.641Z] ==> Appending adjustments [2022-04-12T03:26:56.641Z] https://docs.codecov.io/docs/fixing-reports [2022-04-12T03:26:57.211Z] + Found adjustments [2022-04-12T03:26:57.211Z] ==> Gzipping contents [2022-04-12T03:26:57.211Z] 20K /tmp/codecov.Yqzpox.gz [2022-04-12T03:26:57.211Z] ==> Uploading reports [2022-04-12T03:26:57.211Z] url: https://codecov.io [2022-04-12T03:26:57.211Z] query: branch=PR-1131&commit=aa2b65f18ab33e5bb4584f16c9ac6030807c49f4&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1131%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1131&job=&cmd_args= [2022-04-12T03:26:57.211Z] -> Pinging Codecov [2022-04-12T03:26:57.211Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1131&commit=aa2b65f18ab33e5bb4584f16c9ac6030807c49f4&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1131%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1131&job=&cmd_args= [2022-04-12T03:26:57.472Z] -> Uploading to [2022-04-12T03:26:57.472Z] https://storage.googleapis.com/codecov/v4/raw/2022-04-12/7E55EF52A471D76F132DFD9A03CDDE97/aa2b65f18ab33e5bb4584f16c9ac6030807c49f4/407715af-8975-4536-b423-d500dc76a745.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220412%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220412T032657Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=dafa26c58ee1e0779d111573602a37b2e26f640dff938a3d7363a6f3941ca253 [2022-04-12T03:26:57.472Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-12T03:26:57.472Z] Dload Upload Total Spent Left Speed [2022-04-12T03:26:57.732Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16509 0 0 100 16509 0 68787 --:--:-- --:--:-- --:--:-- 68787 [2022-04-12T03:26:57.732Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/aa2b65f18ab33e5bb4584f16c9ac6030807c49f4 [Pipeline] } [2022-04-12T03:26:57.758Z] 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-12T03:26:59.576Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1131/archives ] [2022-04-12T03:26:59.577Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1131/archives [2022-04-12T03:26:59.577Z] total 16 [2022-04-12T03:26:59.577Z] drwxr-xr-x 3 root root 4096 Apr 12 03:18 . [2022-04-12T03:26:59.577Z] drwxrwxr-x 12 jenkins jenkins 4096 Apr 12 03:18 .. [2022-04-12T03:26:59.577Z] drwxr-xr-x 2 root root 4096 Apr 12 03:18 cost [2022-04-12T03:26:59.577Z] -rw-r--r-- 1 root root 85 Apr 12 03:18 cost.csv [2022-04-12T03:26:59.577Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1131/archives [2022-04-12T03:26:59.577Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1131/archives [2022-04-12T03:26:59.577Z] total 16 [2022-04-12T03:26:59.577Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 12 03:18 . [2022-04-12T03:26:59.577Z] drwxrwxr-x 12 jenkins jenkins 4096 Apr 12 03:18 .. [2022-04-12T03:26:59.577Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 12 03:18 cost [2022-04-12T03:26:59.577Z] -rw-r--r-- 1 jenkins jenkins 85 Apr 12 03:18 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-04-12T03:26:59.914Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-12T03:27:00.809Z] ---> package-listing.sh [2022-04-12T03:27:00.809Z] ++ facter osfamily [2022-04-12T03:27:00.809Z] ++ tr '[:upper:]' '[:lower:]' [2022-04-12T03:27:01.069Z] + OS_FAMILY=debian [2022-04-12T03:27:01.069Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1131 [2022-04-12T03:27:01.069Z] + START_PACKAGES=/tmp/packages_start.txt [2022-04-12T03:27:01.069Z] + END_PACKAGES=/tmp/packages_end.txt [2022-04-12T03:27:01.070Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-04-12T03:27:01.070Z] + PACKAGES=/tmp/packages_start.txt [2022-04-12T03:27:01.070Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1131 ']' [2022-04-12T03:27:01.070Z] + PACKAGES=/tmp/packages_end.txt [2022-04-12T03:27:01.070Z] + case "${OS_FAMILY}" in [2022-04-12T03:27:01.070Z] + dpkg -l [2022-04-12T03:27:01.070Z] + grep '^ii' [2022-04-12T03:27:01.070Z] + '[' -f /tmp/packages_start.txt ']' [2022-04-12T03:27:01.070Z] + '[' -f /tmp/packages_end.txt ']' [2022-04-12T03:27:01.070Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-04-12T03:27:01.070Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1131 ']' [2022-04-12T03:27:01.070Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1131/archives/ [2022-04-12T03:27:01.070Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1131/archives/ [Pipeline] echo [2022-04-12T03:27:01.107Z] 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-1131/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-04-12T03:27:01.407Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-04-12T03:27:02.001Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-12T03:27:02.001Z] . [Pipeline] withDockerContainer [2022-04-12T03:27:02.088Z] prd-ubuntu20.04-docker-8c-8g-20611 does not seem to be running inside a container [2022-04-12T03:27:02.125Z] $ 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-1131/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-1131 -v /w/workspace/gexfoundry_device-sdk-go_PR-1131:/w/workspace/gexfoundry_device-sdk-go_PR-1131:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1131@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1131@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-12T03:27:02.343Z] $ docker top f557fb86ec85d777f1b33c1c8c2b19e2fc7543f3a39e42f46e83a77a785190c3 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-12T03:27:02.736Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-04-12T03:27:03.054Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-04-12T03:27:03.370Z] + ls /var/log/sa-host [2022-04-12T03:27:03.370Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-12T03:27:03.653Z] provisioning config files... [2022-04-12T03:27:03.663Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1131@tmp/config4898771212974495889tmp [Pipeline] { [Pipeline] echo [2022-04-12T03:27:03.716Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-12T03:27:04.036Z] ---> create-netrc.sh [Pipeline] } [2022-04-12T03:27:04.070Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-04-12T03:27:04.471Z] ---> python-tools-install.sh [Pipeline] echo [2022-04-12T03:27:04.500Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-12T03:27:04.817Z] ---> sudo-logs.sh [2022-04-12T03:27:04.817Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-04-12T03:27:04.922Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-12T03:27:05.245Z] ---> job-cost.sh [2022-04-12T03:27:05.245Z] lf-activate-venv: SKIPPING [2022-04-12T03:27:05.245Z] DEBUG: total: 0.2199999988079071 [2022-04-12T03:27:05.245Z] INFO: Retrieving Stack Cost... [2022-04-12T03:27:05.816Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-12T03:27:06.390Z] INFO: Archiving Costs [Pipeline] echo [2022-04-12T03:27:06.424Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-12T03:27:06.742Z] ---> logs-deploy.sh [2022-04-12T03:27:06.742Z] lf-activate-venv: SKIPPING [2022-04-12T03:27:06.742Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1131/1 [2022-04-12T03:27:06.742Z] INFO: archiving workspace using pattern(s): [2022-04-12T03:27:07.682Z] Archives upload complete. [2022-04-12T03:27:07.682Z] INFO: archiving logs to Nexus