Pull request #1185 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 1aa922af3a4b4a8f52437cf22cfe0e728a3bedb2+387354420b6c024391aeac33674ce5c69e12b92e (93f992a4e921746c98425ba6df3942f87c50b4c2) 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-ssh4874231361026464756.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 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-ssh832621080590397331.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 2c7614b56cb57ece5b5bdf52d827492071d4cc62 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-1185/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # 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-1185/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6950577571150853354.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-1185/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14540557984687403191.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2c7614b56cb57ece5b5bdf52d827492071d4cc62 # timeout=10 Commit message: "Merge pull request #399 from ernestojeda/fix-go-mod-version" > 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 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-ssh12940152534395387970.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 0f180ed1236c637af8c254f95ad106931cc77145 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-1185/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # 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-1185/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh5040219678552016835.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 0f180ed1236c637af8c254f95ad106931cc77145 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 0f180ed1236c637af8c254f95ad106931cc77145 # timeout=10 Commit message: "Feat: Add initial docker pipelines" > 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 2c7614b56cb57ece5b5bdf52d827492071d4cc62 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that 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 SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-16312 in /w/workspace/gexfoundry_device-sdk-go_PR-1185 [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-1185 # 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 387354420b6c024391aeac33674ce5c69e12b92e into PR head commit 1aa922af3a4b4a8f52437cf22cfe0e728a3bedb2 Merge succeeded, producing 1aa922af3a4b4a8f52437cf22cfe0e728a3bedb2 Checking out Revision 1aa922af3a4b4a8f52437cf22cfe0e728a3bedb2 (PR-1185) > 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/1185/head:refs/remotes/origin/PR-1185 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1aa922af3a4b4a8f52437cf22cfe0e728a3bedb2 # 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 387354420b6c024391aeac33674ce5c69e12b92e # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1aa922af3a4b4a8f52437cf22cfe0e728a3bedb2 # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-messaging/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-06-29T04:05:10.503Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-06-29T04:05:10.684Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-06-29T04:05:10.790Z] ========================================================= [2022-06-29T04:05:10.790Z] EdgeX Global Pipelines Version Info [2022-06-29T04:05:10.790Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-06-29T04:05:11.573Z] ------------------- [2022-06-29T04:05:11.573Z] stable info: [2022-06-29T04:05:11.573Z] ------------------- [2022-06-29T04:05:11.573Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-06-29T04:05:11.573Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-06-29T04:05:11.573Z] Message: update stable to v1.0.234 [2022-06-29T04:05:12.144Z] ------------------- [2022-06-29T04:05:12.144Z] experimental info: [2022-06-29T04:05:12.144Z] ------------------- [2022-06-29T04:05:12.144Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-06-29T04:05:12.144Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-06-29T04:05:12.144Z] Message: update experimental to v1.0.234 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-06-29T04:05:12.545Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2022-06-29T04:05:12.585Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2022-06-29T04:05:12.625Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-06-29T04:05:12.668Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-06-29T04:05:12.705Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-06-29T04:05:12.746Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-06-29T04:05:12.787Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-06-29T04:05:12.830Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2022-06-29T04:05:12.874Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-06-29T04:05:12.913Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-06-29T04:05:12.956Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-06-29T04:05:13.001Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2022-06-29T04:05:13.045Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-06-29T04:05:13.089Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-06-29T04:05:13.129Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-06-29T04:05:13.171Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2022-06-29T04:05:13.211Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-06-29T04:05:13.248Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-06-29T04:05:13.290Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-06-29T04:05:13.330Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-06-29T04:05:13.372Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-06-29T04:05:13.417Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2022-06-29T04:05:13.460Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-06-29T04:05:13.497Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-06-29T04:05:13.535Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-06-29T04:05:13.572Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-06-29T04:05:13.611Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-06-29T04:05:13.652Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1185 [Pipeline] echo [2022-06-29T04:05:13.696Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1185 [Pipeline] echo [2022-06-29T04:05:13.737Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1185 [Pipeline] echo [2022-06-29T04:05:13.779Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 1aa922af3a4b4a8f52437cf22cfe0e728a3bedb2 [Pipeline] echo [2022-06-29T04:05:13.820Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1aa922a [Pipeline] echo [2022-06-29T04:05:13.861Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-29T04:05:13.969Z] provisioning config files... [2022-06-29T04:05:13.988Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1185@tmp/config5025045837994917694tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-29T04:05:14.333Z] ---> docker-login.sh [2022-06-29T04:05:14.333Z] nexus3.edgexfoundry.org:10001 [2022-06-29T04:05:14.594Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-29T04:05:14.594Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-29T04:05:14.594Z] Configure a credential helper to remove this warning. See [2022-06-29T04:05:14.594Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-29T04:05:14.594Z] [2022-06-29T04:05:14.594Z] Login Succeeded [2022-06-29T04:05:14.862Z] nexus3.edgexfoundry.org:10002 [2022-06-29T04:05:14.862Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-29T04:05:14.862Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-29T04:05:14.862Z] Configure a credential helper to remove this warning. See [2022-06-29T04:05:14.862Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-29T04:05:14.862Z] [2022-06-29T04:05:14.862Z] Login Succeeded [2022-06-29T04:05:14.862Z] nexus3.edgexfoundry.org:10003 [2022-06-29T04:05:14.862Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-29T04:05:15.123Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-29T04:05:15.123Z] Configure a credential helper to remove this warning. See [2022-06-29T04:05:15.123Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-29T04:05:15.123Z] [2022-06-29T04:05:15.123Z] Login Succeeded [2022-06-29T04:05:15.123Z] nexus3.edgexfoundry.org:10004 [2022-06-29T04:05:15.123Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-29T04:05:15.123Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-29T04:05:15.123Z] Configure a credential helper to remove this warning. See [2022-06-29T04:05:15.123Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-29T04:05:15.123Z] [2022-06-29T04:05:15.123Z] Login Succeeded [2022-06-29T04:05:15.123Z] docker.io [2022-06-29T04:05:15.385Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-29T04:05:15.646Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-29T04:05:15.646Z] Configure a credential helper to remove this warning. See [2022-06-29T04:05:15.646Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-29T04:05:15.646Z] [2022-06-29T04:05:15.646Z] Login Succeeded [2022-06-29T04:05:15.646Z] ---> docker-login.sh ends [Pipeline] } [2022-06-29T04:05:15.672Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-06-29T04:05:16.272Z] + git rev-list -1 --merges 1aa922af3a4b4a8f52437cf22cfe0e728a3bedb2~1..1aa922af3a4b4a8f52437cf22cfe0e728a3bedb2 [Pipeline] echo [2022-06-29T04:05:16.322Z] -----------> git rev-list -1 --merges 1aa922af3a4b4a8f52437cf22cfe0e728a3bedb2~1..1aa922af3a4b4a8f52437cf22cfe0e728a3bedb2 1aa922af3a4b4a8f52437cf22cfe0e728a3bedb2 [false] [Pipeline] sh [2022-06-29T04:05:16.639Z] + git log --format=format:%s -1 1aa922af3a4b4a8f52437cf22cfe0e728a3bedb2 [Pipeline] echo [2022-06-29T04:05:16.675Z] ========================================================= [2022-06-29T04:05:16.675Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-06-29T04:05:16.675Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-29T04:05:17.100Z] + git log --format=format:%s -1 1aa922af3a4b4a8f52437cf22cfe0e728a3bedb2 [Pipeline] echo [2022-06-29T04:05:17.129Z] [semverPrep] GIT_COMMIT: 1aa922af3a4b4a8f52437cf22cfe0e728a3bedb2, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-messaging/v2 [Pipeline] echo [2022-06-29T04:05:17.158Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-06-29T04:05:17.544Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-06-29T04:05:17.544Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-06-29T04:05:17.544Z] + [ -e /tmp/ssh_known_hosts ] [2022-06-29T04:05:17.544Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-06-29T04:05:17.544Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-06-29T04:05:17.544Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-06-29T04:05:17.544Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-29T04:05:18.034Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-29T04:05:18.034Z] [2022-06-29T04:05:18.034Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-29T04:05:18.406Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-29T04:05:18.406Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-06-29T04:05:18.406Z] 42c077c10790: Pulling fs layer [2022-06-29T04:05:18.406Z] f63e77b7563a: Pulling fs layer [2022-06-29T04:05:18.406Z] bd5fdadae976: Pulling fs layer [2022-06-29T04:05:18.406Z] 205491f53016: Pulling fs layer [2022-06-29T04:05:18.406Z] df18705c85c3: Pulling fs layer [2022-06-29T04:05:18.406Z] bdb3f477010e: Pulling fs layer [2022-06-29T04:05:18.406Z] c8a8fc8e1c8f: Pulling fs layer [2022-06-29T04:05:18.406Z] 2c6e9b1d212d: Pulling fs layer [2022-06-29T04:05:18.406Z] bdb8f0575790: Pulling fs layer [2022-06-29T04:05:18.406Z] 386e3cb2ff24: Pulling fs layer [2022-06-29T04:05:18.406Z] bdb3f477010e: Waiting [2022-06-29T04:05:18.406Z] c8a8fc8e1c8f: Waiting [2022-06-29T04:05:18.406Z] 205491f53016: Waiting [2022-06-29T04:05:18.406Z] 2c6e9b1d212d: Waiting [2022-06-29T04:05:18.406Z] df18705c85c3: Waiting [2022-06-29T04:05:18.406Z] bdb8f0575790: Waiting [2022-06-29T04:05:18.406Z] 2343380bae48: Pulling fs layer [2022-06-29T04:05:18.406Z] 386e3cb2ff24: Waiting [2022-06-29T04:05:18.406Z] 2343380bae48: Waiting [2022-06-29T04:05:18.406Z] f63e77b7563a: Download complete [2022-06-29T04:05:18.406Z] 205491f53016: Verifying Checksum [2022-06-29T04:05:18.406Z] 205491f53016: Download complete [2022-06-29T04:05:18.667Z] df18705c85c3: Verifying Checksum [2022-06-29T04:05:18.667Z] df18705c85c3: Download complete [2022-06-29T04:05:18.667Z] bd5fdadae976: Verifying Checksum [2022-06-29T04:05:18.667Z] bd5fdadae976: Download complete [2022-06-29T04:05:18.667Z] bdb3f477010e: Verifying Checksum [2022-06-29T04:05:18.667Z] bdb3f477010e: Download complete [2022-06-29T04:05:18.667Z] 2c6e9b1d212d: Verifying Checksum [2022-06-29T04:05:18.667Z] 2c6e9b1d212d: Download complete [2022-06-29T04:05:18.667Z] bdb8f0575790: Verifying Checksum [2022-06-29T04:05:18.667Z] bdb8f0575790: Download complete [2022-06-29T04:05:18.667Z] 386e3cb2ff24: Verifying Checksum [2022-06-29T04:05:18.667Z] 386e3cb2ff24: Download complete [2022-06-29T04:05:18.667Z] 2343380bae48: Verifying Checksum [2022-06-29T04:05:18.667Z] 2343380bae48: Download complete [2022-06-29T04:05:18.667Z] 42c077c10790: Download complete [2022-06-29T04:05:18.927Z] c8a8fc8e1c8f: Download complete [2022-06-29T04:05:20.312Z] 42c077c10790: Pull complete [2022-06-29T04:05:20.312Z] f63e77b7563a: Pull complete [2022-06-29T04:05:20.884Z] bd5fdadae976: Pull complete [2022-06-29T04:05:20.884Z] 205491f53016: Pull complete [2022-06-29T04:05:21.145Z] df18705c85c3: Pull complete [2022-06-29T04:05:21.145Z] bdb3f477010e: Pull complete [2022-06-29T04:05:23.054Z] c8a8fc8e1c8f: Pull complete [2022-06-29T04:05:23.316Z] 2c6e9b1d212d: Pull complete [2022-06-29T04:05:23.316Z] bdb8f0575790: Pull complete [2022-06-29T04:05:23.316Z] 386e3cb2ff24: Pull complete [2022-06-29T04:05:23.578Z] 2343380bae48: Pull complete [2022-06-29T04:05:23.578Z] Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 [2022-06-29T04:05:23.578Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-29T04:05:23.578Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-29T04:05:23.812Z] prd-ubuntu20.04-docker-8c-8g-16312 does not seem to be running inside a container [2022-06-29T04:05:23.853Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1185 -v /w/workspace/gexfoundry_device-sdk-go_PR-1185:/w/workspace/gexfoundry_device-sdk-go_PR-1185:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1185@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1185@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-06-29T04:05:25.314Z] $ docker top 14d95fee1562950ee4426d2eabbf2a7131883ab2ff56652fd9a6b0bbfbe8078a -eo pid,comm [2022-06-29T04:05:25.377Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2022-06-29T04:05:25.377Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-06-29T04:05:25.493Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-29T04:05:25.493Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-29T04:05:25.618Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-29T04:05:25.625Z] $ docker exec 14d95fee1562950ee4426d2eabbf2a7131883ab2ff56652fd9a6b0bbfbe8078a ssh-agent [2022-06-29T04:05:25.735Z] SSH_AUTH_SOCK=/tmp/ssh-DPPWiSbI7scC/agent.32 [2022-06-29T04:05:25.735Z] SSH_AGENT_PID=38 [2022-06-29T04:05:25.742Z] Running ssh-add (command line suppressed) [2022-06-29T04:05:25.865Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1185@tmp/private_key_7827224022372116872.key (/w/workspace/gexfoundry_device-sdk-go_PR-1185@tmp/private_key_7827224022372116872.key) [2022-06-29T04:05:25.877Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-29T04:05:26.203Z] + git tag --points-at HEAD [Pipeline] } [2022-06-29T04:05:26.238Z] $ docker exec --env ******** --env ******** 14d95fee1562950ee4426d2eabbf2a7131883ab2ff56652fd9a6b0bbfbe8078a ssh-agent -k [2022-06-29T04:05:26.346Z] unset SSH_AUTH_SOCK; [2022-06-29T04:05:26.347Z] unset SSH_AGENT_PID; [2022-06-29T04:05:26.347Z] echo Agent pid 38 killed; [2022-06-29T04:05:26.355Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-06-29T04:05:26.440Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-29T04:05:26.440Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-29T04:05:26.577Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-29T04:05:26.583Z] $ docker exec 14d95fee1562950ee4426d2eabbf2a7131883ab2ff56652fd9a6b0bbfbe8078a ssh-agent [2022-06-29T04:05:26.703Z] SSH_AUTH_SOCK=/tmp/ssh-7sMyOy5adBjW/agent.70 [2022-06-29T04:05:26.703Z] SSH_AGENT_PID=76 [2022-06-29T04:05:26.709Z] Running ssh-add (command line suppressed) [2022-06-29T04:05:26.821Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1185@tmp/private_key_6933449185362474078.key (/w/workspace/gexfoundry_device-sdk-go_PR-1185@tmp/private_key_6933449185362474078.key) [2022-06-29T04:05:26.831Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-29T04:05:27.162Z] + git semver init [2022-06-29T04:05:27.422Z] 2022-06-29 04:05:27,346 [run_init] DEBUG init version:0.0.0 force:False [2022-06-29T04:05:27.422Z] 2022-06-29 04:05:27,347 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1185/.semver [2022-06-29T04:05:27.423Z] 2022-06-29 04:05:27,347 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1185/.semver [2022-06-29T04:05:27.423Z] 2022-06-29 04:05:27,347 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1185/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1185, universal_newlines=False, shell=None, istream=None) [2022-06-29T04:05:28.364Z] 2022-06-29 04:05:28,133 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1185/.git/info/exclude [2022-06-29T04:05:28.364Z] 2022-06-29 04:05:28,134 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1185/.semver/PR-1185 with force:False [2022-06-29T04:05:28.364Z] 2022-06-29 04:05:28,134 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1185/.semver/PR-1185 [2022-06-29T04:05:28.364Z] 2022-06-29 04:05:28,139 [execute] INFO git cat-file --batch-check [2022-06-29T04:05:28.364Z] 2022-06-29 04:05:28,139 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1185/.semver, universal_newlines=False, shell=None, istream=) [2022-06-29T04:05:28.364Z] 2022-06-29 04:05:28,145 [execute] INFO git cat-file --batch [2022-06-29T04:05:28.364Z] 2022-06-29 04:05:28,145 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1185/.semver, universal_newlines=False, shell=None, istream=) [2022-06-29T04:05:28.364Z] 2022-06-29 04:05:28,149 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1185/.semver/PR-1185 [2022-06-29T04:05:28.364Z] 0.0.0 [Pipeline] } [2022-06-29T04:05:28.392Z] $ docker exec --env ******** --env ******** 14d95fee1562950ee4426d2eabbf2a7131883ab2ff56652fd9a6b0bbfbe8078a ssh-agent -k [2022-06-29T04:05:28.507Z] unset SSH_AUTH_SOCK; [2022-06-29T04:05:28.508Z] unset SSH_AGENT_PID; [2022-06-29T04:05:28.508Z] echo Agent pid 76 killed; [2022-06-29T04:05:28.513Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-06-29T04:05:28.929Z] + git semver [Pipeline] } [2022-06-29T04:05:29.219Z] $ docker stop --time=1 14d95fee1562950ee4426d2eabbf2a7131883ab2ff56652fd9a6b0bbfbe8078a [2022-06-29T04:05:30.575Z] $ docker rm -f 14d95fee1562950ee4426d2eabbf2a7131883ab2ff56652fd9a6b0bbfbe8078a [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-29T04:05:30.994Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-06-29T04:05:31.296Z] Stashed 1 file(s) [Pipeline] echo [2022-06-29T04:05:31.314Z] [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-06-29T04:05:31.893Z] provisioning config files... [2022-06-29T04:05:31.906Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1185@tmp/config4743871157417847263tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-29T04:05:32.259Z] ---> docker-login.sh [2022-06-29T04:05:32.259Z] nexus3.edgexfoundry.org:10001 [2022-06-29T04:05:32.259Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-29T04:05:32.259Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-29T04:05:32.259Z] Configure a credential helper to remove this warning. See [2022-06-29T04:05:32.259Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-29T04:05:32.259Z] [2022-06-29T04:05:32.259Z] Login Succeeded [2022-06-29T04:05:32.259Z] nexus3.edgexfoundry.org:10002 [2022-06-29T04:05:32.259Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-29T04:05:32.259Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-29T04:05:32.259Z] Configure a credential helper to remove this warning. See [2022-06-29T04:05:32.259Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-29T04:05:32.259Z] [2022-06-29T04:05:32.259Z] Login Succeeded [2022-06-29T04:05:32.259Z] nexus3.edgexfoundry.org:10003 [2022-06-29T04:05:32.520Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-29T04:05:32.520Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-29T04:05:32.520Z] Configure a credential helper to remove this warning. See [2022-06-29T04:05:32.520Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-29T04:05:32.520Z] [2022-06-29T04:05:32.520Z] Login Succeeded [2022-06-29T04:05:32.520Z] nexus3.edgexfoundry.org:10004 [2022-06-29T04:05:32.520Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-29T04:05:32.783Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-29T04:05:32.783Z] Configure a credential helper to remove this warning. See [2022-06-29T04:05:32.783Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-29T04:05:32.783Z] [2022-06-29T04:05:32.783Z] Login Succeeded [2022-06-29T04:05:32.783Z] docker.io [2022-06-29T04:05:32.783Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-29T04:05:33.044Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-29T04:05:33.044Z] Configure a credential helper to remove this warning. See [2022-06-29T04:05:33.044Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-29T04:05:33.044Z] [2022-06-29T04:05:33.044Z] Login Succeeded [2022-06-29T04:05:33.044Z] ---> docker-login.sh ends [Pipeline] } [2022-06-29T04:05:33.072Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-29T04:05:33.259Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-29T04:05:33.293Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-29T04:05:33.324Z] ========================================================= [2022-06-29T04:05:33.324Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-06-29T04:05:33.324Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-29T04:05:33.789Z] + 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-06-29T04:05:33.789Z] Sending build context to Docker daemon 9.681MB [2022-06-29T04:05:33.789Z] Step 1/11 : ARG BASE=golang:1.17-alpine3.15 [2022-06-29T04:05:33.789Z] Step 2/11 : FROM ${BASE} AS builder [2022-06-29T04:05:34.050Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-06-29T04:05:34.050Z] 59bf1c3509f3: Pulling fs layer [2022-06-29T04:05:34.050Z] 666ba61612fd: Pulling fs layer [2022-06-29T04:05:34.050Z] 8ed8ca486205: Pulling fs layer [2022-06-29T04:05:34.050Z] cc1cd167ecdc: Pulling fs layer [2022-06-29T04:05:34.050Z] c516ae0d96e1: Pulling fs layer [2022-06-29T04:05:34.050Z] 684cea983483: Pulling fs layer [2022-06-29T04:05:34.050Z] dd3240ac7de5: Pulling fs layer [2022-06-29T04:05:34.050Z] b1e948a4e11c: Pulling fs layer [2022-06-29T04:05:34.050Z] a8fd76ee1af6: Pulling fs layer [2022-06-29T04:05:34.050Z] 646ad004c059: Pulling fs layer [2022-06-29T04:05:34.050Z] dd3240ac7de5: Waiting [2022-06-29T04:05:34.050Z] b1e948a4e11c: Waiting [2022-06-29T04:05:34.050Z] a8fd76ee1af6: Waiting [2022-06-29T04:05:34.050Z] 646ad004c059: Waiting [2022-06-29T04:05:34.050Z] cc1cd167ecdc: Waiting [2022-06-29T04:05:34.050Z] c516ae0d96e1: Waiting [2022-06-29T04:05:34.050Z] 684cea983483: Waiting [2022-06-29T04:05:34.050Z] 8ed8ca486205: Verifying Checksum [2022-06-29T04:05:34.050Z] 8ed8ca486205: Download complete [2022-06-29T04:05:34.051Z] 666ba61612fd: Verifying Checksum [2022-06-29T04:05:34.051Z] c516ae0d96e1: Verifying Checksum [2022-06-29T04:05:34.051Z] c516ae0d96e1: Download complete [2022-06-29T04:05:34.051Z] 59bf1c3509f3: Verifying Checksum [2022-06-29T04:05:34.051Z] 59bf1c3509f3: Download complete [2022-06-29T04:05:34.051Z] 684cea983483: Verifying Checksum [2022-06-29T04:05:34.051Z] 684cea983483: Download complete [2022-06-29T04:05:34.051Z] dd3240ac7de5: Verifying Checksum [2022-06-29T04:05:34.051Z] dd3240ac7de5: Download complete [2022-06-29T04:05:34.051Z] b1e948a4e11c: Verifying Checksum [2022-06-29T04:05:34.051Z] b1e948a4e11c: Download complete [2022-06-29T04:05:34.051Z] 59bf1c3509f3: Pull complete [2022-06-29T04:05:34.320Z] 666ba61612fd: Pull complete [2022-06-29T04:05:34.320Z] 8ed8ca486205: Pull complete [2022-06-29T04:05:34.582Z] 646ad004c059: Verifying Checksum [2022-06-29T04:05:34.582Z] 646ad004c059: Download complete [2022-06-29T04:05:34.582Z] a8fd76ee1af6: Verifying Checksum [2022-06-29T04:05:34.582Z] a8fd76ee1af6: Download complete [2022-06-29T04:05:34.841Z] cc1cd167ecdc: Verifying Checksum [2022-06-29T04:05:34.841Z] cc1cd167ecdc: Download complete [2022-06-29T04:05:39.035Z] cc1cd167ecdc: Pull complete [2022-06-29T04:05:39.035Z] c516ae0d96e1: Pull complete [2022-06-29T04:05:39.035Z] 684cea983483: Pull complete [2022-06-29T04:05:39.035Z] dd3240ac7de5: Pull complete [2022-06-29T04:05:39.035Z] b1e948a4e11c: Pull complete [2022-06-29T04:05:40.939Z] a8fd76ee1af6: Pull complete [2022-06-29T04:05:41.530Z] 646ad004c059: Pull complete [2022-06-29T04:05:41.530Z] Digest: sha256:bc8ce28cadebfaa099e5330588345fe90134e4027cf71364bfd2aff1e7ff8c16 [2022-06-29T04:05:41.530Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-06-29T04:05:41.530Z] ---> 8f69c11f6b0c [2022-06-29T04:05:41.530Z] Step 3/11 : ARG MAKE=make build [2022-06-29T04:05:42.917Z] ---> Running in b99892d497ac [2022-06-29T04:05:42.917Z] Removing intermediate container b99892d497ac [2022-06-29T04:05:42.917Z] ---> 1608a6d68a1e [2022-06-29T04:05:42.917Z] Step 4/11 : WORKDIR /device-sdk-go [2022-06-29T04:05:42.917Z] ---> Running in 5949ab8cf84b [2022-06-29T04:05:43.177Z] Removing intermediate container 5949ab8cf84b [2022-06-29T04:05:43.177Z] ---> f98c58f6c1e6 [2022-06-29T04:05:43.177Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-06-29T04:05:43.177Z] ---> Running in 6a0373938b4f [2022-06-29T04:05:43.177Z] Removing intermediate container 6a0373938b4f [2022-06-29T04:05:43.177Z] ---> 710c809bd058 [2022-06-29T04:05:43.177Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-29T04:05:43.442Z] ---> Running in c3e626088e0f [2022-06-29T04:05:44.015Z] Removing intermediate container c3e626088e0f [2022-06-29T04:05:44.015Z] ---> e2b2c005a5dd [2022-06-29T04:05:44.015Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-06-29T04:05:44.015Z] ---> Running in 3da14936a159 [2022-06-29T04:05:44.275Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-29T04:05:45.218Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-29T04:05:45.790Z] OK: 221 MiB in 52 packages [2022-06-29T04:05:46.052Z] Removing intermediate container 3da14936a159 [2022-06-29T04:05:46.052Z] ---> 6e8270798d26 [2022-06-29T04:05:46.052Z] Step 8/11 : COPY go.mod vendor* ./ [2022-06-29T04:05:46.312Z] ---> 2664dd43bb23 [2022-06-29T04:05:46.312Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-29T04:05:46.312Z] ---> Running in da935fb16867 [2022-06-29T04:05:46.722Z] Still waiting to schedule task [2022-06-29T04:05:46.723Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-06-29T04:06:01.235Z] Removing intermediate container da935fb16867 [2022-06-29T04:06:01.235Z] ---> dd8312a8d58d [2022-06-29T04:06:01.235Z] Step 10/11 : COPY . . [2022-06-29T04:06:01.235Z] ---> 5bacbe3c3189 [2022-06-29T04:06:01.235Z] Step 11/11 : RUN ${MAKE} [2022-06-29T04:06:01.235Z] ---> Running in 3906b42247b4 [2022-06-29T04:06:01.235Z] noop [2022-06-29T04:06:01.235Z] Removing intermediate container 3906b42247b4 [2022-06-29T04:06:01.235Z] ---> f9a08910c368 [2022-06-29T04:06:01.235Z] Successfully built f9a08910c368 [2022-06-29T04:06:01.235Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-29T04:06:01.664Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-29T04:06:01.664Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-29T04:06:01.812Z] prd-ubuntu20.04-docker-8c-8g-16312 does not seem to be running inside a container [2022-06-29T04:06:01.852Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1185 -v /w/workspace/gexfoundry_device-sdk-go_PR-1185:/w/workspace/gexfoundry_device-sdk-go_PR-1185:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1185@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1185@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 ******** ci-base-image-x86_64 cat [2022-06-29T04:06:02.274Z] $ docker top 168fcab993432786ab73ac74db8ca91263f6f4c763ee91c2132224a3aabdb5e9 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-29T04:06:02.676Z] + go version [2022-06-29T04:06:02.676Z] go version go1.17.7 linux/amd64 [Pipeline] } [2022-06-29T04:06:02.710Z] $ docker stop --time=1 168fcab993432786ab73ac74db8ca91263f6f4c763ee91c2132224a3aabdb5e9 [2022-06-29T04:06:04.001Z] $ docker rm -f 168fcab993432786ab73ac74db8ca91263f6f4c763ee91c2132224a3aabdb5e9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-29T04:06:04.709Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-29T04:06:04.709Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-29T04:06:04.914Z] prd-ubuntu20.04-docker-8c-8g-16312 does not seem to be running inside a container [2022-06-29T04:06:04.988Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1185 -v /w/workspace/gexfoundry_device-sdk-go_PR-1185:/w/workspace/gexfoundry_device-sdk-go_PR-1185:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1185@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1185@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 ******** ci-base-image-x86_64 cat [2022-06-29T04:06:05.394Z] $ docker top cd9ee1b7cdd03240857ce8fb07943908351b13a81580ac876bc45123257e6856 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-29T04:06:05.864Z] + make test [2022-06-29T04:06:05.864Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-06-29T04:06:11.146Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-06-29T04:06:21.696Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-06-29T04:06:21.696Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-06-29T04:06:21.696Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-06-29T04:06:22.641Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.130s coverage: 23.7% of statements [2022-06-29T04:06:22.641Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-06-29T04:06:22.641Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.064s coverage: 27.6% of statements [2022-06-29T04:06:22.641Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.058s coverage: 78.9% of statements [2022-06-29T04:06:22.641Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.081s coverage: 10.8% of statements [2022-06-29T04:06:22.641Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.059s coverage: 60.0% of statements [2022-06-29T04:06:22.641Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-06-29T04:06:22.641Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-06-29T04:06:22.903Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.105s coverage: 34.8% of statements [2022-06-29T04:06:22.903Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-06-29T04:06:23.848Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.075s coverage: 85.4% of statements [2022-06-29T04:06:23.848Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-06-29T04:06:23.848Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-06-29T04:06:23.848Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.133s coverage: 65.1% of statements [2022-06-29T04:06:23.848Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.747s coverage: 89.2% of statements [2022-06-29T04:06:23.848Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-06-29T04:06:23.848Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.059s coverage: 4.7% of statements [2022-06-29T04:06:23.848Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-06-29T04:06:38.740Z] GO111MODULE=on go vet ./... [2022-06-29T04:06:42.036Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-29T04:06:42.036Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-29T04:06:42.036Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-06-29T04:06:42.642Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-06-29T04:06:42.679Z] $ docker stop --time=1 cd9ee1b7cdd03240857ce8fb07943908351b13a81580ac876bc45123257e6856 [2022-06-29T04:06:44.831Z] $ docker rm -f cd9ee1b7cdd03240857ce8fb07943908351b13a81580ac876bc45123257e6856 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-29T04:06:45.385Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-06-29T04:06:45.455Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-06-29T04:06:46.137Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-06-29T04:06:46.455Z] + ls -al . [2022-06-29T04:06:46.455Z] total 304 [2022-06-29T04:06:46.455Z] drwxrwxr-x 11 jenkins jenkins 4096 Jun 29 04:06 . [2022-06-29T04:06:46.455Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 29 04:05 .. [2022-06-29T04:06:46.455Z] -rw-rw-r-- 1 jenkins jenkins 140 Jun 29 04:05 .dockerignore [2022-06-29T04:06:46.455Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 29 04:05 .git [2022-06-29T04:06:46.455Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 29 04:05 .github [2022-06-29T04:06:46.455Z] -rw-rw-r-- 1 jenkins jenkins 131 Jun 29 04:05 .gitignore [2022-06-29T04:06:46.455Z] -rw-rw-r-- 1 jenkins jenkins 42 Jun 29 04:05 .golangci.yml [2022-06-29T04:06:46.455Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 29 04:05 .semver [2022-06-29T04:06:46.455Z] -rw-rw-r-- 1 jenkins jenkins 29536 Jun 29 04:05 CHANGELOG.md [2022-06-29T04:06:46.455Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 29 04:05 GOVERNANCE.md [2022-06-29T04:06:46.455Z] -rw-rw-r-- 1 jenkins jenkins 880 Jun 29 04:05 Jenkinsfile [2022-06-29T04:06:46.455Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jun 29 04:05 LICENSE [2022-06-29T04:06:46.455Z] -rw-rw-r-- 1 jenkins jenkins 2015 Jun 29 04:05 Makefile [2022-06-29T04:06:46.455Z] -rw-rw-r-- 1 jenkins jenkins 619 Jun 29 04:05 OWNERS.md [2022-06-29T04:06:46.455Z] -rw-rw-r-- 1 jenkins jenkins 4881 Jun 29 04:05 README.md [2022-06-29T04:06:46.455Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 29 04:05 VERSION [2022-06-29T04:06:46.455Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 29 04:05 bin [2022-06-29T04:06:46.455Z] -rw-r--r-- 1 jenkins jenkins 131190 Jun 29 04:06 coverage.out [2022-06-29T04:06:46.455Z] drwxrwxr-x 5 jenkins jenkins 4096 Jun 29 04:05 example [2022-06-29T04:06:46.455Z] -rw-rw-r-- 1 jenkins jenkins 3203 Jun 29 04:05 go.mod [2022-06-29T04:06:46.455Z] -rw-rw-r-- 1 jenkins jenkins 35551 Jun 29 04:05 go.sum [2022-06-29T04:06:46.455Z] drwxrwxr-x 15 jenkins jenkins 4096 Jun 29 04:05 internal [2022-06-29T04:06:46.455Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 29 04:05 openapi [2022-06-29T04:06:46.455Z] drwxrwxr-x 5 jenkins jenkins 4096 Jun 29 04:05 pkg [2022-06-29T04:06:46.455Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 29 04:05 snap [2022-06-29T04:06:46.455Z] -rw-rw-r-- 1 jenkins jenkins 222 Jun 29 04:05 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-29T04:06:46.852Z] + 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=1aa922af3a4b4a8f52437cf22cfe0e728a3bedb2 --label arch=amd64 --label version=0.0.0 . [2022-06-29T04:06:46.852Z] Sending build context to Docker daemon 9.813MB [2022-06-29T04:06:46.852Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-06-29T04:06:46.852Z] Step 2/25 : FROM ${BASE} AS builder [2022-06-29T04:06:46.852Z] ---> f9a08910c368 [2022-06-29T04:06:46.852Z] Step 3/25 : ARG MAKE=make build [2022-06-29T04:06:47.138Z] ---> Running in c75df9f687f1 [2022-06-29T04:06:47.138Z] Removing intermediate container c75df9f687f1 [2022-06-29T04:06:47.138Z] ---> b3a5f6570cc2 [2022-06-29T04:06:47.138Z] Step 4/25 : WORKDIR /device-sdk-go [2022-06-29T04:06:47.138Z] ---> Running in 10eb95151c15 [2022-06-29T04:06:47.138Z] Removing intermediate container 10eb95151c15 [2022-06-29T04:06:47.138Z] ---> abb26e2f3cf8 [2022-06-29T04:06:47.138Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-06-29T04:06:47.400Z] ---> Running in f56239139142 [2022-06-29T04:06:47.400Z] Removing intermediate container f56239139142 [2022-06-29T04:06:47.400Z] ---> dabc508a7578 [2022-06-29T04:06:47.400Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-29T04:06:47.400Z] ---> Running in 0d2e1130e216 [2022-06-29T04:06:47.976Z] Removing intermediate container 0d2e1130e216 [2022-06-29T04:06:47.976Z] ---> 8369de9faa95 [2022-06-29T04:06:47.976Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-06-29T04:06:48.237Z] ---> Running in 64eb0143a83a [2022-06-29T04:06:48.499Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-29T04:06:49.439Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-29T04:06:49.439Z] OK: 221 MiB in 52 packages [2022-06-29T04:06:50.009Z] Removing intermediate container 64eb0143a83a [2022-06-29T04:06:50.009Z] ---> bb4fc68f377b [2022-06-29T04:06:50.009Z] Step 8/25 : COPY go.mod vendor* ./ [2022-06-29T04:06:50.009Z] ---> 038afdf57d59 [2022-06-29T04:06:50.009Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-29T04:06:50.009Z] ---> Running in c96169849936 [2022-06-29T04:06:50.580Z] Removing intermediate container c96169849936 [2022-06-29T04:06:50.580Z] ---> 1f3a6a33adfb [2022-06-29T04:06:50.580Z] Step 10/25 : COPY . . [2022-06-29T04:06:51.153Z] ---> 51472940d4ac [2022-06-29T04:06:51.153Z] Step 11/25 : RUN ${MAKE} [2022-06-29T04:06:51.153Z] ---> Running in a2bfee32b26b [2022-06-29T04:06:51.417Z] 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-06-29T04:07:09.525Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-06-29T04:07:09.525Z] Removing intermediate container a2bfee32b26b [2022-06-29T04:07:09.525Z] ---> 6ecd64a2cb51 [2022-06-29T04:07:09.525Z] Step 12/25 : FROM alpine:3.14 [2022-06-29T04:07:10.466Z] 3.14: Pulling from library/alpine [2022-06-29T04:07:10.466Z] 8663204ce13b: Pulling fs layer [2022-06-29T04:07:10.466Z] 8663204ce13b: Verifying Checksum [2022-06-29T04:07:10.466Z] 8663204ce13b: Download complete [2022-06-29T04:07:10.727Z] 8663204ce13b: Pull complete [2022-06-29T04:07:10.727Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-06-29T04:07:10.727Z] Status: Downloaded newer image for alpine:3.14 [2022-06-29T04:07:10.727Z] ---> e04c818066af [2022-06-29T04:07:10.727Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-06-29T04:07:10.987Z] ---> Running in ac815580b451 [2022-06-29T04:07:10.987Z] Removing intermediate container ac815580b451 [2022-06-29T04:07:10.987Z] ---> defd1dab723a [2022-06-29T04:07:10.987Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-29T04:07:10.987Z] ---> Running in 748448c28739 [2022-06-29T04:07:11.556Z] Removing intermediate container 748448c28739 [2022-06-29T04:07:11.556Z] ---> c3b903a506e1 [2022-06-29T04:07:11.556Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-06-29T04:07:11.556Z] ---> Running in a02302f98ba1 [2022-06-29T04:07:11.817Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-06-29T04:07:13.201Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-06-29T04:07:13.201Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2022-06-29T04:07:13.201Z] (2/5) Installing libsodium (1.0.18-r0) [2022-06-29T04:07:13.463Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2022-06-29T04:07:13.725Z] (4/5) Installing libzmq (4.3.4-r0) [2022-06-29T04:07:13.725Z] (5/5) Installing zeromq (4.3.4-r0) [2022-06-29T04:07:13.985Z] Executing busybox-1.33.1-r7.trigger [2022-06-29T04:07:13.985Z] OK: 8 MiB in 19 packages [2022-06-29T04:07:14.245Z] Removing intermediate container a02302f98ba1 [2022-06-29T04:07:14.245Z] ---> bc84f186a9c7 [2022-06-29T04:07:14.245Z] Step 16/25 : WORKDIR / [2022-06-29T04:07:14.245Z] ---> Running in eb004cf8a98a [2022-06-29T04:07:14.504Z] Removing intermediate container eb004cf8a98a [2022-06-29T04:07:14.504Z] ---> a96d9017b0cc [2022-06-29T04:07:14.504Z] Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-06-29T04:07:14.504Z] ---> 97c97fec7b03 [2022-06-29T04:07:14.504Z] Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-06-29T04:07:15.470Z] ---> 309f7b4dfc69 [2022-06-29T04:07:15.470Z] Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-06-29T04:07:15.470Z] ---> 6956ff248424 [2022-06-29T04:07:15.470Z] Step 20/25 : EXPOSE 59999 [2022-06-29T04:07:15.470Z] ---> Running in 40b6d6fedf5d [2022-06-29T04:07:15.470Z] Removing intermediate container 40b6d6fedf5d [2022-06-29T04:07:15.470Z] ---> c9005d8d6e34 [2022-06-29T04:07:15.470Z] Step 21/25 : ENTRYPOINT ["/device-simple"] [2022-06-29T04:07:15.731Z] ---> Running in 695b9bed0d19 [2022-06-29T04:07:15.731Z] Removing intermediate container 695b9bed0d19 [2022-06-29T04:07:15.731Z] ---> 86c4f6773712 [2022-06-29T04:07:15.731Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-06-29T04:07:15.731Z] ---> Running in 52b7b4bde24a [2022-06-29T04:07:15.991Z] Removing intermediate container 52b7b4bde24a [2022-06-29T04:07:15.991Z] ---> 854a315d1c6b [2022-06-29T04:07:15.991Z] Step 23/25 : LABEL arch=amd64 [2022-06-29T04:07:15.991Z] ---> Running in 4d5b75b42aed [2022-06-29T04:07:15.991Z] Removing intermediate container 4d5b75b42aed [2022-06-29T04:07:15.991Z] ---> 9bef08bb2b35 [2022-06-29T04:07:15.991Z] Step 24/25 : LABEL git_sha=1aa922af3a4b4a8f52437cf22cfe0e728a3bedb2 [2022-06-29T04:07:15.991Z] ---> Running in b67a9ad7196b [2022-06-29T04:07:16.253Z] Removing intermediate container b67a9ad7196b [2022-06-29T04:07:16.253Z] ---> 456754c8d562 [2022-06-29T04:07:16.253Z] Step 25/25 : LABEL version=0.0.0 [2022-06-29T04:07:16.253Z] ---> Running in 2df98251c57d [2022-06-29T04:07:16.253Z] Removing intermediate container 2df98251c57d [2022-06-29T04:07:16.253Z] ---> c41a21060caa [2022-06-29T04:07:16.253Z] [Warning] One or more build-args [ARCH] were not consumed [2022-06-29T04:07:16.253Z] Successfully built c41a21060caa [2022-06-29T04:07:16.253Z] Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // withEnv [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] withEnv [Pipeline] { [Pipeline] sh [2022-06-29T04:07:17.110Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-29T04:07:17.110Z] [2022-06-29T04:07:17.111Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-29T04:07:17.490Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-29T04:07:17.490Z] latest: Pulling from edgex-lftools-log-publisher [2022-06-29T04:07:17.490Z] 5eb5b503b376: Pulling fs layer [2022-06-29T04:07:17.490Z] 5c69ac0246d0: Pulling fs layer [2022-06-29T04:07:17.490Z] ec43610c2a17: Pulling fs layer [2022-06-29T04:07:17.490Z] 3a2ae6a8a46f: Pulling fs layer [2022-06-29T04:07:17.490Z] 33b1e0a273af: Pulling fs layer [2022-06-29T04:07:17.490Z] 5d3b04190fa2: Pulling fs layer [2022-06-29T04:07:17.490Z] 2f39f015ded8: Pulling fs layer [2022-06-29T04:07:17.490Z] 3a2ae6a8a46f: Waiting [2022-06-29T04:07:17.490Z] 33b1e0a273af: Waiting [2022-06-29T04:07:17.490Z] 5d3b04190fa2: Waiting [2022-06-29T04:07:17.490Z] 2f39f015ded8: Waiting [2022-06-29T04:07:17.490Z] 5c69ac0246d0: Verifying Checksum [2022-06-29T04:07:17.490Z] 5c69ac0246d0: Download complete [2022-06-29T04:07:17.490Z] 3a2ae6a8a46f: Verifying Checksum [2022-06-29T04:07:17.490Z] 3a2ae6a8a46f: Download complete [2022-06-29T04:07:17.750Z] 33b1e0a273af: Verifying Checksum [2022-06-29T04:07:17.750Z] 33b1e0a273af: Download complete [2022-06-29T04:07:17.750Z] 5d3b04190fa2: Verifying Checksum [2022-06-29T04:07:17.750Z] 5d3b04190fa2: Download complete [2022-06-29T04:07:17.750Z] ec43610c2a17: Verifying Checksum [2022-06-29T04:07:17.750Z] ec43610c2a17: Download complete [2022-06-29T04:07:17.750Z] 5eb5b503b376: Download complete [2022-06-29T04:07:18.318Z] 2f39f015ded8: Download complete [2022-06-29T04:07:18.886Z] 5eb5b503b376: Pull complete [2022-06-29T04:07:19.144Z] 5c69ac0246d0: Pull complete [2022-06-29T04:07:19.403Z] ec43610c2a17: Pull complete [2022-06-29T04:07:19.403Z] 3a2ae6a8a46f: Pull complete [2022-06-29T04:07:19.663Z] 33b1e0a273af: Pull complete [2022-06-29T04:07:19.663Z] 5d3b04190fa2: Pull complete [2022-06-29T04:07:23.855Z] 2f39f015ded8: Pull complete [2022-06-29T04:07:23.855Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-06-29T04:07:23.855Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-29T04:07:23.855Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-29T04:07:24.091Z] prd-ubuntu20.04-docker-8c-8g-16312 does not seem to be running inside a container [2022-06-29T04:07:24.135Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-sdk-go_PR-1185 -v /w/workspace/gexfoundry_device-sdk-go_PR-1185:/w/workspace/gexfoundry_device-sdk-go_PR-1185:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1185@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1185@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-06-29T04:07:25.809Z] $ docker top fca11ad50897f6d54b07b5a00bc5fda89de8d38a0e8fd6fd265ae0bf3de14ed3 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-29T04:07:26.298Z] ---> job-cost.sh [2022-06-29T04:07:26.298Z] lf-activate-venv: SKIPPING [2022-06-29T04:07:26.298Z] INFO: No Stack... [2022-06-29T04:07:26.560Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-29T04:07:27.130Z] INFO: Archiving Costs [Pipeline] sh [2022-06-29T04:07:27.447Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1185/archives/cost.csv [2022-06-29T04:07:27.447Z] + cut -d, -f6 [Pipeline] lock [2022-06-29T04:07:27.484Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1185-1-stack-cost] [2022-06-29T04:07:27.489Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1185-1-stack-cost] did not exist. Created. [2022-06-29T04:07:27.489Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1185-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-29T04:07:27.885Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-06-29T04:07:27.935Z] Stashed 1 file(s) [Pipeline] } [2022-06-29T04:07:27.959Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1185-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-29T04:07:28.038Z] $ docker stop --time=1 fca11ad50897f6d54b07b5a00bc5fda89de8d38a0e8fd6fd265ae0bf3de14ed3 [2022-06-29T04:07:29.212Z] $ docker rm -f fca11ad50897f6d54b07b5a00bc5fda89de8d38a0e8fd6fd265ae0bf3de14ed3 [2022-06-29T04:07:29.247Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-16314 in /w/workspace/gexfoundry_device-sdk-go_PR-1185 [Pipeline] { [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] ws [2022-06-29T04:07:29.409Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2022-06-29T04:07:29.467Z] The recommended git tool is: git [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-06-29T04:07:35.421Z] using credential edgex-jenkins-ssh [2022-06-29T04:07:35.441Z] Cloning the remote Git repository [2022-06-29T04:07:35.572Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2022-06-29T04:07:35.740Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2022-06-29T04:07:35.839Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-06-29T04:07:35.840Z] > git --version # timeout=10 [2022-06-29T04:07:35.863Z] > git --version # 'git version 2.25.1' [2022-06-29T04:07:35.865Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-29T04:07:35.957Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-29T04:07:37.245Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-06-29T04:07:37.824Z] Merging remotes/origin/main commit 387354420b6c024391aeac33674ce5c69e12b92e into PR head commit 1aa922af3a4b4a8f52437cf22cfe0e728a3bedb2 [2022-06-29T04:07:38.054Z] Merge succeeded, producing 1aa922af3a4b4a8f52437cf22cfe0e728a3bedb2 [2022-06-29T04:07:38.054Z] Checking out Revision 1aa922af3a4b4a8f52437cf22cfe0e728a3bedb2 (PR-1185) [2022-06-29T04:07:37.269Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-29T04:07:37.293Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-06-29T04:07:37.332Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-06-29T04:07:37.333Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-29T04:07:37.347Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1185/head:refs/remotes/origin/PR-1185 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-06-29T04:07:37.843Z] > git config core.sparsecheckout # timeout=10 [2022-06-29T04:07:37.858Z] > git checkout -f 1aa922af3a4b4a8f52437cf22cfe0e728a3bedb2 # timeout=10 [2022-06-29T04:07:37.969Z] > git remote # timeout=10 [2022-06-29T04:07:37.985Z] > git config --get remote.origin.url # timeout=10 [2022-06-29T04:07:37.998Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-29T04:07:38.010Z] > git merge 387354420b6c024391aeac33674ce5c69e12b92e # timeout=10 [2022-06-29T04:07:38.038Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-06-29T04:07:38.061Z] > git config core.sparsecheckout # timeout=10 [2022-06-29T04:07:38.082Z] > git checkout -f 1aa922af3a4b4a8f52437cf22cfe0e728a3bedb2 # timeout=10 [2022-06-29T04:07:42.222Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-messaging/v2" [2022-06-29T04:07:42.282Z] > git --version # timeout=10 [2022-06-29T04:07:42.294Z] > git --version # 'git version 2.25.1' [2022-06-29T04:07:42.308Z] fatal: bad object 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-29T04:07:43.373Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-06-29T04:07:43.373Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-29T04:07:43.373Z] Dload Upload Total Spent Left Speed [2022-06-29T04:07:43.373Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 98814 0 --:--:-- --:--:-- --:--:-- 98814 [Pipeline] sh [2022-06-29T04:07:44.406Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-06-29T04:07:44.758Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-06-29T04:07:44.758Z] + sudo tee /etc/docker/daemon.new [2022-06-29T04:07:44.758Z] { [2022-06-29T04:07:44.758Z] "registry-mirrors": [ [2022-06-29T04:07:44.758Z] "https://nexus3.edgexfoundry.org:10001" [2022-06-29T04:07:44.758Z] ], [2022-06-29T04:07:44.758Z] "bip": "10.250.0.254/24", [2022-06-29T04:07:44.758Z] "hosts": [ [2022-06-29T04:07:44.758Z] "tcp://0.0.0.0:5555", [2022-06-29T04:07:44.758Z] "unix:///var/run/docker.sock" [2022-06-29T04:07:44.758Z] ], [2022-06-29T04:07:44.758Z] "mtu": 1458, [2022-06-29T04:07:44.758Z] "selinux-enabled": true, [2022-06-29T04:07:44.758Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-06-29T04:07:44.758Z] } [Pipeline] sh [2022-06-29T04:07:45.123Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-06-29T04:07:45.475Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-29T04:08:03.890Z] provisioning config files... [2022-06-29T04:08:03.915Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config5752486676327425617tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-29T04:08:04.339Z] ---> docker-login.sh [2022-06-29T04:08:04.339Z] nexus3.edgexfoundry.org:10001 [2022-06-29T04:08:04.942Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-29T04:08:05.214Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-29T04:08:05.214Z] Configure a credential helper to remove this warning. See [2022-06-29T04:08:05.214Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-29T04:08:05.214Z] [2022-06-29T04:08:05.214Z] Login Succeeded [2022-06-29T04:08:05.214Z] nexus3.edgexfoundry.org:10002 [2022-06-29T04:08:05.490Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-29T04:08:05.769Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-29T04:08:05.769Z] Configure a credential helper to remove this warning. See [2022-06-29T04:08:05.769Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-29T04:08:05.769Z] [2022-06-29T04:08:05.769Z] Login Succeeded [2022-06-29T04:08:05.769Z] nexus3.edgexfoundry.org:10003 [2022-06-29T04:08:06.046Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-29T04:08:06.046Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-29T04:08:06.046Z] Configure a credential helper to remove this warning. See [2022-06-29T04:08:06.046Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-29T04:08:06.046Z] [2022-06-29T04:08:06.046Z] Login Succeeded [2022-06-29T04:08:06.046Z] nexus3.edgexfoundry.org:10004 [2022-06-29T04:08:06.656Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-29T04:08:06.656Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-29T04:08:06.656Z] Configure a credential helper to remove this warning. See [2022-06-29T04:08:06.656Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-29T04:08:06.656Z] [2022-06-29T04:08:06.656Z] Login Succeeded [2022-06-29T04:08:06.656Z] docker.io [2022-06-29T04:08:06.931Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-29T04:08:07.205Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-29T04:08:07.205Z] Configure a credential helper to remove this warning. See [2022-06-29T04:08:07.205Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-29T04:08:07.205Z] [2022-06-29T04:08:07.205Z] Login Succeeded [2022-06-29T04:08:07.205Z] ---> docker-login.sh ends [Pipeline] } [2022-06-29T04:08:07.235Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-29T04:08:07.626Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-29T04:08:07.660Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-29T04:08:07.695Z] ========================================================= [2022-06-29T04:08:07.695Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-06-29T04:08:07.695Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-29T04:08:08.199Z] + 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-06-29T04:08:08.478Z] Sending build context to Docker daemon 5.189MB [2022-06-29T04:08:08.762Z] Step 1/11 : ARG BASE=golang:1.17-alpine3.15 [2022-06-29T04:08:08.762Z] Step 2/11 : FROM ${BASE} AS builder [2022-06-29T04:08:08.762Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-06-29T04:08:08.762Z] 9b3977197b4f: Pulling fs layer [2022-06-29T04:08:08.762Z] 1a89e8eeedd5: Pulling fs layer [2022-06-29T04:08:08.762Z] 94645a83ff95: Pulling fs layer [2022-06-29T04:08:08.762Z] e6fb740bc735: Pulling fs layer [2022-06-29T04:08:08.762Z] 3a77bd46dcc9: Pulling fs layer [2022-06-29T04:08:08.762Z] 355e64cbe906: Pulling fs layer [2022-06-29T04:08:08.762Z] 63ab81a10011: Pulling fs layer [2022-06-29T04:08:08.762Z] 555d1d1c4555: Pulling fs layer [2022-06-29T04:08:08.762Z] 7d9057610161: Pulling fs layer [2022-06-29T04:08:08.762Z] 355e64cbe906: Waiting [2022-06-29T04:08:08.762Z] 63ab81a10011: Waiting [2022-06-29T04:08:08.762Z] 555d1d1c4555: Waiting [2022-06-29T04:08:08.762Z] 7d9057610161: Waiting [2022-06-29T04:08:08.762Z] e6fb740bc735: Waiting [2022-06-29T04:08:08.762Z] 3a77bd46dcc9: Waiting [2022-06-29T04:08:08.762Z] 94645a83ff95: Download complete [2022-06-29T04:08:08.762Z] 1a89e8eeedd5: Verifying Checksum [2022-06-29T04:08:08.762Z] 1a89e8eeedd5: Download complete [2022-06-29T04:08:08.762Z] 3a77bd46dcc9: Verifying Checksum [2022-06-29T04:08:08.762Z] 3a77bd46dcc9: Download complete [2022-06-29T04:08:09.040Z] 9b3977197b4f: Download complete [2022-06-29T04:08:09.040Z] 355e64cbe906: Verifying Checksum [2022-06-29T04:08:09.040Z] 355e64cbe906: Download complete [2022-06-29T04:08:09.040Z] 63ab81a10011: Verifying Checksum [2022-06-29T04:08:09.040Z] 63ab81a10011: Download complete [2022-06-29T04:08:10.035Z] 9b3977197b4f: Pull complete [2022-06-29T04:08:10.035Z] 7d9057610161: Verifying Checksum [2022-06-29T04:08:10.035Z] 7d9057610161: Download complete [2022-06-29T04:08:10.637Z] 1a89e8eeedd5: Pull complete [2022-06-29T04:08:10.915Z] 94645a83ff95: Pull complete [2022-06-29T04:08:11.189Z] 555d1d1c4555: Verifying Checksum [2022-06-29T04:08:11.189Z] 555d1d1c4555: Download complete [2022-06-29T04:08:11.788Z] e6fb740bc735: Verifying Checksum [2022-06-29T04:08:11.788Z] e6fb740bc735: Download complete [2022-06-29T04:08:24.223Z] e6fb740bc735: Pull complete [2022-06-29T04:08:24.223Z] 3a77bd46dcc9: Pull complete [2022-06-29T04:08:24.223Z] 355e64cbe906: Pull complete [2022-06-29T04:08:24.497Z] 63ab81a10011: Pull complete [2022-06-29T04:08:31.222Z] 555d1d1c4555: Pull complete [2022-06-29T04:08:32.668Z] 7d9057610161: Pull complete [2022-06-29T04:08:32.668Z] Digest: sha256:2bfe06e9b82483759db2d79553298764cc23e00699169ff1c4d7513112b2d636 [2022-06-29T04:08:32.668Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-06-29T04:08:32.668Z] ---> 819e984ddca1 [2022-06-29T04:08:32.668Z] Step 3/11 : ARG MAKE=make build [2022-06-29T04:08:34.653Z] ---> Running in a1ee3df057d7 [2022-06-29T04:08:34.928Z] Removing intermediate container a1ee3df057d7 [2022-06-29T04:08:34.928Z] ---> dc3eda0e212f [2022-06-29T04:08:34.928Z] Step 4/11 : WORKDIR /device-sdk-go [2022-06-29T04:08:34.928Z] ---> Running in 7159d363a255 [2022-06-29T04:08:35.204Z] Removing intermediate container 7159d363a255 [2022-06-29T04:08:35.204Z] ---> dd0308c56f77 [2022-06-29T04:08:35.204Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-06-29T04:08:35.204Z] ---> Running in c4df0383bc3c [2022-06-29T04:08:36.645Z] Removing intermediate container c4df0383bc3c [2022-06-29T04:08:36.645Z] ---> 91b48b926211 [2022-06-29T04:08:36.645Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-29T04:08:36.645Z] ---> Running in e3f9d1e30818 [2022-06-29T04:08:38.630Z] Removing intermediate container e3f9d1e30818 [2022-06-29T04:08:38.630Z] ---> e9ba11b58193 [2022-06-29T04:08:38.630Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-06-29T04:08:38.630Z] ---> Running in 1e6798c9e7c9 [2022-06-29T04:08:39.226Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-29T04:08:57.531Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-29T04:09:36.524Z] OK: 220 MiB in 52 packages [2022-06-29T04:09:36.524Z] Removing intermediate container 1e6798c9e7c9 [2022-06-29T04:09:36.524Z] ---> f222b155f544 [2022-06-29T04:09:36.524Z] Step 8/11 : COPY go.mod vendor* ./ [2022-06-29T04:09:36.524Z] ---> 569a8d3b9b1d [2022-06-29T04:09:36.524Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-29T04:09:36.524Z] ---> Running in 233d38d05c39 [2022-06-29T04:10:15.534Z] Removing intermediate container 233d38d05c39 [2022-06-29T04:10:15.534Z] ---> a04729e7889b [2022-06-29T04:10:15.534Z] Step 10/11 : COPY . . [2022-06-29T04:10:15.807Z] ---> f1d0b3e46a3f [2022-06-29T04:10:15.807Z] Step 11/11 : RUN ${MAKE} [2022-06-29T04:10:15.807Z] ---> Running in c3a360d0f8cd [2022-06-29T04:10:16.783Z] noop [2022-06-29T04:10:17.375Z] Removing intermediate container c3a360d0f8cd [2022-06-29T04:10:17.375Z] ---> 8fc8f4f8877b [2022-06-29T04:10:17.375Z] Successfully built 8fc8f4f8877b [2022-06-29T04:10:17.375Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-29T04:10:17.839Z] + docker inspect -f . ci-base-image-arm64 [2022-06-29T04:10:17.839Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-29T04:10:18.131Z] prd-ubuntu20.04-docker-arm64-4c-16g-16314 does not seem to be running inside a container [2022-06-29T04:10:18.203Z] $ 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 ******** ci-base-image-arm64 cat [2022-06-29T04:10:19.427Z] $ docker top b883abb27a9386aee4086c602e7558abdefe6432534fc561ad58543e9fd7186c -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-29T04:10:20.391Z] + go version [2022-06-29T04:10:20.391Z] go version go1.17.7 linux/arm64 [Pipeline] } [2022-06-29T04:10:20.422Z] $ docker stop --time=1 b883abb27a9386aee4086c602e7558abdefe6432534fc561ad58543e9fd7186c [2022-06-29T04:10:22.034Z] $ docker rm -f b883abb27a9386aee4086c602e7558abdefe6432534fc561ad58543e9fd7186c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-29T04:10:22.926Z] + docker inspect -f . ci-base-image-arm64 [2022-06-29T04:10:22.927Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-29T04:10:23.226Z] prd-ubuntu20.04-docker-arm64-4c-16g-16314 does not seem to be running inside a container [2022-06-29T04:10:23.304Z] $ 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 ******** ci-base-image-arm64 cat [2022-06-29T04:10:24.531Z] $ docker top 950a96d916d81dec5d3de61a59afc212c05fff9d2c48f4763bc4ab8b9ca7ebb0 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-29T04:10:25.505Z] + make test [2022-06-29T04:10:25.506Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-06-29T04:10:57.852Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-06-29T04:12:34.725Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-06-29T04:12:34.725Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-06-29T04:12:34.725Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-06-29T04:12:41.476Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.345s coverage: 23.7% of statements [2022-06-29T04:12:41.476Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-06-29T04:12:41.476Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.276s coverage: 27.6% of statements [2022-06-29T04:12:41.476Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.375s coverage: 78.9% of statements [2022-06-29T04:12:41.476Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.276s coverage: 10.8% of statements [2022-06-29T04:12:45.824Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.391s coverage: 60.0% of statements [2022-06-29T04:12:45.824Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-06-29T04:12:45.824Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-06-29T04:12:48.470Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.532s coverage: 34.8% of statements [2022-06-29T04:12:48.470Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-06-29T04:12:49.079Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.462s coverage: 85.4% of statements [2022-06-29T04:12:49.079Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-06-29T04:12:49.079Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-06-29T04:12:51.731Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.460s coverage: 65.1% of statements [2022-06-29T04:12:53.717Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.220s coverage: 89.2% of statements [2022-06-29T04:12:53.717Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-06-29T04:12:55.696Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.251s coverage: 4.7% of statements [2022-06-29T04:12:55.696Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-06-29T04:12:56.298Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-06-29T04:12:56.298Z] GO111MODULE=on go vet ./... [2022-06-29T04:14:33.214Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-29T04:14:33.214Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-29T04:14:33.214Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-06-29T04:14:33.251Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-06-29T04:14:33.280Z] $ docker stop --time=1 950a96d916d81dec5d3de61a59afc212c05fff9d2c48f4763bc4ab8b9ca7ebb0 [2022-06-29T04:14:35.136Z] $ docker rm -f 950a96d916d81dec5d3de61a59afc212c05fff9d2c48f4763bc4ab8b9ca7ebb0 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-29T04:14:36.665Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-06-29T04:14:36.700Z] Warning: overwriting stash ‘coverage-report’ [2022-06-29T04:14:37.338Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-29T04:14:37.936Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-06-29T04:14:38.290Z] + ls -al . [2022-06-29T04:14:38.290Z] total 300 [2022-06-29T04:14:38.290Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 29 04:14 . [2022-06-29T04:14:38.290Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 29 04:07 .. [2022-06-29T04:14:38.290Z] -rw-rw-r-- 1 jenkins jenkins 140 Jun 29 04:07 .dockerignore [2022-06-29T04:14:38.290Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 29 04:07 .git [2022-06-29T04:14:38.290Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 29 04:07 .github [2022-06-29T04:14:38.290Z] -rw-rw-r-- 1 jenkins jenkins 131 Jun 29 04:07 .gitignore [2022-06-29T04:14:38.290Z] -rw-rw-r-- 1 jenkins jenkins 42 Jun 29 04:07 .golangci.yml [2022-06-29T04:14:38.290Z] -rw-rw-r-- 1 jenkins jenkins 29536 Jun 29 04:07 CHANGELOG.md [2022-06-29T04:14:38.290Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 29 04:07 GOVERNANCE.md [2022-06-29T04:14:38.290Z] -rw-rw-r-- 1 jenkins jenkins 880 Jun 29 04:07 Jenkinsfile [2022-06-29T04:14:38.290Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jun 29 04:07 LICENSE [2022-06-29T04:14:38.290Z] -rw-rw-r-- 1 jenkins jenkins 2015 Jun 29 04:07 Makefile [2022-06-29T04:14:38.290Z] -rw-rw-r-- 1 jenkins jenkins 619 Jun 29 04:07 OWNERS.md [2022-06-29T04:14:38.291Z] -rw-rw-r-- 1 jenkins jenkins 4881 Jun 29 04:07 README.md [2022-06-29T04:14:38.291Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 29 04:05 VERSION [2022-06-29T04:14:38.291Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 29 04:07 bin [2022-06-29T04:14:38.291Z] -rw-r--r-- 1 jenkins jenkins 131191 Jun 29 04:12 coverage.out [2022-06-29T04:14:38.291Z] drwxrwxr-x 5 jenkins jenkins 4096 Jun 29 04:07 example [2022-06-29T04:14:38.291Z] -rw-rw-r-- 1 jenkins jenkins 3203 Jun 29 04:07 go.mod [2022-06-29T04:14:38.291Z] -rw-rw-r-- 1 jenkins jenkins 35551 Jun 29 04:07 go.sum [2022-06-29T04:14:38.291Z] drwxrwxr-x 15 jenkins jenkins 4096 Jun 29 04:07 internal [2022-06-29T04:14:38.291Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 29 04:07 openapi [2022-06-29T04:14:38.291Z] drwxrwxr-x 5 jenkins jenkins 4096 Jun 29 04:07 pkg [2022-06-29T04:14:38.291Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 29 04:07 snap [2022-06-29T04:14:38.291Z] -rw-rw-r-- 1 jenkins jenkins 222 Jun 29 04:07 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-29T04:14:38.726Z] + 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=1aa922af3a4b4a8f52437cf22cfe0e728a3bedb2 --label arch=arm64 --label version=0.0.0 . [2022-06-29T04:14:39.327Z] Sending build context to Docker daemon 5.321MB [2022-06-29T04:14:39.327Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-06-29T04:14:39.327Z] Step 2/25 : FROM ${BASE} AS builder [2022-06-29T04:14:39.327Z] ---> 8fc8f4f8877b [2022-06-29T04:14:39.327Z] Step 3/25 : ARG MAKE=make build [2022-06-29T04:14:39.327Z] ---> Running in f1bf2801c90a [2022-06-29T04:14:39.603Z] Removing intermediate container f1bf2801c90a [2022-06-29T04:14:39.603Z] ---> 4f3906509bb2 [2022-06-29T04:14:39.603Z] Step 4/25 : WORKDIR /device-sdk-go [2022-06-29T04:14:39.603Z] ---> Running in 2e89125bda40 [2022-06-29T04:14:40.203Z] Removing intermediate container 2e89125bda40 [2022-06-29T04:14:40.203Z] ---> 6a87b7014c68 [2022-06-29T04:14:40.203Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-06-29T04:14:40.203Z] ---> Running in 5771f4d47a2c [2022-06-29T04:14:40.481Z] Removing intermediate container 5771f4d47a2c [2022-06-29T04:14:40.481Z] ---> 48064e5a8572 [2022-06-29T04:14:40.481Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-29T04:14:40.481Z] ---> Running in 736143d8d454 [2022-06-29T04:14:42.464Z] Removing intermediate container 736143d8d454 [2022-06-29T04:14:42.464Z] ---> 9b0c76514f87 [2022-06-29T04:14:42.464Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-06-29T04:14:42.464Z] ---> Running in 2fc0dfbfdc42 [2022-06-29T04:14:43.450Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-29T04:14:44.427Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-29T04:14:45.411Z] OK: 220 MiB in 52 packages [2022-06-29T04:14:46.015Z] Removing intermediate container 2fc0dfbfdc42 [2022-06-29T04:14:46.015Z] ---> ffb57c4aa37b [2022-06-29T04:14:46.015Z] Step 8/25 : COPY go.mod vendor* ./ [2022-06-29T04:14:46.613Z] ---> 013dd2ebff3d [2022-06-29T04:14:46.613Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-29T04:14:46.613Z] ---> Running in 2fe78667d583 [2022-06-29T04:14:48.599Z] Removing intermediate container 2fe78667d583 [2022-06-29T04:14:48.599Z] ---> 9e8532710ff8 [2022-06-29T04:14:48.599Z] Step 10/25 : COPY . . [2022-06-29T04:14:50.047Z] ---> f759efa0144d [2022-06-29T04:14:50.047Z] Step 11/25 : RUN ${MAKE} [2022-06-29T04:14:50.047Z] ---> Running in 27621b3c611a [2022-06-29T04:14:51.050Z] 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-06-29T04:16:57.949Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-06-29T04:16:57.949Z] Removing intermediate container 27621b3c611a [2022-06-29T04:16:57.949Z] ---> eb8be46c5975 [2022-06-29T04:16:57.949Z] Step 12/25 : FROM alpine:3.14 [2022-06-29T04:16:57.949Z] 3.14: Pulling from library/alpine [2022-06-29T04:16:57.949Z] 455c02918c45: Pulling fs layer [2022-06-29T04:16:57.949Z] 455c02918c45: Verifying Checksum [2022-06-29T04:16:57.949Z] 455c02918c45: Download complete [2022-06-29T04:16:57.949Z] 455c02918c45: Pull complete [2022-06-29T04:16:57.949Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-06-29T04:16:57.949Z] Status: Downloaded newer image for alpine:3.14 [2022-06-29T04:16:57.949Z] ---> ac73e934f311 [2022-06-29T04:16:57.949Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-06-29T04:16:57.949Z] ---> Running in 265ef29de9d2 [2022-06-29T04:16:57.949Z] Removing intermediate container 265ef29de9d2 [2022-06-29T04:16:57.949Z] ---> 6e8d93223752 [2022-06-29T04:16:57.949Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-29T04:16:57.949Z] ---> Running in 87f3e1ea8b6c [2022-06-29T04:16:59.393Z] Removing intermediate container 87f3e1ea8b6c [2022-06-29T04:16:59.393Z] ---> 0921476426ee [2022-06-29T04:16:59.393Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-06-29T04:16:59.683Z] ---> Running in ba75e5e63873 [2022-06-29T04:17:00.664Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-06-29T04:17:02.094Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-06-29T04:17:03.073Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2022-06-29T04:17:03.073Z] (2/5) Installing libsodium (1.0.18-r0) [2022-06-29T04:17:03.343Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2022-06-29T04:17:03.343Z] (4/5) Installing libzmq (4.3.4-r0) [2022-06-29T04:17:03.620Z] (5/5) Installing zeromq (4.3.4-r0) [2022-06-29T04:17:03.620Z] Executing busybox-1.33.1-r7.trigger [2022-06-29T04:17:03.620Z] OK: 8 MiB in 19 packages [2022-06-29T04:17:04.598Z] Removing intermediate container ba75e5e63873 [2022-06-29T04:17:04.598Z] ---> 3834d0733d93 [2022-06-29T04:17:04.598Z] Step 16/25 : WORKDIR / [2022-06-29T04:17:04.598Z] ---> Running in f052fde4ba30 [2022-06-29T04:17:04.870Z] Removing intermediate container f052fde4ba30 [2022-06-29T04:17:04.870Z] ---> ce0ae05e5168 [2022-06-29T04:17:04.870Z] Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-06-29T04:17:05.466Z] ---> db243140d90b [2022-06-29T04:17:05.466Z] Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-06-29T04:17:06.904Z] ---> 0d771f4ebabf [2022-06-29T04:17:06.904Z] Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-06-29T04:17:07.182Z] ---> c4e8ee979264 [2022-06-29T04:17:07.183Z] Step 20/25 : EXPOSE 59999 [2022-06-29T04:17:07.455Z] ---> Running in 533d0e5d032f [2022-06-29T04:17:07.729Z] Removing intermediate container 533d0e5d032f [2022-06-29T04:17:07.729Z] ---> 325daa65bfbc [2022-06-29T04:17:07.729Z] Step 21/25 : ENTRYPOINT ["/device-simple"] [2022-06-29T04:17:07.729Z] ---> Running in 0167c2f940ae [2022-06-29T04:17:08.003Z] Removing intermediate container 0167c2f940ae [2022-06-29T04:17:08.003Z] ---> 676b70bb2b7f [2022-06-29T04:17:08.003Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-06-29T04:17:08.003Z] ---> Running in eef96bf4970c [2022-06-29T04:17:08.281Z] Removing intermediate container eef96bf4970c [2022-06-29T04:17:08.281Z] ---> 65773ef80b05 [2022-06-29T04:17:08.281Z] Step 23/25 : LABEL arch=arm64 [2022-06-29T04:17:08.558Z] ---> Running in e98fb479e488 [2022-06-29T04:17:08.835Z] Removing intermediate container e98fb479e488 [2022-06-29T04:17:08.835Z] ---> 81c59d8e510b [2022-06-29T04:17:08.835Z] Step 24/25 : LABEL git_sha=1aa922af3a4b4a8f52437cf22cfe0e728a3bedb2 [2022-06-29T04:17:08.835Z] ---> Running in d924d4c6c336 [2022-06-29T04:17:09.116Z] Removing intermediate container d924d4c6c336 [2022-06-29T04:17:09.116Z] ---> b588fcce67bc [2022-06-29T04:17:09.116Z] Step 25/25 : LABEL version=0.0.0 [2022-06-29T04:17:09.116Z] ---> Running in bcb78ecbccb5 [2022-06-29T04:17:09.388Z] Removing intermediate container bcb78ecbccb5 [2022-06-29T04:17:09.388Z] ---> d4b804a01343 [2022-06-29T04:17:09.388Z] [Warning] One or more build-args [ARCH] were not consumed [2022-06-29T04:17:09.388Z] Successfully built d4b804a01343 [2022-06-29T04:17:09.388Z] Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // withEnv [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] withEnv [Pipeline] { [Pipeline] sh [2022-06-29T04:17:10.181Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-29T04:17:10.181Z] [2022-06-29T04:17:10.181Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-29T04:17:10.590Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-29T04:17:10.865Z] arm64: Pulling from edgex-lftools-log-publisher [2022-06-29T04:17:10.865Z] 8998bd30e6a1: Pulling fs layer [2022-06-29T04:17:10.865Z] 04944245beec: Pulling fs layer [2022-06-29T04:17:10.865Z] 699f458cf7ca: Pulling fs layer [2022-06-29T04:17:10.865Z] 765212b225bb: Pulling fs layer [2022-06-29T04:17:10.865Z] f23df028b6ca: Pulling fs layer [2022-06-29T04:17:10.865Z] d65c8cfc05b1: Pulling fs layer [2022-06-29T04:17:10.865Z] 2437ff75d9bd: Pulling fs layer [2022-06-29T04:17:10.865Z] 765212b225bb: Waiting [2022-06-29T04:17:10.865Z] f23df028b6ca: Waiting [2022-06-29T04:17:10.865Z] d65c8cfc05b1: Waiting [2022-06-29T04:17:10.865Z] 2437ff75d9bd: Waiting [2022-06-29T04:17:10.865Z] 04944245beec: Verifying Checksum [2022-06-29T04:17:10.865Z] 04944245beec: Download complete [2022-06-29T04:17:10.865Z] 765212b225bb: Verifying Checksum [2022-06-29T04:17:10.865Z] 765212b225bb: Download complete [2022-06-29T04:17:10.865Z] f23df028b6ca: Verifying Checksum [2022-06-29T04:17:10.865Z] f23df028b6ca: Download complete [2022-06-29T04:17:10.865Z] d65c8cfc05b1: Verifying Checksum [2022-06-29T04:17:10.865Z] d65c8cfc05b1: Download complete [2022-06-29T04:17:11.136Z] 699f458cf7ca: Verifying Checksum [2022-06-29T04:17:11.136Z] 699f458cf7ca: Download complete [2022-06-29T04:17:11.407Z] 8998bd30e6a1: Verifying Checksum [2022-06-29T04:17:11.407Z] 8998bd30e6a1: Download complete [2022-06-29T04:17:14.026Z] 2437ff75d9bd: Verifying Checksum [2022-06-29T04:17:14.026Z] 2437ff75d9bd: Download complete [2022-06-29T04:17:15.458Z] 8998bd30e6a1: Pull complete [2022-06-29T04:17:16.056Z] 04944245beec: Pull complete [2022-06-29T04:17:17.505Z] 699f458cf7ca: Pull complete [2022-06-29T04:17:17.505Z] 765212b225bb: Pull complete [2022-06-29T04:17:18.498Z] f23df028b6ca: Pull complete [2022-06-29T04:17:18.770Z] d65c8cfc05b1: Pull complete [2022-06-29T04:17:33.861Z] 2437ff75d9bd: Pull complete [2022-06-29T04:17:33.861Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-06-29T04:17:33.861Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-29T04:17:33.861Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-29T04:17:34.243Z] prd-ubuntu20.04-docker-arm64-4c-16g-16314 does not seem to be running inside a container [2022-06-29T04:17:34.339Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-06-29T04:17:37.010Z] $ docker top a34ba0e163afd3a424d5edcfcce77c21dc826e9972fa64650b62b8f15d9a0a2f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-29T04:17:38.029Z] ---> job-cost.sh [2022-06-29T04:17:38.029Z] lf-activate-venv: SKIPPING [2022-06-29T04:17:38.029Z] INFO: No Stack... [2022-06-29T04:17:38.661Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-06-29T04:17:39.293Z] INFO: Archiving Costs [Pipeline] sh [2022-06-29T04:17:39.995Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2022-06-29T04:17:39.995Z] + cut -d, -f6 [Pipeline] lock [2022-06-29T04:17:40.090Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1185-1-stack-cost] [2022-06-29T04:17:40.094Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1185-1-stack-cost] did not exist. Created. [2022-06-29T04:17:40.094Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1185-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-29T04:17:40.860Z] /w/workspace/device-sdk-go/1@tmp/durable-bc833ec2/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-06-29T04:17:41.597Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-06-29T04:17:41.634Z] Warning: overwriting stash ‘stack-cost’ [2022-06-29T04:17:41.722Z] Stashed 1 file(s) [Pipeline] } [2022-06-29T04:17:41.736Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1185-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-29T04:17:41.812Z] $ docker stop --time=1 a34ba0e163afd3a424d5edcfcce77c21dc826e9972fa64650b62b8f15d9a0a2f [2022-06-29T04:17:43.396Z] $ docker rm -f a34ba0e163afd3a424d5edcfcce77c21dc826e9972fa64650b62b8f15d9a0a2f [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-06-29T04:17:44.500Z] provisioning config files... [2022-06-29T04:17:44.507Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1185@tmp/config295929402053873918tmp [Pipeline] { [Pipeline] sh [2022-06-29T04:17:44.847Z] + set +x [2022-06-29T04:17:44.847Z] + + curl -s https://codecov.io/bash [2022-06-29T04:17:44.847Z] bash -s -- [2022-06-29T04:17:44.847Z] [2022-06-29T04:17:44.847Z] _____ _ [2022-06-29T04:17:44.847Z] / ____| | | [2022-06-29T04:17:44.847Z] | | ___ __| | ___ ___ _____ __ [2022-06-29T04:17:44.847Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-06-29T04:17:44.847Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-06-29T04:17:44.847Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-06-29T04:17:44.847Z] Bash-1.0.6 [2022-06-29T04:17:44.847Z] [2022-06-29T04:17:44.847Z] [2022-06-29T04:17:44.847Z] ==> git version 2.25.1 found [2022-06-29T04:17:44.847Z] ==> 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-06-29T04:17:44.847Z] Release-Date: 2020-01-08 [2022-06-29T04:17:44.847Z] 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-06-29T04:17:44.847Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-06-29T04:17:44.847Z] ==> Jenkins CI detected. [2022-06-29T04:17:44.847Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1185 [2022-06-29T04:17:44.847Z] project root: . [2022-06-29T04:17:44.847Z] --> token set from env [2022-06-29T04:17:44.847Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-06-29T04:17:44.847Z] ==> Running gcov in . (disable via -X gcov) [2022-06-29T04:17:44.847Z] ==> Python coveragepy not found [2022-06-29T04:17:44.847Z] ==> Searching for coverage reports in: [2022-06-29T04:17:44.847Z] + . [2022-06-29T04:17:44.847Z] -> Found 1 reports [2022-06-29T04:17:44.847Z] ==> Detecting git/mercurial file structure [2022-06-29T04:17:45.109Z] ==> Reading reports [2022-06-29T04:17:45.109Z] + ./coverage.out bytes=131191 [2022-06-29T04:17:45.109Z] ==> Appending adjustments [2022-06-29T04:17:45.109Z] https://docs.codecov.io/docs/fixing-reports [2022-06-29T04:17:45.370Z] + Found adjustments [2022-06-29T04:17:45.370Z] ==> Gzipping contents [2022-06-29T04:17:45.370Z] 20K /tmp/codecov.SpYpXM.gz [2022-06-29T04:17:45.370Z] ==> Uploading reports [2022-06-29T04:17:45.370Z] url: https://codecov.io [2022-06-29T04:17:45.370Z] query: branch=PR-1185&commit=1aa922af3a4b4a8f52437cf22cfe0e728a3bedb2&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1185%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1185&job=&cmd_args= [2022-06-29T04:17:45.370Z] -> Pinging Codecov [2022-06-29T04:17:45.370Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1185&commit=1aa922af3a4b4a8f52437cf22cfe0e728a3bedb2&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1185%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1185&job=&cmd_args= [2022-06-29T04:17:45.633Z] -> Uploading to [2022-06-29T04:17:45.633Z] https://storage.googleapis.com/codecov/v4/raw/2022-06-29/7E55EF52A471D76F132DFD9A03CDDE97/1aa922af3a4b4a8f52437cf22cfe0e728a3bedb2/ddb7c4c1-aa45-4fbb-81bc-adb67d7ef85a.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220629%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220629T041745Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=a2f46e77f9d78e938c3b58b4c0a42a8a9678ddab12429987601ff0eb4bf50e93 [2022-06-29T04:17:45.633Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-29T04:17:45.633Z] Dload Upload Total Spent Left Speed [2022-06-29T04:17:45.892Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16872 0 0 100 16872 0 73038 --:--:-- --:--:-- --:--:-- 73038 [2022-06-29T04:17:45.893Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/1aa922af3a4b4a8f52437cf22cfe0e728a3bedb2 [Pipeline] } [2022-06-29T04:17:45.921Z] 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-06-29T04:17:47.703Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1185/archives ] [2022-06-29T04:17:47.703Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1185/archives [2022-06-29T04:17:47.703Z] total 16 [2022-06-29T04:17:47.703Z] drwxr-xr-x 3 root root 4096 Jun 29 04:07 . [2022-06-29T04:17:47.703Z] drwxrwxr-x 12 jenkins jenkins 4096 Jun 29 04:07 .. [2022-06-29T04:17:47.703Z] drwxr-xr-x 2 root root 4096 Jun 29 04:07 cost [2022-06-29T04:17:47.703Z] -rw-r--r-- 1 root root 85 Jun 29 04:07 cost.csv [2022-06-29T04:17:47.703Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1185/archives [2022-06-29T04:17:47.703Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1185/archives [2022-06-29T04:17:47.703Z] total 16 [2022-06-29T04:17:47.703Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 29 04:07 . [2022-06-29T04:17:47.703Z] drwxrwxr-x 12 jenkins jenkins 4096 Jun 29 04:07 .. [2022-06-29T04:17:47.703Z] drwxr-xr-x 2 jenkins jenkins 4096 Jun 29 04:07 cost [2022-06-29T04:17:47.703Z] -rw-r--r-- 1 jenkins jenkins 85 Jun 29 04:07 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-06-29T04:17:48.036Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-29T04:17:48.935Z] ---> package-listing.sh [2022-06-29T04:17:48.935Z] ++ facter osfamily [2022-06-29T04:17:48.935Z] ++ tr '[:upper:]' '[:lower:]' [2022-06-29T04:17:49.196Z] + OS_FAMILY=debian [2022-06-29T04:17:49.196Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1185 [2022-06-29T04:17:49.196Z] + START_PACKAGES=/tmp/packages_start.txt [2022-06-29T04:17:49.196Z] + END_PACKAGES=/tmp/packages_end.txt [2022-06-29T04:17:49.196Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-06-29T04:17:49.196Z] + PACKAGES=/tmp/packages_start.txt [2022-06-29T04:17:49.196Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1185 ']' [2022-06-29T04:17:49.196Z] + PACKAGES=/tmp/packages_end.txt [2022-06-29T04:17:49.196Z] + case "${OS_FAMILY}" in [2022-06-29T04:17:49.196Z] + dpkg -l [2022-06-29T04:17:49.196Z] + grep '^ii' [2022-06-29T04:17:49.196Z] + '[' -f /tmp/packages_start.txt ']' [2022-06-29T04:17:49.196Z] + '[' -f /tmp/packages_end.txt ']' [2022-06-29T04:17:49.196Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-06-29T04:17:49.196Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1185 ']' [2022-06-29T04:17:49.196Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1185/archives/ [2022-06-29T04:17:49.196Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1185/archives/ [Pipeline] echo [2022-06-29T04:17:49.230Z] 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-1185/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-06-29T04:17:49.522Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-29T04:17:50.160Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-29T04:17:50.160Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-29T04:17:50.319Z] prd-ubuntu20.04-docker-8c-8g-16312 does not seem to be running inside a container [2022-06-29T04:17:50.355Z] $ 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-1185/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-1185 -v /w/workspace/gexfoundry_device-sdk-go_PR-1185:/w/workspace/gexfoundry_device-sdk-go_PR-1185:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1185@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1185@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:10003/edgex-lftools-log-publisher:latest cat [2022-06-29T04:17:50.575Z] $ docker top 915ac94d60e73b512640ac8aecd7f9fc5d33fbf3e7247f2cd840a63c1949dca5 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-29T04:17:50.998Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-06-29T04:17:51.311Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-06-29T04:17:51.624Z] + ls /var/log/sa-host [2022-06-29T04:17:51.625Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-29T04:17:51.845Z] provisioning config files... [2022-06-29T04:17:51.856Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1185@tmp/config306066884117746141tmp [Pipeline] { [Pipeline] echo [2022-06-29T04:17:51.905Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-29T04:17:52.224Z] ---> create-netrc.sh [Pipeline] } [2022-06-29T04:17:52.254Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-06-29T04:17:52.671Z] ---> python-tools-install.sh [Pipeline] echo [2022-06-29T04:17:52.705Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-29T04:17:53.018Z] ---> sudo-logs.sh [2022-06-29T04:17:53.018Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-06-29T04:17:53.095Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-29T04:17:53.404Z] ---> job-cost.sh [2022-06-29T04:17:53.404Z] lf-activate-venv: SKIPPING [2022-06-29T04:17:53.404Z] DEBUG: total: 0.2199999988079071 [2022-06-29T04:17:53.404Z] INFO: Retrieving Stack Cost... [2022-06-29T04:17:53.666Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-29T04:17:54.234Z] INFO: Archiving Costs [Pipeline] echo [2022-06-29T04:17:54.266Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-29T04:17:54.579Z] ---> logs-deploy.sh [2022-06-29T04:17:54.579Z] lf-activate-venv: SKIPPING [2022-06-29T04:17:54.579Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1185/1 [2022-06-29T04:17:54.579Z] INFO: archiving workspace using pattern(s): [2022-06-29T04:17:55.519Z] Archives upload complete. [2022-06-29T04:17:55.519Z] INFO: archiving logs to Nexus