Pull request #1187 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 45ea3baea759e1d08f8e5f42ecb60a489bd1d241+387354420b6c024391aeac33674ce5c69e12b92e (44efc4591c5dcb76d1219d9a20be6fd0da6c8e18) 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-ssh11317861750305858178.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-ssh6925326417229448948.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-1187/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-1187/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16394688755052306524.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-1187/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2186843939446606474.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-ssh6939098133577538669.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-1187/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-1187/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh6747138406674981984.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-16557 in /w/workspace/gexfoundry_device-sdk-go_PR-1187 [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-1187 # 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 45ea3baea759e1d08f8e5f42ecb60a489bd1d241 Merge succeeded, producing 45ea3baea759e1d08f8e5f42ecb60a489bd1d241 Checking out Revision 45ea3baea759e1d08f8e5f42ecb60a489bd1d241 (PR-1187) > 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/1187/head:refs/remotes/origin/PR-1187 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 45ea3baea759e1d08f8e5f42ecb60a489bd1d241 # 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 45ea3baea759e1d08f8e5f42ecb60a489bd1d241 # 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-07-01T04:06:57.537Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-07-01T04:06:57.701Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-07-01T04:06:57.790Z] ========================================================= [2022-07-01T04:06:57.790Z] EdgeX Global Pipelines Version Info [2022-07-01T04:06:57.790Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-07-01T04:06:58.561Z] ------------------- [2022-07-01T04:06:58.561Z] stable info: [2022-07-01T04:06:58.561Z] ------------------- [2022-07-01T04:06:58.561Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-07-01T04:06:58.561Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-07-01T04:06:58.561Z] Message: update stable to v1.0.234 [2022-07-01T04:06:59.136Z] ------------------- [2022-07-01T04:06:59.136Z] experimental info: [2022-07-01T04:06:59.136Z] ------------------- [2022-07-01T04:06:59.136Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-07-01T04:06:59.136Z] Commit SHA: bc4e646769b4c5265b7fe03fd8295f2cc8e63760 [2022-07-01T04:06:59.136Z] Message: update experimental to v1.0.235 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-07-01T04:06:59.516Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2022-07-01T04:06:59.556Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2022-07-01T04:06:59.590Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-07-01T04:06:59.628Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-07-01T04:06:59.668Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-07-01T04:06:59.704Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-07-01T04:06:59.742Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-07-01T04:06:59.781Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2022-07-01T04:06:59.820Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-07-01T04:06:59.861Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-07-01T04:06:59.897Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-07-01T04:06:59.932Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2022-07-01T04:06:59.969Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-07-01T04:07:00.004Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-07-01T04:07:00.040Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-07-01T04:07:00.075Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2022-07-01T04:07:00.117Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-07-01T04:07:00.155Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-07-01T04:07:00.196Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-07-01T04:07:00.237Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-07-01T04:07:00.284Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-07-01T04:07:00.326Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2022-07-01T04:07:00.362Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-07-01T04:07:00.405Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-07-01T04:07:00.449Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-07-01T04:07:00.490Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-07-01T04:07:00.532Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-07-01T04:07:00.572Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1187 [Pipeline] echo [2022-07-01T04:07:00.608Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1187 [Pipeline] echo [2022-07-01T04:07:00.649Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1187 [Pipeline] echo [2022-07-01T04:07:00.691Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 45ea3baea759e1d08f8e5f42ecb60a489bd1d241 [Pipeline] echo [2022-07-01T04:07:00.729Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 45ea3ba [Pipeline] echo [2022-07-01T04:07:00.791Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-01T04:07:00.905Z] provisioning config files... [2022-07-01T04:07:00.921Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1187@tmp/config7460632447908852953tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-01T04:07:01.293Z] ---> docker-login.sh [2022-07-01T04:07:01.293Z] nexus3.edgexfoundry.org:10001 [2022-07-01T04:07:01.556Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-01T04:07:01.819Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-01T04:07:01.819Z] Configure a credential helper to remove this warning. See [2022-07-01T04:07:01.819Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-01T04:07:01.819Z] [2022-07-01T04:07:01.819Z] Login Succeeded [2022-07-01T04:07:01.819Z] nexus3.edgexfoundry.org:10002 [2022-07-01T04:07:01.819Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-01T04:07:01.819Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-01T04:07:01.819Z] Configure a credential helper to remove this warning. See [2022-07-01T04:07:01.819Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-01T04:07:01.819Z] [2022-07-01T04:07:01.819Z] Login Succeeded [2022-07-01T04:07:02.083Z] nexus3.edgexfoundry.org:10003 [2022-07-01T04:07:02.083Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-01T04:07:02.083Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-01T04:07:02.083Z] Configure a credential helper to remove this warning. See [2022-07-01T04:07:02.083Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-01T04:07:02.083Z] [2022-07-01T04:07:02.083Z] Login Succeeded [2022-07-01T04:07:02.083Z] nexus3.edgexfoundry.org:10004 [2022-07-01T04:07:02.083Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-01T04:07:02.345Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-01T04:07:02.345Z] Configure a credential helper to remove this warning. See [2022-07-01T04:07:02.345Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-01T04:07:02.345Z] [2022-07-01T04:07:02.345Z] Login Succeeded [2022-07-01T04:07:02.345Z] docker.io [2022-07-01T04:07:02.345Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-01T04:07:02.608Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-01T04:07:02.608Z] Configure a credential helper to remove this warning. See [2022-07-01T04:07:02.608Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-01T04:07:02.608Z] [2022-07-01T04:07:02.608Z] Login Succeeded [2022-07-01T04:07:02.608Z] ---> docker-login.sh ends [Pipeline] } [2022-07-01T04:07:02.638Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-07-01T04:07:03.314Z] + git rev-list -1 --merges 45ea3baea759e1d08f8e5f42ecb60a489bd1d241~1..45ea3baea759e1d08f8e5f42ecb60a489bd1d241 [Pipeline] echo [2022-07-01T04:07:03.362Z] -----------> git rev-list -1 --merges 45ea3baea759e1d08f8e5f42ecb60a489bd1d241~1..45ea3baea759e1d08f8e5f42ecb60a489bd1d241 45ea3baea759e1d08f8e5f42ecb60a489bd1d241 [false] [Pipeline] sh [2022-07-01T04:07:03.681Z] + git log --format=format:%s -1 45ea3baea759e1d08f8e5f42ecb60a489bd1d241 [Pipeline] echo [2022-07-01T04:07:03.716Z] ========================================================= [2022-07-01T04:07:03.716Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-07-01T04:07:03.716Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-01T04:07:04.168Z] + git log --format=format:%s -1 45ea3baea759e1d08f8e5f42ecb60a489bd1d241 [Pipeline] echo [2022-07-01T04:07:04.203Z] [semverPrep] GIT_COMMIT: 45ea3baea759e1d08f8e5f42ecb60a489bd1d241, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-messaging/v2 [Pipeline] echo [2022-07-01T04:07:04.235Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-07-01T04:07:04.622Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-07-01T04:07:04.622Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-07-01T04:07:04.622Z] + [ -e /tmp/ssh_known_hosts ] [2022-07-01T04:07:04.622Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-07-01T04:07:04.622Z] + echo+ github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-07-01T04:07:04.622Z] sudo tee -a /etc/ssh/ssh_known_hosts [2022-07-01T04:07:04.622Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-01T04:07:05.105Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-01T04:07:05.105Z] [2022-07-01T04:07:05.105Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-01T04:07:05.483Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-01T04:07:05.483Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-07-01T04:07:05.483Z] 42c077c10790: Pulling fs layer [2022-07-01T04:07:05.483Z] f63e77b7563a: Pulling fs layer [2022-07-01T04:07:05.483Z] bd5fdadae976: Pulling fs layer [2022-07-01T04:07:05.483Z] 205491f53016: Pulling fs layer [2022-07-01T04:07:05.483Z] df18705c85c3: Pulling fs layer [2022-07-01T04:07:05.483Z] bdb3f477010e: Pulling fs layer [2022-07-01T04:07:05.483Z] c8a8fc8e1c8f: Pulling fs layer [2022-07-01T04:07:05.483Z] 2c6e9b1d212d: Pulling fs layer [2022-07-01T04:07:05.483Z] bdb8f0575790: Pulling fs layer [2022-07-01T04:07:05.483Z] 386e3cb2ff24: Pulling fs layer [2022-07-01T04:07:05.483Z] 2343380bae48: Pulling fs layer [2022-07-01T04:07:05.483Z] c8a8fc8e1c8f: Waiting [2022-07-01T04:07:05.483Z] 2c6e9b1d212d: Waiting [2022-07-01T04:07:05.483Z] 205491f53016: Waiting [2022-07-01T04:07:05.483Z] 386e3cb2ff24: Waiting [2022-07-01T04:07:05.483Z] 2343380bae48: Waiting [2022-07-01T04:07:05.483Z] df18705c85c3: Waiting [2022-07-01T04:07:05.483Z] bdb3f477010e: Waiting [2022-07-01T04:07:05.483Z] bdb8f0575790: Waiting [2022-07-01T04:07:05.483Z] f63e77b7563a: Download complete [2022-07-01T04:07:05.483Z] 205491f53016: Download complete [2022-07-01T04:07:05.745Z] bd5fdadae976: Verifying Checksum [2022-07-01T04:07:05.745Z] bd5fdadae976: Download complete [2022-07-01T04:07:05.745Z] df18705c85c3: Verifying Checksum [2022-07-01T04:07:05.745Z] df18705c85c3: Download complete [2022-07-01T04:07:05.745Z] bdb3f477010e: Download complete [2022-07-01T04:07:05.745Z] 2c6e9b1d212d: Verifying Checksum [2022-07-01T04:07:05.745Z] 2c6e9b1d212d: Download complete [2022-07-01T04:07:05.745Z] bdb8f0575790: Verifying Checksum [2022-07-01T04:07:05.745Z] bdb8f0575790: Download complete [2022-07-01T04:07:05.745Z] 386e3cb2ff24: Verifying Checksum [2022-07-01T04:07:05.745Z] 386e3cb2ff24: Download complete [2022-07-01T04:07:05.745Z] 2343380bae48: Verifying Checksum [2022-07-01T04:07:05.745Z] 2343380bae48: Download complete [2022-07-01T04:07:05.745Z] 42c077c10790: Verifying Checksum [2022-07-01T04:07:05.745Z] 42c077c10790: Download complete [2022-07-01T04:07:06.007Z] c8a8fc8e1c8f: Verifying Checksum [2022-07-01T04:07:06.007Z] c8a8fc8e1c8f: Download complete [2022-07-01T04:07:06.961Z] 42c077c10790: Pull complete [2022-07-01T04:07:07.222Z] f63e77b7563a: Pull complete [2022-07-01T04:07:07.795Z] bd5fdadae976: Pull complete [2022-07-01T04:07:07.795Z] 205491f53016: Pull complete [2022-07-01T04:07:08.059Z] df18705c85c3: Pull complete [2022-07-01T04:07:08.059Z] bdb3f477010e: Pull complete [2022-07-01T04:07:10.617Z] c8a8fc8e1c8f: Pull complete [2022-07-01T04:07:10.617Z] 2c6e9b1d212d: Pull complete [2022-07-01T04:07:10.617Z] bdb8f0575790: Pull complete [2022-07-01T04:07:10.617Z] 386e3cb2ff24: Pull complete [2022-07-01T04:07:10.617Z] 2343380bae48: Pull complete [2022-07-01T04:07:10.617Z] Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 [2022-07-01T04:07:10.617Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-01T04:07:10.617Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-01T04:07:10.854Z] prd-ubuntu20.04-docker-8c-8g-16557 does not seem to be running inside a container [2022-07-01T04:07:10.892Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1187 -v /w/workspace/gexfoundry_device-sdk-go_PR-1187:/w/workspace/gexfoundry_device-sdk-go_PR-1187:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1187@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1187@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-07-01T04:07:12.542Z] $ docker top 31e53ccb7a01ce2fe5eadb7f609aa2d4f53fa64ce18ad6b4c3ac4d60947bea02 -eo pid,comm [2022-07-01T04:07:12.605Z] 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-07-01T04:07:12.605Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-07-01T04:07:12.732Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-07-01T04:07:12.732Z] [ssh-agent] Looking for ssh-agent implementation... [2022-07-01T04:07:12.863Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-07-01T04:07:12.865Z] $ docker exec 31e53ccb7a01ce2fe5eadb7f609aa2d4f53fa64ce18ad6b4c3ac4d60947bea02 ssh-agent [2022-07-01T04:07:13.012Z] SSH_AUTH_SOCK=/tmp/ssh-zwQm6iEEY0fi/agent.35 [2022-07-01T04:07:13.012Z] SSH_AGENT_PID=41 [2022-07-01T04:07:13.018Z] Running ssh-add (command line suppressed) [2022-07-01T04:07:13.129Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1187@tmp/private_key_3192758167851375849.key (/w/workspace/gexfoundry_device-sdk-go_PR-1187@tmp/private_key_3192758167851375849.key) [2022-07-01T04:07:13.146Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-07-01T04:07:13.475Z] + git tag --points-at HEAD [Pipeline] } [2022-07-01T04:07:13.498Z] $ docker exec --env ******** --env ******** 31e53ccb7a01ce2fe5eadb7f609aa2d4f53fa64ce18ad6b4c3ac4d60947bea02 ssh-agent -k [2022-07-01T04:07:13.612Z] unset SSH_AUTH_SOCK; [2022-07-01T04:07:13.612Z] unset SSH_AGENT_PID; [2022-07-01T04:07:13.612Z] echo Agent pid 41 killed; [2022-07-01T04:07:13.624Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-07-01T04:07:13.706Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-07-01T04:07:13.706Z] [ssh-agent] Looking for ssh-agent implementation... [2022-07-01T04:07:13.837Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-07-01T04:07:13.840Z] $ docker exec 31e53ccb7a01ce2fe5eadb7f609aa2d4f53fa64ce18ad6b4c3ac4d60947bea02 ssh-agent [2022-07-01T04:07:13.957Z] SSH_AUTH_SOCK=/tmp/ssh-cREXUdfm0Cul/agent.73 [2022-07-01T04:07:13.957Z] SSH_AGENT_PID=79 [2022-07-01T04:07:13.962Z] Running ssh-add (command line suppressed) [2022-07-01T04:07:14.091Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1187@tmp/private_key_5854686559720725355.key (/w/workspace/gexfoundry_device-sdk-go_PR-1187@tmp/private_key_5854686559720725355.key) [2022-07-01T04:07:14.106Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-07-01T04:07:14.435Z] + git semver init [2022-07-01T04:07:14.694Z] 2022-07-01 04:07:14,627 [run_init] DEBUG init version:0.0.0 force:False [2022-07-01T04:07:14.694Z] 2022-07-01 04:07:14,628 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1187/.semver [2022-07-01T04:07:14.695Z] 2022-07-01 04:07:14,628 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1187/.semver [2022-07-01T04:07:14.695Z] 2022-07-01 04:07:14,628 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1187/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1187, universal_newlines=False, shell=None, istream=None) [2022-07-01T04:07:15.638Z] 2022-07-01 04:07:15,439 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1187/.git/info/exclude [2022-07-01T04:07:15.638Z] 2022-07-01 04:07:15,439 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1187/.semver/PR-1187 with force:False [2022-07-01T04:07:15.638Z] 2022-07-01 04:07:15,440 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1187/.semver/PR-1187 [2022-07-01T04:07:15.638Z] 2022-07-01 04:07:15,444 [execute] INFO git cat-file --batch-check [2022-07-01T04:07:15.638Z] 2022-07-01 04:07:15,444 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1187/.semver, universal_newlines=False, shell=None, istream=) [2022-07-01T04:07:15.638Z] 2022-07-01 04:07:15,450 [execute] INFO git cat-file --batch [2022-07-01T04:07:15.638Z] 2022-07-01 04:07:15,450 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1187/.semver, universal_newlines=False, shell=None, istream=) [2022-07-01T04:07:15.638Z] 2022-07-01 04:07:15,455 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1187/.semver/PR-1187 [2022-07-01T04:07:15.638Z] 0.0.0 [Pipeline] } [2022-07-01T04:07:15.666Z] $ docker exec --env ******** --env ******** 31e53ccb7a01ce2fe5eadb7f609aa2d4f53fa64ce18ad6b4c3ac4d60947bea02 ssh-agent -k [2022-07-01T04:07:15.787Z] unset SSH_AUTH_SOCK; [2022-07-01T04:07:15.787Z] unset SSH_AGENT_PID; [2022-07-01T04:07:15.787Z] echo Agent pid 79 killed; [2022-07-01T04:07:15.799Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-07-01T04:07:16.230Z] + git semver [Pipeline] } [2022-07-01T04:07:16.517Z] $ docker stop --time=1 31e53ccb7a01ce2fe5eadb7f609aa2d4f53fa64ce18ad6b4c3ac4d60947bea02 [2022-07-01T04:07:17.839Z] $ docker rm -f 31e53ccb7a01ce2fe5eadb7f609aa2d4f53fa64ce18ad6b4c3ac4d60947bea02 [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-01T04:07:18.262Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-07-01T04:07:18.599Z] Stashed 1 file(s) [Pipeline] echo [2022-07-01T04:07:18.617Z] [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-07-01T04:07:19.224Z] provisioning config files... [2022-07-01T04:07:19.235Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1187@tmp/config8943097876854385015tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-01T04:07:19.583Z] ---> docker-login.sh [2022-07-01T04:07:19.583Z] nexus3.edgexfoundry.org:10001 [2022-07-01T04:07:19.583Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-01T04:07:19.583Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-01T04:07:19.583Z] Configure a credential helper to remove this warning. See [2022-07-01T04:07:19.583Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-01T04:07:19.583Z] [2022-07-01T04:07:19.583Z] Login Succeeded [2022-07-01T04:07:19.583Z] nexus3.edgexfoundry.org:10002 [2022-07-01T04:07:19.583Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-01T04:07:19.846Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-01T04:07:19.846Z] Configure a credential helper to remove this warning. See [2022-07-01T04:07:19.846Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-01T04:07:19.846Z] [2022-07-01T04:07:19.846Z] Login Succeeded [2022-07-01T04:07:19.846Z] nexus3.edgexfoundry.org:10003 [2022-07-01T04:07:19.846Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-01T04:07:19.846Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-01T04:07:19.846Z] Configure a credential helper to remove this warning. See [2022-07-01T04:07:19.846Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-01T04:07:19.846Z] [2022-07-01T04:07:19.846Z] Login Succeeded [2022-07-01T04:07:19.846Z] nexus3.edgexfoundry.org:10004 [2022-07-01T04:07:19.846Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-01T04:07:20.108Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-01T04:07:20.108Z] Configure a credential helper to remove this warning. See [2022-07-01T04:07:20.108Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-01T04:07:20.108Z] [2022-07-01T04:07:20.108Z] Login Succeeded [2022-07-01T04:07:20.108Z] docker.io [2022-07-01T04:07:20.108Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-01T04:07:20.369Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-01T04:07:20.369Z] Configure a credential helper to remove this warning. See [2022-07-01T04:07:20.369Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-01T04:07:20.369Z] [2022-07-01T04:07:20.369Z] Login Succeeded [2022-07-01T04:07:20.369Z] ---> docker-login.sh ends [Pipeline] } [2022-07-01T04:07:20.402Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-07-01T04:07:20.601Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-01T04:07:20.639Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-01T04:07:20.671Z] ========================================================= [2022-07-01T04:07:20.671Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-07-01T04:07:20.671Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-01T04:07:21.152Z] + 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-07-01T04:07:21.152Z] Sending build context to Docker daemon 9.693MB [2022-07-01T04:07:21.152Z] Step 1/11 : ARG BASE=golang:1.17-alpine3.15 [2022-07-01T04:07:21.152Z] Step 2/11 : FROM ${BASE} AS builder [2022-07-01T04:07:21.152Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-07-01T04:07:21.152Z] 59bf1c3509f3: Pulling fs layer [2022-07-01T04:07:21.152Z] 666ba61612fd: Pulling fs layer [2022-07-01T04:07:21.152Z] 8ed8ca486205: Pulling fs layer [2022-07-01T04:07:21.152Z] cc1cd167ecdc: Pulling fs layer [2022-07-01T04:07:21.152Z] c516ae0d96e1: Pulling fs layer [2022-07-01T04:07:21.152Z] 684cea983483: Pulling fs layer [2022-07-01T04:07:21.152Z] dd3240ac7de5: Pulling fs layer [2022-07-01T04:07:21.152Z] b1e948a4e11c: Pulling fs layer [2022-07-01T04:07:21.152Z] a8fd76ee1af6: Pulling fs layer [2022-07-01T04:07:21.152Z] 646ad004c059: Pulling fs layer [2022-07-01T04:07:21.152Z] 684cea983483: Waiting [2022-07-01T04:07:21.152Z] dd3240ac7de5: Waiting [2022-07-01T04:07:21.152Z] b1e948a4e11c: Waiting [2022-07-01T04:07:21.152Z] a8fd76ee1af6: Waiting [2022-07-01T04:07:21.152Z] 646ad004c059: Waiting [2022-07-01T04:07:21.152Z] cc1cd167ecdc: Waiting [2022-07-01T04:07:21.152Z] c516ae0d96e1: Waiting [2022-07-01T04:07:21.152Z] 8ed8ca486205: Verifying Checksum [2022-07-01T04:07:21.152Z] 8ed8ca486205: Download complete [2022-07-01T04:07:21.152Z] 666ba61612fd: Download complete [2022-07-01T04:07:21.414Z] c516ae0d96e1: Verifying Checksum [2022-07-01T04:07:21.414Z] c516ae0d96e1: Download complete [2022-07-01T04:07:21.414Z] 684cea983483: Verifying Checksum [2022-07-01T04:07:21.414Z] 684cea983483: Download complete [2022-07-01T04:07:21.414Z] dd3240ac7de5: Verifying Checksum [2022-07-01T04:07:21.414Z] dd3240ac7de5: Download complete [2022-07-01T04:07:21.414Z] 59bf1c3509f3: Download complete [2022-07-01T04:07:21.414Z] b1e948a4e11c: Verifying Checksum [2022-07-01T04:07:21.414Z] b1e948a4e11c: Download complete [2022-07-01T04:07:21.414Z] 59bf1c3509f3: Pull complete [2022-07-01T04:07:21.675Z] 666ba61612fd: Pull complete [2022-07-01T04:07:21.675Z] 8ed8ca486205: Pull complete [2022-07-01T04:07:21.935Z] a8fd76ee1af6: Download complete [2022-07-01T04:07:22.196Z] cc1cd167ecdc: Verifying Checksum [2022-07-01T04:07:22.196Z] cc1cd167ecdc: Download complete [2022-07-01T04:07:22.196Z] 646ad004c059: Verifying Checksum [2022-07-01T04:07:22.196Z] 646ad004c059: Download complete [2022-07-01T04:07:26.392Z] cc1cd167ecdc: Pull complete [2022-07-01T04:07:26.392Z] c516ae0d96e1: Pull complete [2022-07-01T04:07:26.392Z] 684cea983483: Pull complete [2022-07-01T04:07:26.392Z] dd3240ac7de5: Pull complete [2022-07-01T04:07:26.392Z] b1e948a4e11c: Pull complete [2022-07-01T04:07:28.297Z] a8fd76ee1af6: Pull complete [2022-07-01T04:07:28.866Z] 646ad004c059: Pull complete [2022-07-01T04:07:28.866Z] Digest: sha256:bc8ce28cadebfaa099e5330588345fe90134e4027cf71364bfd2aff1e7ff8c16 [2022-07-01T04:07:28.866Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-07-01T04:07:28.866Z] ---> 8f69c11f6b0c [2022-07-01T04:07:28.866Z] Step 3/11 : ARG MAKE=make build [2022-07-01T04:07:30.780Z] ---> Running in c8f4b7a39cb3 [2022-07-01T04:07:30.780Z] Removing intermediate container c8f4b7a39cb3 [2022-07-01T04:07:30.780Z] ---> e156b7403b7e [2022-07-01T04:07:30.780Z] Step 4/11 : WORKDIR /device-sdk-go [2022-07-01T04:07:31.041Z] ---> Running in d5e88b76f9e9 [2022-07-01T04:07:31.041Z] Removing intermediate container d5e88b76f9e9 [2022-07-01T04:07:31.041Z] ---> c7d482593320 [2022-07-01T04:07:31.041Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-07-01T04:07:31.041Z] ---> Running in dfe70cb8e254 [2022-07-01T04:07:31.041Z] Removing intermediate container dfe70cb8e254 [2022-07-01T04:07:31.041Z] ---> 8383e6e79ebf [2022-07-01T04:07:31.041Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-01T04:07:31.304Z] ---> Running in 22ad5c3cc75e [2022-07-01T04:07:31.877Z] Removing intermediate container 22ad5c3cc75e [2022-07-01T04:07:31.877Z] ---> 6c3934f72191 [2022-07-01T04:07:31.877Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-07-01T04:07:31.877Z] ---> Running in cc01ac624f87 [2022-07-01T04:07:32.449Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-07-01T04:07:33.021Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-07-01T04:07:33.592Z] OK: 221 MiB in 52 packages [2022-07-01T04:07:33.852Z] Removing intermediate container cc01ac624f87 [2022-07-01T04:07:33.852Z] ---> 6d86e361a258 [2022-07-01T04:07:33.852Z] Step 8/11 : COPY go.mod vendor* ./ [2022-07-01T04:07:33.852Z] ---> 3504663c3fc8 [2022-07-01T04:07:33.852Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-01T04:07:33.852Z] ---> Running in fe41a631a803 [2022-07-01T04:07:34.048Z] Still waiting to schedule task [2022-07-01T04:07:34.048Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-07-01T04:07:48.761Z] Removing intermediate container fe41a631a803 [2022-07-01T04:07:48.761Z] ---> efe999e8ee82 [2022-07-01T04:07:48.761Z] Step 10/11 : COPY . . [2022-07-01T04:07:48.761Z] ---> 9bcd0499a7c3 [2022-07-01T04:07:48.761Z] Step 11/11 : RUN ${MAKE} [2022-07-01T04:07:48.761Z] ---> Running in 8459ba2688e0 [2022-07-01T04:07:49.335Z] noop [2022-07-01T04:07:49.597Z] Removing intermediate container 8459ba2688e0 [2022-07-01T04:07:49.597Z] ---> d2b7282a0d7d [2022-07-01T04:07:49.597Z] Successfully built d2b7282a0d7d [2022-07-01T04:07:49.597Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-01T04:07:50.062Z] + docker inspect -f . ci-base-image-x86_64 [2022-07-01T04:07:50.062Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-01T04:07:50.214Z] prd-ubuntu20.04-docker-8c-8g-16557 does not seem to be running inside a container [2022-07-01T04:07:50.254Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1187 -v /w/workspace/gexfoundry_device-sdk-go_PR-1187:/w/workspace/gexfoundry_device-sdk-go_PR-1187:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1187@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1187@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-07-01T04:07:50.618Z] $ docker top d4c50b390e7f7365c15b1e58ebd980ccebf361d6f83e7b4b3711a6c6461b1c2e -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-01T04:07:51.025Z] + go version [2022-07-01T04:07:51.025Z] go version go1.17.7 linux/amd64 [Pipeline] } [2022-07-01T04:07:51.058Z] $ docker stop --time=1 d4c50b390e7f7365c15b1e58ebd980ccebf361d6f83e7b4b3711a6c6461b1c2e [2022-07-01T04:07:52.363Z] $ docker rm -f d4c50b390e7f7365c15b1e58ebd980ccebf361d6f83e7b4b3711a6c6461b1c2e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-01T04:07:53.217Z] + docker inspect -f . ci-base-image-x86_64 [2022-07-01T04:07:53.217Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-01T04:07:53.388Z] prd-ubuntu20.04-docker-8c-8g-16557 does not seem to be running inside a container [2022-07-01T04:07:53.419Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1187 -v /w/workspace/gexfoundry_device-sdk-go_PR-1187:/w/workspace/gexfoundry_device-sdk-go_PR-1187:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1187@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1187@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-07-01T04:07:53.872Z] $ docker top be35f65c2a9db963bb79c7b8516ddb3f55a4a2db3a2e6cc7a7d6994e238e8501 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-07-01T04:07:54.339Z] + make test [2022-07-01T04:07:54.339Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-07-01T04:08:00.921Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-07-01T04:08:13.141Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-07-01T04:08:13.141Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-07-01T04:08:13.141Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-07-01T04:08:13.142Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.086s coverage: 23.7% of statements [2022-07-01T04:08:13.142Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-07-01T04:08:13.142Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.064s coverage: 27.6% of statements [2022-07-01T04:08:13.142Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.083s coverage: 78.9% of statements [2022-07-01T04:08:13.142Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.061s coverage: 10.8% of statements [2022-07-01T04:08:13.142Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.082s coverage: 60.0% of statements [2022-07-01T04:08:13.142Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-07-01T04:08:13.142Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-07-01T04:08:13.142Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.080s coverage: 34.8% of statements [2022-07-01T04:08:13.142Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-07-01T04:08:14.093Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.088s coverage: 85.4% of statements [2022-07-01T04:08:14.093Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-07-01T04:08:14.093Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-07-01T04:08:14.093Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.123s coverage: 65.1% of statements [2022-07-01T04:08:14.093Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.801s coverage: 89.2% of statements [2022-07-01T04:08:14.093Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-07-01T04:08:14.093Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.059s coverage: 4.7% of statements [2022-07-01T04:08:14.093Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-07-01T04:08:28.992Z] GO111MODULE=on go vet ./... [2022-07-01T04:08:33.197Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-07-01T04:08:33.197Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-07-01T04:08:33.197Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-07-01T04:08:33.490Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-07-01T04:08:33.522Z] $ docker stop --time=1 be35f65c2a9db963bb79c7b8516ddb3f55a4a2db3a2e6cc7a7d6994e238e8501 [2022-07-01T04:08:36.118Z] $ docker rm -f be35f65c2a9db963bb79c7b8516ddb3f55a4a2db3a2e6cc7a7d6994e238e8501 [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-01T04:08:36.675Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-07-01T04:08:36.755Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-07-01T04:08:37.419Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-07-01T04:08:37.734Z] + ls -al . [2022-07-01T04:08:37.734Z] total 304 [2022-07-01T04:08:37.734Z] drwxrwxr-x 11 jenkins jenkins 4096 Jul 1 04:08 . [2022-07-01T04:08:37.734Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 1 04:06 .. [2022-07-01T04:08:37.734Z] -rw-rw-r-- 1 jenkins jenkins 140 Jul 1 04:06 .dockerignore [2022-07-01T04:08:37.734Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 1 04:07 .git [2022-07-01T04:08:37.734Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 1 04:06 .github [2022-07-01T04:08:37.734Z] -rw-rw-r-- 1 jenkins jenkins 131 Jul 1 04:06 .gitignore [2022-07-01T04:08:37.734Z] -rw-rw-r-- 1 jenkins jenkins 42 Jul 1 04:06 .golangci.yml [2022-07-01T04:08:37.734Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 1 04:07 .semver [2022-07-01T04:08:37.734Z] -rw-rw-r-- 1 jenkins jenkins 29536 Jul 1 04:06 CHANGELOG.md [2022-07-01T04:08:37.734Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 1 04:06 GOVERNANCE.md [2022-07-01T04:08:37.734Z] -rw-rw-r-- 1 jenkins jenkins 880 Jul 1 04:06 Jenkinsfile [2022-07-01T04:08:37.734Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jul 1 04:06 LICENSE [2022-07-01T04:08:37.734Z] -rw-rw-r-- 1 jenkins jenkins 2015 Jul 1 04:06 Makefile [2022-07-01T04:08:37.734Z] -rw-rw-r-- 1 jenkins jenkins 619 Jul 1 04:06 OWNERS.md [2022-07-01T04:08:37.734Z] -rw-rw-r-- 1 jenkins jenkins 4881 Jul 1 04:06 README.md [2022-07-01T04:08:37.734Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 1 04:07 VERSION [2022-07-01T04:08:37.734Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 1 04:06 bin [2022-07-01T04:08:37.734Z] -rw-r--r-- 1 jenkins jenkins 131190 Jul 1 04:08 coverage.out [2022-07-01T04:08:37.734Z] drwxrwxr-x 5 jenkins jenkins 4096 Jul 1 04:06 example [2022-07-01T04:08:37.734Z] -rw-rw-r-- 1 jenkins jenkins 3203 Jul 1 04:06 go.mod [2022-07-01T04:08:37.734Z] -rw-rw-r-- 1 jenkins jenkins 35551 Jul 1 04:06 go.sum [2022-07-01T04:08:37.734Z] drwxrwxr-x 15 jenkins jenkins 4096 Jul 1 04:06 internal [2022-07-01T04:08:37.734Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 1 04:06 openapi [2022-07-01T04:08:37.734Z] drwxrwxr-x 5 jenkins jenkins 4096 Jul 1 04:06 pkg [2022-07-01T04:08:37.734Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 1 04:06 snap [2022-07-01T04:08:37.734Z] -rw-rw-r-- 1 jenkins jenkins 222 Jul 1 04:06 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-01T04:08:38.141Z] + 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=45ea3baea759e1d08f8e5f42ecb60a489bd1d241 --label arch=amd64 --label version=0.0.0 . [2022-07-01T04:08:38.141Z] Sending build context to Docker daemon 9.825MB [2022-07-01T04:08:38.141Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-07-01T04:08:38.141Z] Step 2/25 : FROM ${BASE} AS builder [2022-07-01T04:08:38.141Z] ---> d2b7282a0d7d [2022-07-01T04:08:38.141Z] Step 3/25 : ARG MAKE=make build [2022-07-01T04:08:38.413Z] ---> Running in 4ba6ab5680a7 [2022-07-01T04:08:38.413Z] Removing intermediate container 4ba6ab5680a7 [2022-07-01T04:08:38.413Z] ---> 08835881a3b7 [2022-07-01T04:08:38.413Z] Step 4/25 : WORKDIR /device-sdk-go [2022-07-01T04:08:38.413Z] ---> Running in c0a94fe88c25 [2022-07-01T04:08:38.413Z] Removing intermediate container c0a94fe88c25 [2022-07-01T04:08:38.413Z] ---> 484ab4587882 [2022-07-01T04:08:38.413Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-07-01T04:08:38.672Z] ---> Running in 35f00fc7428f [2022-07-01T04:08:38.672Z] Removing intermediate container 35f00fc7428f [2022-07-01T04:08:38.672Z] ---> 8a4227f101d4 [2022-07-01T04:08:38.672Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-01T04:08:38.672Z] ---> Running in 01f77f58d0d9 [2022-07-01T04:08:39.247Z] Removing intermediate container 01f77f58d0d9 [2022-07-01T04:08:39.247Z] ---> c9215653de30 [2022-07-01T04:08:39.247Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-07-01T04:08:39.507Z] ---> Running in 39a5f52600c7 [2022-07-01T04:08:39.767Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-07-01T04:08:40.709Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-07-01T04:08:40.970Z] OK: 221 MiB in 52 packages [2022-07-01T04:08:41.230Z] Removing intermediate container 39a5f52600c7 [2022-07-01T04:08:41.230Z] ---> b23e7d32d3ea [2022-07-01T04:08:41.230Z] Step 8/25 : COPY go.mod vendor* ./ [2022-07-01T04:08:41.521Z] ---> 12a0f19d19ab [2022-07-01T04:08:41.521Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-01T04:08:41.521Z] ---> Running in 7831d1bbdc41 [2022-07-01T04:08:42.097Z] Removing intermediate container 7831d1bbdc41 [2022-07-01T04:08:42.097Z] ---> 324bce772ec4 [2022-07-01T04:08:42.097Z] Step 10/25 : COPY . . [2022-07-01T04:08:42.667Z] ---> 5539afd79c42 [2022-07-01T04:08:42.667Z] Step 11/25 : RUN ${MAKE} [2022-07-01T04:08:42.667Z] ---> Running in 86b5a36948ad [2022-07-01T04:08:42.926Z] 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-07-01T04:09:01.023Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-07-01T04:09:01.967Z] Removing intermediate container 86b5a36948ad [2022-07-01T04:09:01.967Z] ---> 6d3eea2049f1 [2022-07-01T04:09:01.967Z] Step 12/25 : FROM alpine:3.14 [2022-07-01T04:09:02.538Z] 3.14: Pulling from library/alpine [2022-07-01T04:09:02.538Z] 8663204ce13b: Pulling fs layer [2022-07-01T04:09:02.799Z] 8663204ce13b: Verifying Checksum [2022-07-01T04:09:02.799Z] 8663204ce13b: Download complete [2022-07-01T04:09:02.799Z] 8663204ce13b: Pull complete [2022-07-01T04:09:02.799Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-07-01T04:09:02.799Z] Status: Downloaded newer image for alpine:3.14 [2022-07-01T04:09:02.799Z] ---> e04c818066af [2022-07-01T04:09:02.799Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-07-01T04:09:03.060Z] ---> Running in 9102f8af3de7 [2022-07-01T04:09:03.060Z] Removing intermediate container 9102f8af3de7 [2022-07-01T04:09:03.060Z] ---> d32454159962 [2022-07-01T04:09:03.060Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-01T04:09:03.060Z] ---> Running in 69617a04f4e7 [2022-07-01T04:09:03.629Z] Removing intermediate container 69617a04f4e7 [2022-07-01T04:09:03.629Z] ---> f618739be998 [2022-07-01T04:09:03.629Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-07-01T04:09:03.890Z] ---> Running in 24c49e4b1289 [2022-07-01T04:09:04.149Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-07-01T04:09:05.089Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-07-01T04:09:05.350Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2022-07-01T04:09:05.611Z] (2/5) Installing libsodium (1.0.18-r0) [2022-07-01T04:09:05.611Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2022-07-01T04:09:05.611Z] (4/5) Installing libzmq (4.3.4-r0) [2022-07-01T04:09:05.871Z] (5/5) Installing zeromq (4.3.4-r0) [2022-07-01T04:09:05.871Z] Executing busybox-1.33.1-r7.trigger [2022-07-01T04:09:05.871Z] OK: 8 MiB in 19 packages [2022-07-01T04:09:06.442Z] Removing intermediate container 24c49e4b1289 [2022-07-01T04:09:06.442Z] ---> 9165bb3563bd [2022-07-01T04:09:06.442Z] Step 16/25 : WORKDIR / [2022-07-01T04:09:06.442Z] ---> Running in 94f2b5b2f1de [2022-07-01T04:09:06.442Z] Removing intermediate container 94f2b5b2f1de [2022-07-01T04:09:06.442Z] ---> 3e8ab99257ff [2022-07-01T04:09:06.442Z] Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-07-01T04:09:06.718Z] ---> 71698e673074 [2022-07-01T04:09:06.718Z] Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-07-01T04:09:07.285Z] ---> 7ed911c4f3fb [2022-07-01T04:09:07.286Z] Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-07-01T04:09:07.286Z] ---> 062c73e149a3 [2022-07-01T04:09:07.286Z] Step 20/25 : EXPOSE 59999 [2022-07-01T04:09:07.286Z] ---> Running in a8371d64ba70 [2022-07-01T04:09:07.545Z] Removing intermediate container a8371d64ba70 [2022-07-01T04:09:07.545Z] ---> ccf116f882ce [2022-07-01T04:09:07.545Z] Step 21/25 : ENTRYPOINT ["/device-simple"] [2022-07-01T04:09:07.545Z] ---> Running in d572d906d282 [2022-07-01T04:09:07.545Z] Removing intermediate container d572d906d282 [2022-07-01T04:09:07.545Z] ---> 57f3dfb57671 [2022-07-01T04:09:07.545Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-07-01T04:09:07.545Z] ---> Running in 5c30c0857011 [2022-07-01T04:09:07.781Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-16558 in /w/workspace/gexfoundry_device-sdk-go_PR-1187 [Pipeline] { [2022-07-01T04:09:07.806Z] Removing intermediate container 5c30c0857011 [2022-07-01T04:09:07.806Z] ---> 3a5580c8e6ae [2022-07-01T04:09:07.806Z] Step 23/25 : LABEL arch=amd64 [2022-07-01T04:09:07.806Z] ---> Running in a4516c09dcfd [2022-07-01T04:09:07.806Z] Removing intermediate container a4516c09dcfd [2022-07-01T04:09:07.806Z] ---> 1159b251d256 [2022-07-01T04:09:07.806Z] Step 24/25 : LABEL git_sha=45ea3baea759e1d08f8e5f42ecb60a489bd1d241 [Pipeline] ws [2022-07-01T04:09:07.821Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2022-07-01T04:09:07.925Z] The recommended git tool is: git [2022-07-01T04:09:08.069Z] ---> Running in 665fa3aa046e [2022-07-01T04:09:08.069Z] Removing intermediate container 665fa3aa046e [2022-07-01T04:09:08.069Z] ---> 0524aa38c6f7 [2022-07-01T04:09:08.069Z] Step 25/25 : LABEL version=0.0.0 [2022-07-01T04:09:08.069Z] ---> Running in 5e5601198f7f [2022-07-01T04:09:08.328Z] Removing intermediate container 5e5601198f7f [2022-07-01T04:09:08.328Z] ---> 2696653ba509 [2022-07-01T04:09:08.328Z] [Warning] One or more build-args [ARCH] were not consumed [2022-07-01T04:09:08.328Z] Successfully built 2696653ba509 [2022-07-01T04:09:08.328Z] 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-07-01T04:09:09.183Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-01T04:09:09.183Z] [2022-07-01T04:09:09.183Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-01T04:09:09.553Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-01T04:09:09.553Z] latest: Pulling from edgex-lftools-log-publisher [2022-07-01T04:09:09.553Z] 5eb5b503b376: Pulling fs layer [2022-07-01T04:09:09.553Z] 5c69ac0246d0: Pulling fs layer [2022-07-01T04:09:09.553Z] ec43610c2a17: Pulling fs layer [2022-07-01T04:09:09.553Z] 3a2ae6a8a46f: Pulling fs layer [2022-07-01T04:09:09.553Z] 33b1e0a273af: Pulling fs layer [2022-07-01T04:09:09.553Z] 5d3b04190fa2: Pulling fs layer [2022-07-01T04:09:09.553Z] 3a2ae6a8a46f: Waiting [2022-07-01T04:09:09.553Z] 33b1e0a273af: Waiting [2022-07-01T04:09:09.553Z] 2f39f015ded8: Pulling fs layer [2022-07-01T04:09:09.553Z] 2f39f015ded8: Waiting [2022-07-01T04:09:09.553Z] 5d3b04190fa2: Waiting [2022-07-01T04:09:09.553Z] 5c69ac0246d0: Verifying Checksum [2022-07-01T04:09:09.553Z] 5c69ac0246d0: Download complete [2022-07-01T04:09:09.554Z] 3a2ae6a8a46f: Verifying Checksum [2022-07-01T04:09:09.554Z] 3a2ae6a8a46f: Download complete [2022-07-01T04:09:09.554Z] 33b1e0a273af: Verifying Checksum [2022-07-01T04:09:09.554Z] 33b1e0a273af: Download complete [2022-07-01T04:09:09.554Z] 5d3b04190fa2: Download complete [2022-07-01T04:09:09.554Z] ec43610c2a17: Verifying Checksum [2022-07-01T04:09:09.554Z] ec43610c2a17: Download complete [2022-07-01T04:09:09.814Z] 5eb5b503b376: Download complete [2022-07-01T04:09:10.382Z] 2f39f015ded8: Download complete [2022-07-01T04:09:10.949Z] 5eb5b503b376: Pull complete [2022-07-01T04:09:10.949Z] 5c69ac0246d0: Pull complete [2022-07-01T04:09:11.519Z] ec43610c2a17: Pull complete [2022-07-01T04:09:11.519Z] 3a2ae6a8a46f: Pull complete [2022-07-01T04:09:11.776Z] 33b1e0a273af: Pull complete [2022-07-01T04:09:11.776Z] 5d3b04190fa2: Pull complete [2022-07-01T04:09:14.503Z] using credential edgex-jenkins-ssh [2022-07-01T04:09:14.518Z] Cloning the remote Git repository [2022-07-01T04:09:14.571Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2022-07-01T04:09:14.636Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2022-07-01T04:09:14.731Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-07-01T04:09:14.732Z] > git --version # timeout=10 [2022-07-01T04:09:14.752Z] > git --version # 'git version 2.25.1' [2022-07-01T04:09:14.754Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-01T04:09:14.828Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-07-01T04:09:15.970Z] 2f39f015ded8: Pull complete [2022-07-01T04:09:15.970Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-07-01T04:09:15.970Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-01T04:09:15.970Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-01T04:09:16.204Z] prd-ubuntu20.04-docker-8c-8g-16557 does not seem to be running inside a container [2022-07-01T04:09:16.290Z] $ 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-1187 -v /w/workspace/gexfoundry_device-sdk-go_PR-1187:/w/workspace/gexfoundry_device-sdk-go_PR-1187:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1187@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1187@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-07-01T04:09:16.709Z] Merging remotes/origin/main commit 387354420b6c024391aeac33674ce5c69e12b92e into PR head commit 45ea3baea759e1d08f8e5f42ecb60a489bd1d241 [2022-07-01T04:09:16.951Z] Merge succeeded, producing 45ea3baea759e1d08f8e5f42ecb60a489bd1d241 [2022-07-01T04:09:16.951Z] Checking out Revision 45ea3baea759e1d08f8e5f42ecb60a489bd1d241 (PR-1187) [2022-07-01T04:09:16.136Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-07-01T04:09:16.157Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-07-01T04:09:16.185Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-07-01T04:09:16.220Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-07-01T04:09:16.220Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-01T04:09:16.237Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1187/head:refs/remotes/origin/PR-1187 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-07-01T04:09:16.732Z] > git config core.sparsecheckout # timeout=10 [2022-07-01T04:09:16.745Z] > git checkout -f 45ea3baea759e1d08f8e5f42ecb60a489bd1d241 # timeout=10 [2022-07-01T04:09:16.856Z] > git remote # timeout=10 [2022-07-01T04:09:16.871Z] > git config --get remote.origin.url # timeout=10 [2022-07-01T04:09:16.896Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-01T04:09:16.907Z] > git merge 387354420b6c024391aeac33674ce5c69e12b92e # timeout=10 [2022-07-01T04:09:16.933Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-07-01T04:09:16.962Z] > git config core.sparsecheckout # timeout=10 [2022-07-01T04:09:16.972Z] > git checkout -f 45ea3baea759e1d08f8e5f42ecb60a489bd1d241 # timeout=10 [2022-07-01T04:09:18.078Z] $ docker top ac63f462c8e6e06b65d1ea948ca0334d58c16297d246e92f1f9910d9634c5932 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-01T04:09:18.592Z] ---> job-cost.sh [2022-07-01T04:09:18.592Z] lf-activate-venv: SKIPPING [2022-07-01T04:09:18.592Z] INFO: No Stack... [2022-07-01T04:09:19.165Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-07-01T04:09:19.426Z] INFO: Archiving Costs [Pipeline] sh [2022-07-01T04:09:19.739Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1187/archives/cost.csv [2022-07-01T04:09:19.739Z] + cut -d, -f6 [Pipeline] lock [2022-07-01T04:09:19.777Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1187-1-stack-cost] [2022-07-01T04:09:19.782Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1187-1-stack-cost] did not exist. Created. [2022-07-01T04:09:19.782Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1187-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-07-01T04:09:20.170Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-07-01T04:09:20.224Z] Stashed 1 file(s) [Pipeline] } [2022-07-01T04:09:20.250Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1187-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-07-01T04:09:20.331Z] $ docker stop --time=1 ac63f462c8e6e06b65d1ea948ca0334d58c16297d246e92f1f9910d9634c5932 [2022-07-01T04:09:21.167Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-messaging/v2" [2022-07-01T04:09:21.224Z] > git --version # timeout=10 [2022-07-01T04:09:21.238Z] > git --version # 'git version 2.25.1' [2022-07-01T04:09:21.250Z] fatal: bad object 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-07-01T04:09:21.506Z] $ docker rm -f ac63f462c8e6e06b65d1ea948ca0334d58c16297d246e92f1f9910d9634c5932 [2022-07-01T04:09:21.506Z] [2022-07-01T04:09:21.506Z] GitHub has been notified of this commit’s build result [2022-07-01T04:09:21.506Z] [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] withEnv [Pipeline] { [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-01T04:09:22.418Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-07-01T04:09:22.418Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-07-01T04:09:22.418Z] Dload Upload Total Spent Left Speed [2022-07-01T04:09:22.418Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 98814 0 --:--:-- --:--:-- --:--:-- 98814 [Pipeline] sh [2022-07-01T04:09:23.147Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-07-01T04:09:23.512Z] + sudo tee /etc/docker/daemon.new [2022-07-01T04:09:23.512Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-07-01T04:09:23.512Z] { [2022-07-01T04:09:23.512Z] "registry-mirrors": [ [2022-07-01T04:09:23.512Z] "https://nexus3.edgexfoundry.org:10001" [2022-07-01T04:09:23.512Z] ], [2022-07-01T04:09:23.512Z] "bip": "10.250.0.254/24", [2022-07-01T04:09:23.512Z] "hosts": [ [2022-07-01T04:09:23.512Z] "tcp://0.0.0.0:5555", [2022-07-01T04:09:23.512Z] "unix:///var/run/docker.sock" [2022-07-01T04:09:23.512Z] ], [2022-07-01T04:09:23.512Z] "mtu": 1458, [2022-07-01T04:09:23.512Z] "selinux-enabled": true, [2022-07-01T04:09:23.512Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-07-01T04:09:23.512Z] } [Pipeline] sh [2022-07-01T04:09:23.875Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-07-01T04:09:24.451Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-01T04:09:42.850Z] provisioning config files... [2022-07-01T04:09:42.873Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config7981264982559400118tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-01T04:09:43.274Z] ---> docker-login.sh [2022-07-01T04:09:43.274Z] nexus3.edgexfoundry.org:10001 [2022-07-01T04:09:43.872Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-01T04:09:44.152Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-01T04:09:44.152Z] Configure a credential helper to remove this warning. See [2022-07-01T04:09:44.152Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-01T04:09:44.152Z] [2022-07-01T04:09:44.152Z] Login Succeeded [2022-07-01T04:09:44.152Z] nexus3.edgexfoundry.org:10002 [2022-07-01T04:09:44.425Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-01T04:09:44.425Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-01T04:09:44.425Z] Configure a credential helper to remove this warning. See [2022-07-01T04:09:44.425Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-01T04:09:44.425Z] [2022-07-01T04:09:44.425Z] Login Succeeded [2022-07-01T04:09:44.425Z] nexus3.edgexfoundry.org:10003 [2022-07-01T04:09:45.021Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-01T04:09:45.021Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-01T04:09:45.021Z] Configure a credential helper to remove this warning. See [2022-07-01T04:09:45.021Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-01T04:09:45.021Z] [2022-07-01T04:09:45.021Z] Login Succeeded [2022-07-01T04:09:45.021Z] nexus3.edgexfoundry.org:10004 [2022-07-01T04:09:45.294Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-01T04:09:45.294Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-01T04:09:45.294Z] Configure a credential helper to remove this warning. See [2022-07-01T04:09:45.294Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-01T04:09:45.294Z] [2022-07-01T04:09:45.294Z] Login Succeeded [2022-07-01T04:09:45.294Z] docker.io [2022-07-01T04:09:45.889Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-01T04:09:46.162Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-01T04:09:46.162Z] Configure a credential helper to remove this warning. See [2022-07-01T04:09:46.162Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-01T04:09:46.162Z] [2022-07-01T04:09:46.162Z] Login Succeeded [2022-07-01T04:09:46.162Z] ---> docker-login.sh ends [Pipeline] } [2022-07-01T04:09:46.192Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-07-01T04:09:46.560Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-01T04:09:46.596Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-01T04:09:46.627Z] ========================================================= [2022-07-01T04:09:46.627Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-07-01T04:09:46.627Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-01T04:09:47.127Z] + 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-07-01T04:09:47.405Z] Sending build context to Docker daemon 5.195MB [2022-07-01T04:09:47.405Z] Step 1/11 : ARG BASE=golang:1.17-alpine3.15 [2022-07-01T04:09:47.405Z] Step 2/11 : FROM ${BASE} AS builder [2022-07-01T04:09:47.691Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-07-01T04:09:47.691Z] 9b3977197b4f: Pulling fs layer [2022-07-01T04:09:47.691Z] 1a89e8eeedd5: Pulling fs layer [2022-07-01T04:09:47.691Z] 94645a83ff95: Pulling fs layer [2022-07-01T04:09:47.691Z] e6fb740bc735: Pulling fs layer [2022-07-01T04:09:47.691Z] 3a77bd46dcc9: Pulling fs layer [2022-07-01T04:09:47.691Z] 355e64cbe906: Pulling fs layer [2022-07-01T04:09:47.691Z] 63ab81a10011: Pulling fs layer [2022-07-01T04:09:47.691Z] 555d1d1c4555: Pulling fs layer [2022-07-01T04:09:47.691Z] 7d9057610161: Pulling fs layer [2022-07-01T04:09:47.691Z] e6fb740bc735: Waiting [2022-07-01T04:09:47.691Z] 3a77bd46dcc9: Waiting [2022-07-01T04:09:47.691Z] 355e64cbe906: Waiting [2022-07-01T04:09:47.691Z] 63ab81a10011: Waiting [2022-07-01T04:09:47.691Z] 555d1d1c4555: Waiting [2022-07-01T04:09:47.691Z] 7d9057610161: Waiting [2022-07-01T04:09:47.691Z] 94645a83ff95: Verifying Checksum [2022-07-01T04:09:47.691Z] 94645a83ff95: Download complete [2022-07-01T04:09:47.691Z] 1a89e8eeedd5: Download complete [2022-07-01T04:09:47.691Z] 3a77bd46dcc9: Verifying Checksum [2022-07-01T04:09:47.691Z] 3a77bd46dcc9: Download complete [2022-07-01T04:09:47.691Z] 355e64cbe906: Verifying Checksum [2022-07-01T04:09:47.691Z] 355e64cbe906: Download complete [2022-07-01T04:09:47.691Z] 9b3977197b4f: Download complete [2022-07-01T04:09:47.691Z] 63ab81a10011: Verifying Checksum [2022-07-01T04:09:47.691Z] 63ab81a10011: Download complete [2022-07-01T04:09:48.692Z] 9b3977197b4f: Pull complete [2022-07-01T04:09:48.692Z] 7d9057610161: Verifying Checksum [2022-07-01T04:09:48.692Z] 7d9057610161: Download complete [2022-07-01T04:09:49.289Z] 1a89e8eeedd5: Pull complete [2022-07-01T04:09:49.569Z] 94645a83ff95: Pull complete [2022-07-01T04:09:49.841Z] 555d1d1c4555: Verifying Checksum [2022-07-01T04:09:49.841Z] 555d1d1c4555: Download complete [2022-07-01T04:09:50.435Z] e6fb740bc735: Verifying Checksum [2022-07-01T04:09:50.435Z] e6fb740bc735: Download complete [2022-07-01T04:10:02.823Z] e6fb740bc735: Pull complete [2022-07-01T04:10:02.823Z] 3a77bd46dcc9: Pull complete [2022-07-01T04:10:02.823Z] 355e64cbe906: Pull complete [2022-07-01T04:10:02.823Z] 63ab81a10011: Pull complete [2022-07-01T04:10:09.537Z] 555d1d1c4555: Pull complete [2022-07-01T04:10:10.986Z] 7d9057610161: Pull complete [2022-07-01T04:10:10.986Z] Digest: sha256:2bfe06e9b82483759db2d79553298764cc23e00699169ff1c4d7513112b2d636 [2022-07-01T04:10:10.986Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-07-01T04:10:10.986Z] ---> 819e984ddca1 [2022-07-01T04:10:10.986Z] Step 3/11 : ARG MAKE=make build [2022-07-01T04:10:11.584Z] ---> Running in 2928a45467f8 [2022-07-01T04:10:11.858Z] Removing intermediate container 2928a45467f8 [2022-07-01T04:10:11.858Z] ---> 9565586f4fc5 [2022-07-01T04:10:11.858Z] Step 4/11 : WORKDIR /device-sdk-go [2022-07-01T04:10:11.858Z] ---> Running in 47f274d481f8 [2022-07-01T04:10:12.456Z] Removing intermediate container 47f274d481f8 [2022-07-01T04:10:12.456Z] ---> 73e8bcc5c587 [2022-07-01T04:10:12.456Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-07-01T04:10:12.456Z] ---> Running in 626a72d04f85 [2022-07-01T04:10:12.736Z] Removing intermediate container 626a72d04f85 [2022-07-01T04:10:12.736Z] ---> 7bf5969b7441 [2022-07-01T04:10:12.736Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-01T04:10:12.736Z] ---> Running in 0c4fb4c14510 [2022-07-01T04:10:15.392Z] Removing intermediate container 0c4fb4c14510 [2022-07-01T04:10:15.392Z] ---> c2590b69088c [2022-07-01T04:10:15.392Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-07-01T04:10:15.392Z] ---> Running in 9a212320cacf [2022-07-01T04:10:16.380Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-07-01T04:10:17.363Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-07-01T04:10:18.353Z] OK: 220 MiB in 52 packages [2022-07-01T04:10:18.964Z] Removing intermediate container 9a212320cacf [2022-07-01T04:10:18.964Z] ---> f23d93bbb04f [2022-07-01T04:10:18.964Z] Step 8/11 : COPY go.mod vendor* ./ [2022-07-01T04:10:19.563Z] ---> bead0fa8bb0b [2022-07-01T04:10:19.563Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-01T04:10:19.563Z] ---> Running in f566a0e3734a [2022-07-01T04:11:06.564Z] Removing intermediate container f566a0e3734a [2022-07-01T04:11:06.564Z] ---> 43401c89b97a [2022-07-01T04:11:06.564Z] Step 10/11 : COPY . . [2022-07-01T04:11:06.564Z] ---> bbb4f1eb8dd2 [2022-07-01T04:11:06.564Z] Step 11/11 : RUN ${MAKE} [2022-07-01T04:11:06.564Z] ---> Running in cb477daa6764 [2022-07-01T04:11:06.564Z] noop [2022-07-01T04:11:06.564Z] Removing intermediate container cb477daa6764 [2022-07-01T04:11:06.564Z] ---> 89d7046c523f [2022-07-01T04:11:06.564Z] Successfully built 89d7046c523f [2022-07-01T04:11:06.564Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-01T04:11:07.048Z] + docker inspect -f . ci-base-image-arm64 [2022-07-01T04:11:07.048Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-01T04:11:07.393Z] prd-ubuntu20.04-docker-arm64-4c-16g-16558 does not seem to be running inside a container [2022-07-01T04:11:07.487Z] $ 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-07-01T04:11:08.841Z] $ docker top 36ccf7fa8e977531ca7696b8e0a654b16705058216e2bc94e648cc93e09820fa -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-01T04:11:34.316Z] + go version [2022-07-01T04:11:34.316Z] go version go1.17.7 linux/arm64 [Pipeline] } [2022-07-01T04:11:34.355Z] $ docker stop --time=1 36ccf7fa8e977531ca7696b8e0a654b16705058216e2bc94e648cc93e09820fa [2022-07-01T04:11:36.071Z] $ docker rm -f 36ccf7fa8e977531ca7696b8e0a654b16705058216e2bc94e648cc93e09820fa [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-01T04:11:36.973Z] + docker inspect -f . ci-base-image-arm64 [2022-07-01T04:11:36.973Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-01T04:11:37.292Z] prd-ubuntu20.04-docker-arm64-4c-16g-16558 does not seem to be running inside a container [2022-07-01T04:11:37.379Z] $ 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-07-01T04:11:38.704Z] $ docker top 4cc51d9de7479745606e050e712aee63b02c417497fc84b7e26e6913090859d5 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-07-01T04:11:39.731Z] + make test [2022-07-01T04:11:39.731Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-07-01T04:12:12.111Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-07-01T04:13:49.031Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-07-01T04:13:49.031Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-07-01T04:13:49.031Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-07-01T04:14:01.500Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.421s coverage: 23.7% of statements [2022-07-01T04:14:01.500Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-07-01T04:14:01.500Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.238s coverage: 27.6% of statements [2022-07-01T04:14:01.500Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.538s coverage: 78.9% of statements [2022-07-01T04:14:01.500Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.327s coverage: 10.8% of statements [2022-07-01T04:14:02.975Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.753s coverage: 60.0% of statements [2022-07-01T04:14:02.976Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-07-01T04:14:02.976Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-07-01T04:14:05.638Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.494s coverage: 34.8% of statements [2022-07-01T04:14:05.638Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-07-01T04:14:09.056Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.403s coverage: 85.4% of statements [2022-07-01T04:14:09.056Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-07-01T04:14:09.056Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-07-01T04:14:09.056Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.423s coverage: 65.1% of statements [2022-07-01T04:14:11.036Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.221s coverage: 89.2% of statements [2022-07-01T04:14:11.036Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-07-01T04:14:12.475Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.230s coverage: 4.7% of statements [2022-07-01T04:14:12.475Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-07-01T04:14:13.456Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-07-01T04:14:13.456Z] GO111MODULE=on go vet ./... [2022-07-01T04:15:50.311Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-07-01T04:15:50.311Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-07-01T04:15:50.311Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-07-01T04:15:50.348Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-07-01T04:15:50.383Z] $ docker stop --time=1 4cc51d9de7479745606e050e712aee63b02c417497fc84b7e26e6913090859d5 [2022-07-01T04:15:52.116Z] $ docker rm -f 4cc51d9de7479745606e050e712aee63b02c417497fc84b7e26e6913090859d5 [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-01T04:15:53.554Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-07-01T04:15:53.591Z] Warning: overwriting stash ‘coverage-report’ [2022-07-01T04:15:54.208Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-01T04:15:54.827Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-07-01T04:15:55.174Z] + ls -al . [2022-07-01T04:15:55.174Z] total 300 [2022-07-01T04:15:55.174Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 1 04:15 . [2022-07-01T04:15:55.174Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 1 04:09 .. [2022-07-01T04:15:55.174Z] -rw-rw-r-- 1 jenkins jenkins 140 Jul 1 04:09 .dockerignore [2022-07-01T04:15:55.174Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 1 04:09 .git [2022-07-01T04:15:55.174Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 1 04:09 .github [2022-07-01T04:15:55.174Z] -rw-rw-r-- 1 jenkins jenkins 131 Jul 1 04:09 .gitignore [2022-07-01T04:15:55.174Z] -rw-rw-r-- 1 jenkins jenkins 42 Jul 1 04:09 .golangci.yml [2022-07-01T04:15:55.174Z] -rw-rw-r-- 1 jenkins jenkins 29536 Jul 1 04:09 CHANGELOG.md [2022-07-01T04:15:55.174Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 1 04:09 GOVERNANCE.md [2022-07-01T04:15:55.174Z] -rw-rw-r-- 1 jenkins jenkins 880 Jul 1 04:09 Jenkinsfile [2022-07-01T04:15:55.174Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jul 1 04:09 LICENSE [2022-07-01T04:15:55.174Z] -rw-rw-r-- 1 jenkins jenkins 2015 Jul 1 04:09 Makefile [2022-07-01T04:15:55.174Z] -rw-rw-r-- 1 jenkins jenkins 619 Jul 1 04:09 OWNERS.md [2022-07-01T04:15:55.174Z] -rw-rw-r-- 1 jenkins jenkins 4881 Jul 1 04:09 README.md [2022-07-01T04:15:55.174Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 1 04:07 VERSION [2022-07-01T04:15:55.174Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 1 04:09 bin [2022-07-01T04:15:55.174Z] -rw-r--r-- 1 jenkins jenkins 131190 Jul 1 04:14 coverage.out [2022-07-01T04:15:55.174Z] drwxrwxr-x 5 jenkins jenkins 4096 Jul 1 04:09 example [2022-07-01T04:15:55.174Z] -rw-rw-r-- 1 jenkins jenkins 3203 Jul 1 04:09 go.mod [2022-07-01T04:15:55.174Z] -rw-rw-r-- 1 jenkins jenkins 35551 Jul 1 04:09 go.sum [2022-07-01T04:15:55.174Z] drwxrwxr-x 15 jenkins jenkins 4096 Jul 1 04:09 internal [2022-07-01T04:15:55.174Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 1 04:09 openapi [2022-07-01T04:15:55.174Z] drwxrwxr-x 5 jenkins jenkins 4096 Jul 1 04:09 pkg [2022-07-01T04:15:55.174Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 1 04:09 snap [2022-07-01T04:15:55.174Z] -rw-rw-r-- 1 jenkins jenkins 222 Jul 1 04:09 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-01T04:15:55.615Z] + 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=45ea3baea759e1d08f8e5f42ecb60a489bd1d241 --label arch=arm64 --label version=0.0.0 . [2022-07-01T04:15:55.886Z] Sending build context to Docker daemon 5.327MB [2022-07-01T04:15:56.157Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-07-01T04:15:56.157Z] Step 2/25 : FROM ${BASE} AS builder [2022-07-01T04:15:56.157Z] ---> 89d7046c523f [2022-07-01T04:15:56.157Z] Step 3/25 : ARG MAKE=make build [2022-07-01T04:15:56.157Z] ---> Running in 3af81d232dd8 [2022-07-01T04:15:56.429Z] Removing intermediate container 3af81d232dd8 [2022-07-01T04:15:56.429Z] ---> 4552e7321054 [2022-07-01T04:15:56.429Z] Step 4/25 : WORKDIR /device-sdk-go [2022-07-01T04:15:56.429Z] ---> Running in 7245315b49f2 [2022-07-01T04:15:57.025Z] Removing intermediate container 7245315b49f2 [2022-07-01T04:15:57.025Z] ---> 59cdc22d1a4f [2022-07-01T04:15:57.025Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-07-01T04:15:57.025Z] ---> Running in e07b8d695ddd [2022-07-01T04:15:57.301Z] Removing intermediate container e07b8d695ddd [2022-07-01T04:15:57.301Z] ---> 8e1bc0f8577f [2022-07-01T04:15:57.301Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-01T04:15:57.301Z] ---> Running in 6228a5ad85b4 [2022-07-01T04:15:58.745Z] Removing intermediate container 6228a5ad85b4 [2022-07-01T04:15:58.745Z] ---> 01f645c2cdb5 [2022-07-01T04:15:58.745Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-07-01T04:15:58.745Z] ---> Running in c33c15ea9d49 [2022-07-01T04:15:59.722Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-07-01T04:16:00.696Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-07-01T04:16:01.672Z] OK: 220 MiB in 52 packages [2022-07-01T04:16:02.270Z] Removing intermediate container c33c15ea9d49 [2022-07-01T04:16:02.270Z] ---> 19632e05998c [2022-07-01T04:16:02.270Z] Step 8/25 : COPY go.mod vendor* ./ [2022-07-01T04:16:02.869Z] ---> c6e13449a504 [2022-07-01T04:16:02.869Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-01T04:16:02.869Z] ---> Running in 87523bef9b00 [2022-07-01T04:16:04.853Z] Removing intermediate container 87523bef9b00 [2022-07-01T04:16:04.853Z] ---> e44375aaadcd [2022-07-01T04:16:04.853Z] Step 10/25 : COPY . . [2022-07-01T04:16:05.830Z] ---> 9e01ee1c6cc3 [2022-07-01T04:16:05.830Z] Step 11/25 : RUN ${MAKE} [2022-07-01T04:16:05.830Z] ---> Running in b69ba2eafd3a [2022-07-01T04:16:06.809Z] 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-07-01T04:18:13.698Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-07-01T04:18:13.699Z] Removing intermediate container b69ba2eafd3a [2022-07-01T04:18:13.699Z] ---> d2590386484e [2022-07-01T04:18:13.699Z] Step 12/25 : FROM alpine:3.14 [2022-07-01T04:18:13.699Z] 3.14: Pulling from library/alpine [2022-07-01T04:18:13.699Z] 455c02918c45: Pulling fs layer [2022-07-01T04:18:13.699Z] 455c02918c45: Verifying Checksum [2022-07-01T04:18:13.699Z] 455c02918c45: Download complete [2022-07-01T04:18:13.699Z] 455c02918c45: Pull complete [2022-07-01T04:18:13.699Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-07-01T04:18:13.699Z] Status: Downloaded newer image for alpine:3.14 [2022-07-01T04:18:13.699Z] ---> ac73e934f311 [2022-07-01T04:18:13.699Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-07-01T04:18:13.972Z] ---> Running in 7d81895a70a1 [2022-07-01T04:18:14.248Z] Removing intermediate container 7d81895a70a1 [2022-07-01T04:18:14.248Z] ---> f3f6f4774580 [2022-07-01T04:18:14.248Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-01T04:18:14.248Z] ---> Running in 30e78b39af04 [2022-07-01T04:18:16.237Z] Removing intermediate container 30e78b39af04 [2022-07-01T04:18:16.237Z] ---> 6925052f0027 [2022-07-01T04:18:16.237Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-07-01T04:18:16.237Z] ---> Running in 190ee19793fc [2022-07-01T04:18:17.222Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-07-01T04:18:17.829Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-07-01T04:18:18.812Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2022-07-01T04:18:18.812Z] (2/5) Installing libsodium (1.0.18-r0) [2022-07-01T04:18:19.088Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2022-07-01T04:18:19.088Z] (4/5) Installing libzmq (4.3.4-r0) [2022-07-01T04:18:19.366Z] (5/5) Installing zeromq (4.3.4-r0) [2022-07-01T04:18:19.366Z] Executing busybox-1.33.1-r7.trigger [2022-07-01T04:18:19.366Z] OK: 8 MiB in 19 packages [2022-07-01T04:18:20.353Z] Removing intermediate container 190ee19793fc [2022-07-01T04:18:20.353Z] ---> 3a435e8994a7 [2022-07-01T04:18:20.353Z] Step 16/25 : WORKDIR / [2022-07-01T04:18:20.353Z] ---> Running in 5fd5fab7d955 [2022-07-01T04:18:20.628Z] Removing intermediate container 5fd5fab7d955 [2022-07-01T04:18:20.628Z] ---> 0a2d4cc2d412 [2022-07-01T04:18:20.628Z] Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-07-01T04:18:21.228Z] ---> 3243ddcff009 [2022-07-01T04:18:21.228Z] Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-07-01T04:18:23.275Z] ---> ba178823738e [2022-07-01T04:18:23.275Z] Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-07-01T04:18:23.550Z] ---> 8b8ca66b6dc6 [2022-07-01T04:18:23.550Z] Step 20/25 : EXPOSE 59999 [2022-07-01T04:18:23.550Z] ---> Running in 23bcc63614b9 [2022-07-01T04:18:24.150Z] Removing intermediate container 23bcc63614b9 [2022-07-01T04:18:24.150Z] ---> 4a1e0860a2f3 [2022-07-01T04:18:24.150Z] Step 21/25 : ENTRYPOINT ["/device-simple"] [2022-07-01T04:18:24.150Z] ---> Running in 6bd36c2fbdd1 [2022-07-01T04:18:24.424Z] Removing intermediate container 6bd36c2fbdd1 [2022-07-01T04:18:24.424Z] ---> 036d24190e3c [2022-07-01T04:18:24.424Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-07-01T04:18:24.425Z] ---> Running in fa921f8176bd [2022-07-01T04:18:24.704Z] Removing intermediate container fa921f8176bd [2022-07-01T04:18:24.704Z] ---> e4eb49837870 [2022-07-01T04:18:24.704Z] Step 23/25 : LABEL arch=arm64 [2022-07-01T04:18:24.979Z] ---> Running in 58496b53d98a [2022-07-01T04:18:25.254Z] Removing intermediate container 58496b53d98a [2022-07-01T04:18:25.254Z] ---> 2e829f3e9a20 [2022-07-01T04:18:25.254Z] Step 24/25 : LABEL git_sha=45ea3baea759e1d08f8e5f42ecb60a489bd1d241 [2022-07-01T04:18:25.254Z] ---> Running in 4e4c8549ee81 [2022-07-01T04:18:25.529Z] Removing intermediate container 4e4c8549ee81 [2022-07-01T04:18:25.529Z] ---> bbaba753a73a [2022-07-01T04:18:25.529Z] Step 25/25 : LABEL version=0.0.0 [2022-07-01T04:18:25.529Z] ---> Running in b5db5b9228e7 [2022-07-01T04:18:26.142Z] Removing intermediate container b5db5b9228e7 [2022-07-01T04:18:26.142Z] ---> aa60c54800ca [2022-07-01T04:18:26.142Z] [Warning] One or more build-args [ARCH] were not consumed [2022-07-01T04:18:26.142Z] Successfully built aa60c54800ca [2022-07-01T04:18:26.142Z] 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-07-01T04:18:26.941Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-01T04:18:26.941Z] [2022-07-01T04:18:26.941Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-01T04:18:27.365Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-01T04:18:27.641Z] arm64: Pulling from edgex-lftools-log-publisher [2022-07-01T04:18:27.641Z] 8998bd30e6a1: Pulling fs layer [2022-07-01T04:18:27.641Z] 04944245beec: Pulling fs layer [2022-07-01T04:18:27.641Z] 699f458cf7ca: Pulling fs layer [2022-07-01T04:18:27.641Z] 765212b225bb: Pulling fs layer [2022-07-01T04:18:27.641Z] f23df028b6ca: Pulling fs layer [2022-07-01T04:18:27.641Z] d65c8cfc05b1: Pulling fs layer [2022-07-01T04:18:27.641Z] 2437ff75d9bd: Pulling fs layer [2022-07-01T04:18:27.641Z] f23df028b6ca: Waiting [2022-07-01T04:18:27.641Z] 765212b225bb: Waiting [2022-07-01T04:18:27.641Z] 2437ff75d9bd: Waiting [2022-07-01T04:18:27.641Z] d65c8cfc05b1: Waiting [2022-07-01T04:18:27.641Z] 04944245beec: Verifying Checksum [2022-07-01T04:18:27.641Z] 04944245beec: Download complete [2022-07-01T04:18:27.641Z] 765212b225bb: Verifying Checksum [2022-07-01T04:18:27.641Z] 765212b225bb: Download complete [2022-07-01T04:18:27.641Z] f23df028b6ca: Verifying Checksum [2022-07-01T04:18:27.641Z] f23df028b6ca: Download complete [2022-07-01T04:18:27.641Z] d65c8cfc05b1: Verifying Checksum [2022-07-01T04:18:27.641Z] d65c8cfc05b1: Download complete [2022-07-01T04:18:27.922Z] 699f458cf7ca: Verifying Checksum [2022-07-01T04:18:27.922Z] 699f458cf7ca: Download complete [2022-07-01T04:18:28.199Z] 8998bd30e6a1: Verifying Checksum [2022-07-01T04:18:28.199Z] 8998bd30e6a1: Download complete [2022-07-01T04:18:30.833Z] 2437ff75d9bd: Verifying Checksum [2022-07-01T04:18:30.833Z] 2437ff75d9bd: Download complete [2022-07-01T04:18:32.830Z] 8998bd30e6a1: Pull complete [2022-07-01T04:18:33.111Z] 04944245beec: Pull complete [2022-07-01T04:18:34.553Z] 699f458cf7ca: Pull complete [2022-07-01T04:18:34.553Z] 765212b225bb: Pull complete [2022-07-01T04:18:35.535Z] f23df028b6ca: Pull complete [2022-07-01T04:18:35.812Z] d65c8cfc05b1: Pull complete [2022-07-01T04:18:50.921Z] 2437ff75d9bd: Pull complete [2022-07-01T04:18:50.921Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-07-01T04:18:50.921Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-01T04:18:50.921Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-01T04:18:51.291Z] prd-ubuntu20.04-docker-arm64-4c-16g-16558 does not seem to be running inside a container [2022-07-01T04:18:51.387Z] $ 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-07-01T04:18:54.241Z] $ docker top 2e90fda1c8ab2df85a029982e57cfcffa737df1e790276d8a77edc90bb3ea9bf -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-01T04:18:55.237Z] ---> job-cost.sh [2022-07-01T04:18:55.237Z] lf-activate-venv: SKIPPING [2022-07-01T04:18:55.237Z] INFO: No Stack... [2022-07-01T04:18:55.517Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-07-01T04:18:56.497Z] INFO: Archiving Costs [Pipeline] sh [2022-07-01T04:18:57.184Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2022-07-01T04:18:57.184Z] + cut -d, -f6 [Pipeline] lock [2022-07-01T04:18:57.266Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1187-1-stack-cost] [2022-07-01T04:18:57.271Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1187-1-stack-cost] did not exist. Created. [2022-07-01T04:18:57.271Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1187-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-07-01T04:18:58.040Z] /w/workspace/device-sdk-go/1@tmp/durable-030a1862/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-07-01T04:18:58.754Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-07-01T04:18:58.790Z] Warning: overwriting stash ‘stack-cost’ [2022-07-01T04:18:58.865Z] Stashed 1 file(s) [Pipeline] } [2022-07-01T04:18:58.879Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1187-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-07-01T04:18:58.960Z] $ docker stop --time=1 2e90fda1c8ab2df85a029982e57cfcffa737df1e790276d8a77edc90bb3ea9bf [2022-07-01T04:19:00.488Z] $ docker rm -f 2e90fda1c8ab2df85a029982e57cfcffa737df1e790276d8a77edc90bb3ea9bf [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-07-01T04:19:01.622Z] provisioning config files... [2022-07-01T04:19:01.631Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1187@tmp/config4566759853067471696tmp [Pipeline] { [Pipeline] sh [2022-07-01T04:19:01.961Z] + set +x [2022-07-01T04:19:01.961Z] + curl -s https://codecov.io/bash [2022-07-01T04:19:01.961Z] + bash -s -- [2022-07-01T04:19:01.961Z] [2022-07-01T04:19:01.961Z] _____ _ [2022-07-01T04:19:01.961Z] / ____| | | [2022-07-01T04:19:01.961Z] | | ___ __| | ___ ___ _____ __ [2022-07-01T04:19:01.961Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-07-01T04:19:01.961Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-07-01T04:19:01.961Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-07-01T04:19:01.961Z] Bash-1.0.6 [2022-07-01T04:19:01.961Z] [2022-07-01T04:19:01.961Z] [2022-07-01T04:19:01.961Z] ==> git version 2.25.1 found [2022-07-01T04:19:01.961Z] ==> 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-07-01T04:19:01.961Z] Release-Date: 2020-01-08 [2022-07-01T04:19:01.961Z] 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-07-01T04:19:01.961Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-07-01T04:19:01.961Z] ==> Jenkins CI detected. [2022-07-01T04:19:01.961Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1187 [2022-07-01T04:19:01.961Z] project root: . [2022-07-01T04:19:01.961Z] --> token set from env [2022-07-01T04:19:01.961Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-07-01T04:19:01.961Z] ==> Running gcov in . (disable via -X gcov) [2022-07-01T04:19:01.961Z] ==> Python coveragepy not found [2022-07-01T04:19:01.961Z] ==> Searching for coverage reports in: [2022-07-01T04:19:01.961Z] + . [2022-07-01T04:19:01.961Z] -> Found 1 reports [2022-07-01T04:19:01.961Z] ==> Detecting git/mercurial file structure [2022-07-01T04:19:01.961Z] ==> Reading reports [2022-07-01T04:19:01.961Z] + ./coverage.out bytes=131190 [2022-07-01T04:19:01.961Z] ==> Appending adjustments [2022-07-01T04:19:01.961Z] https://docs.codecov.io/docs/fixing-reports [2022-07-01T04:19:02.530Z] + Found adjustments [2022-07-01T04:19:02.531Z] ==> Gzipping contents [2022-07-01T04:19:02.531Z] 20K /tmp/codecov.jEUhw9.gz [2022-07-01T04:19:02.531Z] ==> Uploading reports [2022-07-01T04:19:02.531Z] url: https://codecov.io [2022-07-01T04:19:02.531Z] query: branch=PR-1187&commit=45ea3baea759e1d08f8e5f42ecb60a489bd1d241&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1187%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1187&job=&cmd_args= [2022-07-01T04:19:02.531Z] -> Pinging Codecov [2022-07-01T04:19:02.531Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1187&commit=45ea3baea759e1d08f8e5f42ecb60a489bd1d241&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1187%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1187&job=&cmd_args= [2022-07-01T04:19:02.531Z] -> Uploading to [2022-07-01T04:19:02.531Z] https://storage.googleapis.com/codecov/v4/raw/2022-07-01/7E55EF52A471D76F132DFD9A03CDDE97/45ea3baea759e1d08f8e5f42ecb60a489bd1d241/3ee268b6-f535-4785-a9fe-262a820bf46e.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220701%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220701T041902Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=d2f441e345196ede690d5771c6ac4f48cb06300ea2e1353b61df9295d1a30046 [2022-07-01T04:19:02.790Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-07-01T04:19:02.790Z] Dload Upload Total Spent Left Speed [2022-07-01T04:19:02.790Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16877 0 0 100 16877 0 70320 --:--:-- --:--:-- --:--:-- 70320 [2022-07-01T04:19:02.790Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/45ea3baea759e1d08f8e5f42ecb60a489bd1d241 [Pipeline] } [2022-07-01T04:19:02.822Z] 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-07-01T04:19:04.543Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1187/archives ] [2022-07-01T04:19:04.543Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1187/archives [2022-07-01T04:19:04.543Z] total 16 [2022-07-01T04:19:04.543Z] drwxr-xr-x 3 root root 4096 Jul 1 04:09 . [2022-07-01T04:19:04.543Z] drwxrwxr-x 12 jenkins jenkins 4096 Jul 1 04:09 .. [2022-07-01T04:19:04.543Z] drwxr-xr-x 2 root root 4096 Jul 1 04:09 cost [2022-07-01T04:19:04.543Z] -rw-r--r-- 1 root root 85 Jul 1 04:09 cost.csv [2022-07-01T04:19:04.543Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1187/archives [2022-07-01T04:19:04.543Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1187/archives [2022-07-01T04:19:04.543Z] total 16 [2022-07-01T04:19:04.543Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 1 04:09 . [2022-07-01T04:19:04.543Z] drwxrwxr-x 12 jenkins jenkins 4096 Jul 1 04:09 .. [2022-07-01T04:19:04.543Z] drwxr-xr-x 2 jenkins jenkins 4096 Jul 1 04:09 cost [2022-07-01T04:19:04.543Z] -rw-r--r-- 1 jenkins jenkins 85 Jul 1 04:09 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-07-01T04:19:04.876Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-01T04:19:05.771Z] ---> package-listing.sh [2022-07-01T04:19:05.771Z] ++ facter osfamily [2022-07-01T04:19:05.771Z] ++ tr '[:upper:]' '[:lower:]' [2022-07-01T04:19:06.036Z] + OS_FAMILY=debian [2022-07-01T04:19:06.036Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1187 [2022-07-01T04:19:06.036Z] + START_PACKAGES=/tmp/packages_start.txt [2022-07-01T04:19:06.036Z] + END_PACKAGES=/tmp/packages_end.txt [2022-07-01T04:19:06.036Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-07-01T04:19:06.036Z] + PACKAGES=/tmp/packages_start.txt [2022-07-01T04:19:06.036Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1187 ']' [2022-07-01T04:19:06.036Z] + PACKAGES=/tmp/packages_end.txt [2022-07-01T04:19:06.036Z] + case "${OS_FAMILY}" in [2022-07-01T04:19:06.036Z] + dpkg -l [2022-07-01T04:19:06.037Z] + grep '^ii' [2022-07-01T04:19:06.037Z] + '[' -f /tmp/packages_start.txt ']' [2022-07-01T04:19:06.037Z] + '[' -f /tmp/packages_end.txt ']' [2022-07-01T04:19:06.037Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-07-01T04:19:06.037Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1187 ']' [2022-07-01T04:19:06.037Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1187/archives/ [2022-07-01T04:19:06.037Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1187/archives/ [Pipeline] echo [2022-07-01T04:19:06.067Z] 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-1187/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-07-01T04:19:06.359Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-01T04:19:07.002Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-01T04:19:07.002Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-01T04:19:07.165Z] prd-ubuntu20.04-docker-8c-8g-16557 does not seem to be running inside a container [2022-07-01T04:19:07.201Z] $ 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-1187/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-1187 -v /w/workspace/gexfoundry_device-sdk-go_PR-1187:/w/workspace/gexfoundry_device-sdk-go_PR-1187:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1187@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1187@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-07-01T04:19:07.420Z] $ docker top d0d0658f59ce3180835f14ac8f8b99325bba28d6ab62e419f7f7fcccfd4cd7f2 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-01T04:19:07.833Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-07-01T04:19:08.144Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-07-01T04:19:08.457Z] + ls /var/log/sa-host [2022-07-01T04:19:08.457Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-01T04:19:08.655Z] provisioning config files... [2022-07-01T04:19:08.665Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1187@tmp/config49829373403435032tmp [Pipeline] { [Pipeline] echo [2022-07-01T04:19:08.717Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-01T04:19:09.033Z] ---> create-netrc.sh [Pipeline] } [2022-07-01T04:19:09.058Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-07-01T04:19:09.459Z] ---> python-tools-install.sh [Pipeline] echo [2022-07-01T04:19:09.495Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-01T04:19:09.807Z] ---> sudo-logs.sh [2022-07-01T04:19:09.807Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-07-01T04:19:09.892Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-01T04:19:10.211Z] ---> job-cost.sh [2022-07-01T04:19:10.211Z] lf-activate-venv: SKIPPING [2022-07-01T04:19:10.211Z] DEBUG: total: 0.2199999988079071 [2022-07-01T04:19:10.211Z] INFO: Retrieving Stack Cost... [2022-07-01T04:19:10.783Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-07-01T04:19:11.043Z] INFO: Archiving Costs [Pipeline] echo [2022-07-01T04:19:11.331Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-01T04:19:11.643Z] ---> logs-deploy.sh [2022-07-01T04:19:11.643Z] lf-activate-venv: SKIPPING [2022-07-01T04:19:11.643Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1187/1 [2022-07-01T04:19:11.643Z] INFO: archiving workspace using pattern(s): [2022-07-01T04:19:12.582Z] Archives upload complete. [2022-07-01T04:19:12.582Z] INFO: archiving logs to Nexus