Pull request #1161 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 6e2217aa1a8b3508ce3f870e8bd5b28281c22161+95cc41607fa0e7e8234cfcf8f734ea02839e59f5 (50b0e853b3db6d367a81bb31e8dfd1539739def4) 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-ssh11643071542373060396.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-ssh2189844425822131997.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-1161/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-1161/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh14728653705959632551.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-1161/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh11068267664814629569.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-ssh15299104246949335549.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-1161/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-1161/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh13784018065555226335.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 ‘prd-ubuntu20.04-docker-8c-8g-47770’ Running on prd-ubuntu20.04-docker-8c-8g-47772 in /w/workspace/gexfoundry_device-sdk-go_PR-1161 [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-1161 # 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 95cc41607fa0e7e8234cfcf8f734ea02839e59f5 into PR head commit 6e2217aa1a8b3508ce3f870e8bd5b28281c22161 Merge succeeded, producing 6e2217aa1a8b3508ce3f870e8bd5b28281c22161 Checking out Revision 6e2217aa1a8b3508ce3f870e8bd5b28281c22161 (PR-1161) > 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/1161/head:refs/remotes/origin/PR-1161 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6e2217aa1a8b3508ce3f870e8bd5b28281c22161 # 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 95cc41607fa0e7e8234cfcf8f734ea02839e59f5 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6e2217aa1a8b3508ce3f870e8bd5b28281c22161 # timeout=10 Commit message: "fix: Remove MessageBus Options data from configuration after client created" 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-10T14:45:58.623Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-05-10T14:45:58.781Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-05-10T14:45:58.879Z] ========================================================= [2022-05-10T14:45:58.879Z] EdgeX Global Pipelines Version Info [2022-05-10T14:45:58.879Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-05-10T14:45:59.734Z] ------------------- [2022-05-10T14:45:59.734Z] stable info: [2022-05-10T14:45:59.734Z] ------------------- [2022-05-10T14:45:59.734Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-05-10T14:45:59.734Z] Commit SHA: 61d3a14f5ee21304eadc9c25f102bcac80e1a589 [2022-05-10T14:45:59.734Z] Message: update stable to v1.0.227 [2022-05-10T14:46:00.307Z] ------------------- [2022-05-10T14:46:00.307Z] experimental info: [2022-05-10T14:46:00.307Z] ------------------- [2022-05-10T14:46:00.307Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-05-10T14:46:00.307Z] Commit SHA: 821e2ffd3fa43eddc5db18cf710cdace1a36094c [2022-05-10T14:46:00.307Z] Message: update experimental to v1.0.229 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-05-10T14:46:00.567Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2022-05-10T14:46:00.616Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2022-05-10T14:46:00.667Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-05-10T14:46:00.709Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-05-10T14:46:00.753Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-05-10T14:46:00.794Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-05-10T14:46:00.834Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-05-10T14:46:00.872Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2022-05-10T14:46:00.909Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-05-10T14:46:00.945Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-05-10T14:46:00.987Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-05-10T14:46:01.029Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2022-05-10T14:46:01.067Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-05-10T14:46:01.108Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-05-10T14:46:01.149Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-05-10T14:46:01.188Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2022-05-10T14:46:01.227Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-05-10T14:46:01.263Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-05-10T14:46:01.303Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-05-10T14:46:01.343Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-05-10T14:46:01.383Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-05-10T14:46:01.425Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2022-05-10T14:46:01.462Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-05-10T14:46:01.507Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-05-10T14:46:01.550Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-05-10T14:46:01.590Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-05-10T14:46:01.631Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1161 [Pipeline] echo [2022-05-10T14:46:01.672Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1161 [Pipeline] echo [2022-05-10T14:46:01.711Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1161 [Pipeline] echo [2022-05-10T14:46:01.744Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6e2217aa1a8b3508ce3f870e8bd5b28281c22161 [Pipeline] echo [2022-05-10T14:46:01.786Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6e2217a [Pipeline] echo [2022-05-10T14:46:01.823Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-10T14:46:02.043Z] provisioning config files... [2022-05-10T14:46:02.058Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1161@tmp/config7006553788703510640tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-10T14:46:02.404Z] ---> docker-login.sh [2022-05-10T14:46:02.404Z] nexus3.edgexfoundry.org:10001 [2022-05-10T14:46:02.667Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T14:46:02.929Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T14:46:02.929Z] Configure a credential helper to remove this warning. See [2022-05-10T14:46:02.929Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T14:46:02.929Z] [2022-05-10T14:46:02.929Z] Login Succeeded [2022-05-10T14:46:02.929Z] nexus3.edgexfoundry.org:10002 [2022-05-10T14:46:02.929Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T14:46:02.929Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T14:46:02.929Z] Configure a credential helper to remove this warning. See [2022-05-10T14:46:02.929Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T14:46:02.929Z] [2022-05-10T14:46:02.929Z] Login Succeeded [2022-05-10T14:46:02.929Z] nexus3.edgexfoundry.org:10003 [2022-05-10T14:46:03.198Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T14:46:03.198Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T14:46:03.198Z] Configure a credential helper to remove this warning. See [2022-05-10T14:46:03.198Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T14:46:03.198Z] [2022-05-10T14:46:03.198Z] Login Succeeded [2022-05-10T14:46:03.198Z] nexus3.edgexfoundry.org:10004 [2022-05-10T14:46:03.198Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T14:46:03.198Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T14:46:03.198Z] Configure a credential helper to remove this warning. See [2022-05-10T14:46:03.198Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T14:46:03.198Z] [2022-05-10T14:46:03.198Z] Login Succeeded [2022-05-10T14:46:03.198Z] docker.io [2022-05-10T14:46:03.461Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T14:46:03.723Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T14:46:03.723Z] Configure a credential helper to remove this warning. See [2022-05-10T14:46:03.723Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T14:46:03.723Z] [2022-05-10T14:46:03.723Z] Login Succeeded [2022-05-10T14:46:03.723Z] ---> docker-login.sh ends [Pipeline] } [2022-05-10T14:46:03.748Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-05-10T14:46:04.380Z] + git rev-list -1 --merges 6e2217aa1a8b3508ce3f870e8bd5b28281c22161~1..6e2217aa1a8b3508ce3f870e8bd5b28281c22161 [Pipeline] echo [2022-05-10T14:46:04.434Z] -----------> git rev-list -1 --merges 6e2217aa1a8b3508ce3f870e8bd5b28281c22161~1..6e2217aa1a8b3508ce3f870e8bd5b28281c22161 6e2217aa1a8b3508ce3f870e8bd5b28281c22161 [false] [Pipeline] sh [2022-05-10T14:46:04.752Z] + git log --format=format:%s -1 6e2217aa1a8b3508ce3f870e8bd5b28281c22161 [Pipeline] echo [2022-05-10T14:46:04.789Z] ========================================================= [2022-05-10T14:46:04.789Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-05-10T14:46:04.789Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-05-10T14:46:05.234Z] + git log --format=format:%s -1 6e2217aa1a8b3508ce3f870e8bd5b28281c22161 [Pipeline] echo [2022-05-10T14:46:05.272Z] [semverPrep] GIT_COMMIT: 6e2217aa1a8b3508ce3f870e8bd5b28281c22161, Commit Message: fix: Remove MessageBus Options data from configuration after client created [Pipeline] echo [2022-05-10T14:46:05.299Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-05-10T14:46:05.709Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-05-10T14:46:05.709Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-05-10T14:46:05.709Z] + [ -e /tmp/ssh_known_hosts ] [2022-05-10T14:46:05.709Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-05-10T14:46:05.709Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-05-10T14:46:05.709Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-05-10T14:46:05.709Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-05-10T14:46:06.088Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-10T14:46:06.088Z] [2022-05-10T14:46:06.088Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-05-10T14:46:06.433Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-10T14:46:06.433Z] latest: Pulling from edgex-devops/py-git-semver [2022-05-10T14:46:06.433Z] 1fe172e4850f: Pulling fs layer [2022-05-10T14:46:06.433Z] caf521ccaac6: Pulling fs layer [2022-05-10T14:46:06.433Z] 3ead6fa29328: Pulling fs layer [2022-05-10T14:46:06.433Z] 5c2a1cbceb83: Pulling fs layer [2022-05-10T14:46:06.433Z] a8d5f1318db7: Pulling fs layer [2022-05-10T14:46:06.433Z] c427282e49a2: Pulling fs layer [2022-05-10T14:46:06.433Z] 1827001aaf11: Pulling fs layer [2022-05-10T14:46:06.433Z] 0714d37db230: Pulling fs layer [2022-05-10T14:46:06.433Z] ac28cf19c067: Pulling fs layer [2022-05-10T14:46:06.433Z] ca983d60f3e2: Pulling fs layer [2022-05-10T14:46:06.433Z] 9f894cec8388: Pulling fs layer [2022-05-10T14:46:06.433Z] 5c2a1cbceb83: Waiting [2022-05-10T14:46:06.433Z] ac28cf19c067: Waiting [2022-05-10T14:46:06.433Z] a8d5f1318db7: Waiting [2022-05-10T14:46:06.433Z] 9f894cec8388: Waiting [2022-05-10T14:46:06.433Z] c427282e49a2: Waiting [2022-05-10T14:46:06.433Z] 0714d37db230: Waiting [2022-05-10T14:46:06.433Z] 1827001aaf11: Waiting [2022-05-10T14:46:06.433Z] ca983d60f3e2: Waiting [2022-05-10T14:46:06.433Z] caf521ccaac6: Download complete [2022-05-10T14:46:06.433Z] 5c2a1cbceb83: Verifying Checksum [2022-05-10T14:46:06.433Z] 5c2a1cbceb83: Download complete [2022-05-10T14:46:06.433Z] a8d5f1318db7: Verifying Checksum [2022-05-10T14:46:06.433Z] a8d5f1318db7: Download complete [2022-05-10T14:46:06.697Z] 3ead6fa29328: Verifying Checksum [2022-05-10T14:46:06.697Z] 3ead6fa29328: Download complete [2022-05-10T14:46:06.697Z] c427282e49a2: Verifying Checksum [2022-05-10T14:46:06.697Z] c427282e49a2: Download complete [2022-05-10T14:46:06.697Z] 0714d37db230: Download complete [2022-05-10T14:46:06.697Z] ac28cf19c067: Download complete [2022-05-10T14:46:06.697Z] ca983d60f3e2: Download complete [2022-05-10T14:46:06.697Z] 9f894cec8388: Verifying Checksum [2022-05-10T14:46:06.697Z] 9f894cec8388: Download complete [2022-05-10T14:46:06.697Z] 1fe172e4850f: Verifying Checksum [2022-05-10T14:46:06.697Z] 1fe172e4850f: Download complete [2022-05-10T14:46:06.959Z] 1827001aaf11: Verifying Checksum [2022-05-10T14:46:06.959Z] 1827001aaf11: Download complete [2022-05-10T14:46:08.343Z] 1fe172e4850f: Pull complete [2022-05-10T14:46:08.343Z] caf521ccaac6: Pull complete [2022-05-10T14:46:08.916Z] 3ead6fa29328: Pull complete [2022-05-10T14:46:08.916Z] 5c2a1cbceb83: Pull complete [2022-05-10T14:46:09.193Z] a8d5f1318db7: Pull complete [2022-05-10T14:46:09.456Z] c427282e49a2: Pull complete [2022-05-10T14:46:11.383Z] 1827001aaf11: Pull complete [2022-05-10T14:46:11.383Z] 0714d37db230: Pull complete [2022-05-10T14:46:11.644Z] ac28cf19c067: Pull complete [2022-05-10T14:46:11.644Z] ca983d60f3e2: Pull complete [2022-05-10T14:46:11.905Z] 9f894cec8388: Pull complete [2022-05-10T14:46:11.905Z] Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee [2022-05-10T14:46:11.905Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-10T14:46:11.905Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] withDockerContainer [2022-05-10T14:46:12.012Z] prd-ubuntu20.04-docker-8c-8g-47772 does not seem to be running inside a container [2022-05-10T14:46:12.048Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1161 -v /w/workspace/gexfoundry_device-sdk-go_PR-1161:/w/workspace/gexfoundry_device-sdk-go_PR-1161:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1161@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1161@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat [2022-05-10T14:46:13.514Z] $ docker top 7820c7fb73ca94a78fa663a27dbf8457c6d6deb909dcb85f47502786bf2b2e52 -eo pid,comm [2022-05-10T14:46:13.595Z] 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-10T14:46:13.595Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-05-10T14:46:13.788Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-10T14:46:13.788Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-10T14:46:13.939Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-10T14:46:13.935Z] $ docker exec 7820c7fb73ca94a78fa663a27dbf8457c6d6deb909dcb85f47502786bf2b2e52 ssh-agent [2022-05-10T14:46:14.068Z] SSH_AUTH_SOCK=/tmp/ssh-6y5FIpQ0GVLR/agent.34 [2022-05-10T14:46:14.068Z] SSH_AGENT_PID=41 [2022-05-10T14:46:14.076Z] Running ssh-add (command line suppressed) [2022-05-10T14:46:14.194Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1161@tmp/private_key_6975118623839725737.key (/w/workspace/gexfoundry_device-sdk-go_PR-1161@tmp/private_key_6975118623839725737.key) [2022-05-10T14:46:14.218Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-10T14:46:14.547Z] + git tag --points-at HEAD [Pipeline] } [2022-05-10T14:46:14.567Z] $ docker exec --env ******** --env ******** 7820c7fb73ca94a78fa663a27dbf8457c6d6deb909dcb85f47502786bf2b2e52 ssh-agent -k [2022-05-10T14:46:14.671Z] unset SSH_AUTH_SOCK; [2022-05-10T14:46:14.671Z] unset SSH_AGENT_PID; [2022-05-10T14:46:14.671Z] echo Agent pid 41 killed; [2022-05-10T14:46:14.690Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-05-10T14:46:14.770Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-10T14:46:14.770Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-10T14:46:14.906Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-10T14:46:14.903Z] $ docker exec 7820c7fb73ca94a78fa663a27dbf8457c6d6deb909dcb85f47502786bf2b2e52 ssh-agent [2022-05-10T14:46:15.028Z] SSH_AUTH_SOCK=/tmp/ssh-knOBJqbNjamv/agent.74 [2022-05-10T14:46:15.028Z] SSH_AGENT_PID=80 [2022-05-10T14:46:15.034Z] Running ssh-add (command line suppressed) [2022-05-10T14:46:15.149Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1161@tmp/private_key_6476829469355384732.key (/w/workspace/gexfoundry_device-sdk-go_PR-1161@tmp/private_key_6476829469355384732.key) [2022-05-10T14:46:15.171Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-10T14:46:15.503Z] + git semver init [2022-05-10T14:46:15.763Z] 2022-05-10 14:46:15,714 [run_init] DEBUG init version:0.0.0 force:False [2022-05-10T14:46:15.763Z] 2022-05-10 14:46:15,714 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1161/.semver [2022-05-10T14:46:15.763Z] 2022-05-10 14:46:15,715 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1161/.semver [2022-05-10T14:46:15.763Z] 2022-05-10 14:46:15,715 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1161/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1161, universal_newlines=False, shell=None, istream=None) [2022-05-10T14:46:16.706Z] 2022-05-10 14:46:16,609 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1161/.git/info/exclude [2022-05-10T14:46:16.706Z] 2022-05-10 14:46:16,609 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1161/.semver/PR-1161 with force:False [2022-05-10T14:46:16.706Z] 2022-05-10 14:46:16,610 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1161/.semver/PR-1161 [2022-05-10T14:46:16.706Z] 2022-05-10 14:46:16,613 [execute] INFO git cat-file --batch-check [2022-05-10T14:46:16.706Z] 2022-05-10 14:46:16,614 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1161/.semver, universal_newlines=False, shell=None, istream=) [2022-05-10T14:46:16.706Z] 2022-05-10 14:46:16,621 [execute] INFO git cat-file --batch [2022-05-10T14:46:16.706Z] 2022-05-10 14:46:16,621 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1161/.semver, universal_newlines=False, shell=None, istream=) [2022-05-10T14:46:16.706Z] 2022-05-10 14:46:16,628 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1161/.semver/PR-1161 [2022-05-10T14:46:16.706Z] 0.0.0 [Pipeline] } [2022-05-10T14:46:16.725Z] $ docker exec --env ******** --env ******** 7820c7fb73ca94a78fa663a27dbf8457c6d6deb909dcb85f47502786bf2b2e52 ssh-agent -k [2022-05-10T14:46:16.849Z] unset SSH_AUTH_SOCK; [2022-05-10T14:46:16.850Z] unset SSH_AGENT_PID; [2022-05-10T14:46:16.850Z] echo Agent pid 80 killed; [2022-05-10T14:46:16.867Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-05-10T14:46:17.297Z] + git semver [Pipeline] } [2022-05-10T14:46:17.577Z] $ docker stop --time=1 7820c7fb73ca94a78fa663a27dbf8457c6d6deb909dcb85f47502786bf2b2e52 [2022-05-10T14:46:18.924Z] $ docker rm -f 7820c7fb73ca94a78fa663a27dbf8457c6d6deb909dcb85f47502786bf2b2e52 [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-10T14:46:19.355Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-05-10T14:46:19.669Z] Stashed 1 file(s) [Pipeline] echo [2022-05-10T14:46:19.686Z] [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-10T14:46:20.318Z] provisioning config files... [2022-05-10T14:46:20.329Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1161@tmp/config6215618335849102453tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-10T14:46:20.688Z] ---> docker-login.sh [2022-05-10T14:46:20.688Z] nexus3.edgexfoundry.org:10001 [2022-05-10T14:46:20.688Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T14:46:20.688Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T14:46:20.688Z] Configure a credential helper to remove this warning. See [2022-05-10T14:46:20.688Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T14:46:20.688Z] [2022-05-10T14:46:20.688Z] Login Succeeded [2022-05-10T14:46:20.688Z] nexus3.edgexfoundry.org:10002 [2022-05-10T14:46:20.688Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T14:46:20.948Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T14:46:20.948Z] Configure a credential helper to remove this warning. See [2022-05-10T14:46:20.948Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T14:46:20.948Z] [2022-05-10T14:46:20.948Z] Login Succeeded [2022-05-10T14:46:20.948Z] nexus3.edgexfoundry.org:10003 [2022-05-10T14:46:20.948Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T14:46:20.948Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T14:46:20.948Z] Configure a credential helper to remove this warning. See [2022-05-10T14:46:20.948Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T14:46:20.948Z] [2022-05-10T14:46:20.948Z] Login Succeeded [2022-05-10T14:46:20.948Z] nexus3.edgexfoundry.org:10004 [2022-05-10T14:46:21.209Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T14:46:21.209Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T14:46:21.209Z] Configure a credential helper to remove this warning. See [2022-05-10T14:46:21.209Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T14:46:21.209Z] [2022-05-10T14:46:21.209Z] Login Succeeded [2022-05-10T14:46:21.209Z] docker.io [2022-05-10T14:46:21.209Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T14:46:21.471Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T14:46:21.471Z] Configure a credential helper to remove this warning. See [2022-05-10T14:46:21.471Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T14:46:21.471Z] [2022-05-10T14:46:21.471Z] Login Succeeded [2022-05-10T14:46:21.471Z] ---> docker-login.sh ends [Pipeline] } [2022-05-10T14:46:21.506Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-05-10T14:46:21.695Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-05-10T14:46:21.723Z] ========================================================= [2022-05-10T14:46:21.723Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-05-10T14:46:21.723Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-05-10T14:46:22.133Z] + 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-10T14:46:22.133Z] Sending build context to Docker daemon 9.721MB [2022-05-10T14:46:22.133Z] Step 1/11 : ARG BASE=golang:1.17-alpine3.15 [2022-05-10T14:46:22.133Z] Step 2/11 : FROM ${BASE} AS builder [2022-05-10T14:46:22.133Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-05-10T14:46:22.133Z] 59bf1c3509f3: Pulling fs layer [2022-05-10T14:46:22.133Z] 666ba61612fd: Pulling fs layer [2022-05-10T14:46:22.133Z] 8ed8ca486205: Pulling fs layer [2022-05-10T14:46:22.133Z] 4fe6c5a15a65: Pulling fs layer [2022-05-10T14:46:22.133Z] 22a0e8bec74d: Pulling fs layer [2022-05-10T14:46:22.133Z] ca2b28591e48: Pulling fs layer [2022-05-10T14:46:22.133Z] 4fe6c5a15a65: Waiting [2022-05-10T14:46:22.133Z] 22a0e8bec74d: Waiting [2022-05-10T14:46:22.133Z] ca2b28591e48: Waiting [2022-05-10T14:46:22.133Z] a51346096db8: Pulling fs layer [2022-05-10T14:46:22.133Z] daebc70d1ce1: Pulling fs layer [2022-05-10T14:46:22.133Z] a51346096db8: Waiting [2022-05-10T14:46:22.133Z] daebc70d1ce1: Waiting [2022-05-10T14:46:22.133Z] 0e18a0eac166: Pulling fs layer [2022-05-10T14:46:22.133Z] 0e18a0eac166: Waiting [2022-05-10T14:46:22.398Z] 8ed8ca486205: Download complete [2022-05-10T14:46:22.398Z] 666ba61612fd: Download complete [2022-05-10T14:46:22.398Z] 22a0e8bec74d: Download complete [2022-05-10T14:46:22.398Z] 59bf1c3509f3: Verifying Checksum [2022-05-10T14:46:22.398Z] 59bf1c3509f3: Download complete [2022-05-10T14:46:22.398Z] ca2b28591e48: Verifying Checksum [2022-05-10T14:46:22.398Z] ca2b28591e48: Download complete [2022-05-10T14:46:22.398Z] a51346096db8: Verifying Checksum [2022-05-10T14:46:22.398Z] a51346096db8: Download complete [2022-05-10T14:46:22.398Z] daebc70d1ce1: Verifying Checksum [2022-05-10T14:46:22.398Z] daebc70d1ce1: Download complete [2022-05-10T14:46:22.398Z] 59bf1c3509f3: Pull complete [2022-05-10T14:46:22.659Z] 666ba61612fd: Pull complete [2022-05-10T14:46:22.659Z] 8ed8ca486205: Pull complete [2022-05-10T14:46:22.922Z] 0e18a0eac166: Verifying Checksum [2022-05-10T14:46:22.922Z] 0e18a0eac166: Download complete [2022-05-10T14:46:23.182Z] 4fe6c5a15a65: Verifying Checksum [2022-05-10T14:46:23.182Z] 4fe6c5a15a65: Download complete [2022-05-10T14:46:27.385Z] 4fe6c5a15a65: Pull complete [2022-05-10T14:46:27.385Z] 22a0e8bec74d: Pull complete [2022-05-10T14:46:27.385Z] ca2b28591e48: Pull complete [2022-05-10T14:46:27.385Z] a51346096db8: Pull complete [2022-05-10T14:46:27.647Z] daebc70d1ce1: Pull complete [2022-05-10T14:46:30.189Z] 0e18a0eac166: Pull complete [2022-05-10T14:46:30.189Z] Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 [2022-05-10T14:46:30.189Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-05-10T14:46:30.189Z] ---> f018257e8ee9 [2022-05-10T14:46:30.189Z] Step 3/11 : ARG MAKE=make build [2022-05-10T14:46:32.106Z] ---> Running in 4ab363aa5aaf [2022-05-10T14:46:32.106Z] Removing intermediate container 4ab363aa5aaf [2022-05-10T14:46:32.106Z] ---> 6c21624523a7 [2022-05-10T14:46:32.106Z] Step 4/11 : WORKDIR /device-sdk-go [2022-05-10T14:46:32.106Z] ---> Running in 878827a577c8 [2022-05-10T14:46:32.106Z] Removing intermediate container 878827a577c8 [2022-05-10T14:46:32.106Z] ---> a7a94324c54a [2022-05-10T14:46:32.106Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-05-10T14:46:32.106Z] ---> Running in 64ffd6c9ec4d [2022-05-10T14:46:32.106Z] Removing intermediate container 64ffd6c9ec4d [2022-05-10T14:46:32.106Z] ---> 8f8d5967221e [2022-05-10T14:46:32.106Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-10T14:46:32.106Z] ---> Running in 987e88c5056d [2022-05-10T14:46:32.678Z] Removing intermediate container 987e88c5056d [2022-05-10T14:46:32.678Z] ---> 96427675a788 [2022-05-10T14:46:32.678Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-05-10T14:46:32.678Z] ---> Running in a8ec82c72130 [2022-05-10T14:46:32.940Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-05-10T14:46:33.883Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-05-10T14:46:34.143Z] OK: 221 MiB in 52 packages [2022-05-10T14:46:34.404Z] Removing intermediate container a8ec82c72130 [2022-05-10T14:46:34.404Z] ---> 7c68874fb073 [2022-05-10T14:46:34.404Z] Step 8/11 : COPY go.mod vendor* ./ [2022-05-10T14:46:34.664Z] ---> 3ea5e8008c5e [2022-05-10T14:46:34.664Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-10T14:46:34.664Z] ---> Running in 33eae1bebeba [2022-05-10T14:46:35.140Z] Still waiting to schedule task [2022-05-10T14:46:35.140Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-47771’ [2022-05-10T14:46:52.789Z] Removing intermediate container 33eae1bebeba [2022-05-10T14:46:52.789Z] ---> 9fcff45343dd [2022-05-10T14:46:52.789Z] Step 10/11 : COPY . . [2022-05-10T14:46:52.789Z] ---> e39ff20de78c [2022-05-10T14:46:52.789Z] Step 11/11 : RUN ${MAKE} [2022-05-10T14:46:52.789Z] ---> Running in aa140c1dd1a1 [2022-05-10T14:46:52.789Z] noop [2022-05-10T14:46:52.789Z] Removing intermediate container aa140c1dd1a1 [2022-05-10T14:46:52.789Z] ---> 6a99c1dab6bf [2022-05-10T14:46:52.789Z] Successfully built 6a99c1dab6bf [2022-05-10T14:46:52.789Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-05-10T14:46:53.117Z] + docker inspect -f . ci-base-image-x86_64 [2022-05-10T14:46:53.117Z] . [Pipeline] withDockerContainer [2022-05-10T14:46:53.211Z] prd-ubuntu20.04-docker-8c-8g-47772 does not seem to be running inside a container [2022-05-10T14:46:53.298Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1161 -v /w/workspace/gexfoundry_device-sdk-go_PR-1161:/w/workspace/gexfoundry_device-sdk-go_PR-1161:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1161@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1161@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 ******** ci-base-image-x86_64 cat [2022-05-10T14:46:53.789Z] $ docker top f8c114d80a3af21d0f0701621f62fdff93a9afc06b4122c2828f5006e40bc259 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-10T14:46:54.249Z] + go version [2022-05-10T14:46:54.249Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-05-10T14:46:54.301Z] $ docker stop --time=1 f8c114d80a3af21d0f0701621f62fdff93a9afc06b4122c2828f5006e40bc259 [2022-05-10T14:46:55.664Z] $ docker rm -f f8c114d80a3af21d0f0701621f62fdff93a9afc06b4122c2828f5006e40bc259 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-10T14:46:56.336Z] + docker inspect -f . ci-base-image-x86_64 [2022-05-10T14:46:56.336Z] . [Pipeline] withDockerContainer [2022-05-10T14:46:56.424Z] prd-ubuntu20.04-docker-8c-8g-47772 does not seem to be running inside a container [2022-05-10T14:46:56.463Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1161 -v /w/workspace/gexfoundry_device-sdk-go_PR-1161:/w/workspace/gexfoundry_device-sdk-go_PR-1161:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1161@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1161@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 ******** ci-base-image-x86_64 cat [2022-05-10T14:46:56.902Z] $ docker top b3112054cd27c29ac31ee4aa15f206427410d2ad508e90cf6530dc6bb0153a83 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-05-10T14:46:57.349Z] + make test [2022-05-10T14:46:57.349Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-05-10T14:47:03.928Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-05-10T14:47:16.141Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-05-10T14:47:16.141Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-05-10T14:47:16.141Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-05-10T14:47:16.141Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.085s coverage: 23.3% of statements [2022-05-10T14:47:16.141Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-05-10T14:47:16.141Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.058s coverage: 27.6% of statements [2022-05-10T14:47:16.141Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.081s coverage: 78.9% of statements [2022-05-10T14:47:16.141Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.081s coverage: 10.8% of statements [2022-05-10T14:47:16.141Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.094s coverage: 60.0% of statements [2022-05-10T14:47:16.141Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-05-10T14:47:16.141Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-05-10T14:47:16.141Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.091s coverage: 34.8% of statements [2022-05-10T14:47:16.141Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-05-10T14:47:17.087Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.077s coverage: 86.5% of statements [2022-05-10T14:47:17.087Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-05-10T14:47:17.087Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-05-10T14:47:17.087Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.109s coverage: 65.1% of statements [2022-05-10T14:47:17.087Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.837s coverage: 89.2% of statements [2022-05-10T14:47:17.087Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-05-10T14:47:17.087Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.072s coverage: 4.7% of statements [2022-05-10T14:47:17.087Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-05-10T14:47:31.995Z] GO111MODULE=on go vet ./... [2022-05-10T14:47:36.204Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-05-10T14:47:36.204Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-05-10T14:47:36.204Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-05-10T14:47:36.494Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-05-10T14:47:36.528Z] $ docker stop --time=1 b3112054cd27c29ac31ee4aa15f206427410d2ad508e90cf6530dc6bb0153a83 [2022-05-10T14:47:38.810Z] $ docker rm -f b3112054cd27c29ac31ee4aa15f206427410d2ad508e90cf6530dc6bb0153a83 [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-10T14:47:39.366Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-05-10T14:47:39.459Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-05-10T14:47:40.116Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-05-10T14:47:40.427Z] + ls -al . [2022-05-10T14:47:40.427Z] total 296 [2022-05-10T14:47:40.427Z] drwxrwxr-x 11 jenkins jenkins 4096 May 10 14:47 . [2022-05-10T14:47:40.427Z] drwxrwxr-x 4 jenkins jenkins 4096 May 10 14:45 .. [2022-05-10T14:47:40.427Z] -rw-rw-r-- 1 jenkins jenkins 140 May 10 14:45 .dockerignore [2022-05-10T14:47:40.427Z] drwxrwxr-x 8 jenkins jenkins 4096 May 10 14:46 .git [2022-05-10T14:47:40.427Z] drwxrwxr-x 2 jenkins jenkins 4096 May 10 14:45 .github [2022-05-10T14:47:40.427Z] -rw-rw-r-- 1 jenkins jenkins 131 May 10 14:45 .gitignore [2022-05-10T14:47:40.427Z] -rw-rw-r-- 1 jenkins jenkins 42 May 10 14:45 .golangci.yml [2022-05-10T14:47:40.427Z] drwxr-xr-x 3 jenkins jenkins 4096 May 10 14:46 .semver [2022-05-10T14:47:40.427Z] -rw-rw-r-- 1 jenkins jenkins 26321 May 10 14:45 CHANGELOG.md [2022-05-10T14:47:40.427Z] -rw-rw-r-- 1 jenkins jenkins 677 May 10 14:45 GOVERNANCE.md [2022-05-10T14:47:40.427Z] -rw-rw-r-- 1 jenkins jenkins 880 May 10 14:45 Jenkinsfile [2022-05-10T14:47:40.427Z] -rw-rw-r-- 1 jenkins jenkins 11341 May 10 14:45 LICENSE [2022-05-10T14:47:40.427Z] -rw-rw-r-- 1 jenkins jenkins 2015 May 10 14:45 Makefile [2022-05-10T14:47:40.427Z] -rw-rw-r-- 1 jenkins jenkins 619 May 10 14:45 OWNERS.md [2022-05-10T14:47:40.427Z] -rw-rw-r-- 1 jenkins jenkins 4881 May 10 14:45 README.md [2022-05-10T14:47:40.427Z] -rw-rw-r-- 1 jenkins jenkins 5 May 10 14:46 VERSION [2022-05-10T14:47:40.427Z] drwxrwxr-x 2 jenkins jenkins 4096 May 10 14:45 bin [2022-05-10T14:47:40.427Z] -rw-r--r-- 1 jenkins jenkins 130739 May 10 14:47 coverage.out [2022-05-10T14:47:40.427Z] drwxrwxr-x 5 jenkins jenkins 4096 May 10 14:45 example [2022-05-10T14:47:40.427Z] -rw-rw-r-- 1 jenkins jenkins 3159 May 10 14:45 go.mod [2022-05-10T14:47:40.427Z] -rw-rw-r-- 1 jenkins jenkins 34529 May 10 14:45 go.sum [2022-05-10T14:47:40.427Z] drwxrwxr-x 15 jenkins jenkins 4096 May 10 14:45 internal [2022-05-10T14:47:40.427Z] drwxrwxr-x 3 jenkins jenkins 4096 May 10 14:45 openapi [2022-05-10T14:47:40.427Z] drwxrwxr-x 5 jenkins jenkins 4096 May 10 14:45 pkg [2022-05-10T14:47:40.427Z] drwxrwxr-x 4 jenkins jenkins 4096 May 10 14:45 snap [2022-05-10T14:47:40.427Z] -rw-rw-r-- 1 jenkins jenkins 222 May 10 14:45 version.go [Pipeline] isUnix [Pipeline] sh [2022-05-10T14:47:40.758Z] + 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=6e2217aa1a8b3508ce3f870e8bd5b28281c22161 --label arch=amd64 --label version=0.0.0 . [2022-05-10T14:47:40.758Z] Sending build context to Docker daemon 9.853MB [2022-05-10T14:47:40.758Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-05-10T14:47:40.758Z] Step 2/25 : FROM ${BASE} AS builder [2022-05-10T14:47:40.758Z] ---> 6a99c1dab6bf [2022-05-10T14:47:40.758Z] Step 3/25 : ARG MAKE=make build [2022-05-10T14:47:41.019Z] ---> Running in d2ffcae799fa [2022-05-10T14:47:41.019Z] Removing intermediate container d2ffcae799fa [2022-05-10T14:47:41.019Z] ---> c3a17eeef935 [2022-05-10T14:47:41.019Z] Step 4/25 : WORKDIR /device-sdk-go [2022-05-10T14:47:41.019Z] ---> Running in 88feda8bd418 [2022-05-10T14:47:41.279Z] Removing intermediate container 88feda8bd418 [2022-05-10T14:47:41.279Z] ---> 030cce9331fa [2022-05-10T14:47:41.279Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-05-10T14:47:41.279Z] ---> Running in 2e5621c020bd [2022-05-10T14:47:41.279Z] Removing intermediate container 2e5621c020bd [2022-05-10T14:47:41.279Z] ---> 325430fa61c8 [2022-05-10T14:47:41.279Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-10T14:47:41.279Z] ---> Running in 3fd09beb1b4f [2022-05-10T14:47:41.847Z] Removing intermediate container 3fd09beb1b4f [2022-05-10T14:47:41.847Z] ---> 6fd99db02e96 [2022-05-10T14:47:41.847Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-05-10T14:47:41.847Z] ---> Running in fa152355fbdc [2022-05-10T14:47:42.417Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-05-10T14:47:42.986Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-05-10T14:47:43.246Z] OK: 221 MiB in 52 packages [2022-05-10T14:47:43.824Z] Removing intermediate container fa152355fbdc [2022-05-10T14:47:43.824Z] ---> 86f461f65fbd [2022-05-10T14:47:43.824Z] Step 8/25 : COPY go.mod vendor* ./ [2022-05-10T14:47:43.824Z] ---> 22022be00c61 [2022-05-10T14:47:43.824Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-10T14:47:44.082Z] ---> Running in dd79fb4824b6 [2022-05-10T14:47:44.652Z] Removing intermediate container dd79fb4824b6 [2022-05-10T14:47:44.652Z] ---> b75e3118d9a5 [2022-05-10T14:47:44.652Z] Step 10/25 : COPY . . [2022-05-10T14:47:44.912Z] ---> 38f76c531767 [2022-05-10T14:47:44.912Z] Step 11/25 : RUN ${MAKE} [2022-05-10T14:47:45.176Z] ---> Running in 32e31611efe9 [2022-05-10T14:47:45.435Z] 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-10T14:48:04.627Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-05-10T14:48:05.572Z] Removing intermediate container 32e31611efe9 [2022-05-10T14:48:05.572Z] ---> edadf568f70b [2022-05-10T14:48:05.572Z] Step 12/25 : FROM alpine:3.14 [2022-05-10T14:48:06.182Z] 3.14: Pulling from library/alpine [2022-05-10T14:48:06.182Z] 8663204ce13b: Pulling fs layer [2022-05-10T14:48:06.469Z] 8663204ce13b: Verifying Checksum [2022-05-10T14:48:06.469Z] 8663204ce13b: Download complete [2022-05-10T14:48:06.734Z] 8663204ce13b: Pull complete [2022-05-10T14:48:06.734Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-05-10T14:48:06.734Z] Status: Downloaded newer image for alpine:3.14 [2022-05-10T14:48:06.734Z] ---> e04c818066af [2022-05-10T14:48:06.734Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-05-10T14:48:06.734Z] ---> Running in daf1ff82442e [2022-05-10T14:48:07.000Z] Removing intermediate container daf1ff82442e [2022-05-10T14:48:07.000Z] ---> bd417d449de2 [2022-05-10T14:48:07.000Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-10T14:48:07.000Z] ---> Running in af5db47d6e4b [2022-05-10T14:48:07.568Z] Removing intermediate container af5db47d6e4b [2022-05-10T14:48:07.568Z] ---> 8f00b579570f [2022-05-10T14:48:07.568Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-05-10T14:48:07.568Z] ---> Running in 8f3f494ca26e [2022-05-10T14:48:07.829Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-05-10T14:48:08.398Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-05-10T14:48:08.969Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2022-05-10T14:48:08.969Z] (2/5) Installing libsodium (1.0.18-r0) [2022-05-10T14:48:08.969Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2022-05-10T14:48:08.969Z] (4/5) Installing libzmq (4.3.4-r0) [2022-05-10T14:48:09.229Z] (5/5) Installing zeromq (4.3.4-r0) [2022-05-10T14:48:09.229Z] Executing busybox-1.33.1-r7.trigger [2022-05-10T14:48:09.229Z] OK: 8 MiB in 19 packages [2022-05-10T14:48:09.801Z] Removing intermediate container 8f3f494ca26e [2022-05-10T14:48:09.801Z] ---> 237ede0564f7 [2022-05-10T14:48:09.801Z] Step 16/25 : WORKDIR / [2022-05-10T14:48:09.801Z] ---> Running in 22338a2b0155 [2022-05-10T14:48:09.801Z] Removing intermediate container 22338a2b0155 [2022-05-10T14:48:09.801Z] ---> 3e5c953c1f89 [2022-05-10T14:48:09.801Z] Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-05-10T14:48:10.062Z] ---> 83bf2560081a [2022-05-10T14:48:10.062Z] Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-05-10T14:48:10.633Z] ---> 85c0e69b8d40 [2022-05-10T14:48:10.633Z] Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-05-10T14:48:10.633Z] ---> 25db7af487a2 [2022-05-10T14:48:10.633Z] Step 20/25 : EXPOSE 59999 [2022-05-10T14:48:10.894Z] ---> Running in c4b94678eafe [2022-05-10T14:48:10.894Z] Removing intermediate container c4b94678eafe [2022-05-10T14:48:10.894Z] ---> f2d90a56981a [2022-05-10T14:48:10.894Z] Step 21/25 : ENTRYPOINT ["/device-simple"] [2022-05-10T14:48:10.894Z] ---> Running in 1ef38190e4f3 [2022-05-10T14:48:11.154Z] Removing intermediate container 1ef38190e4f3 [2022-05-10T14:48:11.154Z] ---> 2458fbf1f90b [2022-05-10T14:48:11.154Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-05-10T14:48:11.154Z] ---> Running in 19881df482f8 [2022-05-10T14:48:11.154Z] Removing intermediate container 19881df482f8 [2022-05-10T14:48:11.154Z] ---> a6c331e7aabc [2022-05-10T14:48:11.154Z] Step 23/25 : LABEL arch=amd64 [2022-05-10T14:48:11.154Z] ---> Running in 1d551247f893 [2022-05-10T14:48:11.414Z] Removing intermediate container 1d551247f893 [2022-05-10T14:48:11.414Z] ---> 1ef3694ddb58 [2022-05-10T14:48:11.414Z] Step 24/25 : LABEL git_sha=6e2217aa1a8b3508ce3f870e8bd5b28281c22161 [2022-05-10T14:48:11.414Z] ---> Running in f99d1e59e466 [2022-05-10T14:48:11.414Z] Removing intermediate container f99d1e59e466 [2022-05-10T14:48:11.414Z] ---> 1bd6d54bedcd [2022-05-10T14:48:11.414Z] Step 25/25 : LABEL version=0.0.0 [2022-05-10T14:48:11.674Z] ---> Running in b76d3c444368 [2022-05-10T14:48:11.674Z] Removing intermediate container b76d3c444368 [2022-05-10T14:48:11.674Z] ---> 1402c7c2eacf [2022-05-10T14:48:11.674Z] [Warning] One or more build-args [ARCH] were not consumed [2022-05-10T14:48:11.674Z] Successfully built 1402c7c2eacf [2022-05-10T14:48:11.674Z] 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-10T14:48:12.377Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-10T14:48:12.377Z] [2022-05-10T14:48:12.377Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-05-10T14:48:12.722Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-10T14:48:12.722Z] latest: Pulling from edgex-lftools-log-publisher [2022-05-10T14:48:12.722Z] 5eb5b503b376: Pulling fs layer [2022-05-10T14:48:12.722Z] 5c69ac0246d0: Pulling fs layer [2022-05-10T14:48:12.722Z] ec43610c2a17: Pulling fs layer [2022-05-10T14:48:12.722Z] 3a2ae6a8a46f: Pulling fs layer [2022-05-10T14:48:12.722Z] 33b1e0a273af: Pulling fs layer [2022-05-10T14:48:12.722Z] 5d3b04190fa2: Pulling fs layer [2022-05-10T14:48:12.722Z] 2f39f015ded8: Pulling fs layer [2022-05-10T14:48:12.722Z] 3a2ae6a8a46f: Waiting [2022-05-10T14:48:12.722Z] 33b1e0a273af: Waiting [2022-05-10T14:48:12.722Z] 5d3b04190fa2: Waiting [2022-05-10T14:48:12.722Z] 5c69ac0246d0: Verifying Checksum [2022-05-10T14:48:12.722Z] 5c69ac0246d0: Download complete [2022-05-10T14:48:12.722Z] 3a2ae6a8a46f: Verifying Checksum [2022-05-10T14:48:12.722Z] 3a2ae6a8a46f: Download complete [2022-05-10T14:48:12.722Z] 33b1e0a273af: Verifying Checksum [2022-05-10T14:48:12.722Z] 33b1e0a273af: Download complete [2022-05-10T14:48:12.722Z] 5d3b04190fa2: Verifying Checksum [2022-05-10T14:48:12.722Z] 5d3b04190fa2: Download complete [2022-05-10T14:48:12.722Z] ec43610c2a17: Verifying Checksum [2022-05-10T14:48:12.722Z] ec43610c2a17: Download complete [2022-05-10T14:48:12.981Z] 5eb5b503b376: Verifying Checksum [2022-05-10T14:48:12.981Z] 5eb5b503b376: Download complete [2022-05-10T14:48:13.547Z] 2f39f015ded8: Download complete [2022-05-10T14:48:14.118Z] 5eb5b503b376: Pull complete [2022-05-10T14:48:14.118Z] 5c69ac0246d0: Pull complete [2022-05-10T14:48:14.687Z] ec43610c2a17: Pull complete [2022-05-10T14:48:14.687Z] 3a2ae6a8a46f: Pull complete [2022-05-10T14:48:14.947Z] 33b1e0a273af: Pull complete [2022-05-10T14:48:14.947Z] 5d3b04190fa2: Pull complete [2022-05-10T14:48:19.145Z] 2f39f015ded8: Pull complete [2022-05-10T14:48:19.145Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-05-10T14:48:19.145Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-10T14:48:19.145Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-05-10T14:48:19.242Z] prd-ubuntu20.04-docker-8c-8g-47772 does not seem to be running inside a container [2022-05-10T14:48:19.284Z] $ 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-1161 -v /w/workspace/gexfoundry_device-sdk-go_PR-1161:/w/workspace/gexfoundry_device-sdk-go_PR-1161:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1161@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1161@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-10T14:48:21.532Z] $ docker top 119b0a80e008b8e7e2b44a4f3c9af097c80bf2afcaa9fb7f6405a115b559a11e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-10T14:48:22.012Z] ---> job-cost.sh [2022-05-10T14:48:22.012Z] lf-activate-venv: SKIPPING [2022-05-10T14:48:22.012Z] INFO: No Stack... [2022-05-10T14:48:22.271Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-05-10T14:48:22.840Z] INFO: Archiving Costs [Pipeline] sh [2022-05-10T14:48:23.157Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1161/archives/cost.csv [2022-05-10T14:48:23.157Z] + cut -d, -f6 [Pipeline] lock [2022-05-10T14:48:23.202Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1161-1-stack-cost] [2022-05-10T14:48:23.207Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1161-1-stack-cost] did not exist. Created. [2022-05-10T14:48:23.207Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1161-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-05-10T14:48:23.590Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-05-10T14:48:23.640Z] Stashed 1 file(s) [Pipeline] } [2022-05-10T14:48:23.673Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1161-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-05-10T14:48:23.826Z] $ docker stop --time=1 119b0a80e008b8e7e2b44a4f3c9af097c80bf2afcaa9fb7f6405a115b559a11e [2022-05-10T14:48:24.988Z] $ docker rm -f 119b0a80e008b8e7e2b44a4f3c9af097c80bf2afcaa9fb7f6405a115b559a11e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-05-10T14:50:16.068Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-47773 in /w/workspace/gexfoundry_device-sdk-go_PR-1161 [Pipeline] { [Pipeline] ws [2022-05-10T14:50:16.107Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2022-05-10T14:50:16.487Z] The recommended git tool is: git [2022-05-10T14:50:23.270Z] using credential edgex-jenkins-ssh [2022-05-10T14:50:23.288Z] Cloning the remote Git repository [2022-05-10T14:50:23.372Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2022-05-10T14:50:23.449Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2022-05-10T14:50:23.523Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-05-10T14:50:23.524Z] > git --version # timeout=10 [2022-05-10T14:50:23.549Z] > git --version # 'git version 2.25.1' [2022-05-10T14:50:23.551Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-05-10T14:50:23.621Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-05-10T14:50:25.091Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-05-10T14:50:25.112Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-05-10T14:50:25.141Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-05-10T14:50:25.215Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-05-10T14:50:25.216Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-05-10T14:50:25.233Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1161/head:refs/remotes/origin/PR-1161 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-05-10T14:50:25.930Z] Merging remotes/origin/main commit 95cc41607fa0e7e8234cfcf8f734ea02839e59f5 into PR head commit 6e2217aa1a8b3508ce3f870e8bd5b28281c22161 [2022-05-10T14:50:26.157Z] Merge succeeded, producing 6e2217aa1a8b3508ce3f870e8bd5b28281c22161 [2022-05-10T14:50:26.158Z] Checking out Revision 6e2217aa1a8b3508ce3f870e8bd5b28281c22161 (PR-1161) [2022-05-10T14:50:25.954Z] > git config core.sparsecheckout # timeout=10 [2022-05-10T14:50:25.970Z] > git checkout -f 6e2217aa1a8b3508ce3f870e8bd5b28281c22161 # timeout=10 [2022-05-10T14:50:26.077Z] > git remote # timeout=10 [2022-05-10T14:50:26.095Z] > git config --get remote.origin.url # timeout=10 [2022-05-10T14:50:26.111Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-05-10T14:50:26.122Z] > git merge 95cc41607fa0e7e8234cfcf8f734ea02839e59f5 # timeout=10 [2022-05-10T14:50:26.146Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-05-10T14:50:26.168Z] > git config core.sparsecheckout # timeout=10 [2022-05-10T14:50:26.190Z] > git checkout -f 6e2217aa1a8b3508ce3f870e8bd5b28281c22161 # timeout=10 [2022-05-10T14:50:30.399Z] Commit message: "fix: Remove MessageBus Options data from configuration after client created" [2022-05-10T14:50:30.463Z] > git --version # timeout=10 [2022-05-10T14:50:30.475Z] > git --version # 'git version 2.25.1' [2022-05-10T14:50:30.492Z] fatal: bad object 61d3a14f5ee21304eadc9c25f102bcac80e1a589 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-05-10T14:50:32.209Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-05-10T14:50:32.209Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-05-10T14:50:32.209Z] Dload Upload Total Spent Left Speed [2022-05-10T14:50:32.209Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 83401 0 --:--:-- --:--:-- --:--:-- 83401 [Pipeline] sh [2022-05-10T14:50:32.762Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-05-10T14:50:33.124Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-05-10T14:50:33.124Z] + sudo tee /etc/docker/daemon.new [2022-05-10T14:50:33.124Z] { [2022-05-10T14:50:33.124Z] "registry-mirrors": [ [2022-05-10T14:50:33.124Z] "https://nexus3.edgexfoundry.org:10001" [2022-05-10T14:50:33.124Z] ], [2022-05-10T14:50:33.124Z] "bip": "10.250.0.254/24", [2022-05-10T14:50:33.124Z] "hosts": [ [2022-05-10T14:50:33.124Z] "tcp://0.0.0.0:5555", [2022-05-10T14:50:33.124Z] "unix:///var/run/docker.sock" [2022-05-10T14:50:33.124Z] ], [2022-05-10T14:50:33.124Z] "mtu": 1458, [2022-05-10T14:50:33.124Z] "selinux-enabled": true, [2022-05-10T14:50:33.124Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-05-10T14:50:33.124Z] } [Pipeline] sh [2022-05-10T14:50:33.498Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-05-10T14:50:33.873Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-10T14:50:52.358Z] provisioning config files... [2022-05-10T14:50:52.386Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config3396849746631162047tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-10T14:50:52.946Z] ---> docker-login.sh [2022-05-10T14:50:52.946Z] nexus3.edgexfoundry.org:10001 [2022-05-10T14:50:53.546Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T14:50:53.820Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T14:50:53.820Z] Configure a credential helper to remove this warning. See [2022-05-10T14:50:53.820Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T14:50:53.820Z] [2022-05-10T14:50:53.820Z] Login Succeeded [2022-05-10T14:50:53.820Z] nexus3.edgexfoundry.org:10002 [2022-05-10T14:50:54.102Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T14:50:54.382Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T14:50:54.382Z] Configure a credential helper to remove this warning. See [2022-05-10T14:50:54.382Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T14:50:54.382Z] [2022-05-10T14:50:54.382Z] Login Succeeded [2022-05-10T14:50:54.382Z] nexus3.edgexfoundry.org:10003 [2022-05-10T14:50:54.662Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T14:50:54.937Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T14:50:54.937Z] Configure a credential helper to remove this warning. See [2022-05-10T14:50:54.937Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T14:50:54.937Z] [2022-05-10T14:50:54.937Z] Login Succeeded [2022-05-10T14:50:54.937Z] nexus3.edgexfoundry.org:10004 [2022-05-10T14:50:55.212Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T14:50:55.487Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T14:50:55.488Z] Configure a credential helper to remove this warning. See [2022-05-10T14:50:55.488Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T14:50:55.488Z] [2022-05-10T14:50:55.488Z] Login Succeeded [2022-05-10T14:50:55.488Z] docker.io [2022-05-10T14:50:55.763Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T14:50:56.037Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T14:50:56.037Z] Configure a credential helper to remove this warning. See [2022-05-10T14:50:56.037Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T14:50:56.037Z] [2022-05-10T14:50:56.037Z] Login Succeeded [2022-05-10T14:50:56.037Z] ---> docker-login.sh ends [Pipeline] } [2022-05-10T14:50:56.067Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-05-10T14:50:56.473Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-05-10T14:50:56.507Z] ========================================================= [2022-05-10T14:50:56.508Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-05-10T14:50:56.508Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-05-10T14:50:56.996Z] + 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-10T14:50:57.612Z] Sending build context to Docker daemon 5.239MB [2022-05-10T14:50:57.612Z] Step 1/11 : ARG BASE=golang:1.17-alpine3.15 [2022-05-10T14:50:57.612Z] Step 2/11 : FROM ${BASE} AS builder [2022-05-10T14:50:57.612Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-05-10T14:50:57.612Z] 9b3977197b4f: Pulling fs layer [2022-05-10T14:50:57.612Z] 1a89e8eeedd5: Pulling fs layer [2022-05-10T14:50:57.612Z] 94645a83ff95: Pulling fs layer [2022-05-10T14:50:57.612Z] 3f3a8bcf1eab: Pulling fs layer [2022-05-10T14:50:57.612Z] 0c92f367c5e7: Pulling fs layer [2022-05-10T14:50:57.612Z] 3096ccb668a1: Pulling fs layer [2022-05-10T14:50:57.612Z] e8cf19c19ddd: Pulling fs layer [2022-05-10T14:50:57.612Z] a4caa8a26152: Pulling fs layer [2022-05-10T14:50:57.612Z] 0c92f367c5e7: Waiting [2022-05-10T14:50:57.612Z] 3096ccb668a1: Waiting [2022-05-10T14:50:57.612Z] e8cf19c19ddd: Waiting [2022-05-10T14:50:57.612Z] a4caa8a26152: Waiting [2022-05-10T14:50:57.612Z] 94645a83ff95: Verifying Checksum [2022-05-10T14:50:57.612Z] 94645a83ff95: Download complete [2022-05-10T14:50:57.612Z] 1a89e8eeedd5: Verifying Checksum [2022-05-10T14:50:57.612Z] 1a89e8eeedd5: Download complete [2022-05-10T14:50:57.612Z] 0c92f367c5e7: Verifying Checksum [2022-05-10T14:50:57.612Z] 0c92f367c5e7: Download complete [2022-05-10T14:50:57.894Z] 3096ccb668a1: Verifying Checksum [2022-05-10T14:50:57.894Z] 3096ccb668a1: Download complete [2022-05-10T14:50:57.894Z] 9b3977197b4f: Verifying Checksum [2022-05-10T14:50:57.894Z] 9b3977197b4f: Download complete [2022-05-10T14:50:57.894Z] e8cf19c19ddd: Verifying Checksum [2022-05-10T14:50:57.894Z] e8cf19c19ddd: Download complete [2022-05-10T14:50:58.503Z] 9b3977197b4f: Pull complete [2022-05-10T14:50:59.108Z] 1a89e8eeedd5: Pull complete [2022-05-10T14:50:59.385Z] 94645a83ff95: Pull complete [2022-05-10T14:50:59.661Z] a4caa8a26152: Download complete [2022-05-10T14:51:00.647Z] 3f3a8bcf1eab: Verifying Checksum [2022-05-10T14:51:00.647Z] 3f3a8bcf1eab: Download complete [2022-05-10T14:51:13.071Z] 3f3a8bcf1eab: Pull complete [2022-05-10T14:51:13.071Z] 0c92f367c5e7: Pull complete [2022-05-10T14:51:13.071Z] 3096ccb668a1: Pull complete [2022-05-10T14:51:13.668Z] e8cf19c19ddd: Pull complete [2022-05-10T14:51:20.407Z] a4caa8a26152: Pull complete [2022-05-10T14:51:20.407Z] Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 [2022-05-10T14:51:20.407Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-05-10T14:51:20.407Z] ---> 725f1c02e7f9 [2022-05-10T14:51:20.407Z] Step 3/11 : ARG MAKE=make build [2022-05-10T14:51:21.396Z] ---> Running in 6f49b1208659 [2022-05-10T14:51:21.676Z] Removing intermediate container 6f49b1208659 [2022-05-10T14:51:21.676Z] ---> 2664c627f93e [2022-05-10T14:51:21.676Z] Step 4/11 : WORKDIR /device-sdk-go [2022-05-10T14:51:21.676Z] ---> Running in 856e0774dace [2022-05-10T14:51:21.949Z] Removing intermediate container 856e0774dace [2022-05-10T14:51:21.949Z] ---> 9387996433a4 [2022-05-10T14:51:21.949Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-05-10T14:51:21.949Z] ---> Running in b94e0aae9e34 [2022-05-10T14:51:22.238Z] Removing intermediate container b94e0aae9e34 [2022-05-10T14:51:22.238Z] ---> bd6526a2b3ab [2022-05-10T14:51:22.238Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-10T14:51:22.515Z] ---> Running in 9a9c40af5383 [2022-05-10T14:51:25.933Z] Removing intermediate container 9a9c40af5383 [2022-05-10T14:51:25.933Z] ---> 255196320f28 [2022-05-10T14:51:25.933Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-05-10T14:51:25.933Z] ---> Running in 4d96b39341d9 [2022-05-10T14:51:26.533Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-05-10T14:51:27.514Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-05-10T14:51:28.499Z] OK: 220 MiB in 52 packages [2022-05-10T14:51:29.098Z] Removing intermediate container 4d96b39341d9 [2022-05-10T14:51:29.099Z] ---> 05f4790034d3 [2022-05-10T14:51:29.099Z] Step 8/11 : COPY go.mod vendor* ./ [2022-05-10T14:51:29.704Z] ---> d7e3c7be155e [2022-05-10T14:51:29.704Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-10T14:51:29.704Z] ---> Running in 59b93ad6c734 [2022-05-10T14:52:16.710Z] Removing intermediate container 59b93ad6c734 [2022-05-10T14:52:16.710Z] ---> bfaee640a606 [2022-05-10T14:52:16.710Z] Step 10/11 : COPY . . [2022-05-10T14:52:16.710Z] ---> bcea0fa1a253 [2022-05-10T14:52:16.710Z] Step 11/11 : RUN ${MAKE} [2022-05-10T14:52:16.710Z] ---> Running in 87e6c297430e [2022-05-10T14:52:16.710Z] noop [2022-05-10T14:52:16.710Z] Removing intermediate container 87e6c297430e [2022-05-10T14:52:16.710Z] ---> 53f34fe7589c [2022-05-10T14:52:16.710Z] Successfully built 53f34fe7589c [2022-05-10T14:52:16.710Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-05-10T14:52:17.090Z] + docker inspect -f . ci-base-image-arm64 [2022-05-10T14:52:17.090Z] . [Pipeline] withDockerContainer [2022-05-10T14:52:17.366Z] prd-ubuntu20.04-docker-arm64-4c-16g-47773 does not seem to be running inside a container [2022-05-10T14:52:17.461Z] $ 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-10T14:52:18.830Z] $ docker top f7005d9ee94fc529338addbc5ec93516bb2f32f01d80ccc2d233cc9511aa8b60 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-10T14:52:19.778Z] + go version [2022-05-10T14:52:19.778Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-05-10T14:52:19.819Z] $ docker stop --time=1 f7005d9ee94fc529338addbc5ec93516bb2f32f01d80ccc2d233cc9511aa8b60 [2022-05-10T14:52:21.449Z] $ docker rm -f f7005d9ee94fc529338addbc5ec93516bb2f32f01d80ccc2d233cc9511aa8b60 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-10T14:52:22.334Z] + docker inspect -f . ci-base-image-arm64 [2022-05-10T14:52:22.334Z] . [Pipeline] withDockerContainer [2022-05-10T14:52:22.600Z] prd-ubuntu20.04-docker-arm64-4c-16g-47773 does not seem to be running inside a container [2022-05-10T14:52:22.699Z] $ 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-10T14:52:24.082Z] $ docker top 0d9e791aaf1a3dcd61f72be58558a0fc85d7915c68aec39e9dfe5f9513fb012a -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-05-10T14:52:25.136Z] + make test [2022-05-10T14:52:25.136Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-05-10T14:52:57.550Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-05-10T14:54:34.446Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-05-10T14:54:34.446Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-05-10T14:54:34.446Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-05-10T14:54:49.639Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.325s coverage: 23.3% of statements [2022-05-10T14:54:49.639Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-05-10T14:54:49.639Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.233s coverage: 27.6% of statements [2022-05-10T14:54:49.639Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.298s coverage: 78.9% of statements [2022-05-10T14:54:49.639Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.244s coverage: 10.8% of statements [2022-05-10T14:54:51.640Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.470s coverage: 60.0% of statements [2022-05-10T14:54:51.640Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-05-10T14:54:51.640Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-05-10T14:54:55.065Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.423s coverage: 34.8% of statements [2022-05-10T14:54:55.066Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-05-10T14:54:56.519Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.311s coverage: 86.5% of statements [2022-05-10T14:54:56.519Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-05-10T14:54:56.519Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-05-10T14:54:56.519Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.429s coverage: 65.1% of statements [2022-05-10T14:54:59.937Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.249s coverage: 89.2% of statements [2022-05-10T14:54:59.937Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-05-10T14:55:01.927Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.241s coverage: 4.7% of statements [2022-05-10T14:55:01.927Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-05-10T14:55:02.526Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-05-10T14:55:02.526Z] GO111MODULE=on go vet ./... [2022-05-10T14:56:39.448Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-05-10T14:56:39.448Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-05-10T14:56:39.448Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-05-10T14:56:39.486Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-05-10T14:56:39.520Z] $ docker stop --time=1 0d9e791aaf1a3dcd61f72be58558a0fc85d7915c68aec39e9dfe5f9513fb012a [2022-05-10T14:56:41.424Z] $ docker rm -f 0d9e791aaf1a3dcd61f72be58558a0fc85d7915c68aec39e9dfe5f9513fb012a [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-10T14:56:42.930Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-05-10T14:56:42.963Z] Warning: overwriting stash ‘coverage-report’ [2022-05-10T14:56:43.594Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-05-10T14:56:44.229Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-05-10T14:56:44.583Z] + ls -al . [2022-05-10T14:56:44.583Z] total 292 [2022-05-10T14:56:44.583Z] drwxrwxr-x 10 jenkins jenkins 4096 May 10 14:56 . [2022-05-10T14:56:44.583Z] drwxrwxr-x 4 jenkins jenkins 4096 May 10 14:50 .. [2022-05-10T14:56:44.583Z] -rw-rw-r-- 1 jenkins jenkins 140 May 10 14:50 .dockerignore [2022-05-10T14:56:44.583Z] drwxrwxr-x 8 jenkins jenkins 4096 May 10 14:50 .git [2022-05-10T14:56:44.583Z] drwxrwxr-x 2 jenkins jenkins 4096 May 10 14:50 .github [2022-05-10T14:56:44.583Z] -rw-rw-r-- 1 jenkins jenkins 131 May 10 14:50 .gitignore [2022-05-10T14:56:44.583Z] -rw-rw-r-- 1 jenkins jenkins 42 May 10 14:50 .golangci.yml [2022-05-10T14:56:44.583Z] -rw-rw-r-- 1 jenkins jenkins 26321 May 10 14:50 CHANGELOG.md [2022-05-10T14:56:44.583Z] -rw-rw-r-- 1 jenkins jenkins 677 May 10 14:50 GOVERNANCE.md [2022-05-10T14:56:44.583Z] -rw-rw-r-- 1 jenkins jenkins 880 May 10 14:50 Jenkinsfile [2022-05-10T14:56:44.583Z] -rw-rw-r-- 1 jenkins jenkins 11341 May 10 14:50 LICENSE [2022-05-10T14:56:44.583Z] -rw-rw-r-- 1 jenkins jenkins 2015 May 10 14:50 Makefile [2022-05-10T14:56:44.583Z] -rw-rw-r-- 1 jenkins jenkins 619 May 10 14:50 OWNERS.md [2022-05-10T14:56:44.583Z] -rw-rw-r-- 1 jenkins jenkins 4881 May 10 14:50 README.md [2022-05-10T14:56:44.583Z] -rw-rw-r-- 1 jenkins jenkins 5 May 10 14:46 VERSION [2022-05-10T14:56:44.583Z] drwxrwxr-x 2 jenkins jenkins 4096 May 10 14:50 bin [2022-05-10T14:56:44.583Z] -rw-r--r-- 1 jenkins jenkins 130739 May 10 14:55 coverage.out [2022-05-10T14:56:44.583Z] drwxrwxr-x 5 jenkins jenkins 4096 May 10 14:50 example [2022-05-10T14:56:44.583Z] -rw-rw-r-- 1 jenkins jenkins 3159 May 10 14:50 go.mod [2022-05-10T14:56:44.583Z] -rw-rw-r-- 1 jenkins jenkins 34529 May 10 14:50 go.sum [2022-05-10T14:56:44.583Z] drwxrwxr-x 15 jenkins jenkins 4096 May 10 14:50 internal [2022-05-10T14:56:44.583Z] drwxrwxr-x 3 jenkins jenkins 4096 May 10 14:50 openapi [2022-05-10T14:56:44.583Z] drwxrwxr-x 5 jenkins jenkins 4096 May 10 14:50 pkg [2022-05-10T14:56:44.583Z] drwxrwxr-x 4 jenkins jenkins 4096 May 10 14:50 snap [2022-05-10T14:56:44.583Z] -rw-rw-r-- 1 jenkins jenkins 222 May 10 14:50 version.go [Pipeline] isUnix [Pipeline] sh [2022-05-10T14:56:44.950Z] + 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=6e2217aa1a8b3508ce3f870e8bd5b28281c22161 --label arch=arm64 --label version=0.0.0 . [2022-05-10T14:56:45.556Z] Sending build context to Docker daemon 5.371MB [2022-05-10T14:56:45.556Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-05-10T14:56:45.556Z] Step 2/25 : FROM ${BASE} AS builder [2022-05-10T14:56:45.556Z] ---> 53f34fe7589c [2022-05-10T14:56:45.556Z] Step 3/25 : ARG MAKE=make build [2022-05-10T14:56:45.831Z] ---> Running in f68a66b9e22b [2022-05-10T14:56:46.104Z] Removing intermediate container f68a66b9e22b [2022-05-10T14:56:46.104Z] ---> b1ef8f7a5442 [2022-05-10T14:56:46.104Z] Step 4/25 : WORKDIR /device-sdk-go [2022-05-10T14:56:46.385Z] ---> Running in 8c7ae70b3f3e [2022-05-10T14:56:46.660Z] Removing intermediate container 8c7ae70b3f3e [2022-05-10T14:56:46.660Z] ---> 6babb17f397b [2022-05-10T14:56:46.660Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-05-10T14:56:46.660Z] ---> Running in 73196849919b [2022-05-10T14:56:47.262Z] Removing intermediate container 73196849919b [2022-05-10T14:56:47.262Z] ---> f0c95235de0c [2022-05-10T14:56:47.262Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-10T14:56:47.262Z] ---> Running in bc725fb26e3b [2022-05-10T14:56:49.247Z] Removing intermediate container bc725fb26e3b [2022-05-10T14:56:49.247Z] ---> d456b9aa50f8 [2022-05-10T14:56:49.247Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-05-10T14:56:49.247Z] ---> Running in 7ee37056c7b4 [2022-05-10T14:56:50.227Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-05-10T14:56:51.202Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-05-10T14:56:52.181Z] OK: 220 MiB in 52 packages [2022-05-10T14:56:53.169Z] Removing intermediate container 7ee37056c7b4 [2022-05-10T14:56:53.169Z] ---> 0fe7acdf9bc0 [2022-05-10T14:56:53.169Z] Step 8/25 : COPY go.mod vendor* ./ [2022-05-10T14:56:53.771Z] ---> 05fe0483749f [2022-05-10T14:56:53.771Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-10T14:56:53.771Z] ---> Running in ed628689b07c [2022-05-10T14:56:55.757Z] Removing intermediate container ed628689b07c [2022-05-10T14:56:55.757Z] ---> 22be03127f03 [2022-05-10T14:56:55.757Z] Step 10/25 : COPY . . [2022-05-10T14:56:57.204Z] ---> dcbb962091ff [2022-05-10T14:56:57.204Z] Step 11/25 : RUN ${MAKE} [2022-05-10T14:56:57.204Z] ---> Running in 002d6441ad46 [2022-05-10T14:56:58.644Z] 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-10T14:59:05.545Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-05-10T14:59:06.520Z] Removing intermediate container 002d6441ad46 [2022-05-10T14:59:06.520Z] ---> 5d17efe36c55 [2022-05-10T14:59:06.520Z] Step 12/25 : FROM alpine:3.14 [2022-05-10T14:59:07.114Z] 3.14: Pulling from library/alpine [2022-05-10T14:59:07.386Z] 455c02918c45: Pulling fs layer [2022-05-10T14:59:07.660Z] 455c02918c45: Verifying Checksum [2022-05-10T14:59:07.660Z] 455c02918c45: Download complete [2022-05-10T14:59:08.259Z] 455c02918c45: Pull complete [2022-05-10T14:59:08.259Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-05-10T14:59:08.259Z] Status: Downloaded newer image for alpine:3.14 [2022-05-10T14:59:08.259Z] ---> ac73e934f311 [2022-05-10T14:59:08.259Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-05-10T14:59:08.259Z] ---> Running in 1db73d5c6a5d [2022-05-10T14:59:08.532Z] Removing intermediate container 1db73d5c6a5d [2022-05-10T14:59:08.532Z] ---> d2e4018aa110 [2022-05-10T14:59:08.532Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-10T14:59:08.807Z] ---> Running in 4dc7a69b834a [2022-05-10T14:59:10.250Z] Removing intermediate container 4dc7a69b834a [2022-05-10T14:59:10.250Z] ---> d8eb077bbfc8 [2022-05-10T14:59:10.250Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-05-10T14:59:10.529Z] ---> Running in 94bbed092885 [2022-05-10T14:59:11.506Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-05-10T14:59:12.485Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-05-10T14:59:13.076Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2022-05-10T14:59:13.346Z] (2/5) Installing libsodium (1.0.18-r0) [2022-05-10T14:59:13.346Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2022-05-10T14:59:13.622Z] (4/5) Installing libzmq (4.3.4-r0) [2022-05-10T14:59:13.622Z] (5/5) Installing zeromq (4.3.4-r0) [2022-05-10T14:59:13.622Z] Executing busybox-1.33.1-r7.trigger [2022-05-10T14:59:13.622Z] OK: 8 MiB in 19 packages [2022-05-10T14:59:14.598Z] Removing intermediate container 94bbed092885 [2022-05-10T14:59:14.598Z] ---> 251f9b767cf3 [2022-05-10T14:59:14.598Z] Step 16/25 : WORKDIR / [2022-05-10T14:59:14.598Z] ---> Running in 8db9560c52a9 [2022-05-10T14:59:15.193Z] Removing intermediate container 8db9560c52a9 [2022-05-10T14:59:15.193Z] ---> b753ae774744 [2022-05-10T14:59:15.193Z] Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-05-10T14:59:15.471Z] ---> 9c7c60366571 [2022-05-10T14:59:15.471Z] Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-05-10T14:59:16.973Z] ---> e021748cf42b [2022-05-10T14:59:16.974Z] Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-05-10T14:59:18.001Z] ---> c1605f86bbcd [2022-05-10T14:59:18.001Z] Step 20/25 : EXPOSE 59999 [2022-05-10T14:59:18.001Z] ---> Running in 6680095c3480 [2022-05-10T14:59:18.280Z] Removing intermediate container 6680095c3480 [2022-05-10T14:59:18.281Z] ---> a88fb970f564 [2022-05-10T14:59:18.281Z] Step 21/25 : ENTRYPOINT ["/device-simple"] [2022-05-10T14:59:18.281Z] ---> Running in a42b5ea9a5e6 [2022-05-10T14:59:18.879Z] Removing intermediate container a42b5ea9a5e6 [2022-05-10T14:59:18.879Z] ---> f29ceb47657c [2022-05-10T14:59:18.879Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-05-10T14:59:18.879Z] ---> Running in 24320d369eb7 [2022-05-10T14:59:19.154Z] Removing intermediate container 24320d369eb7 [2022-05-10T14:59:19.155Z] ---> 9376f99e37d8 [2022-05-10T14:59:19.155Z] Step 23/25 : LABEL arch=arm64 [2022-05-10T14:59:19.155Z] ---> Running in 892ac4b5638b [2022-05-10T14:59:19.436Z] Removing intermediate container 892ac4b5638b [2022-05-10T14:59:19.436Z] ---> a8e822de13dd [2022-05-10T14:59:19.436Z] Step 24/25 : LABEL git_sha=6e2217aa1a8b3508ce3f870e8bd5b28281c22161 [2022-05-10T14:59:19.722Z] ---> Running in 124e356118e6 [2022-05-10T14:59:19.997Z] Removing intermediate container 124e356118e6 [2022-05-10T14:59:19.997Z] ---> 989656a235a3 [2022-05-10T14:59:19.997Z] Step 25/25 : LABEL version=0.0.0 [2022-05-10T14:59:19.997Z] ---> Running in 3cf084b1b3b5 [2022-05-10T14:59:20.607Z] Removing intermediate container 3cf084b1b3b5 [2022-05-10T14:59:20.607Z] ---> 1d8d567ceb8c [2022-05-10T14:59:20.607Z] [Warning] One or more build-args [ARCH] were not consumed [2022-05-10T14:59:20.607Z] Successfully built 1d8d567ceb8c [2022-05-10T14:59:20.607Z] 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-10T14:59:21.300Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-10T14:59:21.300Z] [2022-05-10T14:59:21.300Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-05-10T14:59:21.682Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-10T14:59:21.958Z] arm64: Pulling from edgex-lftools-log-publisher [2022-05-10T14:59:21.958Z] 8998bd30e6a1: Pulling fs layer [2022-05-10T14:59:21.958Z] 04944245beec: Pulling fs layer [2022-05-10T14:59:21.958Z] 699f458cf7ca: Pulling fs layer [2022-05-10T14:59:21.958Z] 765212b225bb: Pulling fs layer [2022-05-10T14:59:21.958Z] f23df028b6ca: Pulling fs layer [2022-05-10T14:59:21.958Z] d65c8cfc05b1: Pulling fs layer [2022-05-10T14:59:21.958Z] 2437ff75d9bd: Pulling fs layer [2022-05-10T14:59:21.958Z] 765212b225bb: Waiting [2022-05-10T14:59:21.958Z] f23df028b6ca: Waiting [2022-05-10T14:59:21.958Z] d65c8cfc05b1: Waiting [2022-05-10T14:59:21.958Z] 2437ff75d9bd: Waiting [2022-05-10T14:59:21.958Z] 04944245beec: Verifying Checksum [2022-05-10T14:59:21.958Z] 04944245beec: Download complete [2022-05-10T14:59:21.958Z] 765212b225bb: Verifying Checksum [2022-05-10T14:59:21.958Z] 765212b225bb: Download complete [2022-05-10T14:59:21.958Z] f23df028b6ca: Verifying Checksum [2022-05-10T14:59:21.958Z] f23df028b6ca: Download complete [2022-05-10T14:59:21.958Z] d65c8cfc05b1: Verifying Checksum [2022-05-10T14:59:21.958Z] d65c8cfc05b1: Download complete [2022-05-10T14:59:22.234Z] 699f458cf7ca: Verifying Checksum [2022-05-10T14:59:22.234Z] 699f458cf7ca: Download complete [2022-05-10T14:59:22.507Z] 8998bd30e6a1: Verifying Checksum [2022-05-10T14:59:22.507Z] 8998bd30e6a1: Download complete [2022-05-10T14:59:25.136Z] 2437ff75d9bd: Verifying Checksum [2022-05-10T14:59:25.136Z] 2437ff75d9bd: Download complete [2022-05-10T14:59:27.128Z] 8998bd30e6a1: Pull complete [2022-05-10T14:59:27.739Z] 04944245beec: Pull complete [2022-05-10T14:59:29.174Z] 699f458cf7ca: Pull complete [2022-05-10T14:59:29.447Z] 765212b225bb: Pull complete [2022-05-10T14:59:30.426Z] f23df028b6ca: Pull complete [2022-05-10T14:59:30.426Z] d65c8cfc05b1: Pull complete [2022-05-10T14:59:48.738Z] 2437ff75d9bd: Pull complete [2022-05-10T14:59:48.738Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-05-10T14:59:48.738Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-10T14:59:48.738Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-05-10T14:59:49.011Z] prd-ubuntu20.04-docker-arm64-4c-16g-47773 does not seem to be running inside a container [2022-05-10T14:59:49.105Z] $ 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-10T14:59:52.025Z] $ docker top cde72afeeccd85b5be7fd85aac55b7b9f456e5bed9b2ac6714afdfc357b653d8 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-10T14:59:53.015Z] ---> job-cost.sh [2022-05-10T14:59:53.015Z] lf-activate-venv: SKIPPING [2022-05-10T14:59:53.015Z] INFO: No Stack... [2022-05-10T14:59:53.626Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-05-10T14:59:54.607Z] INFO: Archiving Costs [Pipeline] sh [2022-05-10T14:59:55.296Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2022-05-10T14:59:55.296Z] + cut -d, -f6 [Pipeline] lock [2022-05-10T14:59:55.391Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1161-1-stack-cost] [2022-05-10T14:59:55.395Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1161-1-stack-cost] did not exist. Created. [2022-05-10T14:59:55.395Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1161-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-05-10T14:59:56.139Z] /w/workspace/device-sdk-go/1@tmp/durable-410148d4/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-05-10T14:59:56.847Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-05-10T14:59:56.883Z] Warning: overwriting stash ‘stack-cost’ [2022-05-10T14:59:56.958Z] Stashed 1 file(s) [Pipeline] } [2022-05-10T14:59:56.973Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1161-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-05-10T14:59:57.061Z] $ docker stop --time=1 cde72afeeccd85b5be7fd85aac55b7b9f456e5bed9b2ac6714afdfc357b653d8 [2022-05-10T14:59:58.685Z] $ docker rm -f cde72afeeccd85b5be7fd85aac55b7b9f456e5bed9b2ac6714afdfc357b653d8 [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-10T14:59:59.767Z] provisioning config files... [2022-05-10T14:59:59.776Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1161@tmp/config6360311865979547973tmp [Pipeline] { [Pipeline] sh [2022-05-10T15:00:00.110Z] + set +x [2022-05-10T15:00:00.110Z] + curl -s https://codecov.io/bash [2022-05-10T15:00:00.110Z] + bash -s -- [2022-05-10T15:00:00.110Z] [2022-05-10T15:00:00.110Z] _____ _ [2022-05-10T15:00:00.110Z] / ____| | | [2022-05-10T15:00:00.110Z] | | ___ __| | ___ ___ _____ __ [2022-05-10T15:00:00.110Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-05-10T15:00:00.110Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-05-10T15:00:00.110Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-05-10T15:00:00.110Z] Bash-1.0.6 [2022-05-10T15:00:00.110Z] [2022-05-10T15:00:00.110Z] [2022-05-10T15:00:00.110Z] ==> git version 2.25.1 found [2022-05-10T15:00:00.110Z] ==> 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-10T15:00:00.110Z] Release-Date: 2020-01-08 [2022-05-10T15:00:00.110Z] 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-10T15:00:00.110Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-05-10T15:00:00.110Z] ==> Jenkins CI detected. [2022-05-10T15:00:00.110Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1161 [2022-05-10T15:00:00.110Z] project root: . [2022-05-10T15:00:00.110Z] --> token set from env [2022-05-10T15:00:00.110Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-05-10T15:00:00.111Z] ==> Running gcov in . (disable via -X gcov) [2022-05-10T15:00:00.111Z] ==> Python coveragepy not found [2022-05-10T15:00:00.111Z] ==> Searching for coverage reports in: [2022-05-10T15:00:00.111Z] + . [2022-05-10T15:00:00.111Z] -> Found 1 reports [2022-05-10T15:00:00.111Z] ==> Detecting git/mercurial file structure [2022-05-10T15:00:00.111Z] ==> Reading reports [2022-05-10T15:00:00.374Z] + ./coverage.out bytes=130739 [2022-05-10T15:00:00.374Z] ==> Appending adjustments [2022-05-10T15:00:00.374Z] https://docs.codecov.io/docs/fixing-reports [2022-05-10T15:00:00.635Z] + Found adjustments [2022-05-10T15:00:00.635Z] ==> Gzipping contents [2022-05-10T15:00:00.635Z] 20K /tmp/codecov.l6M5kb.gz [2022-05-10T15:00:00.635Z] ==> Uploading reports [2022-05-10T15:00:00.635Z] url: https://codecov.io [2022-05-10T15:00:00.635Z] query: branch=PR-1161&commit=6e2217aa1a8b3508ce3f870e8bd5b28281c22161&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1161%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1161&job=&cmd_args= [2022-05-10T15:00:00.635Z] -> Pinging Codecov [2022-05-10T15:00:00.635Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1161&commit=6e2217aa1a8b3508ce3f870e8bd5b28281c22161&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1161%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1161&job=&cmd_args= [2022-05-10T15:00:00.896Z] -> Uploading to [2022-05-10T15:00:00.896Z] https://storage.googleapis.com/codecov/v4/raw/2022-05-10/7E55EF52A471D76F132DFD9A03CDDE97/6e2217aa1a8b3508ce3f870e8bd5b28281c22161/d0c1271d-e1a4-4a24-90b6-02112e52f571.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220510%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220510T150000Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=a7b0ae9dde41edf6b3c0c65ae4e81137e8aa756811fcee54a44b82b05d68c2cc [2022-05-10T15:00:00.896Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-05-10T15:00:00.896Z] Dload Upload Total Spent Left Speed [2022-05-10T15:00:00.896Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16828 0 0 100 16828 0 78269 --:--:-- --:--:-- --:--:-- 78269 [2022-05-10T15:00:00.896Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/6e2217aa1a8b3508ce3f870e8bd5b28281c22161 [Pipeline] } [2022-05-10T15:00:00.921Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2022-05-10T15:00:02.735Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1161/archives ] [2022-05-10T15:00:02.735Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1161/archives [2022-05-10T15:00:02.735Z] total 16 [2022-05-10T15:00:02.735Z] drwxr-xr-x 3 root root 4096 May 10 14:48 . [2022-05-10T15:00:02.735Z] drwxrwxr-x 12 jenkins jenkins 4096 May 10 14:48 .. [2022-05-10T15:00:02.735Z] drwxr-xr-x 2 root root 4096 May 10 14:48 cost [2022-05-10T15:00:02.735Z] -rw-r--r-- 1 root root 85 May 10 14:48 cost.csv [2022-05-10T15:00:02.735Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1161/archives [2022-05-10T15:00:02.735Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1161/archives [2022-05-10T15:00:02.735Z] total 16 [2022-05-10T15:00:02.735Z] drwxr-xr-x 3 jenkins jenkins 4096 May 10 14:48 . [2022-05-10T15:00:02.735Z] drwxrwxr-x 12 jenkins jenkins 4096 May 10 14:48 .. [2022-05-10T15:00:02.735Z] drwxr-xr-x 2 jenkins jenkins 4096 May 10 14:48 cost [2022-05-10T15:00:02.735Z] -rw-r--r-- 1 jenkins jenkins 85 May 10 14:48 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-05-10T15:00:03.068Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-10T15:00:03.964Z] ---> package-listing.sh [2022-05-10T15:00:03.965Z] ++ facter osfamily [2022-05-10T15:00:03.965Z] ++ tr '[:upper:]' '[:lower:]' [2022-05-10T15:00:04.228Z] + OS_FAMILY=debian [2022-05-10T15:00:04.228Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1161 [2022-05-10T15:00:04.228Z] + START_PACKAGES=/tmp/packages_start.txt [2022-05-10T15:00:04.228Z] + END_PACKAGES=/tmp/packages_end.txt [2022-05-10T15:00:04.228Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-05-10T15:00:04.228Z] + PACKAGES=/tmp/packages_start.txt [2022-05-10T15:00:04.228Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1161 ']' [2022-05-10T15:00:04.228Z] + PACKAGES=/tmp/packages_end.txt [2022-05-10T15:00:04.228Z] + case "${OS_FAMILY}" in [2022-05-10T15:00:04.228Z] + dpkg -l [2022-05-10T15:00:04.228Z] + grep '^ii' [2022-05-10T15:00:04.228Z] + '[' -f /tmp/packages_start.txt ']' [2022-05-10T15:00:04.228Z] + '[' -f /tmp/packages_end.txt ']' [2022-05-10T15:00:04.228Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-05-10T15:00:04.228Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1161 ']' [2022-05-10T15:00:04.228Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1161/archives/ [2022-05-10T15:00:04.228Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1161/archives/ [Pipeline] echo [2022-05-10T15:00:04.264Z] 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-1161/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-05-10T15:00:04.560Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-05-10T15:00:05.142Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-10T15:00:05.142Z] . [Pipeline] withDockerContainer [2022-05-10T15:00:05.232Z] prd-ubuntu20.04-docker-8c-8g-47772 does not seem to be running inside a container [2022-05-10T15:00:05.282Z] $ 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-1161/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-1161 -v /w/workspace/gexfoundry_device-sdk-go_PR-1161:/w/workspace/gexfoundry_device-sdk-go_PR-1161:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1161@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1161@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-05-10T15:00:05.528Z] $ docker top 4ff3803795bee62351a27d6b8ec42f1241cbed3f37223c21936d0ec669b09474 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-10T15:00:05.921Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-05-10T15:00:06.237Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-05-10T15:00:06.595Z] + ls /var/log/sa-host [2022-05-10T15:00:06.595Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-10T15:00:06.905Z] provisioning config files... [2022-05-10T15:00:06.915Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1161@tmp/config3197537789289551085tmp [Pipeline] { [Pipeline] echo [2022-05-10T15:00:06.965Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-10T15:00:07.280Z] ---> create-netrc.sh [Pipeline] } [2022-05-10T15:00:07.308Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-05-10T15:00:07.769Z] ---> python-tools-install.sh [Pipeline] echo [2022-05-10T15:00:07.800Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-10T15:00:08.119Z] ---> sudo-logs.sh [2022-05-10T15:00:08.119Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-05-10T15:00:08.202Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-10T15:00:08.526Z] ---> job-cost.sh [2022-05-10T15:00:08.526Z] lf-activate-venv: SKIPPING [2022-05-10T15:00:08.526Z] DEBUG: total: 0.2199999988079071 [2022-05-10T15:00:08.526Z] INFO: Retrieving Stack Cost... [2022-05-10T15:00:08.788Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-05-10T15:00:09.362Z] INFO: Archiving Costs [Pipeline] echo [2022-05-10T15:00:09.405Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-10T15:00:09.728Z] ---> logs-deploy.sh [2022-05-10T15:00:09.728Z] lf-activate-venv: SKIPPING [2022-05-10T15:00:09.728Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1161/1 [2022-05-10T15:00:09.728Z] INFO: archiving workspace using pattern(s): [2022-05-10T15:00:10.670Z] Archives upload complete. [2022-05-10T15:00:10.670Z] INFO: archiving logs to Nexus