Pull request #1427 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 215cb1e7142f37e7a13b2af639ac9b616c3f82cc+8615fc25123047f243aada2a729ac9237acb70ec (08c2d8a192689bdd2f3e685e10c639f2763c89b7) 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-ssh10937553118769424695.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-ssh10190068249006794065.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-1427/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-1427/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10875440323456504719.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-1427/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6603778111780323501.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-ssh4575971157328034228.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-1427/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-1427/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh4338297261930867592.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-9133 in /w/workspace/gexfoundry_device-sdk-go_PR-1427 [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-1427 # 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/1427/head:refs/remotes/origin/PR-1427 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 8615fc25123047f243aada2a729ac9237acb70ec into PR head commit 215cb1e7142f37e7a13b2af639ac9b616c3f82cc Merge succeeded, producing 215cb1e7142f37e7a13b2af639ac9b616c3f82cc Checking out Revision 215cb1e7142f37e7a13b2af639ac9b616c3f82cc (PR-1427) Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-04-20T04:58:42.894Z] Timeout set to expire in 6 hr 0 min [Pipeline] { > git config core.sparsecheckout # timeout=10 > git checkout -f 215cb1e7142f37e7a13b2af639ac9b616c3f82cc # 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 8615fc25123047f243aada2a729ac9237acb70ec # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 215cb1e7142f37e7a13b2af639ac9b616c3f82cc # timeout=10 [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-04-20T04:58:43.076Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-04-20T04:58:43.177Z] ========================================================= [2023-04-20T04:58:43.177Z] EdgeX Global Pipelines Version Info [2023-04-20T04:58:43.177Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-04-20T04:58:43.916Z] ------------------- [2023-04-20T04:58:43.916Z] stable info: [2023-04-20T04:58:43.916Z] ------------------- [2023-04-20T04:58:43.916Z] Commited By: Bill Mahoney bill.mahoney@intel.com [2023-04-20T04:58:43.916Z] Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [2023-04-20T04:58:43.916Z] Message: update stable to v1.0.248 [2023-04-20T04:58:44.485Z] ------------------- [2023-04-20T04:58:44.485Z] experimental info: [2023-04-20T04:58:44.485Z] ------------------- [2023-04-20T04:58:44.485Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-04-20T04:58:44.485Z] Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [2023-04-20T04:58:44.485Z] Message: update experimental to v1.0.248 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-04-20T04:58:44.746Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-04-20T04:58:44.785Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-04-20T04:58:44.823Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-04-20T04:58:44.865Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-04-20T04:58:44.905Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-04-20T04:58:44.951Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-04-20T04:58:44.987Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-04-20T04:58:45.027Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-04-20T04:58:45.068Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-04-20T04:58:45.104Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-04-20T04:58:45.142Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-04-20T04:58:45.187Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-04-20T04:58:45.221Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-04-20T04:58:45.267Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-04-20T04:58:45.305Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-04-20T04:58:45.342Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-04-20T04:58:45.379Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-04-20T04:58:45.419Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-04-20T04:58:45.456Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-04-20T04:58:45.493Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-04-20T04:58:45.530Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-04-20T04:58:45.567Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2023-04-20T04:58:45.605Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-04-20T04:58:45.644Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-04-20T04:58:45.689Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-04-20T04:58:45.736Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-04-20T04:58:45.772Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-04-20T04:58:45.809Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1427 [Pipeline] echo [2023-04-20T04:58:45.855Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1427 [Pipeline] echo [2023-04-20T04:58:45.896Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1427 [Pipeline] echo [2023-04-20T04:58:45.938Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 215cb1e7142f37e7a13b2af639ac9b616c3f82cc [Pipeline] echo [2023-04-20T04:58:45.970Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 215cb1e [Pipeline] echo [2023-04-20T04:58:46.002Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-20T04:58:46.118Z] provisioning config files... [2023-04-20T04:58:46.131Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1427@tmp/config10712356233237134696tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-20T04:58:46.499Z] ---> docker-login.sh [2023-04-20T04:58:46.499Z] nexus3.edgexfoundry.org:10001 [2023-04-20T04:58:47.072Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-20T04:58:47.072Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-20T04:58:47.072Z] Configure a credential helper to remove this warning. See [2023-04-20T04:58:47.072Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-20T04:58:47.072Z] [2023-04-20T04:58:47.072Z] Login Succeeded [2023-04-20T04:58:47.072Z] nexus3.edgexfoundry.org:10002 [2023-04-20T04:58:47.072Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-20T04:58:47.332Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-20T04:58:47.332Z] Configure a credential helper to remove this warning. See [2023-04-20T04:58:47.332Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-20T04:58:47.332Z] [2023-04-20T04:58:47.332Z] Login Succeeded [2023-04-20T04:58:47.332Z] nexus3.edgexfoundry.org:10003 [2023-04-20T04:58:47.332Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-20T04:58:47.332Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-20T04:58:47.332Z] Configure a credential helper to remove this warning. See [2023-04-20T04:58:47.332Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-20T04:58:47.332Z] [2023-04-20T04:58:47.332Z] Login Succeeded [2023-04-20T04:58:47.332Z] nexus3.edgexfoundry.org:10004 [2023-04-20T04:58:47.332Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-20T04:58:47.593Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-20T04:58:47.593Z] Configure a credential helper to remove this warning. See [2023-04-20T04:58:47.593Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-20T04:58:47.593Z] [2023-04-20T04:58:47.593Z] Login Succeeded [2023-04-20T04:58:47.593Z] docker.io [2023-04-20T04:58:47.593Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-20T04:58:47.857Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-20T04:58:47.857Z] Configure a credential helper to remove this warning. See [2023-04-20T04:58:47.857Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-20T04:58:47.857Z] [2023-04-20T04:58:47.857Z] Login Succeeded [2023-04-20T04:58:47.857Z] ---> docker-login.sh ends [Pipeline] } [2023-04-20T04:58:47.891Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-04-20T04:58:48.512Z] + git rev-list -1 --merges 215cb1e7142f37e7a13b2af639ac9b616c3f82cc~1..215cb1e7142f37e7a13b2af639ac9b616c3f82cc [Pipeline] echo [2023-04-20T04:58:48.601Z] -----------> git rev-list -1 --merges 215cb1e7142f37e7a13b2af639ac9b616c3f82cc~1..215cb1e7142f37e7a13b2af639ac9b616c3f82cc 215cb1e7142f37e7a13b2af639ac9b616c3f82cc [false] [Pipeline] sh [2023-04-20T04:58:48.908Z] + git log --format=format:%s -1 215cb1e7142f37e7a13b2af639ac9b616c3f82cc [Pipeline] echo [2023-04-20T04:58:48.944Z] ========================================================= [2023-04-20T04:58:48.944Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-04-20T04:58:48.944Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-20T04:58:49.360Z] + git log --format=format:%s -1 215cb1e7142f37e7a13b2af639ac9b616c3f82cc [Pipeline] echo [2023-04-20T04:58:49.388Z] [semverPrep] GIT_COMMIT: 215cb1e7142f37e7a13b2af639ac9b616c3f82cc, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v3 [Pipeline] echo [2023-04-20T04:58:49.417Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-04-20T04:58:49.810Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-04-20T04:58:49.810Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-04-20T04:58:49.810Z] + [ -e /tmp/ssh_known_hosts ] [2023-04-20T04:58:49.810Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-04-20T04:58:49.810Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-04-20T04:58:49.810Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-04-20T04:58:49.810Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-20T04:58:50.287Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-20T04:58:50.287Z] [2023-04-20T04:58:50.287Z] 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-20T04:58:50.663Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-20T04:58:50.924Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-04-20T04:58:50.924Z] b85a868b505f: Pulling fs layer [2023-04-20T04:58:50.924Z] e2be974225ed: Pulling fs layer [2023-04-20T04:58:50.924Z] 339a4e72a1f5: Pulling fs layer [2023-04-20T04:58:50.924Z] 988bab9f4d93: Pulling fs layer [2023-04-20T04:58:50.924Z] 1469e6f7b9e6: Pulling fs layer [2023-04-20T04:58:50.924Z] eaf3925da568: Pulling fs layer [2023-04-20T04:58:50.924Z] bab4dde63d76: Pulling fs layer [2023-04-20T04:58:50.924Z] bde34c3a00c8: Pulling fs layer [2023-04-20T04:58:50.924Z] b352a97aabf1: Pulling fs layer [2023-04-20T04:58:50.924Z] 4872d77fe225: Pulling fs layer [2023-04-20T04:58:50.924Z] 988bab9f4d93: Waiting [2023-04-20T04:58:50.924Z] 5851b861e8e6: Pulling fs layer [2023-04-20T04:58:50.924Z] eaf3925da568: Waiting [2023-04-20T04:58:50.924Z] bab4dde63d76: Waiting [2023-04-20T04:58:50.924Z] bde34c3a00c8: Waiting [2023-04-20T04:58:50.924Z] 5851b861e8e6: Waiting [2023-04-20T04:58:50.924Z] b352a97aabf1: Waiting [2023-04-20T04:58:50.924Z] 4872d77fe225: Waiting [2023-04-20T04:58:50.924Z] e2be974225ed: Download complete [2023-04-20T04:58:50.924Z] 988bab9f4d93: Verifying Checksum [2023-04-20T04:58:50.924Z] 988bab9f4d93: Download complete [2023-04-20T04:58:50.924Z] 1469e6f7b9e6: Verifying Checksum [2023-04-20T04:58:50.924Z] 1469e6f7b9e6: Download complete [2023-04-20T04:58:50.924Z] 339a4e72a1f5: Verifying Checksum [2023-04-20T04:58:50.924Z] 339a4e72a1f5: Download complete [2023-04-20T04:58:50.924Z] eaf3925da568: Verifying Checksum [2023-04-20T04:58:50.924Z] eaf3925da568: Download complete [2023-04-20T04:58:50.924Z] bde34c3a00c8: Verifying Checksum [2023-04-20T04:58:50.924Z] bde34c3a00c8: Download complete [2023-04-20T04:58:50.924Z] b352a97aabf1: Verifying Checksum [2023-04-20T04:58:50.924Z] b352a97aabf1: Download complete [2023-04-20T04:58:50.924Z] 4872d77fe225: Verifying Checksum [2023-04-20T04:58:50.924Z] 4872d77fe225: Download complete [2023-04-20T04:58:51.198Z] 5851b861e8e6: Verifying Checksum [2023-04-20T04:58:51.198Z] 5851b861e8e6: Download complete [2023-04-20T04:58:51.198Z] b85a868b505f: Verifying Checksum [2023-04-20T04:58:51.198Z] b85a868b505f: Download complete [2023-04-20T04:58:51.458Z] bab4dde63d76: Verifying Checksum [2023-04-20T04:58:51.458Z] bab4dde63d76: Download complete [2023-04-20T04:58:52.841Z] b85a868b505f: Pull complete [2023-04-20T04:58:53.101Z] e2be974225ed: Pull complete [2023-04-20T04:58:54.039Z] 339a4e72a1f5: Pull complete [2023-04-20T04:58:54.299Z] 988bab9f4d93: Pull complete [2023-04-20T04:58:54.871Z] 1469e6f7b9e6: Pull complete [2023-04-20T04:58:55.132Z] eaf3925da568: Pull complete [2023-04-20T04:58:57.034Z] bab4dde63d76: Pull complete [2023-04-20T04:58:57.034Z] bde34c3a00c8: Pull complete [2023-04-20T04:58:57.293Z] b352a97aabf1: Pull complete [2023-04-20T04:58:57.293Z] 4872d77fe225: Pull complete [2023-04-20T04:58:57.293Z] 5851b861e8e6: Pull complete [2023-04-20T04:58:57.293Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-04-20T04:58:57.293Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-20T04:58:57.293Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-20T04:58:57.540Z] prd-ubuntu20.04-docker-8c-8g-9133 does not seem to be running inside a container [2023-04-20T04:58:57.576Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1427 -v /w/workspace/gexfoundry_device-sdk-go_PR-1427:/w/workspace/gexfoundry_device-sdk-go_PR-1427:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1427@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1427@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-20T04:59:00.555Z] $ docker top f231a799b0f6452271fe339d658b0ad88725587a5de7b2bfe85b3d8cf2507c33 -eo pid,comm [2023-04-20T04:59:00.607Z] 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-20T04:59:00.607Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-04-20T04:59:00.759Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-20T04:59:00.759Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-20T04:59:00.870Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-20T04:59:00.877Z] $ docker exec f231a799b0f6452271fe339d658b0ad88725587a5de7b2bfe85b3d8cf2507c33 ssh-agent [2023-04-20T04:59:00.997Z] SSH_AUTH_SOCK=/tmp/ssh-PAJPDxdPsUyi/agent.33 [2023-04-20T04:59:00.997Z] SSH_AGENT_PID=39 [2023-04-20T04:59:01.004Z] Running ssh-add (command line suppressed) [2023-04-20T04:59:01.120Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1427@tmp/private_key_16653536339813186110.key (/w/workspace/gexfoundry_device-sdk-go_PR-1427@tmp/private_key_16653536339813186110.key) [2023-04-20T04:59:01.132Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-20T04:59:01.460Z] + git tag --points-at HEAD [Pipeline] } [2023-04-20T04:59:01.490Z] $ docker exec --env ******** --env ******** f231a799b0f6452271fe339d658b0ad88725587a5de7b2bfe85b3d8cf2507c33 ssh-agent -k [2023-04-20T04:59:01.595Z] unset SSH_AUTH_SOCK; [2023-04-20T04:59:01.596Z] unset SSH_AGENT_PID; [2023-04-20T04:59:01.596Z] echo Agent pid 39 killed; [2023-04-20T04:59:01.604Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-04-20T04:59:01.700Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-20T04:59:01.700Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-20T04:59:01.814Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-20T04:59:01.820Z] $ docker exec f231a799b0f6452271fe339d658b0ad88725587a5de7b2bfe85b3d8cf2507c33 ssh-agent [2023-04-20T04:59:01.927Z] SSH_AUTH_SOCK=/tmp/ssh-4rUmoUfkIWZW/agent.71 [2023-04-20T04:59:01.927Z] SSH_AGENT_PID=77 [2023-04-20T04:59:01.932Z] Running ssh-add (command line suppressed) [2023-04-20T04:59:02.034Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1427@tmp/private_key_11643299996773454690.key (/w/workspace/gexfoundry_device-sdk-go_PR-1427@tmp/private_key_11643299996773454690.key) [2023-04-20T04:59:02.044Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-20T04:59:02.422Z] + git semver init [2023-04-20T04:59:02.682Z] 2023-04-20 04:59:02,604 [run_init] DEBUG init version:0.0.0 force:False [2023-04-20T04:59:02.682Z] 2023-04-20 04:59:02,605 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1427/.semver [2023-04-20T04:59:02.682Z] 2023-04-20 04:59:02,606 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1427/.semver [2023-04-20T04:59:02.682Z] 2023-04-20 04:59:02,606 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1427/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1427, universal_newlines=False, shell=None, istream=None) [2023-04-20T04:59:04.064Z] 2023-04-20 04:59:03,674 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1427/.git/info/exclude [2023-04-20T04:59:04.064Z] 2023-04-20 04:59:03,675 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1427/.semver/PR-1427 with force:False [2023-04-20T04:59:04.064Z] 2023-04-20 04:59:03,676 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1427/.semver/PR-1427 [2023-04-20T04:59:04.064Z] 2023-04-20 04:59:03,680 [execute] INFO git cat-file --batch-check [2023-04-20T04:59:04.064Z] 2023-04-20 04:59:03,681 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1427/.semver, universal_newlines=False, shell=None, istream=) [2023-04-20T04:59:04.064Z] 2023-04-20 04:59:03,687 [execute] INFO git cat-file --batch [2023-04-20T04:59:04.064Z] 2023-04-20 04:59:03,687 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1427/.semver, universal_newlines=False, shell=None, istream=) [2023-04-20T04:59:04.064Z] 2023-04-20 04:59:03,692 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1427/.semver/PR-1427 [2023-04-20T04:59:04.064Z] 0.0.0 [Pipeline] } [2023-04-20T04:59:04.099Z] $ docker exec --env ******** --env ******** f231a799b0f6452271fe339d658b0ad88725587a5de7b2bfe85b3d8cf2507c33 ssh-agent -k [2023-04-20T04:59:04.208Z] unset SSH_AUTH_SOCK; [2023-04-20T04:59:04.208Z] unset SSH_AGENT_PID; [2023-04-20T04:59:04.208Z] echo Agent pid 77 killed; [2023-04-20T04:59:04.214Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-04-20T04:59:04.644Z] + git semver [Pipeline] } [2023-04-20T04:59:04.931Z] $ docker stop --time=1 f231a799b0f6452271fe339d658b0ad88725587a5de7b2bfe85b3d8cf2507c33 [2023-04-20T04:59:06.219Z] $ docker rm -f --volumes f231a799b0f6452271fe339d658b0ad88725587a5de7b2bfe85b3d8cf2507c33 [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-20T04:59:06.630Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-04-20T04:59:06.923Z] Stashed 1 file(s) [Pipeline] echo [2023-04-20T04:59:06.940Z] [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-20T04:59:07.529Z] provisioning config files... [2023-04-20T04:59:07.541Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1427@tmp/config9683931639260211721tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-20T04:59:07.885Z] ---> docker-login.sh [2023-04-20T04:59:07.885Z] nexus3.edgexfoundry.org:10001 [2023-04-20T04:59:07.885Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-20T04:59:07.885Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-20T04:59:07.885Z] Configure a credential helper to remove this warning. See [2023-04-20T04:59:07.885Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-20T04:59:07.885Z] [2023-04-20T04:59:07.885Z] Login Succeeded [2023-04-20T04:59:07.885Z] nexus3.edgexfoundry.org:10002 [2023-04-20T04:59:07.885Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-20T04:59:07.885Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-20T04:59:07.885Z] Configure a credential helper to remove this warning. See [2023-04-20T04:59:07.885Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-20T04:59:07.885Z] [2023-04-20T04:59:07.885Z] Login Succeeded [2023-04-20T04:59:07.885Z] nexus3.edgexfoundry.org:10003 [2023-04-20T04:59:08.145Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-20T04:59:08.145Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-20T04:59:08.145Z] Configure a credential helper to remove this warning. See [2023-04-20T04:59:08.145Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-20T04:59:08.145Z] [2023-04-20T04:59:08.145Z] Login Succeeded [2023-04-20T04:59:08.145Z] nexus3.edgexfoundry.org:10004 [2023-04-20T04:59:08.145Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-20T04:59:08.145Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-20T04:59:08.145Z] Configure a credential helper to remove this warning. See [2023-04-20T04:59:08.145Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-20T04:59:08.145Z] [2023-04-20T04:59:08.145Z] Login Succeeded [2023-04-20T04:59:08.145Z] docker.io [2023-04-20T04:59:08.405Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-20T04:59:08.405Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-20T04:59:08.405Z] Configure a credential helper to remove this warning. See [2023-04-20T04:59:08.405Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-20T04:59:08.405Z] [2023-04-20T04:59:08.405Z] Login Succeeded [2023-04-20T04:59:08.405Z] ---> docker-login.sh ends [Pipeline] } [2023-04-20T04:59:08.437Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-04-20T04:59:08.631Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-20T04:59:08.668Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-20T04:59:08.705Z] ========================================================= [2023-04-20T04:59:08.705Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-04-20T04:59:08.705Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-20T04:59:09.176Z] + 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-20T04:59:09.176Z] Sending build context to Docker daemon 10.99MB [2023-04-20T04:59:09.176Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-04-20T04:59:09.176Z] Step 2/10 : FROM ${BASE} AS builder [2023-04-20T04:59:09.176Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-04-20T04:59:09.176Z] 63b65145d645: Pulling fs layer [2023-04-20T04:59:09.176Z] a2d21d5440eb: Pulling fs layer [2023-04-20T04:59:09.176Z] 935e6c44a52c: Pulling fs layer [2023-04-20T04:59:09.176Z] 94cc34f8dd06: Pulling fs layer [2023-04-20T04:59:09.176Z] 30dea6a524f1: Pulling fs layer [2023-04-20T04:59:09.176Z] a2aff8979fd8: Pulling fs layer [2023-04-20T04:59:09.176Z] 6808be2612f2: Pulling fs layer [2023-04-20T04:59:09.176Z] f25807f1079a: Pulling fs layer [2023-04-20T04:59:09.176Z] 6808be2612f2: Waiting [2023-04-20T04:59:09.176Z] f25807f1079a: Waiting [2023-04-20T04:59:09.176Z] 30dea6a524f1: Waiting [2023-04-20T04:59:09.176Z] a2aff8979fd8: Waiting [2023-04-20T04:59:09.176Z] 94cc34f8dd06: Waiting [2023-04-20T04:59:09.438Z] a2d21d5440eb: Verifying Checksum [2023-04-20T04:59:09.438Z] a2d21d5440eb: Download complete [2023-04-20T04:59:09.438Z] 94cc34f8dd06: Download complete [2023-04-20T04:59:09.438Z] 30dea6a524f1: Verifying Checksum [2023-04-20T04:59:09.438Z] 30dea6a524f1: Download complete [2023-04-20T04:59:09.438Z] 63b65145d645: Verifying Checksum [2023-04-20T04:59:09.438Z] 63b65145d645: Download complete [2023-04-20T04:59:09.438Z] a2aff8979fd8: Verifying Checksum [2023-04-20T04:59:09.438Z] a2aff8979fd8: Download complete [2023-04-20T04:59:09.438Z] 63b65145d645: Pull complete [2023-04-20T04:59:09.705Z] a2d21d5440eb: Pull complete [2023-04-20T04:59:09.705Z] f25807f1079a: Verifying Checksum [2023-04-20T04:59:09.705Z] f25807f1079a: Download complete [2023-04-20T04:59:09.965Z] 935e6c44a52c: Verifying Checksum [2023-04-20T04:59:09.965Z] 935e6c44a52c: Download complete [2023-04-20T04:59:10.224Z] 6808be2612f2: Verifying Checksum [2023-04-20T04:59:10.224Z] 6808be2612f2: Download complete [2023-04-20T04:59:13.517Z] 935e6c44a52c: Pull complete [2023-04-20T04:59:13.517Z] 94cc34f8dd06: Pull complete [2023-04-20T04:59:13.776Z] 30dea6a524f1: Pull complete [2023-04-20T04:59:13.776Z] a2aff8979fd8: Pull complete [2023-04-20T04:59:16.303Z] 6808be2612f2: Pull complete [2023-04-20T04:59:16.868Z] f25807f1079a: Pull complete [2023-04-20T04:59:16.868Z] Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 [2023-04-20T04:59:16.868Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-04-20T04:59:16.868Z] ---> 3b553350e43f [2023-04-20T04:59:16.868Z] Step 3/10 : ARG MAKE=make build [2023-04-20T04:59:21.170Z] ---> Running in ac1c800bebcf [2023-04-20T04:59:21.170Z] Removing intermediate container ac1c800bebcf [2023-04-20T04:59:21.170Z] ---> f9be2e499869 [2023-04-20T04:59:21.170Z] Step 4/10 : WORKDIR /device-sdk-go [2023-04-20T04:59:21.170Z] ---> Running in ad0ed2b05990 [2023-04-20T04:59:21.170Z] Removing intermediate container ad0ed2b05990 [2023-04-20T04:59:21.170Z] ---> d15fdd4af40d [2023-04-20T04:59:21.170Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-04-20T04:59:21.170Z] ---> Running in 7562d470f611 [2023-04-20T04:59:21.170Z] Removing intermediate container 7562d470f611 [2023-04-20T04:59:21.170Z] ---> 25c8248f8fd2 [2023-04-20T04:59:21.170Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-04-20T04:59:21.170Z] ---> Running in 4f3578f138cc [2023-04-20T04:59:21.427Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-20T04:59:21.686Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-20T04:59:21.686Z] OK: 265 MiB in 53 packages [2023-04-20T04:59:22.253Z] Removing intermediate container 4f3578f138cc [2023-04-20T04:59:22.253Z] ---> 0d9412dba7a4 [2023-04-20T04:59:22.253Z] Step 7/10 : COPY go.mod vendor* ./ [2023-04-20T04:59:22.253Z] ---> af3089d987a8 [2023-04-20T04:59:22.253Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-20T04:59:22.253Z] ---> Running in 3bdf4a4e0b81 [2023-04-20T04:59:22.350Z] Still waiting to schedule task [2023-04-20T04:59:22.350Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-04-20T05:00:01.049Z] Removing intermediate container 3bdf4a4e0b81 [2023-04-20T05:00:01.049Z] ---> 0091dc0cf8f9 [2023-04-20T05:00:01.049Z] Step 9/10 : COPY . . [2023-04-20T05:00:01.049Z] ---> be1c3de54cc5 [2023-04-20T05:00:01.049Z] Step 10/10 : RUN ${MAKE} [2023-04-20T05:00:01.049Z] ---> Running in 248acca063bf [2023-04-20T05:00:01.049Z] noop [2023-04-20T05:00:01.049Z] Removing intermediate container 248acca063bf [2023-04-20T05:00:01.049Z] ---> eec489335ab5 [2023-04-20T05:00:01.049Z] Successfully built eec489335ab5 [2023-04-20T05:00:01.049Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-20T05:00:01.485Z] + docker inspect -f . ci-base-image-x86_64 [2023-04-20T05:00:01.485Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-20T05:00:01.620Z] prd-ubuntu20.04-docker-8c-8g-9133 does not seem to be running inside a container [2023-04-20T05:00:01.656Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1427 -v /w/workspace/gexfoundry_device-sdk-go_PR-1427:/w/workspace/gexfoundry_device-sdk-go_PR-1427:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1427@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1427@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-20T05:00:01.984Z] $ docker top 1d3ac98585c8dbc25507339ec9c31010445d06bd17c35f614dc6da0775c00b0c -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-20T05:00:02.365Z] + go version [2023-04-20T05:00:02.365Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-04-20T05:00:02.403Z] $ docker stop --time=1 1d3ac98585c8dbc25507339ec9c31010445d06bd17c35f614dc6da0775c00b0c [2023-04-20T05:00:03.670Z] $ docker rm -f --volumes 1d3ac98585c8dbc25507339ec9c31010445d06bd17c35f614dc6da0775c00b0c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-20T05:00:04.365Z] + docker inspect -f . ci-base-image-x86_64 [2023-04-20T05:00:04.365Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-20T05:00:04.514Z] prd-ubuntu20.04-docker-8c-8g-9133 does not seem to be running inside a container [2023-04-20T05:00:04.557Z] $ 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-1427 -v /w/workspace/gexfoundry_device-sdk-go_PR-1427:/w/workspace/gexfoundry_device-sdk-go_PR-1427:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1427@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1427@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-20T05:00:04.881Z] $ docker top ad42f1ff7d5d791f7a630a72da28a0705a911726fc1ecdbdd9bef2e1fb4a5d86 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-20T05:00:08.020Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1427 [Pipeline] fileExists [Pipeline] sh [2023-04-20T05:00:08.390Z] + make test [2023-04-20T05:00:08.391Z] go test -race -coverprofile=coverage.out ./... [2023-04-20T05:00:14.959Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-04-20T05:00:29.829Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-04-20T05:00:29.829Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-04-20T05:00:29.829Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-04-20T05:00:29.829Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-04-20T05:00:29.829Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-04-20T05:00:29.829Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.041s coverage: 27.6% of statements [2023-04-20T05:00:29.829Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-04-20T05:00:29.829Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-04-20T05:00:29.829Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.056s coverage: 80.2% of statements [2023-04-20T05:00:29.829Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.081s coverage: 86.0% of statements [2023-04-20T05:00:29.829Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-04-20T05:00:29.829Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-04-20T05:00:29.829Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.108s coverage: 77.5% of statements [2023-04-20T05:00:29.829Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-04-20T05:00:29.830Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-04-20T05:00:30.399Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-04-20T05:00:32.934Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.060s coverage: 14.6% of statements [2023-04-20T05:00:32.934Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.071s coverage: 68.5% of statements [2023-04-20T05:00:32.934Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.121s coverage: 89.2% of statements [2023-04-20T05:00:32.934Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.059s coverage: 5.5% of statements [2023-04-20T05:00:51.047Z] GO111MODULE=on go vet ./... [2023-04-20T05:00:53.726Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-04-20T05:00:53.726Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-04-20T05:00:53.726Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-04-20T05:00:53.768Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-04-20T05:00:53.802Z] $ docker stop --time=1 ad42f1ff7d5d791f7a630a72da28a0705a911726fc1ecdbdd9bef2e1fb4a5d86 [2023-04-20T05:00:57.396Z] $ docker rm -f --volumes ad42f1ff7d5d791f7a630a72da28a0705a911726fc1ecdbdd9bef2e1fb4a5d86 [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-20T05:00:57.972Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-04-20T05:00:58.049Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-04-20T05:00:58.738Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-04-20T05:00:58.890Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-9134 in /w/workspace/gexfoundry_device-sdk-go_PR-1427 [Pipeline] { [Pipeline] ws [2023-04-20T05:00:58.953Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2023-04-20T05:00:59.034Z] The recommended git tool is: git [2023-04-20T05:00:59.051Z] + ls -al . [2023-04-20T05:00:59.051Z] total 272 [2023-04-20T05:00:59.051Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 20 05:00 . [2023-04-20T05:00:59.051Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 20 04:58 .. [2023-04-20T05:00:59.051Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 20 04:58 .dockerignore [2023-04-20T05:00:59.051Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 20 04:59 .git [2023-04-20T05:00:59.051Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 20 04:58 .github [2023-04-20T05:00:59.051Z] -rw-rw-r-- 1 jenkins jenkins 131 Apr 20 04:58 .gitignore [2023-04-20T05:00:59.051Z] -rw-rw-r-- 1 jenkins jenkins 42 Apr 20 04:58 .golangci.yml [2023-04-20T05:00:59.051Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 20 04:59 .semver [2023-04-20T05:00:59.051Z] -rw-rw-r-- 1 jenkins jenkins 31677 Apr 20 04:58 CHANGELOG.md [2023-04-20T05:00:59.051Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 20 04:58 GOVERNANCE.md [2023-04-20T05:00:59.051Z] -rw-rw-r-- 1 jenkins jenkins 885 Apr 20 04:58 Jenkinsfile [2023-04-20T05:00:59.051Z] -rw-rw-r-- 1 jenkins jenkins 11341 Apr 20 04:58 LICENSE [2023-04-20T05:00:59.051Z] -rw-rw-r-- 1 jenkins jenkins 1714 Apr 20 04:58 Makefile [2023-04-20T05:00:59.051Z] -rw-rw-r-- 1 jenkins jenkins 619 Apr 20 04:58 OWNERS.md [2023-04-20T05:00:59.051Z] -rw-rw-r-- 1 jenkins jenkins 4891 Apr 20 04:58 README.md [2023-04-20T05:00:59.051Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 20 04:59 VERSION [2023-04-20T05:00:59.051Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 20 04:58 bin [2023-04-20T05:00:59.051Z] -rw-r--r-- 1 jenkins jenkins 106119 Apr 20 05:00 coverage.out [2023-04-20T05:00:59.051Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 20 04:58 example [2023-04-20T05:00:59.051Z] -rw-rw-r-- 1 jenkins jenkins 3246 Apr 20 04:58 go.mod [2023-04-20T05:00:59.051Z] -rw-rw-r-- 1 jenkins jenkins 30896 Apr 20 04:58 go.sum [2023-04-20T05:00:59.051Z] drwxrwxr-x 12 jenkins jenkins 4096 Apr 20 04:58 internal [2023-04-20T05:00:59.051Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 20 04:58 openapi [2023-04-20T05:00:59.051Z] drwxrwxr-x 6 jenkins jenkins 4096 Apr 20 04:58 pkg [2023-04-20T05:00:59.051Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 20 04:58 snap [2023-04-20T05:00:59.051Z] -rw-rw-r-- 1 jenkins jenkins 222 Apr 20 04:58 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-20T05:00:59.479Z] + 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=215cb1e7142f37e7a13b2af639ac9b616c3f82cc --label arch=amd64 --label version=0.0.0 . [2023-04-20T05:00:59.479Z] Sending build context to Docker daemon 11.09MB [2023-04-20T05:00:59.479Z] Step 1/23 : ARG BASE=golang:1.20-alpine3.17 [2023-04-20T05:00:59.479Z] Step 2/23 : FROM ${BASE} AS builder [2023-04-20T05:00:59.479Z] ---> eec489335ab5 [2023-04-20T05:00:59.479Z] Step 3/23 : ARG MAKE=make build [2023-04-20T05:00:59.737Z] ---> Running in 9d8c47cb1e41 [2023-04-20T05:00:59.737Z] Removing intermediate container 9d8c47cb1e41 [2023-04-20T05:00:59.737Z] ---> 97882de6ab8d [2023-04-20T05:00:59.737Z] Step 4/23 : WORKDIR /device-sdk-go [2023-04-20T05:00:59.737Z] ---> Running in 4a5424197e71 [2023-04-20T05:00:59.737Z] Removing intermediate container 4a5424197e71 [2023-04-20T05:00:59.737Z] ---> 369f25d22c14 [2023-04-20T05:00:59.737Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-04-20T05:00:59.737Z] ---> Running in df81fa1ada0a [2023-04-20T05:00:59.996Z] Removing intermediate container df81fa1ada0a [2023-04-20T05:00:59.996Z] ---> 94e07f5abe72 [2023-04-20T05:00:59.996Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-04-20T05:00:59.996Z] ---> Running in 73ebef9a5c76 [2023-04-20T05:01:00.255Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-20T05:01:00.255Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-20T05:01:00.513Z] OK: 265 MiB in 53 packages [2023-04-20T05:01:00.776Z] Removing intermediate container 73ebef9a5c76 [2023-04-20T05:01:00.776Z] ---> 19cd59bc3061 [2023-04-20T05:01:00.776Z] Step 7/23 : COPY go.mod vendor* ./ [2023-04-20T05:01:00.776Z] ---> 12b6bf7ce578 [2023-04-20T05:01:00.776Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-20T05:01:00.776Z] ---> Running in 9f962ac83275 [2023-04-20T05:01:01.715Z] Removing intermediate container 9f962ac83275 [2023-04-20T05:01:01.715Z] ---> 5814933ceba2 [2023-04-20T05:01:01.715Z] Step 9/23 : COPY . . [2023-04-20T05:01:02.282Z] ---> c16a2c3e9a8b [2023-04-20T05:01:02.283Z] Step 10/23 : RUN ${MAKE} [2023-04-20T05:01:02.283Z] ---> Running in 97c51655d98d [2023-04-20T05:01:02.283Z] 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-20T05:01:04.565Z] using credential edgex-jenkins-ssh [2023-04-20T05:01:04.585Z] Cloning the remote Git repository [2023-04-20T05:01:04.636Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-04-20T05:01:04.740Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2023-04-20T05:01:04.898Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-04-20T05:01:04.900Z] > git --version # timeout=10 [2023-04-20T05:01:04.921Z] > git --version # 'git version 2.25.1' [2023-04-20T05:01:04.924Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-20T05:01:05.071Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-04-20T05:01:06.707Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-04-20T05:01:06.737Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-04-20T05:01:07.588Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-04-20T05:01:07.635Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-04-20T05:01:07.636Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-20T05:01:07.652Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1427/head:refs/remotes/origin/PR-1427 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-04-20T05:01:08.232Z] Merging remotes/origin/main commit 8615fc25123047f243aada2a729ac9237acb70ec into PR head commit 215cb1e7142f37e7a13b2af639ac9b616c3f82cc [2023-04-20T05:01:08.551Z] Merge succeeded, producing 215cb1e7142f37e7a13b2af639ac9b616c3f82cc [2023-04-20T05:01:08.551Z] Checking out Revision 215cb1e7142f37e7a13b2af639ac9b616c3f82cc (PR-1427) [2023-04-20T05:01:09.064Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v3" [2023-04-20T05:01:09.117Z] > git --version # timeout=10 [2023-04-20T05:01:09.129Z] > git --version # 'git version 2.25.1' [2023-04-20T05:01:09.149Z] fatal: bad object 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [2023-04-20T05:01:08.249Z] > git config core.sparsecheckout # timeout=10 [2023-04-20T05:01:08.324Z] > git checkout -f 215cb1e7142f37e7a13b2af639ac9b616c3f82cc # timeout=10 [2023-04-20T05:01:08.438Z] > git remote # timeout=10 [2023-04-20T05:01:08.460Z] > git config --get remote.origin.url # timeout=10 [2023-04-20T05:01:08.484Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-20T05:01:08.503Z] > git merge 8615fc25123047f243aada2a729ac9237acb70ec # timeout=10 [2023-04-20T05:01:08.532Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-04-20T05:01:08.558Z] > git config core.sparsecheckout # timeout=10 [2023-04-20T05:01:08.589Z] > git checkout -f 215cb1e7142f37e7a13b2af639ac9b616c3f82cc # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-20T05:01:10.548Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-04-20T05:01:10.548Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-04-20T05:01:10.548Z] Dload Upload Total Spent Left Speed [2023-04-20T05:01:10.548Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 64398 0 --:--:-- --:--:-- --:--:-- 64398 [Pipeline] sh [2023-04-20T05:01:11.212Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-04-20T05:01:11.563Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-04-20T05:01:11.563Z] + sudo tee /etc/docker/daemon.new [2023-04-20T05:01:11.563Z] { [2023-04-20T05:01:11.563Z] "registry-mirrors": [ [2023-04-20T05:01:11.563Z] "https://nexus3.edgexfoundry.org:10001" [2023-04-20T05:01:11.563Z] ], [2023-04-20T05:01:11.563Z] "bip": "10.250.0.254/24", [2023-04-20T05:01:11.563Z] "hosts": [ [2023-04-20T05:01:11.563Z] "tcp://0.0.0.0:5555", [2023-04-20T05:01:11.563Z] "unix:///var/run/docker.sock" [2023-04-20T05:01:11.563Z] ], [2023-04-20T05:01:11.563Z] "mtu": 1458, [2023-04-20T05:01:11.563Z] "selinux-enabled": true, [2023-04-20T05:01:11.563Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-04-20T05:01:11.563Z] } [Pipeline] sh [2023-04-20T05:01:11.912Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-04-20T05:01:12.262Z] + sudo service docker restart [2023-04-20T05:01:20.353Z] Removing intermediate container 97c51655d98d [2023-04-20T05:01:20.353Z] ---> 60f9ccd5b946 [2023-04-20T05:01:20.353Z] Step 11/23 : FROM alpine:3.17 [2023-04-20T05:01:20.353Z] 3.17: Pulling from library/alpine [2023-04-20T05:01:20.353Z] f56be85fc22e: Pulling fs layer [2023-04-20T05:01:20.611Z] f56be85fc22e: Verifying Checksum [2023-04-20T05:01:20.611Z] f56be85fc22e: Download complete [2023-04-20T05:01:20.611Z] f56be85fc22e: Pull complete [2023-04-20T05:01:20.611Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-04-20T05:01:20.611Z] Status: Downloaded newer image for alpine:3.17 [2023-04-20T05:01:20.611Z] ---> 9ed4aefc74f6 [2023-04-20T05:01:20.611Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-04-20T05:01:20.869Z] ---> Running in 893b406885d3 [2023-04-20T05:01:20.869Z] Removing intermediate container 893b406885d3 [2023-04-20T05:01:20.869Z] ---> 1a8faca7c1c0 [2023-04-20T05:01:20.869Z] Step 13/23 : RUN apk add --update --no-cache [2023-04-20T05:01:20.869Z] ---> Running in 9ab352db8c42 [2023-04-20T05:01:21.127Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-20T05:01:21.385Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-20T05:01:21.385Z] OK: 7 MiB in 15 packages [2023-04-20T05:01:21.644Z] Removing intermediate container 9ab352db8c42 [2023-04-20T05:01:21.644Z] ---> e1ba8cc02ead [2023-04-20T05:01:21.644Z] Step 14/23 : WORKDIR / [2023-04-20T05:01:21.904Z] ---> Running in 1983e51a05b4 [2023-04-20T05:01:21.904Z] Removing intermediate container 1983e51a05b4 [2023-04-20T05:01:21.904Z] ---> 9a184e995864 [2023-04-20T05:01:21.904Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-04-20T05:01:21.904Z] ---> 8221a059e2d0 [2023-04-20T05:01:21.904Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-04-20T05:01:22.529Z] ---> 0edd54652e46 [2023-04-20T05:01:22.529Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-04-20T05:01:22.787Z] ---> 71e62e2e60e1 [2023-04-20T05:01:22.787Z] Step 18/23 : EXPOSE 59999 [2023-04-20T05:01:22.787Z] ---> Running in 29cf52ea46b0 [2023-04-20T05:01:22.787Z] Removing intermediate container 29cf52ea46b0 [2023-04-20T05:01:22.787Z] ---> b3969567ee4a [2023-04-20T05:01:22.787Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-04-20T05:01:22.787Z] ---> Running in b574ddf0dbc1 [2023-04-20T05:01:23.046Z] Removing intermediate container b574ddf0dbc1 [2023-04-20T05:01:23.046Z] ---> 13f4e7976fd3 [2023-04-20T05:01:23.046Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-04-20T05:01:23.046Z] ---> Running in 3edf6c5eb2ab [2023-04-20T05:01:23.046Z] Removing intermediate container 3edf6c5eb2ab [2023-04-20T05:01:23.046Z] ---> 519b2a0ef811 [2023-04-20T05:01:23.046Z] Step 21/23 : LABEL arch=amd64 [2023-04-20T05:01:23.046Z] ---> Running in ef303d5f933a [2023-04-20T05:01:23.046Z] Removing intermediate container ef303d5f933a [2023-04-20T05:01:23.046Z] ---> f327edb77037 [2023-04-20T05:01:23.046Z] Step 22/23 : LABEL git_sha=215cb1e7142f37e7a13b2af639ac9b616c3f82cc [2023-04-20T05:01:23.046Z] ---> Running in 2e33e774b125 [2023-04-20T05:01:23.305Z] Removing intermediate container 2e33e774b125 [2023-04-20T05:01:23.305Z] ---> d906e4667246 [2023-04-20T05:01:23.305Z] Step 23/23 : LABEL version=0.0.0 [2023-04-20T05:01:23.305Z] ---> Running in 9f618df225fa [2023-04-20T05:01:23.305Z] Removing intermediate container 9f618df225fa [2023-04-20T05:01:23.305Z] ---> ae85c4e29e1c [2023-04-20T05:01:23.305Z] [Warning] One or more build-args [ARCH] were not consumed [2023-04-20T05:01:23.305Z] Successfully built ae85c4e29e1c [2023-04-20T05:01:23.305Z] 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-20T05:01:24.117Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-20T05:01:24.117Z] [2023-04-20T05:01:24.117Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-20T05:01:24.504Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-20T05:01:24.504Z] latest: Pulling from edgex-lftools-log-publisher [2023-04-20T05:01:24.504Z] 5eb5b503b376: Pulling fs layer [2023-04-20T05:01:24.504Z] 5c69ac0246d0: Pulling fs layer [2023-04-20T05:01:24.504Z] ec43610c2a17: Pulling fs layer [2023-04-20T05:01:24.504Z] 3a2ae6a8a46f: Pulling fs layer [2023-04-20T05:01:24.504Z] 33b1e0a273af: Pulling fs layer [2023-04-20T05:01:24.504Z] 5d3b04190fa2: Pulling fs layer [2023-04-20T05:01:24.504Z] 2f39f015ded8: Pulling fs layer [2023-04-20T05:01:24.504Z] 33b1e0a273af: Waiting [2023-04-20T05:01:24.504Z] 5d3b04190fa2: Waiting [2023-04-20T05:01:24.504Z] 3a2ae6a8a46f: Waiting [2023-04-20T05:01:24.504Z] 2f39f015ded8: Waiting [2023-04-20T05:01:24.504Z] 5c69ac0246d0: Download complete [2023-04-20T05:01:24.504Z] 3a2ae6a8a46f: Verifying Checksum [2023-04-20T05:01:24.504Z] 3a2ae6a8a46f: Download complete [2023-04-20T05:01:24.504Z] 33b1e0a273af: Verifying Checksum [2023-04-20T05:01:24.504Z] 33b1e0a273af: Download complete [2023-04-20T05:01:24.504Z] 5d3b04190fa2: Download complete [2023-04-20T05:01:24.504Z] ec43610c2a17: Verifying Checksum [2023-04-20T05:01:24.504Z] ec43610c2a17: Download complete [2023-04-20T05:01:24.763Z] 5eb5b503b376: Verifying Checksum [2023-04-20T05:01:24.763Z] 5eb5b503b376: Download complete [2023-04-20T05:01:25.331Z] 2f39f015ded8: Download complete [2023-04-20T05:01:25.898Z] 5eb5b503b376: Pull complete [2023-04-20T05:01:25.898Z] 5c69ac0246d0: Pull complete [2023-04-20T05:01:26.463Z] ec43610c2a17: Pull complete [2023-04-20T05:01:26.463Z] 3a2ae6a8a46f: Pull complete [2023-04-20T05:01:26.722Z] 33b1e0a273af: Pull complete [2023-04-20T05:01:26.722Z] 5d3b04190fa2: Pull complete [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-20T05:01:30.596Z] provisioning config files... [2023-04-20T05:01:30.626Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config270958084399489706tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-20T05:01:30.904Z] 2f39f015ded8: Pull complete [2023-04-20T05:01:30.905Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-04-20T05:01:30.905Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-20T05:01:30.905Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [2023-04-20T05:01:31.014Z] ---> docker-login.sh [2023-04-20T05:01:31.014Z] nexus3.edgexfoundry.org:10001 [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-20T05:01:31.144Z] prd-ubuntu20.04-docker-8c-8g-9133 does not seem to be running inside a container [2023-04-20T05:01:31.171Z] $ 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-1427 -v /w/workspace/gexfoundry_device-sdk-go_PR-1427:/w/workspace/gexfoundry_device-sdk-go_PR-1427:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1427@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1427@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-20T05:01:31.287Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-20T05:01:31.557Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-20T05:01:31.557Z] Configure a credential helper to remove this warning. See [2023-04-20T05:01:31.557Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-20T05:01:31.557Z] [2023-04-20T05:01:31.557Z] Login Succeeded [2023-04-20T05:01:31.557Z] nexus3.edgexfoundry.org:10002 [2023-04-20T05:01:31.833Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-20T05:01:31.833Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-20T05:01:31.833Z] Configure a credential helper to remove this warning. See [2023-04-20T05:01:31.833Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-20T05:01:31.833Z] [2023-04-20T05:01:31.833Z] Login Succeeded [2023-04-20T05:01:32.104Z] nexus3.edgexfoundry.org:10003 [2023-04-20T05:01:32.104Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-20T05:01:32.375Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-20T05:01:32.375Z] Configure a credential helper to remove this warning. See [2023-04-20T05:01:32.375Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-20T05:01:32.375Z] [2023-04-20T05:01:32.375Z] Login Succeeded [2023-04-20T05:01:32.375Z] nexus3.edgexfoundry.org:10004 [2023-04-20T05:01:32.647Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-20T05:01:32.647Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-20T05:01:32.647Z] Configure a credential helper to remove this warning. See [2023-04-20T05:01:32.647Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-20T05:01:32.647Z] [2023-04-20T05:01:32.647Z] Login Succeeded [2023-04-20T05:01:32.647Z] docker.io [2023-04-20T05:01:32.934Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-20T05:01:33.205Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-20T05:01:33.205Z] Configure a credential helper to remove this warning. See [2023-04-20T05:01:33.205Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-20T05:01:33.205Z] [2023-04-20T05:01:33.205Z] Login Succeeded [2023-04-20T05:01:33.205Z] ---> docker-login.sh ends [2023-04-20T05:01:34.510Z] $ docker top 54d8e12a3fce44cc510872845eb6a6c9a273acf311611e95808f6d850664e5cf -eo pid,comm [Pipeline] { [Pipeline] } [2023-04-20T05:01:34.752Z] Deleting 1 temporary files [Pipeline] libraryResource [Pipeline] sh [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [2023-04-20T05:01:35.148Z] ---> job-cost.sh [2023-04-20T05:01:35.148Z] lf-activate-venv: SKIPPING [2023-04-20T05:01:35.148Z] INFO: No Stack... [Pipeline] echo [2023-04-20T05:01:35.245Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-20T05:01:35.276Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-20T05:01:35.308Z] ========================================================= [2023-04-20T05:01:35.308Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-04-20T05:01:35.308Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [2023-04-20T05:01:35.406Z] INFO: Retrieving Pricing Info for: v3-standard-8 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-20T05:01:35.665Z] INFO: Archiving Costs [Pipeline] sh [2023-04-20T05:01:35.839Z] + 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-20T05:01:35.985Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1427/archives/cost.csv [2023-04-20T05:01:35.985Z] + cut -d, -f6 [Pipeline] lock [2023-04-20T05:01:36.029Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1427-1-stack-cost] [2023-04-20T05:01:36.034Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1427-1-stack-cost] did not exist. Created. [2023-04-20T05:01:36.034Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1427-1-stack-cost] [Pipeline] { [Pipeline] unstash [2023-04-20T05:01:36.112Z] Sending build context to Docker daemon 5.895MB [2023-04-20T05:01:36.112Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-04-20T05:01:36.112Z] Step 2/10 : FROM ${BASE} AS builder [Pipeline] sh [2023-04-20T05:01:36.381Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-04-20T05:01:36.381Z] af6eaf76a39c: Pulling fs layer [2023-04-20T05:01:36.381Z] 55522c791124: Pulling fs layer [2023-04-20T05:01:36.381Z] ce5c4a1c91eb: Pulling fs layer [2023-04-20T05:01:36.381Z] 169dfbe0d373: Pulling fs layer [2023-04-20T05:01:36.381Z] e1ff8fa3b103: Pulling fs layer [2023-04-20T05:01:36.381Z] 52ebb69f0ebf: Pulling fs layer [2023-04-20T05:01:36.381Z] 5abe8eddf0d5: Pulling fs layer [2023-04-20T05:01:36.381Z] 169dfbe0d373: Waiting [2023-04-20T05:01:36.381Z] 5abe8eddf0d5: Waiting [2023-04-20T05:01:36.381Z] e1ff8fa3b103: Waiting [2023-04-20T05:01:36.381Z] 52ebb69f0ebf: Waiting [2023-04-20T05:01:36.381Z] 55522c791124: Verifying Checksum [2023-04-20T05:01:36.381Z] 55522c791124: Download complete [2023-04-20T05:01:36.381Z] 169dfbe0d373: Verifying Checksum [2023-04-20T05:01:36.381Z] 169dfbe0d373: Download complete [2023-04-20T05:01:36.381Z] e1ff8fa3b103: Verifying Checksum [2023-04-20T05:01:36.381Z] e1ff8fa3b103: Download complete [2023-04-20T05:01:36.381Z] af6eaf76a39c: Verifying Checksum [2023-04-20T05:01:36.381Z] af6eaf76a39c: Download complete [2023-04-20T05:01:36.447Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-04-20T05:01:36.500Z] Stashed 1 file(s) [Pipeline] } [2023-04-20T05:01:36.534Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1427-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-04-20T05:01:36.614Z] $ docker stop --time=1 54d8e12a3fce44cc510872845eb6a6c9a273acf311611e95808f6d850664e5cf [2023-04-20T05:01:37.370Z] af6eaf76a39c: Pull complete [2023-04-20T05:01:37.370Z] 5abe8eddf0d5: Verifying Checksum [2023-04-20T05:01:37.370Z] 5abe8eddf0d5: Download complete [2023-04-20T05:01:37.750Z] $ docker rm -f --volumes 54d8e12a3fce44cc510872845eb6a6c9a273acf311611e95808f6d850664e5cf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [2023-04-20T05:01:37.966Z] 55522c791124: Pull complete [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-04-20T05:01:38.932Z] 52ebb69f0ebf: Verifying Checksum [2023-04-20T05:01:38.932Z] 52ebb69f0ebf: Download complete [2023-04-20T05:01:38.932Z] ce5c4a1c91eb: Verifying Checksum [2023-04-20T05:01:38.932Z] ce5c4a1c91eb: Download complete [2023-04-20T05:01:51.278Z] ce5c4a1c91eb: Pull complete [2023-04-20T05:01:51.278Z] 169dfbe0d373: Pull complete [2023-04-20T05:01:51.278Z] e1ff8fa3b103: Pull complete [2023-04-20T05:01:56.702Z] 52ebb69f0ebf: Pull complete [2023-04-20T05:01:58.665Z] 5abe8eddf0d5: Pull complete [2023-04-20T05:01:58.940Z] Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f [2023-04-20T05:01:58.940Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-04-20T05:01:58.940Z] ---> 6cb57ee374ae [2023-04-20T05:01:58.940Z] Step 3/10 : ARG MAKE=make build [2023-04-20T05:02:00.902Z] ---> Running in 1efa92c36d65 [2023-04-20T05:02:00.902Z] Removing intermediate container 1efa92c36d65 [2023-04-20T05:02:00.902Z] ---> 60b9d1b34e7b [2023-04-20T05:02:00.902Z] Step 4/10 : WORKDIR /device-sdk-go [2023-04-20T05:02:00.902Z] ---> Running in 8408c103d105 [2023-04-20T05:02:01.174Z] Removing intermediate container 8408c103d105 [2023-04-20T05:02:01.174Z] ---> 749036b9a73d [2023-04-20T05:02:01.174Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-04-20T05:02:01.451Z] ---> Running in 2bed8d0acfb1 [2023-04-20T05:02:01.725Z] Removing intermediate container 2bed8d0acfb1 [2023-04-20T05:02:01.725Z] ---> b6242000e6e8 [2023-04-20T05:02:01.725Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-04-20T05:02:01.725Z] ---> Running in 3efd6a20d041 [2023-04-20T05:02:02.697Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-04-20T05:02:03.282Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-04-20T05:02:04.701Z] OK: 263 MiB in 53 packages [2023-04-20T05:02:05.290Z] Removing intermediate container 3efd6a20d041 [2023-04-20T05:02:05.290Z] ---> 4ea48a3a18f3 [2023-04-20T05:02:05.290Z] Step 7/10 : COPY go.mod vendor* ./ [2023-04-20T05:02:05.883Z] ---> 406ba5391b99 [2023-04-20T05:02:05.883Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-20T05:02:05.883Z] ---> Running in 529d4d5e2a62 [2023-04-20T05:03:13.815Z] Removing intermediate container 529d4d5e2a62 [2023-04-20T05:03:13.815Z] ---> 6f46ff1242c1 [2023-04-20T05:03:13.815Z] Step 9/10 : COPY . . [2023-04-20T05:03:13.815Z] ---> faf87472ad24 [2023-04-20T05:03:13.815Z] Step 10/10 : RUN ${MAKE} [2023-04-20T05:03:13.815Z] ---> Running in 4fc6fe75584b [2023-04-20T05:03:13.815Z] noop [2023-04-20T05:03:13.815Z] Removing intermediate container 4fc6fe75584b [2023-04-20T05:03:13.815Z] ---> bf1b899420a6 [2023-04-20T05:03:13.815Z] Successfully built bf1b899420a6 [2023-04-20T05:03:13.815Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-20T05:03:14.297Z] + docker inspect -f . ci-base-image-arm64 [2023-04-20T05:03:14.298Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-20T05:03:14.583Z] prd-ubuntu20.04-docker-arm64-4c-16g-9134 does not seem to be running inside a container [2023-04-20T05:03:14.655Z] $ 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-20T05:03:15.831Z] $ docker top f218646c9e7767ebe5b96fc447bca07fa18d8819ff0ba61f7296e86ec299d4d0 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-20T05:03:16.723Z] + go version [2023-04-20T05:03:16.723Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-04-20T05:03:16.754Z] $ docker stop --time=1 f218646c9e7767ebe5b96fc447bca07fa18d8819ff0ba61f7296e86ec299d4d0 [2023-04-20T05:03:18.281Z] $ docker rm -f --volumes f218646c9e7767ebe5b96fc447bca07fa18d8819ff0ba61f7296e86ec299d4d0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-20T05:03:19.129Z] + docker inspect -f . ci-base-image-arm64 [2023-04-20T05:03:19.129Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-20T05:03:19.370Z] prd-ubuntu20.04-docker-arm64-4c-16g-9134 does not seem to be running inside a container [2023-04-20T05:03:19.424Z] $ 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-20T05:03:20.527Z] $ docker top e586b8b2d54908b2989527ae89d47cd85c443f5b3ed65b8abfb29f436bda4a78 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-20T05:03:21.075Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh [2023-04-20T05:03:21.457Z] + make test [2023-04-20T05:03:21.457Z] go test -race -coverprofile=coverage.out ./... [2023-04-20T05:04:00.338Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-04-20T05:05:52.043Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-04-20T05:05:52.043Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-04-20T05:05:52.043Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-04-20T05:05:52.043Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-04-20T05:05:52.043Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-04-20T05:06:04.379Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.208s coverage: 27.6% of statements [2023-04-20T05:06:07.712Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.280s coverage: 80.2% of statements [2023-04-20T05:06:20.016Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-04-20T05:06:20.016Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-04-20T05:06:20.016Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.320s coverage: 86.0% of statements [2023-04-20T05:06:24.262Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-04-20T05:06:24.846Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.412s coverage: 77.5% of statements [2023-04-20T05:06:29.097Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-04-20T05:06:30.056Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-04-20T05:06:30.056Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-04-20T05:06:31.999Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.267s coverage: 14.6% of statements [2023-04-20T05:06:31.999Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.407s coverage: 68.5% of statements [2023-04-20T05:06:33.422Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.425s coverage: 89.2% of statements [2023-04-20T05:06:34.380Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-04-20T05:06:34.647Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.228s coverage: 5.5% of statements [2023-04-20T05:06:35.602Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-04-20T05:06:35.602Z] GO111MODULE=on go vet ./... [2023-04-20T05:08:57.317Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-04-20T05:08:57.317Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-04-20T05:08:57.317Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-04-20T05:08:57.354Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-04-20T05:08:57.377Z] $ docker stop --time=1 e586b8b2d54908b2989527ae89d47cd85c443f5b3ed65b8abfb29f436bda4a78 [2023-04-20T05:09:00.541Z] $ docker rm -f --volumes e586b8b2d54908b2989527ae89d47cd85c443f5b3ed65b8abfb29f436bda4a78 [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-20T05:09:02.056Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-04-20T05:09:02.093Z] Warning: overwriting stash ‘coverage-report’ [2023-04-20T05:09:02.592Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-20T05:09:03.180Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-04-20T05:09:03.517Z] + ls -al . [2023-04-20T05:09:03.517Z] total 268 [2023-04-20T05:09:03.517Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 20 05:03 . [2023-04-20T05:09:03.517Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 20 05:01 .. [2023-04-20T05:09:03.517Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 20 05:01 .dockerignore [2023-04-20T05:09:03.517Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 20 05:01 .git [2023-04-20T05:09:03.517Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 20 05:01 .github [2023-04-20T05:09:03.517Z] -rw-rw-r-- 1 jenkins jenkins 131 Apr 20 05:01 .gitignore [2023-04-20T05:09:03.517Z] -rw-rw-r-- 1 jenkins jenkins 42 Apr 20 05:01 .golangci.yml [2023-04-20T05:09:03.517Z] -rw-rw-r-- 1 jenkins jenkins 31677 Apr 20 05:01 CHANGELOG.md [2023-04-20T05:09:03.517Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 20 05:01 GOVERNANCE.md [2023-04-20T05:09:03.517Z] -rw-rw-r-- 1 jenkins jenkins 885 Apr 20 05:01 Jenkinsfile [2023-04-20T05:09:03.517Z] -rw-rw-r-- 1 jenkins jenkins 11341 Apr 20 05:01 LICENSE [2023-04-20T05:09:03.517Z] -rw-rw-r-- 1 jenkins jenkins 1714 Apr 20 05:01 Makefile [2023-04-20T05:09:03.517Z] -rw-rw-r-- 1 jenkins jenkins 619 Apr 20 05:01 OWNERS.md [2023-04-20T05:09:03.517Z] -rw-rw-r-- 1 jenkins jenkins 4891 Apr 20 05:01 README.md [2023-04-20T05:09:03.517Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 20 04:59 VERSION [2023-04-20T05:09:03.517Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 20 05:01 bin [2023-04-20T05:09:03.517Z] -rw-r--r-- 1 jenkins jenkins 106119 Apr 20 05:06 coverage.out [2023-04-20T05:09:03.517Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 20 05:01 example [2023-04-20T05:09:03.517Z] -rw-rw-r-- 1 jenkins jenkins 3246 Apr 20 05:01 go.mod [2023-04-20T05:09:03.517Z] -rw-rw-r-- 1 jenkins jenkins 30896 Apr 20 05:01 go.sum [2023-04-20T05:09:03.517Z] drwxrwxr-x 12 jenkins jenkins 4096 Apr 20 05:01 internal [2023-04-20T05:09:03.517Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 20 05:01 openapi [2023-04-20T05:09:03.517Z] drwxrwxr-x 6 jenkins jenkins 4096 Apr 20 05:01 pkg [2023-04-20T05:09:03.517Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 20 05:01 snap [2023-04-20T05:09:03.517Z] -rw-rw-r-- 1 jenkins jenkins 222 Apr 20 05:01 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-20T05:09:03.930Z] + 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=215cb1e7142f37e7a13b2af639ac9b616c3f82cc --label arch=arm64 --label version=0.0.0 . [2023-04-20T05:09:04.207Z] Sending build context to Docker daemon 6.002MB [2023-04-20T05:09:04.208Z] Step 1/23 : ARG BASE=golang:1.20-alpine3.17 [2023-04-20T05:09:04.208Z] Step 2/23 : FROM ${BASE} AS builder [2023-04-20T05:09:04.208Z] ---> bf1b899420a6 [2023-04-20T05:09:04.208Z] Step 3/23 : ARG MAKE=make build [2023-04-20T05:09:04.478Z] ---> Running in a11238369781 [2023-04-20T05:09:04.749Z] Removing intermediate container a11238369781 [2023-04-20T05:09:04.749Z] ---> 096f6d2b8d47 [2023-04-20T05:09:04.749Z] Step 4/23 : WORKDIR /device-sdk-go [2023-04-20T05:09:04.749Z] ---> Running in f51f8cc21124 [2023-04-20T05:09:05.019Z] Removing intermediate container f51f8cc21124 [2023-04-20T05:09:05.019Z] ---> 2245450a1fde [2023-04-20T05:09:05.019Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-04-20T05:09:05.287Z] ---> Running in 8371d58270c4 [2023-04-20T05:09:05.556Z] Removing intermediate container 8371d58270c4 [2023-04-20T05:09:05.556Z] ---> adae807f1bba [2023-04-20T05:09:05.556Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-04-20T05:09:05.556Z] ---> Running in 50dab23261ed [2023-04-20T05:09:06.518Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-04-20T05:09:07.104Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-04-20T05:09:08.073Z] OK: 263 MiB in 53 packages [2023-04-20T05:09:09.046Z] Removing intermediate container 50dab23261ed [2023-04-20T05:09:09.046Z] ---> 63b76943770a [2023-04-20T05:09:09.046Z] Step 7/23 : COPY go.mod vendor* ./ [2023-04-20T05:09:09.314Z] ---> 745decaa7f71 [2023-04-20T05:09:09.314Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-20T05:09:09.585Z] ---> Running in 985489411cdf [2023-04-20T05:09:14.944Z] Removing intermediate container 985489411cdf [2023-04-20T05:09:14.944Z] ---> 0736b8f09d68 [2023-04-20T05:09:14.944Z] Step 9/23 : COPY . . [2023-04-20T05:09:15.907Z] ---> 137ed412b044 [2023-04-20T05:09:15.907Z] Step 10/23 : RUN ${MAKE} [2023-04-20T05:09:15.908Z] ---> Running in 732d23760a0c [2023-04-20T05:09:16.881Z] 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-20T05:11:23.568Z] Removing intermediate container 732d23760a0c [2023-04-20T05:11:23.568Z] ---> 9021b7e5fb19 [2023-04-20T05:11:23.568Z] Step 11/23 : FROM alpine:3.17 [2023-04-20T05:11:23.568Z] 3.17: Pulling from library/alpine [2023-04-20T05:11:23.568Z] c41833b44d91: Pulling fs layer [2023-04-20T05:11:23.568Z] c41833b44d91: Verifying Checksum [2023-04-20T05:11:23.568Z] c41833b44d91: Download complete [2023-04-20T05:11:23.568Z] c41833b44d91: Pull complete [2023-04-20T05:11:23.568Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-04-20T05:11:23.568Z] Status: Downloaded newer image for alpine:3.17 [2023-04-20T05:11:23.568Z] ---> 51e60588ff2c [2023-04-20T05:11:23.568Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-04-20T05:11:23.568Z] ---> Running in fcaeeebf1351 [2023-04-20T05:11:23.835Z] Removing intermediate container fcaeeebf1351 [2023-04-20T05:11:23.835Z] ---> 61517454a2e1 [2023-04-20T05:11:23.835Z] Step 13/23 : RUN apk add --update --no-cache [2023-04-20T05:11:23.835Z] ---> Running in 0ddf124c2e67 [2023-04-20T05:11:24.799Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-04-20T05:11:25.387Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-04-20T05:11:26.354Z] OK: 7 MiB in 15 packages [2023-04-20T05:11:29.703Z] Removing intermediate container 0ddf124c2e67 [2023-04-20T05:11:29.703Z] ---> 75a35ee296e4 [2023-04-20T05:11:29.703Z] Step 14/23 : WORKDIR / [2023-04-20T05:11:29.703Z] ---> Running in a2988c0d8ce4 [2023-04-20T05:11:29.703Z] Removing intermediate container a2988c0d8ce4 [2023-04-20T05:11:29.703Z] ---> abe2593aa7b5 [2023-04-20T05:11:29.703Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-04-20T05:11:29.971Z] ---> b77f4e310032 [2023-04-20T05:11:29.971Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-04-20T05:11:31.380Z] ---> 61307e7b9a47 [2023-04-20T05:11:31.380Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-04-20T05:11:31.963Z] ---> c203c8081e29 [2023-04-20T05:11:31.963Z] Step 18/23 : EXPOSE 59999 [2023-04-20T05:11:31.963Z] ---> Running in 109a126a4582 [2023-04-20T05:11:32.230Z] Removing intermediate container 109a126a4582 [2023-04-20T05:11:32.230Z] ---> 672499e939e0 [2023-04-20T05:11:32.230Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-04-20T05:11:32.230Z] ---> Running in cb4a4583389c [2023-04-20T05:11:32.498Z] Removing intermediate container cb4a4583389c [2023-04-20T05:11:32.498Z] ---> 0aff4f2da795 [2023-04-20T05:11:32.498Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-04-20T05:11:32.498Z] ---> Running in e47f2e3873e0 [2023-04-20T05:11:32.767Z] Removing intermediate container e47f2e3873e0 [2023-04-20T05:11:32.767Z] ---> 77d54b39b25a [2023-04-20T05:11:32.767Z] Step 21/23 : LABEL arch=arm64 [2023-04-20T05:11:33.040Z] ---> Running in 0bf681ea60c5 [2023-04-20T05:11:33.310Z] Removing intermediate container 0bf681ea60c5 [2023-04-20T05:11:33.310Z] ---> f43b73688f07 [2023-04-20T05:11:33.310Z] Step 22/23 : LABEL git_sha=215cb1e7142f37e7a13b2af639ac9b616c3f82cc [2023-04-20T05:11:33.310Z] ---> Running in 6c8cd98d0467 [2023-04-20T05:11:33.587Z] Removing intermediate container 6c8cd98d0467 [2023-04-20T05:11:33.587Z] ---> a96fcd31cd50 [2023-04-20T05:11:33.587Z] Step 23/23 : LABEL version=0.0.0 [2023-04-20T05:11:33.587Z] ---> Running in 8b6414a820b5 [2023-04-20T05:11:33.862Z] Removing intermediate container 8b6414a820b5 [2023-04-20T05:11:33.862Z] ---> 52c509c91a72 [2023-04-20T05:11:33.862Z] [Warning] One or more build-args [ARCH] were not consumed [2023-04-20T05:11:34.131Z] Successfully built 52c509c91a72 [2023-04-20T05:11:34.131Z] 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-20T05:11:34.936Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-20T05:11:34.936Z] [2023-04-20T05:11:34.936Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-20T05:11:35.329Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-20T05:11:35.329Z] arm64: Pulling from edgex-lftools-log-publisher [2023-04-20T05:11:35.329Z] 8998bd30e6a1: Pulling fs layer [2023-04-20T05:11:35.329Z] 04944245beec: Pulling fs layer [2023-04-20T05:11:35.329Z] 699f458cf7ca: Pulling fs layer [2023-04-20T05:11:35.329Z] 765212b225bb: Pulling fs layer [2023-04-20T05:11:35.329Z] f23df028b6ca: Pulling fs layer [2023-04-20T05:11:35.329Z] d65c8cfc05b1: Pulling fs layer [2023-04-20T05:11:35.329Z] 2437ff75d9bd: Pulling fs layer [2023-04-20T05:11:35.329Z] f23df028b6ca: Waiting [2023-04-20T05:11:35.329Z] 765212b225bb: Waiting [2023-04-20T05:11:35.329Z] 2437ff75d9bd: Waiting [2023-04-20T05:11:35.597Z] 04944245beec: Verifying Checksum [2023-04-20T05:11:35.597Z] 04944245beec: Download complete [2023-04-20T05:11:35.597Z] 765212b225bb: Download complete [2023-04-20T05:11:35.597Z] f23df028b6ca: Verifying Checksum [2023-04-20T05:11:35.597Z] f23df028b6ca: Download complete [2023-04-20T05:11:35.597Z] d65c8cfc05b1: Verifying Checksum [2023-04-20T05:11:35.597Z] d65c8cfc05b1: Download complete [2023-04-20T05:11:35.865Z] 699f458cf7ca: Verifying Checksum [2023-04-20T05:11:35.865Z] 699f458cf7ca: Download complete [2023-04-20T05:11:36.144Z] 8998bd30e6a1: Download complete [2023-04-20T05:11:38.726Z] 2437ff75d9bd: Download complete [2023-04-20T05:11:42.986Z] 8998bd30e6a1: Pull complete [2023-04-20T05:11:43.254Z] 04944245beec: Pull complete [2023-04-20T05:11:44.726Z] 699f458cf7ca: Pull complete [2023-04-20T05:11:44.726Z] 765212b225bb: Pull complete [2023-04-20T05:11:45.697Z] f23df028b6ca: Pull complete [2023-04-20T05:11:45.697Z] d65c8cfc05b1: Pull complete [2023-04-20T05:12:00.791Z] 2437ff75d9bd: Pull complete [2023-04-20T05:12:00.791Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-04-20T05:12:00.791Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-20T05:12:00.791Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-20T05:12:01.091Z] prd-ubuntu20.04-docker-arm64-4c-16g-9134 does not seem to be running inside a container [2023-04-20T05:12:01.154Z] $ 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-20T05:12:03.573Z] $ docker top 26d912c19120ff3dcfdfa88912edc55289656ff0420ed9a234fb0f96a053da8b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-20T05:12:04.480Z] ---> job-cost.sh [2023-04-20T05:12:04.480Z] lf-activate-venv: SKIPPING [2023-04-20T05:12:04.481Z] INFO: No Stack... [2023-04-20T05:12:05.068Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-04-20T05:12:06.023Z] INFO: Archiving Costs [Pipeline] sh [2023-04-20T05:12:06.678Z] + + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2023-04-20T05:12:06.678Z] cut -d, -f6 [Pipeline] lock [2023-04-20T05:12:06.762Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1427-1-stack-cost] [2023-04-20T05:12:06.767Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1427-1-stack-cost] did not exist. Created. [2023-04-20T05:12:06.767Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1427-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-04-20T05:12:07.503Z] /w/workspace/device-sdk-go/1@tmp/durable-f63220c9/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-04-20T05:12:08.180Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-04-20T05:12:08.217Z] Warning: overwriting stash ‘stack-cost’ [2023-04-20T05:12:08.276Z] Stashed 1 file(s) [Pipeline] } [2023-04-20T05:12:08.291Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1427-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-04-20T05:12:08.369Z] $ docker stop --time=1 26d912c19120ff3dcfdfa88912edc55289656ff0420ed9a234fb0f96a053da8b [2023-04-20T05:12:09.838Z] $ docker rm -f --volumes 26d912c19120ff3dcfdfa88912edc55289656ff0420ed9a234fb0f96a053da8b [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-20T05:12:10.870Z] provisioning config files... [2023-04-20T05:12:10.876Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1427@tmp/config4686649122468232008tmp [Pipeline] { [Pipeline] sh [2023-04-20T05:12:11.219Z] + set +x [2023-04-20T05:12:11.219Z] + + curl -s https://codecov.io/bashbash [2023-04-20T05:12:11.219Z] -s -- [2023-04-20T05:12:11.219Z] [2023-04-20T05:12:11.219Z] _____ _ [2023-04-20T05:12:11.219Z] / ____| | | [2023-04-20T05:12:11.219Z] | | ___ __| | ___ ___ _____ __ [2023-04-20T05:12:11.219Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-04-20T05:12:11.219Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-04-20T05:12:11.219Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-04-20T05:12:11.219Z] Bash-1.0.6 [2023-04-20T05:12:11.219Z] [2023-04-20T05:12:11.219Z] [2023-04-20T05:12:11.219Z] ==> git version 2.25.1 found [2023-04-20T05:12:11.219Z] ==> 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-20T05:12:11.219Z] Release-Date: 2020-01-08 [2023-04-20T05:12:11.219Z] 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-20T05:12:11.219Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-04-20T05:12:11.219Z] ==> Jenkins CI detected. [2023-04-20T05:12:11.219Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1427 [2023-04-20T05:12:11.219Z] project root: . [2023-04-20T05:12:11.219Z] --> token set from env [2023-04-20T05:12:11.219Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-04-20T05:12:11.219Z] ==> Running gcov in . (disable via -X gcov) [2023-04-20T05:12:11.219Z] ==> Python coveragepy not found [2023-04-20T05:12:11.219Z] ==> Searching for coverage reports in: [2023-04-20T05:12:11.219Z] + . [2023-04-20T05:12:11.219Z] -> Found 1 reports [2023-04-20T05:12:11.219Z] ==> Detecting git/mercurial file structure [2023-04-20T05:12:11.479Z] ==> Reading reports [2023-04-20T05:12:11.479Z] + ./coverage.out bytes=106119 [2023-04-20T05:12:11.479Z] ==> Appending adjustments [2023-04-20T05:12:11.479Z] https://docs.codecov.io/docs/fixing-reports [2023-04-20T05:12:11.740Z] + Found adjustments [2023-04-20T05:12:11.740Z] ==> Gzipping contents [2023-04-20T05:12:11.740Z] 16K /tmp/codecov.uDgSBu.gz [2023-04-20T05:12:11.740Z] ==> Uploading reports [2023-04-20T05:12:11.740Z] url: https://codecov.io [2023-04-20T05:12:11.740Z] query: branch=PR-1427&commit=215cb1e7142f37e7a13b2af639ac9b616c3f82cc&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1427%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1427&job=&cmd_args= [2023-04-20T05:12:11.740Z] -> Pinging Codecov [2023-04-20T05:12:11.740Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1427&commit=215cb1e7142f37e7a13b2af639ac9b616c3f82cc&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1427%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1427&job=&cmd_args= [2023-04-20T05:12:11.740Z] -> Uploading to [2023-04-20T05:12:11.740Z] https://storage.googleapis.com/codecov/v4/raw/2023-04-20/7E55EF52A471D76F132DFD9A03CDDE97/215cb1e7142f37e7a13b2af639ac9b616c3f82cc/b40fa25f-83c2-43dd-9621-83730225fb50.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230420%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230420T051211Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=8ad30b3dd925c8905f73e25e50942001db2e09dd749856f969afc63f98282a8e [2023-04-20T05:12:11.740Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-04-20T05:12:11.740Z] Dload Upload Total Spent Left Speed [2023-04-20T05:12:12.002Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 15027 0 0 100 15027 0 67995 --:--:-- --:--:-- --:--:-- 67689 100 15027 0 0 100 15027 0 60108 --:--:-- --:--:-- --:--:-- 60108 [2023-04-20T05:12:12.002Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/215cb1e7142f37e7a13b2af639ac9b616c3f82cc [Pipeline] } [2023-04-20T05:12:12.029Z] 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-20T05:12:13.798Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1427/archives ] [2023-04-20T05:12:13.798Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1427/archives [2023-04-20T05:12:13.798Z] total 16 [2023-04-20T05:12:13.798Z] drwxr-xr-x 3 root root 4096 Apr 20 05:01 . [2023-04-20T05:12:13.798Z] drwxrwxr-x 12 jenkins jenkins 4096 Apr 20 05:01 .. [2023-04-20T05:12:13.798Z] drwxr-xr-x 2 root root 4096 Apr 20 05:01 cost [2023-04-20T05:12:13.798Z] -rw-r--r-- 1 root root 86 Apr 20 05:01 cost.csv [2023-04-20T05:12:13.798Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1427/archives [2023-04-20T05:12:13.798Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1427/archives [2023-04-20T05:12:13.798Z] total 16 [2023-04-20T05:12:13.798Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 20 05:01 . [2023-04-20T05:12:13.798Z] drwxrwxr-x 12 jenkins jenkins 4096 Apr 20 05:01 .. [2023-04-20T05:12:13.798Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 20 05:01 cost [2023-04-20T05:12:13.798Z] -rw-r--r-- 1 jenkins jenkins 86 Apr 20 05:01 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-04-20T05:12:14.128Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-20T05:12:15.013Z] ---> package-listing.sh [2023-04-20T05:12:15.013Z] ++ tr '[:upper:]' '[:lower:]' [2023-04-20T05:12:15.013Z] ++ facter osfamily [2023-04-20T05:12:15.272Z] + OS_FAMILY=debian [2023-04-20T05:12:15.272Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1427 [2023-04-20T05:12:15.272Z] + START_PACKAGES=/tmp/packages_start.txt [2023-04-20T05:12:15.272Z] + END_PACKAGES=/tmp/packages_end.txt [2023-04-20T05:12:15.272Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-04-20T05:12:15.272Z] + PACKAGES=/tmp/packages_start.txt [2023-04-20T05:12:15.272Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1427 ']' [2023-04-20T05:12:15.272Z] + PACKAGES=/tmp/packages_end.txt [2023-04-20T05:12:15.272Z] + case "${OS_FAMILY}" in [2023-04-20T05:12:15.272Z] + dpkg -l [2023-04-20T05:12:15.272Z] + grep '^ii' [2023-04-20T05:12:15.272Z] + '[' -f /tmp/packages_start.txt ']' [2023-04-20T05:12:15.272Z] + '[' -f /tmp/packages_end.txt ']' [2023-04-20T05:12:15.272Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-04-20T05:12:15.272Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1427 ']' [2023-04-20T05:12:15.272Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1427/archives/ [2023-04-20T05:12:15.272Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1427/archives/ [Pipeline] echo [2023-04-20T05:12:15.308Z] 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-1427/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-04-20T05:12:15.599Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-20T05:12:16.240Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-20T05:12:16.240Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-20T05:12:16.394Z] prd-ubuntu20.04-docker-8c-8g-9133 does not seem to be running inside a container [2023-04-20T05:12:16.424Z] $ 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-1427/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-1427 -v /w/workspace/gexfoundry_device-sdk-go_PR-1427:/w/workspace/gexfoundry_device-sdk-go_PR-1427:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1427@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1427@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-20T05:12:16.620Z] $ docker top ec40ad8fbe9f163f5a497f5ca8151d92f50804723ddfd7dcc01c5661e71888d7 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-20T05:12:17.006Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-04-20T05:12:17.327Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-04-20T05:12:17.637Z] + ls /var/log/sa-host [2023-04-20T05:12:17.637Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-20T05:12:17.889Z] provisioning config files... [2023-04-20T05:12:17.899Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1427@tmp/config5255644235426942867tmp [Pipeline] { [Pipeline] echo [2023-04-20T05:12:17.964Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-20T05:12:18.285Z] ---> create-netrc.sh [Pipeline] } [2023-04-20T05:12:18.315Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-04-20T05:12:18.714Z] ---> python-tools-install.sh [Pipeline] echo [2023-04-20T05:12:18.749Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-20T05:12:19.062Z] ---> sudo-logs.sh [2023-04-20T05:12:19.062Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-04-20T05:12:19.151Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-20T05:12:19.467Z] ---> job-cost.sh [2023-04-20T05:12:19.467Z] lf-activate-venv: SKIPPING [2023-04-20T05:12:19.467Z] DEBUG: total: 0.2199999988079071 [2023-04-20T05:12:19.467Z] INFO: Retrieving Stack Cost... [2023-04-20T05:12:19.726Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-04-20T05:12:20.297Z] INFO: Archiving Costs [Pipeline] echo [2023-04-20T05:12:20.332Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-20T05:12:20.647Z] ---> logs-deploy.sh [2023-04-20T05:12:20.648Z] lf-activate-venv: SKIPPING [2023-04-20T05:12:20.648Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1427/1 [2023-04-20T05:12:20.648Z] INFO: archiving workspace using pattern(s): [2023-04-20T05:12:21.584Z] Archives upload complete. [2023-04-20T05:12:21.584Z] INFO: archiving logs to Nexus