Pull request #1389 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 531b08ddea651399d93a2d1d8df5b3750e9d4382+6f965a0b85b542f54aab8de1c6c68203c2ba52ef (2211f30c28271e7be6c324a1fbc95c99a564fd2e) 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-ssh5689158632888441173.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a 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-ssh6384479267246233582.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 66200e8eedfc470904d6b329e562ec5b45423d6a 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-1389/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-1389/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13764106165072560195.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-1389/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12303554180448337791.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > 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-ssh10133159149786099456.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-1389/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-1389/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh10923980417671210998.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 66200e8eedfc470904d6b329e562ec5b45423d6a Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v3]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor Running on prd-ubuntu20.04-docker-8c-8g-2351 in /w/workspace/gexfoundry_device-sdk-go_PR-1389 [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-1389 # 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 Merging remotes/origin/main commit 6f965a0b85b542f54aab8de1c6c68203c2ba52ef into PR head commit 531b08ddea651399d93a2d1d8df5b3750e9d4382 Merge succeeded, producing 531b08ddea651399d93a2d1d8df5b3750e9d4382 Checking out Revision 531b08ddea651399d93a2d1d8df5b3750e9d4382 (PR-1389) 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 66200e8eedfc470904d6b329e562ec5b45423d6a [Pipeline] } > 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/1389/head:refs/remotes/origin/PR-1389 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 531b08ddea651399d93a2d1d8df5b3750e9d4382 # 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 6f965a0b85b542f54aab8de1c6c68203c2ba52ef # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 531b08ddea651399d93a2d1d8df5b3750e9d4382 # timeout=10 [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-03-16T04:59:11.114Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-03-16T04:59:11.281Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-03-16T04:59:11.372Z] ========================================================= [2023-03-16T04:59:11.372Z] EdgeX Global Pipelines Version Info [2023-03-16T04:59:11.372Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-03-16T04:59:12.108Z] ------------------- [2023-03-16T04:59:12.109Z] stable info: [2023-03-16T04:59:12.109Z] ------------------- [2023-03-16T04:59:12.109Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-03-16T04:59:12.109Z] Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a [2023-03-16T04:59:12.109Z] Message: update stable to v1.0.245 [2023-03-16T04:59:12.679Z] ------------------- [2023-03-16T04:59:12.679Z] experimental info: [2023-03-16T04:59:12.679Z] ------------------- [2023-03-16T04:59:12.679Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-03-16T04:59:12.679Z] Commit SHA: eb5041bb0874f6b7cdca3e6793e1ef87c0289dce [2023-03-16T04:59:12.679Z] Message: update experimental to v1.0.246 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-03-16T04:59:12.945Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-03-16T04:59:12.982Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-03-16T04:59:13.024Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-03-16T04:59:13.062Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-03-16T04:59:13.100Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-03-16T04:59:13.137Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-03-16T04:59:13.172Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-03-16T04:59:13.210Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-03-16T04:59:13.247Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-03-16T04:59:13.286Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-03-16T04:59:13.321Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-03-16T04:59:14.018Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-03-16T04:59:14.056Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-03-16T04:59:14.095Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-03-16T04:59:14.135Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-03-16T04:59:14.176Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-03-16T04:59:14.211Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-03-16T04:59:14.252Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-03-16T04:59:14.288Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-03-16T04:59:14.323Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-03-16T04:59:14.358Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-03-16T04:59:14.406Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2023-03-16T04:59:14.442Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-03-16T04:59:14.484Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-03-16T04:59:14.522Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-03-16T04:59:14.565Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-03-16T04:59:14.604Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-03-16T04:59:14.646Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1389 [Pipeline] echo [2023-03-16T04:59:14.687Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1389 [Pipeline] echo [2023-03-16T04:59:14.725Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1389 [Pipeline] echo [2023-03-16T04:59:14.766Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 531b08ddea651399d93a2d1d8df5b3750e9d4382 [Pipeline] echo [2023-03-16T04:59:14.811Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 531b08d [Pipeline] echo [2023-03-16T04:59:14.852Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-16T04:59:14.964Z] provisioning config files... [2023-03-16T04:59:14.979Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1389@tmp/config10036809837613261881tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-16T04:59:15.315Z] ---> docker-login.sh [2023-03-16T04:59:15.315Z] nexus3.edgexfoundry.org:10001 [2023-03-16T04:59:15.575Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-16T04:59:15.575Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-16T04:59:15.575Z] Configure a credential helper to remove this warning. See [2023-03-16T04:59:15.575Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-16T04:59:15.575Z] [2023-03-16T04:59:15.575Z] Login Succeeded [2023-03-16T04:59:15.575Z] nexus3.edgexfoundry.org:10002 [2023-03-16T04:59:15.835Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-16T04:59:15.835Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-16T04:59:15.835Z] Configure a credential helper to remove this warning. See [2023-03-16T04:59:15.835Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-16T04:59:15.835Z] [2023-03-16T04:59:15.835Z] Login Succeeded [2023-03-16T04:59:15.835Z] nexus3.edgexfoundry.org:10003 [2023-03-16T04:59:15.835Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-16T04:59:15.835Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-16T04:59:15.835Z] Configure a credential helper to remove this warning. See [2023-03-16T04:59:15.835Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-16T04:59:15.835Z] [2023-03-16T04:59:15.835Z] Login Succeeded [2023-03-16T04:59:15.835Z] nexus3.edgexfoundry.org:10004 [2023-03-16T04:59:16.095Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-16T04:59:16.095Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-16T04:59:16.095Z] Configure a credential helper to remove this warning. See [2023-03-16T04:59:16.095Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-16T04:59:16.095Z] [2023-03-16T04:59:16.095Z] Login Succeeded [2023-03-16T04:59:16.095Z] docker.io [2023-03-16T04:59:16.095Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-16T04:59:16.354Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-16T04:59:16.354Z] Configure a credential helper to remove this warning. See [2023-03-16T04:59:16.354Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-16T04:59:16.354Z] [2023-03-16T04:59:16.354Z] Login Succeeded [2023-03-16T04:59:16.354Z] ---> docker-login.sh ends [Pipeline] } [2023-03-16T04:59:16.381Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-03-16T04:59:16.996Z] + git rev-list -1 --merges 531b08ddea651399d93a2d1d8df5b3750e9d4382~1..531b08ddea651399d93a2d1d8df5b3750e9d4382 [Pipeline] echo [2023-03-16T04:59:17.034Z] -----------> git rev-list -1 --merges 531b08ddea651399d93a2d1d8df5b3750e9d4382~1..531b08ddea651399d93a2d1d8df5b3750e9d4382 531b08ddea651399d93a2d1d8df5b3750e9d4382 [false] [Pipeline] sh [2023-03-16T04:59:17.350Z] + git log --format=format:%s -1 531b08ddea651399d93a2d1d8df5b3750e9d4382 [Pipeline] echo [2023-03-16T04:59:17.390Z] ========================================================= [2023-03-16T04:59:17.390Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-03-16T04:59:17.390Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-16T04:59:17.834Z] + git log --format=format:%s -1 531b08ddea651399d93a2d1d8df5b3750e9d4382 [Pipeline] echo [2023-03-16T04:59:17.867Z] [semverPrep] GIT_COMMIT: 531b08ddea651399d93a2d1d8df5b3750e9d4382, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v3 [Pipeline] echo [2023-03-16T04:59:17.898Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-03-16T04:59:18.303Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-16T04:59:18.303Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-03-16T04:59:18.303Z] + [ -e /tmp/ssh_known_hosts ] [2023-03-16T04:59:18.303Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-03-16T04:59:18.303Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-03-16T04:59:18.303Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-03-16T04:59:18.303Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-16T04:59:18.796Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-16T04:59:18.796Z] [2023-03-16T04:59:18.796Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-16T04:59:19.171Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-16T04:59:19.171Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-03-16T04:59:19.171Z] b85a868b505f: Pulling fs layer [2023-03-16T04:59:19.171Z] e2be974225ed: Pulling fs layer [2023-03-16T04:59:19.171Z] 339a4e72a1f5: Pulling fs layer [2023-03-16T04:59:19.171Z] 988bab9f4d93: Pulling fs layer [2023-03-16T04:59:19.171Z] 1469e6f7b9e6: Pulling fs layer [2023-03-16T04:59:19.171Z] eaf3925da568: Pulling fs layer [2023-03-16T04:59:19.171Z] bab4dde63d76: Pulling fs layer [2023-03-16T04:59:19.171Z] bde34c3a00c8: Pulling fs layer [2023-03-16T04:59:19.171Z] b352a97aabf1: Pulling fs layer [2023-03-16T04:59:19.171Z] 988bab9f4d93: Waiting [2023-03-16T04:59:19.171Z] 1469e6f7b9e6: Waiting [2023-03-16T04:59:19.171Z] eaf3925da568: Waiting [2023-03-16T04:59:19.171Z] bab4dde63d76: Waiting [2023-03-16T04:59:19.171Z] 4872d77fe225: Pulling fs layer [2023-03-16T04:59:19.171Z] bde34c3a00c8: Waiting [2023-03-16T04:59:19.171Z] b352a97aabf1: Waiting [2023-03-16T04:59:19.171Z] 5851b861e8e6: Pulling fs layer [2023-03-16T04:59:19.171Z] 5851b861e8e6: Waiting [2023-03-16T04:59:19.171Z] 4872d77fe225: Waiting [2023-03-16T04:59:19.171Z] e2be974225ed: Download complete [2023-03-16T04:59:19.171Z] 988bab9f4d93: Verifying Checksum [2023-03-16T04:59:19.171Z] 988bab9f4d93: Download complete [2023-03-16T04:59:19.434Z] 339a4e72a1f5: Verifying Checksum [2023-03-16T04:59:19.434Z] 339a4e72a1f5: Download complete [2023-03-16T04:59:19.434Z] 1469e6f7b9e6: Verifying Checksum [2023-03-16T04:59:19.434Z] 1469e6f7b9e6: Download complete [2023-03-16T04:59:19.434Z] eaf3925da568: Verifying Checksum [2023-03-16T04:59:19.434Z] eaf3925da568: Download complete [2023-03-16T04:59:19.434Z] bde34c3a00c8: Verifying Checksum [2023-03-16T04:59:19.434Z] bde34c3a00c8: Download complete [2023-03-16T04:59:19.434Z] b352a97aabf1: Verifying Checksum [2023-03-16T04:59:19.434Z] b352a97aabf1: Download complete [2023-03-16T04:59:19.434Z] 4872d77fe225: Verifying Checksum [2023-03-16T04:59:19.434Z] 4872d77fe225: Download complete [2023-03-16T04:59:19.434Z] b85a868b505f: Verifying Checksum [2023-03-16T04:59:19.434Z] b85a868b505f: Download complete [2023-03-16T04:59:19.434Z] 5851b861e8e6: Verifying Checksum [2023-03-16T04:59:19.434Z] 5851b861e8e6: Download complete [2023-03-16T04:59:20.007Z] bab4dde63d76: Verifying Checksum [2023-03-16T04:59:20.007Z] bab4dde63d76: Download complete [2023-03-16T04:59:20.945Z] b85a868b505f: Pull complete [2023-03-16T04:59:20.945Z] e2be974225ed: Pull complete [2023-03-16T04:59:21.512Z] 339a4e72a1f5: Pull complete [2023-03-16T04:59:21.512Z] 988bab9f4d93: Pull complete [2023-03-16T04:59:21.771Z] 1469e6f7b9e6: Pull complete [2023-03-16T04:59:21.771Z] eaf3925da568: Pull complete [2023-03-16T04:59:23.677Z] bab4dde63d76: Pull complete [2023-03-16T04:59:23.677Z] bde34c3a00c8: Pull complete [2023-03-16T04:59:23.937Z] b352a97aabf1: Pull complete [2023-03-16T04:59:23.937Z] 4872d77fe225: Pull complete [2023-03-16T04:59:23.937Z] 5851b861e8e6: Pull complete [2023-03-16T04:59:23.937Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-03-16T04:59:24.196Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-16T04:59:24.196Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-16T04:59:24.411Z] prd-ubuntu20.04-docker-8c-8g-2351 does not seem to be running inside a container [2023-03-16T04:59:24.434Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1389 -v /w/workspace/gexfoundry_device-sdk-go_PR-1389:/w/workspace/gexfoundry_device-sdk-go_PR-1389:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1389@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1389@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-03-16T04:59:25.943Z] $ docker top 76cd853f64d3fa646703f3203b29a3c2a141841970985cc6cec1d0a455d16848 -eo pid,comm [2023-03-16T04:59:26.019Z] 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-03-16T04:59:26.019Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-16T04:59:26.149Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-16T04:59:26.149Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-16T04:59:26.263Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-16T04:59:26.253Z] $ docker exec 76cd853f64d3fa646703f3203b29a3c2a141841970985cc6cec1d0a455d16848 ssh-agent [2023-03-16T04:59:26.384Z] SSH_AUTH_SOCK=/tmp/ssh-uEyzAcMXA7vr/agent.32 [2023-03-16T04:59:26.384Z] SSH_AGENT_PID=38 [2023-03-16T04:59:26.392Z] Running ssh-add (command line suppressed) [2023-03-16T04:59:26.501Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1389@tmp/private_key_15550896975572068523.key (/w/workspace/gexfoundry_device-sdk-go_PR-1389@tmp/private_key_15550896975572068523.key) [2023-03-16T04:59:26.528Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-16T04:59:26.866Z] + git tag --points-at HEAD [Pipeline] } [2023-03-16T04:59:26.880Z] $ docker exec --env ******** --env ******** 76cd853f64d3fa646703f3203b29a3c2a141841970985cc6cec1d0a455d16848 ssh-agent -k [2023-03-16T04:59:26.975Z] unset SSH_AUTH_SOCK; [2023-03-16T04:59:26.975Z] unset SSH_AGENT_PID; [2023-03-16T04:59:26.979Z] echo Agent pid 38 killed; [2023-03-16T04:59:26.996Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-03-16T04:59:27.081Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-16T04:59:27.081Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-16T04:59:27.198Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-16T04:59:27.190Z] $ docker exec 76cd853f64d3fa646703f3203b29a3c2a141841970985cc6cec1d0a455d16848 ssh-agent [2023-03-16T04:59:27.315Z] SSH_AUTH_SOCK=/tmp/ssh-7TWseSs6HuZi/agent.70 [2023-03-16T04:59:27.315Z] SSH_AGENT_PID=76 [2023-03-16T04:59:27.320Z] Running ssh-add (command line suppressed) [2023-03-16T04:59:27.409Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1389@tmp/private_key_8195662381569215847.key (/w/workspace/gexfoundry_device-sdk-go_PR-1389@tmp/private_key_8195662381569215847.key) [2023-03-16T04:59:27.437Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-16T04:59:27.767Z] + git semver init [2023-03-16T04:59:28.028Z] 2023-03-16 04:59:27,948 [run_init] DEBUG init version:0.0.0 force:False [2023-03-16T04:59:28.028Z] 2023-03-16 04:59:27,949 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1389/.semver [2023-03-16T04:59:28.028Z] 2023-03-16 04:59:27,949 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1389/.semver [2023-03-16T04:59:28.028Z] 2023-03-16 04:59:27,949 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1389/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1389, universal_newlines=False, shell=None, istream=None) [2023-03-16T04:59:28.968Z] 2023-03-16 04:59:28,853 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1389/.git/info/exclude [2023-03-16T04:59:28.968Z] 2023-03-16 04:59:28,854 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1389/.semver/PR-1389 with force:False [2023-03-16T04:59:28.968Z] 2023-03-16 04:59:28,854 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1389/.semver/PR-1389 [2023-03-16T04:59:28.968Z] 2023-03-16 04:59:28,860 [execute] INFO git cat-file --batch-check [2023-03-16T04:59:28.968Z] 2023-03-16 04:59:28,861 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1389/.semver, universal_newlines=False, shell=None, istream=) [2023-03-16T04:59:28.968Z] 2023-03-16 04:59:28,866 [execute] INFO git cat-file --batch [2023-03-16T04:59:28.968Z] 2023-03-16 04:59:28,866 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1389/.semver, universal_newlines=False, shell=None, istream=) [2023-03-16T04:59:28.968Z] 2023-03-16 04:59:28,871 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1389/.semver/PR-1389 [2023-03-16T04:59:28.968Z] 0.0.0 [Pipeline] } [2023-03-16T04:59:28.984Z] $ docker exec --env ******** --env ******** 76cd853f64d3fa646703f3203b29a3c2a141841970985cc6cec1d0a455d16848 ssh-agent -k [2023-03-16T04:59:29.083Z] unset SSH_AUTH_SOCK; [2023-03-16T04:59:29.083Z] unset SSH_AGENT_PID; [2023-03-16T04:59:29.084Z] echo Agent pid 76 killed; [2023-03-16T04:59:29.104Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-16T04:59:29.523Z] + git semver [Pipeline] } [2023-03-16T04:59:29.796Z] $ docker stop --time=1 76cd853f64d3fa646703f3203b29a3c2a141841970985cc6cec1d0a455d16848 [2023-03-16T04:59:31.137Z] $ docker rm -f --volumes 76cd853f64d3fa646703f3203b29a3c2a141841970985cc6cec1d0a455d16848 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-16T04:59:31.561Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-03-16T04:59:31.857Z] Stashed 1 file(s) [Pipeline] echo [2023-03-16T04:59:31.875Z] [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-03-16T04:59:32.408Z] provisioning config files... [2023-03-16T04:59:32.420Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1389@tmp/config9592587894251206614tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-16T04:59:32.762Z] ---> docker-login.sh [2023-03-16T04:59:32.762Z] nexus3.edgexfoundry.org:10001 [2023-03-16T04:59:32.762Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-16T04:59:32.762Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-16T04:59:32.762Z] Configure a credential helper to remove this warning. See [2023-03-16T04:59:32.762Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-16T04:59:32.762Z] [2023-03-16T04:59:32.762Z] Login Succeeded [2023-03-16T04:59:32.762Z] nexus3.edgexfoundry.org:10002 [2023-03-16T04:59:32.762Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-16T04:59:32.762Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-16T04:59:32.762Z] Configure a credential helper to remove this warning. See [2023-03-16T04:59:32.762Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-16T04:59:32.762Z] [2023-03-16T04:59:32.762Z] Login Succeeded [2023-03-16T04:59:32.762Z] nexus3.edgexfoundry.org:10003 [2023-03-16T04:59:33.020Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-16T04:59:33.020Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-16T04:59:33.020Z] Configure a credential helper to remove this warning. See [2023-03-16T04:59:33.020Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-16T04:59:33.020Z] [2023-03-16T04:59:33.020Z] Login Succeeded [2023-03-16T04:59:33.020Z] nexus3.edgexfoundry.org:10004 [2023-03-16T04:59:33.020Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-16T04:59:33.020Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-16T04:59:33.020Z] Configure a credential helper to remove this warning. See [2023-03-16T04:59:33.020Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-16T04:59:33.020Z] [2023-03-16T04:59:33.020Z] Login Succeeded [2023-03-16T04:59:33.020Z] docker.io [2023-03-16T04:59:33.279Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-16T04:59:33.279Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-16T04:59:33.279Z] Configure a credential helper to remove this warning. See [2023-03-16T04:59:33.279Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-16T04:59:33.279Z] [2023-03-16T04:59:33.279Z] Login Succeeded [2023-03-16T04:59:33.279Z] ---> docker-login.sh ends [Pipeline] } [2023-03-16T04:59:33.306Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-16T04:59:33.481Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-16T04:59:33.517Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-16T04:59:33.546Z] ========================================================= [2023-03-16T04:59:33.546Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-03-16T04:59:33.546Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-16T04:59:34.009Z] + 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.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-03-16T04:59:34.010Z] Sending build context to Docker daemon 10.82MB [2023-03-16T04:59:34.010Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-03-16T04:59:34.010Z] Step 2/10 : FROM ${BASE} AS builder [2023-03-16T04:59:34.010Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-03-16T04:59:34.010Z] 63b65145d645: Pulling fs layer [2023-03-16T04:59:34.010Z] a2d21d5440eb: Pulling fs layer [2023-03-16T04:59:34.010Z] 935e6c44a52c: Pulling fs layer [2023-03-16T04:59:34.010Z] 94cc34f8dd06: Pulling fs layer [2023-03-16T04:59:34.010Z] 30dea6a524f1: Pulling fs layer [2023-03-16T04:59:34.010Z] a2aff8979fd8: Pulling fs layer [2023-03-16T04:59:34.010Z] 6808be2612f2: Pulling fs layer [2023-03-16T04:59:34.010Z] f25807f1079a: Pulling fs layer [2023-03-16T04:59:34.010Z] 94cc34f8dd06: Waiting [2023-03-16T04:59:34.010Z] a2aff8979fd8: Waiting [2023-03-16T04:59:34.010Z] 30dea6a524f1: Waiting [2023-03-16T04:59:34.010Z] 6808be2612f2: Waiting [2023-03-16T04:59:34.010Z] f25807f1079a: Waiting [2023-03-16T04:59:34.271Z] a2d21d5440eb: Verifying Checksum [2023-03-16T04:59:34.271Z] a2d21d5440eb: Download complete [2023-03-16T04:59:34.271Z] 94cc34f8dd06: Verifying Checksum [2023-03-16T04:59:34.271Z] 94cc34f8dd06: Download complete [2023-03-16T04:59:34.271Z] 30dea6a524f1: Download complete [2023-03-16T04:59:34.271Z] 63b65145d645: Verifying Checksum [2023-03-16T04:59:34.271Z] 63b65145d645: Download complete [2023-03-16T04:59:34.271Z] a2aff8979fd8: Verifying Checksum [2023-03-16T04:59:34.271Z] a2aff8979fd8: Download complete [2023-03-16T04:59:34.271Z] 63b65145d645: Pull complete [2023-03-16T04:59:34.536Z] a2d21d5440eb: Pull complete [2023-03-16T04:59:34.799Z] f25807f1079a: Verifying Checksum [2023-03-16T04:59:34.799Z] f25807f1079a: Download complete [2023-03-16T04:59:34.799Z] 935e6c44a52c: Verifying Checksum [2023-03-16T04:59:34.799Z] 935e6c44a52c: Download complete [2023-03-16T04:59:35.057Z] 6808be2612f2: Verifying Checksum [2023-03-16T04:59:35.057Z] 6808be2612f2: Download complete [2023-03-16T04:59:38.340Z] 935e6c44a52c: Pull complete [2023-03-16T04:59:38.340Z] 94cc34f8dd06: Pull complete [2023-03-16T04:59:38.340Z] 30dea6a524f1: Pull complete [2023-03-16T04:59:38.340Z] a2aff8979fd8: Pull complete [2023-03-16T04:59:40.865Z] 6808be2612f2: Pull complete [2023-03-16T04:59:41.432Z] f25807f1079a: Pull complete [2023-03-16T04:59:41.432Z] Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 [2023-03-16T04:59:41.432Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-03-16T04:59:41.432Z] ---> 3b553350e43f [2023-03-16T04:59:41.432Z] Step 3/10 : ARG MAKE=make build [2023-03-16T04:59:43.342Z] ---> Running in 56aa377bccbf [2023-03-16T04:59:43.602Z] Removing intermediate container 56aa377bccbf [2023-03-16T04:59:43.602Z] ---> af6c147f57d0 [2023-03-16T04:59:43.602Z] Step 4/10 : WORKDIR /device-sdk-go [2023-03-16T04:59:43.602Z] ---> Running in b82a75b057ef [2023-03-16T04:59:43.861Z] Removing intermediate container b82a75b057ef [2023-03-16T04:59:43.861Z] ---> 0cc8808704b6 [2023-03-16T04:59:43.861Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-03-16T04:59:43.861Z] ---> Running in 5061d74239af [2023-03-16T04:59:43.861Z] Removing intermediate container 5061d74239af [2023-03-16T04:59:43.861Z] ---> 6b1cadfbb66b [2023-03-16T04:59:43.862Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-03-16T04:59:43.862Z] ---> Running in a2b71ca2ab69 [2023-03-16T04:59:44.121Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-16T04:59:44.691Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-16T04:59:44.952Z] OK: 265 MiB in 53 packages [2023-03-16T04:59:45.212Z] Removing intermediate container a2b71ca2ab69 [2023-03-16T04:59:45.212Z] ---> 1971d72fd6e6 [2023-03-16T04:59:45.212Z] Step 7/10 : COPY go.mod vendor* ./ [2023-03-16T04:59:45.470Z] ---> 5a778ef816b1 [2023-03-16T04:59:45.470Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-16T04:59:45.470Z] ---> Running in 156045a25fde [2023-03-16T04:59:47.250Z] Still waiting to schedule task [2023-03-16T04:59:47.250Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-03-16T05:00:12.024Z] Removing intermediate container 156045a25fde [2023-03-16T05:00:12.024Z] ---> bb9f011eec1e [2023-03-16T05:00:12.024Z] Step 9/10 : COPY . . [2023-03-16T05:00:12.024Z] ---> e36890e374e6 [2023-03-16T05:00:12.024Z] Step 10/10 : RUN ${MAKE} [2023-03-16T05:00:12.024Z] ---> Running in 3b1221838b65 [2023-03-16T05:00:12.024Z] noop [2023-03-16T05:00:12.283Z] Removing intermediate container 3b1221838b65 [2023-03-16T05:00:12.283Z] ---> 17a18e8d4a0c [2023-03-16T05:00:12.283Z] Successfully built 17a18e8d4a0c [2023-03-16T05:00:12.283Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-16T05:00:12.734Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-16T05:00:12.734Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-16T05:00:12.887Z] prd-ubuntu20.04-docker-8c-8g-2351 does not seem to be running inside a container [2023-03-16T05:00:12.922Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1389 -v /w/workspace/gexfoundry_device-sdk-go_PR-1389:/w/workspace/gexfoundry_device-sdk-go_PR-1389:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1389@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1389@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-03-16T05:00:13.278Z] $ docker top 0015c772994fb657f73b693fdff313b2a5b52153e243937d61b72a8ac2fb2533 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-16T05:00:13.657Z] + go version [2023-03-16T05:00:13.657Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-03-16T05:00:13.696Z] $ docker stop --time=1 0015c772994fb657f73b693fdff313b2a5b52153e243937d61b72a8ac2fb2533 [2023-03-16T05:00:15.041Z] $ docker rm -f --volumes 0015c772994fb657f73b693fdff313b2a5b52153e243937d61b72a8ac2fb2533 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-16T05:00:15.723Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-16T05:00:15.723Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-16T05:00:15.879Z] prd-ubuntu20.04-docker-8c-8g-2351 does not seem to be running inside a container [2023-03-16T05:00:15.971Z] $ 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-1389 -v /w/workspace/gexfoundry_device-sdk-go_PR-1389:/w/workspace/gexfoundry_device-sdk-go_PR-1389:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1389@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1389@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-03-16T05:00:16.388Z] $ docker top 8fc92c86e43072ef1c8ef119e07c7c154c0ace8e3d9b74799e5dcafc3b7154e2 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-16T05:00:16.775Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1389 [Pipeline] fileExists [Pipeline] sh [2023-03-16T05:00:17.132Z] + make test [2023-03-16T05:00:17.132Z] go test -race -coverprofile=coverage.out ./... [2023-03-16T05:00:23.698Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-03-16T05:00:38.564Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-03-16T05:00:38.564Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-03-16T05:00:38.564Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-03-16T05:00:38.564Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-03-16T05:00:38.564Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-03-16T05:00:38.564Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.053s coverage: 27.6% of statements [2023-03-16T05:00:38.564Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-03-16T05:00:38.564Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-03-16T05:00:38.564Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.061s coverage: 78.9% of statements [2023-03-16T05:00:38.564Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.101s coverage: 86.0% of statements [2023-03-16T05:00:39.499Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-03-16T05:00:39.499Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-03-16T05:00:39.499Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.095s coverage: 75.9% of statements [2023-03-16T05:00:39.499Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-03-16T05:00:39.499Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-03-16T05:00:40.435Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-03-16T05:00:42.969Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.063s coverage: 15.2% of statements [2023-03-16T05:00:42.969Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.077s coverage: 65.7% of statements [2023-03-16T05:00:42.969Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.113s coverage: 89.2% of statements [2023-03-16T05:00:42.969Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.059s coverage: 5.5% of statements [2023-03-16T05:01:01.049Z] GO111MODULE=on go vet ./... [2023-03-16T05:01:04.332Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-16T05:01:04.332Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-16T05:01:04.332Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-16T05:01:04.369Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-16T05:01:04.402Z] $ docker stop --time=1 8fc92c86e43072ef1c8ef119e07c7c154c0ace8e3d9b74799e5dcafc3b7154e2 [2023-03-16T05:01:06.690Z] $ docker rm -f --volumes 8fc92c86e43072ef1c8ef119e07c7c154c0ace8e3d9b74799e5dcafc3b7154e2 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-16T05:01:07.249Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-16T05:01:07.327Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-03-16T05:01:07.999Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-16T05:01:08.312Z] + ls -al . [2023-03-16T05:01:08.313Z] total 276 [2023-03-16T05:01:08.313Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 16 05:00 . [2023-03-16T05:01:08.313Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 16 04:59 .. [2023-03-16T05:01:08.313Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 16 04:59 .dockerignore [2023-03-16T05:01:08.313Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 16 04:59 .git [2023-03-16T05:01:08.313Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 16 04:59 .github [2023-03-16T05:01:08.313Z] -rw-rw-r-- 1 jenkins jenkins 131 Mar 16 04:59 .gitignore [2023-03-16T05:01:08.313Z] -rw-rw-r-- 1 jenkins jenkins 42 Mar 16 04:59 .golangci.yml [2023-03-16T05:01:08.313Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 16 04:59 .semver [2023-03-16T05:01:08.313Z] -rw-rw-r-- 1 jenkins jenkins 31677 Mar 16 04:59 CHANGELOG.md [2023-03-16T05:01:08.313Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 16 04:59 GOVERNANCE.md [2023-03-16T05:01:08.313Z] -rw-rw-r-- 1 jenkins jenkins 885 Mar 16 04:59 Jenkinsfile [2023-03-16T05:01:08.313Z] -rw-rw-r-- 1 jenkins jenkins 11341 Mar 16 04:59 LICENSE [2023-03-16T05:01:08.313Z] -rw-rw-r-- 1 jenkins jenkins 1714 Mar 16 04:59 Makefile [2023-03-16T05:01:08.313Z] -rw-rw-r-- 1 jenkins jenkins 619 Mar 16 04:59 OWNERS.md [2023-03-16T05:01:08.313Z] -rw-rw-r-- 1 jenkins jenkins 4891 Mar 16 04:59 README.md [2023-03-16T05:01:08.313Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 16 04:59 VERSION [2023-03-16T05:01:08.313Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 16 04:59 bin [2023-03-16T05:01:08.313Z] -rw-r--r-- 1 jenkins jenkins 109537 Mar 16 05:00 coverage.out [2023-03-16T05:01:08.313Z] drwxrwxr-x 5 jenkins jenkins 4096 Mar 16 04:59 example [2023-03-16T05:01:08.313Z] -rw-rw-r-- 1 jenkins jenkins 3278 Mar 16 04:59 go.mod [2023-03-16T05:01:08.313Z] -rw-rw-r-- 1 jenkins jenkins 30839 Mar 16 04:59 go.sum [2023-03-16T05:01:08.313Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 16 04:59 internal [2023-03-16T05:01:08.313Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 16 04:59 openapi [2023-03-16T05:01:08.313Z] drwxrwxr-x 6 jenkins jenkins 4096 Mar 16 04:59 pkg [2023-03-16T05:01:08.313Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 16 04:59 snap [2023-03-16T05:01:08.313Z] -rw-rw-r-- 1 jenkins jenkins 222 Mar 16 04:59 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-16T05:01:08.702Z] + 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=531b08ddea651399d93a2d1d8df5b3750e9d4382 --label arch=amd64 --label version=0.0.0 . [2023-03-16T05:01:08.702Z] Sending build context to Docker daemon 10.93MB [2023-03-16T05:01:08.702Z] Step 1/23 : ARG BASE=golang:1.20-alpine3.17 [2023-03-16T05:01:08.702Z] Step 2/23 : FROM ${BASE} AS builder [2023-03-16T05:01:08.702Z] ---> 17a18e8d4a0c [2023-03-16T05:01:08.702Z] Step 3/23 : ARG MAKE=make build [2023-03-16T05:01:08.966Z] ---> Running in 9b2563d44aef [2023-03-16T05:01:08.966Z] Removing intermediate container 9b2563d44aef [2023-03-16T05:01:08.966Z] ---> dbf898c47083 [2023-03-16T05:01:08.966Z] Step 4/23 : WORKDIR /device-sdk-go [2023-03-16T05:01:08.966Z] ---> Running in c086b4b5bc7e [2023-03-16T05:01:08.966Z] Removing intermediate container c086b4b5bc7e [2023-03-16T05:01:08.966Z] ---> d820cd1fc1c9 [2023-03-16T05:01:08.966Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-03-16T05:01:09.225Z] ---> Running in cbd696cc27e2 [2023-03-16T05:01:09.225Z] Removing intermediate container cbd696cc27e2 [2023-03-16T05:01:09.225Z] ---> 264f6073846c [2023-03-16T05:01:09.225Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-03-16T05:01:09.225Z] ---> Running in 53fb5152dded [2023-03-16T05:01:09.483Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-16T05:01:09.743Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-16T05:01:09.743Z] OK: 265 MiB in 53 packages [2023-03-16T05:01:10.313Z] Removing intermediate container 53fb5152dded [2023-03-16T05:01:10.313Z] ---> eb97f576ce39 [2023-03-16T05:01:10.313Z] Step 7/23 : COPY go.mod vendor* ./ [2023-03-16T05:01:10.313Z] ---> c21fd49d53d7 [2023-03-16T05:01:10.313Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-16T05:01:10.313Z] ---> Running in 17c55f9a8e6a [2023-03-16T05:01:11.251Z] Removing intermediate container 17c55f9a8e6a [2023-03-16T05:01:11.251Z] ---> 3d56aae2d727 [2023-03-16T05:01:11.251Z] Step 9/23 : COPY . . [2023-03-16T05:01:11.819Z] ---> 6ff486d85e09 [2023-03-16T05:01:11.819Z] Step 10/23 : RUN ${MAKE} [2023-03-16T05:01:11.819Z] ---> Running in 2d19e49dde56 [2023-03-16T05:01:12.078Z] 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-03-16T05:01:16.623Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-2353 in /w/workspace/gexfoundry_device-sdk-go_PR-1389 [Pipeline] { [Pipeline] ws [2023-03-16T05:01:16.680Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2023-03-16T05:01:16.748Z] The recommended git tool is: git [2023-03-16T05:01:22.139Z] using credential edgex-jenkins-ssh [2023-03-16T05:01:22.160Z] Cloning the remote Git repository [2023-03-16T05:01:22.206Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-03-16T05:01:22.309Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2023-03-16T05:01:22.454Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-03-16T05:01:22.455Z] > git --version # timeout=10 [2023-03-16T05:01:22.476Z] > git --version # 'git version 2.25.1' [2023-03-16T05:01:22.479Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-16T05:01:22.622Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-16T05:01:24.199Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-03-16T05:01:24.223Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-16T05:01:25.079Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-03-16T05:01:25.123Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-03-16T05:01:25.124Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-16T05:01:25.140Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1389/head:refs/remotes/origin/PR-1389 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-03-16T05:01:25.696Z] Merging remotes/origin/main commit 6f965a0b85b542f54aab8de1c6c68203c2ba52ef into PR head commit 531b08ddea651399d93a2d1d8df5b3750e9d4382 [2023-03-16T05:01:25.991Z] Merge succeeded, producing 531b08ddea651399d93a2d1d8df5b3750e9d4382 [2023-03-16T05:01:25.992Z] Checking out Revision 531b08ddea651399d93a2d1d8df5b3750e9d4382 (PR-1389) [2023-03-16T05:01:26.516Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v3" [2023-03-16T05:01:26.562Z] > git --version # timeout=10 [2023-03-16T05:01:26.573Z] > git --version # 'git version 2.25.1' [2023-03-16T05:01:26.590Z] fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a [2023-03-16T05:01:25.713Z] > git config core.sparsecheckout # timeout=10 [2023-03-16T05:01:25.789Z] > git checkout -f 531b08ddea651399d93a2d1d8df5b3750e9d4382 # timeout=10 [2023-03-16T05:01:25.882Z] > git remote # timeout=10 [2023-03-16T05:01:25.901Z] > git config --get remote.origin.url # timeout=10 [2023-03-16T05:01:25.928Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-16T05:01:25.942Z] > git merge 6f965a0b85b542f54aab8de1c6c68203c2ba52ef # timeout=10 [2023-03-16T05:01:25.972Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-03-16T05:01:25.997Z] > git config core.sparsecheckout # timeout=10 [2023-03-16T05:01:26.013Z] > git checkout -f 531b08ddea651399d93a2d1d8df5b3750e9d4382 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-16T05:01:27.660Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-03-16T05:01:27.660Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-16T05:01:27.660Z] Dload Upload Total Spent Left Speed [2023-03-16T05:01:27.660Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 105k 0 --:--:-- --:--:-- --:--:-- 105k [Pipeline] sh [2023-03-16T05:01:28.334Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-03-16T05:01:28.684Z] + sudo tee /etc/docker/daemon.new [2023-03-16T05:01:28.685Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-03-16T05:01:28.685Z] { [2023-03-16T05:01:28.685Z] "registry-mirrors": [ [2023-03-16T05:01:28.685Z] "https://nexus3.edgexfoundry.org:10001" [2023-03-16T05:01:28.685Z] ], [2023-03-16T05:01:28.685Z] "bip": "10.250.0.254/24", [2023-03-16T05:01:28.685Z] "hosts": [ [2023-03-16T05:01:28.685Z] "tcp://0.0.0.0:5555", [2023-03-16T05:01:28.685Z] "unix:///var/run/docker.sock" [2023-03-16T05:01:28.685Z] ], [2023-03-16T05:01:28.685Z] "mtu": 1458, [2023-03-16T05:01:28.685Z] "selinux-enabled": true, [2023-03-16T05:01:28.685Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-03-16T05:01:28.685Z] } [Pipeline] sh [2023-03-16T05:01:29.037Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-03-16T05:01:29.382Z] + sudo service docker restart [2023-03-16T05:01:30.156Z] Removing intermediate container 2d19e49dde56 [2023-03-16T05:01:30.156Z] ---> 07701d935547 [2023-03-16T05:01:30.156Z] Step 11/23 : FROM alpine:3.17 [2023-03-16T05:01:30.156Z] 3.17: Pulling from library/alpine [2023-03-16T05:01:30.156Z] 63b65145d645: Already exists [2023-03-16T05:01:30.156Z] Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 [2023-03-16T05:01:30.156Z] Status: Downloaded newer image for alpine:3.17 [2023-03-16T05:01:30.156Z] ---> b2aa39c304c2 [2023-03-16T05:01:30.156Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-03-16T05:01:30.156Z] ---> Running in 6071b90e5e7f [2023-03-16T05:01:30.156Z] Removing intermediate container 6071b90e5e7f [2023-03-16T05:01:30.156Z] ---> fd6a05231641 [2023-03-16T05:01:30.156Z] Step 13/23 : RUN apk add --update --no-cache [2023-03-16T05:01:30.156Z] ---> Running in f04e4e56a1a3 [2023-03-16T05:01:30.156Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-16T05:01:30.156Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-16T05:01:30.417Z] OK: 7 MiB in 15 packages [2023-03-16T05:01:30.677Z] Removing intermediate container f04e4e56a1a3 [2023-03-16T05:01:30.677Z] ---> 26be431e7913 [2023-03-16T05:01:30.677Z] Step 14/23 : WORKDIR / [2023-03-16T05:01:30.677Z] ---> Running in e371995e14cd [2023-03-16T05:01:30.939Z] Removing intermediate container e371995e14cd [2023-03-16T05:01:30.939Z] ---> 294a5121ff44 [2023-03-16T05:01:30.939Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-03-16T05:01:30.939Z] ---> 92ca29991fef [2023-03-16T05:01:30.939Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-03-16T05:01:31.506Z] ---> d2913b58c552 [2023-03-16T05:01:31.506Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-03-16T05:01:31.765Z] ---> 02870eb5b50c [2023-03-16T05:01:31.765Z] Step 18/23 : EXPOSE 59999 [2023-03-16T05:01:31.765Z] ---> Running in a15bed015dad [2023-03-16T05:01:31.765Z] Removing intermediate container a15bed015dad [2023-03-16T05:01:31.765Z] ---> 42990f480366 [2023-03-16T05:01:31.765Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-03-16T05:01:32.030Z] ---> Running in 024266fcd889 [2023-03-16T05:01:32.030Z] Removing intermediate container 024266fcd889 [2023-03-16T05:01:32.030Z] ---> c3d3687df596 [2023-03-16T05:01:32.030Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-03-16T05:01:32.030Z] ---> Running in a4eb6c151d19 [2023-03-16T05:01:32.289Z] Removing intermediate container a4eb6c151d19 [2023-03-16T05:01:32.289Z] ---> 60ea8da1334d [2023-03-16T05:01:32.289Z] Step 21/23 : LABEL arch=amd64 [2023-03-16T05:01:32.289Z] ---> Running in c00eb9bb8262 [2023-03-16T05:01:32.289Z] Removing intermediate container c00eb9bb8262 [2023-03-16T05:01:32.289Z] ---> 0308e30f51cb [2023-03-16T05:01:32.289Z] Step 22/23 : LABEL git_sha=531b08ddea651399d93a2d1d8df5b3750e9d4382 [2023-03-16T05:01:32.289Z] ---> Running in e418b9b0733e [2023-03-16T05:01:32.547Z] Removing intermediate container e418b9b0733e [2023-03-16T05:01:32.547Z] ---> 172b31d0fb42 [2023-03-16T05:01:32.547Z] Step 23/23 : LABEL version=0.0.0 [2023-03-16T05:01:32.547Z] ---> Running in b325a63dd7d6 [2023-03-16T05:01:32.547Z] Removing intermediate container b325a63dd7d6 [2023-03-16T05:01:32.547Z] ---> b149afba47cc [2023-03-16T05:01:32.547Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-16T05:01:32.547Z] Successfully built b149afba47cc [2023-03-16T05:01:32.547Z] 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-03-16T05:01:33.390Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-16T05:01:33.390Z] [2023-03-16T05:01:33.390Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-16T05:01:33.776Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-16T05:01:33.776Z] latest: Pulling from edgex-lftools-log-publisher [2023-03-16T05:01:33.776Z] 5eb5b503b376: Pulling fs layer [2023-03-16T05:01:33.776Z] 5c69ac0246d0: Pulling fs layer [2023-03-16T05:01:33.776Z] ec43610c2a17: Pulling fs layer [2023-03-16T05:01:33.776Z] 3a2ae6a8a46f: Pulling fs layer [2023-03-16T05:01:33.776Z] 33b1e0a273af: Pulling fs layer [2023-03-16T05:01:33.776Z] 5d3b04190fa2: Pulling fs layer [2023-03-16T05:01:33.776Z] 2f39f015ded8: Pulling fs layer [2023-03-16T05:01:33.776Z] 3a2ae6a8a46f: Waiting [2023-03-16T05:01:33.776Z] 33b1e0a273af: Waiting [2023-03-16T05:01:33.776Z] 5d3b04190fa2: Waiting [2023-03-16T05:01:33.776Z] 2f39f015ded8: Waiting [2023-03-16T05:01:33.776Z] 5c69ac0246d0: Verifying Checksum [2023-03-16T05:01:33.776Z] 5c69ac0246d0: Download complete [2023-03-16T05:01:33.776Z] 3a2ae6a8a46f: Verifying Checksum [2023-03-16T05:01:33.776Z] 3a2ae6a8a46f: Download complete [2023-03-16T05:01:34.034Z] 33b1e0a273af: Verifying Checksum [2023-03-16T05:01:34.034Z] 33b1e0a273af: Download complete [2023-03-16T05:01:34.034Z] 5d3b04190fa2: Verifying Checksum [2023-03-16T05:01:34.034Z] 5d3b04190fa2: Download complete [2023-03-16T05:01:34.034Z] ec43610c2a17: Verifying Checksum [2023-03-16T05:01:34.034Z] ec43610c2a17: Download complete [2023-03-16T05:01:34.034Z] 5eb5b503b376: Verifying Checksum [2023-03-16T05:01:34.034Z] 5eb5b503b376: Download complete [2023-03-16T05:01:35.417Z] 5eb5b503b376: Pull complete [2023-03-16T05:01:35.417Z] 5c69ac0246d0: Pull complete [2023-03-16T05:01:35.675Z] ec43610c2a17: Pull complete [2023-03-16T05:01:35.675Z] 3a2ae6a8a46f: Pull complete [2023-03-16T05:01:35.933Z] 33b1e0a273af: Pull complete [2023-03-16T05:01:35.933Z] 5d3b04190fa2: Pull complete [2023-03-16T05:01:40.116Z] 2f39f015ded8: Pull complete [2023-03-16T05:01:40.116Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-03-16T05:01:40.116Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-16T05:01:40.116Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-16T05:01:40.344Z] prd-ubuntu20.04-docker-8c-8g-2351 does not seem to be running inside a container [2023-03-16T05:01:40.388Z] $ 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-1389 -v /w/workspace/gexfoundry_device-sdk-go_PR-1389:/w/workspace/gexfoundry_device-sdk-go_PR-1389:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1389@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1389@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-03-16T05:01:42.338Z] $ docker top 750d2494cdbe3e6a65dbc78d1da6af6c8dea9810ae22c4c5379d640d57a40a04 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-16T05:01:42.782Z] ---> job-cost.sh [2023-03-16T05:01:42.782Z] lf-activate-venv: SKIPPING [2023-03-16T05:01:42.782Z] INFO: No Stack... [2023-03-16T05:01:43.041Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-16T05:01:43.608Z] INFO: Archiving Costs [Pipeline] sh [2023-03-16T05:01:43.917Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1389/archives/cost.csv [2023-03-16T05:01:43.917Z] + cut -d, -f6 [Pipeline] lock [2023-03-16T05:01:43.958Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1389-1-stack-cost] [2023-03-16T05:01:43.964Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1389-1-stack-cost] did not exist. Created. [2023-03-16T05:01:43.964Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1389-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-16T05:01:44.360Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-03-16T05:01:44.412Z] Stashed 1 file(s) [Pipeline] } [2023-03-16T05:01:44.438Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1389-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-16T05:01:44.534Z] $ docker stop --time=1 750d2494cdbe3e6a65dbc78d1da6af6c8dea9810ae22c4c5379d640d57a40a04 [2023-03-16T05:01:45.698Z] $ docker rm -f --volumes 750d2494cdbe3e6a65dbc78d1da6af6c8dea9810ae22c4c5379d640d57a40a04 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-16T05:01:47.690Z] provisioning config files... [2023-03-16T05:01:47.721Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config4716003055245887472tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-16T05:01:48.113Z] ---> docker-login.sh [2023-03-16T05:01:48.114Z] nexus3.edgexfoundry.org:10001 [2023-03-16T05:01:48.711Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-16T05:01:48.711Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-16T05:01:48.711Z] Configure a credential helper to remove this warning. See [2023-03-16T05:01:48.711Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-16T05:01:48.711Z] [2023-03-16T05:01:48.711Z] Login Succeeded [2023-03-16T05:01:48.711Z] nexus3.edgexfoundry.org:10002 [2023-03-16T05:01:48.981Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-16T05:01:48.981Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-16T05:01:48.981Z] Configure a credential helper to remove this warning. See [2023-03-16T05:01:48.981Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-16T05:01:48.981Z] [2023-03-16T05:01:48.981Z] Login Succeeded [2023-03-16T05:01:49.252Z] nexus3.edgexfoundry.org:10003 [2023-03-16T05:01:49.252Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-16T05:01:49.527Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-16T05:01:49.527Z] Configure a credential helper to remove this warning. See [2023-03-16T05:01:49.527Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-16T05:01:49.527Z] [2023-03-16T05:01:49.527Z] Login Succeeded [2023-03-16T05:01:49.527Z] nexus3.edgexfoundry.org:10004 [2023-03-16T05:01:49.801Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-16T05:01:49.801Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-16T05:01:49.801Z] Configure a credential helper to remove this warning. See [2023-03-16T05:01:49.801Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-16T05:01:49.801Z] [2023-03-16T05:01:49.801Z] Login Succeeded [2023-03-16T05:01:49.801Z] docker.io [2023-03-16T05:01:50.071Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-16T05:01:50.341Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-16T05:01:50.341Z] Configure a credential helper to remove this warning. See [2023-03-16T05:01:50.341Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-16T05:01:50.341Z] [2023-03-16T05:01:50.341Z] Login Succeeded [2023-03-16T05:01:50.341Z] ---> docker-login.sh ends [Pipeline] } [2023-03-16T05:01:50.373Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-16T05:01:50.864Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-16T05:01:50.901Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-16T05:01:50.934Z] ========================================================= [2023-03-16T05:01:50.934Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-03-16T05:01:50.934Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-16T05:01:51.441Z] + 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.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-03-16T05:01:52.420Z] Sending build context to Docker daemon 5.814MB [2023-03-16T05:01:52.420Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-03-16T05:01:52.420Z] Step 2/10 : FROM ${BASE} AS builder [2023-03-16T05:01:52.420Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-03-16T05:01:52.420Z] af6eaf76a39c: Pulling fs layer [2023-03-16T05:01:52.420Z] 55522c791124: Pulling fs layer [2023-03-16T05:01:52.420Z] ce5c4a1c91eb: Pulling fs layer [2023-03-16T05:01:52.420Z] 169dfbe0d373: Pulling fs layer [2023-03-16T05:01:52.420Z] e1ff8fa3b103: Pulling fs layer [2023-03-16T05:01:52.420Z] 52ebb69f0ebf: Pulling fs layer [2023-03-16T05:01:52.420Z] 5abe8eddf0d5: Pulling fs layer [2023-03-16T05:01:52.420Z] 169dfbe0d373: Waiting [2023-03-16T05:01:52.420Z] e1ff8fa3b103: Waiting [2023-03-16T05:01:52.420Z] 52ebb69f0ebf: Waiting [2023-03-16T05:01:52.420Z] 5abe8eddf0d5: Waiting [2023-03-16T05:01:52.688Z] 55522c791124: Verifying Checksum [2023-03-16T05:01:52.688Z] 55522c791124: Download complete [2023-03-16T05:01:52.688Z] 169dfbe0d373: Verifying Checksum [2023-03-16T05:01:52.688Z] 169dfbe0d373: Download complete [2023-03-16T05:01:52.688Z] e1ff8fa3b103: Verifying Checksum [2023-03-16T05:01:52.688Z] e1ff8fa3b103: Download complete [2023-03-16T05:01:52.688Z] af6eaf76a39c: Verifying Checksum [2023-03-16T05:01:52.688Z] af6eaf76a39c: Download complete [2023-03-16T05:01:53.655Z] af6eaf76a39c: Pull complete [2023-03-16T05:01:53.655Z] 5abe8eddf0d5: Verifying Checksum [2023-03-16T05:01:53.655Z] 5abe8eddf0d5: Download complete [2023-03-16T05:01:54.249Z] 55522c791124: Pull complete [2023-03-16T05:01:55.222Z] ce5c4a1c91eb: Verifying Checksum [2023-03-16T05:01:55.222Z] ce5c4a1c91eb: Download complete [2023-03-16T05:01:55.222Z] 52ebb69f0ebf: Verifying Checksum [2023-03-16T05:01:55.222Z] 52ebb69f0ebf: Download complete [2023-03-16T05:02:07.570Z] ce5c4a1c91eb: Pull complete [2023-03-16T05:02:07.570Z] 169dfbe0d373: Pull complete [2023-03-16T05:02:07.570Z] e1ff8fa3b103: Pull complete [2023-03-16T05:02:14.241Z] 52ebb69f0ebf: Pull complete [2023-03-16T05:02:15.203Z] 5abe8eddf0d5: Pull complete [2023-03-16T05:02:15.473Z] Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f [2023-03-16T05:02:15.473Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-03-16T05:02:15.473Z] ---> 6cb57ee374ae [2023-03-16T05:02:15.473Z] Step 3/10 : ARG MAKE=make build [2023-03-16T05:02:17.430Z] ---> Running in 71fb766c5899 [2023-03-16T05:02:17.430Z] Removing intermediate container 71fb766c5899 [2023-03-16T05:02:17.430Z] ---> 9aa4ba6ea228 [2023-03-16T05:02:17.430Z] Step 4/10 : WORKDIR /device-sdk-go [2023-03-16T05:02:17.698Z] ---> Running in b67f5c5f829c [2023-03-16T05:02:17.966Z] Removing intermediate container b67f5c5f829c [2023-03-16T05:02:17.966Z] ---> e2a2b572d9c2 [2023-03-16T05:02:17.966Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-03-16T05:02:17.966Z] ---> Running in 62931bbb8e4c [2023-03-16T05:02:18.235Z] Removing intermediate container 62931bbb8e4c [2023-03-16T05:02:18.235Z] ---> e8e88c6ac287 [2023-03-16T05:02:18.235Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-03-16T05:02:18.505Z] ---> Running in c5aa23f56bb9 [2023-03-16T05:02:19.467Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-16T05:02:20.431Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-16T05:02:21.398Z] OK: 263 MiB in 53 packages [2023-03-16T05:02:22.372Z] Removing intermediate container c5aa23f56bb9 [2023-03-16T05:02:22.372Z] ---> 42368fe6c65d [2023-03-16T05:02:22.372Z] Step 7/10 : COPY go.mod vendor* ./ [2023-03-16T05:02:22.962Z] ---> 5fa7a895ed36 [2023-03-16T05:02:22.962Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-16T05:02:22.962Z] ---> Running in 5a79af94e709 [2023-03-16T05:03:30.873Z] Removing intermediate container 5a79af94e709 [2023-03-16T05:03:30.873Z] ---> 221087ad9c96 [2023-03-16T05:03:30.873Z] Step 9/10 : COPY . . [2023-03-16T05:03:30.873Z] ---> d6e8958d0d72 [2023-03-16T05:03:30.873Z] Step 10/10 : RUN ${MAKE} [2023-03-16T05:03:30.873Z] ---> Running in 6c922b0d31cf [2023-03-16T05:03:30.873Z] noop [2023-03-16T05:03:30.873Z] Removing intermediate container 6c922b0d31cf [2023-03-16T05:03:30.873Z] ---> 4b3a6ab31c79 [2023-03-16T05:03:30.873Z] Successfully built 4b3a6ab31c79 [2023-03-16T05:03:30.873Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-16T05:03:31.344Z] + docker inspect -f . ci-base-image-arm64 [2023-03-16T05:03:31.344Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-16T05:03:31.642Z] prd-ubuntu20.04-docker-arm64-4c-16g-2353 does not seem to be running inside a container [2023-03-16T05:03:31.710Z] $ 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-03-16T05:03:32.971Z] $ docker top ac06cad8b1ddb812a92015d9efc5079d45954828fb1b9c65d67f2dffd1b2b2ef -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-16T05:03:33.879Z] + go version [2023-03-16T05:03:33.879Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-03-16T05:03:33.910Z] $ docker stop --time=1 ac06cad8b1ddb812a92015d9efc5079d45954828fb1b9c65d67f2dffd1b2b2ef [2023-03-16T05:03:35.560Z] $ docker rm -f --volumes ac06cad8b1ddb812a92015d9efc5079d45954828fb1b9c65d67f2dffd1b2b2ef [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-16T05:03:36.416Z] + docker inspect -f . ci-base-image-arm64 [2023-03-16T05:03:36.416Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-16T05:03:36.672Z] prd-ubuntu20.04-docker-arm64-4c-16g-2353 does not seem to be running inside a container [2023-03-16T05:03:36.739Z] $ 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-03-16T05:03:38.562Z] $ docker top bf4c0267869334737a75553a3f943bc87842396eae961e0c8bf336332152497b -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-16T05:03:39.459Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh [2023-03-16T05:03:39.850Z] + make test [2023-03-16T05:03:39.850Z] go test -race -coverprofile=coverage.out ./... [2023-03-16T05:04:26.710Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-03-16T05:06:33.405Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-03-16T05:06:33.405Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-03-16T05:06:33.405Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-03-16T05:06:33.405Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-03-16T05:06:33.405Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-03-16T05:06:48.411Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.228s coverage: 27.6% of statements [2023-03-16T05:06:50.992Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.247s coverage: 78.9% of statements [2023-03-16T05:07:03.290Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-03-16T05:07:03.290Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-03-16T05:07:03.290Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.320s coverage: 86.0% of statements [2023-03-16T05:07:09.929Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-03-16T05:07:09.929Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.414s coverage: 75.9% of statements [2023-03-16T05:07:14.179Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-03-16T05:07:15.586Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-03-16T05:07:15.586Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-03-16T05:07:16.992Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.247s coverage: 15.2% of statements [2023-03-16T05:07:16.992Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.389s coverage: 65.7% of statements [2023-03-16T05:07:19.568Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.430s coverage: 89.2% of statements [2023-03-16T05:07:20.531Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-03-16T05:07:20.799Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.237s coverage: 5.5% of statements [2023-03-16T05:07:21.756Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-03-16T05:07:21.756Z] GO111MODULE=on go vet ./... [2023-03-16T05:09:43.444Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-16T05:09:43.444Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-16T05:09:43.444Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-16T05:09:43.481Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-16T05:09:43.504Z] $ docker stop --time=1 bf4c0267869334737a75553a3f943bc87842396eae961e0c8bf336332152497b [2023-03-16T05:09:46.580Z] $ docker rm -f --volumes bf4c0267869334737a75553a3f943bc87842396eae961e0c8bf336332152497b [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-16T05:09:48.260Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-16T05:09:48.295Z] Warning: overwriting stash ‘coverage-report’ [2023-03-16T05:09:48.825Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-16T05:09:49.384Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-16T05:09:49.714Z] + ls -al . [2023-03-16T05:09:49.714Z] total 272 [2023-03-16T05:09:49.714Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 16 05:03 . [2023-03-16T05:09:49.714Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 16 05:01 .. [2023-03-16T05:09:49.714Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 16 05:01 .dockerignore [2023-03-16T05:09:49.714Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 16 05:01 .git [2023-03-16T05:09:49.714Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 16 05:01 .github [2023-03-16T05:09:49.714Z] -rw-rw-r-- 1 jenkins jenkins 131 Mar 16 05:01 .gitignore [2023-03-16T05:09:49.714Z] -rw-rw-r-- 1 jenkins jenkins 42 Mar 16 05:01 .golangci.yml [2023-03-16T05:09:49.714Z] -rw-rw-r-- 1 jenkins jenkins 31677 Mar 16 05:01 CHANGELOG.md [2023-03-16T05:09:49.714Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 16 05:01 GOVERNANCE.md [2023-03-16T05:09:49.714Z] -rw-rw-r-- 1 jenkins jenkins 885 Mar 16 05:01 Jenkinsfile [2023-03-16T05:09:49.714Z] -rw-rw-r-- 1 jenkins jenkins 11341 Mar 16 05:01 LICENSE [2023-03-16T05:09:49.714Z] -rw-rw-r-- 1 jenkins jenkins 1714 Mar 16 05:01 Makefile [2023-03-16T05:09:49.714Z] -rw-rw-r-- 1 jenkins jenkins 619 Mar 16 05:01 OWNERS.md [2023-03-16T05:09:49.714Z] -rw-rw-r-- 1 jenkins jenkins 4891 Mar 16 05:01 README.md [2023-03-16T05:09:49.714Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 16 04:59 VERSION [2023-03-16T05:09:49.714Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 16 05:01 bin [2023-03-16T05:09:49.714Z] -rw-r--r-- 1 jenkins jenkins 109536 Mar 16 05:07 coverage.out [2023-03-16T05:09:49.714Z] drwxrwxr-x 5 jenkins jenkins 4096 Mar 16 05:01 example [2023-03-16T05:09:49.714Z] -rw-rw-r-- 1 jenkins jenkins 3278 Mar 16 05:01 go.mod [2023-03-16T05:09:49.714Z] -rw-rw-r-- 1 jenkins jenkins 30839 Mar 16 05:01 go.sum [2023-03-16T05:09:49.714Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 16 05:01 internal [2023-03-16T05:09:49.714Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 16 05:01 openapi [2023-03-16T05:09:49.714Z] drwxrwxr-x 6 jenkins jenkins 4096 Mar 16 05:01 pkg [2023-03-16T05:09:49.714Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 16 05:01 snap [2023-03-16T05:09:49.714Z] -rw-rw-r-- 1 jenkins jenkins 222 Mar 16 05:01 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-16T05:09:50.107Z] + 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=531b08ddea651399d93a2d1d8df5b3750e9d4382 --label arch=arm64 --label version=0.0.0 . [2023-03-16T05:09:50.372Z] Sending build context to Docker daemon 5.924MB [2023-03-16T05:09:50.372Z] Step 1/23 : ARG BASE=golang:1.20-alpine3.17 [2023-03-16T05:09:50.372Z] Step 2/23 : FROM ${BASE} AS builder [2023-03-16T05:09:50.372Z] ---> 4b3a6ab31c79 [2023-03-16T05:09:50.372Z] Step 3/23 : ARG MAKE=make build [2023-03-16T05:09:50.638Z] ---> Running in 52efc6965a9f [2023-03-16T05:09:50.903Z] Removing intermediate container 52efc6965a9f [2023-03-16T05:09:50.903Z] ---> 3cc74c84b960 [2023-03-16T05:09:50.903Z] Step 4/23 : WORKDIR /device-sdk-go [2023-03-16T05:09:50.903Z] ---> Running in 0ad02682a9b7 [2023-03-16T05:09:51.169Z] Removing intermediate container 0ad02682a9b7 [2023-03-16T05:09:51.169Z] ---> 4574730446b5 [2023-03-16T05:09:51.169Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-03-16T05:09:51.169Z] ---> Running in 802afbfa087d [2023-03-16T05:09:51.435Z] Removing intermediate container 802afbfa087d [2023-03-16T05:09:51.435Z] ---> 1c44bca80c46 [2023-03-16T05:09:51.435Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-03-16T05:09:51.714Z] ---> Running in 27eaacaa47c9 [2023-03-16T05:09:52.740Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-16T05:09:53.006Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-16T05:09:54.424Z] OK: 263 MiB in 53 packages [2023-03-16T05:09:55.028Z] Removing intermediate container 27eaacaa47c9 [2023-03-16T05:09:55.028Z] ---> ef5655b33bdc [2023-03-16T05:09:55.028Z] Step 7/23 : COPY go.mod vendor* ./ [2023-03-16T05:09:55.305Z] ---> 570efbec4917 [2023-03-16T05:09:55.305Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-16T05:09:55.305Z] ---> Running in 152c5c926e39 [2023-03-16T05:09:57.889Z] Removing intermediate container 152c5c926e39 [2023-03-16T05:09:57.889Z] ---> 483131fe1d26 [2023-03-16T05:09:57.889Z] Step 9/23 : COPY . . [2023-03-16T05:10:00.460Z] ---> 41167c6172ff [2023-03-16T05:10:00.460Z] Step 10/23 : RUN ${MAKE} [2023-03-16T05:10:00.460Z] ---> Running in e4f4fac00cbf [2023-03-16T05:10:01.417Z] 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-03-16T05:12:23.101Z] Removing intermediate container e4f4fac00cbf [2023-03-16T05:12:23.101Z] ---> bb31a9390bab [2023-03-16T05:12:23.101Z] Step 11/23 : FROM alpine:3.17 [2023-03-16T05:12:23.101Z] 3.17: Pulling from library/alpine [2023-03-16T05:12:23.101Z] af6eaf76a39c: Already exists [2023-03-16T05:12:23.101Z] Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 [2023-03-16T05:12:23.101Z] Status: Downloaded newer image for alpine:3.17 [2023-03-16T05:12:23.101Z] ---> d74e625d9115 [2023-03-16T05:12:23.101Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-03-16T05:12:23.101Z] ---> Running in 9bebf42a9b0a [2023-03-16T05:12:23.101Z] Removing intermediate container 9bebf42a9b0a [2023-03-16T05:12:23.101Z] ---> c6f6856ba995 [2023-03-16T05:12:23.101Z] Step 13/23 : RUN apk add --update --no-cache [2023-03-16T05:12:23.101Z] ---> Running in cf249428f0eb [2023-03-16T05:12:23.101Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-16T05:12:23.101Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-16T05:12:23.101Z] OK: 7 MiB in 15 packages [2023-03-16T05:12:23.101Z] Removing intermediate container cf249428f0eb [2023-03-16T05:12:23.101Z] ---> b3a7c7e5a8f5 [2023-03-16T05:12:23.101Z] Step 14/23 : WORKDIR / [2023-03-16T05:12:23.101Z] ---> Running in 7b1e5ad6521c [2023-03-16T05:12:23.101Z] Removing intermediate container 7b1e5ad6521c [2023-03-16T05:12:23.101Z] ---> fcc28b64c8ee [2023-03-16T05:12:23.101Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-03-16T05:12:23.101Z] ---> d4bddb89768c [2023-03-16T05:12:23.101Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-03-16T05:12:23.101Z] ---> 5e1bf0278f98 [2023-03-16T05:12:23.101Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-03-16T05:12:23.101Z] ---> d79b87006cd5 [2023-03-16T05:12:23.101Z] Step 18/23 : EXPOSE 59999 [2023-03-16T05:12:23.101Z] ---> Running in 3198181b3065 [2023-03-16T05:12:23.101Z] Removing intermediate container 3198181b3065 [2023-03-16T05:12:23.101Z] ---> 08b18f1306c8 [2023-03-16T05:12:23.101Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-03-16T05:12:23.101Z] ---> Running in 2ef2c812f6de [2023-03-16T05:12:23.369Z] Removing intermediate container 2ef2c812f6de [2023-03-16T05:12:23.369Z] ---> 8c4fcb56c728 [2023-03-16T05:12:23.369Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-03-16T05:12:23.369Z] ---> Running in 4680d246288c [2023-03-16T05:12:23.639Z] Removing intermediate container 4680d246288c [2023-03-16T05:12:23.639Z] ---> c17a0ac47ada [2023-03-16T05:12:23.639Z] Step 21/23 : LABEL arch=arm64 [2023-03-16T05:12:23.911Z] ---> Running in 6aa9cac5f1c7 [2023-03-16T05:12:24.182Z] Removing intermediate container 6aa9cac5f1c7 [2023-03-16T05:12:24.182Z] ---> 2385361943ce [2023-03-16T05:12:24.182Z] Step 22/23 : LABEL git_sha=531b08ddea651399d93a2d1d8df5b3750e9d4382 [2023-03-16T05:12:24.182Z] ---> Running in f3e0d9ae1311 [2023-03-16T05:12:24.771Z] Removing intermediate container f3e0d9ae1311 [2023-03-16T05:12:24.772Z] ---> 96b7fe8a2041 [2023-03-16T05:12:24.772Z] Step 23/23 : LABEL version=0.0.0 [2023-03-16T05:12:24.772Z] ---> Running in e97d38f01719 [2023-03-16T05:12:25.040Z] Removing intermediate container e97d38f01719 [2023-03-16T05:12:25.040Z] ---> 9a7d06224673 [2023-03-16T05:12:25.040Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-16T05:12:25.040Z] Successfully built 9a7d06224673 [2023-03-16T05:12:25.040Z] 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-03-16T05:12:25.838Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-16T05:12:25.838Z] [2023-03-16T05:12:25.838Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-16T05:12:26.260Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-16T05:12:26.260Z] arm64: Pulling from edgex-lftools-log-publisher [2023-03-16T05:12:26.260Z] 8998bd30e6a1: Pulling fs layer [2023-03-16T05:12:26.260Z] 04944245beec: Pulling fs layer [2023-03-16T05:12:26.260Z] 699f458cf7ca: Pulling fs layer [2023-03-16T05:12:26.260Z] 765212b225bb: Pulling fs layer [2023-03-16T05:12:26.260Z] f23df028b6ca: Pulling fs layer [2023-03-16T05:12:26.260Z] d65c8cfc05b1: Pulling fs layer [2023-03-16T05:12:26.260Z] 2437ff75d9bd: Pulling fs layer [2023-03-16T05:12:26.260Z] 765212b225bb: Waiting [2023-03-16T05:12:26.260Z] f23df028b6ca: Waiting [2023-03-16T05:12:26.260Z] d65c8cfc05b1: Waiting [2023-03-16T05:12:26.260Z] 2437ff75d9bd: Waiting [2023-03-16T05:12:26.529Z] 04944245beec: Verifying Checksum [2023-03-16T05:12:26.529Z] 04944245beec: Download complete [2023-03-16T05:12:26.529Z] 765212b225bb: Verifying Checksum [2023-03-16T05:12:26.529Z] 765212b225bb: Download complete [2023-03-16T05:12:26.529Z] f23df028b6ca: Download complete [2023-03-16T05:12:26.529Z] d65c8cfc05b1: Verifying Checksum [2023-03-16T05:12:26.529Z] d65c8cfc05b1: Download complete [2023-03-16T05:12:26.800Z] 699f458cf7ca: Verifying Checksum [2023-03-16T05:12:27.069Z] 8998bd30e6a1: Verifying Checksum [2023-03-16T05:12:27.069Z] 8998bd30e6a1: Download complete [2023-03-16T05:12:29.663Z] 2437ff75d9bd: Verifying Checksum [2023-03-16T05:12:29.663Z] 2437ff75d9bd: Download complete [2023-03-16T05:12:31.628Z] 8998bd30e6a1: Pull complete [2023-03-16T05:12:31.895Z] 04944245beec: Pull complete [2023-03-16T05:12:33.311Z] 699f458cf7ca: Pull complete [2023-03-16T05:12:33.311Z] 765212b225bb: Pull complete [2023-03-16T05:12:34.276Z] f23df028b6ca: Pull complete [2023-03-16T05:12:34.551Z] d65c8cfc05b1: Pull complete [2023-03-16T05:12:49.558Z] 2437ff75d9bd: Pull complete [2023-03-16T05:12:49.558Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-03-16T05:12:49.558Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-16T05:12:49.558Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-16T05:12:49.860Z] prd-ubuntu20.04-docker-arm64-4c-16g-2353 does not seem to be running inside a container [2023-03-16T05:12:49.928Z] $ 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-03-16T05:12:52.833Z] $ docker top 48ca72cc6f42ba04bb8482d1dde7e1377c5f0683c42a6f2b01cc205d95dad5fe -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-16T05:12:53.769Z] ---> job-cost.sh [2023-03-16T05:12:53.769Z] lf-activate-venv: SKIPPING [2023-03-16T05:12:53.769Z] INFO: No Stack... [2023-03-16T05:12:54.351Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-03-16T05:12:54.941Z] INFO: Archiving Costs [Pipeline] sh [2023-03-16T05:12:55.602Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2023-03-16T05:12:55.602Z] + cut -d, -f6 [Pipeline] lock [2023-03-16T05:12:55.693Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1389-1-stack-cost] [2023-03-16T05:12:55.697Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1389-1-stack-cost] did not exist. Created. [2023-03-16T05:12:55.698Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1389-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-16T05:12:56.431Z] /w/workspace/device-sdk-go/1@tmp/durable-63bf8488/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-03-16T05:12:57.115Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-03-16T05:12:57.159Z] Warning: overwriting stash ‘stack-cost’ [2023-03-16T05:12:57.226Z] Stashed 1 file(s) [Pipeline] } [2023-03-16T05:12:57.241Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1389-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-16T05:12:57.307Z] $ docker stop --time=1 48ca72cc6f42ba04bb8482d1dde7e1377c5f0683c42a6f2b01cc205d95dad5fe [2023-03-16T05:12:59.114Z] $ docker rm -f --volumes 48ca72cc6f42ba04bb8482d1dde7e1377c5f0683c42a6f2b01cc205d95dad5fe [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-03-16T05:13:00.114Z] provisioning config files... [2023-03-16T05:13:00.123Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1389@tmp/config3864330658777178581tmp [Pipeline] { [Pipeline] sh [2023-03-16T05:13:00.462Z] + set +x [2023-03-16T05:13:00.462Z] + curl -s https://codecov.io/bash [2023-03-16T05:13:00.462Z] + bash -s -- [2023-03-16T05:13:00.462Z] [2023-03-16T05:13:00.462Z] _____ _ [2023-03-16T05:13:00.462Z] / ____| | | [2023-03-16T05:13:00.462Z] | | ___ __| | ___ ___ _____ __ [2023-03-16T05:13:00.462Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-03-16T05:13:00.462Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-03-16T05:13:00.462Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-03-16T05:13:00.462Z] Bash-1.0.6 [2023-03-16T05:13:00.462Z] [2023-03-16T05:13:00.462Z] [2023-03-16T05:13:00.462Z] ==> git version 2.25.1 found [2023-03-16T05:13:00.462Z] ==> 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-03-16T05:13:00.462Z] Release-Date: 2020-01-08 [2023-03-16T05:13:00.462Z] 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-03-16T05:13:00.462Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-03-16T05:13:00.462Z] ==> Jenkins CI detected. [2023-03-16T05:13:00.462Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1389 [2023-03-16T05:13:00.462Z] project root: . [2023-03-16T05:13:00.462Z] --> token set from env [2023-03-16T05:13:00.462Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-03-16T05:13:00.462Z] ==> Running gcov in . (disable via -X gcov) [2023-03-16T05:13:00.462Z] ==> Python coveragepy not found [2023-03-16T05:13:00.462Z] ==> Searching for coverage reports in: [2023-03-16T05:13:00.462Z] + . [2023-03-16T05:13:00.462Z] -> Found 1 reports [2023-03-16T05:13:00.462Z] ==> Detecting git/mercurial file structure [2023-03-16T05:13:00.462Z] ==> Reading reports [2023-03-16T05:13:00.462Z] + ./coverage.out bytes=109536 [2023-03-16T05:13:00.462Z] ==> Appending adjustments [2023-03-16T05:13:00.462Z] https://docs.codecov.io/docs/fixing-reports [2023-03-16T05:13:00.722Z] + Found adjustments [2023-03-16T05:13:00.722Z] ==> Gzipping contents [2023-03-16T05:13:00.980Z] 16K /tmp/codecov.Blt2Et.gz [2023-03-16T05:13:00.980Z] ==> Uploading reports [2023-03-16T05:13:00.980Z] url: https://codecov.io [2023-03-16T05:13:00.980Z] query: branch=PR-1389&commit=531b08ddea651399d93a2d1d8df5b3750e9d4382&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1389%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1389&job=&cmd_args= [2023-03-16T05:13:00.980Z] -> Pinging Codecov [2023-03-16T05:13:00.980Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1389&commit=531b08ddea651399d93a2d1d8df5b3750e9d4382&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1389%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1389&job=&cmd_args= [2023-03-16T05:13:00.980Z] -> Uploading to [2023-03-16T05:13:00.980Z] https://storage.googleapis.com/codecov/v4/raw/2023-03-16/7E55EF52A471D76F132DFD9A03CDDE97/531b08ddea651399d93a2d1d8df5b3750e9d4382/88686360-1d39-4f7a-8e97-cc485af91189.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230316%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230316T051300Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=e172da3f9d79f0c66e3a3138c13ca03304f6ffeeb0f17e63c143a05a609ddea3 [2023-03-16T05:13:00.980Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-16T05:13:00.980Z] Dload Upload Total Spent Left Speed [2023-03-16T05:13:01.239Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 15249 0 0 100 15249 0 64341 --:--:-- --:--:-- --:--:-- 64341 [2023-03-16T05:13:01.239Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/531b08ddea651399d93a2d1d8df5b3750e9d4382 [Pipeline] } [2023-03-16T05:13:01.272Z] 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-03-16T05:13:03.023Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1389/archives ] [2023-03-16T05:13:03.023Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1389/archives [2023-03-16T05:13:03.023Z] total 16 [2023-03-16T05:13:03.023Z] drwxr-xr-x 3 root root 4096 Mar 16 05:01 . [2023-03-16T05:13:03.023Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 16 05:01 .. [2023-03-16T05:13:03.023Z] drwxr-xr-x 2 root root 4096 Mar 16 05:01 cost [2023-03-16T05:13:03.023Z] -rw-r--r-- 1 root root 86 Mar 16 05:01 cost.csv [2023-03-16T05:13:03.023Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1389/archives [2023-03-16T05:13:03.023Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1389/archives [2023-03-16T05:13:03.023Z] total 16 [2023-03-16T05:13:03.023Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 16 05:01 . [2023-03-16T05:13:03.023Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 16 05:01 .. [2023-03-16T05:13:03.023Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 16 05:01 cost [2023-03-16T05:13:03.023Z] -rw-r--r-- 1 jenkins jenkins 86 Mar 16 05:01 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-03-16T05:13:03.358Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-16T05:13:04.246Z] ---> package-listing.sh [2023-03-16T05:13:04.246Z] ++ facter osfamily [2023-03-16T05:13:04.246Z] ++ tr '[:upper:]' '[:lower:]' [2023-03-16T05:13:04.505Z] + OS_FAMILY=debian [2023-03-16T05:13:04.505Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1389 [2023-03-16T05:13:04.505Z] + START_PACKAGES=/tmp/packages_start.txt [2023-03-16T05:13:04.505Z] + END_PACKAGES=/tmp/packages_end.txt [2023-03-16T05:13:04.505Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-03-16T05:13:04.505Z] + PACKAGES=/tmp/packages_start.txt [2023-03-16T05:13:04.505Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1389 ']' [2023-03-16T05:13:04.505Z] + PACKAGES=/tmp/packages_end.txt [2023-03-16T05:13:04.505Z] + case "${OS_FAMILY}" in [2023-03-16T05:13:04.505Z] + dpkg -l [2023-03-16T05:13:04.505Z] + grep '^ii' [2023-03-16T05:13:04.505Z] + '[' -f /tmp/packages_start.txt ']' [2023-03-16T05:13:04.505Z] + '[' -f /tmp/packages_end.txt ']' [2023-03-16T05:13:04.505Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-03-16T05:13:04.505Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1389 ']' [2023-03-16T05:13:04.505Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1389/archives/ [2023-03-16T05:13:04.505Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1389/archives/ [Pipeline] echo [2023-03-16T05:13:04.541Z] 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-1389/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-03-16T05:13:04.834Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-16T05:13:05.450Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-16T05:13:05.450Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-16T05:13:05.593Z] prd-ubuntu20.04-docker-8c-8g-2351 does not seem to be running inside a container [2023-03-16T05:13:05.644Z] $ 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-1389/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-1389 -v /w/workspace/gexfoundry_device-sdk-go_PR-1389:/w/workspace/gexfoundry_device-sdk-go_PR-1389:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1389@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1389@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-03-16T05:13:05.881Z] $ docker top 94d58cd632dca51e662e6917b928447baa7c13d227d38a64034cff87e85f296d -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-16T05:13:06.239Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-03-16T05:13:06.542Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-03-16T05:13:06.847Z] + ls /var/log/sa-host [2023-03-16T05:13:06.847Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-16T05:13:07.071Z] provisioning config files... [2023-03-16T05:13:07.081Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1389@tmp/config10403695397131254515tmp [Pipeline] { [Pipeline] echo [2023-03-16T05:13:07.131Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-16T05:13:07.454Z] ---> create-netrc.sh [Pipeline] } [2023-03-16T05:13:07.482Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-03-16T05:13:07.874Z] ---> python-tools-install.sh [Pipeline] echo [2023-03-16T05:13:07.905Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-16T05:13:08.214Z] ---> sudo-logs.sh [2023-03-16T05:13:08.214Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-03-16T05:13:08.296Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-16T05:13:08.615Z] ---> job-cost.sh [2023-03-16T05:13:08.615Z] lf-activate-venv: SKIPPING [2023-03-16T05:13:08.615Z] DEBUG: total: 0.2199999988079071 [2023-03-16T05:13:08.615Z] INFO: Retrieving Stack Cost... [2023-03-16T05:13:08.874Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-16T05:13:09.441Z] INFO: Archiving Costs [Pipeline] echo [2023-03-16T05:13:09.479Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-16T05:13:09.788Z] ---> logs-deploy.sh [2023-03-16T05:13:09.788Z] lf-activate-venv: SKIPPING [2023-03-16T05:13:09.788Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1389/1 [2023-03-16T05:13:09.788Z] INFO: archiving workspace using pattern(s): [2023-03-16T05:13:10.722Z] Archives upload complete. [2023-03-16T05:13:10.722Z] INFO: archiving logs to Nexus