Pull request #1398 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of gq-tang for edgexfoundry/device-sdk-go Loading trusted files from base branch main at c61610bbbff1187c8ac68f5c7e0a10add7b75ddb rather than 08559f0c3667562766f5b26454581bf4e5a7b136 Obtained Jenkinsfile from c61610bbbff1187c8ac68f5c7e0a10add7b75ddb 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-ssh2667859423331898438.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-ssh7248702106733236962.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-1398/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-1398/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5657422423035660112.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-1398/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15677784850955344438.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-ssh7964516750501617794.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-1398/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-1398/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh6497876961217287316.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 on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-4770 in /w/workspace/gexfoundry_device-sdk-go_PR-1398 [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-1398 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1398/head:refs/remotes/origin/PR-1398 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit c61610bbbff1187c8ac68f5c7e0a10add7b75ddb into PR head commit 08559f0c3667562766f5b26454581bf4e5a7b136 Merge succeeded, producing 08559f0c3667562766f5b26454581bf4e5a7b136 Checking out Revision 08559f0c3667562766f5b26454581bf4e5a7b136 (PR-1398) > git config core.sparsecheckout # timeout=10 > git checkout -f 08559f0c3667562766f5b26454581bf4e5a7b136 # 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 c61610bbbff1187c8ac68f5c7e0a10add7b75ddb # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 08559f0c3667562766f5b26454581bf4e5a7b136 # timeout=10 Commit message: "fix: issue-1397" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-03-21T07:55:13.446Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-03-21T07:55:13.632Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-03-21T07:55:13.733Z] ========================================================= [2023-03-21T07:55:13.733Z] EdgeX Global Pipelines Version Info [2023-03-21T07:55:13.733Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-03-21T07:55:14.478Z] ------------------- [2023-03-21T07:55:14.478Z] stable info: [2023-03-21T07:55:14.478Z] ------------------- [2023-03-21T07:55:14.478Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-03-21T07:55:14.478Z] Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a [2023-03-21T07:55:14.478Z] Message: update stable to v1.0.245 [2023-03-21T07:55:15.052Z] ------------------- [2023-03-21T07:55:15.052Z] experimental info: [2023-03-21T07:55:15.052Z] ------------------- [2023-03-21T07:55:15.052Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-03-21T07:55:15.052Z] Commit SHA: eb5041bb0874f6b7cdca3e6793e1ef87c0289dce [2023-03-21T07:55:15.052Z] Message: update experimental to v1.0.246 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-03-21T07:55:15.360Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-03-21T07:55:15.402Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-03-21T07:55:15.449Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-03-21T07:55:15.493Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-03-21T07:55:15.535Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-03-21T07:55:15.573Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-03-21T07:55:15.616Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-03-21T07:55:15.660Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-03-21T07:55:15.702Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-03-21T07:55:15.749Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-03-21T07:55:15.794Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-03-21T07:55:15.839Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-03-21T07:55:15.881Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-03-21T07:55:15.922Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-03-21T07:55:15.965Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-03-21T07:55:16.008Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-03-21T07:55:16.055Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-03-21T07:55:16.096Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-03-21T07:55:16.133Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-03-21T07:55:16.168Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-03-21T07:55:16.205Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-03-21T07:55:16.245Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2023-03-21T07:55:16.287Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-03-21T07:55:16.326Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-03-21T07:55:16.364Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-03-21T07:55:16.408Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-03-21T07:55:16.445Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-03-21T07:55:16.484Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1398 [Pipeline] echo [2023-03-21T07:55:16.523Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1398 [Pipeline] echo [2023-03-21T07:55:16.558Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1398 [Pipeline] echo [2023-03-21T07:55:16.603Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 08559f0c3667562766f5b26454581bf4e5a7b136 [Pipeline] echo [2023-03-21T07:55:16.642Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 08559f0 [Pipeline] echo [2023-03-21T07:55:16.690Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-21T07:55:16.798Z] provisioning config files... [2023-03-21T07:55:16.813Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1398@tmp/config3911091230876219943tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-21T07:55:17.153Z] ---> docker-login.sh [2023-03-21T07:55:17.153Z] nexus3.edgexfoundry.org:10001 [2023-03-21T07:55:17.414Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T07:55:17.414Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T07:55:17.414Z] Configure a credential helper to remove this warning. See [2023-03-21T07:55:17.414Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T07:55:17.414Z] [2023-03-21T07:55:17.414Z] Login Succeeded [2023-03-21T07:55:17.414Z] nexus3.edgexfoundry.org:10002 [2023-03-21T07:55:17.414Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T07:55:17.677Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T07:55:17.677Z] Configure a credential helper to remove this warning. See [2023-03-21T07:55:17.677Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T07:55:17.677Z] [2023-03-21T07:55:17.677Z] Login Succeeded [2023-03-21T07:55:17.677Z] nexus3.edgexfoundry.org:10003 [2023-03-21T07:55:17.677Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T07:55:17.677Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T07:55:17.677Z] Configure a credential helper to remove this warning. See [2023-03-21T07:55:17.677Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T07:55:17.677Z] [2023-03-21T07:55:17.677Z] Login Succeeded [2023-03-21T07:55:17.677Z] nexus3.edgexfoundry.org:10004 [2023-03-21T07:55:17.677Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T07:55:17.939Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T07:55:17.939Z] Configure a credential helper to remove this warning. See [2023-03-21T07:55:17.939Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T07:55:17.939Z] [2023-03-21T07:55:17.939Z] Login Succeeded [2023-03-21T07:55:17.939Z] docker.io [2023-03-21T07:55:17.939Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T07:55:18.200Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T07:55:18.200Z] Configure a credential helper to remove this warning. See [2023-03-21T07:55:18.200Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T07:55:18.200Z] [2023-03-21T07:55:18.200Z] Login Succeeded [2023-03-21T07:55:18.200Z] ---> docker-login.sh ends [Pipeline] } [2023-03-21T07:55:18.229Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-03-21T07:55:18.832Z] + git rev-list -1 --merges 08559f0c3667562766f5b26454581bf4e5a7b136~1..08559f0c3667562766f5b26454581bf4e5a7b136 [Pipeline] echo [2023-03-21T07:55:18.892Z] -----------> git rev-list -1 --merges 08559f0c3667562766f5b26454581bf4e5a7b136~1..08559f0c3667562766f5b26454581bf4e5a7b136 08559f0c3667562766f5b26454581bf4e5a7b136 [false] [Pipeline] sh [2023-03-21T07:55:19.199Z] + git log --format=format:%s -1 08559f0c3667562766f5b26454581bf4e5a7b136 [Pipeline] echo [2023-03-21T07:55:19.276Z] ========================================================= [2023-03-21T07:55:19.277Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-03-21T07:55:19.277Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-21T07:55:19.713Z] + git log --format=format:%s -1 08559f0c3667562766f5b26454581bf4e5a7b136 [Pipeline] echo [2023-03-21T07:55:19.745Z] [semverPrep] GIT_COMMIT: 08559f0c3667562766f5b26454581bf4e5a7b136, Commit Message: fix: issue-1397 [Pipeline] echo [2023-03-21T07:55:19.777Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-03-21T07:55:20.173Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-21T07:55:20.173Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-03-21T07:55:20.173Z] + [ -e /tmp/ssh_known_hosts ] [2023-03-21T07:55:20.173Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-03-21T07:55:20.173Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-03-21T07:55:20.173Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-03-21T07:55:20.173Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T07:55:20.664Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-21T07:55:20.664Z] [2023-03-21T07:55:20.664Z] 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-21T07:55:21.048Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-21T07:55:21.048Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-03-21T07:55:21.048Z] b85a868b505f: Pulling fs layer [2023-03-21T07:55:21.048Z] e2be974225ed: Pulling fs layer [2023-03-21T07:55:21.048Z] 339a4e72a1f5: Pulling fs layer [2023-03-21T07:55:21.048Z] 988bab9f4d93: Pulling fs layer [2023-03-21T07:55:21.048Z] 1469e6f7b9e6: Pulling fs layer [2023-03-21T07:55:21.048Z] eaf3925da568: Pulling fs layer [2023-03-21T07:55:21.048Z] bab4dde63d76: Pulling fs layer [2023-03-21T07:55:21.048Z] bde34c3a00c8: Pulling fs layer [2023-03-21T07:55:21.048Z] b352a97aabf1: Pulling fs layer [2023-03-21T07:55:21.048Z] 4872d77fe225: Pulling fs layer [2023-03-21T07:55:21.048Z] 5851b861e8e6: Pulling fs layer [2023-03-21T07:55:21.048Z] 4872d77fe225: Waiting [2023-03-21T07:55:21.048Z] 1469e6f7b9e6: Waiting [2023-03-21T07:55:21.048Z] eaf3925da568: Waiting [2023-03-21T07:55:21.048Z] 988bab9f4d93: Waiting [2023-03-21T07:55:21.048Z] bab4dde63d76: Waiting [2023-03-21T07:55:21.048Z] bde34c3a00c8: Waiting [2023-03-21T07:55:21.048Z] 5851b861e8e6: Waiting [2023-03-21T07:55:21.048Z] e2be974225ed: Download complete [2023-03-21T07:55:21.048Z] 988bab9f4d93: Verifying Checksum [2023-03-21T07:55:21.048Z] 988bab9f4d93: Download complete [2023-03-21T07:55:21.308Z] 1469e6f7b9e6: Verifying Checksum [2023-03-21T07:55:21.308Z] 1469e6f7b9e6: Download complete [2023-03-21T07:55:21.308Z] eaf3925da568: Verifying Checksum [2023-03-21T07:55:21.308Z] eaf3925da568: Download complete [2023-03-21T07:55:21.308Z] 339a4e72a1f5: Verifying Checksum [2023-03-21T07:55:21.308Z] 339a4e72a1f5: Download complete [2023-03-21T07:55:21.308Z] bde34c3a00c8: Download complete [2023-03-21T07:55:21.308Z] b352a97aabf1: Download complete [2023-03-21T07:55:21.308Z] 4872d77fe225: Download complete [2023-03-21T07:55:21.308Z] 5851b861e8e6: Download complete [2023-03-21T07:55:21.308Z] b85a868b505f: Verifying Checksum [2023-03-21T07:55:21.308Z] b85a868b505f: Download complete [2023-03-21T07:55:21.566Z] bab4dde63d76: Verifying Checksum [2023-03-21T07:55:21.566Z] bab4dde63d76: Download complete [2023-03-21T07:55:22.948Z] b85a868b505f: Pull complete [2023-03-21T07:55:22.948Z] e2be974225ed: Pull complete [2023-03-21T07:55:23.211Z] 339a4e72a1f5: Pull complete [2023-03-21T07:55:23.481Z] 988bab9f4d93: Pull complete [2023-03-21T07:55:23.743Z] 1469e6f7b9e6: Pull complete [2023-03-21T07:55:23.743Z] eaf3925da568: Pull complete [2023-03-21T07:55:25.647Z] bab4dde63d76: Pull complete [2023-03-21T07:55:25.647Z] bde34c3a00c8: Pull complete [2023-03-21T07:55:25.647Z] b352a97aabf1: Pull complete [2023-03-21T07:55:25.647Z] 4872d77fe225: Pull complete [2023-03-21T07:55:25.647Z] 5851b861e8e6: Pull complete [2023-03-21T07:55:25.647Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-03-21T07:55:25.647Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-21T07:55:25.647Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-21T07:55:25.882Z] prd-ubuntu20.04-docker-8c-8g-4770 does not seem to be running inside a container [2023-03-21T07:55:25.916Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1398 -v /w/workspace/gexfoundry_device-sdk-go_PR-1398:/w/workspace/gexfoundry_device-sdk-go_PR-1398:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1398@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1398@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-03-21T07:55:28.598Z] $ docker top de26e345b1190e89977771b81992e5c356482e243bb2bce697cbae465b7b63c4 -eo pid,comm [2023-03-21T07:55:28.648Z] 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-21T07:55:28.648Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-21T07:55:28.765Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-21T07:55:28.765Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-21T07:55:28.871Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-21T07:55:28.876Z] $ docker exec de26e345b1190e89977771b81992e5c356482e243bb2bce697cbae465b7b63c4 ssh-agent [2023-03-21T07:55:28.976Z] SSH_AUTH_SOCK=/tmp/ssh-bt4ZJynDTTha/agent.32 [2023-03-21T07:55:28.976Z] SSH_AGENT_PID=38 [2023-03-21T07:55:28.982Z] Running ssh-add (command line suppressed) [2023-03-21T07:55:29.098Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1398@tmp/private_key_15206406082987657318.key (/w/workspace/gexfoundry_device-sdk-go_PR-1398@tmp/private_key_15206406082987657318.key) [2023-03-21T07:55:29.109Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-21T07:55:29.432Z] + git tag --points-at HEAD [Pipeline] } [2023-03-21T07:55:29.456Z] $ docker exec --env ******** --env ******** de26e345b1190e89977771b81992e5c356482e243bb2bce697cbae465b7b63c4 ssh-agent -k [2023-03-21T07:55:29.550Z] unset SSH_AUTH_SOCK; [2023-03-21T07:55:29.550Z] unset SSH_AGENT_PID; [2023-03-21T07:55:29.550Z] echo Agent pid 38 killed; [2023-03-21T07:55:29.555Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-03-21T07:55:29.637Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-21T07:55:29.637Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-21T07:55:29.758Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-21T07:55:29.763Z] $ docker exec de26e345b1190e89977771b81992e5c356482e243bb2bce697cbae465b7b63c4 ssh-agent [2023-03-21T07:55:29.879Z] SSH_AUTH_SOCK=/tmp/ssh-qttnek1Vd6dm/agent.70 [2023-03-21T07:55:29.879Z] SSH_AGENT_PID=76 [2023-03-21T07:55:29.884Z] Running ssh-add (command line suppressed) [2023-03-21T07:55:29.998Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1398@tmp/private_key_8026655981739655050.key (/w/workspace/gexfoundry_device-sdk-go_PR-1398@tmp/private_key_8026655981739655050.key) [2023-03-21T07:55:30.010Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-21T07:55:30.335Z] + git semver init [2023-03-21T07:55:30.595Z] 2023-03-21 07:55:30,540 [run_init] DEBUG init version:0.0.0 force:False [2023-03-21T07:55:30.595Z] 2023-03-21 07:55:30,541 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1398/.semver [2023-03-21T07:55:30.595Z] 2023-03-21 07:55:30,541 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1398/.semver [2023-03-21T07:55:30.595Z] 2023-03-21 07:55:30,541 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1398/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1398, universal_newlines=False, shell=None, istream=None) [2023-03-21T07:55:31.534Z] 2023-03-21 07:55:31,461 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1398/.git/info/exclude [2023-03-21T07:55:31.534Z] 2023-03-21 07:55:31,463 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1398/.semver/PR-1398 with force:False [2023-03-21T07:55:31.534Z] 2023-03-21 07:55:31,464 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1398/.semver/PR-1398 [2023-03-21T07:55:31.534Z] 2023-03-21 07:55:31,469 [execute] INFO git cat-file --batch-check [2023-03-21T07:55:31.534Z] 2023-03-21 07:55:31,470 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1398/.semver, universal_newlines=False, shell=None, istream=) [2023-03-21T07:55:31.534Z] 2023-03-21 07:55:31,476 [execute] INFO git cat-file --batch [2023-03-21T07:55:31.534Z] 2023-03-21 07:55:31,476 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1398/.semver, universal_newlines=False, shell=None, istream=) [2023-03-21T07:55:31.534Z] 2023-03-21 07:55:31,481 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1398/.semver/PR-1398 [2023-03-21T07:55:31.534Z] 0.0.0 [Pipeline] } [2023-03-21T07:55:31.563Z] $ docker exec --env ******** --env ******** de26e345b1190e89977771b81992e5c356482e243bb2bce697cbae465b7b63c4 ssh-agent -k [2023-03-21T07:55:31.663Z] unset SSH_AUTH_SOCK; [2023-03-21T07:55:31.663Z] unset SSH_AGENT_PID; [2023-03-21T07:55:31.663Z] echo Agent pid 76 killed; [2023-03-21T07:55:31.670Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-21T07:55:32.074Z] + git semver [Pipeline] } [2023-03-21T07:55:32.360Z] $ docker stop --time=1 de26e345b1190e89977771b81992e5c356482e243bb2bce697cbae465b7b63c4 [2023-03-21T07:55:33.651Z] $ docker rm -f --volumes de26e345b1190e89977771b81992e5c356482e243bb2bce697cbae465b7b63c4 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-21T07:55:34.046Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-03-21T07:55:34.311Z] Stashed 1 file(s) [Pipeline] echo [2023-03-21T07:55:34.329Z] [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-21T07:55:34.900Z] provisioning config files... [2023-03-21T07:55:34.910Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1398@tmp/config11681440019643029334tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-21T07:55:35.261Z] ---> docker-login.sh [2023-03-21T07:55:35.261Z] nexus3.edgexfoundry.org:10001 [2023-03-21T07:55:35.261Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T07:55:35.261Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T07:55:35.261Z] Configure a credential helper to remove this warning. See [2023-03-21T07:55:35.261Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T07:55:35.261Z] [2023-03-21T07:55:35.261Z] Login Succeeded [2023-03-21T07:55:35.261Z] nexus3.edgexfoundry.org:10002 [2023-03-21T07:55:35.261Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T07:55:35.261Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T07:55:35.261Z] Configure a credential helper to remove this warning. See [2023-03-21T07:55:35.261Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T07:55:35.261Z] [2023-03-21T07:55:35.261Z] Login Succeeded [2023-03-21T07:55:35.261Z] nexus3.edgexfoundry.org:10003 [2023-03-21T07:55:35.520Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T07:55:35.520Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T07:55:35.520Z] Configure a credential helper to remove this warning. See [2023-03-21T07:55:35.520Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T07:55:35.520Z] [2023-03-21T07:55:35.520Z] Login Succeeded [2023-03-21T07:55:35.520Z] nexus3.edgexfoundry.org:10004 [2023-03-21T07:55:35.520Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T07:55:35.520Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T07:55:35.520Z] Configure a credential helper to remove this warning. See [2023-03-21T07:55:35.520Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T07:55:35.520Z] [2023-03-21T07:55:35.520Z] Login Succeeded [2023-03-21T07:55:35.520Z] docker.io [2023-03-21T07:55:35.520Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T07:55:35.780Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T07:55:35.780Z] Configure a credential helper to remove this warning. See [2023-03-21T07:55:35.780Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T07:55:35.780Z] [2023-03-21T07:55:35.780Z] Login Succeeded [2023-03-21T07:55:35.780Z] ---> docker-login.sh ends [Pipeline] } [2023-03-21T07:55:35.809Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-21T07:55:35.993Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-21T07:55:36.034Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-21T07:55:36.066Z] ========================================================= [2023-03-21T07:55:36.066Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-03-21T07:55:36.066Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T07:55:36.533Z] + 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-21T07:55:36.533Z] Sending build context to Docker daemon 10.8MB [2023-03-21T07:55:36.533Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-03-21T07:55:36.533Z] Step 2/10 : FROM ${BASE} AS builder [2023-03-21T07:55:36.533Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-03-21T07:55:36.533Z] 63b65145d645: Pulling fs layer [2023-03-21T07:55:36.533Z] a2d21d5440eb: Pulling fs layer [2023-03-21T07:55:36.533Z] 935e6c44a52c: Pulling fs layer [2023-03-21T07:55:36.533Z] 94cc34f8dd06: Pulling fs layer [2023-03-21T07:55:36.533Z] 30dea6a524f1: Pulling fs layer [2023-03-21T07:55:36.533Z] a2aff8979fd8: Pulling fs layer [2023-03-21T07:55:36.533Z] 6808be2612f2: Pulling fs layer [2023-03-21T07:55:36.533Z] f25807f1079a: Pulling fs layer [2023-03-21T07:55:36.533Z] 94cc34f8dd06: Waiting [2023-03-21T07:55:36.533Z] 6808be2612f2: Waiting [2023-03-21T07:55:36.533Z] f25807f1079a: Waiting [2023-03-21T07:55:36.533Z] 30dea6a524f1: Waiting [2023-03-21T07:55:36.533Z] a2aff8979fd8: Waiting [2023-03-21T07:55:36.533Z] a2d21d5440eb: Download complete [2023-03-21T07:55:36.795Z] 94cc34f8dd06: Verifying Checksum [2023-03-21T07:55:36.795Z] 94cc34f8dd06: Download complete [2023-03-21T07:55:36.795Z] 30dea6a524f1: Verifying Checksum [2023-03-21T07:55:36.795Z] 30dea6a524f1: Download complete [2023-03-21T07:55:36.795Z] 63b65145d645: Download complete [2023-03-21T07:55:36.795Z] a2aff8979fd8: Verifying Checksum [2023-03-21T07:55:36.795Z] a2aff8979fd8: Download complete [2023-03-21T07:55:36.795Z] 63b65145d645: Pull complete [2023-03-21T07:55:37.059Z] a2d21d5440eb: Pull complete [2023-03-21T07:55:37.318Z] f25807f1079a: Verifying Checksum [2023-03-21T07:55:37.318Z] f25807f1079a: Download complete [2023-03-21T07:55:37.318Z] 935e6c44a52c: Verifying Checksum [2023-03-21T07:55:37.318Z] 935e6c44a52c: Download complete [2023-03-21T07:55:37.576Z] 6808be2612f2: Verifying Checksum [2023-03-21T07:55:37.576Z] 6808be2612f2: Download complete [2023-03-21T07:55:40.857Z] 935e6c44a52c: Pull complete [2023-03-21T07:55:40.857Z] 94cc34f8dd06: Pull complete [2023-03-21T07:55:40.857Z] 30dea6a524f1: Pull complete [2023-03-21T07:55:40.857Z] a2aff8979fd8: Pull complete [2023-03-21T07:55:43.390Z] 6808be2612f2: Pull complete [2023-03-21T07:55:43.955Z] f25807f1079a: Pull complete [2023-03-21T07:55:43.955Z] Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 [2023-03-21T07:55:43.955Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-03-21T07:55:43.955Z] ---> 3b553350e43f [2023-03-21T07:55:43.955Z] Step 3/10 : ARG MAKE=make build [2023-03-21T07:55:47.241Z] ---> Running in 2b4287847c41 [2023-03-21T07:55:47.241Z] Removing intermediate container 2b4287847c41 [2023-03-21T07:55:47.241Z] ---> 2f1fc1dc226b [2023-03-21T07:55:47.241Z] Step 4/10 : WORKDIR /device-sdk-go [2023-03-21T07:55:47.241Z] ---> Running in 4018b02bc6e1 [2023-03-21T07:55:47.241Z] Removing intermediate container 4018b02bc6e1 [2023-03-21T07:55:47.241Z] ---> f0108b662fab [2023-03-21T07:55:47.241Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-03-21T07:55:47.241Z] ---> Running in 055af87d2581 [2023-03-21T07:55:47.241Z] Removing intermediate container 055af87d2581 [2023-03-21T07:55:47.241Z] ---> fe5283c8b77f [2023-03-21T07:55:47.241Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-03-21T07:55:47.241Z] ---> Running in 52ddcfa3ab80 [2023-03-21T07:55:47.500Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-21T07:55:47.759Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-21T07:55:48.018Z] OK: 265 MiB in 53 packages [2023-03-21T07:55:48.276Z] Removing intermediate container 52ddcfa3ab80 [2023-03-21T07:55:48.276Z] ---> 63121674c0e3 [2023-03-21T07:55:48.276Z] Step 7/10 : COPY go.mod vendor* ./ [2023-03-21T07:55:48.276Z] ---> a48b6b302b96 [2023-03-21T07:55:48.276Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-21T07:55:48.276Z] ---> Running in 373923f49e51 [2023-03-21T07:55:49.725Z] Still waiting to schedule task [2023-03-21T07:55:49.725Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-4768’ [2023-03-21T07:56:44.519Z] Removing intermediate container 373923f49e51 [2023-03-21T07:56:44.519Z] ---> 3094c431a58e [2023-03-21T07:56:44.519Z] Step 9/10 : COPY . . [2023-03-21T07:56:44.519Z] ---> 0c7883dc8aba [2023-03-21T07:56:44.519Z] Step 10/10 : RUN ${MAKE} [2023-03-21T07:56:44.519Z] ---> Running in bbd5c68e7280 [2023-03-21T07:56:44.519Z] noop [2023-03-21T07:56:44.519Z] Removing intermediate container bbd5c68e7280 [2023-03-21T07:56:44.519Z] ---> a9f5d9ab9501 [2023-03-21T07:56:44.519Z] Successfully built a9f5d9ab9501 [2023-03-21T07:56:44.519Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T07:56:44.976Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-21T07:56:44.977Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-21T07:56:45.159Z] prd-ubuntu20.04-docker-8c-8g-4770 does not seem to be running inside a container [2023-03-21T07:56:45.189Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1398 -v /w/workspace/gexfoundry_device-sdk-go_PR-1398:/w/workspace/gexfoundry_device-sdk-go_PR-1398:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1398@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1398@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-21T07:56:45.540Z] $ docker top 3cbd45624d76301330e9d70105f723153807e6f4372cce9912072db4b12ef4f2 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-21T07:56:45.929Z] + go version [2023-03-21T07:56:45.929Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-03-21T07:56:45.964Z] $ docker stop --time=1 3cbd45624d76301330e9d70105f723153807e6f4372cce9912072db4b12ef4f2 [2023-03-21T07:56:47.229Z] $ docker rm -f --volumes 3cbd45624d76301330e9d70105f723153807e6f4372cce9912072db4b12ef4f2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T07:56:47.968Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-21T07:56:47.968Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-21T07:56:48.115Z] prd-ubuntu20.04-docker-8c-8g-4770 does not seem to be running inside a container [2023-03-21T07:56:48.147Z] $ 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-1398 -v /w/workspace/gexfoundry_device-sdk-go_PR-1398:/w/workspace/gexfoundry_device-sdk-go_PR-1398:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1398@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1398@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-21T07:56:48.493Z] $ docker top 366223805cdb064a94fd92e17a69c29f7b827de49ff0daa6226c5645e29c57d5 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-21T07:56:48.894Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1398 [Pipeline] fileExists [Pipeline] sh [2023-03-21T07:56:49.267Z] + make test [2023-03-21T07:56:49.267Z] go test -race -coverprofile=coverage.out ./... [2023-03-21T07:56:55.837Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-03-21T07:57:10.705Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-03-21T07:57:10.705Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-03-21T07:57:10.705Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-03-21T07:57:10.705Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-03-21T07:57:10.705Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-03-21T07:57:10.705Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.063s coverage: 27.6% of statements [2023-03-21T07:57:10.705Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-03-21T07:57:10.705Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-03-21T07:57:10.705Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.061s coverage: 78.9% of statements [2023-03-21T07:57:10.705Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.084s coverage: 86.0% of statements [2023-03-21T07:57:11.640Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-03-21T07:57:11.640Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-03-21T07:57:11.640Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.101s coverage: 75.9% of statements [2023-03-21T07:57:11.640Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-03-21T07:57:11.640Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-03-21T07:57:12.576Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-03-21T07:57:15.112Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.081s coverage: 15.2% of statements [2023-03-21T07:57:15.112Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.074s coverage: 65.7% of statements [2023-03-21T07:57:15.112Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.126s coverage: 89.2% of statements [2023-03-21T07:57:15.112Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.062s coverage: 5.5% of statements [2023-03-21T07:57:33.186Z] GO111MODULE=on go vet ./... [2023-03-21T07:57:36.489Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-21T07:57:36.489Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-21T07:57:36.489Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-21T07:57:36.523Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-21T07:57:36.552Z] $ docker stop --time=1 366223805cdb064a94fd92e17a69c29f7b827de49ff0daa6226c5645e29c57d5 [2023-03-21T07:57:39.936Z] $ docker rm -f --volumes 366223805cdb064a94fd92e17a69c29f7b827de49ff0daa6226c5645e29c57d5 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-21T07:57:40.501Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-21T07:57:40.604Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-03-21T07:57:41.270Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-21T07:57:41.577Z] + ls -al . [2023-03-21T07:57:41.577Z] total 276 [2023-03-21T07:57:41.577Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 21 07:56 . [2023-03-21T07:57:41.577Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 21 07:55 .. [2023-03-21T07:57:41.577Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 21 07:55 .dockerignore [2023-03-21T07:57:41.577Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 21 07:55 .git [2023-03-21T07:57:41.577Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 21 07:55 .github [2023-03-21T07:57:41.577Z] -rw-rw-r-- 1 jenkins jenkins 131 Mar 21 07:55 .gitignore [2023-03-21T07:57:41.577Z] -rw-rw-r-- 1 jenkins jenkins 42 Mar 21 07:55 .golangci.yml [2023-03-21T07:57:41.577Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 21 07:55 .semver [2023-03-21T07:57:41.577Z] -rw-rw-r-- 1 jenkins jenkins 31677 Mar 21 07:55 CHANGELOG.md [2023-03-21T07:57:41.577Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 21 07:55 GOVERNANCE.md [2023-03-21T07:57:41.577Z] -rw-rw-r-- 1 jenkins jenkins 885 Mar 21 07:55 Jenkinsfile [2023-03-21T07:57:41.577Z] -rw-rw-r-- 1 jenkins jenkins 11341 Mar 21 07:55 LICENSE [2023-03-21T07:57:41.577Z] -rw-rw-r-- 1 jenkins jenkins 1714 Mar 21 07:55 Makefile [2023-03-21T07:57:41.577Z] -rw-rw-r-- 1 jenkins jenkins 619 Mar 21 07:55 OWNERS.md [2023-03-21T07:57:41.577Z] -rw-rw-r-- 1 jenkins jenkins 4891 Mar 21 07:55 README.md [2023-03-21T07:57:41.577Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 21 07:55 VERSION [2023-03-21T07:57:41.577Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 21 07:55 bin [2023-03-21T07:57:41.577Z] -rw-r--r-- 1 jenkins jenkins 109539 Mar 21 07:57 coverage.out [2023-03-21T07:57:41.577Z] drwxrwxr-x 5 jenkins jenkins 4096 Mar 21 07:55 example [2023-03-21T07:57:41.577Z] -rw-rw-r-- 1 jenkins jenkins 3291 Mar 21 07:55 go.mod [2023-03-21T07:57:41.577Z] -rw-rw-r-- 1 jenkins jenkins 30841 Mar 21 07:55 go.sum [2023-03-21T07:57:41.577Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 21 07:55 internal [2023-03-21T07:57:41.577Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 07:55 openapi [2023-03-21T07:57:41.577Z] drwxrwxr-x 6 jenkins jenkins 4096 Mar 21 07:55 pkg [2023-03-21T07:57:41.577Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 21 07:55 snap [2023-03-21T07:57:41.577Z] -rw-rw-r-- 1 jenkins jenkins 222 Mar 21 07:55 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T07:57:41.966Z] + 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=08559f0c3667562766f5b26454581bf4e5a7b136 --label arch=amd64 --label version=0.0.0 . [2023-03-21T07:57:41.966Z] Sending build context to Docker daemon 10.91MB [2023-03-21T07:57:41.966Z] Step 1/23 : ARG BASE=golang:1.20-alpine3.17 [2023-03-21T07:57:41.966Z] Step 2/23 : FROM ${BASE} AS builder [2023-03-21T07:57:41.966Z] ---> a9f5d9ab9501 [2023-03-21T07:57:41.966Z] Step 3/23 : ARG MAKE=make build [2023-03-21T07:57:42.226Z] ---> Running in 3dd8db02c908 [2023-03-21T07:57:42.484Z] Removing intermediate container 3dd8db02c908 [2023-03-21T07:57:42.484Z] ---> 49f1bbefd402 [2023-03-21T07:57:42.484Z] Step 4/23 : WORKDIR /device-sdk-go [2023-03-21T07:57:42.484Z] ---> Running in ce7c43ddc8ac [2023-03-21T07:57:42.484Z] Removing intermediate container ce7c43ddc8ac [2023-03-21T07:57:42.484Z] ---> 530ae54beee3 [2023-03-21T07:57:42.484Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-03-21T07:57:42.484Z] ---> Running in 65a2ae8768bb [2023-03-21T07:57:42.484Z] Removing intermediate container 65a2ae8768bb [2023-03-21T07:57:42.484Z] ---> 38c4cd5afe19 [2023-03-21T07:57:42.484Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-03-21T07:57:42.743Z] ---> Running in 58b7826203a8 [2023-03-21T07:57:43.002Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-21T07:57:43.002Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-21T07:57:43.261Z] OK: 265 MiB in 53 packages [2023-03-21T07:57:43.531Z] Removing intermediate container 58b7826203a8 [2023-03-21T07:57:43.531Z] ---> 5668e3d031f8 [2023-03-21T07:57:43.531Z] Step 7/23 : COPY go.mod vendor* ./ [2023-03-21T07:57:43.790Z] ---> 3802f1d87a11 [2023-03-21T07:57:43.790Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-21T07:57:43.790Z] ---> Running in 729c6a40e6d3 [2023-03-21T07:57:44.358Z] Removing intermediate container 729c6a40e6d3 [2023-03-21T07:57:44.358Z] ---> cc4b85532fd5 [2023-03-21T07:57:44.358Z] Step 9/23 : COPY . . [2023-03-21T07:57:44.926Z] ---> 68ecc66c21e7 [2023-03-21T07:57:44.926Z] Step 10/23 : RUN ${MAKE} [2023-03-21T07:57:44.926Z] ---> Running in fe32416fb3ea [2023-03-21T07:57:45.185Z] 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-21T07:58:03.267Z] Removing intermediate container fe32416fb3ea [2023-03-21T07:58:03.267Z] ---> e1babe730181 [2023-03-21T07:58:03.267Z] Step 11/23 : FROM alpine:3.17 [2023-03-21T07:58:03.267Z] 3.17: Pulling from library/alpine [2023-03-21T07:58:03.267Z] 63b65145d645: Already exists [2023-03-21T07:58:03.267Z] Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 [2023-03-21T07:58:03.268Z] Status: Downloaded newer image for alpine:3.17 [2023-03-21T07:58:03.268Z] ---> b2aa39c304c2 [2023-03-21T07:58:03.268Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-03-21T07:58:03.268Z] ---> Running in e3a1ab4c6bd0 [2023-03-21T07:58:03.268Z] Removing intermediate container e3a1ab4c6bd0 [2023-03-21T07:58:03.268Z] ---> 6c68ca540925 [2023-03-21T07:58:03.268Z] Step 13/23 : RUN apk add --update --no-cache [2023-03-21T07:58:03.268Z] ---> Running in 18e2216d9da5 [2023-03-21T07:58:03.526Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-21T07:58:03.526Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-21T07:58:03.784Z] OK: 7 MiB in 15 packages [2023-03-21T07:58:04.043Z] Removing intermediate container 18e2216d9da5 [2023-03-21T07:58:04.043Z] ---> 187ac0674f30 [2023-03-21T07:58:04.043Z] Step 14/23 : WORKDIR / [2023-03-21T07:58:04.043Z] ---> Running in 182799aca31b [2023-03-21T07:58:04.302Z] Removing intermediate container 182799aca31b [2023-03-21T07:58:04.302Z] ---> 1a424a3aa952 [2023-03-21T07:58:04.302Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-03-21T07:58:04.302Z] ---> 04a737f647d5 [2023-03-21T07:58:04.302Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-03-21T07:58:05.248Z] ---> e58b48e453e0 [2023-03-21T07:58:05.248Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-03-21T07:58:05.248Z] ---> 98b701b01ec6 [2023-03-21T07:58:05.248Z] Step 18/23 : EXPOSE 59999 [2023-03-21T07:58:05.248Z] ---> Running in 33ef61d91adc [2023-03-21T07:58:05.248Z] Removing intermediate container 33ef61d91adc [2023-03-21T07:58:05.248Z] ---> e2140906620e [2023-03-21T07:58:05.248Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-03-21T07:58:05.248Z] ---> Running in f66666cf7281 [2023-03-21T07:58:05.248Z] Removing intermediate container f66666cf7281 [2023-03-21T07:58:05.248Z] ---> 665e5b9fad76 [2023-03-21T07:58:05.248Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-03-21T07:58:05.506Z] ---> Running in 3d5ca960b5d9 [2023-03-21T07:58:05.506Z] Removing intermediate container 3d5ca960b5d9 [2023-03-21T07:58:05.506Z] ---> d2b1d35b4db0 [2023-03-21T07:58:05.506Z] Step 21/23 : LABEL arch=amd64 [2023-03-21T07:58:05.506Z] ---> Running in 11929316c502 [2023-03-21T07:58:05.506Z] Removing intermediate container 11929316c502 [2023-03-21T07:58:05.506Z] ---> 0357f98c1b2e [2023-03-21T07:58:05.506Z] Step 22/23 : LABEL git_sha=08559f0c3667562766f5b26454581bf4e5a7b136 [2023-03-21T07:58:05.506Z] ---> Running in a5aec45905ae [2023-03-21T07:58:05.506Z] Removing intermediate container a5aec45905ae [2023-03-21T07:58:05.506Z] ---> 9e8301a3e6d9 [2023-03-21T07:58:05.506Z] Step 23/23 : LABEL version=0.0.0 [2023-03-21T07:58:05.506Z] ---> Running in 6fb50065fc9b [2023-03-21T07:58:05.765Z] Removing intermediate container 6fb50065fc9b [2023-03-21T07:58:05.765Z] ---> bf54a4d9d16a [2023-03-21T07:58:05.765Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-21T07:58:05.765Z] Successfully built bf54a4d9d16a [2023-03-21T07:58:05.765Z] 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-21T07:58:06.636Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-21T07:58:06.636Z] [2023-03-21T07:58:06.636Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T07:58:07.007Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-21T07:58:07.008Z] latest: Pulling from edgex-lftools-log-publisher [2023-03-21T07:58:07.008Z] 5eb5b503b376: Pulling fs layer [2023-03-21T07:58:07.008Z] 5c69ac0246d0: Pulling fs layer [2023-03-21T07:58:07.008Z] ec43610c2a17: Pulling fs layer [2023-03-21T07:58:07.008Z] 3a2ae6a8a46f: Pulling fs layer [2023-03-21T07:58:07.008Z] 33b1e0a273af: Pulling fs layer [2023-03-21T07:58:07.008Z] 5d3b04190fa2: Pulling fs layer [2023-03-21T07:58:07.008Z] 2f39f015ded8: Pulling fs layer [2023-03-21T07:58:07.008Z] 33b1e0a273af: Waiting [2023-03-21T07:58:07.008Z] 5d3b04190fa2: Waiting [2023-03-21T07:58:07.008Z] 2f39f015ded8: Waiting [2023-03-21T07:58:07.008Z] 3a2ae6a8a46f: Waiting [2023-03-21T07:58:07.008Z] 5c69ac0246d0: Verifying Checksum [2023-03-21T07:58:07.008Z] 5c69ac0246d0: Download complete [2023-03-21T07:58:07.008Z] 3a2ae6a8a46f: Verifying Checksum [2023-03-21T07:58:07.008Z] 3a2ae6a8a46f: Download complete [2023-03-21T07:58:07.266Z] 33b1e0a273af: Verifying Checksum [2023-03-21T07:58:07.266Z] 33b1e0a273af: Download complete [2023-03-21T07:58:07.266Z] 5d3b04190fa2: Verifying Checksum [2023-03-21T07:58:07.266Z] 5d3b04190fa2: Download complete [2023-03-21T07:58:07.266Z] ec43610c2a17: Verifying Checksum [2023-03-21T07:58:07.266Z] ec43610c2a17: Download complete [2023-03-21T07:58:07.266Z] 5eb5b503b376: Verifying Checksum [2023-03-21T07:58:07.266Z] 5eb5b503b376: Download complete [2023-03-21T07:58:07.831Z] 2f39f015ded8: Verifying Checksum [2023-03-21T07:58:07.831Z] 2f39f015ded8: Download complete [2023-03-21T07:58:08.397Z] 5eb5b503b376: Pull complete [2023-03-21T07:58:08.397Z] 5c69ac0246d0: Pull complete [2023-03-21T07:58:08.962Z] ec43610c2a17: Pull complete [2023-03-21T07:58:08.962Z] 3a2ae6a8a46f: Pull complete [2023-03-21T07:58:08.962Z] 33b1e0a273af: Pull complete [2023-03-21T07:58:09.221Z] 5d3b04190fa2: Pull complete [2023-03-21T07:58:13.407Z] 2f39f015ded8: Pull complete [2023-03-21T07:58:13.407Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-03-21T07:58:13.407Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-21T07:58:13.407Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-21T07:58:13.621Z] prd-ubuntu20.04-docker-8c-8g-4770 does not seem to be running inside a container [2023-03-21T07:58:13.652Z] $ 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-1398 -v /w/workspace/gexfoundry_device-sdk-go_PR-1398:/w/workspace/gexfoundry_device-sdk-go_PR-1398:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1398@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1398@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-21T07:58:16.187Z] $ docker top 49d5169bd53bfe286b600484799cb336216c91f04958e71cac56260420474b0b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-21T07:58:16.638Z] ---> job-cost.sh [2023-03-21T07:58:16.638Z] lf-activate-venv: SKIPPING [2023-03-21T07:58:16.638Z] INFO: No Stack... [2023-03-21T07:58:16.897Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-21T07:58:17.156Z] INFO: Archiving Costs [Pipeline] sh [2023-03-21T07:58:17.471Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1398/archives/cost.csv [2023-03-21T07:58:17.471Z] + cut -d, -f6 [Pipeline] lock [2023-03-21T07:58:17.512Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1398-1-stack-cost] [2023-03-21T07:58:17.517Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1398-1-stack-cost] did not exist. Created. [2023-03-21T07:58:17.517Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1398-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-21T07:58:17.907Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-03-21T07:58:17.962Z] Stashed 1 file(s) [Pipeline] } [2023-03-21T07:58:17.991Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1398-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-21T07:58:18.077Z] $ docker stop --time=1 49d5169bd53bfe286b600484799cb336216c91f04958e71cac56260420474b0b [2023-03-21T07:58:19.226Z] $ docker rm -f --volumes 49d5169bd53bfe286b600484799cb336216c91f04958e71cac56260420474b0b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-21T07:59:21.098Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-4771 in /w/workspace/gexfoundry_device-sdk-go_PR-1398 [Pipeline] { [Pipeline] ws [2023-03-21T07:59:21.151Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2023-03-21T07:59:21.227Z] The recommended git tool is: git [2023-03-21T07:59:27.140Z] using credential edgex-jenkins-ssh [2023-03-21T07:59:27.154Z] Cloning the remote Git repository [2023-03-21T07:59:27.199Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-03-21T07:59:27.289Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2023-03-21T07:59:27.435Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-03-21T07:59:27.436Z] > git --version # timeout=10 [2023-03-21T07:59:27.456Z] > git --version # 'git version 2.25.1' [2023-03-21T07:59:27.459Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-21T07:59:27.609Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-21T07:59:29.205Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-03-21T07:59:29.227Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-21T07:59:30.790Z] Merging remotes/origin/main commit c61610bbbff1187c8ac68f5c7e0a10add7b75ddb into PR head commit 08559f0c3667562766f5b26454581bf4e5a7b136 [2023-03-21T07:59:31.101Z] Merge succeeded, producing 08559f0c3667562766f5b26454581bf4e5a7b136 [2023-03-21T07:59:31.101Z] Checking out Revision 08559f0c3667562766f5b26454581bf4e5a7b136 (PR-1398) [2023-03-21T07:59:30.093Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-03-21T07:59:30.139Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-03-21T07:59:30.140Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-21T07:59:30.158Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1398/head:refs/remotes/origin/PR-1398 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-03-21T07:59:30.812Z] > git config core.sparsecheckout # timeout=10 [2023-03-21T07:59:30.893Z] > git checkout -f 08559f0c3667562766f5b26454581bf4e5a7b136 # timeout=10 [2023-03-21T07:59:31.001Z] > git remote # timeout=10 [2023-03-21T07:59:31.022Z] > git config --get remote.origin.url # timeout=10 [2023-03-21T07:59:31.039Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-21T07:59:31.054Z] > git merge c61610bbbff1187c8ac68f5c7e0a10add7b75ddb # timeout=10 [2023-03-21T07:59:31.086Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-03-21T07:59:31.110Z] > git config core.sparsecheckout # timeout=10 [2023-03-21T07:59:31.123Z] > git checkout -f 08559f0c3667562766f5b26454581bf4e5a7b136 # timeout=10 [2023-03-21T07:59:34.610Z] Commit message: "fix: issue-1397" [2023-03-21T07:59:34.661Z] > git --version # timeout=10 [2023-03-21T07:59:34.672Z] > git --version # 'git version 2.25.1' [2023-03-21T07:59:34.698Z] fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-21T07:59:35.868Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-03-21T07:59:35.868Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-21T07:59:35.868Z] Dload Upload Total Spent Left Speed [2023-03-21T07:59:35.868Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 98k 0 --:--:-- --:--:-- --:--:-- 98k [Pipeline] sh [2023-03-21T07:59:36.599Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-03-21T07:59:36.954Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-03-21T07:59:36.954Z] + sudo tee /etc/docker/daemon.new [2023-03-21T07:59:36.954Z] { [2023-03-21T07:59:36.954Z] "registry-mirrors": [ [2023-03-21T07:59:36.954Z] "https://nexus3.edgexfoundry.org:10001" [2023-03-21T07:59:36.954Z] ], [2023-03-21T07:59:36.954Z] "bip": "10.250.0.254/24", [2023-03-21T07:59:36.954Z] "hosts": [ [2023-03-21T07:59:36.954Z] "tcp://0.0.0.0:5555", [2023-03-21T07:59:36.954Z] "unix:///var/run/docker.sock" [2023-03-21T07:59:36.954Z] ], [2023-03-21T07:59:36.954Z] "mtu": 1458, [2023-03-21T07:59:36.954Z] "selinux-enabled": true, [2023-03-21T07:59:36.954Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-03-21T07:59:36.954Z] } [Pipeline] sh [2023-03-21T07:59:37.298Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-03-21T07:59:37.648Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-21T07:59:55.973Z] provisioning config files... [2023-03-21T07:59:56.002Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config13934762993360665696tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-21T07:59:56.395Z] ---> docker-login.sh [2023-03-21T07:59:56.395Z] nexus3.edgexfoundry.org:10001 [2023-03-21T07:59:56.986Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T07:59:56.986Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T07:59:56.986Z] Configure a credential helper to remove this warning. See [2023-03-21T07:59:56.986Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T07:59:56.986Z] [2023-03-21T07:59:56.986Z] Login Succeeded [2023-03-21T07:59:56.986Z] nexus3.edgexfoundry.org:10002 [2023-03-21T07:59:57.257Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T07:59:57.257Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T07:59:57.258Z] Configure a credential helper to remove this warning. See [2023-03-21T07:59:57.258Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T07:59:57.258Z] [2023-03-21T07:59:57.258Z] Login Succeeded [2023-03-21T07:59:57.258Z] nexus3.edgexfoundry.org:10003 [2023-03-21T07:59:57.526Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T07:59:57.799Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T07:59:57.799Z] Configure a credential helper to remove this warning. See [2023-03-21T07:59:57.799Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T07:59:57.799Z] [2023-03-21T07:59:57.799Z] Login Succeeded [2023-03-21T07:59:57.799Z] nexus3.edgexfoundry.org:10004 [2023-03-21T07:59:58.074Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T07:59:58.074Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T07:59:58.074Z] Configure a credential helper to remove this warning. See [2023-03-21T07:59:58.074Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T07:59:58.074Z] [2023-03-21T07:59:58.074Z] Login Succeeded [2023-03-21T07:59:58.074Z] docker.io [2023-03-21T07:59:58.346Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T07:59:58.614Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T07:59:58.614Z] Configure a credential helper to remove this warning. See [2023-03-21T07:59:58.614Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T07:59:58.614Z] [2023-03-21T07:59:58.614Z] Login Succeeded [2023-03-21T07:59:58.614Z] ---> docker-login.sh ends [Pipeline] } [2023-03-21T07:59:58.644Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-21T07:59:59.000Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-21T07:59:59.034Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-21T07:59:59.068Z] ========================================================= [2023-03-21T07:59:59.068Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-03-21T07:59:59.068Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T07:59:59.562Z] + 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-21T07:59:59.831Z] Sending build context to Docker daemon 5.802MB [2023-03-21T08:00:00.103Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-03-21T08:00:00.103Z] Step 2/10 : FROM ${BASE} AS builder [2023-03-21T08:00:00.103Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-03-21T08:00:00.103Z] af6eaf76a39c: Pulling fs layer [2023-03-21T08:00:00.103Z] 55522c791124: Pulling fs layer [2023-03-21T08:00:00.103Z] ce5c4a1c91eb: Pulling fs layer [2023-03-21T08:00:00.103Z] 169dfbe0d373: Pulling fs layer [2023-03-21T08:00:00.103Z] e1ff8fa3b103: Pulling fs layer [2023-03-21T08:00:00.103Z] 52ebb69f0ebf: Pulling fs layer [2023-03-21T08:00:00.103Z] 5abe8eddf0d5: Pulling fs layer [2023-03-21T08:00:00.103Z] e1ff8fa3b103: Waiting [2023-03-21T08:00:00.103Z] 169dfbe0d373: Waiting [2023-03-21T08:00:00.103Z] 52ebb69f0ebf: Waiting [2023-03-21T08:00:00.103Z] 5abe8eddf0d5: Waiting [2023-03-21T08:00:00.103Z] 55522c791124: Download complete [2023-03-21T08:00:00.103Z] 169dfbe0d373: Verifying Checksum [2023-03-21T08:00:00.103Z] 169dfbe0d373: Download complete [2023-03-21T08:00:00.378Z] e1ff8fa3b103: Verifying Checksum [2023-03-21T08:00:00.378Z] e1ff8fa3b103: Download complete [2023-03-21T08:00:00.378Z] af6eaf76a39c: Download complete [2023-03-21T08:00:01.351Z] af6eaf76a39c: Pull complete [2023-03-21T08:00:01.351Z] 5abe8eddf0d5: Verifying Checksum [2023-03-21T08:00:01.351Z] 5abe8eddf0d5: Download complete [2023-03-21T08:00:02.791Z] ce5c4a1c91eb: Verifying Checksum [2023-03-21T08:00:02.791Z] ce5c4a1c91eb: Download complete [2023-03-21T08:00:02.791Z] 52ebb69f0ebf: Verifying Checksum [2023-03-21T08:00:02.791Z] 52ebb69f0ebf: Download complete [2023-03-21T08:00:05.385Z] 55522c791124: Pull complete [2023-03-21T08:00:15.492Z] ce5c4a1c91eb: Pull complete [2023-03-21T08:00:15.492Z] 169dfbe0d373: Pull complete [2023-03-21T08:00:15.761Z] e1ff8fa3b103: Pull complete [2023-03-21T08:00:22.419Z] 52ebb69f0ebf: Pull complete [2023-03-21T08:00:24.370Z] 5abe8eddf0d5: Pull complete [2023-03-21T08:00:24.370Z] Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f [2023-03-21T08:00:24.370Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-03-21T08:00:24.370Z] ---> 6cb57ee374ae [2023-03-21T08:00:24.370Z] Step 3/10 : ARG MAKE=make build [2023-03-21T08:00:26.336Z] ---> Running in b81863c2e81c [2023-03-21T08:00:26.336Z] Removing intermediate container b81863c2e81c [2023-03-21T08:00:26.336Z] ---> 828fcbfa7911 [2023-03-21T08:00:26.336Z] Step 4/10 : WORKDIR /device-sdk-go [2023-03-21T08:00:26.336Z] ---> Running in 2b7c6d46e2d7 [2023-03-21T08:00:26.610Z] Removing intermediate container 2b7c6d46e2d7 [2023-03-21T08:00:26.610Z] ---> 6f2c57b3b731 [2023-03-21T08:00:26.610Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-03-21T08:00:26.610Z] ---> Running in 1b8b1268aaaf [2023-03-21T08:00:27.196Z] Removing intermediate container 1b8b1268aaaf [2023-03-21T08:00:27.196Z] ---> 91a28da07385 [2023-03-21T08:00:27.196Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-03-21T08:00:27.196Z] ---> Running in 95e58372e445 [2023-03-21T08:00:28.620Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-21T08:00:28.888Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-21T08:00:30.307Z] OK: 263 MiB in 53 packages [2023-03-21T08:00:32.896Z] Removing intermediate container 95e58372e445 [2023-03-21T08:00:32.896Z] ---> d8f9be1d107e [2023-03-21T08:00:32.896Z] Step 7/10 : COPY go.mod vendor* ./ [2023-03-21T08:00:33.482Z] ---> 5921fa5c07cf [2023-03-21T08:00:33.482Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-21T08:00:33.482Z] ---> Running in 784aadda8228 [2023-03-21T08:01:41.628Z] Removing intermediate container 784aadda8228 [2023-03-21T08:01:41.628Z] ---> 6df41fcf609e [2023-03-21T08:01:41.628Z] Step 9/10 : COPY . . [2023-03-21T08:01:41.628Z] ---> dd6975db1321 [2023-03-21T08:01:41.628Z] Step 10/10 : RUN ${MAKE} [2023-03-21T08:01:41.628Z] ---> Running in 3c2d077028d4 [2023-03-21T08:01:41.628Z] noop [2023-03-21T08:01:41.628Z] Removing intermediate container 3c2d077028d4 [2023-03-21T08:01:41.628Z] ---> eb37405a6e83 [2023-03-21T08:01:41.628Z] Successfully built eb37405a6e83 [2023-03-21T08:01:41.628Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T08:01:42.113Z] + docker inspect -f . ci-base-image-arm64 [2023-03-21T08:01:42.113Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-21T08:01:42.389Z] prd-ubuntu20.04-docker-arm64-4c-16g-4771 does not seem to be running inside a container [2023-03-21T08:01:42.459Z] $ 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 ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-21T08:01:43.593Z] $ docker top f657096c6dffacda08273fb3110b48eee438061f29028e64f8e64167532af804 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-21T08:01:44.481Z] + go version [2023-03-21T08:01:44.481Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-03-21T08:01:44.520Z] $ docker stop --time=1 f657096c6dffacda08273fb3110b48eee438061f29028e64f8e64167532af804 [2023-03-21T08:01:46.320Z] $ docker rm -f --volumes f657096c6dffacda08273fb3110b48eee438061f29028e64f8e64167532af804 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T08:01:47.186Z] + docker inspect -f . ci-base-image-arm64 [2023-03-21T08:01:47.186Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-21T08:01:47.441Z] prd-ubuntu20.04-docker-arm64-4c-16g-4771 does not seem to be running inside a container [2023-03-21T08:01:47.515Z] $ 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 ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-21T08:01:48.729Z] $ docker top e9288d0f51f6c41065ebfca6f789ea5bc14492a31f8ace6b3d238dfab61950fb -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-21T08:01:49.609Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh [2023-03-21T08:01:49.999Z] + make test [2023-03-21T08:01:49.999Z] go test -race -coverprofile=coverage.out ./... [2023-03-21T08:02:36.847Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-03-21T08:04:28.502Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-03-21T08:04:28.502Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-03-21T08:04:28.502Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-03-21T08:04:28.502Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-03-21T08:04:28.502Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-03-21T08:04:38.600Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.220s coverage: 27.6% of statements [2023-03-21T08:04:38.884Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.255s coverage: 78.9% of statements [2023-03-21T08:04:48.962Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-03-21T08:04:48.963Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-03-21T08:04:48.963Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.353s coverage: 86.0% of statements [2023-03-21T08:04:53.204Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-03-21T08:04:53.204Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-03-21T08:04:53.204Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.448s coverage: 75.9% of statements [2023-03-21T08:04:55.945Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.275s coverage: 15.2% of statements [2023-03-21T08:04:57.941Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-03-21T08:04:57.941Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-03-21T08:04:58.213Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.410s coverage: 65.7% of statements [2023-03-21T08:05:00.800Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.462s coverage: 89.2% of statements [2023-03-21T08:05:02.741Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-03-21T08:05:02.741Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.237s coverage: 5.5% of statements [2023-03-21T08:05:03.702Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-03-21T08:05:03.702Z] GO111MODULE=on go vet ./... [2023-03-21T08:07:25.965Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-21T08:07:25.965Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-21T08:07:25.965Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-21T08:07:26.004Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-21T08:07:26.035Z] $ docker stop --time=1 e9288d0f51f6c41065ebfca6f789ea5bc14492a31f8ace6b3d238dfab61950fb [2023-03-21T08:07:28.730Z] $ docker rm -f --volumes e9288d0f51f6c41065ebfca6f789ea5bc14492a31f8ace6b3d238dfab61950fb [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-21T08:07:30.335Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-21T08:07:30.370Z] Warning: overwriting stash ‘coverage-report’ [2023-03-21T08:07:30.945Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-21T08:07:31.531Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-21T08:07:31.867Z] + ls -al . [2023-03-21T08:07:31.867Z] total 272 [2023-03-21T08:07:31.867Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 21 08:01 . [2023-03-21T08:07:31.867Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 21 07:59 .. [2023-03-21T08:07:31.867Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 21 07:59 .dockerignore [2023-03-21T08:07:31.867Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 21 07:59 .git [2023-03-21T08:07:31.867Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 21 07:59 .github [2023-03-21T08:07:31.867Z] -rw-rw-r-- 1 jenkins jenkins 131 Mar 21 07:59 .gitignore [2023-03-21T08:07:31.867Z] -rw-rw-r-- 1 jenkins jenkins 42 Mar 21 07:59 .golangci.yml [2023-03-21T08:07:31.867Z] -rw-rw-r-- 1 jenkins jenkins 31677 Mar 21 07:59 CHANGELOG.md [2023-03-21T08:07:31.867Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 21 07:59 GOVERNANCE.md [2023-03-21T08:07:31.867Z] -rw-rw-r-- 1 jenkins jenkins 885 Mar 21 07:59 Jenkinsfile [2023-03-21T08:07:31.867Z] -rw-rw-r-- 1 jenkins jenkins 11341 Mar 21 07:59 LICENSE [2023-03-21T08:07:31.867Z] -rw-rw-r-- 1 jenkins jenkins 1714 Mar 21 07:59 Makefile [2023-03-21T08:07:31.867Z] -rw-rw-r-- 1 jenkins jenkins 619 Mar 21 07:59 OWNERS.md [2023-03-21T08:07:31.867Z] -rw-rw-r-- 1 jenkins jenkins 4891 Mar 21 07:59 README.md [2023-03-21T08:07:31.867Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 21 07:55 VERSION [2023-03-21T08:07:31.867Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 21 07:59 bin [2023-03-21T08:07:31.867Z] -rw-r--r-- 1 jenkins jenkins 109538 Mar 21 08:05 coverage.out [2023-03-21T08:07:31.867Z] drwxrwxr-x 5 jenkins jenkins 4096 Mar 21 07:59 example [2023-03-21T08:07:31.867Z] -rw-rw-r-- 1 jenkins jenkins 3291 Mar 21 07:59 go.mod [2023-03-21T08:07:31.867Z] -rw-rw-r-- 1 jenkins jenkins 30841 Mar 21 07:59 go.sum [2023-03-21T08:07:31.867Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 21 07:59 internal [2023-03-21T08:07:31.867Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 07:59 openapi [2023-03-21T08:07:31.867Z] drwxrwxr-x 6 jenkins jenkins 4096 Mar 21 07:59 pkg [2023-03-21T08:07:31.867Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 21 07:59 snap [2023-03-21T08:07:31.867Z] -rw-rw-r-- 1 jenkins jenkins 222 Mar 21 07:59 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T08:07:32.274Z] + 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=08559f0c3667562766f5b26454581bf4e5a7b136 --label arch=arm64 --label version=0.0.0 . [2023-03-21T08:07:32.860Z] Sending build context to Docker daemon 5.912MB [2023-03-21T08:07:32.860Z] Step 1/23 : ARG BASE=golang:1.20-alpine3.17 [2023-03-21T08:07:32.860Z] Step 2/23 : FROM ${BASE} AS builder [2023-03-21T08:07:32.860Z] ---> eb37405a6e83 [2023-03-21T08:07:32.860Z] Step 3/23 : ARG MAKE=make build [2023-03-21T08:07:32.860Z] ---> Running in 0115cde5b0f3 [2023-03-21T08:07:33.134Z] Removing intermediate container 0115cde5b0f3 [2023-03-21T08:07:33.134Z] ---> de1b42980002 [2023-03-21T08:07:33.134Z] Step 4/23 : WORKDIR /device-sdk-go [2023-03-21T08:07:33.134Z] ---> Running in f28c4e4eab2b [2023-03-21T08:07:33.726Z] Removing intermediate container f28c4e4eab2b [2023-03-21T08:07:33.726Z] ---> 92beb81af573 [2023-03-21T08:07:33.726Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-03-21T08:07:33.726Z] ---> Running in 2597d17ac073 [2023-03-21T08:07:33.997Z] Removing intermediate container 2597d17ac073 [2023-03-21T08:07:33.997Z] ---> 0b09899aa7bc [2023-03-21T08:07:33.997Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-03-21T08:07:33.997Z] ---> Running in c1b4e7fe69fb [2023-03-21T08:07:34.958Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-21T08:07:35.540Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-21T08:07:36.497Z] OK: 263 MiB in 53 packages [2023-03-21T08:07:37.457Z] Removing intermediate container c1b4e7fe69fb [2023-03-21T08:07:37.457Z] ---> fe6c54af0cf3 [2023-03-21T08:07:37.457Z] Step 7/23 : COPY go.mod vendor* ./ [2023-03-21T08:07:40.796Z] ---> 08608d096ff0 [2023-03-21T08:07:40.796Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-21T08:07:41.065Z] ---> Running in 22636d78f464 [2023-03-21T08:07:43.656Z] Removing intermediate container 22636d78f464 [2023-03-21T08:07:43.656Z] ---> 9ae2d64cf6d6 [2023-03-21T08:07:43.656Z] Step 9/23 : COPY . . [2023-03-21T08:07:44.616Z] ---> a150fbb2d002 [2023-03-21T08:07:44.616Z] Step 10/23 : RUN ${MAKE} [2023-03-21T08:07:44.883Z] ---> Running in 4e22b1162f0c [2023-03-21T08:07:45.845Z] 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-21T08:10:07.509Z] Removing intermediate container 4e22b1162f0c [2023-03-21T08:10:07.509Z] ---> 18ba92d89c29 [2023-03-21T08:10:07.509Z] Step 11/23 : FROM alpine:3.17 [2023-03-21T08:10:07.509Z] 3.17: Pulling from library/alpine [2023-03-21T08:10:07.509Z] af6eaf76a39c: Already exists [2023-03-21T08:10:07.509Z] Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 [2023-03-21T08:10:07.509Z] Status: Downloaded newer image for alpine:3.17 [2023-03-21T08:10:07.509Z] ---> d74e625d9115 [2023-03-21T08:10:07.509Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-03-21T08:10:07.509Z] ---> Running in efe9c8d57dd8 [2023-03-21T08:10:07.509Z] Removing intermediate container efe9c8d57dd8 [2023-03-21T08:10:07.509Z] ---> 78e92ba23501 [2023-03-21T08:10:07.509Z] Step 13/23 : RUN apk add --update --no-cache [2023-03-21T08:10:07.509Z] ---> Running in 7cfb6bdc6656 [2023-03-21T08:10:07.509Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-21T08:10:07.509Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-21T08:10:07.509Z] OK: 7 MiB in 15 packages [2023-03-21T08:10:07.509Z] Removing intermediate container 7cfb6bdc6656 [2023-03-21T08:10:07.509Z] ---> ffbdc3590807 [2023-03-21T08:10:07.509Z] Step 14/23 : WORKDIR / [2023-03-21T08:10:07.509Z] ---> Running in 3e924b7944de [2023-03-21T08:10:07.509Z] Removing intermediate container 3e924b7944de [2023-03-21T08:10:07.509Z] ---> d7b826c813d0 [2023-03-21T08:10:07.509Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-03-21T08:10:07.509Z] ---> 437d3187e10c [2023-03-21T08:10:07.509Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-03-21T08:10:10.100Z] ---> ad872631f3ab [2023-03-21T08:10:10.100Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-03-21T08:10:10.686Z] ---> 694ede1699a8 [2023-03-21T08:10:10.686Z] Step 18/23 : EXPOSE 59999 [2023-03-21T08:10:10.952Z] ---> Running in 2c1c39e63636 [2023-03-21T08:10:11.535Z] Removing intermediate container 2c1c39e63636 [2023-03-21T08:10:11.535Z] ---> cce4245642fc [2023-03-21T08:10:11.535Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-03-21T08:10:11.535Z] ---> Running in 4690090accd8 [2023-03-21T08:10:12.124Z] Removing intermediate container 4690090accd8 [2023-03-21T08:10:12.124Z] ---> 60c6c90f9572 [2023-03-21T08:10:12.124Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-03-21T08:10:12.124Z] ---> Running in 8eeb9fb34cc7 [2023-03-21T08:10:12.705Z] Removing intermediate container 8eeb9fb34cc7 [2023-03-21T08:10:12.705Z] ---> 503fda68d904 [2023-03-21T08:10:12.705Z] Step 21/23 : LABEL arch=arm64 [2023-03-21T08:10:12.705Z] ---> Running in 2c369c93989c [2023-03-21T08:10:13.288Z] Removing intermediate container 2c369c93989c [2023-03-21T08:10:13.288Z] ---> 4be570207cb4 [2023-03-21T08:10:13.288Z] Step 22/23 : LABEL git_sha=08559f0c3667562766f5b26454581bf4e5a7b136 [2023-03-21T08:10:13.288Z] ---> Running in ae2f03438d3b [2023-03-21T08:10:13.867Z] Removing intermediate container ae2f03438d3b [2023-03-21T08:10:13.867Z] ---> b3ae20332f56 [2023-03-21T08:10:13.867Z] Step 23/23 : LABEL version=0.0.0 [2023-03-21T08:10:13.867Z] ---> Running in ad3f50cae067 [2023-03-21T08:10:14.135Z] Removing intermediate container ad3f50cae067 [2023-03-21T08:10:14.135Z] ---> b2b137321f2a [2023-03-21T08:10:14.135Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-21T08:10:14.135Z] Successfully built b2b137321f2a [2023-03-21T08:10:14.404Z] 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-21T08:10:15.186Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-21T08:10:15.187Z] [2023-03-21T08:10:15.187Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T08:10:15.599Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-21T08:10:18.183Z] arm64: Pulling from edgex-lftools-log-publisher [2023-03-21T08:10:18.183Z] 8998bd30e6a1: Pulling fs layer [2023-03-21T08:10:18.183Z] 04944245beec: Pulling fs layer [2023-03-21T08:10:18.183Z] 699f458cf7ca: Pulling fs layer [2023-03-21T08:10:18.183Z] 765212b225bb: Pulling fs layer [2023-03-21T08:10:18.183Z] f23df028b6ca: Pulling fs layer [2023-03-21T08:10:18.183Z] d65c8cfc05b1: Pulling fs layer [2023-03-21T08:10:18.183Z] 2437ff75d9bd: Pulling fs layer [2023-03-21T08:10:18.183Z] f23df028b6ca: Waiting [2023-03-21T08:10:18.183Z] d65c8cfc05b1: Waiting [2023-03-21T08:10:18.183Z] 2437ff75d9bd: Waiting [2023-03-21T08:10:18.183Z] 765212b225bb: Waiting [2023-03-21T08:10:18.183Z] 04944245beec: Verifying Checksum [2023-03-21T08:10:18.183Z] 04944245beec: Download complete [2023-03-21T08:10:18.183Z] 765212b225bb: Verifying Checksum [2023-03-21T08:10:18.183Z] 765212b225bb: Download complete [2023-03-21T08:10:18.183Z] f23df028b6ca: Verifying Checksum [2023-03-21T08:10:18.183Z] f23df028b6ca: Download complete [2023-03-21T08:10:18.452Z] d65c8cfc05b1: Verifying Checksum [2023-03-21T08:10:18.452Z] d65c8cfc05b1: Download complete [2023-03-21T08:10:18.452Z] 699f458cf7ca: Verifying Checksum [2023-03-21T08:10:18.452Z] 699f458cf7ca: Download complete [2023-03-21T08:10:19.040Z] 8998bd30e6a1: Verifying Checksum [2023-03-21T08:10:19.040Z] 8998bd30e6a1: Download complete [2023-03-21T08:10:21.642Z] 2437ff75d9bd: Verifying Checksum [2023-03-21T08:10:21.642Z] 2437ff75d9bd: Download complete [2023-03-21T08:10:24.984Z] 8998bd30e6a1: Pull complete [2023-03-21T08:10:25.252Z] 04944245beec: Pull complete [2023-03-21T08:10:26.661Z] 699f458cf7ca: Pull complete [2023-03-21T08:10:26.661Z] 765212b225bb: Pull complete [2023-03-21T08:10:27.621Z] f23df028b6ca: Pull complete [2023-03-21T08:10:27.621Z] d65c8cfc05b1: Pull complete [2023-03-21T08:10:42.613Z] 2437ff75d9bd: Pull complete [2023-03-21T08:10:42.613Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-03-21T08:10:42.613Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-21T08:10:42.613Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-21T08:10:42.930Z] prd-ubuntu20.04-docker-arm64-4c-16g-4771 does not seem to be running inside a container [2023-03-21T08:10:42.998Z] $ 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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-03-21T08:10:45.913Z] $ docker top f642f826300ae21f098befd45f8458f79622572e2c17d6810cd5cf1fa079293a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-21T08:10:46.854Z] ---> job-cost.sh [2023-03-21T08:10:46.854Z] lf-activate-venv: SKIPPING [2023-03-21T08:10:46.854Z] INFO: No Stack... [2023-03-21T08:10:47.438Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-03-21T08:10:48.024Z] INFO: Archiving Costs [Pipeline] sh [2023-03-21T08:10:48.696Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2023-03-21T08:10:48.697Z] + cut -d, -f6 [Pipeline] lock [2023-03-21T08:10:48.789Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1398-1-stack-cost] [2023-03-21T08:10:48.793Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1398-1-stack-cost] did not exist. Created. [2023-03-21T08:10:48.793Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1398-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-21T08:10:49.519Z] /w/workspace/device-sdk-go/1@tmp/durable-ba16ce8a/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-03-21T08:10:49.871Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-03-21T08:10:49.905Z] Warning: overwriting stash ‘stack-cost’ [2023-03-21T08:10:49.969Z] Stashed 1 file(s) [Pipeline] } [2023-03-21T08:10:49.983Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1398-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-21T08:10:50.058Z] $ docker stop --time=1 f642f826300ae21f098befd45f8458f79622572e2c17d6810cd5cf1fa079293a [2023-03-21T08:10:51.575Z] $ docker rm -f --volumes f642f826300ae21f098befd45f8458f79622572e2c17d6810cd5cf1fa079293a [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-21T08:10:52.505Z] provisioning config files... [2023-03-21T08:10:52.513Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1398@tmp/config7862926469251389611tmp [Pipeline] { [Pipeline] sh [2023-03-21T08:10:52.843Z] + set +x [2023-03-21T08:10:52.843Z] + bash -s -- [2023-03-21T08:10:52.843Z] + curl -s https://codecov.io/bash [2023-03-21T08:10:52.843Z] [2023-03-21T08:10:52.843Z] _____ _ [2023-03-21T08:10:52.843Z] / ____| | | [2023-03-21T08:10:52.843Z] | | ___ __| | ___ ___ _____ __ [2023-03-21T08:10:52.843Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-03-21T08:10:52.843Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-03-21T08:10:52.843Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-03-21T08:10:52.843Z] Bash-1.0.6 [2023-03-21T08:10:52.843Z] [2023-03-21T08:10:52.843Z] [2023-03-21T08:10:52.843Z] ==> git version 2.25.1 found [2023-03-21T08:10:52.843Z] ==> 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-21T08:10:52.843Z] Release-Date: 2020-01-08 [2023-03-21T08:10:52.843Z] 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-21T08:10:52.843Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-03-21T08:10:52.843Z] ==> Jenkins CI detected. [2023-03-21T08:10:52.843Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1398 [2023-03-21T08:10:52.843Z] project root: . [2023-03-21T08:10:52.843Z] --> token set from env [2023-03-21T08:10:52.843Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-03-21T08:10:52.843Z] ==> Running gcov in . (disable via -X gcov) [2023-03-21T08:10:53.106Z] ==> Python coveragepy not found [2023-03-21T08:10:53.106Z] ==> Searching for coverage reports in: [2023-03-21T08:10:53.106Z] + . [2023-03-21T08:10:53.106Z] -> Found 1 reports [2023-03-21T08:10:53.106Z] ==> Detecting git/mercurial file structure [2023-03-21T08:10:53.106Z] ==> Reading reports [2023-03-21T08:10:53.106Z] + ./coverage.out bytes=109538 [2023-03-21T08:10:53.106Z] ==> Appending adjustments [2023-03-21T08:10:53.106Z] https://docs.codecov.io/docs/fixing-reports [2023-03-21T08:10:53.366Z] + Found adjustments [2023-03-21T08:10:53.366Z] ==> Gzipping contents [2023-03-21T08:10:53.366Z] 16K /tmp/codecov.rZsi2S.gz [2023-03-21T08:10:53.366Z] ==> Uploading reports [2023-03-21T08:10:53.366Z] url: https://codecov.io [2023-03-21T08:10:53.366Z] query: branch=PR-1398&commit=08559f0c3667562766f5b26454581bf4e5a7b136&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1398%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1398&job=&cmd_args= [2023-03-21T08:10:53.366Z] -> Pinging Codecov [2023-03-21T08:10:53.366Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1398&commit=08559f0c3667562766f5b26454581bf4e5a7b136&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1398%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1398&job=&cmd_args= [2023-03-21T08:10:53.630Z] -> Uploading to [2023-03-21T08:10:53.630Z] https://storage.googleapis.com/codecov/v4/raw/2023-03-21/7E55EF52A471D76F132DFD9A03CDDE97/08559f0c3667562766f5b26454581bf4e5a7b136/eae0f77f-9be6-48ef-8e07-ff1898617be2.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230321%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230321T081053Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=99ccbbf51ebbad5c9567a8c04c1c807908933e9937e8461861a44371718a8a8f [2023-03-21T08:10:53.630Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-21T08:10:53.630Z] Dload Upload Total Spent Left Speed [2023-03-21T08:10:53.888Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 15219 0 0 100 15219 0 48314 --:--:-- --:--:-- --:--:-- 48314 [2023-03-21T08:10:53.888Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/08559f0c3667562766f5b26454581bf4e5a7b136 [Pipeline] } [2023-03-21T08:10:53.914Z] 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-21T08:10:55.591Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1398/archives ] [2023-03-21T08:10:55.591Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1398/archives [2023-03-21T08:10:55.591Z] total 16 [2023-03-21T08:10:55.591Z] drwxr-xr-x 3 root root 4096 Mar 21 07:58 . [2023-03-21T08:10:55.591Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 21 07:58 .. [2023-03-21T08:10:55.591Z] drwxr-xr-x 2 root root 4096 Mar 21 07:58 cost [2023-03-21T08:10:55.591Z] -rw-r--r-- 1 root root 86 Mar 21 07:58 cost.csv [2023-03-21T08:10:55.591Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1398/archives [2023-03-21T08:10:55.591Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1398/archives [2023-03-21T08:10:55.591Z] total 16 [2023-03-21T08:10:55.591Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 21 07:58 . [2023-03-21T08:10:55.591Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 21 07:58 .. [2023-03-21T08:10:55.591Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 21 07:58 cost [2023-03-21T08:10:55.591Z] -rw-r--r-- 1 jenkins jenkins 86 Mar 21 07:58 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-03-21T08:10:55.916Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-21T08:10:56.800Z] ---> package-listing.sh [2023-03-21T08:10:56.800Z] ++ facter osfamily [2023-03-21T08:10:56.800Z] ++ tr '[:upper:]' '[:lower:]' [2023-03-21T08:10:57.060Z] + OS_FAMILY=debian [2023-03-21T08:10:57.060Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1398 [2023-03-21T08:10:57.060Z] + START_PACKAGES=/tmp/packages_start.txt [2023-03-21T08:10:57.060Z] + END_PACKAGES=/tmp/packages_end.txt [2023-03-21T08:10:57.060Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-03-21T08:10:57.060Z] + PACKAGES=/tmp/packages_start.txt [2023-03-21T08:10:57.060Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1398 ']' [2023-03-21T08:10:57.060Z] + PACKAGES=/tmp/packages_end.txt [2023-03-21T08:10:57.060Z] + case "${OS_FAMILY}" in [2023-03-21T08:10:57.060Z] + dpkg -l [2023-03-21T08:10:57.060Z] + grep '^ii' [2023-03-21T08:10:57.060Z] + '[' -f /tmp/packages_start.txt ']' [2023-03-21T08:10:57.060Z] + '[' -f /tmp/packages_end.txt ']' [2023-03-21T08:10:57.060Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-03-21T08:10:57.060Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1398 ']' [2023-03-21T08:10:57.060Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1398/archives/ [2023-03-21T08:10:57.060Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1398/archives/ [Pipeline] echo [2023-03-21T08:10:57.091Z] 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-1398/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-03-21T08:10:57.385Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T08:10:58.022Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-21T08:10:58.022Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-21T08:10:58.169Z] prd-ubuntu20.04-docker-8c-8g-4770 does not seem to be running inside a container [2023-03-21T08:10:58.197Z] $ 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-1398/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-1398 -v /w/workspace/gexfoundry_device-sdk-go_PR-1398:/w/workspace/gexfoundry_device-sdk-go_PR-1398:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1398@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1398@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-21T08:10:58.412Z] $ docker top 083bb317a61a6e5fe1c406e8044681e50701189c6d2e306fc107af370e7bb2da -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-21T08:10:58.802Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-03-21T08:10:59.115Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-03-21T08:10:59.428Z] + ls /var/log/sa-host [2023-03-21T08:10:59.428Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-21T08:10:59.661Z] provisioning config files... [2023-03-21T08:10:59.671Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1398@tmp/config16660415981529532705tmp [Pipeline] { [Pipeline] echo [2023-03-21T08:10:59.725Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-21T08:11:00.036Z] ---> create-netrc.sh [Pipeline] } [2023-03-21T08:11:00.069Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-03-21T08:11:00.464Z] ---> python-tools-install.sh [Pipeline] echo [2023-03-21T08:11:00.493Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-21T08:11:00.800Z] ---> sudo-logs.sh [2023-03-21T08:11:00.800Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-03-21T08:11:00.961Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-21T08:11:01.286Z] ---> job-cost.sh [2023-03-21T08:11:01.286Z] lf-activate-venv: SKIPPING [2023-03-21T08:11:01.286Z] DEBUG: total: 0.2199999988079071 [2023-03-21T08:11:01.286Z] INFO: Retrieving Stack Cost... [2023-03-21T08:11:01.546Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-21T08:11:02.112Z] INFO: Archiving Costs [Pipeline] echo [2023-03-21T08:11:02.145Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-21T08:11:02.453Z] ---> logs-deploy.sh [2023-03-21T08:11:02.453Z] lf-activate-venv: SKIPPING [2023-03-21T08:11:02.453Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1398/1 [2023-03-21T08:11:02.453Z] INFO: archiving workspace using pattern(s): [2023-03-21T08:11:03.389Z] Archives upload complete. [2023-03-21T08:11:03.389Z] INFO: archiving logs to Nexus