Pull request #1158 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 9d23f13a7e87006a066c4d707af41039bad3d424+cc37b9e2c9629ca07e46878051115594cd22d281 (f6fc8cc71057988e85e73ce82fd881daefb4e37d) 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-ssh14171013991726410962.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 61d3a14f5ee21304eadc9c25f102bcac80e1a589 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh11863666405996103814.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 61d3a14f5ee21304eadc9c25f102bcac80e1a589 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1158/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-1158/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh14485061069313520997.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-1158/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh12701692202269558250.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 61d3a14f5ee21304eadc9c25f102bcac80e1a589 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 61d3a14f5ee21304eadc9c25f102bcac80e1a589 # timeout=10 Commit message: "Merge pull request #384 from ernestojeda/add-go-1_17-lts" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh11477245426189098394.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-1158/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-1158/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh11673520328540548193.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 61d3a14f5ee21304eadc9c25f102bcac80e1a589 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-44781 in /w/workspace/gexfoundry_device-sdk-go_PR-1158 [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-1158 # 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 cc37b9e2c9629ca07e46878051115594cd22d281 into PR head commit 9d23f13a7e87006a066c4d707af41039bad3d424 Merge succeeded, producing 9d23f13a7e87006a066c4d707af41039bad3d424 Checking out Revision 9d23f13a7e87006a066c4d707af41039bad3d424 (PR-1158) > 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/1158/head:refs/remotes/origin/PR-1158 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9d23f13a7e87006a066c4d707af41039bad3d424 # 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 cc37b9e2c9629ca07e46878051115594cd22d281 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9d23f13a7e87006a066c4d707af41039bad3d424 # timeout=10 Commit message: "build: Update to latest released 2.2.0 Go Mods" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 61d3a14f5ee21304eadc9c25f102bcac80e1a589 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-05-09T22:35:32.403Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-05-09T22:35:32.591Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-05-09T22:35:32.692Z] ========================================================= [2022-05-09T22:35:32.692Z] EdgeX Global Pipelines Version Info [2022-05-09T22:35:32.692Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-05-09T22:35:33.496Z] ------------------- [2022-05-09T22:35:33.496Z] stable info: [2022-05-09T22:35:33.496Z] ------------------- [2022-05-09T22:35:33.496Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-05-09T22:35:33.496Z] Commit SHA: 61d3a14f5ee21304eadc9c25f102bcac80e1a589 [2022-05-09T22:35:33.496Z] Message: update stable to v1.0.227 [2022-05-09T22:35:34.070Z] ------------------- [2022-05-09T22:35:34.070Z] experimental info: [2022-05-09T22:35:34.070Z] ------------------- [2022-05-09T22:35:34.070Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-05-09T22:35:34.070Z] Commit SHA: 821e2ffd3fa43eddc5db18cf710cdace1a36094c [2022-05-09T22:35:34.070Z] Message: update experimental to v1.0.229 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-05-09T22:35:34.390Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2022-05-09T22:35:34.429Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2022-05-09T22:35:34.468Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-05-09T22:35:34.510Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-05-09T22:35:34.547Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-05-09T22:35:34.589Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-05-09T22:35:34.629Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-05-09T22:35:34.667Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2022-05-09T22:35:34.709Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-05-09T22:35:34.753Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-05-09T22:35:34.799Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-05-09T22:35:34.842Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2022-05-09T22:35:34.885Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-05-09T22:35:34.928Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-05-09T22:35:34.968Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-05-09T22:35:35.007Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2022-05-09T22:35:35.052Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-05-09T22:35:35.113Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-05-09T22:35:35.176Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-05-09T22:35:35.221Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-05-09T22:35:35.274Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-05-09T22:35:35.458Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2022-05-09T22:35:35.505Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-05-09T22:35:35.546Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-05-09T22:35:35.592Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-05-09T22:35:35.637Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-05-09T22:35:35.677Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1158 [Pipeline] echo [2022-05-09T22:35:35.723Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1158 [Pipeline] echo [2022-05-09T22:35:35.810Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1158 [Pipeline] echo [2022-05-09T22:35:35.851Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 9d23f13a7e87006a066c4d707af41039bad3d424 [Pipeline] echo [2022-05-09T22:35:35.890Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9d23f13 [Pipeline] echo [2022-05-09T22:35:35.932Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-09T22:35:36.042Z] provisioning config files... [2022-05-09T22:35:36.056Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1158@tmp/config8557803291124652178tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-09T22:35:36.407Z] ---> docker-login.sh [2022-05-09T22:35:36.407Z] nexus3.edgexfoundry.org:10001 [2022-05-09T22:35:36.670Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-09T22:35:36.670Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-09T22:35:36.670Z] Configure a credential helper to remove this warning. See [2022-05-09T22:35:36.670Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-09T22:35:36.670Z] [2022-05-09T22:35:36.670Z] Login Succeeded [2022-05-09T22:35:36.670Z] nexus3.edgexfoundry.org:10002 [2022-05-09T22:35:36.933Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-09T22:35:36.933Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-09T22:35:36.933Z] Configure a credential helper to remove this warning. See [2022-05-09T22:35:36.933Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-09T22:35:36.933Z] [2022-05-09T22:35:36.933Z] Login Succeeded [2022-05-09T22:35:36.933Z] nexus3.edgexfoundry.org:10003 [2022-05-09T22:35:36.933Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-09T22:35:37.194Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-09T22:35:37.194Z] Configure a credential helper to remove this warning. See [2022-05-09T22:35:37.194Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-09T22:35:37.194Z] [2022-05-09T22:35:37.194Z] Login Succeeded [2022-05-09T22:35:37.194Z] nexus3.edgexfoundry.org:10004 [2022-05-09T22:35:37.194Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-09T22:35:37.194Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-09T22:35:37.194Z] Configure a credential helper to remove this warning. See [2022-05-09T22:35:37.194Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-09T22:35:37.194Z] [2022-05-09T22:35:37.194Z] Login Succeeded [2022-05-09T22:35:37.194Z] docker.io [2022-05-09T22:35:37.194Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-09T22:35:37.767Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-09T22:35:37.767Z] Configure a credential helper to remove this warning. See [2022-05-09T22:35:37.767Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-09T22:35:37.767Z] [2022-05-09T22:35:37.767Z] Login Succeeded [2022-05-09T22:35:37.767Z] ---> docker-login.sh ends [Pipeline] } [2022-05-09T22:35:37.794Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-05-09T22:35:38.416Z] + git rev-list -1 --merges 9d23f13a7e87006a066c4d707af41039bad3d424~1..9d23f13a7e87006a066c4d707af41039bad3d424 [Pipeline] echo [2022-05-09T22:35:38.470Z] -----------> git rev-list -1 --merges 9d23f13a7e87006a066c4d707af41039bad3d424~1..9d23f13a7e87006a066c4d707af41039bad3d424 9d23f13a7e87006a066c4d707af41039bad3d424 [false] [Pipeline] sh [2022-05-09T22:35:38.786Z] + git log --format=format:%s -1 9d23f13a7e87006a066c4d707af41039bad3d424 [Pipeline] echo [2022-05-09T22:35:38.821Z] ========================================================= [2022-05-09T22:35:38.821Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-05-09T22:35:38.821Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-05-09T22:35:39.291Z] + git log --format=format:%s -1 9d23f13a7e87006a066c4d707af41039bad3d424 [Pipeline] echo [2022-05-09T22:35:39.325Z] [semverPrep] GIT_COMMIT: 9d23f13a7e87006a066c4d707af41039bad3d424, Commit Message: build: Update to latest released 2.2.0 Go Mods [Pipeline] echo [2022-05-09T22:35:39.356Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-05-09T22:35:39.806Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-05-09T22:35:39.806Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-05-09T22:35:39.806Z] + [ -e /tmp/ssh_known_hosts ] [2022-05-09T22:35:39.806Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-05-09T22:35:39.806Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-05-09T22:35:39.806Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-05-09T22:35:39.806Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-05-09T22:35:40.264Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-09T22:35:40.264Z] [2022-05-09T22:35:40.264Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-05-09T22:35:40.609Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-09T22:35:40.609Z] latest: Pulling from edgex-devops/py-git-semver [2022-05-09T22:35:40.609Z] 1fe172e4850f: Pulling fs layer [2022-05-09T22:35:40.609Z] caf521ccaac6: Pulling fs layer [2022-05-09T22:35:40.609Z] 3ead6fa29328: Pulling fs layer [2022-05-09T22:35:40.609Z] 5c2a1cbceb83: Pulling fs layer [2022-05-09T22:35:40.609Z] a8d5f1318db7: Pulling fs layer [2022-05-09T22:35:40.609Z] c427282e49a2: Pulling fs layer [2022-05-09T22:35:40.609Z] 1827001aaf11: Pulling fs layer [2022-05-09T22:35:40.609Z] 0714d37db230: Pulling fs layer [2022-05-09T22:35:40.609Z] ac28cf19c067: Pulling fs layer [2022-05-09T22:35:40.609Z] ca983d60f3e2: Pulling fs layer [2022-05-09T22:35:40.609Z] 9f894cec8388: Pulling fs layer [2022-05-09T22:35:40.609Z] ca983d60f3e2: Waiting [2022-05-09T22:35:40.609Z] 0714d37db230: Waiting [2022-05-09T22:35:40.609Z] 9f894cec8388: Waiting [2022-05-09T22:35:40.609Z] 5c2a1cbceb83: Waiting [2022-05-09T22:35:40.609Z] c427282e49a2: Waiting [2022-05-09T22:35:40.609Z] ac28cf19c067: Waiting [2022-05-09T22:35:40.609Z] 1827001aaf11: Waiting [2022-05-09T22:35:40.609Z] a8d5f1318db7: Waiting [2022-05-09T22:35:40.609Z] caf521ccaac6: Verifying Checksum [2022-05-09T22:35:40.609Z] caf521ccaac6: Download complete [2022-05-09T22:35:40.609Z] 5c2a1cbceb83: Verifying Checksum [2022-05-09T22:35:40.609Z] 5c2a1cbceb83: Download complete [2022-05-09T22:35:40.868Z] a8d5f1318db7: Download complete [2022-05-09T22:35:40.868Z] c427282e49a2: Verifying Checksum [2022-05-09T22:35:40.868Z] c427282e49a2: Download complete [2022-05-09T22:35:40.868Z] 3ead6fa29328: Verifying Checksum [2022-05-09T22:35:40.868Z] 3ead6fa29328: Download complete [2022-05-09T22:35:40.868Z] 0714d37db230: Verifying Checksum [2022-05-09T22:35:40.868Z] 0714d37db230: Download complete [2022-05-09T22:35:40.868Z] ac28cf19c067: Download complete [2022-05-09T22:35:40.868Z] ca983d60f3e2: Download complete [2022-05-09T22:35:40.868Z] 9f894cec8388: Download complete [2022-05-09T22:35:40.868Z] 1fe172e4850f: Download complete [2022-05-09T22:35:41.129Z] 1827001aaf11: Verifying Checksum [2022-05-09T22:35:41.129Z] 1827001aaf11: Download complete [2022-05-09T22:35:42.509Z] 1fe172e4850f: Pull complete [2022-05-09T22:35:42.509Z] caf521ccaac6: Pull complete [2022-05-09T22:35:43.083Z] 3ead6fa29328: Pull complete [2022-05-09T22:35:43.083Z] 5c2a1cbceb83: Pull complete [2022-05-09T22:35:43.343Z] a8d5f1318db7: Pull complete [2022-05-09T22:35:43.603Z] c427282e49a2: Pull complete [2022-05-09T22:35:45.527Z] 1827001aaf11: Pull complete [2022-05-09T22:35:45.789Z] 0714d37db230: Pull complete [2022-05-09T22:35:45.789Z] ac28cf19c067: Pull complete [2022-05-09T22:35:46.049Z] ca983d60f3e2: Pull complete [2022-05-09T22:35:46.049Z] 9f894cec8388: Pull complete [2022-05-09T22:35:46.049Z] Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee [2022-05-09T22:35:46.049Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-09T22:35:46.049Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] withDockerContainer [2022-05-09T22:35:46.157Z] prd-ubuntu20.04-docker-8c-8g-44781 does not seem to be running inside a container [2022-05-09T22:35:46.205Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1158 -v /w/workspace/gexfoundry_device-sdk-go_PR-1158:/w/workspace/gexfoundry_device-sdk-go_PR-1158:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1158@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1158@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-09T22:35:47.891Z] $ docker top 37766b27ea2f88f2559ba7d5127e942aa2972e4b889d0c5d219bf855d35fd126 -eo pid,comm [2022-05-09T22:35:47.960Z] 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-09T22:35:47.960Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-05-09T22:35:48.092Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-09T22:35:48.092Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-09T22:35:48.235Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-09T22:35:48.244Z] $ docker exec 37766b27ea2f88f2559ba7d5127e942aa2972e4b889d0c5d219bf855d35fd126 ssh-agent [2022-05-09T22:35:48.373Z] SSH_AUTH_SOCK=/tmp/ssh-Ywc4q45bFMK2/agent.34 [2022-05-09T22:35:48.373Z] SSH_AGENT_PID=40 [2022-05-09T22:35:48.382Z] Running ssh-add (command line suppressed) [2022-05-09T22:35:48.512Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1158@tmp/private_key_2900804633244009699.key (/w/workspace/gexfoundry_device-sdk-go_PR-1158@tmp/private_key_2900804633244009699.key) [2022-05-09T22:35:48.524Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-09T22:35:48.856Z] + git tag --points-at HEAD [Pipeline] } [2022-05-09T22:35:48.886Z] $ docker exec --env ******** --env ******** 37766b27ea2f88f2559ba7d5127e942aa2972e4b889d0c5d219bf855d35fd126 ssh-agent -k [2022-05-09T22:35:49.017Z] unset SSH_AUTH_SOCK; [2022-05-09T22:35:49.017Z] unset SSH_AGENT_PID; [2022-05-09T22:35:49.017Z] echo Agent pid 40 killed; [2022-05-09T22:35:49.026Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-05-09T22:35:49.111Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-09T22:35:49.111Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-09T22:35:49.246Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-09T22:35:49.255Z] $ docker exec 37766b27ea2f88f2559ba7d5127e942aa2972e4b889d0c5d219bf855d35fd126 ssh-agent [2022-05-09T22:35:49.381Z] SSH_AUTH_SOCK=/tmp/ssh-SOGQmtipimcT/agent.74 [2022-05-09T22:35:49.381Z] SSH_AGENT_PID=80 [2022-05-09T22:35:49.386Z] Running ssh-add (command line suppressed) [2022-05-09T22:35:49.512Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1158@tmp/private_key_4191740435237510602.key (/w/workspace/gexfoundry_device-sdk-go_PR-1158@tmp/private_key_4191740435237510602.key) [2022-05-09T22:35:49.521Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-09T22:35:49.853Z] + git semver init [2022-05-09T22:35:50.113Z] 2022-05-09 22:35:50,057 [run_init] DEBUG init version:0.0.0 force:False [2022-05-09T22:35:50.113Z] 2022-05-09 22:35:50,058 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1158/.semver [2022-05-09T22:35:50.113Z] 2022-05-09 22:35:50,058 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1158/.semver [2022-05-09T22:35:50.113Z] 2022-05-09 22:35:50,059 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1158/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1158, universal_newlines=False, shell=None, istream=None) [2022-05-09T22:35:51.059Z] 2022-05-09 22:35:51,006 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1158/.git/info/exclude [2022-05-09T22:35:51.059Z] 2022-05-09 22:35:51,006 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1158/.semver/PR-1158 with force:False [2022-05-09T22:35:51.059Z] 2022-05-09 22:35:51,006 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1158/.semver/PR-1158 [2022-05-09T22:35:51.059Z] 2022-05-09 22:35:51,011 [execute] INFO git cat-file --batch-check [2022-05-09T22:35:51.059Z] 2022-05-09 22:35:51,012 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1158/.semver, universal_newlines=False, shell=None, istream=) [2022-05-09T22:35:51.059Z] 2022-05-09 22:35:51,018 [execute] INFO git cat-file --batch [2022-05-09T22:35:51.059Z] 2022-05-09 22:35:51,018 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1158/.semver, universal_newlines=False, shell=None, istream=) [2022-05-09T22:35:51.059Z] 2022-05-09 22:35:51,023 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1158/.semver/PR-1158 [2022-05-09T22:35:51.059Z] 0.0.0 [Pipeline] } [2022-05-09T22:35:51.091Z] $ docker exec --env ******** --env ******** 37766b27ea2f88f2559ba7d5127e942aa2972e4b889d0c5d219bf855d35fd126 ssh-agent -k [2022-05-09T22:35:51.211Z] unset SSH_AUTH_SOCK; [2022-05-09T22:35:51.213Z] unset SSH_AGENT_PID; [2022-05-09T22:35:51.213Z] echo Agent pid 80 killed; [2022-05-09T22:35:51.217Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-05-09T22:35:51.639Z] + git semver [Pipeline] } [2022-05-09T22:35:51.942Z] $ docker stop --time=1 37766b27ea2f88f2559ba7d5127e942aa2972e4b889d0c5d219bf855d35fd126 [2022-05-09T22:35:53.281Z] $ docker rm -f 37766b27ea2f88f2559ba7d5127e942aa2972e4b889d0c5d219bf855d35fd126 [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-09T22:35:53.688Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-05-09T22:35:54.040Z] Stashed 1 file(s) [Pipeline] echo [2022-05-09T22:35:54.059Z] [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-09T22:35:54.627Z] provisioning config files... [2022-05-09T22:35:54.642Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1158@tmp/config5928313642146443459tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-09T22:35:54.986Z] ---> docker-login.sh [2022-05-09T22:35:54.986Z] nexus3.edgexfoundry.org:10001 [2022-05-09T22:35:54.986Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-09T22:35:54.986Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-09T22:35:54.986Z] Configure a credential helper to remove this warning. See [2022-05-09T22:35:54.986Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-09T22:35:54.986Z] [2022-05-09T22:35:54.986Z] Login Succeeded [2022-05-09T22:35:54.986Z] nexus3.edgexfoundry.org:10002 [2022-05-09T22:35:54.986Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-09T22:35:55.248Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-09T22:35:55.248Z] Configure a credential helper to remove this warning. See [2022-05-09T22:35:55.248Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-09T22:35:55.248Z] [2022-05-09T22:35:55.248Z] Login Succeeded [2022-05-09T22:35:55.248Z] nexus3.edgexfoundry.org:10003 [2022-05-09T22:35:55.248Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-09T22:35:55.248Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-09T22:35:55.248Z] Configure a credential helper to remove this warning. See [2022-05-09T22:35:55.248Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-09T22:35:55.248Z] [2022-05-09T22:35:55.248Z] Login Succeeded [2022-05-09T22:35:55.248Z] nexus3.edgexfoundry.org:10004 [2022-05-09T22:35:55.248Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-09T22:35:55.510Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-09T22:35:55.510Z] Configure a credential helper to remove this warning. See [2022-05-09T22:35:55.510Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-09T22:35:55.510Z] [2022-05-09T22:35:55.510Z] Login Succeeded [2022-05-09T22:35:55.510Z] docker.io [2022-05-09T22:35:55.510Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-09T22:35:55.772Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-09T22:35:55.772Z] Configure a credential helper to remove this warning. See [2022-05-09T22:35:55.772Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-09T22:35:55.772Z] [2022-05-09T22:35:55.772Z] Login Succeeded [2022-05-09T22:35:55.772Z] ---> docker-login.sh ends [Pipeline] } [2022-05-09T22:35:55.805Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-05-09T22:35:56.008Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-05-09T22:35:56.043Z] ========================================================= [2022-05-09T22:35:56.043Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-05-09T22:35:56.043Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-05-09T22:35:56.453Z] + 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-09T22:35:56.453Z] Sending build context to Docker daemon 9.728MB [2022-05-09T22:35:56.453Z] Step 1/11 : ARG BASE=golang:1.17-alpine3.15 [2022-05-09T22:35:56.453Z] Step 2/11 : FROM ${BASE} AS builder [2022-05-09T22:35:56.453Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-05-09T22:35:56.453Z] 59bf1c3509f3: Pulling fs layer [2022-05-09T22:35:56.453Z] 666ba61612fd: Pulling fs layer [2022-05-09T22:35:56.453Z] 8ed8ca486205: Pulling fs layer [2022-05-09T22:35:56.453Z] 4fe6c5a15a65: Pulling fs layer [2022-05-09T22:35:56.453Z] 22a0e8bec74d: Pulling fs layer [2022-05-09T22:35:56.453Z] ca2b28591e48: Pulling fs layer [2022-05-09T22:35:56.453Z] a51346096db8: Pulling fs layer [2022-05-09T22:35:56.453Z] daebc70d1ce1: Pulling fs layer [2022-05-09T22:35:56.453Z] 0e18a0eac166: Pulling fs layer [2022-05-09T22:35:56.453Z] ca2b28591e48: Waiting [2022-05-09T22:35:56.453Z] a51346096db8: Waiting [2022-05-09T22:35:56.454Z] daebc70d1ce1: Waiting [2022-05-09T22:35:56.454Z] 0e18a0eac166: Waiting [2022-05-09T22:35:56.454Z] 4fe6c5a15a65: Waiting [2022-05-09T22:35:56.454Z] 8ed8ca486205: Verifying Checksum [2022-05-09T22:35:56.454Z] 8ed8ca486205: Download complete [2022-05-09T22:35:56.716Z] 666ba61612fd: Verifying Checksum [2022-05-09T22:35:56.716Z] 666ba61612fd: Download complete [2022-05-09T22:35:56.716Z] 22a0e8bec74d: Verifying Checksum [2022-05-09T22:35:56.716Z] 22a0e8bec74d: Download complete [2022-05-09T22:35:56.716Z] ca2b28591e48: Verifying Checksum [2022-05-09T22:35:56.716Z] ca2b28591e48: Download complete [2022-05-09T22:35:56.716Z] 59bf1c3509f3: Verifying Checksum [2022-05-09T22:35:56.716Z] 59bf1c3509f3: Download complete [2022-05-09T22:35:56.716Z] a51346096db8: Download complete [2022-05-09T22:35:56.716Z] daebc70d1ce1: Verifying Checksum [2022-05-09T22:35:56.716Z] daebc70d1ce1: Download complete [2022-05-09T22:35:56.716Z] 59bf1c3509f3: Pull complete [2022-05-09T22:35:56.983Z] 666ba61612fd: Pull complete [2022-05-09T22:35:56.983Z] 8ed8ca486205: Pull complete [2022-05-09T22:35:57.245Z] 0e18a0eac166: Verifying Checksum [2022-05-09T22:35:57.506Z] 4fe6c5a15a65: Download complete [2022-05-09T22:36:01.707Z] 4fe6c5a15a65: Pull complete [2022-05-09T22:36:01.707Z] 22a0e8bec74d: Pull complete [2022-05-09T22:36:01.707Z] ca2b28591e48: Pull complete [2022-05-09T22:36:01.707Z] a51346096db8: Pull complete [2022-05-09T22:36:01.707Z] daebc70d1ce1: Pull complete [2022-05-09T22:36:04.249Z] 0e18a0eac166: Pull complete [2022-05-09T22:36:04.249Z] Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 [2022-05-09T22:36:04.249Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-05-09T22:36:04.249Z] ---> f018257e8ee9 [2022-05-09T22:36:04.249Z] Step 3/11 : ARG MAKE=make build [2022-05-09T22:36:06.809Z] ---> Running in 475db5f0dcfb [2022-05-09T22:36:06.809Z] Removing intermediate container 475db5f0dcfb [2022-05-09T22:36:06.809Z] ---> 1dd85843d594 [2022-05-09T22:36:06.809Z] Step 4/11 : WORKDIR /device-sdk-go [2022-05-09T22:36:06.809Z] ---> Running in 87f401b59841 [2022-05-09T22:36:06.809Z] Removing intermediate container 87f401b59841 [2022-05-09T22:36:06.809Z] ---> b1c15e6513f3 [2022-05-09T22:36:06.809Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-05-09T22:36:06.809Z] ---> Running in 21691d45d104 [2022-05-09T22:36:06.809Z] Removing intermediate container 21691d45d104 [2022-05-09T22:36:06.809Z] ---> d2d7a6171301 [2022-05-09T22:36:06.809Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-09T22:36:06.809Z] ---> Running in bf5cf58b2d8a [2022-05-09T22:36:07.748Z] Removing intermediate container bf5cf58b2d8a [2022-05-09T22:36:07.748Z] ---> 00cac60ef096 [2022-05-09T22:36:07.748Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-05-09T22:36:07.748Z] ---> Running in a1cfd48b2017 [2022-05-09T22:36:08.012Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-05-09T22:36:08.957Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-05-09T22:36:09.221Z] OK: 221 MiB in 52 packages [2022-05-09T22:36:09.456Z] Still waiting to schedule task [2022-05-09T22:36:09.456Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2022-05-09T22:36:09.484Z] Removing intermediate container a1cfd48b2017 [2022-05-09T22:36:09.484Z] ---> bd1646177008 [2022-05-09T22:36:09.484Z] Step 8/11 : COPY go.mod vendor* ./ [2022-05-09T22:36:09.744Z] ---> 035b2aa4eecb [2022-05-09T22:36:09.744Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-09T22:36:09.744Z] ---> Running in 42b23988bb29 [2022-05-09T22:36:27.863Z] Removing intermediate container 42b23988bb29 [2022-05-09T22:36:27.863Z] ---> 0fca011e776b [2022-05-09T22:36:27.863Z] Step 10/11 : COPY . . [2022-05-09T22:36:27.863Z] ---> 359e5f334adc [2022-05-09T22:36:27.863Z] Step 11/11 : RUN ${MAKE} [2022-05-09T22:36:27.863Z] ---> Running in 573d6096615b [2022-05-09T22:36:27.863Z] noop [2022-05-09T22:36:27.863Z] Removing intermediate container 573d6096615b [2022-05-09T22:36:27.863Z] ---> 8c2d6e79465e [2022-05-09T22:36:27.863Z] Successfully built 8c2d6e79465e [2022-05-09T22:36:27.863Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-05-09T22:36:28.192Z] + docker inspect -f . ci-base-image-x86_64 [2022-05-09T22:36:28.192Z] . [Pipeline] withDockerContainer [2022-05-09T22:36:28.280Z] prd-ubuntu20.04-docker-8c-8g-44781 does not seem to be running inside a container [2022-05-09T22:36:28.360Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1158 -v /w/workspace/gexfoundry_device-sdk-go_PR-1158:/w/workspace/gexfoundry_device-sdk-go_PR-1158:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1158@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1158@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-09T22:36:28.766Z] $ docker top 0be50400f4ff9f67281380fc0faa6bbfa449f5b208e0e9cd12681ae592cb60e5 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-09T22:36:29.212Z] + go version [2022-05-09T22:36:29.212Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-05-09T22:36:29.248Z] $ docker stop --time=1 0be50400f4ff9f67281380fc0faa6bbfa449f5b208e0e9cd12681ae592cb60e5 [2022-05-09T22:36:30.552Z] $ docker rm -f 0be50400f4ff9f67281380fc0faa6bbfa449f5b208e0e9cd12681ae592cb60e5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-09T22:36:31.185Z] + docker inspect -f . ci-base-image-x86_64 [2022-05-09T22:36:31.185Z] . [Pipeline] withDockerContainer [2022-05-09T22:36:31.275Z] prd-ubuntu20.04-docker-8c-8g-44781 does not seem to be running inside a container [2022-05-09T22:36:31.319Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1158 -v /w/workspace/gexfoundry_device-sdk-go_PR-1158:/w/workspace/gexfoundry_device-sdk-go_PR-1158:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1158@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1158@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-09T22:36:31.684Z] $ docker top 05c521f725a5f599ccd087e93a3a94ee1eea665d3e1cfd8c020d99a1296e7bc7 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-05-09T22:36:32.146Z] + make test [2022-05-09T22:36:32.146Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-05-09T22:36:37.432Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-05-09T22:36:49.647Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-05-09T22:36:49.647Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-05-09T22:36:49.647Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-05-09T22:36:49.907Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.075s coverage: 23.3% of statements [2022-05-09T22:36:49.907Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-05-09T22:36:49.907Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.058s coverage: 27.6% of statements [2022-05-09T22:36:49.907Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.089s coverage: 78.9% of statements [2022-05-09T22:36:49.907Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.065s coverage: 10.8% of statements [2022-05-09T22:36:49.907Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.096s coverage: 60.0% of statements [2022-05-09T22:36:49.907Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-05-09T22:36:49.907Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-05-09T22:36:50.476Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.082s coverage: 34.8% of statements [2022-05-09T22:36:50.476Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-05-09T22:36:50.736Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.070s coverage: 86.1% of statements [2022-05-09T22:36:50.736Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-05-09T22:36:50.736Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-05-09T22:36:50.736Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.092s coverage: 65.1% of statements [2022-05-09T22:36:50.736Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.774s coverage: 89.2% of statements [2022-05-09T22:36:50.736Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-05-09T22:36:50.737Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.061s coverage: 4.7% of statements [2022-05-09T22:36:50.737Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-05-09T22:37:05.633Z] GO111MODULE=on go vet ./... [2022-05-09T22:37:08.929Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-05-09T22:37:08.929Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-05-09T22:37:09.190Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-05-09T22:37:09.789Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-05-09T22:37:09.823Z] $ docker stop --time=1 05c521f725a5f599ccd087e93a3a94ee1eea665d3e1cfd8c020d99a1296e7bc7 [2022-05-09T22:37:12.141Z] $ docker rm -f 05c521f725a5f599ccd087e93a3a94ee1eea665d3e1cfd8c020d99a1296e7bc7 [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-09T22:37:12.694Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-05-09T22:37:12.784Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-05-09T22:37:13.630Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-05-09T22:37:13.948Z] + ls -al . [2022-05-09T22:37:13.948Z] total 296 [2022-05-09T22:37:13.948Z] drwxrwxr-x 11 jenkins jenkins 4096 May 9 22:37 . [2022-05-09T22:37:13.948Z] drwxrwxr-x 4 jenkins jenkins 4096 May 9 22:35 .. [2022-05-09T22:37:13.948Z] -rw-rw-r-- 1 jenkins jenkins 140 May 9 22:35 .dockerignore [2022-05-09T22:37:13.948Z] drwxrwxr-x 8 jenkins jenkins 4096 May 9 22:35 .git [2022-05-09T22:37:13.948Z] drwxrwxr-x 2 jenkins jenkins 4096 May 9 22:35 .github [2022-05-09T22:37:13.948Z] -rw-rw-r-- 1 jenkins jenkins 131 May 9 22:35 .gitignore [2022-05-09T22:37:13.948Z] -rw-rw-r-- 1 jenkins jenkins 42 May 9 22:35 .golangci.yml [2022-05-09T22:37:13.948Z] drwxr-xr-x 3 jenkins jenkins 4096 May 9 22:35 .semver [2022-05-09T22:37:13.948Z] -rw-rw-r-- 1 jenkins jenkins 26321 May 9 22:35 CHANGELOG.md [2022-05-09T22:37:13.948Z] -rw-rw-r-- 1 jenkins jenkins 677 May 9 22:35 GOVERNANCE.md [2022-05-09T22:37:13.948Z] -rw-rw-r-- 1 jenkins jenkins 880 May 9 22:35 Jenkinsfile [2022-05-09T22:37:13.948Z] -rw-rw-r-- 1 jenkins jenkins 11341 May 9 22:35 LICENSE [2022-05-09T22:37:13.948Z] -rw-rw-r-- 1 jenkins jenkins 2015 May 9 22:35 Makefile [2022-05-09T22:37:13.948Z] -rw-rw-r-- 1 jenkins jenkins 619 May 9 22:35 OWNERS.md [2022-05-09T22:37:13.948Z] -rw-rw-r-- 1 jenkins jenkins 4881 May 9 22:35 README.md [2022-05-09T22:37:13.948Z] -rw-rw-r-- 1 jenkins jenkins 5 May 9 22:35 VERSION [2022-05-09T22:37:13.948Z] drwxrwxr-x 2 jenkins jenkins 4096 May 9 22:35 bin [2022-05-09T22:37:13.948Z] -rw-r--r-- 1 jenkins jenkins 130819 May 9 22:36 coverage.out [2022-05-09T22:37:13.948Z] drwxrwxr-x 5 jenkins jenkins 4096 May 9 22:35 example [2022-05-09T22:37:13.948Z] -rw-rw-r-- 1 jenkins jenkins 3159 May 9 22:35 go.mod [2022-05-09T22:37:13.948Z] -rw-rw-r-- 1 jenkins jenkins 34529 May 9 22:35 go.sum [2022-05-09T22:37:13.948Z] drwxrwxr-x 15 jenkins jenkins 4096 May 9 22:35 internal [2022-05-09T22:37:13.948Z] drwxrwxr-x 3 jenkins jenkins 4096 May 9 22:35 openapi [2022-05-09T22:37:13.948Z] drwxrwxr-x 5 jenkins jenkins 4096 May 9 22:35 pkg [2022-05-09T22:37:13.948Z] drwxrwxr-x 4 jenkins jenkins 4096 May 9 22:35 snap [2022-05-09T22:37:13.948Z] -rw-rw-r-- 1 jenkins jenkins 222 May 9 22:35 version.go [Pipeline] isUnix [Pipeline] sh [2022-05-09T22:37:14.296Z] + 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=9d23f13a7e87006a066c4d707af41039bad3d424 --label arch=amd64 --label version=0.0.0 . [2022-05-09T22:37:14.296Z] Sending build context to Docker daemon 9.86MB [2022-05-09T22:37:14.296Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-05-09T22:37:14.296Z] Step 2/25 : FROM ${BASE} AS builder [2022-05-09T22:37:14.296Z] ---> 8c2d6e79465e [2022-05-09T22:37:14.296Z] Step 3/25 : ARG MAKE=make build [2022-05-09T22:37:14.558Z] ---> Running in 91b683a08076 [2022-05-09T22:37:14.558Z] Removing intermediate container 91b683a08076 [2022-05-09T22:37:14.558Z] ---> 85089fa1ef30 [2022-05-09T22:37:14.558Z] Step 4/25 : WORKDIR /device-sdk-go [2022-05-09T22:37:14.558Z] ---> Running in 4017f619660b [2022-05-09T22:37:14.558Z] Removing intermediate container 4017f619660b [2022-05-09T22:37:14.558Z] ---> b82ced9bd649 [2022-05-09T22:37:14.558Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-05-09T22:37:14.822Z] ---> Running in 4cb619a2f603 [2022-05-09T22:37:14.822Z] Removing intermediate container 4cb619a2f603 [2022-05-09T22:37:14.822Z] ---> 8638fa39c1f9 [2022-05-09T22:37:14.822Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-09T22:37:14.822Z] ---> Running in ba4924263b59 [2022-05-09T22:37:15.396Z] Removing intermediate container ba4924263b59 [2022-05-09T22:37:15.396Z] ---> 5dbb9622dd60 [2022-05-09T22:37:15.396Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-05-09T22:37:15.396Z] ---> Running in c27ce8c5542e [2022-05-09T22:37:15.656Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-05-09T22:37:16.596Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-05-09T22:37:16.856Z] OK: 221 MiB in 52 packages [2022-05-09T22:37:17.119Z] Removing intermediate container c27ce8c5542e [2022-05-09T22:37:17.119Z] ---> f2c6ccd2d26d [2022-05-09T22:37:17.119Z] Step 8/25 : COPY go.mod vendor* ./ [2022-05-09T22:37:17.382Z] ---> da838fe5fabc [2022-05-09T22:37:17.382Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-09T22:37:17.382Z] ---> Running in e64a47e4da13 [2022-05-09T22:37:17.953Z] Removing intermediate container e64a47e4da13 [2022-05-09T22:37:17.953Z] ---> aaef1d25a77e [2022-05-09T22:37:17.953Z] Step 10/25 : COPY . . [2022-05-09T22:37:18.521Z] ---> 2fad5ec309c2 [2022-05-09T22:37:18.521Z] Step 11/25 : RUN ${MAKE} [2022-05-09T22:37:18.521Z] ---> Running in 098321d966aa [2022-05-09T22:37:18.780Z] 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-09T22:37:36.885Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-05-09T22:37:37.828Z] Removing intermediate container 098321d966aa [2022-05-09T22:37:37.828Z] ---> 9c0d14d8c500 [2022-05-09T22:37:37.828Z] Step 12/25 : FROM alpine:3.14 [2022-05-09T22:37:38.400Z] 3.14: Pulling from library/alpine [2022-05-09T22:37:38.400Z] 8663204ce13b: Pulling fs layer [2022-05-09T22:37:38.721Z] 8663204ce13b: Verifying Checksum [2022-05-09T22:37:38.721Z] 8663204ce13b: Download complete [2022-05-09T22:37:38.721Z] 8663204ce13b: Pull complete [2022-05-09T22:37:38.721Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-05-09T22:37:38.721Z] Status: Downloaded newer image for alpine:3.14 [2022-05-09T22:37:38.721Z] ---> e04c818066af [2022-05-09T22:37:38.721Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-05-09T22:37:38.984Z] ---> Running in f1f0da793275 [2022-05-09T22:37:38.984Z] Removing intermediate container f1f0da793275 [2022-05-09T22:37:38.984Z] ---> 6f6e4ec3afde [2022-05-09T22:37:38.984Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-09T22:37:38.984Z] ---> Running in 3e10b2d02cc4 [2022-05-09T22:37:39.558Z] Removing intermediate container 3e10b2d02cc4 [2022-05-09T22:37:39.558Z] ---> 6ef5ad72bd1e [2022-05-09T22:37:39.558Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-05-09T22:37:39.558Z] ---> Running in 92608bd27c04 [2022-05-09T22:37:39.818Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-05-09T22:37:40.765Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-05-09T22:37:41.028Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2022-05-09T22:37:41.028Z] (2/5) Installing libsodium (1.0.18-r0) [2022-05-09T22:37:41.291Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2022-05-09T22:37:41.291Z] (4/5) Installing libzmq (4.3.4-r0) [2022-05-09T22:37:41.291Z] (5/5) Installing zeromq (4.3.4-r0) [2022-05-09T22:37:41.554Z] Executing busybox-1.33.1-r7.trigger [2022-05-09T22:37:41.554Z] OK: 8 MiB in 19 packages [2022-05-09T22:37:41.817Z] Removing intermediate container 92608bd27c04 [2022-05-09T22:37:41.817Z] ---> 2547a78945cc [2022-05-09T22:37:41.817Z] Step 16/25 : WORKDIR / [2022-05-09T22:37:42.077Z] ---> Running in 22652d86b30a [2022-05-09T22:37:42.077Z] Removing intermediate container 22652d86b30a [2022-05-09T22:37:42.077Z] ---> 47b9d37c3e91 [2022-05-09T22:37:42.077Z] Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-05-09T22:37:42.077Z] ---> fbf2f7eb0951 [2022-05-09T22:37:42.077Z] Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-05-09T22:37:43.018Z] ---> 9bc4f2da5fc8 [2022-05-09T22:37:43.018Z] Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-05-09T22:37:43.018Z] ---> bd2a805b9cb1 [2022-05-09T22:37:43.018Z] Step 20/25 : EXPOSE 59999 [2022-05-09T22:37:43.018Z] ---> Running in 3e5513d8cd8a [2022-05-09T22:37:43.018Z] Removing intermediate container 3e5513d8cd8a [2022-05-09T22:37:43.018Z] ---> a901f902e17d [2022-05-09T22:37:43.018Z] Step 21/25 : ENTRYPOINT ["/device-simple"] [2022-05-09T22:37:43.018Z] ---> Running in 9d3002317a35 [2022-05-09T22:37:43.279Z] Removing intermediate container 9d3002317a35 [2022-05-09T22:37:43.279Z] ---> 212150bc0fad [2022-05-09T22:37:43.279Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-05-09T22:37:43.279Z] ---> Running in 8df78fc4fffb [2022-05-09T22:37:43.279Z] Removing intermediate container 8df78fc4fffb [2022-05-09T22:37:43.279Z] ---> 35dba194c799 [2022-05-09T22:37:43.279Z] Step 23/25 : LABEL arch=amd64 [2022-05-09T22:37:43.541Z] ---> Running in 092e2ce6bd13 [2022-05-09T22:37:43.541Z] Removing intermediate container 092e2ce6bd13 [2022-05-09T22:37:43.541Z] ---> c8112268f2b2 [2022-05-09T22:37:43.541Z] Step 24/25 : LABEL git_sha=9d23f13a7e87006a066c4d707af41039bad3d424 [2022-05-09T22:37:43.541Z] ---> Running in 9adfcca666da [2022-05-09T22:37:43.541Z] Removing intermediate container 9adfcca666da [2022-05-09T22:37:43.541Z] ---> f94c5307c2e6 [2022-05-09T22:37:43.541Z] Step 25/25 : LABEL version=0.0.0 [2022-05-09T22:37:43.801Z] ---> Running in 0d099614480f [2022-05-09T22:37:43.801Z] Removing intermediate container 0d099614480f [2022-05-09T22:37:43.801Z] ---> 85bbf532d636 [2022-05-09T22:37:43.801Z] [Warning] One or more build-args [ARCH] were not consumed [2022-05-09T22:37:43.801Z] Successfully built 85bbf532d636 [2022-05-09T22:37:43.801Z] 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-09T22:37:44.528Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-09T22:37:44.528Z] [2022-05-09T22:37:44.528Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-05-09T22:37:44.866Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-09T22:37:44.866Z] latest: Pulling from edgex-lftools-log-publisher [2022-05-09T22:37:44.866Z] 5eb5b503b376: Pulling fs layer [2022-05-09T22:37:44.866Z] 5c69ac0246d0: Pulling fs layer [2022-05-09T22:37:44.866Z] ec43610c2a17: Pulling fs layer [2022-05-09T22:37:44.866Z] 3a2ae6a8a46f: Pulling fs layer [2022-05-09T22:37:44.866Z] 33b1e0a273af: Pulling fs layer [2022-05-09T22:37:44.866Z] 5d3b04190fa2: Pulling fs layer [2022-05-09T22:37:44.866Z] 2f39f015ded8: Pulling fs layer [2022-05-09T22:37:44.866Z] 33b1e0a273af: Waiting [2022-05-09T22:37:44.866Z] 3a2ae6a8a46f: Waiting [2022-05-09T22:37:44.866Z] 5c69ac0246d0: Verifying Checksum [2022-05-09T22:37:44.866Z] 5c69ac0246d0: Download complete [2022-05-09T22:37:44.866Z] 3a2ae6a8a46f: Download complete [2022-05-09T22:37:44.866Z] 33b1e0a273af: Verifying Checksum [2022-05-09T22:37:44.866Z] 33b1e0a273af: Download complete [2022-05-09T22:37:44.866Z] 5d3b04190fa2: Download complete [2022-05-09T22:37:44.866Z] ec43610c2a17: Verifying Checksum [2022-05-09T22:37:44.866Z] ec43610c2a17: Download complete [2022-05-09T22:37:45.126Z] 5eb5b503b376: Download complete [2022-05-09T22:37:45.693Z] 2f39f015ded8: Verifying Checksum [2022-05-09T22:37:45.693Z] 2f39f015ded8: Download complete [2022-05-09T22:37:46.261Z] 5eb5b503b376: Pull complete [2022-05-09T22:37:46.521Z] 5c69ac0246d0: Pull complete [2022-05-09T22:37:46.781Z] ec43610c2a17: Pull complete [2022-05-09T22:37:47.041Z] 3a2ae6a8a46f: Pull complete [2022-05-09T22:37:47.301Z] 33b1e0a273af: Pull complete [2022-05-09T22:37:47.301Z] 5d3b04190fa2: Pull complete [2022-05-09T22:37:51.500Z] 2f39f015ded8: Pull complete [2022-05-09T22:37:51.500Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-05-09T22:37:51.500Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-09T22:37:51.500Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-05-09T22:37:51.585Z] prd-ubuntu20.04-docker-8c-8g-44781 does not seem to be running inside a container [2022-05-09T22:37:51.618Z] $ 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-1158 -v /w/workspace/gexfoundry_device-sdk-go_PR-1158:/w/workspace/gexfoundry_device-sdk-go_PR-1158:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1158@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1158@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-09T22:37:53.731Z] $ docker top 3cbf605c850c0da188d3c4d679e452a9c8aa09a7f7e3b85cd235cec3e7864b8c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-09T22:37:54.256Z] ---> job-cost.sh [2022-05-09T22:37:54.256Z] lf-activate-venv: SKIPPING [2022-05-09T22:37:54.256Z] INFO: No Stack... [2022-05-09T22:37:54.548Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-05-09T22:37:55.118Z] INFO: Archiving Costs [Pipeline] sh [2022-05-09T22:37:55.430Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1158/archives/cost.csv [2022-05-09T22:37:55.431Z] + cut -d, -f6 [Pipeline] lock [2022-05-09T22:37:55.470Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1158-1-stack-cost] [2022-05-09T22:37:55.474Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1158-1-stack-cost] did not exist. Created. [2022-05-09T22:37:55.474Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1158-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-05-09T22:37:55.861Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-05-09T22:37:55.910Z] Stashed 1 file(s) [Pipeline] } [2022-05-09T22:37:55.937Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1158-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-05-09T22:37:56.016Z] $ docker stop --time=1 3cbf605c850c0da188d3c4d679e452a9c8aa09a7f7e3b85cd235cec3e7864b8c [2022-05-09T22:37:57.174Z] $ docker rm -f 3cbf605c850c0da188d3c4d679e452a9c8aa09a7f7e3b85cd235cec3e7864b8c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-05-09T22:39:55.208Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-44782 in /w/workspace/gexfoundry_device-sdk-go_PR-1158 [Pipeline] { [Pipeline] ws [2022-05-09T22:39:55.250Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2022-05-09T22:39:55.630Z] The recommended git tool is: git [2022-05-09T22:40:02.499Z] using credential edgex-jenkins-ssh [2022-05-09T22:40:02.518Z] Cloning the remote Git repository [2022-05-09T22:40:02.588Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2022-05-09T22:40:02.669Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2022-05-09T22:40:02.790Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-05-09T22:40:02.791Z] > git --version # timeout=10 [2022-05-09T22:40:02.815Z] > git --version # 'git version 2.25.1' [2022-05-09T22:40:02.817Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-05-09T22:40:02.898Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-05-09T22:40:04.410Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-05-09T22:40:04.428Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-05-09T22:40:04.459Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-05-09T22:40:04.501Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-05-09T22:40:04.502Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-05-09T22:40:04.517Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1158/head:refs/remotes/origin/PR-1158 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-05-09T22:40:05.177Z] Merging remotes/origin/main commit cc37b9e2c9629ca07e46878051115594cd22d281 into PR head commit 9d23f13a7e87006a066c4d707af41039bad3d424 [2022-05-09T22:40:05.409Z] Merge succeeded, producing 9d23f13a7e87006a066c4d707af41039bad3d424 [2022-05-09T22:40:05.409Z] Checking out Revision 9d23f13a7e87006a066c4d707af41039bad3d424 (PR-1158) [2022-05-09T22:40:05.199Z] > git config core.sparsecheckout # timeout=10 [2022-05-09T22:40:05.219Z] > git checkout -f 9d23f13a7e87006a066c4d707af41039bad3d424 # timeout=10 [2022-05-09T22:40:05.326Z] > git remote # timeout=10 [2022-05-09T22:40:05.347Z] > git config --get remote.origin.url # timeout=10 [2022-05-09T22:40:05.359Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-05-09T22:40:05.371Z] > git merge cc37b9e2c9629ca07e46878051115594cd22d281 # timeout=10 [2022-05-09T22:40:05.396Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-05-09T22:40:05.417Z] > git config core.sparsecheckout # timeout=10 [2022-05-09T22:40:05.430Z] > git checkout -f 9d23f13a7e87006a066c4d707af41039bad3d424 # timeout=10 [2022-05-09T22:40:09.614Z] Commit message: "build: Update to latest released 2.2.0 Go Mods" [2022-05-09T22:40:09.676Z] > git --version # timeout=10 [2022-05-09T22:40:09.691Z] > git --version # 'git version 2.25.1' [2022-05-09T22:40:09.708Z] fatal: bad object 61d3a14f5ee21304eadc9c25f102bcac80e1a589 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-05-09T22:40:10.754Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-05-09T22:40:10.754Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-05-09T22:40:10.754Z] Dload Upload Total Spent Left Speed [2022-05-09T22:40:10.754Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 96284 0 --:--:-- --:--:-- --:--:-- 97073 [Pipeline] sh [2022-05-09T22:40:11.282Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-05-09T22:40:11.645Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-05-09T22:40:11.645Z] + sudo tee /etc/docker/daemon.new [2022-05-09T22:40:11.645Z] { [2022-05-09T22:40:11.645Z] "registry-mirrors": [ [2022-05-09T22:40:11.645Z] "https://nexus3.edgexfoundry.org:10001" [2022-05-09T22:40:11.645Z] ], [2022-05-09T22:40:11.645Z] "bip": "10.250.0.254/24", [2022-05-09T22:40:11.645Z] "hosts": [ [2022-05-09T22:40:11.645Z] "tcp://0.0.0.0:5555", [2022-05-09T22:40:11.645Z] "unix:///var/run/docker.sock" [2022-05-09T22:40:11.645Z] ], [2022-05-09T22:40:11.645Z] "mtu": 1458, [2022-05-09T22:40:11.645Z] "selinux-enabled": true, [2022-05-09T22:40:11.645Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-05-09T22:40:11.645Z] } [Pipeline] sh [2022-05-09T22:40:12.012Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-05-09T22:40:12.385Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-09T22:40:30.857Z] provisioning config files... [2022-05-09T22:40:30.888Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config3451104386157617964tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-09T22:40:31.467Z] ---> docker-login.sh [2022-05-09T22:40:31.467Z] nexus3.edgexfoundry.org:10001 [2022-05-09T22:40:32.065Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-09T22:40:32.342Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-09T22:40:32.342Z] Configure a credential helper to remove this warning. See [2022-05-09T22:40:32.342Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-09T22:40:32.342Z] [2022-05-09T22:40:32.342Z] Login Succeeded [2022-05-09T22:40:32.342Z] nexus3.edgexfoundry.org:10002 [2022-05-09T22:40:32.941Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-09T22:40:32.941Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-09T22:40:32.941Z] Configure a credential helper to remove this warning. See [2022-05-09T22:40:32.941Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-09T22:40:32.941Z] [2022-05-09T22:40:32.941Z] Login Succeeded [2022-05-09T22:40:32.941Z] nexus3.edgexfoundry.org:10003 [2022-05-09T22:40:33.218Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-09T22:40:33.496Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-09T22:40:33.496Z] Configure a credential helper to remove this warning. See [2022-05-09T22:40:33.496Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-09T22:40:33.496Z] [2022-05-09T22:40:33.496Z] Login Succeeded [2022-05-09T22:40:33.496Z] nexus3.edgexfoundry.org:10004 [2022-05-09T22:40:33.771Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-09T22:40:33.771Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-09T22:40:33.771Z] Configure a credential helper to remove this warning. See [2022-05-09T22:40:33.771Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-09T22:40:33.771Z] [2022-05-09T22:40:33.771Z] Login Succeeded [2022-05-09T22:40:33.771Z] docker.io [2022-05-09T22:40:34.372Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-09T22:40:34.646Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-09T22:40:34.646Z] Configure a credential helper to remove this warning. See [2022-05-09T22:40:34.646Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-09T22:40:34.646Z] [2022-05-09T22:40:34.646Z] Login Succeeded [2022-05-09T22:40:34.646Z] ---> docker-login.sh ends [Pipeline] } [2022-05-09T22:40:34.675Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-05-09T22:40:35.076Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-05-09T22:40:35.112Z] ========================================================= [2022-05-09T22:40:35.112Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-05-09T22:40:35.112Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-05-09T22:40:35.561Z] + 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-09T22:40:36.161Z] Sending build context to Docker daemon 5.251MB [2022-05-09T22:40:36.161Z] Step 1/11 : ARG BASE=golang:1.17-alpine3.15 [2022-05-09T22:40:36.161Z] Step 2/11 : FROM ${BASE} AS builder [2022-05-09T22:40:36.161Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-05-09T22:40:36.161Z] 9b3977197b4f: Pulling fs layer [2022-05-09T22:40:36.161Z] 1a89e8eeedd5: Pulling fs layer [2022-05-09T22:40:36.161Z] 94645a83ff95: Pulling fs layer [2022-05-09T22:40:36.161Z] 3f3a8bcf1eab: Pulling fs layer [2022-05-09T22:40:36.161Z] 0c92f367c5e7: Pulling fs layer [2022-05-09T22:40:36.161Z] 3096ccb668a1: Pulling fs layer [2022-05-09T22:40:36.161Z] e8cf19c19ddd: Pulling fs layer [2022-05-09T22:40:36.161Z] a4caa8a26152: Pulling fs layer [2022-05-09T22:40:36.161Z] 3f3a8bcf1eab: Waiting [2022-05-09T22:40:36.161Z] 3096ccb668a1: Waiting [2022-05-09T22:40:36.161Z] e8cf19c19ddd: Waiting [2022-05-09T22:40:36.161Z] a4caa8a26152: Waiting [2022-05-09T22:40:36.161Z] 0c92f367c5e7: Waiting [2022-05-09T22:40:36.161Z] 94645a83ff95: Download complete [2022-05-09T22:40:36.161Z] 1a89e8eeedd5: Verifying Checksum [2022-05-09T22:40:36.161Z] 1a89e8eeedd5: Download complete [2022-05-09T22:40:36.161Z] 0c92f367c5e7: Verifying Checksum [2022-05-09T22:40:36.161Z] 0c92f367c5e7: Download complete [2022-05-09T22:40:36.439Z] 3096ccb668a1: Verifying Checksum [2022-05-09T22:40:36.439Z] 9b3977197b4f: Verifying Checksum [2022-05-09T22:40:36.439Z] 9b3977197b4f: Download complete [2022-05-09T22:40:36.439Z] 3096ccb668a1: Download complete [2022-05-09T22:40:36.439Z] e8cf19c19ddd: Verifying Checksum [2022-05-09T22:40:36.439Z] e8cf19c19ddd: Download complete [2022-05-09T22:40:37.047Z] 9b3977197b4f: Pull complete [2022-05-09T22:40:37.654Z] 1a89e8eeedd5: Pull complete [2022-05-09T22:40:38.256Z] 94645a83ff95: Pull complete [2022-05-09T22:40:38.531Z] a4caa8a26152: Verifying Checksum [2022-05-09T22:40:38.531Z] a4caa8a26152: Download complete [2022-05-09T22:40:39.129Z] 3f3a8bcf1eab: Verifying Checksum [2022-05-09T22:40:39.129Z] 3f3a8bcf1eab: Download complete [2022-05-09T22:40:51.572Z] 3f3a8bcf1eab: Pull complete [2022-05-09T22:40:51.572Z] 0c92f367c5e7: Pull complete [2022-05-09T22:40:51.572Z] 3096ccb668a1: Pull complete [2022-05-09T22:40:51.845Z] e8cf19c19ddd: Pull complete [2022-05-09T22:40:58.597Z] a4caa8a26152: Pull complete [2022-05-09T22:40:58.597Z] Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 [2022-05-09T22:40:58.597Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-05-09T22:40:58.597Z] ---> 725f1c02e7f9 [2022-05-09T22:40:58.597Z] Step 3/11 : ARG MAKE=make build [2022-05-09T22:40:58.874Z] ---> Running in 4986f09a2c5f [2022-05-09T22:40:59.161Z] Removing intermediate container 4986f09a2c5f [2022-05-09T22:40:59.161Z] ---> 3a3b06369d71 [2022-05-09T22:40:59.161Z] Step 4/11 : WORKDIR /device-sdk-go [2022-05-09T22:40:59.161Z] ---> Running in be05eddac6b3 [2022-05-09T22:40:59.764Z] Removing intermediate container be05eddac6b3 [2022-05-09T22:40:59.764Z] ---> 2080704bcf2c [2022-05-09T22:40:59.764Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-05-09T22:40:59.764Z] ---> Running in 462c86b9a24b [2022-05-09T22:41:00.038Z] Removing intermediate container 462c86b9a24b [2022-05-09T22:41:00.038Z] ---> fe8306ded2f3 [2022-05-09T22:41:00.038Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-09T22:41:00.038Z] ---> Running in 016d18b7ff75 [2022-05-09T22:41:02.035Z] Removing intermediate container 016d18b7ff75 [2022-05-09T22:41:02.035Z] ---> 8b11b662d139 [2022-05-09T22:41:02.035Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-05-09T22:41:02.035Z] ---> Running in 630d191cf35e [2022-05-09T22:41:04.669Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-05-09T22:41:04.943Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-05-09T22:41:05.936Z] OK: 220 MiB in 52 packages [2022-05-09T22:41:06.942Z] Removing intermediate container 630d191cf35e [2022-05-09T22:41:06.942Z] ---> a5f7e21a8cc8 [2022-05-09T22:41:06.942Z] Step 8/11 : COPY go.mod vendor* ./ [2022-05-09T22:41:07.541Z] ---> f17ff2c10534 [2022-05-09T22:41:07.541Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-09T22:41:07.541Z] ---> Running in 9f30159b0cc9 [2022-05-09T22:41:54.557Z] Removing intermediate container 9f30159b0cc9 [2022-05-09T22:41:54.557Z] ---> 20af58ad926c [2022-05-09T22:41:54.557Z] Step 10/11 : COPY . . [2022-05-09T22:41:54.557Z] ---> 759c889fb420 [2022-05-09T22:41:54.557Z] Step 11/11 : RUN ${MAKE} [2022-05-09T22:41:54.557Z] ---> Running in b3c1ce6d9806 [2022-05-09T22:41:54.557Z] noop [2022-05-09T22:41:54.557Z] Removing intermediate container b3c1ce6d9806 [2022-05-09T22:41:54.557Z] ---> c1e9e1c15644 [2022-05-09T22:41:54.830Z] Successfully built c1e9e1c15644 [2022-05-09T22:41:54.830Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-05-09T22:41:55.212Z] + docker inspect -f . ci-base-image-arm64 [2022-05-09T22:41:55.212Z] . [Pipeline] withDockerContainer [2022-05-09T22:41:55.480Z] prd-ubuntu20.04-docker-arm64-4c-16g-44782 does not seem to be running inside a container [2022-05-09T22:41:55.559Z] $ 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-09T22:41:56.868Z] $ docker top 5e3415692af0b4819149a3f486a48c81a97f84be8bba7ceb4de0f452991bd91a -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-09T22:41:57.863Z] + go version [2022-05-09T22:41:57.863Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-05-09T22:41:57.900Z] $ docker stop --time=1 5e3415692af0b4819149a3f486a48c81a97f84be8bba7ceb4de0f452991bd91a [2022-05-09T22:41:59.513Z] $ docker rm -f 5e3415692af0b4819149a3f486a48c81a97f84be8bba7ceb4de0f452991bd91a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-09T22:42:00.358Z] + docker inspect -f . ci-base-image-arm64 [2022-05-09T22:42:00.358Z] . [Pipeline] withDockerContainer [2022-05-09T22:42:00.589Z] prd-ubuntu20.04-docker-arm64-4c-16g-44782 does not seem to be running inside a container [2022-05-09T22:42:00.671Z] $ 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-09T22:42:01.900Z] $ docker top 37b579397f041e28d23d0c553c64e4bbbae35e133e126c804f29f93f5610269d -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-05-09T22:42:02.887Z] + make test [2022-05-09T22:42:02.887Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-05-09T22:42:35.243Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-05-09T22:44:27.152Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-05-09T22:44:27.152Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-05-09T22:44:27.152Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-05-09T22:44:27.152Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.413s coverage: 23.3% of statements [2022-05-09T22:44:27.152Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-05-09T22:44:27.152Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.240s coverage: 27.6% of statements [2022-05-09T22:44:27.152Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.339s coverage: 78.9% of statements [2022-05-09T22:44:27.152Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.292s coverage: 10.8% of statements [2022-05-09T22:44:30.579Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.568s coverage: 60.0% of statements [2022-05-09T22:44:30.579Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-05-09T22:44:30.579Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-05-09T22:44:34.015Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.474s coverage: 34.8% of statements [2022-05-09T22:44:34.015Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-05-09T22:44:36.012Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.267s coverage: 86.1% of statements [2022-05-09T22:44:36.012Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-05-09T22:44:36.012Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-05-09T22:44:36.012Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.498s coverage: 65.1% of statements [2022-05-09T22:44:38.644Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.250s coverage: 89.2% of statements [2022-05-09T22:44:38.644Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-05-09T22:44:41.261Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.240s coverage: 4.7% of statements [2022-05-09T22:44:41.261Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-05-09T22:44:41.873Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-05-09T22:44:41.873Z] GO111MODULE=on go vet ./... [2022-05-09T22:46:19.090Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-05-09T22:46:19.090Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-05-09T22:46:19.090Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-05-09T22:46:19.131Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-05-09T22:46:19.164Z] $ docker stop --time=1 37b579397f041e28d23d0c553c64e4bbbae35e133e126c804f29f93f5610269d [2022-05-09T22:46:20.988Z] $ docker rm -f 37b579397f041e28d23d0c553c64e4bbbae35e133e126c804f29f93f5610269d [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-09T22:46:22.391Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-05-09T22:46:22.428Z] Warning: overwriting stash ‘coverage-report’ [2022-05-09T22:46:23.051Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-05-09T22:46:23.658Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-05-09T22:46:24.015Z] + ls -al . [2022-05-09T22:46:24.016Z] total 292 [2022-05-09T22:46:24.016Z] drwxrwxr-x 10 jenkins jenkins 4096 May 9 22:46 . [2022-05-09T22:46:24.016Z] drwxrwxr-x 4 jenkins jenkins 4096 May 9 22:40 .. [2022-05-09T22:46:24.016Z] -rw-rw-r-- 1 jenkins jenkins 140 May 9 22:40 .dockerignore [2022-05-09T22:46:24.016Z] drwxrwxr-x 8 jenkins jenkins 4096 May 9 22:40 .git [2022-05-09T22:46:24.016Z] drwxrwxr-x 2 jenkins jenkins 4096 May 9 22:40 .github [2022-05-09T22:46:24.016Z] -rw-rw-r-- 1 jenkins jenkins 131 May 9 22:40 .gitignore [2022-05-09T22:46:24.016Z] -rw-rw-r-- 1 jenkins jenkins 42 May 9 22:40 .golangci.yml [2022-05-09T22:46:24.016Z] -rw-rw-r-- 1 jenkins jenkins 26321 May 9 22:40 CHANGELOG.md [2022-05-09T22:46:24.016Z] -rw-rw-r-- 1 jenkins jenkins 677 May 9 22:40 GOVERNANCE.md [2022-05-09T22:46:24.016Z] -rw-rw-r-- 1 jenkins jenkins 880 May 9 22:40 Jenkinsfile [2022-05-09T22:46:24.016Z] -rw-rw-r-- 1 jenkins jenkins 11341 May 9 22:40 LICENSE [2022-05-09T22:46:24.016Z] -rw-rw-r-- 1 jenkins jenkins 2015 May 9 22:40 Makefile [2022-05-09T22:46:24.016Z] -rw-rw-r-- 1 jenkins jenkins 619 May 9 22:40 OWNERS.md [2022-05-09T22:46:24.016Z] -rw-rw-r-- 1 jenkins jenkins 4881 May 9 22:40 README.md [2022-05-09T22:46:24.016Z] -rw-rw-r-- 1 jenkins jenkins 5 May 9 22:35 VERSION [2022-05-09T22:46:24.016Z] drwxrwxr-x 2 jenkins jenkins 4096 May 9 22:40 bin [2022-05-09T22:46:24.016Z] -rw-r--r-- 1 jenkins jenkins 130819 May 9 22:44 coverage.out [2022-05-09T22:46:24.016Z] drwxrwxr-x 5 jenkins jenkins 4096 May 9 22:40 example [2022-05-09T22:46:24.016Z] -rw-rw-r-- 1 jenkins jenkins 3159 May 9 22:40 go.mod [2022-05-09T22:46:24.016Z] -rw-rw-r-- 1 jenkins jenkins 34529 May 9 22:40 go.sum [2022-05-09T22:46:24.016Z] drwxrwxr-x 15 jenkins jenkins 4096 May 9 22:40 internal [2022-05-09T22:46:24.016Z] drwxrwxr-x 3 jenkins jenkins 4096 May 9 22:40 openapi [2022-05-09T22:46:24.016Z] drwxrwxr-x 5 jenkins jenkins 4096 May 9 22:40 pkg [2022-05-09T22:46:24.016Z] drwxrwxr-x 4 jenkins jenkins 4096 May 9 22:40 snap [2022-05-09T22:46:24.016Z] -rw-rw-r-- 1 jenkins jenkins 222 May 9 22:40 version.go [Pipeline] isUnix [Pipeline] sh [2022-05-09T22:46:24.409Z] + 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=9d23f13a7e87006a066c4d707af41039bad3d424 --label arch=arm64 --label version=0.0.0 . [2022-05-09T22:46:24.694Z] Sending build context to Docker daemon 5.383MB [2022-05-09T22:46:24.970Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-05-09T22:46:24.971Z] Step 2/25 : FROM ${BASE} AS builder [2022-05-09T22:46:24.971Z] ---> c1e9e1c15644 [2022-05-09T22:46:24.971Z] Step 3/25 : ARG MAKE=make build [2022-05-09T22:46:24.971Z] ---> Running in 4a234b5ea457 [2022-05-09T22:46:25.248Z] Removing intermediate container 4a234b5ea457 [2022-05-09T22:46:25.248Z] ---> b03decd0e69b [2022-05-09T22:46:25.248Z] Step 4/25 : WORKDIR /device-sdk-go [2022-05-09T22:46:25.248Z] ---> Running in 1055d4af23fc [2022-05-09T22:46:25.853Z] Removing intermediate container 1055d4af23fc [2022-05-09T22:46:25.853Z] ---> 538d949a9d02 [2022-05-09T22:46:25.853Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-05-09T22:46:25.853Z] ---> Running in 97e6aaf5c382 [2022-05-09T22:46:26.127Z] Removing intermediate container 97e6aaf5c382 [2022-05-09T22:46:26.127Z] ---> accd89aa7baa [2022-05-09T22:46:26.127Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-09T22:46:26.128Z] ---> Running in 60a75d1f7e89 [2022-05-09T22:46:28.113Z] Removing intermediate container 60a75d1f7e89 [2022-05-09T22:46:28.113Z] ---> 5f990fe46692 [2022-05-09T22:46:28.113Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-05-09T22:46:28.113Z] ---> Running in 8dfce4f0c3a5 [2022-05-09T22:46:29.098Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-05-09T22:46:29.694Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-05-09T22:46:30.685Z] OK: 220 MiB in 52 packages [2022-05-09T22:46:31.673Z] Removing intermediate container 8dfce4f0c3a5 [2022-05-09T22:46:31.673Z] ---> dcbf4891c365 [2022-05-09T22:46:31.673Z] Step 8/25 : COPY go.mod vendor* ./ [2022-05-09T22:46:31.949Z] ---> ff74389742fa [2022-05-09T22:46:31.949Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-09T22:46:32.231Z] ---> Running in 6fe47d6f3a13 [2022-05-09T22:46:34.222Z] Removing intermediate container 6fe47d6f3a13 [2022-05-09T22:46:34.222Z] ---> 34b27c126f32 [2022-05-09T22:46:34.222Z] Step 10/25 : COPY . . [2022-05-09T22:46:35.676Z] ---> 30f4fd9b777e [2022-05-09T22:46:35.676Z] Step 11/25 : RUN ${MAKE} [2022-05-09T22:46:35.676Z] ---> Running in 3bea1bbfa9e2 [2022-05-09T22:46:36.664Z] 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-09T22:48:43.550Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-05-09T22:48:43.550Z] Removing intermediate container 3bea1bbfa9e2 [2022-05-09T22:48:43.550Z] ---> d1712d1a4412 [2022-05-09T22:48:43.550Z] Step 12/25 : FROM alpine:3.14 [2022-05-09T22:48:43.550Z] 3.14: Pulling from library/alpine [2022-05-09T22:48:43.550Z] 455c02918c45: Pulling fs layer [2022-05-09T22:48:43.550Z] 455c02918c45: Verifying Checksum [2022-05-09T22:48:43.550Z] 455c02918c45: Download complete [2022-05-09T22:48:43.550Z] 455c02918c45: Pull complete [2022-05-09T22:48:43.550Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-05-09T22:48:43.550Z] Status: Downloaded newer image for alpine:3.14 [2022-05-09T22:48:43.550Z] ---> ac73e934f311 [2022-05-09T22:48:43.550Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-05-09T22:48:43.550Z] ---> Running in a2a55473ed8a [2022-05-09T22:48:43.829Z] Removing intermediate container a2a55473ed8a [2022-05-09T22:48:43.829Z] ---> b04421d342cb [2022-05-09T22:48:43.829Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-09T22:48:43.829Z] ---> Running in 1523b47f2f03 [2022-05-09T22:48:45.809Z] Removing intermediate container 1523b47f2f03 [2022-05-09T22:48:45.809Z] ---> 11b4251b5e75 [2022-05-09T22:48:45.809Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-05-09T22:48:45.809Z] ---> Running in 42470dad250d [2022-05-09T22:48:46.408Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-05-09T22:48:47.390Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-05-09T22:48:48.370Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2022-05-09T22:48:48.370Z] (2/5) Installing libsodium (1.0.18-r0) [2022-05-09T22:48:48.370Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2022-05-09T22:48:48.370Z] (4/5) Installing libzmq (4.3.4-r0) [2022-05-09T22:48:48.644Z] (5/5) Installing zeromq (4.3.4-r0) [2022-05-09T22:48:48.644Z] Executing busybox-1.33.1-r7.trigger [2022-05-09T22:48:48.644Z] OK: 8 MiB in 19 packages [2022-05-09T22:48:49.633Z] Removing intermediate container 42470dad250d [2022-05-09T22:48:49.633Z] ---> 462c3cd9cde1 [2022-05-09T22:48:49.633Z] Step 16/25 : WORKDIR / [2022-05-09T22:48:49.633Z] ---> Running in c4b24fbf3b79 [2022-05-09T22:48:49.910Z] Removing intermediate container c4b24fbf3b79 [2022-05-09T22:48:49.910Z] ---> 2e656c67e3dc [2022-05-09T22:48:49.910Z] Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-05-09T22:48:50.507Z] ---> 2cd92d025f9f [2022-05-09T22:48:50.507Z] Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-05-09T22:48:52.492Z] ---> b9dcf2bc9bb1 [2022-05-09T22:48:52.492Z] Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-05-09T22:48:52.766Z] ---> 7ab444cf0e23 [2022-05-09T22:48:52.766Z] Step 20/25 : EXPOSE 59999 [2022-05-09T22:48:52.766Z] ---> Running in 6b34d9e2812e [2022-05-09T22:48:53.049Z] Removing intermediate container 6b34d9e2812e [2022-05-09T22:48:53.050Z] ---> a36ec1eb1098 [2022-05-09T22:48:53.050Z] Step 21/25 : ENTRYPOINT ["/device-simple"] [2022-05-09T22:48:53.050Z] ---> Running in c8c6cde8c2ff [2022-05-09T22:48:53.328Z] Removing intermediate container c8c6cde8c2ff [2022-05-09T22:48:53.328Z] ---> 59f80fc48555 [2022-05-09T22:48:53.328Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-05-09T22:48:53.605Z] ---> Running in fa1c424f78a2 [2022-05-09T22:48:53.880Z] Removing intermediate container fa1c424f78a2 [2022-05-09T22:48:53.880Z] ---> 0c6caae0475b [2022-05-09T22:48:53.880Z] Step 23/25 : LABEL arch=arm64 [2022-05-09T22:48:53.880Z] ---> Running in 356e6f2316e0 [2022-05-09T22:48:54.158Z] Removing intermediate container 356e6f2316e0 [2022-05-09T22:48:54.158Z] ---> c95c1f32f089 [2022-05-09T22:48:54.158Z] Step 24/25 : LABEL git_sha=9d23f13a7e87006a066c4d707af41039bad3d424 [2022-05-09T22:48:54.158Z] ---> Running in f31b5a0fad20 [2022-05-09T22:48:54.759Z] Removing intermediate container f31b5a0fad20 [2022-05-09T22:48:54.759Z] ---> d84ef4d0926b [2022-05-09T22:48:54.759Z] Step 25/25 : LABEL version=0.0.0 [2022-05-09T22:48:54.759Z] ---> Running in 1e1400ccf590 [2022-05-09T22:48:55.034Z] Removing intermediate container 1e1400ccf590 [2022-05-09T22:48:55.034Z] ---> 7336ba8c6a5e [2022-05-09T22:48:55.034Z] [Warning] One or more build-args [ARCH] were not consumed [2022-05-09T22:48:55.034Z] Successfully built 7336ba8c6a5e [2022-05-09T22:48:55.034Z] 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-09T22:48:55.740Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-09T22:48:55.740Z] [2022-05-09T22:48:55.740Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-05-09T22:48:56.126Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-09T22:48:56.400Z] arm64: Pulling from edgex-lftools-log-publisher [2022-05-09T22:48:56.400Z] 8998bd30e6a1: Pulling fs layer [2022-05-09T22:48:56.400Z] 04944245beec: Pulling fs layer [2022-05-09T22:48:56.400Z] 699f458cf7ca: Pulling fs layer [2022-05-09T22:48:56.400Z] 765212b225bb: Pulling fs layer [2022-05-09T22:48:56.400Z] f23df028b6ca: Pulling fs layer [2022-05-09T22:48:56.400Z] d65c8cfc05b1: Pulling fs layer [2022-05-09T22:48:56.400Z] 2437ff75d9bd: Pulling fs layer [2022-05-09T22:48:56.400Z] 765212b225bb: Waiting [2022-05-09T22:48:56.400Z] 2437ff75d9bd: Waiting [2022-05-09T22:48:56.400Z] d65c8cfc05b1: Waiting [2022-05-09T22:48:56.400Z] f23df028b6ca: Waiting [2022-05-09T22:48:56.400Z] 04944245beec: Verifying Checksum [2022-05-09T22:48:56.400Z] 04944245beec: Download complete [2022-05-09T22:48:56.400Z] 765212b225bb: Verifying Checksum [2022-05-09T22:48:56.400Z] 765212b225bb: Download complete [2022-05-09T22:48:56.400Z] f23df028b6ca: Verifying Checksum [2022-05-09T22:48:56.400Z] f23df028b6ca: Download complete [2022-05-09T22:48:56.400Z] d65c8cfc05b1: Verifying Checksum [2022-05-09T22:48:56.400Z] d65c8cfc05b1: Download complete [2022-05-09T22:48:56.678Z] 699f458cf7ca: Verifying Checksum [2022-05-09T22:48:56.678Z] 699f458cf7ca: Download complete [2022-05-09T22:48:56.953Z] 8998bd30e6a1: Download complete [2022-05-09T22:48:59.585Z] 2437ff75d9bd: Verifying Checksum [2022-05-09T22:48:59.585Z] 2437ff75d9bd: Download complete [2022-05-09T22:49:01.577Z] 8998bd30e6a1: Pull complete [2022-05-09T22:49:01.852Z] 04944245beec: Pull complete [2022-05-09T22:49:03.291Z] 699f458cf7ca: Pull complete [2022-05-09T22:49:03.566Z] 765212b225bb: Pull complete [2022-05-09T22:49:04.556Z] f23df028b6ca: Pull complete [2022-05-09T22:49:04.828Z] d65c8cfc05b1: Pull complete [2022-05-09T22:49:19.961Z] 2437ff75d9bd: Pull complete [2022-05-09T22:49:19.961Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-05-09T22:49:19.961Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-09T22:49:19.961Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-05-09T22:49:20.220Z] prd-ubuntu20.04-docker-arm64-4c-16g-44782 does not seem to be running inside a container [2022-05-09T22:49:20.334Z] $ 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-09T22:49:23.008Z] $ docker top d75aeec89f67a52a782f1c098a32347fced8c42970dec4defad4693012178d67 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-09T22:49:24.122Z] ---> job-cost.sh [2022-05-09T22:49:24.122Z] lf-activate-venv: SKIPPING [2022-05-09T22:49:24.122Z] INFO: No Stack... [2022-05-09T22:49:24.722Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-05-09T22:49:25.731Z] INFO: Archiving Costs [Pipeline] sh [2022-05-09T22:49:26.444Z] + cut -d, -f6 [2022-05-09T22:49:26.444Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [Pipeline] lock [2022-05-09T22:49:26.498Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1158-1-stack-cost] [2022-05-09T22:49:26.502Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1158-1-stack-cost] did not exist. Created. [2022-05-09T22:49:26.502Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1158-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-05-09T22:49:27.240Z] /w/workspace/device-sdk-go/1@tmp/durable-0e692bc5/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-05-09T22:49:27.952Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-05-09T22:49:27.989Z] Warning: overwriting stash ‘stack-cost’ [2022-05-09T22:49:28.059Z] Stashed 1 file(s) [Pipeline] } [2022-05-09T22:49:28.074Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1158-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-05-09T22:49:28.145Z] $ docker stop --time=1 d75aeec89f67a52a782f1c098a32347fced8c42970dec4defad4693012178d67 [2022-05-09T22:49:29.662Z] $ docker rm -f d75aeec89f67a52a782f1c098a32347fced8c42970dec4defad4693012178d67 [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-09T22:49:30.672Z] provisioning config files... [2022-05-09T22:49:30.682Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1158@tmp/config5950000185104172661tmp [Pipeline] { [Pipeline] sh [2022-05-09T22:49:31.021Z] + set +x [2022-05-09T22:49:31.021Z] + curl -s https://codecov.io/bash [2022-05-09T22:49:31.021Z] + bash -s -- [2022-05-09T22:49:31.021Z] [2022-05-09T22:49:31.021Z] _____ _ [2022-05-09T22:49:31.021Z] / ____| | | [2022-05-09T22:49:31.021Z] | | ___ __| | ___ ___ _____ __ [2022-05-09T22:49:31.021Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-05-09T22:49:31.021Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-05-09T22:49:31.021Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-05-09T22:49:31.021Z] Bash-1.0.6 [2022-05-09T22:49:31.021Z] [2022-05-09T22:49:31.021Z] [2022-05-09T22:49:31.021Z] ==> git version 2.25.1 found [2022-05-09T22:49:31.021Z] ==> 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-09T22:49:31.021Z] Release-Date: 2020-01-08 [2022-05-09T22:49:31.021Z] 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-09T22:49:31.021Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-05-09T22:49:31.021Z] ==> Jenkins CI detected. [2022-05-09T22:49:31.021Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1158 [2022-05-09T22:49:31.021Z] project root: . [2022-05-09T22:49:31.021Z] --> token set from env [2022-05-09T22:49:31.021Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-05-09T22:49:31.021Z] ==> Running gcov in . (disable via -X gcov) [2022-05-09T22:49:31.021Z] ==> Python coveragepy not found [2022-05-09T22:49:31.021Z] ==> Searching for coverage reports in: [2022-05-09T22:49:31.021Z] + . [2022-05-09T22:49:31.021Z] -> Found 1 reports [2022-05-09T22:49:31.021Z] ==> Detecting git/mercurial file structure [2022-05-09T22:49:31.021Z] ==> Reading reports [2022-05-09T22:49:31.021Z] + ./coverage.out bytes=130819 [2022-05-09T22:49:31.021Z] ==> Appending adjustments [2022-05-09T22:49:31.021Z] https://docs.codecov.io/docs/fixing-reports [2022-05-09T22:49:31.282Z] + Found adjustments [2022-05-09T22:49:31.282Z] ==> Gzipping contents [2022-05-09T22:49:31.282Z] 20K /tmp/codecov.EBJUiU.gz [2022-05-09T22:49:31.282Z] ==> Uploading reports [2022-05-09T22:49:31.282Z] url: https://codecov.io [2022-05-09T22:49:31.282Z] query: branch=PR-1158&commit=9d23f13a7e87006a066c4d707af41039bad3d424&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1158%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1158&job=&cmd_args= [2022-05-09T22:49:31.282Z] -> Pinging Codecov [2022-05-09T22:49:31.282Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1158&commit=9d23f13a7e87006a066c4d707af41039bad3d424&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1158%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1158&job=&cmd_args= [2022-05-09T22:49:31.854Z] -> Uploading to [2022-05-09T22:49:31.854Z] https://storage.googleapis.com/codecov/v4/raw/2022-05-09/7E55EF52A471D76F132DFD9A03CDDE97/9d23f13a7e87006a066c4d707af41039bad3d424/0f8495db-ea56-48a5-a5d7-8aef6e5bfcef.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220509%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220509T224931Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=58ef0ce7a72e5e8d81ec91e644d4eee66b4487fa39a39cc6f3ee79963fae4b88 [2022-05-09T22:49:31.854Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-05-09T22:49:31.854Z] Dload Upload Total Spent Left Speed [2022-05-09T22:49:31.854Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16820 0 0 100 16820 0 68653 --:--:-- --:--:-- --:--:-- 68934 [2022-05-09T22:49:31.854Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/9d23f13a7e87006a066c4d707af41039bad3d424 [Pipeline] } [2022-05-09T22:49:31.882Z] 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-09T22:49:33.577Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1158/archives ] [2022-05-09T22:49:33.577Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1158/archives [2022-05-09T22:49:33.577Z] total 16 [2022-05-09T22:49:33.577Z] drwxr-xr-x 3 root root 4096 May 9 22:37 . [2022-05-09T22:49:33.577Z] drwxrwxr-x 12 jenkins jenkins 4096 May 9 22:37 .. [2022-05-09T22:49:33.577Z] drwxr-xr-x 2 root root 4096 May 9 22:37 cost [2022-05-09T22:49:33.577Z] -rw-r--r-- 1 root root 85 May 9 22:37 cost.csv [2022-05-09T22:49:33.577Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1158/archives [2022-05-09T22:49:33.577Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1158/archives [2022-05-09T22:49:33.577Z] total 16 [2022-05-09T22:49:33.577Z] drwxr-xr-x 3 jenkins jenkins 4096 May 9 22:37 . [2022-05-09T22:49:33.577Z] drwxrwxr-x 12 jenkins jenkins 4096 May 9 22:37 .. [2022-05-09T22:49:33.577Z] drwxr-xr-x 2 jenkins jenkins 4096 May 9 22:37 cost [2022-05-09T22:49:33.577Z] -rw-r--r-- 1 jenkins jenkins 85 May 9 22:37 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-05-09T22:49:33.918Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-09T22:49:34.816Z] ---> package-listing.sh [2022-05-09T22:49:34.816Z] ++ facter osfamily [2022-05-09T22:49:34.816Z] ++ tr '[:upper:]' '[:lower:]' [2022-05-09T22:49:35.075Z] + OS_FAMILY=debian [2022-05-09T22:49:35.075Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1158 [2022-05-09T22:49:35.075Z] + START_PACKAGES=/tmp/packages_start.txt [2022-05-09T22:49:35.075Z] + END_PACKAGES=/tmp/packages_end.txt [2022-05-09T22:49:35.075Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-05-09T22:49:35.075Z] + PACKAGES=/tmp/packages_start.txt [2022-05-09T22:49:35.075Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1158 ']' [2022-05-09T22:49:35.075Z] + PACKAGES=/tmp/packages_end.txt [2022-05-09T22:49:35.075Z] + case "${OS_FAMILY}" in [2022-05-09T22:49:35.075Z] + dpkg -l [2022-05-09T22:49:35.075Z] + grep '^ii' [2022-05-09T22:49:35.075Z] + '[' -f /tmp/packages_start.txt ']' [2022-05-09T22:49:35.075Z] + '[' -f /tmp/packages_end.txt ']' [2022-05-09T22:49:35.075Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-05-09T22:49:35.075Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1158 ']' [2022-05-09T22:49:35.075Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1158/archives/ [2022-05-09T22:49:35.075Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1158/archives/ [Pipeline] echo [2022-05-09T22:49:35.109Z] 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-1158/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-05-09T22:49:35.403Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-05-09T22:49:35.989Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-09T22:49:35.989Z] . [Pipeline] withDockerContainer [2022-05-09T22:49:36.081Z] prd-ubuntu20.04-docker-8c-8g-44781 does not seem to be running inside a container [2022-05-09T22:49:36.117Z] $ 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-1158/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-1158 -v /w/workspace/gexfoundry_device-sdk-go_PR-1158:/w/workspace/gexfoundry_device-sdk-go_PR-1158:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1158@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1158@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-09T22:49:36.369Z] $ docker top 7ff0a0c88bd63d64f2f7cc1a13ac4fe6bc67e761630b37d5cb425deb4a8b6268 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-09T22:49:36.771Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-05-09T22:49:37.084Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-05-09T22:49:37.399Z] + ls /var/log/sa-host [2022-05-09T22:49:37.399Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-09T22:49:37.548Z] provisioning config files... [2022-05-09T22:49:37.558Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1158@tmp/config2428943662046928204tmp [Pipeline] { [Pipeline] echo [2022-05-09T22:49:37.609Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-09T22:49:37.923Z] ---> create-netrc.sh [Pipeline] } [2022-05-09T22:49:37.951Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-05-09T22:49:38.346Z] ---> python-tools-install.sh [Pipeline] echo [2022-05-09T22:49:38.381Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-09T22:49:38.785Z] ---> sudo-logs.sh [2022-05-09T22:49:38.785Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-05-09T22:49:38.878Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-09T22:49:39.200Z] ---> job-cost.sh [2022-05-09T22:49:39.200Z] lf-activate-venv: SKIPPING [2022-05-09T22:49:39.200Z] DEBUG: total: 0.2199999988079071 [2022-05-09T22:49:39.200Z] INFO: Retrieving Stack Cost... [2022-05-09T22:49:39.461Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-05-09T22:49:40.032Z] INFO: Archiving Costs [Pipeline] echo [2022-05-09T22:49:40.070Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-09T22:49:40.390Z] ---> logs-deploy.sh [2022-05-09T22:49:40.390Z] lf-activate-venv: SKIPPING [2022-05-09T22:49:40.390Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1158/1 [2022-05-09T22:49:40.390Z] INFO: archiving workspace using pattern(s): [2022-05-09T22:49:41.333Z] Archives upload complete. [2022-05-09T22:49:41.333Z] INFO: archiving logs to Nexus