Pull request #1328 event Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 99640fc8bc735c478916a02e3dc7aaca1d628413+44494171fcaded074de32712625f564a2da22111 (9c66b9504418bd3e5bf6776a783ffb2fb75fade4) 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-ssh515357142063302423.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh7124546587164007635.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-1328/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.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-1328/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7932510760622424643.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > 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 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-ssh12030482035205869530.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 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-1328/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.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-1328/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh15228845919871463671.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > 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 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/v3]] ========================================================= [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.18 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/v3 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 SNYK_DEBUG: false [Pipeline] node Running on prd-ubuntu20.04-docker-8c-8g-6387 in /w/workspace/gexfoundry_device-sdk-go_PR-1328 [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-1328 # 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 > 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/1328/head:refs/remotes/origin/PR-1328 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 44494171fcaded074de32712625f564a2da22111 into PR head commit 99640fc8bc735c478916a02e3dc7aaca1d628413 Merge succeeded, producing 99640fc8bc735c478916a02e3dc7aaca1d628413 Checking out Revision 99640fc8bc735c478916a02e3dc7aaca1d628413 (PR-1328) Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v3" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-02-17T05:46:05.773Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-02-17T05:46:05.829Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-02-17T05:46:05.843Z] ========================================================= [2023-02-17T05:46:05.843Z] EdgeX Global Pipelines Version Info [2023-02-17T05:46:05.843Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git config core.sparsecheckout # timeout=10 > git checkout -f 99640fc8bc735c478916a02e3dc7aaca1d628413 # 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 44494171fcaded074de32712625f564a2da22111 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 99640fc8bc735c478916a02e3dc7aaca1d628413 # timeout=10 > git rev-list --no-walk c57324c4845ed00b7f29eea316ea5764fae670b7 # timeout=10 [2023-02-17T05:46:06.538Z] ------------------- [2023-02-17T05:46:06.538Z] stable info: [2023-02-17T05:46:06.538Z] ------------------- [2023-02-17T05:46:06.538Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-02-17T05:46:06.538Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-17T05:46:06.538Z] Message: update stable to v1.0.244 [2023-02-17T05:46:07.108Z] ------------------- [2023-02-17T05:46:07.108Z] experimental info: [2023-02-17T05:46:07.108Z] ------------------- [2023-02-17T05:46:07.108Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-02-17T05:46:07.108Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-17T05:46:07.108Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-02-17T05:46:07.260Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-02-17T05:46:07.274Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-02-17T05:46:07.288Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-02-17T05:46:07.300Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-02-17T05:46:07.315Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-02-17T05:46:07.326Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-02-17T05:46:07.339Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-02-17T05:46:07.351Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-02-17T05:46:07.363Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-02-17T05:46:07.376Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-02-17T05:46:07.392Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-02-17T05:46:07.407Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-02-17T05:46:07.418Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-02-17T05:46:07.431Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-02-17T05:46:07.443Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-02-17T05:46:07.455Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-02-17T05:46:07.469Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-02-17T05:46:07.481Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-02-17T05:46:07.492Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-02-17T05:46:07.503Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-02-17T05:46:07.513Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-02-17T05:46:07.529Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2023-02-17T05:46:07.546Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-02-17T05:46:07.557Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-02-17T05:46:07.568Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-02-17T05:46:07.583Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-02-17T05:46:07.593Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-02-17T05:46:07.607Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1328 [Pipeline] echo [2023-02-17T05:46:07.621Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1328 [Pipeline] echo [2023-02-17T05:46:07.638Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1328 [Pipeline] echo [2023-02-17T05:46:07.653Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 99640fc8bc735c478916a02e3dc7aaca1d628413 [Pipeline] echo [2023-02-17T05:46:07.665Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 99640fc [Pipeline] echo [2023-02-17T05:46:07.677Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-17T05:46:07.720Z] provisioning config files... [2023-02-17T05:46:07.732Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1328@tmp/config17967764522568882948tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-17T05:46:08.026Z] ---> docker-login.sh [2023-02-17T05:46:08.026Z] nexus3.edgexfoundry.org:10001 [2023-02-17T05:46:08.287Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-17T05:46:08.287Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-17T05:46:08.287Z] Configure a credential helper to remove this warning. See [2023-02-17T05:46:08.287Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-17T05:46:08.287Z] [2023-02-17T05:46:08.287Z] Login Succeeded [2023-02-17T05:46:08.287Z] nexus3.edgexfoundry.org:10002 [2023-02-17T05:46:08.287Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-17T05:46:08.547Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-17T05:46:08.547Z] Configure a credential helper to remove this warning. See [2023-02-17T05:46:08.548Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-17T05:46:08.548Z] [2023-02-17T05:46:08.548Z] Login Succeeded [2023-02-17T05:46:08.548Z] nexus3.edgexfoundry.org:10003 [2023-02-17T05:46:08.548Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-17T05:46:08.548Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-17T05:46:08.548Z] Configure a credential helper to remove this warning. See [2023-02-17T05:46:08.548Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-17T05:46:08.548Z] [2023-02-17T05:46:08.548Z] Login Succeeded [2023-02-17T05:46:08.548Z] nexus3.edgexfoundry.org:10004 [2023-02-17T05:46:08.548Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-17T05:46:08.548Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-17T05:46:08.548Z] Configure a credential helper to remove this warning. See [2023-02-17T05:46:08.548Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-17T05:46:08.548Z] [2023-02-17T05:46:08.548Z] Login Succeeded [2023-02-17T05:46:08.808Z] docker.io [2023-02-17T05:46:08.808Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-17T05:46:09.377Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-17T05:46:09.377Z] Configure a credential helper to remove this warning. See [2023-02-17T05:46:09.377Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-17T05:46:09.377Z] [2023-02-17T05:46:09.377Z] Login Succeeded [2023-02-17T05:46:09.377Z] ---> docker-login.sh ends [Pipeline] } [2023-02-17T05:46:09.385Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-02-17T05:46:09.744Z] + git rev-list -1 --merges 99640fc8bc735c478916a02e3dc7aaca1d628413~1..99640fc8bc735c478916a02e3dc7aaca1d628413 [Pipeline] echo [2023-02-17T05:46:09.766Z] -----------> git rev-list -1 --merges 99640fc8bc735c478916a02e3dc7aaca1d628413~1..99640fc8bc735c478916a02e3dc7aaca1d628413 99640fc8bc735c478916a02e3dc7aaca1d628413 [false] [Pipeline] sh [2023-02-17T05:46:10.055Z] + git log --format=format:%s -1 99640fc8bc735c478916a02e3dc7aaca1d628413 [Pipeline] echo [2023-02-17T05:46:10.069Z] ========================================================= [2023-02-17T05:46:10.069Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-02-17T05:46:10.069Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-17T05:46:10.398Z] + git log --format=format:%s -1 99640fc8bc735c478916a02e3dc7aaca1d628413 [Pipeline] echo [2023-02-17T05:46:10.410Z] [semverPrep] GIT_COMMIT: 99640fc8bc735c478916a02e3dc7aaca1d628413, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v3 [Pipeline] echo [2023-02-17T05:46:10.420Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-02-17T05:46:10.762Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-02-17T05:46:10.762Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-02-17T05:46:10.762Z] + [ -e /tmp/ssh_known_hosts ] [2023-02-17T05:46:10.762Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-02-17T05:46:10.762Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-02-17T05:46:10.762Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-02-17T05:46:10.762Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-17T05:46:11.116Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-17T05:46:11.116Z] [2023-02-17T05:46:11.116Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-17T05:46:11.421Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-17T05:46:11.421Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-02-17T05:46:11.421Z] b85a868b505f: Pulling fs layer [2023-02-17T05:46:11.421Z] e2be974225ed: Pulling fs layer [2023-02-17T05:46:11.421Z] 339a4e72a1f5: Pulling fs layer [2023-02-17T05:46:11.421Z] 988bab9f4d93: Pulling fs layer [2023-02-17T05:46:11.421Z] 1469e6f7b9e6: Pulling fs layer [2023-02-17T05:46:11.421Z] eaf3925da568: Pulling fs layer [2023-02-17T05:46:11.421Z] bab4dde63d76: Pulling fs layer [2023-02-17T05:46:11.421Z] bde34c3a00c8: Pulling fs layer [2023-02-17T05:46:11.421Z] b352a97aabf1: Pulling fs layer [2023-02-17T05:46:11.421Z] 4872d77fe225: Pulling fs layer [2023-02-17T05:46:11.421Z] 5851b861e8e6: Pulling fs layer [2023-02-17T05:46:11.421Z] 988bab9f4d93: Waiting [2023-02-17T05:46:11.421Z] eaf3925da568: Waiting [2023-02-17T05:46:11.421Z] 1469e6f7b9e6: Waiting [2023-02-17T05:46:11.421Z] bab4dde63d76: Waiting [2023-02-17T05:46:11.421Z] b352a97aabf1: Waiting [2023-02-17T05:46:11.421Z] 5851b861e8e6: Waiting [2023-02-17T05:46:11.421Z] bde34c3a00c8: Waiting [2023-02-17T05:46:11.421Z] 4872d77fe225: Waiting [2023-02-17T05:46:11.421Z] e2be974225ed: Verifying Checksum [2023-02-17T05:46:11.421Z] e2be974225ed: Download complete [2023-02-17T05:46:11.421Z] 988bab9f4d93: Verifying Checksum [2023-02-17T05:46:11.421Z] 988bab9f4d93: Download complete [2023-02-17T05:46:11.680Z] 1469e6f7b9e6: Verifying Checksum [2023-02-17T05:46:11.681Z] 1469e6f7b9e6: Download complete [2023-02-17T05:46:11.681Z] eaf3925da568: Verifying Checksum [2023-02-17T05:46:11.681Z] eaf3925da568: Download complete [2023-02-17T05:46:11.681Z] 339a4e72a1f5: Verifying Checksum [2023-02-17T05:46:11.681Z] 339a4e72a1f5: Download complete [2023-02-17T05:46:11.940Z] bde34c3a00c8: Verifying Checksum [2023-02-17T05:46:11.940Z] bde34c3a00c8: Download complete [2023-02-17T05:46:11.940Z] b352a97aabf1: Download complete [2023-02-17T05:46:11.940Z] 4872d77fe225: Verifying Checksum [2023-02-17T05:46:11.940Z] 4872d77fe225: Download complete [2023-02-17T05:46:11.940Z] 5851b861e8e6: Verifying Checksum [2023-02-17T05:46:11.940Z] 5851b861e8e6: Download complete [2023-02-17T05:46:11.940Z] b85a868b505f: Verifying Checksum [2023-02-17T05:46:11.940Z] b85a868b505f: Download complete [2023-02-17T05:46:12.874Z] bab4dde63d76: Verifying Checksum [2023-02-17T05:46:12.874Z] bab4dde63d76: Download complete [2023-02-17T05:46:13.132Z] b85a868b505f: Pull complete [2023-02-17T05:46:13.391Z] e2be974225ed: Pull complete [2023-02-17T05:46:13.649Z] 339a4e72a1f5: Pull complete [2023-02-17T05:46:13.906Z] 988bab9f4d93: Pull complete [2023-02-17T05:46:14.163Z] 1469e6f7b9e6: Pull complete [2023-02-17T05:46:14.163Z] eaf3925da568: Pull complete [2023-02-17T05:46:16.063Z] bab4dde63d76: Pull complete [2023-02-17T05:46:16.063Z] bde34c3a00c8: Pull complete [2023-02-17T05:46:16.063Z] b352a97aabf1: Pull complete [2023-02-17T05:46:16.063Z] 4872d77fe225: Pull complete [2023-02-17T05:46:16.063Z] 5851b861e8e6: Pull complete [2023-02-17T05:46:16.063Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-02-17T05:46:16.063Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-17T05:46:16.063Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-17T05:46:16.146Z] prd-ubuntu20.04-docker-8c-8g-6387 does not seem to be running inside a container [2023-02-17T05:46:16.175Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1328 -v /w/workspace/gexfoundry_device-sdk-go_PR-1328:/w/workspace/gexfoundry_device-sdk-go_PR-1328:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1328@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1328@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-02-17T05:46:17.334Z] $ docker top 7c536bcad33b660610e31b09455c06a2e566fc0918b61ba7d0c4970f6866f95d -eo pid,comm [2023-02-17T05:46:17.396Z] 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). [2023-02-17T05:46:17.396Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-02-17T05:46:17.446Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-17T05:46:17.446Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-17T05:46:17.568Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-17T05:46:17.568Z] $ docker exec 7c536bcad33b660610e31b09455c06a2e566fc0918b61ba7d0c4970f6866f95d ssh-agent [2023-02-17T05:46:17.700Z] SSH_AUTH_SOCK=/tmp/ssh-knGCOGH43YL7/agent.33 [2023-02-17T05:46:17.700Z] SSH_AGENT_PID=39 [2023-02-17T05:46:17.707Z] Running ssh-add (command line suppressed) [2023-02-17T05:46:17.809Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1328@tmp/private_key_3482355191063413215.key (/w/workspace/gexfoundry_device-sdk-go_PR-1328@tmp/private_key_3482355191063413215.key) [2023-02-17T05:46:17.832Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-17T05:46:18.124Z] + git tag --points-at HEAD [Pipeline] } [2023-02-17T05:46:18.135Z] $ docker exec --env ******** --env ******** 7c536bcad33b660610e31b09455c06a2e566fc0918b61ba7d0c4970f6866f95d ssh-agent -k [2023-02-17T05:46:18.243Z] unset SSH_AUTH_SOCK; [2023-02-17T05:46:18.243Z] unset SSH_AGENT_PID; [2023-02-17T05:46:18.244Z] echo Agent pid 39 killed; [2023-02-17T05:46:18.259Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-02-17T05:46:18.286Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-17T05:46:18.286Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-17T05:46:18.400Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-17T05:46:18.400Z] $ docker exec 7c536bcad33b660610e31b09455c06a2e566fc0918b61ba7d0c4970f6866f95d ssh-agent [2023-02-17T05:46:18.517Z] SSH_AUTH_SOCK=/tmp/ssh-gsAT0d7lbRUA/agent.72 [2023-02-17T05:46:18.517Z] SSH_AGENT_PID=78 [2023-02-17T05:46:18.522Z] Running ssh-add (command line suppressed) [2023-02-17T05:46:18.622Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1328@tmp/private_key_16211201402684523193.key (/w/workspace/gexfoundry_device-sdk-go_PR-1328@tmp/private_key_16211201402684523193.key) [2023-02-17T05:46:18.639Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-17T05:46:18.933Z] + git semver init [2023-02-17T05:46:19.193Z] 2023-02-17 05:46:19,141 [run_init] DEBUG init version:0.0.0 force:False [2023-02-17T05:46:19.193Z] 2023-02-17 05:46:19,142 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1328/.semver [2023-02-17T05:46:19.193Z] 2023-02-17 05:46:19,142 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1328/.semver [2023-02-17T05:46:19.193Z] 2023-02-17 05:46:19,142 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1328/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1328, universal_newlines=False, shell=None, istream=None) [2023-02-17T05:46:20.575Z] 2023-02-17 05:46:20,162 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1328/.git/info/exclude [2023-02-17T05:46:20.575Z] 2023-02-17 05:46:20,163 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1328/.semver/PR-1328 with force:False [2023-02-17T05:46:20.575Z] 2023-02-17 05:46:20,163 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1328/.semver/PR-1328 [2023-02-17T05:46:20.575Z] 2023-02-17 05:46:20,167 [execute] INFO git cat-file --batch-check [2023-02-17T05:46:20.575Z] 2023-02-17 05:46:20,167 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1328/.semver, universal_newlines=False, shell=None, istream=) [2023-02-17T05:46:20.575Z] 2023-02-17 05:46:20,174 [execute] INFO git cat-file --batch [2023-02-17T05:46:20.575Z] 2023-02-17 05:46:20,174 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1328/.semver, universal_newlines=False, shell=None, istream=) [2023-02-17T05:46:20.575Z] 2023-02-17 05:46:20,179 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1328/.semver/PR-1328 [2023-02-17T05:46:20.575Z] 0.0.0 [Pipeline] } [2023-02-17T05:46:20.582Z] $ docker exec --env ******** --env ******** 7c536bcad33b660610e31b09455c06a2e566fc0918b61ba7d0c4970f6866f95d ssh-agent -k [2023-02-17T05:46:20.674Z] unset SSH_AUTH_SOCK; [2023-02-17T05:46:20.675Z] unset SSH_AGENT_PID; [2023-02-17T05:46:20.675Z] echo Agent pid 78 killed; [2023-02-17T05:46:20.689Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-02-17T05:46:20.996Z] + git semver [Pipeline] } [2023-02-17T05:46:21.267Z] $ docker stop --time=1 7c536bcad33b660610e31b09455c06a2e566fc0918b61ba7d0c4970f6866f95d [2023-02-17T05:46:22.608Z] $ docker rm -f --volumes 7c536bcad33b660610e31b09455c06a2e566fc0918b61ba7d0c4970f6866f95d [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-17T05:46:22.951Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-02-17T05:46:23.153Z] Stashed 1 file(s) [Pipeline] echo [2023-02-17T05:46:23.156Z] [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 [2023-02-17T05:46:23.327Z] provisioning config files... [2023-02-17T05:46:23.337Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1328@tmp/config12009587485319153596tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-17T05:46:23.635Z] ---> docker-login.sh [2023-02-17T05:46:23.635Z] nexus3.edgexfoundry.org:10001 [2023-02-17T05:46:23.635Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-17T05:46:23.635Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-17T05:46:23.635Z] Configure a credential helper to remove this warning. See [2023-02-17T05:46:23.635Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-17T05:46:23.635Z] [2023-02-17T05:46:23.635Z] Login Succeeded [2023-02-17T05:46:23.635Z] nexus3.edgexfoundry.org:10002 [2023-02-17T05:46:23.635Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-17T05:46:23.635Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-17T05:46:23.635Z] Configure a credential helper to remove this warning. See [2023-02-17T05:46:23.635Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-17T05:46:23.635Z] [2023-02-17T05:46:23.635Z] Login Succeeded [2023-02-17T05:46:23.635Z] nexus3.edgexfoundry.org:10003 [2023-02-17T05:46:23.894Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-17T05:46:23.894Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-17T05:46:23.894Z] Configure a credential helper to remove this warning. See [2023-02-17T05:46:23.894Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-17T05:46:23.894Z] [2023-02-17T05:46:23.894Z] Login Succeeded [2023-02-17T05:46:23.894Z] nexus3.edgexfoundry.org:10004 [2023-02-17T05:46:23.894Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-17T05:46:23.894Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-17T05:46:23.894Z] Configure a credential helper to remove this warning. See [2023-02-17T05:46:23.894Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-17T05:46:23.894Z] [2023-02-17T05:46:23.894Z] Login Succeeded [2023-02-17T05:46:23.894Z] docker.io [2023-02-17T05:46:24.153Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-17T05:46:24.153Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-17T05:46:24.153Z] Configure a credential helper to remove this warning. See [2023-02-17T05:46:24.153Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-17T05:46:24.153Z] [2023-02-17T05:46:24.153Z] Login Succeeded [2023-02-17T05:46:24.153Z] ---> docker-login.sh ends [Pipeline] } [2023-02-17T05:46:24.160Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-17T05:46:24.231Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-17T05:46:24.250Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-17T05:46:24.260Z] ========================================================= [2023-02-17T05:46:24.260Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-02-17T05:46:24.260Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-17T05:46:24.582Z] + 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.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-02-17T05:46:24.582Z] Sending build context to Docker daemon 10.5MB [2023-02-17T05:46:24.582Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-02-17T05:46:24.582Z] Step 2/10 : FROM ${BASE} AS builder [2023-02-17T05:46:24.843Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-02-17T05:46:24.843Z] 213ec9aee27d: Pulling fs layer [2023-02-17T05:46:24.843Z] 4583459ba037: Pulling fs layer [2023-02-17T05:46:24.843Z] 93c1e223e6f2: Pulling fs layer [2023-02-17T05:46:24.843Z] 53926ce57604: Pulling fs layer [2023-02-17T05:46:24.843Z] 21b2b0c7a3f4: Pulling fs layer [2023-02-17T05:46:24.843Z] 22ff95d597cd: Pulling fs layer [2023-02-17T05:46:24.843Z] 12d6caf4c0d1: Pulling fs layer [2023-02-17T05:46:24.843Z] 96b7cbca73a9: Pulling fs layer [2023-02-17T05:46:24.843Z] a7acece74701: Pulling fs layer [2023-02-17T05:46:24.843Z] 21b2b0c7a3f4: Waiting [2023-02-17T05:46:24.843Z] 22ff95d597cd: Waiting [2023-02-17T05:46:24.843Z] 12d6caf4c0d1: Waiting [2023-02-17T05:46:24.843Z] 96b7cbca73a9: Waiting [2023-02-17T05:46:24.844Z] a7acece74701: Waiting [2023-02-17T05:46:24.844Z] 53926ce57604: Waiting [2023-02-17T05:46:24.844Z] 93c1e223e6f2: Verifying Checksum [2023-02-17T05:46:24.844Z] 93c1e223e6f2: Download complete [2023-02-17T05:46:24.844Z] 4583459ba037: Verifying Checksum [2023-02-17T05:46:24.844Z] 4583459ba037: Download complete [2023-02-17T05:46:24.844Z] 21b2b0c7a3f4: Verifying Checksum [2023-02-17T05:46:24.844Z] 21b2b0c7a3f4: Download complete [2023-02-17T05:46:24.844Z] 22ff95d597cd: Verifying Checksum [2023-02-17T05:46:24.844Z] 22ff95d597cd: Download complete [2023-02-17T05:46:24.844Z] 213ec9aee27d: Verifying Checksum [2023-02-17T05:46:24.844Z] 213ec9aee27d: Download complete [2023-02-17T05:46:25.108Z] 213ec9aee27d: Pull complete [2023-02-17T05:46:25.108Z] 4583459ba037: Pull complete [2023-02-17T05:46:25.386Z] 93c1e223e6f2: Pull complete [2023-02-17T05:46:26.009Z] a7acece74701: Verifying Checksum [2023-02-17T05:46:26.009Z] a7acece74701: Download complete [2023-02-17T05:46:26.271Z] 53926ce57604: Verifying Checksum [2023-02-17T05:46:26.271Z] 53926ce57604: Download complete [2023-02-17T05:46:26.271Z] 96b7cbca73a9: Verifying Checksum [2023-02-17T05:46:26.271Z] 96b7cbca73a9: Download complete [2023-02-17T05:46:29.563Z] 53926ce57604: Pull complete [2023-02-17T05:46:29.563Z] 21b2b0c7a3f4: Pull complete [2023-02-17T05:46:29.563Z] 22ff95d597cd: Pull complete [2023-02-17T05:46:29.823Z] 12d6caf4c0d1: Pull complete [2023-02-17T05:46:32.358Z] 96b7cbca73a9: Pull complete [2023-02-17T05:46:32.618Z] a7acece74701: Pull complete [2023-02-17T05:46:32.618Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-02-17T05:46:32.618Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-02-17T05:46:32.618Z] ---> db6d94c90886 [2023-02-17T05:46:32.618Z] Step 3/10 : ARG MAKE=make build [2023-02-17T05:46:35.161Z] ---> Running in 091e17452672 [2023-02-17T05:46:35.161Z] Removing intermediate container 091e17452672 [2023-02-17T05:46:35.161Z] ---> 494feb8ccff3 [2023-02-17T05:46:35.161Z] Step 4/10 : WORKDIR /device-sdk-go [2023-02-17T05:46:35.161Z] ---> Running in 1fbb5e481f08 [2023-02-17T05:46:35.161Z] Removing intermediate container 1fbb5e481f08 [2023-02-17T05:46:35.161Z] ---> 3ad0b971dec4 [2023-02-17T05:46:35.161Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-02-17T05:46:35.161Z] ---> Running in 208f8b32fb2c [2023-02-17T05:46:35.161Z] Removing intermediate container 208f8b32fb2c [2023-02-17T05:46:35.161Z] ---> 4ba13030cc58 [2023-02-17T05:46:35.161Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-02-17T05:46:35.161Z] ---> Running in 9619ea7a70db [2023-02-17T05:46:35.420Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-17T05:46:35.420Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-17T05:46:35.680Z] OK: 211 MiB in 51 packages [2023-02-17T05:46:36.248Z] Removing intermediate container 9619ea7a70db [2023-02-17T05:46:36.248Z] ---> bd3c9aa83530 [2023-02-17T05:46:36.248Z] Step 7/10 : COPY go.mod vendor* ./ [2023-02-17T05:46:36.248Z] ---> e43fbd041808 [2023-02-17T05:46:36.248Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-17T05:46:36.248Z] ---> Running in 2911c39aedf4 [2023-02-17T05:46:38.270Z] Still waiting to schedule task [2023-02-17T05:46:38.270Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-02-17T05:47:02.925Z] Removing intermediate container 2911c39aedf4 [2023-02-17T05:47:02.925Z] ---> ae9cfb350a58 [2023-02-17T05:47:02.925Z] Step 9/10 : COPY . . [2023-02-17T05:47:02.925Z] ---> fea284fa0f7f [2023-02-17T05:47:02.925Z] Step 10/10 : RUN ${MAKE} [2023-02-17T05:47:02.925Z] ---> Running in ac7897ed473f [2023-02-17T05:47:02.925Z] noop [2023-02-17T05:47:02.925Z] Removing intermediate container ac7897ed473f [2023-02-17T05:47:02.925Z] ---> 87783319fb35 [2023-02-17T05:47:02.925Z] Successfully built 87783319fb35 [2023-02-17T05:47:02.925Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-17T05:47:03.246Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-17T05:47:03.246Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-17T05:47:03.312Z] prd-ubuntu20.04-docker-8c-8g-6387 does not seem to be running inside a container [2023-02-17T05:47:03.340Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1328 -v /w/workspace/gexfoundry_device-sdk-go_PR-1328:/w/workspace/gexfoundry_device-sdk-go_PR-1328:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1328@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1328@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-02-17T05:47:03.705Z] $ docker top 9974223c10164476123662d3c5d4ff1af2b424eba05be4bb0d28413e31711d7d -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-17T05:47:04.062Z] + go version [2023-02-17T05:47:04.062Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-02-17T05:47:04.068Z] $ docker stop --time=1 9974223c10164476123662d3c5d4ff1af2b424eba05be4bb0d28413e31711d7d [2023-02-17T05:47:05.323Z] $ docker rm -f --volumes 9974223c10164476123662d3c5d4ff1af2b424eba05be4bb0d28413e31711d7d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-17T05:47:05.710Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-17T05:47:05.710Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-17T05:47:05.855Z] prd-ubuntu20.04-docker-8c-8g-6387 does not seem to be running inside a container [2023-02-17T05:47:05.953Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/gexfoundry_device-sdk-go_PR-1328 -v /w/workspace/gexfoundry_device-sdk-go_PR-1328:/w/workspace/gexfoundry_device-sdk-go_PR-1328:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1328@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1328@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-02-17T05:47:06.296Z] $ docker top 939cb7b7a5a62fd55443279f42354e301ea35c2248eaec5360b8add16b28adfd -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-17T05:47:06.650Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1328 [Pipeline] fileExists [Pipeline] sh [2023-02-17T05:47:06.945Z] + make test [2023-02-17T05:47:06.945Z] go test -race -coverprofile=coverage.out ./... [2023-02-17T05:47:13.509Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-02-17T05:47:28.375Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-02-17T05:47:28.375Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-02-17T05:47:28.375Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-02-17T05:47:28.375Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-02-17T05:47:28.375Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-02-17T05:47:28.375Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.058s coverage: 27.6% of statements [2023-02-17T05:47:28.375Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.074s coverage: 78.9% of statements [2023-02-17T05:47:28.375Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] [2023-02-17T05:47:28.375Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.105s coverage: 77.8% of statements [2023-02-17T05:47:28.375Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-02-17T05:47:28.375Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-02-17T05:47:28.375Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.098s coverage: 77.0% of statements [2023-02-17T05:47:28.375Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-02-17T05:47:28.375Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [no test files] [2023-02-17T05:47:28.375Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-02-17T05:47:28.375Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.099s coverage: 65.2% of statements [2023-02-17T05:47:28.375Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-02-17T05:47:28.375Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-02-17T05:47:28.375Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.729s coverage: 89.2% of statements [2023-02-17T05:47:28.375Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] [2023-02-17T05:47:28.375Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.056s coverage: 4.7% of statements [2023-02-17T05:47:28.375Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-02-17T05:47:43.244Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2023-02-17T05:47:43.244Z] GO111MODULE=on go vet ./... [2023-02-17T05:47:46.524Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-02-17T05:47:46.524Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-02-17T05:47:46.524Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-02-17T05:47:46.536Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-02-17T05:47:46.542Z] $ docker stop --time=1 939cb7b7a5a62fd55443279f42354e301ea35c2248eaec5360b8add16b28adfd [2023-02-17T05:47:49.719Z] $ docker rm -f --volumes 939cb7b7a5a62fd55443279f42354e301ea35c2248eaec5360b8add16b28adfd [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-17T05:47:50.230Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-02-17T05:47:50.291Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-02-17T05:47:50.724Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-02-17T05:47:51.008Z] + ls -al . [2023-02-17T05:47:51.008Z] total 272 [2023-02-17T05:47:51.008Z] drwxrwxr-x 11 jenkins jenkins 4096 Feb 17 05:47 . [2023-02-17T05:47:51.008Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 17 05:46 .. [2023-02-17T05:47:51.008Z] -rw-rw-r-- 1 jenkins jenkins 140 Feb 17 05:46 .dockerignore [2023-02-17T05:47:51.008Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 17 05:47 .git [2023-02-17T05:47:51.008Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 17 05:46 .github [2023-02-17T05:47:51.008Z] -rw-rw-r-- 1 jenkins jenkins 131 Feb 17 05:46 .gitignore [2023-02-17T05:47:51.008Z] -rw-rw-r-- 1 jenkins jenkins 42 Feb 17 05:46 .golangci.yml [2023-02-17T05:47:51.008Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 17 05:46 .semver [2023-02-17T05:47:51.008Z] -rw-rw-r-- 1 jenkins jenkins 31677 Feb 17 05:46 CHANGELOG.md [2023-02-17T05:47:51.008Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 17 05:46 GOVERNANCE.md [2023-02-17T05:47:51.008Z] -rw-rw-r-- 1 jenkins jenkins 885 Feb 17 05:46 Jenkinsfile [2023-02-17T05:47:51.008Z] -rw-rw-r-- 1 jenkins jenkins 11341 Feb 17 05:46 LICENSE [2023-02-17T05:47:51.008Z] -rw-rw-r-- 1 jenkins jenkins 1679 Feb 17 05:46 Makefile [2023-02-17T05:47:51.008Z] -rw-rw-r-- 1 jenkins jenkins 619 Feb 17 05:46 OWNERS.md [2023-02-17T05:47:51.008Z] -rw-rw-r-- 1 jenkins jenkins 4891 Feb 17 05:46 README.md [2023-02-17T05:47:51.008Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 17 05:46 VERSION [2023-02-17T05:47:51.008Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 17 05:46 bin [2023-02-17T05:47:51.008Z] -rw-r--r-- 1 jenkins jenkins 98700 Feb 17 05:47 coverage.out [2023-02-17T05:47:51.008Z] drwxrwxr-x 5 jenkins jenkins 4096 Feb 17 05:46 example [2023-02-17T05:47:51.008Z] -rw-rw-r-- 1 jenkins jenkins 3265 Feb 17 05:46 go.mod [2023-02-17T05:47:51.008Z] -rw-rw-r-- 1 jenkins jenkins 32819 Feb 17 05:46 go.sum [2023-02-17T05:47:51.008Z] drwxrwxr-x 13 jenkins jenkins 4096 Feb 17 05:46 internal [2023-02-17T05:47:51.008Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 17 05:46 openapi [2023-02-17T05:47:51.008Z] drwxrwxr-x 6 jenkins jenkins 4096 Feb 17 05:46 pkg [2023-02-17T05:47:51.008Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 17 05:46 snap [2023-02-17T05:47:51.008Z] -rw-rw-r-- 1 jenkins jenkins 222 Feb 17 05:46 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-17T05:47:51.357Z] + 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=99640fc8bc735c478916a02e3dc7aaca1d628413 --label arch=amd64 --label version=0.0.0 . [2023-02-17T05:47:51.357Z] Sending build context to Docker daemon 10.6MB [2023-02-17T05:47:51.357Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2023-02-17T05:47:51.357Z] Step 2/23 : FROM ${BASE} AS builder [2023-02-17T05:47:51.357Z] ---> 87783319fb35 [2023-02-17T05:47:51.357Z] Step 3/23 : ARG MAKE=make build [2023-02-17T05:47:51.617Z] ---> Running in f690e5b6e49f [2023-02-17T05:47:51.617Z] Removing intermediate container f690e5b6e49f [2023-02-17T05:47:51.617Z] ---> 017d26b4b277 [2023-02-17T05:47:51.617Z] Step 4/23 : WORKDIR /device-sdk-go [2023-02-17T05:47:51.617Z] ---> Running in 1d3346ac447a [2023-02-17T05:47:51.617Z] Removing intermediate container 1d3346ac447a [2023-02-17T05:47:51.617Z] ---> 1ddfe0c258cd [2023-02-17T05:47:51.617Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-02-17T05:47:51.877Z] ---> Running in 538b7af70310 [2023-02-17T05:47:51.877Z] Removing intermediate container 538b7af70310 [2023-02-17T05:47:51.877Z] ---> 67b357ad3078 [2023-02-17T05:47:51.877Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-02-17T05:47:51.877Z] ---> Running in 728b19bf7a63 [2023-02-17T05:47:52.137Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-17T05:47:52.396Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-17T05:47:52.655Z] OK: 211 MiB in 51 packages [2023-02-17T05:47:52.914Z] Removing intermediate container 728b19bf7a63 [2023-02-17T05:47:52.914Z] ---> 3cd29ea656da [2023-02-17T05:47:52.914Z] Step 7/23 : COPY go.mod vendor* ./ [2023-02-17T05:47:53.173Z] ---> 22d7b71d5418 [2023-02-17T05:47:53.173Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-17T05:47:53.173Z] ---> Running in b5dc3e3a8e04 [2023-02-17T05:47:54.108Z] Removing intermediate container b5dc3e3a8e04 [2023-02-17T05:47:54.108Z] ---> 8a11c1292aee [2023-02-17T05:47:54.108Z] Step 9/23 : COPY . . [2023-02-17T05:47:54.373Z] ---> 82ba7de65ca7 [2023-02-17T05:47:54.373Z] Step 10/23 : RUN ${MAKE} [2023-02-17T05:47:54.632Z] ---> Running in b5dd01a4cc1e [2023-02-17T05:47:54.899Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-02-17T05:48:16.824Z] Removing intermediate container b5dd01a4cc1e [2023-02-17T05:48:16.824Z] ---> e9277c1c3fe4 [2023-02-17T05:48:16.824Z] Step 11/23 : FROM alpine:3.16 [2023-02-17T05:48:16.824Z] 3.16: Pulling from library/alpine [2023-02-17T05:48:16.824Z] ef5531b6e74e: Pulling fs layer [2023-02-17T05:48:16.824Z] ef5531b6e74e: Download complete [2023-02-17T05:48:16.824Z] ef5531b6e74e: Pull complete [2023-02-17T05:48:16.824Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-02-17T05:48:16.824Z] Status: Downloaded newer image for alpine:3.16 [2023-02-17T05:48:16.824Z] ---> dfd21b5a31f5 [2023-02-17T05:48:16.824Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-02-17T05:48:16.824Z] ---> Running in a1205aa796b9 [2023-02-17T05:48:16.824Z] Removing intermediate container a1205aa796b9 [2023-02-17T05:48:16.824Z] ---> 0b48fecfc82f [2023-02-17T05:48:16.824Z] Step 13/23 : RUN apk add --update --no-cache [2023-02-17T05:48:16.824Z] ---> Running in f0c85f6dc528 [2023-02-17T05:48:16.824Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-17T05:48:16.824Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-17T05:48:16.824Z] OK: 6 MiB in 14 packages [2023-02-17T05:48:16.824Z] Removing intermediate container f0c85f6dc528 [2023-02-17T05:48:16.824Z] ---> fe1726564f44 [2023-02-17T05:48:16.824Z] Step 14/23 : WORKDIR / [2023-02-17T05:48:16.824Z] ---> Running in c80071d3339f [2023-02-17T05:48:16.824Z] Removing intermediate container c80071d3339f [2023-02-17T05:48:16.824Z] ---> ffdc471302e4 [2023-02-17T05:48:16.824Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-02-17T05:48:16.824Z] ---> 17578d8ee413 [2023-02-17T05:48:16.824Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-02-17T05:48:17.762Z] ---> 727f09571843 [2023-02-17T05:48:17.762Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-02-17T05:48:17.762Z] ---> 9dc3670a70d6 [2023-02-17T05:48:17.762Z] Step 18/23 : EXPOSE 59999 [2023-02-17T05:48:17.762Z] ---> Running in 8377d9700179 [2023-02-17T05:48:17.762Z] Removing intermediate container 8377d9700179 [2023-02-17T05:48:17.762Z] ---> 55e2fd8c5685 [2023-02-17T05:48:17.762Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-02-17T05:48:17.762Z] ---> Running in 528c717cb240 [2023-02-17T05:48:18.037Z] Removing intermediate container 528c717cb240 [2023-02-17T05:48:18.037Z] ---> 5efa7d73760f [2023-02-17T05:48:18.037Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-02-17T05:48:18.037Z] ---> Running in 31d43289b299 [2023-02-17T05:48:18.037Z] Removing intermediate container 31d43289b299 [2023-02-17T05:48:18.037Z] ---> 5a2ad0349dd1 [2023-02-17T05:48:18.037Z] Step 21/23 : LABEL arch=amd64 [2023-02-17T05:48:18.037Z] ---> Running in 0f6ed3e594c3 [2023-02-17T05:48:18.037Z] Removing intermediate container 0f6ed3e594c3 [2023-02-17T05:48:18.037Z] ---> 92d1e5f46cf6 [2023-02-17T05:48:18.037Z] Step 22/23 : LABEL git_sha=99640fc8bc735c478916a02e3dc7aaca1d628413 [2023-02-17T05:48:18.296Z] ---> Running in 4f1bf22e0f4f [2023-02-17T05:48:18.296Z] Removing intermediate container 4f1bf22e0f4f [2023-02-17T05:48:18.296Z] ---> 7b8ab1a1883a [2023-02-17T05:48:18.296Z] Step 23/23 : LABEL version=0.0.0 [2023-02-17T05:48:18.296Z] ---> Running in f69dbe2bebd7 [2023-02-17T05:48:18.296Z] Removing intermediate container f69dbe2bebd7 [2023-02-17T05:48:18.296Z] ---> 59cf8cc81079 [2023-02-17T05:48:18.296Z] [Warning] One or more build-args [ARCH] were not consumed [2023-02-17T05:48:18.296Z] Successfully built 59cf8cc81079 [2023-02-17T05:48:18.296Z] Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // withEnv [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] withEnv [Pipeline] { [Pipeline] sh [2023-02-17T05:48:18.724Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-17T05:48:18.724Z] [2023-02-17T05:48:18.724Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-17T05:48:19.030Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-17T05:48:19.030Z] latest: Pulling from edgex-lftools-log-publisher [2023-02-17T05:48:19.030Z] 5eb5b503b376: Pulling fs layer [2023-02-17T05:48:19.030Z] 5c69ac0246d0: Pulling fs layer [2023-02-17T05:48:19.030Z] ec43610c2a17: Pulling fs layer [2023-02-17T05:48:19.030Z] 3a2ae6a8a46f: Pulling fs layer [2023-02-17T05:48:19.030Z] 33b1e0a273af: Pulling fs layer [2023-02-17T05:48:19.030Z] 5d3b04190fa2: Pulling fs layer [2023-02-17T05:48:19.030Z] 2f39f015ded8: Pulling fs layer [2023-02-17T05:48:19.030Z] 5d3b04190fa2: Waiting [2023-02-17T05:48:19.030Z] 2f39f015ded8: Waiting [2023-02-17T05:48:19.030Z] 3a2ae6a8a46f: Waiting [2023-02-17T05:48:19.030Z] 5c69ac0246d0: Verifying Checksum [2023-02-17T05:48:19.030Z] 5c69ac0246d0: Download complete [2023-02-17T05:48:19.030Z] 3a2ae6a8a46f: Download complete [2023-02-17T05:48:19.293Z] 33b1e0a273af: Verifying Checksum [2023-02-17T05:48:19.293Z] 33b1e0a273af: Download complete [2023-02-17T05:48:19.293Z] 5d3b04190fa2: Verifying Checksum [2023-02-17T05:48:19.293Z] 5d3b04190fa2: Download complete [2023-02-17T05:48:19.293Z] ec43610c2a17: Verifying Checksum [2023-02-17T05:48:19.293Z] ec43610c2a17: Download complete [2023-02-17T05:48:19.552Z] 5eb5b503b376: Verifying Checksum [2023-02-17T05:48:19.552Z] 5eb5b503b376: Download complete [2023-02-17T05:48:20.116Z] 2f39f015ded8: Download complete [2023-02-17T05:48:20.682Z] 5eb5b503b376: Pull complete [2023-02-17T05:48:20.682Z] 5c69ac0246d0: Pull complete [2023-02-17T05:48:21.251Z] ec43610c2a17: Pull complete [2023-02-17T05:48:21.251Z] 3a2ae6a8a46f: Pull complete [2023-02-17T05:48:21.508Z] 33b1e0a273af: Pull complete [2023-02-17T05:48:21.508Z] 5d3b04190fa2: Pull complete [2023-02-17T05:48:25.706Z] 2f39f015ded8: Pull complete [2023-02-17T05:48:25.706Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-02-17T05:48:25.706Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-17T05:48:25.706Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-17T05:48:25.782Z] prd-ubuntu20.04-docker-8c-8g-6387 does not seem to be running inside a container [2023-02-17T05:48:25.809Z] $ 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-1328 -v /w/workspace/gexfoundry_device-sdk-go_PR-1328:/w/workspace/gexfoundry_device-sdk-go_PR-1328:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1328@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1328@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 [2023-02-17T05:48:29.004Z] $ docker top d8c53bc94a801c6cffe31eb6f9c0f80d3f63ca6977d5dbd5094d5e2e50d6a71d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-17T05:48:29.401Z] ---> job-cost.sh [2023-02-17T05:48:29.401Z] lf-activate-venv: SKIPPING [2023-02-17T05:48:29.401Z] INFO: No Stack... [2023-02-17T05:48:29.968Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-17T05:48:30.226Z] INFO: Archiving Costs [Pipeline] sh [2023-02-17T05:48:30.517Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1328/archives/cost.csv [2023-02-17T05:48:30.518Z] + cut -d, -f6 [Pipeline] lock [2023-02-17T05:48:30.533Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1328-2-stack-cost] [2023-02-17T05:48:30.542Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1328-2-stack-cost] did not exist. Created. [2023-02-17T05:48:30.542Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1328-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-17T05:48:30.838Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-02-17T05:48:30.863Z] Stashed 1 file(s) [Pipeline] } [2023-02-17T05:48:30.869Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1328-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-17T05:48:30.882Z] $ docker stop --time=1 d8c53bc94a801c6cffe31eb6f9c0f80d3f63ca6977d5dbd5094d5e2e50d6a71d [2023-02-17T05:48:32.094Z] $ docker rm -f --volumes d8c53bc94a801c6cffe31eb6f9c0f80d3f63ca6977d5dbd5094d5e2e50d6a71d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-02-17T05:50:07.250Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-6392 in /w/workspace/gexfoundry_device-sdk-go_PR-1328 [Pipeline] { [Pipeline] ws [2023-02-17T05:50:07.261Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2023-02-17T05:50:07.307Z] The recommended git tool is: git [2023-02-17T05:50:18.072Z] using credential edgex-jenkins-ssh [2023-02-17T05:50:18.098Z] Cloning the remote Git repository [2023-02-17T05:50:18.219Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-02-17T05:50:18.372Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2023-02-17T05:50:20.032Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-02-17T05:50:20.033Z] > git --version # timeout=10 [2023-02-17T05:50:20.092Z] > git --version # 'git version 2.25.1' [2023-02-17T05:50:20.095Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-17T05:50:20.208Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-17T05:50:22.305Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-02-17T05:50:22.346Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-17T05:50:23.907Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-02-17T05:50:23.978Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-02-17T05:50:23.980Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-17T05:50:24.004Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1328/head:refs/remotes/origin/PR-1328 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-02-17T05:50:24.714Z] Merging remotes/origin/main commit 44494171fcaded074de32712625f564a2da22111 into PR head commit 99640fc8bc735c478916a02e3dc7aaca1d628413 [2023-02-17T05:50:25.061Z] Merge succeeded, producing 99640fc8bc735c478916a02e3dc7aaca1d628413 [2023-02-17T05:50:25.061Z] Checking out Revision 99640fc8bc735c478916a02e3dc7aaca1d628413 (PR-1328) [2023-02-17T05:50:25.835Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v3" [2023-02-17T05:50:24.740Z] > git config core.sparsecheckout # timeout=10 [2023-02-17T05:50:24.775Z] > git checkout -f 99640fc8bc735c478916a02e3dc7aaca1d628413 # timeout=10 [2023-02-17T05:50:24.921Z] > git remote # timeout=10 [2023-02-17T05:50:24.948Z] > git config --get remote.origin.url # timeout=10 [2023-02-17T05:50:24.979Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-17T05:50:24.996Z] > git merge 44494171fcaded074de32712625f564a2da22111 # timeout=10 [2023-02-17T05:50:25.031Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-02-17T05:50:25.070Z] > git config core.sparsecheckout # timeout=10 [2023-02-17T05:50:25.094Z] > git checkout -f 99640fc8bc735c478916a02e3dc7aaca1d628413 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-17T05:50:26.792Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-02-17T05:50:26.792Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-17T05:50:26.792Z] Dload Upload Total Spent Left Speed [2023-02-17T05:50:26.792Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 95156 0 --:--:-- --:--:-- --:--:-- 95156 [Pipeline] sh [2023-02-17T05:50:27.638Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-02-17T05:50:28.021Z] + sudo tee /etc/docker/daemon.new [2023-02-17T05:50:28.021Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-02-17T05:50:28.299Z] { [2023-02-17T05:50:28.299Z] "registry-mirrors": [ [2023-02-17T05:50:28.299Z] "https://nexus3.edgexfoundry.org:10001" [2023-02-17T05:50:28.299Z] ], [2023-02-17T05:50:28.299Z] "bip": "10.250.0.254/24", [2023-02-17T05:50:28.299Z] "hosts": [ [2023-02-17T05:50:28.299Z] "tcp://0.0.0.0:5555", [2023-02-17T05:50:28.299Z] "unix:///var/run/docker.sock" [2023-02-17T05:50:28.299Z] ], [2023-02-17T05:50:28.299Z] "mtu": 1458, [2023-02-17T05:50:28.299Z] "selinux-enabled": true, [2023-02-17T05:50:28.299Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-02-17T05:50:28.299Z] } [Pipeline] sh [2023-02-17T05:50:28.673Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-02-17T05:50:29.160Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-17T05:50:47.538Z] provisioning config files... [2023-02-17T05:50:47.573Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config1759918161935149703tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-17T05:50:47.951Z] ---> docker-login.sh [2023-02-17T05:50:47.951Z] nexus3.edgexfoundry.org:10001 [2023-02-17T05:50:48.543Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-17T05:50:48.543Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-17T05:50:48.543Z] Configure a credential helper to remove this warning. See [2023-02-17T05:50:48.543Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-17T05:50:48.543Z] [2023-02-17T05:50:48.543Z] Login Succeeded [2023-02-17T05:50:48.543Z] nexus3.edgexfoundry.org:10002 [2023-02-17T05:50:48.813Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-17T05:50:49.083Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-17T05:50:49.083Z] Configure a credential helper to remove this warning. See [2023-02-17T05:50:49.083Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-17T05:50:49.083Z] [2023-02-17T05:50:49.083Z] Login Succeeded [2023-02-17T05:50:49.083Z] nexus3.edgexfoundry.org:10003 [2023-02-17T05:50:49.356Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-17T05:50:49.356Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-17T05:50:49.356Z] Configure a credential helper to remove this warning. See [2023-02-17T05:50:49.356Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-17T05:50:49.356Z] [2023-02-17T05:50:49.356Z] Login Succeeded [2023-02-17T05:50:49.356Z] nexus3.edgexfoundry.org:10004 [2023-02-17T05:50:49.630Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-17T05:50:49.901Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-17T05:50:49.901Z] Configure a credential helper to remove this warning. See [2023-02-17T05:50:49.901Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-17T05:50:49.901Z] [2023-02-17T05:50:49.901Z] Login Succeeded [2023-02-17T05:50:49.901Z] docker.io [2023-02-17T05:50:50.174Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-17T05:50:50.444Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-17T05:50:50.444Z] Configure a credential helper to remove this warning. See [2023-02-17T05:50:50.444Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-17T05:50:50.444Z] [2023-02-17T05:50:50.444Z] Login Succeeded [2023-02-17T05:50:50.444Z] ---> docker-login.sh ends [Pipeline] } [2023-02-17T05:50:50.458Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-17T05:50:50.754Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-17T05:50:50.764Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-17T05:50:50.771Z] ========================================================= [2023-02-17T05:50:50.771Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-02-17T05:50:50.771Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-17T05:50:51.124Z] + 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.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-02-17T05:50:51.395Z] Sending build context to Docker daemon 5.638MB [2023-02-17T05:50:51.680Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-02-17T05:50:51.680Z] Step 2/10 : FROM ${BASE} AS builder [2023-02-17T05:50:51.680Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-02-17T05:50:51.680Z] 9b18e9b68314: Pulling fs layer [2023-02-17T05:50:51.680Z] 35d82f9e3411: Pulling fs layer [2023-02-17T05:50:51.680Z] e16973657156: Pulling fs layer [2023-02-17T05:50:51.680Z] fc693d55d65f: Pulling fs layer [2023-02-17T05:50:51.680Z] 7e9fc2657dce: Pulling fs layer [2023-02-17T05:50:51.680Z] dda99020689f: Pulling fs layer [2023-02-17T05:50:51.680Z] db1c61fa0a46: Pulling fs layer [2023-02-17T05:50:51.680Z] 891c053d2c06: Pulling fs layer [2023-02-17T05:50:51.680Z] fc693d55d65f: Waiting [2023-02-17T05:50:51.680Z] 7e9fc2657dce: Waiting [2023-02-17T05:50:51.680Z] dda99020689f: Waiting [2023-02-17T05:50:51.680Z] db1c61fa0a46: Waiting [2023-02-17T05:50:51.680Z] 891c053d2c06: Waiting [2023-02-17T05:50:51.680Z] e16973657156: Verifying Checksum [2023-02-17T05:50:51.680Z] e16973657156: Download complete [2023-02-17T05:50:51.680Z] 35d82f9e3411: Verifying Checksum [2023-02-17T05:50:51.680Z] 35d82f9e3411: Download complete [2023-02-17T05:50:51.955Z] 7e9fc2657dce: Verifying Checksum [2023-02-17T05:50:51.955Z] 7e9fc2657dce: Download complete [2023-02-17T05:50:51.955Z] dda99020689f: Verifying Checksum [2023-02-17T05:50:51.955Z] dda99020689f: Download complete [2023-02-17T05:50:51.955Z] 9b18e9b68314: Verifying Checksum [2023-02-17T05:50:52.939Z] 9b18e9b68314: Pull complete [2023-02-17T05:50:53.208Z] 891c053d2c06: Verifying Checksum [2023-02-17T05:50:53.208Z] 891c053d2c06: Download complete [2023-02-17T05:50:53.492Z] 35d82f9e3411: Pull complete [2023-02-17T05:50:53.765Z] e16973657156: Pull complete [2023-02-17T05:50:54.354Z] db1c61fa0a46: Verifying Checksum [2023-02-17T05:50:54.354Z] db1c61fa0a46: Download complete [2023-02-17T05:50:54.943Z] fc693d55d65f: Verifying Checksum [2023-02-17T05:50:54.943Z] fc693d55d65f: Download complete [2023-02-17T05:51:07.280Z] fc693d55d65f: Pull complete [2023-02-17T05:51:07.280Z] 7e9fc2657dce: Pull complete [2023-02-17T05:51:07.280Z] dda99020689f: Pull complete [2023-02-17T05:51:12.661Z] db1c61fa0a46: Pull complete [2023-02-17T05:51:14.632Z] 891c053d2c06: Pull complete [2023-02-17T05:51:14.632Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-02-17T05:51:14.632Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-02-17T05:51:14.632Z] ---> f96f9c87975a [2023-02-17T05:51:14.632Z] Step 3/10 : ARG MAKE=make build [2023-02-17T05:51:16.605Z] ---> Running in ec7d9427d24e [2023-02-17T05:51:16.875Z] Removing intermediate container ec7d9427d24e [2023-02-17T05:51:16.875Z] ---> ec0a4a346d5d [2023-02-17T05:51:16.875Z] Step 4/10 : WORKDIR /device-sdk-go [2023-02-17T05:51:16.875Z] ---> Running in 14f1f2c37f55 [2023-02-17T05:51:17.147Z] Removing intermediate container 14f1f2c37f55 [2023-02-17T05:51:17.147Z] ---> 0d3ec91fad71 [2023-02-17T05:51:17.147Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-02-17T05:51:17.419Z] ---> Running in 5590a153fc84 [2023-02-17T05:51:17.694Z] Removing intermediate container 5590a153fc84 [2023-02-17T05:51:17.694Z] ---> f2291187aac0 [2023-02-17T05:51:17.694Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-02-17T05:51:17.694Z] ---> Running in cfe126e79048 [2023-02-17T05:51:19.123Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-17T05:51:19.395Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-17T05:51:20.818Z] OK: 221 MiB in 51 packages [2023-02-17T05:51:21.786Z] Removing intermediate container cfe126e79048 [2023-02-17T05:51:21.786Z] ---> 7c0df78448f5 [2023-02-17T05:51:21.786Z] Step 7/10 : COPY go.mod vendor* ./ [2023-02-17T05:51:22.058Z] ---> a7f6a0871039 [2023-02-17T05:51:22.058Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-17T05:51:22.330Z] ---> Running in c42a373c9a8c [2023-02-17T05:52:30.260Z] Removing intermediate container c42a373c9a8c [2023-02-17T05:52:30.260Z] ---> f89a4d77ee2a [2023-02-17T05:52:30.260Z] Step 9/10 : COPY . . [2023-02-17T05:52:30.530Z] ---> 1f1339c10405 [2023-02-17T05:52:30.530Z] Step 10/10 : RUN ${MAKE} [2023-02-17T05:52:30.811Z] ---> Running in ad580e536bda [2023-02-17T05:52:31.798Z] noop [2023-02-17T05:52:32.386Z] Removing intermediate container ad580e536bda [2023-02-17T05:52:32.386Z] ---> e367398fc1de [2023-02-17T05:52:32.386Z] Successfully built e367398fc1de [2023-02-17T05:52:32.386Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-17T05:52:32.748Z] + docker inspect -f . ci-base-image-arm64 [2023-02-17T05:52:32.748Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-17T05:52:32.957Z] prd-ubuntu20.04-docker-arm64-4c-16g-6392 does not seem to be running inside a container [2023-02-17T05:52:33.034Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-02-17T05:52:34.316Z] $ docker top f21aad65a0f28932784d76ee3bf7c5a07e94d73895393253d5bdbc061faa4207 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-17T05:52:35.170Z] + go version [2023-02-17T05:52:35.170Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-02-17T05:52:35.194Z] $ docker stop --time=1 f21aad65a0f28932784d76ee3bf7c5a07e94d73895393253d5bdbc061faa4207 [2023-02-17T05:52:36.804Z] $ docker rm -f --volumes f21aad65a0f28932784d76ee3bf7c5a07e94d73895393253d5bdbc061faa4207 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-17T05:52:37.372Z] + docker inspect -f . ci-base-image-arm64 [2023-02-17T05:52:37.372Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-17T05:52:37.571Z] prd-ubuntu20.04-docker-arm64-4c-16g-6392 does not seem to be running inside a container [2023-02-17T05:52:37.653Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-02-17T05:52:38.961Z] $ docker top 07809dc6bad324cc83ac8b52f87cff46c87813d3361fa47d48e1e55aed1d2901 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-17T05:52:39.836Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/2 [Pipeline] fileExists [Pipeline] sh [2023-02-17T05:52:40.504Z] + make test [2023-02-17T05:52:40.504Z] go test -race -coverprofile=coverage.out ./... [2023-02-17T05:53:19.440Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-02-17T05:55:11.124Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-02-17T05:55:11.124Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-02-17T05:55:11.124Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-02-17T05:55:11.124Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-02-17T05:55:11.124Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-02-17T05:55:16.469Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.416s coverage: 27.6% of statements [2023-02-17T05:55:16.737Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.290s coverage: 78.9% of statements [2023-02-17T05:55:16.737Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] [2023-02-17T05:55:22.090Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.392s coverage: 77.8% of statements [2023-02-17T05:55:22.090Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-02-17T05:55:22.090Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-02-17T05:55:24.038Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.471s coverage: 77.0% of statements [2023-02-17T05:55:24.038Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-02-17T05:55:24.038Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [no test files] [2023-02-17T05:55:24.038Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-02-17T05:55:24.038Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.446s coverage: 65.2% of statements [2023-02-17T05:55:24.038Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-02-17T05:55:24.038Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-02-17T05:55:25.451Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 3.252s coverage: 89.2% of statements [2023-02-17T05:55:25.451Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] [2023-02-17T05:55:25.451Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.320s coverage: 4.7% of statements [2023-02-17T05:55:25.451Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-02-17T05:55:26.412Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-02-17T05:55:26.412Z] GO111MODULE=on go vet ./... [2023-02-17T05:57:03.228Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-02-17T05:57:03.228Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-02-17T05:57:03.228Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-02-17T05:57:03.247Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-02-17T05:57:03.266Z] $ docker stop --time=1 07809dc6bad324cc83ac8b52f87cff46c87813d3361fa47d48e1e55aed1d2901 [2023-02-17T05:57:05.103Z] $ docker rm -f --volumes 07809dc6bad324cc83ac8b52f87cff46c87813d3361fa47d48e1e55aed1d2901 [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-17T05:57:06.531Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-02-17T05:57:06.557Z] Warning: overwriting stash ‘coverage-report’ [2023-02-17T05:57:07.185Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-17T05:57:07.594Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-02-17T05:57:07.925Z] + ls -al . [2023-02-17T05:57:07.925Z] total 268 [2023-02-17T05:57:07.925Z] drwxrwxr-x 10 jenkins jenkins 4096 Feb 17 05:52 . [2023-02-17T05:57:07.925Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 17 05:50 .. [2023-02-17T05:57:07.925Z] -rw-rw-r-- 1 jenkins jenkins 140 Feb 17 05:50 .dockerignore [2023-02-17T05:57:07.925Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 17 05:50 .git [2023-02-17T05:57:07.925Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 17 05:50 .github [2023-02-17T05:57:07.925Z] -rw-rw-r-- 1 jenkins jenkins 131 Feb 17 05:50 .gitignore [2023-02-17T05:57:07.925Z] -rw-rw-r-- 1 jenkins jenkins 42 Feb 17 05:50 .golangci.yml [2023-02-17T05:57:07.925Z] -rw-rw-r-- 1 jenkins jenkins 31677 Feb 17 05:50 CHANGELOG.md [2023-02-17T05:57:07.925Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 17 05:50 GOVERNANCE.md [2023-02-17T05:57:07.925Z] -rw-rw-r-- 1 jenkins jenkins 885 Feb 17 05:50 Jenkinsfile [2023-02-17T05:57:07.925Z] -rw-rw-r-- 1 jenkins jenkins 11341 Feb 17 05:50 LICENSE [2023-02-17T05:57:07.925Z] -rw-rw-r-- 1 jenkins jenkins 1679 Feb 17 05:50 Makefile [2023-02-17T05:57:07.925Z] -rw-rw-r-- 1 jenkins jenkins 619 Feb 17 05:50 OWNERS.md [2023-02-17T05:57:07.925Z] -rw-rw-r-- 1 jenkins jenkins 4891 Feb 17 05:50 README.md [2023-02-17T05:57:07.925Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 17 05:46 VERSION [2023-02-17T05:57:07.925Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 17 05:50 bin [2023-02-17T05:57:07.926Z] -rw-r--r-- 1 jenkins jenkins 98700 Feb 17 05:55 coverage.out [2023-02-17T05:57:07.926Z] drwxrwxr-x 5 jenkins jenkins 4096 Feb 17 05:50 example [2023-02-17T05:57:07.926Z] -rw-rw-r-- 1 jenkins jenkins 3265 Feb 17 05:50 go.mod [2023-02-17T05:57:07.926Z] -rw-rw-r-- 1 jenkins jenkins 32819 Feb 17 05:50 go.sum [2023-02-17T05:57:07.926Z] drwxrwxr-x 13 jenkins jenkins 4096 Feb 17 05:50 internal [2023-02-17T05:57:07.926Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 17 05:50 openapi [2023-02-17T05:57:07.926Z] drwxrwxr-x 6 jenkins jenkins 4096 Feb 17 05:50 pkg [2023-02-17T05:57:07.926Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 17 05:50 snap [2023-02-17T05:57:07.926Z] -rw-rw-r-- 1 jenkins jenkins 222 Feb 17 05:50 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-17T05:57:08.279Z] + 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=99640fc8bc735c478916a02e3dc7aaca1d628413 --label arch=arm64 --label version=0.0.0 . [2023-02-17T05:57:08.871Z] Sending build context to Docker daemon 5.737MB [2023-02-17T05:57:08.871Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2023-02-17T05:57:08.871Z] Step 2/23 : FROM ${BASE} AS builder [2023-02-17T05:57:08.871Z] ---> e367398fc1de [2023-02-17T05:57:08.871Z] Step 3/23 : ARG MAKE=make build [2023-02-17T05:57:08.871Z] ---> Running in 6c7fe33d9b4f [2023-02-17T05:57:09.140Z] Removing intermediate container 6c7fe33d9b4f [2023-02-17T05:57:09.140Z] ---> 2c2a40a733c1 [2023-02-17T05:57:09.140Z] Step 4/23 : WORKDIR /device-sdk-go [2023-02-17T05:57:09.409Z] ---> Running in 0ca90e866fba [2023-02-17T05:57:09.678Z] Removing intermediate container 0ca90e866fba [2023-02-17T05:57:09.679Z] ---> 01e4d23b2b54 [2023-02-17T05:57:09.679Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-02-17T05:57:09.679Z] ---> Running in 28ea18b99401 [2023-02-17T05:57:09.949Z] Removing intermediate container 28ea18b99401 [2023-02-17T05:57:09.949Z] ---> f15cfac201d8 [2023-02-17T05:57:09.949Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-02-17T05:57:10.222Z] ---> Running in 105e95581565 [2023-02-17T05:57:11.193Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-17T05:57:11.462Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-17T05:57:12.430Z] OK: 221 MiB in 51 packages [2023-02-17T05:57:13.402Z] Removing intermediate container 105e95581565 [2023-02-17T05:57:13.402Z] ---> 7341873018fb [2023-02-17T05:57:13.402Z] Step 7/23 : COPY go.mod vendor* ./ [2023-02-17T05:57:15.522Z] ---> 8a73132a0bda [2023-02-17T05:57:15.798Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-17T05:57:15.798Z] ---> Running in a943a60fb47f [2023-02-17T05:57:18.460Z] Removing intermediate container a943a60fb47f [2023-02-17T05:57:18.460Z] ---> 242ea91122c4 [2023-02-17T05:57:18.460Z] Step 9/23 : COPY . . [2023-02-17T05:57:19.876Z] ---> 9d167dc8343b [2023-02-17T05:57:19.876Z] Step 10/23 : RUN ${MAKE} [2023-02-17T05:57:19.876Z] ---> Running in 0e7e80839bfd [2023-02-17T05:57:20.840Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-02-17T05:59:27.539Z] Removing intermediate container 0e7e80839bfd [2023-02-17T05:59:27.539Z] ---> 168af3b438de [2023-02-17T05:59:27.539Z] Step 11/23 : FROM alpine:3.16 [2023-02-17T05:59:27.539Z] 3.16: Pulling from library/alpine [2023-02-17T05:59:27.539Z] 3760b48202b3: Pulling fs layer [2023-02-17T05:59:27.539Z] 3760b48202b3: Verifying Checksum [2023-02-17T05:59:27.539Z] 3760b48202b3: Download complete [2023-02-17T05:59:27.539Z] 3760b48202b3: Pull complete [2023-02-17T05:59:27.539Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-02-17T05:59:27.539Z] Status: Downloaded newer image for alpine:3.16 [2023-02-17T05:59:27.539Z] ---> 4c81e5bf8899 [2023-02-17T05:59:27.539Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-02-17T05:59:27.539Z] ---> Running in 37399f5a9104 [2023-02-17T05:59:27.539Z] Removing intermediate container 37399f5a9104 [2023-02-17T05:59:27.539Z] ---> 126c04b5d976 [2023-02-17T05:59:27.539Z] Step 13/23 : RUN apk add --update --no-cache [2023-02-17T05:59:27.539Z] ---> Running in dcb65acdd92d [2023-02-17T05:59:27.805Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-17T05:59:28.076Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-17T05:59:29.044Z] OK: 5 MiB in 14 packages [2023-02-17T05:59:30.010Z] Removing intermediate container dcb65acdd92d [2023-02-17T05:59:30.010Z] ---> 48d331943716 [2023-02-17T05:59:30.010Z] Step 14/23 : WORKDIR / [2023-02-17T05:59:30.010Z] ---> Running in 99c01d5e43fb [2023-02-17T05:59:30.278Z] Removing intermediate container 99c01d5e43fb [2023-02-17T05:59:30.278Z] ---> 871094542306 [2023-02-17T05:59:30.278Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-02-17T05:59:30.861Z] ---> 7afd4d6f6ddd [2023-02-17T05:59:30.861Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-02-17T05:59:32.283Z] ---> d5739f29d0c8 [2023-02-17T05:59:32.283Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-02-17T05:59:32.869Z] ---> b69e0d23daf4 [2023-02-17T05:59:32.869Z] Step 18/23 : EXPOSE 59999 [2023-02-17T05:59:32.869Z] ---> Running in abd947322c5e [2023-02-17T05:59:33.141Z] Removing intermediate container abd947322c5e [2023-02-17T05:59:33.141Z] ---> 36b9c8b9edf0 [2023-02-17T05:59:33.141Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-02-17T05:59:33.141Z] ---> Running in 86cbd2096bd1 [2023-02-17T05:59:33.411Z] Removing intermediate container 86cbd2096bd1 [2023-02-17T05:59:33.411Z] ---> ab5e167f743c [2023-02-17T05:59:33.411Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-02-17T05:59:33.678Z] ---> Running in e89c7d5d0b95 [2023-02-17T05:59:33.946Z] Removing intermediate container e89c7d5d0b95 [2023-02-17T05:59:33.946Z] ---> 24fb3d038a90 [2023-02-17T05:59:33.946Z] Step 21/23 : LABEL arch=arm64 [2023-02-17T05:59:33.946Z] ---> Running in 0c3287f985d6 [2023-02-17T05:59:34.214Z] Removing intermediate container 0c3287f985d6 [2023-02-17T05:59:34.214Z] ---> 207ecefc1fcb [2023-02-17T05:59:34.214Z] Step 22/23 : LABEL git_sha=99640fc8bc735c478916a02e3dc7aaca1d628413 [2023-02-17T05:59:34.484Z] ---> Running in bec1629bc478 [2023-02-17T05:59:34.753Z] Removing intermediate container bec1629bc478 [2023-02-17T05:59:34.753Z] ---> 35cbf1f8eab2 [2023-02-17T05:59:34.753Z] Step 23/23 : LABEL version=0.0.0 [2023-02-17T05:59:34.753Z] ---> Running in 2d3f7ba4804a [2023-02-17T05:59:35.022Z] Removing intermediate container 2d3f7ba4804a [2023-02-17T05:59:35.022Z] ---> c83036e1e729 [2023-02-17T05:59:35.022Z] [Warning] One or more build-args [ARCH] were not consumed [2023-02-17T05:59:35.289Z] Successfully built c83036e1e729 [2023-02-17T05:59:35.289Z] Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // withEnv [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] withEnv [Pipeline] { [Pipeline] sh [2023-02-17T05:59:35.706Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-17T05:59:35.706Z] [2023-02-17T05:59:35.706Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-17T05:59:36.038Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-17T05:59:36.038Z] arm64: Pulling from edgex-lftools-log-publisher [2023-02-17T05:59:36.038Z] 8998bd30e6a1: Pulling fs layer [2023-02-17T05:59:36.038Z] 04944245beec: Pulling fs layer [2023-02-17T05:59:36.038Z] 699f458cf7ca: Pulling fs layer [2023-02-17T05:59:36.038Z] 765212b225bb: Pulling fs layer [2023-02-17T05:59:36.038Z] f23df028b6ca: Pulling fs layer [2023-02-17T05:59:36.038Z] d65c8cfc05b1: Pulling fs layer [2023-02-17T05:59:36.038Z] 2437ff75d9bd: Pulling fs layer [2023-02-17T05:59:36.038Z] f23df028b6ca: Waiting [2023-02-17T05:59:36.038Z] d65c8cfc05b1: Waiting [2023-02-17T05:59:36.038Z] 2437ff75d9bd: Waiting [2023-02-17T05:59:36.038Z] 765212b225bb: Waiting [2023-02-17T05:59:36.307Z] 04944245beec: Verifying Checksum [2023-02-17T05:59:36.307Z] 04944245beec: Download complete [2023-02-17T05:59:36.307Z] 765212b225bb: Verifying Checksum [2023-02-17T05:59:36.307Z] 765212b225bb: Download complete [2023-02-17T05:59:36.307Z] f23df028b6ca: Verifying Checksum [2023-02-17T05:59:36.307Z] f23df028b6ca: Download complete [2023-02-17T05:59:36.307Z] d65c8cfc05b1: Verifying Checksum [2023-02-17T05:59:36.307Z] d65c8cfc05b1: Download complete [2023-02-17T05:59:36.576Z] 699f458cf7ca: Verifying Checksum [2023-02-17T05:59:36.576Z] 699f458cf7ca: Download complete [2023-02-17T05:59:36.844Z] 8998bd30e6a1: Verifying Checksum [2023-02-17T05:59:36.844Z] 8998bd30e6a1: Download complete [2023-02-17T05:59:39.433Z] 2437ff75d9bd: Verifying Checksum [2023-02-17T05:59:39.433Z] 2437ff75d9bd: Download complete [2023-02-17T05:59:40.848Z] 8998bd30e6a1: Pull complete [2023-02-17T05:59:41.436Z] 04944245beec: Pull complete [2023-02-17T05:59:42.847Z] 699f458cf7ca: Pull complete [2023-02-17T05:59:42.847Z] 765212b225bb: Pull complete [2023-02-17T05:59:43.806Z] f23df028b6ca: Pull complete [2023-02-17T05:59:43.806Z] d65c8cfc05b1: Pull complete [2023-02-17T05:59:58.808Z] 2437ff75d9bd: Pull complete [2023-02-17T05:59:58.808Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-02-17T05:59:58.808Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-17T05:59:58.808Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-17T05:59:59.012Z] prd-ubuntu20.04-docker-arm64-4c-16g-6392 does not seem to be running inside a container [2023-02-17T05:59:59.084Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-02-17T06:00:01.877Z] $ docker top 5829e2d7c405b75a60cdc70d216a8453074ee145ee789e47ba2e634359ab3088 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-17T06:00:02.709Z] ---> job-cost.sh [2023-02-17T06:00:02.709Z] lf-activate-venv: SKIPPING [2023-02-17T06:00:02.709Z] INFO: No Stack... [2023-02-17T06:00:03.293Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-02-17T06:00:03.875Z] INFO: Archiving Costs [Pipeline] sh [2023-02-17T06:00:04.515Z] + + cut -d, -f6 [2023-02-17T06:00:04.515Z] cat /w/workspace/device-sdk-go/2/archives/cost.csv [Pipeline] lock [2023-02-17T06:00:04.588Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1328-2-stack-cost] [2023-02-17T06:00:04.594Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1328-2-stack-cost] did not exist. Created. [2023-02-17T06:00:04.594Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1328-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-17T06:00:04.938Z] /w/workspace/device-sdk-go/2@tmp/durable-c45ca648/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-02-17T06:00:05.600Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-02-17T06:00:05.623Z] Warning: overwriting stash ‘stack-cost’ [2023-02-17T06:00:05.702Z] Stashed 1 file(s) [Pipeline] } [2023-02-17T06:00:05.711Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1328-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-17T06:00:05.736Z] $ docker stop --time=1 5829e2d7c405b75a60cdc70d216a8453074ee145ee789e47ba2e634359ab3088 [2023-02-17T06:00:07.236Z] $ docker rm -f --volumes 5829e2d7c405b75a60cdc70d216a8453074ee145ee789e47ba2e634359ab3088 [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 [2023-02-17T06:00:07.595Z] provisioning config files... [2023-02-17T06:00:07.603Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1328@tmp/config14887288127832143625tmp [Pipeline] { [Pipeline] sh [2023-02-17T06:00:07.892Z] + set +x [2023-02-17T06:00:07.892Z] + curl -s https://codecov.io/bash [2023-02-17T06:00:07.892Z] + bash -s -- [2023-02-17T06:00:07.892Z] [2023-02-17T06:00:07.892Z] _____ _ [2023-02-17T06:00:07.892Z] / ____| | | [2023-02-17T06:00:07.892Z] | | ___ __| | ___ ___ _____ __ [2023-02-17T06:00:07.892Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-02-17T06:00:07.892Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-02-17T06:00:07.892Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-02-17T06:00:07.892Z] Bash-1.0.6 [2023-02-17T06:00:07.892Z] [2023-02-17T06:00:07.892Z] [2023-02-17T06:00:07.892Z] ==> git version 2.25.1 found [2023-02-17T06:00:07.892Z] ==> 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 [2023-02-17T06:00:07.892Z] Release-Date: 2020-01-08 [2023-02-17T06:00:07.892Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-02-17T06:00:07.892Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-02-17T06:00:07.892Z] ==> Jenkins CI detected. [2023-02-17T06:00:07.892Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1328 [2023-02-17T06:00:07.892Z] project root: . [2023-02-17T06:00:07.892Z] --> token set from env [2023-02-17T06:00:07.892Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-02-17T06:00:07.892Z] ==> Running gcov in . (disable via -X gcov) [2023-02-17T06:00:07.892Z] ==> Python coveragepy not found [2023-02-17T06:00:07.892Z] ==> Searching for coverage reports in: [2023-02-17T06:00:07.892Z] + . [2023-02-17T06:00:07.892Z] -> Found 1 reports [2023-02-17T06:00:07.892Z] ==> Detecting git/mercurial file structure [2023-02-17T06:00:07.892Z] ==> Reading reports [2023-02-17T06:00:07.892Z] + ./coverage.out bytes=98700 [2023-02-17T06:00:07.892Z] ==> Appending adjustments [2023-02-17T06:00:07.892Z] https://docs.codecov.io/docs/fixing-reports [2023-02-17T06:00:08.462Z] + Found adjustments [2023-02-17T06:00:08.462Z] ==> Gzipping contents [2023-02-17T06:00:08.462Z] 16K /tmp/codecov.YHI1cA.gz [2023-02-17T06:00:08.462Z] ==> Uploading reports [2023-02-17T06:00:08.462Z] url: https://codecov.io [2023-02-17T06:00:08.462Z] query: branch=PR-1328&commit=99640fc8bc735c478916a02e3dc7aaca1d628413&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1328%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1328&job=&cmd_args= [2023-02-17T06:00:08.462Z] -> Pinging Codecov [2023-02-17T06:00:08.462Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1328&commit=99640fc8bc735c478916a02e3dc7aaca1d628413&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1328%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1328&job=&cmd_args= [2023-02-17T06:00:08.462Z] -> Uploading to [2023-02-17T06:00:08.462Z] https://storage.googleapis.com/codecov/v4/raw/2023-02-17/7E55EF52A471D76F132DFD9A03CDDE97/99640fc8bc735c478916a02e3dc7aaca1d628413/5ffb7b0e-1d24-4f03-a76b-f3d9018520df.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230217%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230217T060008Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=d1a2c62a8066d6c2c74bcd71af34a7198025fce5be55a8026ea6fc9edc86e435 [2023-02-17T06:00:08.462Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-17T06:00:08.462Z] Dload Upload Total Spent Left Speed [2023-02-17T06:00:08.720Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14359 0 0 100 14359 0 44181 --:--:-- --:--:-- --:--:-- 44317 [2023-02-17T06:00:08.720Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/99640fc8bc735c478916a02e3dc7aaca1d628413 [Pipeline] } [2023-02-17T06:00:08.728Z] 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 [2023-02-17T06:00:09.444Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1328/archives ] [2023-02-17T06:00:09.444Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1328/archives [2023-02-17T06:00:09.444Z] total 16 [2023-02-17T06:00:09.444Z] drwxr-xr-x 3 root root 4096 Feb 17 05:48 . [2023-02-17T06:00:09.444Z] drwxrwxr-x 12 jenkins jenkins 4096 Feb 17 05:48 .. [2023-02-17T06:00:09.444Z] drwxr-xr-x 2 root root 4096 Feb 17 05:48 cost [2023-02-17T06:00:09.444Z] -rw-r--r-- 1 root root 86 Feb 17 05:48 cost.csv [2023-02-17T06:00:09.444Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1328/archives [2023-02-17T06:00:09.444Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1328/archives [2023-02-17T06:00:09.444Z] total 16 [2023-02-17T06:00:09.444Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 17 05:48 . [2023-02-17T06:00:09.444Z] drwxrwxr-x 12 jenkins jenkins 4096 Feb 17 05:48 .. [2023-02-17T06:00:09.445Z] drwxr-xr-x 2 jenkins jenkins 4096 Feb 17 05:48 cost [2023-02-17T06:00:09.445Z] -rw-r--r-- 1 jenkins jenkins 86 Feb 17 05:48 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-02-17T06:00:09.739Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-17T06:00:10.598Z] ---> package-listing.sh [2023-02-17T06:00:10.598Z] ++ facter osfamily [2023-02-17T06:00:10.598Z] ++ tr '[:upper:]' '[:lower:]' [2023-02-17T06:00:10.856Z] + OS_FAMILY=debian [2023-02-17T06:00:10.856Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1328 [2023-02-17T06:00:10.856Z] + START_PACKAGES=/tmp/packages_start.txt [2023-02-17T06:00:10.856Z] + END_PACKAGES=/tmp/packages_end.txt [2023-02-17T06:00:10.856Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-02-17T06:00:10.856Z] + PACKAGES=/tmp/packages_start.txt [2023-02-17T06:00:10.856Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1328 ']' [2023-02-17T06:00:10.856Z] + PACKAGES=/tmp/packages_end.txt [2023-02-17T06:00:10.856Z] + case "${OS_FAMILY}" in [2023-02-17T06:00:10.856Z] + dpkg -l [2023-02-17T06:00:10.856Z] + grep '^ii' [2023-02-17T06:00:10.856Z] + '[' -f /tmp/packages_start.txt ']' [2023-02-17T06:00:10.856Z] + '[' -f /tmp/packages_end.txt ']' [2023-02-17T06:00:10.856Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-02-17T06:00:10.856Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1328 ']' [2023-02-17T06:00:10.856Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1328/archives/ [2023-02-17T06:00:10.856Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1328/archives/ [Pipeline] echo [2023-02-17T06:00:10.866Z] 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-1328/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-02-17T06:00:11.143Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-17T06:00:11.704Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-17T06:00:11.704Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-17T06:00:11.776Z] prd-ubuntu20.04-docker-8c-8g-6387 does not seem to be running inside a container [2023-02-17T06:00:11.801Z] $ 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-1328/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-1328 -v /w/workspace/gexfoundry_device-sdk-go_PR-1328:/w/workspace/gexfoundry_device-sdk-go_PR-1328:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1328@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1328@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-02-17T06:00:12.012Z] $ docker top c140108c78bb42d8a53501dddce60c26ff462221044ed219fc8bb56306ab9c9f -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-17T06:00:12.361Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-02-17T06:00:12.645Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-02-17T06:00:12.925Z] + ls /var/log/sa-host [2023-02-17T06:00:12.925Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-17T06:00:12.988Z] provisioning config files... [2023-02-17T06:00:12.998Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1328@tmp/config4083339505140063882tmp [Pipeline] { [Pipeline] echo [2023-02-17T06:00:13.009Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-17T06:00:13.293Z] ---> create-netrc.sh [Pipeline] } [2023-02-17T06:00:13.300Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-02-17T06:00:13.624Z] ---> python-tools-install.sh [Pipeline] echo [2023-02-17T06:00:13.633Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-17T06:00:13.917Z] ---> sudo-logs.sh [2023-02-17T06:00:13.918Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-02-17T06:00:13.938Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-17T06:00:14.219Z] ---> job-cost.sh [2023-02-17T06:00:14.219Z] lf-activate-venv: SKIPPING [2023-02-17T06:00:14.219Z] DEBUG: total: 0.2199999988079071 [2023-02-17T06:00:14.219Z] INFO: Retrieving Stack Cost... [2023-02-17T06:00:22.349Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-17T06:00:22.349Z] INFO: Archiving Costs [Pipeline] echo [2023-02-17T06:00:22.362Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-17T06:00:22.642Z] ---> logs-deploy.sh [2023-02-17T06:00:22.642Z] lf-activate-venv: SKIPPING [2023-02-17T06:00:22.642Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1328/2 [2023-02-17T06:00:22.642Z] INFO: archiving workspace using pattern(s): [2023-02-17T06:00:23.579Z] Archives upload complete. [2023-02-17T06:00:23.579Z] INFO: archiving logs to Nexus