Pull request #1163 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 9d1347ea06e358a370ae6b7b9ba93436209f0951+4f64ab83298cb604fe88218673904389f4010661 (9b7e5bc8ce54eed4de751f666e76f229f6dad373) 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-ssh3684410410362966347.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 95c76d14630896f3c9cf825147e1b1e2bad20cbb 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-ssh2863372284209158476.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 95c76d14630896f3c9cf825147e1b1e2bad20cbb 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-1163/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-1163/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh18116582345317076758.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-1163/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh10962763142560151965.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 95c76d14630896f3c9cf825147e1b1e2bad20cbb (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 95c76d14630896f3c9cf825147e1b1e2bad20cbb # timeout=10 Commit message: "Merge pull request #387 from ernestojeda/disable-concurrent-builds" > 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-ssh10395958962957058694.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-1163/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-1163/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh800217946356445306.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 95c76d14630896f3c9cf825147e1b1e2bad20cbb Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-63532 in /w/workspace/gexfoundry_device-sdk-go_PR-1163 [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-1163 # 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 4f64ab83298cb604fe88218673904389f4010661 into PR head commit 9d1347ea06e358a370ae6b7b9ba93436209f0951 Merge succeeded, producing 9d1347ea06e358a370ae6b7b9ba93436209f0951 Checking out Revision 9d1347ea06e358a370ae6b7b9ba93436209f0951 (PR-1163) > 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/1163/head:refs/remotes/origin/PR-1163 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9d1347ea06e358a370ae6b7b9ba93436209f0951 # 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 4f64ab83298cb604fe88218673904389f4010661 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9d1347ea06e358a370ae6b7b9ba93436209f0951 # timeout=10 Commit message: "docs: Publish swagger to 2.3.0" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 95c76d14630896f3c9cf825147e1b1e2bad20cbb [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-05-12T23:36:49.312Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-05-12T23:36:49.489Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-05-12T23:36:49.590Z] ========================================================= [2022-05-12T23:36:49.590Z] EdgeX Global Pipelines Version Info [2022-05-12T23:36:49.590Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-05-12T23:36:50.435Z] ------------------- [2022-05-12T23:36:50.435Z] stable info: [2022-05-12T23:36:50.435Z] ------------------- [2022-05-12T23:36:50.435Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-05-12T23:36:50.435Z] Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb [2022-05-12T23:36:50.435Z] Message: update stable to v1.0.230 [2022-05-12T23:36:51.006Z] ------------------- [2022-05-12T23:36:51.006Z] experimental info: [2022-05-12T23:36:51.006Z] ------------------- [2022-05-12T23:36:51.006Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-05-12T23:36:51.006Z] Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb [2022-05-12T23:36:51.006Z] Message: update experimental to v1.0.230 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-05-12T23:36:51.240Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2022-05-12T23:36:51.282Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2022-05-12T23:36:51.322Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-05-12T23:36:51.363Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-05-12T23:36:51.402Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-05-12T23:36:51.438Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-05-12T23:36:51.476Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-05-12T23:36:51.515Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2022-05-12T23:36:51.555Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-05-12T23:36:51.596Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-05-12T23:36:51.637Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-05-12T23:36:51.677Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2022-05-12T23:36:51.713Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-05-12T23:36:51.768Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-05-12T23:36:51.811Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-05-12T23:36:51.853Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2022-05-12T23:36:51.894Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-05-12T23:36:51.937Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-05-12T23:36:51.973Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-05-12T23:36:52.008Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-05-12T23:36:52.048Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-05-12T23:36:52.082Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2022-05-12T23:36:52.123Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-05-12T23:36:52.164Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-05-12T23:36:52.202Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-05-12T23:36:52.240Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-05-12T23:36:52.278Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1163 [Pipeline] echo [2022-05-12T23:36:52.316Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1163 [Pipeline] echo [2022-05-12T23:36:52.365Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1163 [Pipeline] echo [2022-05-12T23:36:52.406Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 9d1347ea06e358a370ae6b7b9ba93436209f0951 [Pipeline] echo [2022-05-12T23:36:52.447Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9d1347e [Pipeline] echo [2022-05-12T23:36:52.490Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-12T23:36:52.602Z] provisioning config files... [2022-05-12T23:36:52.620Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1163@tmp/config6399121125364163591tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-12T23:36:52.977Z] ---> docker-login.sh [2022-05-12T23:36:52.977Z] nexus3.edgexfoundry.org:10001 [2022-05-12T23:36:53.246Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-12T23:36:53.246Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-12T23:36:53.246Z] Configure a credential helper to remove this warning. See [2022-05-12T23:36:53.246Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-12T23:36:53.246Z] [2022-05-12T23:36:53.246Z] Login Succeeded [2022-05-12T23:36:53.246Z] nexus3.edgexfoundry.org:10002 [2022-05-12T23:36:53.246Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-12T23:36:53.508Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-12T23:36:53.508Z] Configure a credential helper to remove this warning. See [2022-05-12T23:36:53.508Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-12T23:36:53.508Z] [2022-05-12T23:36:53.508Z] Login Succeeded [2022-05-12T23:36:53.508Z] nexus3.edgexfoundry.org:10003 [2022-05-12T23:36:53.508Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-12T23:36:53.508Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-12T23:36:53.508Z] Configure a credential helper to remove this warning. See [2022-05-12T23:36:53.508Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-12T23:36:53.508Z] [2022-05-12T23:36:53.508Z] Login Succeeded [2022-05-12T23:36:53.508Z] nexus3.edgexfoundry.org:10004 [2022-05-12T23:36:53.772Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-12T23:36:53.772Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-12T23:36:53.772Z] Configure a credential helper to remove this warning. See [2022-05-12T23:36:53.772Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-12T23:36:53.772Z] [2022-05-12T23:36:53.772Z] Login Succeeded [2022-05-12T23:36:53.772Z] docker.io [2022-05-12T23:36:53.772Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-12T23:36:54.345Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-12T23:36:54.345Z] Configure a credential helper to remove this warning. See [2022-05-12T23:36:54.345Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-12T23:36:54.345Z] [2022-05-12T23:36:54.345Z] Login Succeeded [2022-05-12T23:36:54.345Z] ---> docker-login.sh ends [Pipeline] } [2022-05-12T23:36:54.379Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-05-12T23:36:55.002Z] + git rev-list -1 --merges 9d1347ea06e358a370ae6b7b9ba93436209f0951~1..9d1347ea06e358a370ae6b7b9ba93436209f0951 [Pipeline] echo [2022-05-12T23:36:55.052Z] -----------> git rev-list -1 --merges 9d1347ea06e358a370ae6b7b9ba93436209f0951~1..9d1347ea06e358a370ae6b7b9ba93436209f0951 9d1347ea06e358a370ae6b7b9ba93436209f0951 [false] [Pipeline] sh [2022-05-12T23:36:55.362Z] + git log --format=format:%s -1 9d1347ea06e358a370ae6b7b9ba93436209f0951 [Pipeline] echo [2022-05-12T23:36:55.395Z] ========================================================= [2022-05-12T23:36:55.395Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-05-12T23:36:55.395Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-05-12T23:36:55.829Z] + git log --format=format:%s -1 9d1347ea06e358a370ae6b7b9ba93436209f0951 [Pipeline] echo [2022-05-12T23:36:55.859Z] [semverPrep] GIT_COMMIT: 9d1347ea06e358a370ae6b7b9ba93436209f0951, Commit Message: docs: Publish swagger to 2.3.0 [Pipeline] echo [2022-05-12T23:36:55.889Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-05-12T23:36:56.303Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-05-12T23:36:56.303Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-05-12T23:36:56.303Z] + [ -e /tmp/ssh_known_hosts ] [2022-05-12T23:36:56.303Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-05-12T23:36:56.303Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-05-12T23:36:56.303Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-05-12T23:36:56.303Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-05-12T23:36:56.690Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-12T23:36:56.690Z] [2022-05-12T23:36:56.690Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-05-12T23:36:57.055Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-12T23:36:57.055Z] latest: Pulling from edgex-devops/py-git-semver [2022-05-12T23:36:57.055Z] 1fe172e4850f: Pulling fs layer [2022-05-12T23:36:57.055Z] caf521ccaac6: Pulling fs layer [2022-05-12T23:36:57.055Z] 3ead6fa29328: Pulling fs layer [2022-05-12T23:36:57.055Z] 5c2a1cbceb83: Pulling fs layer [2022-05-12T23:36:57.055Z] a8d5f1318db7: Pulling fs layer [2022-05-12T23:36:57.055Z] c427282e49a2: Pulling fs layer [2022-05-12T23:36:57.055Z] 1827001aaf11: Pulling fs layer [2022-05-12T23:36:57.055Z] 0714d37db230: Pulling fs layer [2022-05-12T23:36:57.055Z] ac28cf19c067: Pulling fs layer [2022-05-12T23:36:57.055Z] ca983d60f3e2: Pulling fs layer [2022-05-12T23:36:57.055Z] 1827001aaf11: Waiting [2022-05-12T23:36:57.055Z] 5c2a1cbceb83: Waiting [2022-05-12T23:36:57.055Z] 0714d37db230: Waiting [2022-05-12T23:36:57.055Z] ac28cf19c067: Waiting [2022-05-12T23:36:57.055Z] a8d5f1318db7: Waiting [2022-05-12T23:36:57.055Z] c427282e49a2: Waiting [2022-05-12T23:36:57.055Z] 9f894cec8388: Pulling fs layer [2022-05-12T23:36:57.055Z] 9f894cec8388: Waiting [2022-05-12T23:36:57.055Z] caf521ccaac6: Verifying Checksum [2022-05-12T23:36:57.055Z] caf521ccaac6: Download complete [2022-05-12T23:36:57.055Z] 5c2a1cbceb83: Verifying Checksum [2022-05-12T23:36:57.055Z] 5c2a1cbceb83: Download complete [2022-05-12T23:36:57.318Z] a8d5f1318db7: Verifying Checksum [2022-05-12T23:36:57.318Z] a8d5f1318db7: Download complete [2022-05-12T23:36:57.318Z] 3ead6fa29328: Verifying Checksum [2022-05-12T23:36:57.318Z] 3ead6fa29328: Download complete [2022-05-12T23:36:57.318Z] c427282e49a2: Verifying Checksum [2022-05-12T23:36:57.318Z] c427282e49a2: Download complete [2022-05-12T23:36:57.318Z] 0714d37db230: Verifying Checksum [2022-05-12T23:36:57.318Z] 0714d37db230: Download complete [2022-05-12T23:36:57.318Z] ac28cf19c067: Download complete [2022-05-12T23:36:57.318Z] ca983d60f3e2: Download complete [2022-05-12T23:36:57.318Z] 9f894cec8388: Download complete [2022-05-12T23:36:57.318Z] 1fe172e4850f: Verifying Checksum [2022-05-12T23:36:57.318Z] 1fe172e4850f: Download complete [2022-05-12T23:36:57.578Z] 1827001aaf11: Verifying Checksum [2022-05-12T23:36:57.578Z] 1827001aaf11: Download complete [2022-05-12T23:36:58.968Z] 1fe172e4850f: Pull complete [2022-05-12T23:36:58.968Z] caf521ccaac6: Pull complete [2022-05-12T23:36:59.534Z] 3ead6fa29328: Pull complete [2022-05-12T23:36:59.534Z] 5c2a1cbceb83: Pull complete [2022-05-12T23:36:59.794Z] a8d5f1318db7: Pull complete [2022-05-12T23:36:59.794Z] c427282e49a2: Pull complete [2022-05-12T23:37:01.709Z] 1827001aaf11: Pull complete [2022-05-12T23:37:01.973Z] 0714d37db230: Pull complete [2022-05-12T23:37:02.235Z] ac28cf19c067: Pull complete [2022-05-12T23:37:02.235Z] ca983d60f3e2: Pull complete [2022-05-12T23:37:02.498Z] 9f894cec8388: Pull complete [2022-05-12T23:37:02.498Z] Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee [2022-05-12T23:37:02.498Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-12T23:37:02.498Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] withDockerContainer [2022-05-12T23:37:02.590Z] prd-ubuntu20.04-docker-8c-8g-63532 does not seem to be running inside a container [2022-05-12T23:37:02.645Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1163 -v /w/workspace/gexfoundry_device-sdk-go_PR-1163:/w/workspace/gexfoundry_device-sdk-go_PR-1163:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1163@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1163@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat [2022-05-12T23:37:04.056Z] $ docker top 7ff081d76b62cab74526e7a338885a61baf437ee78786451269093bceea85d01 -eo pid,comm [2022-05-12T23:37:04.115Z] 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-05-12T23:37:04.115Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-05-12T23:37:04.234Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-12T23:37:04.234Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-12T23:37:04.364Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-12T23:37:04.378Z] $ docker exec 7ff081d76b62cab74526e7a338885a61baf437ee78786451269093bceea85d01 ssh-agent [2022-05-12T23:37:04.496Z] SSH_AUTH_SOCK=/tmp/ssh-Q5VxoaSttEmy/agent.32 [2022-05-12T23:37:04.496Z] SSH_AGENT_PID=38 [2022-05-12T23:37:04.504Z] Running ssh-add (command line suppressed) [2022-05-12T23:37:04.643Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1163@tmp/private_key_2777829976172337263.key (/w/workspace/gexfoundry_device-sdk-go_PR-1163@tmp/private_key_2777829976172337263.key) [2022-05-12T23:37:04.647Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-12T23:37:04.979Z] + git tag --points-at HEAD [Pipeline] } [2022-05-12T23:37:05.018Z] $ docker exec --env ******** --env ******** 7ff081d76b62cab74526e7a338885a61baf437ee78786451269093bceea85d01 ssh-agent -k [2022-05-12T23:37:05.128Z] unset SSH_AUTH_SOCK; [2022-05-12T23:37:05.129Z] unset SSH_AGENT_PID; [2022-05-12T23:37:05.129Z] echo Agent pid 38 killed; [2022-05-12T23:37:05.132Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-05-12T23:37:05.220Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-12T23:37:05.220Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-12T23:37:05.350Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-12T23:37:05.363Z] $ docker exec 7ff081d76b62cab74526e7a338885a61baf437ee78786451269093bceea85d01 ssh-agent [2022-05-12T23:37:05.481Z] SSH_AUTH_SOCK=/tmp/ssh-Pr9hkcruym8R/agent.71 [2022-05-12T23:37:05.481Z] SSH_AGENT_PID=77 [2022-05-12T23:37:05.487Z] Running ssh-add (command line suppressed) [2022-05-12T23:37:05.614Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1163@tmp/private_key_8595185527854643197.key (/w/workspace/gexfoundry_device-sdk-go_PR-1163@tmp/private_key_8595185527854643197.key) [2022-05-12T23:37:05.619Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-12T23:37:05.948Z] + git semver init [2022-05-12T23:37:06.209Z] 2022-05-12 23:37:06,145 [run_init] DEBUG init version:0.0.0 force:False [2022-05-12T23:37:06.209Z] 2022-05-12 23:37:06,146 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1163/.semver [2022-05-12T23:37:06.209Z] 2022-05-12 23:37:06,146 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1163/.semver [2022-05-12T23:37:06.209Z] 2022-05-12 23:37:06,146 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1163/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1163, universal_newlines=False, shell=None, istream=None) [2022-05-12T23:37:07.161Z] 2022-05-12 23:37:07,013 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1163/.git/info/exclude [2022-05-12T23:37:07.161Z] 2022-05-12 23:37:07,014 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1163/.semver/PR-1163 with force:False [2022-05-12T23:37:07.161Z] 2022-05-12 23:37:07,014 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1163/.semver/PR-1163 [2022-05-12T23:37:07.161Z] 2022-05-12 23:37:07,018 [execute] INFO git cat-file --batch-check [2022-05-12T23:37:07.161Z] 2022-05-12 23:37:07,019 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1163/.semver, universal_newlines=False, shell=None, istream=) [2022-05-12T23:37:07.161Z] 2022-05-12 23:37:07,026 [execute] INFO git cat-file --batch [2022-05-12T23:37:07.161Z] 2022-05-12 23:37:07,026 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1163/.semver, universal_newlines=False, shell=None, istream=) [2022-05-12T23:37:07.161Z] 2022-05-12 23:37:07,032 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1163/.semver/PR-1163 [2022-05-12T23:37:07.161Z] 0.0.0 [Pipeline] } [2022-05-12T23:37:07.197Z] $ docker exec --env ******** --env ******** 7ff081d76b62cab74526e7a338885a61baf437ee78786451269093bceea85d01 ssh-agent -k [2022-05-12T23:37:07.314Z] unset SSH_AUTH_SOCK; [2022-05-12T23:37:07.314Z] unset SSH_AGENT_PID; [2022-05-12T23:37:07.314Z] echo Agent pid 77 killed; [2022-05-12T23:37:07.317Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-05-12T23:37:07.743Z] + git semver [Pipeline] } [2022-05-12T23:37:08.040Z] $ docker stop --time=1 7ff081d76b62cab74526e7a338885a61baf437ee78786451269093bceea85d01 [2022-05-12T23:37:09.370Z] $ docker rm -f 7ff081d76b62cab74526e7a338885a61baf437ee78786451269093bceea85d01 [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-12T23:37:09.774Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-05-12T23:37:10.104Z] Stashed 1 file(s) [Pipeline] echo [2022-05-12T23:37:10.123Z] [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-05-12T23:37:10.678Z] provisioning config files... [2022-05-12T23:37:10.689Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1163@tmp/config6918715558074521198tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-12T23:37:11.055Z] ---> docker-login.sh [2022-05-12T23:37:11.055Z] nexus3.edgexfoundry.org:10001 [2022-05-12T23:37:11.055Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-12T23:37:11.055Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-12T23:37:11.055Z] Configure a credential helper to remove this warning. See [2022-05-12T23:37:11.055Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-12T23:37:11.055Z] [2022-05-12T23:37:11.055Z] Login Succeeded [2022-05-12T23:37:11.055Z] nexus3.edgexfoundry.org:10002 [2022-05-12T23:37:11.055Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-12T23:37:11.317Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-12T23:37:11.317Z] Configure a credential helper to remove this warning. See [2022-05-12T23:37:11.317Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-12T23:37:11.317Z] [2022-05-12T23:37:11.317Z] Login Succeeded [2022-05-12T23:37:11.317Z] nexus3.edgexfoundry.org:10003 [2022-05-12T23:37:11.317Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-12T23:37:11.317Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-12T23:37:11.317Z] Configure a credential helper to remove this warning. See [2022-05-12T23:37:11.317Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-12T23:37:11.317Z] [2022-05-12T23:37:11.317Z] Login Succeeded [2022-05-12T23:37:11.317Z] nexus3.edgexfoundry.org:10004 [2022-05-12T23:37:11.317Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-12T23:37:11.578Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-12T23:37:11.578Z] Configure a credential helper to remove this warning. See [2022-05-12T23:37:11.578Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-12T23:37:11.578Z] [2022-05-12T23:37:11.578Z] Login Succeeded [2022-05-12T23:37:11.578Z] docker.io [2022-05-12T23:37:11.578Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-12T23:37:11.840Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-12T23:37:11.840Z] Configure a credential helper to remove this warning. See [2022-05-12T23:37:11.840Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-12T23:37:11.840Z] [2022-05-12T23:37:11.840Z] Login Succeeded [2022-05-12T23:37:11.840Z] ---> docker-login.sh ends [Pipeline] } [2022-05-12T23:37:11.868Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-05-12T23:37:12.081Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-05-12T23:37:12.118Z] ========================================================= [2022-05-12T23:37:12.118Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-05-12T23:37:12.118Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-05-12T23:37:12.536Z] + 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-05-12T23:37:12.536Z] Sending build context to Docker daemon 9.768MB [2022-05-12T23:37:12.536Z] Step 1/11 : ARG BASE=golang:1.17-alpine3.15 [2022-05-12T23:37:12.536Z] Step 2/11 : FROM ${BASE} AS builder [2022-05-12T23:37:12.536Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-05-12T23:37:12.536Z] 59bf1c3509f3: Pulling fs layer [2022-05-12T23:37:12.536Z] 666ba61612fd: Pulling fs layer [2022-05-12T23:37:12.536Z] 8ed8ca486205: Pulling fs layer [2022-05-12T23:37:12.536Z] 4fe6c5a15a65: Pulling fs layer [2022-05-12T23:37:12.536Z] 22a0e8bec74d: Pulling fs layer [2022-05-12T23:37:12.536Z] ca2b28591e48: Pulling fs layer [2022-05-12T23:37:12.536Z] a51346096db8: Pulling fs layer [2022-05-12T23:37:12.536Z] daebc70d1ce1: Pulling fs layer [2022-05-12T23:37:12.536Z] 0e18a0eac166: Pulling fs layer [2022-05-12T23:37:12.536Z] a51346096db8: Waiting [2022-05-12T23:37:12.536Z] daebc70d1ce1: Waiting [2022-05-12T23:37:12.536Z] 0e18a0eac166: Waiting [2022-05-12T23:37:12.536Z] 4fe6c5a15a65: Waiting [2022-05-12T23:37:12.536Z] ca2b28591e48: Waiting [2022-05-12T23:37:12.799Z] 8ed8ca486205: Verifying Checksum [2022-05-12T23:37:12.799Z] 666ba61612fd: Download complete [2022-05-12T23:37:12.799Z] 22a0e8bec74d: Verifying Checksum [2022-05-12T23:37:12.799Z] 22a0e8bec74d: Download complete [2022-05-12T23:37:12.799Z] ca2b28591e48: Download complete [2022-05-12T23:37:12.799Z] a51346096db8: Verifying Checksum [2022-05-12T23:37:12.799Z] a51346096db8: Download complete [2022-05-12T23:37:12.799Z] 59bf1c3509f3: Verifying Checksum [2022-05-12T23:37:12.799Z] 59bf1c3509f3: Download complete [2022-05-12T23:37:12.799Z] daebc70d1ce1: Verifying Checksum [2022-05-12T23:37:12.799Z] daebc70d1ce1: Download complete [2022-05-12T23:37:12.799Z] 59bf1c3509f3: Pull complete [2022-05-12T23:37:13.078Z] 666ba61612fd: Pull complete [2022-05-12T23:37:13.078Z] 8ed8ca486205: Pull complete [2022-05-12T23:37:13.681Z] 4fe6c5a15a65: Verifying Checksum [2022-05-12T23:37:13.681Z] 4fe6c5a15a65: Download complete [2022-05-12T23:37:13.681Z] 0e18a0eac166: Verifying Checksum [2022-05-12T23:37:13.681Z] 0e18a0eac166: Download complete [2022-05-12T23:37:17.886Z] 4fe6c5a15a65: Pull complete [2022-05-12T23:37:17.886Z] 22a0e8bec74d: Pull complete [2022-05-12T23:37:17.886Z] ca2b28591e48: Pull complete [2022-05-12T23:37:17.886Z] a51346096db8: Pull complete [2022-05-12T23:37:17.886Z] daebc70d1ce1: Pull complete [2022-05-12T23:37:19.794Z] 0e18a0eac166: Pull complete [2022-05-12T23:37:19.794Z] Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 [2022-05-12T23:37:19.794Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-05-12T23:37:19.794Z] ---> f018257e8ee9 [2022-05-12T23:37:19.794Z] Step 3/11 : ARG MAKE=make build [2022-05-12T23:37:21.184Z] ---> Running in ec52ff346e9d [2022-05-12T23:37:21.184Z] Removing intermediate container ec52ff346e9d [2022-05-12T23:37:21.184Z] ---> 0f083ac4bf99 [2022-05-12T23:37:21.184Z] Step 4/11 : WORKDIR /device-sdk-go [2022-05-12T23:37:21.184Z] ---> Running in d6b4f80adcf5 [2022-05-12T23:37:21.184Z] Removing intermediate container d6b4f80adcf5 [2022-05-12T23:37:21.184Z] ---> 53c5a86a2b1e [2022-05-12T23:37:21.184Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-05-12T23:37:21.184Z] ---> Running in 0c642a9d6ece [2022-05-12T23:37:21.444Z] Removing intermediate container 0c642a9d6ece [2022-05-12T23:37:21.444Z] ---> 160b99f0048c [2022-05-12T23:37:21.444Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-12T23:37:21.444Z] ---> Running in b63e8c714a3e [2022-05-12T23:37:22.016Z] Removing intermediate container b63e8c714a3e [2022-05-12T23:37:22.016Z] ---> c203ded79b91 [2022-05-12T23:37:22.016Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-05-12T23:37:22.016Z] ---> Running in 74a04789b45c [2022-05-12T23:37:22.280Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-05-12T23:37:23.223Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-05-12T23:37:23.485Z] OK: 221 MiB in 52 packages [2022-05-12T23:37:24.060Z] Removing intermediate container 74a04789b45c [2022-05-12T23:37:24.060Z] ---> d8fdc2ade3cc [2022-05-12T23:37:24.060Z] Step 8/11 : COPY go.mod vendor* ./ [2022-05-12T23:37:24.060Z] ---> 31faf25c992d [2022-05-12T23:37:24.060Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-12T23:37:24.060Z] ---> Running in 83d0d5d7e405 [2022-05-12T23:37:25.505Z] Still waiting to schedule task [2022-05-12T23:37:25.505Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-63530’ [2022-05-12T23:37:38.982Z] Removing intermediate container 83d0d5d7e405 [2022-05-12T23:37:38.982Z] ---> a60a3e64c144 [2022-05-12T23:37:38.982Z] Step 10/11 : COPY . . [2022-05-12T23:37:38.982Z] ---> eb1af5d0c468 [2022-05-12T23:37:38.982Z] Step 11/11 : RUN ${MAKE} [2022-05-12T23:37:38.982Z] ---> Running in 06d7cd89dfda [2022-05-12T23:37:38.982Z] noop [2022-05-12T23:37:38.982Z] Removing intermediate container 06d7cd89dfda [2022-05-12T23:37:38.982Z] ---> 6b45f2068b61 [2022-05-12T23:37:38.982Z] Successfully built 6b45f2068b61 [2022-05-12T23:37:38.982Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-05-12T23:37:39.314Z] + docker inspect -f . ci-base-image-x86_64 [2022-05-12T23:37:39.314Z] . [Pipeline] withDockerContainer [2022-05-12T23:37:39.407Z] prd-ubuntu20.04-docker-8c-8g-63532 does not seem to be running inside a container [2022-05-12T23:37:39.449Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1163 -v /w/workspace/gexfoundry_device-sdk-go_PR-1163:/w/workspace/gexfoundry_device-sdk-go_PR-1163:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1163@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1163@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-05-12T23:37:39.846Z] $ docker top fe2b6134537ae9ef7d09ccd1322c4f9403c076a9dae98569a39408b65116b526 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-12T23:37:40.276Z] + go version [2022-05-12T23:37:40.276Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-05-12T23:37:40.312Z] $ docker stop --time=1 fe2b6134537ae9ef7d09ccd1322c4f9403c076a9dae98569a39408b65116b526 [2022-05-12T23:37:41.580Z] $ docker rm -f fe2b6134537ae9ef7d09ccd1322c4f9403c076a9dae98569a39408b65116b526 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-12T23:37:42.285Z] + docker inspect -f . ci-base-image-x86_64 [2022-05-12T23:37:42.285Z] . [Pipeline] withDockerContainer [2022-05-12T23:37:42.399Z] prd-ubuntu20.04-docker-8c-8g-63532 does not seem to be running inside a container [2022-05-12T23:37:42.443Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1163 -v /w/workspace/gexfoundry_device-sdk-go_PR-1163:/w/workspace/gexfoundry_device-sdk-go_PR-1163:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1163@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1163@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-05-12T23:37:42.824Z] $ docker top 961d64e83fa87f3d20c69ec9a53a96c5c717ca27b3dda82ed60438631d55d6c4 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-05-12T23:37:43.268Z] + make test [2022-05-12T23:37:43.268Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-05-12T23:37:48.559Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-05-12T23:38:00.774Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-05-12T23:38:00.774Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-05-12T23:38:00.774Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-05-12T23:38:00.774Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.121s coverage: 23.3% of statements [2022-05-12T23:38:00.774Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-05-12T23:38:00.774Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.061s coverage: 27.6% of statements [2022-05-12T23:38:00.774Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.123s coverage: 78.9% of statements [2022-05-12T23:38:00.774Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.060s coverage: 10.8% of statements [2022-05-12T23:38:00.774Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.092s coverage: 60.0% of statements [2022-05-12T23:38:00.774Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-05-12T23:38:00.774Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-05-12T23:38:01.035Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.080s coverage: 34.8% of statements [2022-05-12T23:38:01.035Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-05-12T23:38:01.976Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.068s coverage: 86.5% of statements [2022-05-12T23:38:01.976Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-05-12T23:38:01.976Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-05-12T23:38:01.976Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.100s coverage: 65.1% of statements [2022-05-12T23:38:01.976Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.819s coverage: 89.2% of statements [2022-05-12T23:38:01.976Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-05-12T23:38:01.976Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.058s coverage: 4.7% of statements [2022-05-12T23:38:01.976Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-05-12T23:38:16.867Z] GO111MODULE=on go vet ./... [2022-05-12T23:38:20.175Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-05-12T23:38:20.175Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-05-12T23:38:20.175Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-05-12T23:38:20.213Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-05-12T23:38:20.251Z] $ docker stop --time=1 961d64e83fa87f3d20c69ec9a53a96c5c717ca27b3dda82ed60438631d55d6c4 [2022-05-12T23:38:22.446Z] $ docker rm -f 961d64e83fa87f3d20c69ec9a53a96c5c717ca27b3dda82ed60438631d55d6c4 [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-12T23:38:22.991Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-05-12T23:38:23.073Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-05-12T23:38:23.746Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-05-12T23:38:24.069Z] + ls -al . [2022-05-12T23:38:24.070Z] total 300 [2022-05-12T23:38:24.070Z] drwxrwxr-x 11 jenkins jenkins 4096 May 12 23:38 . [2022-05-12T23:38:24.070Z] drwxrwxr-x 4 jenkins jenkins 4096 May 12 23:36 .. [2022-05-12T23:38:24.070Z] -rw-rw-r-- 1 jenkins jenkins 140 May 12 23:36 .dockerignore [2022-05-12T23:38:24.070Z] drwxrwxr-x 8 jenkins jenkins 4096 May 12 23:37 .git [2022-05-12T23:38:24.070Z] drwxrwxr-x 2 jenkins jenkins 4096 May 12 23:36 .github [2022-05-12T23:38:24.070Z] -rw-rw-r-- 1 jenkins jenkins 131 May 12 23:36 .gitignore [2022-05-12T23:38:24.070Z] -rw-rw-r-- 1 jenkins jenkins 42 May 12 23:36 .golangci.yml [2022-05-12T23:38:24.070Z] drwxr-xr-x 3 jenkins jenkins 4096 May 12 23:37 .semver [2022-05-12T23:38:24.070Z] -rw-rw-r-- 1 jenkins jenkins 29536 May 12 23:36 CHANGELOG.md [2022-05-12T23:38:24.070Z] -rw-rw-r-- 1 jenkins jenkins 677 May 12 23:36 GOVERNANCE.md [2022-05-12T23:38:24.070Z] -rw-rw-r-- 1 jenkins jenkins 880 May 12 23:36 Jenkinsfile [2022-05-12T23:38:24.070Z] -rw-rw-r-- 1 jenkins jenkins 11341 May 12 23:36 LICENSE [2022-05-12T23:38:24.070Z] -rw-rw-r-- 1 jenkins jenkins 2015 May 12 23:36 Makefile [2022-05-12T23:38:24.070Z] -rw-rw-r-- 1 jenkins jenkins 619 May 12 23:36 OWNERS.md [2022-05-12T23:38:24.070Z] -rw-rw-r-- 1 jenkins jenkins 4881 May 12 23:36 README.md [2022-05-12T23:38:24.070Z] -rw-rw-r-- 1 jenkins jenkins 5 May 12 23:37 VERSION [2022-05-12T23:38:24.070Z] drwxrwxr-x 2 jenkins jenkins 4096 May 12 23:36 bin [2022-05-12T23:38:24.070Z] -rw-r--r-- 1 jenkins jenkins 130739 May 12 23:38 coverage.out [2022-05-12T23:38:24.070Z] drwxrwxr-x 5 jenkins jenkins 4096 May 12 23:36 example [2022-05-12T23:38:24.070Z] -rw-rw-r-- 1 jenkins jenkins 3159 May 12 23:36 go.mod [2022-05-12T23:38:24.070Z] -rw-rw-r-- 1 jenkins jenkins 34529 May 12 23:36 go.sum [2022-05-12T23:38:24.070Z] drwxrwxr-x 15 jenkins jenkins 4096 May 12 23:36 internal [2022-05-12T23:38:24.070Z] drwxrwxr-x 3 jenkins jenkins 4096 May 12 23:36 openapi [2022-05-12T23:38:24.070Z] drwxrwxr-x 5 jenkins jenkins 4096 May 12 23:36 pkg [2022-05-12T23:38:24.070Z] drwxrwxr-x 4 jenkins jenkins 4096 May 12 23:36 snap [2022-05-12T23:38:24.070Z] -rw-rw-r-- 1 jenkins jenkins 222 May 12 23:36 version.go [Pipeline] isUnix [Pipeline] sh [2022-05-12T23:38:24.408Z] + 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=9d1347ea06e358a370ae6b7b9ba93436209f0951 --label arch=amd64 --label version=0.0.0 . [2022-05-12T23:38:24.408Z] Sending build context to Docker daemon 9.9MB [2022-05-12T23:38:24.408Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-05-12T23:38:24.408Z] Step 2/25 : FROM ${BASE} AS builder [2022-05-12T23:38:24.408Z] ---> 6b45f2068b61 [2022-05-12T23:38:24.408Z] Step 3/25 : ARG MAKE=make build [2022-05-12T23:38:24.670Z] ---> Running in aa1681352214 [2022-05-12T23:38:24.670Z] Removing intermediate container aa1681352214 [2022-05-12T23:38:24.670Z] ---> 732ca6bd22c8 [2022-05-12T23:38:24.670Z] Step 4/25 : WORKDIR /device-sdk-go [2022-05-12T23:38:24.670Z] ---> Running in 25343f99184d [2022-05-12T23:38:24.930Z] Removing intermediate container 25343f99184d [2022-05-12T23:38:24.930Z] ---> f88917db1b85 [2022-05-12T23:38:24.930Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-05-12T23:38:24.930Z] ---> Running in 36a1d728d9eb [2022-05-12T23:38:24.930Z] Removing intermediate container 36a1d728d9eb [2022-05-12T23:38:24.930Z] ---> 341d87900efa [2022-05-12T23:38:24.930Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-12T23:38:24.930Z] ---> Running in 9aac0c47495e [2022-05-12T23:38:25.502Z] Removing intermediate container 9aac0c47495e [2022-05-12T23:38:25.502Z] ---> d9a1747486b3 [2022-05-12T23:38:25.502Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-05-12T23:38:25.502Z] ---> Running in fcc78363b082 [2022-05-12T23:38:26.076Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-05-12T23:38:26.652Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-05-12T23:38:26.915Z] OK: 221 MiB in 52 packages [2022-05-12T23:38:27.486Z] Removing intermediate container fcc78363b082 [2022-05-12T23:38:27.486Z] ---> 498a45add3c4 [2022-05-12T23:38:27.486Z] Step 8/25 : COPY go.mod vendor* ./ [2022-05-12T23:38:27.486Z] ---> b6a9f7a14dc9 [2022-05-12T23:38:27.486Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-12T23:38:27.486Z] ---> Running in 186c321913d3 [2022-05-12T23:38:28.057Z] Removing intermediate container 186c321913d3 [2022-05-12T23:38:28.057Z] ---> 8193b7ae35d6 [2022-05-12T23:38:28.057Z] Step 10/25 : COPY . . [2022-05-12T23:38:28.627Z] ---> ae2ac1d988e0 [2022-05-12T23:38:28.627Z] Step 11/25 : RUN ${MAKE} [2022-05-12T23:38:28.627Z] ---> Running in aa55466d12b0 [2022-05-12T23:38:28.888Z] 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-05-12T23:38:46.993Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-05-12T23:38:47.935Z] Removing intermediate container aa55466d12b0 [2022-05-12T23:38:47.935Z] ---> 0fa59ec21cbe [2022-05-12T23:38:47.935Z] Step 12/25 : FROM alpine:3.14 [2022-05-12T23:38:48.505Z] 3.14: Pulling from library/alpine [2022-05-12T23:38:48.505Z] 8663204ce13b: Pulling fs layer [2022-05-12T23:38:48.769Z] 8663204ce13b: Verifying Checksum [2022-05-12T23:38:48.769Z] 8663204ce13b: Download complete [2022-05-12T23:38:48.769Z] 8663204ce13b: Pull complete [2022-05-12T23:38:48.769Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-05-12T23:38:48.769Z] Status: Downloaded newer image for alpine:3.14 [2022-05-12T23:38:48.769Z] ---> e04c818066af [2022-05-12T23:38:48.769Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-05-12T23:38:49.031Z] ---> Running in 1e80de6e7f47 [2022-05-12T23:38:49.031Z] Removing intermediate container 1e80de6e7f47 [2022-05-12T23:38:49.031Z] ---> 339cfb44a0da [2022-05-12T23:38:49.031Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-12T23:38:49.031Z] ---> Running in 93ed218b3e32 [2022-05-12T23:38:49.976Z] Removing intermediate container 93ed218b3e32 [2022-05-12T23:38:49.976Z] ---> a7249ecfc7f4 [2022-05-12T23:38:49.976Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-05-12T23:38:49.976Z] ---> Running in 21dcfb0a79eb [2022-05-12T23:38:50.236Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-05-12T23:38:51.178Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-05-12T23:38:51.439Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2022-05-12T23:38:51.439Z] (2/5) Installing libsodium (1.0.18-r0) [2022-05-12T23:38:51.702Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2022-05-12T23:38:51.702Z] (4/5) Installing libzmq (4.3.4-r0) [2022-05-12T23:38:51.702Z] (5/5) Installing zeromq (4.3.4-r0) [2022-05-12T23:38:51.964Z] Executing busybox-1.33.1-r7.trigger [2022-05-12T23:38:51.964Z] OK: 8 MiB in 19 packages [2022-05-12T23:38:52.224Z] Removing intermediate container 21dcfb0a79eb [2022-05-12T23:38:52.224Z] ---> d094f96cb7cc [2022-05-12T23:38:52.224Z] Step 16/25 : WORKDIR / [2022-05-12T23:38:52.224Z] ---> Running in 0e3a888dd538 [2022-05-12T23:38:52.487Z] Removing intermediate container 0e3a888dd538 [2022-05-12T23:38:52.487Z] ---> 6384899fdedd [2022-05-12T23:38:52.487Z] Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-05-12T23:38:52.487Z] ---> ba47dae20c50 [2022-05-12T23:38:52.487Z] Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-05-12T23:38:53.058Z] ---> f7668f898d2f [2022-05-12T23:38:53.058Z] Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-05-12T23:38:53.318Z] ---> 8be622a34f3d [2022-05-12T23:38:53.318Z] Step 20/25 : EXPOSE 59999 [2022-05-12T23:38:53.318Z] ---> Running in 00d57f899640 [2022-05-12T23:38:53.318Z] Removing intermediate container 00d57f899640 [2022-05-12T23:38:53.318Z] ---> 3f8fa0453dd9 [2022-05-12T23:38:53.318Z] Step 21/25 : ENTRYPOINT ["/device-simple"] [2022-05-12T23:38:53.577Z] ---> Running in 4da89ea01487 [2022-05-12T23:38:53.577Z] Removing intermediate container 4da89ea01487 [2022-05-12T23:38:53.577Z] ---> af7265248241 [2022-05-12T23:38:53.577Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-05-12T23:38:53.577Z] ---> Running in 9ef8ab4295b5 [2022-05-12T23:38:53.577Z] Removing intermediate container 9ef8ab4295b5 [2022-05-12T23:38:53.577Z] ---> db5942c90722 [2022-05-12T23:38:53.577Z] Step 23/25 : LABEL arch=amd64 [2022-05-12T23:38:53.839Z] ---> Running in 041db93d6bcc [2022-05-12T23:38:53.839Z] Removing intermediate container 041db93d6bcc [2022-05-12T23:38:53.839Z] ---> c1ba7c443ca1 [2022-05-12T23:38:53.839Z] Step 24/25 : LABEL git_sha=9d1347ea06e358a370ae6b7b9ba93436209f0951 [2022-05-12T23:38:53.839Z] ---> Running in a8b4d7844977 [2022-05-12T23:38:53.839Z] Removing intermediate container a8b4d7844977 [2022-05-12T23:38:53.839Z] ---> 3049383b323a [2022-05-12T23:38:53.839Z] Step 25/25 : LABEL version=0.0.0 [2022-05-12T23:38:53.839Z] ---> Running in 764756e64d3f [2022-05-12T23:38:54.100Z] Removing intermediate container 764756e64d3f [2022-05-12T23:38:54.100Z] ---> c2527e3a2748 [2022-05-12T23:38:54.100Z] [Warning] One or more build-args [ARCH] were not consumed [2022-05-12T23:38:54.100Z] Successfully built c2527e3a2748 [2022-05-12T23:38:54.100Z] 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-05-12T23:38:54.914Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-12T23:38:54.914Z] [2022-05-12T23:38:54.914Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-05-12T23:38:55.294Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-12T23:38:55.294Z] latest: Pulling from edgex-lftools-log-publisher [2022-05-12T23:38:55.294Z] 5eb5b503b376: Pulling fs layer [2022-05-12T23:38:55.294Z] 5c69ac0246d0: Pulling fs layer [2022-05-12T23:38:55.294Z] ec43610c2a17: Pulling fs layer [2022-05-12T23:38:55.294Z] 3a2ae6a8a46f: Pulling fs layer [2022-05-12T23:38:55.294Z] 33b1e0a273af: Pulling fs layer [2022-05-12T23:38:55.294Z] 5d3b04190fa2: Pulling fs layer [2022-05-12T23:38:55.294Z] 2f39f015ded8: Pulling fs layer [2022-05-12T23:38:55.294Z] 3a2ae6a8a46f: Waiting [2022-05-12T23:38:55.294Z] 33b1e0a273af: Waiting [2022-05-12T23:38:55.294Z] 5d3b04190fa2: Waiting [2022-05-12T23:38:55.294Z] 5c69ac0246d0: Verifying Checksum [2022-05-12T23:38:55.294Z] 5c69ac0246d0: Download complete [2022-05-12T23:38:55.294Z] 3a2ae6a8a46f: Verifying Checksum [2022-05-12T23:38:55.294Z] 3a2ae6a8a46f: Download complete [2022-05-12T23:38:55.294Z] 33b1e0a273af: Verifying Checksum [2022-05-12T23:38:55.294Z] 33b1e0a273af: Download complete [2022-05-12T23:38:55.294Z] ec43610c2a17: Verifying Checksum [2022-05-12T23:38:55.294Z] ec43610c2a17: Download complete [2022-05-12T23:38:55.294Z] 5d3b04190fa2: Verifying Checksum [2022-05-12T23:38:55.294Z] 5d3b04190fa2: Download complete [2022-05-12T23:38:55.561Z] 5eb5b503b376: Verifying Checksum [2022-05-12T23:38:55.561Z] 5eb5b503b376: Download complete [2022-05-12T23:38:56.165Z] 2f39f015ded8: Download complete [2022-05-12T23:38:56.734Z] 5eb5b503b376: Pull complete [2022-05-12T23:38:56.993Z] 5c69ac0246d0: Pull complete [2022-05-12T23:38:57.253Z] ec43610c2a17: Pull complete [2022-05-12T23:38:57.253Z] 3a2ae6a8a46f: Pull complete [2022-05-12T23:38:57.512Z] 33b1e0a273af: Pull complete [2022-05-12T23:38:57.512Z] 5d3b04190fa2: Pull complete [2022-05-12T23:39:01.704Z] 2f39f015ded8: Pull complete [2022-05-12T23:39:01.704Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-05-12T23:39:01.704Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-12T23:39:01.704Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-05-12T23:39:01.791Z] prd-ubuntu20.04-docker-8c-8g-63532 does not seem to be running inside a container [2022-05-12T23:39:01.829Z] $ 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-1163 -v /w/workspace/gexfoundry_device-sdk-go_PR-1163:/w/workspace/gexfoundry_device-sdk-go_PR-1163:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1163@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1163@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-05-12T23:39:03.604Z] $ docker top d33e1b055a6fb82c9e76fa24607744dedb8f3a4ba7c3669f513e8f4ac41c04f2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-12T23:39:04.055Z] ---> job-cost.sh [2022-05-12T23:39:04.056Z] lf-activate-venv: SKIPPING [2022-05-12T23:39:04.056Z] INFO: No Stack... [2022-05-12T23:39:04.317Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-05-12T23:39:04.888Z] INFO: Archiving Costs [Pipeline] sh [2022-05-12T23:39:05.206Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1163/archives/cost.csv [2022-05-12T23:39:05.206Z] + cut -d, -f6 [Pipeline] lock [2022-05-12T23:39:05.246Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1163-1-stack-cost] [2022-05-12T23:39:05.251Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1163-1-stack-cost] did not exist. Created. [2022-05-12T23:39:05.251Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1163-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-05-12T23:39:05.639Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-05-12T23:39:05.689Z] Stashed 1 file(s) [Pipeline] } [2022-05-12T23:39:05.714Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1163-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-05-12T23:39:05.794Z] $ docker stop --time=1 d33e1b055a6fb82c9e76fa24607744dedb8f3a4ba7c3669f513e8f4ac41c04f2 [2022-05-12T23:39:06.972Z] $ docker rm -f d33e1b055a6fb82c9e76fa24607744dedb8f3a4ba7c3669f513e8f4ac41c04f2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-05-12T23:40:28.392Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-63535 in /w/workspace/gexfoundry_device-sdk-go_PR-1163 [Pipeline] { [Pipeline] ws [2022-05-12T23:40:28.438Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2022-05-12T23:40:28.906Z] The recommended git tool is: git [2022-05-12T23:40:36.096Z] using credential edgex-jenkins-ssh [2022-05-12T23:40:36.114Z] Cloning the remote Git repository [2022-05-12T23:40:36.178Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2022-05-12T23:40:36.258Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2022-05-12T23:40:36.346Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-05-12T23:40:36.350Z] > git --version # timeout=10 [2022-05-12T23:40:36.369Z] > git --version # 'git version 2.25.1' [2022-05-12T23:40:36.372Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-05-12T23:40:36.440Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-05-12T23:40:38.143Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-05-12T23:40:38.164Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-05-12T23:40:38.195Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-05-12T23:40:38.237Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-05-12T23:40:38.239Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-05-12T23:40:38.257Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1163/head:refs/remotes/origin/PR-1163 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-05-12T23:40:38.952Z] Merging remotes/origin/main commit 4f64ab83298cb604fe88218673904389f4010661 into PR head commit 9d1347ea06e358a370ae6b7b9ba93436209f0951 [2022-05-12T23:40:39.237Z] Merge succeeded, producing 9d1347ea06e358a370ae6b7b9ba93436209f0951 [2022-05-12T23:40:39.238Z] Checking out Revision 9d1347ea06e358a370ae6b7b9ba93436209f0951 (PR-1163) [2022-05-12T23:40:38.981Z] > git config core.sparsecheckout # timeout=10 [2022-05-12T23:40:39.004Z] > git checkout -f 9d1347ea06e358a370ae6b7b9ba93436209f0951 # timeout=10 [2022-05-12T23:40:39.138Z] > git remote # timeout=10 [2022-05-12T23:40:39.161Z] > git config --get remote.origin.url # timeout=10 [2022-05-12T23:40:39.181Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-05-12T23:40:39.195Z] > git merge 4f64ab83298cb604fe88218673904389f4010661 # timeout=10 [2022-05-12T23:40:39.225Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-05-12T23:40:39.252Z] > git config core.sparsecheckout # timeout=10 [2022-05-12T23:40:39.266Z] > git checkout -f 9d1347ea06e358a370ae6b7b9ba93436209f0951 # timeout=10 [2022-05-12T23:40:43.623Z] Commit message: "docs: Publish swagger to 2.3.0" [2022-05-12T23:40:43.691Z] > git --version # timeout=10 [2022-05-12T23:40:43.702Z] > git --version # 'git version 2.25.1' [2022-05-12T23:40:43.715Z] fatal: bad object 95c76d14630896f3c9cf825147e1b1e2bad20cbb [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-05-12T23:40:44.797Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-05-12T23:40:44.797Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-05-12T23:40:44.797Z] Dload Upload Total Spent Left Speed [2022-05-12T23:40:44.797Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 199k 0 --:--:-- --:--:-- --:--:-- 202k [Pipeline] sh [2022-05-12T23:40:45.340Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-05-12T23:40:45.705Z] + sudo tee /etc/docker/daemon.new [2022-05-12T23:40:45.705Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-05-12T23:40:45.705Z] { [2022-05-12T23:40:45.705Z] "registry-mirrors": [ [2022-05-12T23:40:45.705Z] "https://nexus3.edgexfoundry.org:10001" [2022-05-12T23:40:45.705Z] ], [2022-05-12T23:40:45.705Z] "bip": "10.250.0.254/24", [2022-05-12T23:40:45.705Z] "hosts": [ [2022-05-12T23:40:45.705Z] "tcp://0.0.0.0:5555", [2022-05-12T23:40:45.705Z] "unix:///var/run/docker.sock" [2022-05-12T23:40:45.705Z] ], [2022-05-12T23:40:45.705Z] "mtu": 1458, [2022-05-12T23:40:45.705Z] "selinux-enabled": true, [2022-05-12T23:40:45.705Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-05-12T23:40:45.705Z] } [Pipeline] sh [2022-05-12T23:40:46.081Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-05-12T23:40:46.446Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-12T23:41:04.957Z] provisioning config files... [2022-05-12T23:41:04.984Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config3773429947939214425tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-12T23:41:05.541Z] ---> docker-login.sh [2022-05-12T23:41:05.541Z] nexus3.edgexfoundry.org:10001 [2022-05-12T23:41:06.142Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-12T23:41:06.419Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-12T23:41:06.419Z] Configure a credential helper to remove this warning. See [2022-05-12T23:41:06.419Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-12T23:41:06.419Z] [2022-05-12T23:41:06.419Z] Login Succeeded [2022-05-12T23:41:06.419Z] nexus3.edgexfoundry.org:10002 [2022-05-12T23:41:06.692Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-12T23:41:06.967Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-12T23:41:06.967Z] Configure a credential helper to remove this warning. See [2022-05-12T23:41:06.967Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-12T23:41:06.967Z] [2022-05-12T23:41:06.967Z] Login Succeeded [2022-05-12T23:41:06.967Z] nexus3.edgexfoundry.org:10003 [2022-05-12T23:41:07.245Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-12T23:41:07.523Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-12T23:41:07.523Z] Configure a credential helper to remove this warning. See [2022-05-12T23:41:07.523Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-12T23:41:07.523Z] [2022-05-12T23:41:07.523Z] Login Succeeded [2022-05-12T23:41:07.523Z] nexus3.edgexfoundry.org:10004 [2022-05-12T23:41:07.799Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-12T23:41:07.799Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-12T23:41:07.799Z] Configure a credential helper to remove this warning. See [2022-05-12T23:41:07.799Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-12T23:41:07.799Z] [2022-05-12T23:41:07.799Z] Login Succeeded [2022-05-12T23:41:07.799Z] docker.io [2022-05-12T23:41:08.398Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-12T23:41:08.673Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-12T23:41:08.673Z] Configure a credential helper to remove this warning. See [2022-05-12T23:41:08.673Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-12T23:41:08.673Z] [2022-05-12T23:41:08.673Z] Login Succeeded [2022-05-12T23:41:08.673Z] ---> docker-login.sh ends [Pipeline] } [2022-05-12T23:41:08.701Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-05-12T23:41:09.124Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-05-12T23:41:09.172Z] ========================================================= [2022-05-12T23:41:09.172Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-05-12T23:41:09.172Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-05-12T23:41:09.622Z] + 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-05-12T23:41:09.903Z] Sending build context to Docker daemon 5.27MB [2022-05-12T23:41:10.197Z] Step 1/11 : ARG BASE=golang:1.17-alpine3.15 [2022-05-12T23:41:10.197Z] Step 2/11 : FROM ${BASE} AS builder [2022-05-12T23:41:10.197Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-05-12T23:41:10.197Z] 9b3977197b4f: Pulling fs layer [2022-05-12T23:41:10.197Z] 1a89e8eeedd5: Pulling fs layer [2022-05-12T23:41:10.197Z] 94645a83ff95: Pulling fs layer [2022-05-12T23:41:10.197Z] 3f3a8bcf1eab: Pulling fs layer [2022-05-12T23:41:10.197Z] 0c92f367c5e7: Pulling fs layer [2022-05-12T23:41:10.197Z] 3096ccb668a1: Pulling fs layer [2022-05-12T23:41:10.197Z] e8cf19c19ddd: Pulling fs layer [2022-05-12T23:41:10.197Z] a4caa8a26152: Pulling fs layer [2022-05-12T23:41:10.197Z] 0c92f367c5e7: Waiting [2022-05-12T23:41:10.197Z] 3096ccb668a1: Waiting [2022-05-12T23:41:10.197Z] e8cf19c19ddd: Waiting [2022-05-12T23:41:10.197Z] a4caa8a26152: Waiting [2022-05-12T23:41:10.197Z] 3f3a8bcf1eab: Waiting [2022-05-12T23:41:10.197Z] 94645a83ff95: Verifying Checksum [2022-05-12T23:41:10.197Z] 94645a83ff95: Download complete [2022-05-12T23:41:10.197Z] 1a89e8eeedd5: Verifying Checksum [2022-05-12T23:41:10.197Z] 1a89e8eeedd5: Download complete [2022-05-12T23:41:10.197Z] 0c92f367c5e7: Verifying Checksum [2022-05-12T23:41:10.197Z] 0c92f367c5e7: Download complete [2022-05-12T23:41:10.476Z] 3096ccb668a1: Download complete [2022-05-12T23:41:10.476Z] 9b3977197b4f: Verifying Checksum [2022-05-12T23:41:10.476Z] 9b3977197b4f: Download complete [2022-05-12T23:41:10.476Z] e8cf19c19ddd: Verifying Checksum [2022-05-12T23:41:10.476Z] e8cf19c19ddd: Download complete [2022-05-12T23:41:11.080Z] 9b3977197b4f: Pull complete [2022-05-12T23:41:11.685Z] 1a89e8eeedd5: Pull complete [2022-05-12T23:41:11.959Z] 94645a83ff95: Pull complete [2022-05-12T23:41:12.562Z] a4caa8a26152: Verifying Checksum [2022-05-12T23:41:12.562Z] a4caa8a26152: Download complete [2022-05-12T23:41:13.166Z] 3f3a8bcf1eab: Verifying Checksum [2022-05-12T23:41:13.166Z] 3f3a8bcf1eab: Download complete [2022-05-12T23:41:25.590Z] 3f3a8bcf1eab: Pull complete [2022-05-12T23:41:25.590Z] 0c92f367c5e7: Pull complete [2022-05-12T23:41:25.590Z] 3096ccb668a1: Pull complete [2022-05-12T23:41:25.590Z] e8cf19c19ddd: Pull complete [2022-05-12T23:41:32.347Z] a4caa8a26152: Pull complete [2022-05-12T23:41:32.347Z] Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 [2022-05-12T23:41:32.347Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-05-12T23:41:32.347Z] ---> 725f1c02e7f9 [2022-05-12T23:41:32.347Z] Step 3/11 : ARG MAKE=make build [2022-05-12T23:41:32.627Z] ---> Running in 0b4a938bb723 [2022-05-12T23:41:32.904Z] Removing intermediate container 0b4a938bb723 [2022-05-12T23:41:32.904Z] ---> 29e5f2a55924 [2022-05-12T23:41:32.904Z] Step 4/11 : WORKDIR /device-sdk-go [2022-05-12T23:41:33.180Z] ---> Running in b805970a21d5 [2022-05-12T23:41:33.461Z] Removing intermediate container b805970a21d5 [2022-05-12T23:41:33.461Z] ---> 7adc841024d7 [2022-05-12T23:41:33.461Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-05-12T23:41:33.461Z] ---> Running in bec4f29905e8 [2022-05-12T23:41:33.740Z] Removing intermediate container bec4f29905e8 [2022-05-12T23:41:33.740Z] ---> 463bd6c69792 [2022-05-12T23:41:33.740Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-12T23:41:34.014Z] ---> Running in 6c49931fd04e [2022-05-12T23:41:36.001Z] Removing intermediate container 6c49931fd04e [2022-05-12T23:41:36.001Z] ---> e2246ba6e714 [2022-05-12T23:41:36.001Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-05-12T23:41:36.001Z] ---> Running in 0a707310b2c3 [2022-05-12T23:41:37.985Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-05-12T23:41:38.961Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-05-12T23:41:39.938Z] OK: 220 MiB in 52 packages [2022-05-12T23:41:40.534Z] Removing intermediate container 0a707310b2c3 [2022-05-12T23:41:40.534Z] ---> 25ea7154992a [2022-05-12T23:41:40.534Z] Step 8/11 : COPY go.mod vendor* ./ [2022-05-12T23:41:41.134Z] ---> e39bc6462a7a [2022-05-12T23:41:41.134Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-12T23:41:41.134Z] ---> Running in 86da8364eca9 [2022-05-12T23:42:28.135Z] Removing intermediate container 86da8364eca9 [2022-05-12T23:42:28.135Z] ---> c979b04bc9a1 [2022-05-12T23:42:28.135Z] Step 10/11 : COPY . . [2022-05-12T23:42:28.135Z] ---> eb9c7a752ad5 [2022-05-12T23:42:28.135Z] Step 11/11 : RUN ${MAKE} [2022-05-12T23:42:28.135Z] ---> Running in a89d072d111b [2022-05-12T23:42:28.135Z] noop [2022-05-12T23:42:28.728Z] Removing intermediate container a89d072d111b [2022-05-12T23:42:28.728Z] ---> 894bde1e30ff [2022-05-12T23:42:28.728Z] Successfully built 894bde1e30ff [2022-05-12T23:42:28.728Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-05-12T23:42:29.092Z] + docker inspect -f . ci-base-image-arm64 [2022-05-12T23:42:29.092Z] . [Pipeline] withDockerContainer [2022-05-12T23:42:29.332Z] prd-ubuntu20.04-docker-arm64-4c-16g-63535 does not seem to be running inside a container [2022-05-12T23:42:29.415Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-05-12T23:42:30.632Z] $ docker top 82186cf7a1b6e08da4e5e019cac7dd6dbec913811a146fc46f0059286e1ea4d7 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-12T23:42:31.571Z] + go version [2022-05-12T23:42:31.571Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-05-12T23:42:31.619Z] $ docker stop --time=1 82186cf7a1b6e08da4e5e019cac7dd6dbec913811a146fc46f0059286e1ea4d7 [2022-05-12T23:42:33.217Z] $ docker rm -f 82186cf7a1b6e08da4e5e019cac7dd6dbec913811a146fc46f0059286e1ea4d7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-12T23:42:34.053Z] + docker inspect -f . ci-base-image-arm64 [2022-05-12T23:42:34.053Z] . [Pipeline] withDockerContainer [2022-05-12T23:42:34.281Z] prd-ubuntu20.04-docker-arm64-4c-16g-63535 does not seem to be running inside a container [2022-05-12T23:42:34.370Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-05-12T23:42:35.598Z] $ docker top 2f87e11e989fa9994eb8743490c7d14ffb419b49abce4af276643596302fd41d -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-05-12T23:42:36.575Z] + make test [2022-05-12T23:42:36.575Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-05-12T23:43:08.925Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-05-12T23:45:00.835Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-05-12T23:45:00.835Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-05-12T23:45:00.835Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-05-12T23:45:00.835Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.361s coverage: 23.3% of statements [2022-05-12T23:45:00.835Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-05-12T23:45:00.835Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.455s coverage: 27.6% of statements [2022-05-12T23:45:00.835Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.375s coverage: 78.9% of statements [2022-05-12T23:45:00.835Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.301s coverage: 10.8% of statements [2022-05-12T23:45:06.306Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.628s coverage: 60.0% of statements [2022-05-12T23:45:06.306Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-05-12T23:45:06.306Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-05-12T23:45:08.327Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.452s coverage: 34.8% of statements [2022-05-12T23:45:08.327Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-05-12T23:45:08.934Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.382s coverage: 86.5% of statements [2022-05-12T23:45:08.934Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-05-12T23:45:08.934Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-05-12T23:45:12.360Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.494s coverage: 65.1% of statements [2022-05-12T23:45:14.354Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.346s coverage: 89.2% of statements [2022-05-12T23:45:14.354Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-05-12T23:45:16.327Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.263s coverage: 4.7% of statements [2022-05-12T23:45:16.327Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-05-12T23:45:16.926Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-05-12T23:45:16.926Z] GO111MODULE=on go vet ./... [2022-05-12T23:46:53.935Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-05-12T23:46:53.935Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-05-12T23:46:53.935Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-05-12T23:46:53.974Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-05-12T23:46:54.016Z] $ docker stop --time=1 2f87e11e989fa9994eb8743490c7d14ffb419b49abce4af276643596302fd41d [2022-05-12T23:46:55.825Z] $ docker rm -f 2f87e11e989fa9994eb8743490c7d14ffb419b49abce4af276643596302fd41d [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-12T23:46:57.295Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-05-12T23:46:57.331Z] Warning: overwriting stash ‘coverage-report’ [2022-05-12T23:46:57.992Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-05-12T23:46:58.584Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-05-12T23:46:58.936Z] + ls -al . [2022-05-12T23:46:58.936Z] total 296 [2022-05-12T23:46:58.936Z] drwxrwxr-x 10 jenkins jenkins 4096 May 12 23:46 . [2022-05-12T23:46:58.936Z] drwxrwxr-x 4 jenkins jenkins 4096 May 12 23:40 .. [2022-05-12T23:46:58.936Z] -rw-rw-r-- 1 jenkins jenkins 140 May 12 23:40 .dockerignore [2022-05-12T23:46:58.936Z] drwxrwxr-x 8 jenkins jenkins 4096 May 12 23:40 .git [2022-05-12T23:46:58.936Z] drwxrwxr-x 2 jenkins jenkins 4096 May 12 23:40 .github [2022-05-12T23:46:58.936Z] -rw-rw-r-- 1 jenkins jenkins 131 May 12 23:40 .gitignore [2022-05-12T23:46:58.936Z] -rw-rw-r-- 1 jenkins jenkins 42 May 12 23:40 .golangci.yml [2022-05-12T23:46:58.936Z] -rw-rw-r-- 1 jenkins jenkins 29536 May 12 23:40 CHANGELOG.md [2022-05-12T23:46:58.936Z] -rw-rw-r-- 1 jenkins jenkins 677 May 12 23:40 GOVERNANCE.md [2022-05-12T23:46:58.936Z] -rw-rw-r-- 1 jenkins jenkins 880 May 12 23:40 Jenkinsfile [2022-05-12T23:46:58.936Z] -rw-rw-r-- 1 jenkins jenkins 11341 May 12 23:40 LICENSE [2022-05-12T23:46:58.936Z] -rw-rw-r-- 1 jenkins jenkins 2015 May 12 23:40 Makefile [2022-05-12T23:46:58.936Z] -rw-rw-r-- 1 jenkins jenkins 619 May 12 23:40 OWNERS.md [2022-05-12T23:46:58.936Z] -rw-rw-r-- 1 jenkins jenkins 4881 May 12 23:40 README.md [2022-05-12T23:46:58.936Z] -rw-rw-r-- 1 jenkins jenkins 5 May 12 23:37 VERSION [2022-05-12T23:46:58.936Z] drwxrwxr-x 2 jenkins jenkins 4096 May 12 23:40 bin [2022-05-12T23:46:58.936Z] -rw-r--r-- 1 jenkins jenkins 130740 May 12 23:45 coverage.out [2022-05-12T23:46:58.936Z] drwxrwxr-x 5 jenkins jenkins 4096 May 12 23:40 example [2022-05-12T23:46:58.936Z] -rw-rw-r-- 1 jenkins jenkins 3159 May 12 23:40 go.mod [2022-05-12T23:46:58.936Z] -rw-rw-r-- 1 jenkins jenkins 34529 May 12 23:40 go.sum [2022-05-12T23:46:58.936Z] drwxrwxr-x 15 jenkins jenkins 4096 May 12 23:40 internal [2022-05-12T23:46:58.936Z] drwxrwxr-x 3 jenkins jenkins 4096 May 12 23:40 openapi [2022-05-12T23:46:58.936Z] drwxrwxr-x 5 jenkins jenkins 4096 May 12 23:40 pkg [2022-05-12T23:46:58.936Z] drwxrwxr-x 4 jenkins jenkins 4096 May 12 23:40 snap [2022-05-12T23:46:58.936Z] -rw-rw-r-- 1 jenkins jenkins 222 May 12 23:40 version.go [Pipeline] isUnix [Pipeline] sh [2022-05-12T23:46:59.300Z] + 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=9d1347ea06e358a370ae6b7b9ba93436209f0951 --label arch=arm64 --label version=0.0.0 . [2022-05-12T23:46:59.893Z] Sending build context to Docker daemon 5.402MB [2022-05-12T23:46:59.893Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-05-12T23:46:59.893Z] Step 2/25 : FROM ${BASE} AS builder [2022-05-12T23:46:59.893Z] ---> 894bde1e30ff [2022-05-12T23:46:59.893Z] Step 3/25 : ARG MAKE=make build [2022-05-12T23:46:59.893Z] ---> Running in 8a0543828137 [2022-05-12T23:47:00.167Z] Removing intermediate container 8a0543828137 [2022-05-12T23:47:00.167Z] ---> 12b5057c4941 [2022-05-12T23:47:00.167Z] Step 4/25 : WORKDIR /device-sdk-go [2022-05-12T23:47:00.438Z] ---> Running in 7b746d5bc4f7 [2022-05-12T23:47:00.709Z] Removing intermediate container 7b746d5bc4f7 [2022-05-12T23:47:00.709Z] ---> fe59b4ebbc8f [2022-05-12T23:47:00.709Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-05-12T23:47:00.709Z] ---> Running in ec9add89a490 [2022-05-12T23:47:00.987Z] Removing intermediate container ec9add89a490 [2022-05-12T23:47:00.987Z] ---> 625d51829489 [2022-05-12T23:47:00.987Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-12T23:47:01.264Z] ---> Running in 87166b58faeb [2022-05-12T23:47:02.701Z] Removing intermediate container 87166b58faeb [2022-05-12T23:47:02.701Z] ---> 9c6cd47d500a [2022-05-12T23:47:02.701Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-05-12T23:47:02.979Z] ---> Running in 1885c01e6220 [2022-05-12T23:47:03.960Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-05-12T23:47:04.937Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-05-12T23:47:05.914Z] OK: 220 MiB in 52 packages [2022-05-12T23:47:06.517Z] Removing intermediate container 1885c01e6220 [2022-05-12T23:47:06.517Z] ---> 7c532c203468 [2022-05-12T23:47:06.517Z] Step 8/25 : COPY go.mod vendor* ./ [2022-05-12T23:47:07.118Z] ---> 13fd99129a9d [2022-05-12T23:47:07.118Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-12T23:47:07.118Z] ---> Running in 2baffbc49aec [2022-05-12T23:47:09.095Z] Removing intermediate container 2baffbc49aec [2022-05-12T23:47:09.095Z] ---> 52b05f738088 [2022-05-12T23:47:09.095Z] Step 10/25 : COPY . . [2022-05-12T23:47:10.526Z] ---> ed47857e8d9c [2022-05-12T23:47:10.526Z] Step 11/25 : RUN ${MAKE} [2022-05-12T23:47:10.526Z] ---> Running in 3c545d36a7c3 [2022-05-12T23:47:11.509Z] 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-05-12T23:49:33.395Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-05-12T23:49:33.395Z] Removing intermediate container 3c545d36a7c3 [2022-05-12T23:49:33.395Z] ---> b4fc774012d0 [2022-05-12T23:49:33.395Z] Step 12/25 : FROM alpine:3.14 [2022-05-12T23:49:33.395Z] 3.14: Pulling from library/alpine [2022-05-12T23:49:33.395Z] 455c02918c45: Pulling fs layer [2022-05-12T23:49:33.395Z] 455c02918c45: Verifying Checksum [2022-05-12T23:49:33.395Z] 455c02918c45: Download complete [2022-05-12T23:49:33.395Z] 455c02918c45: Pull complete [2022-05-12T23:49:33.395Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-05-12T23:49:33.395Z] Status: Downloaded newer image for alpine:3.14 [2022-05-12T23:49:33.395Z] ---> ac73e934f311 [2022-05-12T23:49:33.395Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-05-12T23:49:33.395Z] ---> Running in e704376a042b [2022-05-12T23:49:33.395Z] Removing intermediate container e704376a042b [2022-05-12T23:49:33.395Z] ---> 5d0d58c4f2c9 [2022-05-12T23:49:33.395Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-12T23:49:33.395Z] ---> Running in 306c156e2634 [2022-05-12T23:49:33.395Z] Removing intermediate container 306c156e2634 [2022-05-12T23:49:33.395Z] ---> f811a4f7d9ea [2022-05-12T23:49:33.395Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-05-12T23:49:33.395Z] ---> Running in a7cd8d84187d [2022-05-12T23:49:34.381Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-05-12T23:49:35.355Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-05-12T23:49:35.948Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2022-05-12T23:49:36.222Z] (2/5) Installing libsodium (1.0.18-r0) [2022-05-12T23:49:36.222Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2022-05-12T23:49:36.494Z] (4/5) Installing libzmq (4.3.4-r0) [2022-05-12T23:49:36.494Z] (5/5) Installing zeromq (4.3.4-r0) [2022-05-12T23:49:36.769Z] Executing busybox-1.33.1-r7.trigger [2022-05-12T23:49:36.769Z] OK: 8 MiB in 19 packages [2022-05-12T23:49:37.752Z] Removing intermediate container a7cd8d84187d [2022-05-12T23:49:37.752Z] ---> 7fd6b2fba57d [2022-05-12T23:49:37.752Z] Step 16/25 : WORKDIR / [2022-05-12T23:49:37.752Z] ---> Running in 9aaeafd74ec0 [2022-05-12T23:49:38.025Z] Removing intermediate container 9aaeafd74ec0 [2022-05-12T23:49:38.025Z] ---> 7a3394ca10de [2022-05-12T23:49:38.025Z] Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-05-12T23:49:38.629Z] ---> 0c223006efda [2022-05-12T23:49:38.629Z] Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-05-12T23:49:40.067Z] ---> 61fd91056c2d [2022-05-12T23:49:40.067Z] Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-05-12T23:49:40.667Z] ---> bbe09feba8f0 [2022-05-12T23:49:40.667Z] Step 20/25 : EXPOSE 59999 [2022-05-12T23:49:40.667Z] ---> Running in 8a9e6759d457 [2022-05-12T23:49:41.282Z] Removing intermediate container 8a9e6759d457 [2022-05-12T23:49:41.282Z] ---> afce904554f2 [2022-05-12T23:49:41.282Z] Step 21/25 : ENTRYPOINT ["/device-simple"] [2022-05-12T23:49:41.282Z] ---> Running in 192fcd15aaaa [2022-05-12T23:49:41.562Z] Removing intermediate container 192fcd15aaaa [2022-05-12T23:49:41.562Z] ---> 22546b2913db [2022-05-12T23:49:41.562Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-05-12T23:49:41.562Z] ---> Running in 1d29632dbd08 [2022-05-12T23:49:41.838Z] Removing intermediate container 1d29632dbd08 [2022-05-12T23:49:41.838Z] ---> e55aa9e43c1c [2022-05-12T23:49:41.838Z] Step 23/25 : LABEL arch=arm64 [2022-05-12T23:49:42.116Z] ---> Running in a19c39c8d476 [2022-05-12T23:49:42.390Z] Removing intermediate container a19c39c8d476 [2022-05-12T23:49:42.390Z] ---> 190e1974e3c3 [2022-05-12T23:49:42.390Z] Step 24/25 : LABEL git_sha=9d1347ea06e358a370ae6b7b9ba93436209f0951 [2022-05-12T23:49:42.390Z] ---> Running in c878a9c03bf3 [2022-05-12T23:49:42.665Z] Removing intermediate container c878a9c03bf3 [2022-05-12T23:49:42.665Z] ---> 30979f43c80a [2022-05-12T23:49:42.665Z] Step 25/25 : LABEL version=0.0.0 [2022-05-12T23:49:42.665Z] ---> Running in 26534733983a [2022-05-12T23:49:43.260Z] Removing intermediate container 26534733983a [2022-05-12T23:49:43.260Z] ---> b5fb61aa1184 [2022-05-12T23:49:43.260Z] [Warning] One or more build-args [ARCH] were not consumed [2022-05-12T23:49:43.260Z] Successfully built b5fb61aa1184 [2022-05-12T23:49:43.260Z] 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-05-12T23:49:43.956Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-12T23:49:43.956Z] [2022-05-12T23:49:43.956Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-05-12T23:49:44.382Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-12T23:49:44.675Z] arm64: Pulling from edgex-lftools-log-publisher [2022-05-12T23:49:44.675Z] 8998bd30e6a1: Pulling fs layer [2022-05-12T23:49:44.675Z] 04944245beec: Pulling fs layer [2022-05-12T23:49:44.675Z] 699f458cf7ca: Pulling fs layer [2022-05-12T23:49:44.675Z] 765212b225bb: Pulling fs layer [2022-05-12T23:49:44.675Z] f23df028b6ca: Pulling fs layer [2022-05-12T23:49:44.675Z] d65c8cfc05b1: Pulling fs layer [2022-05-12T23:49:44.675Z] 2437ff75d9bd: Pulling fs layer [2022-05-12T23:49:44.675Z] f23df028b6ca: Waiting [2022-05-12T23:49:44.675Z] d65c8cfc05b1: Waiting [2022-05-12T23:49:44.675Z] 2437ff75d9bd: Waiting [2022-05-12T23:49:44.676Z] 765212b225bb: Waiting [2022-05-12T23:49:44.676Z] 04944245beec: Verifying Checksum [2022-05-12T23:49:44.676Z] 04944245beec: Download complete [2022-05-12T23:49:44.676Z] 765212b225bb: Verifying Checksum [2022-05-12T23:49:44.676Z] 765212b225bb: Download complete [2022-05-12T23:49:44.676Z] f23df028b6ca: Verifying Checksum [2022-05-12T23:49:44.676Z] f23df028b6ca: Download complete [2022-05-12T23:49:44.973Z] d65c8cfc05b1: Verifying Checksum [2022-05-12T23:49:44.973Z] d65c8cfc05b1: Download complete [2022-05-12T23:49:44.973Z] 699f458cf7ca: Verifying Checksum [2022-05-12T23:49:44.973Z] 699f458cf7ca: Download complete [2022-05-12T23:49:45.590Z] 8998bd30e6a1: Verifying Checksum [2022-05-12T23:49:45.590Z] 8998bd30e6a1: Download complete [2022-05-12T23:49:48.217Z] 2437ff75d9bd: Verifying Checksum [2022-05-12T23:49:48.217Z] 2437ff75d9bd: Download complete [2022-05-12T23:49:50.198Z] 8998bd30e6a1: Pull complete [2022-05-12T23:49:50.795Z] 04944245beec: Pull complete [2022-05-12T23:49:52.225Z] 699f458cf7ca: Pull complete [2022-05-12T23:49:52.506Z] 765212b225bb: Pull complete [2022-05-12T23:49:53.105Z] f23df028b6ca: Pull complete [2022-05-12T23:49:53.379Z] d65c8cfc05b1: Pull complete [2022-05-12T23:50:08.485Z] 2437ff75d9bd: Pull complete [2022-05-12T23:50:08.485Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-05-12T23:50:08.485Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-12T23:50:08.485Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-05-12T23:50:08.764Z] prd-ubuntu20.04-docker-arm64-4c-16g-63535 does not seem to be running inside a container [2022-05-12T23:50:08.861Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-05-12T23:50:11.586Z] $ docker top ea31479d946e9d4f9fd5d460af905ab967cc73337b5c0ffb6fe9b74dff3faf71 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-12T23:50:12.590Z] ---> job-cost.sh [2022-05-12T23:50:12.590Z] lf-activate-venv: SKIPPING [2022-05-12T23:50:12.590Z] INFO: No Stack... [2022-05-12T23:50:13.188Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-05-12T23:50:14.168Z] INFO: Archiving Costs [Pipeline] sh [2022-05-12T23:50:14.855Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2022-05-12T23:50:14.855Z] + cut -d, -f6 [Pipeline] lock [2022-05-12T23:50:14.949Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1163-1-stack-cost] [2022-05-12T23:50:14.954Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1163-1-stack-cost] did not exist. Created. [2022-05-12T23:50:14.954Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1163-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-05-12T23:50:15.707Z] /w/workspace/device-sdk-go/1@tmp/durable-478d7c74/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-05-12T23:50:16.407Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-05-12T23:50:16.445Z] Warning: overwriting stash ‘stack-cost’ [2022-05-12T23:50:16.514Z] Stashed 1 file(s) [Pipeline] } [2022-05-12T23:50:16.530Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1163-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-05-12T23:50:16.626Z] $ docker stop --time=1 ea31479d946e9d4f9fd5d460af905ab967cc73337b5c0ffb6fe9b74dff3faf71 [2022-05-12T23:50:18.147Z] $ docker rm -f ea31479d946e9d4f9fd5d460af905ab967cc73337b5c0ffb6fe9b74dff3faf71 [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-05-12T23:50:19.170Z] provisioning config files... [2022-05-12T23:50:19.180Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1163@tmp/config8251073473543958826tmp [Pipeline] { [Pipeline] sh [2022-05-12T23:50:19.514Z] + set +x [2022-05-12T23:50:19.514Z] + curl -s https://codecov.io/bash [2022-05-12T23:50:19.514Z] + bash -s -- [2022-05-12T23:50:19.514Z] [2022-05-12T23:50:19.514Z] _____ _ [2022-05-12T23:50:19.514Z] / ____| | | [2022-05-12T23:50:19.514Z] | | ___ __| | ___ ___ _____ __ [2022-05-12T23:50:19.514Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-05-12T23:50:19.514Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-05-12T23:50:19.514Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-05-12T23:50:19.514Z] Bash-1.0.6 [2022-05-12T23:50:19.514Z] [2022-05-12T23:50:19.514Z] [2022-05-12T23:50:19.514Z] ==> git version 2.25.1 found [2022-05-12T23:50:19.514Z] ==> 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-05-12T23:50:19.514Z] Release-Date: 2020-01-08 [2022-05-12T23:50:19.514Z] 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-05-12T23:50:19.514Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-05-12T23:50:19.514Z] ==> Jenkins CI detected. [2022-05-12T23:50:19.514Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1163 [2022-05-12T23:50:19.514Z] project root: . [2022-05-12T23:50:19.514Z] --> token set from env [2022-05-12T23:50:19.514Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-05-12T23:50:19.514Z] ==> Running gcov in . (disable via -X gcov) [2022-05-12T23:50:19.514Z] ==> Python coveragepy not found [2022-05-12T23:50:19.514Z] ==> Searching for coverage reports in: [2022-05-12T23:50:19.514Z] + . [2022-05-12T23:50:19.514Z] -> Found 1 reports [2022-05-12T23:50:19.514Z] ==> Detecting git/mercurial file structure [2022-05-12T23:50:19.514Z] ==> Reading reports [2022-05-12T23:50:19.514Z] + ./coverage.out bytes=130740 [2022-05-12T23:50:19.514Z] ==> Appending adjustments [2022-05-12T23:50:19.514Z] https://docs.codecov.io/docs/fixing-reports [2022-05-12T23:50:19.775Z] + Found adjustments [2022-05-12T23:50:19.775Z] ==> Gzipping contents [2022-05-12T23:50:19.775Z] 20K /tmp/codecov.H5Rm4y.gz [2022-05-12T23:50:19.775Z] ==> Uploading reports [2022-05-12T23:50:19.775Z] url: https://codecov.io [2022-05-12T23:50:19.775Z] query: branch=PR-1163&commit=9d1347ea06e358a370ae6b7b9ba93436209f0951&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1163%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1163&job=&cmd_args= [2022-05-12T23:50:19.775Z] -> Pinging Codecov [2022-05-12T23:50:19.775Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1163&commit=9d1347ea06e358a370ae6b7b9ba93436209f0951&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1163%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1163&job=&cmd_args= [2022-05-12T23:50:20.349Z] -> Uploading to [2022-05-12T23:50:20.349Z] https://storage.googleapis.com/codecov/v4/raw/2022-05-12/7E55EF52A471D76F132DFD9A03CDDE97/9d1347ea06e358a370ae6b7b9ba93436209f0951/16af0c2c-5c72-4481-8459-cf49a53e47c9.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220512%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220512T235020Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=7f5b2bf588baae396f4fa1e63671bc1fa938f6b8f42d431fab4cb3b6bc305364 [2022-05-12T23:50:20.349Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-05-12T23:50:20.349Z] Dload Upload Total Spent Left Speed [2022-05-12T23:50:20.349Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16825 0 0 100 16825 0 78621 --:--:-- --:--:-- --:--:-- 78990 [2022-05-12T23:50:20.349Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/9d1347ea06e358a370ae6b7b9ba93436209f0951 [Pipeline] } [2022-05-12T23:50:20.375Z] 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-05-12T23:50:22.026Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1163/archives ] [2022-05-12T23:50:22.026Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1163/archives [2022-05-12T23:50:22.026Z] total 16 [2022-05-12T23:50:22.026Z] drwxr-xr-x 3 root root 4096 May 12 23:39 . [2022-05-12T23:50:22.026Z] drwxrwxr-x 12 jenkins jenkins 4096 May 12 23:39 .. [2022-05-12T23:50:22.026Z] drwxr-xr-x 2 root root 4096 May 12 23:39 cost [2022-05-12T23:50:22.026Z] -rw-r--r-- 1 root root 85 May 12 23:39 cost.csv [2022-05-12T23:50:22.026Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1163/archives [2022-05-12T23:50:22.026Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1163/archives [2022-05-12T23:50:22.026Z] total 16 [2022-05-12T23:50:22.026Z] drwxr-xr-x 3 jenkins jenkins 4096 May 12 23:39 . [2022-05-12T23:50:22.026Z] drwxrwxr-x 12 jenkins jenkins 4096 May 12 23:39 .. [2022-05-12T23:50:22.026Z] drwxr-xr-x 2 jenkins jenkins 4096 May 12 23:39 cost [2022-05-12T23:50:22.026Z] -rw-r--r-- 1 jenkins jenkins 85 May 12 23:39 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-05-12T23:50:22.358Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-12T23:50:23.266Z] ---> package-listing.sh [2022-05-12T23:50:23.266Z] ++ facter osfamily [2022-05-12T23:50:23.266Z] ++ tr '[:upper:]' '[:lower:]' [2022-05-12T23:50:23.526Z] + OS_FAMILY=debian [2022-05-12T23:50:23.526Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1163 [2022-05-12T23:50:23.526Z] + START_PACKAGES=/tmp/packages_start.txt [2022-05-12T23:50:23.526Z] + END_PACKAGES=/tmp/packages_end.txt [2022-05-12T23:50:23.526Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-05-12T23:50:23.526Z] + PACKAGES=/tmp/packages_start.txt [2022-05-12T23:50:23.526Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1163 ']' [2022-05-12T23:50:23.526Z] + PACKAGES=/tmp/packages_end.txt [2022-05-12T23:50:23.526Z] + case "${OS_FAMILY}" in [2022-05-12T23:50:23.526Z] + dpkg -l [2022-05-12T23:50:23.526Z] + grep '^ii' [2022-05-12T23:50:23.526Z] + '[' -f /tmp/packages_start.txt ']' [2022-05-12T23:50:23.526Z] + '[' -f /tmp/packages_end.txt ']' [2022-05-12T23:50:23.526Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-05-12T23:50:23.526Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1163 ']' [2022-05-12T23:50:23.526Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1163/archives/ [2022-05-12T23:50:23.526Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1163/archives/ [Pipeline] echo [2022-05-12T23:50:23.559Z] 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-1163/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-05-12T23:50:23.854Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-05-12T23:50:24.439Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-12T23:50:24.439Z] . [Pipeline] withDockerContainer [2022-05-12T23:50:24.528Z] prd-ubuntu20.04-docker-8c-8g-63532 does not seem to be running inside a container [2022-05-12T23:50:24.564Z] $ 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-1163/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-1163 -v /w/workspace/gexfoundry_device-sdk-go_PR-1163:/w/workspace/gexfoundry_device-sdk-go_PR-1163:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1163@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1163@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-05-12T23:50:24.774Z] $ docker top 02b08e976ae21ede85d6ee24a016bbccfd4984539866fce62e983098f63a2d51 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-12T23:50:25.179Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-05-12T23:50:25.499Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-05-12T23:50:25.822Z] + ls /var/log/sa-host [2022-05-12T23:50:25.822Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-12T23:50:25.979Z] provisioning config files... [2022-05-12T23:50:25.989Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1163@tmp/config4294635691289320544tmp [Pipeline] { [Pipeline] echo [2022-05-12T23:50:26.034Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-12T23:50:26.347Z] ---> create-netrc.sh [Pipeline] } [2022-05-12T23:50:26.374Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-05-12T23:50:26.778Z] ---> python-tools-install.sh [Pipeline] echo [2022-05-12T23:50:26.808Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-12T23:50:27.122Z] ---> sudo-logs.sh [2022-05-12T23:50:27.122Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-05-12T23:50:27.203Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-12T23:50:27.517Z] ---> job-cost.sh [2022-05-12T23:50:27.517Z] lf-activate-venv: SKIPPING [2022-05-12T23:50:27.517Z] DEBUG: total: 0.2199999988079071 [2022-05-12T23:50:27.517Z] INFO: Retrieving Stack Cost... [2022-05-12T23:50:28.089Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-05-12T23:50:28.660Z] INFO: Archiving Costs [Pipeline] echo [2022-05-12T23:50:28.692Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-12T23:50:29.006Z] ---> logs-deploy.sh [2022-05-12T23:50:29.006Z] lf-activate-venv: SKIPPING [2022-05-12T23:50:29.006Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1163/1 [2022-05-12T23:50:29.006Z] INFO: archiving workspace using pattern(s): [2022-05-12T23:50:29.950Z] Archives upload complete. [2022-05-12T23:50:29.950Z] INFO: archiving logs to Nexus