Pull request #1153 event Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 9577aecaad1baa133f119b7c6a8fec467a7c429a+20e4ce91bc8e43f9f92ceaa6d310556f72a8f90b (35b892ea67d638d077153be6d245c9a54547b4c4) 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-ssh16715376822897532348.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 61d3a14f5ee21304eadc9c25f102bcac80e1a589 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh16390325225753922567.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 61d3a14f5ee21304eadc9c25f102bcac80e1a589 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1153/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-1153/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh13369923712117099485.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 61d3a14f5ee21304eadc9c25f102bcac80e1a589 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 61d3a14f5ee21304eadc9c25f102bcac80e1a589 # timeout=10 Commit message: "Merge pull request #384 from ernestojeda/add-go-1_17-lts" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 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-ssh14083556538726390164.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-1153/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-1153/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh11103004582487330999.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-34639 in /w/workspace/gexfoundry_device-sdk-go_PR-1153 [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-1153 # 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 20e4ce91bc8e43f9f92ceaa6d310556f72a8f90b into PR head commit 9577aecaad1baa133f119b7c6a8fec467a7c429a Merge succeeded, producing 9577aecaad1baa133f119b7c6a8fec467a7c429a Checking out Revision 9577aecaad1baa133f119b7c6a8fec467a7c429a (PR-1153) > 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/1153/head:refs/remotes/origin/PR-1153 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9577aecaad1baa133f119b7c6a8fec467a7c429a # 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 20e4ce91bc8e43f9f92ceaa6d310556f72a8f90b # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9577aecaad1baa133f119b7c6a8fec467a7c429a # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-05-03T01:34:46.434Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) > git rev-list --no-walk 3bf403115b7066cefafd348c84461fd27d8f64fc # timeout=10 [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-05-03T01:34:46.505Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-05-03T01:34:46.526Z] ========================================================= [2022-05-03T01:34:46.526Z] EdgeX Global Pipelines Version Info [2022-05-03T01:34:46.526Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-05-03T01:34:47.280Z] ------------------- [2022-05-03T01:34:47.280Z] stable info: [2022-05-03T01:34:47.280Z] ------------------- [2022-05-03T01:34:47.280Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-05-03T01:34:47.280Z] Commit SHA: 61d3a14f5ee21304eadc9c25f102bcac80e1a589 [2022-05-03T01:34:47.280Z] Message: update stable to v1.0.227 [2022-05-03T01:34:47.851Z] ------------------- [2022-05-03T01:34:47.851Z] experimental info: [2022-05-03T01:34:47.851Z] ------------------- [2022-05-03T01:34:47.851Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-05-03T01:34:47.851Z] Commit SHA: 602d0728ebfd21a5b975e02ac0465e47e5fef8c7 [2022-05-03T01:34:47.851Z] Message: update experimental to v1.0.228 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-05-03T01:34:47.979Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2022-05-03T01:34:47.992Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2022-05-03T01:34:48.005Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-05-03T01:34:48.020Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-05-03T01:34:48.030Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-05-03T01:34:48.043Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-05-03T01:34:48.056Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-05-03T01:34:48.069Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2022-05-03T01:34:48.082Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-05-03T01:34:48.095Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-05-03T01:34:48.106Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-05-03T01:34:48.117Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2022-05-03T01:34:48.130Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-05-03T01:34:48.145Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-05-03T01:34:48.157Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-05-03T01:34:48.170Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2022-05-03T01:34:48.181Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-05-03T01:34:48.193Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-05-03T01:34:48.205Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-05-03T01:34:48.216Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-05-03T01:34:48.228Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-05-03T01:34:48.240Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2022-05-03T01:34:48.251Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-05-03T01:34:48.262Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-05-03T01:34:48.274Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-05-03T01:34:48.285Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-05-03T01:34:48.295Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1153 [Pipeline] echo [2022-05-03T01:34:48.307Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1153 [Pipeline] echo [2022-05-03T01:34:48.321Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1153 [Pipeline] echo [2022-05-03T01:34:48.336Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 9577aecaad1baa133f119b7c6a8fec467a7c429a [Pipeline] echo [2022-05-03T01:34:48.353Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9577aec [Pipeline] echo [2022-05-03T01:34:48.368Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-03T01:34:48.419Z] provisioning config files... [2022-05-03T01:34:48.435Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1153@tmp/config4425301901830135780tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-03T01:34:48.747Z] ---> docker-login.sh [2022-05-03T01:34:48.747Z] nexus3.edgexfoundry.org:10001 [2022-05-03T01:34:49.008Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-03T01:34:49.008Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-03T01:34:49.008Z] Configure a credential helper to remove this warning. See [2022-05-03T01:34:49.008Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-03T01:34:49.008Z] [2022-05-03T01:34:49.008Z] Login Succeeded [2022-05-03T01:34:49.008Z] nexus3.edgexfoundry.org:10002 [2022-05-03T01:34:49.270Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-03T01:34:49.270Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-03T01:34:49.270Z] Configure a credential helper to remove this warning. See [2022-05-03T01:34:49.270Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-03T01:34:49.270Z] [2022-05-03T01:34:49.270Z] Login Succeeded [2022-05-03T01:34:49.270Z] nexus3.edgexfoundry.org:10003 [2022-05-03T01:34:49.270Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-03T01:34:49.270Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-03T01:34:49.270Z] Configure a credential helper to remove this warning. See [2022-05-03T01:34:49.270Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-03T01:34:49.270Z] [2022-05-03T01:34:49.270Z] Login Succeeded [2022-05-03T01:34:49.270Z] nexus3.edgexfoundry.org:10004 [2022-05-03T01:34:49.531Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-03T01:34:49.531Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-03T01:34:49.531Z] Configure a credential helper to remove this warning. See [2022-05-03T01:34:49.531Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-03T01:34:49.531Z] [2022-05-03T01:34:49.531Z] Login Succeeded [2022-05-03T01:34:49.531Z] docker.io [2022-05-03T01:34:49.531Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-03T01:34:50.117Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-03T01:34:50.117Z] Configure a credential helper to remove this warning. See [2022-05-03T01:34:50.117Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-03T01:34:50.117Z] [2022-05-03T01:34:50.117Z] Login Succeeded [2022-05-03T01:34:50.117Z] ---> docker-login.sh ends [Pipeline] } [2022-05-03T01:34:50.128Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-05-03T01:34:50.548Z] + git rev-list -1 --merges 9577aecaad1baa133f119b7c6a8fec467a7c429a~1..9577aecaad1baa133f119b7c6a8fec467a7c429a [Pipeline] echo [2022-05-03T01:34:50.587Z] -----------> git rev-list -1 --merges 9577aecaad1baa133f119b7c6a8fec467a7c429a~1..9577aecaad1baa133f119b7c6a8fec467a7c429a 9577aecaad1baa133f119b7c6a8fec467a7c429a [false] [Pipeline] sh [2022-05-03T01:34:50.879Z] + git log --format=format:%s -1 9577aecaad1baa133f119b7c6a8fec467a7c429a [Pipeline] echo [2022-05-03T01:34:50.896Z] ========================================================= [2022-05-03T01:34:50.896Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-05-03T01:34:50.896Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-05-03T01:34:51.241Z] + git log --format=format:%s -1 9577aecaad1baa133f119b7c6a8fec467a7c429a [Pipeline] echo [2022-05-03T01:34:51.254Z] [semverPrep] GIT_COMMIT: 9577aecaad1baa133f119b7c6a8fec467a7c429a, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2 [Pipeline] echo [2022-05-03T01:34:51.264Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-05-03T01:34:51.642Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-05-03T01:34:51.642Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-05-03T01:34:51.642Z] + [ -e /tmp/ssh_known_hosts ] [2022-05-03T01:34:51.642Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-05-03T01:34:51.642Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-05-03T01:34:51.642Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-05-03T01:34:51.642Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-05-03T01:34:52.005Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-03T01:34:52.005Z] [2022-05-03T01:34:52.005Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-05-03T01:34:52.318Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-03T01:34:52.318Z] latest: Pulling from edgex-devops/py-git-semver [2022-05-03T01:34:52.318Z] 1fe172e4850f: Pulling fs layer [2022-05-03T01:34:52.318Z] caf521ccaac6: Pulling fs layer [2022-05-03T01:34:52.318Z] 3ead6fa29328: Pulling fs layer [2022-05-03T01:34:52.318Z] 5c2a1cbceb83: Pulling fs layer [2022-05-03T01:34:52.318Z] a8d5f1318db7: Pulling fs layer [2022-05-03T01:34:52.318Z] c427282e49a2: Pulling fs layer [2022-05-03T01:34:52.318Z] 1827001aaf11: Pulling fs layer [2022-05-03T01:34:52.318Z] 0714d37db230: Pulling fs layer [2022-05-03T01:34:52.318Z] ac28cf19c067: Pulling fs layer [2022-05-03T01:34:52.318Z] ca983d60f3e2: Pulling fs layer [2022-05-03T01:34:52.318Z] 9f894cec8388: Pulling fs layer [2022-05-03T01:34:52.318Z] 1827001aaf11: Waiting [2022-05-03T01:34:52.318Z] 0714d37db230: Waiting [2022-05-03T01:34:52.318Z] 5c2a1cbceb83: Waiting [2022-05-03T01:34:52.318Z] ac28cf19c067: Waiting [2022-05-03T01:34:52.318Z] ca983d60f3e2: Waiting [2022-05-03T01:34:52.318Z] 9f894cec8388: Waiting [2022-05-03T01:34:52.318Z] a8d5f1318db7: Waiting [2022-05-03T01:34:52.318Z] c427282e49a2: Waiting [2022-05-03T01:34:52.318Z] caf521ccaac6: Verifying Checksum [2022-05-03T01:34:52.318Z] caf521ccaac6: Download complete [2022-05-03T01:34:52.318Z] 5c2a1cbceb83: Verifying Checksum [2022-05-03T01:34:52.318Z] 5c2a1cbceb83: Download complete [2022-05-03T01:34:52.318Z] a8d5f1318db7: Verifying Checksum [2022-05-03T01:34:52.318Z] a8d5f1318db7: Download complete [2022-05-03T01:34:52.579Z] 3ead6fa29328: Verifying Checksum [2022-05-03T01:34:52.579Z] 3ead6fa29328: Download complete [2022-05-03T01:34:52.579Z] c427282e49a2: Verifying Checksum [2022-05-03T01:34:52.579Z] c427282e49a2: Download complete [2022-05-03T01:34:52.579Z] 0714d37db230: Verifying Checksum [2022-05-03T01:34:52.579Z] 0714d37db230: Download complete [2022-05-03T01:34:52.579Z] ac28cf19c067: Verifying Checksum [2022-05-03T01:34:52.579Z] ac28cf19c067: Download complete [2022-05-03T01:34:52.579Z] ca983d60f3e2: Download complete [2022-05-03T01:34:52.579Z] 1fe172e4850f: Verifying Checksum [2022-05-03T01:34:52.579Z] 1fe172e4850f: Download complete [2022-05-03T01:34:52.839Z] 1827001aaf11: Verifying Checksum [2022-05-03T01:34:52.839Z] 1827001aaf11: Download complete [2022-05-03T01:34:54.223Z] 1fe172e4850f: Pull complete [2022-05-03T01:34:54.223Z] caf521ccaac6: Pull complete [2022-05-03T01:34:54.795Z] 3ead6fa29328: Pull complete [2022-05-03T01:34:54.795Z] 5c2a1cbceb83: Pull complete [2022-05-03T01:34:55.056Z] a8d5f1318db7: Pull complete [2022-05-03T01:34:55.316Z] c427282e49a2: Pull complete [2022-05-03T01:34:57.237Z] 1827001aaf11: Pull complete [2022-05-03T01:34:57.499Z] 0714d37db230: Pull complete [2022-05-03T01:34:57.499Z] ac28cf19c067: Pull complete [2022-05-03T01:34:57.761Z] ca983d60f3e2: Pull complete [2022-05-03T01:34:57.761Z] 9f894cec8388: Pull complete [2022-05-03T01:34:57.761Z] Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee [2022-05-03T01:34:57.761Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-03T01:34:57.761Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] withDockerContainer [2022-05-03T01:34:57.922Z] prd-ubuntu20.04-docker-8c-8g-34639 does not seem to be running inside a container [2022-05-03T01:34:57.983Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1153 -v /w/workspace/gexfoundry_device-sdk-go_PR-1153:/w/workspace/gexfoundry_device-sdk-go_PR-1153:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1153@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1153@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-03T01:35:00.506Z] $ docker top 61e5889f93628528349a43ae028d8253cc7002f4e346e0e33120bf49e0caa482 -eo pid,comm [2022-05-03T01:35:00.577Z] 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-03T01:35:00.577Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-05-03T01:35:00.615Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-03T01:35:00.615Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-03T01:35:00.760Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-03T01:35:00.770Z] $ docker exec 61e5889f93628528349a43ae028d8253cc7002f4e346e0e33120bf49e0caa482 ssh-agent [2022-05-03T01:35:00.897Z] SSH_AUTH_SOCK=/tmp/ssh-aCdnFczrJDCz/agent.33 [2022-05-03T01:35:00.897Z] SSH_AGENT_PID=39 [2022-05-03T01:35:00.903Z] Running ssh-add (command line suppressed) [2022-05-03T01:35:01.024Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1153@tmp/private_key_1356003914510509596.key (/w/workspace/gexfoundry_device-sdk-go_PR-1153@tmp/private_key_1356003914510509596.key) [2022-05-03T01:35:01.035Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-03T01:35:01.327Z] + git tag --points-at HEAD [Pipeline] } [2022-05-03T01:35:01.347Z] $ docker exec --env ******** --env ******** 61e5889f93628528349a43ae028d8253cc7002f4e346e0e33120bf49e0caa482 ssh-agent -k [2022-05-03T01:35:01.461Z] unset SSH_AUTH_SOCK; [2022-05-03T01:35:01.467Z] unset SSH_AGENT_PID; [2022-05-03T01:35:01.467Z] echo Agent pid 39 killed; [2022-05-03T01:35:01.468Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-05-03T01:35:01.493Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-03T01:35:01.493Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-03T01:35:01.609Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-03T01:35:01.619Z] $ docker exec 61e5889f93628528349a43ae028d8253cc7002f4e346e0e33120bf49e0caa482 ssh-agent [2022-05-03T01:35:01.729Z] SSH_AUTH_SOCK=/tmp/ssh-yuOf0CpWZSjY/agent.74 [2022-05-03T01:35:01.729Z] SSH_AGENT_PID=81 [2022-05-03T01:35:01.735Z] Running ssh-add (command line suppressed) [2022-05-03T01:35:01.866Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1153@tmp/private_key_2846986433912435898.key (/w/workspace/gexfoundry_device-sdk-go_PR-1153@tmp/private_key_2846986433912435898.key) [2022-05-03T01:35:01.874Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-03T01:35:02.165Z] + git semver init [2022-05-03T01:35:02.434Z] 2022-05-03 01:35:02,354 [run_init] DEBUG init version:0.0.0 force:False [2022-05-03T01:35:02.434Z] 2022-05-03 01:35:02,355 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1153/.semver [2022-05-03T01:35:02.434Z] 2022-05-03 01:35:02,355 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1153/.semver [2022-05-03T01:35:02.434Z] 2022-05-03 01:35:02,356 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1153/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1153, universal_newlines=False, shell=None, istream=None) [2022-05-03T01:35:03.377Z] 2022-05-03 01:35:03,308 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1153/.git/info/exclude [2022-05-03T01:35:03.377Z] 2022-05-03 01:35:03,309 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1153/.semver/PR-1153 with force:False [2022-05-03T01:35:03.377Z] 2022-05-03 01:35:03,309 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1153/.semver/PR-1153 [2022-05-03T01:35:03.377Z] 2022-05-03 01:35:03,313 [execute] INFO git cat-file --batch-check [2022-05-03T01:35:03.377Z] 2022-05-03 01:35:03,314 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1153/.semver, universal_newlines=False, shell=None, istream=) [2022-05-03T01:35:03.377Z] 2022-05-03 01:35:03,319 [execute] INFO git cat-file --batch [2022-05-03T01:35:03.377Z] 2022-05-03 01:35:03,319 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1153/.semver, universal_newlines=False, shell=None, istream=) [2022-05-03T01:35:03.377Z] 2022-05-03 01:35:03,324 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1153/.semver/PR-1153 [2022-05-03T01:35:03.377Z] 0.0.0 [Pipeline] } [2022-05-03T01:35:03.396Z] $ docker exec --env ******** --env ******** 61e5889f93628528349a43ae028d8253cc7002f4e346e0e33120bf49e0caa482 ssh-agent -k [2022-05-03T01:35:03.510Z] unset SSH_AUTH_SOCK; [2022-05-03T01:35:03.510Z] unset SSH_AGENT_PID; [2022-05-03T01:35:03.511Z] echo Agent pid 81 killed; [2022-05-03T01:35:03.516Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-05-03T01:35:03.824Z] + git semver [Pipeline] } [2022-05-03T01:35:04.110Z] $ docker stop --time=1 61e5889f93628528349a43ae028d8253cc7002f4e346e0e33120bf49e0caa482 [2022-05-03T01:35:05.415Z] $ docker rm -f 61e5889f93628528349a43ae028d8253cc7002f4e346e0e33120bf49e0caa482 [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-03T01:35:05.781Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-05-03T01:35:06.059Z] Stashed 1 file(s) [Pipeline] echo [2022-05-03T01:35:06.063Z] [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-03T01:35:06.239Z] provisioning config files... [2022-05-03T01:35:06.250Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1153@tmp/config989983183633510297tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-03T01:35:06.553Z] ---> docker-login.sh [2022-05-03T01:35:06.553Z] nexus3.edgexfoundry.org:10001 [2022-05-03T01:35:06.553Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-03T01:35:06.553Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-03T01:35:06.553Z] Configure a credential helper to remove this warning. See [2022-05-03T01:35:06.553Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-03T01:35:06.553Z] [2022-05-03T01:35:06.553Z] Login Succeeded [2022-05-03T01:35:06.553Z] nexus3.edgexfoundry.org:10002 [2022-05-03T01:35:06.553Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-03T01:35:06.814Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-03T01:35:06.814Z] Configure a credential helper to remove this warning. See [2022-05-03T01:35:06.814Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-03T01:35:06.814Z] [2022-05-03T01:35:06.814Z] Login Succeeded [2022-05-03T01:35:06.814Z] nexus3.edgexfoundry.org:10003 [2022-05-03T01:35:06.814Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-03T01:35:06.814Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-03T01:35:06.814Z] Configure a credential helper to remove this warning. See [2022-05-03T01:35:06.814Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-03T01:35:06.814Z] [2022-05-03T01:35:06.815Z] Login Succeeded [2022-05-03T01:35:06.815Z] nexus3.edgexfoundry.org:10004 [2022-05-03T01:35:07.077Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-03T01:35:07.077Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-03T01:35:07.077Z] Configure a credential helper to remove this warning. See [2022-05-03T01:35:07.077Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-03T01:35:07.077Z] [2022-05-03T01:35:07.077Z] Login Succeeded [2022-05-03T01:35:07.077Z] docker.io [2022-05-03T01:35:07.077Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-03T01:35:07.338Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-03T01:35:07.338Z] Configure a credential helper to remove this warning. See [2022-05-03T01:35:07.338Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-03T01:35:07.338Z] [2022-05-03T01:35:07.338Z] Login Succeeded [2022-05-03T01:35:07.338Z] ---> docker-login.sh ends [Pipeline] } [2022-05-03T01:35:07.347Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-05-03T01:35:07.422Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-05-03T01:35:07.431Z] ========================================================= [2022-05-03T01:35:07.431Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-05-03T01:35:07.431Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-05-03T01:35:07.754Z] + 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-03T01:35:07.754Z] Sending build context to Docker daemon 9.69MB [2022-05-03T01:35:07.754Z] Step 1/11 : ARG BASE=golang:1.17-alpine3.15 [2022-05-03T01:35:07.754Z] Step 2/11 : FROM ${BASE} AS builder [2022-05-03T01:35:07.754Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-05-03T01:35:07.754Z] 59bf1c3509f3: Pulling fs layer [2022-05-03T01:35:07.754Z] 666ba61612fd: Pulling fs layer [2022-05-03T01:35:07.754Z] 8ed8ca486205: Pulling fs layer [2022-05-03T01:35:07.754Z] 4fe6c5a15a65: Pulling fs layer [2022-05-03T01:35:07.754Z] 22a0e8bec74d: Pulling fs layer [2022-05-03T01:35:07.754Z] ca2b28591e48: Pulling fs layer [2022-05-03T01:35:07.754Z] a51346096db8: Pulling fs layer [2022-05-03T01:35:07.754Z] daebc70d1ce1: Pulling fs layer [2022-05-03T01:35:07.754Z] 0e18a0eac166: Pulling fs layer [2022-05-03T01:35:07.754Z] 22a0e8bec74d: Waiting [2022-05-03T01:35:07.754Z] 4fe6c5a15a65: Waiting [2022-05-03T01:35:07.754Z] daebc70d1ce1: Waiting [2022-05-03T01:35:07.754Z] 0e18a0eac166: Waiting [2022-05-03T01:35:07.754Z] a51346096db8: Waiting [2022-05-03T01:35:07.754Z] ca2b28591e48: Waiting [2022-05-03T01:35:07.754Z] 8ed8ca486205: Download complete [2022-05-03T01:35:08.014Z] 666ba61612fd: Download complete [2022-05-03T01:35:08.014Z] 22a0e8bec74d: Download complete [2022-05-03T01:35:08.014Z] ca2b28591e48: Verifying Checksum [2022-05-03T01:35:08.014Z] ca2b28591e48: Download complete [2022-05-03T01:35:08.014Z] 59bf1c3509f3: Verifying Checksum [2022-05-03T01:35:08.014Z] 59bf1c3509f3: Download complete [2022-05-03T01:35:08.014Z] a51346096db8: Verifying Checksum [2022-05-03T01:35:08.014Z] a51346096db8: Download complete [2022-05-03T01:35:08.014Z] daebc70d1ce1: Verifying Checksum [2022-05-03T01:35:08.014Z] daebc70d1ce1: Download complete [2022-05-03T01:35:08.014Z] 59bf1c3509f3: Pull complete [2022-05-03T01:35:08.273Z] 666ba61612fd: Pull complete [2022-05-03T01:35:08.273Z] 8ed8ca486205: Pull complete [2022-05-03T01:35:08.534Z] 0e18a0eac166: Verifying Checksum [2022-05-03T01:35:08.534Z] 0e18a0eac166: Download complete [2022-05-03T01:35:08.795Z] 4fe6c5a15a65: Verifying Checksum [2022-05-03T01:35:08.795Z] 4fe6c5a15a65: Download complete [2022-05-03T01:35:12.996Z] 4fe6c5a15a65: Pull complete [2022-05-03T01:35:12.996Z] 22a0e8bec74d: Pull complete [2022-05-03T01:35:12.996Z] ca2b28591e48: Pull complete [2022-05-03T01:35:12.996Z] a51346096db8: Pull complete [2022-05-03T01:35:13.255Z] daebc70d1ce1: Pull complete [2022-05-03T01:35:15.797Z] 0e18a0eac166: Pull complete [2022-05-03T01:35:15.797Z] Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 [2022-05-03T01:35:15.797Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-05-03T01:35:15.797Z] ---> f018257e8ee9 [2022-05-03T01:35:15.797Z] Step 3/11 : ARG MAKE=make build [2022-05-03T01:35:17.711Z] ---> Running in 2ac63413cf39 [2022-05-03T01:35:17.711Z] Removing intermediate container 2ac63413cf39 [2022-05-03T01:35:17.711Z] ---> 9da319c4688b [2022-05-03T01:35:17.711Z] Step 4/11 : WORKDIR /device-sdk-go [2022-05-03T01:35:17.711Z] ---> Running in 0524882bcf5c [2022-05-03T01:35:17.711Z] Removing intermediate container 0524882bcf5c [2022-05-03T01:35:17.711Z] ---> 4b8672460b79 [2022-05-03T01:35:17.711Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-05-03T01:35:17.711Z] ---> Running in 36e865a4e0b0 [2022-05-03T01:35:17.711Z] Removing intermediate container 36e865a4e0b0 [2022-05-03T01:35:17.711Z] ---> 37830d9bcc84 [2022-05-03T01:35:17.711Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-03T01:35:17.972Z] ---> Running in a4f8831bc0cb [2022-05-03T01:35:18.916Z] Removing intermediate container a4f8831bc0cb [2022-05-03T01:35:18.916Z] ---> 13967ca38335 [2022-05-03T01:35:18.916Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-05-03T01:35:18.916Z] ---> Running in 1ece235edf53 [2022-05-03T01:35:19.177Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-05-03T01:35:20.116Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-05-03T01:35:20.377Z] OK: 221 MiB in 52 packages [2022-05-03T01:35:20.637Z] Removing intermediate container 1ece235edf53 [2022-05-03T01:35:20.637Z] ---> 676812c41c44 [2022-05-03T01:35:20.637Z] Step 8/11 : COPY go.mod vendor* ./ [2022-05-03T01:35:20.898Z] ---> 91f9b72a6a0c [2022-05-03T01:35:20.898Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-03T01:35:20.898Z] ---> Running in af4865ce94c5 [2022-05-03T01:35:21.184Z] Still waiting to schedule task [2022-05-03T01:35:21.185Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2022-05-03T01:35:35.811Z] Removing intermediate container af4865ce94c5 [2022-05-03T01:35:35.811Z] ---> 608c099d8eef [2022-05-03T01:35:35.811Z] Step 10/11 : COPY . . [2022-05-03T01:35:36.380Z] ---> 7d819a3bfc94 [2022-05-03T01:35:36.380Z] Step 11/11 : RUN ${MAKE} [2022-05-03T01:35:36.380Z] ---> Running in cb3e7a21dbf1 [2022-05-03T01:35:36.641Z] noop [2022-05-03T01:35:36.901Z] Removing intermediate container cb3e7a21dbf1 [2022-05-03T01:35:36.901Z] ---> 0cd272fb5631 [2022-05-03T01:35:36.901Z] Successfully built 0cd272fb5631 [2022-05-03T01:35:36.901Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-05-03T01:35:37.203Z] + docker inspect -f . ci-base-image-x86_64 [2022-05-03T01:35:37.204Z] . [Pipeline] withDockerContainer [2022-05-03T01:35:37.279Z] prd-ubuntu20.04-docker-8c-8g-34639 does not seem to be running inside a container [2022-05-03T01:35:37.323Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1153 -v /w/workspace/gexfoundry_device-sdk-go_PR-1153:/w/workspace/gexfoundry_device-sdk-go_PR-1153:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1153@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1153@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-03T01:35:37.738Z] $ docker top ba031ead6ef9406f1bc0331af89d13564dfb432631c0b5956b49ed80e9cc15f4 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-03T01:35:38.107Z] + go version [2022-05-03T01:35:38.107Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-05-03T01:35:38.124Z] $ docker stop --time=1 ba031ead6ef9406f1bc0331af89d13564dfb432631c0b5956b49ed80e9cc15f4 [2022-05-03T01:35:39.402Z] $ docker rm -f ba031ead6ef9406f1bc0331af89d13564dfb432631c0b5956b49ed80e9cc15f4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-03T01:35:39.814Z] + docker inspect -f . ci-base-image-x86_64 [2022-05-03T01:35:39.814Z] . [Pipeline] withDockerContainer [2022-05-03T01:35:39.885Z] prd-ubuntu20.04-docker-8c-8g-34639 does not seem to be running inside a container [2022-05-03T01:35:39.927Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1153 -v /w/workspace/gexfoundry_device-sdk-go_PR-1153:/w/workspace/gexfoundry_device-sdk-go_PR-1153:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1153@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1153@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-03T01:35:40.340Z] $ docker top e9a22e010b5af0fe7f5f209e9152bb0549d2920bf96482e8ae628cb208eed3d2 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-05-03T01:35:40.710Z] + make test [2022-05-03T01:35:40.710Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-05-03T01:35:47.291Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-05-03T01:35:59.517Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-05-03T01:35:59.517Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-05-03T01:35:59.517Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-05-03T01:35:59.777Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.091s coverage: 23.3% of statements [2022-05-03T01:35:59.777Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-05-03T01:36:00.388Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.066s coverage: 27.6% of statements [2022-05-03T01:36:00.388Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.088s coverage: 78.9% of statements [2022-05-03T01:36:00.389Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.069s coverage: 10.8% of statements [2022-05-03T01:36:00.389Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.099s coverage: 60.0% of statements [2022-05-03T01:36:00.389Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-05-03T01:36:00.389Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-05-03T01:36:00.389Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.096s coverage: 34.8% of statements [2022-05-03T01:36:00.389Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-05-03T01:36:00.675Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.074s coverage: 86.1% of statements [2022-05-03T01:36:00.675Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-05-03T01:36:00.675Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-05-03T01:36:00.675Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.102s coverage: 65.1% of statements [2022-05-03T01:36:00.675Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.896s coverage: 89.2% of statements [2022-05-03T01:36:00.675Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-05-03T01:36:00.675Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.061s coverage: 4.7% of statements [2022-05-03T01:36:00.675Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-05-03T01:36:15.578Z] GO111MODULE=on go vet ./... [2022-05-03T01:36:19.776Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-05-03T01:36:19.776Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-05-03T01:36:20.037Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-05-03T01:36:20.624Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-05-03T01:36:20.644Z] $ docker stop --time=1 e9a22e010b5af0fe7f5f209e9152bb0549d2920bf96482e8ae628cb208eed3d2 [2022-05-03T01:36:22.939Z] $ docker rm -f e9a22e010b5af0fe7f5f209e9152bb0549d2920bf96482e8ae628cb208eed3d2 [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-03T01:36:23.454Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-05-03T01:36:23.519Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-05-03T01:36:24.018Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-05-03T01:36:24.308Z] + ls -al . [2022-05-03T01:36:24.308Z] total 296 [2022-05-03T01:36:24.308Z] drwxrwxr-x 11 jenkins jenkins 4096 May 3 01:36 . [2022-05-03T01:36:24.308Z] drwxrwxr-x 4 jenkins jenkins 4096 May 3 01:34 .. [2022-05-03T01:36:24.308Z] -rw-rw-r-- 1 jenkins jenkins 140 May 3 01:34 .dockerignore [2022-05-03T01:36:24.308Z] drwxrwxr-x 8 jenkins jenkins 4096 May 3 01:35 .git [2022-05-03T01:36:24.308Z] drwxrwxr-x 2 jenkins jenkins 4096 May 3 01:34 .github [2022-05-03T01:36:24.308Z] -rw-rw-r-- 1 jenkins jenkins 131 May 3 01:34 .gitignore [2022-05-03T01:36:24.308Z] -rw-rw-r-- 1 jenkins jenkins 42 May 3 01:34 .golangci.yml [2022-05-03T01:36:24.308Z] drwxr-xr-x 3 jenkins jenkins 4096 May 3 01:35 .semver [2022-05-03T01:36:24.308Z] -rw-rw-r-- 1 jenkins jenkins 26321 May 3 01:34 CHANGELOG.md [2022-05-03T01:36:24.308Z] -rw-rw-r-- 1 jenkins jenkins 677 May 3 01:34 GOVERNANCE.md [2022-05-03T01:36:24.308Z] -rw-rw-r-- 1 jenkins jenkins 880 May 3 01:34 Jenkinsfile [2022-05-03T01:36:24.308Z] -rw-rw-r-- 1 jenkins jenkins 11341 May 3 01:34 LICENSE [2022-05-03T01:36:24.308Z] -rw-rw-r-- 1 jenkins jenkins 2015 May 3 01:34 Makefile [2022-05-03T01:36:24.308Z] -rw-rw-r-- 1 jenkins jenkins 619 May 3 01:34 OWNERS.md [2022-05-03T01:36:24.308Z] -rw-rw-r-- 1 jenkins jenkins 4881 May 3 01:34 README.md [2022-05-03T01:36:24.308Z] -rw-rw-r-- 1 jenkins jenkins 5 May 3 01:35 VERSION [2022-05-03T01:36:24.308Z] drwxrwxr-x 2 jenkins jenkins 4096 May 3 01:34 bin [2022-05-03T01:36:24.308Z] -rw-r--r-- 1 jenkins jenkins 130819 May 3 01:36 coverage.out [2022-05-03T01:36:24.308Z] drwxrwxr-x 5 jenkins jenkins 4096 May 3 01:34 example [2022-05-03T01:36:24.308Z] -rw-rw-r-- 1 jenkins jenkins 3198 May 3 01:34 go.mod [2022-05-03T01:36:24.308Z] -rw-rw-r-- 1 jenkins jenkins 35003 May 3 01:34 go.sum [2022-05-03T01:36:24.308Z] drwxrwxr-x 15 jenkins jenkins 4096 May 3 01:34 internal [2022-05-03T01:36:24.308Z] drwxrwxr-x 3 jenkins jenkins 4096 May 3 01:34 openapi [2022-05-03T01:36:24.308Z] drwxrwxr-x 5 jenkins jenkins 4096 May 3 01:34 pkg [2022-05-03T01:36:24.308Z] drwxrwxr-x 4 jenkins jenkins 4096 May 3 01:34 snap [2022-05-03T01:36:24.308Z] -rw-rw-r-- 1 jenkins jenkins 222 May 3 01:34 version.go [Pipeline] isUnix [Pipeline] sh [2022-05-03T01:36:24.607Z] + 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=9577aecaad1baa133f119b7c6a8fec467a7c429a --label arch=amd64 --label version=0.0.0 . [2022-05-03T01:36:24.607Z] Sending build context to Docker daemon 9.821MB [2022-05-03T01:36:24.607Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-05-03T01:36:24.607Z] Step 2/25 : FROM ${BASE} AS builder [2022-05-03T01:36:24.607Z] ---> 0cd272fb5631 [2022-05-03T01:36:24.607Z] Step 3/25 : ARG MAKE=make build [2022-05-03T01:36:24.867Z] ---> Running in 76ef9c2368ff [2022-05-03T01:36:24.867Z] Removing intermediate container 76ef9c2368ff [2022-05-03T01:36:24.867Z] ---> 6db125ac97f6 [2022-05-03T01:36:24.867Z] Step 4/25 : WORKDIR /device-sdk-go [2022-05-03T01:36:24.867Z] ---> Running in ac7cf10a92e1 [2022-05-03T01:36:25.126Z] Removing intermediate container ac7cf10a92e1 [2022-05-03T01:36:25.126Z] ---> da76cc72b756 [2022-05-03T01:36:25.126Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-05-03T01:36:25.126Z] ---> Running in d82fddd20262 [2022-05-03T01:36:25.126Z] Removing intermediate container d82fddd20262 [2022-05-03T01:36:25.126Z] ---> b3ce97bc6480 [2022-05-03T01:36:25.126Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-03T01:36:25.386Z] ---> Running in 48419d70deae [2022-05-03T01:36:25.957Z] Removing intermediate container 48419d70deae [2022-05-03T01:36:25.957Z] ---> 525f85da2e78 [2022-05-03T01:36:25.957Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-05-03T01:36:25.957Z] ---> Running in c87f495b0089 [2022-05-03T01:36:26.526Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-05-03T01:36:27.096Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-05-03T01:36:27.356Z] OK: 221 MiB in 52 packages [2022-05-03T01:36:27.926Z] Removing intermediate container c87f495b0089 [2022-05-03T01:36:27.926Z] ---> 0d3d43ea2c6e [2022-05-03T01:36:27.926Z] Step 8/25 : COPY go.mod vendor* ./ [2022-05-03T01:36:27.926Z] ---> 50a368ec0fbc [2022-05-03T01:36:27.926Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-03T01:36:27.926Z] ---> Running in 98697813921d [2022-05-03T01:36:28.865Z] Removing intermediate container 98697813921d [2022-05-03T01:36:28.865Z] ---> 4ad43d8abf15 [2022-05-03T01:36:28.865Z] Step 10/25 : COPY . . [2022-05-03T01:36:29.125Z] ---> 38dfcec24aa0 [2022-05-03T01:36:29.125Z] Step 11/25 : RUN ${MAKE} [2022-05-03T01:36:29.125Z] ---> Running in 5ee5762e2e05 [2022-05-03T01:36:29.385Z] 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-03T01:36:47.478Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-05-03T01:36:50.771Z] Removing intermediate container 5ee5762e2e05 [2022-05-03T01:36:50.771Z] ---> 8b9f111a6fd0 [2022-05-03T01:36:50.771Z] Step 12/25 : FROM alpine:3.14 [2022-05-03T01:36:51.030Z] 3.14: Pulling from library/alpine [2022-05-03T01:36:51.030Z] 8663204ce13b: Pulling fs layer [2022-05-03T01:36:51.292Z] 8663204ce13b: Verifying Checksum [2022-05-03T01:36:51.292Z] 8663204ce13b: Download complete [2022-05-03T01:36:51.553Z] 8663204ce13b: Pull complete [2022-05-03T01:36:51.553Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-05-03T01:36:51.553Z] Status: Downloaded newer image for alpine:3.14 [2022-05-03T01:36:51.553Z] ---> e04c818066af [2022-05-03T01:36:51.553Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-05-03T01:36:51.553Z] ---> Running in e7a85b6e7f26 [2022-05-03T01:36:51.814Z] Removing intermediate container e7a85b6e7f26 [2022-05-03T01:36:51.814Z] ---> 2031158a0779 [2022-05-03T01:36:51.814Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-03T01:36:51.814Z] ---> Running in 4e1e6116c72d [2022-05-03T01:36:52.386Z] Removing intermediate container 4e1e6116c72d [2022-05-03T01:36:52.386Z] ---> 8480bdf6b139 [2022-05-03T01:36:52.386Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-05-03T01:36:52.386Z] ---> Running in 786e84bd5e8f [2022-05-03T01:36:52.647Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-05-03T01:36:53.593Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-05-03T01:36:53.853Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2022-05-03T01:36:53.853Z] (2/5) Installing libsodium (1.0.18-r0) [2022-05-03T01:36:54.114Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2022-05-03T01:36:54.114Z] (4/5) Installing libzmq (4.3.4-r0) [2022-05-03T01:36:54.375Z] (5/5) Installing zeromq (4.3.4-r0) [2022-05-03T01:36:54.375Z] Executing busybox-1.33.1-r7.trigger [2022-05-03T01:36:54.375Z] OK: 8 MiB in 19 packages [2022-05-03T01:36:54.641Z] Removing intermediate container 786e84bd5e8f [2022-05-03T01:36:54.641Z] ---> 3bfaa7795824 [2022-05-03T01:36:54.641Z] Step 16/25 : WORKDIR / [2022-05-03T01:36:54.904Z] ---> Running in 903c7a589def [2022-05-03T01:36:54.904Z] Removing intermediate container 903c7a589def [2022-05-03T01:36:54.904Z] ---> 3f1edb2867e1 [2022-05-03T01:36:54.904Z] Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-05-03T01:36:55.163Z] ---> 71fed08fcd32 [2022-05-03T01:36:55.163Z] Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-05-03T01:36:55.735Z] ---> 5127e5d13266 [2022-05-03T01:36:55.735Z] Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-05-03T01:36:55.735Z] ---> 5e024289e294 [2022-05-03T01:36:55.735Z] Step 20/25 : EXPOSE 59999 [2022-05-03T01:36:55.735Z] ---> Running in 733fa80eefcf [2022-05-03T01:36:55.997Z] Removing intermediate container 733fa80eefcf [2022-05-03T01:36:55.997Z] ---> d05ad926177e [2022-05-03T01:36:55.997Z] Step 21/25 : ENTRYPOINT ["/device-simple"] [2022-05-03T01:36:55.997Z] ---> Running in 77d2178d4402 [2022-05-03T01:36:55.997Z] Removing intermediate container 77d2178d4402 [2022-05-03T01:36:55.997Z] ---> 5bd7d186f06c [2022-05-03T01:36:55.997Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-05-03T01:36:55.997Z] ---> Running in 560f52260697 [2022-05-03T01:36:56.256Z] Removing intermediate container 560f52260697 [2022-05-03T01:36:56.256Z] ---> 59fad5a3e3eb [2022-05-03T01:36:56.256Z] Step 23/25 : LABEL arch=amd64 [2022-05-03T01:36:56.256Z] ---> Running in 0efaf7bc62fd [2022-05-03T01:36:56.256Z] Removing intermediate container 0efaf7bc62fd [2022-05-03T01:36:56.256Z] ---> 1a6429dfcb7c [2022-05-03T01:36:56.256Z] Step 24/25 : LABEL git_sha=9577aecaad1baa133f119b7c6a8fec467a7c429a [2022-05-03T01:36:56.256Z] ---> Running in 199ae94e155c [2022-05-03T01:36:56.519Z] Removing intermediate container 199ae94e155c [2022-05-03T01:36:56.519Z] ---> b693cc8f888b [2022-05-03T01:36:56.519Z] Step 25/25 : LABEL version=0.0.0 [2022-05-03T01:36:56.519Z] ---> Running in 67f6829929b1 [2022-05-03T01:36:56.519Z] Removing intermediate container 67f6829929b1 [2022-05-03T01:36:56.519Z] ---> d28d71e0d296 [2022-05-03T01:36:56.519Z] [Warning] One or more build-args [ARCH] were not consumed [2022-05-03T01:36:56.519Z] Successfully built d28d71e0d296 [2022-05-03T01:36:56.519Z] 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-03T01:36:56.945Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-03T01:36:56.945Z] [2022-05-03T01:36:56.945Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-05-03T01:36:57.246Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-03T01:36:57.246Z] latest: Pulling from edgex-lftools-log-publisher [2022-05-03T01:36:57.246Z] 5eb5b503b376: Pulling fs layer [2022-05-03T01:36:57.246Z] 5c69ac0246d0: Pulling fs layer [2022-05-03T01:36:57.246Z] ec43610c2a17: Pulling fs layer [2022-05-03T01:36:57.246Z] 3a2ae6a8a46f: Pulling fs layer [2022-05-03T01:36:57.246Z] 33b1e0a273af: Pulling fs layer [2022-05-03T01:36:57.246Z] 5d3b04190fa2: Pulling fs layer [2022-05-03T01:36:57.246Z] 2f39f015ded8: Pulling fs layer [2022-05-03T01:36:57.246Z] 33b1e0a273af: Waiting [2022-05-03T01:36:57.246Z] 5d3b04190fa2: Waiting [2022-05-03T01:36:57.246Z] 3a2ae6a8a46f: Waiting [2022-05-03T01:36:57.246Z] 2f39f015ded8: Waiting [2022-05-03T01:36:57.246Z] 5c69ac0246d0: Download complete [2022-05-03T01:36:57.246Z] 3a2ae6a8a46f: Download complete [2022-05-03T01:36:57.246Z] 33b1e0a273af: Verifying Checksum [2022-05-03T01:36:57.246Z] 33b1e0a273af: Download complete [2022-05-03T01:36:57.246Z] ec43610c2a17: Verifying Checksum [2022-05-03T01:36:57.246Z] ec43610c2a17: Download complete [2022-05-03T01:36:57.246Z] 5d3b04190fa2: Download complete [2022-05-03T01:36:57.505Z] 5eb5b503b376: Verifying Checksum [2022-05-03T01:36:57.505Z] 5eb5b503b376: Download complete [2022-05-03T01:36:58.071Z] 2f39f015ded8: Download complete [2022-05-03T01:36:58.639Z] 5eb5b503b376: Pull complete [2022-05-03T01:36:58.897Z] 5c69ac0246d0: Pull complete [2022-05-03T01:36:59.157Z] ec43610c2a17: Pull complete [2022-05-03T01:36:59.418Z] 3a2ae6a8a46f: Pull complete [2022-05-03T01:36:59.418Z] 33b1e0a273af: Pull complete [2022-05-03T01:36:59.678Z] 5d3b04190fa2: Pull complete [2022-05-03T01:37:03.878Z] 2f39f015ded8: Pull complete [2022-05-03T01:37:03.878Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-05-03T01:37:03.878Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-03T01:37:03.878Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-05-03T01:37:03.957Z] prd-ubuntu20.04-docker-8c-8g-34639 does not seem to be running inside a container [2022-05-03T01:37:03.999Z] $ 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-1153 -v /w/workspace/gexfoundry_device-sdk-go_PR-1153:/w/workspace/gexfoundry_device-sdk-go_PR-1153:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1153@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1153@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-03T01:37:05.977Z] $ docker top 1ff4644e9f7c101920e449df66d5ff5a06a3a392191f8dbb09c892dcfaa1511b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-03T01:37:06.378Z] ---> job-cost.sh [2022-05-03T01:37:06.378Z] lf-activate-venv: SKIPPING [2022-05-03T01:37:06.378Z] INFO: No Stack... [2022-05-03T01:37:06.639Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-05-03T01:37:07.212Z] INFO: Archiving Costs [Pipeline] sh [2022-05-03T01:37:07.507Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1153/archives/cost.csv [2022-05-03T01:37:07.507Z] + cut -d, -f6 [Pipeline] lock [2022-05-03T01:37:07.521Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1153-2-stack-cost] [2022-05-03T01:37:07.530Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1153-2-stack-cost] did not exist. Created. [2022-05-03T01:37:07.530Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1153-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-05-03T01:37:07.841Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-05-03T01:37:07.875Z] Stashed 1 file(s) [Pipeline] } [2022-05-03T01:37:07.881Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1153-2-stack-cost] [Pipeline] // lock [Pipeline] } [2022-05-03T01:37:07.906Z] $ docker stop --time=1 1ff4644e9f7c101920e449df66d5ff5a06a3a392191f8dbb09c892dcfaa1511b [2022-05-03T01:37:09.077Z] $ docker rm -f 1ff4644e9f7c101920e449df66d5ff5a06a3a392191f8dbb09c892dcfaa1511b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-05-03T01:45:04.511Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-34763 in /w/workspace/gexfoundry_device-sdk-go_PR-1153 [Pipeline] { [Pipeline] ws [2022-05-03T01:45:04.528Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2022-05-03T01:45:04.981Z] The recommended git tool is: git [2022-05-03T01:45:11.832Z] using credential edgex-jenkins-ssh [2022-05-03T01:45:11.852Z] Cloning the remote Git repository [2022-05-03T01:45:11.944Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2022-05-03T01:45:12.051Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2022-05-03T01:45:12.193Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-05-03T01:45:12.194Z] > git --version # timeout=10 [2022-05-03T01:45:12.229Z] > git --version # 'git version 2.25.1' [2022-05-03T01:45:12.233Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-05-03T01:45:12.341Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-05-03T01:45:15.001Z] Merging remotes/origin/main commit 20e4ce91bc8e43f9f92ceaa6d310556f72a8f90b into PR head commit 9577aecaad1baa133f119b7c6a8fec467a7c429a [2022-05-03T01:45:15.406Z] Merge succeeded, producing 9577aecaad1baa133f119b7c6a8fec467a7c429a [2022-05-03T01:45:15.407Z] Checking out Revision 9577aecaad1baa133f119b7c6a8fec467a7c429a (PR-1153) [2022-05-03T01:45:14.110Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-05-03T01:45:14.135Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-05-03T01:45:14.248Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-05-03T01:45:14.332Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-05-03T01:45:14.337Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-05-03T01:45:14.372Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1153/head:refs/remotes/origin/PR-1153 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-05-03T01:45:15.029Z] > git config core.sparsecheckout # timeout=10 [2022-05-03T01:45:15.063Z] > git checkout -f 9577aecaad1baa133f119b7c6a8fec467a7c429a # timeout=10 [2022-05-03T01:45:15.216Z] > git remote # timeout=10 [2022-05-03T01:45:15.247Z] > git config --get remote.origin.url # timeout=10 [2022-05-03T01:45:15.319Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-05-03T01:45:15.344Z] > git merge 20e4ce91bc8e43f9f92ceaa6d310556f72a8f90b # timeout=10 [2022-05-03T01:45:15.387Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-05-03T01:45:15.417Z] > git config core.sparsecheckout # timeout=10 [2022-05-03T01:45:15.456Z] > git checkout -f 9577aecaad1baa133f119b7c6a8fec467a7c429a # timeout=10 [2022-05-03T01:45:20.580Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-05-03T01:45:21.572Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-05-03T01:45:21.572Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-05-03T01:45:21.572Z] Dload Upload Total Spent Left Speed [2022-05-03T01:45:21.572Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 100k 0 --:--:-- --:--:-- --:--:-- 101k [Pipeline] sh [2022-05-03T01:45:22.378Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-05-03T01:45:22.749Z] + + sudo teesudo /etc/docker/daemon.new jq [2022-05-03T01:45:22.749Z] . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-05-03T01:45:22.749Z] { [2022-05-03T01:45:22.749Z] "registry-mirrors": [ [2022-05-03T01:45:22.749Z] "https://nexus3.edgexfoundry.org:10001" [2022-05-03T01:45:22.749Z] ], [2022-05-03T01:45:22.749Z] "bip": "10.250.0.254/24", [2022-05-03T01:45:22.749Z] "hosts": [ [2022-05-03T01:45:22.749Z] "tcp://0.0.0.0:5555", [2022-05-03T01:45:22.749Z] "unix:///var/run/docker.sock" [2022-05-03T01:45:22.749Z] ], [2022-05-03T01:45:22.749Z] "mtu": 1458, [2022-05-03T01:45:22.749Z] "selinux-enabled": true, [2022-05-03T01:45:22.749Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-05-03T01:45:22.749Z] } [Pipeline] sh [2022-05-03T01:45:23.150Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-05-03T01:45:23.538Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-03T01:45:41.999Z] provisioning config files... [2022-05-03T01:45:42.035Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config902185786742371130tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-03T01:45:42.425Z] ---> docker-login.sh [2022-05-03T01:45:42.425Z] nexus3.edgexfoundry.org:10001 [2022-05-03T01:45:43.035Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-03T01:45:43.318Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-03T01:45:43.318Z] Configure a credential helper to remove this warning. See [2022-05-03T01:45:43.318Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-03T01:45:43.318Z] [2022-05-03T01:45:43.318Z] Login Succeeded [2022-05-03T01:45:43.599Z] nexus3.edgexfoundry.org:10002 [2022-05-03T01:45:43.878Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-03T01:45:43.878Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-03T01:45:43.878Z] Configure a credential helper to remove this warning. See [2022-05-03T01:45:43.878Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-03T01:45:43.878Z] [2022-05-03T01:45:43.878Z] Login Succeeded [2022-05-03T01:45:43.878Z] nexus3.edgexfoundry.org:10003 [2022-05-03T01:45:44.498Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-03T01:45:44.498Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-03T01:45:44.498Z] Configure a credential helper to remove this warning. See [2022-05-03T01:45:44.498Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-03T01:45:44.498Z] [2022-05-03T01:45:44.498Z] Login Succeeded [2022-05-03T01:45:44.498Z] nexus3.edgexfoundry.org:10004 [2022-05-03T01:45:45.108Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-03T01:45:45.108Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-03T01:45:45.108Z] Configure a credential helper to remove this warning. See [2022-05-03T01:45:45.108Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-03T01:45:45.108Z] [2022-05-03T01:45:45.108Z] Login Succeeded [2022-05-03T01:45:45.108Z] docker.io [2022-05-03T01:45:45.718Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-03T01:45:45.998Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-03T01:45:45.998Z] Configure a credential helper to remove this warning. See [2022-05-03T01:45:45.998Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-03T01:45:45.998Z] [2022-05-03T01:45:45.998Z] Login Succeeded [2022-05-03T01:45:45.998Z] ---> docker-login.sh ends [Pipeline] } [2022-05-03T01:45:46.021Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-05-03T01:45:46.833Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-05-03T01:45:46.842Z] ========================================================= [2022-05-03T01:45:46.842Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-05-03T01:45:46.842Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-05-03T01:45:47.217Z] + 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-03T01:45:47.851Z] Sending build context to Docker daemon 5.219MB [2022-05-03T01:45:47.851Z] Step 1/11 : ARG BASE=golang:1.17-alpine3.15 [2022-05-03T01:45:47.851Z] Step 2/11 : FROM ${BASE} AS builder [2022-05-03T01:45:48.132Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-05-03T01:45:48.132Z] 9b3977197b4f: Pulling fs layer [2022-05-03T01:45:48.132Z] 1a89e8eeedd5: Pulling fs layer [2022-05-03T01:45:48.132Z] 94645a83ff95: Pulling fs layer [2022-05-03T01:45:48.132Z] 3f3a8bcf1eab: Pulling fs layer [2022-05-03T01:45:48.132Z] 0c92f367c5e7: Pulling fs layer [2022-05-03T01:45:48.132Z] 3096ccb668a1: Pulling fs layer [2022-05-03T01:45:48.132Z] e8cf19c19ddd: Pulling fs layer [2022-05-03T01:45:48.132Z] a4caa8a26152: Pulling fs layer [2022-05-03T01:45:48.132Z] 3f3a8bcf1eab: Waiting [2022-05-03T01:45:48.132Z] e8cf19c19ddd: Waiting [2022-05-03T01:45:48.132Z] 0c92f367c5e7: Waiting [2022-05-03T01:45:48.132Z] a4caa8a26152: Waiting [2022-05-03T01:45:48.132Z] 3096ccb668a1: Waiting [2022-05-03T01:45:48.132Z] 94645a83ff95: Verifying Checksum [2022-05-03T01:45:48.132Z] 94645a83ff95: Download complete [2022-05-03T01:45:48.132Z] 1a89e8eeedd5: Verifying Checksum [2022-05-03T01:45:48.132Z] 1a89e8eeedd5: Download complete [2022-05-03T01:45:48.132Z] 0c92f367c5e7: Verifying Checksum [2022-05-03T01:45:48.132Z] 0c92f367c5e7: Download complete [2022-05-03T01:45:48.132Z] 3096ccb668a1: Verifying Checksum [2022-05-03T01:45:48.132Z] 3096ccb668a1: Download complete [2022-05-03T01:45:48.132Z] 9b3977197b4f: Verifying Checksum [2022-05-03T01:45:48.132Z] 9b3977197b4f: Download complete [2022-05-03T01:45:48.414Z] e8cf19c19ddd: Verifying Checksum [2022-05-03T01:45:48.414Z] e8cf19c19ddd: Download complete [2022-05-03T01:45:49.413Z] 9b3977197b4f: Pull complete [2022-05-03T01:45:50.037Z] 1a89e8eeedd5: Pull complete [2022-05-03T01:45:50.316Z] 94645a83ff95: Pull complete [2022-05-03T01:45:50.596Z] a4caa8a26152: Verifying Checksum [2022-05-03T01:45:50.596Z] a4caa8a26152: Download complete [2022-05-03T01:45:51.209Z] 3f3a8bcf1eab: Verifying Checksum [2022-05-03T01:45:51.210Z] 3f3a8bcf1eab: Download complete [2022-05-03T01:46:06.374Z] 3f3a8bcf1eab: Pull complete [2022-05-03T01:46:06.374Z] 0c92f367c5e7: Pull complete [2022-05-03T01:46:06.374Z] 3096ccb668a1: Pull complete [2022-05-03T01:46:06.374Z] e8cf19c19ddd: Pull complete [2022-05-03T01:46:13.375Z] a4caa8a26152: Pull complete [2022-05-03T01:46:13.375Z] Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 [2022-05-03T01:46:13.375Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-05-03T01:46:13.653Z] ---> 725f1c02e7f9 [2022-05-03T01:46:13.653Z] Step 3/11 : ARG MAKE=make build [2022-05-03T01:46:14.655Z] ---> Running in 675a20cd28dd [2022-05-03T01:46:14.930Z] Removing intermediate container 675a20cd28dd [2022-05-03T01:46:14.930Z] ---> ff46366eedb6 [2022-05-03T01:46:14.930Z] Step 4/11 : WORKDIR /device-sdk-go [2022-05-03T01:46:14.930Z] ---> Running in 0df0e8f4b906 [2022-05-03T01:46:15.204Z] Removing intermediate container 0df0e8f4b906 [2022-05-03T01:46:15.204Z] ---> d9e46e97ebf7 [2022-05-03T01:46:15.204Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-05-03T01:46:15.484Z] ---> Running in e2af585a7c1b [2022-05-03T01:46:15.762Z] Removing intermediate container e2af585a7c1b [2022-05-03T01:46:15.762Z] ---> c8f07ed6c27b [2022-05-03T01:46:15.762Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-03T01:46:15.762Z] ---> Running in 6f2018f2f1a2 [2022-05-03T01:46:17.765Z] Removing intermediate container 6f2018f2f1a2 [2022-05-03T01:46:17.766Z] ---> e93533fff265 [2022-05-03T01:46:17.766Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-05-03T01:46:17.766Z] ---> Running in 68e73f95a249 [2022-05-03T01:46:18.757Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-05-03T01:46:19.741Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-05-03T01:46:20.736Z] OK: 220 MiB in 52 packages [2022-05-03T01:46:21.732Z] Removing intermediate container 68e73f95a249 [2022-05-03T01:46:21.732Z] ---> da12d0778e2b [2022-05-03T01:46:21.732Z] Step 8/11 : COPY go.mod vendor* ./ [2022-05-03T01:46:22.336Z] ---> 5aac473e800a [2022-05-03T01:46:22.336Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-03T01:46:22.336Z] ---> Running in 005fbfa4c19f [2022-05-03T01:47:09.346Z] Removing intermediate container 005fbfa4c19f [2022-05-03T01:47:09.346Z] ---> 1f408ffb154b [2022-05-03T01:47:09.346Z] Step 10/11 : COPY . . [2022-05-03T01:47:09.622Z] ---> 3e20183fe11d [2022-05-03T01:47:09.622Z] Step 11/11 : RUN ${MAKE} [2022-05-03T01:47:09.622Z] ---> Running in eff5d6adc5c7 [2022-05-03T01:47:10.610Z] noop [2022-05-03T01:47:11.212Z] Removing intermediate container eff5d6adc5c7 [2022-05-03T01:47:11.212Z] ---> e100c7126d33 [2022-05-03T01:47:11.487Z] Successfully built e100c7126d33 [2022-05-03T01:47:11.487Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-05-03T01:47:11.841Z] + docker inspect -f . ci-base-image-arm64 [2022-05-03T01:47:11.841Z] . [Pipeline] withDockerContainer [2022-05-03T01:47:12.085Z] prd-ubuntu20.04-docker-arm64-4c-16g-34763 does not seem to be running inside a container [2022-05-03T01:47:12.174Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@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-03T01:47:13.519Z] $ docker top a0b1e568c0ae93b51507002ce5baa3e77b3ea5e31d94dcfcef254280f9ea99b3 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-03T01:47:14.438Z] + go version [2022-05-03T01:47:14.438Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-05-03T01:47:14.467Z] $ docker stop --time=1 a0b1e568c0ae93b51507002ce5baa3e77b3ea5e31d94dcfcef254280f9ea99b3 [2022-05-03T01:47:16.169Z] $ docker rm -f a0b1e568c0ae93b51507002ce5baa3e77b3ea5e31d94dcfcef254280f9ea99b3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-03T01:47:16.838Z] + docker inspect -f . ci-base-image-arm64 [2022-05-03T01:47:16.838Z] . [Pipeline] withDockerContainer [2022-05-03T01:47:17.114Z] prd-ubuntu20.04-docker-arm64-4c-16g-34763 does not seem to be running inside a container [2022-05-03T01:47:17.216Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@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-03T01:47:18.640Z] $ docker top 257b1b9c240b9b30820ed8f43bc6797fb64f8835abbbc37325eddc6cfc9351f5 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-05-03T01:47:19.579Z] + make test [2022-05-03T01:47:19.579Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-05-03T01:47:51.943Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-05-03T01:49:58.912Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-05-03T01:49:58.912Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-05-03T01:49:58.912Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-05-03T01:49:58.912Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.409s coverage: 23.3% of statements [2022-05-03T01:49:58.912Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-05-03T01:49:58.912Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.326s coverage: 27.6% of statements [2022-05-03T01:49:58.912Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.359s coverage: 78.9% of statements [2022-05-03T01:49:58.912Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.349s coverage: 10.8% of statements [2022-05-03T01:50:05.737Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.572s coverage: 60.0% of statements [2022-05-03T01:50:05.737Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-05-03T01:50:05.737Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-05-03T01:50:09.180Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.467s coverage: 34.8% of statements [2022-05-03T01:50:09.180Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-05-03T01:50:09.180Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.334s coverage: 86.1% of statements [2022-05-03T01:50:09.180Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-05-03T01:50:09.180Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-05-03T01:50:10.173Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.511s coverage: 65.1% of statements [2022-05-03T01:50:14.523Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.548s coverage: 89.2% of statements [2022-05-03T01:50:14.523Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-05-03T01:50:17.203Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.274s coverage: 4.7% of statements [2022-05-03T01:50:17.203Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-05-03T01:50:17.865Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-05-03T01:50:17.865Z] GO111MODULE=on go vet ./... [2022-05-03T01:52:09.935Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-05-03T01:52:09.935Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-05-03T01:52:09.935Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-05-03T01:52:09.961Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-05-03T01:52:09.980Z] $ docker stop --time=1 257b1b9c240b9b30820ed8f43bc6797fb64f8835abbbc37325eddc6cfc9351f5 [2022-05-03T01:52:11.785Z] $ docker rm -f 257b1b9c240b9b30820ed8f43bc6797fb64f8835abbbc37325eddc6cfc9351f5 [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-03T01:52:13.298Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-05-03T01:52:13.321Z] Warning: overwriting stash ‘coverage-report’ [2022-05-03T01:52:14.012Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-05-03T01:52:14.425Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-05-03T01:52:14.766Z] + ls -al . [2022-05-03T01:52:14.766Z] total 292 [2022-05-03T01:52:14.766Z] drwxrwxr-x 10 jenkins jenkins 4096 May 3 01:52 . [2022-05-03T01:52:14.766Z] drwxrwxr-x 4 jenkins jenkins 4096 May 3 01:45 .. [2022-05-03T01:52:14.767Z] -rw-rw-r-- 1 jenkins jenkins 140 May 3 01:45 .dockerignore [2022-05-03T01:52:14.767Z] drwxrwxr-x 8 jenkins jenkins 4096 May 3 01:45 .git [2022-05-03T01:52:14.767Z] drwxrwxr-x 2 jenkins jenkins 4096 May 3 01:45 .github [2022-05-03T01:52:14.767Z] -rw-rw-r-- 1 jenkins jenkins 131 May 3 01:45 .gitignore [2022-05-03T01:52:14.767Z] -rw-rw-r-- 1 jenkins jenkins 42 May 3 01:45 .golangci.yml [2022-05-03T01:52:14.767Z] -rw-rw-r-- 1 jenkins jenkins 26321 May 3 01:45 CHANGELOG.md [2022-05-03T01:52:14.767Z] -rw-rw-r-- 1 jenkins jenkins 677 May 3 01:45 GOVERNANCE.md [2022-05-03T01:52:14.767Z] -rw-rw-r-- 1 jenkins jenkins 880 May 3 01:45 Jenkinsfile [2022-05-03T01:52:14.767Z] -rw-rw-r-- 1 jenkins jenkins 11341 May 3 01:45 LICENSE [2022-05-03T01:52:14.767Z] -rw-rw-r-- 1 jenkins jenkins 2015 May 3 01:45 Makefile [2022-05-03T01:52:14.767Z] -rw-rw-r-- 1 jenkins jenkins 619 May 3 01:45 OWNERS.md [2022-05-03T01:52:14.767Z] -rw-rw-r-- 1 jenkins jenkins 4881 May 3 01:45 README.md [2022-05-03T01:52:14.767Z] -rw-rw-r-- 1 jenkins jenkins 5 May 3 01:35 VERSION [2022-05-03T01:52:14.767Z] drwxrwxr-x 2 jenkins jenkins 4096 May 3 01:45 bin [2022-05-03T01:52:14.767Z] -rw-r--r-- 1 jenkins jenkins 130819 May 3 01:50 coverage.out [2022-05-03T01:52:14.767Z] drwxrwxr-x 5 jenkins jenkins 4096 May 3 01:45 example [2022-05-03T01:52:14.767Z] -rw-rw-r-- 1 jenkins jenkins 3198 May 3 01:45 go.mod [2022-05-03T01:52:14.767Z] -rw-rw-r-- 1 jenkins jenkins 35003 May 3 01:45 go.sum [2022-05-03T01:52:14.767Z] drwxrwxr-x 15 jenkins jenkins 4096 May 3 01:45 internal [2022-05-03T01:52:14.767Z] drwxrwxr-x 3 jenkins jenkins 4096 May 3 01:45 openapi [2022-05-03T01:52:14.767Z] drwxrwxr-x 5 jenkins jenkins 4096 May 3 01:45 pkg [2022-05-03T01:52:14.767Z] drwxrwxr-x 4 jenkins jenkins 4096 May 3 01:45 snap [2022-05-03T01:52:14.767Z] -rw-rw-r-- 1 jenkins jenkins 222 May 3 01:45 version.go [Pipeline] isUnix [Pipeline] sh [2022-05-03T01:52:15.112Z] + 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=9577aecaad1baa133f119b7c6a8fec467a7c429a --label arch=arm64 --label version=0.0.0 . [2022-05-03T01:52:15.716Z] Sending build context to Docker daemon 5.351MB [2022-05-03T01:52:15.716Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-05-03T01:52:15.716Z] Step 2/25 : FROM ${BASE} AS builder [2022-05-03T01:52:15.716Z] ---> e100c7126d33 [2022-05-03T01:52:15.716Z] Step 3/25 : ARG MAKE=make build [2022-05-03T01:52:15.716Z] ---> Running in 9f66beb346fc [2022-05-03T01:52:16.316Z] Removing intermediate container 9f66beb346fc [2022-05-03T01:52:16.316Z] ---> 16960222505e [2022-05-03T01:52:16.316Z] Step 4/25 : WORKDIR /device-sdk-go [2022-05-03T01:52:16.316Z] ---> Running in f5deb510ca6f [2022-05-03T01:52:16.589Z] Removing intermediate container f5deb510ca6f [2022-05-03T01:52:16.589Z] ---> 8e6961b5ae3b [2022-05-03T01:52:16.589Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-05-03T01:52:16.589Z] ---> Running in 6aba92d04791 [2022-05-03T01:52:17.185Z] Removing intermediate container 6aba92d04791 [2022-05-03T01:52:17.185Z] ---> 165865286e97 [2022-05-03T01:52:17.185Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-03T01:52:17.185Z] ---> Running in 9f4dc7d89d06 [2022-05-03T01:52:19.163Z] Removing intermediate container 9f4dc7d89d06 [2022-05-03T01:52:19.163Z] ---> e997ab7addc6 [2022-05-03T01:52:19.163Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-05-03T01:52:19.163Z] ---> Running in e66dd12d4c5e [2022-05-03T01:52:20.138Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-05-03T01:52:21.117Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-05-03T01:52:22.095Z] OK: 220 MiB in 52 packages [2022-05-03T01:52:22.689Z] Removing intermediate container e66dd12d4c5e [2022-05-03T01:52:22.689Z] ---> dadd7014f479 [2022-05-03T01:52:22.689Z] Step 8/25 : COPY go.mod vendor* ./ [2022-05-03T01:52:23.282Z] ---> a926beb3bd05 [2022-05-03T01:52:23.282Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-03T01:52:23.282Z] ---> Running in 299a0839037a [2022-05-03T01:52:25.266Z] Removing intermediate container 299a0839037a [2022-05-03T01:52:25.266Z] ---> 9980d736306f [2022-05-03T01:52:25.266Z] Step 10/25 : COPY . . [2022-05-03T01:52:26.692Z] ---> f83a965414d0 [2022-05-03T01:52:26.692Z] Step 11/25 : RUN ${MAKE} [2022-05-03T01:52:26.692Z] ---> Running in b90935fd3aeb [2022-05-03T01:52:27.675Z] 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-03T01:54:49.613Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-05-03T01:54:52.232Z] Removing intermediate container b90935fd3aeb [2022-05-03T01:54:52.232Z] ---> 622f8d41f153 [2022-05-03T01:54:52.232Z] Step 12/25 : FROM alpine:3.14 [2022-05-03T01:54:52.828Z] 3.14: Pulling from library/alpine [2022-05-03T01:54:53.100Z] 455c02918c45: Pulling fs layer [2022-05-03T01:54:53.373Z] 455c02918c45: Verifying Checksum [2022-05-03T01:54:53.373Z] 455c02918c45: Download complete [2022-05-03T01:54:53.972Z] 455c02918c45: Pull complete [2022-05-03T01:54:53.972Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-05-03T01:54:53.972Z] Status: Downloaded newer image for alpine:3.14 [2022-05-03T01:54:53.972Z] ---> ac73e934f311 [2022-05-03T01:54:53.972Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-05-03T01:54:53.972Z] ---> Running in 7953752c171a [2022-05-03T01:54:54.243Z] Removing intermediate container 7953752c171a [2022-05-03T01:54:54.243Z] ---> 7ec175d50305 [2022-05-03T01:54:54.243Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-03T01:54:54.519Z] ---> Running in b6b0bb5bbe64 [2022-05-03T01:54:56.492Z] Removing intermediate container b6b0bb5bbe64 [2022-05-03T01:54:56.492Z] ---> 7964bcb38517 [2022-05-03T01:54:56.492Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-05-03T01:54:56.492Z] ---> Running in 0807f8425d5d [2022-05-03T01:54:57.085Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-05-03T01:54:58.057Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-05-03T01:54:59.034Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2022-05-03T01:54:59.034Z] (2/5) Installing libsodium (1.0.18-r0) [2022-05-03T01:54:59.308Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2022-05-03T01:54:59.308Z] (4/5) Installing libzmq (4.3.4-r0) [2022-05-03T01:54:59.583Z] (5/5) Installing zeromq (4.3.4-r0) [2022-05-03T01:54:59.583Z] Executing busybox-1.33.1-r7.trigger [2022-05-03T01:54:59.583Z] OK: 8 MiB in 19 packages [2022-05-03T01:55:00.568Z] Removing intermediate container 0807f8425d5d [2022-05-03T01:55:00.568Z] ---> d04fdc8b4c8d [2022-05-03T01:55:00.568Z] Step 16/25 : WORKDIR / [2022-05-03T01:55:00.568Z] ---> Running in 94a825e6eed3 [2022-05-03T01:55:00.844Z] Removing intermediate container 94a825e6eed3 [2022-05-03T01:55:00.844Z] ---> 8e60e37c04ba [2022-05-03T01:55:00.844Z] Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-05-03T01:55:01.441Z] ---> be49aa261ada [2022-05-03T01:55:01.441Z] Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-05-03T01:55:03.418Z] ---> e1444adfa62d [2022-05-03T01:55:03.418Z] Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-05-03T01:55:03.693Z] ---> 3927f8832da0 [2022-05-03T01:55:03.693Z] Step 20/25 : EXPOSE 59999 [2022-05-03T01:55:03.693Z] ---> Running in 11ef218b560f [2022-05-03T01:55:04.290Z] Removing intermediate container 11ef218b560f [2022-05-03T01:55:04.290Z] ---> 1fc074db7538 [2022-05-03T01:55:04.290Z] Step 21/25 : ENTRYPOINT ["/device-simple"] [2022-05-03T01:55:04.290Z] ---> Running in 1c5ffe86dce8 [2022-05-03T01:55:04.562Z] Removing intermediate container 1c5ffe86dce8 [2022-05-03T01:55:04.562Z] ---> dec992895a19 [2022-05-03T01:55:04.562Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-05-03T01:55:04.562Z] ---> Running in a9d6e77a55b9 [2022-05-03T01:55:04.838Z] Removing intermediate container a9d6e77a55b9 [2022-05-03T01:55:04.838Z] ---> d92372891ba9 [2022-05-03T01:55:04.838Z] Step 23/25 : LABEL arch=arm64 [2022-05-03T01:55:05.128Z] ---> Running in c3b3d4f09165 [2022-05-03T01:55:05.402Z] Removing intermediate container c3b3d4f09165 [2022-05-03T01:55:05.402Z] ---> 465c3b35b5c1 [2022-05-03T01:55:05.402Z] Step 24/25 : LABEL git_sha=9577aecaad1baa133f119b7c6a8fec467a7c429a [2022-05-03T01:55:05.402Z] ---> Running in 73e12b5745e7 [2022-05-03T01:55:05.673Z] Removing intermediate container 73e12b5745e7 [2022-05-03T01:55:05.673Z] ---> dc601c86f74e [2022-05-03T01:55:05.673Z] Step 25/25 : LABEL version=0.0.0 [2022-05-03T01:55:05.673Z] ---> Running in 42f0ea35a8eb [2022-05-03T01:55:05.946Z] Removing intermediate container 42f0ea35a8eb [2022-05-03T01:55:05.946Z] ---> 2108cc584ffc [2022-05-03T01:55:05.946Z] [Warning] One or more build-args [ARCH] were not consumed [2022-05-03T01:55:06.217Z] Successfully built 2108cc584ffc [2022-05-03T01:55:06.217Z] 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-03T01:55:06.672Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-03T01:55:06.672Z] [2022-05-03T01:55:06.672Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-05-03T01:55:07.025Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-03T01:55:07.303Z] arm64: Pulling from edgex-lftools-log-publisher [2022-05-03T01:55:07.303Z] 8998bd30e6a1: Pulling fs layer [2022-05-03T01:55:07.303Z] 04944245beec: Pulling fs layer [2022-05-03T01:55:07.303Z] 699f458cf7ca: Pulling fs layer [2022-05-03T01:55:07.303Z] 765212b225bb: Pulling fs layer [2022-05-03T01:55:07.303Z] f23df028b6ca: Pulling fs layer [2022-05-03T01:55:07.303Z] d65c8cfc05b1: Pulling fs layer [2022-05-03T01:55:07.303Z] 2437ff75d9bd: Pulling fs layer [2022-05-03T01:55:07.303Z] f23df028b6ca: Waiting [2022-05-03T01:55:07.303Z] d65c8cfc05b1: Waiting [2022-05-03T01:55:07.303Z] 765212b225bb: Waiting [2022-05-03T01:55:07.303Z] 2437ff75d9bd: Waiting [2022-05-03T01:55:07.303Z] 04944245beec: Verifying Checksum [2022-05-03T01:55:07.303Z] 04944245beec: Download complete [2022-05-03T01:55:07.303Z] 765212b225bb: Verifying Checksum [2022-05-03T01:55:07.303Z] 765212b225bb: Download complete [2022-05-03T01:55:07.303Z] f23df028b6ca: Download complete [2022-05-03T01:55:07.303Z] d65c8cfc05b1: Verifying Checksum [2022-05-03T01:55:07.303Z] d65c8cfc05b1: Download complete [2022-05-03T01:55:07.638Z] 699f458cf7ca: Verifying Checksum [2022-05-03T01:55:07.638Z] 699f458cf7ca: Download complete [2022-05-03T01:55:08.006Z] 8998bd30e6a1: Verifying Checksum [2022-05-03T01:55:08.006Z] 8998bd30e6a1: Download complete [2022-05-03T01:55:10.695Z] 2437ff75d9bd: Verifying Checksum [2022-05-03T01:55:10.695Z] 2437ff75d9bd: Download complete [2022-05-03T01:55:13.315Z] 8998bd30e6a1: Pull complete [2022-05-03T01:55:13.588Z] 04944245beec: Pull complete [2022-05-03T01:55:15.566Z] 699f458cf7ca: Pull complete [2022-05-03T01:55:15.566Z] 765212b225bb: Pull complete [2022-05-03T01:55:16.545Z] f23df028b6ca: Pull complete [2022-05-03T01:55:16.820Z] d65c8cfc05b1: Pull complete [2022-05-03T01:55:35.127Z] 2437ff75d9bd: Pull complete [2022-05-03T01:55:35.127Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-05-03T01:55:35.127Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-03T01:55:35.127Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-05-03T01:55:35.398Z] prd-ubuntu20.04-docker-arm64-4c-16g-34763 does not seem to be running inside a container [2022-05-03T01:55:35.489Z] $ 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/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@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-03T01:55:38.559Z] $ docker top 7f75c048885bd7f7203f53dea0e15d644f82d25ae19fd4041b671e0ca6f03c45 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-03T01:55:39.494Z] ---> job-cost.sh [2022-05-03T01:55:39.494Z] lf-activate-venv: SKIPPING [2022-05-03T01:55:39.494Z] INFO: No Stack... [2022-05-03T01:55:40.085Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-05-03T01:55:40.676Z] INFO: Archiving Costs [Pipeline] sh [2022-05-03T01:55:41.333Z] + cat /w/workspace/device-sdk-go/2/archives/cost.csv [2022-05-03T01:55:41.333Z] + cut -d, -f6 [Pipeline] lock [2022-05-03T01:55:41.399Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1153-2-stack-cost] [2022-05-03T01:55:41.404Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1153-2-stack-cost] did not exist. Created. [2022-05-03T01:55:41.404Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1153-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-05-03T01:55:42.075Z] /w/workspace/device-sdk-go/2@tmp/durable-5280de73/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-05-03T01:55:42.751Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-05-03T01:55:42.777Z] Warning: overwriting stash ‘stack-cost’ [2022-05-03T01:55:42.838Z] Stashed 1 file(s) [Pipeline] } [2022-05-03T01:55:42.845Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1153-2-stack-cost] [Pipeline] // lock [Pipeline] } [2022-05-03T01:55:42.866Z] $ docker stop --time=1 7f75c048885bd7f7203f53dea0e15d644f82d25ae19fd4041b671e0ca6f03c45 [2022-05-03T01:55:44.369Z] $ docker rm -f 7f75c048885bd7f7203f53dea0e15d644f82d25ae19fd4041b671e0ca6f03c45 [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-03T01:55:44.807Z] provisioning config files... [2022-05-03T01:55:44.817Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1153@tmp/config5356847430341784166tmp [Pipeline] { [Pipeline] sh [2022-05-03T01:55:45.115Z] + set +x [2022-05-03T01:55:45.115Z] + curl -s https://codecov.io/bash [2022-05-03T01:55:45.115Z] + bash -s -- [2022-05-03T01:55:45.115Z] [2022-05-03T01:55:45.115Z] _____ _ [2022-05-03T01:55:45.115Z] / ____| | | [2022-05-03T01:55:45.115Z] | | ___ __| | ___ ___ _____ __ [2022-05-03T01:55:45.115Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-05-03T01:55:45.115Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-05-03T01:55:45.115Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-05-03T01:55:45.115Z] Bash-1.0.6 [2022-05-03T01:55:45.115Z] [2022-05-03T01:55:45.115Z] [2022-05-03T01:55:45.115Z] ==> git version 2.25.1 found [2022-05-03T01:55:45.115Z] ==> 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-03T01:55:45.115Z] Release-Date: 2020-01-08 [2022-05-03T01:55:45.115Z] 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-03T01:55:45.115Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-05-03T01:55:45.115Z] ==> Jenkins CI detected. [2022-05-03T01:55:45.115Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1153 [2022-05-03T01:55:45.115Z] project root: . [2022-05-03T01:55:45.115Z] --> token set from env [2022-05-03T01:55:45.115Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-05-03T01:55:45.115Z] ==> Running gcov in . (disable via -X gcov) [2022-05-03T01:55:45.115Z] ==> Python coveragepy not found [2022-05-03T01:55:45.115Z] ==> Searching for coverage reports in: [2022-05-03T01:55:45.115Z] + . [2022-05-03T01:55:45.115Z] -> Found 1 reports [2022-05-03T01:55:45.115Z] ==> Detecting git/mercurial file structure [2022-05-03T01:55:45.115Z] ==> Reading reports [2022-05-03T01:55:45.115Z] + ./coverage.out bytes=130819 [2022-05-03T01:55:45.115Z] ==> Appending adjustments [2022-05-03T01:55:45.115Z] https://docs.codecov.io/docs/fixing-reports [2022-05-03T01:55:45.374Z] + Found adjustments [2022-05-03T01:55:45.374Z] ==> Gzipping contents [2022-05-03T01:55:45.374Z] 20K /tmp/codecov.tnvkf0.gz [2022-05-03T01:55:45.374Z] ==> Uploading reports [2022-05-03T01:55:45.374Z] url: https://codecov.io [2022-05-03T01:55:45.374Z] query: branch=PR-1153&commit=9577aecaad1baa133f119b7c6a8fec467a7c429a&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1153%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1153&job=&cmd_args= [2022-05-03T01:55:45.374Z] -> Pinging Codecov [2022-05-03T01:55:45.374Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1153&commit=9577aecaad1baa133f119b7c6a8fec467a7c429a&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1153%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1153&job=&cmd_args= [2022-05-03T01:55:45.633Z] -> Uploading to [2022-05-03T01:55:45.633Z] https://storage.googleapis.com/codecov/v4/raw/2022-05-03/7E55EF52A471D76F132DFD9A03CDDE97/9577aecaad1baa133f119b7c6a8fec467a7c429a/993d7fc6-d747-40a9-a993-dae612748705.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220503%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220503T015545Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=1e709e14e1f9da65e5ee6358daa88c8b2d396663678168817a5739f018f76fe6 [2022-05-03T01:55:45.891Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-05-03T01:55:45.891Z] Dload Upload Total Spent Left Speed [2022-05-03T01:55:45.891Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16800 0 0 100 16800 0 77777 --:--:-- --:--:-- --:--:-- 77777 [2022-05-03T01:55:45.891Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/9577aecaad1baa133f119b7c6a8fec467a7c429a [Pipeline] } [2022-05-03T01:55:45.897Z] 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-03T01:55:46.611Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1153/archives ] [2022-05-03T01:55:46.611Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1153/archives [2022-05-03T01:55:46.611Z] total 16 [2022-05-03T01:55:46.611Z] drwxr-xr-x 3 root root 4096 May 3 01:37 . [2022-05-03T01:55:46.611Z] drwxrwxr-x 12 jenkins jenkins 4096 May 3 01:37 .. [2022-05-03T01:55:46.611Z] drwxr-xr-x 2 root root 4096 May 3 01:37 cost [2022-05-03T01:55:46.611Z] -rw-r--r-- 1 root root 85 May 3 01:37 cost.csv [2022-05-03T01:55:46.611Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1153/archives [2022-05-03T01:55:46.611Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1153/archives [2022-05-03T01:55:46.611Z] total 16 [2022-05-03T01:55:46.611Z] drwxr-xr-x 3 jenkins jenkins 4096 May 3 01:37 . [2022-05-03T01:55:46.611Z] drwxrwxr-x 12 jenkins jenkins 4096 May 3 01:37 .. [2022-05-03T01:55:46.611Z] drwxr-xr-x 2 jenkins jenkins 4096 May 3 01:37 cost [2022-05-03T01:55:46.611Z] -rw-r--r-- 1 jenkins jenkins 85 May 3 01:37 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-05-03T01:55:46.906Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-03T01:55:47.768Z] ---> package-listing.sh [2022-05-03T01:55:47.768Z] ++ facter osfamily [2022-05-03T01:55:47.768Z] ++ tr '[:upper:]' '[:lower:]' [2022-05-03T01:55:48.029Z] + OS_FAMILY=debian [2022-05-03T01:55:48.029Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1153 [2022-05-03T01:55:48.029Z] + START_PACKAGES=/tmp/packages_start.txt [2022-05-03T01:55:48.029Z] + END_PACKAGES=/tmp/packages_end.txt [2022-05-03T01:55:48.029Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-05-03T01:55:48.029Z] + PACKAGES=/tmp/packages_start.txt [2022-05-03T01:55:48.029Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1153 ']' [2022-05-03T01:55:48.029Z] + PACKAGES=/tmp/packages_end.txt [2022-05-03T01:55:48.029Z] + case "${OS_FAMILY}" in [2022-05-03T01:55:48.029Z] + dpkg -l [2022-05-03T01:55:48.029Z] + grep '^ii' [2022-05-03T01:55:48.029Z] + '[' -f /tmp/packages_start.txt ']' [2022-05-03T01:55:48.029Z] + '[' -f /tmp/packages_end.txt ']' [2022-05-03T01:55:48.029Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-05-03T01:55:48.029Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1153 ']' [2022-05-03T01:55:48.029Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1153/archives/ [2022-05-03T01:55:48.029Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1153/archives/ [Pipeline] echo [2022-05-03T01:55:48.044Z] 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-1153/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-05-03T01:55:48.329Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-05-03T01:55:48.888Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-03T01:55:48.889Z] . [Pipeline] withDockerContainer [2022-05-03T01:55:48.966Z] prd-ubuntu20.04-docker-8c-8g-34639 does not seem to be running inside a container [2022-05-03T01:55:49.006Z] $ 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-1153/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-1153 -v /w/workspace/gexfoundry_device-sdk-go_PR-1153:/w/workspace/gexfoundry_device-sdk-go_PR-1153:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1153@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1153@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-03T01:55:49.263Z] $ docker top 3cc27ca1dec64faab94ceea245546162663e8ff7a48d2a4da4ece377c893d0e4 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-03T01:55:49.635Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-05-03T01:55:49.928Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-05-03T01:55:50.226Z] + ls /var/log/sa-host [2022-05-03T01:55:50.226Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-03T01:55:50.313Z] provisioning config files... [2022-05-03T01:55:50.324Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1153@tmp/config2677954667765085961tmp [Pipeline] { [Pipeline] echo [2022-05-03T01:55:50.340Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-03T01:55:50.633Z] ---> create-netrc.sh [Pipeline] } [2022-05-03T01:55:50.641Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-05-03T01:55:50.979Z] ---> python-tools-install.sh [Pipeline] echo [2022-05-03T01:55:50.988Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-03T01:55:51.277Z] ---> sudo-logs.sh [2022-05-03T01:55:51.277Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-05-03T01:55:51.300Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-03T01:55:51.588Z] ---> job-cost.sh [2022-05-03T01:55:51.588Z] lf-activate-venv: SKIPPING [2022-05-03T01:55:51.588Z] DEBUG: total: 0.2199999988079071 [2022-05-03T01:55:51.588Z] INFO: Retrieving Stack Cost... [2022-05-03T01:55:52.159Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-05-03T01:55:52.418Z] INFO: Archiving Costs [Pipeline] echo [2022-05-03T01:55:52.432Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-03T01:55:52.721Z] ---> logs-deploy.sh [2022-05-03T01:55:52.721Z] lf-activate-venv: SKIPPING [2022-05-03T01:55:52.721Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1153/2 [2022-05-03T01:55:52.721Z] INFO: archiving workspace using pattern(s): [2022-05-03T01:55:53.663Z] Archives upload complete. [2022-05-03T01:55:53.663Z] INFO: archiving logs to Nexus