Pull request #1424 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 63fd7777d4ef91b4e7f21c7e9c892f4f0c507e02+3feff72630b5a64f0b1c499fc37cf8ca79db70fa (cd2dd21424121acc2946f5ff947b14622e9d1144) 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-ssh283635553984007525.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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-ssh4968241493088242211.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 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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-1424/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-1424/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1371546141391995243.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-1424/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13750058492265305001.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 # timeout=10 Commit message: "fix: bug with isLTS relying on env.GIT_BRANCH inside cd-management repo (#429)" > 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-ssh6961817306927664897.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-1424/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-1424/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh11822231991827506866.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 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-8861 in /w/workspace/gexfoundry_device-sdk-go_PR-1424 [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-1424 # 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/1424/head:refs/remotes/origin/PR-1424 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 3feff72630b5a64f0b1c499fc37cf8ca79db70fa into PR head commit 63fd7777d4ef91b4e7f21c7e9c892f4f0c507e02 Merge succeeded, producing 63fd7777d4ef91b4e7f21c7e9c892f4f0c507e02 Checking out Revision 63fd7777d4ef91b4e7f21c7e9c892f4f0c507e02 (PR-1424) Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-04-18T04:59:09.561Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-04-18T04:59:09.733Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { > git config core.sparsecheckout # timeout=10 > git checkout -f 63fd7777d4ef91b4e7f21c7e9c892f4f0c507e02 # 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 3feff72630b5a64f0b1c499fc37cf8ca79db70fa # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 63fd7777d4ef91b4e7f21c7e9c892f4f0c507e02 # timeout=10 [Pipeline] echo [2023-04-18T04:59:09.849Z] ========================================================= [2023-04-18T04:59:09.849Z] EdgeX Global Pipelines Version Info [2023-04-18T04:59:09.849Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-04-18T04:59:10.586Z] ------------------- [2023-04-18T04:59:10.586Z] stable info: [2023-04-18T04:59:10.586Z] ------------------- [2023-04-18T04:59:10.586Z] Commited By: Bill Mahoney bill.mahoney@intel.com [2023-04-18T04:59:10.586Z] Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [2023-04-18T04:59:10.586Z] Message: update stable to v1.0.248 [2023-04-18T04:59:11.157Z] ------------------- [2023-04-18T04:59:11.157Z] experimental info: [2023-04-18T04:59:11.157Z] ------------------- [2023-04-18T04:59:11.157Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-04-18T04:59:11.157Z] Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [2023-04-18T04:59:11.157Z] Message: update experimental to v1.0.248 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-04-18T04:59:11.451Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-04-18T04:59:11.491Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-04-18T04:59:11.531Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-04-18T04:59:11.571Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-04-18T04:59:11.616Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-04-18T04:59:11.654Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-04-18T04:59:11.694Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-04-18T04:59:11.740Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-04-18T04:59:11.781Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-04-18T04:59:11.826Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-04-18T04:59:11.867Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-04-18T04:59:11.908Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-04-18T04:59:11.951Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-04-18T04:59:11.993Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-04-18T04:59:12.042Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-04-18T04:59:12.084Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-04-18T04:59:12.125Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-04-18T04:59:12.165Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-04-18T04:59:12.205Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-04-18T04:59:12.247Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-04-18T04:59:12.286Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-04-18T04:59:12.326Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2023-04-18T04:59:12.374Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-04-18T04:59:12.414Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-04-18T04:59:12.454Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-04-18T04:59:12.494Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-04-18T04:59:12.534Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-04-18T04:59:12.573Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1424 [Pipeline] echo [2023-04-18T04:59:12.613Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1424 [Pipeline] echo [2023-04-18T04:59:12.652Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1424 [Pipeline] echo [2023-04-18T04:59:12.693Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 63fd7777d4ef91b4e7f21c7e9c892f4f0c507e02 [Pipeline] echo [2023-04-18T04:59:12.732Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 63fd777 [Pipeline] echo [2023-04-18T04:59:12.774Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-18T04:59:12.896Z] provisioning config files... [2023-04-18T04:59:12.911Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1424@tmp/config5386101503358644163tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-18T04:59:13.252Z] ---> docker-login.sh [2023-04-18T04:59:13.252Z] nexus3.edgexfoundry.org:10001 [2023-04-18T04:59:13.511Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T04:59:13.511Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T04:59:13.511Z] Configure a credential helper to remove this warning. See [2023-04-18T04:59:13.511Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T04:59:13.511Z] [2023-04-18T04:59:13.511Z] Login Succeeded [2023-04-18T04:59:13.511Z] nexus3.edgexfoundry.org:10002 [2023-04-18T04:59:13.511Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T04:59:13.770Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T04:59:13.770Z] Configure a credential helper to remove this warning. See [2023-04-18T04:59:13.770Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T04:59:13.770Z] [2023-04-18T04:59:13.770Z] Login Succeeded [2023-04-18T04:59:13.770Z] nexus3.edgexfoundry.org:10003 [2023-04-18T04:59:13.770Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T04:59:13.770Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T04:59:13.770Z] Configure a credential helper to remove this warning. See [2023-04-18T04:59:13.770Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T04:59:13.770Z] [2023-04-18T04:59:13.770Z] Login Succeeded [2023-04-18T04:59:13.770Z] nexus3.edgexfoundry.org:10004 [2023-04-18T04:59:13.770Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T04:59:13.770Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T04:59:13.770Z] Configure a credential helper to remove this warning. See [2023-04-18T04:59:13.770Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T04:59:13.770Z] [2023-04-18T04:59:13.770Z] Login Succeeded [2023-04-18T04:59:13.770Z] docker.io [2023-04-18T04:59:14.030Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T04:59:14.290Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T04:59:14.290Z] Configure a credential helper to remove this warning. See [2023-04-18T04:59:14.290Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T04:59:14.290Z] [2023-04-18T04:59:14.290Z] Login Succeeded [2023-04-18T04:59:14.290Z] ---> docker-login.sh ends [Pipeline] } [2023-04-18T04:59:14.316Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-04-18T04:59:14.929Z] + git rev-list -1 --merges 63fd7777d4ef91b4e7f21c7e9c892f4f0c507e02~1..63fd7777d4ef91b4e7f21c7e9c892f4f0c507e02 [Pipeline] echo [2023-04-18T04:59:14.992Z] -----------> git rev-list -1 --merges 63fd7777d4ef91b4e7f21c7e9c892f4f0c507e02~1..63fd7777d4ef91b4e7f21c7e9c892f4f0c507e02 63fd7777d4ef91b4e7f21c7e9c892f4f0c507e02 [false] [Pipeline] sh [2023-04-18T04:59:15.299Z] + git log --format=format:%s -1 63fd7777d4ef91b4e7f21c7e9c892f4f0c507e02 [Pipeline] echo [2023-04-18T04:59:15.339Z] ========================================================= [2023-04-18T04:59:15.339Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-04-18T04:59:15.339Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-18T04:59:15.766Z] + git log --format=format:%s -1 63fd7777d4ef91b4e7f21c7e9c892f4f0c507e02 [Pipeline] echo [2023-04-18T04:59:15.802Z] [semverPrep] GIT_COMMIT: 63fd7777d4ef91b4e7f21c7e9c892f4f0c507e02, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3 [Pipeline] echo [2023-04-18T04:59:15.832Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-04-18T04:59:16.210Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-04-18T04:59:16.210Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-04-18T04:59:16.210Z] + [ -e /tmp/ssh_known_hosts ] [2023-04-18T04:59:16.210Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-04-18T04:59:16.210Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-04-18T04:59:16.210Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-04-18T04:59:16.210Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T04:59:16.622Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-18T04:59:16.622Z] [2023-04-18T04:59:16.622Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T04:59:17.003Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-18T04:59:17.004Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-04-18T04:59:17.004Z] b85a868b505f: Pulling fs layer [2023-04-18T04:59:17.004Z] e2be974225ed: Pulling fs layer [2023-04-18T04:59:17.004Z] 339a4e72a1f5: Pulling fs layer [2023-04-18T04:59:17.004Z] 988bab9f4d93: Pulling fs layer [2023-04-18T04:59:17.004Z] 1469e6f7b9e6: Pulling fs layer [2023-04-18T04:59:17.004Z] eaf3925da568: Pulling fs layer [2023-04-18T04:59:17.004Z] bab4dde63d76: Pulling fs layer [2023-04-18T04:59:17.004Z] bde34c3a00c8: Pulling fs layer [2023-04-18T04:59:17.004Z] b352a97aabf1: Pulling fs layer [2023-04-18T04:59:17.004Z] 4872d77fe225: Pulling fs layer [2023-04-18T04:59:17.004Z] 5851b861e8e6: Pulling fs layer [2023-04-18T04:59:17.004Z] 988bab9f4d93: Waiting [2023-04-18T04:59:17.004Z] 4872d77fe225: Waiting [2023-04-18T04:59:17.004Z] eaf3925da568: Waiting [2023-04-18T04:59:17.004Z] 5851b861e8e6: Waiting [2023-04-18T04:59:17.004Z] bde34c3a00c8: Waiting [2023-04-18T04:59:17.004Z] b352a97aabf1: Waiting [2023-04-18T04:59:17.004Z] bab4dde63d76: Waiting [2023-04-18T04:59:17.004Z] 1469e6f7b9e6: Waiting [2023-04-18T04:59:17.004Z] e2be974225ed: Download complete [2023-04-18T04:59:17.004Z] 988bab9f4d93: Download complete [2023-04-18T04:59:17.261Z] 1469e6f7b9e6: Verifying Checksum [2023-04-18T04:59:17.261Z] 1469e6f7b9e6: Download complete [2023-04-18T04:59:17.261Z] eaf3925da568: Verifying Checksum [2023-04-18T04:59:17.261Z] eaf3925da568: Download complete [2023-04-18T04:59:17.262Z] 339a4e72a1f5: Verifying Checksum [2023-04-18T04:59:17.262Z] 339a4e72a1f5: Download complete [2023-04-18T04:59:17.262Z] b352a97aabf1: Download complete [2023-04-18T04:59:17.262Z] 4872d77fe225: Verifying Checksum [2023-04-18T04:59:17.262Z] 5851b861e8e6: Download complete [2023-04-18T04:59:17.262Z] b85a868b505f: Download complete [2023-04-18T04:59:17.520Z] bab4dde63d76: Verifying Checksum [2023-04-18T04:59:18.461Z] b85a868b505f: Pull complete [2023-04-18T04:59:18.721Z] e2be974225ed: Pull complete [2023-04-18T04:59:18.995Z] 339a4e72a1f5: Pull complete [2023-04-18T04:59:19.255Z] 988bab9f4d93: Pull complete [2023-04-18T04:59:19.513Z] 1469e6f7b9e6: Pull complete [2023-04-18T04:59:19.513Z] eaf3925da568: Pull complete [2023-04-18T04:59:21.415Z] bab4dde63d76: Pull complete [2023-04-18T04:59:21.415Z] bde34c3a00c8: Pull complete [2023-04-18T04:59:21.415Z] b352a97aabf1: Pull complete [2023-04-18T04:59:21.415Z] 4872d77fe225: Pull complete [2023-04-18T04:59:21.415Z] 5851b861e8e6: Pull complete [2023-04-18T04:59:21.415Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-04-18T04:59:21.415Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-18T04:59:21.415Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-18T04:59:21.654Z] prd-ubuntu20.04-docker-8c-8g-8861 does not seem to be running inside a container [2023-04-18T04:59:21.673Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1424 -v /w/workspace/gexfoundry_device-sdk-go_PR-1424:/w/workspace/gexfoundry_device-sdk-go_PR-1424:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1424@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1424@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-04-18T04:59:23.249Z] $ docker top 1cb716407f2020b242bb77f2e78ba7da0b7e3e6c5333c3f2f5cf328bf920525d -eo pid,comm [2023-04-18T04:59:23.311Z] 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-04-18T04:59:23.311Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-04-18T04:59:23.442Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-18T04:59:23.442Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-18T04:59:23.555Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-18T04:59:23.548Z] $ docker exec 1cb716407f2020b242bb77f2e78ba7da0b7e3e6c5333c3f2f5cf328bf920525d ssh-agent [2023-04-18T04:59:23.658Z] SSH_AUTH_SOCK=/tmp/ssh-DH3aLTZ9MLrd/agent.33 [2023-04-18T04:59:23.658Z] SSH_AGENT_PID=39 [2023-04-18T04:59:23.665Z] Running ssh-add (command line suppressed) [2023-04-18T04:59:23.754Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1424@tmp/private_key_3404402039990256500.key (/w/workspace/gexfoundry_device-sdk-go_PR-1424@tmp/private_key_3404402039990256500.key) [2023-04-18T04:59:23.775Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-18T04:59:24.100Z] + git tag --points-at HEAD [Pipeline] } [2023-04-18T04:59:24.120Z] $ docker exec --env ******** --env ******** 1cb716407f2020b242bb77f2e78ba7da0b7e3e6c5333c3f2f5cf328bf920525d ssh-agent -k [2023-04-18T04:59:24.213Z] unset SSH_AUTH_SOCK; [2023-04-18T04:59:24.213Z] unset SSH_AGENT_PID; [2023-04-18T04:59:24.213Z] echo Agent pid 39 killed; [2023-04-18T04:59:24.230Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-04-18T04:59:24.321Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-18T04:59:24.321Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-18T04:59:24.432Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-18T04:59:24.425Z] $ docker exec 1cb716407f2020b242bb77f2e78ba7da0b7e3e6c5333c3f2f5cf328bf920525d ssh-agent [2023-04-18T04:59:24.540Z] SSH_AUTH_SOCK=/tmp/ssh-eSgPNqlUuflH/agent.71 [2023-04-18T04:59:24.540Z] SSH_AGENT_PID=77 [2023-04-18T04:59:24.545Z] Running ssh-add (command line suppressed) [2023-04-18T04:59:24.642Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1424@tmp/private_key_1967443031638198765.key (/w/workspace/gexfoundry_device-sdk-go_PR-1424@tmp/private_key_1967443031638198765.key) [2023-04-18T04:59:24.664Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-18T04:59:24.995Z] + git semver init [2023-04-18T04:59:25.254Z] 2023-04-18 04:59:25,143 [run_init] DEBUG init version:0.0.0 force:False [2023-04-18T04:59:25.254Z] 2023-04-18 04:59:25,143 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1424/.semver [2023-04-18T04:59:25.254Z] 2023-04-18 04:59:25,144 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1424/.semver [2023-04-18T04:59:25.254Z] 2023-04-18 04:59:25,144 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1424/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1424, universal_newlines=False, shell=None, istream=None) [2023-04-18T04:59:26.190Z] 2023-04-18 04:59:26,064 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1424/.git/info/exclude [2023-04-18T04:59:26.190Z] 2023-04-18 04:59:26,064 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1424/.semver/PR-1424 with force:False [2023-04-18T04:59:26.190Z] 2023-04-18 04:59:26,065 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1424/.semver/PR-1424 [2023-04-18T04:59:26.191Z] 2023-04-18 04:59:26,069 [execute] INFO git cat-file --batch-check [2023-04-18T04:59:26.191Z] 2023-04-18 04:59:26,069 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1424/.semver, universal_newlines=False, shell=None, istream=) [2023-04-18T04:59:26.191Z] 2023-04-18 04:59:26,077 [execute] INFO git cat-file --batch [2023-04-18T04:59:26.191Z] 2023-04-18 04:59:26,077 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1424/.semver, universal_newlines=False, shell=None, istream=) [2023-04-18T04:59:26.191Z] 2023-04-18 04:59:26,082 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1424/.semver/PR-1424 [2023-04-18T04:59:26.191Z] 0.0.0 [Pipeline] } [2023-04-18T04:59:26.210Z] $ docker exec --env ******** --env ******** 1cb716407f2020b242bb77f2e78ba7da0b7e3e6c5333c3f2f5cf328bf920525d ssh-agent -k [2023-04-18T04:59:26.307Z] unset SSH_AUTH_SOCK; [2023-04-18T04:59:26.307Z] unset SSH_AGENT_PID; [2023-04-18T04:59:26.308Z] echo Agent pid 77 killed; [2023-04-18T04:59:26.325Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-04-18T04:59:26.742Z] + git semver [Pipeline] } [2023-04-18T04:59:27.016Z] $ docker stop --time=1 1cb716407f2020b242bb77f2e78ba7da0b7e3e6c5333c3f2f5cf328bf920525d [2023-04-18T04:59:28.331Z] $ docker rm -f --volumes 1cb716407f2020b242bb77f2e78ba7da0b7e3e6c5333c3f2f5cf328bf920525d [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-18T04:59:28.739Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-04-18T04:59:29.006Z] Stashed 1 file(s) [Pipeline] echo [2023-04-18T04:59:29.022Z] [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-04-18T04:59:29.737Z] provisioning config files... [2023-04-18T04:59:29.747Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1424@tmp/config3160910563221396104tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-18T04:59:30.089Z] ---> docker-login.sh [2023-04-18T04:59:30.089Z] nexus3.edgexfoundry.org:10001 [2023-04-18T04:59:30.089Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T04:59:30.089Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T04:59:30.089Z] Configure a credential helper to remove this warning. See [2023-04-18T04:59:30.089Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T04:59:30.089Z] [2023-04-18T04:59:30.089Z] Login Succeeded [2023-04-18T04:59:30.089Z] nexus3.edgexfoundry.org:10002 [2023-04-18T04:59:30.089Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T04:59:30.089Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T04:59:30.089Z] Configure a credential helper to remove this warning. See [2023-04-18T04:59:30.089Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T04:59:30.089Z] [2023-04-18T04:59:30.089Z] Login Succeeded [2023-04-18T04:59:30.089Z] nexus3.edgexfoundry.org:10003 [2023-04-18T04:59:30.349Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T04:59:30.349Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T04:59:30.349Z] Configure a credential helper to remove this warning. See [2023-04-18T04:59:30.349Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T04:59:30.349Z] [2023-04-18T04:59:30.349Z] Login Succeeded [2023-04-18T04:59:30.349Z] nexus3.edgexfoundry.org:10004 [2023-04-18T04:59:30.349Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T04:59:30.349Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T04:59:30.349Z] Configure a credential helper to remove this warning. See [2023-04-18T04:59:30.349Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T04:59:30.349Z] [2023-04-18T04:59:30.349Z] Login Succeeded [2023-04-18T04:59:30.349Z] docker.io [2023-04-18T04:59:30.349Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T04:59:30.609Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T04:59:30.609Z] Configure a credential helper to remove this warning. See [2023-04-18T04:59:30.609Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T04:59:30.609Z] [2023-04-18T04:59:30.609Z] Login Succeeded [2023-04-18T04:59:30.609Z] ---> docker-login.sh ends [Pipeline] } [2023-04-18T04:59:30.645Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-04-18T04:59:30.835Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-18T04:59:30.873Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-18T04:59:30.907Z] ========================================================= [2023-04-18T04:59:30.907Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-04-18T04:59:30.907Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T04:59:31.385Z] + 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-04-18T04:59:31.385Z] Sending build context to Docker daemon 10.98MB [2023-04-18T04:59:31.385Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-04-18T04:59:31.385Z] Step 2/10 : FROM ${BASE} AS builder [2023-04-18T04:59:31.385Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-04-18T04:59:31.385Z] 63b65145d645: Pulling fs layer [2023-04-18T04:59:31.385Z] a2d21d5440eb: Pulling fs layer [2023-04-18T04:59:31.385Z] 935e6c44a52c: Pulling fs layer [2023-04-18T04:59:31.385Z] 94cc34f8dd06: Pulling fs layer [2023-04-18T04:59:31.385Z] 30dea6a524f1: Pulling fs layer [2023-04-18T04:59:31.385Z] a2aff8979fd8: Pulling fs layer [2023-04-18T04:59:31.385Z] 6808be2612f2: Pulling fs layer [2023-04-18T04:59:31.385Z] f25807f1079a: Pulling fs layer [2023-04-18T04:59:31.385Z] a2aff8979fd8: Waiting [2023-04-18T04:59:31.385Z] f25807f1079a: Waiting [2023-04-18T04:59:31.385Z] 6808be2612f2: Waiting [2023-04-18T04:59:31.385Z] 94cc34f8dd06: Waiting [2023-04-18T04:59:31.385Z] 30dea6a524f1: Waiting [2023-04-18T04:59:31.645Z] a2d21d5440eb: Download complete [2023-04-18T04:59:31.645Z] 94cc34f8dd06: Verifying Checksum [2023-04-18T04:59:31.645Z] 94cc34f8dd06: Download complete [2023-04-18T04:59:31.645Z] 30dea6a524f1: Verifying Checksum [2023-04-18T04:59:31.645Z] 30dea6a524f1: Download complete [2023-04-18T04:59:31.645Z] 63b65145d645: Verifying Checksum [2023-04-18T04:59:31.645Z] 63b65145d645: Download complete [2023-04-18T04:59:31.645Z] a2aff8979fd8: Verifying Checksum [2023-04-18T04:59:31.645Z] a2aff8979fd8: Download complete [2023-04-18T04:59:31.645Z] 63b65145d645: Pull complete [2023-04-18T04:59:31.904Z] a2d21d5440eb: Pull complete [2023-04-18T04:59:31.904Z] f25807f1079a: Verifying Checksum [2023-04-18T04:59:31.904Z] f25807f1079a: Download complete [2023-04-18T04:59:32.162Z] 935e6c44a52c: Verifying Checksum [2023-04-18T04:59:32.162Z] 935e6c44a52c: Download complete [2023-04-18T04:59:32.419Z] 6808be2612f2: Verifying Checksum [2023-04-18T04:59:32.419Z] 6808be2612f2: Download complete [2023-04-18T04:59:35.698Z] 935e6c44a52c: Pull complete [2023-04-18T04:59:35.698Z] 94cc34f8dd06: Pull complete [2023-04-18T04:59:35.955Z] 30dea6a524f1: Pull complete [2023-04-18T04:59:35.955Z] a2aff8979fd8: Pull complete [2023-04-18T04:59:38.482Z] 6808be2612f2: Pull complete [2023-04-18T04:59:39.414Z] f25807f1079a: Pull complete [2023-04-18T04:59:39.414Z] Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 [2023-04-18T04:59:39.414Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-04-18T04:59:39.414Z] ---> 3b553350e43f [2023-04-18T04:59:39.414Z] Step 3/10 : ARG MAKE=make build [2023-04-18T04:59:41.946Z] ---> Running in 2281f92499dc [2023-04-18T04:59:41.946Z] Removing intermediate container 2281f92499dc [2023-04-18T04:59:41.946Z] ---> a0f6e8b664b6 [2023-04-18T04:59:41.946Z] Step 4/10 : WORKDIR /device-sdk-go [2023-04-18T04:59:41.946Z] ---> Running in ab1f77a782d3 [2023-04-18T04:59:41.946Z] Removing intermediate container ab1f77a782d3 [2023-04-18T04:59:41.946Z] ---> ad1b2c311dee [2023-04-18T04:59:41.946Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-04-18T04:59:41.946Z] ---> Running in e1d5fd59bb22 [2023-04-18T04:59:41.946Z] Removing intermediate container e1d5fd59bb22 [2023-04-18T04:59:41.946Z] ---> 939c3a491bef [2023-04-18T04:59:41.946Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-04-18T04:59:41.946Z] ---> Running in f8f4dd2eeb1a [2023-04-18T04:59:42.208Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-18T04:59:42.208Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-18T04:59:42.468Z] OK: 265 MiB in 53 packages [2023-04-18T04:59:43.039Z] Removing intermediate container f8f4dd2eeb1a [2023-04-18T04:59:43.039Z] ---> 64c1084c39f0 [2023-04-18T04:59:43.039Z] Step 7/10 : COPY go.mod vendor* ./ [2023-04-18T04:59:43.039Z] ---> 4ba9fc0399c5 [2023-04-18T04:59:43.039Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-18T04:59:43.039Z] ---> Running in 8e008b548739 [2023-04-18T04:59:44.428Z] Still waiting to schedule task [2023-04-18T04:59:44.429Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-04-18T05:00:05.048Z] Removing intermediate container 8e008b548739 [2023-04-18T05:00:05.048Z] ---> 2d20233bac39 [2023-04-18T05:00:05.048Z] Step 9/10 : COPY . . [2023-04-18T05:00:05.982Z] ---> 289c79a62dda [2023-04-18T05:00:05.982Z] Step 10/10 : RUN ${MAKE} [2023-04-18T05:00:05.982Z] ---> Running in 3d094b7fa928 [2023-04-18T05:00:05.982Z] noop [2023-04-18T05:00:06.550Z] Removing intermediate container 3d094b7fa928 [2023-04-18T05:00:06.550Z] ---> d27be043f2a6 [2023-04-18T05:00:06.550Z] Successfully built d27be043f2a6 [2023-04-18T05:00:06.550Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T05:00:07.000Z] + docker inspect -f . ci-base-image-x86_64 [2023-04-18T05:00:07.001Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-18T05:00:07.153Z] prd-ubuntu20.04-docker-8c-8g-8861 does not seem to be running inside a container [2023-04-18T05:00:07.184Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1424 -v /w/workspace/gexfoundry_device-sdk-go_PR-1424:/w/workspace/gexfoundry_device-sdk-go_PR-1424:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1424@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1424@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-04-18T05:00:07.507Z] $ docker top 23fe3648536e8e34a040a98914e169deba8b533c24507be35c96d8068ad6886d -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-18T05:00:07.892Z] + go version [2023-04-18T05:00:07.892Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-04-18T05:00:07.924Z] $ docker stop --time=1 23fe3648536e8e34a040a98914e169deba8b533c24507be35c96d8068ad6886d [2023-04-18T05:00:09.220Z] $ docker rm -f --volumes 23fe3648536e8e34a040a98914e169deba8b533c24507be35c96d8068ad6886d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T05:00:09.958Z] + docker inspect -f . ci-base-image-x86_64 [2023-04-18T05:00:09.958Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-18T05:00:10.102Z] prd-ubuntu20.04-docker-8c-8g-8861 does not seem to be running inside a container [2023-04-18T05:00:10.130Z] $ 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-1424 -v /w/workspace/gexfoundry_device-sdk-go_PR-1424:/w/workspace/gexfoundry_device-sdk-go_PR-1424:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1424@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1424@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-04-18T05:00:10.436Z] $ docker top 218fa9c6469452296f0ee8e48e7354e997496fe66fa846ecbef43e7332a6dde4 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-18T05:00:10.823Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1424 [Pipeline] fileExists [Pipeline] sh [2023-04-18T05:00:11.211Z] + make test [2023-04-18T05:00:11.211Z] go test -race -coverprofile=coverage.out ./... [2023-04-18T05:00:17.810Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-04-18T05:00:32.723Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-04-18T05:00:32.723Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-04-18T05:00:32.723Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-04-18T05:00:32.723Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-04-18T05:00:32.723Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-04-18T05:00:32.723Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.068s coverage: 27.6% of statements [2023-04-18T05:00:32.723Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-04-18T05:00:32.723Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-04-18T05:00:32.723Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.062s coverage: 80.2% of statements [2023-04-18T05:00:32.723Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.084s coverage: 86.0% of statements [2023-04-18T05:00:32.983Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-04-18T05:00:32.983Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-04-18T05:00:32.983Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.099s coverage: 77.5% of statements [2023-04-18T05:00:32.983Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-04-18T05:00:32.983Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-04-18T05:00:33.915Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-04-18T05:00:35.815Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.063s coverage: 14.6% of statements [2023-04-18T05:00:35.815Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.070s coverage: 68.5% of statements [2023-04-18T05:00:35.815Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.113s coverage: 89.2% of statements [2023-04-18T05:00:35.815Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.050s coverage: 5.5% of statements [2023-04-18T05:00:53.941Z] GO111MODULE=on go vet ./... [2023-04-18T05:00:58.126Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-04-18T05:00:58.126Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-04-18T05:00:58.126Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-04-18T05:00:58.166Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-04-18T05:00:58.196Z] $ docker stop --time=1 218fa9c6469452296f0ee8e48e7354e997496fe66fa846ecbef43e7332a6dde4 [2023-04-18T05:01:00.652Z] $ docker rm -f --volumes 218fa9c6469452296f0ee8e48e7354e997496fe66fa846ecbef43e7332a6dde4 [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-18T05:01:01.221Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-04-18T05:01:01.322Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-04-18T05:01:02.009Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-04-18T05:01:02.318Z] + ls -al . [2023-04-18T05:01:02.318Z] total 272 [2023-04-18T05:01:02.318Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 18 05:00 . [2023-04-18T05:01:02.318Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 18 04:59 .. [2023-04-18T05:01:02.318Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 18 04:59 .dockerignore [2023-04-18T05:01:02.318Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 18 04:59 .git [2023-04-18T05:01:02.318Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 18 04:59 .github [2023-04-18T05:01:02.318Z] -rw-rw-r-- 1 jenkins jenkins 131 Apr 18 04:59 .gitignore [2023-04-18T05:01:02.318Z] -rw-rw-r-- 1 jenkins jenkins 42 Apr 18 04:59 .golangci.yml [2023-04-18T05:01:02.318Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 18 04:59 .semver [2023-04-18T05:01:02.318Z] -rw-rw-r-- 1 jenkins jenkins 31677 Apr 18 04:59 CHANGELOG.md [2023-04-18T05:01:02.318Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 18 04:59 GOVERNANCE.md [2023-04-18T05:01:02.318Z] -rw-rw-r-- 1 jenkins jenkins 885 Apr 18 04:59 Jenkinsfile [2023-04-18T05:01:02.318Z] -rw-rw-r-- 1 jenkins jenkins 11341 Apr 18 04:59 LICENSE [2023-04-18T05:01:02.318Z] -rw-rw-r-- 1 jenkins jenkins 1714 Apr 18 04:59 Makefile [2023-04-18T05:01:02.318Z] -rw-rw-r-- 1 jenkins jenkins 619 Apr 18 04:59 OWNERS.md [2023-04-18T05:01:02.318Z] -rw-rw-r-- 1 jenkins jenkins 4891 Apr 18 04:59 README.md [2023-04-18T05:01:02.318Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 18 04:59 VERSION [2023-04-18T05:01:02.318Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 18 04:59 bin [2023-04-18T05:01:02.318Z] -rw-r--r-- 1 jenkins jenkins 106119 Apr 18 05:00 coverage.out [2023-04-18T05:01:02.318Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 18 04:59 example [2023-04-18T05:01:02.318Z] -rw-rw-r-- 1 jenkins jenkins 3246 Apr 18 04:59 go.mod [2023-04-18T05:01:02.318Z] -rw-rw-r-- 1 jenkins jenkins 31006 Apr 18 04:59 go.sum [2023-04-18T05:01:02.318Z] drwxrwxr-x 12 jenkins jenkins 4096 Apr 18 04:59 internal [2023-04-18T05:01:02.318Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 18 04:59 openapi [2023-04-18T05:01:02.318Z] drwxrwxr-x 6 jenkins jenkins 4096 Apr 18 04:59 pkg [2023-04-18T05:01:02.318Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 18 04:59 snap [2023-04-18T05:01:02.318Z] -rw-rw-r-- 1 jenkins jenkins 222 Apr 18 04:59 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T05:01:02.717Z] + 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=63fd7777d4ef91b4e7f21c7e9c892f4f0c507e02 --label arch=amd64 --label version=0.0.0 . [2023-04-18T05:01:02.717Z] Sending build context to Docker daemon 11.09MB [2023-04-18T05:01:02.717Z] Step 1/23 : ARG BASE=golang:1.20-alpine3.17 [2023-04-18T05:01:02.717Z] Step 2/23 : FROM ${BASE} AS builder [2023-04-18T05:01:02.717Z] ---> d27be043f2a6 [2023-04-18T05:01:02.717Z] Step 3/23 : ARG MAKE=make build [2023-04-18T05:01:02.717Z] ---> Running in 145d5650459d [2023-04-18T05:01:02.978Z] Removing intermediate container 145d5650459d [2023-04-18T05:01:02.978Z] ---> 25fe9e981514 [2023-04-18T05:01:02.978Z] Step 4/23 : WORKDIR /device-sdk-go [2023-04-18T05:01:02.978Z] ---> Running in 5cf315bb4af3 [2023-04-18T05:01:02.978Z] Removing intermediate container 5cf315bb4af3 [2023-04-18T05:01:02.978Z] ---> eee3b51e74b8 [2023-04-18T05:01:02.978Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-04-18T05:01:02.978Z] ---> Running in fe193b7b9b47 [2023-04-18T05:01:02.978Z] Removing intermediate container fe193b7b9b47 [2023-04-18T05:01:02.978Z] ---> cdb14b4e3e40 [2023-04-18T05:01:02.978Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-04-18T05:01:03.236Z] ---> Running in 00debfdf992d [2023-04-18T05:01:03.494Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-18T05:01:03.494Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-18T05:01:03.755Z] OK: 265 MiB in 53 packages [2023-04-18T05:01:04.014Z] Removing intermediate container 00debfdf992d [2023-04-18T05:01:04.014Z] ---> eefbfa0c1824 [2023-04-18T05:01:04.014Z] Step 7/23 : COPY go.mod vendor* ./ [2023-04-18T05:01:04.273Z] ---> d5290811378f [2023-04-18T05:01:04.273Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-18T05:01:04.273Z] ---> Running in bc560c427574 [2023-04-18T05:01:04.837Z] Removing intermediate container bc560c427574 [2023-04-18T05:01:04.837Z] ---> 63536481d676 [2023-04-18T05:01:04.837Z] Step 9/23 : COPY . . [2023-04-18T05:01:05.403Z] ---> fab01eceebfb [2023-04-18T05:01:05.403Z] Step 10/23 : RUN ${MAKE} [2023-04-18T05:01:05.403Z] ---> Running in 54387d74a10e [2023-04-18T05:01:05.660Z] 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-04-18T05:01:23.747Z] Removing intermediate container 54387d74a10e [2023-04-18T05:01:23.747Z] ---> dee41cee0ca3 [2023-04-18T05:01:23.747Z] Step 11/23 : FROM alpine:3.17 [2023-04-18T05:01:23.747Z] 3.17: Pulling from library/alpine [2023-04-18T05:01:23.747Z] f56be85fc22e: Pulling fs layer [2023-04-18T05:01:23.747Z] f56be85fc22e: Verifying Checksum [2023-04-18T05:01:23.747Z] f56be85fc22e: Download complete [2023-04-18T05:01:23.747Z] f56be85fc22e: Pull complete [2023-04-18T05:01:23.747Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-04-18T05:01:23.747Z] Status: Downloaded newer image for alpine:3.17 [2023-04-18T05:01:23.747Z] ---> 9ed4aefc74f6 [2023-04-18T05:01:23.747Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-04-18T05:01:23.747Z] ---> Running in e4d71b4742cf [2023-04-18T05:01:23.747Z] Removing intermediate container e4d71b4742cf [2023-04-18T05:01:23.747Z] ---> d4ea3cd44002 [2023-04-18T05:01:23.747Z] Step 13/23 : RUN apk add --update --no-cache [2023-04-18T05:01:23.747Z] ---> Running in b75a1c1ecdd9 [2023-04-18T05:01:23.747Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-18T05:01:23.747Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-18T05:01:23.747Z] OK: 7 MiB in 15 packages [2023-04-18T05:01:23.747Z] Removing intermediate container b75a1c1ecdd9 [2023-04-18T05:01:23.747Z] ---> e2c2e02f76c3 [2023-04-18T05:01:23.747Z] Step 14/23 : WORKDIR / [2023-04-18T05:01:23.747Z] ---> Running in 8483f048c97a [2023-04-18T05:01:23.747Z] Removing intermediate container 8483f048c97a [2023-04-18T05:01:23.747Z] ---> b6c71b2f2c59 [2023-04-18T05:01:23.747Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-04-18T05:01:24.005Z] ---> 920eb28a508e [2023-04-18T05:01:24.005Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-04-18T05:01:24.572Z] ---> 668a4dd382ab [2023-04-18T05:01:24.572Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-04-18T05:01:24.572Z] ---> 60ed31540777 [2023-04-18T05:01:24.572Z] Step 18/23 : EXPOSE 59999 [2023-04-18T05:01:24.572Z] ---> Running in a3f244dc30ef [2023-04-18T05:01:24.830Z] Removing intermediate container a3f244dc30ef [2023-04-18T05:01:24.830Z] ---> 9a159256370e [2023-04-18T05:01:24.830Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-04-18T05:01:24.830Z] ---> Running in f00e16842f47 [2023-04-18T05:01:24.830Z] Removing intermediate container f00e16842f47 [2023-04-18T05:01:24.830Z] ---> 7f71f21a618a [2023-04-18T05:01:24.830Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-04-18T05:01:24.830Z] ---> Running in 6de39346f95b [2023-04-18T05:01:24.830Z] Removing intermediate container 6de39346f95b [2023-04-18T05:01:24.830Z] ---> 937a76182ec8 [2023-04-18T05:01:24.830Z] Step 21/23 : LABEL arch=amd64 [2023-04-18T05:01:24.830Z] ---> Running in 202a972dbf71 [2023-04-18T05:01:25.089Z] Removing intermediate container 202a972dbf71 [2023-04-18T05:01:25.089Z] ---> d73c2f9cdcf6 [2023-04-18T05:01:25.089Z] Step 22/23 : LABEL git_sha=63fd7777d4ef91b4e7f21c7e9c892f4f0c507e02 [2023-04-18T05:01:25.089Z] ---> Running in 235a4d475ef9 [2023-04-18T05:01:25.089Z] Removing intermediate container 235a4d475ef9 [2023-04-18T05:01:25.089Z] ---> 09072f8a1599 [2023-04-18T05:01:25.089Z] Step 23/23 : LABEL version=0.0.0 [2023-04-18T05:01:25.089Z] ---> Running in 9a832337a180 [2023-04-18T05:01:25.347Z] Removing intermediate container 9a832337a180 [2023-04-18T05:01:25.347Z] ---> 3e2660d71d28 [2023-04-18T05:01:25.347Z] [Warning] One or more build-args [ARCH] were not consumed [2023-04-18T05:01:25.347Z] Successfully built 3e2660d71d28 [2023-04-18T05:01:25.347Z] 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-04-18T05:01:26.205Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-18T05:01:26.205Z] [2023-04-18T05:01:26.205Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T05:01:26.592Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-18T05:01:26.593Z] latest: Pulling from edgex-lftools-log-publisher [2023-04-18T05:01:26.593Z] 5eb5b503b376: Pulling fs layer [2023-04-18T05:01:26.593Z] 5c69ac0246d0: Pulling fs layer [2023-04-18T05:01:26.593Z] ec43610c2a17: Pulling fs layer [2023-04-18T05:01:26.593Z] 3a2ae6a8a46f: Pulling fs layer [2023-04-18T05:01:26.593Z] 33b1e0a273af: Pulling fs layer [2023-04-18T05:01:26.593Z] 5d3b04190fa2: Pulling fs layer [2023-04-18T05:01:26.593Z] 2f39f015ded8: Pulling fs layer [2023-04-18T05:01:26.593Z] 33b1e0a273af: Waiting [2023-04-18T05:01:26.593Z] 5d3b04190fa2: Waiting [2023-04-18T05:01:26.593Z] 2f39f015ded8: Waiting [2023-04-18T05:01:26.593Z] 3a2ae6a8a46f: Waiting [2023-04-18T05:01:26.593Z] 5c69ac0246d0: Verifying Checksum [2023-04-18T05:01:26.593Z] 5c69ac0246d0: Download complete [2023-04-18T05:01:26.593Z] 3a2ae6a8a46f: Verifying Checksum [2023-04-18T05:01:26.593Z] 3a2ae6a8a46f: Download complete [2023-04-18T05:01:26.593Z] 33b1e0a273af: Verifying Checksum [2023-04-18T05:01:26.593Z] 33b1e0a273af: Download complete [2023-04-18T05:01:26.593Z] ec43610c2a17: Verifying Checksum [2023-04-18T05:01:26.593Z] ec43610c2a17: Download complete [2023-04-18T05:01:26.593Z] 5d3b04190fa2: Verifying Checksum [2023-04-18T05:01:26.593Z] 5d3b04190fa2: Download complete [2023-04-18T05:01:26.851Z] 5eb5b503b376: Verifying Checksum [2023-04-18T05:01:26.851Z] 5eb5b503b376: Download complete [2023-04-18T05:01:27.419Z] 2f39f015ded8: Download complete [2023-04-18T05:01:27.987Z] 5eb5b503b376: Pull complete [2023-04-18T05:01:27.987Z] 5c69ac0246d0: Pull complete [2023-04-18T05:01:28.554Z] ec43610c2a17: Pull complete [2023-04-18T05:01:28.554Z] 3a2ae6a8a46f: Pull complete [2023-04-18T05:01:28.554Z] 33b1e0a273af: Pull complete [2023-04-18T05:01:28.812Z] 5d3b04190fa2: Pull complete [2023-04-18T05:01:33.003Z] 2f39f015ded8: Pull complete [2023-04-18T05:01:33.003Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-04-18T05:01:33.003Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-18T05:01:33.003Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-18T05:01:33.231Z] prd-ubuntu20.04-docker-8c-8g-8861 does not seem to be running inside a container [2023-04-18T05:01:33.256Z] $ 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-1424 -v /w/workspace/gexfoundry_device-sdk-go_PR-1424:/w/workspace/gexfoundry_device-sdk-go_PR-1424:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1424@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1424@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-04-18T05:01:35.347Z] $ docker top e479cf763dd32fd72729dc84709f9cf68e623861fe2595a5b2a3e13a16917e2e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-18T05:01:35.780Z] ---> job-cost.sh [2023-04-18T05:01:35.780Z] lf-activate-venv: SKIPPING [2023-04-18T05:01:35.780Z] INFO: No Stack... [2023-04-18T05:01:36.039Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-04-18T05:01:36.297Z] INFO: Archiving Costs [Pipeline] sh [2023-04-18T05:01:36.609Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1424/archives/cost.csv [2023-04-18T05:01:36.609Z] + cut -d, -f6 [Pipeline] lock [2023-04-18T05:01:36.648Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1424-1-stack-cost] [2023-04-18T05:01:36.653Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1424-1-stack-cost] did not exist. Created. [2023-04-18T05:01:36.654Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1424-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-04-18T05:01:37.042Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-04-18T05:01:37.094Z] Stashed 1 file(s) [Pipeline] } [2023-04-18T05:01:37.123Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1424-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-04-18T05:01:37.194Z] $ docker stop --time=1 e479cf763dd32fd72729dc84709f9cf68e623861fe2595a5b2a3e13a16917e2e [2023-04-18T05:01:38.329Z] $ docker rm -f --volumes e479cf763dd32fd72729dc84709f9cf68e623861fe2595a5b2a3e13a16917e2e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-04-18T05:02:05.415Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-8865 in /w/workspace/gexfoundry_device-sdk-go_PR-1424 [Pipeline] { [Pipeline] ws [2023-04-18T05:02:05.477Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2023-04-18T05:02:05.564Z] The recommended git tool is: git [2023-04-18T05:02:11.270Z] using credential edgex-jenkins-ssh [2023-04-18T05:02:11.285Z] Cloning the remote Git repository [2023-04-18T05:02:11.332Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-04-18T05:02:11.464Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2023-04-18T05:02:11.643Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-04-18T05:02:11.644Z] > git --version # timeout=10 [2023-04-18T05:02:11.669Z] > git --version # 'git version 2.25.1' [2023-04-18T05:02:11.672Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-18T05:02:11.862Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-04-18T05:02:13.694Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-04-18T05:02:13.718Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-04-18T05:02:15.493Z] Merging remotes/origin/main commit 3feff72630b5a64f0b1c499fc37cf8ca79db70fa into PR head commit 63fd7777d4ef91b4e7f21c7e9c892f4f0c507e02 [2023-04-18T05:02:15.841Z] Merge succeeded, producing 63fd7777d4ef91b4e7f21c7e9c892f4f0c507e02 [2023-04-18T05:02:15.842Z] Checking out Revision 63fd7777d4ef91b4e7f21c7e9c892f4f0c507e02 (PR-1424) [2023-04-18T05:02:14.803Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-04-18T05:02:14.864Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-04-18T05:02:14.865Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-18T05:02:14.892Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1424/head:refs/remotes/origin/PR-1424 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-04-18T05:02:15.512Z] > git config core.sparsecheckout # timeout=10 [2023-04-18T05:02:15.593Z] > git checkout -f 63fd7777d4ef91b4e7f21c7e9c892f4f0c507e02 # timeout=10 [2023-04-18T05:02:15.709Z] > git remote # timeout=10 [2023-04-18T05:02:15.736Z] > git config --get remote.origin.url # timeout=10 [2023-04-18T05:02:15.768Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-18T05:02:15.784Z] > git merge 3feff72630b5a64f0b1c499fc37cf8ca79db70fa # timeout=10 [2023-04-18T05:02:15.814Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-04-18T05:02:16.419Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3" [2023-04-18T05:02:16.475Z] > git --version # timeout=10 [2023-04-18T05:02:16.487Z] > git --version # 'git version 2.25.1' [2023-04-18T05:02:16.507Z] fatal: bad object 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-18T05:02:15.845Z] > git config core.sparsecheckout # timeout=10 [2023-04-18T05:02:15.863Z] > git checkout -f 63fd7777d4ef91b4e7f21c7e9c892f4f0c507e02 # timeout=10 [2023-04-18T05:02:17.595Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-04-18T05:02:17.595Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-04-18T05:02:17.595Z] Dload Upload Total Spent Left Speed [2023-04-18T05:02:17.595Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 222k 0 --:--:-- --:--:-- --:--:-- 222k [Pipeline] sh [2023-04-18T05:02:18.222Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-04-18T05:02:18.571Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-04-18T05:02:18.571Z] + sudo tee /etc/docker/daemon.new [2023-04-18T05:02:18.571Z] { [2023-04-18T05:02:18.571Z] "registry-mirrors": [ [2023-04-18T05:02:18.571Z] "https://nexus3.edgexfoundry.org:10001" [2023-04-18T05:02:18.571Z] ], [2023-04-18T05:02:18.571Z] "bip": "10.250.0.254/24", [2023-04-18T05:02:18.571Z] "hosts": [ [2023-04-18T05:02:18.571Z] "tcp://0.0.0.0:5555", [2023-04-18T05:02:18.571Z] "unix:///var/run/docker.sock" [2023-04-18T05:02:18.571Z] ], [2023-04-18T05:02:18.571Z] "mtu": 1458, [2023-04-18T05:02:18.571Z] "selinux-enabled": true, [2023-04-18T05:02:18.571Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-04-18T05:02:18.571Z] } [Pipeline] sh [2023-04-18T05:02:18.919Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-04-18T05:02:19.278Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-18T05:02:37.645Z] provisioning config files... [2023-04-18T05:02:37.681Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config12113098334457568794tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-18T05:02:38.089Z] ---> docker-login.sh [2023-04-18T05:02:38.089Z] nexus3.edgexfoundry.org:10001 [2023-04-18T05:02:38.688Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T05:02:38.688Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T05:02:38.688Z] Configure a credential helper to remove this warning. See [2023-04-18T05:02:38.688Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T05:02:38.688Z] [2023-04-18T05:02:38.688Z] Login Succeeded [2023-04-18T05:02:38.688Z] nexus3.edgexfoundry.org:10002 [2023-04-18T05:02:38.966Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T05:02:39.239Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T05:02:39.239Z] Configure a credential helper to remove this warning. See [2023-04-18T05:02:39.239Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T05:02:39.239Z] [2023-04-18T05:02:39.239Z] Login Succeeded [2023-04-18T05:02:39.239Z] nexus3.edgexfoundry.org:10003 [2023-04-18T05:02:39.512Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T05:02:39.512Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T05:02:39.512Z] Configure a credential helper to remove this warning. See [2023-04-18T05:02:39.512Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T05:02:39.512Z] [2023-04-18T05:02:39.512Z] Login Succeeded [2023-04-18T05:02:39.512Z] nexus3.edgexfoundry.org:10004 [2023-04-18T05:02:40.116Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T05:02:40.116Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T05:02:40.116Z] Configure a credential helper to remove this warning. See [2023-04-18T05:02:40.116Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T05:02:40.116Z] [2023-04-18T05:02:40.116Z] Login Succeeded [2023-04-18T05:02:40.116Z] docker.io [2023-04-18T05:02:40.401Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T05:02:40.674Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T05:02:40.674Z] Configure a credential helper to remove this warning. See [2023-04-18T05:02:40.674Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T05:02:40.674Z] [2023-04-18T05:02:40.674Z] Login Succeeded [2023-04-18T05:02:40.674Z] ---> docker-login.sh ends [Pipeline] } [2023-04-18T05:02:40.705Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-04-18T05:02:41.221Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-18T05:02:41.266Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-18T05:02:41.310Z] ========================================================= [2023-04-18T05:02:41.310Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-04-18T05:02:41.310Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T05:02:41.823Z] + 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-04-18T05:02:42.416Z] Sending build context to Docker daemon 5.897MB [2023-04-18T05:02:42.416Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-04-18T05:02:42.416Z] Step 2/10 : FROM ${BASE} AS builder [2023-04-18T05:02:42.694Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-04-18T05:02:42.694Z] af6eaf76a39c: Pulling fs layer [2023-04-18T05:02:42.694Z] 55522c791124: Pulling fs layer [2023-04-18T05:02:42.694Z] ce5c4a1c91eb: Pulling fs layer [2023-04-18T05:02:42.694Z] 169dfbe0d373: Pulling fs layer [2023-04-18T05:02:42.694Z] e1ff8fa3b103: Pulling fs layer [2023-04-18T05:02:42.694Z] 52ebb69f0ebf: Pulling fs layer [2023-04-18T05:02:42.694Z] 5abe8eddf0d5: Pulling fs layer [2023-04-18T05:02:42.694Z] e1ff8fa3b103: Waiting [2023-04-18T05:02:42.694Z] 52ebb69f0ebf: Waiting [2023-04-18T05:02:42.694Z] 5abe8eddf0d5: Waiting [2023-04-18T05:02:42.694Z] 169dfbe0d373: Waiting [2023-04-18T05:02:42.694Z] 55522c791124: Verifying Checksum [2023-04-18T05:02:42.694Z] 55522c791124: Download complete [2023-04-18T05:02:42.694Z] 169dfbe0d373: Verifying Checksum [2023-04-18T05:02:42.694Z] 169dfbe0d373: Download complete [2023-04-18T05:02:42.694Z] e1ff8fa3b103: Verifying Checksum [2023-04-18T05:02:42.694Z] e1ff8fa3b103: Download complete [2023-04-18T05:02:42.694Z] af6eaf76a39c: Verifying Checksum [2023-04-18T05:02:42.694Z] af6eaf76a39c: Download complete [2023-04-18T05:02:44.146Z] af6eaf76a39c: Pull complete [2023-04-18T05:02:44.146Z] 5abe8eddf0d5: Verifying Checksum [2023-04-18T05:02:44.146Z] 5abe8eddf0d5: Download complete [2023-04-18T05:02:44.433Z] 55522c791124: Pull complete [2023-04-18T05:02:45.413Z] ce5c4a1c91eb: Verifying Checksum [2023-04-18T05:02:45.413Z] ce5c4a1c91eb: Download complete [2023-04-18T05:02:45.413Z] 52ebb69f0ebf: Verifying Checksum [2023-04-18T05:02:45.413Z] 52ebb69f0ebf: Download complete [2023-04-18T05:02:57.958Z] ce5c4a1c91eb: Pull complete [2023-04-18T05:02:57.958Z] 169dfbe0d373: Pull complete [2023-04-18T05:02:57.958Z] e1ff8fa3b103: Pull complete [2023-04-18T05:03:04.679Z] 52ebb69f0ebf: Pull complete [2023-04-18T05:03:06.641Z] 5abe8eddf0d5: Pull complete [2023-04-18T05:03:06.641Z] Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f [2023-04-18T05:03:06.641Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-04-18T05:03:06.641Z] ---> 6cb57ee374ae [2023-04-18T05:03:06.641Z] Step 3/10 : ARG MAKE=make build [2023-04-18T05:03:08.594Z] ---> Running in b2578b2d1886 [2023-04-18T05:03:08.594Z] Removing intermediate container b2578b2d1886 [2023-04-18T05:03:08.594Z] ---> 0881996afb80 [2023-04-18T05:03:08.594Z] Step 4/10 : WORKDIR /device-sdk-go [2023-04-18T05:03:08.594Z] ---> Running in 172476e30f49 [2023-04-18T05:03:09.178Z] Removing intermediate container 172476e30f49 [2023-04-18T05:03:09.179Z] ---> 11900ba0f82d [2023-04-18T05:03:09.179Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-04-18T05:03:09.179Z] ---> Running in 9a1a49cea80e [2023-04-18T05:03:09.446Z] Removing intermediate container 9a1a49cea80e [2023-04-18T05:03:09.446Z] ---> 1ecead6cc36a [2023-04-18T05:03:09.446Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-04-18T05:03:09.446Z] ---> Running in 8a124bd72fe8 [2023-04-18T05:03:10.860Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-04-18T05:03:11.450Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-04-18T05:03:12.418Z] OK: 263 MiB in 53 packages [2023-04-18T05:03:13.387Z] Removing intermediate container 8a124bd72fe8 [2023-04-18T05:03:13.387Z] ---> 702302a37402 [2023-04-18T05:03:13.387Z] Step 7/10 : COPY go.mod vendor* ./ [2023-04-18T05:03:13.990Z] ---> cd3442dd2ee6 [2023-04-18T05:03:13.990Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-18T05:03:13.990Z] ---> Running in 2193418c9165 [2023-04-18T05:04:21.902Z] Removing intermediate container 2193418c9165 [2023-04-18T05:04:21.902Z] ---> 8431276e1ff5 [2023-04-18T05:04:21.902Z] Step 9/10 : COPY . . [2023-04-18T05:04:21.902Z] ---> bcd4a63acb42 [2023-04-18T05:04:21.902Z] Step 10/10 : RUN ${MAKE} [2023-04-18T05:04:21.902Z] ---> Running in 844ddb1d86dc [2023-04-18T05:04:21.902Z] noop [2023-04-18T05:04:21.902Z] Removing intermediate container 844ddb1d86dc [2023-04-18T05:04:21.902Z] ---> 053a93247f11 [2023-04-18T05:04:21.902Z] Successfully built 053a93247f11 [2023-04-18T05:04:21.902Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T05:04:22.374Z] + docker inspect -f . ci-base-image-arm64 [2023-04-18T05:04:22.375Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-18T05:04:22.656Z] prd-ubuntu20.04-docker-arm64-4c-16g-8865 does not seem to be running inside a container [2023-04-18T05:04:22.726Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-04-18T05:04:23.929Z] $ docker top 4b956ae6e90cd903db99d90071466347efd2a658ad2c3e02eacf5c00c164b72b -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-18T05:04:24.817Z] + go version [2023-04-18T05:04:24.817Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-04-18T05:04:24.852Z] $ docker stop --time=1 4b956ae6e90cd903db99d90071466347efd2a658ad2c3e02eacf5c00c164b72b [2023-04-18T05:04:26.485Z] $ docker rm -f --volumes 4b956ae6e90cd903db99d90071466347efd2a658ad2c3e02eacf5c00c164b72b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T05:04:27.368Z] + docker inspect -f . ci-base-image-arm64 [2023-04-18T05:04:27.369Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-18T05:04:27.645Z] prd-ubuntu20.04-docker-arm64-4c-16g-8865 does not seem to be running inside a container [2023-04-18T05:04:27.718Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-04-18T05:04:28.961Z] $ docker top b59eb82c5efa6fa5f801a7da754e7c261c20b4b6b04563da9d510f6e37cc1746 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-18T05:04:29.860Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh [2023-04-18T05:04:30.596Z] + make test [2023-04-18T05:04:30.596Z] go test -race -coverprofile=coverage.out ./... [2023-04-18T05:05:17.465Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-04-18T05:07:39.216Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-04-18T05:07:39.216Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-04-18T05:07:39.216Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-04-18T05:07:39.216Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-04-18T05:07:39.216Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-04-18T05:07:54.231Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.251s coverage: 27.6% of statements [2023-04-18T05:07:54.820Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.280s coverage: 80.2% of statements [2023-04-18T05:08:07.151Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-04-18T05:08:07.151Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-04-18T05:08:07.151Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.413s coverage: 86.0% of statements [2023-04-18T05:08:12.503Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-04-18T05:08:12.503Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-04-18T05:08:12.503Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.526s coverage: 77.5% of statements [2023-04-18T05:08:15.857Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.294s coverage: 14.6% of statements [2023-04-18T05:08:18.452Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-04-18T05:08:18.452Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-04-18T05:08:19.042Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.506s coverage: 68.5% of statements [2023-04-18T05:08:20.455Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.477s coverage: 89.2% of statements [2023-04-18T05:08:24.738Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-04-18T05:08:24.738Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.283s coverage: 5.5% of statements [2023-04-18T05:08:25.705Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-04-18T05:08:25.705Z] GO111MODULE=on go vet ./... [2023-04-18T05:11:17.517Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-04-18T05:11:17.517Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-04-18T05:11:17.517Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-04-18T05:11:17.558Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-04-18T05:11:17.589Z] $ docker stop --time=1 b59eb82c5efa6fa5f801a7da754e7c261c20b4b6b04563da9d510f6e37cc1746 [2023-04-18T05:11:19.605Z] $ docker rm -f --volumes b59eb82c5efa6fa5f801a7da754e7c261c20b4b6b04563da9d510f6e37cc1746 [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-18T05:11:21.438Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-04-18T05:11:21.479Z] Warning: overwriting stash ‘coverage-report’ [2023-04-18T05:11:22.137Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-18T05:11:22.713Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-04-18T05:11:23.056Z] + ls -al . [2023-04-18T05:11:23.056Z] total 268 [2023-04-18T05:11:23.056Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 18 05:04 . [2023-04-18T05:11:23.056Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 18 05:02 .. [2023-04-18T05:11:23.056Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 18 05:02 .dockerignore [2023-04-18T05:11:23.056Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 18 05:02 .git [2023-04-18T05:11:23.056Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 18 05:02 .github [2023-04-18T05:11:23.056Z] -rw-rw-r-- 1 jenkins jenkins 131 Apr 18 05:02 .gitignore [2023-04-18T05:11:23.056Z] -rw-rw-r-- 1 jenkins jenkins 42 Apr 18 05:02 .golangci.yml [2023-04-18T05:11:23.056Z] -rw-rw-r-- 1 jenkins jenkins 31677 Apr 18 05:02 CHANGELOG.md [2023-04-18T05:11:23.056Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 18 05:02 GOVERNANCE.md [2023-04-18T05:11:23.056Z] -rw-rw-r-- 1 jenkins jenkins 885 Apr 18 05:02 Jenkinsfile [2023-04-18T05:11:23.056Z] -rw-rw-r-- 1 jenkins jenkins 11341 Apr 18 05:02 LICENSE [2023-04-18T05:11:23.056Z] -rw-rw-r-- 1 jenkins jenkins 1714 Apr 18 05:02 Makefile [2023-04-18T05:11:23.056Z] -rw-rw-r-- 1 jenkins jenkins 619 Apr 18 05:02 OWNERS.md [2023-04-18T05:11:23.056Z] -rw-rw-r-- 1 jenkins jenkins 4891 Apr 18 05:02 README.md [2023-04-18T05:11:23.056Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 18 04:59 VERSION [2023-04-18T05:11:23.056Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 18 05:02 bin [2023-04-18T05:11:23.056Z] -rw-r--r-- 1 jenkins jenkins 106117 Apr 18 05:08 coverage.out [2023-04-18T05:11:23.056Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 18 05:02 example [2023-04-18T05:11:23.056Z] -rw-rw-r-- 1 jenkins jenkins 3246 Apr 18 05:02 go.mod [2023-04-18T05:11:23.056Z] -rw-rw-r-- 1 jenkins jenkins 31006 Apr 18 05:02 go.sum [2023-04-18T05:11:23.056Z] drwxrwxr-x 12 jenkins jenkins 4096 Apr 18 05:02 internal [2023-04-18T05:11:23.056Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 18 05:02 openapi [2023-04-18T05:11:23.056Z] drwxrwxr-x 6 jenkins jenkins 4096 Apr 18 05:02 pkg [2023-04-18T05:11:23.056Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 18 05:02 snap [2023-04-18T05:11:23.056Z] -rw-rw-r-- 1 jenkins jenkins 222 Apr 18 05:02 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T05:11:23.476Z] + 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=63fd7777d4ef91b4e7f21c7e9c892f4f0c507e02 --label arch=arm64 --label version=0.0.0 . [2023-04-18T05:11:24.065Z] Sending build context to Docker daemon 6.004MB [2023-04-18T05:11:24.065Z] Step 1/23 : ARG BASE=golang:1.20-alpine3.17 [2023-04-18T05:11:24.065Z] Step 2/23 : FROM ${BASE} AS builder [2023-04-18T05:11:24.065Z] ---> 053a93247f11 [2023-04-18T05:11:24.065Z] Step 3/23 : ARG MAKE=make build [2023-04-18T05:11:24.065Z] ---> Running in fee4b3431e64 [2023-04-18T05:11:24.340Z] Removing intermediate container fee4b3431e64 [2023-04-18T05:11:24.340Z] ---> b4d202ef7466 [2023-04-18T05:11:24.340Z] Step 4/23 : WORKDIR /device-sdk-go [2023-04-18T05:11:24.610Z] ---> Running in 05c866452c6b [2023-04-18T05:11:24.946Z] Removing intermediate container 05c866452c6b [2023-04-18T05:11:24.946Z] ---> 28eb5f0f952f [2023-04-18T05:11:24.946Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-04-18T05:11:24.946Z] ---> Running in 3e9038ab7206 [2023-04-18T05:11:25.254Z] Removing intermediate container 3e9038ab7206 [2023-04-18T05:11:25.254Z] ---> 9728081e02f8 [2023-04-18T05:11:25.254Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-04-18T05:11:25.548Z] ---> Running in dc2f5a5dbce7 [2023-04-18T05:11:26.537Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-04-18T05:11:27.137Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-04-18T05:11:28.578Z] OK: 263 MiB in 53 packages [2023-04-18T05:11:29.552Z] Removing intermediate container dc2f5a5dbce7 [2023-04-18T05:11:29.552Z] ---> cceaf9cf76ed [2023-04-18T05:11:29.552Z] Step 7/23 : COPY go.mod vendor* ./ [2023-04-18T05:11:30.979Z] ---> c2023b886e97 [2023-04-18T05:11:30.979Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-18T05:11:31.251Z] ---> Running in 3b72a0cd663a [2023-04-18T05:11:33.844Z] Removing intermediate container 3b72a0cd663a [2023-04-18T05:11:33.844Z] ---> bfd6815671e4 [2023-04-18T05:11:33.844Z] Step 9/23 : COPY . . [2023-04-18T05:11:35.258Z] ---> f6daa7f486d1 [2023-04-18T05:11:35.258Z] Step 10/23 : RUN ${MAKE} [2023-04-18T05:11:35.258Z] ---> Running in be368a6bf0a5 [2023-04-18T05:11:36.223Z] 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-04-18T05:13:57.936Z] Removing intermediate container be368a6bf0a5 [2023-04-18T05:13:57.936Z] ---> 4e25c50ddacc [2023-04-18T05:13:57.936Z] Step 11/23 : FROM alpine:3.17 [2023-04-18T05:13:57.936Z] 3.17: Pulling from library/alpine [2023-04-18T05:13:57.936Z] c41833b44d91: Pulling fs layer [2023-04-18T05:13:57.936Z] c41833b44d91: Verifying Checksum [2023-04-18T05:13:57.936Z] c41833b44d91: Download complete [2023-04-18T05:13:58.203Z] c41833b44d91: Pull complete [2023-04-18T05:13:58.203Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-04-18T05:13:58.470Z] Status: Downloaded newer image for alpine:3.17 [2023-04-18T05:13:58.470Z] ---> 51e60588ff2c [2023-04-18T05:13:58.470Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-04-18T05:13:58.470Z] ---> Running in 54e941de7813 [2023-04-18T05:13:58.742Z] Removing intermediate container 54e941de7813 [2023-04-18T05:13:58.743Z] ---> 513c59bc56b9 [2023-04-18T05:13:58.743Z] Step 13/23 : RUN apk add --update --no-cache [2023-04-18T05:13:58.743Z] ---> Running in d705a42f728b [2023-04-18T05:13:59.706Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-04-18T05:14:00.667Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-04-18T05:14:01.628Z] OK: 7 MiB in 15 packages [2023-04-18T05:14:02.591Z] Removing intermediate container d705a42f728b [2023-04-18T05:14:02.591Z] ---> 1b1b99ca17d1 [2023-04-18T05:14:02.591Z] Step 14/23 : WORKDIR / [2023-04-18T05:14:02.591Z] ---> Running in 723cce28e3a2 [2023-04-18T05:14:02.859Z] Removing intermediate container 723cce28e3a2 [2023-04-18T05:14:02.859Z] ---> d13e6fec8d2e [2023-04-18T05:14:02.859Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-04-18T05:14:03.510Z] ---> 3568074dbfbe [2023-04-18T05:14:03.510Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-04-18T05:14:04.921Z] ---> c30e70552a26 [2023-04-18T05:14:04.921Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-04-18T05:14:05.190Z] ---> 017ed1068d4a [2023-04-18T05:14:05.190Z] Step 18/23 : EXPOSE 59999 [2023-04-18T05:14:05.460Z] ---> Running in d985d215047f [2023-04-18T05:14:05.736Z] Removing intermediate container d985d215047f [2023-04-18T05:14:05.736Z] ---> 5834d3e9f96f [2023-04-18T05:14:05.736Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-04-18T05:14:05.736Z] ---> Running in f453cd5b301b [2023-04-18T05:14:06.007Z] Removing intermediate container f453cd5b301b [2023-04-18T05:14:06.007Z] ---> e7e4b23d758b [2023-04-18T05:14:06.007Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-04-18T05:14:06.274Z] ---> Running in 19746abfb79f [2023-04-18T05:14:06.543Z] Removing intermediate container 19746abfb79f [2023-04-18T05:14:06.543Z] ---> ba65db9f1f12 [2023-04-18T05:14:06.543Z] Step 21/23 : LABEL arch=arm64 [2023-04-18T05:14:06.543Z] ---> Running in ec8def149a50 [2023-04-18T05:14:06.813Z] Removing intermediate container ec8def149a50 [2023-04-18T05:14:06.813Z] ---> 2488e7e99974 [2023-04-18T05:14:06.813Z] Step 22/23 : LABEL git_sha=63fd7777d4ef91b4e7f21c7e9c892f4f0c507e02 [2023-04-18T05:14:06.813Z] ---> Running in d6ff2dfb4a04 [2023-04-18T05:14:07.081Z] Removing intermediate container d6ff2dfb4a04 [2023-04-18T05:14:07.082Z] ---> 007be00fed35 [2023-04-18T05:14:07.082Z] Step 23/23 : LABEL version=0.0.0 [2023-04-18T05:14:07.348Z] ---> Running in 99c868d9263e [2023-04-18T05:14:07.617Z] Removing intermediate container 99c868d9263e [2023-04-18T05:14:07.617Z] ---> a0b5156df26e [2023-04-18T05:14:07.617Z] [Warning] One or more build-args [ARCH] were not consumed [2023-04-18T05:14:07.617Z] Successfully built a0b5156df26e [2023-04-18T05:14:07.617Z] 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-04-18T05:14:08.447Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-18T05:14:08.448Z] [2023-04-18T05:14:08.448Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T05:14:08.851Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-18T05:14:08.851Z] arm64: Pulling from edgex-lftools-log-publisher [2023-04-18T05:14:08.851Z] 8998bd30e6a1: Pulling fs layer [2023-04-18T05:14:08.851Z] 04944245beec: Pulling fs layer [2023-04-18T05:14:08.851Z] 699f458cf7ca: Pulling fs layer [2023-04-18T05:14:08.851Z] 765212b225bb: Pulling fs layer [2023-04-18T05:14:08.851Z] f23df028b6ca: Pulling fs layer [2023-04-18T05:14:08.851Z] d65c8cfc05b1: Pulling fs layer [2023-04-18T05:14:08.851Z] 2437ff75d9bd: Pulling fs layer [2023-04-18T05:14:08.851Z] f23df028b6ca: Waiting [2023-04-18T05:14:08.851Z] d65c8cfc05b1: Waiting [2023-04-18T05:14:08.851Z] 765212b225bb: Waiting [2023-04-18T05:14:08.851Z] 2437ff75d9bd: Waiting [2023-04-18T05:14:09.121Z] 04944245beec: Verifying Checksum [2023-04-18T05:14:09.122Z] 04944245beec: Download complete [2023-04-18T05:14:09.122Z] 765212b225bb: Verifying Checksum [2023-04-18T05:14:09.122Z] 765212b225bb: Download complete [2023-04-18T05:14:09.122Z] f23df028b6ca: Verifying Checksum [2023-04-18T05:14:09.122Z] f23df028b6ca: Download complete [2023-04-18T05:14:09.122Z] d65c8cfc05b1: Verifying Checksum [2023-04-18T05:14:09.122Z] d65c8cfc05b1: Download complete [2023-04-18T05:14:09.122Z] 699f458cf7ca: Verifying Checksum [2023-04-18T05:14:09.712Z] 8998bd30e6a1: Verifying Checksum [2023-04-18T05:14:09.712Z] 8998bd30e6a1: Download complete [2023-04-18T05:14:12.293Z] 2437ff75d9bd: Verifying Checksum [2023-04-18T05:14:12.293Z] 2437ff75d9bd: Download complete [2023-04-18T05:14:13.700Z] 8998bd30e6a1: Pull complete [2023-04-18T05:14:13.968Z] 04944245beec: Pull complete [2023-04-18T05:14:15.376Z] 699f458cf7ca: Pull complete [2023-04-18T05:14:15.376Z] 765212b225bb: Pull complete [2023-04-18T05:14:15.962Z] f23df028b6ca: Pull complete [2023-04-18T05:14:16.231Z] d65c8cfc05b1: Pull complete [2023-04-18T05:14:28.532Z] 2437ff75d9bd: Pull complete [2023-04-18T05:14:28.798Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-04-18T05:14:28.798Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-18T05:14:28.798Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-18T05:14:29.115Z] prd-ubuntu20.04-docker-arm64-4c-16g-8865 does not seem to be running inside a container [2023-04-18T05:14:29.183Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-04-18T05:14:32.143Z] $ docker top c4aa67d710468c33512b3005c5a7b09a2d4f373e202e2fa1bc5a852a07bc1c44 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-18T05:14:33.066Z] ---> job-cost.sh [2023-04-18T05:14:33.067Z] lf-activate-venv: SKIPPING [2023-04-18T05:14:33.067Z] INFO: No Stack... [2023-04-18T05:14:33.336Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-04-18T05:14:34.295Z] INFO: Archiving Costs [Pipeline] sh [2023-04-18T05:14:34.958Z] + + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2023-04-18T05:14:34.958Z] cut -d, -f6 [Pipeline] lock [2023-04-18T05:14:35.053Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1424-1-stack-cost] [2023-04-18T05:14:35.058Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1424-1-stack-cost] did not exist. Created. [2023-04-18T05:14:35.058Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1424-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-04-18T05:14:35.801Z] /w/workspace/device-sdk-go/1@tmp/durable-975357be/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-04-18T05:14:36.157Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-04-18T05:14:36.195Z] Warning: overwriting stash ‘stack-cost’ [2023-04-18T05:14:36.260Z] Stashed 1 file(s) [Pipeline] } [2023-04-18T05:14:36.275Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1424-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-04-18T05:14:36.357Z] $ docker stop --time=1 c4aa67d710468c33512b3005c5a7b09a2d4f373e202e2fa1bc5a852a07bc1c44 [2023-04-18T05:14:37.864Z] $ docker rm -f --volumes c4aa67d710468c33512b3005c5a7b09a2d4f373e202e2fa1bc5a852a07bc1c44 [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-04-18T05:14:38.842Z] provisioning config files... [2023-04-18T05:14:38.848Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1424@tmp/config16190764971396091826tmp [Pipeline] { [Pipeline] sh [2023-04-18T05:14:39.199Z] + set +x [2023-04-18T05:14:39.199Z] + bash -s -- [2023-04-18T05:14:39.199Z] + curl -s https://codecov.io/bash [2023-04-18T05:14:39.199Z] [2023-04-18T05:14:39.199Z] _____ _ [2023-04-18T05:14:39.199Z] / ____| | | [2023-04-18T05:14:39.199Z] | | ___ __| | ___ ___ _____ __ [2023-04-18T05:14:39.199Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-04-18T05:14:39.199Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-04-18T05:14:39.199Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-04-18T05:14:39.199Z] Bash-1.0.6 [2023-04-18T05:14:39.199Z] [2023-04-18T05:14:39.199Z] [2023-04-18T05:14:39.199Z] ==> git version 2.25.1 found [2023-04-18T05:14:39.199Z] ==> 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-04-18T05:14:39.199Z] Release-Date: 2020-01-08 [2023-04-18T05:14:39.199Z] 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-04-18T05:14:39.199Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-04-18T05:14:39.199Z] ==> Jenkins CI detected. [2023-04-18T05:14:39.199Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1424 [2023-04-18T05:14:39.199Z] project root: . [2023-04-18T05:14:39.199Z] --> token set from env [2023-04-18T05:14:39.199Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-04-18T05:14:39.199Z] ==> Running gcov in . (disable via -X gcov) [2023-04-18T05:14:39.199Z] ==> Python coveragepy not found [2023-04-18T05:14:39.199Z] ==> Searching for coverage reports in: [2023-04-18T05:14:39.199Z] + . [2023-04-18T05:14:39.199Z] -> Found 1 reports [2023-04-18T05:14:39.199Z] ==> Detecting git/mercurial file structure [2023-04-18T05:14:39.199Z] ==> Reading reports [2023-04-18T05:14:39.199Z] + ./coverage.out bytes=106117 [2023-04-18T05:14:39.199Z] ==> Appending adjustments [2023-04-18T05:14:39.199Z] https://docs.codecov.io/docs/fixing-reports [2023-04-18T05:14:39.457Z] + Found adjustments [2023-04-18T05:14:39.457Z] ==> Gzipping contents [2023-04-18T05:14:39.716Z] 16K /tmp/codecov.Q9pT5d.gz [2023-04-18T05:14:39.716Z] ==> Uploading reports [2023-04-18T05:14:39.716Z] url: https://codecov.io [2023-04-18T05:14:39.716Z] query: branch=PR-1424&commit=63fd7777d4ef91b4e7f21c7e9c892f4f0c507e02&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1424%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1424&job=&cmd_args= [2023-04-18T05:14:39.716Z] -> Pinging Codecov [2023-04-18T05:14:39.716Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1424&commit=63fd7777d4ef91b4e7f21c7e9c892f4f0c507e02&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1424%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1424&job=&cmd_args= [2023-04-18T05:14:39.716Z] -> Uploading to [2023-04-18T05:14:39.716Z] https://storage.googleapis.com/codecov/v4/raw/2023-04-18/7E55EF52A471D76F132DFD9A03CDDE97/63fd7777d4ef91b4e7f21c7e9c892f4f0c507e02/6fb004b7-7edf-4531-ac88-c186ee9a405c.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230418%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230418T051439Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=eddcdd4d5c6293296ab2505a265079446c5049c74b7fdcea3acbe4f47c212a32 [2023-04-18T05:14:39.716Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-04-18T05:14:39.716Z] Dload Upload Total Spent Left Speed [2023-04-18T05:14:39.975Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14996 0 0 100 14996 0 72096 --:--:-- --:--:-- --:--:-- 72444 [2023-04-18T05:14:39.975Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/63fd7777d4ef91b4e7f21c7e9c892f4f0c507e02 [Pipeline] } [2023-04-18T05:14:40.002Z] 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-04-18T05:14:41.752Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1424/archives ] [2023-04-18T05:14:41.752Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1424/archives [2023-04-18T05:14:41.752Z] total 16 [2023-04-18T05:14:41.752Z] drwxr-xr-x 3 root root 4096 Apr 18 05:01 . [2023-04-18T05:14:41.752Z] drwxrwxr-x 12 jenkins jenkins 4096 Apr 18 05:01 .. [2023-04-18T05:14:41.752Z] drwxr-xr-x 2 root root 4096 Apr 18 05:01 cost [2023-04-18T05:14:41.752Z] -rw-r--r-- 1 root root 86 Apr 18 05:01 cost.csv [2023-04-18T05:14:41.752Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1424/archives [2023-04-18T05:14:41.752Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1424/archives [2023-04-18T05:14:41.752Z] total 16 [2023-04-18T05:14:41.752Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 18 05:01 . [2023-04-18T05:14:41.752Z] drwxrwxr-x 12 jenkins jenkins 4096 Apr 18 05:01 .. [2023-04-18T05:14:41.752Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 18 05:01 cost [2023-04-18T05:14:41.752Z] -rw-r--r-- 1 jenkins jenkins 86 Apr 18 05:01 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-04-18T05:14:42.080Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-18T05:14:42.960Z] ---> package-listing.sh [2023-04-18T05:14:42.960Z] ++ facter osfamily [2023-04-18T05:14:42.960Z] ++ tr '[:upper:]' '[:lower:]' [2023-04-18T05:14:43.218Z] + OS_FAMILY=debian [2023-04-18T05:14:43.218Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1424 [2023-04-18T05:14:43.218Z] + START_PACKAGES=/tmp/packages_start.txt [2023-04-18T05:14:43.218Z] + END_PACKAGES=/tmp/packages_end.txt [2023-04-18T05:14:43.218Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-04-18T05:14:43.218Z] + PACKAGES=/tmp/packages_start.txt [2023-04-18T05:14:43.218Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1424 ']' [2023-04-18T05:14:43.218Z] + PACKAGES=/tmp/packages_end.txt [2023-04-18T05:14:43.218Z] + case "${OS_FAMILY}" in [2023-04-18T05:14:43.218Z] + dpkg -l [2023-04-18T05:14:43.218Z] + grep '^ii' [2023-04-18T05:14:43.218Z] + '[' -f /tmp/packages_start.txt ']' [2023-04-18T05:14:43.218Z] + '[' -f /tmp/packages_end.txt ']' [2023-04-18T05:14:43.218Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-04-18T05:14:43.218Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1424 ']' [2023-04-18T05:14:43.218Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1424/archives/ [2023-04-18T05:14:43.218Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1424/archives/ [Pipeline] echo [2023-04-18T05:14:43.264Z] 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-1424/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-04-18T05:14:43.554Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T05:14:44.186Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-18T05:14:44.186Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-18T05:14:44.336Z] prd-ubuntu20.04-docker-8c-8g-8861 does not seem to be running inside a container [2023-04-18T05:14:44.372Z] $ 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-1424/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-1424 -v /w/workspace/gexfoundry_device-sdk-go_PR-1424:/w/workspace/gexfoundry_device-sdk-go_PR-1424:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1424@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1424@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-04-18T05:14:44.571Z] $ docker top cfff3a1bb78725cb558d998bd6121c57a723463f0b1eb40a0bacf63ad2228e72 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-18T05:14:44.954Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-04-18T05:14:45.270Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-04-18T05:14:45.579Z] + ls /var/log/sa-host [2023-04-18T05:14:45.579Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-18T05:14:45.713Z] provisioning config files... [2023-04-18T05:14:45.721Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1424@tmp/config2621025761615980190tmp [Pipeline] { [Pipeline] echo [2023-04-18T05:14:45.771Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-18T05:14:46.094Z] ---> create-netrc.sh [Pipeline] } [2023-04-18T05:14:46.124Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-04-18T05:14:46.519Z] ---> python-tools-install.sh [Pipeline] echo [2023-04-18T05:14:46.552Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-18T05:14:46.863Z] ---> sudo-logs.sh [2023-04-18T05:14:46.863Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-04-18T05:14:46.955Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-18T05:14:47.272Z] ---> job-cost.sh [2023-04-18T05:14:47.272Z] lf-activate-venv: SKIPPING [2023-04-18T05:14:47.272Z] DEBUG: total: 0.2199999988079071 [2023-04-18T05:14:47.272Z] INFO: Retrieving Stack Cost... [2023-04-18T05:14:47.531Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-04-18T05:14:48.099Z] INFO: Archiving Costs [Pipeline] echo [2023-04-18T05:14:48.140Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-18T05:14:48.464Z] ---> logs-deploy.sh [2023-04-18T05:14:48.464Z] lf-activate-venv: SKIPPING [2023-04-18T05:14:48.464Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1424/1 [2023-04-18T05:14:48.464Z] INFO: archiving workspace using pattern(s): [2023-04-18T05:14:49.402Z] Archives upload complete. [2023-04-18T05:14:49.402Z] INFO: archiving logs to Nexus