Pull request #1149 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 4cf2791c17b41d9df5fa4690483be713d67a3f20+99a726dbba9fddcd6b6c26c7337937a12db69607 (dc9242d9fe8e05e46420b3f4b800b99ea6bc9960) 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-ssh2913047846754969342.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 61d3a14f5ee21304eadc9c25f102bcac80e1a589 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-ssh4852945293686640151.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 61d3a14f5ee21304eadc9c25f102bcac80e1a589 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-1149/workspace@libs/edgex-global-pipelines # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1149/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh721300349884832898.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-1149/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh17016466633672693098.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 61d3a14f5ee21304eadc9c25f102bcac80e1a589 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 61d3a14f5ee21304eadc9c25f102bcac80e1a589 # timeout=10 Commit message: "Merge pull request #384 from ernestojeda/add-go-1_17-lts" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh8121348061669594427.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b3dada9287033e4e81bc68320e01fd57bef02650 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1149/workspace@libs/lf-pipelines # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1149/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh14082160163875814952.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 61d3a14f5ee21304eadc9c25f102bcac80e1a589 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-33617 in /w/workspace/gexfoundry_device-sdk-go_PR-1149 [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-1149 # 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 99a726dbba9fddcd6b6c26c7337937a12db69607 into PR head commit 4cf2791c17b41d9df5fa4690483be713d67a3f20 Merge succeeded, producing 4cf2791c17b41d9df5fa4690483be713d67a3f20 Checking out Revision 4cf2791c17b41d9df5fa4690483be713d67a3f20 (PR-1149) > 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/1149/head:refs/remotes/origin/PR-1149 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 4cf2791c17b41d9df5fa4690483be713d67a3f20 # 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 99a726dbba9fddcd6b6c26c7337937a12db69607 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 4cf2791c17b41d9df5fa4690483be713d67a3f20 # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 61d3a14f5ee21304eadc9c25f102bcac80e1a589 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-04-28T04:04:38.468Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-04-28T04:04:38.640Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-04-28T04:04:38.750Z] ========================================================= [2022-04-28T04:04:38.750Z] EdgeX Global Pipelines Version Info [2022-04-28T04:04:38.750Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-04-28T04:04:39.558Z] ------------------- [2022-04-28T04:04:39.558Z] stable info: [2022-04-28T04:04:39.558Z] ------------------- [2022-04-28T04:04:39.558Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-04-28T04:04:39.558Z] Commit SHA: 61d3a14f5ee21304eadc9c25f102bcac80e1a589 [2022-04-28T04:04:39.558Z] Message: update stable to v1.0.227 [2022-04-28T04:04:40.130Z] ------------------- [2022-04-28T04:04:40.130Z] experimental info: [2022-04-28T04:04:40.130Z] ------------------- [2022-04-28T04:04:40.130Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-04-28T04:04:40.130Z] Commit SHA: 61d3a14f5ee21304eadc9c25f102bcac80e1a589 [2022-04-28T04:04:40.130Z] Message: update experimental to v1.0.227 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-04-28T04:04:40.386Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2022-04-28T04:04:40.428Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2022-04-28T04:04:40.475Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-04-28T04:04:40.517Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-04-28T04:04:40.561Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-04-28T04:04:40.604Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-04-28T04:04:40.646Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-04-28T04:04:40.688Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2022-04-28T04:04:40.730Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-04-28T04:04:40.770Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-04-28T04:04:40.809Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-04-28T04:04:40.845Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2022-04-28T04:04:40.886Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-04-28T04:04:40.926Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-04-28T04:04:40.963Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-04-28T04:04:41.001Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2022-04-28T04:04:41.041Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-04-28T04:04:41.085Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-04-28T04:04:41.122Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-04-28T04:04:41.161Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-04-28T04:04:41.202Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-04-28T04:04:41.242Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2022-04-28T04:04:41.282Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-04-28T04:04:41.322Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-04-28T04:04:41.361Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-04-28T04:04:41.399Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-04-28T04:04:41.442Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1149 [Pipeline] echo [2022-04-28T04:04:41.484Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1149 [Pipeline] echo [2022-04-28T04:04:41.520Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1149 [Pipeline] echo [2022-04-28T04:04:41.557Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 4cf2791c17b41d9df5fa4690483be713d67a3f20 [Pipeline] echo [2022-04-28T04:04:41.594Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 4cf2791 [Pipeline] echo [2022-04-28T04:04:41.635Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-28T04:04:41.747Z] provisioning config files... [2022-04-28T04:04:41.762Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1149@tmp/config2580645983122082178tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-28T04:04:42.110Z] ---> docker-login.sh [2022-04-28T04:04:42.110Z] nexus3.edgexfoundry.org:10001 [2022-04-28T04:04:42.372Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-28T04:04:42.372Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-28T04:04:42.372Z] Configure a credential helper to remove this warning. See [2022-04-28T04:04:42.372Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-28T04:04:42.372Z] [2022-04-28T04:04:42.372Z] Login Succeeded [2022-04-28T04:04:42.372Z] nexus3.edgexfoundry.org:10002 [2022-04-28T04:04:42.634Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-28T04:04:42.634Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-28T04:04:42.634Z] Configure a credential helper to remove this warning. See [2022-04-28T04:04:42.634Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-28T04:04:42.634Z] [2022-04-28T04:04:42.634Z] Login Succeeded [2022-04-28T04:04:42.634Z] nexus3.edgexfoundry.org:10003 [2022-04-28T04:04:42.634Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-28T04:04:42.634Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-28T04:04:42.634Z] Configure a credential helper to remove this warning. See [2022-04-28T04:04:42.634Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-28T04:04:42.634Z] [2022-04-28T04:04:42.634Z] Login Succeeded [2022-04-28T04:04:42.895Z] nexus3.edgexfoundry.org:10004 [2022-04-28T04:04:42.896Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-28T04:04:42.896Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-28T04:04:42.896Z] Configure a credential helper to remove this warning. See [2022-04-28T04:04:42.896Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-28T04:04:42.896Z] [2022-04-28T04:04:42.896Z] Login Succeeded [2022-04-28T04:04:42.896Z] docker.io [2022-04-28T04:04:42.896Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-28T04:04:43.472Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-28T04:04:43.472Z] Configure a credential helper to remove this warning. See [2022-04-28T04:04:43.472Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-28T04:04:43.472Z] [2022-04-28T04:04:43.472Z] Login Succeeded [2022-04-28T04:04:43.472Z] ---> docker-login.sh ends [Pipeline] } [2022-04-28T04:04:43.501Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-04-28T04:04:44.091Z] + git rev-list -1 --merges 4cf2791c17b41d9df5fa4690483be713d67a3f20~1..4cf2791c17b41d9df5fa4690483be713d67a3f20 [Pipeline] echo [2022-04-28T04:04:44.219Z] -----------> git rev-list -1 --merges 4cf2791c17b41d9df5fa4690483be713d67a3f20~1..4cf2791c17b41d9df5fa4690483be713d67a3f20 4cf2791c17b41d9df5fa4690483be713d67a3f20 [false] [Pipeline] sh [2022-04-28T04:04:44.531Z] + git log --format=format:%s -1 4cf2791c17b41d9df5fa4690483be713d67a3f20 [Pipeline] echo [2022-04-28T04:04:44.564Z] ========================================================= [2022-04-28T04:04:44.564Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-04-28T04:04:44.564Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-28T04:04:45.011Z] + git log --format=format:%s -1 4cf2791c17b41d9df5fa4690483be713d67a3f20 [Pipeline] echo [2022-04-28T04:04:45.045Z] [semverPrep] GIT_COMMIT: 4cf2791c17b41d9df5fa4690483be713d67a3f20, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2 [Pipeline] echo [2022-04-28T04:04:45.079Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-04-28T04:04:45.537Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-28T04:04:45.537Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-04-28T04:04:45.537Z] + [ -e /tmp/ssh_known_hosts ] [2022-04-28T04:04:45.537Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-04-28T04:04:45.537Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-04-28T04:04:45.537Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-04-28T04:04:45.538Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-28T04:04:45.998Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-04-28T04:04:45.998Z] [2022-04-28T04:04:45.998Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-04-28T04:04:46.344Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-04-28T04:04:46.345Z] latest: Pulling from edgex-devops/py-git-semver [2022-04-28T04:04:46.345Z] 1fe172e4850f: Pulling fs layer [2022-04-28T04:04:46.345Z] caf521ccaac6: Pulling fs layer [2022-04-28T04:04:46.345Z] 3ead6fa29328: Pulling fs layer [2022-04-28T04:04:46.345Z] 5c2a1cbceb83: Pulling fs layer [2022-04-28T04:04:46.345Z] a8d5f1318db7: Pulling fs layer [2022-04-28T04:04:46.345Z] c427282e49a2: Pulling fs layer [2022-04-28T04:04:46.345Z] 1827001aaf11: Pulling fs layer [2022-04-28T04:04:46.345Z] 0714d37db230: Pulling fs layer [2022-04-28T04:04:46.345Z] ac28cf19c067: Pulling fs layer [2022-04-28T04:04:46.345Z] ca983d60f3e2: Pulling fs layer [2022-04-28T04:04:46.345Z] 9f894cec8388: Pulling fs layer [2022-04-28T04:04:46.345Z] 5c2a1cbceb83: Waiting [2022-04-28T04:04:46.345Z] 0714d37db230: Waiting [2022-04-28T04:04:46.345Z] a8d5f1318db7: Waiting [2022-04-28T04:04:46.345Z] c427282e49a2: Waiting [2022-04-28T04:04:46.345Z] ac28cf19c067: Waiting [2022-04-28T04:04:46.345Z] 1827001aaf11: Waiting [2022-04-28T04:04:46.345Z] ca983d60f3e2: Waiting [2022-04-28T04:04:46.345Z] 9f894cec8388: Waiting [2022-04-28T04:04:46.345Z] caf521ccaac6: Download complete [2022-04-28T04:04:46.345Z] 5c2a1cbceb83: Download complete [2022-04-28T04:04:46.345Z] a8d5f1318db7: Verifying Checksum [2022-04-28T04:04:46.345Z] a8d5f1318db7: Download complete [2022-04-28T04:04:46.609Z] c427282e49a2: Download complete [2022-04-28T04:04:46.609Z] 3ead6fa29328: Verifying Checksum [2022-04-28T04:04:46.609Z] 3ead6fa29328: Download complete [2022-04-28T04:04:46.609Z] 0714d37db230: Verifying Checksum [2022-04-28T04:04:46.609Z] 0714d37db230: Download complete [2022-04-28T04:04:46.609Z] ac28cf19c067: Verifying Checksum [2022-04-28T04:04:46.609Z] ac28cf19c067: Download complete [2022-04-28T04:04:46.609Z] ca983d60f3e2: Verifying Checksum [2022-04-28T04:04:46.609Z] ca983d60f3e2: Download complete [2022-04-28T04:04:46.609Z] 9f894cec8388: Download complete [2022-04-28T04:04:46.609Z] 1fe172e4850f: Download complete [2022-04-28T04:04:46.871Z] 1827001aaf11: Verifying Checksum [2022-04-28T04:04:46.871Z] 1827001aaf11: Download complete [2022-04-28T04:04:48.255Z] 1fe172e4850f: Pull complete [2022-04-28T04:04:48.255Z] caf521ccaac6: Pull complete [2022-04-28T04:04:48.830Z] 3ead6fa29328: Pull complete [2022-04-28T04:04:48.830Z] 5c2a1cbceb83: Pull complete [2022-04-28T04:04:49.093Z] a8d5f1318db7: Pull complete [2022-04-28T04:04:49.355Z] c427282e49a2: Pull complete [2022-04-28T04:04:51.266Z] 1827001aaf11: Pull complete [2022-04-28T04:04:51.266Z] 0714d37db230: Pull complete [2022-04-28T04:04:51.266Z] ac28cf19c067: Pull complete [2022-04-28T04:04:51.528Z] ca983d60f3e2: Pull complete [2022-04-28T04:04:51.528Z] 9f894cec8388: Pull complete [2022-04-28T04:04:51.528Z] Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee [2022-04-28T04:04:51.528Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-04-28T04:04:51.528Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] withDockerContainer [2022-04-28T04:04:51.621Z] prd-ubuntu20.04-docker-8c-8g-33617 does not seem to be running inside a container [2022-04-28T04:04:51.664Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1149 -v /w/workspace/gexfoundry_device-sdk-go_PR-1149:/w/workspace/gexfoundry_device-sdk-go_PR-1149:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1149@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1149@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat [2022-04-28T04:04:53.043Z] $ docker top 6b9c04b11e1f90a1f70f1d2dd6ffb3e6fcdd4e6c75086ac4f069d7f41784705d -eo pid,comm [2022-04-28T04:04:53.112Z] 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-04-28T04:04:53.112Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-28T04:04:53.238Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-28T04:04:53.238Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-28T04:04:53.380Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-28T04:04:53.386Z] $ docker exec 6b9c04b11e1f90a1f70f1d2dd6ffb3e6fcdd4e6c75086ac4f069d7f41784705d ssh-agent [2022-04-28T04:04:53.521Z] SSH_AUTH_SOCK=/tmp/ssh-VVSDrcNEFXOR/agent.33 [2022-04-28T04:04:53.521Z] SSH_AGENT_PID=39 [2022-04-28T04:04:53.528Z] Running ssh-add (command line suppressed) [2022-04-28T04:04:53.639Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1149@tmp/private_key_4845820818281334929.key (/w/workspace/gexfoundry_device-sdk-go_PR-1149@tmp/private_key_4845820818281334929.key) [2022-04-28T04:04:53.652Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-28T04:04:53.993Z] + git tag --points-at HEAD [Pipeline] } [2022-04-28T04:04:54.019Z] $ docker exec --env ******** --env ******** 6b9c04b11e1f90a1f70f1d2dd6ffb3e6fcdd4e6c75086ac4f069d7f41784705d ssh-agent -k [2022-04-28T04:04:54.131Z] unset SSH_AUTH_SOCK; [2022-04-28T04:04:54.131Z] unset SSH_AGENT_PID; [2022-04-28T04:04:54.131Z] echo Agent pid 39 killed; [2022-04-28T04:04:54.142Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-04-28T04:04:54.230Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-28T04:04:54.231Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-28T04:04:54.383Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-28T04:04:54.389Z] $ docker exec 6b9c04b11e1f90a1f70f1d2dd6ffb3e6fcdd4e6c75086ac4f069d7f41784705d ssh-agent [2022-04-28T04:04:54.516Z] SSH_AUTH_SOCK=/tmp/ssh-LmTffr0Jm3Pw/agent.72 [2022-04-28T04:04:54.516Z] SSH_AGENT_PID=79 [2022-04-28T04:04:54.522Z] Running ssh-add (command line suppressed) [2022-04-28T04:04:54.651Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1149@tmp/private_key_2413911210794220751.key (/w/workspace/gexfoundry_device-sdk-go_PR-1149@tmp/private_key_2413911210794220751.key) [2022-04-28T04:04:54.664Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-28T04:04:55.008Z] + git semver init [2022-04-28T04:04:55.271Z] 2022-04-28 04:04:55,252 [run_init] DEBUG init version:0.0.0 force:False [2022-04-28T04:04:55.271Z] 2022-04-28 04:04:55,253 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1149/.semver [2022-04-28T04:04:55.271Z] 2022-04-28 04:04:55,253 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1149/.semver [2022-04-28T04:04:55.271Z] 2022-04-28 04:04:55,253 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1149/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1149, universal_newlines=False, shell=None, istream=None) [2022-04-28T04:04:56.213Z] 2022-04-28 04:04:56,118 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1149/.git/info/exclude [2022-04-28T04:04:56.213Z] 2022-04-28 04:04:56,119 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1149/.semver/PR-1149 with force:False [2022-04-28T04:04:56.213Z] 2022-04-28 04:04:56,119 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1149/.semver/PR-1149 [2022-04-28T04:04:56.213Z] 2022-04-28 04:04:56,123 [execute] INFO git cat-file --batch-check [2022-04-28T04:04:56.213Z] 2022-04-28 04:04:56,124 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1149/.semver, universal_newlines=False, shell=None, istream=) [2022-04-28T04:04:56.213Z] 2022-04-28 04:04:56,130 [execute] INFO git cat-file --batch [2022-04-28T04:04:56.213Z] 2022-04-28 04:04:56,131 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1149/.semver, universal_newlines=False, shell=None, istream=) [2022-04-28T04:04:56.213Z] 2022-04-28 04:04:56,136 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1149/.semver/PR-1149 [2022-04-28T04:04:56.213Z] 0.0.0 [Pipeline] } [2022-04-28T04:04:56.242Z] $ docker exec --env ******** --env ******** 6b9c04b11e1f90a1f70f1d2dd6ffb3e6fcdd4e6c75086ac4f069d7f41784705d ssh-agent -k [2022-04-28T04:04:56.357Z] unset SSH_AUTH_SOCK; [2022-04-28T04:04:56.357Z] unset SSH_AGENT_PID; [2022-04-28T04:04:56.357Z] echo Agent pid 79 killed; [2022-04-28T04:04:56.366Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-28T04:04:56.792Z] + git semver [Pipeline] } [2022-04-28T04:04:57.081Z] $ docker stop --time=1 6b9c04b11e1f90a1f70f1d2dd6ffb3e6fcdd4e6c75086ac4f069d7f41784705d [2022-04-28T04:04:58.539Z] $ docker rm -f 6b9c04b11e1f90a1f70f1d2dd6ffb3e6fcdd4e6c75086ac4f069d7f41784705d [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-28T04:04:58.972Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-04-28T04:04:59.272Z] Stashed 1 file(s) [Pipeline] echo [2022-04-28T04:04:59.289Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-28T04:04:59.882Z] provisioning config files... [2022-04-28T04:04:59.894Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1149@tmp/config1276048707130972067tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-28T04:05:00.242Z] ---> docker-login.sh [2022-04-28T04:05:00.242Z] nexus3.edgexfoundry.org:10001 [2022-04-28T04:05:00.242Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-28T04:05:00.242Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-28T04:05:00.242Z] Configure a credential helper to remove this warning. See [2022-04-28T04:05:00.242Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-28T04:05:00.242Z] [2022-04-28T04:05:00.242Z] Login Succeeded [2022-04-28T04:05:00.242Z] nexus3.edgexfoundry.org:10002 [2022-04-28T04:05:00.242Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-28T04:05:00.502Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-28T04:05:00.502Z] Configure a credential helper to remove this warning. See [2022-04-28T04:05:00.502Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-28T04:05:00.502Z] [2022-04-28T04:05:00.502Z] Login Succeeded [2022-04-28T04:05:00.502Z] nexus3.edgexfoundry.org:10003 [2022-04-28T04:05:00.502Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-28T04:05:00.502Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-28T04:05:00.502Z] Configure a credential helper to remove this warning. See [2022-04-28T04:05:00.502Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-28T04:05:00.502Z] [2022-04-28T04:05:00.502Z] Login Succeeded [2022-04-28T04:05:00.502Z] nexus3.edgexfoundry.org:10004 [2022-04-28T04:05:00.763Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-28T04:05:00.763Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-28T04:05:00.763Z] Configure a credential helper to remove this warning. See [2022-04-28T04:05:00.763Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-28T04:05:00.763Z] [2022-04-28T04:05:00.763Z] Login Succeeded [2022-04-28T04:05:00.763Z] docker.io [2022-04-28T04:05:00.763Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-28T04:05:01.024Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-28T04:05:01.024Z] Configure a credential helper to remove this warning. See [2022-04-28T04:05:01.024Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-28T04:05:01.024Z] [2022-04-28T04:05:01.024Z] Login Succeeded [2022-04-28T04:05:01.024Z] ---> docker-login.sh ends [Pipeline] } [2022-04-28T04:05:01.057Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-28T04:05:01.258Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-28T04:05:01.287Z] ========================================================= [2022-04-28T04:05:01.287Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-04-28T04:05:01.287Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-28T04:05:01.689Z] + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-04-28T04:05:01.690Z] Sending build context to Docker daemon 9.673MB [2022-04-28T04:05:01.690Z] Step 1/11 : ARG BASE=golang:1.17-alpine3.15 [2022-04-28T04:05:01.690Z] Step 2/11 : FROM ${BASE} AS builder [2022-04-28T04:05:01.953Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-04-28T04:05:01.953Z] 59bf1c3509f3: Pulling fs layer [2022-04-28T04:05:01.953Z] 666ba61612fd: Pulling fs layer [2022-04-28T04:05:01.953Z] 8ed8ca486205: Pulling fs layer [2022-04-28T04:05:01.953Z] 4fe6c5a15a65: Pulling fs layer [2022-04-28T04:05:01.953Z] 22a0e8bec74d: Pulling fs layer [2022-04-28T04:05:01.953Z] ca2b28591e48: Pulling fs layer [2022-04-28T04:05:01.953Z] a51346096db8: Pulling fs layer [2022-04-28T04:05:01.953Z] daebc70d1ce1: Pulling fs layer [2022-04-28T04:05:01.953Z] 0e18a0eac166: Pulling fs layer [2022-04-28T04:05:01.953Z] 22a0e8bec74d: Waiting [2022-04-28T04:05:01.953Z] a51346096db8: Waiting [2022-04-28T04:05:01.953Z] daebc70d1ce1: Waiting [2022-04-28T04:05:01.953Z] 4fe6c5a15a65: Waiting [2022-04-28T04:05:01.953Z] ca2b28591e48: Waiting [2022-04-28T04:05:01.953Z] 0e18a0eac166: Waiting [2022-04-28T04:05:01.953Z] 8ed8ca486205: Verifying Checksum [2022-04-28T04:05:01.953Z] 8ed8ca486205: Download complete [2022-04-28T04:05:01.953Z] 666ba61612fd: Verifying Checksum [2022-04-28T04:05:01.953Z] 666ba61612fd: Download complete [2022-04-28T04:05:01.953Z] 22a0e8bec74d: Download complete [2022-04-28T04:05:01.953Z] ca2b28591e48: Verifying Checksum [2022-04-28T04:05:01.953Z] ca2b28591e48: Download complete [2022-04-28T04:05:01.953Z] 59bf1c3509f3: Verifying Checksum [2022-04-28T04:05:01.953Z] 59bf1c3509f3: Download complete [2022-04-28T04:05:01.953Z] a51346096db8: Verifying Checksum [2022-04-28T04:05:01.953Z] a51346096db8: Download complete [2022-04-28T04:05:01.953Z] daebc70d1ce1: Verifying Checksum [2022-04-28T04:05:01.953Z] daebc70d1ce1: Download complete [2022-04-28T04:05:01.953Z] 59bf1c3509f3: Pull complete [2022-04-28T04:05:02.223Z] 666ba61612fd: Pull complete [2022-04-28T04:05:02.223Z] 8ed8ca486205: Pull complete [2022-04-28T04:05:02.483Z] 0e18a0eac166: Verifying Checksum [2022-04-28T04:05:02.484Z] 0e18a0eac166: Download complete [2022-04-28T04:05:02.745Z] 4fe6c5a15a65: Verifying Checksum [2022-04-28T04:05:02.745Z] 4fe6c5a15a65: Download complete [2022-04-28T04:05:06.940Z] 4fe6c5a15a65: Pull complete [2022-04-28T04:05:06.940Z] 22a0e8bec74d: Pull complete [2022-04-28T04:05:06.940Z] ca2b28591e48: Pull complete [2022-04-28T04:05:06.940Z] a51346096db8: Pull complete [2022-04-28T04:05:06.940Z] daebc70d1ce1: Pull complete [2022-04-28T04:05:09.484Z] 0e18a0eac166: Pull complete [2022-04-28T04:05:09.484Z] Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 [2022-04-28T04:05:09.484Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-04-28T04:05:09.484Z] ---> f018257e8ee9 [2022-04-28T04:05:09.484Z] Step 3/11 : ARG MAKE=make build [2022-04-28T04:05:10.427Z] ---> Running in cf845b2cbf9c [2022-04-28T04:05:10.688Z] Removing intermediate container cf845b2cbf9c [2022-04-28T04:05:10.688Z] ---> 59283201ac47 [2022-04-28T04:05:10.688Z] Step 4/11 : WORKDIR /device-sdk-go [2022-04-28T04:05:10.688Z] ---> Running in 59d002bfdbcf [2022-04-28T04:05:10.688Z] Removing intermediate container 59d002bfdbcf [2022-04-28T04:05:10.688Z] ---> 05fa8a2e84b1 [2022-04-28T04:05:10.688Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-04-28T04:05:10.688Z] ---> Running in cc63ba4b484c [2022-04-28T04:05:10.948Z] Removing intermediate container cc63ba4b484c [2022-04-28T04:05:10.948Z] ---> 9e7f5372ba81 [2022-04-28T04:05:10.948Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-28T04:05:10.948Z] ---> Running in 0680ce5b5032 [2022-04-28T04:05:11.520Z] Removing intermediate container 0680ce5b5032 [2022-04-28T04:05:11.520Z] ---> 518af22dfa80 [2022-04-28T04:05:11.520Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-04-28T04:05:11.520Z] ---> Running in 0523fd3fcc55 [2022-04-28T04:05:11.780Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-28T04:05:12.721Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-28T04:05:12.982Z] OK: 221 MiB in 52 packages [2022-04-28T04:05:13.243Z] Removing intermediate container 0523fd3fcc55 [2022-04-28T04:05:13.243Z] ---> 044bcfbae971 [2022-04-28T04:05:13.243Z] Step 8/11 : COPY go.mod vendor* ./ [2022-04-28T04:05:13.505Z] ---> 6929fcd2a363 [2022-04-28T04:05:13.505Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-28T04:05:13.505Z] ---> Running in 9d7afd5b5ef5 [2022-04-28T04:05:14.697Z] Still waiting to schedule task [2022-04-28T04:05:14.697Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-04-28T04:05:28.419Z] Removing intermediate container 9d7afd5b5ef5 [2022-04-28T04:05:28.419Z] ---> 01088cb2b19b [2022-04-28T04:05:28.419Z] Step 10/11 : COPY . . [2022-04-28T04:05:28.419Z] ---> 3728279217ef [2022-04-28T04:05:28.419Z] Step 11/11 : RUN ${MAKE} [2022-04-28T04:05:28.419Z] ---> Running in cc72a259476f [2022-04-28T04:05:28.419Z] noop [2022-04-28T04:05:28.419Z] Removing intermediate container cc72a259476f [2022-04-28T04:05:28.419Z] ---> 769d639a81fc [2022-04-28T04:05:28.419Z] Successfully built 769d639a81fc [2022-04-28T04:05:28.419Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-28T04:05:28.749Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-28T04:05:28.749Z] . [Pipeline] withDockerContainer [2022-04-28T04:05:28.839Z] prd-ubuntu20.04-docker-8c-8g-33617 does not seem to be running inside a container [2022-04-28T04:05:28.877Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1149 -v /w/workspace/gexfoundry_device-sdk-go_PR-1149:/w/workspace/gexfoundry_device-sdk-go_PR-1149:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1149@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1149@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 ******** ci-base-image-x86_64 cat [2022-04-28T04:05:29.246Z] $ docker top 79c2e78287bc646dda65db5c49a402d57c310c46c0e9da666eda7f14aca2080d -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-28T04:05:29.647Z] + go version [2022-04-28T04:05:29.648Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-04-28T04:05:29.681Z] $ docker stop --time=1 79c2e78287bc646dda65db5c49a402d57c310c46c0e9da666eda7f14aca2080d [2022-04-28T04:05:30.980Z] $ docker rm -f 79c2e78287bc646dda65db5c49a402d57c310c46c0e9da666eda7f14aca2080d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-28T04:05:31.645Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-28T04:05:31.645Z] . [Pipeline] withDockerContainer [2022-04-28T04:05:31.743Z] prd-ubuntu20.04-docker-8c-8g-33617 does not seem to be running inside a container [2022-04-28T04:05:31.793Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1149 -v /w/workspace/gexfoundry_device-sdk-go_PR-1149:/w/workspace/gexfoundry_device-sdk-go_PR-1149:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1149@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1149@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 ******** ci-base-image-x86_64 cat [2022-04-28T04:05:32.164Z] $ docker top 2e333cc966fb4038cd5d4da70a069d90bbefaba1be37ae6daaed096a6b38be5b -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-28T04:05:32.655Z] + make test [2022-04-28T04:05:32.655Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-04-28T04:05:37.987Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-04-28T04:05:50.200Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-04-28T04:05:50.200Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-04-28T04:05:50.200Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-04-28T04:05:50.200Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.082s coverage: 23.3% of statements [2022-04-28T04:05:50.200Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-04-28T04:05:50.200Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.057s coverage: 27.6% of statements [2022-04-28T04:05:50.200Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.074s coverage: 78.9% of statements [2022-04-28T04:05:50.200Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.080s coverage: 10.8% of statements [2022-04-28T04:05:50.200Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.083s coverage: 60.0% of statements [2022-04-28T04:05:50.200Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-04-28T04:05:50.200Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-04-28T04:05:50.459Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.090s coverage: 34.8% of statements [2022-04-28T04:05:50.459Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-04-28T04:05:51.402Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.060s coverage: 86.1% of statements [2022-04-28T04:05:51.402Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-04-28T04:05:51.402Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-04-28T04:05:51.402Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.100s coverage: 65.1% of statements [2022-04-28T04:05:51.402Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.774s coverage: 89.2% of statements [2022-04-28T04:05:51.402Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-04-28T04:05:51.402Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.067s coverage: 4.7% of statements [2022-04-28T04:05:51.402Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-04-28T04:06:06.301Z] GO111MODULE=on go vet ./... [2022-04-28T04:06:09.596Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-28T04:06:09.596Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-28T04:06:09.596Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-04-28T04:06:10.197Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-04-28T04:06:10.229Z] $ docker stop --time=1 2e333cc966fb4038cd5d4da70a069d90bbefaba1be37ae6daaed096a6b38be5b [2022-04-28T04:06:12.404Z] $ docker rm -f 2e333cc966fb4038cd5d4da70a069d90bbefaba1be37ae6daaed096a6b38be5b [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-28T04:06:12.943Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-04-28T04:06:13.031Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-04-28T04:06:13.856Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-04-28T04:06:14.174Z] + ls -al . [2022-04-28T04:06:14.174Z] total 316 [2022-04-28T04:06:14.174Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 28 04:06 . [2022-04-28T04:06:14.174Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 28 04:04 .. [2022-04-28T04:06:14.174Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 28 04:04 .dockerignore [2022-04-28T04:06:14.174Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 28 04:04 .git [2022-04-28T04:06:14.174Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 28 04:04 .github [2022-04-28T04:06:14.174Z] -rw-rw-r-- 1 jenkins jenkins 131 Apr 28 04:04 .gitignore [2022-04-28T04:06:14.174Z] -rw-rw-r-- 1 jenkins jenkins 42 Apr 28 04:04 .golangci.yml [2022-04-28T04:06:14.174Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 28 04:04 .semver [2022-04-28T04:06:14.174Z] -rw-rw-r-- 1 jenkins jenkins 26321 Apr 28 04:04 CHANGELOG.md [2022-04-28T04:06:14.174Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 28 04:04 GOVERNANCE.md [2022-04-28T04:06:14.174Z] -rw-rw-r-- 1 jenkins jenkins 880 Apr 28 04:04 Jenkinsfile [2022-04-28T04:06:14.174Z] -rw-rw-r-- 1 jenkins jenkins 11341 Apr 28 04:04 LICENSE [2022-04-28T04:06:14.174Z] -rw-rw-r-- 1 jenkins jenkins 2015 Apr 28 04:04 Makefile [2022-04-28T04:06:14.174Z] -rw-rw-r-- 1 jenkins jenkins 619 Apr 28 04:04 OWNERS.md [2022-04-28T04:06:14.174Z] -rw-rw-r-- 1 jenkins jenkins 4881 Apr 28 04:04 README.md [2022-04-28T04:06:14.174Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 28 04:04 VERSION [2022-04-28T04:06:14.174Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 28 04:04 bin [2022-04-28T04:06:14.174Z] -rw-r--r-- 1 jenkins jenkins 130819 Apr 28 04:05 coverage.out [2022-04-28T04:06:14.174Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 28 04:04 example [2022-04-28T04:06:14.174Z] -rw-rw-r-- 1 jenkins jenkins 3198 Apr 28 04:04 go.mod [2022-04-28T04:06:14.174Z] -rw-rw-r-- 1 jenkins jenkins 53758 Apr 28 04:04 go.sum [2022-04-28T04:06:14.174Z] drwxrwxr-x 15 jenkins jenkins 4096 Apr 28 04:04 internal [2022-04-28T04:06:14.174Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 28 04:04 openapi [2022-04-28T04:06:14.174Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 28 04:04 pkg [2022-04-28T04:06:14.174Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 28 04:04 snap [2022-04-28T04:06:14.174Z] -rw-rw-r-- 1 jenkins jenkins 222 Apr 28 04:04 version.go [Pipeline] isUnix [Pipeline] sh [2022-04-28T04:06:14.508Z] + 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=4cf2791c17b41d9df5fa4690483be713d67a3f20 --label arch=amd64 --label version=0.0.0 . [2022-04-28T04:06:14.508Z] Sending build context to Docker daemon 9.805MB [2022-04-28T04:06:14.508Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-04-28T04:06:14.508Z] Step 2/25 : FROM ${BASE} AS builder [2022-04-28T04:06:14.508Z] ---> 769d639a81fc [2022-04-28T04:06:14.508Z] Step 3/25 : ARG MAKE=make build [2022-04-28T04:06:14.767Z] ---> Running in 79c27f822570 [2022-04-28T04:06:14.767Z] Removing intermediate container 79c27f822570 [2022-04-28T04:06:14.767Z] ---> 8f44d7440380 [2022-04-28T04:06:14.767Z] Step 4/25 : WORKDIR /device-sdk-go [2022-04-28T04:06:14.767Z] ---> Running in 85a4632bb53d [2022-04-28T04:06:14.767Z] Removing intermediate container 85a4632bb53d [2022-04-28T04:06:14.767Z] ---> 8021379342a9 [2022-04-28T04:06:14.767Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-04-28T04:06:15.026Z] ---> Running in 3731dfb92afa [2022-04-28T04:06:15.026Z] Removing intermediate container 3731dfb92afa [2022-04-28T04:06:15.026Z] ---> c5b1a622afce [2022-04-28T04:06:15.026Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-28T04:06:15.026Z] ---> Running in 5aa33e99fa00 [2022-04-28T04:06:15.596Z] Removing intermediate container 5aa33e99fa00 [2022-04-28T04:06:15.596Z] ---> b88d4b13a999 [2022-04-28T04:06:15.596Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-04-28T04:06:15.596Z] ---> Running in 192c4fc311ed [2022-04-28T04:06:15.857Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-28T04:06:16.800Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-28T04:06:17.062Z] OK: 221 MiB in 52 packages [2022-04-28T04:06:17.323Z] Removing intermediate container 192c4fc311ed [2022-04-28T04:06:17.323Z] ---> bbaf683d8301 [2022-04-28T04:06:17.323Z] Step 8/25 : COPY go.mod vendor* ./ [2022-04-28T04:06:17.323Z] ---> 8c38863d7cf2 [2022-04-28T04:06:17.323Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-28T04:06:17.585Z] ---> Running in b361f16d2e9f [2022-04-28T04:06:18.157Z] Removing intermediate container b361f16d2e9f [2022-04-28T04:06:18.157Z] ---> 7e4dc79cc482 [2022-04-28T04:06:18.157Z] Step 10/25 : COPY . . [2022-04-28T04:06:18.420Z] ---> 037a2ff31467 [2022-04-28T04:06:18.420Z] Step 11/25 : RUN ${MAKE} [2022-04-28T04:06:18.420Z] ---> Running in c0d4abceacc4 [2022-04-28T04:06:18.681Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2022-04-28T04:06:36.793Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-04-28T04:06:37.735Z] Removing intermediate container c0d4abceacc4 [2022-04-28T04:06:37.735Z] ---> 11bf0753efa3 [2022-04-28T04:06:37.735Z] Step 12/25 : FROM alpine:3.14 [2022-04-28T04:06:38.674Z] 3.14: Pulling from library/alpine [2022-04-28T04:06:38.674Z] 8663204ce13b: Pulling fs layer [2022-04-28T04:06:38.674Z] 8663204ce13b: Verifying Checksum [2022-04-28T04:06:38.674Z] 8663204ce13b: Download complete [2022-04-28T04:06:38.934Z] 8663204ce13b: Pull complete [2022-04-28T04:06:38.934Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-04-28T04:06:38.934Z] Status: Downloaded newer image for alpine:3.14 [2022-04-28T04:06:38.934Z] ---> e04c818066af [2022-04-28T04:06:38.934Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-04-28T04:06:38.934Z] ---> Running in 4a5fbd4c0754 [2022-04-28T04:06:38.934Z] Removing intermediate container 4a5fbd4c0754 [2022-04-28T04:06:38.934Z] ---> 25fe67abd35c [2022-04-28T04:06:38.934Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-28T04:06:39.195Z] ---> Running in b86978363f24 [2022-04-28T04:06:39.765Z] Removing intermediate container b86978363f24 [2022-04-28T04:06:39.765Z] ---> 6301ff0121eb [2022-04-28T04:06:39.765Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-04-28T04:06:39.765Z] ---> Running in e400c31e45b8 [2022-04-28T04:06:39.765Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-04-28T04:06:40.707Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-04-28T04:06:40.967Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2022-04-28T04:06:40.967Z] (2/5) Installing libsodium (1.0.18-r0) [2022-04-28T04:06:41.226Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2022-04-28T04:06:41.226Z] (4/5) Installing libzmq (4.3.4-r0) [2022-04-28T04:06:41.487Z] (5/5) Installing zeromq (4.3.4-r0) [2022-04-28T04:06:41.487Z] Executing busybox-1.33.1-r7.trigger [2022-04-28T04:06:41.487Z] OK: 8 MiB in 19 packages [2022-04-28T04:06:41.748Z] Removing intermediate container e400c31e45b8 [2022-04-28T04:06:41.748Z] ---> 94de791bc1f6 [2022-04-28T04:06:41.748Z] Step 16/25 : WORKDIR / [2022-04-28T04:06:42.008Z] ---> Running in 310b54b6c2e5 [2022-04-28T04:06:42.008Z] Removing intermediate container 310b54b6c2e5 [2022-04-28T04:06:42.008Z] ---> 98d35f05c603 [2022-04-28T04:06:42.008Z] Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-04-28T04:06:42.270Z] ---> 223fd1486f71 [2022-04-28T04:06:42.270Z] Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-04-28T04:06:42.839Z] ---> 8f3850cace6d [2022-04-28T04:06:42.839Z] Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-04-28T04:06:43.099Z] ---> 520bf1a9efb2 [2022-04-28T04:06:43.099Z] Step 20/25 : EXPOSE 59999 [2022-04-28T04:06:43.099Z] ---> Running in 2dc40bc2a4bc [2022-04-28T04:06:43.099Z] Removing intermediate container 2dc40bc2a4bc [2022-04-28T04:06:43.099Z] ---> 2f3f2033297c [2022-04-28T04:06:43.099Z] Step 21/25 : ENTRYPOINT ["/device-simple"] [2022-04-28T04:06:43.099Z] ---> Running in 313645942c23 [2022-04-28T04:06:43.358Z] Removing intermediate container 313645942c23 [2022-04-28T04:06:43.358Z] ---> 40561945d693 [2022-04-28T04:06:43.358Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-04-28T04:06:43.358Z] ---> Running in 76eb3a44e787 [2022-04-28T04:06:43.358Z] Removing intermediate container 76eb3a44e787 [2022-04-28T04:06:43.358Z] ---> faec09a79795 [2022-04-28T04:06:43.358Z] Step 23/25 : LABEL arch=amd64 [2022-04-28T04:06:43.358Z] ---> Running in a84ca1002d0c [2022-04-28T04:06:43.617Z] Removing intermediate container a84ca1002d0c [2022-04-28T04:06:43.617Z] ---> 5f4f76759f6e [2022-04-28T04:06:43.617Z] Step 24/25 : LABEL git_sha=4cf2791c17b41d9df5fa4690483be713d67a3f20 [2022-04-28T04:06:43.617Z] ---> Running in 09b4546f29cd [2022-04-28T04:06:43.617Z] Removing intermediate container 09b4546f29cd [2022-04-28T04:06:43.617Z] ---> e2b0ce06c9ef [2022-04-28T04:06:43.617Z] Step 25/25 : LABEL version=0.0.0 [2022-04-28T04:06:43.617Z] ---> Running in 10cf4ade06c6 [2022-04-28T04:06:43.879Z] Removing intermediate container 10cf4ade06c6 [2022-04-28T04:06:43.879Z] ---> e0514f62447e [2022-04-28T04:06:43.879Z] [Warning] One or more build-args [ARCH] were not consumed [2022-04-28T04:06:43.879Z] Successfully built e0514f62447e [2022-04-28T04:06:43.879Z] Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-28T04:06:44.586Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-28T04:06:44.587Z] [2022-04-28T04:06:44.587Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-04-28T04:06:44.924Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-28T04:06:44.924Z] latest: Pulling from edgex-lftools-log-publisher [2022-04-28T04:06:44.924Z] 5eb5b503b376: Pulling fs layer [2022-04-28T04:06:44.924Z] 5c69ac0246d0: Pulling fs layer [2022-04-28T04:06:44.924Z] ec43610c2a17: Pulling fs layer [2022-04-28T04:06:44.924Z] 3a2ae6a8a46f: Pulling fs layer [2022-04-28T04:06:44.924Z] 33b1e0a273af: Pulling fs layer [2022-04-28T04:06:44.924Z] 5d3b04190fa2: Pulling fs layer [2022-04-28T04:06:44.924Z] 2f39f015ded8: Pulling fs layer [2022-04-28T04:06:44.924Z] 33b1e0a273af: Waiting [2022-04-28T04:06:44.924Z] 5d3b04190fa2: Waiting [2022-04-28T04:06:44.924Z] 2f39f015ded8: Waiting [2022-04-28T04:06:44.924Z] 3a2ae6a8a46f: Waiting [2022-04-28T04:06:44.924Z] 5c69ac0246d0: Download complete [2022-04-28T04:06:44.924Z] 3a2ae6a8a46f: Verifying Checksum [2022-04-28T04:06:44.924Z] 3a2ae6a8a46f: Download complete [2022-04-28T04:06:44.924Z] 33b1e0a273af: Verifying Checksum [2022-04-28T04:06:44.924Z] 33b1e0a273af: Download complete [2022-04-28T04:06:44.924Z] ec43610c2a17: Verifying Checksum [2022-04-28T04:06:44.924Z] ec43610c2a17: Download complete [2022-04-28T04:06:44.924Z] 5d3b04190fa2: Verifying Checksum [2022-04-28T04:06:44.924Z] 5d3b04190fa2: Download complete [2022-04-28T04:06:45.184Z] 5eb5b503b376: Verifying Checksum [2022-04-28T04:06:45.184Z] 5eb5b503b376: Download complete [2022-04-28T04:06:45.752Z] 2f39f015ded8: Verifying Checksum [2022-04-28T04:06:45.752Z] 2f39f015ded8: Download complete [2022-04-28T04:06:46.317Z] 5eb5b503b376: Pull complete [2022-04-28T04:06:46.576Z] 5c69ac0246d0: Pull complete [2022-04-28T04:06:46.834Z] ec43610c2a17: Pull complete [2022-04-28T04:06:47.094Z] 3a2ae6a8a46f: Pull complete [2022-04-28T04:06:47.094Z] 33b1e0a273af: Pull complete [2022-04-28T04:06:47.354Z] 5d3b04190fa2: Pull complete [2022-04-28T04:06:48.009Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-33618 in /w/workspace/gexfoundry_device-sdk-go_PR-1149 [Pipeline] { [Pipeline] ws [2022-04-28T04:06:48.052Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2022-04-28T04:06:48.357Z] The recommended git tool is: git [2022-04-28T04:06:51.539Z] 2f39f015ded8: Pull complete [2022-04-28T04:06:51.539Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-04-28T04:06:51.539Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-28T04:06:51.539Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-04-28T04:06:51.628Z] prd-ubuntu20.04-docker-8c-8g-33617 does not seem to be running inside a container [2022-04-28T04:06:51.663Z] $ 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-1149 -v /w/workspace/gexfoundry_device-sdk-go_PR-1149:/w/workspace/gexfoundry_device-sdk-go_PR-1149:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1149@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1149@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-04-28T04:06:53.389Z] $ docker top 0f0a1ecde1a93c0c77d4203b3d6e7570577f3920f906b553afb02ce54da3186a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-28T04:06:53.894Z] ---> job-cost.sh [2022-04-28T04:06:53.894Z] lf-activate-venv: SKIPPING [2022-04-28T04:06:53.894Z] INFO: No Stack... [2022-04-28T04:06:54.463Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-28T04:06:54.475Z] using credential edgex-jenkins-ssh [2022-04-28T04:06:54.491Z] Cloning the remote Git repository [2022-04-28T04:06:54.727Z] INFO: Archiving Costs [Pipeline] sh [2022-04-28T04:06:54.546Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2022-04-28T04:06:54.620Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2022-04-28T04:06:54.701Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-04-28T04:06:54.702Z] > git --version # timeout=10 [2022-04-28T04:06:54.721Z] > git --version # 'git version 2.25.1' [2022-04-28T04:06:54.724Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-28T04:06:54.811Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-28T04:06:55.050Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1149/archives/cost.csv [2022-04-28T04:06:55.050Z] + cut -d, -f6 [Pipeline] lock [2022-04-28T04:06:55.093Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1149-1-stack-cost] [2022-04-28T04:06:55.098Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1149-1-stack-cost] did not exist. Created. [2022-04-28T04:06:55.098Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1149-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-28T04:06:55.492Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-04-28T04:06:55.548Z] Stashed 1 file(s) [Pipeline] } [2022-04-28T04:06:55.570Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1149-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-28T04:06:55.645Z] $ docker stop --time=1 0f0a1ecde1a93c0c77d4203b3d6e7570577f3920f906b553afb02ce54da3186a [2022-04-28T04:06:56.792Z] $ docker rm -f 0f0a1ecde1a93c0c77d4203b3d6e7570577f3920f906b553afb02ce54da3186a [Pipeline] // withDockerContainer [Pipeline] } [2022-04-28T04:06:56.927Z] Merging remotes/origin/main commit 99a726dbba9fddcd6b6c26c7337937a12db69607 into PR head commit 4cf2791c17b41d9df5fa4690483be713d67a3f20 [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-04-28T04:06:57.317Z] Merge succeeded, producing 4cf2791c17b41d9df5fa4690483be713d67a3f20 [2022-04-28T04:06:57.317Z] Checking out Revision 4cf2791c17b41d9df5fa4690483be713d67a3f20 (PR-1149) [2022-04-28T04:06:56.248Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-04-28T04:06:56.265Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-28T04:06:56.302Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-04-28T04:06:56.346Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-04-28T04:06:56.347Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-28T04:06:56.359Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1149/head:refs/remotes/origin/PR-1149 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-04-28T04:06:56.996Z] > git config core.sparsecheckout # timeout=10 [2022-04-28T04:06:57.038Z] > git checkout -f 4cf2791c17b41d9df5fa4690483be713d67a3f20 # timeout=10 [2022-04-28T04:06:57.173Z] > git remote # timeout=10 [2022-04-28T04:06:57.217Z] > git config --get remote.origin.url # timeout=10 [2022-04-28T04:06:57.242Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-28T04:06:57.264Z] > git merge 99a726dbba9fddcd6b6c26c7337937a12db69607 # timeout=10 [2022-04-28T04:06:57.304Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-04-28T04:06:57.329Z] > git config core.sparsecheckout # timeout=10 [2022-04-28T04:06:57.357Z] > git checkout -f 4cf2791c17b41d9df5fa4690483be713d67a3f20 # timeout=10 [2022-04-28T04:07:01.583Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2" [2022-04-28T04:07:01.647Z] > git --version # timeout=10 [2022-04-28T04:07:01.657Z] > git --version # 'git version 2.25.1' [2022-04-28T04:07:01.672Z] fatal: bad object 61d3a14f5ee21304eadc9c25f102bcac80e1a589 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-28T04:07:02.933Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-04-28T04:07:02.934Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-28T04:07:02.934Z] Dload Upload Total Spent Left Speed [2022-04-28T04:07:02.934Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 89719 0 --:--:-- --:--:-- --:--:-- 90404 [Pipeline] sh [2022-04-28T04:07:03.529Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-04-28T04:07:03.888Z] + sudo tee /etc/docker/daemon.new [2022-04-28T04:07:03.889Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-04-28T04:07:03.889Z] { [2022-04-28T04:07:03.889Z] "registry-mirrors": [ [2022-04-28T04:07:03.889Z] "https://nexus3.edgexfoundry.org:10001" [2022-04-28T04:07:03.889Z] ], [2022-04-28T04:07:03.889Z] "bip": "10.250.0.254/24", [2022-04-28T04:07:03.889Z] "hosts": [ [2022-04-28T04:07:03.889Z] "tcp://0.0.0.0:5555", [2022-04-28T04:07:03.889Z] "unix:///var/run/docker.sock" [2022-04-28T04:07:03.889Z] ], [2022-04-28T04:07:03.889Z] "mtu": 1458, [2022-04-28T04:07:03.889Z] "selinux-enabled": true, [2022-04-28T04:07:03.889Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-04-28T04:07:03.889Z] } [Pipeline] sh [2022-04-28T04:07:04.249Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-04-28T04:07:04.606Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-28T04:07:23.042Z] provisioning config files... [2022-04-28T04:07:23.069Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config7905762308684185400tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-28T04:07:23.731Z] ---> docker-login.sh [2022-04-28T04:07:23.731Z] nexus3.edgexfoundry.org:10001 [2022-04-28T04:07:24.328Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-28T04:07:24.602Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-28T04:07:24.602Z] Configure a credential helper to remove this warning. See [2022-04-28T04:07:24.602Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-28T04:07:24.602Z] [2022-04-28T04:07:24.602Z] Login Succeeded [2022-04-28T04:07:24.602Z] nexus3.edgexfoundry.org:10002 [2022-04-28T04:07:24.877Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-28T04:07:25.155Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-28T04:07:25.155Z] Configure a credential helper to remove this warning. See [2022-04-28T04:07:25.155Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-28T04:07:25.155Z] [2022-04-28T04:07:25.155Z] Login Succeeded [2022-04-28T04:07:25.155Z] nexus3.edgexfoundry.org:10003 [2022-04-28T04:07:25.442Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-28T04:07:25.442Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-28T04:07:25.442Z] Configure a credential helper to remove this warning. See [2022-04-28T04:07:25.442Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-28T04:07:25.442Z] [2022-04-28T04:07:25.442Z] Login Succeeded [2022-04-28T04:07:25.442Z] nexus3.edgexfoundry.org:10004 [2022-04-28T04:07:26.039Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-28T04:07:26.039Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-28T04:07:26.039Z] Configure a credential helper to remove this warning. See [2022-04-28T04:07:26.039Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-28T04:07:26.039Z] [2022-04-28T04:07:26.039Z] Login Succeeded [2022-04-28T04:07:26.039Z] docker.io [2022-04-28T04:07:26.312Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-28T04:07:26.585Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-28T04:07:26.585Z] Configure a credential helper to remove this warning. See [2022-04-28T04:07:26.585Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-28T04:07:26.585Z] [2022-04-28T04:07:26.585Z] Login Succeeded [2022-04-28T04:07:26.585Z] ---> docker-login.sh ends [Pipeline] } [2022-04-28T04:07:26.616Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-28T04:07:27.003Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-28T04:07:27.038Z] ========================================================= [2022-04-28T04:07:27.038Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-04-28T04:07:27.038Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-28T04:07:27.587Z] + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-04-28T04:07:28.195Z] Sending build context to Docker daemon 5.213MB [2022-04-28T04:07:28.195Z] Step 1/11 : ARG BASE=golang:1.17-alpine3.15 [2022-04-28T04:07:28.195Z] Step 2/11 : FROM ${BASE} AS builder [2022-04-28T04:07:28.195Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-04-28T04:07:28.195Z] 9b3977197b4f: Pulling fs layer [2022-04-28T04:07:28.195Z] 1a89e8eeedd5: Pulling fs layer [2022-04-28T04:07:28.195Z] 94645a83ff95: Pulling fs layer [2022-04-28T04:07:28.195Z] 3f3a8bcf1eab: Pulling fs layer [2022-04-28T04:07:28.195Z] 0c92f367c5e7: Pulling fs layer [2022-04-28T04:07:28.195Z] 3096ccb668a1: Pulling fs layer [2022-04-28T04:07:28.195Z] e8cf19c19ddd: Pulling fs layer [2022-04-28T04:07:28.195Z] a4caa8a26152: Pulling fs layer [2022-04-28T04:07:28.195Z] 3096ccb668a1: Waiting [2022-04-28T04:07:28.195Z] e8cf19c19ddd: Waiting [2022-04-28T04:07:28.195Z] 3f3a8bcf1eab: Waiting [2022-04-28T04:07:28.195Z] 0c92f367c5e7: Waiting [2022-04-28T04:07:28.195Z] a4caa8a26152: Waiting [2022-04-28T04:07:28.195Z] 94645a83ff95: Download complete [2022-04-28T04:07:28.195Z] 1a89e8eeedd5: Verifying Checksum [2022-04-28T04:07:28.195Z] 1a89e8eeedd5: Download complete [2022-04-28T04:07:28.195Z] 0c92f367c5e7: Verifying Checksum [2022-04-28T04:07:28.195Z] 0c92f367c5e7: Download complete [2022-04-28T04:07:28.195Z] 3096ccb668a1: Verifying Checksum [2022-04-28T04:07:28.195Z] 3096ccb668a1: Download complete [2022-04-28T04:07:28.471Z] 9b3977197b4f: Download complete [2022-04-28T04:07:28.471Z] e8cf19c19ddd: Verifying Checksum [2022-04-28T04:07:28.471Z] e8cf19c19ddd: Download complete [2022-04-28T04:07:29.077Z] 9b3977197b4f: Pull complete [2022-04-28T04:07:29.688Z] 1a89e8eeedd5: Pull complete [2022-04-28T04:07:30.294Z] 94645a83ff95: Pull complete [2022-04-28T04:07:30.294Z] a4caa8a26152: Download complete [2022-04-28T04:07:30.894Z] 3f3a8bcf1eab: Verifying Checksum [2022-04-28T04:07:30.894Z] 3f3a8bcf1eab: Download complete [2022-04-28T04:07:43.297Z] 3f3a8bcf1eab: Pull complete [2022-04-28T04:07:43.297Z] 0c92f367c5e7: Pull complete [2022-04-28T04:07:43.297Z] 3096ccb668a1: Pull complete [2022-04-28T04:07:43.571Z] e8cf19c19ddd: Pull complete [2022-04-28T04:07:50.301Z] a4caa8a26152: Pull complete [2022-04-28T04:07:50.301Z] Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 [2022-04-28T04:07:50.301Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-04-28T04:07:50.301Z] ---> 725f1c02e7f9 [2022-04-28T04:07:50.301Z] Step 3/11 : ARG MAKE=make build [2022-04-28T04:07:51.290Z] ---> Running in 6a843fcfce6a [2022-04-28T04:07:51.563Z] Removing intermediate container 6a843fcfce6a [2022-04-28T04:07:51.563Z] ---> ea37ee100996 [2022-04-28T04:07:51.563Z] Step 4/11 : WORKDIR /device-sdk-go [2022-04-28T04:07:51.563Z] ---> Running in c5080f03b88a [2022-04-28T04:07:51.841Z] Removing intermediate container c5080f03b88a [2022-04-28T04:07:51.841Z] ---> d1429b81a026 [2022-04-28T04:07:51.841Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-04-28T04:07:52.116Z] ---> Running in b10694ecba1e [2022-04-28T04:07:52.402Z] Removing intermediate container b10694ecba1e [2022-04-28T04:07:52.402Z] ---> 590cf3109f81 [2022-04-28T04:07:52.402Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-28T04:07:52.402Z] ---> Running in 1b84c372429e [2022-04-28T04:07:54.378Z] Removing intermediate container 1b84c372429e [2022-04-28T04:07:54.378Z] ---> cf0f872d0f9f [2022-04-28T04:07:54.378Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-04-28T04:07:54.378Z] ---> Running in 33305eda0a25 [2022-04-28T04:07:56.359Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-28T04:07:56.952Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-28T04:07:57.929Z] OK: 220 MiB in 52 packages [2022-04-28T04:07:58.528Z] Removing intermediate container 33305eda0a25 [2022-04-28T04:07:58.528Z] ---> 3c0caa7a1dd5 [2022-04-28T04:07:58.528Z] Step 8/11 : COPY go.mod vendor* ./ [2022-04-28T04:07:59.135Z] ---> cc75fb601104 [2022-04-28T04:07:59.135Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-28T04:07:59.135Z] ---> Running in 190f34bf0899 [2022-04-28T04:08:46.142Z] Removing intermediate container 190f34bf0899 [2022-04-28T04:08:46.142Z] ---> 42c9a1f22ad4 [2022-04-28T04:08:46.142Z] Step 10/11 : COPY . . [2022-04-28T04:08:46.142Z] ---> 101b98703439 [2022-04-28T04:08:46.142Z] Step 11/11 : RUN ${MAKE} [2022-04-28T04:08:46.142Z] ---> Running in ddba48c51728 [2022-04-28T04:08:46.142Z] noop [2022-04-28T04:08:46.142Z] Removing intermediate container ddba48c51728 [2022-04-28T04:08:46.142Z] ---> 9d2966c8b05f [2022-04-28T04:08:46.142Z] Successfully built 9d2966c8b05f [2022-04-28T04:08:46.142Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-28T04:08:46.512Z] + docker inspect -f . ci-base-image-arm64 [2022-04-28T04:08:46.512Z] . [Pipeline] withDockerContainer [2022-04-28T04:08:46.748Z] prd-ubuntu20.04-docker-arm64-4c-16g-33618 does not seem to be running inside a container [2022-04-28T04:08:46.839Z] $ 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 ******** ci-base-image-arm64 cat [2022-04-28T04:08:48.113Z] $ docker top 0b12ca1d979ccbbc6fb5cec359785cdccb547f0570ee1be8dbc8494b482a74e4 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-28T04:08:49.085Z] + go version [2022-04-28T04:08:49.085Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-04-28T04:08:49.129Z] $ docker stop --time=1 0b12ca1d979ccbbc6fb5cec359785cdccb547f0570ee1be8dbc8494b482a74e4 [2022-04-28T04:08:50.821Z] $ docker rm -f 0b12ca1d979ccbbc6fb5cec359785cdccb547f0570ee1be8dbc8494b482a74e4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-28T04:08:51.669Z] + docker inspect -f . ci-base-image-arm64 [2022-04-28T04:08:51.669Z] . [Pipeline] withDockerContainer [2022-04-28T04:08:51.919Z] prd-ubuntu20.04-docker-arm64-4c-16g-33618 does not seem to be running inside a container [2022-04-28T04:08:52.008Z] $ 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 ******** ci-base-image-arm64 cat [2022-04-28T04:08:53.229Z] $ docker top de36192fccedd1eab139b4118d44155fd0d9bb03056f42bf10f69475d30f7c7f -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-28T04:08:54.227Z] + make test [2022-04-28T04:08:54.227Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-04-28T04:09:21.045Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-04-28T04:10:57.918Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-04-28T04:10:57.918Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-04-28T04:10:57.918Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-04-28T04:11:06.252Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.319s coverage: 23.3% of statements [2022-04-28T04:11:06.252Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-04-28T04:11:06.252Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.270s coverage: 27.6% of statements [2022-04-28T04:11:06.252Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.340s coverage: 78.9% of statements [2022-04-28T04:11:06.252Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.261s coverage: 10.8% of statements [2022-04-28T04:11:11.700Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.356s coverage: 60.0% of statements [2022-04-28T04:11:11.700Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-04-28T04:11:11.700Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-04-28T04:11:13.701Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.422s coverage: 34.8% of statements [2022-04-28T04:11:13.701Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-04-28T04:11:14.692Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.275s coverage: 86.1% of statements [2022-04-28T04:11:14.692Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-04-28T04:11:14.692Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-04-28T04:11:14.692Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.468s coverage: 65.1% of statements [2022-04-28T04:11:18.088Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.219s coverage: 89.2% of statements [2022-04-28T04:11:18.088Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-04-28T04:11:20.709Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.241s coverage: 4.7% of statements [2022-04-28T04:11:20.709Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-04-28T04:11:20.987Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-04-28T04:11:20.987Z] GO111MODULE=on go vet ./... [2022-04-28T04:12:42.853Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-28T04:12:42.853Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-28T04:12:42.853Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-04-28T04:12:43.873Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-04-28T04:12:43.913Z] $ docker stop --time=1 de36192fccedd1eab139b4118d44155fd0d9bb03056f42bf10f69475d30f7c7f [2022-04-28T04:12:45.706Z] $ docker rm -f de36192fccedd1eab139b4118d44155fd0d9bb03056f42bf10f69475d30f7c7f [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-28T04:12:47.104Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-04-28T04:12:47.143Z] Warning: overwriting stash ‘coverage-report’ [2022-04-28T04:12:47.737Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-28T04:12:48.332Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-04-28T04:12:48.688Z] + ls -al . [2022-04-28T04:12:48.688Z] total 312 [2022-04-28T04:12:48.688Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 28 04:12 . [2022-04-28T04:12:48.688Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 28 04:06 .. [2022-04-28T04:12:48.688Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 28 04:06 .dockerignore [2022-04-28T04:12:48.688Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 28 04:07 .git [2022-04-28T04:12:48.688Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 28 04:06 .github [2022-04-28T04:12:48.688Z] -rw-rw-r-- 1 jenkins jenkins 131 Apr 28 04:06 .gitignore [2022-04-28T04:12:48.688Z] -rw-rw-r-- 1 jenkins jenkins 42 Apr 28 04:06 .golangci.yml [2022-04-28T04:12:48.688Z] -rw-rw-r-- 1 jenkins jenkins 26321 Apr 28 04:06 CHANGELOG.md [2022-04-28T04:12:48.688Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 28 04:06 GOVERNANCE.md [2022-04-28T04:12:48.688Z] -rw-rw-r-- 1 jenkins jenkins 880 Apr 28 04:06 Jenkinsfile [2022-04-28T04:12:48.688Z] -rw-rw-r-- 1 jenkins jenkins 11341 Apr 28 04:06 LICENSE [2022-04-28T04:12:48.688Z] -rw-rw-r-- 1 jenkins jenkins 2015 Apr 28 04:06 Makefile [2022-04-28T04:12:48.688Z] -rw-rw-r-- 1 jenkins jenkins 619 Apr 28 04:06 OWNERS.md [2022-04-28T04:12:48.688Z] -rw-rw-r-- 1 jenkins jenkins 4881 Apr 28 04:06 README.md [2022-04-28T04:12:48.688Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 28 04:04 VERSION [2022-04-28T04:12:48.688Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 28 04:06 bin [2022-04-28T04:12:48.688Z] -rw-r--r-- 1 jenkins jenkins 130819 Apr 28 04:11 coverage.out [2022-04-28T04:12:48.688Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 28 04:06 example [2022-04-28T04:12:48.688Z] -rw-rw-r-- 1 jenkins jenkins 3198 Apr 28 04:06 go.mod [2022-04-28T04:12:48.688Z] -rw-rw-r-- 1 jenkins jenkins 53758 Apr 28 04:06 go.sum [2022-04-28T04:12:48.688Z] drwxrwxr-x 15 jenkins jenkins 4096 Apr 28 04:06 internal [2022-04-28T04:12:48.688Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 28 04:06 openapi [2022-04-28T04:12:48.688Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 28 04:06 pkg [2022-04-28T04:12:48.688Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 28 04:06 snap [2022-04-28T04:12:48.688Z] -rw-rw-r-- 1 jenkins jenkins 222 Apr 28 04:06 version.go [Pipeline] isUnix [Pipeline] sh [2022-04-28T04:12:49.065Z] + 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=4cf2791c17b41d9df5fa4690483be713d67a3f20 --label arch=arm64 --label version=0.0.0 . [2022-04-28T04:12:49.340Z] Sending build context to Docker daemon 5.344MB [2022-04-28T04:12:49.616Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-04-28T04:12:49.616Z] Step 2/25 : FROM ${BASE} AS builder [2022-04-28T04:12:49.616Z] ---> 9d2966c8b05f [2022-04-28T04:12:49.616Z] Step 3/25 : ARG MAKE=make build [2022-04-28T04:12:49.616Z] ---> Running in 1655cf0288e0 [2022-04-28T04:12:49.890Z] Removing intermediate container 1655cf0288e0 [2022-04-28T04:12:49.891Z] ---> 4daede719089 [2022-04-28T04:12:49.891Z] Step 4/25 : WORKDIR /device-sdk-go [2022-04-28T04:12:50.165Z] ---> Running in d5a5892cff77 [2022-04-28T04:12:50.439Z] Removing intermediate container d5a5892cff77 [2022-04-28T04:12:50.439Z] ---> 56f3de1cadf7 [2022-04-28T04:12:50.439Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-04-28T04:12:50.439Z] ---> Running in 15caa81cfcfe [2022-04-28T04:12:50.722Z] Removing intermediate container 15caa81cfcfe [2022-04-28T04:12:50.722Z] ---> f740c4dbddd3 [2022-04-28T04:12:50.722Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-28T04:12:50.722Z] ---> Running in 50f753420fe6 [2022-04-28T04:12:52.706Z] Removing intermediate container 50f753420fe6 [2022-04-28T04:12:52.706Z] ---> d4a8194b08c7 [2022-04-28T04:12:52.706Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-04-28T04:12:52.706Z] ---> Running in 9374b6f2e9bc [2022-04-28T04:12:53.689Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-28T04:12:54.285Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-28T04:12:55.266Z] OK: 220 MiB in 52 packages [2022-04-28T04:12:56.261Z] Removing intermediate container 9374b6f2e9bc [2022-04-28T04:12:56.261Z] ---> c38e3ef35335 [2022-04-28T04:12:56.261Z] Step 8/25 : COPY go.mod vendor* ./ [2022-04-28T04:12:56.537Z] ---> c8bdd85cc796 [2022-04-28T04:12:56.537Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-28T04:12:56.537Z] ---> Running in 6e576c626172 [2022-04-28T04:12:58.516Z] Removing intermediate container 6e576c626172 [2022-04-28T04:12:58.516Z] ---> e3f3e4ac90b2 [2022-04-28T04:12:58.516Z] Step 10/25 : COPY . . [2022-04-28T04:12:59.961Z] ---> f52565e9cddf [2022-04-28T04:12:59.961Z] Step 11/25 : RUN ${MAKE} [2022-04-28T04:12:59.961Z] ---> Running in 50490143bd7d [2022-04-28T04:13:00.950Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2022-04-28T04:14:52.808Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-04-28T04:14:54.789Z] Removing intermediate container 50490143bd7d [2022-04-28T04:14:54.790Z] ---> 1a73fed5d5e5 [2022-04-28T04:14:54.790Z] Step 12/25 : FROM alpine:3.14 [2022-04-28T04:14:55.390Z] 3.14: Pulling from library/alpine [2022-04-28T04:14:55.667Z] 455c02918c45: Pulling fs layer [2022-04-28T04:14:55.946Z] 455c02918c45: Download complete [2022-04-28T04:14:56.544Z] 455c02918c45: Pull complete [2022-04-28T04:14:56.544Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-04-28T04:14:56.544Z] Status: Downloaded newer image for alpine:3.14 [2022-04-28T04:14:56.544Z] ---> ac73e934f311 [2022-04-28T04:14:56.545Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-04-28T04:14:56.545Z] ---> Running in 1644d07165f2 [2022-04-28T04:14:56.829Z] Removing intermediate container 1644d07165f2 [2022-04-28T04:14:56.829Z] ---> 813ab1e6b35a [2022-04-28T04:14:56.829Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-28T04:14:56.829Z] ---> Running in a8f2b4094ca9 [2022-04-28T04:14:58.816Z] Removing intermediate container a8f2b4094ca9 [2022-04-28T04:14:58.816Z] ---> a75c726fcbc3 [2022-04-28T04:14:58.816Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-04-28T04:14:58.816Z] ---> Running in 2a7a30319dc3 [2022-04-28T04:14:59.416Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-04-28T04:15:00.398Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-04-28T04:15:01.380Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2022-04-28T04:15:01.380Z] (2/5) Installing libsodium (1.0.18-r0) [2022-04-28T04:15:01.380Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2022-04-28T04:15:01.659Z] (4/5) Installing libzmq (4.3.4-r0) [2022-04-28T04:15:01.659Z] (5/5) Installing zeromq (4.3.4-r0) [2022-04-28T04:15:01.659Z] Executing busybox-1.33.1-r7.trigger [2022-04-28T04:15:01.659Z] OK: 8 MiB in 19 packages [2022-04-28T04:15:02.646Z] Removing intermediate container 2a7a30319dc3 [2022-04-28T04:15:02.646Z] ---> 6dc252ad208e [2022-04-28T04:15:02.646Z] Step 16/25 : WORKDIR / [2022-04-28T04:15:02.646Z] ---> Running in 0b17b43a77b1 [2022-04-28T04:15:02.923Z] Removing intermediate container 0b17b43a77b1 [2022-04-28T04:15:02.923Z] ---> 2a08bd2efc2a [2022-04-28T04:15:02.923Z] Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-04-28T04:15:03.520Z] ---> 6382ddf40b55 [2022-04-28T04:15:03.520Z] Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-04-28T04:15:04.955Z] ---> 7fedb862a216 [2022-04-28T04:15:04.955Z] Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-04-28T04:15:05.553Z] ---> f9bd7dce6f70 [2022-04-28T04:15:05.553Z] Step 20/25 : EXPOSE 59999 [2022-04-28T04:15:05.553Z] ---> Running in bb1127066c63 [2022-04-28T04:15:05.845Z] Removing intermediate container bb1127066c63 [2022-04-28T04:15:05.845Z] ---> 50ef35996eaf [2022-04-28T04:15:05.845Z] Step 21/25 : ENTRYPOINT ["/device-simple"] [2022-04-28T04:15:05.845Z] ---> Running in eee8c3a4fb32 [2022-04-28T04:15:06.445Z] Removing intermediate container eee8c3a4fb32 [2022-04-28T04:15:06.445Z] ---> e7d9f5c62408 [2022-04-28T04:15:06.445Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-04-28T04:15:06.445Z] ---> Running in a6ecc1055177 [2022-04-28T04:15:06.724Z] Removing intermediate container a6ecc1055177 [2022-04-28T04:15:06.724Z] ---> 0ee5700ee55d [2022-04-28T04:15:06.724Z] Step 23/25 : LABEL arch=arm64 [2022-04-28T04:15:06.724Z] ---> Running in 3e5c707170e5 [2022-04-28T04:15:07.007Z] Removing intermediate container 3e5c707170e5 [2022-04-28T04:15:07.007Z] ---> b373c0279d56 [2022-04-28T04:15:07.007Z] Step 24/25 : LABEL git_sha=4cf2791c17b41d9df5fa4690483be713d67a3f20 [2022-04-28T04:15:07.007Z] ---> Running in 8322506dbe58 [2022-04-28T04:15:07.281Z] Removing intermediate container 8322506dbe58 [2022-04-28T04:15:07.281Z] ---> 49a21838f199 [2022-04-28T04:15:07.281Z] Step 25/25 : LABEL version=0.0.0 [2022-04-28T04:15:07.281Z] ---> Running in c0389c06b9a3 [2022-04-28T04:15:07.886Z] Removing intermediate container c0389c06b9a3 [2022-04-28T04:15:07.886Z] ---> fc934521435d [2022-04-28T04:15:07.886Z] [Warning] One or more build-args [ARCH] were not consumed [2022-04-28T04:15:07.886Z] Successfully built fc934521435d [2022-04-28T04:15:07.886Z] Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-28T04:15:08.558Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-28T04:15:08.558Z] [2022-04-28T04:15:08.558Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-04-28T04:15:08.935Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-28T04:15:09.213Z] arm64: Pulling from edgex-lftools-log-publisher [2022-04-28T04:15:09.213Z] 8998bd30e6a1: Pulling fs layer [2022-04-28T04:15:09.213Z] 04944245beec: Pulling fs layer [2022-04-28T04:15:09.213Z] 699f458cf7ca: Pulling fs layer [2022-04-28T04:15:09.213Z] 765212b225bb: Pulling fs layer [2022-04-28T04:15:09.213Z] f23df028b6ca: Pulling fs layer [2022-04-28T04:15:09.213Z] d65c8cfc05b1: Pulling fs layer [2022-04-28T04:15:09.213Z] 2437ff75d9bd: Pulling fs layer [2022-04-28T04:15:09.213Z] 765212b225bb: Waiting [2022-04-28T04:15:09.213Z] f23df028b6ca: Waiting [2022-04-28T04:15:09.213Z] d65c8cfc05b1: Waiting [2022-04-28T04:15:09.213Z] 2437ff75d9bd: Waiting [2022-04-28T04:15:09.213Z] 04944245beec: Verifying Checksum [2022-04-28T04:15:09.213Z] 04944245beec: Download complete [2022-04-28T04:15:09.213Z] 765212b225bb: Verifying Checksum [2022-04-28T04:15:09.213Z] 765212b225bb: Download complete [2022-04-28T04:15:09.213Z] f23df028b6ca: Download complete [2022-04-28T04:15:09.213Z] d65c8cfc05b1: Verifying Checksum [2022-04-28T04:15:09.213Z] d65c8cfc05b1: Download complete [2022-04-28T04:15:09.492Z] 699f458cf7ca: Verifying Checksum [2022-04-28T04:15:09.492Z] 699f458cf7ca: Download complete [2022-04-28T04:15:09.768Z] 8998bd30e6a1: Verifying Checksum [2022-04-28T04:15:09.768Z] 8998bd30e6a1: Download complete [2022-04-28T04:15:12.404Z] 2437ff75d9bd: Verifying Checksum [2022-04-28T04:15:12.404Z] 2437ff75d9bd: Download complete [2022-04-28T04:15:13.847Z] 8998bd30e6a1: Pull complete [2022-04-28T04:15:14.445Z] 04944245beec: Pull complete [2022-04-28T04:15:15.885Z] 699f458cf7ca: Pull complete [2022-04-28T04:15:16.159Z] 765212b225bb: Pull complete [2022-04-28T04:15:17.154Z] f23df028b6ca: Pull complete [2022-04-28T04:15:17.154Z] d65c8cfc05b1: Pull complete [2022-04-28T04:15:32.287Z] 2437ff75d9bd: Pull complete [2022-04-28T04:15:32.287Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-04-28T04:15:32.287Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-28T04:15:32.287Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-04-28T04:15:32.545Z] prd-ubuntu20.04-docker-arm64-4c-16g-33618 does not seem to be running inside a container [2022-04-28T04:15:32.638Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-04-28T04:15:35.265Z] $ docker top 726d6de01810642a9042448a22106e2170cee3fc96c294192a17650d80de0e5e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-28T04:15:36.238Z] ---> job-cost.sh [2022-04-28T04:15:36.239Z] lf-activate-venv: SKIPPING [2022-04-28T04:15:36.239Z] INFO: No Stack... [2022-04-28T04:15:36.513Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-04-28T04:15:37.499Z] INFO: Archiving Costs [Pipeline] sh [2022-04-28T04:15:38.195Z] + + catcut -d, /w/workspace/device-sdk-go/1/archives/cost.csv -f6 [2022-04-28T04:15:38.195Z] [Pipeline] lock [2022-04-28T04:15:38.284Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1149-1-stack-cost] [2022-04-28T04:15:38.290Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1149-1-stack-cost] did not exist. Created. [2022-04-28T04:15:38.290Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1149-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-28T04:15:39.032Z] /w/workspace/device-sdk-go/1@tmp/durable-dd49e210/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-04-28T04:15:39.734Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-04-28T04:15:39.768Z] Warning: overwriting stash ‘stack-cost’ [2022-04-28T04:15:39.832Z] Stashed 1 file(s) [Pipeline] } [2022-04-28T04:15:39.846Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1149-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-28T04:15:39.932Z] $ docker stop --time=1 726d6de01810642a9042448a22106e2170cee3fc96c294192a17650d80de0e5e [2022-04-28T04:15:41.439Z] $ docker rm -f 726d6de01810642a9042448a22106e2170cee3fc96c294192a17650d80de0e5e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2022-04-28T04:15:42.531Z] provisioning config files... [2022-04-28T04:15:42.589Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1149@tmp/config8212332393412385122tmp [Pipeline] { [Pipeline] sh [2022-04-28T04:15:42.947Z] + set +x [2022-04-28T04:15:42.947Z] + + curl -s https://codecov.io/bash [2022-04-28T04:15:42.947Z] bash -s -- [2022-04-28T04:15:42.947Z] [2022-04-28T04:15:42.947Z] _____ _ [2022-04-28T04:15:42.947Z] / ____| | | [2022-04-28T04:15:42.947Z] | | ___ __| | ___ ___ _____ __ [2022-04-28T04:15:42.947Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-04-28T04:15:42.948Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-04-28T04:15:42.948Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-04-28T04:15:42.948Z] Bash-1.0.6 [2022-04-28T04:15:42.948Z] [2022-04-28T04:15:42.948Z] [2022-04-28T04:15:42.948Z] ==> git version 2.25.1 found [2022-04-28T04:15:42.948Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2022-04-28T04:15:42.948Z] Release-Date: 2020-01-08 [2022-04-28T04:15:42.948Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-04-28T04:15:42.948Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-04-28T04:15:42.948Z] ==> Jenkins CI detected. [2022-04-28T04:15:42.948Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1149 [2022-04-28T04:15:42.948Z] project root: . [2022-04-28T04:15:42.948Z] --> token set from env [2022-04-28T04:15:42.948Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-04-28T04:15:42.948Z] ==> Running gcov in . (disable via -X gcov) [2022-04-28T04:15:42.948Z] ==> Python coveragepy not found [2022-04-28T04:15:42.948Z] ==> Searching for coverage reports in: [2022-04-28T04:15:42.948Z] + . [2022-04-28T04:15:43.207Z] -> Found 1 reports [2022-04-28T04:15:43.207Z] ==> Detecting git/mercurial file structure [2022-04-28T04:15:43.207Z] ==> Reading reports [2022-04-28T04:15:43.207Z] + ./coverage.out bytes=130819 [2022-04-28T04:15:43.207Z] ==> Appending adjustments [2022-04-28T04:15:43.207Z] https://docs.codecov.io/docs/fixing-reports [2022-04-28T04:15:43.467Z] + Found adjustments [2022-04-28T04:15:43.467Z] ==> Gzipping contents [2022-04-28T04:15:43.467Z] 20K /tmp/codecov.5rLyqr.gz [2022-04-28T04:15:43.467Z] ==> Uploading reports [2022-04-28T04:15:43.467Z] url: https://codecov.io [2022-04-28T04:15:43.467Z] query: branch=PR-1149&commit=4cf2791c17b41d9df5fa4690483be713d67a3f20&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1149%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1149&job=&cmd_args= [2022-04-28T04:15:43.467Z] -> Pinging Codecov [2022-04-28T04:15:43.467Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1149&commit=4cf2791c17b41d9df5fa4690483be713d67a3f20&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1149%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1149&job=&cmd_args= [2022-04-28T04:15:43.728Z] -> Uploading to [2022-04-28T04:15:43.728Z] https://storage.googleapis.com/codecov/v4/raw/2022-04-28/7E55EF52A471D76F132DFD9A03CDDE97/4cf2791c17b41d9df5fa4690483be713d67a3f20/e2bbdd8a-51f0-4a4c-8bbe-ed1c98132b9a.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220428%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220428T041543Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=2d09d85cb9f934df4501cc50ffc96f986c457329e9e47df116c755c689a175a3 [2022-04-28T04:15:43.728Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-28T04:15:43.728Z] Dload Upload Total Spent Left Speed [2022-04-28T04:15:43.988Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16825 0 0 100 16825 0 70693 --:--:-- --:--:-- --:--:-- 70693 [2022-04-28T04:15:43.988Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/4cf2791c17b41d9df5fa4690483be713d67a3f20 [Pipeline] } [2022-04-28T04:15:44.015Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2022-04-28T04:15:45.863Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1149/archives ] [2022-04-28T04:15:45.863Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1149/archives [2022-04-28T04:15:45.863Z] total 16 [2022-04-28T04:15:45.863Z] drwxr-xr-x 3 root root 4096 Apr 28 04:06 . [2022-04-28T04:15:45.863Z] drwxrwxr-x 12 jenkins jenkins 4096 Apr 28 04:06 .. [2022-04-28T04:15:45.863Z] drwxr-xr-x 2 root root 4096 Apr 28 04:06 cost [2022-04-28T04:15:45.863Z] -rw-r--r-- 1 root root 85 Apr 28 04:06 cost.csv [2022-04-28T04:15:45.863Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1149/archives [2022-04-28T04:15:45.863Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1149/archives [2022-04-28T04:15:45.863Z] total 16 [2022-04-28T04:15:45.863Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 28 04:06 . [2022-04-28T04:15:45.863Z] drwxrwxr-x 12 jenkins jenkins 4096 Apr 28 04:06 .. [2022-04-28T04:15:45.863Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 28 04:06 cost [2022-04-28T04:15:45.863Z] -rw-r--r-- 1 jenkins jenkins 85 Apr 28 04:06 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-04-28T04:15:46.186Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-28T04:15:47.065Z] ---> package-listing.sh [2022-04-28T04:15:47.065Z] ++ facter osfamily [2022-04-28T04:15:47.065Z] ++ tr '[:upper:]' '[:lower:]' [2022-04-28T04:15:47.326Z] + OS_FAMILY=debian [2022-04-28T04:15:47.326Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1149 [2022-04-28T04:15:47.326Z] + START_PACKAGES=/tmp/packages_start.txt [2022-04-28T04:15:47.326Z] + END_PACKAGES=/tmp/packages_end.txt [2022-04-28T04:15:47.326Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-04-28T04:15:47.326Z] + PACKAGES=/tmp/packages_start.txt [2022-04-28T04:15:47.326Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1149 ']' [2022-04-28T04:15:47.326Z] + PACKAGES=/tmp/packages_end.txt [2022-04-28T04:15:47.326Z] + case "${OS_FAMILY}" in [2022-04-28T04:15:47.326Z] + dpkg -l [2022-04-28T04:15:47.326Z] + grep '^ii' [2022-04-28T04:15:47.326Z] + '[' -f /tmp/packages_start.txt ']' [2022-04-28T04:15:47.326Z] + '[' -f /tmp/packages_end.txt ']' [2022-04-28T04:15:47.326Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-04-28T04:15:47.326Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1149 ']' [2022-04-28T04:15:47.326Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1149/archives/ [2022-04-28T04:15:47.326Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1149/archives/ [Pipeline] echo [2022-04-28T04:15:47.363Z] 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-1149/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-04-28T04:15:47.657Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-04-28T04:15:48.254Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-28T04:15:48.254Z] . [Pipeline] withDockerContainer [2022-04-28T04:15:48.341Z] prd-ubuntu20.04-docker-8c-8g-33617 does not seem to be running inside a container [2022-04-28T04:15:48.377Z] $ 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-1149/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-1149 -v /w/workspace/gexfoundry_device-sdk-go_PR-1149:/w/workspace/gexfoundry_device-sdk-go_PR-1149:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1149@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1149@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-lftools-log-publisher:latest cat [2022-04-28T04:15:48.659Z] $ docker top 58b4998a39cd4effe8377e5c09a51296a33e65429ff1424c30031400a7bab786 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-28T04:15:49.063Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-04-28T04:15:49.377Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-04-28T04:15:49.692Z] + ls /var/log/sa-host [2022-04-28T04:15:49.692Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-28T04:15:49.953Z] provisioning config files... [2022-04-28T04:15:49.963Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1149@tmp/config8544110507008274202tmp [Pipeline] { [Pipeline] echo [2022-04-28T04:15:50.010Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-28T04:15:50.332Z] ---> create-netrc.sh [Pipeline] } [2022-04-28T04:15:50.358Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-04-28T04:15:50.762Z] ---> python-tools-install.sh [Pipeline] echo [2022-04-28T04:15:50.796Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-28T04:15:51.116Z] ---> sudo-logs.sh [2022-04-28T04:15:51.116Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-04-28T04:15:51.201Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-28T04:15:51.521Z] ---> job-cost.sh [2022-04-28T04:15:51.521Z] lf-activate-venv: SKIPPING [2022-04-28T04:15:51.521Z] DEBUG: total: 0.2199999988079071 [2022-04-28T04:15:51.521Z] INFO: Retrieving Stack Cost... [2022-04-28T04:15:52.094Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-28T04:15:52.354Z] INFO: Archiving Costs [Pipeline] echo [2022-04-28T04:15:52.386Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-28T04:15:52.706Z] ---> logs-deploy.sh [2022-04-28T04:15:52.706Z] lf-activate-venv: SKIPPING [2022-04-28T04:15:52.706Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1149/1 [2022-04-28T04:15:52.706Z] INFO: archiving workspace using pattern(s): [2022-04-28T04:15:53.647Z] Archives upload complete. [2022-04-28T04:15:53.647Z] INFO: archiving logs to Nexus