Pull request #1295 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 1154ba09cfab54c3f87ee2fcca63044f37cf653b+881f10918eb4e60f546b60d89ac5bea6bad2c109 (4d3bbd57f35fd5725e77e9c93127daf3acb97fb8) 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-ssh5564102860264126696.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-ssh4157848905688665004.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 Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1295/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1295/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2780146998276440634.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1295/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2841885130051720662.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 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that 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-ssh16677293879025564609.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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1295/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1295/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh17467407947950022508.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.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/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-4077 in /w/workspace/gexfoundry_device-sdk-go_PR-1295 [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-1295 # 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/1295/head:refs/remotes/origin/PR-1295 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 881f10918eb4e60f546b60d89ac5bea6bad2c109 into PR head commit 1154ba09cfab54c3f87ee2fcca63044f37cf653b Merge succeeded, producing 1154ba09cfab54c3f87ee2fcca63044f37cf653b Checking out Revision 1154ba09cfab54c3f87ee2fcca63044f37cf653b (PR-1295) Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-01-31T04:03:14.870Z] Timeout set to expire in 6 hr 0 min [Pipeline] { > git config core.sparsecheckout # timeout=10 > git checkout -f 1154ba09cfab54c3f87ee2fcca63044f37cf653b # 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 881f10918eb4e60f546b60d89ac5bea6bad2c109 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1154ba09cfab54c3f87ee2fcca63044f37cf653b # timeout=10 [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-01-31T04:03:15.061Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-01-31T04:03:15.164Z] ========================================================= [2023-01-31T04:03:15.164Z] EdgeX Global Pipelines Version Info [2023-01-31T04:03:15.165Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-01-31T04:03:15.909Z] ------------------- [2023-01-31T04:03:15.910Z] stable info: [2023-01-31T04:03:15.910Z] ------------------- [2023-01-31T04:03:15.910Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-01-31T04:03:15.910Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-01-31T04:03:15.910Z] Message: update stable to v1.0.244 [2023-01-31T04:03:16.481Z] ------------------- [2023-01-31T04:03:16.481Z] experimental info: [2023-01-31T04:03:16.481Z] ------------------- [2023-01-31T04:03:16.481Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-01-31T04:03:16.481Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-01-31T04:03:16.481Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-01-31T04:03:16.795Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-01-31T04:03:16.839Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-01-31T04:03:16.885Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-01-31T04:03:16.925Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-01-31T04:03:16.970Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-01-31T04:03:17.020Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-01-31T04:03:17.063Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-01-31T04:03:17.108Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-01-31T04:03:17.159Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-01-31T04:03:17.204Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-01-31T04:03:17.248Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-01-31T04:03:17.288Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-01-31T04:03:17.333Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-01-31T04:03:17.376Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-01-31T04:03:17.426Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-01-31T04:03:17.467Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-01-31T04:03:17.509Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-01-31T04:03:17.552Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-01-31T04:03:17.599Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-01-31T04:03:17.637Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-01-31T04:03:17.674Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-01-31T04:03:17.713Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2023-01-31T04:03:17.753Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-01-31T04:03:17.791Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-01-31T04:03:17.831Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-01-31T04:03:17.872Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-01-31T04:03:17.915Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-01-31T04:03:17.955Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1295 [Pipeline] echo [2023-01-31T04:03:17.999Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1295 [Pipeline] echo [2023-01-31T04:03:18.038Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1295 [Pipeline] echo [2023-01-31T04:03:18.078Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 1154ba09cfab54c3f87ee2fcca63044f37cf653b [Pipeline] echo [2023-01-31T04:03:18.128Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1154ba0 [Pipeline] echo [2023-01-31T04:03:18.169Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-31T04:03:18.288Z] provisioning config files... [2023-01-31T04:03:18.314Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1295@tmp/config9387908222347237908tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-31T04:03:18.658Z] ---> docker-login.sh [2023-01-31T04:03:18.658Z] nexus3.edgexfoundry.org:10001 [2023-01-31T04:03:18.918Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-31T04:03:18.918Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-31T04:03:18.918Z] Configure a credential helper to remove this warning. See [2023-01-31T04:03:18.918Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-31T04:03:18.918Z] [2023-01-31T04:03:18.918Z] Login Succeeded [2023-01-31T04:03:18.918Z] nexus3.edgexfoundry.org:10002 [2023-01-31T04:03:18.918Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-31T04:03:19.180Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-31T04:03:19.180Z] Configure a credential helper to remove this warning. See [2023-01-31T04:03:19.180Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-31T04:03:19.180Z] [2023-01-31T04:03:19.180Z] Login Succeeded [2023-01-31T04:03:19.180Z] nexus3.edgexfoundry.org:10003 [2023-01-31T04:03:19.180Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-31T04:03:19.180Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-31T04:03:19.180Z] Configure a credential helper to remove this warning. See [2023-01-31T04:03:19.180Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-31T04:03:19.180Z] [2023-01-31T04:03:19.180Z] Login Succeeded [2023-01-31T04:03:19.180Z] nexus3.edgexfoundry.org:10004 [2023-01-31T04:03:19.180Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-31T04:03:19.439Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-31T04:03:19.439Z] Configure a credential helper to remove this warning. See [2023-01-31T04:03:19.439Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-31T04:03:19.439Z] [2023-01-31T04:03:19.439Z] Login Succeeded [2023-01-31T04:03:19.439Z] docker.io [2023-01-31T04:03:19.439Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-31T04:03:19.699Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-31T04:03:19.699Z] Configure a credential helper to remove this warning. See [2023-01-31T04:03:19.699Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-31T04:03:19.699Z] [2023-01-31T04:03:19.699Z] Login Succeeded [2023-01-31T04:03:19.699Z] ---> docker-login.sh ends [Pipeline] } [2023-01-31T04:03:19.729Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-01-31T04:03:20.351Z] + git rev-list -1 --merges 1154ba09cfab54c3f87ee2fcca63044f37cf653b~1..1154ba09cfab54c3f87ee2fcca63044f37cf653b [Pipeline] echo [2023-01-31T04:03:20.408Z] -----------> git rev-list -1 --merges 1154ba09cfab54c3f87ee2fcca63044f37cf653b~1..1154ba09cfab54c3f87ee2fcca63044f37cf653b 1154ba09cfab54c3f87ee2fcca63044f37cf653b [false] [Pipeline] sh [2023-01-31T04:03:20.716Z] + git log --format=format:%s -1 1154ba09cfab54c3f87ee2fcca63044f37cf653b [Pipeline] echo [2023-01-31T04:03:20.752Z] ========================================================= [2023-01-31T04:03:20.752Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-01-31T04:03:20.752Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-31T04:03:21.176Z] + git log --format=format:%s -1 1154ba09cfab54c3f87ee2fcca63044f37cf653b [Pipeline] echo [2023-01-31T04:03:21.209Z] [semverPrep] GIT_COMMIT: 1154ba09cfab54c3f87ee2fcca63044f37cf653b, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v3 [Pipeline] echo [2023-01-31T04:03:21.239Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-01-31T04:03:21.613Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-01-31T04:03:21.613Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-01-31T04:03:21.613Z] + [ -e /tmp/ssh_known_hosts ] [2023-01-31T04:03:21.613Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-01-31T04:03:21.613Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-01-31T04:03:21.613Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-01-31T04:03:21.613Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-31T04:03:22.042Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-31T04:03:22.042Z] [2023-01-31T04:03:22.042Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-31T04:03:22.416Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-31T04:03:22.416Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-01-31T04:03:22.416Z] b85a868b505f: Pulling fs layer [2023-01-31T04:03:22.416Z] e2be974225ed: Pulling fs layer [2023-01-31T04:03:22.416Z] 339a4e72a1f5: Pulling fs layer [2023-01-31T04:03:22.416Z] 988bab9f4d93: Pulling fs layer [2023-01-31T04:03:22.416Z] 1469e6f7b9e6: Pulling fs layer [2023-01-31T04:03:22.416Z] 988bab9f4d93: Waiting [2023-01-31T04:03:22.416Z] eaf3925da568: Pulling fs layer [2023-01-31T04:03:22.416Z] 1469e6f7b9e6: Waiting [2023-01-31T04:03:22.416Z] bab4dde63d76: Pulling fs layer [2023-01-31T04:03:22.416Z] bde34c3a00c8: Pulling fs layer [2023-01-31T04:03:22.416Z] eaf3925da568: Waiting [2023-01-31T04:03:22.416Z] bab4dde63d76: Waiting [2023-01-31T04:03:22.416Z] b352a97aabf1: Pulling fs layer [2023-01-31T04:03:22.416Z] bde34c3a00c8: Waiting [2023-01-31T04:03:22.416Z] 4872d77fe225: Pulling fs layer [2023-01-31T04:03:22.416Z] 5851b861e8e6: Pulling fs layer [2023-01-31T04:03:22.416Z] 4872d77fe225: Waiting [2023-01-31T04:03:22.416Z] 5851b861e8e6: Waiting [2023-01-31T04:03:22.680Z] 339a4e72a1f5: Verifying Checksum [2023-01-31T04:03:22.680Z] 339a4e72a1f5: Download complete [2023-01-31T04:03:22.680Z] 988bab9f4d93: Download complete [2023-01-31T04:03:22.941Z] 1469e6f7b9e6: Verifying Checksum [2023-01-31T04:03:22.941Z] 1469e6f7b9e6: Download complete [2023-01-31T04:03:22.941Z] eaf3925da568: Download complete [2023-01-31T04:03:22.941Z] b85a868b505f: Verifying Checksum [2023-01-31T04:03:22.941Z] b85a868b505f: Download complete [2023-01-31T04:03:23.201Z] bde34c3a00c8: Verifying Checksum [2023-01-31T04:03:23.201Z] bde34c3a00c8: Download complete [2023-01-31T04:03:23.201Z] b352a97aabf1: Verifying Checksum [2023-01-31T04:03:23.201Z] b352a97aabf1: Download complete [2023-01-31T04:03:23.201Z] 4872d77fe225: Verifying Checksum [2023-01-31T04:03:23.201Z] 4872d77fe225: Download complete [2023-01-31T04:03:23.201Z] 5851b861e8e6: Verifying Checksum [2023-01-31T04:03:23.201Z] 5851b861e8e6: Download complete [2023-01-31T04:03:23.468Z] e2be974225ed: Verifying Checksum [2023-01-31T04:03:23.468Z] e2be974225ed: Download complete [2023-01-31T04:03:23.730Z] bab4dde63d76: Verifying Checksum [2023-01-31T04:03:24.297Z] b85a868b505f: Pull complete [2023-01-31T04:03:24.562Z] e2be974225ed: Pull complete [2023-01-31T04:03:25.132Z] 339a4e72a1f5: Pull complete [2023-01-31T04:03:25.132Z] 988bab9f4d93: Pull complete [2023-01-31T04:03:25.391Z] 1469e6f7b9e6: Pull complete [2023-01-31T04:03:25.391Z] eaf3925da568: Pull complete [2023-01-31T04:03:27.298Z] bab4dde63d76: Pull complete [2023-01-31T04:03:27.298Z] bde34c3a00c8: Pull complete [2023-01-31T04:03:27.558Z] b352a97aabf1: Pull complete [2023-01-31T04:03:27.558Z] 4872d77fe225: Pull complete [2023-01-31T04:03:27.558Z] 5851b861e8e6: Pull complete [2023-01-31T04:03:27.558Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-01-31T04:03:27.558Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-31T04:03:27.558Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-31T04:03:27.795Z] prd-ubuntu20.04-docker-8c-8g-4077 does not seem to be running inside a container [2023-01-31T04:03:27.829Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1295 -v /w/workspace/gexfoundry_device-sdk-go_PR-1295:/w/workspace/gexfoundry_device-sdk-go_PR-1295:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1295@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1295@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-01-31T04:03:29.270Z] $ docker top 446f4e00368865cd76c71786ee77eeb8f373d0cd06f0780c93de57bb68c5acb9 -eo pid,comm [2023-01-31T04:03:29.329Z] 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-01-31T04:03:29.329Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-01-31T04:03:29.451Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-31T04:03:29.451Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-31T04:03:29.570Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-31T04:03:29.576Z] $ docker exec 446f4e00368865cd76c71786ee77eeb8f373d0cd06f0780c93de57bb68c5acb9 ssh-agent [2023-01-31T04:03:29.697Z] SSH_AUTH_SOCK=/tmp/ssh-OWRPUxrchiJ1/agent.32 [2023-01-31T04:03:29.697Z] SSH_AGENT_PID=39 [2023-01-31T04:03:29.703Z] Running ssh-add (command line suppressed) [2023-01-31T04:03:29.814Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1295@tmp/private_key_15592060439618243705.key (/w/workspace/gexfoundry_device-sdk-go_PR-1295@tmp/private_key_15592060439618243705.key) [2023-01-31T04:03:29.824Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-31T04:03:30.153Z] + git tag --points-at HEAD [Pipeline] } [2023-01-31T04:03:30.184Z] $ docker exec --env ******** --env ******** 446f4e00368865cd76c71786ee77eeb8f373d0cd06f0780c93de57bb68c5acb9 ssh-agent -k [2023-01-31T04:03:30.288Z] unset SSH_AUTH_SOCK; [2023-01-31T04:03:30.289Z] unset SSH_AGENT_PID; [2023-01-31T04:03:30.289Z] echo Agent pid 39 killed; [2023-01-31T04:03:30.296Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-01-31T04:03:30.395Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-31T04:03:30.395Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-31T04:03:30.516Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-31T04:03:30.521Z] $ docker exec 446f4e00368865cd76c71786ee77eeb8f373d0cd06f0780c93de57bb68c5acb9 ssh-agent [2023-01-31T04:03:30.640Z] SSH_AUTH_SOCK=/tmp/ssh-zMVd2q1xXVnZ/agent.72 [2023-01-31T04:03:30.640Z] SSH_AGENT_PID=78 [2023-01-31T04:03:30.644Z] Running ssh-add (command line suppressed) [2023-01-31T04:03:30.770Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1295@tmp/private_key_15746819828789514009.key (/w/workspace/gexfoundry_device-sdk-go_PR-1295@tmp/private_key_15746819828789514009.key) [2023-01-31T04:03:30.783Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-31T04:03:31.105Z] + git semver init [2023-01-31T04:03:31.364Z] 2023-01-31 04:03:31,316 [run_init] DEBUG init version:0.0.0 force:False [2023-01-31T04:03:31.364Z] 2023-01-31 04:03:31,317 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1295/.semver [2023-01-31T04:03:31.364Z] 2023-01-31 04:03:31,317 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1295/.semver [2023-01-31T04:03:31.364Z] 2023-01-31 04:03:31,317 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1295/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1295, universal_newlines=False, shell=None, istream=None) [2023-01-31T04:03:32.746Z] 2023-01-31 04:03:32,430 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1295/.git/info/exclude [2023-01-31T04:03:32.746Z] 2023-01-31 04:03:32,431 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1295/.semver/PR-1295 with force:False [2023-01-31T04:03:32.746Z] 2023-01-31 04:03:32,431 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1295/.semver/PR-1295 [2023-01-31T04:03:32.746Z] 2023-01-31 04:03:32,436 [execute] INFO git cat-file --batch-check [2023-01-31T04:03:32.746Z] 2023-01-31 04:03:32,436 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1295/.semver, universal_newlines=False, shell=None, istream=) [2023-01-31T04:03:32.746Z] 2023-01-31 04:03:32,442 [execute] INFO git cat-file --batch [2023-01-31T04:03:32.746Z] 2023-01-31 04:03:32,443 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1295/.semver, universal_newlines=False, shell=None, istream=) [2023-01-31T04:03:32.746Z] 2023-01-31 04:03:32,448 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1295/.semver/PR-1295 [2023-01-31T04:03:32.746Z] 0.0.0 [Pipeline] } [2023-01-31T04:03:32.774Z] $ docker exec --env ******** --env ******** 446f4e00368865cd76c71786ee77eeb8f373d0cd06f0780c93de57bb68c5acb9 ssh-agent -k [2023-01-31T04:03:32.877Z] unset SSH_AUTH_SOCK; [2023-01-31T04:03:32.878Z] unset SSH_AGENT_PID; [2023-01-31T04:03:32.878Z] echo Agent pid 78 killed; [2023-01-31T04:03:32.883Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-01-31T04:03:33.314Z] + git semver [Pipeline] } [2023-01-31T04:03:33.604Z] $ docker stop --time=1 446f4e00368865cd76c71786ee77eeb8f373d0cd06f0780c93de57bb68c5acb9 [2023-01-31T04:03:34.942Z] $ docker rm -f --volumes 446f4e00368865cd76c71786ee77eeb8f373d0cd06f0780c93de57bb68c5acb9 [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-31T04:03:35.332Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-01-31T04:03:35.603Z] Stashed 1 file(s) [Pipeline] echo [2023-01-31T04:03:35.623Z] [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-01-31T04:03:36.226Z] provisioning config files... [2023-01-31T04:03:36.236Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1295@tmp/config10194176086439221976tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-31T04:03:36.584Z] ---> docker-login.sh [2023-01-31T04:03:36.584Z] nexus3.edgexfoundry.org:10001 [2023-01-31T04:03:36.584Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-31T04:03:36.584Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-31T04:03:36.584Z] Configure a credential helper to remove this warning. See [2023-01-31T04:03:36.584Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-31T04:03:36.584Z] [2023-01-31T04:03:36.584Z] Login Succeeded [2023-01-31T04:03:36.584Z] nexus3.edgexfoundry.org:10002 [2023-01-31T04:03:36.584Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-31T04:03:36.845Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-31T04:03:36.845Z] Configure a credential helper to remove this warning. See [2023-01-31T04:03:36.845Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-31T04:03:36.845Z] [2023-01-31T04:03:36.845Z] Login Succeeded [2023-01-31T04:03:36.845Z] nexus3.edgexfoundry.org:10003 [2023-01-31T04:03:36.845Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-31T04:03:36.845Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-31T04:03:36.845Z] Configure a credential helper to remove this warning. See [2023-01-31T04:03:36.845Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-31T04:03:36.845Z] [2023-01-31T04:03:36.845Z] Login Succeeded [2023-01-31T04:03:36.845Z] nexus3.edgexfoundry.org:10004 [2023-01-31T04:03:36.845Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-31T04:03:37.105Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-31T04:03:37.105Z] Configure a credential helper to remove this warning. See [2023-01-31T04:03:37.105Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-31T04:03:37.105Z] [2023-01-31T04:03:37.105Z] Login Succeeded [2023-01-31T04:03:37.105Z] docker.io [2023-01-31T04:03:37.105Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-31T04:03:37.364Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-31T04:03:37.365Z] Configure a credential helper to remove this warning. See [2023-01-31T04:03:37.365Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-31T04:03:37.365Z] [2023-01-31T04:03:37.365Z] Login Succeeded [2023-01-31T04:03:37.365Z] ---> docker-login.sh ends [Pipeline] } [2023-01-31T04:03:37.395Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-01-31T04:03:37.590Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-31T04:03:37.625Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-31T04:03:37.656Z] ========================================================= [2023-01-31T04:03:37.656Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-01-31T04:03:37.656Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-31T04:03:38.122Z] + 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-01-31T04:03:38.122Z] Sending build context to Docker daemon 10.54MB [2023-01-31T04:03:38.122Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-01-31T04:03:38.122Z] Step 2/10 : FROM ${BASE} AS builder [2023-01-31T04:03:38.122Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-01-31T04:03:38.122Z] 213ec9aee27d: Pulling fs layer [2023-01-31T04:03:38.122Z] 4583459ba037: Pulling fs layer [2023-01-31T04:03:38.122Z] 93c1e223e6f2: Pulling fs layer [2023-01-31T04:03:38.122Z] 53926ce57604: Pulling fs layer [2023-01-31T04:03:38.122Z] 21b2b0c7a3f4: Pulling fs layer [2023-01-31T04:03:38.122Z] 22ff95d597cd: Pulling fs layer [2023-01-31T04:03:38.122Z] 12d6caf4c0d1: Pulling fs layer [2023-01-31T04:03:38.122Z] 96b7cbca73a9: Pulling fs layer [2023-01-31T04:03:38.122Z] a7acece74701: Pulling fs layer [2023-01-31T04:03:38.122Z] 53926ce57604: Waiting [2023-01-31T04:03:38.122Z] 21b2b0c7a3f4: Waiting [2023-01-31T04:03:38.122Z] 22ff95d597cd: Waiting [2023-01-31T04:03:38.122Z] 96b7cbca73a9: Waiting [2023-01-31T04:03:38.122Z] a7acece74701: Waiting [2023-01-31T04:03:38.122Z] 12d6caf4c0d1: Waiting [2023-01-31T04:03:38.395Z] 93c1e223e6f2: Verifying Checksum [2023-01-31T04:03:38.395Z] 93c1e223e6f2: Download complete [2023-01-31T04:03:38.395Z] 4583459ba037: Verifying Checksum [2023-01-31T04:03:38.395Z] 4583459ba037: Download complete [2023-01-31T04:03:38.395Z] 21b2b0c7a3f4: Verifying Checksum [2023-01-31T04:03:38.395Z] 21b2b0c7a3f4: Download complete [2023-01-31T04:03:38.395Z] 22ff95d597cd: Download complete [2023-01-31T04:03:38.395Z] 213ec9aee27d: Verifying Checksum [2023-01-31T04:03:38.395Z] 213ec9aee27d: Download complete [2023-01-31T04:03:38.395Z] 12d6caf4c0d1: Verifying Checksum [2023-01-31T04:03:38.395Z] 12d6caf4c0d1: Download complete [2023-01-31T04:03:38.670Z] 213ec9aee27d: Pull complete [2023-01-31T04:03:38.670Z] 4583459ba037: Pull complete [2023-01-31T04:03:38.670Z] 93c1e223e6f2: Pull complete [2023-01-31T04:03:39.697Z] a7acece74701: Verifying Checksum [2023-01-31T04:03:39.697Z] a7acece74701: Download complete [2023-01-31T04:03:39.697Z] 53926ce57604: Verifying Checksum [2023-01-31T04:03:39.697Z] 53926ce57604: Download complete [2023-01-31T04:03:39.959Z] 96b7cbca73a9: Verifying Checksum [2023-01-31T04:03:39.959Z] 96b7cbca73a9: Download complete [2023-01-31T04:03:44.150Z] 53926ce57604: Pull complete [2023-01-31T04:03:44.150Z] 21b2b0c7a3f4: Pull complete [2023-01-31T04:03:44.150Z] 22ff95d597cd: Pull complete [2023-01-31T04:03:44.150Z] 12d6caf4c0d1: Pull complete [2023-01-31T04:03:46.054Z] 96b7cbca73a9: Pull complete [2023-01-31T04:03:46.992Z] a7acece74701: Pull complete [2023-01-31T04:03:46.992Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-01-31T04:03:46.992Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-01-31T04:03:46.992Z] ---> db6d94c90886 [2023-01-31T04:03:46.992Z] Step 3/10 : ARG MAKE=make build [2023-01-31T04:03:48.371Z] ---> Running in 2a5d3bf468d7 [2023-01-31T04:03:48.371Z] Removing intermediate container 2a5d3bf468d7 [2023-01-31T04:03:48.371Z] ---> 93e2a52d1595 [2023-01-31T04:03:48.371Z] Step 4/10 : WORKDIR /device-sdk-go [2023-01-31T04:03:48.371Z] ---> Running in 9b5355352117 [2023-01-31T04:03:48.630Z] Removing intermediate container 9b5355352117 [2023-01-31T04:03:48.630Z] ---> 16c4ef63557a [2023-01-31T04:03:48.630Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-01-31T04:03:48.630Z] ---> Running in f02ced5fe6fe [2023-01-31T04:03:48.630Z] Removing intermediate container f02ced5fe6fe [2023-01-31T04:03:48.630Z] ---> 80bd4e3ddf85 [2023-01-31T04:03:48.630Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-01-31T04:03:48.630Z] ---> Running in 2abc29384b1a [2023-01-31T04:03:48.889Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-31T04:03:49.148Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-31T04:03:49.716Z] OK: 211 MiB in 51 packages [2023-01-31T04:03:49.976Z] Removing intermediate container 2abc29384b1a [2023-01-31T04:03:49.976Z] ---> f9671a756a09 [2023-01-31T04:03:49.976Z] Step 7/10 : COPY go.mod vendor* ./ [2023-01-31T04:03:50.235Z] ---> 072bb2c1d445 [2023-01-31T04:03:50.235Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-31T04:03:50.235Z] ---> Running in 74e7dff7ca65 [2023-01-31T04:03:51.045Z] Still waiting to schedule task [2023-01-31T04:03:51.046Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-01-31T04:04:36.921Z] Removing intermediate container 74e7dff7ca65 [2023-01-31T04:04:36.921Z] ---> c3c5b259bba2 [2023-01-31T04:04:36.921Z] Step 9/10 : COPY . . [2023-01-31T04:04:36.921Z] ---> e006f5a47a4a [2023-01-31T04:04:36.921Z] Step 10/10 : RUN ${MAKE} [2023-01-31T04:04:36.921Z] ---> Running in 240af90b19d9 [2023-01-31T04:04:36.921Z] noop [2023-01-31T04:04:36.921Z] Removing intermediate container 240af90b19d9 [2023-01-31T04:04:36.921Z] ---> 1ae741549aa1 [2023-01-31T04:04:36.921Z] Successfully built 1ae741549aa1 [2023-01-31T04:04:36.921Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-31T04:04:37.401Z] + docker inspect -f . ci-base-image-x86_64 [2023-01-31T04:04:37.401Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-31T04:04:37.553Z] prd-ubuntu20.04-docker-8c-8g-4077 does not seem to be running inside a container [2023-01-31T04:04:37.584Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1295 -v /w/workspace/gexfoundry_device-sdk-go_PR-1295:/w/workspace/gexfoundry_device-sdk-go_PR-1295:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1295@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1295@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 ******** ci-base-image-x86_64 cat [2023-01-31T04:04:37.938Z] $ docker top e10789c3728c58fbd56330d5234d25d3542c8240c727c1956b29a5f3fc7eee81 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-31T04:04:38.328Z] + go version [2023-01-31T04:04:38.328Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-01-31T04:04:38.365Z] $ docker stop --time=1 e10789c3728c58fbd56330d5234d25d3542c8240c727c1956b29a5f3fc7eee81 [2023-01-31T04:04:39.670Z] $ docker rm -f --volumes e10789c3728c58fbd56330d5234d25d3542c8240c727c1956b29a5f3fc7eee81 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-31T04:04:40.371Z] + docker inspect -f . ci-base-image-x86_64 [2023-01-31T04:04:40.371Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-31T04:04:40.527Z] prd-ubuntu20.04-docker-8c-8g-4077 does not seem to be running inside a container [2023-01-31T04:04:40.562Z] $ 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-1295 -v /w/workspace/gexfoundry_device-sdk-go_PR-1295:/w/workspace/gexfoundry_device-sdk-go_PR-1295:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1295@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1295@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 ******** ci-base-image-x86_64 cat [2023-01-31T04:04:40.907Z] $ docker top 90656c2b3fd59870c241883f85fffcc977c00b3a053c7a87779f3c75a6f2b4f3 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-31T04:04:41.302Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1295 [Pipeline] fileExists [Pipeline] sh [2023-01-31T04:04:41.664Z] + make test [2023-01-31T04:04:41.664Z] go test -race -coverprofile=coverage.out ./... [2023-01-31T04:04:48.227Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-01-31T04:05:03.092Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-01-31T04:05:03.092Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-01-31T04:05:03.092Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-01-31T04:05:03.092Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-01-31T04:05:03.092Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-01-31T04:05:03.092Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.056s coverage: 27.6% of statements [2023-01-31T04:05:03.092Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.054s coverage: 78.9% of statements [2023-01-31T04:05:03.092Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] [2023-01-31T04:05:03.092Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.076s coverage: 73.6% of statements [2023-01-31T04:05:03.092Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-01-31T04:05:03.092Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-01-31T04:05:03.092Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.118s coverage: 60.6% of statements [2023-01-31T04:05:03.092Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-01-31T04:05:03.092Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [no test files] [2023-01-31T04:05:03.092Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-01-31T04:05:03.092Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/telemetry [no test files] [2023-01-31T04:05:03.092Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.114s coverage: 65.1% of statements [2023-01-31T04:05:03.092Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-01-31T04:05:03.092Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-01-31T04:05:03.092Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.768s coverage: 89.2% of statements [2023-01-31T04:05:03.092Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] [2023-01-31T04:05:03.092Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.066s coverage: 4.6% of statements [2023-01-31T04:05:03.092Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-01-31T04:05:17.959Z] 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-01-31T04:05:17.959Z] GO111MODULE=on go vet ./... [2023-01-31T04:05:19.333Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-01-31T04:05:19.333Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-01-31T04:05:19.333Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-01-31T04:05:19.366Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-01-31T04:05:19.399Z] $ docker stop --time=1 90656c2b3fd59870c241883f85fffcc977c00b3a053c7a87779f3c75a6f2b4f3 [2023-01-31T04:05:21.850Z] $ docker rm -f --volumes 90656c2b3fd59870c241883f85fffcc977c00b3a053c7a87779f3c75a6f2b4f3 [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-31T04:05:22.488Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-01-31T04:05:22.582Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-01-31T04:05:23.305Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-01-31T04:05:23.623Z] + ls -al . [2023-01-31T04:05:23.623Z] total 272 [2023-01-31T04:05:23.623Z] drwxrwxr-x 11 jenkins jenkins 4096 Jan 31 04:04 . [2023-01-31T04:05:23.623Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 31 04:03 .. [2023-01-31T04:05:23.623Z] -rw-rw-r-- 1 jenkins jenkins 140 Jan 31 04:03 .dockerignore [2023-01-31T04:05:23.623Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 31 04:05 .git [2023-01-31T04:05:23.623Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 31 04:03 .github [2023-01-31T04:05:23.623Z] -rw-rw-r-- 1 jenkins jenkins 131 Jan 31 04:03 .gitignore [2023-01-31T04:05:23.623Z] -rw-rw-r-- 1 jenkins jenkins 42 Jan 31 04:03 .golangci.yml [2023-01-31T04:05:23.623Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 31 04:03 .semver [2023-01-31T04:05:23.623Z] -rw-rw-r-- 1 jenkins jenkins 31677 Jan 31 04:03 CHANGELOG.md [2023-01-31T04:05:23.623Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 31 04:03 GOVERNANCE.md [2023-01-31T04:05:23.623Z] -rw-rw-r-- 1 jenkins jenkins 880 Jan 31 04:03 Jenkinsfile [2023-01-31T04:05:23.623Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jan 31 04:03 LICENSE [2023-01-31T04:05:23.623Z] -rw-rw-r-- 1 jenkins jenkins 1679 Jan 31 04:03 Makefile [2023-01-31T04:05:23.623Z] -rw-rw-r-- 1 jenkins jenkins 619 Jan 31 04:03 OWNERS.md [2023-01-31T04:05:23.623Z] -rw-rw-r-- 1 jenkins jenkins 4891 Jan 31 04:03 README.md [2023-01-31T04:05:23.623Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 31 04:03 VERSION [2023-01-31T04:05:23.623Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 31 04:03 bin [2023-01-31T04:05:23.623Z] -rw-r--r-- 1 jenkins jenkins 100833 Jan 31 04:05 coverage.out [2023-01-31T04:05:23.623Z] drwxrwxr-x 5 jenkins jenkins 4096 Jan 31 04:03 example [2023-01-31T04:05:23.623Z] -rw-rw-r-- 1 jenkins jenkins 3307 Jan 31 04:03 go.mod [2023-01-31T04:05:23.623Z] -rw-rw-r-- 1 jenkins jenkins 33004 Jan 31 04:03 go.sum [2023-01-31T04:05:23.623Z] drwxrwxr-x 14 jenkins jenkins 4096 Jan 31 04:03 internal [2023-01-31T04:05:23.623Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 31 04:03 openapi [2023-01-31T04:05:23.623Z] drwxrwxr-x 6 jenkins jenkins 4096 Jan 31 04:03 pkg [2023-01-31T04:05:23.623Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 31 04:03 snap [2023-01-31T04:05:23.623Z] -rw-rw-r-- 1 jenkins jenkins 222 Jan 31 04:03 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-31T04:05:24.019Z] + 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=1154ba09cfab54c3f87ee2fcca63044f37cf653b --label arch=amd64 --label version=0.0.0 . [2023-01-31T04:05:24.019Z] Sending build context to Docker daemon 10.64MB [2023-01-31T04:05:24.019Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2023-01-31T04:05:24.019Z] Step 2/23 : FROM ${BASE} AS builder [2023-01-31T04:05:24.019Z] ---> 1ae741549aa1 [2023-01-31T04:05:24.019Z] Step 3/23 : ARG MAKE=make build [2023-01-31T04:05:24.019Z] ---> Running in 0c9b528accbd [2023-01-31T04:05:24.280Z] Removing intermediate container 0c9b528accbd [2023-01-31T04:05:24.280Z] ---> 33e59788b601 [2023-01-31T04:05:24.280Z] Step 4/23 : WORKDIR /device-sdk-go [2023-01-31T04:05:24.280Z] ---> Running in 41066146b428 [2023-01-31T04:05:24.280Z] Removing intermediate container 41066146b428 [2023-01-31T04:05:24.280Z] ---> 3a5bb341c6a3 [2023-01-31T04:05:24.280Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-01-31T04:05:24.280Z] ---> Running in 54e742dbcb4d [2023-01-31T04:05:24.540Z] Removing intermediate container 54e742dbcb4d [2023-01-31T04:05:24.540Z] ---> 9c2648649ae5 [2023-01-31T04:05:24.540Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-01-31T04:05:24.540Z] ---> Running in 30449772f6f9 [2023-01-31T04:05:24.799Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-31T04:05:24.799Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-31T04:05:25.058Z] OK: 211 MiB in 51 packages [2023-01-31T04:05:25.626Z] Removing intermediate container 30449772f6f9 [2023-01-31T04:05:25.626Z] ---> f144cbd9b491 [2023-01-31T04:05:25.626Z] Step 7/23 : COPY go.mod vendor* ./ [2023-01-31T04:05:25.626Z] ---> b5745ca8101e [2023-01-31T04:05:25.626Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-31T04:05:25.626Z] ---> Running in 2d99ec33dbf0 [2023-01-31T04:05:26.564Z] Removing intermediate container 2d99ec33dbf0 [2023-01-31T04:05:26.565Z] ---> a630e4d9f6fd [2023-01-31T04:05:26.565Z] Step 9/23 : COPY . . [2023-01-31T04:05:26.823Z] ---> a78aa7f74ff7 [2023-01-31T04:05:26.823Z] Step 10/23 : RUN ${MAKE} [2023-01-31T04:05:26.823Z] ---> Running in 96c4ac3f93b5 [2023-01-31T04:05:27.081Z] 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-01-31T04:05:45.157Z] Removing intermediate container 96c4ac3f93b5 [2023-01-31T04:05:45.157Z] ---> 587e3ab41bd7 [2023-01-31T04:05:45.157Z] Step 11/23 : FROM alpine:3.16 [2023-01-31T04:05:45.157Z] 3.16: Pulling from library/alpine [2023-01-31T04:05:45.157Z] ca7dd9ec2225: Pulling fs layer [2023-01-31T04:05:45.157Z] ca7dd9ec2225: Verifying Checksum [2023-01-31T04:05:45.157Z] ca7dd9ec2225: Download complete [2023-01-31T04:05:45.157Z] ca7dd9ec2225: Pull complete [2023-01-31T04:05:45.157Z] Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b [2023-01-31T04:05:45.157Z] Status: Downloaded newer image for alpine:3.16 [2023-01-31T04:05:45.157Z] ---> bfe296a52501 [2023-01-31T04:05:45.157Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-01-31T04:05:45.157Z] ---> Running in 9f6963e3a268 [2023-01-31T04:05:45.157Z] Removing intermediate container 9f6963e3a268 [2023-01-31T04:05:45.157Z] ---> 6f1231b8027d [2023-01-31T04:05:45.157Z] Step 13/23 : RUN apk add --update --no-cache [2023-01-31T04:05:45.157Z] ---> Running in 339d72d37fdf [2023-01-31T04:05:45.157Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-31T04:05:45.157Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-31T04:05:45.415Z] OK: 6 MiB in 14 packages [2023-01-31T04:05:45.982Z] Removing intermediate container 339d72d37fdf [2023-01-31T04:05:45.982Z] ---> 68421e71187c [2023-01-31T04:05:45.982Z] Step 14/23 : WORKDIR / [2023-01-31T04:05:45.982Z] ---> Running in 7625efe9c45d [2023-01-31T04:05:45.982Z] Removing intermediate container 7625efe9c45d [2023-01-31T04:05:45.982Z] ---> 159e2084908d [2023-01-31T04:05:45.982Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-01-31T04:05:46.240Z] ---> 74cdeb5834dc [2023-01-31T04:05:46.240Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-01-31T04:05:46.811Z] ---> 571aab1bcf7e [2023-01-31T04:05:46.811Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-01-31T04:05:46.811Z] ---> 98f9bc9da221 [2023-01-31T04:05:46.811Z] Step 18/23 : EXPOSE 59999 [2023-01-31T04:05:46.811Z] ---> Running in cc049c7a33ee [2023-01-31T04:05:47.072Z] Removing intermediate container cc049c7a33ee [2023-01-31T04:05:47.073Z] ---> 1fb83d450213 [2023-01-31T04:05:47.073Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-01-31T04:05:47.073Z] ---> Running in 697b508a7ac0 [2023-01-31T04:05:47.073Z] Removing intermediate container 697b508a7ac0 [2023-01-31T04:05:47.073Z] ---> dd41fb256178 [2023-01-31T04:05:47.073Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-01-31T04:05:47.073Z] ---> Running in 4bf544ac372e [2023-01-31T04:05:47.073Z] Removing intermediate container 4bf544ac372e [2023-01-31T04:05:47.073Z] ---> 44f396ffae43 [2023-01-31T04:05:47.073Z] Step 21/23 : LABEL arch=amd64 [2023-01-31T04:05:47.331Z] ---> Running in ae0e7373eec3 [2023-01-31T04:05:47.331Z] Removing intermediate container ae0e7373eec3 [2023-01-31T04:05:47.331Z] ---> 9e9e4482a6b0 [2023-01-31T04:05:47.331Z] Step 22/23 : LABEL git_sha=1154ba09cfab54c3f87ee2fcca63044f37cf653b [2023-01-31T04:05:47.331Z] ---> Running in 2b4be7c62a4d [2023-01-31T04:05:47.331Z] Removing intermediate container 2b4be7c62a4d [2023-01-31T04:05:47.331Z] ---> d75eff1252b7 [2023-01-31T04:05:47.331Z] Step 23/23 : LABEL version=0.0.0 [2023-01-31T04:05:47.591Z] ---> Running in d0c1812c2e29 [2023-01-31T04:05:47.591Z] Removing intermediate container d0c1812c2e29 [2023-01-31T04:05:47.591Z] ---> ec1cc2e4568a [2023-01-31T04:05:47.591Z] [Warning] One or more build-args [ARCH] were not consumed [2023-01-31T04:05:47.591Z] Successfully built ec1cc2e4568a [2023-01-31T04:05:47.591Z] 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-01-31T04:05:48.431Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-31T04:05:48.431Z] [2023-01-31T04:05:48.431Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-31T04:05:48.823Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-31T04:05:48.823Z] latest: Pulling from edgex-lftools-log-publisher [2023-01-31T04:05:48.823Z] 5eb5b503b376: Pulling fs layer [2023-01-31T04:05:48.823Z] 5c69ac0246d0: Pulling fs layer [2023-01-31T04:05:48.823Z] ec43610c2a17: Pulling fs layer [2023-01-31T04:05:48.823Z] 3a2ae6a8a46f: Pulling fs layer [2023-01-31T04:05:48.823Z] 33b1e0a273af: Pulling fs layer [2023-01-31T04:05:48.823Z] 5d3b04190fa2: Pulling fs layer [2023-01-31T04:05:48.823Z] 2f39f015ded8: Pulling fs layer [2023-01-31T04:05:48.823Z] 33b1e0a273af: Waiting [2023-01-31T04:05:48.823Z] 2f39f015ded8: Waiting [2023-01-31T04:05:48.823Z] 5d3b04190fa2: Waiting [2023-01-31T04:05:48.823Z] 3a2ae6a8a46f: Waiting [2023-01-31T04:05:48.823Z] 5c69ac0246d0: Verifying Checksum [2023-01-31T04:05:48.823Z] 5c69ac0246d0: Download complete [2023-01-31T04:05:48.823Z] 3a2ae6a8a46f: Download complete [2023-01-31T04:05:49.087Z] ec43610c2a17: Verifying Checksum [2023-01-31T04:05:49.087Z] ec43610c2a17: Download complete [2023-01-31T04:05:49.087Z] 33b1e0a273af: Verifying Checksum [2023-01-31T04:05:49.087Z] 33b1e0a273af: Download complete [2023-01-31T04:05:49.087Z] 5d3b04190fa2: Verifying Checksum [2023-01-31T04:05:49.087Z] 5d3b04190fa2: Download complete [2023-01-31T04:05:49.346Z] 5eb5b503b376: Verifying Checksum [2023-01-31T04:05:49.346Z] 5eb5b503b376: Download complete [2023-01-31T04:05:49.911Z] 2f39f015ded8: Verifying Checksum [2023-01-31T04:05:49.911Z] 2f39f015ded8: Download complete [2023-01-31T04:05:50.480Z] 5eb5b503b376: Pull complete [2023-01-31T04:05:50.480Z] 5c69ac0246d0: Pull complete [2023-01-31T04:05:50.739Z] ec43610c2a17: Pull complete [2023-01-31T04:05:50.997Z] 3a2ae6a8a46f: Pull complete [2023-01-31T04:05:50.997Z] 33b1e0a273af: Pull complete [2023-01-31T04:05:51.255Z] 5d3b04190fa2: Pull complete [2023-01-31T04:05:55.441Z] 2f39f015ded8: Pull complete [2023-01-31T04:05:55.441Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-01-31T04:05:55.441Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-31T04:05:55.441Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-31T04:05:55.664Z] prd-ubuntu20.04-docker-8c-8g-4077 does not seem to be running inside a container [2023-01-31T04:05:55.691Z] $ 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-1295 -v /w/workspace/gexfoundry_device-sdk-go_PR-1295:/w/workspace/gexfoundry_device-sdk-go_PR-1295:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1295@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1295@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-01-31T04:05:57.234Z] $ docker top f87a9c728a3015ad299ee2e1abd978a1409044ff957064f02b374dd3262b0ff9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-31T04:05:57.657Z] ---> job-cost.sh [2023-01-31T04:05:57.657Z] lf-activate-venv: SKIPPING [2023-01-31T04:05:57.657Z] INFO: No Stack... [2023-01-31T04:05:59.562Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-01-31T04:05:59.562Z] INFO: Archiving Costs [Pipeline] sh [2023-01-31T04:05:59.876Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1295/archives/cost.csv [2023-01-31T04:05:59.876Z] + cut -d, -f6 [Pipeline] lock [2023-01-31T04:05:59.931Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1295-1-stack-cost] [2023-01-31T04:05:59.936Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1295-1-stack-cost] did not exist. Created. [2023-01-31T04:05:59.936Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1295-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-01-31T04:06:00.344Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-01-31T04:06:00.397Z] Stashed 1 file(s) [Pipeline] } [2023-01-31T04:06:00.472Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1295-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-01-31T04:06:00.554Z] $ docker stop --time=1 f87a9c728a3015ad299ee2e1abd978a1409044ff957064f02b374dd3262b0ff9 [2023-01-31T04:06:01.723Z] $ docker rm -f --volumes f87a9c728a3015ad299ee2e1abd978a1409044ff957064f02b374dd3262b0ff9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-01-31T04:06:15.878Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-4080 in /w/workspace/gexfoundry_device-sdk-go_PR-1295 [Pipeline] { [Pipeline] ws [2023-01-31T04:06:15.933Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2023-01-31T04:06:16.008Z] The recommended git tool is: git [2023-01-31T04:06:21.128Z] using credential edgex-jenkins-ssh [2023-01-31T04:06:21.147Z] Cloning the remote Git repository [2023-01-31T04:06:21.188Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-01-31T04:06:21.258Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2023-01-31T04:06:21.405Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-01-31T04:06:21.406Z] > git --version # timeout=10 [2023-01-31T04:06:21.430Z] > git --version # 'git version 2.25.1' [2023-01-31T04:06:21.432Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-31T04:06:21.489Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-01-31T04:06:24.003Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-01-31T04:06:24.024Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-01-31T04:06:25.621Z] Merging remotes/origin/main commit 881f10918eb4e60f546b60d89ac5bea6bad2c109 into PR head commit 1154ba09cfab54c3f87ee2fcca63044f37cf653b [2023-01-31T04:06:25.892Z] Merge succeeded, producing 1154ba09cfab54c3f87ee2fcca63044f37cf653b [2023-01-31T04:06:25.893Z] Checking out Revision 1154ba09cfab54c3f87ee2fcca63044f37cf653b (PR-1295) [2023-01-31T04:06:24.962Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-01-31T04:06:25.006Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-01-31T04:06:25.007Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-31T04:06:25.025Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1295/head:refs/remotes/origin/PR-1295 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-01-31T04:06:25.641Z] > git config core.sparsecheckout # timeout=10 [2023-01-31T04:06:25.660Z] > git checkout -f 1154ba09cfab54c3f87ee2fcca63044f37cf653b # timeout=10 [2023-01-31T04:06:25.783Z] > git remote # timeout=10 [2023-01-31T04:06:25.805Z] > git config --get remote.origin.url # timeout=10 [2023-01-31T04:06:25.827Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-31T04:06:25.842Z] > git merge 881f10918eb4e60f546b60d89ac5bea6bad2c109 # timeout=10 [2023-01-31T04:06:25.871Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-01-31T04:06:25.897Z] > git config core.sparsecheckout # timeout=10 [2023-01-31T04:06:25.915Z] > git checkout -f 1154ba09cfab54c3f87ee2fcca63044f37cf653b # timeout=10 [2023-01-31T04:06:26.503Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v3" [2023-01-31T04:06:26.558Z] > git --version # timeout=10 [2023-01-31T04:06:26.570Z] > git --version # 'git version 2.25.1' [2023-01-31T04:06:26.584Z] fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-31T04:06:27.587Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-01-31T04:06:27.588Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-01-31T04:06:27.588Z] Dload Upload Total Spent Left Speed [2023-01-31T04:06:27.588Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 234k 0 --:--:-- --:--:-- --:--:-- 234k [Pipeline] sh [2023-01-31T04:06:28.204Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-01-31T04:06:28.561Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-01-31T04:06:28.561Z] + sudo tee /etc/docker/daemon.new [2023-01-31T04:06:28.561Z] { [2023-01-31T04:06:28.561Z] "registry-mirrors": [ [2023-01-31T04:06:28.561Z] "https://nexus3.edgexfoundry.org:10001" [2023-01-31T04:06:28.561Z] ], [2023-01-31T04:06:28.561Z] "bip": "10.250.0.254/24", [2023-01-31T04:06:28.561Z] "hosts": [ [2023-01-31T04:06:28.561Z] "tcp://0.0.0.0:5555", [2023-01-31T04:06:28.561Z] "unix:///var/run/docker.sock" [2023-01-31T04:06:28.561Z] ], [2023-01-31T04:06:28.561Z] "mtu": 1458, [2023-01-31T04:06:28.561Z] "selinux-enabled": true, [2023-01-31T04:06:28.561Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-01-31T04:06:28.561Z] } [Pipeline] sh [2023-01-31T04:06:28.917Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-01-31T04:06:29.273Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-31T04:06:46.816Z] provisioning config files... [2023-01-31T04:06:46.846Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config5989131416366239267tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-31T04:06:47.242Z] ---> docker-login.sh [2023-01-31T04:06:47.242Z] nexus3.edgexfoundry.org:10001 [2023-01-31T04:06:47.837Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-31T04:06:47.837Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-31T04:06:47.837Z] Configure a credential helper to remove this warning. See [2023-01-31T04:06:47.837Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-31T04:06:47.837Z] [2023-01-31T04:06:48.112Z] Login Succeeded [2023-01-31T04:06:48.113Z] nexus3.edgexfoundry.org:10002 [2023-01-31T04:06:48.387Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-31T04:06:48.387Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-31T04:06:48.387Z] Configure a credential helper to remove this warning. See [2023-01-31T04:06:48.387Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-31T04:06:48.387Z] [2023-01-31T04:06:48.387Z] Login Succeeded [2023-01-31T04:06:48.387Z] nexus3.edgexfoundry.org:10003 [2023-01-31T04:06:48.660Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-31T04:06:48.660Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-31T04:06:48.660Z] Configure a credential helper to remove this warning. See [2023-01-31T04:06:48.660Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-31T04:06:48.660Z] [2023-01-31T04:06:48.660Z] Login Succeeded [2023-01-31T04:06:48.660Z] nexus3.edgexfoundry.org:10004 [2023-01-31T04:06:48.933Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-31T04:06:49.206Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-31T04:06:49.206Z] Configure a credential helper to remove this warning. See [2023-01-31T04:06:49.206Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-31T04:06:49.206Z] [2023-01-31T04:06:49.206Z] Login Succeeded [2023-01-31T04:06:49.206Z] docker.io [2023-01-31T04:06:49.474Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-31T04:06:49.743Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-31T04:06:49.743Z] Configure a credential helper to remove this warning. See [2023-01-31T04:06:49.743Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-31T04:06:49.743Z] [2023-01-31T04:06:49.743Z] Login Succeeded [2023-01-31T04:06:49.743Z] ---> docker-login.sh ends [Pipeline] } [2023-01-31T04:06:49.776Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-01-31T04:06:50.169Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-31T04:06:50.210Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-31T04:06:50.246Z] ========================================================= [2023-01-31T04:06:50.246Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-01-31T04:06:50.246Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-31T04:06:50.767Z] + 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-01-31T04:06:51.035Z] Sending build context to Docker daemon 5.693MB [2023-01-31T04:06:51.308Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-01-31T04:06:51.308Z] Step 2/10 : FROM ${BASE} AS builder [2023-01-31T04:06:51.308Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-01-31T04:06:51.308Z] 9b18e9b68314: Pulling fs layer [2023-01-31T04:06:51.308Z] 35d82f9e3411: Pulling fs layer [2023-01-31T04:06:51.308Z] e16973657156: Pulling fs layer [2023-01-31T04:06:51.308Z] fc693d55d65f: Pulling fs layer [2023-01-31T04:06:51.308Z] 7e9fc2657dce: Pulling fs layer [2023-01-31T04:06:51.308Z] dda99020689f: Pulling fs layer [2023-01-31T04:06:51.308Z] db1c61fa0a46: Pulling fs layer [2023-01-31T04:06:51.308Z] 891c053d2c06: Pulling fs layer [2023-01-31T04:06:51.308Z] fc693d55d65f: Waiting [2023-01-31T04:06:51.308Z] 7e9fc2657dce: Waiting [2023-01-31T04:06:51.308Z] dda99020689f: Waiting [2023-01-31T04:06:51.308Z] db1c61fa0a46: Waiting [2023-01-31T04:06:51.308Z] 891c053d2c06: Waiting [2023-01-31T04:06:51.308Z] e16973657156: Verifying Checksum [2023-01-31T04:06:51.308Z] e16973657156: Download complete [2023-01-31T04:06:51.308Z] 35d82f9e3411: Verifying Checksum [2023-01-31T04:06:51.308Z] 35d82f9e3411: Download complete [2023-01-31T04:06:51.308Z] 7e9fc2657dce: Verifying Checksum [2023-01-31T04:06:51.308Z] 7e9fc2657dce: Download complete [2023-01-31T04:06:51.593Z] dda99020689f: Verifying Checksum [2023-01-31T04:06:51.593Z] dda99020689f: Download complete [2023-01-31T04:06:51.593Z] 9b18e9b68314: Verifying Checksum [2023-01-31T04:06:53.023Z] 891c053d2c06: Verifying Checksum [2023-01-31T04:06:53.023Z] 891c053d2c06: Download complete [2023-01-31T04:06:54.000Z] db1c61fa0a46: Verifying Checksum [2023-01-31T04:06:54.000Z] db1c61fa0a46: Download complete [2023-01-31T04:06:54.588Z] fc693d55d65f: Download complete [2023-01-31T04:06:55.178Z] 9b18e9b68314: Pull complete [2023-01-31T04:06:55.779Z] 35d82f9e3411: Pull complete [2023-01-31T04:06:56.049Z] e16973657156: Pull complete [2023-01-31T04:07:08.517Z] fc693d55d65f: Pull complete [2023-01-31T04:07:09.106Z] 7e9fc2657dce: Pull complete [2023-01-31T04:07:09.106Z] dda99020689f: Pull complete [2023-01-31T04:07:15.780Z] db1c61fa0a46: Pull complete [2023-01-31T04:07:17.197Z] 891c053d2c06: Pull complete [2023-01-31T04:07:17.197Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-01-31T04:07:17.197Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-01-31T04:07:17.197Z] ---> f96f9c87975a [2023-01-31T04:07:17.197Z] Step 3/10 : ARG MAKE=make build [2023-01-31T04:07:19.152Z] ---> Running in f5d8a7b7e07c [2023-01-31T04:07:19.421Z] Removing intermediate container f5d8a7b7e07c [2023-01-31T04:07:19.421Z] ---> 34a606f35a3f [2023-01-31T04:07:19.421Z] Step 4/10 : WORKDIR /device-sdk-go [2023-01-31T04:07:19.690Z] ---> Running in ed8ee8846796 [2023-01-31T04:07:19.961Z] Removing intermediate container ed8ee8846796 [2023-01-31T04:07:19.961Z] ---> 107ae47eb546 [2023-01-31T04:07:19.961Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-01-31T04:07:19.961Z] ---> Running in 0ee5f685d8c3 [2023-01-31T04:07:20.230Z] Removing intermediate container 0ee5f685d8c3 [2023-01-31T04:07:20.230Z] ---> 5e9aa9c44a94 [2023-01-31T04:07:20.230Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-01-31T04:07:20.499Z] ---> Running in 534168e72f97 [2023-01-31T04:07:21.469Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-31T04:07:22.057Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-31T04:07:23.026Z] OK: 221 MiB in 51 packages [2023-01-31T04:07:23.610Z] Removing intermediate container 534168e72f97 [2023-01-31T04:07:23.610Z] ---> e12cfb61fb38 [2023-01-31T04:07:23.610Z] Step 7/10 : COPY go.mod vendor* ./ [2023-01-31T04:07:24.209Z] ---> 1318a1047772 [2023-01-31T04:07:24.209Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-31T04:07:24.209Z] ---> Running in 95fdc5c94bc9 [2023-01-31T04:08:32.117Z] Removing intermediate container 95fdc5c94bc9 [2023-01-31T04:08:32.117Z] ---> c35f13abd5e8 [2023-01-31T04:08:32.117Z] Step 9/10 : COPY . . [2023-01-31T04:08:32.117Z] ---> b7758a002fb4 [2023-01-31T04:08:32.117Z] Step 10/10 : RUN ${MAKE} [2023-01-31T04:08:32.117Z] ---> Running in 0f5f0f022741 [2023-01-31T04:08:32.117Z] noop [2023-01-31T04:08:32.117Z] Removing intermediate container 0f5f0f022741 [2023-01-31T04:08:32.117Z] ---> 46db5ba94544 [2023-01-31T04:08:32.117Z] Successfully built 46db5ba94544 [2023-01-31T04:08:32.117Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-31T04:08:32.624Z] + docker inspect -f . ci-base-image-arm64 [2023-01-31T04:08:32.624Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-31T04:08:32.888Z] prd-ubuntu20.04-docker-arm64-4c-16g-4080 does not seem to be running inside a container [2023-01-31T04:08:32.958Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-01-31T04:08:34.084Z] $ docker top adf6bb890dc9181f870bfa59879c6604bf4561fd11d678e08dd6533bb299b769 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-31T04:08:34.937Z] + go version [2023-01-31T04:08:34.937Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-01-31T04:08:34.974Z] $ docker stop --time=1 adf6bb890dc9181f870bfa59879c6604bf4561fd11d678e08dd6533bb299b769 [2023-01-31T04:08:37.852Z] $ docker rm -f --volumes adf6bb890dc9181f870bfa59879c6604bf4561fd11d678e08dd6533bb299b769 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-31T04:08:38.646Z] + docker inspect -f . ci-base-image-arm64 [2023-01-31T04:08:38.647Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-31T04:08:38.944Z] prd-ubuntu20.04-docker-arm64-4c-16g-4080 does not seem to be running inside a container [2023-01-31T04:08:39.008Z] $ 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/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-01-31T04:08:40.065Z] $ docker top a51b5059bd7fa36defd5436551b15870fe2547ddd5f787a8522b652396f8fae7 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-31T04:08:40.585Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh [2023-01-31T04:08:40.963Z] + make test [2023-01-31T04:08:40.963Z] go test -race -coverprofile=coverage.out ./... [2023-01-31T04:09:13.184Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-01-31T04:11:04.830Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-01-31T04:11:04.830Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-01-31T04:11:04.830Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-01-31T04:11:04.830Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-01-31T04:11:04.830Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-01-31T04:11:11.484Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.684s coverage: 27.6% of statements [2023-01-31T04:11:12.448Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.362s coverage: 78.9% of statements [2023-01-31T04:11:12.448Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] [2023-01-31T04:11:19.093Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.517s coverage: 73.6% of statements [2023-01-31T04:11:19.093Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-01-31T04:11:19.093Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-01-31T04:11:21.027Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.691s coverage: 60.6% of statements [2023-01-31T04:11:21.027Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-01-31T04:11:21.027Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [no test files] [2023-01-31T04:11:21.027Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-01-31T04:11:21.027Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/telemetry [no test files] [2023-01-31T04:11:21.301Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.438s coverage: 65.1% of statements [2023-01-31T04:11:21.301Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-01-31T04:11:21.301Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-01-31T04:11:22.714Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 3.497s coverage: 89.2% of statements [2023-01-31T04:11:22.714Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] [2023-01-31T04:11:22.714Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.431s coverage: 4.6% of statements [2023-01-31T04:11:22.714Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-01-31T04:11:23.298Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-01-31T04:11:23.298Z] GO111MODULE=on go vet ./... [2023-01-31T04:12:59.933Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-01-31T04:12:59.933Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-01-31T04:12:59.933Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-01-31T04:12:59.967Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-01-31T04:13:00.004Z] $ docker stop --time=1 a51b5059bd7fa36defd5436551b15870fe2547ddd5f787a8522b652396f8fae7 [2023-01-31T04:13:01.764Z] $ docker rm -f --volumes a51b5059bd7fa36defd5436551b15870fe2547ddd5f787a8522b652396f8fae7 [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-31T04:13:03.159Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-01-31T04:13:03.193Z] Warning: overwriting stash ‘coverage-report’ [2023-01-31T04:13:03.740Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-31T04:13:04.330Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-01-31T04:13:04.691Z] + ls -al . [2023-01-31T04:13:04.691Z] total 268 [2023-01-31T04:13:04.691Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 31 04:08 . [2023-01-31T04:13:04.692Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 31 04:06 .. [2023-01-31T04:13:04.692Z] -rw-rw-r-- 1 jenkins jenkins 140 Jan 31 04:06 .dockerignore [2023-01-31T04:13:04.692Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 31 04:06 .git [2023-01-31T04:13:04.692Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 31 04:06 .github [2023-01-31T04:13:04.692Z] -rw-rw-r-- 1 jenkins jenkins 131 Jan 31 04:06 .gitignore [2023-01-31T04:13:04.692Z] -rw-rw-r-- 1 jenkins jenkins 42 Jan 31 04:06 .golangci.yml [2023-01-31T04:13:04.692Z] -rw-rw-r-- 1 jenkins jenkins 31677 Jan 31 04:06 CHANGELOG.md [2023-01-31T04:13:04.692Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 31 04:06 GOVERNANCE.md [2023-01-31T04:13:04.692Z] -rw-rw-r-- 1 jenkins jenkins 880 Jan 31 04:06 Jenkinsfile [2023-01-31T04:13:04.692Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jan 31 04:06 LICENSE [2023-01-31T04:13:04.692Z] -rw-rw-r-- 1 jenkins jenkins 1679 Jan 31 04:06 Makefile [2023-01-31T04:13:04.692Z] -rw-rw-r-- 1 jenkins jenkins 619 Jan 31 04:06 OWNERS.md [2023-01-31T04:13:04.692Z] -rw-rw-r-- 1 jenkins jenkins 4891 Jan 31 04:06 README.md [2023-01-31T04:13:04.692Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 31 04:03 VERSION [2023-01-31T04:13:04.692Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 31 04:06 bin [2023-01-31T04:13:04.692Z] -rw-r--r-- 1 jenkins jenkins 100832 Jan 31 04:11 coverage.out [2023-01-31T04:13:04.692Z] drwxrwxr-x 5 jenkins jenkins 4096 Jan 31 04:06 example [2023-01-31T04:13:04.692Z] -rw-rw-r-- 1 jenkins jenkins 3307 Jan 31 04:06 go.mod [2023-01-31T04:13:04.692Z] -rw-rw-r-- 1 jenkins jenkins 33004 Jan 31 04:06 go.sum [2023-01-31T04:13:04.692Z] drwxrwxr-x 14 jenkins jenkins 4096 Jan 31 04:06 internal [2023-01-31T04:13:04.692Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 31 04:06 openapi [2023-01-31T04:13:04.692Z] drwxrwxr-x 6 jenkins jenkins 4096 Jan 31 04:06 pkg [2023-01-31T04:13:04.692Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 31 04:06 snap [2023-01-31T04:13:04.692Z] -rw-rw-r-- 1 jenkins jenkins 222 Jan 31 04:06 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-31T04:13:05.111Z] + 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=1154ba09cfab54c3f87ee2fcca63044f37cf653b --label arch=arm64 --label version=0.0.0 . [2023-01-31T04:13:05.381Z] Sending build context to Docker daemon 5.795MB [2023-01-31T04:13:05.381Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2023-01-31T04:13:05.381Z] Step 2/23 : FROM ${BASE} AS builder [2023-01-31T04:13:05.381Z] ---> 46db5ba94544 [2023-01-31T04:13:05.381Z] Step 3/23 : ARG MAKE=make build [2023-01-31T04:13:05.648Z] ---> Running in ee8af2049667 [2023-01-31T04:13:05.916Z] Removing intermediate container ee8af2049667 [2023-01-31T04:13:05.916Z] ---> 4d8d492eb9aa [2023-01-31T04:13:05.916Z] Step 4/23 : WORKDIR /device-sdk-go [2023-01-31T04:13:05.916Z] ---> Running in b4070a900f8d [2023-01-31T04:13:06.185Z] Removing intermediate container b4070a900f8d [2023-01-31T04:13:06.185Z] ---> fde04fe2cf25 [2023-01-31T04:13:06.186Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-01-31T04:13:06.451Z] ---> Running in 8ec6376853cf [2023-01-31T04:13:06.725Z] Removing intermediate container 8ec6376853cf [2023-01-31T04:13:06.725Z] ---> fe5ac5b89614 [2023-01-31T04:13:06.725Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-01-31T04:13:06.725Z] ---> Running in c5547c7cfcd5 [2023-01-31T04:13:07.688Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-31T04:13:07.954Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-31T04:13:08.910Z] OK: 221 MiB in 51 packages [2023-01-31T04:13:09.869Z] Removing intermediate container c5547c7cfcd5 [2023-01-31T04:13:09.869Z] ---> 4409ac309c90 [2023-01-31T04:13:09.869Z] Step 7/23 : COPY go.mod vendor* ./ [2023-01-31T04:13:10.136Z] ---> a85868e634fa [2023-01-31T04:13:10.136Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-31T04:13:10.136Z] ---> Running in 7fa842bcde31 [2023-01-31T04:13:12.721Z] Removing intermediate container 7fa842bcde31 [2023-01-31T04:13:12.721Z] ---> 57d82af439b6 [2023-01-31T04:13:12.721Z] Step 9/23 : COPY . . [2023-01-31T04:13:13.677Z] ---> 8584c6d0025b [2023-01-31T04:13:13.677Z] Step 10/23 : RUN ${MAKE} [2023-01-31T04:13:13.952Z] ---> Running in f5945dce9ff8 [2023-01-31T04:13:14.912Z] 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-01-31T04:15:21.562Z] Removing intermediate container f5945dce9ff8 [2023-01-31T04:15:21.562Z] ---> c10c619aced1 [2023-01-31T04:15:21.562Z] Step 11/23 : FROM alpine:3.16 [2023-01-31T04:15:21.562Z] 3.16: Pulling from library/alpine [2023-01-31T04:15:21.562Z] 6875df1f5354: Pulling fs layer [2023-01-31T04:15:21.562Z] 6875df1f5354: Verifying Checksum [2023-01-31T04:15:21.562Z] 6875df1f5354: Download complete [2023-01-31T04:15:21.562Z] 6875df1f5354: Pull complete [2023-01-31T04:15:21.562Z] Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b [2023-01-31T04:15:21.562Z] Status: Downloaded newer image for alpine:3.16 [2023-01-31T04:15:21.562Z] ---> 2b4661558fb8 [2023-01-31T04:15:21.562Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-01-31T04:15:21.562Z] ---> Running in 884e66a5536b [2023-01-31T04:15:21.562Z] Removing intermediate container 884e66a5536b [2023-01-31T04:15:21.562Z] ---> 4070f35643f7 [2023-01-31T04:15:21.562Z] Step 13/23 : RUN apk add --update --no-cache [2023-01-31T04:15:21.562Z] ---> Running in 172a45eaa1cb [2023-01-31T04:15:21.562Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-31T04:15:21.562Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-31T04:15:21.562Z] OK: 5 MiB in 14 packages [2023-01-31T04:15:21.562Z] Removing intermediate container 172a45eaa1cb [2023-01-31T04:15:21.562Z] ---> 6dfb2635a667 [2023-01-31T04:15:21.562Z] Step 14/23 : WORKDIR / [2023-01-31T04:15:21.562Z] ---> Running in 5bca3dae2260 [2023-01-31T04:15:21.562Z] Removing intermediate container 5bca3dae2260 [2023-01-31T04:15:21.562Z] ---> a14229f7210f [2023-01-31T04:15:21.562Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-01-31T04:15:21.562Z] ---> f25265122a67 [2023-01-31T04:15:21.562Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-01-31T04:15:21.562Z] ---> bc940852685c [2023-01-31T04:15:21.562Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-01-31T04:15:21.562Z] ---> 9889cd62970b [2023-01-31T04:15:21.562Z] Step 18/23 : EXPOSE 59999 [2023-01-31T04:15:21.562Z] ---> Running in 9a7622028179 [2023-01-31T04:15:21.562Z] Removing intermediate container 9a7622028179 [2023-01-31T04:15:21.562Z] ---> 367fb0bc333e [2023-01-31T04:15:21.562Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-01-31T04:15:21.562Z] ---> Running in d70fdc5e43c6 [2023-01-31T04:15:21.562Z] Removing intermediate container d70fdc5e43c6 [2023-01-31T04:15:21.562Z] ---> 57f3944fdb56 [2023-01-31T04:15:21.562Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-01-31T04:15:21.562Z] ---> Running in ac3ba369b408 [2023-01-31T04:15:21.562Z] Removing intermediate container ac3ba369b408 [2023-01-31T04:15:21.562Z] ---> dcf0f6741cc7 [2023-01-31T04:15:21.562Z] Step 21/23 : LABEL arch=arm64 [2023-01-31T04:15:21.562Z] ---> Running in 84736973c91b [2023-01-31T04:15:21.562Z] Removing intermediate container 84736973c91b [2023-01-31T04:15:21.562Z] ---> 8db26abc66f1 [2023-01-31T04:15:21.562Z] Step 22/23 : LABEL git_sha=1154ba09cfab54c3f87ee2fcca63044f37cf653b [2023-01-31T04:15:21.562Z] ---> Running in c8326a2c7402 [2023-01-31T04:15:21.562Z] Removing intermediate container c8326a2c7402 [2023-01-31T04:15:21.562Z] ---> cf0b9634991b [2023-01-31T04:15:21.562Z] Step 23/23 : LABEL version=0.0.0 [2023-01-31T04:15:21.562Z] ---> Running in 3ee86243a6b8 [2023-01-31T04:15:21.562Z] Removing intermediate container 3ee86243a6b8 [2023-01-31T04:15:21.562Z] ---> 56d8990c9e82 [2023-01-31T04:15:21.562Z] [Warning] One or more build-args [ARCH] were not consumed [2023-01-31T04:15:21.562Z] Successfully built 56d8990c9e82 [2023-01-31T04:15:21.562Z] 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-01-31T04:15:22.335Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-31T04:15:22.335Z] [2023-01-31T04:15:22.335Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-31T04:15:22.740Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-31T04:15:22.740Z] arm64: Pulling from edgex-lftools-log-publisher [2023-01-31T04:15:22.740Z] 8998bd30e6a1: Pulling fs layer [2023-01-31T04:15:22.740Z] 04944245beec: Pulling fs layer [2023-01-31T04:15:22.740Z] 699f458cf7ca: Pulling fs layer [2023-01-31T04:15:22.740Z] 765212b225bb: Pulling fs layer [2023-01-31T04:15:22.740Z] 765212b225bb: Waiting [2023-01-31T04:15:22.740Z] f23df028b6ca: Pulling fs layer [2023-01-31T04:15:22.740Z] d65c8cfc05b1: Pulling fs layer [2023-01-31T04:15:22.740Z] 2437ff75d9bd: Pulling fs layer [2023-01-31T04:15:22.740Z] f23df028b6ca: Waiting [2023-01-31T04:15:22.740Z] d65c8cfc05b1: Waiting [2023-01-31T04:15:22.740Z] 2437ff75d9bd: Waiting [2023-01-31T04:15:23.006Z] 04944245beec: Verifying Checksum [2023-01-31T04:15:23.006Z] 04944245beec: Download complete [2023-01-31T04:15:23.006Z] 765212b225bb: Download complete [2023-01-31T04:15:23.006Z] f23df028b6ca: Verifying Checksum [2023-01-31T04:15:23.006Z] f23df028b6ca: Download complete [2023-01-31T04:15:23.006Z] d65c8cfc05b1: Verifying Checksum [2023-01-31T04:15:23.006Z] d65c8cfc05b1: Download complete [2023-01-31T04:15:23.271Z] 699f458cf7ca: Verifying Checksum [2023-01-31T04:15:23.272Z] 699f458cf7ca: Download complete [2023-01-31T04:15:23.538Z] 8998bd30e6a1: Verifying Checksum [2023-01-31T04:15:23.538Z] 8998bd30e6a1: Download complete [2023-01-31T04:15:26.123Z] 2437ff75d9bd: Verifying Checksum [2023-01-31T04:15:26.123Z] 2437ff75d9bd: Download complete [2023-01-31T04:15:27.530Z] 8998bd30e6a1: Pull complete [2023-01-31T04:15:27.797Z] 04944245beec: Pull complete [2023-01-31T04:15:29.278Z] 699f458cf7ca: Pull complete [2023-01-31T04:15:29.278Z] 765212b225bb: Pull complete [2023-01-31T04:15:30.262Z] f23df028b6ca: Pull complete [2023-01-31T04:15:30.262Z] d65c8cfc05b1: Pull complete [2023-01-31T04:15:45.306Z] 2437ff75d9bd: Pull complete [2023-01-31T04:15:45.306Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-01-31T04:15:45.306Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-31T04:15:45.306Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-31T04:15:45.628Z] prd-ubuntu20.04-docker-arm64-4c-16g-4080 does not seem to be running inside a container [2023-01-31T04:15:45.702Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-01-31T04:15:48.349Z] $ docker top b6acc5fbd314edb45eddd37ad4fd32fa3eb2b21c2835daa2f9ef56d2168fe585 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-31T04:15:49.231Z] ---> job-cost.sh [2023-01-31T04:15:49.231Z] lf-activate-venv: SKIPPING [2023-01-31T04:15:49.231Z] INFO: No Stack... [2023-01-31T04:15:49.497Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-01-31T04:15:50.452Z] INFO: Archiving Costs [Pipeline] sh [2023-01-31T04:15:50.791Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2023-01-31T04:15:50.791Z] + cut -d, -f6 [Pipeline] lock [2023-01-31T04:15:50.859Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1295-1-stack-cost] [2023-01-31T04:15:50.864Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1295-1-stack-cost] did not exist. Created. [2023-01-31T04:15:50.864Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1295-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-01-31T04:15:51.263Z] /w/workspace/device-sdk-go/1@tmp/durable-3fe17834/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-01-31T04:15:51.607Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-01-31T04:15:51.641Z] Warning: overwriting stash ‘stack-cost’ [2023-01-31T04:15:51.702Z] Stashed 1 file(s) [Pipeline] } [2023-01-31T04:15:51.717Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1295-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-01-31T04:15:51.795Z] $ docker stop --time=1 b6acc5fbd314edb45eddd37ad4fd32fa3eb2b21c2835daa2f9ef56d2168fe585 [2023-01-31T04:15:53.288Z] $ docker rm -f --volumes b6acc5fbd314edb45eddd37ad4fd32fa3eb2b21c2835daa2f9ef56d2168fe585 [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-01-31T04:15:54.331Z] provisioning config files... [2023-01-31T04:15:54.338Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1295@tmp/config14187019253388239323tmp [Pipeline] { [Pipeline] sh [2023-01-31T04:15:54.676Z] + set +x [2023-01-31T04:15:54.676Z] + bash -s -- [2023-01-31T04:15:54.676Z] + curl -s https://codecov.io/bash [2023-01-31T04:15:54.676Z] [2023-01-31T04:15:54.676Z] _____ _ [2023-01-31T04:15:54.676Z] / ____| | | [2023-01-31T04:15:54.676Z] | | ___ __| | ___ ___ _____ __ [2023-01-31T04:15:54.676Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-01-31T04:15:54.676Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-01-31T04:15:54.676Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-01-31T04:15:54.676Z] Bash-1.0.6 [2023-01-31T04:15:54.676Z] [2023-01-31T04:15:54.676Z] [2023-01-31T04:15:54.676Z] ==> git version 2.25.1 found [2023-01-31T04:15:54.676Z] ==> 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-01-31T04:15:54.676Z] Release-Date: 2020-01-08 [2023-01-31T04:15:54.676Z] 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-01-31T04:15:54.676Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-01-31T04:15:54.676Z] ==> Jenkins CI detected. [2023-01-31T04:15:54.676Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1295 [2023-01-31T04:15:54.676Z] project root: . [2023-01-31T04:15:54.676Z] --> token set from env [2023-01-31T04:15:54.676Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-01-31T04:15:54.676Z] ==> Running gcov in . (disable via -X gcov) [2023-01-31T04:15:54.676Z] ==> Python coveragepy not found [2023-01-31T04:15:54.676Z] ==> Searching for coverage reports in: [2023-01-31T04:15:54.676Z] + . [2023-01-31T04:15:54.676Z] -> Found 1 reports [2023-01-31T04:15:54.676Z] ==> Detecting git/mercurial file structure [2023-01-31T04:15:54.676Z] ==> Reading reports [2023-01-31T04:15:54.676Z] + ./coverage.out bytes=100832 [2023-01-31T04:15:54.676Z] ==> Appending adjustments [2023-01-31T04:15:54.676Z] https://docs.codecov.io/docs/fixing-reports [2023-01-31T04:15:54.936Z] + Found adjustments [2023-01-31T04:15:54.936Z] ==> Gzipping contents [2023-01-31T04:15:54.936Z] 16K /tmp/codecov.xHs0Oe.gz [2023-01-31T04:15:54.936Z] ==> Uploading reports [2023-01-31T04:15:54.936Z] url: https://codecov.io [2023-01-31T04:15:54.936Z] query: branch=PR-1295&commit=1154ba09cfab54c3f87ee2fcca63044f37cf653b&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1295%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1295&job=&cmd_args= [2023-01-31T04:15:54.936Z] -> Pinging Codecov [2023-01-31T04:15:54.936Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1295&commit=1154ba09cfab54c3f87ee2fcca63044f37cf653b&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1295%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1295&job=&cmd_args= [2023-01-31T04:15:55.504Z] -> Uploading to [2023-01-31T04:15:55.504Z] https://storage.googleapis.com/codecov/v4/raw/2023-01-31/7E55EF52A471D76F132DFD9A03CDDE97/1154ba09cfab54c3f87ee2fcca63044f37cf653b/9c402968-2e84-4b77-8fee-c5ae64fc25e0.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230131%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230131T041555Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=1141b1758c64d1d532d2384c53e957ee19247e754ebc4e86c1a85638839950ce [2023-01-31T04:15:55.504Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-01-31T04:15:55.504Z] Dload Upload Total Spent Left Speed [2023-01-31T04:15:55.763Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14737 0 0 100 14737 0 58249 --:--:-- --:--:-- --:--:-- 58249 [2023-01-31T04:15:55.763Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/1154ba09cfab54c3f87ee2fcca63044f37cf653b [Pipeline] } [2023-01-31T04:15:55.789Z] 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-01-31T04:15:57.484Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1295/archives ] [2023-01-31T04:15:57.484Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1295/archives [2023-01-31T04:15:57.484Z] total 16 [2023-01-31T04:15:57.484Z] drwxr-xr-x 3 root root 4096 Jan 31 04:05 . [2023-01-31T04:15:57.484Z] drwxrwxr-x 12 jenkins jenkins 4096 Jan 31 04:06 .. [2023-01-31T04:15:57.484Z] drwxr-xr-x 2 root root 4096 Jan 31 04:05 cost [2023-01-31T04:15:57.484Z] -rw-r--r-- 1 root root 86 Jan 31 04:05 cost.csv [2023-01-31T04:15:57.484Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1295/archives [2023-01-31T04:15:57.484Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1295/archives [2023-01-31T04:15:57.484Z] total 16 [2023-01-31T04:15:57.484Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 31 04:05 . [2023-01-31T04:15:57.484Z] drwxrwxr-x 12 jenkins jenkins 4096 Jan 31 04:06 .. [2023-01-31T04:15:57.484Z] drwxr-xr-x 2 jenkins jenkins 4096 Jan 31 04:05 cost [2023-01-31T04:15:57.484Z] -rw-r--r-- 1 jenkins jenkins 86 Jan 31 04:05 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-01-31T04:15:57.815Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-31T04:15:58.713Z] ---> package-listing.sh [2023-01-31T04:15:58.713Z] ++ facter osfamily [2023-01-31T04:15:58.713Z] ++ tr '[:upper:]' '[:lower:]' [2023-01-31T04:15:58.972Z] + OS_FAMILY=debian [2023-01-31T04:15:58.972Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1295 [2023-01-31T04:15:58.972Z] + START_PACKAGES=/tmp/packages_start.txt [2023-01-31T04:15:58.972Z] + END_PACKAGES=/tmp/packages_end.txt [2023-01-31T04:15:58.972Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-01-31T04:15:58.972Z] + PACKAGES=/tmp/packages_start.txt [2023-01-31T04:15:58.972Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1295 ']' [2023-01-31T04:15:58.972Z] + PACKAGES=/tmp/packages_end.txt [2023-01-31T04:15:58.972Z] + case "${OS_FAMILY}" in [2023-01-31T04:15:58.972Z] + dpkg -l [2023-01-31T04:15:58.972Z] + grep '^ii' [2023-01-31T04:15:58.972Z] + '[' -f /tmp/packages_start.txt ']' [2023-01-31T04:15:58.972Z] + '[' -f /tmp/packages_end.txt ']' [2023-01-31T04:15:58.972Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-01-31T04:15:58.972Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1295 ']' [2023-01-31T04:15:58.972Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1295/archives/ [2023-01-31T04:15:58.972Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1295/archives/ [Pipeline] echo [2023-01-31T04:15:59.010Z] 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-1295/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-01-31T04:15:59.301Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-31T04:15:59.932Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-31T04:15:59.932Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-31T04:16:00.081Z] prd-ubuntu20.04-docker-8c-8g-4077 does not seem to be running inside a container [2023-01-31T04:16:00.112Z] $ 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-1295/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-1295 -v /w/workspace/gexfoundry_device-sdk-go_PR-1295:/w/workspace/gexfoundry_device-sdk-go_PR-1295:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1295@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1295@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-01-31T04:16:00.324Z] $ docker top c84b4dbe1234b023de4d506b60ebe3030cbf78f8b4f577af7f28ecfd3cf6e110 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-31T04:16:00.726Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-01-31T04:16:01.033Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-01-31T04:16:01.341Z] + ls /var/log/sa-host [2023-01-31T04:16:01.341Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-31T04:16:01.473Z] provisioning config files... [2023-01-31T04:16:01.480Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1295@tmp/config7429595555394277977tmp [Pipeline] { [Pipeline] echo [2023-01-31T04:16:01.530Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-31T04:16:01.845Z] ---> create-netrc.sh [Pipeline] } [2023-01-31T04:16:01.873Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-01-31T04:16:02.262Z] ---> python-tools-install.sh [Pipeline] echo [2023-01-31T04:16:02.291Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-31T04:16:02.604Z] ---> sudo-logs.sh [2023-01-31T04:16:02.604Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-01-31T04:16:02.688Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-31T04:16:03.003Z] ---> job-cost.sh [2023-01-31T04:16:03.003Z] lf-activate-venv: SKIPPING [2023-01-31T04:16:03.003Z] DEBUG: total: 0.2199999988079071 [2023-01-31T04:16:03.003Z] INFO: Retrieving Stack Cost... [2023-01-31T04:16:03.572Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-01-31T04:16:03.831Z] INFO: Archiving Costs [Pipeline] echo [2023-01-31T04:16:03.865Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-31T04:16:04.180Z] ---> logs-deploy.sh [2023-01-31T04:16:04.180Z] lf-activate-venv: SKIPPING [2023-01-31T04:16:04.180Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1295/1 [2023-01-31T04:16:04.180Z] INFO: archiving workspace using pattern(s): [2023-01-31T04:16:05.118Z] Archives upload complete. [2023-01-31T04:16:05.118Z] INFO: archiving logs to Nexus