Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 7951b8c72b787c8c13599feadf581ebd8b475afa+4f64ab83298cb604fe88218673904389f4010661 (fed8c5160b7b45f3bfccc5ed58044103c30df04f) 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-ssh14282821283411255418.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 95c76d14630896f3c9cf825147e1b1e2bad20cbb Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh2487715604502648519.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 95c76d14630896f3c9cf825147e1b1e2bad20cbb The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1144/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > 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 > 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-1144/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh5715509656239373494.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 95c76d14630896f3c9cf825147e1b1e2bad20cbb (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 95c76d14630896f3c9cf825147e1b1e2bad20cbb # timeout=10 Commit message: "Merge pull request #387 from ernestojeda/disable-concurrent-builds" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 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-ssh6206938107741363275.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1144/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags 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-1144/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh17228292620686547641.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 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 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-62256 in /w/workspace/gexfoundry_device-sdk-go_PR-1144 [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-1144 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 4f64ab83298cb604fe88218673904389f4010661 into PR head commit 7951b8c72b787c8c13599feadf581ebd8b475afa Merge succeeded, producing 020e459d46674262bfd9b381d5c936c9acda85fe Checking out Revision 020e459d46674262bfd9b381d5c936c9acda85fe (PR-1144) > 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/1144/head:refs/remotes/origin/PR-1144 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7951b8c72b787c8c13599feadf581ebd8b475afa # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 4f64ab83298cb604fe88218673904389f4010661 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 020e459d46674262bfd9b381d5c936c9acda85fe # timeout=10 Commit message: "Merge commit '4f64ab83298cb604fe88218673904389f4010661' into HEAD" > git rev-list --no-walk 7951b8c72b787c8c13599feadf581ebd8b475afa # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-05-10T23:43:50.847Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-05-10T23:43:50.915Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-05-10T23:43:50.934Z] ========================================================= [2022-05-10T23:43:50.934Z] EdgeX Global Pipelines Version Info [2022-05-10T23:43:50.934Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-05-10T23:43:51.690Z] ------------------- [2022-05-10T23:43:51.690Z] stable info: [2022-05-10T23:43:51.690Z] ------------------- [2022-05-10T23:43:51.690Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-05-10T23:43:51.690Z] Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb [2022-05-10T23:43:51.690Z] Message: update stable to v1.0.230 [2022-05-10T23:43:52.266Z] ------------------- [2022-05-10T23:43:52.266Z] experimental info: [2022-05-10T23:43:52.266Z] ------------------- [2022-05-10T23:43:52.266Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-05-10T23:43:52.266Z] Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb [2022-05-10T23:43:52.266Z] Message: update experimental to v1.0.230 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-05-10T23:43:52.412Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2022-05-10T23:43:52.430Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2022-05-10T23:43:52.448Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-05-10T23:43:52.465Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-05-10T23:43:52.480Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-05-10T23:43:52.494Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-05-10T23:43:52.510Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-05-10T23:43:52.524Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2022-05-10T23:43:52.540Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-05-10T23:43:52.556Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-05-10T23:43:52.569Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-05-10T23:43:52.585Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2022-05-10T23:43:52.599Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-05-10T23:43:52.613Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-05-10T23:43:52.635Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-05-10T23:43:52.649Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2022-05-10T23:43:52.665Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-05-10T23:43:52.679Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-05-10T23:43:52.693Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-05-10T23:43:52.707Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-05-10T23:43:52.720Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-05-10T23:43:52.732Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2022-05-10T23:43:52.748Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-05-10T23:43:52.763Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-05-10T23:43:52.777Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-05-10T23:43:52.791Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-05-10T23:43:52.805Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1144 [Pipeline] echo [2022-05-10T23:43:52.892Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1144 [Pipeline] echo [2022-05-10T23:43:52.908Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1144 [Pipeline] echo [2022-05-10T23:43:52.921Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 020e459d46674262bfd9b381d5c936c9acda85fe [Pipeline] echo [2022-05-10T23:43:52.933Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 020e459 [Pipeline] echo [2022-05-10T23:43:52.945Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-10T23:43:52.989Z] provisioning config files... [2022-05-10T23:43:53.006Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1144@tmp/config715046860274016411tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-10T23:43:53.354Z] ---> docker-login.sh [2022-05-10T23:43:53.354Z] nexus3.edgexfoundry.org:10001 [2022-05-10T23:43:53.616Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T23:43:53.616Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T23:43:53.616Z] Configure a credential helper to remove this warning. See [2022-05-10T23:43:53.616Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T23:43:53.616Z] [2022-05-10T23:43:53.616Z] Login Succeeded [2022-05-10T23:43:53.616Z] nexus3.edgexfoundry.org:10002 [2022-05-10T23:43:53.882Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T23:43:53.882Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T23:43:53.882Z] Configure a credential helper to remove this warning. See [2022-05-10T23:43:53.882Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T23:43:53.882Z] [2022-05-10T23:43:53.882Z] Login Succeeded [2022-05-10T23:43:53.882Z] nexus3.edgexfoundry.org:10003 [2022-05-10T23:43:53.882Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T23:43:53.882Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T23:43:53.882Z] Configure a credential helper to remove this warning. See [2022-05-10T23:43:53.882Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T23:43:53.882Z] [2022-05-10T23:43:53.882Z] Login Succeeded [2022-05-10T23:43:53.882Z] nexus3.edgexfoundry.org:10004 [2022-05-10T23:43:54.146Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T23:43:54.146Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T23:43:54.146Z] Configure a credential helper to remove this warning. See [2022-05-10T23:43:54.146Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T23:43:54.146Z] [2022-05-10T23:43:54.146Z] Login Succeeded [2022-05-10T23:43:54.146Z] docker.io [2022-05-10T23:43:54.146Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T23:43:54.721Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T23:43:54.721Z] Configure a credential helper to remove this warning. See [2022-05-10T23:43:54.721Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T23:43:54.721Z] [2022-05-10T23:43:54.721Z] Login Succeeded [2022-05-10T23:43:54.721Z] ---> docker-login.sh ends [Pipeline] } [2022-05-10T23:43:54.730Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-05-10T23:43:55.127Z] + git rev-list -1 --merges 020e459d46674262bfd9b381d5c936c9acda85fe~1..020e459d46674262bfd9b381d5c936c9acda85fe [Pipeline] echo [2022-05-10T23:43:55.241Z] -----------> git rev-list -1 --merges 020e459d46674262bfd9b381d5c936c9acda85fe~1..020e459d46674262bfd9b381d5c936c9acda85fe 020e459d46674262bfd9b381d5c936c9acda85fe [2022-05-10T23:43:55.241Z] 020e459d46674262bfd9b381d5c936c9acda85fe [false] [Pipeline] sh [2022-05-10T23:43:55.536Z] + git log --format=format:%s -1 020e459d46674262bfd9b381d5c936c9acda85fe [Pipeline] echo [2022-05-10T23:43:55.553Z] ========================================================= [2022-05-10T23:43:55.553Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-05-10T23:43:55.553Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-05-10T23:43:55.899Z] + git log --format=format:%s -1 020e459d46674262bfd9b381d5c936c9acda85fe [Pipeline] echo [2022-05-10T23:43:55.913Z] [semverPrep] GIT_COMMIT: 020e459d46674262bfd9b381d5c936c9acda85fe, Commit Message: Merge commit '4f64ab83298cb604fe88218673904389f4010661' into HEAD [Pipeline] echo [2022-05-10T23:43:55.927Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-05-10T23:43:56.570Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-05-10T23:43:56.570Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-05-10T23:43:56.570Z] + [ -e /tmp/ssh_known_hosts ] [2022-05-10T23:43:56.570Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-05-10T23:43:56.570Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-05-10T23:43:56.570Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-05-10T23:43:56.570Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-05-10T23:43:56.926Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-10T23:43:56.926Z] [2022-05-10T23:43:56.926Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-05-10T23:43:57.231Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-10T23:43:57.231Z] latest: Pulling from edgex-devops/py-git-semver [2022-05-10T23:43:57.231Z] 1fe172e4850f: Pulling fs layer [2022-05-10T23:43:57.231Z] caf521ccaac6: Pulling fs layer [2022-05-10T23:43:57.231Z] 3ead6fa29328: Pulling fs layer [2022-05-10T23:43:57.231Z] 5c2a1cbceb83: Pulling fs layer [2022-05-10T23:43:57.231Z] a8d5f1318db7: Pulling fs layer [2022-05-10T23:43:57.231Z] c427282e49a2: Pulling fs layer [2022-05-10T23:43:57.231Z] 1827001aaf11: Pulling fs layer [2022-05-10T23:43:57.231Z] 0714d37db230: Pulling fs layer [2022-05-10T23:43:57.231Z] ac28cf19c067: Pulling fs layer [2022-05-10T23:43:57.231Z] ca983d60f3e2: Pulling fs layer [2022-05-10T23:43:57.231Z] 9f894cec8388: Pulling fs layer [2022-05-10T23:43:57.231Z] ca983d60f3e2: Waiting [2022-05-10T23:43:57.231Z] 9f894cec8388: Waiting [2022-05-10T23:43:57.231Z] 0714d37db230: Waiting [2022-05-10T23:43:57.231Z] ac28cf19c067: Waiting [2022-05-10T23:43:57.231Z] a8d5f1318db7: Waiting [2022-05-10T23:43:57.231Z] c427282e49a2: Waiting [2022-05-10T23:43:57.231Z] caf521ccaac6: Verifying Checksum [2022-05-10T23:43:57.231Z] caf521ccaac6: Download complete [2022-05-10T23:43:57.231Z] 5c2a1cbceb83: Download complete [2022-05-10T23:43:57.494Z] a8d5f1318db7: Verifying Checksum [2022-05-10T23:43:57.494Z] a8d5f1318db7: Download complete [2022-05-10T23:43:57.494Z] c427282e49a2: Verifying Checksum [2022-05-10T23:43:57.494Z] c427282e49a2: Download complete [2022-05-10T23:43:57.494Z] 3ead6fa29328: Verifying Checksum [2022-05-10T23:43:57.494Z] 3ead6fa29328: Download complete [2022-05-10T23:43:57.494Z] 0714d37db230: Verifying Checksum [2022-05-10T23:43:57.494Z] 0714d37db230: Download complete [2022-05-10T23:43:57.494Z] ac28cf19c067: Verifying Checksum [2022-05-10T23:43:57.494Z] ac28cf19c067: Download complete [2022-05-10T23:43:57.494Z] ca983d60f3e2: Verifying Checksum [2022-05-10T23:43:57.494Z] ca983d60f3e2: Download complete [2022-05-10T23:43:57.494Z] 9f894cec8388: Verifying Checksum [2022-05-10T23:43:57.494Z] 9f894cec8388: Download complete [2022-05-10T23:43:57.494Z] 1fe172e4850f: Verifying Checksum [2022-05-10T23:43:57.494Z] 1fe172e4850f: Download complete [2022-05-10T23:43:57.758Z] 1827001aaf11: Verifying Checksum [2022-05-10T23:43:57.758Z] 1827001aaf11: Download complete [2022-05-10T23:43:59.138Z] 1fe172e4850f: Pull complete [2022-05-10T23:43:59.138Z] caf521ccaac6: Pull complete [2022-05-10T23:43:59.708Z] 3ead6fa29328: Pull complete [2022-05-10T23:43:59.708Z] 5c2a1cbceb83: Pull complete [2022-05-10T23:43:59.970Z] a8d5f1318db7: Pull complete [2022-05-10T23:44:00.228Z] c427282e49a2: Pull complete [2022-05-10T23:44:02.138Z] 1827001aaf11: Pull complete [2022-05-10T23:44:02.138Z] 0714d37db230: Pull complete [2022-05-10T23:44:02.400Z] ac28cf19c067: Pull complete [2022-05-10T23:44:02.400Z] ca983d60f3e2: Pull complete [2022-05-10T23:44:02.660Z] 9f894cec8388: Pull complete [2022-05-10T23:44:02.660Z] Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee [2022-05-10T23:44:02.660Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-10T23:44:02.660Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] withDockerContainer [2022-05-10T23:44:02.744Z] prd-ubuntu20.04-docker-8c-8g-62256 does not seem to be running inside a container [2022-05-10T23:44:02.785Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1144 -v /w/workspace/gexfoundry_device-sdk-go_PR-1144:/w/workspace/gexfoundry_device-sdk-go_PR-1144:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1144@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1144@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-10T23:44:04.953Z] $ docker top e6b49b8900e12c9c0a7970facdd68cd296e03e68828e9a85d871c4454c0d4c51 -eo pid,comm [2022-05-10T23:44:05.020Z] 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-10T23:44:05.020Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-05-10T23:44:05.058Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-10T23:44:05.058Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-10T23:44:05.186Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-10T23:44:05.192Z] $ docker exec e6b49b8900e12c9c0a7970facdd68cd296e03e68828e9a85d871c4454c0d4c51 ssh-agent [2022-05-10T23:44:05.326Z] SSH_AUTH_SOCK=/tmp/ssh-yXzLQDgK9i1m/agent.32 [2022-05-10T23:44:05.326Z] SSH_AGENT_PID=39 [2022-05-10T23:44:05.335Z] Running ssh-add (command line suppressed) [2022-05-10T23:44:05.469Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1144@tmp/private_key_3922026715437714315.key (/w/workspace/gexfoundry_device-sdk-go_PR-1144@tmp/private_key_3922026715437714315.key) [2022-05-10T23:44:05.484Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-10T23:44:05.777Z] + git tag --points-at HEAD [Pipeline] } [2022-05-10T23:44:05.798Z] $ docker exec --env ******** --env ******** e6b49b8900e12c9c0a7970facdd68cd296e03e68828e9a85d871c4454c0d4c51 ssh-agent -k [2022-05-10T23:44:05.915Z] unset SSH_AUTH_SOCK; [2022-05-10T23:44:05.915Z] unset SSH_AGENT_PID; [2022-05-10T23:44:05.916Z] echo Agent pid 39 killed; [2022-05-10T23:44:05.929Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-05-10T23:44:05.952Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-10T23:44:05.952Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-10T23:44:06.076Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-10T23:44:06.081Z] $ docker exec e6b49b8900e12c9c0a7970facdd68cd296e03e68828e9a85d871c4454c0d4c51 ssh-agent [2022-05-10T23:44:06.203Z] SSH_AUTH_SOCK=/tmp/ssh-11YCAlL3I6xi/agent.75 [2022-05-10T23:44:06.203Z] SSH_AGENT_PID=81 [2022-05-10T23:44:06.208Z] Running ssh-add (command line suppressed) [2022-05-10T23:44:06.347Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1144@tmp/private_key_3578907927107536038.key (/w/workspace/gexfoundry_device-sdk-go_PR-1144@tmp/private_key_3578907927107536038.key) [2022-05-10T23:44:06.361Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-10T23:44:06.653Z] + git semver init [2022-05-10T23:44:06.913Z] 2022-05-10 23:44:06,842 [run_init] DEBUG init version:0.0.0 force:False [2022-05-10T23:44:06.913Z] 2022-05-10 23:44:06,843 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1144/.semver [2022-05-10T23:44:06.913Z] 2022-05-10 23:44:06,843 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1144/.semver [2022-05-10T23:44:06.913Z] 2022-05-10 23:44:06,844 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1144/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1144, universal_newlines=False, shell=None, istream=None) [2022-05-10T23:44:07.861Z] 2022-05-10 23:44:07,774 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1144/.git/info/exclude [2022-05-10T23:44:07.861Z] 2022-05-10 23:44:07,775 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1144/.semver/PR-1144 with force:False [2022-05-10T23:44:07.861Z] 2022-05-10 23:44:07,775 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1144/.semver/PR-1144 [2022-05-10T23:44:07.861Z] 2022-05-10 23:44:07,780 [execute] INFO git cat-file --batch-check [2022-05-10T23:44:07.861Z] 2022-05-10 23:44:07,780 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1144/.semver, universal_newlines=False, shell=None, istream=) [2022-05-10T23:44:07.861Z] 2022-05-10 23:44:07,787 [execute] INFO git cat-file --batch [2022-05-10T23:44:07.861Z] 2022-05-10 23:44:07,787 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1144/.semver, universal_newlines=False, shell=None, istream=) [2022-05-10T23:44:07.861Z] 2022-05-10 23:44:07,792 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1144/.semver/PR-1144 [2022-05-10T23:44:07.861Z] 0.0.0 [Pipeline] } [2022-05-10T23:44:07.874Z] $ docker exec --env ******** --env ******** e6b49b8900e12c9c0a7970facdd68cd296e03e68828e9a85d871c4454c0d4c51 ssh-agent -k [2022-05-10T23:44:08.016Z] unset SSH_AUTH_SOCK; [2022-05-10T23:44:08.016Z] unset SSH_AGENT_PID; [2022-05-10T23:44:08.016Z] echo Agent pid 81 killed; [2022-05-10T23:44:08.025Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-05-10T23:44:08.338Z] + git semver [Pipeline] } [2022-05-10T23:44:08.616Z] $ docker stop --time=1 e6b49b8900e12c9c0a7970facdd68cd296e03e68828e9a85d871c4454c0d4c51 [2022-05-10T23:44:09.988Z] $ docker rm -f e6b49b8900e12c9c0a7970facdd68cd296e03e68828e9a85d871c4454c0d4c51 [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-10T23:44:10.352Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-05-10T23:44:10.631Z] Stashed 1 file(s) [Pipeline] echo [2022-05-10T23:44:10.633Z] [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-10T23:44:10.781Z] provisioning config files... [2022-05-10T23:44:10.791Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1144@tmp/config5719832797503533064tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-10T23:44:11.096Z] ---> docker-login.sh [2022-05-10T23:44:11.096Z] nexus3.edgexfoundry.org:10001 [2022-05-10T23:44:11.096Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T23:44:11.096Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T23:44:11.096Z] Configure a credential helper to remove this warning. See [2022-05-10T23:44:11.096Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T23:44:11.096Z] [2022-05-10T23:44:11.096Z] Login Succeeded [2022-05-10T23:44:11.096Z] nexus3.edgexfoundry.org:10002 [2022-05-10T23:44:11.096Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T23:44:11.354Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T23:44:11.354Z] Configure a credential helper to remove this warning. See [2022-05-10T23:44:11.354Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T23:44:11.354Z] [2022-05-10T23:44:11.354Z] Login Succeeded [2022-05-10T23:44:11.354Z] nexus3.edgexfoundry.org:10003 [2022-05-10T23:44:11.354Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T23:44:11.354Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T23:44:11.354Z] Configure a credential helper to remove this warning. See [2022-05-10T23:44:11.354Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T23:44:11.354Z] [2022-05-10T23:44:11.354Z] Login Succeeded [2022-05-10T23:44:11.354Z] nexus3.edgexfoundry.org:10004 [2022-05-10T23:44:11.615Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T23:44:11.615Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T23:44:11.615Z] Configure a credential helper to remove this warning. See [2022-05-10T23:44:11.615Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T23:44:11.615Z] [2022-05-10T23:44:11.615Z] Login Succeeded [2022-05-10T23:44:11.615Z] docker.io [2022-05-10T23:44:11.615Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T23:44:11.876Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T23:44:11.876Z] Configure a credential helper to remove this warning. See [2022-05-10T23:44:11.876Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T23:44:11.876Z] [2022-05-10T23:44:11.876Z] Login Succeeded [2022-05-10T23:44:11.876Z] ---> docker-login.sh ends [Pipeline] } [2022-05-10T23:44:11.886Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-05-10T23:44:11.961Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-05-10T23:44:11.973Z] ========================================================= [2022-05-10T23:44:11.973Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-05-10T23:44:11.973Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-05-10T23:44:12.281Z] + 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-10T23:44:12.281Z] Sending build context to Docker daemon 9.75MB [2022-05-10T23:44:12.282Z] Step 1/11 : ARG BASE=golang:1.17-alpine3.15 [2022-05-10T23:44:12.282Z] Step 2/11 : FROM ${BASE} AS builder [2022-05-10T23:44:12.282Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-05-10T23:44:12.282Z] 59bf1c3509f3: Pulling fs layer [2022-05-10T23:44:12.282Z] 666ba61612fd: Pulling fs layer [2022-05-10T23:44:12.282Z] 8ed8ca486205: Pulling fs layer [2022-05-10T23:44:12.282Z] 4fe6c5a15a65: Pulling fs layer [2022-05-10T23:44:12.282Z] 22a0e8bec74d: Pulling fs layer [2022-05-10T23:44:12.282Z] ca2b28591e48: Pulling fs layer [2022-05-10T23:44:12.282Z] a51346096db8: Pulling fs layer [2022-05-10T23:44:12.282Z] daebc70d1ce1: Pulling fs layer [2022-05-10T23:44:12.282Z] 0e18a0eac166: Pulling fs layer [2022-05-10T23:44:12.282Z] ca2b28591e48: Waiting [2022-05-10T23:44:12.282Z] daebc70d1ce1: Waiting [2022-05-10T23:44:12.282Z] a51346096db8: Waiting [2022-05-10T23:44:12.282Z] 0e18a0eac166: Waiting [2022-05-10T23:44:12.282Z] 4fe6c5a15a65: Waiting [2022-05-10T23:44:12.282Z] 22a0e8bec74d: Waiting [2022-05-10T23:44:12.542Z] 8ed8ca486205: Verifying Checksum [2022-05-10T23:44:12.542Z] 8ed8ca486205: Download complete [2022-05-10T23:44:12.542Z] 666ba61612fd: Verifying Checksum [2022-05-10T23:44:12.542Z] 666ba61612fd: Download complete [2022-05-10T23:44:12.542Z] 22a0e8bec74d: Download complete [2022-05-10T23:44:12.542Z] ca2b28591e48: Download complete [2022-05-10T23:44:12.542Z] a51346096db8: Verifying Checksum [2022-05-10T23:44:12.542Z] a51346096db8: Download complete [2022-05-10T23:44:12.542Z] 59bf1c3509f3: Download complete [2022-05-10T23:44:12.542Z] daebc70d1ce1: Verifying Checksum [2022-05-10T23:44:12.542Z] daebc70d1ce1: Download complete [2022-05-10T23:44:12.542Z] 59bf1c3509f3: Pull complete [2022-05-10T23:44:12.811Z] 666ba61612fd: Pull complete [2022-05-10T23:44:12.811Z] 8ed8ca486205: Pull complete [2022-05-10T23:44:13.073Z] 0e18a0eac166: Verifying Checksum [2022-05-10T23:44:13.073Z] 0e18a0eac166: Download complete [2022-05-10T23:44:13.334Z] 4fe6c5a15a65: Verifying Checksum [2022-05-10T23:44:13.334Z] 4fe6c5a15a65: Download complete [2022-05-10T23:44:17.540Z] 4fe6c5a15a65: Pull complete [2022-05-10T23:44:17.540Z] 22a0e8bec74d: Pull complete [2022-05-10T23:44:17.540Z] ca2b28591e48: Pull complete [2022-05-10T23:44:17.540Z] a51346096db8: Pull complete [2022-05-10T23:44:17.800Z] daebc70d1ce1: Pull complete [2022-05-10T23:44:20.344Z] 0e18a0eac166: Pull complete [2022-05-10T23:44:20.344Z] Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 [2022-05-10T23:44:20.344Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-05-10T23:44:20.344Z] ---> f018257e8ee9 [2022-05-10T23:44:20.344Z] Step 3/11 : ARG MAKE=make build [2022-05-10T23:44:21.739Z] ---> Running in 487acf3e89e1 [2022-05-10T23:44:21.739Z] Removing intermediate container 487acf3e89e1 [2022-05-10T23:44:21.739Z] ---> fd2d0b96ae97 [2022-05-10T23:44:21.739Z] Step 4/11 : WORKDIR /device-sdk-go [2022-05-10T23:44:21.739Z] ---> Running in cefd2e629a47 [2022-05-10T23:44:21.739Z] Removing intermediate container cefd2e629a47 [2022-05-10T23:44:21.739Z] ---> a579b81e620d [2022-05-10T23:44:21.739Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-05-10T23:44:21.739Z] ---> Running in c1d046f29438 [2022-05-10T23:44:22.006Z] Removing intermediate container c1d046f29438 [2022-05-10T23:44:22.007Z] ---> 69ae1188cf55 [2022-05-10T23:44:22.007Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-10T23:44:22.007Z] ---> Running in e3045aedf9a7 [2022-05-10T23:44:22.578Z] Removing intermediate container e3045aedf9a7 [2022-05-10T23:44:22.578Z] ---> fac0224c5abd [2022-05-10T23:44:22.578Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-05-10T23:44:22.578Z] ---> Running in aeec14efd5cb [2022-05-10T23:44:22.839Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-05-10T23:44:23.784Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-05-10T23:44:24.053Z] OK: 221 MiB in 52 packages [2022-05-10T23:44:24.313Z] Removing intermediate container aeec14efd5cb [2022-05-10T23:44:24.313Z] ---> 23f3caacfe26 [2022-05-10T23:44:24.313Z] Step 8/11 : COPY go.mod vendor* ./ [2022-05-10T23:44:24.573Z] ---> ff117dd48af3 [2022-05-10T23:44:24.573Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-10T23:44:24.573Z] ---> Running in 377bcd460494 [2022-05-10T23:44:25.733Z] Still waiting to schedule task [2022-05-10T23:44:25.733Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-62259’ is offline [2022-05-10T23:44:39.486Z] Removing intermediate container 377bcd460494 [2022-05-10T23:44:39.486Z] ---> 0b36d7ed435a [2022-05-10T23:44:39.486Z] Step 10/11 : COPY . . [2022-05-10T23:44:39.486Z] ---> 82a9d1f43688 [2022-05-10T23:44:39.486Z] Step 11/11 : RUN ${MAKE} [2022-05-10T23:44:39.486Z] ---> Running in cd7299534e8a [2022-05-10T23:44:40.056Z] noop [2022-05-10T23:44:40.056Z] Removing intermediate container cd7299534e8a [2022-05-10T23:44:40.056Z] ---> 7c38e9393309 [2022-05-10T23:44:40.056Z] Successfully built 7c38e9393309 [2022-05-10T23:44:40.056Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-05-10T23:44:40.348Z] + docker inspect -f . ci-base-image-x86_64 [2022-05-10T23:44:40.349Z] . [Pipeline] withDockerContainer [2022-05-10T23:44:40.417Z] prd-ubuntu20.04-docker-8c-8g-62256 does not seem to be running inside a container [2022-05-10T23:44:40.451Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1144 -v /w/workspace/gexfoundry_device-sdk-go_PR-1144:/w/workspace/gexfoundry_device-sdk-go_PR-1144:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1144@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1144@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-10T23:44:40.841Z] $ docker top bc69d88107611e14363936627a61d5b856cc0da8eeb39943a3228f8ea85d981e -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-10T23:44:41.203Z] + go version [2022-05-10T23:44:41.203Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-05-10T23:44:41.216Z] $ docker stop --time=1 bc69d88107611e14363936627a61d5b856cc0da8eeb39943a3228f8ea85d981e [2022-05-10T23:44:42.515Z] $ docker rm -f bc69d88107611e14363936627a61d5b856cc0da8eeb39943a3228f8ea85d981e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-10T23:44:43.007Z] + docker inspect -f . ci-base-image-x86_64 [2022-05-10T23:44:43.007Z] . [Pipeline] withDockerContainer [2022-05-10T23:44:43.123Z] prd-ubuntu20.04-docker-8c-8g-62256 does not seem to be running inside a container [2022-05-10T23:44:43.185Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1144 -v /w/workspace/gexfoundry_device-sdk-go_PR-1144:/w/workspace/gexfoundry_device-sdk-go_PR-1144:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1144@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1144@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-10T23:44:43.591Z] $ docker top 8617020b2d10897bec3ea70ecd0f63520f4e8484c789d8fe8bd4141bcc2cf930 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-05-10T23:44:43.963Z] + make test [2022-05-10T23:44:43.963Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-05-10T23:44:50.553Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-05-10T23:45:02.766Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-05-10T23:45:02.766Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-05-10T23:45:02.766Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-05-10T23:45:02.766Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.085s coverage: 23.3% of statements [2022-05-10T23:45:02.766Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-05-10T23:45:02.766Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.065s coverage: 27.6% of statements [2022-05-10T23:45:02.766Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.082s coverage: 78.9% of statements [2022-05-10T23:45:02.766Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.080s coverage: 10.8% of statements [2022-05-10T23:45:02.766Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.078s coverage: 60.0% of statements [2022-05-10T23:45:02.766Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-05-10T23:45:02.766Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-05-10T23:45:02.766Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.067s coverage: 34.8% of statements [2022-05-10T23:45:02.766Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-05-10T23:45:02.766Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.073s coverage: 86.5% of statements [2022-05-10T23:45:02.766Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-05-10T23:45:02.766Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-05-10T23:45:02.766Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.113s coverage: 65.1% of statements [2022-05-10T23:45:02.766Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.814s coverage: 89.2% of statements [2022-05-10T23:45:02.766Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-05-10T23:45:02.766Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.070s coverage: 4.7% of statements [2022-05-10T23:45:02.766Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-05-10T23:45:17.655Z] GO111MODULE=on go vet ./... [2022-05-10T23:45:20.954Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-05-10T23:45:20.955Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-05-10T23:45:20.955Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-05-10T23:45:21.537Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-05-10T23:45:21.554Z] $ docker stop --time=1 8617020b2d10897bec3ea70ecd0f63520f4e8484c789d8fe8bd4141bcc2cf930 [2022-05-10T23:45:23.920Z] $ docker rm -f 8617020b2d10897bec3ea70ecd0f63520f4e8484c789d8fe8bd4141bcc2cf930 [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-10T23:45:24.403Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-05-10T23:45:24.458Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-05-10T23:45:24.974Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-05-10T23:45:25.258Z] + ls -al . [2022-05-10T23:45:25.258Z] total 300 [2022-05-10T23:45:25.258Z] drwxrwxr-x 11 jenkins jenkins 4096 May 10 23:45 . [2022-05-10T23:45:25.258Z] drwxrwxr-x 4 jenkins jenkins 4096 May 10 23:43 .. [2022-05-10T23:45:25.258Z] -rw-rw-r-- 1 jenkins jenkins 140 May 10 23:43 .dockerignore [2022-05-10T23:45:25.258Z] drwxrwxr-x 8 jenkins jenkins 4096 May 10 23:44 .git [2022-05-10T23:45:25.258Z] drwxrwxr-x 2 jenkins jenkins 4096 May 10 23:43 .github [2022-05-10T23:45:25.258Z] -rw-rw-r-- 1 jenkins jenkins 131 May 10 23:43 .gitignore [2022-05-10T23:45:25.258Z] -rw-rw-r-- 1 jenkins jenkins 42 May 10 23:43 .golangci.yml [2022-05-10T23:45:25.258Z] drwxr-xr-x 3 jenkins jenkins 4096 May 10 23:44 .semver [2022-05-10T23:45:25.258Z] -rw-rw-r-- 1 jenkins jenkins 29536 May 10 23:43 CHANGELOG.md [2022-05-10T23:45:25.258Z] -rw-rw-r-- 1 jenkins jenkins 677 May 10 23:43 GOVERNANCE.md [2022-05-10T23:45:25.258Z] -rw-rw-r-- 1 jenkins jenkins 880 May 10 23:43 Jenkinsfile [2022-05-10T23:45:25.258Z] -rw-rw-r-- 1 jenkins jenkins 11341 May 10 23:43 LICENSE [2022-05-10T23:45:25.258Z] -rw-rw-r-- 1 jenkins jenkins 2015 May 10 23:43 Makefile [2022-05-10T23:45:25.258Z] -rw-rw-r-- 1 jenkins jenkins 619 May 10 23:43 OWNERS.md [2022-05-10T23:45:25.258Z] -rw-rw-r-- 1 jenkins jenkins 4881 May 10 23:43 README.md [2022-05-10T23:45:25.258Z] -rw-rw-r-- 1 jenkins jenkins 5 May 10 23:44 VERSION [2022-05-10T23:45:25.258Z] drwxrwxr-x 2 jenkins jenkins 4096 May 10 23:43 bin [2022-05-10T23:45:25.258Z] -rw-r--r-- 1 jenkins jenkins 130739 May 10 23:45 coverage.out [2022-05-10T23:45:25.258Z] drwxrwxr-x 5 jenkins jenkins 4096 May 10 23:43 example [2022-05-10T23:45:25.258Z] -rw-rw-r-- 1 jenkins jenkins 3159 May 10 23:43 go.mod [2022-05-10T23:45:25.258Z] -rw-rw-r-- 1 jenkins jenkins 34898 May 10 23:43 go.sum [2022-05-10T23:45:25.258Z] drwxrwxr-x 15 jenkins jenkins 4096 May 10 23:43 internal [2022-05-10T23:45:25.258Z] drwxrwxr-x 3 jenkins jenkins 4096 May 10 23:43 openapi [2022-05-10T23:45:25.258Z] drwxrwxr-x 5 jenkins jenkins 4096 May 10 23:43 pkg [2022-05-10T23:45:25.258Z] drwxrwxr-x 4 jenkins jenkins 4096 May 10 23:43 snap [2022-05-10T23:45:25.258Z] -rw-rw-r-- 1 jenkins jenkins 222 May 10 23:43 version.go [Pipeline] isUnix [Pipeline] sh [2022-05-10T23:45:25.569Z] + 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=020e459d46674262bfd9b381d5c936c9acda85fe --label arch=amd64 --label version=0.0.0 . [2022-05-10T23:45:25.569Z] Sending build context to Docker daemon 9.882MB [2022-05-10T23:45:25.569Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-05-10T23:45:25.569Z] Step 2/25 : FROM ${BASE} AS builder [2022-05-10T23:45:25.569Z] ---> 7c38e9393309 [2022-05-10T23:45:25.569Z] Step 3/25 : ARG MAKE=make build [2022-05-10T23:45:25.828Z] ---> Running in 0e33981e4694 [2022-05-10T23:45:25.828Z] Removing intermediate container 0e33981e4694 [2022-05-10T23:45:25.828Z] ---> 33feac5b2494 [2022-05-10T23:45:25.828Z] Step 4/25 : WORKDIR /device-sdk-go [2022-05-10T23:45:25.828Z] ---> Running in 6af0e8c19e86 [2022-05-10T23:45:26.090Z] Removing intermediate container 6af0e8c19e86 [2022-05-10T23:45:26.090Z] ---> 1153b826e5a5 [2022-05-10T23:45:26.090Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-05-10T23:45:26.090Z] ---> Running in 3f7179d62528 [2022-05-10T23:45:26.090Z] Removing intermediate container 3f7179d62528 [2022-05-10T23:45:26.090Z] ---> 171164cd17cc [2022-05-10T23:45:26.090Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-10T23:45:26.349Z] ---> Running in 15d6f6c88940 [2022-05-10T23:45:26.921Z] Removing intermediate container 15d6f6c88940 [2022-05-10T23:45:26.921Z] ---> 513f590b90a5 [2022-05-10T23:45:26.921Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-05-10T23:45:26.921Z] ---> Running in 3ecd599fa986 [2022-05-10T23:45:27.181Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-05-10T23:45:28.127Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-05-10T23:45:28.388Z] OK: 221 MiB in 52 packages [2022-05-10T23:45:28.648Z] Removing intermediate container 3ecd599fa986 [2022-05-10T23:45:28.648Z] ---> 0e60c76a95b1 [2022-05-10T23:45:28.648Z] Step 8/25 : COPY go.mod vendor* ./ [2022-05-10T23:45:28.909Z] ---> c3ce55b5c503 [2022-05-10T23:45:28.909Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-10T23:45:28.909Z] ---> Running in 95991c5e4f8d [2022-05-10T23:45:29.485Z] Removing intermediate container 95991c5e4f8d [2022-05-10T23:45:29.485Z] ---> f218cf35b1a6 [2022-05-10T23:45:29.485Z] Step 10/25 : COPY . . [2022-05-10T23:45:30.053Z] ---> 55bd36e82a8f [2022-05-10T23:45:30.053Z] Step 11/25 : RUN ${MAKE} [2022-05-10T23:45:30.053Z] ---> Running in 06caee6a4d42 [2022-05-10T23:45:30.314Z] 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-10T23:45:48.413Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-05-10T23:45:50.952Z] Removing intermediate container 06caee6a4d42 [2022-05-10T23:45:50.952Z] ---> 1382be70ff03 [2022-05-10T23:45:50.952Z] Step 12/25 : FROM alpine:3.14 [2022-05-10T23:45:51.214Z] 3.14: Pulling from library/alpine [2022-05-10T23:45:51.214Z] 8663204ce13b: Pulling fs layer [2022-05-10T23:45:51.474Z] 8663204ce13b: Download complete [2022-05-10T23:45:51.749Z] 8663204ce13b: Pull complete [2022-05-10T23:45:51.749Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-05-10T23:45:51.749Z] Status: Downloaded newer image for alpine:3.14 [2022-05-10T23:45:51.749Z] ---> e04c818066af [2022-05-10T23:45:51.749Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-05-10T23:45:51.749Z] ---> Running in fb598551e4a7 [2022-05-10T23:45:51.749Z] Removing intermediate container fb598551e4a7 [2022-05-10T23:45:51.749Z] ---> 35dcb5fc9127 [2022-05-10T23:45:51.749Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-10T23:45:52.010Z] ---> Running in 5d330b44655f [2022-05-10T23:45:52.580Z] Removing intermediate container 5d330b44655f [2022-05-10T23:45:52.580Z] ---> ee555055828d [2022-05-10T23:45:52.580Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-05-10T23:45:52.580Z] ---> Running in 92318e4791f6 [2022-05-10T23:45:52.840Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-05-10T23:45:53.782Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-05-10T23:45:54.043Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2022-05-10T23:45:54.043Z] (2/5) Installing libsodium (1.0.18-r0) [2022-05-10T23:45:54.043Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2022-05-10T23:45:54.303Z] (4/5) Installing libzmq (4.3.4-r0) [2022-05-10T23:45:54.303Z] (5/5) Installing zeromq (4.3.4-r0) [2022-05-10T23:45:54.564Z] Executing busybox-1.33.1-r7.trigger [2022-05-10T23:45:54.564Z] OK: 8 MiB in 19 packages [2022-05-10T23:45:54.824Z] Removing intermediate container 92318e4791f6 [2022-05-10T23:45:54.824Z] ---> 6016ba927289 [2022-05-10T23:45:54.824Z] Step 16/25 : WORKDIR / [2022-05-10T23:45:54.824Z] ---> Running in 1e7dd9680ea1 [2022-05-10T23:45:55.084Z] Removing intermediate container 1e7dd9680ea1 [2022-05-10T23:45:55.084Z] ---> b132ce1827e1 [2022-05-10T23:45:55.084Z] Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-05-10T23:45:55.084Z] ---> 245171997083 [2022-05-10T23:45:55.084Z] Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-05-10T23:45:56.024Z] ---> d125fa3e00a1 [2022-05-10T23:45:56.024Z] Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-05-10T23:45:56.024Z] ---> 6bb50d308bdc [2022-05-10T23:45:56.024Z] Step 20/25 : EXPOSE 59999 [2022-05-10T23:45:56.024Z] ---> Running in 2967ecec4aeb [2022-05-10T23:45:56.024Z] Removing intermediate container 2967ecec4aeb [2022-05-10T23:45:56.024Z] ---> 4f9d6fdedc83 [2022-05-10T23:45:56.024Z] Step 21/25 : ENTRYPOINT ["/device-simple"] [2022-05-10T23:45:56.286Z] ---> Running in e20621c56189 [2022-05-10T23:45:56.286Z] Removing intermediate container e20621c56189 [2022-05-10T23:45:56.286Z] ---> d71f28359595 [2022-05-10T23:45:56.286Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-05-10T23:45:56.286Z] ---> Running in 5913b484a7ce [2022-05-10T23:45:56.286Z] Removing intermediate container 5913b484a7ce [2022-05-10T23:45:56.286Z] ---> dfa367ef6abe [2022-05-10T23:45:56.286Z] Step 23/25 : LABEL arch=amd64 [2022-05-10T23:45:56.549Z] ---> Running in c555837766d2 [2022-05-10T23:45:56.549Z] Removing intermediate container c555837766d2 [2022-05-10T23:45:56.549Z] ---> 320bdb4c0f11 [2022-05-10T23:45:56.549Z] Step 24/25 : LABEL git_sha=020e459d46674262bfd9b381d5c936c9acda85fe [2022-05-10T23:45:56.549Z] ---> Running in 4e6e8d85a48d [2022-05-10T23:45:56.549Z] Removing intermediate container 4e6e8d85a48d [2022-05-10T23:45:56.549Z] ---> 5f10d42ed9a5 [2022-05-10T23:45:56.549Z] Step 25/25 : LABEL version=0.0.0 [2022-05-10T23:45:56.810Z] ---> Running in aa5a17392ae2 [2022-05-10T23:45:56.810Z] Removing intermediate container aa5a17392ae2 [2022-05-10T23:45:56.810Z] ---> d832d2380b20 [2022-05-10T23:45:56.810Z] [Warning] One or more build-args [ARCH] were not consumed [2022-05-10T23:45:56.810Z] Successfully built d832d2380b20 [2022-05-10T23:45:56.810Z] 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-10T23:45:57.199Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-10T23:45:57.199Z] [2022-05-10T23:45:57.199Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-05-10T23:45:57.504Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-10T23:45:57.504Z] latest: Pulling from edgex-lftools-log-publisher [2022-05-10T23:45:57.504Z] 5eb5b503b376: Pulling fs layer [2022-05-10T23:45:57.504Z] 5c69ac0246d0: Pulling fs layer [2022-05-10T23:45:57.504Z] ec43610c2a17: Pulling fs layer [2022-05-10T23:45:57.504Z] 3a2ae6a8a46f: Pulling fs layer [2022-05-10T23:45:57.504Z] 33b1e0a273af: Pulling fs layer [2022-05-10T23:45:57.504Z] 5d3b04190fa2: Pulling fs layer [2022-05-10T23:45:57.504Z] 2f39f015ded8: Pulling fs layer [2022-05-10T23:45:57.504Z] 3a2ae6a8a46f: Waiting [2022-05-10T23:45:57.504Z] 33b1e0a273af: Waiting [2022-05-10T23:45:57.504Z] 2f39f015ded8: Waiting [2022-05-10T23:45:57.504Z] 5d3b04190fa2: Waiting [2022-05-10T23:45:57.504Z] 5c69ac0246d0: Download complete [2022-05-10T23:45:57.504Z] 3a2ae6a8a46f: Verifying Checksum [2022-05-10T23:45:57.504Z] 3a2ae6a8a46f: Download complete [2022-05-10T23:45:57.504Z] 33b1e0a273af: Verifying Checksum [2022-05-10T23:45:57.504Z] 33b1e0a273af: Download complete [2022-05-10T23:45:57.504Z] ec43610c2a17: Verifying Checksum [2022-05-10T23:45:57.504Z] ec43610c2a17: Download complete [2022-05-10T23:45:57.762Z] 5d3b04190fa2: Download complete [2022-05-10T23:45:57.762Z] 5eb5b503b376: Download complete [2022-05-10T23:45:58.330Z] 2f39f015ded8: Download complete [2022-05-10T23:45:59.268Z] 5eb5b503b376: Pull complete [2022-05-10T23:45:59.268Z] 5c69ac0246d0: Pull complete [2022-05-10T23:45:59.528Z] ec43610c2a17: Pull complete [2022-05-10T23:45:59.788Z] 3a2ae6a8a46f: Pull complete [2022-05-10T23:46:00.047Z] 33b1e0a273af: Pull complete [2022-05-10T23:46:00.047Z] 5d3b04190fa2: Pull complete [2022-05-10T23:46:05.331Z] 2f39f015ded8: Pull complete [2022-05-10T23:46:05.331Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-05-10T23:46:05.331Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-10T23:46:05.331Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-05-10T23:46:05.396Z] prd-ubuntu20.04-docker-8c-8g-62256 does not seem to be running inside a container [2022-05-10T23:46:05.433Z] $ 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-1144 -v /w/workspace/gexfoundry_device-sdk-go_PR-1144:/w/workspace/gexfoundry_device-sdk-go_PR-1144:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1144@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1144@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-10T23:46:07.467Z] $ docker top eb75c7c4fff33d7a608e4c19fcf3587e948abed6ea9d0a1c7f2c8f925b193955 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-10T23:46:07.849Z] ---> job-cost.sh [2022-05-10T23:46:07.849Z] lf-activate-venv: SKIPPING [2022-05-10T23:46:07.849Z] INFO: No Stack... [2022-05-10T23:46:08.108Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-05-10T23:46:08.682Z] INFO: Archiving Costs [Pipeline] sh [2022-05-10T23:46:09.046Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1144/archives/cost.csv [2022-05-10T23:46:09.046Z] + cut -d, -f6 [Pipeline] lock [2022-05-10T23:46:09.102Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1144-15-stack-cost] [2022-05-10T23:46:09.111Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1144-15-stack-cost] did not exist. Created. [2022-05-10T23:46:09.111Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1144-15-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-05-10T23:46:09.408Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-05-10T23:46:09.445Z] Stashed 1 file(s) [Pipeline] } [2022-05-10T23:46:09.451Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1144-15-stack-cost] [Pipeline] // lock [Pipeline] } [2022-05-10T23:46:09.468Z] $ docker stop --time=1 eb75c7c4fff33d7a608e4c19fcf3587e948abed6ea9d0a1c7f2c8f925b193955 [2022-05-10T23:46:10.682Z] $ docker rm -f eb75c7c4fff33d7a608e4c19fcf3587e948abed6ea9d0a1c7f2c8f925b193955 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-05-11T00:05:05.792Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-63002 in /w/workspace/gexfoundry_device-sdk-go_PR-1144 [Pipeline] { [Pipeline] ws [2022-05-11T00:05:05.801Z] Running in /w/workspace/device-sdk-go/15 [Pipeline] { [Pipeline] checkout [2022-05-11T00:05:06.348Z] The recommended git tool is: git [2022-05-11T00:05:14.121Z] using credential edgex-jenkins-ssh [2022-05-11T00:05:14.212Z] Cloning the remote Git repository [2022-05-11T00:05:14.322Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2022-05-11T00:05:14.527Z] > git init /w/workspace/device-sdk-go/15 # timeout=10 [2022-05-11T00:05:14.688Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-05-11T00:05:14.689Z] > git --version # timeout=10 [2022-05-11T00:05:14.716Z] > git --version # 'git version 2.25.1' [2022-05-11T00:05:14.719Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-05-11T00:05:14.815Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-05-11T00:05:16.659Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-05-11T00:05:16.682Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-05-11T00:05:16.720Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-05-11T00:05:16.767Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-05-11T00:05:16.769Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-05-11T00:05:16.795Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1144/head:refs/remotes/origin/PR-1144 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-05-11T00:05:17.536Z] Merging remotes/origin/main commit 4f64ab83298cb604fe88218673904389f4010661 into PR head commit 7951b8c72b787c8c13599feadf581ebd8b475afa [2022-05-11T00:05:17.956Z] Merge succeeded, producing 61de60c7d4fac2e184f52580ea15e2058faed5dc [2022-05-11T00:05:17.956Z] Checking out Revision 61de60c7d4fac2e184f52580ea15e2058faed5dc (PR-1144) [2022-05-11T00:05:17.571Z] > git config core.sparsecheckout # timeout=10 [2022-05-11T00:05:17.600Z] > git checkout -f 7951b8c72b787c8c13599feadf581ebd8b475afa # timeout=10 [2022-05-11T00:05:17.757Z] > git remote # timeout=10 [2022-05-11T00:05:17.781Z] > git config --get remote.origin.url # timeout=10 [2022-05-11T00:05:17.800Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-05-11T00:05:17.817Z] > git merge 4f64ab83298cb604fe88218673904389f4010661 # timeout=10 [2022-05-11T00:05:17.938Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-05-11T00:05:17.969Z] > git config core.sparsecheckout # timeout=10 [2022-05-11T00:05:17.988Z] > git checkout -f 61de60c7d4fac2e184f52580ea15e2058faed5dc # timeout=10 [2022-05-11T00:05:22.656Z] Commit message: "Merge commit '4f64ab83298cb604fe88218673904389f4010661' into HEAD" [2022-05-11T00:05:22.669Z] > git rev-list --no-walk 7951b8c72b787c8c13599feadf581ebd8b475afa # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-05-11T00:05:23.777Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-05-11T00:05:23.777Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-05-11T00:05:23.777Z] Dload Upload Total Spent Left Speed [2022-05-11T00:05:23.777Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 55863 0 --:--:-- --:--:-- --:--:-- 55863 [Pipeline] sh [2022-05-11T00:05:24.319Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-05-11T00:05:24.680Z] + sudo tee /etc/docker/daemon.new [2022-05-11T00:05:24.680Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-05-11T00:05:24.680Z] { [2022-05-11T00:05:24.680Z] "registry-mirrors": [ [2022-05-11T00:05:24.680Z] "https://nexus3.edgexfoundry.org:10001" [2022-05-11T00:05:24.680Z] ], [2022-05-11T00:05:24.680Z] "bip": "10.250.0.254/24", [2022-05-11T00:05:24.680Z] "hosts": [ [2022-05-11T00:05:24.680Z] "tcp://0.0.0.0:5555", [2022-05-11T00:05:24.680Z] "unix:///var/run/docker.sock" [2022-05-11T00:05:24.680Z] ], [2022-05-11T00:05:24.680Z] "mtu": 1458, [2022-05-11T00:05:24.680Z] "selinux-enabled": true, [2022-05-11T00:05:24.680Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-05-11T00:05:24.680Z] } [Pipeline] sh [2022-05-11T00:05:25.044Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-05-11T00:05:25.415Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-11T00:05:43.852Z] provisioning config files... [2022-05-11T00:05:43.879Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/15@tmp/config1152079804466863764tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-11T00:05:44.244Z] ---> docker-login.sh [2022-05-11T00:05:44.244Z] nexus3.edgexfoundry.org:10001 [2022-05-11T00:05:44.832Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-11T00:05:45.425Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-11T00:05:45.425Z] Configure a credential helper to remove this warning. See [2022-05-11T00:05:45.425Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-11T00:05:45.425Z] [2022-05-11T00:05:45.425Z] Login Succeeded [2022-05-11T00:05:45.425Z] nexus3.edgexfoundry.org:10002 [2022-05-11T00:05:46.030Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-11T00:05:46.030Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-11T00:05:46.030Z] Configure a credential helper to remove this warning. See [2022-05-11T00:05:46.030Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-11T00:05:46.030Z] [2022-05-11T00:05:46.030Z] Login Succeeded [2022-05-11T00:05:46.030Z] nexus3.edgexfoundry.org:10003 [2022-05-11T00:05:46.307Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-11T00:05:46.581Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-11T00:05:46.581Z] Configure a credential helper to remove this warning. See [2022-05-11T00:05:46.581Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-11T00:05:46.581Z] [2022-05-11T00:05:46.581Z] Login Succeeded [2022-05-11T00:05:46.581Z] nexus3.edgexfoundry.org:10004 [2022-05-11T00:05:46.857Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-11T00:05:46.857Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-11T00:05:46.857Z] Configure a credential helper to remove this warning. See [2022-05-11T00:05:46.857Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-11T00:05:46.857Z] [2022-05-11T00:05:46.857Z] Login Succeeded [2022-05-11T00:05:46.857Z] docker.io [2022-05-11T00:05:47.463Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-11T00:05:47.744Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-11T00:05:47.744Z] Configure a credential helper to remove this warning. See [2022-05-11T00:05:47.744Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-11T00:05:47.744Z] [2022-05-11T00:05:47.744Z] Login Succeeded [2022-05-11T00:05:47.744Z] ---> docker-login.sh ends [Pipeline] } [2022-05-11T00:05:47.764Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-05-11T00:05:48.333Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-05-11T00:05:48.348Z] ========================================================= [2022-05-11T00:05:48.348Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-05-11T00:05:48.348Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-05-11T00:05:48.730Z] + 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-11T00:05:49.339Z] Sending build context to Docker daemon 5.254MB [2022-05-11T00:05:49.339Z] Step 1/11 : ARG BASE=golang:1.17-alpine3.15 [2022-05-11T00:05:49.339Z] Step 2/11 : FROM ${BASE} AS builder [2022-05-11T00:05:49.339Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-05-11T00:05:49.339Z] 9b3977197b4f: Pulling fs layer [2022-05-11T00:05:49.339Z] 1a89e8eeedd5: Pulling fs layer [2022-05-11T00:05:49.339Z] 94645a83ff95: Pulling fs layer [2022-05-11T00:05:49.339Z] 3f3a8bcf1eab: Pulling fs layer [2022-05-11T00:05:49.339Z] 0c92f367c5e7: Pulling fs layer [2022-05-11T00:05:49.339Z] 3096ccb668a1: Pulling fs layer [2022-05-11T00:05:49.339Z] e8cf19c19ddd: Pulling fs layer [2022-05-11T00:05:49.339Z] a4caa8a26152: Pulling fs layer [2022-05-11T00:05:49.339Z] 3096ccb668a1: Waiting [2022-05-11T00:05:49.339Z] e8cf19c19ddd: Waiting [2022-05-11T00:05:49.339Z] a4caa8a26152: Waiting [2022-05-11T00:05:49.339Z] 3f3a8bcf1eab: Waiting [2022-05-11T00:05:49.339Z] 0c92f367c5e7: Waiting [2022-05-11T00:05:49.626Z] 94645a83ff95: Verifying Checksum [2022-05-11T00:05:49.626Z] 94645a83ff95: Download complete [2022-05-11T00:05:49.626Z] 1a89e8eeedd5: Verifying Checksum [2022-05-11T00:05:49.626Z] 1a89e8eeedd5: Download complete [2022-05-11T00:05:49.626Z] 0c92f367c5e7: Verifying Checksum [2022-05-11T00:05:49.626Z] 0c92f367c5e7: Download complete [2022-05-11T00:05:49.626Z] 3096ccb668a1: Verifying Checksum [2022-05-11T00:05:49.626Z] 3096ccb668a1: Download complete [2022-05-11T00:05:49.626Z] 9b3977197b4f: Verifying Checksum [2022-05-11T00:05:49.626Z] 9b3977197b4f: Download complete [2022-05-11T00:05:49.626Z] e8cf19c19ddd: Download complete [2022-05-11T00:05:50.627Z] 9b3977197b4f: Pull complete [2022-05-11T00:05:51.247Z] 1a89e8eeedd5: Pull complete [2022-05-11T00:05:51.525Z] 94645a83ff95: Pull complete [2022-05-11T00:05:51.980Z] a4caa8a26152: Verifying Checksum [2022-05-11T00:05:51.980Z] a4caa8a26152: Download complete [2022-05-11T00:05:52.591Z] 3f3a8bcf1eab: Verifying Checksum [2022-05-11T00:05:52.591Z] 3f3a8bcf1eab: Download complete [2022-05-11T00:06:07.763Z] 3f3a8bcf1eab: Pull complete [2022-05-11T00:06:07.763Z] 0c92f367c5e7: Pull complete [2022-05-11T00:06:07.763Z] 3096ccb668a1: Pull complete [2022-05-11T00:06:07.763Z] e8cf19c19ddd: Pull complete [2022-05-11T00:06:14.543Z] a4caa8a26152: Pull complete [2022-05-11T00:06:14.543Z] Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 [2022-05-11T00:06:14.543Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-05-11T00:06:14.543Z] ---> 725f1c02e7f9 [2022-05-11T00:06:14.543Z] Step 3/11 : ARG MAKE=make build [2022-05-11T00:06:14.827Z] ---> Running in c30bd38491ce [2022-05-11T00:06:15.449Z] Removing intermediate container c30bd38491ce [2022-05-11T00:06:15.449Z] ---> 94be2b044fe0 [2022-05-11T00:06:15.449Z] Step 4/11 : WORKDIR /device-sdk-go [2022-05-11T00:06:15.449Z] ---> Running in f949d7d2b6f0 [2022-05-11T00:06:16.056Z] Removing intermediate container f949d7d2b6f0 [2022-05-11T00:06:16.056Z] ---> d05fe0a572c8 [2022-05-11T00:06:16.056Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-05-11T00:06:16.056Z] ---> Running in 16cc2f3c84ae [2022-05-11T00:06:16.675Z] Removing intermediate container 16cc2f3c84ae [2022-05-11T00:06:16.675Z] ---> ef30d3114a0c [2022-05-11T00:06:16.675Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-11T00:06:16.675Z] ---> Running in 67f375421b6b [2022-05-11T00:06:19.328Z] Removing intermediate container 67f375421b6b [2022-05-11T00:06:19.328Z] ---> 4646a319f21a [2022-05-11T00:06:19.328Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-05-11T00:06:19.328Z] ---> Running in 0760616cdb3b [2022-05-11T00:06:20.327Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-05-11T00:06:21.782Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-05-11T00:06:22.765Z] OK: 220 MiB in 52 packages [2022-05-11T00:06:23.756Z] Removing intermediate container 0760616cdb3b [2022-05-11T00:06:23.756Z] ---> eeb18a3c928a [2022-05-11T00:06:23.756Z] Step 8/11 : COPY go.mod vendor* ./ [2022-05-11T00:06:24.355Z] ---> f6a3a778c8c2 [2022-05-11T00:06:24.355Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-11T00:06:24.355Z] ---> Running in aa659e575b64 [2022-05-11T00:07:20.958Z] Removing intermediate container aa659e575b64 [2022-05-11T00:07:20.958Z] ---> 331c474dc9a4 [2022-05-11T00:07:20.958Z] Step 10/11 : COPY . . [2022-05-11T00:07:20.958Z] ---> 386125832f87 [2022-05-11T00:07:20.958Z] Step 11/11 : RUN ${MAKE} [2022-05-11T00:07:20.958Z] ---> Running in 6322dbc79d70 [2022-05-11T00:07:20.958Z] noop [2022-05-11T00:07:20.958Z] Removing intermediate container 6322dbc79d70 [2022-05-11T00:07:20.958Z] ---> 9ea89e0b25ca [2022-05-11T00:07:20.958Z] Successfully built 9ea89e0b25ca [2022-05-11T00:07:20.958Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-05-11T00:07:21.315Z] + docker inspect -f . ci-base-image-arm64 [2022-05-11T00:07:21.315Z] . [Pipeline] withDockerContainer [2022-05-11T00:07:21.554Z] prd-ubuntu20.04-docker-arm64-4c-16g-63002 does not seem to be running inside a container [2022-05-11T00:07:21.637Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/15 -v /w/workspace/device-sdk-go/15:/w/workspace/device-sdk-go/15:rw,z -v /w/workspace/device-sdk-go/15@tmp:/w/workspace/device-sdk-go/15@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-11T00:07:23.119Z] $ docker top 8fa1076ccc78038623115949136b59121f03dad4ad1af81766f1efb9b2cba8ac -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-11T00:07:24.072Z] + go version [2022-05-11T00:07:24.072Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-05-11T00:07:24.102Z] $ docker stop --time=1 8fa1076ccc78038623115949136b59121f03dad4ad1af81766f1efb9b2cba8ac [2022-05-11T00:07:25.854Z] $ docker rm -f 8fa1076ccc78038623115949136b59121f03dad4ad1af81766f1efb9b2cba8ac [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-11T00:07:26.507Z] + docker inspect -f . ci-base-image-arm64 [2022-05-11T00:07:26.507Z] . [Pipeline] withDockerContainer [2022-05-11T00:07:26.762Z] prd-ubuntu20.04-docker-arm64-4c-16g-63002 does not seem to be running inside a container [2022-05-11T00:07:26.867Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/15 -v /w/workspace/device-sdk-go/15:/w/workspace/device-sdk-go/15:rw,z -v /w/workspace/device-sdk-go/15@tmp:/w/workspace/device-sdk-go/15@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-11T00:07:28.256Z] $ docker top 9abc4ef514fcf5124c70f3c0df557811652854bee7ff096afda77672484ae4b9 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-05-11T00:07:29.224Z] + make test [2022-05-11T00:07:29.224Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-05-11T00:08:08.306Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-05-11T00:10:15.353Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-05-11T00:10:15.353Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-05-11T00:10:15.353Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-05-11T00:10:16.354Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.422s coverage: 23.3% of statements [2022-05-11T00:10:16.355Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-05-11T00:10:16.355Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.309s coverage: 27.6% of statements [2022-05-11T00:10:16.355Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.517s coverage: 78.9% of statements [2022-05-11T00:10:16.355Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.288s coverage: 10.8% of statements [2022-05-11T00:10:20.735Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.750s coverage: 60.0% of statements [2022-05-11T00:10:20.735Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-05-11T00:10:20.735Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-05-11T00:10:24.189Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.494s coverage: 34.8% of statements [2022-05-11T00:10:24.189Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-05-11T00:10:26.197Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.352s coverage: 86.5% of statements [2022-05-11T00:10:26.197Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-05-11T00:10:26.197Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-05-11T00:10:26.197Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.543s coverage: 65.1% of statements [2022-05-11T00:10:28.843Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.344s coverage: 89.2% of statements [2022-05-11T00:10:28.843Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-05-11T00:10:32.247Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.284s coverage: 4.7% of statements [2022-05-11T00:10:32.247Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-05-11T00:10:33.238Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-05-11T00:10:33.238Z] GO111MODULE=on go vet ./... [2022-05-11T00:12:10.504Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-05-11T00:12:10.504Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-05-11T00:12:10.504Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-05-11T00:12:13.153Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-05-11T00:12:13.174Z] $ docker stop --time=1 9abc4ef514fcf5124c70f3c0df557811652854bee7ff096afda77672484ae4b9 [2022-05-11T00:12:15.094Z] $ docker rm -f 9abc4ef514fcf5124c70f3c0df557811652854bee7ff096afda77672484ae4b9 [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-11T00:12:16.638Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-05-11T00:12:16.669Z] Warning: overwriting stash ‘coverage-report’ [2022-05-11T00:12:17.430Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-05-11T00:12:17.844Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-05-11T00:12:18.190Z] + ls -al . [2022-05-11T00:12:18.190Z] total 296 [2022-05-11T00:12:18.190Z] drwxrwxr-x 10 jenkins jenkins 4096 May 11 00:12 . [2022-05-11T00:12:18.190Z] drwxrwxr-x 4 jenkins jenkins 4096 May 11 00:05 .. [2022-05-11T00:12:18.190Z] -rw-rw-r-- 1 jenkins jenkins 140 May 11 00:05 .dockerignore [2022-05-11T00:12:18.190Z] drwxrwxr-x 8 jenkins jenkins 4096 May 11 00:05 .git [2022-05-11T00:12:18.190Z] drwxrwxr-x 2 jenkins jenkins 4096 May 11 00:05 .github [2022-05-11T00:12:18.190Z] -rw-rw-r-- 1 jenkins jenkins 131 May 11 00:05 .gitignore [2022-05-11T00:12:18.190Z] -rw-rw-r-- 1 jenkins jenkins 42 May 11 00:05 .golangci.yml [2022-05-11T00:12:18.190Z] -rw-rw-r-- 1 jenkins jenkins 29536 May 11 00:05 CHANGELOG.md [2022-05-11T00:12:18.190Z] -rw-rw-r-- 1 jenkins jenkins 677 May 11 00:05 GOVERNANCE.md [2022-05-11T00:12:18.190Z] -rw-rw-r-- 1 jenkins jenkins 880 May 11 00:05 Jenkinsfile [2022-05-11T00:12:18.190Z] -rw-rw-r-- 1 jenkins jenkins 11341 May 11 00:05 LICENSE [2022-05-11T00:12:18.190Z] -rw-rw-r-- 1 jenkins jenkins 2015 May 11 00:05 Makefile [2022-05-11T00:12:18.190Z] -rw-rw-r-- 1 jenkins jenkins 619 May 11 00:05 OWNERS.md [2022-05-11T00:12:18.190Z] -rw-rw-r-- 1 jenkins jenkins 4881 May 11 00:05 README.md [2022-05-11T00:12:18.190Z] -rw-rw-r-- 1 jenkins jenkins 5 May 10 23:44 VERSION [2022-05-11T00:12:18.190Z] drwxrwxr-x 2 jenkins jenkins 4096 May 11 00:05 bin [2022-05-11T00:12:18.190Z] -rw-r--r-- 1 jenkins jenkins 130739 May 11 00:10 coverage.out [2022-05-11T00:12:18.190Z] drwxrwxr-x 5 jenkins jenkins 4096 May 11 00:05 example [2022-05-11T00:12:18.190Z] -rw-rw-r-- 1 jenkins jenkins 3159 May 11 00:05 go.mod [2022-05-11T00:12:18.190Z] -rw-rw-r-- 1 jenkins jenkins 34898 May 11 00:05 go.sum [2022-05-11T00:12:18.190Z] drwxrwxr-x 15 jenkins jenkins 4096 May 11 00:05 internal [2022-05-11T00:12:18.190Z] drwxrwxr-x 3 jenkins jenkins 4096 May 11 00:05 openapi [2022-05-11T00:12:18.190Z] drwxrwxr-x 5 jenkins jenkins 4096 May 11 00:05 pkg [2022-05-11T00:12:18.190Z] drwxrwxr-x 4 jenkins jenkins 4096 May 11 00:05 snap [2022-05-11T00:12:18.190Z] -rw-rw-r-- 1 jenkins jenkins 222 May 11 00:05 version.go [Pipeline] isUnix [Pipeline] sh [2022-05-11T00:12:18.546Z] + 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=61de60c7d4fac2e184f52580ea15e2058faed5dc --label arch=arm64 --label version=0.0.0 . [2022-05-11T00:12:19.143Z] Sending build context to Docker daemon 5.386MB [2022-05-11T00:12:19.143Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-05-11T00:12:19.143Z] Step 2/25 : FROM ${BASE} AS builder [2022-05-11T00:12:19.143Z] ---> 9ea89e0b25ca [2022-05-11T00:12:19.143Z] Step 3/25 : ARG MAKE=make build [2022-05-11T00:12:19.143Z] ---> Running in 4e7569c0b00d [2022-05-11T00:12:19.760Z] Removing intermediate container 4e7569c0b00d [2022-05-11T00:12:19.761Z] ---> 9742a400f0b0 [2022-05-11T00:12:19.761Z] Step 4/25 : WORKDIR /device-sdk-go [2022-05-11T00:12:19.761Z] ---> Running in 5187bb8f5810 [2022-05-11T00:12:20.034Z] Removing intermediate container 5187bb8f5810 [2022-05-11T00:12:20.034Z] ---> 2f1450807425 [2022-05-11T00:12:20.034Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-05-11T00:12:20.034Z] ---> Running in c6bf04b33b54 [2022-05-11T00:12:20.307Z] Removing intermediate container c6bf04b33b54 [2022-05-11T00:12:20.307Z] ---> 2764f25f5d8d [2022-05-11T00:12:20.307Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-11T00:12:20.586Z] ---> Running in 64f426e67054 [2022-05-11T00:12:22.189Z] Removing intermediate container 64f426e67054 [2022-05-11T00:12:22.189Z] ---> 9603657d594b [2022-05-11T00:12:22.189Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-05-11T00:12:22.470Z] ---> Running in a94d2c53d63d [2022-05-11T00:12:23.462Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-05-11T00:12:24.442Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-05-11T00:12:25.425Z] OK: 220 MiB in 52 packages [2022-05-11T00:12:26.409Z] Removing intermediate container a94d2c53d63d [2022-05-11T00:12:26.409Z] ---> f60145e29c9b [2022-05-11T00:12:26.409Z] Step 8/25 : COPY go.mod vendor* ./ [2022-05-11T00:12:27.010Z] ---> 15b2e21cf454 [2022-05-11T00:12:27.010Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-11T00:12:27.010Z] ---> Running in 254defc3da4e [2022-05-11T00:12:29.635Z] Removing intermediate container 254defc3da4e [2022-05-11T00:12:29.635Z] ---> f8bf227a343f [2022-05-11T00:12:29.635Z] Step 10/25 : COPY . . [2022-05-11T00:12:30.636Z] ---> 13df90b05a1f [2022-05-11T00:12:30.636Z] Step 11/25 : RUN ${MAKE} [2022-05-11T00:12:30.636Z] ---> Running in 7adca565897e [2022-05-11T00:12:31.621Z] 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-11T00:14:53.551Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-05-11T00:14:53.551Z] Removing intermediate container 7adca565897e [2022-05-11T00:14:53.551Z] ---> 5f2519a6d1b1 [2022-05-11T00:14:53.551Z] Step 12/25 : FROM alpine:3.14 [2022-05-11T00:14:53.551Z] 3.14: Pulling from library/alpine [2022-05-11T00:14:53.551Z] 455c02918c45: Pulling fs layer [2022-05-11T00:14:53.551Z] 455c02918c45: Verifying Checksum [2022-05-11T00:14:53.552Z] 455c02918c45: Download complete [2022-05-11T00:14:53.552Z] 455c02918c45: Pull complete [2022-05-11T00:14:53.552Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-05-11T00:14:53.552Z] Status: Downloaded newer image for alpine:3.14 [2022-05-11T00:14:53.552Z] ---> ac73e934f311 [2022-05-11T00:14:53.552Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-05-11T00:14:53.552Z] ---> Running in 4820b9351d97 [2022-05-11T00:14:53.552Z] Removing intermediate container 4820b9351d97 [2022-05-11T00:14:53.552Z] ---> fd292ebb5599 [2022-05-11T00:14:53.552Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-11T00:14:53.552Z] ---> Running in b4852699fdf4 [2022-05-11T00:14:53.552Z] Removing intermediate container b4852699fdf4 [2022-05-11T00:14:53.552Z] ---> 4733a810b34e [2022-05-11T00:14:53.552Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-05-11T00:14:53.552Z] ---> Running in 411be9199fd4 [2022-05-11T00:14:53.552Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-05-11T00:14:53.552Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-05-11T00:14:53.552Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2022-05-11T00:14:53.552Z] (2/5) Installing libsodium (1.0.18-r0) [2022-05-11T00:14:53.552Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2022-05-11T00:14:53.552Z] (4/5) Installing libzmq (4.3.4-r0) [2022-05-11T00:14:53.552Z] (5/5) Installing zeromq (4.3.4-r0) [2022-05-11T00:14:53.552Z] Executing busybox-1.33.1-r7.trigger [2022-05-11T00:14:53.552Z] OK: 8 MiB in 19 packages [2022-05-11T00:14:54.543Z] Removing intermediate container 411be9199fd4 [2022-05-11T00:14:54.543Z] ---> 9542e94927e9 [2022-05-11T00:14:54.543Z] Step 16/25 : WORKDIR / [2022-05-11T00:14:54.543Z] ---> Running in 708f3ef79471 [2022-05-11T00:14:54.815Z] Removing intermediate container 708f3ef79471 [2022-05-11T00:14:54.815Z] ---> 9fab7a31fef8 [2022-05-11T00:14:54.815Z] Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-05-11T00:14:55.412Z] ---> 7afd3c786e9c [2022-05-11T00:14:55.412Z] Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-05-11T00:14:56.849Z] ---> 062b0f1f87e6 [2022-05-11T00:14:56.849Z] Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-05-11T00:14:57.829Z] ---> e7b1c5d26fc2 [2022-05-11T00:14:57.829Z] Step 20/25 : EXPOSE 59999 [2022-05-11T00:14:57.829Z] ---> Running in e14b17b2c914 [2022-05-11T00:14:58.106Z] Removing intermediate container e14b17b2c914 [2022-05-11T00:14:58.106Z] ---> fe4d099b564c [2022-05-11T00:14:58.106Z] Step 21/25 : ENTRYPOINT ["/device-simple"] [2022-05-11T00:14:58.106Z] ---> Running in c3aa81594ae8 [2022-05-11T00:14:58.385Z] Removing intermediate container c3aa81594ae8 [2022-05-11T00:14:58.385Z] ---> 052a27cfe726 [2022-05-11T00:14:58.385Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-05-11T00:14:58.385Z] ---> Running in c5051b9ea4b1 [2022-05-11T00:14:58.987Z] Removing intermediate container c5051b9ea4b1 [2022-05-11T00:14:58.987Z] ---> 860f48a61532 [2022-05-11T00:14:58.987Z] Step 23/25 : LABEL arch=arm64 [2022-05-11T00:14:58.987Z] ---> Running in 066bf488b996 [2022-05-11T00:14:59.262Z] Removing intermediate container 066bf488b996 [2022-05-11T00:14:59.262Z] ---> 5033606a7b37 [2022-05-11T00:14:59.262Z] Step 24/25 : LABEL git_sha=61de60c7d4fac2e184f52580ea15e2058faed5dc [2022-05-11T00:14:59.262Z] ---> Running in 12ff9621c20a [2022-05-11T00:14:59.545Z] Removing intermediate container 12ff9621c20a [2022-05-11T00:14:59.545Z] ---> 9834d6c126d4 [2022-05-11T00:14:59.545Z] Step 25/25 : LABEL version=0.0.0 [2022-05-11T00:14:59.820Z] ---> Running in 50530c4b0ea3 [2022-05-11T00:15:00.095Z] Removing intermediate container 50530c4b0ea3 [2022-05-11T00:15:00.095Z] ---> 746eb7e3f154 [2022-05-11T00:15:00.095Z] [Warning] One or more build-args [ARCH] were not consumed [2022-05-11T00:15:00.095Z] Successfully built 746eb7e3f154 [2022-05-11T00:15:00.095Z] 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-11T00:15:00.531Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-11T00:15:00.531Z] [2022-05-11T00:15:00.531Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-05-11T00:15:00.893Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-11T00:15:01.171Z] arm64: Pulling from edgex-lftools-log-publisher [2022-05-11T00:15:01.171Z] 8998bd30e6a1: Pulling fs layer [2022-05-11T00:15:01.171Z] 04944245beec: Pulling fs layer [2022-05-11T00:15:01.171Z] 699f458cf7ca: Pulling fs layer [2022-05-11T00:15:01.171Z] 765212b225bb: Pulling fs layer [2022-05-11T00:15:01.171Z] f23df028b6ca: Pulling fs layer [2022-05-11T00:15:01.171Z] d65c8cfc05b1: Pulling fs layer [2022-05-11T00:15:01.171Z] 2437ff75d9bd: Pulling fs layer [2022-05-11T00:15:01.171Z] f23df028b6ca: Waiting [2022-05-11T00:15:01.171Z] 765212b225bb: Waiting [2022-05-11T00:15:01.171Z] d65c8cfc05b1: Waiting [2022-05-11T00:15:01.171Z] 2437ff75d9bd: Waiting [2022-05-11T00:15:01.171Z] 04944245beec: Verifying Checksum [2022-05-11T00:15:01.171Z] 04944245beec: Download complete [2022-05-11T00:15:01.171Z] 765212b225bb: Verifying Checksum [2022-05-11T00:15:01.171Z] 765212b225bb: Download complete [2022-05-11T00:15:01.171Z] f23df028b6ca: Verifying Checksum [2022-05-11T00:15:01.171Z] f23df028b6ca: Download complete [2022-05-11T00:15:01.448Z] d65c8cfc05b1: Download complete [2022-05-11T00:15:01.448Z] 699f458cf7ca: Verifying Checksum [2022-05-11T00:15:01.448Z] 699f458cf7ca: Download complete [2022-05-11T00:15:01.726Z] 8998bd30e6a1: Download complete [2022-05-11T00:15:04.354Z] 2437ff75d9bd: Verifying Checksum [2022-05-11T00:15:04.354Z] 2437ff75d9bd: Download complete [2022-05-11T00:15:06.339Z] 8998bd30e6a1: Pull complete [2022-05-11T00:15:06.939Z] 04944245beec: Pull complete [2022-05-11T00:15:08.393Z] 699f458cf7ca: Pull complete [2022-05-11T00:15:08.393Z] 765212b225bb: Pull complete [2022-05-11T00:15:09.928Z] f23df028b6ca: Pull complete [2022-05-11T00:15:09.928Z] d65c8cfc05b1: Pull complete [2022-05-11T00:15:25.055Z] 2437ff75d9bd: Pull complete [2022-05-11T00:15:25.055Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-05-11T00:15:25.055Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-11T00:15:25.055Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-05-11T00:15:25.298Z] prd-ubuntu20.04-docker-arm64-4c-16g-63002 does not seem to be running inside a container [2022-05-11T00:15:25.396Z] $ 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/15 -v /w/workspace/device-sdk-go/15:/w/workspace/device-sdk-go/15:rw,z -v /w/workspace/device-sdk-go/15@tmp:/w/workspace/device-sdk-go/15@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-11T00:15:28.377Z] $ docker top 52e70619166072322c896687d3f437217b4b0142a7c1b0201a032df8f9a84a43 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-11T00:15:29.343Z] ---> job-cost.sh [2022-05-11T00:15:29.343Z] lf-activate-venv: SKIPPING [2022-05-11T00:15:29.343Z] INFO: No Stack... [2022-05-11T00:15:29.941Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-05-11T00:15:30.923Z] INFO: Archiving Costs [Pipeline] sh [2022-05-11T00:15:31.600Z] + + catcut /w/workspace/device-sdk-go/15/archives/cost.csv -d, [2022-05-11T00:15:31.600Z] -f6 [Pipeline] lock [2022-05-11T00:15:31.675Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1144-15-stack-cost] [2022-05-11T00:15:31.681Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1144-15-stack-cost] did not exist. Created. [2022-05-11T00:15:31.681Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1144-15-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-05-11T00:15:32.376Z] /w/workspace/device-sdk-go/15@tmp/durable-005768e1/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-05-11T00:15:33.060Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-05-11T00:15:33.089Z] Warning: overwriting stash ‘stack-cost’ [2022-05-11T00:15:33.162Z] Stashed 1 file(s) [Pipeline] } [2022-05-11T00:15:33.173Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1144-15-stack-cost] [Pipeline] // lock [Pipeline] } [2022-05-11T00:15:33.200Z] $ docker stop --time=1 52e70619166072322c896687d3f437217b4b0142a7c1b0201a032df8f9a84a43 [2022-05-11T00:15:34.753Z] $ docker rm -f 52e70619166072322c896687d3f437217b4b0142a7c1b0201a032df8f9a84a43 [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-11T00:15:35.351Z] provisioning config files... [2022-05-11T00:15:35.360Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1144@tmp/config6486343730118136822tmp [Pipeline] { [Pipeline] sh [2022-05-11T00:15:35.663Z] + set +x [2022-05-11T00:15:35.663Z] + curl -s https://codecov.io/bash [2022-05-11T00:15:35.663Z] + bash -s -- [2022-05-11T00:15:35.663Z] [2022-05-11T00:15:35.663Z] _____ _ [2022-05-11T00:15:35.663Z] / ____| | | [2022-05-11T00:15:35.663Z] | | ___ __| | ___ ___ _____ __ [2022-05-11T00:15:35.663Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-05-11T00:15:35.663Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-05-11T00:15:35.663Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-05-11T00:15:35.663Z] Bash-1.0.6 [2022-05-11T00:15:35.663Z] [2022-05-11T00:15:35.663Z] [2022-05-11T00:15:35.663Z] ==> git version 2.25.1 found [2022-05-11T00:15:35.663Z] ==> 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-11T00:15:35.663Z] Release-Date: 2020-01-08 [2022-05-11T00:15:35.663Z] 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-11T00:15:35.663Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-05-11T00:15:35.663Z] ==> Jenkins CI detected. [2022-05-11T00:15:35.664Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1144 [2022-05-11T00:15:35.664Z] project root: . [2022-05-11T00:15:35.664Z] --> token set from env [2022-05-11T00:15:35.664Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-05-11T00:15:35.664Z] ==> Running gcov in . (disable via -X gcov) [2022-05-11T00:15:35.664Z] ==> Python coveragepy not found [2022-05-11T00:15:35.664Z] ==> Searching for coverage reports in: [2022-05-11T00:15:35.664Z] + . [2022-05-11T00:15:35.664Z] -> Found 1 reports [2022-05-11T00:15:35.664Z] ==> Detecting git/mercurial file structure [2022-05-11T00:15:35.664Z] ==> Reading reports [2022-05-11T00:15:35.664Z] + ./coverage.out bytes=130739 [2022-05-11T00:15:35.664Z] ==> Appending adjustments [2022-05-11T00:15:35.664Z] https://docs.codecov.io/docs/fixing-reports [2022-05-11T00:15:35.923Z] + Found adjustments [2022-05-11T00:15:35.923Z] ==> Gzipping contents [2022-05-11T00:15:35.923Z] 20K /tmp/codecov.WgO5n5.gz [2022-05-11T00:15:35.923Z] ==> Uploading reports [2022-05-11T00:15:35.923Z] url: https://codecov.io [2022-05-11T00:15:35.923Z] query: branch=PR-1144&commit=020e459d46674262bfd9b381d5c936c9acda85fe&build=15&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1144%2F15%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1144&job=&cmd_args= [2022-05-11T00:15:35.923Z] -> Pinging Codecov [2022-05-11T00:15:35.923Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1144&commit=020e459d46674262bfd9b381d5c936c9acda85fe&build=15&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1144%2F15%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1144&job=&cmd_args= [2022-05-11T00:15:36.183Z] -> Uploading to [2022-05-11T00:15:36.183Z] https://storage.googleapis.com/codecov/v4/raw/2022-05-11/7E55EF52A471D76F132DFD9A03CDDE97/020e459d46674262bfd9b381d5c936c9acda85fe/792a2d9f-792b-4a01-b7d0-93ffbf1c66ef.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220511%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220511T001536Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=1c56faee4f9de8821ea167b818ce9bc3c60b10fbd6498c5a09516d7410643433 [2022-05-11T00:15:36.183Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-05-11T00:15:36.183Z] Dload Upload Total Spent Left Speed [2022-05-11T00:15:36.445Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16852 0 0 100 16852 0 75232 --:--:-- --:--:-- --:--:-- 75232 [2022-05-11T00:15:36.445Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/020e459d46674262bfd9b381d5c936c9acda85fe [Pipeline] } [2022-05-11T00:15:36.454Z] 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-11T00:15:37.186Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1144/archives ] [2022-05-11T00:15:37.186Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1144/archives [2022-05-11T00:15:37.186Z] total 16 [2022-05-11T00:15:37.186Z] drwxr-xr-x 3 root root 4096 May 10 23:46 . [2022-05-11T00:15:37.186Z] drwxrwxr-x 12 jenkins jenkins 4096 May 10 23:46 .. [2022-05-11T00:15:37.187Z] drwxr-xr-x 2 root root 4096 May 10 23:46 cost [2022-05-11T00:15:37.187Z] -rw-r--r-- 1 root root 86 May 10 23:46 cost.csv [2022-05-11T00:15:37.187Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1144/archives [2022-05-11T00:15:37.187Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1144/archives [2022-05-11T00:15:37.187Z] total 16 [2022-05-11T00:15:37.187Z] drwxr-xr-x 3 jenkins jenkins 4096 May 10 23:46 . [2022-05-11T00:15:37.187Z] drwxrwxr-x 12 jenkins jenkins 4096 May 10 23:46 .. [2022-05-11T00:15:37.187Z] drwxr-xr-x 2 jenkins jenkins 4096 May 10 23:46 cost [2022-05-11T00:15:37.187Z] -rw-r--r-- 1 jenkins jenkins 86 May 10 23:46 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-05-11T00:15:37.478Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-11T00:15:38.348Z] ---> package-listing.sh [2022-05-11T00:15:38.348Z] ++ tr '[:upper:]' '[:lower:]' [2022-05-11T00:15:38.348Z] ++ facter osfamily [2022-05-11T00:15:38.609Z] + OS_FAMILY=debian [2022-05-11T00:15:38.609Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1144 [2022-05-11T00:15:38.609Z] + START_PACKAGES=/tmp/packages_start.txt [2022-05-11T00:15:38.609Z] + END_PACKAGES=/tmp/packages_end.txt [2022-05-11T00:15:38.609Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-05-11T00:15:38.609Z] + PACKAGES=/tmp/packages_start.txt [2022-05-11T00:15:38.609Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1144 ']' [2022-05-11T00:15:38.609Z] + PACKAGES=/tmp/packages_end.txt [2022-05-11T00:15:38.609Z] + case "${OS_FAMILY}" in [2022-05-11T00:15:38.609Z] + dpkg -l [2022-05-11T00:15:38.609Z] + grep '^ii' [2022-05-11T00:15:38.609Z] + '[' -f /tmp/packages_start.txt ']' [2022-05-11T00:15:38.609Z] + '[' -f /tmp/packages_end.txt ']' [2022-05-11T00:15:38.609Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-05-11T00:15:38.609Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1144 ']' [2022-05-11T00:15:38.609Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1144/archives/ [2022-05-11T00:15:38.609Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1144/archives/ [Pipeline] echo [2022-05-11T00:15:38.623Z] 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-1144/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-05-11T00:15:38.909Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-05-11T00:15:39.468Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-11T00:15:39.468Z] . [Pipeline] withDockerContainer [2022-05-11T00:15:39.533Z] prd-ubuntu20.04-docker-8c-8g-62256 does not seem to be running inside a container [2022-05-11T00:15:39.565Z] $ 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-1144/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-1144 -v /w/workspace/gexfoundry_device-sdk-go_PR-1144:/w/workspace/gexfoundry_device-sdk-go_PR-1144:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1144@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1144@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-11T00:15:39.789Z] $ docker top ff0e2affe0b6013e2f45adc0663021bd5f699363f4ac0f6e3cc89c881a46e9a3 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-11T00:15:40.141Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-05-11T00:15:40.450Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-05-11T00:15:40.742Z] + ls /var/log/sa-host [2022-05-11T00:15:40.742Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-11T00:15:40.832Z] provisioning config files... [2022-05-11T00:15:40.842Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1144@tmp/config8479524740496137102tmp [Pipeline] { [Pipeline] echo [2022-05-11T00:15:40.859Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-11T00:15:41.147Z] ---> create-netrc.sh [Pipeline] } [2022-05-11T00:15:41.155Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-05-11T00:15:41.490Z] ---> python-tools-install.sh [Pipeline] echo [2022-05-11T00:15:41.503Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-11T00:15:41.825Z] ---> sudo-logs.sh [2022-05-11T00:15:41.825Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-05-11T00:15:41.845Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-11T00:15:42.136Z] ---> job-cost.sh [2022-05-11T00:15:42.136Z] lf-activate-venv: SKIPPING [2022-05-11T00:15:42.136Z] DEBUG: total: 0.2199999988079071 [2022-05-11T00:15:42.136Z] INFO: Retrieving Stack Cost... [2022-05-11T00:15:42.706Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-05-11T00:15:43.276Z] INFO: Archiving Costs [Pipeline] echo [2022-05-11T00:15:43.291Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-11T00:15:43.578Z] ---> logs-deploy.sh [2022-05-11T00:15:43.578Z] lf-activate-venv: SKIPPING [2022-05-11T00:15:43.578Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1144/15 [2022-05-11T00:15:43.578Z] INFO: archiving workspace using pattern(s): [2022-05-11T00:15:44.516Z] Archives upload complete. [2022-05-11T00:15:44.777Z] INFO: archiving logs to Nexus