Pull request #1144 event Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from e47061ae588dd9220942c8dca743ad110225dd67+a64f10ec129da673bd1db63a6bd52868e2c80f4f (ea64338776cc06e74af808b0793947462f2a5130) 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-ssh17908978737931438263.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-ssh1179500051569820390.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-1144/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1144/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh7352223012454011979.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-ssh16705605946939833718.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b3dada9287033e4e81bc68320e01fd57bef02650 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1144/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1144/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh8353944899469924351.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-33748 in /w/workspace/gexfoundry_device-sdk-go_PR-1144 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/gexfoundry_device-sdk-go_PR-1144 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit a64f10ec129da673bd1db63a6bd52868e2c80f4f into PR head commit e47061ae588dd9220942c8dca743ad110225dd67 Merge succeeded, producing e47061ae588dd9220942c8dca743ad110225dd67 Checking out Revision e47061ae588dd9220942c8dca743ad110225dd67 (PR-1144) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1144/head:refs/remotes/origin/PR-1144 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e47061ae588dd9220942c8dca743ad110225dd67 # 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 a64f10ec129da673bd1db63a6bd52868e2c80f4f # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e47061ae588dd9220942c8dca743ad110225dd67 # timeout=10 Commit message: "build(deps): bump github.com/pelletier/go-toml from 1.9.4 to 1.9.5" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { > git rev-list --no-walk b72d49ff0aa294b99fec981cfa1e65ad4433cb94 # timeout=10 [Pipeline] timeout [2022-04-28T21:23:53.372Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-04-28T21:23:53.439Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-04-28T21:23:53.460Z] ========================================================= [2022-04-28T21:23:53.460Z] EdgeX Global Pipelines Version Info [2022-04-28T21:23:53.460Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-04-28T21:23:54.245Z] ------------------- [2022-04-28T21:23:54.245Z] stable info: [2022-04-28T21:23:54.245Z] ------------------- [2022-04-28T21:23:54.245Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-04-28T21:23:54.245Z] Commit SHA: 61d3a14f5ee21304eadc9c25f102bcac80e1a589 [2022-04-28T21:23:54.245Z] Message: update stable to v1.0.227 [2022-04-28T21:23:54.815Z] ------------------- [2022-04-28T21:23:54.815Z] experimental info: [2022-04-28T21:23:54.815Z] ------------------- [2022-04-28T21:23:54.815Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-04-28T21:23:54.815Z] Commit SHA: 61d3a14f5ee21304eadc9c25f102bcac80e1a589 [2022-04-28T21:23:54.815Z] Message: update experimental to v1.0.227 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-04-28T21:23:54.947Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2022-04-28T21:23:54.964Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2022-04-28T21:23:54.980Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-04-28T21:23:54.993Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-04-28T21:23:55.006Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-04-28T21:23:55.019Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-04-28T21:23:55.032Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-04-28T21:23:55.044Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2022-04-28T21:23:55.058Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-04-28T21:23:55.070Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-04-28T21:23:55.082Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-04-28T21:23:55.096Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2022-04-28T21:23:55.114Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-04-28T21:23:55.126Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-04-28T21:23:55.138Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-04-28T21:23:55.152Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2022-04-28T21:23:55.169Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-04-28T21:23:55.181Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-04-28T21:23:55.194Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-04-28T21:23:55.210Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-04-28T21:23:55.229Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-04-28T21:23:55.249Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2022-04-28T21:23:55.268Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-04-28T21:23:55.284Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-04-28T21:23:55.295Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-04-28T21:23:55.311Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-04-28T21:23:55.322Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1144 [Pipeline] echo [2022-04-28T21:23:55.332Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1144 [Pipeline] echo [2022-04-28T21:23:55.343Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1144 [Pipeline] echo [2022-04-28T21:23:55.355Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e47061ae588dd9220942c8dca743ad110225dd67 [Pipeline] echo [2022-04-28T21:23:55.370Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e47061a [Pipeline] echo [2022-04-28T21:23:55.382Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-28T21:23:55.425Z] provisioning config files... [2022-04-28T21:23:55.438Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1144@tmp/config7481812424915952683tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-28T21:23:55.751Z] ---> docker-login.sh [2022-04-28T21:23:55.751Z] nexus3.edgexfoundry.org:10001 [2022-04-28T21:23:56.012Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-28T21:23:56.012Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-28T21:23:56.012Z] Configure a credential helper to remove this warning. See [2022-04-28T21:23:56.012Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-28T21:23:56.012Z] [2022-04-28T21:23:56.012Z] Login Succeeded [2022-04-28T21:23:56.012Z] nexus3.edgexfoundry.org:10002 [2022-04-28T21:23:56.273Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-28T21:23:56.273Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-28T21:23:56.273Z] Configure a credential helper to remove this warning. See [2022-04-28T21:23:56.273Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-28T21:23:56.273Z] [2022-04-28T21:23:56.273Z] Login Succeeded [2022-04-28T21:23:56.273Z] nexus3.edgexfoundry.org:10003 [2022-04-28T21:23:56.273Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-28T21:23:56.273Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-28T21:23:56.273Z] Configure a credential helper to remove this warning. See [2022-04-28T21:23:56.273Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-28T21:23:56.273Z] [2022-04-28T21:23:56.273Z] Login Succeeded [2022-04-28T21:23:56.273Z] nexus3.edgexfoundry.org:10004 [2022-04-28T21:23:56.534Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-28T21:23:56.534Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-28T21:23:56.534Z] Configure a credential helper to remove this warning. See [2022-04-28T21:23:56.534Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-28T21:23:56.534Z] [2022-04-28T21:23:56.534Z] Login Succeeded [2022-04-28T21:23:56.534Z] docker.io [2022-04-28T21:23:56.534Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-28T21:23:56.796Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-28T21:23:56.796Z] Configure a credential helper to remove this warning. See [2022-04-28T21:23:56.796Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-28T21:23:56.796Z] [2022-04-28T21:23:56.796Z] Login Succeeded [2022-04-28T21:23:56.796Z] ---> docker-login.sh ends [Pipeline] } [2022-04-28T21:23:56.806Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-04-28T21:23:57.172Z] + git rev-list -1 --merges e47061ae588dd9220942c8dca743ad110225dd67~1..e47061ae588dd9220942c8dca743ad110225dd67 [Pipeline] echo [2022-04-28T21:23:57.317Z] -----------> git rev-list -1 --merges e47061ae588dd9220942c8dca743ad110225dd67~1..e47061ae588dd9220942c8dca743ad110225dd67 e47061ae588dd9220942c8dca743ad110225dd67 [false] [Pipeline] sh [2022-04-28T21:23:57.611Z] + git log --format=format:%s -1 e47061ae588dd9220942c8dca743ad110225dd67 [Pipeline] echo [2022-04-28T21:23:57.629Z] ========================================================= [2022-04-28T21:23:57.629Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-04-28T21:23:57.629Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-28T21:23:57.972Z] + git log --format=format:%s -1 e47061ae588dd9220942c8dca743ad110225dd67 [Pipeline] echo [2022-04-28T21:23:57.985Z] [semverPrep] GIT_COMMIT: e47061ae588dd9220942c8dca743ad110225dd67, Commit Message: build(deps): bump github.com/pelletier/go-toml from 1.9.4 to 1.9.5 [Pipeline] echo [2022-04-28T21:23:57.996Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-04-28T21:23:58.386Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-28T21:23:58.386Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-04-28T21:23:58.386Z] + [ -e /tmp/ssh_known_hosts ] [2022-04-28T21:23:58.386Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-04-28T21:23:58.386Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-04-28T21:23:58.386Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-04-28T21:23:58.386Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-28T21:23:58.726Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-04-28T21:23:58.726Z] [2022-04-28T21:23:58.726Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-04-28T21:23:59.034Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-04-28T21:23:59.034Z] latest: Pulling from edgex-devops/py-git-semver [2022-04-28T21:23:59.034Z] 1fe172e4850f: Pulling fs layer [2022-04-28T21:23:59.034Z] caf521ccaac6: Pulling fs layer [2022-04-28T21:23:59.034Z] 3ead6fa29328: Pulling fs layer [2022-04-28T21:23:59.034Z] 5c2a1cbceb83: Pulling fs layer [2022-04-28T21:23:59.034Z] a8d5f1318db7: Pulling fs layer [2022-04-28T21:23:59.034Z] c427282e49a2: Pulling fs layer [2022-04-28T21:23:59.034Z] 1827001aaf11: Pulling fs layer [2022-04-28T21:23:59.034Z] 0714d37db230: Pulling fs layer [2022-04-28T21:23:59.034Z] ac28cf19c067: Pulling fs layer [2022-04-28T21:23:59.034Z] ca983d60f3e2: Pulling fs layer [2022-04-28T21:23:59.034Z] 9f894cec8388: Pulling fs layer [2022-04-28T21:23:59.034Z] 1827001aaf11: Waiting [2022-04-28T21:23:59.034Z] 0714d37db230: Waiting [2022-04-28T21:23:59.034Z] 5c2a1cbceb83: Waiting [2022-04-28T21:23:59.034Z] a8d5f1318db7: Waiting [2022-04-28T21:23:59.034Z] 9f894cec8388: Waiting [2022-04-28T21:23:59.034Z] c427282e49a2: Waiting [2022-04-28T21:23:59.034Z] caf521ccaac6: Verifying Checksum [2022-04-28T21:23:59.034Z] caf521ccaac6: Download complete [2022-04-28T21:23:59.034Z] 5c2a1cbceb83: Download complete [2022-04-28T21:23:59.297Z] a8d5f1318db7: Verifying Checksum [2022-04-28T21:23:59.297Z] a8d5f1318db7: Download complete [2022-04-28T21:23:59.297Z] c427282e49a2: Verifying Checksum [2022-04-28T21:23:59.297Z] c427282e49a2: Download complete [2022-04-28T21:23:59.297Z] 3ead6fa29328: Verifying Checksum [2022-04-28T21:23:59.297Z] 3ead6fa29328: Download complete [2022-04-28T21:23:59.297Z] 0714d37db230: Verifying Checksum [2022-04-28T21:23:59.297Z] 0714d37db230: Download complete [2022-04-28T21:23:59.297Z] ac28cf19c067: Verifying Checksum [2022-04-28T21:23:59.297Z] ac28cf19c067: Download complete [2022-04-28T21:23:59.297Z] ca983d60f3e2: Verifying Checksum [2022-04-28T21:23:59.297Z] ca983d60f3e2: Download complete [2022-04-28T21:23:59.297Z] 9f894cec8388: Download complete [2022-04-28T21:23:59.297Z] 1fe172e4850f: Verifying Checksum [2022-04-28T21:23:59.297Z] 1fe172e4850f: Download complete [2022-04-28T21:23:59.556Z] 1827001aaf11: Verifying Checksum [2022-04-28T21:23:59.556Z] 1827001aaf11: Download complete [2022-04-28T21:24:00.939Z] 1fe172e4850f: Pull complete [2022-04-28T21:24:00.940Z] caf521ccaac6: Pull complete [2022-04-28T21:24:01.201Z] 3ead6fa29328: Pull complete [2022-04-28T21:24:01.462Z] 5c2a1cbceb83: Pull complete [2022-04-28T21:24:01.722Z] a8d5f1318db7: Pull complete [2022-04-28T21:24:01.722Z] c427282e49a2: Pull complete [2022-04-28T21:24:03.626Z] 1827001aaf11: Pull complete [2022-04-28T21:24:03.626Z] 0714d37db230: Pull complete [2022-04-28T21:24:03.626Z] ac28cf19c067: Pull complete [2022-04-28T21:24:03.626Z] ca983d60f3e2: Pull complete [2022-04-28T21:24:03.892Z] 9f894cec8388: Pull complete [2022-04-28T21:24:03.892Z] Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee [2022-04-28T21:24:03.892Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-04-28T21:24:03.892Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] withDockerContainer [2022-04-28T21:24:03.974Z] prd-ubuntu20.04-docker-8c-8g-33748 does not seem to be running inside a container [2022-04-28T21:24:04.024Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1144 -v /w/workspace/gexfoundry_device-sdk-go_PR-1144:/w/workspace/gexfoundry_device-sdk-go_PR-1144:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1144@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1144@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat [2022-04-28T21:24:05.496Z] $ docker top a4d4b9a94eaf9b4c22894a17db5131f7e25c900a58cecebc136d3d61c272b959 -eo pid,comm [2022-04-28T21:24:05.556Z] 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-04-28T21:24:05.556Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-28T21:24:05.596Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-28T21:24:05.596Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-28T21:24:05.733Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-28T21:24:05.743Z] $ docker exec a4d4b9a94eaf9b4c22894a17db5131f7e25c900a58cecebc136d3d61c272b959 ssh-agent [2022-04-28T21:24:05.867Z] SSH_AUTH_SOCK=/tmp/ssh-vdh9kLUb5vqo/agent.33 [2022-04-28T21:24:05.867Z] SSH_AGENT_PID=40 [2022-04-28T21:24:05.879Z] Running ssh-add (command line suppressed) [2022-04-28T21:24:06.014Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1144@tmp/private_key_2590056899884885096.key (/w/workspace/gexfoundry_device-sdk-go_PR-1144@tmp/private_key_2590056899884885096.key) [2022-04-28T21:24:06.025Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-28T21:24:06.322Z] + git tag --points-at HEAD [Pipeline] } [2022-04-28T21:24:06.342Z] $ docker exec --env ******** --env ******** a4d4b9a94eaf9b4c22894a17db5131f7e25c900a58cecebc136d3d61c272b959 ssh-agent -k [2022-04-28T21:24:06.455Z] unset SSH_AUTH_SOCK; [2022-04-28T21:24:06.456Z] unset SSH_AGENT_PID; [2022-04-28T21:24:06.456Z] echo Agent pid 40 killed; [2022-04-28T21:24:06.460Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-04-28T21:24:06.484Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-28T21:24:06.484Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-28T21:24:06.611Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-28T21:24:06.620Z] $ docker exec a4d4b9a94eaf9b4c22894a17db5131f7e25c900a58cecebc136d3d61c272b959 ssh-agent [2022-04-28T21:24:06.743Z] SSH_AUTH_SOCK=/tmp/ssh-skKtyprnx0mH/agent.74 [2022-04-28T21:24:06.743Z] SSH_AGENT_PID=80 [2022-04-28T21:24:06.748Z] Running ssh-add (command line suppressed) [2022-04-28T21:24:06.871Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1144@tmp/private_key_310507662501568902.key (/w/workspace/gexfoundry_device-sdk-go_PR-1144@tmp/private_key_310507662501568902.key) [2022-04-28T21:24:06.880Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-28T21:24:07.175Z] + git semver init [2022-04-28T21:24:07.436Z] 2022-04-28 21:24:07,381 [run_init] DEBUG init version:0.0.0 force:False [2022-04-28T21:24:07.436Z] 2022-04-28 21:24:07,382 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1144/.semver [2022-04-28T21:24:07.436Z] 2022-04-28 21:24:07,383 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1144/.semver [2022-04-28T21:24:07.436Z] 2022-04-28 21:24:07,383 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1144/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1144, universal_newlines=False, shell=None, istream=None) [2022-04-28T21:24:08.376Z] 2022-04-28 21:24:08,270 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1144/.git/info/exclude [2022-04-28T21:24:08.376Z] 2022-04-28 21:24:08,271 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1144/.semver/PR-1144 with force:False [2022-04-28T21:24:08.376Z] 2022-04-28 21:24:08,271 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1144/.semver/PR-1144 [2022-04-28T21:24:08.376Z] 2022-04-28 21:24:08,274 [execute] INFO git cat-file --batch-check [2022-04-28T21:24:08.376Z] 2022-04-28 21:24:08,274 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1144/.semver, universal_newlines=False, shell=None, istream=) [2022-04-28T21:24:08.376Z] 2022-04-28 21:24:08,281 [execute] INFO git cat-file --batch [2022-04-28T21:24:08.376Z] 2022-04-28 21:24:08,282 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1144/.semver, universal_newlines=False, shell=None, istream=) [2022-04-28T21:24:08.376Z] 2022-04-28 21:24:08,286 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1144/.semver/PR-1144 [2022-04-28T21:24:08.376Z] 0.0.0 [Pipeline] } [2022-04-28T21:24:08.392Z] $ docker exec --env ******** --env ******** a4d4b9a94eaf9b4c22894a17db5131f7e25c900a58cecebc136d3d61c272b959 ssh-agent -k [2022-04-28T21:24:08.497Z] unset SSH_AUTH_SOCK; [2022-04-28T21:24:08.498Z] unset SSH_AGENT_PID; [2022-04-28T21:24:08.498Z] echo Agent pid 80 killed; [2022-04-28T21:24:08.506Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-28T21:24:08.814Z] + git semver [Pipeline] } [2022-04-28T21:24:09.094Z] $ docker stop --time=1 a4d4b9a94eaf9b4c22894a17db5131f7e25c900a58cecebc136d3d61c272b959 [2022-04-28T21:24:10.400Z] $ docker rm -f a4d4b9a94eaf9b4c22894a17db5131f7e25c900a58cecebc136d3d61c272b959 [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-28T21:24:10.750Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-04-28T21:24:11.012Z] Stashed 1 file(s) [Pipeline] echo [2022-04-28T21:24:11.015Z] [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-04-28T21:24:11.151Z] provisioning config files... [2022-04-28T21:24:11.162Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1144@tmp/config6368603717285968223tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-28T21:24:11.476Z] ---> docker-login.sh [2022-04-28T21:24:11.476Z] nexus3.edgexfoundry.org:10001 [2022-04-28T21:24:11.476Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-28T21:24:11.476Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-28T21:24:11.476Z] Configure a credential helper to remove this warning. See [2022-04-28T21:24:11.476Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-28T21:24:11.476Z] [2022-04-28T21:24:11.476Z] Login Succeeded [2022-04-28T21:24:11.476Z] nexus3.edgexfoundry.org:10002 [2022-04-28T21:24:11.476Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-28T21:24:11.737Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-28T21:24:11.737Z] Configure a credential helper to remove this warning. See [2022-04-28T21:24:11.737Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-28T21:24:11.737Z] [2022-04-28T21:24:11.737Z] Login Succeeded [2022-04-28T21:24:11.737Z] nexus3.edgexfoundry.org:10003 [2022-04-28T21:24:11.737Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-28T21:24:11.737Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-28T21:24:11.737Z] Configure a credential helper to remove this warning. See [2022-04-28T21:24:11.737Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-28T21:24:11.737Z] [2022-04-28T21:24:11.737Z] Login Succeeded [2022-04-28T21:24:11.737Z] nexus3.edgexfoundry.org:10004 [2022-04-28T21:24:11.999Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-28T21:24:11.999Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-28T21:24:11.999Z] Configure a credential helper to remove this warning. See [2022-04-28T21:24:11.999Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-28T21:24:11.999Z] [2022-04-28T21:24:11.999Z] Login Succeeded [2022-04-28T21:24:11.999Z] docker.io [2022-04-28T21:24:11.999Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-28T21:24:12.259Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-28T21:24:12.259Z] Configure a credential helper to remove this warning. See [2022-04-28T21:24:12.259Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-28T21:24:12.259Z] [2022-04-28T21:24:12.259Z] Login Succeeded [2022-04-28T21:24:12.259Z] ---> docker-login.sh ends [Pipeline] } [2022-04-28T21:24:12.267Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-28T21:24:12.332Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-28T21:24:12.342Z] ========================================================= [2022-04-28T21:24:12.342Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-04-28T21:24:12.342Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-28T21:24:12.654Z] + 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-04-28T21:24:12.654Z] Sending build context to Docker daemon 9.677MB [2022-04-28T21:24:12.654Z] Step 1/11 : ARG BASE=golang:1.17-alpine3.15 [2022-04-28T21:24:12.654Z] Step 2/11 : FROM ${BASE} AS builder [2022-04-28T21:24:12.654Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-04-28T21:24:12.654Z] 59bf1c3509f3: Pulling fs layer [2022-04-28T21:24:12.654Z] 666ba61612fd: Pulling fs layer [2022-04-28T21:24:12.654Z] 8ed8ca486205: Pulling fs layer [2022-04-28T21:24:12.654Z] 4fe6c5a15a65: Pulling fs layer [2022-04-28T21:24:12.654Z] 22a0e8bec74d: Pulling fs layer [2022-04-28T21:24:12.654Z] ca2b28591e48: Pulling fs layer [2022-04-28T21:24:12.654Z] a51346096db8: Pulling fs layer [2022-04-28T21:24:12.654Z] daebc70d1ce1: Pulling fs layer [2022-04-28T21:24:12.654Z] 0e18a0eac166: Pulling fs layer [2022-04-28T21:24:12.654Z] 4fe6c5a15a65: Waiting [2022-04-28T21:24:12.654Z] 22a0e8bec74d: Waiting [2022-04-28T21:24:12.654Z] ca2b28591e48: Waiting [2022-04-28T21:24:12.654Z] a51346096db8: Waiting [2022-04-28T21:24:12.654Z] daebc70d1ce1: Waiting [2022-04-28T21:24:12.654Z] 0e18a0eac166: Waiting [2022-04-28T21:24:12.915Z] 8ed8ca486205: Verifying Checksum [2022-04-28T21:24:12.915Z] 8ed8ca486205: Download complete [2022-04-28T21:24:12.915Z] 666ba61612fd: Download complete [2022-04-28T21:24:12.915Z] 22a0e8bec74d: Download complete [2022-04-28T21:24:12.915Z] ca2b28591e48: Verifying Checksum [2022-04-28T21:24:12.915Z] ca2b28591e48: Download complete [2022-04-28T21:24:12.915Z] 59bf1c3509f3: Verifying Checksum [2022-04-28T21:24:12.915Z] a51346096db8: Download complete [2022-04-28T21:24:12.915Z] daebc70d1ce1: Verifying Checksum [2022-04-28T21:24:12.915Z] daebc70d1ce1: Download complete [2022-04-28T21:24:12.915Z] 59bf1c3509f3: Pull complete [2022-04-28T21:24:13.180Z] 666ba61612fd: Pull complete [2022-04-28T21:24:13.180Z] 8ed8ca486205: Pull complete [2022-04-28T21:24:13.443Z] 0e18a0eac166: Verifying Checksum [2022-04-28T21:24:13.443Z] 0e18a0eac166: Download complete [2022-04-28T21:24:13.704Z] 4fe6c5a15a65: Verifying Checksum [2022-04-28T21:24:13.704Z] 4fe6c5a15a65: Download complete [2022-04-28T21:24:17.904Z] 4fe6c5a15a65: Pull complete [2022-04-28T21:24:17.904Z] 22a0e8bec74d: Pull complete [2022-04-28T21:24:17.904Z] ca2b28591e48: Pull complete [2022-04-28T21:24:17.904Z] a51346096db8: Pull complete [2022-04-28T21:24:17.904Z] daebc70d1ce1: Pull complete [2022-04-28T21:24:19.829Z] 0e18a0eac166: Pull complete [2022-04-28T21:24:19.829Z] Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 [2022-04-28T21:24:19.829Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-04-28T21:24:19.829Z] ---> f018257e8ee9 [2022-04-28T21:24:19.829Z] Step 3/11 : ARG MAKE=make build [2022-04-28T21:24:21.214Z] ---> Running in 4b495c283880 [2022-04-28T21:24:21.214Z] Removing intermediate container 4b495c283880 [2022-04-28T21:24:21.214Z] ---> 56e3605925af [2022-04-28T21:24:21.214Z] Step 4/11 : WORKDIR /device-sdk-go [2022-04-28T21:24:21.214Z] ---> Running in 72488eebb4e4 [2022-04-28T21:24:21.214Z] Removing intermediate container 72488eebb4e4 [2022-04-28T21:24:21.214Z] ---> c1ff54d9f5c2 [2022-04-28T21:24:21.214Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-04-28T21:24:21.214Z] ---> Running in e3bbdd7049fe [2022-04-28T21:24:21.473Z] Removing intermediate container e3bbdd7049fe [2022-04-28T21:24:21.473Z] ---> 75960cc110ca [2022-04-28T21:24:21.473Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-28T21:24:21.473Z] ---> Running in 1a1ede2610d7 [2022-04-28T21:24:22.045Z] Removing intermediate container 1a1ede2610d7 [2022-04-28T21:24:22.045Z] ---> 81910bf467b5 [2022-04-28T21:24:22.045Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-04-28T21:24:22.045Z] ---> Running in f76fa03645ee [2022-04-28T21:24:22.306Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-28T21:24:23.246Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-28T21:24:23.508Z] OK: 221 MiB in 52 packages [2022-04-28T21:24:23.769Z] Removing intermediate container f76fa03645ee [2022-04-28T21:24:23.769Z] ---> 67210c5d3fba [2022-04-28T21:24:23.769Z] Step 8/11 : COPY go.mod vendor* ./ [2022-04-28T21:24:23.770Z] ---> 939e172162a3 [2022-04-28T21:24:23.770Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-28T21:24:24.031Z] ---> Running in 2e829edd5d16 [2022-04-28T21:24:26.107Z] Still waiting to schedule task [2022-04-28T21:24:26.107Z] ‘prd-ubuntu20.04-docker-8c-8g-33751’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2022-04-28T21:24:26.107Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-33750’ is offline [2022-04-28T21:24:38.933Z] Removing intermediate container 2e829edd5d16 [2022-04-28T21:24:38.933Z] ---> aad7a52ca335 [2022-04-28T21:24:38.933Z] Step 10/11 : COPY . . [2022-04-28T21:24:38.933Z] ---> acbb7eb91579 [2022-04-28T21:24:38.933Z] Step 11/11 : RUN ${MAKE} [2022-04-28T21:24:38.933Z] ---> Running in 44d2465b83ad [2022-04-28T21:24:38.933Z] noop [2022-04-28T21:24:38.933Z] Removing intermediate container 44d2465b83ad [2022-04-28T21:24:38.933Z] ---> 8e97b3878b23 [2022-04-28T21:24:38.933Z] Successfully built 8e97b3878b23 [2022-04-28T21:24:38.933Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-28T21:24:39.228Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-28T21:24:39.228Z] . [Pipeline] withDockerContainer [2022-04-28T21:24:39.292Z] prd-ubuntu20.04-docker-8c-8g-33748 does not seem to be running inside a container [2022-04-28T21:24:39.332Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1144 -v /w/workspace/gexfoundry_device-sdk-go_PR-1144:/w/workspace/gexfoundry_device-sdk-go_PR-1144:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1144@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1144@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-04-28T21:24:39.704Z] $ docker top baba9d51f2fffcb6bf39a47969f607a5dda3cf79bac2b939cddb3ce89fa84755 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-28T21:24:40.048Z] + go version [2022-04-28T21:24:40.048Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-04-28T21:24:40.066Z] $ docker stop --time=1 baba9d51f2fffcb6bf39a47969f607a5dda3cf79bac2b939cddb3ce89fa84755 [2022-04-28T21:24:41.374Z] $ docker rm -f baba9d51f2fffcb6bf39a47969f607a5dda3cf79bac2b939cddb3ce89fa84755 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-28T21:24:41.807Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-28T21:24:41.807Z] . [Pipeline] withDockerContainer [2022-04-28T21:24:41.898Z] prd-ubuntu20.04-docker-8c-8g-33748 does not seem to be running inside a container [2022-04-28T21:24:41.960Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1144 -v /w/workspace/gexfoundry_device-sdk-go_PR-1144:/w/workspace/gexfoundry_device-sdk-go_PR-1144:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1144@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1144@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-04-28T21:24:42.372Z] $ docker top ac824efc90ce023953de88051e46c336590b88267812289b5b7ccfc0a06725cc -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-28T21:24:42.740Z] + make test [2022-04-28T21:24:42.740Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-04-28T21:24:48.034Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-04-28T21:25:02.923Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-04-28T21:25:02.923Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-04-28T21:25:02.923Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-04-28T21:25:02.923Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.059s coverage: 23.3% of statements [2022-04-28T21:25:02.923Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-04-28T21:25:02.923Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.061s coverage: 27.6% of statements [2022-04-28T21:25:02.923Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.062s coverage: 78.9% of statements [2022-04-28T21:25:02.923Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.087s coverage: 10.8% of statements [2022-04-28T21:25:02.923Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.098s coverage: 60.0% of statements [2022-04-28T21:25:02.923Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-04-28T21:25:02.923Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-04-28T21:25:02.923Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.079s coverage: 34.8% of statements [2022-04-28T21:25:02.923Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-04-28T21:25:02.923Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.064s coverage: 86.1% of statements [2022-04-28T21:25:02.923Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-04-28T21:25:02.923Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-04-28T21:25:02.923Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.101s coverage: 65.1% of statements [2022-04-28T21:25:02.923Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.779s coverage: 89.2% of statements [2022-04-28T21:25:02.923Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-04-28T21:25:02.923Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.059s coverage: 4.7% of statements [2022-04-28T21:25:02.923Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-04-28T21:25:17.815Z] GO111MODULE=on go vet ./... [2022-04-28T21:25:21.102Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-28T21:25:21.102Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-28T21:25:21.102Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-04-28T21:25:21.684Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-04-28T21:25:21.701Z] $ docker stop --time=1 ac824efc90ce023953de88051e46c336590b88267812289b5b7ccfc0a06725cc [2022-04-28T21:25:23.804Z] $ docker rm -f ac824efc90ce023953de88051e46c336590b88267812289b5b7ccfc0a06725cc [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-28T21:25:24.301Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-04-28T21:25:24.366Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-04-28T21:25:24.863Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-04-28T21:25:25.150Z] + ls -al . [2022-04-28T21:25:25.150Z] total 296 [2022-04-28T21:25:25.150Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 28 21:25 . [2022-04-28T21:25:25.150Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 28 21:23 .. [2022-04-28T21:25:25.150Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 28 21:23 .dockerignore [2022-04-28T21:25:25.150Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 28 21:24 .git [2022-04-28T21:25:25.150Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 28 21:23 .github [2022-04-28T21:25:25.150Z] -rw-rw-r-- 1 jenkins jenkins 131 Apr 28 21:23 .gitignore [2022-04-28T21:25:25.150Z] -rw-rw-r-- 1 jenkins jenkins 42 Apr 28 21:23 .golangci.yml [2022-04-28T21:25:25.150Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 28 21:24 .semver [2022-04-28T21:25:25.150Z] -rw-rw-r-- 1 jenkins jenkins 26321 Apr 28 21:23 CHANGELOG.md [2022-04-28T21:25:25.150Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 28 21:23 GOVERNANCE.md [2022-04-28T21:25:25.150Z] -rw-rw-r-- 1 jenkins jenkins 880 Apr 28 21:23 Jenkinsfile [2022-04-28T21:25:25.150Z] -rw-rw-r-- 1 jenkins jenkins 11341 Apr 28 21:23 LICENSE [2022-04-28T21:25:25.150Z] -rw-rw-r-- 1 jenkins jenkins 2015 Apr 28 21:23 Makefile [2022-04-28T21:25:25.150Z] -rw-rw-r-- 1 jenkins jenkins 619 Apr 28 21:23 OWNERS.md [2022-04-28T21:25:25.150Z] -rw-rw-r-- 1 jenkins jenkins 4881 Apr 28 21:23 README.md [2022-04-28T21:25:25.150Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 28 21:24 VERSION [2022-04-28T21:25:25.150Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 28 21:23 bin [2022-04-28T21:25:25.150Z] -rw-r--r-- 1 jenkins jenkins 130819 Apr 28 21:25 coverage.out [2022-04-28T21:25:25.150Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 28 21:23 example [2022-04-28T21:25:25.150Z] -rw-rw-r-- 1 jenkins jenkins 3198 Apr 28 21:23 go.mod [2022-04-28T21:25:25.150Z] -rw-rw-r-- 1 jenkins jenkins 34976 Apr 28 21:23 go.sum [2022-04-28T21:25:25.150Z] drwxrwxr-x 15 jenkins jenkins 4096 Apr 28 21:23 internal [2022-04-28T21:25:25.150Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 28 21:23 openapi [2022-04-28T21:25:25.150Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 28 21:23 pkg [2022-04-28T21:25:25.150Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 28 21:23 snap [2022-04-28T21:25:25.150Z] -rw-rw-r-- 1 jenkins jenkins 222 Apr 28 21:23 version.go [Pipeline] isUnix [Pipeline] sh [2022-04-28T21:25:25.447Z] + 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=e47061ae588dd9220942c8dca743ad110225dd67 --label arch=amd64 --label version=0.0.0 . [2022-04-28T21:25:25.447Z] Sending build context to Docker daemon 9.809MB [2022-04-28T21:25:25.447Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-04-28T21:25:25.447Z] Step 2/25 : FROM ${BASE} AS builder [2022-04-28T21:25:25.447Z] ---> 8e97b3878b23 [2022-04-28T21:25:25.447Z] Step 3/25 : ARG MAKE=make build [2022-04-28T21:25:25.710Z] ---> Running in 4d8a10802721 [2022-04-28T21:25:25.710Z] Removing intermediate container 4d8a10802721 [2022-04-28T21:25:25.710Z] ---> 3b35be1e64e6 [2022-04-28T21:25:25.710Z] Step 4/25 : WORKDIR /device-sdk-go [2022-04-28T21:25:25.710Z] ---> Running in 2c2a72ee9e1a [2022-04-28T21:25:25.710Z] Removing intermediate container 2c2a72ee9e1a [2022-04-28T21:25:25.710Z] ---> e4fb1e2e1467 [2022-04-28T21:25:25.710Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-04-28T21:25:25.970Z] ---> Running in 4c61cfd586d7 [2022-04-28T21:25:25.970Z] Removing intermediate container 4c61cfd586d7 [2022-04-28T21:25:25.970Z] ---> 455112843f51 [2022-04-28T21:25:25.970Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-28T21:25:25.970Z] ---> Running in 8e6259270e17 [2022-04-28T21:25:26.541Z] Removing intermediate container 8e6259270e17 [2022-04-28T21:25:26.541Z] ---> d66db4badcfb [2022-04-28T21:25:26.541Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-04-28T21:25:26.541Z] ---> Running in 2c4485a3d996 [2022-04-28T21:25:26.801Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-28T21:25:27.740Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-28T21:25:27.999Z] OK: 221 MiB in 52 packages [2022-04-28T21:25:28.258Z] Removing intermediate container 2c4485a3d996 [2022-04-28T21:25:28.258Z] ---> ddea0f78ef7a [2022-04-28T21:25:28.258Z] Step 8/25 : COPY go.mod vendor* ./ [2022-04-28T21:25:28.518Z] ---> a8e5e6a1dc9a [2022-04-28T21:25:28.518Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-28T21:25:28.518Z] ---> Running in d7102a805847 [2022-04-28T21:25:29.088Z] Removing intermediate container d7102a805847 [2022-04-28T21:25:29.088Z] ---> 890c89d972cf [2022-04-28T21:25:29.088Z] Step 10/25 : COPY . . [2022-04-28T21:25:29.347Z] ---> 4f357a2155f9 [2022-04-28T21:25:29.347Z] Step 11/25 : RUN ${MAKE} [2022-04-28T21:25:29.608Z] ---> Running in f98d848f92ea [2022-04-28T21:25:29.867Z] 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-04-28T21:25:47.982Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-04-28T21:25:48.921Z] Removing intermediate container f98d848f92ea [2022-04-28T21:25:48.921Z] ---> b8be4aadd80e [2022-04-28T21:25:48.921Z] Step 12/25 : FROM alpine:3.14 [2022-04-28T21:25:49.492Z] 3.14: Pulling from library/alpine [2022-04-28T21:25:49.492Z] 8663204ce13b: Pulling fs layer [2022-04-28T21:25:49.763Z] 8663204ce13b: Verifying Checksum [2022-04-28T21:25:49.763Z] 8663204ce13b: Download complete [2022-04-28T21:25:49.763Z] 8663204ce13b: Pull complete [2022-04-28T21:25:49.763Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-04-28T21:25:49.763Z] Status: Downloaded newer image for alpine:3.14 [2022-04-28T21:25:49.763Z] ---> e04c818066af [2022-04-28T21:25:49.763Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-04-28T21:25:50.026Z] ---> Running in aae0005a1b0d [2022-04-28T21:25:50.026Z] Removing intermediate container aae0005a1b0d [2022-04-28T21:25:50.026Z] ---> 513c58e789ec [2022-04-28T21:25:50.026Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-28T21:25:50.026Z] ---> Running in d41872adb37a [2022-04-28T21:25:50.611Z] Removing intermediate container d41872adb37a [2022-04-28T21:25:50.611Z] ---> 834a1f21663f [2022-04-28T21:25:50.611Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-04-28T21:25:50.873Z] ---> Running in 38a4fe14444b [2022-04-28T21:25:51.141Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-04-28T21:25:51.712Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-04-28T21:25:52.284Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2022-04-28T21:25:52.284Z] (2/5) Installing libsodium (1.0.18-r0) [2022-04-28T21:25:52.284Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2022-04-28T21:25:52.284Z] (4/5) Installing libzmq (4.3.4-r0) [2022-04-28T21:25:52.545Z] (5/5) Installing zeromq (4.3.4-r0) [2022-04-28T21:25:52.545Z] Executing busybox-1.33.1-r7.trigger [2022-04-28T21:25:52.545Z] OK: 8 MiB in 19 packages [2022-04-28T21:25:53.116Z] Removing intermediate container 38a4fe14444b [2022-04-28T21:25:53.116Z] ---> c98f2c1f03f8 [2022-04-28T21:25:53.116Z] Step 16/25 : WORKDIR / [2022-04-28T21:25:53.116Z] ---> Running in 238b8f1f6107 [2022-04-28T21:25:53.116Z] Removing intermediate container 238b8f1f6107 [2022-04-28T21:25:53.116Z] ---> f1cbec59e52c [2022-04-28T21:25:53.116Z] Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-04-28T21:25:53.377Z] ---> bb661e10b834 [2022-04-28T21:25:53.377Z] Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-04-28T21:25:53.948Z] ---> fd85681122d0 [2022-04-28T21:25:53.948Z] Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-04-28T21:25:53.948Z] ---> 6aecbedd1da4 [2022-04-28T21:25:53.948Z] Step 20/25 : EXPOSE 59999 [2022-04-28T21:25:53.948Z] ---> Running in 62d2ec0ba847 [2022-04-28T21:25:54.208Z] Removing intermediate container 62d2ec0ba847 [2022-04-28T21:25:54.208Z] ---> ed5a8e74384b [2022-04-28T21:25:54.208Z] Step 21/25 : ENTRYPOINT ["/device-simple"] [2022-04-28T21:25:54.208Z] ---> Running in de6c6a4124c2 [2022-04-28T21:25:54.208Z] Removing intermediate container de6c6a4124c2 [2022-04-28T21:25:54.208Z] ---> e989fe852c56 [2022-04-28T21:25:54.208Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-04-28T21:25:54.208Z] ---> Running in e56b7509e8cd [2022-04-28T21:25:54.467Z] Removing intermediate container e56b7509e8cd [2022-04-28T21:25:54.467Z] ---> 5012aecee728 [2022-04-28T21:25:54.467Z] Step 23/25 : LABEL arch=amd64 [2022-04-28T21:25:54.467Z] ---> Running in 2d84d82cbae6 [2022-04-28T21:25:54.467Z] Removing intermediate container 2d84d82cbae6 [2022-04-28T21:25:54.467Z] ---> c55444a86b3d [2022-04-28T21:25:54.467Z] Step 24/25 : LABEL git_sha=e47061ae588dd9220942c8dca743ad110225dd67 [2022-04-28T21:25:54.727Z] ---> Running in 866419a3de3b [2022-04-28T21:25:54.727Z] Removing intermediate container 866419a3de3b [2022-04-28T21:25:54.727Z] ---> 34bbcfe3ba20 [2022-04-28T21:25:54.727Z] Step 25/25 : LABEL version=0.0.0 [2022-04-28T21:25:54.727Z] ---> Running in ed3f08b68220 [2022-04-28T21:25:54.727Z] Removing intermediate container ed3f08b68220 [2022-04-28T21:25:54.727Z] ---> f8423b5d39fa [2022-04-28T21:25:54.727Z] [Warning] One or more build-args [ARCH] were not consumed [2022-04-28T21:25:54.727Z] Successfully built f8423b5d39fa [2022-04-28T21:25:54.727Z] 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-04-28T21:25:55.123Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-28T21:25:55.123Z] [2022-04-28T21:25:55.123Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-04-28T21:25:55.433Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-28T21:25:55.433Z] latest: Pulling from edgex-lftools-log-publisher [2022-04-28T21:25:55.433Z] 5eb5b503b376: Pulling fs layer [2022-04-28T21:25:55.433Z] 5c69ac0246d0: Pulling fs layer [2022-04-28T21:25:55.433Z] ec43610c2a17: Pulling fs layer [2022-04-28T21:25:55.433Z] 3a2ae6a8a46f: Pulling fs layer [2022-04-28T21:25:55.433Z] 33b1e0a273af: Pulling fs layer [2022-04-28T21:25:55.433Z] 5d3b04190fa2: Pulling fs layer [2022-04-28T21:25:55.433Z] 2f39f015ded8: Pulling fs layer [2022-04-28T21:25:55.433Z] 3a2ae6a8a46f: Waiting [2022-04-28T21:25:55.433Z] 5d3b04190fa2: Waiting [2022-04-28T21:25:55.433Z] 2f39f015ded8: Waiting [2022-04-28T21:25:55.433Z] 33b1e0a273af: Waiting [2022-04-28T21:25:55.433Z] 5c69ac0246d0: Download complete [2022-04-28T21:25:55.433Z] 3a2ae6a8a46f: Verifying Checksum [2022-04-28T21:25:55.433Z] 3a2ae6a8a46f: Download complete [2022-04-28T21:25:55.433Z] 33b1e0a273af: Verifying Checksum [2022-04-28T21:25:55.433Z] 33b1e0a273af: Download complete [2022-04-28T21:25:55.433Z] 5d3b04190fa2: Download complete [2022-04-28T21:25:55.433Z] ec43610c2a17: Verifying Checksum [2022-04-28T21:25:55.433Z] ec43610c2a17: Download complete [2022-04-28T21:25:55.691Z] 5eb5b503b376: Verifying Checksum [2022-04-28T21:25:55.691Z] 5eb5b503b376: Download complete [2022-04-28T21:25:56.259Z] 2f39f015ded8: Verifying Checksum [2022-04-28T21:25:56.259Z] 2f39f015ded8: Download complete [2022-04-28T21:25:56.825Z] 5eb5b503b376: Pull complete [2022-04-28T21:25:56.825Z] 5c69ac0246d0: Pull complete [2022-04-28T21:25:57.394Z] ec43610c2a17: Pull complete [2022-04-28T21:25:57.394Z] 3a2ae6a8a46f: Pull complete [2022-04-28T21:25:57.654Z] 33b1e0a273af: Pull complete [2022-04-28T21:25:57.654Z] 5d3b04190fa2: Pull complete [2022-04-28T21:26:01.848Z] 2f39f015ded8: Pull complete [2022-04-28T21:26:01.848Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-04-28T21:26:01.848Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-28T21:26:01.848Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-04-28T21:26:01.911Z] prd-ubuntu20.04-docker-8c-8g-33748 does not seem to be running inside a container [2022-04-28T21:26:01.953Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-sdk-go_PR-1144 -v /w/workspace/gexfoundry_device-sdk-go_PR-1144:/w/workspace/gexfoundry_device-sdk-go_PR-1144:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1144@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1144@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-04-28T21:26:03.371Z] $ docker top ccbd766a8e9e87755c238d50d2163acbc2e94ef40562195f50b003095a0bd657 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-28T21:26:03.757Z] ---> job-cost.sh [2022-04-28T21:26:03.757Z] lf-activate-venv: SKIPPING [2022-04-28T21:26:03.757Z] INFO: No Stack... [2022-04-28T21:26:04.024Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-28T21:26:04.593Z] INFO: Archiving Costs [Pipeline] sh [2022-04-28T21:26:04.887Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1144/archives/cost.csv [2022-04-28T21:26:04.887Z] + cut -d, -f6 [Pipeline] lock [2022-04-28T21:26:04.902Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1144-8-stack-cost] [2022-04-28T21:26:04.908Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1144-8-stack-cost] did not exist. Created. [2022-04-28T21:26:04.908Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1144-8-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-28T21:26:05.281Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-04-28T21:26:05.323Z] Stashed 1 file(s) [Pipeline] } [2022-04-28T21:26:05.329Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1144-8-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-28T21:26:05.353Z] $ docker stop --time=1 ccbd766a8e9e87755c238d50d2163acbc2e94ef40562195f50b003095a0bd657 [2022-04-28T21:26:06.553Z] $ docker rm -f ccbd766a8e9e87755c238d50d2163acbc2e94ef40562195f50b003095a0bd657 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-04-28T21:44:59.256Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-34135 in /w/workspace/gexfoundry_device-sdk-go_PR-1144 [Pipeline] { [Pipeline] ws [2022-04-28T21:44:59.271Z] Running in /w/workspace/device-sdk-go/8 [Pipeline] { [Pipeline] checkout [2022-04-28T21:44:59.643Z] The recommended git tool is: git [2022-04-28T21:45:07.585Z] using credential edgex-jenkins-ssh [2022-04-28T21:45:07.604Z] Cloning the remote Git repository [2022-04-28T21:45:07.681Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2022-04-28T21:45:07.844Z] > git init /w/workspace/device-sdk-go/8 # timeout=10 [2022-04-28T21:45:07.927Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-04-28T21:45:07.928Z] > git --version # timeout=10 [2022-04-28T21:45:07.949Z] > git --version # 'git version 2.25.1' [2022-04-28T21:45:07.951Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-28T21:45:08.057Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-28T21:45:09.748Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-04-28T21:45:09.767Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-28T21:45:09.800Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-04-28T21:45:09.842Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-04-28T21:45:09.843Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-28T21:45:09.865Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1144/head:refs/remotes/origin/PR-1144 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-04-28T21:45:10.508Z] Merging remotes/origin/main commit a64f10ec129da673bd1db63a6bd52868e2c80f4f into PR head commit e47061ae588dd9220942c8dca743ad110225dd67 [2022-04-28T21:45:10.788Z] Merge succeeded, producing e47061ae588dd9220942c8dca743ad110225dd67 [2022-04-28T21:45:10.789Z] Checking out Revision e47061ae588dd9220942c8dca743ad110225dd67 (PR-1144) [2022-04-28T21:45:10.534Z] > git config core.sparsecheckout # timeout=10 [2022-04-28T21:45:10.561Z] > git checkout -f e47061ae588dd9220942c8dca743ad110225dd67 # timeout=10 [2022-04-28T21:45:10.689Z] > git remote # timeout=10 [2022-04-28T21:45:10.711Z] > git config --get remote.origin.url # timeout=10 [2022-04-28T21:45:10.735Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-28T21:45:10.748Z] > git merge a64f10ec129da673bd1db63a6bd52868e2c80f4f # timeout=10 [2022-04-28T21:45:10.775Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-04-28T21:45:10.799Z] > git config core.sparsecheckout # timeout=10 [2022-04-28T21:45:10.815Z] > git checkout -f e47061ae588dd9220942c8dca743ad110225dd67 # timeout=10 [2022-04-28T21:45:15.242Z] Commit message: "build(deps): bump github.com/pelletier/go-toml from 1.9.4 to 1.9.5" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-28T21:45:16.121Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-04-28T21:45:16.121Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-28T21:45:16.121Z] Dload Upload Total Spent Left Speed [2022-04-28T21:45:16.121Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 196k 0 --:--:-- --:--:-- --:--:-- 192k [Pipeline] sh [2022-04-28T21:45:16.724Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-04-28T21:45:17.083Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-04-28T21:45:17.083Z] + sudo tee /etc/docker/daemon.new [2022-04-28T21:45:17.083Z] { [2022-04-28T21:45:17.083Z] "registry-mirrors": [ [2022-04-28T21:45:17.083Z] "https://nexus3.edgexfoundry.org:10001" [2022-04-28T21:45:17.083Z] ], [2022-04-28T21:45:17.083Z] "bip": "10.250.0.254/24", [2022-04-28T21:45:17.083Z] "hosts": [ [2022-04-28T21:45:17.083Z] "tcp://0.0.0.0:5555", [2022-04-28T21:45:17.083Z] "unix:///var/run/docker.sock" [2022-04-28T21:45:17.083Z] ], [2022-04-28T21:45:17.083Z] "mtu": 1458, [2022-04-28T21:45:17.083Z] "selinux-enabled": true, [2022-04-28T21:45:17.083Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-04-28T21:45:17.083Z] } [Pipeline] sh [2022-04-28T21:45:17.449Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-04-28T21:45:17.877Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-28T21:45:36.308Z] provisioning config files... [2022-04-28T21:45:36.338Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/8@tmp/config3703923837492027430tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-28T21:45:36.728Z] ---> docker-login.sh [2022-04-28T21:45:36.728Z] nexus3.edgexfoundry.org:10001 [2022-04-28T21:45:37.333Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-28T21:45:37.938Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-28T21:45:37.938Z] Configure a credential helper to remove this warning. See [2022-04-28T21:45:37.938Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-28T21:45:37.938Z] [2022-04-28T21:45:37.938Z] Login Succeeded [2022-04-28T21:45:37.938Z] nexus3.edgexfoundry.org:10002 [2022-04-28T21:45:38.215Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-28T21:45:38.215Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-28T21:45:38.215Z] Configure a credential helper to remove this warning. See [2022-04-28T21:45:38.215Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-28T21:45:38.215Z] [2022-04-28T21:45:38.215Z] Login Succeeded [2022-04-28T21:45:38.215Z] nexus3.edgexfoundry.org:10003 [2022-04-28T21:45:38.832Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-28T21:45:38.832Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-28T21:45:38.832Z] Configure a credential helper to remove this warning. See [2022-04-28T21:45:38.832Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-28T21:45:38.832Z] [2022-04-28T21:45:38.832Z] Login Succeeded [2022-04-28T21:45:38.832Z] nexus3.edgexfoundry.org:10004 [2022-04-28T21:45:39.449Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-28T21:45:39.449Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-28T21:45:39.450Z] Configure a credential helper to remove this warning. See [2022-04-28T21:45:39.450Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-28T21:45:39.450Z] [2022-04-28T21:45:39.450Z] Login Succeeded [2022-04-28T21:45:39.450Z] docker.io [2022-04-28T21:45:39.733Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-28T21:45:40.340Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-28T21:45:40.340Z] Configure a credential helper to remove this warning. See [2022-04-28T21:45:40.340Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-28T21:45:40.340Z] [2022-04-28T21:45:40.340Z] Login Succeeded [2022-04-28T21:45:40.340Z] ---> docker-login.sh ends [Pipeline] } [2022-04-28T21:45:40.362Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-28T21:45:40.999Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-28T21:45:41.010Z] ========================================================= [2022-04-28T21:45:41.010Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-04-28T21:45:41.011Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-28T21:45:41.378Z] + 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-04-28T21:45:41.985Z] Sending build context to Docker daemon 5.212MB [2022-04-28T21:45:41.985Z] Step 1/11 : ARG BASE=golang:1.17-alpine3.15 [2022-04-28T21:45:41.985Z] Step 2/11 : FROM ${BASE} AS builder [2022-04-28T21:45:42.264Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-04-28T21:45:42.264Z] 9b3977197b4f: Pulling fs layer [2022-04-28T21:45:42.264Z] 1a89e8eeedd5: Pulling fs layer [2022-04-28T21:45:42.264Z] 94645a83ff95: Pulling fs layer [2022-04-28T21:45:42.264Z] 3f3a8bcf1eab: Pulling fs layer [2022-04-28T21:45:42.264Z] 0c92f367c5e7: Pulling fs layer [2022-04-28T21:45:42.264Z] 3096ccb668a1: Pulling fs layer [2022-04-28T21:45:42.264Z] e8cf19c19ddd: Pulling fs layer [2022-04-28T21:45:42.264Z] a4caa8a26152: Pulling fs layer [2022-04-28T21:45:42.264Z] 3f3a8bcf1eab: Waiting [2022-04-28T21:45:42.264Z] 0c92f367c5e7: Waiting [2022-04-28T21:45:42.264Z] 3096ccb668a1: Waiting [2022-04-28T21:45:42.264Z] e8cf19c19ddd: Waiting [2022-04-28T21:45:42.264Z] a4caa8a26152: Waiting [2022-04-28T21:45:42.264Z] 94645a83ff95: Verifying Checksum [2022-04-28T21:45:42.264Z] 94645a83ff95: Download complete [2022-04-28T21:45:42.264Z] 1a89e8eeedd5: Verifying Checksum [2022-04-28T21:45:42.264Z] 1a89e8eeedd5: Download complete [2022-04-28T21:45:42.264Z] 0c92f367c5e7: Verifying Checksum [2022-04-28T21:45:42.264Z] 0c92f367c5e7: Download complete [2022-04-28T21:45:42.264Z] 3096ccb668a1: Download complete [2022-04-28T21:45:42.264Z] 9b3977197b4f: Download complete [2022-04-28T21:45:42.264Z] e8cf19c19ddd: Verifying Checksum [2022-04-28T21:45:42.264Z] e8cf19c19ddd: Download complete [2022-04-28T21:45:43.271Z] 9b3977197b4f: Pull complete [2022-04-28T21:45:43.890Z] 1a89e8eeedd5: Pull complete [2022-04-28T21:45:44.170Z] 94645a83ff95: Pull complete [2022-04-28T21:45:44.450Z] a4caa8a26152: Verifying Checksum [2022-04-28T21:45:44.450Z] a4caa8a26152: Download complete [2022-04-28T21:45:45.054Z] 3f3a8bcf1eab: Verifying Checksum [2022-04-28T21:45:45.054Z] 3f3a8bcf1eab: Download complete [2022-04-28T21:46:00.185Z] 3f3a8bcf1eab: Pull complete [2022-04-28T21:46:00.185Z] 0c92f367c5e7: Pull complete [2022-04-28T21:46:00.185Z] 3096ccb668a1: Pull complete [2022-04-28T21:46:00.185Z] e8cf19c19ddd: Pull complete [2022-04-28T21:46:06.966Z] a4caa8a26152: Pull complete [2022-04-28T21:46:06.966Z] Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 [2022-04-28T21:46:06.966Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-04-28T21:46:06.966Z] ---> 725f1c02e7f9 [2022-04-28T21:46:06.966Z] Step 3/11 : ARG MAKE=make build [2022-04-28T21:46:07.575Z] ---> Running in c0296145a8f9 [2022-04-28T21:46:07.851Z] Removing intermediate container c0296145a8f9 [2022-04-28T21:46:07.851Z] ---> 7cd50ea137ce [2022-04-28T21:46:07.851Z] Step 4/11 : WORKDIR /device-sdk-go [2022-04-28T21:46:07.851Z] ---> Running in 740bcdf1d9cc [2022-04-28T21:46:08.129Z] Removing intermediate container 740bcdf1d9cc [2022-04-28T21:46:08.129Z] ---> ad1065dba989 [2022-04-28T21:46:08.129Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-04-28T21:46:08.407Z] ---> Running in 696f36327279 [2022-04-28T21:46:08.682Z] Removing intermediate container 696f36327279 [2022-04-28T21:46:08.682Z] ---> 4ef36e598da2 [2022-04-28T21:46:08.682Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-28T21:46:08.682Z] ---> Running in 7a8b839adff5 [2022-04-28T21:46:10.674Z] Removing intermediate container 7a8b839adff5 [2022-04-28T21:46:10.674Z] ---> d557f46edfff [2022-04-28T21:46:10.674Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-04-28T21:46:10.674Z] ---> Running in 3f3f4273a433 [2022-04-28T21:46:12.158Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-28T21:46:12.759Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-28T21:46:13.749Z] OK: 220 MiB in 52 packages [2022-04-28T21:46:14.731Z] Removing intermediate container 3f3f4273a433 [2022-04-28T21:46:14.731Z] ---> 8b520afaae13 [2022-04-28T21:46:14.731Z] Step 8/11 : COPY go.mod vendor* ./ [2022-04-28T21:46:15.329Z] ---> 2de10feb3faf [2022-04-28T21:46:15.329Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-28T21:46:15.329Z] ---> Running in 204b1275ffa8 [2022-04-28T21:47:11.895Z] Removing intermediate container 204b1275ffa8 [2022-04-28T21:47:11.895Z] ---> a726ddd72d51 [2022-04-28T21:47:11.895Z] Step 10/11 : COPY . . [2022-04-28T21:47:11.895Z] ---> 0a0f0737c329 [2022-04-28T21:47:11.895Z] Step 11/11 : RUN ${MAKE} [2022-04-28T21:47:11.895Z] ---> Running in 2cc4a8d96962 [2022-04-28T21:47:11.895Z] noop [2022-04-28T21:47:11.895Z] Removing intermediate container 2cc4a8d96962 [2022-04-28T21:47:11.895Z] ---> 9963c64d653f [2022-04-28T21:47:11.895Z] Successfully built 9963c64d653f [2022-04-28T21:47:11.895Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-28T21:47:12.253Z] + docker inspect -f . ci-base-image-arm64 [2022-04-28T21:47:12.253Z] . [Pipeline] withDockerContainer [2022-04-28T21:47:12.533Z] prd-ubuntu20.04-docker-arm64-4c-16g-34135 does not seem to be running inside a container [2022-04-28T21:47:12.629Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/8 -v /w/workspace/device-sdk-go/8:/w/workspace/device-sdk-go/8:rw,z -v /w/workspace/device-sdk-go/8@tmp:/w/workspace/device-sdk-go/8@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-04-28T21:47:14.177Z] $ docker top 17948066dff04552e40ecbdf308d4286e040e36273c2c0c7a88d1f5e69d00db9 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-28T21:47:15.144Z] + go version [2022-04-28T21:47:15.144Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-04-28T21:47:15.173Z] $ docker stop --time=1 17948066dff04552e40ecbdf308d4286e040e36273c2c0c7a88d1f5e69d00db9 [2022-04-28T21:47:16.881Z] $ docker rm -f 17948066dff04552e40ecbdf308d4286e040e36273c2c0c7a88d1f5e69d00db9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-28T21:47:17.543Z] + docker inspect -f . ci-base-image-arm64 [2022-04-28T21:47:17.543Z] . [Pipeline] withDockerContainer [2022-04-28T21:47:17.802Z] prd-ubuntu20.04-docker-arm64-4c-16g-34135 does not seem to be running inside a container [2022-04-28T21:47:17.900Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/8 -v /w/workspace/device-sdk-go/8:/w/workspace/device-sdk-go/8:rw,z -v /w/workspace/device-sdk-go/8@tmp:/w/workspace/device-sdk-go/8@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-04-28T21:47:19.362Z] $ docker top 33fabb060e3a8491f27d2bfaca14995f2de11e73b8b15f012eb4e17ca00a00d9 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-28T21:47:20.340Z] + make test [2022-04-28T21:47:20.340Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-04-28T21:47:59.400Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-04-28T21:49:51.351Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-04-28T21:49:51.351Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-04-28T21:49:51.351Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-04-28T21:50:01.565Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.392s coverage: 23.3% of statements [2022-04-28T21:50:01.565Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-04-28T21:50:01.565Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.418s coverage: 27.6% of statements [2022-04-28T21:50:01.565Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.446s coverage: 78.9% of statements [2022-04-28T21:50:01.565Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.285s coverage: 10.8% of statements [2022-04-28T21:50:05.954Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.424s coverage: 60.0% of statements [2022-04-28T21:50:05.954Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-04-28T21:50:05.954Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-04-28T21:50:07.955Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.641s coverage: 34.8% of statements [2022-04-28T21:50:07.955Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-04-28T21:50:08.955Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.486s coverage: 86.1% of statements [2022-04-28T21:50:08.955Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-04-28T21:50:08.955Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-04-28T21:50:12.378Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.469s coverage: 65.1% of statements [2022-04-28T21:50:13.374Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.313s coverage: 89.2% of statements [2022-04-28T21:50:13.374Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-04-28T21:50:15.992Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.263s coverage: 4.7% of statements [2022-04-28T21:50:15.992Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-04-28T21:50:16.587Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-04-28T21:50:16.587Z] GO111MODULE=on go vet ./... [2022-04-28T21:51:53.454Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-28T21:51:53.454Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-28T21:51:53.454Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-04-28T21:51:53.482Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-04-28T21:51:53.501Z] $ docker stop --time=1 33fabb060e3a8491f27d2bfaca14995f2de11e73b8b15f012eb4e17ca00a00d9 [2022-04-28T21:51:55.375Z] $ docker rm -f 33fabb060e3a8491f27d2bfaca14995f2de11e73b8b15f012eb4e17ca00a00d9 [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-28T21:51:56.880Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-04-28T21:51:56.901Z] Warning: overwriting stash ‘coverage-report’ [2022-04-28T21:51:57.647Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-28T21:51:58.061Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-04-28T21:51:58.412Z] + ls -al . [2022-04-28T21:51:58.412Z] total 292 [2022-04-28T21:51:58.412Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 28 21:51 . [2022-04-28T21:51:58.412Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 28 21:45 .. [2022-04-28T21:51:58.412Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 28 21:45 .dockerignore [2022-04-28T21:51:58.412Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 28 21:45 .git [2022-04-28T21:51:58.412Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 28 21:45 .github [2022-04-28T21:51:58.412Z] -rw-rw-r-- 1 jenkins jenkins 131 Apr 28 21:45 .gitignore [2022-04-28T21:51:58.412Z] -rw-rw-r-- 1 jenkins jenkins 42 Apr 28 21:45 .golangci.yml [2022-04-28T21:51:58.412Z] -rw-rw-r-- 1 jenkins jenkins 26321 Apr 28 21:45 CHANGELOG.md [2022-04-28T21:51:58.412Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 28 21:45 GOVERNANCE.md [2022-04-28T21:51:58.412Z] -rw-rw-r-- 1 jenkins jenkins 880 Apr 28 21:45 Jenkinsfile [2022-04-28T21:51:58.412Z] -rw-rw-r-- 1 jenkins jenkins 11341 Apr 28 21:45 LICENSE [2022-04-28T21:51:58.412Z] -rw-rw-r-- 1 jenkins jenkins 2015 Apr 28 21:45 Makefile [2022-04-28T21:51:58.412Z] -rw-rw-r-- 1 jenkins jenkins 619 Apr 28 21:45 OWNERS.md [2022-04-28T21:51:58.412Z] -rw-rw-r-- 1 jenkins jenkins 4881 Apr 28 21:45 README.md [2022-04-28T21:51:58.412Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 28 21:24 VERSION [2022-04-28T21:51:58.412Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 28 21:45 bin [2022-04-28T21:51:58.412Z] -rw-r--r-- 1 jenkins jenkins 130819 Apr 28 21:50 coverage.out [2022-04-28T21:51:58.412Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 28 21:45 example [2022-04-28T21:51:58.412Z] -rw-rw-r-- 1 jenkins jenkins 3198 Apr 28 21:45 go.mod [2022-04-28T21:51:58.412Z] -rw-rw-r-- 1 jenkins jenkins 34976 Apr 28 21:45 go.sum [2022-04-28T21:51:58.412Z] drwxrwxr-x 15 jenkins jenkins 4096 Apr 28 21:45 internal [2022-04-28T21:51:58.412Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 28 21:45 openapi [2022-04-28T21:51:58.412Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 28 21:45 pkg [2022-04-28T21:51:58.412Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 28 21:45 snap [2022-04-28T21:51:58.412Z] -rw-rw-r-- 1 jenkins jenkins 222 Apr 28 21:45 version.go [Pipeline] isUnix [Pipeline] sh [2022-04-28T21:51:58.778Z] + 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=e47061ae588dd9220942c8dca743ad110225dd67 --label arch=arm64 --label version=0.0.0 . [2022-04-28T21:51:59.400Z] Sending build context to Docker daemon 5.344MB [2022-04-28T21:51:59.400Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-04-28T21:51:59.400Z] Step 2/25 : FROM ${BASE} AS builder [2022-04-28T21:51:59.400Z] ---> 9963c64d653f [2022-04-28T21:51:59.400Z] Step 3/25 : ARG MAKE=make build [2022-04-28T21:51:59.400Z] ---> Running in ecde5f7eb5be [2022-04-28T21:52:00.006Z] Removing intermediate container ecde5f7eb5be [2022-04-28T21:52:00.006Z] ---> 991c805c0b04 [2022-04-28T21:52:00.006Z] Step 4/25 : WORKDIR /device-sdk-go [2022-04-28T21:52:00.006Z] ---> Running in a5b72a096be3 [2022-04-28T21:52:00.280Z] Removing intermediate container a5b72a096be3 [2022-04-28T21:52:00.280Z] ---> bde72562e07e [2022-04-28T21:52:00.280Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-04-28T21:52:00.280Z] ---> Running in 1e7a6afff415 [2022-04-28T21:52:00.881Z] Removing intermediate container 1e7a6afff415 [2022-04-28T21:52:00.881Z] ---> fd89c0da552d [2022-04-28T21:52:00.881Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-28T21:52:00.881Z] ---> Running in 8bacdbad6e84 [2022-04-28T21:52:02.873Z] Removing intermediate container 8bacdbad6e84 [2022-04-28T21:52:02.873Z] ---> 088f6e8b23ac [2022-04-28T21:52:02.873Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-04-28T21:52:02.873Z] ---> Running in 7ef26f20e657 [2022-04-28T21:52:03.864Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-28T21:52:04.854Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-28T21:52:05.840Z] OK: 220 MiB in 52 packages [2022-04-28T21:52:06.444Z] Removing intermediate container 7ef26f20e657 [2022-04-28T21:52:06.444Z] ---> b031fc3d04ed [2022-04-28T21:52:06.444Z] Step 8/25 : COPY go.mod vendor* ./ [2022-04-28T21:52:07.056Z] ---> 05704b4b7ca9 [2022-04-28T21:52:07.056Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-28T21:52:07.333Z] ---> Running in 48ff23cf4998 [2022-04-28T21:52:09.320Z] Removing intermediate container 48ff23cf4998 [2022-04-28T21:52:09.320Z] ---> 52c54aa6fa10 [2022-04-28T21:52:09.320Z] Step 10/25 : COPY . . [2022-04-28T21:52:10.775Z] ---> 7321efffb492 [2022-04-28T21:52:10.775Z] Step 11/25 : RUN ${MAKE} [2022-04-28T21:52:10.775Z] ---> Running in 83cb4f2df5e6 [2022-04-28T21:52:11.777Z] 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-04-28T21:54:18.724Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-04-28T21:54:23.022Z] Removing intermediate container 83cb4f2df5e6 [2022-04-28T21:54:23.022Z] ---> 9f7a3f2a1de9 [2022-04-28T21:54:23.022Z] Step 12/25 : FROM alpine:3.14 [2022-04-28T21:54:23.295Z] 3.14: Pulling from library/alpine [2022-04-28T21:54:23.568Z] 455c02918c45: Pulling fs layer [2022-04-28T21:54:23.568Z] 455c02918c45: Download complete [2022-04-28T21:54:24.164Z] 455c02918c45: Pull complete [2022-04-28T21:54:24.164Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-04-28T21:54:24.164Z] Status: Downloaded newer image for alpine:3.14 [2022-04-28T21:54:24.164Z] ---> ac73e934f311 [2022-04-28T21:54:24.164Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-04-28T21:54:24.439Z] ---> Running in 2f62db3afd75 [2022-04-28T21:54:24.714Z] Removing intermediate container 2f62db3afd75 [2022-04-28T21:54:24.714Z] ---> 4daf44271b1f [2022-04-28T21:54:24.714Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-28T21:54:24.714Z] ---> Running in ef99fb7130f5 [2022-04-28T21:54:26.703Z] Removing intermediate container ef99fb7130f5 [2022-04-28T21:54:26.703Z] ---> b129f0b3168b [2022-04-28T21:54:26.703Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-04-28T21:54:26.703Z] ---> Running in befe83a7485d [2022-04-28T21:54:27.687Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-04-28T21:54:28.289Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-04-28T21:54:29.276Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2022-04-28T21:54:29.276Z] (2/5) Installing libsodium (1.0.18-r0) [2022-04-28T21:54:29.553Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2022-04-28T21:54:29.553Z] (4/5) Installing libzmq (4.3.4-r0) [2022-04-28T21:54:29.831Z] (5/5) Installing zeromq (4.3.4-r0) [2022-04-28T21:54:29.831Z] Executing busybox-1.33.1-r7.trigger [2022-04-28T21:54:29.831Z] OK: 8 MiB in 19 packages [2022-04-28T21:54:30.827Z] Removing intermediate container befe83a7485d [2022-04-28T21:54:30.827Z] ---> e5843c2c21d4 [2022-04-28T21:54:30.827Z] Step 16/25 : WORKDIR / [2022-04-28T21:54:30.827Z] ---> Running in 5212bfa67d26 [2022-04-28T21:54:31.437Z] Removing intermediate container 5212bfa67d26 [2022-04-28T21:54:31.437Z] ---> f85668a5f8ef [2022-04-28T21:54:31.437Z] Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-04-28T21:54:32.040Z] ---> cb0749243320 [2022-04-28T21:54:32.040Z] Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-04-28T21:54:33.491Z] ---> 590f3fe1b6c3 [2022-04-28T21:54:33.491Z] Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-04-28T21:54:34.095Z] ---> 5bab3addf6ab [2022-04-28T21:54:34.095Z] Step 20/25 : EXPOSE 59999 [2022-04-28T21:54:34.095Z] ---> Running in be5d90903951 [2022-04-28T21:54:34.701Z] Removing intermediate container be5d90903951 [2022-04-28T21:54:34.701Z] ---> adc143284016 [2022-04-28T21:54:34.701Z] Step 21/25 : ENTRYPOINT ["/device-simple"] [2022-04-28T21:54:34.701Z] ---> Running in 0fdedacf073d [2022-04-28T21:54:34.978Z] Removing intermediate container 0fdedacf073d [2022-04-28T21:54:34.979Z] ---> 6c436f3dfd91 [2022-04-28T21:54:34.979Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-04-28T21:54:34.979Z] ---> Running in 04104342bc90 [2022-04-28T21:54:35.261Z] Removing intermediate container 04104342bc90 [2022-04-28T21:54:35.261Z] ---> 58f7b10709a2 [2022-04-28T21:54:35.261Z] Step 23/25 : LABEL arch=arm64 [2022-04-28T21:54:35.540Z] ---> Running in 0d218efcc145 [2022-04-28T21:54:35.816Z] Removing intermediate container 0d218efcc145 [2022-04-28T21:54:35.816Z] ---> b47f2c626540 [2022-04-28T21:54:35.816Z] Step 24/25 : LABEL git_sha=e47061ae588dd9220942c8dca743ad110225dd67 [2022-04-28T21:54:35.816Z] ---> Running in 792f0b3c68ba [2022-04-28T21:54:36.092Z] Removing intermediate container 792f0b3c68ba [2022-04-28T21:54:36.092Z] ---> 4ef8f260a858 [2022-04-28T21:54:36.092Z] Step 25/25 : LABEL version=0.0.0 [2022-04-28T21:54:36.377Z] ---> Running in a4e3dc1893be [2022-04-28T21:54:36.652Z] Removing intermediate container a4e3dc1893be [2022-04-28T21:54:36.652Z] ---> b470a1dd0d22 [2022-04-28T21:54:36.652Z] [Warning] One or more build-args [ARCH] were not consumed [2022-04-28T21:54:36.652Z] Successfully built b470a1dd0d22 [2022-04-28T21:54:36.652Z] 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-04-28T21:54:37.109Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-28T21:54:37.109Z] [2022-04-28T21:54:37.109Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-04-28T21:54:37.472Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-28T21:54:37.751Z] arm64: Pulling from edgex-lftools-log-publisher [2022-04-28T21:54:37.751Z] 8998bd30e6a1: Pulling fs layer [2022-04-28T21:54:37.751Z] 04944245beec: Pulling fs layer [2022-04-28T21:54:37.751Z] 699f458cf7ca: Pulling fs layer [2022-04-28T21:54:37.751Z] 765212b225bb: Pulling fs layer [2022-04-28T21:54:37.751Z] f23df028b6ca: Pulling fs layer [2022-04-28T21:54:37.751Z] d65c8cfc05b1: Pulling fs layer [2022-04-28T21:54:37.751Z] 2437ff75d9bd: Pulling fs layer [2022-04-28T21:54:37.751Z] 765212b225bb: Waiting [2022-04-28T21:54:37.751Z] f23df028b6ca: Waiting [2022-04-28T21:54:37.751Z] d65c8cfc05b1: Waiting [2022-04-28T21:54:37.751Z] 2437ff75d9bd: Waiting [2022-04-28T21:54:37.751Z] 04944245beec: Verifying Checksum [2022-04-28T21:54:37.751Z] 04944245beec: Download complete [2022-04-28T21:54:37.751Z] 765212b225bb: Verifying Checksum [2022-04-28T21:54:37.751Z] 765212b225bb: Download complete [2022-04-28T21:54:37.751Z] f23df028b6ca: Download complete [2022-04-28T21:54:37.751Z] d65c8cfc05b1: Verifying Checksum [2022-04-28T21:54:37.751Z] d65c8cfc05b1: Download complete [2022-04-28T21:54:38.031Z] 699f458cf7ca: Verifying Checksum [2022-04-28T21:54:38.031Z] 699f458cf7ca: Download complete [2022-04-28T21:54:38.309Z] 8998bd30e6a1: Download complete [2022-04-28T21:54:40.956Z] 2437ff75d9bd: Verifying Checksum [2022-04-28T21:54:40.956Z] 2437ff75d9bd: Download complete [2022-04-28T21:54:42.954Z] 8998bd30e6a1: Pull complete [2022-04-28T21:54:43.553Z] 04944245beec: Pull complete [2022-04-28T21:54:44.994Z] 699f458cf7ca: Pull complete [2022-04-28T21:54:45.273Z] 765212b225bb: Pull complete [2022-04-28T21:54:46.274Z] f23df028b6ca: Pull complete [2022-04-28T21:54:46.549Z] d65c8cfc05b1: Pull complete [2022-04-28T21:55:01.661Z] 2437ff75d9bd: Pull complete [2022-04-28T21:55:01.661Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-04-28T21:55:01.661Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-28T21:55:01.661Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-04-28T21:55:01.924Z] prd-ubuntu20.04-docker-arm64-4c-16g-34135 does not seem to be running inside a container [2022-04-28T21:55:02.022Z] $ 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/8 -v /w/workspace/device-sdk-go/8:/w/workspace/device-sdk-go/8:rw,z -v /w/workspace/device-sdk-go/8@tmp:/w/workspace/device-sdk-go/8@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-04-28T21:55:04.775Z] $ docker top fdeb0fd30f44cafaab4344a65bac37ce01aea6d98161fd602e447264b650d1a7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-28T21:55:05.741Z] ---> job-cost.sh [2022-04-28T21:55:05.741Z] lf-activate-venv: SKIPPING [2022-04-28T21:55:05.741Z] INFO: No Stack... [2022-04-28T21:55:06.340Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-04-28T21:55:07.328Z] INFO: Archiving Costs [Pipeline] sh [2022-04-28T21:55:08.020Z] + cat /w/workspace/device-sdk-go/8/archives/cost.csv [2022-04-28T21:55:08.021Z] + cut -d, -f6 [Pipeline] lock [2022-04-28T21:55:08.093Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1144-8-stack-cost] [2022-04-28T21:55:08.102Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1144-8-stack-cost] did not exist. Created. [2022-04-28T21:55:08.102Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1144-8-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-28T21:55:08.793Z] /w/workspace/device-sdk-go/8@tmp/durable-f70fadda/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-04-28T21:55:09.489Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-04-28T21:55:09.519Z] Warning: overwriting stash ‘stack-cost’ [2022-04-28T21:55:09.592Z] Stashed 1 file(s) [Pipeline] } [2022-04-28T21:55:09.598Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1144-8-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-28T21:55:09.624Z] $ docker stop --time=1 fdeb0fd30f44cafaab4344a65bac37ce01aea6d98161fd602e447264b650d1a7 [2022-04-28T21:55:11.164Z] $ docker rm -f fdeb0fd30f44cafaab4344a65bac37ce01aea6d98161fd602e447264b650d1a7 [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-04-28T21:55:11.684Z] provisioning config files... [2022-04-28T21:55:11.699Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1144@tmp/config6043004236014920993tmp [Pipeline] { [Pipeline] sh [2022-04-28T21:55:12.008Z] + set +x [2022-04-28T21:55:12.008Z] + curl -s https://codecov.io/bash [2022-04-28T21:55:12.008Z] + bash -s -- [2022-04-28T21:55:12.008Z] [2022-04-28T21:55:12.008Z] _____ _ [2022-04-28T21:55:12.008Z] / ____| | | [2022-04-28T21:55:12.008Z] | | ___ __| | ___ ___ _____ __ [2022-04-28T21:55:12.008Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-04-28T21:55:12.008Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-04-28T21:55:12.008Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-04-28T21:55:12.008Z] Bash-1.0.6 [2022-04-28T21:55:12.008Z] [2022-04-28T21:55:12.008Z] [2022-04-28T21:55:12.008Z] ==> git version 2.25.1 found [2022-04-28T21:55:12.008Z] ==> 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-04-28T21:55:12.008Z] Release-Date: 2020-01-08 [2022-04-28T21:55:12.008Z] 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-04-28T21:55:12.008Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-04-28T21:55:12.008Z] ==> Jenkins CI detected. [2022-04-28T21:55:12.008Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1144 [2022-04-28T21:55:12.008Z] project root: . [2022-04-28T21:55:12.008Z] --> token set from env [2022-04-28T21:55:12.008Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-04-28T21:55:12.008Z] ==> Running gcov in . (disable via -X gcov) [2022-04-28T21:55:12.008Z] ==> Python coveragepy not found [2022-04-28T21:55:12.008Z] ==> Searching for coverage reports in: [2022-04-28T21:55:12.008Z] + . [2022-04-28T21:55:12.008Z] -> Found 1 reports [2022-04-28T21:55:12.008Z] ==> Detecting git/mercurial file structure [2022-04-28T21:55:12.008Z] ==> Reading reports [2022-04-28T21:55:12.268Z] + ./coverage.out bytes=130819 [2022-04-28T21:55:12.268Z] ==> Appending adjustments [2022-04-28T21:55:12.268Z] https://docs.codecov.io/docs/fixing-reports [2022-04-28T21:55:12.531Z] + Found adjustments [2022-04-28T21:55:12.531Z] ==> Gzipping contents [2022-04-28T21:55:12.531Z] 20K /tmp/codecov.UNmzw3.gz [2022-04-28T21:55:12.531Z] ==> Uploading reports [2022-04-28T21:55:12.531Z] url: https://codecov.io [2022-04-28T21:55:12.531Z] query: branch=PR-1144&commit=e47061ae588dd9220942c8dca743ad110225dd67&build=8&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1144%2F8%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1144&job=&cmd_args= [2022-04-28T21:55:12.531Z] -> Pinging Codecov [2022-04-28T21:55:12.531Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1144&commit=e47061ae588dd9220942c8dca743ad110225dd67&build=8&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1144%2F8%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1144&job=&cmd_args= [2022-04-28T21:55:12.531Z] -> Uploading to [2022-04-28T21:55:12.531Z] https://storage.googleapis.com/codecov/v4/raw/2022-04-28/7E55EF52A471D76F132DFD9A03CDDE97/e47061ae588dd9220942c8dca743ad110225dd67/98230466-36fe-4add-9c03-bc70fb46056b.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220428%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220428T215512Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=93d5a27878a0c59aab64bf440101ffea067540644321cfea8edf54595715520a [2022-04-28T21:55:12.792Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-28T21:55:12.792Z] Dload Upload Total Spent Left Speed [2022-04-28T21:55:12.792Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16837 0 0 100 16837 0 81338 --:--:-- --:--:-- --:--:-- 81338 [2022-04-28T21:55:12.792Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/e47061ae588dd9220942c8dca743ad110225dd67 [Pipeline] } [2022-04-28T21:55:12.801Z] 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-04-28T21:55:13.508Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1144/archives ] [2022-04-28T21:55:13.508Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1144/archives [2022-04-28T21:55:13.508Z] total 16 [2022-04-28T21:55:13.508Z] drwxr-xr-x 3 root root 4096 Apr 28 21:26 . [2022-04-28T21:55:13.508Z] drwxrwxr-x 12 jenkins jenkins 4096 Apr 28 21:26 .. [2022-04-28T21:55:13.508Z] drwxr-xr-x 2 root root 4096 Apr 28 21:26 cost [2022-04-28T21:55:13.508Z] -rw-r--r-- 1 root root 85 Apr 28 21:26 cost.csv [2022-04-28T21:55:13.508Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1144/archives [2022-04-28T21:55:13.508Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1144/archives [2022-04-28T21:55:13.508Z] total 16 [2022-04-28T21:55:13.508Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 28 21:26 . [2022-04-28T21:55:13.508Z] drwxrwxr-x 12 jenkins jenkins 4096 Apr 28 21:26 .. [2022-04-28T21:55:13.508Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 28 21:26 cost [2022-04-28T21:55:13.508Z] -rw-r--r-- 1 jenkins jenkins 85 Apr 28 21:26 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-04-28T21:55:13.801Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-28T21:55:14.668Z] ---> package-listing.sh [2022-04-28T21:55:14.668Z] ++ facter osfamily [2022-04-28T21:55:14.668Z] ++ tr '[:upper:]' '[:lower:]' [2022-04-28T21:55:14.930Z] + OS_FAMILY=debian [2022-04-28T21:55:14.930Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1144 [2022-04-28T21:55:14.930Z] + START_PACKAGES=/tmp/packages_start.txt [2022-04-28T21:55:14.930Z] + END_PACKAGES=/tmp/packages_end.txt [2022-04-28T21:55:14.930Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-04-28T21:55:14.930Z] + PACKAGES=/tmp/packages_start.txt [2022-04-28T21:55:14.930Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1144 ']' [2022-04-28T21:55:14.930Z] + PACKAGES=/tmp/packages_end.txt [2022-04-28T21:55:14.930Z] + case "${OS_FAMILY}" in [2022-04-28T21:55:14.930Z] + dpkg -l [2022-04-28T21:55:14.930Z] + grep '^ii' [2022-04-28T21:55:14.930Z] + '[' -f /tmp/packages_start.txt ']' [2022-04-28T21:55:14.930Z] + '[' -f /tmp/packages_end.txt ']' [2022-04-28T21:55:14.930Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-04-28T21:55:14.930Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1144 ']' [2022-04-28T21:55:14.930Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1144/archives/ [2022-04-28T21:55:14.930Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1144/archives/ [Pipeline] echo [2022-04-28T21:55:14.945Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-sdk-go_PR-1144/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-04-28T21:55:15.229Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-04-28T21:55:15.792Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-28T21:55:15.792Z] . [Pipeline] withDockerContainer [2022-04-28T21:55:15.868Z] prd-ubuntu20.04-docker-8c-8g-33748 does not seem to be running inside a container [2022-04-28T21:55:15.888Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-sdk-go_PR-1144/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-sdk-go_PR-1144 -v /w/workspace/gexfoundry_device-sdk-go_PR-1144:/w/workspace/gexfoundry_device-sdk-go_PR-1144:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1144@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1144@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-04-28T21:55:16.156Z] $ docker top 9288d69a123d2333046a1d7a1d3c4753343d8a432a07853733064f9a3fa993cd -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-28T21:55:16.535Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-04-28T21:55:16.832Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-04-28T21:55:17.122Z] + ls /var/log/sa-host [2022-04-28T21:55:17.122Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-28T21:55:17.210Z] provisioning config files... [2022-04-28T21:55:17.219Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1144@tmp/config2949770279077620314tmp [Pipeline] { [Pipeline] echo [2022-04-28T21:55:17.232Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-28T21:55:17.518Z] ---> create-netrc.sh [Pipeline] } [2022-04-28T21:55:17.527Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-04-28T21:55:17.856Z] ---> python-tools-install.sh [Pipeline] echo [2022-04-28T21:55:17.868Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-28T21:55:18.155Z] ---> sudo-logs.sh [2022-04-28T21:55:18.155Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-04-28T21:55:18.177Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-28T21:55:18.464Z] ---> job-cost.sh [2022-04-28T21:55:18.464Z] lf-activate-venv: SKIPPING [2022-04-28T21:55:18.464Z] DEBUG: total: 0.2199999988079071 [2022-04-28T21:55:18.464Z] INFO: Retrieving Stack Cost... [2022-04-28T21:55:19.034Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-28T21:55:19.295Z] INFO: Archiving Costs [Pipeline] echo [2022-04-28T21:55:19.308Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-28T21:55:19.592Z] ---> logs-deploy.sh [2022-04-28T21:55:19.592Z] lf-activate-venv: SKIPPING [2022-04-28T21:55:19.592Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1144/8 [2022-04-28T21:55:19.592Z] INFO: archiving workspace using pattern(s): [2022-04-28T21:55:20.582Z] Archives upload complete. [2022-04-28T21:55:20.582Z] INFO: archiving logs to Nexus [2022-04-28T21:55:21.153Z] ---> uname -a: [2022-04-28T21:55:21.153Z] Linux prd-ubuntu20-04-docker-8c-8g-33748 5.4.0-94-generic #106-Ubuntu SMP Thu Jan 6 23:58:14 UTC 2022 x86_64 GNU/Linux [2022-04-28T21:55:21.153Z] [2022-04-28T21:55:21.153Z] [2022-04-28T21:55:21.153Z] ---> lscpu: [2022-04-28T21:55:21.153Z] Architecture: x86_64 [2022-04-28T21:55:21.153Z] CPU op-mode(s): 32-bit, 64-bit [2022-04-28T21:55:21.153Z] Byte Order: Little Endian [2022-04-28T21:55:21.153Z] Address sizes: 40 bits physical, 48 bits virtual [2022-04-28T21:55:21.153Z] CPU(s): 8 [2022-04-28T21:55:21.153Z] On-line CPU(s) list: 0-7 [2022-04-28T21:55:21.153Z] Thread(s) per core: 1 [2022-04-28T21:55:21.153Z] Core(s) per socket: 1 [2022-04-28T21:55:21.153Z] Socket(s): 8 [2022-04-28T21:55:21.153Z] NUMA node(s): 1 [2022-04-28T21:55:21.153Z] Vendor ID: AuthenticAMD [2022-04-28T21:55:21.153Z] CPU family: 23 [2022-04-28T21:55:21.153Z] Model: 49 [2022-04-28T21:55:21.153Z] Model name: AMD EPYC-Rome Processor [2022-04-28T21:55:21.153Z] Stepping: 0 [2022-04-28T21:55:21.153Z] CPU MHz: 2799.998 [2022-04-28T21:55:21.153Z] BogoMIPS: 5599.99 [2022-04-28T21:55:21.153Z] Virtualization: AMD-V [2022-04-28T21:55:21.153Z] Hypervisor vendor: KVM [2022-04-28T21:55:21.153Z] Virtualization type: full [2022-04-28T21:55:21.153Z] L1d cache: 256 KiB [2022-04-28T21:55:21.153Z] L1i cache: 256 KiB [2022-04-28T21:55:21.153Z] L2 cache: 4 MiB [2022-04-28T21:55:21.153Z] L3 cache: 128 MiB [2022-04-28T21:55:21.153Z] NUMA node0 CPU(s): 0-7 [2022-04-28T21:55:21.153Z] Vulnerability Itlb multihit: Not affected [2022-04-28T21:55:21.153Z] Vulnerability L1tf: Not affected [2022-04-28T21:55:21.153Z] Vulnerability Mds: Not affected [2022-04-28T21:55:21.153Z] Vulnerability Meltdown: Not affected [2022-04-28T21:55:21.153Z] Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp [2022-04-28T21:55:21.153Z] Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization [2022-04-28T21:55:21.153Z] Vulnerability Spectre v2: Mitigation; Full AMD retpoline, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling [2022-04-28T21:55:21.153Z] Vulnerability Srbds: Not affected [2022-04-28T21:55:21.153Z] Vulnerability Tsx async abort: Not affected [2022-04-28T21:55:21.153Z] Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities [2022-04-28T21:55:21.153Z] [2022-04-28T21:55:21.153Z] [2022-04-28T21:55:21.153Z] ---> nproc: [2022-04-28T21:55:21.153Z] 8 [2022-04-28T21:55:21.153Z] [2022-04-28T21:55:21.153Z] [2022-04-28T21:55:21.153Z] ---> df -h: [2022-04-28T21:55:21.153Z] Filesystem Size Used Avail Use% Mounted on [2022-04-28T21:55:21.153Z] overlay 155G 11G 145G 7% / [2022-04-28T21:55:21.153Z] tmpfs 64M 0 64M 0% /dev [2022-04-28T21:55:21.153Z] tmpfs 16G 0 16G 0% /sys/fs/cgroup [2022-04-28T21:55:21.153Z] shm 64M 0 64M 0% /dev/shm [2022-04-28T21:55:21.153Z] /dev/vda1 155G 11G 145G 7% /facter-os [2022-04-28T21:55:21.153Z] [2022-04-28T21:55:21.153Z]