Pull request #1364 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 6130d42fff1a7b5f5a72f8dfa85459fb0f299d3b+b4dcd90c517d60267da088e4e26fcccd6a523ed6 (3987ab759f0c139b4836a30146c1c8edf42e909e) 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-ssh4083932618846896242.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh1207817705547974541.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1364/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-1364/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7150776225618623869.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-1364/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh232472607403876248.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh7975488560269806209.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-1364/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-1364/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh18391687752568436656.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/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.18 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/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-8487 in /w/workspace/gexfoundry_device-sdk-go_PR-1364 [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-1364 # 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/1364/head:refs/remotes/origin/PR-1364 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit b4dcd90c517d60267da088e4e26fcccd6a523ed6 into PR head commit 6130d42fff1a7b5f5a72f8dfa85459fb0f299d3b Merge succeeded, producing 6130d42fff1a7b5f5a72f8dfa85459fb0f299d3b Checking out Revision 6130d42fff1a7b5f5a72f8dfa85459fb0f299d3b (PR-1364) Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-03-07T04:59:49.403Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-03-07T04:59:49.567Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo > git config core.sparsecheckout # timeout=10 > git checkout -f 6130d42fff1a7b5f5a72f8dfa85459fb0f299d3b # 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 b4dcd90c517d60267da088e4e26fcccd6a523ed6 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6130d42fff1a7b5f5a72f8dfa85459fb0f299d3b # timeout=10 [2023-03-07T04:59:49.675Z] ========================================================= [2023-03-07T04:59:49.675Z] EdgeX Global Pipelines Version Info [2023-03-07T04:59:49.675Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-03-07T04:59:50.403Z] ------------------- [2023-03-07T04:59:50.404Z] stable info: [2023-03-07T04:59:50.404Z] ------------------- [2023-03-07T04:59:50.404Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-03-07T04:59:50.404Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-03-07T04:59:50.404Z] Message: update stable to v1.0.244 [2023-03-07T04:59:50.973Z] ------------------- [2023-03-07T04:59:50.973Z] experimental info: [2023-03-07T04:59:50.973Z] ------------------- [2023-03-07T04:59:50.973Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-03-07T04:59:50.973Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-03-07T04:59:50.973Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-03-07T04:59:51.242Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-03-07T04:59:51.281Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-03-07T04:59:51.320Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-03-07T04:59:51.356Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-03-07T04:59:51.390Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-03-07T04:59:51.428Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-03-07T04:59:51.465Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-03-07T04:59:51.500Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-03-07T04:59:51.539Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-03-07T04:59:51.576Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-03-07T04:59:51.615Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-03-07T04:59:51.654Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-03-07T04:59:51.697Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-03-07T04:59:51.736Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-03-07T04:59:51.778Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-03-07T04:59:51.822Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-03-07T04:59:51.865Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-03-07T04:59:51.902Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-03-07T04:59:51.944Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-03-07T04:59:51.985Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-03-07T04:59:52.023Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-03-07T04:59:52.065Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2023-03-07T04:59:52.107Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-03-07T04:59:52.151Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-03-07T04:59:52.191Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-03-07T04:59:52.232Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-03-07T04:59:52.269Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-03-07T04:59:52.311Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1364 [Pipeline] echo [2023-03-07T04:59:52.353Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1364 [Pipeline] echo [2023-03-07T04:59:52.402Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1364 [Pipeline] echo [2023-03-07T04:59:52.441Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6130d42fff1a7b5f5a72f8dfa85459fb0f299d3b [Pipeline] echo [2023-03-07T04:59:52.479Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6130d42 [Pipeline] echo [2023-03-07T04:59:52.518Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-07T04:59:52.630Z] provisioning config files... [2023-03-07T04:59:52.643Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1364@tmp/config16932503532457961570tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-07T04:59:53.010Z] ---> docker-login.sh [2023-03-07T04:59:53.010Z] nexus3.edgexfoundry.org:10001 [2023-03-07T04:59:53.274Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-07T04:59:53.274Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-07T04:59:53.274Z] Configure a credential helper to remove this warning. See [2023-03-07T04:59:53.274Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-07T04:59:53.274Z] [2023-03-07T04:59:53.274Z] Login Succeeded [2023-03-07T04:59:53.274Z] nexus3.edgexfoundry.org:10002 [2023-03-07T04:59:53.274Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-07T04:59:53.274Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-07T04:59:53.274Z] Configure a credential helper to remove this warning. See [2023-03-07T04:59:53.274Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-07T04:59:53.274Z] [2023-03-07T04:59:53.274Z] Login Succeeded [2023-03-07T04:59:53.274Z] nexus3.edgexfoundry.org:10003 [2023-03-07T04:59:53.604Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-07T04:59:53.604Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-07T04:59:53.604Z] Configure a credential helper to remove this warning. See [2023-03-07T04:59:53.604Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-07T04:59:53.604Z] [2023-03-07T04:59:53.604Z] Login Succeeded [2023-03-07T04:59:53.604Z] nexus3.edgexfoundry.org:10004 [2023-03-07T04:59:53.604Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-07T04:59:53.604Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-07T04:59:53.604Z] Configure a credential helper to remove this warning. See [2023-03-07T04:59:53.604Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-07T04:59:53.604Z] [2023-03-07T04:59:53.604Z] Login Succeeded [2023-03-07T04:59:53.604Z] docker.io [2023-03-07T04:59:53.604Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-07T04:59:53.866Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-07T04:59:53.867Z] Configure a credential helper to remove this warning. See [2023-03-07T04:59:53.867Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-07T04:59:53.867Z] [2023-03-07T04:59:53.867Z] Login Succeeded [2023-03-07T04:59:53.867Z] ---> docker-login.sh ends [Pipeline] } [2023-03-07T04:59:53.891Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-03-07T04:59:54.499Z] + git rev-list -1 --merges 6130d42fff1a7b5f5a72f8dfa85459fb0f299d3b~1..6130d42fff1a7b5f5a72f8dfa85459fb0f299d3b [Pipeline] echo [2023-03-07T04:59:54.557Z] -----------> git rev-list -1 --merges 6130d42fff1a7b5f5a72f8dfa85459fb0f299d3b~1..6130d42fff1a7b5f5a72f8dfa85459fb0f299d3b 6130d42fff1a7b5f5a72f8dfa85459fb0f299d3b [false] [Pipeline] sh [2023-03-07T04:59:54.864Z] + git log --format=format:%s -1 6130d42fff1a7b5f5a72f8dfa85459fb0f299d3b [Pipeline] echo [2023-03-07T04:59:54.896Z] ========================================================= [2023-03-07T04:59:54.896Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-03-07T04:59:54.896Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-07T04:59:55.364Z] + git log --format=format:%s -1 6130d42fff1a7b5f5a72f8dfa85459fb0f299d3b [Pipeline] echo [2023-03-07T04:59:55.397Z] [semverPrep] GIT_COMMIT: 6130d42fff1a7b5f5a72f8dfa85459fb0f299d3b, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v3 [Pipeline] echo [2023-03-07T04:59:55.432Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-03-07T04:59:55.798Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-07T04:59:55.798Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-03-07T04:59:55.798Z] + [ -e /tmp/ssh_known_hosts ] [2023-03-07T04:59:55.798Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-03-07T04:59:55.798Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-03-07T04:59:55.798Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-03-07T04:59:55.798Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-07T04:59:56.220Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-07T04:59:56.220Z] [2023-03-07T04:59:56.220Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-07T04:59:56.593Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-07T04:59:56.593Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-03-07T04:59:56.593Z] b85a868b505f: Pulling fs layer [2023-03-07T04:59:56.593Z] e2be974225ed: Pulling fs layer [2023-03-07T04:59:56.593Z] 339a4e72a1f5: Pulling fs layer [2023-03-07T04:59:56.593Z] 988bab9f4d93: Pulling fs layer [2023-03-07T04:59:56.593Z] 1469e6f7b9e6: Pulling fs layer [2023-03-07T04:59:56.593Z] eaf3925da568: Pulling fs layer [2023-03-07T04:59:56.593Z] bab4dde63d76: Pulling fs layer [2023-03-07T04:59:56.593Z] bde34c3a00c8: Pulling fs layer [2023-03-07T04:59:56.593Z] b352a97aabf1: Pulling fs layer [2023-03-07T04:59:56.593Z] 4872d77fe225: Pulling fs layer [2023-03-07T04:59:56.593Z] 5851b861e8e6: Pulling fs layer [2023-03-07T04:59:56.593Z] 988bab9f4d93: Waiting [2023-03-07T04:59:56.593Z] 1469e6f7b9e6: Waiting [2023-03-07T04:59:56.593Z] 4872d77fe225: Waiting [2023-03-07T04:59:56.593Z] 5851b861e8e6: Waiting [2023-03-07T04:59:56.593Z] b352a97aabf1: Waiting [2023-03-07T04:59:56.593Z] eaf3925da568: Waiting [2023-03-07T04:59:56.593Z] bde34c3a00c8: Waiting [2023-03-07T04:59:56.593Z] bab4dde63d76: Waiting [2023-03-07T04:59:56.593Z] e2be974225ed: Verifying Checksum [2023-03-07T04:59:56.593Z] 988bab9f4d93: Verifying Checksum [2023-03-07T04:59:56.593Z] 988bab9f4d93: Download complete [2023-03-07T04:59:56.854Z] 1469e6f7b9e6: Verifying Checksum [2023-03-07T04:59:56.854Z] 1469e6f7b9e6: Download complete [2023-03-07T04:59:56.854Z] eaf3925da568: Download complete [2023-03-07T04:59:56.854Z] 339a4e72a1f5: Verifying Checksum [2023-03-07T04:59:56.854Z] 339a4e72a1f5: Download complete [2023-03-07T04:59:56.854Z] bde34c3a00c8: Verifying Checksum [2023-03-07T04:59:56.854Z] b352a97aabf1: Download complete [2023-03-07T04:59:56.854Z] 4872d77fe225: Verifying Checksum [2023-03-07T04:59:56.854Z] 4872d77fe225: Download complete [2023-03-07T04:59:56.854Z] 5851b861e8e6: Verifying Checksum [2023-03-07T04:59:56.854Z] 5851b861e8e6: Download complete [2023-03-07T04:59:56.854Z] b85a868b505f: Download complete [2023-03-07T04:59:57.421Z] bab4dde63d76: Verifying Checksum [2023-03-07T04:59:57.421Z] bab4dde63d76: Download complete [2023-03-07T04:59:58.358Z] b85a868b505f: Pull complete [2023-03-07T04:59:58.358Z] e2be974225ed: Pull complete [2023-03-07T04:59:58.926Z] 339a4e72a1f5: Pull complete [2023-03-07T04:59:58.926Z] 988bab9f4d93: Pull complete [2023-03-07T04:59:59.185Z] 1469e6f7b9e6: Pull complete [2023-03-07T04:59:59.458Z] eaf3925da568: Pull complete [2023-03-07T05:00:01.378Z] bab4dde63d76: Pull complete [2023-03-07T05:00:01.378Z] bde34c3a00c8: Pull complete [2023-03-07T05:00:01.378Z] b352a97aabf1: Pull complete [2023-03-07T05:00:01.378Z] 4872d77fe225: Pull complete [2023-03-07T05:00:01.638Z] 5851b861e8e6: Pull complete [2023-03-07T05:00:01.638Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-03-07T05:00:01.638Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-07T05:00:01.638Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-07T05:00:01.885Z] prd-ubuntu20.04-docker-8c-8g-8487 does not seem to be running inside a container [2023-03-07T05:00:01.919Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1364 -v /w/workspace/gexfoundry_device-sdk-go_PR-1364:/w/workspace/gexfoundry_device-sdk-go_PR-1364:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1364@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1364@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-03-07T05:00:04.918Z] $ docker top 91908f5254f1496559e991815152b3755711df805323848e67f3fd7f145c4e13 -eo pid,comm [2023-03-07T05:00:04.971Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-03-07T05:00:04.971Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-07T05:00:05.101Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-07T05:00:05.101Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-07T05:00:05.258Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-07T05:00:05.259Z] $ docker exec 91908f5254f1496559e991815152b3755711df805323848e67f3fd7f145c4e13 ssh-agent [2023-03-07T05:00:05.374Z] SSH_AUTH_SOCK=/tmp/ssh-SyAuTdZAblRe/agent.31 [2023-03-07T05:00:05.374Z] SSH_AGENT_PID=37 [2023-03-07T05:00:05.380Z] Running ssh-add (command line suppressed) [2023-03-07T05:00:05.490Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1364@tmp/private_key_11551026078466285173.key (/w/workspace/gexfoundry_device-sdk-go_PR-1364@tmp/private_key_11551026078466285173.key) [2023-03-07T05:00:05.505Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-07T05:00:05.832Z] + git tag --points-at HEAD [Pipeline] } [2023-03-07T05:00:05.860Z] $ docker exec --env ******** --env ******** 91908f5254f1496559e991815152b3755711df805323848e67f3fd7f145c4e13 ssh-agent -k [2023-03-07T05:00:05.964Z] unset SSH_AUTH_SOCK; [2023-03-07T05:00:05.965Z] unset SSH_AGENT_PID; [2023-03-07T05:00:05.965Z] echo Agent pid 37 killed; [2023-03-07T05:00:05.977Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-03-07T05:00:06.071Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-07T05:00:06.071Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-07T05:00:06.197Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-07T05:00:06.199Z] $ docker exec 91908f5254f1496559e991815152b3755711df805323848e67f3fd7f145c4e13 ssh-agent [2023-03-07T05:00:06.308Z] SSH_AUTH_SOCK=/tmp/ssh-xoCXkOuAyTFF/agent.69 [2023-03-07T05:00:06.308Z] SSH_AGENT_PID=75 [2023-03-07T05:00:06.313Z] Running ssh-add (command line suppressed) [2023-03-07T05:00:06.409Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1364@tmp/private_key_7167001612890341025.key (/w/workspace/gexfoundry_device-sdk-go_PR-1364@tmp/private_key_7167001612890341025.key) [2023-03-07T05:00:06.425Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-07T05:00:06.797Z] + git semver init [2023-03-07T05:00:07.056Z] 2023-03-07 05:00:06,976 [run_init] DEBUG init version:0.0.0 force:False [2023-03-07T05:00:07.056Z] 2023-03-07 05:00:06,977 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1364/.semver [2023-03-07T05:00:07.056Z] 2023-03-07 05:00:06,978 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1364/.semver [2023-03-07T05:00:07.056Z] 2023-03-07 05:00:06,978 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1364/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1364, universal_newlines=False, shell=None, istream=None) [2023-03-07T05:00:08.435Z] 2023-03-07 05:00:08,023 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1364/.git/info/exclude [2023-03-07T05:00:08.435Z] 2023-03-07 05:00:08,023 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1364/.semver/PR-1364 with force:False [2023-03-07T05:00:08.435Z] 2023-03-07 05:00:08,023 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1364/.semver/PR-1364 [2023-03-07T05:00:08.435Z] 2023-03-07 05:00:08,026 [execute] INFO git cat-file --batch-check [2023-03-07T05:00:08.435Z] 2023-03-07 05:00:08,026 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1364/.semver, universal_newlines=False, shell=None, istream=) [2023-03-07T05:00:08.435Z] 2023-03-07 05:00:08,033 [execute] INFO git cat-file --batch [2023-03-07T05:00:08.435Z] 2023-03-07 05:00:08,033 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1364/.semver, universal_newlines=False, shell=None, istream=) [2023-03-07T05:00:08.435Z] 2023-03-07 05:00:08,038 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1364/.semver/PR-1364 [2023-03-07T05:00:08.435Z] 0.0.0 [Pipeline] } [2023-03-07T05:00:08.460Z] $ docker exec --env ******** --env ******** 91908f5254f1496559e991815152b3755711df805323848e67f3fd7f145c4e13 ssh-agent -k [2023-03-07T05:00:08.565Z] unset SSH_AUTH_SOCK; [2023-03-07T05:00:08.566Z] unset SSH_AGENT_PID; [2023-03-07T05:00:08.566Z] echo Agent pid 75 killed; [2023-03-07T05:00:08.577Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-07T05:00:09.007Z] + git semver [Pipeline] } [2023-03-07T05:00:09.302Z] $ docker stop --time=1 91908f5254f1496559e991815152b3755711df805323848e67f3fd7f145c4e13 [2023-03-07T05:00:10.571Z] $ docker rm -f --volumes 91908f5254f1496559e991815152b3755711df805323848e67f3fd7f145c4e13 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-07T05:00:10.985Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-03-07T05:00:11.310Z] Stashed 1 file(s) [Pipeline] echo [2023-03-07T05:00:11.329Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-07T05:00:12.000Z] provisioning config files... [2023-03-07T05:00:12.014Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1364@tmp/config4729965903843101738tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-07T05:00:12.369Z] ---> docker-login.sh [2023-03-07T05:00:12.369Z] nexus3.edgexfoundry.org:10001 [2023-03-07T05:00:12.369Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-07T05:00:12.369Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-07T05:00:12.369Z] Configure a credential helper to remove this warning. See [2023-03-07T05:00:12.369Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-07T05:00:12.369Z] [2023-03-07T05:00:12.369Z] Login Succeeded [2023-03-07T05:00:12.369Z] nexus3.edgexfoundry.org:10002 [2023-03-07T05:00:12.369Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-07T05:00:12.369Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-07T05:00:12.369Z] Configure a credential helper to remove this warning. See [2023-03-07T05:00:12.369Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-07T05:00:12.369Z] [2023-03-07T05:00:12.369Z] Login Succeeded [2023-03-07T05:00:12.369Z] nexus3.edgexfoundry.org:10003 [2023-03-07T05:00:12.632Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-07T05:00:12.632Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-07T05:00:12.632Z] Configure a credential helper to remove this warning. See [2023-03-07T05:00:12.632Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-07T05:00:12.632Z] [2023-03-07T05:00:12.632Z] Login Succeeded [2023-03-07T05:00:12.632Z] nexus3.edgexfoundry.org:10004 [2023-03-07T05:00:12.632Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-07T05:00:12.632Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-07T05:00:12.632Z] Configure a credential helper to remove this warning. See [2023-03-07T05:00:12.632Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-07T05:00:12.632Z] [2023-03-07T05:00:12.632Z] Login Succeeded [2023-03-07T05:00:12.632Z] docker.io [2023-03-07T05:00:12.632Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-07T05:00:13.567Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-07T05:00:13.567Z] Configure a credential helper to remove this warning. See [2023-03-07T05:00:13.567Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-07T05:00:13.567Z] [2023-03-07T05:00:13.567Z] Login Succeeded [2023-03-07T05:00:13.567Z] ---> docker-login.sh ends [Pipeline] } [2023-03-07T05:00:13.597Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-07T05:00:13.791Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-07T05:00:13.822Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-07T05:00:13.853Z] ========================================================= [2023-03-07T05:00:13.853Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-03-07T05:00:13.853Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-07T05:00:14.426Z] + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-03-07T05:00:14.426Z] Sending build context to Docker daemon 10.61MB [2023-03-07T05:00:14.426Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-03-07T05:00:14.426Z] Step 2/10 : FROM ${BASE} AS builder [2023-03-07T05:00:14.426Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-03-07T05:00:14.426Z] 213ec9aee27d: Pulling fs layer [2023-03-07T05:00:14.426Z] 4583459ba037: Pulling fs layer [2023-03-07T05:00:14.426Z] 93c1e223e6f2: Pulling fs layer [2023-03-07T05:00:14.426Z] 53926ce57604: Pulling fs layer [2023-03-07T05:00:14.426Z] 21b2b0c7a3f4: Pulling fs layer [2023-03-07T05:00:14.426Z] 22ff95d597cd: Pulling fs layer [2023-03-07T05:00:14.426Z] 12d6caf4c0d1: Pulling fs layer [2023-03-07T05:00:14.426Z] 96b7cbca73a9: Pulling fs layer [2023-03-07T05:00:14.426Z] a7acece74701: Pulling fs layer [2023-03-07T05:00:14.426Z] 53926ce57604: Waiting [2023-03-07T05:00:14.426Z] 21b2b0c7a3f4: Waiting [2023-03-07T05:00:14.426Z] 22ff95d597cd: Waiting [2023-03-07T05:00:14.426Z] 12d6caf4c0d1: Waiting [2023-03-07T05:00:14.426Z] 96b7cbca73a9: Waiting [2023-03-07T05:00:14.426Z] a7acece74701: Waiting [2023-03-07T05:00:14.426Z] 93c1e223e6f2: Verifying Checksum [2023-03-07T05:00:14.426Z] 93c1e223e6f2: Download complete [2023-03-07T05:00:14.690Z] 4583459ba037: Verifying Checksum [2023-03-07T05:00:14.690Z] 4583459ba037: Download complete [2023-03-07T05:00:14.690Z] 21b2b0c7a3f4: Download complete [2023-03-07T05:00:14.690Z] 22ff95d597cd: Download complete [2023-03-07T05:00:14.690Z] 213ec9aee27d: Verifying Checksum [2023-03-07T05:00:14.690Z] 213ec9aee27d: Download complete [2023-03-07T05:00:14.690Z] 12d6caf4c0d1: Download complete [2023-03-07T05:00:14.690Z] 213ec9aee27d: Pull complete [2023-03-07T05:00:14.952Z] 4583459ba037: Pull complete [2023-03-07T05:00:14.952Z] 93c1e223e6f2: Pull complete [2023-03-07T05:00:15.210Z] a7acece74701: Verifying Checksum [2023-03-07T05:00:15.210Z] a7acece74701: Download complete [2023-03-07T05:00:15.474Z] 96b7cbca73a9: Verifying Checksum [2023-03-07T05:00:15.474Z] 96b7cbca73a9: Download complete [2023-03-07T05:00:15.474Z] 53926ce57604: Verifying Checksum [2023-03-07T05:00:19.657Z] 53926ce57604: Pull complete [2023-03-07T05:00:19.657Z] 21b2b0c7a3f4: Pull complete [2023-03-07T05:00:19.657Z] 22ff95d597cd: Pull complete [2023-03-07T05:00:19.657Z] 12d6caf4c0d1: Pull complete [2023-03-07T05:00:21.564Z] 96b7cbca73a9: Pull complete [2023-03-07T05:00:22.505Z] a7acece74701: Pull complete [2023-03-07T05:00:22.505Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-03-07T05:00:22.505Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-03-07T05:00:22.505Z] ---> db6d94c90886 [2023-03-07T05:00:22.505Z] Step 3/10 : ARG MAKE=make build [2023-03-07T05:00:26.811Z] Still waiting to schedule task [2023-03-07T05:00:26.811Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-8489’ is offline [2023-03-07T05:00:27.822Z] ---> Running in 54a1b2f66c39 [2023-03-07T05:00:27.822Z] Removing intermediate container 54a1b2f66c39 [2023-03-07T05:00:27.822Z] ---> e0fd6d9fbeec [2023-03-07T05:00:27.822Z] Step 4/10 : WORKDIR /device-sdk-go [2023-03-07T05:00:27.822Z] ---> Running in a57ae16f5c03 [2023-03-07T05:00:27.822Z] Removing intermediate container a57ae16f5c03 [2023-03-07T05:00:27.822Z] ---> 57ebd95e6c01 [2023-03-07T05:00:27.822Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-03-07T05:00:27.822Z] ---> Running in 2ff0432bfcde [2023-03-07T05:00:27.822Z] Removing intermediate container 2ff0432bfcde [2023-03-07T05:00:27.822Z] ---> 89ed566811f2 [2023-03-07T05:00:27.822Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-03-07T05:00:28.082Z] ---> Running in 82a2b9ab1b3f [2023-03-07T05:00:28.342Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-07T05:00:28.342Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-03-07T05:00:28.909Z] OK: 211 MiB in 51 packages [2023-03-07T05:00:29.168Z] Removing intermediate container 82a2b9ab1b3f [2023-03-07T05:00:29.168Z] ---> 3eef74057ec2 [2023-03-07T05:00:29.168Z] Step 7/10 : COPY go.mod vendor* ./ [2023-03-07T05:00:29.168Z] ---> 87df6a14238c [2023-03-07T05:00:29.168Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-07T05:00:29.168Z] ---> Running in 28464b0da525 [2023-03-07T05:01:01.372Z] Removing intermediate container 28464b0da525 [2023-03-07T05:01:01.372Z] ---> e9cb78d24c33 [2023-03-07T05:01:01.372Z] Step 9/10 : COPY . . [2023-03-07T05:01:01.372Z] ---> f55304f8d617 [2023-03-07T05:01:01.372Z] Step 10/10 : RUN ${MAKE} [2023-03-07T05:01:01.372Z] ---> Running in ddf5cdd22e2f [2023-03-07T05:01:01.372Z] noop [2023-03-07T05:01:01.372Z] Removing intermediate container ddf5cdd22e2f [2023-03-07T05:01:01.372Z] ---> f725a8c89ce1 [2023-03-07T05:01:01.372Z] Successfully built f725a8c89ce1 [2023-03-07T05:01:01.372Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-07T05:01:01.812Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-07T05:01:01.812Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-07T05:01:02.050Z] prd-ubuntu20.04-docker-8c-8g-8487 does not seem to be running inside a container [2023-03-07T05:01:02.080Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1364 -v /w/workspace/gexfoundry_device-sdk-go_PR-1364:/w/workspace/gexfoundry_device-sdk-go_PR-1364:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1364@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1364@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-07T05:01:02.421Z] $ docker top e6727d3dddacfd970687cb9e9726a59a0f90a26f63071bb6fd75e0ae2434d551 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-07T05:01:02.806Z] + go version [2023-03-07T05:01:02.807Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-03-07T05:01:02.835Z] $ docker stop --time=1 e6727d3dddacfd970687cb9e9726a59a0f90a26f63071bb6fd75e0ae2434d551 [2023-03-07T05:01:04.109Z] $ docker rm -f --volumes e6727d3dddacfd970687cb9e9726a59a0f90a26f63071bb6fd75e0ae2434d551 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-07T05:01:04.783Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-07T05:01:04.783Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-07T05:01:04.921Z] prd-ubuntu20.04-docker-8c-8g-8487 does not seem to be running inside a container [2023-03-07T05:01:04.948Z] $ 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-1364 -v /w/workspace/gexfoundry_device-sdk-go_PR-1364:/w/workspace/gexfoundry_device-sdk-go_PR-1364:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1364@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1364@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-07T05:01:05.312Z] $ docker top f92863c6c7062d1732e9d17b6c48e79bd7aac107d4297868157f931cbcc77779 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-07T05:01:05.703Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1364 [Pipeline] fileExists [Pipeline] sh [2023-03-07T05:01:06.069Z] + make test [2023-03-07T05:01:06.069Z] go test -race -coverprofile=coverage.out ./... [2023-03-07T05:01:12.638Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-03-07T05:01:27.677Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-03-07T05:01:27.677Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-03-07T05:01:27.677Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-03-07T05:01:27.677Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-03-07T05:01:27.677Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-03-07T05:01:27.677Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.071s coverage: 27.6% of statements [2023-03-07T05:01:27.677Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.063s coverage: 78.9% of statements [2023-03-07T05:01:27.677Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] [2023-03-07T05:01:27.677Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.116s coverage: 86.0% of statements [2023-03-07T05:01:27.677Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-03-07T05:01:27.677Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-03-07T05:01:27.677Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.118s coverage: 75.0% of statements [2023-03-07T05:01:27.677Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-03-07T05:01:29.580Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.072s coverage: 15.3% of statements [2023-03-07T05:01:29.580Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-03-07T05:01:29.580Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.117s coverage: 65.2% of statements [2023-03-07T05:01:29.580Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-03-07T05:01:29.580Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-03-07T05:01:29.580Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.753s coverage: 89.2% of statements [2023-03-07T05:01:29.580Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] [2023-03-07T05:01:29.580Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.068s coverage: 4.6% of statements [2023-03-07T05:01:29.580Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-03-07T05:01:47.679Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2023-03-07T05:01:47.679Z] GO111MODULE=on go vet ./... [2023-03-07T05:01:49.578Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-07T05:01:49.578Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-07T05:01:49.578Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-07T05:01:49.616Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-07T05:01:49.647Z] $ docker stop --time=1 f92863c6c7062d1732e9d17b6c48e79bd7aac107d4297868157f931cbcc77779 [2023-03-07T05:01:52.634Z] $ docker rm -f --volumes f92863c6c7062d1732e9d17b6c48e79bd7aac107d4297868157f931cbcc77779 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-07T05:01:53.286Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-07T05:01:53.371Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-03-07T05:01:53.981Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-07T05:01:54.295Z] + ls -al . [2023-03-07T05:01:54.295Z] total 280 [2023-03-07T05:01:54.295Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 7 05:01 . [2023-03-07T05:01:54.295Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 7 04:59 .. [2023-03-07T05:01:54.295Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 7 04:59 .dockerignore [2023-03-07T05:01:54.295Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 7 05:01 .git [2023-03-07T05:01:54.295Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 7 04:59 .github [2023-03-07T05:01:54.295Z] -rw-rw-r-- 1 jenkins jenkins 131 Mar 7 04:59 .gitignore [2023-03-07T05:01:54.295Z] -rw-rw-r-- 1 jenkins jenkins 42 Mar 7 04:59 .golangci.yml [2023-03-07T05:01:54.295Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 7 05:00 .semver [2023-03-07T05:01:54.295Z] -rw-rw-r-- 1 jenkins jenkins 31677 Mar 7 04:59 CHANGELOG.md [2023-03-07T05:01:54.295Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 7 04:59 GOVERNANCE.md [2023-03-07T05:01:54.295Z] -rw-rw-r-- 1 jenkins jenkins 885 Mar 7 04:59 Jenkinsfile [2023-03-07T05:01:54.295Z] -rw-rw-r-- 1 jenkins jenkins 11341 Mar 7 04:59 LICENSE [2023-03-07T05:01:54.295Z] -rw-rw-r-- 1 jenkins jenkins 1679 Mar 7 04:59 Makefile [2023-03-07T05:01:54.295Z] -rw-rw-r-- 1 jenkins jenkins 619 Mar 7 04:59 OWNERS.md [2023-03-07T05:01:54.295Z] -rw-rw-r-- 1 jenkins jenkins 4891 Mar 7 04:59 README.md [2023-03-07T05:01:54.295Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 7 05:00 VERSION [2023-03-07T05:01:54.295Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 7 04:59 bin [2023-03-07T05:01:54.295Z] -rw-r--r-- 1 jenkins jenkins 111243 Mar 7 05:01 coverage.out [2023-03-07T05:01:54.295Z] drwxrwxr-x 5 jenkins jenkins 4096 Mar 7 04:59 example [2023-03-07T05:01:54.295Z] -rw-rw-r-- 1 jenkins jenkins 3266 Mar 7 04:59 go.mod [2023-03-07T05:01:54.295Z] -rw-rw-r-- 1 jenkins jenkins 30840 Mar 7 04:59 go.sum [2023-03-07T05:01:54.295Z] drwxrwxr-x 13 jenkins jenkins 4096 Mar 7 04:59 internal [2023-03-07T05:01:54.295Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 7 04:59 openapi [2023-03-07T05:01:54.295Z] drwxrwxr-x 6 jenkins jenkins 4096 Mar 7 04:59 pkg [2023-03-07T05:01:54.295Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 7 04:59 snap [2023-03-07T05:01:54.295Z] -rw-rw-r-- 1 jenkins jenkins 222 Mar 7 04:59 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-07T05:01:54.686Z] + 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=6130d42fff1a7b5f5a72f8dfa85459fb0f299d3b --label arch=amd64 --label version=0.0.0 . [2023-03-07T05:01:54.686Z] Sending build context to Docker daemon 10.72MB [2023-03-07T05:01:54.686Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2023-03-07T05:01:54.686Z] Step 2/23 : FROM ${BASE} AS builder [2023-03-07T05:01:54.686Z] ---> f725a8c89ce1 [2023-03-07T05:01:54.686Z] Step 3/23 : ARG MAKE=make build [2023-03-07T05:01:54.944Z] ---> Running in 8a453eb5cb44 [2023-03-07T05:01:54.944Z] Removing intermediate container 8a453eb5cb44 [2023-03-07T05:01:54.944Z] ---> 99888e00d7b1 [2023-03-07T05:01:54.944Z] Step 4/23 : WORKDIR /device-sdk-go [2023-03-07T05:01:54.944Z] ---> Running in 778a0bf095a5 [2023-03-07T05:01:55.203Z] Removing intermediate container 778a0bf095a5 [2023-03-07T05:01:55.203Z] ---> f962de7dbe9e [2023-03-07T05:01:55.203Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-03-07T05:01:55.203Z] ---> Running in 78fee4aca52e [2023-03-07T05:01:55.203Z] Removing intermediate container 78fee4aca52e [2023-03-07T05:01:55.203Z] ---> 3a7a1f51d310 [2023-03-07T05:01:55.203Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-03-07T05:01:55.203Z] ---> Running in b5c065327204 [2023-03-07T05:01:55.462Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-07T05:01:55.721Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-03-07T05:01:55.979Z] OK: 211 MiB in 51 packages [2023-03-07T05:01:56.239Z] Removing intermediate container b5c065327204 [2023-03-07T05:01:56.239Z] ---> 616526e73b2a [2023-03-07T05:01:56.239Z] Step 7/23 : COPY go.mod vendor* ./ [2023-03-07T05:01:56.496Z] ---> bf3b0c3aa5ca [2023-03-07T05:01:56.496Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-07T05:01:56.496Z] ---> Running in 9d2cdfbc8ffb [2023-03-07T05:01:57.432Z] Removing intermediate container 9d2cdfbc8ffb [2023-03-07T05:01:57.432Z] ---> c47581ae2a0c [2023-03-07T05:01:57.432Z] Step 9/23 : COPY . . [2023-03-07T05:01:57.999Z] ---> 8e2f87826c3c [2023-03-07T05:01:57.999Z] Step 10/23 : RUN ${MAKE} [2023-03-07T05:01:57.999Z] ---> Running in 49400e3cb27b [2023-03-07T05:01:58.260Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-03-07T05:02:20.191Z] Removing intermediate container 49400e3cb27b [2023-03-07T05:02:20.191Z] ---> 92c61cfbe71e [2023-03-07T05:02:20.191Z] Step 11/23 : FROM alpine:3.16 [2023-03-07T05:02:20.191Z] 3.16: Pulling from library/alpine [2023-03-07T05:02:20.191Z] ef5531b6e74e: Pulling fs layer [2023-03-07T05:02:20.191Z] ef5531b6e74e: Verifying Checksum [2023-03-07T05:02:20.191Z] ef5531b6e74e: Download complete [2023-03-07T05:02:20.449Z] ef5531b6e74e: Pull complete [2023-03-07T05:02:20.449Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-03-07T05:02:20.449Z] Status: Downloaded newer image for alpine:3.16 [2023-03-07T05:02:20.449Z] ---> dfd21b5a31f5 [2023-03-07T05:02:20.449Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-03-07T05:02:20.449Z] ---> Running in 6fd512c9c0d7 [2023-03-07T05:02:20.449Z] Removing intermediate container 6fd512c9c0d7 [2023-03-07T05:02:20.449Z] ---> a837e2475a9a [2023-03-07T05:02:20.449Z] Step 13/23 : RUN apk add --update --no-cache [2023-03-07T05:02:20.449Z] ---> Running in 74a3d7aa9fbf [2023-03-07T05:02:20.708Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-07T05:02:20.967Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-03-07T05:02:21.225Z] OK: 6 MiB in 14 packages [2023-03-07T05:02:21.484Z] Removing intermediate container 74a3d7aa9fbf [2023-03-07T05:02:21.484Z] ---> 4a611807431c [2023-03-07T05:02:21.484Z] Step 14/23 : WORKDIR / [2023-03-07T05:02:21.484Z] ---> Running in 11ea5fb8605f [2023-03-07T05:02:21.742Z] Removing intermediate container 11ea5fb8605f [2023-03-07T05:02:21.742Z] ---> ce78c36bad2b [2023-03-07T05:02:21.742Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-03-07T05:02:21.742Z] ---> 21bd514fbe60 [2023-03-07T05:02:21.742Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-03-07T05:02:22.711Z] ---> 596d50de87bf [2023-03-07T05:02:22.711Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-03-07T05:02:22.711Z] ---> d59fa651d8c4 [2023-03-07T05:02:22.711Z] Step 18/23 : EXPOSE 59999 [2023-03-07T05:02:22.711Z] ---> Running in 9ec76af2564c [2023-03-07T05:02:22.969Z] Removing intermediate container 9ec76af2564c [2023-03-07T05:02:22.969Z] ---> efd62bc45ecc [2023-03-07T05:02:22.969Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-03-07T05:02:22.969Z] ---> Running in ff1f4cfc77cf [2023-03-07T05:02:22.969Z] Removing intermediate container ff1f4cfc77cf [2023-03-07T05:02:22.969Z] ---> ab9274b8e1fe [2023-03-07T05:02:22.969Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-03-07T05:02:22.969Z] ---> Running in a62801b44c1c [2023-03-07T05:02:22.969Z] Removing intermediate container a62801b44c1c [2023-03-07T05:02:22.969Z] ---> 8e2a6dc1bf06 [2023-03-07T05:02:22.969Z] Step 21/23 : LABEL arch=amd64 [2023-03-07T05:02:22.969Z] ---> Running in a35f5359ef7c [2023-03-07T05:02:23.228Z] Removing intermediate container a35f5359ef7c [2023-03-07T05:02:23.228Z] ---> 51b8311846a7 [2023-03-07T05:02:23.228Z] Step 22/23 : LABEL git_sha=6130d42fff1a7b5f5a72f8dfa85459fb0f299d3b [2023-03-07T05:02:23.228Z] ---> Running in 46c390d89e15 [2023-03-07T05:02:23.228Z] Removing intermediate container 46c390d89e15 [2023-03-07T05:02:23.228Z] ---> fb871584992b [2023-03-07T05:02:23.228Z] Step 23/23 : LABEL version=0.0.0 [2023-03-07T05:02:23.228Z] ---> Running in bf8b8a8b281e [2023-03-07T05:02:23.228Z] Removing intermediate container bf8b8a8b281e [2023-03-07T05:02:23.228Z] ---> a899204a9136 [2023-03-07T05:02:23.228Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-07T05:02:23.228Z] Successfully built a899204a9136 [2023-03-07T05:02:23.228Z] Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-07T05:02:24.074Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-07T05:02:24.074Z] [2023-03-07T05:02:24.074Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-07T05:02:24.460Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-07T05:02:24.460Z] latest: Pulling from edgex-lftools-log-publisher [2023-03-07T05:02:24.460Z] 5eb5b503b376: Pulling fs layer [2023-03-07T05:02:24.460Z] 5c69ac0246d0: Pulling fs layer [2023-03-07T05:02:24.460Z] ec43610c2a17: Pulling fs layer [2023-03-07T05:02:24.460Z] 3a2ae6a8a46f: Pulling fs layer [2023-03-07T05:02:24.460Z] 33b1e0a273af: Pulling fs layer [2023-03-07T05:02:24.460Z] 5d3b04190fa2: Pulling fs layer [2023-03-07T05:02:24.460Z] 2f39f015ded8: Pulling fs layer [2023-03-07T05:02:24.460Z] 33b1e0a273af: Waiting [2023-03-07T05:02:24.460Z] 2f39f015ded8: Waiting [2023-03-07T05:02:24.460Z] 3a2ae6a8a46f: Waiting [2023-03-07T05:02:24.460Z] 5d3b04190fa2: Waiting [2023-03-07T05:02:24.460Z] 5c69ac0246d0: Download complete [2023-03-07T05:02:24.460Z] 3a2ae6a8a46f: Verifying Checksum [2023-03-07T05:02:24.461Z] 3a2ae6a8a46f: Download complete [2023-03-07T05:02:24.722Z] 33b1e0a273af: Verifying Checksum [2023-03-07T05:02:24.722Z] 33b1e0a273af: Download complete [2023-03-07T05:02:24.722Z] 5d3b04190fa2: Download complete [2023-03-07T05:02:24.722Z] ec43610c2a17: Verifying Checksum [2023-03-07T05:02:24.722Z] ec43610c2a17: Download complete [2023-03-07T05:02:24.722Z] 5eb5b503b376: Verifying Checksum [2023-03-07T05:02:24.722Z] 5eb5b503b376: Download complete [2023-03-07T05:02:25.289Z] 2f39f015ded8: Verifying Checksum [2023-03-07T05:02:25.290Z] 2f39f015ded8: Download complete [2023-03-07T05:02:25.856Z] 5eb5b503b376: Pull complete [2023-03-07T05:02:26.114Z] 5c69ac0246d0: Pull complete [2023-03-07T05:02:26.374Z] ec43610c2a17: Pull complete [2023-03-07T05:02:26.636Z] 3a2ae6a8a46f: Pull complete [2023-03-07T05:02:26.896Z] 33b1e0a273af: Pull complete [2023-03-07T05:02:26.896Z] 5d3b04190fa2: Pull complete [2023-03-07T05:02:32.171Z] 2f39f015ded8: Pull complete [2023-03-07T05:02:32.171Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-03-07T05:02:32.171Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-07T05:02:32.171Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-07T05:02:32.392Z] prd-ubuntu20.04-docker-8c-8g-8487 does not seem to be running inside a container [2023-03-07T05:02:32.414Z] $ 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-1364 -v /w/workspace/gexfoundry_device-sdk-go_PR-1364:/w/workspace/gexfoundry_device-sdk-go_PR-1364:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1364@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1364@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-07T05:02:36.697Z] $ docker top d53e23c9dc85ead55901f93c61cd332221e1ab62a13df433d0ba868e7116eebe -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-07T05:02:37.133Z] ---> job-cost.sh [2023-03-07T05:02:37.133Z] lf-activate-venv: SKIPPING [2023-03-07T05:02:37.133Z] INFO: No Stack... [2023-03-07T05:02:37.391Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-07T05:02:37.650Z] INFO: Archiving Costs [Pipeline] sh [2023-03-07T05:02:37.960Z] + cut -d, -f6 [2023-03-07T05:02:37.960Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1364/archives/cost.csv [Pipeline] lock [2023-03-07T05:02:38.002Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1364-1-stack-cost] [2023-03-07T05:02:38.006Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1364-1-stack-cost] did not exist. Created. [2023-03-07T05:02:38.006Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1364-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-07T05:02:38.384Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-03-07T05:02:38.433Z] Stashed 1 file(s) [Pipeline] } [2023-03-07T05:02:38.460Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1364-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-07T05:02:38.529Z] $ docker stop --time=1 d53e23c9dc85ead55901f93c61cd332221e1ab62a13df433d0ba868e7116eebe [2023-03-07T05:02:39.671Z] $ docker rm -f --volumes d53e23c9dc85ead55901f93c61cd332221e1ab62a13df433d0ba868e7116eebe [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-07T05:03:05.926Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-8494 in /w/workspace/gexfoundry_device-sdk-go_PR-1364 [Pipeline] { [Pipeline] ws [2023-03-07T05:03:05.982Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2023-03-07T05:03:06.065Z] The recommended git tool is: git [2023-03-07T05:03:13.171Z] using credential edgex-jenkins-ssh [2023-03-07T05:03:13.192Z] Cloning the remote Git repository [2023-03-07T05:03:13.257Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-03-07T05:03:13.365Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2023-03-07T05:03:13.559Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-03-07T05:03:13.560Z] > git --version # timeout=10 [2023-03-07T05:03:13.588Z] > git --version # 'git version 2.25.1' [2023-03-07T05:03:13.591Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-07T05:03:13.664Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-07T05:03:15.510Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-03-07T05:03:15.538Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-07T05:03:17.509Z] Merging remotes/origin/main commit b4dcd90c517d60267da088e4e26fcccd6a523ed6 into PR head commit 6130d42fff1a7b5f5a72f8dfa85459fb0f299d3b [2023-03-07T05:03:16.712Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-03-07T05:03:16.768Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-03-07T05:03:16.769Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-07T05:03:16.791Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1364/head:refs/remotes/origin/PR-1364 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-03-07T05:03:17.534Z] > git config core.sparsecheckout # timeout=10 [2023-03-07T05:03:17.556Z] > git checkout -f 6130d42fff1a7b5f5a72f8dfa85459fb0f299d3b # timeout=10 [2023-03-07T05:03:17.748Z] > git remote # timeout=10 [2023-03-07T05:03:17.775Z] > git config --get remote.origin.url # timeout=10 [2023-03-07T05:03:17.886Z] Merge succeeded, producing 6130d42fff1a7b5f5a72f8dfa85459fb0f299d3b [2023-03-07T05:03:17.887Z] Checking out Revision 6130d42fff1a7b5f5a72f8dfa85459fb0f299d3b (PR-1364) [2023-03-07T05:03:18.608Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v3" [2023-03-07T05:03:18.682Z] > git --version # timeout=10 [2023-03-07T05:03:18.696Z] > git --version # 'git version 2.25.1' [2023-03-07T05:03:18.716Z] fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-07T05:03:17.800Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-07T05:03:17.816Z] > git merge b4dcd90c517d60267da088e4e26fcccd6a523ed6 # timeout=10 [2023-03-07T05:03:17.850Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-03-07T05:03:17.898Z] > git config core.sparsecheckout # timeout=10 [2023-03-07T05:03:17.916Z] > git checkout -f 6130d42fff1a7b5f5a72f8dfa85459fb0f299d3b # timeout=10 [2023-03-07T05:03:19.815Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-03-07T05:03:19.815Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-07T05:03:19.815Z] Dload Upload Total Spent Left Speed [2023-03-07T05:03:19.815Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 191k 0 --:--:-- --:--:-- --:--:-- 194k [Pipeline] sh [2023-03-07T05:03:20.487Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-03-07T05:03:20.876Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-03-07T05:03:20.876Z] + sudo tee /etc/docker/daemon.new [2023-03-07T05:03:20.876Z] { [2023-03-07T05:03:20.876Z] "registry-mirrors": [ [2023-03-07T05:03:20.876Z] "https://nexus3.edgexfoundry.org:10001" [2023-03-07T05:03:20.876Z] ], [2023-03-07T05:03:20.876Z] "bip": "10.250.0.254/24", [2023-03-07T05:03:20.876Z] "hosts": [ [2023-03-07T05:03:20.876Z] "tcp://0.0.0.0:5555", [2023-03-07T05:03:20.876Z] "unix:///var/run/docker.sock" [2023-03-07T05:03:20.876Z] ], [2023-03-07T05:03:20.876Z] "mtu": 1458, [2023-03-07T05:03:20.876Z] "selinux-enabled": true, [2023-03-07T05:03:20.876Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-03-07T05:03:20.876Z] } [Pipeline] sh [2023-03-07T05:03:21.233Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-03-07T05:03:21.588Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-07T05:03:43.809Z] provisioning config files... [2023-03-07T05:03:43.840Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config8775683060213440422tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-07T05:03:44.233Z] ---> docker-login.sh [2023-03-07T05:03:44.234Z] nexus3.edgexfoundry.org:10001 [2023-03-07T05:03:44.823Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-07T05:03:44.823Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-07T05:03:44.823Z] Configure a credential helper to remove this warning. See [2023-03-07T05:03:44.823Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-07T05:03:44.823Z] [2023-03-07T05:03:44.823Z] Login Succeeded [2023-03-07T05:03:44.823Z] nexus3.edgexfoundry.org:10002 [2023-03-07T05:03:45.093Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-07T05:03:45.365Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-07T05:03:45.365Z] Configure a credential helper to remove this warning. See [2023-03-07T05:03:45.365Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-07T05:03:45.365Z] [2023-03-07T05:03:45.365Z] Login Succeeded [2023-03-07T05:03:45.365Z] nexus3.edgexfoundry.org:10003 [2023-03-07T05:03:45.639Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-07T05:03:45.639Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-07T05:03:45.639Z] Configure a credential helper to remove this warning. See [2023-03-07T05:03:45.639Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-07T05:03:45.639Z] [2023-03-07T05:03:45.639Z] Login Succeeded [2023-03-07T05:03:45.639Z] nexus3.edgexfoundry.org:10004 [2023-03-07T05:03:45.912Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-07T05:03:46.215Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-07T05:03:46.215Z] Configure a credential helper to remove this warning. See [2023-03-07T05:03:46.215Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-07T05:03:46.215Z] [2023-03-07T05:03:46.215Z] Login Succeeded [2023-03-07T05:03:46.215Z] docker.io [2023-03-07T05:03:46.497Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-07T05:03:46.767Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-07T05:03:46.767Z] Configure a credential helper to remove this warning. See [2023-03-07T05:03:46.767Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-07T05:03:46.767Z] [2023-03-07T05:03:46.767Z] Login Succeeded [2023-03-07T05:03:46.767Z] ---> docker-login.sh ends [Pipeline] } [2023-03-07T05:03:46.791Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-07T05:03:47.202Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-07T05:03:47.235Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-07T05:03:47.266Z] ========================================================= [2023-03-07T05:03:47.266Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-03-07T05:03:47.266Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-07T05:03:47.770Z] + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-03-07T05:03:48.367Z] Sending build context to Docker daemon 5.702MB [2023-03-07T05:03:48.367Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-03-07T05:03:48.367Z] Step 2/10 : FROM ${BASE} AS builder [2023-03-07T05:03:48.367Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-03-07T05:03:48.367Z] 9b18e9b68314: Pulling fs layer [2023-03-07T05:03:48.367Z] 35d82f9e3411: Pulling fs layer [2023-03-07T05:03:48.367Z] e16973657156: Pulling fs layer [2023-03-07T05:03:48.367Z] fc693d55d65f: Pulling fs layer [2023-03-07T05:03:48.367Z] 7e9fc2657dce: Pulling fs layer [2023-03-07T05:03:48.367Z] dda99020689f: Pulling fs layer [2023-03-07T05:03:48.367Z] db1c61fa0a46: Pulling fs layer [2023-03-07T05:03:48.367Z] 891c053d2c06: Pulling fs layer [2023-03-07T05:03:48.367Z] 7e9fc2657dce: Waiting [2023-03-07T05:03:48.367Z] 891c053d2c06: Waiting [2023-03-07T05:03:48.367Z] dda99020689f: Waiting [2023-03-07T05:03:48.367Z] db1c61fa0a46: Waiting [2023-03-07T05:03:48.367Z] fc693d55d65f: Waiting [2023-03-07T05:03:48.367Z] e16973657156: Verifying Checksum [2023-03-07T05:03:48.367Z] e16973657156: Download complete [2023-03-07T05:03:48.367Z] 35d82f9e3411: Verifying Checksum [2023-03-07T05:03:48.367Z] 35d82f9e3411: Download complete [2023-03-07T05:03:48.642Z] 7e9fc2657dce: Verifying Checksum [2023-03-07T05:03:48.642Z] 7e9fc2657dce: Download complete [2023-03-07T05:03:48.642Z] dda99020689f: Verifying Checksum [2023-03-07T05:03:48.642Z] dda99020689f: Download complete [2023-03-07T05:03:48.642Z] 9b18e9b68314: Download complete [2023-03-07T05:03:49.720Z] 9b18e9b68314: Pull complete [2023-03-07T05:03:50.004Z] 891c053d2c06: Verifying Checksum [2023-03-07T05:03:50.004Z] 891c053d2c06: Download complete [2023-03-07T05:03:50.279Z] 35d82f9e3411: Pull complete [2023-03-07T05:03:50.880Z] e16973657156: Pull complete [2023-03-07T05:03:51.469Z] db1c61fa0a46: Verifying Checksum [2023-03-07T05:03:51.469Z] db1c61fa0a46: Download complete [2023-03-07T05:03:52.062Z] fc693d55d65f: Verifying Checksum [2023-03-07T05:03:52.062Z] fc693d55d65f: Download complete [2023-03-07T05:04:04.409Z] fc693d55d65f: Pull complete [2023-03-07T05:04:04.409Z] 7e9fc2657dce: Pull complete [2023-03-07T05:04:04.409Z] dda99020689f: Pull complete [2023-03-07T05:04:09.784Z] db1c61fa0a46: Pull complete [2023-03-07T05:04:11.739Z] 891c053d2c06: Pull complete [2023-03-07T05:04:11.739Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-03-07T05:04:11.739Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-03-07T05:04:11.739Z] ---> f96f9c87975a [2023-03-07T05:04:11.739Z] Step 3/10 : ARG MAKE=make build [2023-03-07T05:04:12.724Z] ---> Running in e9aad1527198 [2023-03-07T05:04:12.995Z] Removing intermediate container e9aad1527198 [2023-03-07T05:04:12.995Z] ---> c7df53b44d49 [2023-03-07T05:04:12.995Z] Step 4/10 : WORKDIR /device-sdk-go [2023-03-07T05:04:13.267Z] ---> Running in faebd72ab460 [2023-03-07T05:04:13.548Z] Removing intermediate container faebd72ab460 [2023-03-07T05:04:13.548Z] ---> 8648e1f2b7f2 [2023-03-07T05:04:13.548Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-03-07T05:04:13.548Z] ---> Running in 1b14cb0d048f [2023-03-07T05:04:14.143Z] Removing intermediate container 1b14cb0d048f [2023-03-07T05:04:14.143Z] ---> 841693540b75 [2023-03-07T05:04:14.143Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-03-07T05:04:14.143Z] ---> Running in 60d857c32413 [2023-03-07T05:04:15.566Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-07T05:04:15.838Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-03-07T05:04:16.811Z] OK: 221 MiB in 51 packages [2023-03-07T05:04:18.260Z] Removing intermediate container 60d857c32413 [2023-03-07T05:04:18.261Z] ---> 8c257aef9a85 [2023-03-07T05:04:18.261Z] Step 7/10 : COPY go.mod vendor* ./ [2023-03-07T05:04:18.535Z] ---> 7dbb572c3540 [2023-03-07T05:04:18.535Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-07T05:04:18.808Z] ---> Running in 32beb359b4c1 [2023-03-07T05:05:26.799Z] Removing intermediate container 32beb359b4c1 [2023-03-07T05:05:26.799Z] ---> 881ed3eeb040 [2023-03-07T05:05:26.799Z] Step 9/10 : COPY . . [2023-03-07T05:05:26.799Z] ---> 817fc3f787d9 [2023-03-07T05:05:26.799Z] Step 10/10 : RUN ${MAKE} [2023-03-07T05:05:26.799Z] ---> Running in cf8c58ba214d [2023-03-07T05:05:26.799Z] noop [2023-03-07T05:05:26.799Z] Removing intermediate container cf8c58ba214d [2023-03-07T05:05:26.799Z] ---> 9effb28a2f87 [2023-03-07T05:05:26.799Z] Successfully built 9effb28a2f87 [2023-03-07T05:05:26.799Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-07T05:05:27.288Z] + docker inspect -f . ci-base-image-arm64 [2023-03-07T05:05:27.288Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-07T05:05:27.581Z] prd-ubuntu20.04-docker-arm64-4c-16g-8494 does not seem to be running inside a container [2023-03-07T05:05:27.662Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-07T05:05:29.019Z] $ docker top 85c92335f9be2b7c2ab3fbf07c1f5610b46dfecad33c15c9d6f0b28b50631080 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-07T05:05:29.932Z] + go version [2023-03-07T05:05:29.932Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-03-07T05:05:29.969Z] $ docker stop --time=1 85c92335f9be2b7c2ab3fbf07c1f5610b46dfecad33c15c9d6f0b28b50631080 [2023-03-07T05:05:31.699Z] $ docker rm -f --volumes 85c92335f9be2b7c2ab3fbf07c1f5610b46dfecad33c15c9d6f0b28b50631080 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-07T05:05:32.579Z] + docker inspect -f . ci-base-image-arm64 [2023-03-07T05:05:32.579Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-07T05:05:32.854Z] prd-ubuntu20.04-docker-arm64-4c-16g-8494 does not seem to be running inside a container [2023-03-07T05:05:32.934Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-07T05:05:34.247Z] $ docker top 7f5a37a0728f39618e3c5107b13e9c473320b960ba60bfde0f06d77d17b63c30 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-07T05:05:35.166Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh [2023-03-07T05:05:35.880Z] + make test [2023-03-07T05:05:35.880Z] go test -race -coverprofile=coverage.out ./... [2023-03-07T05:06:22.759Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-03-07T05:08:59.587Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-03-07T05:08:59.587Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-03-07T05:08:59.587Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-03-07T05:08:59.587Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-03-07T05:08:59.587Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-03-07T05:09:03.866Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.325s coverage: 27.6% of statements [2023-03-07T05:09:04.460Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.410s coverage: 78.9% of statements [2023-03-07T05:09:04.460Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] [2023-03-07T05:09:09.845Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.453s coverage: 86.0% of statements [2023-03-07T05:09:09.845Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-03-07T05:09:09.845Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-03-07T05:09:12.455Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.791s coverage: 75.0% of statements [2023-03-07T05:09:12.455Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-03-07T05:09:12.455Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.327s coverage: 15.3% of statements [2023-03-07T05:09:12.455Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-03-07T05:09:13.052Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.585s coverage: 65.2% of statements [2023-03-07T05:09:13.052Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-03-07T05:09:13.052Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-03-07T05:09:18.437Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 3.208s coverage: 89.2% of statements [2023-03-07T05:09:18.438Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] [2023-03-07T05:09:18.438Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.304s coverage: 4.6% of statements [2023-03-07T05:09:18.438Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-03-07T05:09:18.711Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-03-07T05:09:18.711Z] GO111MODULE=on go vet ./... [2023-03-07T05:11:10.508Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-07T05:11:10.508Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-07T05:11:10.508Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-07T05:11:10.546Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-07T05:11:10.579Z] $ docker stop --time=1 7f5a37a0728f39618e3c5107b13e9c473320b960ba60bfde0f06d77d17b63c30 [2023-03-07T05:11:12.540Z] $ docker rm -f --volumes 7f5a37a0728f39618e3c5107b13e9c473320b960ba60bfde0f06d77d17b63c30 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-07T05:11:14.205Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-07T05:11:14.243Z] Warning: overwriting stash ‘coverage-report’ [2023-03-07T05:11:14.959Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-07T05:11:15.557Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-07T05:11:15.904Z] + ls -al . [2023-03-07T05:11:15.905Z] total 276 [2023-03-07T05:11:15.905Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 7 05:05 . [2023-03-07T05:11:15.905Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 7 05:03 .. [2023-03-07T05:11:15.905Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 7 05:03 .dockerignore [2023-03-07T05:11:15.905Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 7 05:03 .git [2023-03-07T05:11:15.905Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 7 05:03 .github [2023-03-07T05:11:15.905Z] -rw-rw-r-- 1 jenkins jenkins 131 Mar 7 05:03 .gitignore [2023-03-07T05:11:15.905Z] -rw-rw-r-- 1 jenkins jenkins 42 Mar 7 05:03 .golangci.yml [2023-03-07T05:11:15.905Z] -rw-rw-r-- 1 jenkins jenkins 31677 Mar 7 05:03 CHANGELOG.md [2023-03-07T05:11:15.905Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 7 05:03 GOVERNANCE.md [2023-03-07T05:11:15.905Z] -rw-rw-r-- 1 jenkins jenkins 885 Mar 7 05:03 Jenkinsfile [2023-03-07T05:11:15.905Z] -rw-rw-r-- 1 jenkins jenkins 11341 Mar 7 05:03 LICENSE [2023-03-07T05:11:15.905Z] -rw-rw-r-- 1 jenkins jenkins 1679 Mar 7 05:03 Makefile [2023-03-07T05:11:15.905Z] -rw-rw-r-- 1 jenkins jenkins 619 Mar 7 05:03 OWNERS.md [2023-03-07T05:11:15.905Z] -rw-rw-r-- 1 jenkins jenkins 4891 Mar 7 05:03 README.md [2023-03-07T05:11:15.905Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 7 05:00 VERSION [2023-03-07T05:11:15.905Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 7 05:03 bin [2023-03-07T05:11:15.905Z] -rw-r--r-- 1 jenkins jenkins 111243 Mar 7 05:09 coverage.out [2023-03-07T05:11:15.905Z] drwxrwxr-x 5 jenkins jenkins 4096 Mar 7 05:03 example [2023-03-07T05:11:15.905Z] -rw-rw-r-- 1 jenkins jenkins 3266 Mar 7 05:03 go.mod [2023-03-07T05:11:15.905Z] -rw-rw-r-- 1 jenkins jenkins 30840 Mar 7 05:03 go.sum [2023-03-07T05:11:15.905Z] drwxrwxr-x 13 jenkins jenkins 4096 Mar 7 05:03 internal [2023-03-07T05:11:15.905Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 7 05:03 openapi [2023-03-07T05:11:15.905Z] drwxrwxr-x 6 jenkins jenkins 4096 Mar 7 05:03 pkg [2023-03-07T05:11:15.905Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 7 05:03 snap [2023-03-07T05:11:15.905Z] -rw-rw-r-- 1 jenkins jenkins 222 Mar 7 05:03 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-07T05:11:16.331Z] + 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=6130d42fff1a7b5f5a72f8dfa85459fb0f299d3b --label arch=arm64 --label version=0.0.0 . [2023-03-07T05:11:16.921Z] Sending build context to Docker daemon 5.814MB [2023-03-07T05:11:16.921Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2023-03-07T05:11:16.921Z] Step 2/23 : FROM ${BASE} AS builder [2023-03-07T05:11:16.921Z] ---> 9effb28a2f87 [2023-03-07T05:11:16.921Z] Step 3/23 : ARG MAKE=make build [2023-03-07T05:11:17.194Z] ---> Running in bc185491bb42 [2023-03-07T05:11:17.467Z] Removing intermediate container bc185491bb42 [2023-03-07T05:11:17.467Z] ---> a5e19c271d5e [2023-03-07T05:11:17.467Z] Step 4/23 : WORKDIR /device-sdk-go [2023-03-07T05:11:17.738Z] ---> Running in 6d304d1c3b34 [2023-03-07T05:11:18.012Z] Removing intermediate container 6d304d1c3b34 [2023-03-07T05:11:18.012Z] ---> 89f2b0e7f22f [2023-03-07T05:11:18.012Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-03-07T05:11:18.283Z] ---> Running in 1431c07a3c43 [2023-03-07T05:11:18.559Z] Removing intermediate container 1431c07a3c43 [2023-03-07T05:11:18.559Z] ---> 1d9310b4c320 [2023-03-07T05:11:18.559Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-03-07T05:11:18.559Z] ---> Running in 882d9e621821 [2023-03-07T05:11:19.994Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-07T05:11:20.264Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-03-07T05:11:21.687Z] OK: 221 MiB in 51 packages [2023-03-07T05:11:22.654Z] Removing intermediate container 882d9e621821 [2023-03-07T05:11:22.654Z] ---> a9adea61336b [2023-03-07T05:11:22.654Z] Step 7/23 : COPY go.mod vendor* ./ [2023-03-07T05:11:23.247Z] ---> b05e612d9be8 [2023-03-07T05:11:23.247Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-07T05:11:23.247Z] ---> Running in 167bdda652ae [2023-03-07T05:11:26.625Z] Removing intermediate container 167bdda652ae [2023-03-07T05:11:26.625Z] ---> 1d7919fb9b92 [2023-03-07T05:11:26.625Z] Step 9/23 : COPY . . [2023-03-07T05:11:27.596Z] ---> 5bc8f93648e8 [2023-03-07T05:11:27.596Z] Step 10/23 : RUN ${MAKE} [2023-03-07T05:11:27.596Z] ---> Running in 5f15452f2664 [2023-03-07T05:11:30.962Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-03-07T05:13:52.799Z] Removing intermediate container 5f15452f2664 [2023-03-07T05:13:52.799Z] ---> a2a24948e18c [2023-03-07T05:13:52.799Z] Step 11/23 : FROM alpine:3.16 [2023-03-07T05:13:52.799Z] 3.16: Pulling from library/alpine [2023-03-07T05:13:52.799Z] 3760b48202b3: Pulling fs layer [2023-03-07T05:13:52.799Z] 3760b48202b3: Verifying Checksum [2023-03-07T05:13:52.799Z] 3760b48202b3: Download complete [2023-03-07T05:13:52.799Z] 3760b48202b3: Pull complete [2023-03-07T05:13:52.799Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-03-07T05:13:52.799Z] Status: Downloaded newer image for alpine:3.16 [2023-03-07T05:13:52.799Z] ---> 4c81e5bf8899 [2023-03-07T05:13:52.799Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-03-07T05:13:52.799Z] ---> Running in 8226c90f7a8a [2023-03-07T05:13:52.799Z] Removing intermediate container 8226c90f7a8a [2023-03-07T05:13:52.799Z] ---> 7af15b9d5c89 [2023-03-07T05:13:52.799Z] Step 13/23 : RUN apk add --update --no-cache [2023-03-07T05:13:52.799Z] ---> Running in c0e0bee99aea [2023-03-07T05:13:52.799Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-07T05:13:52.799Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-03-07T05:13:52.799Z] OK: 5 MiB in 14 packages [2023-03-07T05:13:53.405Z] Removing intermediate container c0e0bee99aea [2023-03-07T05:13:53.405Z] ---> c2f13fb31105 [2023-03-07T05:13:53.405Z] Step 14/23 : WORKDIR / [2023-03-07T05:13:53.405Z] ---> Running in 7370de5f9d48 [2023-03-07T05:13:53.679Z] Removing intermediate container 7370de5f9d48 [2023-03-07T05:13:53.679Z] ---> 2315f82451f0 [2023-03-07T05:13:53.679Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-03-07T05:13:54.279Z] ---> 51d0b59cfca5 [2023-03-07T05:13:54.279Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-03-07T05:13:55.698Z] ---> c150344cad1a [2023-03-07T05:13:55.698Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-03-07T05:13:56.282Z] ---> 398222f8a988 [2023-03-07T05:13:56.282Z] Step 18/23 : EXPOSE 59999 [2023-03-07T05:13:56.282Z] ---> Running in 15d4c30b8573 [2023-03-07T05:13:56.550Z] Removing intermediate container 15d4c30b8573 [2023-03-07T05:13:56.550Z] ---> 216c424c97c4 [2023-03-07T05:13:56.550Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-03-07T05:13:56.822Z] ---> Running in 60f21fe17236 [2023-03-07T05:13:57.091Z] Removing intermediate container 60f21fe17236 [2023-03-07T05:13:57.091Z] ---> f256a799a0ca [2023-03-07T05:13:57.091Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-03-07T05:13:57.091Z] ---> Running in 93d517de9720 [2023-03-07T05:13:57.361Z] Removing intermediate container 93d517de9720 [2023-03-07T05:13:57.361Z] ---> d95256dfd08f [2023-03-07T05:13:57.361Z] Step 21/23 : LABEL arch=arm64 [2023-03-07T05:13:57.361Z] ---> Running in dcbbe3ec779c [2023-03-07T05:13:57.947Z] Removing intermediate container dcbbe3ec779c [2023-03-07T05:13:57.947Z] ---> 9078036e7c52 [2023-03-07T05:13:57.947Z] Step 22/23 : LABEL git_sha=6130d42fff1a7b5f5a72f8dfa85459fb0f299d3b [2023-03-07T05:13:57.947Z] ---> Running in 9cb4023af260 [2023-03-07T05:13:58.216Z] Removing intermediate container 9cb4023af260 [2023-03-07T05:13:58.216Z] ---> 07855a14975d [2023-03-07T05:13:58.216Z] Step 23/23 : LABEL version=0.0.0 [2023-03-07T05:13:58.216Z] ---> Running in 1575846c899d [2023-03-07T05:13:58.801Z] Removing intermediate container 1575846c899d [2023-03-07T05:13:58.801Z] ---> 1befcfc315a2 [2023-03-07T05:13:58.801Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-07T05:13:58.801Z] Successfully built 1befcfc315a2 [2023-03-07T05:13:58.801Z] Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-07T05:13:59.584Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-07T05:13:59.584Z] [2023-03-07T05:13:59.584Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-07T05:13:59.986Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-07T05:13:59.986Z] arm64: Pulling from edgex-lftools-log-publisher [2023-03-07T05:13:59.986Z] 8998bd30e6a1: Pulling fs layer [2023-03-07T05:13:59.986Z] 04944245beec: Pulling fs layer [2023-03-07T05:13:59.986Z] 699f458cf7ca: Pulling fs layer [2023-03-07T05:13:59.986Z] 765212b225bb: Pulling fs layer [2023-03-07T05:13:59.986Z] f23df028b6ca: Pulling fs layer [2023-03-07T05:13:59.986Z] d65c8cfc05b1: Pulling fs layer [2023-03-07T05:13:59.986Z] 2437ff75d9bd: Pulling fs layer [2023-03-07T05:13:59.986Z] f23df028b6ca: Waiting [2023-03-07T05:13:59.986Z] d65c8cfc05b1: Waiting [2023-03-07T05:13:59.986Z] 2437ff75d9bd: Waiting [2023-03-07T05:13:59.986Z] 765212b225bb: Waiting [2023-03-07T05:14:00.255Z] 04944245beec: Verifying Checksum [2023-03-07T05:14:00.255Z] 04944245beec: Download complete [2023-03-07T05:14:00.255Z] 765212b225bb: Verifying Checksum [2023-03-07T05:14:00.255Z] 765212b225bb: Download complete [2023-03-07T05:14:00.255Z] f23df028b6ca: Verifying Checksum [2023-03-07T05:14:00.255Z] f23df028b6ca: Download complete [2023-03-07T05:14:00.255Z] d65c8cfc05b1: Verifying Checksum [2023-03-07T05:14:00.255Z] d65c8cfc05b1: Download complete [2023-03-07T05:14:00.523Z] 699f458cf7ca: Verifying Checksum [2023-03-07T05:14:00.523Z] 699f458cf7ca: Download complete [2023-03-07T05:14:00.794Z] 8998bd30e6a1: Verifying Checksum [2023-03-07T05:14:00.794Z] 8998bd30e6a1: Download complete [2023-03-07T05:14:03.380Z] 2437ff75d9bd: Verifying Checksum [2023-03-07T05:14:03.380Z] 2437ff75d9bd: Download complete [2023-03-07T05:14:04.788Z] 8998bd30e6a1: Pull complete [2023-03-07T05:14:05.055Z] 04944245beec: Pull complete [2023-03-07T05:14:06.461Z] 699f458cf7ca: Pull complete [2023-03-07T05:14:06.461Z] 765212b225bb: Pull complete [2023-03-07T05:14:07.422Z] f23df028b6ca: Pull complete [2023-03-07T05:14:07.422Z] d65c8cfc05b1: Pull complete [2023-03-07T05:14:22.405Z] 2437ff75d9bd: Pull complete [2023-03-07T05:14:22.405Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-03-07T05:14:22.405Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-07T05:14:22.405Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-07T05:14:22.729Z] prd-ubuntu20.04-docker-arm64-4c-16g-8494 does not seem to be running inside a container [2023-03-07T05:14:22.791Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-03-07T05:14:25.288Z] $ docker top 17f7abe87aa371a6672c02af0c82171836c6897f85a22ee3c35e93c2a68ded30 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-07T05:14:26.174Z] ---> job-cost.sh [2023-03-07T05:14:26.174Z] lf-activate-venv: SKIPPING [2023-03-07T05:14:26.174Z] INFO: No Stack... [2023-03-07T05:14:26.440Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-03-07T05:14:27.396Z] INFO: Archiving Costs [Pipeline] sh [2023-03-07T05:14:27.730Z] + + catcut /w/workspace/device-sdk-go/1/archives/cost.csv -d, [2023-03-07T05:14:27.731Z] -f6 [Pipeline] lock [2023-03-07T05:14:27.810Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1364-1-stack-cost] [2023-03-07T05:14:27.815Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1364-1-stack-cost] did not exist. Created. [2023-03-07T05:14:27.815Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1364-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-07T05:14:28.228Z] /w/workspace/device-sdk-go/1@tmp/durable-41bd62e7/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-03-07T05:14:28.575Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-03-07T05:14:28.607Z] Warning: overwriting stash ‘stack-cost’ [2023-03-07T05:14:28.667Z] Stashed 1 file(s) [Pipeline] } [2023-03-07T05:14:28.683Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1364-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-07T05:14:28.760Z] $ docker stop --time=1 17f7abe87aa371a6672c02af0c82171836c6897f85a22ee3c35e93c2a68ded30 [2023-03-07T05:14:30.195Z] $ docker rm -f --volumes 17f7abe87aa371a6672c02af0c82171836c6897f85a22ee3c35e93c2a68ded30 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2023-03-07T05:14:31.253Z] provisioning config files... [2023-03-07T05:14:31.259Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1364@tmp/config5480710767289320771tmp [Pipeline] { [Pipeline] sh [2023-03-07T05:14:31.601Z] + set +x [2023-03-07T05:14:31.601Z] + curl -s https://codecov.io/bash [2023-03-07T05:14:31.601Z] + bash -s -- [2023-03-07T05:14:31.601Z] [2023-03-07T05:14:31.601Z] _____ _ [2023-03-07T05:14:31.601Z] / ____| | | [2023-03-07T05:14:31.601Z] | | ___ __| | ___ ___ _____ __ [2023-03-07T05:14:31.601Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-03-07T05:14:31.601Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-03-07T05:14:31.601Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-03-07T05:14:31.601Z] Bash-1.0.6 [2023-03-07T05:14:31.601Z] [2023-03-07T05:14:31.601Z] [2023-03-07T05:14:31.601Z] ==> git version 2.25.1 found [2023-03-07T05:14:31.601Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2023-03-07T05:14:31.601Z] Release-Date: 2020-01-08 [2023-03-07T05:14:31.601Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-03-07T05:14:31.601Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-03-07T05:14:31.601Z] ==> Jenkins CI detected. [2023-03-07T05:14:31.601Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1364 [2023-03-07T05:14:31.601Z] project root: . [2023-03-07T05:14:31.601Z] --> token set from env [2023-03-07T05:14:31.601Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-03-07T05:14:31.601Z] ==> Running gcov in . (disable via -X gcov) [2023-03-07T05:14:31.601Z] ==> Python coveragepy not found [2023-03-07T05:14:31.601Z] ==> Searching for coverage reports in: [2023-03-07T05:14:31.601Z] + . [2023-03-07T05:14:31.601Z] -> Found 1 reports [2023-03-07T05:14:31.601Z] ==> Detecting git/mercurial file structure [2023-03-07T05:14:31.601Z] ==> Reading reports [2023-03-07T05:14:31.601Z] + ./coverage.out bytes=111243 [2023-03-07T05:14:31.601Z] ==> Appending adjustments [2023-03-07T05:14:31.601Z] https://docs.codecov.io/docs/fixing-reports [2023-03-07T05:14:31.860Z] + Found adjustments [2023-03-07T05:14:31.860Z] ==> Gzipping contents [2023-03-07T05:14:31.860Z] 16K /tmp/codecov.t3drGk.gz [2023-03-07T05:14:31.860Z] ==> Uploading reports [2023-03-07T05:14:31.860Z] url: https://codecov.io [2023-03-07T05:14:31.860Z] query: branch=PR-1364&commit=6130d42fff1a7b5f5a72f8dfa85459fb0f299d3b&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1364%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1364&job=&cmd_args= [2023-03-07T05:14:31.860Z] -> Pinging Codecov [2023-03-07T05:14:31.860Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1364&commit=6130d42fff1a7b5f5a72f8dfa85459fb0f299d3b&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1364%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1364&job=&cmd_args= [2023-03-07T05:14:32.119Z] -> Uploading to [2023-03-07T05:14:32.119Z] https://storage.googleapis.com/codecov/v4/raw/2023-03-07/7E55EF52A471D76F132DFD9A03CDDE97/6130d42fff1a7b5f5a72f8dfa85459fb0f299d3b/7ed64fa4-ccd9-44d1-9aca-b1e1e4216709.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230307%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230307T051431Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=148d8fe23a199e25c2adde1e6d77665804ac281f015d6c0f03ccd09d95d75f50 [2023-03-07T05:14:32.119Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-07T05:14:32.119Z] Dload Upload Total Spent Left Speed [2023-03-07T05:14:32.378Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 15407 0 0 100 15407 0 76272 --:--:-- --:--:-- --:--:-- 75896 100 15407 0 0 100 15407 0 55620 --:--:-- --:--:-- --:--:-- 55620 [2023-03-07T05:14:32.378Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/6130d42fff1a7b5f5a72f8dfa85459fb0f299d3b [Pipeline] } [2023-03-07T05:14:32.403Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-03-07T05:14:34.102Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1364/archives ] [2023-03-07T05:14:34.102Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1364/archives [2023-03-07T05:14:34.102Z] total 16 [2023-03-07T05:14:34.102Z] drwxr-xr-x 3 root root 4096 Mar 7 05:02 . [2023-03-07T05:14:34.102Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 7 05:02 .. [2023-03-07T05:14:34.102Z] drwxr-xr-x 2 root root 4096 Mar 7 05:02 cost [2023-03-07T05:14:34.102Z] -rw-r--r-- 1 root root 86 Mar 7 05:02 cost.csv [2023-03-07T05:14:34.102Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1364/archives [2023-03-07T05:14:34.102Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1364/archives [2023-03-07T05:14:34.102Z] total 16 [2023-03-07T05:14:34.102Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 7 05:02 . [2023-03-07T05:14:34.102Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 7 05:02 .. [2023-03-07T05:14:34.102Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 7 05:02 cost [2023-03-07T05:14:34.102Z] -rw-r--r-- 1 jenkins jenkins 86 Mar 7 05:02 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-03-07T05:14:34.427Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-07T05:14:35.318Z] ---> package-listing.sh [2023-03-07T05:14:35.318Z] ++ facter osfamily [2023-03-07T05:14:35.318Z] ++ tr '[:upper:]' '[:lower:]' [2023-03-07T05:14:35.576Z] + OS_FAMILY=debian [2023-03-07T05:14:35.576Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1364 [2023-03-07T05:14:35.576Z] + START_PACKAGES=/tmp/packages_start.txt [2023-03-07T05:14:35.576Z] + END_PACKAGES=/tmp/packages_end.txt [2023-03-07T05:14:35.576Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-03-07T05:14:35.576Z] + PACKAGES=/tmp/packages_start.txt [2023-03-07T05:14:35.576Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1364 ']' [2023-03-07T05:14:35.576Z] + PACKAGES=/tmp/packages_end.txt [2023-03-07T05:14:35.576Z] + case "${OS_FAMILY}" in [2023-03-07T05:14:35.576Z] + dpkg -l [2023-03-07T05:14:35.576Z] + grep '^ii' [2023-03-07T05:14:35.576Z] + '[' -f /tmp/packages_start.txt ']' [2023-03-07T05:14:35.576Z] + '[' -f /tmp/packages_end.txt ']' [2023-03-07T05:14:35.576Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-03-07T05:14:35.576Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1364 ']' [2023-03-07T05:14:35.576Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1364/archives/ [2023-03-07T05:14:35.576Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1364/archives/ [Pipeline] echo [2023-03-07T05:14:35.608Z] 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-1364/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-03-07T05:14:35.898Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-07T05:14:36.521Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-07T05:14:36.521Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-07T05:14:36.663Z] prd-ubuntu20.04-docker-8c-8g-8487 does not seem to be running inside a container [2023-03-07T05:14:36.685Z] $ 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-1364/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-1364 -v /w/workspace/gexfoundry_device-sdk-go_PR-1364:/w/workspace/gexfoundry_device-sdk-go_PR-1364:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1364@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1364@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-07T05:14:36.886Z] $ docker top 13f83a498645ac4d9c4dc23aebc43993f9726daabfe5ce8dd7e44ba0da1c59ff -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-07T05:14:37.278Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-03-07T05:14:37.592Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-03-07T05:14:37.900Z] + ls /var/log/sa-host [2023-03-07T05:14:37.900Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-07T05:14:38.032Z] provisioning config files... [2023-03-07T05:14:38.040Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1364@tmp/config4190540422033853417tmp [Pipeline] { [Pipeline] echo [2023-03-07T05:14:38.099Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-07T05:14:38.407Z] ---> create-netrc.sh [Pipeline] } [2023-03-07T05:14:38.434Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-03-07T05:14:38.839Z] ---> python-tools-install.sh [Pipeline] echo [2023-03-07T05:14:38.870Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-07T05:14:39.176Z] ---> sudo-logs.sh [2023-03-07T05:14:39.176Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-03-07T05:14:39.254Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-07T05:14:39.564Z] ---> job-cost.sh [2023-03-07T05:14:39.564Z] lf-activate-venv: SKIPPING [2023-03-07T05:14:39.564Z] DEBUG: total: 0.2199999988079071 [2023-03-07T05:14:39.564Z] INFO: Retrieving Stack Cost... [2023-03-07T05:14:39.822Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-07T05:14:40.390Z] INFO: Archiving Costs [Pipeline] echo [2023-03-07T05:14:40.424Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-07T05:14:40.736Z] ---> logs-deploy.sh [2023-03-07T05:14:40.736Z] lf-activate-venv: SKIPPING [2023-03-07T05:14:40.736Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1364/1 [2023-03-07T05:14:40.736Z] INFO: archiving workspace using pattern(s): [2023-03-07T05:14:41.675Z] Archives upload complete. [2023-03-07T05:14:41.934Z] INFO: archiving logs to Nexus