Pull request #1462 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from d8a8920d452ff20029c4225f8b1af9d3e8c170f9+c046c07be681eb47061b9e73bdc74da4165eb351 (9922a0ed6f4e5850870b20f20cf68a72f8bd58d0) 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-ssh4727487197504376925.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-ssh11350481765494861236.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 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-1462/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-1462/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4232436409814318441.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-1462/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh977397609711258344.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 4fc256d9079ed2258907e613f84b1b8da264a4bd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 4fc256d9079ed2258907e613f84b1b8da264a4bd # timeout=10 Commit message: "Merge pull request #430 from ernestojeda/release-lock" > 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-ssh7470612163070193071.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-1462/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-1462/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh4075382724290710884.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 4fc256d9079ed2258907e613f84b1b8da264a4bd Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v3]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-16608’ Running on prd-ubuntu20.04-docker-8c-8g-16611 in /w/workspace/gexfoundry_device-sdk-go_PR-1462 [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-1462 # 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/1462/head:refs/remotes/origin/PR-1462 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit c046c07be681eb47061b9e73bdc74da4165eb351 into PR head commit d8a8920d452ff20029c4225f8b1af9d3e8c170f9 Merge succeeded, producing d8a8920d452ff20029c4225f8b1af9d3e8c170f9 Checking out Revision d8a8920d452ff20029c4225f8b1af9d3e8c170f9 (PR-1462) Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 4fc256d9079ed2258907e613f84b1b8da264a4bd [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-05-23T23:20:40.495Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage > git config core.sparsecheckout # timeout=10 > git checkout -f d8a8920d452ff20029c4225f8b1af9d3e8c170f9 # 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 c046c07be681eb47061b9e73bdc74da4165eb351 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d8a8920d452ff20029c4225f8b1af9d3e8c170f9 # timeout=10 [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-05-23T23:20:40.685Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-05-23T23:20:40.782Z] ========================================================= [2023-05-23T23:20:40.782Z] EdgeX Global Pipelines Version Info [2023-05-23T23:20:40.782Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-05-23T23:20:41.513Z] ------------------- [2023-05-23T23:20:41.513Z] stable info: [2023-05-23T23:20:41.513Z] ------------------- [2023-05-23T23:20:41.513Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-05-23T23:20:41.513Z] Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd [2023-05-23T23:20:41.513Z] Message: update stable to v1.0.249 [2023-05-23T23:20:42.084Z] ------------------- [2023-05-23T23:20:42.084Z] experimental info: [2023-05-23T23:20:42.084Z] ------------------- [2023-05-23T23:20:42.084Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-05-23T23:20:42.084Z] Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd [2023-05-23T23:20:42.084Z] Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-05-23T23:20:42.413Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-05-23T23:20:42.454Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-05-23T23:20:42.495Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-05-23T23:20:42.542Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-05-23T23:20:42.583Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-05-23T23:20:42.625Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-05-23T23:20:42.669Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-05-23T23:20:42.712Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-05-23T23:20:42.750Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-05-23T23:20:42.792Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-05-23T23:20:42.829Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-05-23T23:20:42.866Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-05-23T23:20:42.911Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-05-23T23:20:42.954Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-05-23T23:20:42.997Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-05-23T23:20:43.040Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-05-23T23:20:43.087Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-05-23T23:20:43.138Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-05-23T23:20:43.191Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-05-23T23:20:43.234Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-05-23T23:20:43.283Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-05-23T23:20:43.327Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2023-05-23T23:20:43.371Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-05-23T23:20:43.414Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-05-23T23:20:43.457Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-05-23T23:20:43.500Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-05-23T23:20:43.546Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-05-23T23:20:43.591Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1462 [Pipeline] echo [2023-05-23T23:20:43.634Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1462 [Pipeline] echo [2023-05-23T23:20:43.673Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1462 [Pipeline] echo [2023-05-23T23:20:43.724Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d8a8920d452ff20029c4225f8b1af9d3e8c170f9 [Pipeline] echo [2023-05-23T23:20:43.766Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d8a8920 [Pipeline] echo [2023-05-23T23:20:43.812Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-23T23:20:43.928Z] provisioning config files... [2023-05-23T23:20:43.944Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1462@tmp/config12604031487069484339tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-23T23:20:44.286Z] ---> docker-login.sh [2023-05-23T23:20:44.286Z] nexus3.edgexfoundry.org:10001 [2023-05-23T23:20:44.548Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-23T23:20:44.548Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-23T23:20:44.548Z] Configure a credential helper to remove this warning. See [2023-05-23T23:20:44.548Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-23T23:20:44.548Z] [2023-05-23T23:20:44.548Z] Login Succeeded [2023-05-23T23:20:44.548Z] nexus3.edgexfoundry.org:10002 [2023-05-23T23:20:44.548Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-23T23:20:44.548Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-23T23:20:44.548Z] Configure a credential helper to remove this warning. See [2023-05-23T23:20:44.548Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-23T23:20:44.548Z] [2023-05-23T23:20:44.548Z] Login Succeeded [2023-05-23T23:20:44.548Z] nexus3.edgexfoundry.org:10003 [2023-05-23T23:20:44.812Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-23T23:20:44.812Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-23T23:20:44.812Z] Configure a credential helper to remove this warning. See [2023-05-23T23:20:44.812Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-23T23:20:44.812Z] [2023-05-23T23:20:44.812Z] Login Succeeded [2023-05-23T23:20:44.812Z] nexus3.edgexfoundry.org:10004 [2023-05-23T23:20:44.812Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-23T23:20:44.812Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-23T23:20:44.812Z] Configure a credential helper to remove this warning. See [2023-05-23T23:20:44.812Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-23T23:20:44.812Z] [2023-05-23T23:20:44.812Z] Login Succeeded [2023-05-23T23:20:44.812Z] docker.io [2023-05-23T23:20:45.072Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-23T23:20:45.072Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-23T23:20:45.072Z] Configure a credential helper to remove this warning. See [2023-05-23T23:20:45.072Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-23T23:20:45.072Z] [2023-05-23T23:20:45.072Z] Login Succeeded [2023-05-23T23:20:45.072Z] ---> docker-login.sh ends [Pipeline] } [2023-05-23T23:20:45.097Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-05-23T23:20:45.785Z] + git rev-list -1 --merges d8a8920d452ff20029c4225f8b1af9d3e8c170f9~1..d8a8920d452ff20029c4225f8b1af9d3e8c170f9 [Pipeline] echo [2023-05-23T23:20:45.855Z] -----------> git rev-list -1 --merges d8a8920d452ff20029c4225f8b1af9d3e8c170f9~1..d8a8920d452ff20029c4225f8b1af9d3e8c170f9 d8a8920d452ff20029c4225f8b1af9d3e8c170f9 [false] [Pipeline] sh [2023-05-23T23:20:46.161Z] + git log --format=format:%s -1 d8a8920d452ff20029c4225f8b1af9d3e8c170f9 [Pipeline] echo [2023-05-23T23:20:46.193Z] ========================================================= [2023-05-23T23:20:46.193Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-05-23T23:20:46.193Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-23T23:20:46.618Z] + git log --format=format:%s -1 d8a8920d452ff20029c4225f8b1af9d3e8c170f9 [Pipeline] echo [2023-05-23T23:20:46.650Z] [semverPrep] GIT_COMMIT: d8a8920d452ff20029c4225f8b1af9d3e8c170f9, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3 [Pipeline] echo [2023-05-23T23:20:46.679Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-05-23T23:20:47.066Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-05-23T23:20:47.066Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-05-23T23:20:47.066Z] + [ -e /tmp/ssh_known_hosts ] [2023-05-23T23:20:47.066Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-05-23T23:20:47.066Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-05-23T23:20:47.066Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-05-23T23:20:47.066Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-23T23:20:47.496Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-23T23:20:47.496Z] [2023-05-23T23:20:47.496Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-23T23:20:47.866Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-23T23:20:47.867Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-05-23T23:20:47.867Z] b85a868b505f: Pulling fs layer [2023-05-23T23:20:47.867Z] e2be974225ed: Pulling fs layer [2023-05-23T23:20:47.867Z] 339a4e72a1f5: Pulling fs layer [2023-05-23T23:20:47.867Z] 988bab9f4d93: Pulling fs layer [2023-05-23T23:20:47.867Z] 1469e6f7b9e6: Pulling fs layer [2023-05-23T23:20:47.867Z] eaf3925da568: Pulling fs layer [2023-05-23T23:20:47.867Z] bab4dde63d76: Pulling fs layer [2023-05-23T23:20:47.867Z] bde34c3a00c8: Pulling fs layer [2023-05-23T23:20:47.867Z] b352a97aabf1: Pulling fs layer [2023-05-23T23:20:47.867Z] 4872d77fe225: Pulling fs layer [2023-05-23T23:20:47.867Z] 5851b861e8e6: Pulling fs layer [2023-05-23T23:20:47.867Z] 988bab9f4d93: Waiting [2023-05-23T23:20:47.867Z] 1469e6f7b9e6: Waiting [2023-05-23T23:20:47.867Z] b352a97aabf1: Waiting [2023-05-23T23:20:47.867Z] 5851b861e8e6: Waiting [2023-05-23T23:20:47.867Z] eaf3925da568: Waiting [2023-05-23T23:20:47.867Z] bab4dde63d76: Waiting [2023-05-23T23:20:47.867Z] bde34c3a00c8: Waiting [2023-05-23T23:20:47.867Z] 4872d77fe225: Waiting [2023-05-23T23:20:47.867Z] e2be974225ed: Download complete [2023-05-23T23:20:47.867Z] 988bab9f4d93: Download complete [2023-05-23T23:20:48.133Z] 1469e6f7b9e6: Verifying Checksum [2023-05-23T23:20:48.133Z] 1469e6f7b9e6: Download complete [2023-05-23T23:20:48.133Z] eaf3925da568: Verifying Checksum [2023-05-23T23:20:48.133Z] eaf3925da568: Download complete [2023-05-23T23:20:48.133Z] 339a4e72a1f5: Verifying Checksum [2023-05-23T23:20:48.133Z] 339a4e72a1f5: Download complete [2023-05-23T23:20:48.133Z] bde34c3a00c8: Download complete [2023-05-23T23:20:48.133Z] b352a97aabf1: Download complete [2023-05-23T23:20:48.133Z] 4872d77fe225: Verifying Checksum [2023-05-23T23:20:48.133Z] 4872d77fe225: Download complete [2023-05-23T23:20:48.133Z] 5851b861e8e6: Verifying Checksum [2023-05-23T23:20:48.133Z] 5851b861e8e6: Download complete [2023-05-23T23:20:48.133Z] b85a868b505f: Download complete [2023-05-23T23:20:48.403Z] bab4dde63d76: Verifying Checksum [2023-05-23T23:20:48.404Z] bab4dde63d76: Download complete [2023-05-23T23:20:49.343Z] b85a868b505f: Pull complete [2023-05-23T23:20:49.602Z] e2be974225ed: Pull complete [2023-05-23T23:20:50.182Z] 339a4e72a1f5: Pull complete [2023-05-23T23:20:50.182Z] 988bab9f4d93: Pull complete [2023-05-23T23:20:50.444Z] 1469e6f7b9e6: Pull complete [2023-05-23T23:20:50.444Z] eaf3925da568: Pull complete [2023-05-23T23:20:52.350Z] bab4dde63d76: Pull complete [2023-05-23T23:20:52.350Z] bde34c3a00c8: Pull complete [2023-05-23T23:20:52.350Z] b352a97aabf1: Pull complete [2023-05-23T23:20:52.610Z] 4872d77fe225: Pull complete [2023-05-23T23:20:52.610Z] 5851b861e8e6: Pull complete [2023-05-23T23:20:52.610Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-05-23T23:20:52.610Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-23T23:20:52.610Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-23T23:20:52.847Z] prd-ubuntu20.04-docker-8c-8g-16611 does not seem to be running inside a container [2023-05-23T23:20:52.892Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1462 -v /w/workspace/gexfoundry_device-sdk-go_PR-1462:/w/workspace/gexfoundry_device-sdk-go_PR-1462:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1462@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1462@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-05-23T23:20:54.071Z] $ docker top 6af9b106c83a5a302a6d6232e7ec62a8370d10f8a1e62c795c271a53a1d4673b -eo pid,comm [2023-05-23T23:20:54.123Z] 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-05-23T23:20:54.123Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-05-23T23:20:54.253Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-23T23:20:54.253Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-23T23:20:54.362Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-23T23:20:54.373Z] $ docker exec 6af9b106c83a5a302a6d6232e7ec62a8370d10f8a1e62c795c271a53a1d4673b ssh-agent [2023-05-23T23:20:54.476Z] SSH_AUTH_SOCK=/tmp/ssh-9GSHkjYryEKv/agent.33 [2023-05-23T23:20:54.476Z] SSH_AGENT_PID=39 [2023-05-23T23:20:54.482Z] Running ssh-add (command line suppressed) [2023-05-23T23:20:54.583Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1462@tmp/private_key_13890626557418544648.key (/w/workspace/gexfoundry_device-sdk-go_PR-1462@tmp/private_key_13890626557418544648.key) [2023-05-23T23:20:54.590Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-23T23:20:54.918Z] + git tag --points-at HEAD [Pipeline] } [2023-05-23T23:20:54.951Z] $ docker exec --env ******** --env ******** 6af9b106c83a5a302a6d6232e7ec62a8370d10f8a1e62c795c271a53a1d4673b ssh-agent -k [2023-05-23T23:20:55.046Z] unset SSH_AUTH_SOCK; [2023-05-23T23:20:55.046Z] unset SSH_AGENT_PID; [2023-05-23T23:20:55.046Z] echo Agent pid 39 killed; [2023-05-23T23:20:55.049Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-05-23T23:20:55.128Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-23T23:20:55.129Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-23T23:20:55.243Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-23T23:20:55.252Z] $ docker exec 6af9b106c83a5a302a6d6232e7ec62a8370d10f8a1e62c795c271a53a1d4673b ssh-agent [2023-05-23T23:20:55.356Z] SSH_AUTH_SOCK=/tmp/ssh-tquznfNMe9lr/agent.71 [2023-05-23T23:20:55.356Z] SSH_AGENT_PID=77 [2023-05-23T23:20:55.360Z] Running ssh-add (command line suppressed) [2023-05-23T23:20:55.476Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1462@tmp/private_key_8858738519404687274.key (/w/workspace/gexfoundry_device-sdk-go_PR-1462@tmp/private_key_8858738519404687274.key) [2023-05-23T23:20:55.483Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-23T23:20:55.813Z] + git semver init [2023-05-23T23:20:56.072Z] 2023-05-23 23:20:56,007 [run_init] DEBUG init version:0.0.0 force:False [2023-05-23T23:20:56.072Z] 2023-05-23 23:20:56,007 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1462/.semver [2023-05-23T23:20:56.072Z] 2023-05-23 23:20:56,008 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1462/.semver [2023-05-23T23:20:56.072Z] 2023-05-23 23:20:56,008 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1462/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1462, universal_newlines=False, shell=None, istream=None) [2023-05-23T23:20:57.010Z] 2023-05-23 23:20:56,830 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1462/.git/info/exclude [2023-05-23T23:20:57.010Z] 2023-05-23 23:20:56,831 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1462/.semver/PR-1462 with force:False [2023-05-23T23:20:57.010Z] 2023-05-23 23:20:56,831 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1462/.semver/PR-1462 [2023-05-23T23:20:57.010Z] 2023-05-23 23:20:56,833 [execute] INFO git cat-file --batch-check [2023-05-23T23:20:57.010Z] 2023-05-23 23:20:56,833 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1462/.semver, universal_newlines=False, shell=None, istream=) [2023-05-23T23:20:57.010Z] 2023-05-23 23:20:56,839 [execute] INFO git cat-file --batch [2023-05-23T23:20:57.010Z] 2023-05-23 23:20:56,840 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1462/.semver, universal_newlines=False, shell=None, istream=) [2023-05-23T23:20:57.010Z] 2023-05-23 23:20:56,845 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1462/.semver/PR-1462 [2023-05-23T23:20:57.010Z] 0.0.0 [Pipeline] } [2023-05-23T23:20:57.040Z] $ docker exec --env ******** --env ******** 6af9b106c83a5a302a6d6232e7ec62a8370d10f8a1e62c795c271a53a1d4673b ssh-agent -k [2023-05-23T23:20:57.128Z] unset SSH_AUTH_SOCK; [2023-05-23T23:20:57.129Z] unset SSH_AGENT_PID; [2023-05-23T23:20:57.129Z] echo Agent pid 77 killed; [2023-05-23T23:20:57.130Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-05-23T23:20:57.571Z] + git semver [Pipeline] } [2023-05-23T23:20:57.867Z] $ docker stop --time=1 6af9b106c83a5a302a6d6232e7ec62a8370d10f8a1e62c795c271a53a1d4673b [2023-05-23T23:20:59.152Z] $ docker rm -f --volumes 6af9b106c83a5a302a6d6232e7ec62a8370d10f8a1e62c795c271a53a1d4673b [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-23T23:20:59.554Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-05-23T23:20:59.849Z] Stashed 1 file(s) [Pipeline] echo [2023-05-23T23:20:59.868Z] [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-05-23T23:21:00.458Z] provisioning config files... [2023-05-23T23:21:00.469Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1462@tmp/config14140426883670331133tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-23T23:21:00.814Z] ---> docker-login.sh [2023-05-23T23:21:00.814Z] nexus3.edgexfoundry.org:10001 [2023-05-23T23:21:00.815Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-23T23:21:00.815Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-23T23:21:00.815Z] Configure a credential helper to remove this warning. See [2023-05-23T23:21:00.815Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-23T23:21:00.815Z] [2023-05-23T23:21:00.815Z] Login Succeeded [2023-05-23T23:21:00.815Z] nexus3.edgexfoundry.org:10002 [2023-05-23T23:21:00.815Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-23T23:21:00.815Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-23T23:21:00.815Z] Configure a credential helper to remove this warning. See [2023-05-23T23:21:00.815Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-23T23:21:00.815Z] [2023-05-23T23:21:00.815Z] Login Succeeded [2023-05-23T23:21:00.815Z] nexus3.edgexfoundry.org:10003 [2023-05-23T23:21:01.076Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-23T23:21:01.076Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-23T23:21:01.076Z] Configure a credential helper to remove this warning. See [2023-05-23T23:21:01.076Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-23T23:21:01.076Z] [2023-05-23T23:21:01.076Z] Login Succeeded [2023-05-23T23:21:01.076Z] nexus3.edgexfoundry.org:10004 [2023-05-23T23:21:01.076Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-23T23:21:01.076Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-23T23:21:01.076Z] Configure a credential helper to remove this warning. See [2023-05-23T23:21:01.076Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-23T23:21:01.076Z] [2023-05-23T23:21:01.076Z] Login Succeeded [2023-05-23T23:21:01.076Z] docker.io [2023-05-23T23:21:01.336Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-23T23:21:01.336Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-23T23:21:01.336Z] Configure a credential helper to remove this warning. See [2023-05-23T23:21:01.336Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-23T23:21:01.336Z] [2023-05-23T23:21:01.336Z] Login Succeeded [2023-05-23T23:21:01.336Z] ---> docker-login.sh ends [Pipeline] } [2023-05-23T23:21:01.366Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-05-23T23:21:01.555Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-23T23:21:01.592Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-23T23:21:01.629Z] ========================================================= [2023-05-23T23:21:01.629Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-05-23T23:21:01.629Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-23T23:21:02.092Z] + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-05-23T23:21:02.093Z] Sending build context to Docker daemon 11.17MB [2023-05-23T23:21:02.093Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-05-23T23:21:02.093Z] Step 2/10 : FROM ${BASE} AS builder [2023-05-23T23:21:02.093Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-05-23T23:21:02.093Z] f56be85fc22e: Pulling fs layer [2023-05-23T23:21:02.093Z] 85791d961cd3: Pulling fs layer [2023-05-23T23:21:02.093Z] d694b5ae8c79: Pulling fs layer [2023-05-23T23:21:02.093Z] 9f32a84ed3da: Pulling fs layer [2023-05-23T23:21:02.093Z] 4d19c01a9841: Pulling fs layer [2023-05-23T23:21:02.093Z] 9325e15d5711: Pulling fs layer [2023-05-23T23:21:02.093Z] 9f32a84ed3da: Waiting [2023-05-23T23:21:02.093Z] 4d19c01a9841: Waiting [2023-05-23T23:21:02.093Z] 556b6ee489ea: Pulling fs layer [2023-05-23T23:21:02.093Z] c5a4b2cf53e6: Pulling fs layer [2023-05-23T23:21:02.093Z] 556b6ee489ea: Waiting [2023-05-23T23:21:02.093Z] c5a4b2cf53e6: Waiting [2023-05-23T23:21:02.093Z] 9325e15d5711: Waiting [2023-05-23T23:21:02.093Z] 85791d961cd3: Download complete [2023-05-23T23:21:02.352Z] 9f32a84ed3da: Verifying Checksum [2023-05-23T23:21:02.352Z] 9f32a84ed3da: Download complete [2023-05-23T23:21:02.352Z] 4d19c01a9841: Verifying Checksum [2023-05-23T23:21:02.352Z] 4d19c01a9841: Download complete [2023-05-23T23:21:02.352Z] f56be85fc22e: Verifying Checksum [2023-05-23T23:21:02.352Z] f56be85fc22e: Download complete [2023-05-23T23:21:02.352Z] 9325e15d5711: Verifying Checksum [2023-05-23T23:21:02.352Z] 9325e15d5711: Download complete [2023-05-23T23:21:02.352Z] f56be85fc22e: Pull complete [2023-05-23T23:21:02.613Z] 85791d961cd3: Pull complete [2023-05-23T23:21:02.872Z] c5a4b2cf53e6: Verifying Checksum [2023-05-23T23:21:02.872Z] c5a4b2cf53e6: Download complete [2023-05-23T23:21:02.872Z] d694b5ae8c79: Verifying Checksum [2023-05-23T23:21:02.872Z] d694b5ae8c79: Download complete [2023-05-23T23:21:03.129Z] 556b6ee489ea: Verifying Checksum [2023-05-23T23:21:03.129Z] 556b6ee489ea: Download complete [2023-05-23T23:21:06.414Z] d694b5ae8c79: Pull complete [2023-05-23T23:21:06.414Z] 9f32a84ed3da: Pull complete [2023-05-23T23:21:06.414Z] 4d19c01a9841: Pull complete [2023-05-23T23:21:06.414Z] 9325e15d5711: Pull complete [2023-05-23T23:21:08.952Z] 556b6ee489ea: Pull complete [2023-05-23T23:21:09.210Z] c5a4b2cf53e6: Pull complete [2023-05-23T23:21:09.210Z] Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b [2023-05-23T23:21:09.210Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-05-23T23:21:09.469Z] ---> c4be618373d6 [2023-05-23T23:21:09.469Z] Step 3/10 : ARG MAKE=make build [2023-05-23T23:21:10.851Z] ---> Running in 0d56a2d02de1 [2023-05-23T23:21:11.111Z] Removing intermediate container 0d56a2d02de1 [2023-05-23T23:21:11.111Z] ---> 6f6da96f8c13 [2023-05-23T23:21:11.111Z] Step 4/10 : WORKDIR /device-sdk-go [2023-05-23T23:21:11.111Z] ---> Running in bc0f7db8e309 [2023-05-23T23:21:11.111Z] Removing intermediate container bc0f7db8e309 [2023-05-23T23:21:11.111Z] ---> 8ef8d07970bc [2023-05-23T23:21:11.111Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-05-23T23:21:11.111Z] ---> Running in c3d57a8e03af [2023-05-23T23:21:11.370Z] Removing intermediate container c3d57a8e03af [2023-05-23T23:21:11.370Z] ---> be5d0d050d0b [2023-05-23T23:21:11.370Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-05-23T23:21:11.370Z] ---> Running in 775054b22895 [2023-05-23T23:21:11.628Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-23T23:21:11.628Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-23T23:21:11.887Z] OK: 265 MiB in 53 packages [2023-05-23T23:21:12.153Z] Removing intermediate container 775054b22895 [2023-05-23T23:21:12.153Z] ---> 1fd6c22975a8 [2023-05-23T23:21:12.153Z] Step 7/10 : COPY go.mod vendor* ./ [2023-05-23T23:21:12.413Z] ---> 3df2802ebf1e [2023-05-23T23:21:12.413Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-23T23:21:12.413Z] ---> Running in 8868b2170cbd [2023-05-23T23:21:15.288Z] Still waiting to schedule task [2023-05-23T23:21:15.289Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-16609’ [2023-05-23T23:21:30.504Z] Removing intermediate container 8868b2170cbd [2023-05-23T23:21:30.504Z] ---> 38b4638569af [2023-05-23T23:21:30.504Z] Step 9/10 : COPY . . [2023-05-23T23:21:30.504Z] ---> 43e734322e9c [2023-05-23T23:21:30.504Z] Step 10/10 : RUN ${MAKE} [2023-05-23T23:21:30.504Z] ---> Running in eced183bd55a [2023-05-23T23:21:30.504Z] noop [2023-05-23T23:21:30.504Z] Removing intermediate container eced183bd55a [2023-05-23T23:21:30.504Z] ---> 05c48d75688c [2023-05-23T23:21:30.504Z] Successfully built 05c48d75688c [2023-05-23T23:21:30.504Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-23T23:21:30.960Z] + docker inspect -f . ci-base-image-x86_64 [2023-05-23T23:21:30.960Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-23T23:21:31.111Z] prd-ubuntu20.04-docker-8c-8g-16611 does not seem to be running inside a container [2023-05-23T23:21:31.138Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1462 -v /w/workspace/gexfoundry_device-sdk-go_PR-1462:/w/workspace/gexfoundry_device-sdk-go_PR-1462:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1462@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1462@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 ******** ci-base-image-x86_64 cat [2023-05-23T23:21:31.472Z] $ docker top f4552a9f920dd3f027b3cc875dd13c041e27dbb719ea092950db4403f30e89b1 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-23T23:21:31.855Z] + go version [2023-05-23T23:21:31.855Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-05-23T23:21:31.889Z] $ docker stop --time=1 f4552a9f920dd3f027b3cc875dd13c041e27dbb719ea092950db4403f30e89b1 [2023-05-23T23:21:33.197Z] $ docker rm -f --volumes f4552a9f920dd3f027b3cc875dd13c041e27dbb719ea092950db4403f30e89b1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-23T23:21:33.927Z] + docker inspect -f . ci-base-image-x86_64 [2023-05-23T23:21:33.927Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-23T23:21:34.082Z] prd-ubuntu20.04-docker-8c-8g-16611 does not seem to be running inside a container [2023-05-23T23:21:34.118Z] $ 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-1462 -v /w/workspace/gexfoundry_device-sdk-go_PR-1462:/w/workspace/gexfoundry_device-sdk-go_PR-1462:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1462@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1462@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 ******** ci-base-image-x86_64 cat [2023-05-23T23:21:34.412Z] $ docker top 058dce4423a5f4ddf640eb0c1b648cb9d17cfbbcd2053e8e1635183328e57f6b -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-23T23:21:34.796Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1462 [Pipeline] fileExists [Pipeline] sh [2023-05-23T23:21:35.150Z] + make test [2023-05-23T23:21:35.150Z] go test -race -coverprofile=coverage.out ./... [2023-05-23T23:21:41.715Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-05-23T23:21:56.598Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-05-23T23:21:56.598Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-05-23T23:21:56.598Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-05-23T23:21:56.598Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-05-23T23:21:56.598Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-05-23T23:21:56.598Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.049s coverage: 27.6% of statements [2023-05-23T23:21:56.598Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-05-23T23:21:56.598Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-05-23T23:21:56.598Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.071s coverage: 80.2% of statements [2023-05-23T23:21:56.598Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.068s coverage: 86.0% of statements [2023-05-23T23:21:57.163Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-05-23T23:21:57.163Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-05-23T23:21:57.421Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.107s coverage: 77.5% of statements [2023-05-23T23:21:57.421Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-05-23T23:21:57.421Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-05-23T23:21:58.356Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-05-23T23:22:00.259Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.066s coverage: 14.3% of statements [2023-05-23T23:22:00.259Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.069s coverage: 68.5% of statements [2023-05-23T23:22:00.259Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.106s coverage: 89.2% of statements [2023-05-23T23:22:00.259Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.061s coverage: 5.7% of statements [2023-05-23T23:22:18.478Z] GO111MODULE=on go vet ./... [2023-05-23T23:22:21.775Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-05-23T23:22:21.775Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-05-23T23:22:21.775Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-05-23T23:22:21.811Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-05-23T23:22:21.844Z] $ docker stop --time=1 058dce4423a5f4ddf640eb0c1b648cb9d17cfbbcd2053e8e1635183328e57f6b [2023-05-23T23:22:23.748Z] $ docker rm -f --volumes 058dce4423a5f4ddf640eb0c1b648cb9d17cfbbcd2053e8e1635183328e57f6b [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-23T23:22:24.338Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-05-23T23:22:24.432Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-05-23T23:22:25.041Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-05-23T23:22:25.351Z] + ls -al . [2023-05-23T23:22:25.351Z] total 272 [2023-05-23T23:22:25.351Z] drwxrwxr-x 11 jenkins jenkins 4096 May 23 23:21 . [2023-05-23T23:22:25.351Z] drwxrwxr-x 4 jenkins jenkins 4096 May 23 23:20 .. [2023-05-23T23:22:25.351Z] -rw-rw-r-- 1 jenkins jenkins 140 May 23 23:20 .dockerignore [2023-05-23T23:22:25.351Z] drwxrwxr-x 8 jenkins jenkins 4096 May 23 23:20 .git [2023-05-23T23:22:25.351Z] drwxrwxr-x 2 jenkins jenkins 4096 May 23 23:20 .github [2023-05-23T23:22:25.351Z] -rw-rw-r-- 1 jenkins jenkins 137 May 23 23:20 .gitignore [2023-05-23T23:22:25.351Z] -rw-rw-r-- 1 jenkins jenkins 42 May 23 23:20 .golangci.yml [2023-05-23T23:22:25.351Z] drwxr-xr-x 3 jenkins jenkins 4096 May 23 23:20 .semver [2023-05-23T23:22:25.351Z] -rw-rw-r-- 1 jenkins jenkins 31677 May 23 23:20 CHANGELOG.md [2023-05-23T23:22:25.351Z] -rw-rw-r-- 1 jenkins jenkins 677 May 23 23:20 GOVERNANCE.md [2023-05-23T23:22:25.351Z] -rw-rw-r-- 1 jenkins jenkins 885 May 23 23:20 Jenkinsfile [2023-05-23T23:22:25.351Z] -rw-rw-r-- 1 jenkins jenkins 11341 May 23 23:20 LICENSE [2023-05-23T23:22:25.351Z] -rw-rw-r-- 1 jenkins jenkins 1714 May 23 23:20 Makefile [2023-05-23T23:22:25.351Z] -rw-rw-r-- 1 jenkins jenkins 619 May 23 23:20 OWNERS.md [2023-05-23T23:22:25.351Z] -rw-rw-r-- 1 jenkins jenkins 4891 May 23 23:20 README.md [2023-05-23T23:22:25.351Z] -rw-rw-r-- 1 jenkins jenkins 5 May 23 23:20 VERSION [2023-05-23T23:22:25.351Z] drwxrwxr-x 2 jenkins jenkins 4096 May 23 23:20 bin [2023-05-23T23:22:25.351Z] -rw-r--r-- 1 jenkins jenkins 106150 May 23 23:22 coverage.out [2023-05-23T23:22:25.351Z] drwxrwxr-x 5 jenkins jenkins 4096 May 23 23:20 example [2023-05-23T23:22:25.351Z] -rw-rw-r-- 1 jenkins jenkins 3193 May 23 23:20 go.mod [2023-05-23T23:22:25.351Z] -rw-rw-r-- 1 jenkins jenkins 30699 May 23 23:20 go.sum [2023-05-23T23:22:25.351Z] drwxrwxr-x 12 jenkins jenkins 4096 May 23 23:20 internal [2023-05-23T23:22:25.351Z] drwxrwxr-x 3 jenkins jenkins 4096 May 23 23:20 openapi [2023-05-23T23:22:25.351Z] drwxrwxr-x 6 jenkins jenkins 4096 May 23 23:20 pkg [2023-05-23T23:22:25.351Z] drwxrwxr-x 4 jenkins jenkins 4096 May 23 23:20 snap [2023-05-23T23:22:25.351Z] -rw-rw-r-- 1 jenkins jenkins 222 May 23 23:20 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-23T23:22:25.747Z] + 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=d8a8920d452ff20029c4225f8b1af9d3e8c170f9 --label arch=amd64 --label version=0.0.0 . [2023-05-23T23:22:25.747Z] Sending build context to Docker daemon 11.28MB [2023-05-23T23:22:25.747Z] Step 1/23 : ARG BASE=golang:1.20-alpine3.17 [2023-05-23T23:22:25.747Z] Step 2/23 : FROM ${BASE} AS builder [2023-05-23T23:22:25.747Z] ---> 05c48d75688c [2023-05-23T23:22:25.747Z] Step 3/23 : ARG MAKE=make build [2023-05-23T23:22:25.747Z] ---> Running in a036f9550a37 [2023-05-23T23:22:26.007Z] Removing intermediate container a036f9550a37 [2023-05-23T23:22:26.007Z] ---> 27a88ca279a6 [2023-05-23T23:22:26.007Z] Step 4/23 : WORKDIR /device-sdk-go [2023-05-23T23:22:26.007Z] ---> Running in b38d94e811ef [2023-05-23T23:22:26.007Z] Removing intermediate container b38d94e811ef [2023-05-23T23:22:26.007Z] ---> eeeb3d836837 [2023-05-23T23:22:26.007Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-05-23T23:22:26.007Z] ---> Running in 81f547947eaf [2023-05-23T23:22:26.007Z] Removing intermediate container 81f547947eaf [2023-05-23T23:22:26.007Z] ---> f397363c300c [2023-05-23T23:22:26.007Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-05-23T23:22:26.007Z] ---> Running in 649f53f36973 [2023-05-23T23:22:26.266Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-23T23:22:26.525Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-23T23:22:26.784Z] OK: 265 MiB in 53 packages [2023-05-23T23:22:27.043Z] Removing intermediate container 649f53f36973 [2023-05-23T23:22:27.043Z] ---> f298dbea3e9f [2023-05-23T23:22:27.043Z] Step 7/23 : COPY go.mod vendor* ./ [2023-05-23T23:22:27.043Z] ---> 6249bf1a6949 [2023-05-23T23:22:27.043Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-23T23:22:27.301Z] ---> Running in 859f8eb62bb1 [2023-05-23T23:22:27.870Z] Removing intermediate container 859f8eb62bb1 [2023-05-23T23:22:27.870Z] ---> 369c5a7785c1 [2023-05-23T23:22:27.870Z] Step 9/23 : COPY . . [2023-05-23T23:22:28.440Z] ---> 823b8e6e3ebf [2023-05-23T23:22:28.440Z] Step 10/23 : RUN ${MAKE} [2023-05-23T23:22:28.440Z] ---> Running in 12f203fd8cb8 [2023-05-23T23:22:28.440Z] 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-05-23T23:22:46.517Z] Removing intermediate container 12f203fd8cb8 [2023-05-23T23:22:46.517Z] ---> c4d0f09cbbea [2023-05-23T23:22:46.517Z] Step 11/23 : FROM alpine:3.17 [2023-05-23T23:22:46.517Z] 3.17: Pulling from library/alpine [2023-05-23T23:22:46.517Z] f56be85fc22e: Already exists [2023-05-23T23:22:46.517Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-05-23T23:22:46.517Z] Status: Downloaded newer image for alpine:3.17 [2023-05-23T23:22:46.517Z] ---> 9ed4aefc74f6 [2023-05-23T23:22:46.517Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-05-23T23:22:46.517Z] ---> Running in 25514bb593eb [2023-05-23T23:22:46.517Z] Removing intermediate container 25514bb593eb [2023-05-23T23:22:46.517Z] ---> f48768b698d7 [2023-05-23T23:22:46.517Z] Step 13/23 : RUN apk add --update --no-cache [2023-05-23T23:22:46.517Z] ---> Running in 5d3a2547fc76 [2023-05-23T23:22:46.517Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-23T23:22:46.517Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-23T23:22:46.517Z] OK: 7 MiB in 15 packages [2023-05-23T23:22:47.085Z] Removing intermediate container 5d3a2547fc76 [2023-05-23T23:22:47.085Z] ---> a525b4ae5ff1 [2023-05-23T23:22:47.085Z] Step 14/23 : WORKDIR / [2023-05-23T23:22:47.085Z] ---> Running in 9fa33d3b3fc0 [2023-05-23T23:22:47.085Z] Removing intermediate container 9fa33d3b3fc0 [2023-05-23T23:22:47.085Z] ---> 9c7a466fad6b [2023-05-23T23:22:47.085Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-05-23T23:22:47.085Z] ---> 839e5a580b28 [2023-05-23T23:22:47.085Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-05-23T23:22:47.697Z] ---> 2a245a92a964 [2023-05-23T23:22:47.697Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-05-23T23:22:47.961Z] ---> 808a664e081b [2023-05-23T23:22:47.961Z] Step 18/23 : EXPOSE 59999 [2023-05-23T23:22:47.961Z] ---> Running in 2662907b0590 [2023-05-23T23:22:47.961Z] Removing intermediate container 2662907b0590 [2023-05-23T23:22:47.961Z] ---> 3f8ba0b58677 [2023-05-23T23:22:47.961Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-05-23T23:22:47.961Z] ---> Running in 07eb91f8c700 [2023-05-23T23:22:47.961Z] Removing intermediate container 07eb91f8c700 [2023-05-23T23:22:47.961Z] ---> 873866750233 [2023-05-23T23:22:47.961Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-05-23T23:22:48.219Z] ---> Running in 5325d403fa1a [2023-05-23T23:22:48.219Z] Removing intermediate container 5325d403fa1a [2023-05-23T23:22:48.219Z] ---> db3ccd42fbc5 [2023-05-23T23:22:48.219Z] Step 21/23 : LABEL arch=amd64 [2023-05-23T23:22:48.219Z] ---> Running in 762ac183a2c7 [2023-05-23T23:22:48.219Z] Removing intermediate container 762ac183a2c7 [2023-05-23T23:22:48.219Z] ---> 2b681b417976 [2023-05-23T23:22:48.219Z] Step 22/23 : LABEL git_sha=d8a8920d452ff20029c4225f8b1af9d3e8c170f9 [2023-05-23T23:22:48.219Z] ---> Running in 85a5b9b0fb75 [2023-05-23T23:22:48.478Z] Removing intermediate container 85a5b9b0fb75 [2023-05-23T23:22:48.478Z] ---> 300f16103ca6 [2023-05-23T23:22:48.478Z] Step 23/23 : LABEL version=0.0.0 [2023-05-23T23:22:48.478Z] ---> Running in 5e9dc3df57c3 [2023-05-23T23:22:48.478Z] Removing intermediate container 5e9dc3df57c3 [2023-05-23T23:22:48.478Z] ---> b8e1e358c23a [2023-05-23T23:22:48.478Z] [Warning] One or more build-args [ARCH] were not consumed [2023-05-23T23:22:48.478Z] Successfully built b8e1e358c23a [2023-05-23T23:22:48.478Z] 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-05-23T23:22:49.300Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-23T23:22:49.300Z] [2023-05-23T23:22:49.300Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-23T23:22:49.669Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-23T23:22:49.669Z] latest: Pulling from edgex-lftools-log-publisher [2023-05-23T23:22:49.669Z] 5eb5b503b376: Pulling fs layer [2023-05-23T23:22:49.669Z] 5c69ac0246d0: Pulling fs layer [2023-05-23T23:22:49.669Z] ec43610c2a17: Pulling fs layer [2023-05-23T23:22:49.669Z] 3a2ae6a8a46f: Pulling fs layer [2023-05-23T23:22:49.669Z] 33b1e0a273af: Pulling fs layer [2023-05-23T23:22:49.669Z] 5d3b04190fa2: Pulling fs layer [2023-05-23T23:22:49.669Z] 2f39f015ded8: Pulling fs layer [2023-05-23T23:22:49.669Z] 3a2ae6a8a46f: Waiting [2023-05-23T23:22:49.669Z] 33b1e0a273af: Waiting [2023-05-23T23:22:49.669Z] 5d3b04190fa2: Waiting [2023-05-23T23:22:49.669Z] 2f39f015ded8: Waiting [2023-05-23T23:22:49.669Z] 5c69ac0246d0: Verifying Checksum [2023-05-23T23:22:49.669Z] 5c69ac0246d0: Download complete [2023-05-23T23:22:49.669Z] 3a2ae6a8a46f: Download complete [2023-05-23T23:22:49.669Z] 33b1e0a273af: Verifying Checksum [2023-05-23T23:22:49.669Z] 33b1e0a273af: Download complete [2023-05-23T23:22:49.669Z] 5d3b04190fa2: Download complete [2023-05-23T23:22:49.669Z] ec43610c2a17: Verifying Checksum [2023-05-23T23:22:49.669Z] ec43610c2a17: Download complete [2023-05-23T23:22:49.929Z] 5eb5b503b376: Verifying Checksum [2023-05-23T23:22:49.929Z] 5eb5b503b376: Download complete [2023-05-23T23:22:50.496Z] 2f39f015ded8: Download complete [2023-05-23T23:22:51.067Z] 5eb5b503b376: Pull complete [2023-05-23T23:22:51.067Z] 5c69ac0246d0: Pull complete [2023-05-23T23:22:51.326Z] ec43610c2a17: Pull complete [2023-05-23T23:22:51.326Z] 3a2ae6a8a46f: Pull complete [2023-05-23T23:22:51.584Z] 33b1e0a273af: Pull complete [2023-05-23T23:22:51.842Z] 5d3b04190fa2: Pull complete [2023-05-23T23:22:56.021Z] 2f39f015ded8: Pull complete [2023-05-23T23:22:56.021Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-05-23T23:22:56.021Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-23T23:22:56.021Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-23T23:22:56.235Z] prd-ubuntu20.04-docker-8c-8g-16611 does not seem to be running inside a container [2023-05-23T23:22:56.267Z] $ 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-1462 -v /w/workspace/gexfoundry_device-sdk-go_PR-1462:/w/workspace/gexfoundry_device-sdk-go_PR-1462:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1462@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1462@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-05-23T23:22:58.747Z] $ docker top d05afc1c7df1e6ce7ca76414c3dfb0cfd40c112834b636b2b594b2f92a948455 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-23T23:22:59.185Z] ---> job-cost.sh [2023-05-23T23:22:59.185Z] lf-activate-venv: SKIPPING [2023-05-23T23:22:59.185Z] INFO: No Stack... [2023-05-23T23:22:59.444Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-05-23T23:22:59.704Z] INFO: Archiving Costs [Pipeline] sh [2023-05-23T23:23:00.019Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1462/archives/cost.csv [2023-05-23T23:23:00.019Z] + cut -d, -f6 [Pipeline] lock [2023-05-23T23:23:00.058Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1462-1-stack-cost] [2023-05-23T23:23:00.063Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1462-1-stack-cost] did not exist. Created. [2023-05-23T23:23:00.063Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1462-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-05-23T23:23:00.460Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-05-23T23:23:00.516Z] Stashed 1 file(s) [Pipeline] } [2023-05-23T23:23:00.536Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1462-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-05-23T23:23:00.617Z] $ docker stop --time=1 d05afc1c7df1e6ce7ca76414c3dfb0cfd40c112834b636b2b594b2f92a948455 [2023-05-23T23:23:01.763Z] $ docker rm -f --volumes d05afc1c7df1e6ce7ca76414c3dfb0cfd40c112834b636b2b594b2f92a948455 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-05-23T23:24:25.044Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-16613 in /w/workspace/gexfoundry_device-sdk-go_PR-1462 [Pipeline] { [Pipeline] ws [2023-05-23T23:24:25.099Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2023-05-23T23:24:25.213Z] The recommended git tool is: git [2023-05-23T23:24:35.532Z] using credential edgex-jenkins-ssh [2023-05-23T23:24:35.560Z] Cloning the remote Git repository [2023-05-23T23:24:35.633Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-05-23T23:24:35.784Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2023-05-23T23:24:36.081Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-05-23T23:24:36.082Z] > git --version # timeout=10 [2023-05-23T23:24:36.138Z] > git --version # 'git version 2.25.1' [2023-05-23T23:24:36.142Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-23T23:24:36.459Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-05-23T23:24:38.465Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-05-23T23:24:38.502Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-05-23T23:24:40.306Z] Merging remotes/origin/main commit c046c07be681eb47061b9e73bdc74da4165eb351 into PR head commit d8a8920d452ff20029c4225f8b1af9d3e8c170f9 [2023-05-23T23:24:40.690Z] Merge succeeded, producing d8a8920d452ff20029c4225f8b1af9d3e8c170f9 [2023-05-23T23:24:40.691Z] Checking out Revision d8a8920d452ff20029c4225f8b1af9d3e8c170f9 (PR-1462) [2023-05-23T23:24:39.634Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-05-23T23:24:39.681Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-05-23T23:24:39.682Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-23T23:24:39.702Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1462/head:refs/remotes/origin/PR-1462 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-05-23T23:24:40.325Z] > git config core.sparsecheckout # timeout=10 [2023-05-23T23:24:40.419Z] > git checkout -f d8a8920d452ff20029c4225f8b1af9d3e8c170f9 # timeout=10 [2023-05-23T23:24:40.549Z] > git remote # timeout=10 [2023-05-23T23:24:40.573Z] > git config --get remote.origin.url # timeout=10 [2023-05-23T23:24:40.608Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-23T23:24:40.625Z] > git merge c046c07be681eb47061b9e73bdc74da4165eb351 # timeout=10 [2023-05-23T23:24:40.660Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-05-23T23:24:40.695Z] > git config core.sparsecheckout # timeout=10 [2023-05-23T23:24:40.713Z] > git checkout -f d8a8920d452ff20029c4225f8b1af9d3e8c170f9 # timeout=10 [2023-05-23T23:24:41.361Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3" [2023-05-23T23:24:41.427Z] > git --version # timeout=10 [2023-05-23T23:24:41.443Z] > git --version # 'git version 2.25.1' [2023-05-23T23:24:41.458Z] fatal: bad object 4fc256d9079ed2258907e613f84b1b8da264a4bd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-23T23:24:42.580Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-05-23T23:24:42.581Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-23T23:24:42.581Z] Dload Upload Total Spent Left Speed [2023-05-23T23:24:42.581Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 207k 0 --:--:-- --:--:-- --:--:-- 211k [Pipeline] sh [2023-05-23T23:24:43.232Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-05-23T23:24:43.618Z] + sudo tee /etc/docker/daemon.new [2023-05-23T23:24:43.618Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-05-23T23:24:43.618Z] { [2023-05-23T23:24:43.618Z] "registry-mirrors": [ [2023-05-23T23:24:43.618Z] "https://nexus3.edgexfoundry.org:10001" [2023-05-23T23:24:43.618Z] ], [2023-05-23T23:24:43.618Z] "bip": "10.250.0.254/24", [2023-05-23T23:24:43.618Z] "hosts": [ [2023-05-23T23:24:43.618Z] "tcp://0.0.0.0:5555", [2023-05-23T23:24:43.618Z] "unix:///var/run/docker.sock" [2023-05-23T23:24:43.618Z] ], [2023-05-23T23:24:43.618Z] "mtu": 1458, [2023-05-23T23:24:43.618Z] "selinux-enabled": true, [2023-05-23T23:24:43.618Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-05-23T23:24:43.618Z] } [Pipeline] sh [2023-05-23T23:24:43.994Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-05-23T23:24:44.375Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-23T23:25:02.751Z] provisioning config files... [2023-05-23T23:25:02.787Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config3199228857652275641tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-23T23:25:03.212Z] ---> docker-login.sh [2023-05-23T23:25:03.212Z] nexus3.edgexfoundry.org:10001 [2023-05-23T23:25:03.820Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-23T23:25:03.821Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-23T23:25:03.821Z] Configure a credential helper to remove this warning. See [2023-05-23T23:25:03.821Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-23T23:25:03.821Z] [2023-05-23T23:25:03.821Z] Login Succeeded [2023-05-23T23:25:03.821Z] nexus3.edgexfoundry.org:10002 [2023-05-23T23:25:04.092Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-23T23:25:04.364Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-23T23:25:04.364Z] Configure a credential helper to remove this warning. See [2023-05-23T23:25:04.364Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-23T23:25:04.364Z] [2023-05-23T23:25:04.364Z] Login Succeeded [2023-05-23T23:25:04.364Z] nexus3.edgexfoundry.org:10003 [2023-05-23T23:25:04.640Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-23T23:25:04.640Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-23T23:25:04.640Z] Configure a credential helper to remove this warning. See [2023-05-23T23:25:04.641Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-23T23:25:04.641Z] [2023-05-23T23:25:04.641Z] Login Succeeded [2023-05-23T23:25:04.641Z] nexus3.edgexfoundry.org:10004 [2023-05-23T23:25:04.915Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-23T23:25:04.915Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-23T23:25:04.915Z] Configure a credential helper to remove this warning. See [2023-05-23T23:25:04.915Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-23T23:25:04.915Z] [2023-05-23T23:25:04.915Z] Login Succeeded [2023-05-23T23:25:04.915Z] docker.io [2023-05-23T23:25:05.186Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-23T23:25:05.456Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-23T23:25:05.456Z] Configure a credential helper to remove this warning. See [2023-05-23T23:25:05.456Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-23T23:25:05.456Z] [2023-05-23T23:25:05.456Z] Login Succeeded [2023-05-23T23:25:05.456Z] ---> docker-login.sh ends [Pipeline] } [2023-05-23T23:25:05.484Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-05-23T23:25:05.909Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-23T23:25:05.943Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-23T23:25:05.983Z] ========================================================= [2023-05-23T23:25:05.983Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-05-23T23:25:05.983Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-23T23:25:06.498Z] + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-05-23T23:25:06.767Z] Sending build context to Docker daemon 6.009MB [2023-05-23T23:25:07.043Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-05-23T23:25:07.043Z] Step 2/10 : FROM ${BASE} AS builder [2023-05-23T23:25:07.043Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-05-23T23:25:07.043Z] c41833b44d91: Pulling fs layer [2023-05-23T23:25:07.043Z] ed15518f5707: Pulling fs layer [2023-05-23T23:25:07.043Z] feae8fd75edb: Pulling fs layer [2023-05-23T23:25:07.043Z] 242c74f7c9fa: Pulling fs layer [2023-05-23T23:25:07.043Z] 3cdef696dda3: Pulling fs layer [2023-05-23T23:25:07.043Z] 2ced38df9373: Pulling fs layer [2023-05-23T23:25:07.043Z] 58f1dce35555: Pulling fs layer [2023-05-23T23:25:07.043Z] 3cdef696dda3: Waiting [2023-05-23T23:25:07.043Z] 2ced38df9373: Waiting [2023-05-23T23:25:07.043Z] 58f1dce35555: Waiting [2023-05-23T23:25:07.043Z] 242c74f7c9fa: Waiting [2023-05-23T23:25:07.043Z] ed15518f5707: Verifying Checksum [2023-05-23T23:25:07.043Z] ed15518f5707: Download complete [2023-05-23T23:25:07.322Z] 242c74f7c9fa: Verifying Checksum [2023-05-23T23:25:07.322Z] 242c74f7c9fa: Download complete [2023-05-23T23:25:07.322Z] 3cdef696dda3: Verifying Checksum [2023-05-23T23:25:07.322Z] 3cdef696dda3: Download complete [2023-05-23T23:25:07.322Z] c41833b44d91: Verifying Checksum [2023-05-23T23:25:07.322Z] c41833b44d91: Download complete [2023-05-23T23:25:08.336Z] c41833b44d91: Pull complete [2023-05-23T23:25:08.621Z] 58f1dce35555: Verifying Checksum [2023-05-23T23:25:08.621Z] 58f1dce35555: Download complete [2023-05-23T23:25:08.893Z] ed15518f5707: Pull complete [2023-05-23T23:25:09.875Z] 2ced38df9373: Verifying Checksum [2023-05-23T23:25:09.875Z] 2ced38df9373: Download complete [2023-05-23T23:25:09.875Z] feae8fd75edb: Download complete [2023-05-23T23:25:22.237Z] feae8fd75edb: Pull complete [2023-05-23T23:25:22.237Z] 242c74f7c9fa: Pull complete [2023-05-23T23:25:22.237Z] 3cdef696dda3: Pull complete [2023-05-23T23:25:30.783Z] 2ced38df9373: Pull complete [2023-05-23T23:25:32.208Z] 58f1dce35555: Pull complete [2023-05-23T23:25:32.208Z] Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e [2023-05-23T23:25:32.208Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-05-23T23:25:32.208Z] ---> fadd8f120f05 [2023-05-23T23:25:32.208Z] Step 3/10 : ARG MAKE=make build [2023-05-23T23:25:34.166Z] ---> Running in 368c72d585ae [2023-05-23T23:25:34.434Z] Removing intermediate container 368c72d585ae [2023-05-23T23:25:34.434Z] ---> 7b2721db3550 [2023-05-23T23:25:34.434Z] Step 4/10 : WORKDIR /device-sdk-go [2023-05-23T23:25:34.434Z] ---> Running in ad031c21816a [2023-05-23T23:25:34.708Z] Removing intermediate container ad031c21816a [2023-05-23T23:25:34.708Z] ---> a7e98445be2f [2023-05-23T23:25:34.708Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-05-23T23:25:34.708Z] ---> Running in 5361a94ca441 [2023-05-23T23:25:34.979Z] Removing intermediate container 5361a94ca441 [2023-05-23T23:25:34.979Z] ---> cde12e02734e [2023-05-23T23:25:34.979Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-05-23T23:25:35.247Z] ---> Running in 6278f8a0b1e7 [2023-05-23T23:25:36.226Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-23T23:25:36.816Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-23T23:25:38.229Z] OK: 263 MiB in 53 packages [2023-05-23T23:25:38.828Z] Removing intermediate container 6278f8a0b1e7 [2023-05-23T23:25:38.828Z] ---> 848e5dbd5aa4 [2023-05-23T23:25:38.828Z] Step 7/10 : COPY go.mod vendor* ./ [2023-05-23T23:25:40.793Z] ---> 97a72c013da6 [2023-05-23T23:25:40.793Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-23T23:25:40.793Z] ---> Running in 6df5bb94e474 [2023-05-23T23:26:48.714Z] Removing intermediate container 6df5bb94e474 [2023-05-23T23:26:48.714Z] ---> 629dbee0fa0e [2023-05-23T23:26:48.714Z] Step 9/10 : COPY . . [2023-05-23T23:26:48.714Z] ---> 66dc64adfc38 [2023-05-23T23:26:48.714Z] Step 10/10 : RUN ${MAKE} [2023-05-23T23:26:48.714Z] ---> Running in 90d858caccf2 [2023-05-23T23:26:48.714Z] noop [2023-05-23T23:26:48.714Z] Removing intermediate container 90d858caccf2 [2023-05-23T23:26:48.714Z] ---> 16e2186e2068 [2023-05-23T23:26:48.714Z] Successfully built 16e2186e2068 [2023-05-23T23:26:48.714Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-23T23:26:49.202Z] + docker inspect -f . ci-base-image-arm64 [2023-05-23T23:26:49.202Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-23T23:26:49.502Z] prd-ubuntu20.04-docker-arm64-4c-16g-16613 does not seem to be running inside a container [2023-05-23T23:26:49.569Z] $ 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-05-23T23:26:50.826Z] $ docker top e61527b9052e75e4bc4a6808bd0c0e43bd6b7f0d84373ff54a2a3f53668b3ddb -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-23T23:26:51.720Z] + go version [2023-05-23T23:26:51.720Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-05-23T23:26:51.747Z] $ docker stop --time=1 e61527b9052e75e4bc4a6808bd0c0e43bd6b7f0d84373ff54a2a3f53668b3ddb [2023-05-23T23:26:53.435Z] $ docker rm -f --volumes e61527b9052e75e4bc4a6808bd0c0e43bd6b7f0d84373ff54a2a3f53668b3ddb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-23T23:26:54.316Z] + docker inspect -f . ci-base-image-arm64 [2023-05-23T23:26:54.316Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-23T23:26:54.583Z] prd-ubuntu20.04-docker-arm64-4c-16g-16613 does not seem to be running inside a container [2023-05-23T23:26:54.645Z] $ 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-05-23T23:26:55.788Z] $ docker top 469657a6d1660ca9f314541624e5f727fb202e7f6c788d16a0b45bc9d065a918 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-23T23:26:56.355Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh [2023-05-23T23:26:57.330Z] + make test [2023-05-23T23:26:57.330Z] go test -race -coverprofile=coverage.out ./... [2023-05-23T23:27:44.213Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-05-23T23:29:50.928Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-05-23T23:29:50.928Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-05-23T23:29:50.928Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-05-23T23:29:50.928Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-05-23T23:29:50.928Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-05-23T23:29:56.275Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.243s coverage: 27.6% of statements [2023-05-23T23:30:00.539Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.305s coverage: 80.2% of statements [2023-05-23T23:30:15.554Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-05-23T23:30:15.554Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-05-23T23:30:15.554Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.409s coverage: 86.0% of statements [2023-05-23T23:30:22.219Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-05-23T23:30:22.219Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.461s coverage: 77.5% of statements [2023-05-23T23:30:26.494Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-05-23T23:30:28.443Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-05-23T23:30:28.443Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-05-23T23:30:29.856Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.264s coverage: 14.3% of statements [2023-05-23T23:30:29.857Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.454s coverage: 68.5% of statements [2023-05-23T23:30:32.446Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.465s coverage: 89.2% of statements [2023-05-23T23:30:33.860Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-05-23T23:30:34.128Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.262s coverage: 5.7% of statements [2023-05-23T23:30:35.090Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-05-23T23:30:35.090Z] GO111MODULE=on go vet ./... [2023-05-23T23:33:11.868Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-05-23T23:33:11.868Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-05-23T23:33:11.868Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-05-23T23:33:11.912Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-05-23T23:33:11.936Z] $ docker stop --time=1 469657a6d1660ca9f314541624e5f727fb202e7f6c788d16a0b45bc9d065a918 [2023-05-23T23:33:13.874Z] $ docker rm -f --volumes 469657a6d1660ca9f314541624e5f727fb202e7f6c788d16a0b45bc9d065a918 [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-23T23:33:15.637Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-05-23T23:33:15.673Z] Warning: overwriting stash ‘coverage-report’ [2023-05-23T23:33:16.304Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-23T23:33:16.905Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-05-23T23:33:17.248Z] + ls -al . [2023-05-23T23:33:17.248Z] total 268 [2023-05-23T23:33:17.248Z] drwxrwxr-x 10 jenkins jenkins 4096 May 23 23:27 . [2023-05-23T23:33:17.248Z] drwxrwxr-x 4 jenkins jenkins 4096 May 23 23:24 .. [2023-05-23T23:33:17.248Z] -rw-rw-r-- 1 jenkins jenkins 140 May 23 23:24 .dockerignore [2023-05-23T23:33:17.248Z] drwxrwxr-x 8 jenkins jenkins 4096 May 23 23:24 .git [2023-05-23T23:33:17.248Z] drwxrwxr-x 2 jenkins jenkins 4096 May 23 23:24 .github [2023-05-23T23:33:17.248Z] -rw-rw-r-- 1 jenkins jenkins 137 May 23 23:24 .gitignore [2023-05-23T23:33:17.248Z] -rw-rw-r-- 1 jenkins jenkins 42 May 23 23:24 .golangci.yml [2023-05-23T23:33:17.248Z] -rw-rw-r-- 1 jenkins jenkins 31677 May 23 23:24 CHANGELOG.md [2023-05-23T23:33:17.248Z] -rw-rw-r-- 1 jenkins jenkins 677 May 23 23:24 GOVERNANCE.md [2023-05-23T23:33:17.248Z] -rw-rw-r-- 1 jenkins jenkins 885 May 23 23:24 Jenkinsfile [2023-05-23T23:33:17.248Z] -rw-rw-r-- 1 jenkins jenkins 11341 May 23 23:24 LICENSE [2023-05-23T23:33:17.248Z] -rw-rw-r-- 1 jenkins jenkins 1714 May 23 23:24 Makefile [2023-05-23T23:33:17.248Z] -rw-rw-r-- 1 jenkins jenkins 619 May 23 23:24 OWNERS.md [2023-05-23T23:33:17.248Z] -rw-rw-r-- 1 jenkins jenkins 4891 May 23 23:24 README.md [2023-05-23T23:33:17.248Z] -rw-rw-r-- 1 jenkins jenkins 5 May 23 23:20 VERSION [2023-05-23T23:33:17.248Z] drwxrwxr-x 2 jenkins jenkins 4096 May 23 23:24 bin [2023-05-23T23:33:17.248Z] -rw-r--r-- 1 jenkins jenkins 106150 May 23 23:30 coverage.out [2023-05-23T23:33:17.248Z] drwxrwxr-x 5 jenkins jenkins 4096 May 23 23:24 example [2023-05-23T23:33:17.248Z] -rw-rw-r-- 1 jenkins jenkins 3193 May 23 23:24 go.mod [2023-05-23T23:33:17.248Z] -rw-rw-r-- 1 jenkins jenkins 30699 May 23 23:24 go.sum [2023-05-23T23:33:17.248Z] drwxrwxr-x 12 jenkins jenkins 4096 May 23 23:24 internal [2023-05-23T23:33:17.248Z] drwxrwxr-x 3 jenkins jenkins 4096 May 23 23:24 openapi [2023-05-23T23:33:17.248Z] drwxrwxr-x 6 jenkins jenkins 4096 May 23 23:24 pkg [2023-05-23T23:33:17.248Z] drwxrwxr-x 4 jenkins jenkins 4096 May 23 23:24 snap [2023-05-23T23:33:17.248Z] -rw-rw-r-- 1 jenkins jenkins 222 May 23 23:24 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-23T23:33:17.672Z] + 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=d8a8920d452ff20029c4225f8b1af9d3e8c170f9 --label arch=arm64 --label version=0.0.0 . [2023-05-23T23:33:18.265Z] Sending build context to Docker daemon 6.116MB [2023-05-23T23:33:18.265Z] Step 1/23 : ARG BASE=golang:1.20-alpine3.17 [2023-05-23T23:33:18.265Z] Step 2/23 : FROM ${BASE} AS builder [2023-05-23T23:33:18.265Z] ---> 16e2186e2068 [2023-05-23T23:33:18.265Z] Step 3/23 : ARG MAKE=make build [2023-05-23T23:33:18.265Z] ---> Running in 9b5c74d28705 [2023-05-23T23:33:18.534Z] Removing intermediate container 9b5c74d28705 [2023-05-23T23:33:18.534Z] ---> 32bf137ee2e1 [2023-05-23T23:33:18.534Z] Step 4/23 : WORKDIR /device-sdk-go [2023-05-23T23:33:18.800Z] ---> Running in e468451155db [2023-05-23T23:33:19.069Z] Removing intermediate container e468451155db [2023-05-23T23:33:19.069Z] ---> 41918172b96b [2023-05-23T23:33:19.069Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-05-23T23:33:19.069Z] ---> Running in b93ec41526e0 [2023-05-23T23:33:19.337Z] Removing intermediate container b93ec41526e0 [2023-05-23T23:33:19.337Z] ---> d22bd0fee113 [2023-05-23T23:33:19.337Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-05-23T23:33:19.609Z] ---> Running in 51759e93a5ee [2023-05-23T23:33:20.568Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-23T23:33:21.151Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-23T23:33:22.109Z] OK: 263 MiB in 53 packages [2023-05-23T23:33:23.068Z] Removing intermediate container 51759e93a5ee [2023-05-23T23:33:23.068Z] ---> 58e77d1e128e [2023-05-23T23:33:23.068Z] Step 7/23 : COPY go.mod vendor* ./ [2023-05-23T23:33:23.652Z] ---> b79d6a0daa09 [2023-05-23T23:33:23.652Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-23T23:33:23.652Z] ---> Running in 429cc5553bb4 [2023-05-23T23:33:26.248Z] Removing intermediate container 429cc5553bb4 [2023-05-23T23:33:26.248Z] ---> 8a96c4f11d84 [2023-05-23T23:33:26.248Z] Step 9/23 : COPY . . [2023-05-23T23:33:27.658Z] ---> 9503d7f5384f [2023-05-23T23:33:27.658Z] Step 10/23 : RUN ${MAKE} [2023-05-23T23:33:27.658Z] ---> Running in 8ff868bd81b1 [2023-05-23T23:33:28.619Z] 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-05-23T23:35:50.477Z] Removing intermediate container 8ff868bd81b1 [2023-05-23T23:35:50.477Z] ---> dee9bae4f289 [2023-05-23T23:35:50.477Z] Step 11/23 : FROM alpine:3.17 [2023-05-23T23:35:50.477Z] 3.17: Pulling from library/alpine [2023-05-23T23:35:50.477Z] c41833b44d91: Already exists [2023-05-23T23:35:50.477Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-05-23T23:35:50.477Z] Status: Downloaded newer image for alpine:3.17 [2023-05-23T23:35:50.477Z] ---> 51e60588ff2c [2023-05-23T23:35:50.477Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-05-23T23:35:50.477Z] ---> Running in 65c9f0cc3f28 [2023-05-23T23:35:50.477Z] Removing intermediate container 65c9f0cc3f28 [2023-05-23T23:35:50.477Z] ---> 7b39810e1dec [2023-05-23T23:35:50.477Z] Step 13/23 : RUN apk add --update --no-cache [2023-05-23T23:35:50.477Z] ---> Running in 8818a18fb260 [2023-05-23T23:35:50.477Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-23T23:35:50.477Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-23T23:35:50.477Z] OK: 7 MiB in 15 packages [2023-05-23T23:35:50.477Z] Removing intermediate container 8818a18fb260 [2023-05-23T23:35:50.477Z] ---> af66f452062f [2023-05-23T23:35:50.477Z] Step 14/23 : WORKDIR / [2023-05-23T23:35:50.477Z] ---> Running in b572d6eccc8b [2023-05-23T23:35:50.477Z] Removing intermediate container b572d6eccc8b [2023-05-23T23:35:50.477Z] ---> 427130641918 [2023-05-23T23:35:50.477Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-05-23T23:35:50.477Z] ---> c40b965768ce [2023-05-23T23:35:50.477Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-05-23T23:35:51.059Z] ---> 552e95dd33f1 [2023-05-23T23:35:51.059Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-05-23T23:35:51.326Z] ---> 28a1af769730 [2023-05-23T23:35:51.326Z] Step 18/23 : EXPOSE 59999 [2023-05-23T23:35:51.596Z] ---> Running in d1d4d7eab84b [2023-05-23T23:35:51.862Z] Removing intermediate container d1d4d7eab84b [2023-05-23T23:35:51.862Z] ---> f0b0747f81f4 [2023-05-23T23:35:51.862Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-05-23T23:35:51.862Z] ---> Running in 3f8fa722512d [2023-05-23T23:35:52.130Z] Removing intermediate container 3f8fa722512d [2023-05-23T23:35:52.130Z] ---> 51036898ef6b [2023-05-23T23:35:52.130Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-05-23T23:35:52.130Z] ---> Running in f3e74acb420b [2023-05-23T23:35:52.716Z] Removing intermediate container f3e74acb420b [2023-05-23T23:35:52.716Z] ---> b7e0ac9105a3 [2023-05-23T23:35:52.716Z] Step 21/23 : LABEL arch=arm64 [2023-05-23T23:35:52.716Z] ---> Running in dea983121941 [2023-05-23T23:35:52.983Z] Removing intermediate container dea983121941 [2023-05-23T23:35:52.983Z] ---> 163a7e04c55a [2023-05-23T23:35:52.983Z] Step 22/23 : LABEL git_sha=d8a8920d452ff20029c4225f8b1af9d3e8c170f9 [2023-05-23T23:35:52.983Z] ---> Running in 2970aa6463af [2023-05-23T23:35:53.250Z] Removing intermediate container 2970aa6463af [2023-05-23T23:35:53.250Z] ---> 58f4a48885bf [2023-05-23T23:35:53.250Z] Step 23/23 : LABEL version=0.0.0 [2023-05-23T23:35:53.250Z] ---> Running in dfc299bea19f [2023-05-23T23:35:53.517Z] Removing intermediate container dfc299bea19f [2023-05-23T23:35:53.517Z] ---> 61033f3209d1 [2023-05-23T23:35:53.517Z] [Warning] One or more build-args [ARCH] were not consumed [2023-05-23T23:35:53.783Z] Successfully built 61033f3209d1 [2023-05-23T23:35:53.783Z] 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-05-23T23:35:54.590Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-23T23:35:54.590Z] [2023-05-23T23:35:54.590Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-23T23:35:55.002Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-23T23:35:55.003Z] arm64: Pulling from edgex-lftools-log-publisher [2023-05-23T23:35:55.003Z] 8998bd30e6a1: Pulling fs layer [2023-05-23T23:35:55.003Z] 04944245beec: Pulling fs layer [2023-05-23T23:35:55.003Z] 699f458cf7ca: Pulling fs layer [2023-05-23T23:35:55.003Z] 765212b225bb: Pulling fs layer [2023-05-23T23:35:55.003Z] f23df028b6ca: Pulling fs layer [2023-05-23T23:35:55.003Z] d65c8cfc05b1: Pulling fs layer [2023-05-23T23:35:55.003Z] 2437ff75d9bd: Pulling fs layer [2023-05-23T23:35:55.003Z] f23df028b6ca: Waiting [2023-05-23T23:35:55.003Z] d65c8cfc05b1: Waiting [2023-05-23T23:35:55.003Z] 2437ff75d9bd: Waiting [2023-05-23T23:35:55.003Z] 765212b225bb: Waiting [2023-05-23T23:35:55.270Z] 04944245beec: Verifying Checksum [2023-05-23T23:35:55.270Z] 04944245beec: Download complete [2023-05-23T23:35:55.270Z] 765212b225bb: Verifying Checksum [2023-05-23T23:35:55.270Z] 765212b225bb: Download complete [2023-05-23T23:35:55.270Z] f23df028b6ca: Verifying Checksum [2023-05-23T23:35:55.270Z] f23df028b6ca: Download complete [2023-05-23T23:35:55.270Z] d65c8cfc05b1: Verifying Checksum [2023-05-23T23:35:55.270Z] d65c8cfc05b1: Download complete [2023-05-23T23:35:55.538Z] 699f458cf7ca: Verifying Checksum [2023-05-23T23:35:55.538Z] 699f458cf7ca: Download complete [2023-05-23T23:35:55.805Z] 8998bd30e6a1: Verifying Checksum [2023-05-23T23:35:55.805Z] 8998bd30e6a1: Download complete [2023-05-23T23:35:58.381Z] 2437ff75d9bd: Verifying Checksum [2023-05-23T23:35:58.381Z] 2437ff75d9bd: Download complete [2023-05-23T23:35:59.340Z] 8998bd30e6a1: Pull complete [2023-05-23T23:35:59.923Z] 04944245beec: Pull complete [2023-05-23T23:36:01.328Z] 699f458cf7ca: Pull complete [2023-05-23T23:36:01.328Z] 765212b225bb: Pull complete [2023-05-23T23:36:01.915Z] f23df028b6ca: Pull complete [2023-05-23T23:36:02.184Z] d65c8cfc05b1: Pull complete [2023-05-23T23:36:17.171Z] 2437ff75d9bd: Pull complete [2023-05-23T23:36:17.171Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-05-23T23:36:17.171Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-23T23:36:17.171Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-23T23:36:17.494Z] prd-ubuntu20.04-docker-arm64-4c-16g-16613 does not seem to be running inside a container [2023-05-23T23:36:17.557Z] $ 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-05-23T23:36:20.386Z] $ docker top abc643d4ac633fce9f126714dc44a676d25ba4f018a24a2b2497ae030fbc9a66 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-23T23:36:21.292Z] ---> job-cost.sh [2023-05-23T23:36:21.292Z] lf-activate-venv: SKIPPING [2023-05-23T23:36:21.292Z] INFO: No Stack... [2023-05-23T23:36:21.558Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-05-23T23:36:22.519Z] INFO: Archiving Costs [Pipeline] sh [2023-05-23T23:36:23.178Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2023-05-23T23:36:23.178Z] + cut -d, -f6 [Pipeline] lock [2023-05-23T23:36:23.274Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1462-1-stack-cost] [2023-05-23T23:36:23.279Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1462-1-stack-cost] did not exist. Created. [2023-05-23T23:36:23.279Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1462-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-05-23T23:36:24.015Z] /w/workspace/device-sdk-go/1@tmp/durable-3b2e7763/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-05-23T23:36:24.689Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-05-23T23:36:24.721Z] Warning: overwriting stash ‘stack-cost’ [2023-05-23T23:36:24.791Z] Stashed 1 file(s) [Pipeline] } [2023-05-23T23:36:24.806Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1462-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-05-23T23:36:24.868Z] $ docker stop --time=1 abc643d4ac633fce9f126714dc44a676d25ba4f018a24a2b2497ae030fbc9a66 [2023-05-23T23:36:26.377Z] $ docker rm -f --volumes abc643d4ac633fce9f126714dc44a676d25ba4f018a24a2b2497ae030fbc9a66 [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-05-23T23:36:27.342Z] provisioning config files... [2023-05-23T23:36:27.350Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1462@tmp/config15559144229447527435tmp [Pipeline] { [Pipeline] sh [2023-05-23T23:36:27.691Z] + set +x [2023-05-23T23:36:27.691Z] + curl -s https://codecov.io/bash [2023-05-23T23:36:27.691Z] + bash -s -- [2023-05-23T23:36:27.691Z] [2023-05-23T23:36:27.691Z] _____ _ [2023-05-23T23:36:27.691Z] / ____| | | [2023-05-23T23:36:27.691Z] | | ___ __| | ___ ___ _____ __ [2023-05-23T23:36:27.691Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-05-23T23:36:27.691Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-05-23T23:36:27.691Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-05-23T23:36:27.691Z] Bash-1.0.6 [2023-05-23T23:36:27.691Z] [2023-05-23T23:36:27.691Z] [2023-05-23T23:36:27.691Z] ==> git version 2.25.1 found [2023-05-23T23:36:27.691Z] ==> 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-05-23T23:36:27.691Z] Release-Date: 2020-01-08 [2023-05-23T23:36:27.691Z] 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-05-23T23:36:27.691Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-05-23T23:36:27.692Z] ==> Jenkins CI detected. [2023-05-23T23:36:27.692Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1462 [2023-05-23T23:36:27.692Z] project root: . [2023-05-23T23:36:27.692Z] --> token set from env [2023-05-23T23:36:27.692Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-05-23T23:36:27.692Z] ==> Running gcov in . (disable via -X gcov) [2023-05-23T23:36:27.692Z] ==> Python coveragepy not found [2023-05-23T23:36:27.692Z] ==> Searching for coverage reports in: [2023-05-23T23:36:27.692Z] + . [2023-05-23T23:36:27.692Z] -> Found 1 reports [2023-05-23T23:36:27.692Z] ==> Detecting git/mercurial file structure [2023-05-23T23:36:27.692Z] ==> Reading reports [2023-05-23T23:36:27.692Z] + ./coverage.out bytes=106150 [2023-05-23T23:36:27.692Z] ==> Appending adjustments [2023-05-23T23:36:27.692Z] https://docs.codecov.io/docs/fixing-reports [2023-05-23T23:36:27.951Z] + Found adjustments [2023-05-23T23:36:27.951Z] ==> Gzipping contents [2023-05-23T23:36:27.951Z] 16K /tmp/codecov.CPmSc2.gz [2023-05-23T23:36:27.951Z] ==> Uploading reports [2023-05-23T23:36:27.951Z] url: https://codecov.io [2023-05-23T23:36:27.951Z] query: branch=PR-1462&commit=d8a8920d452ff20029c4225f8b1af9d3e8c170f9&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1462%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1462&job=&cmd_args= [2023-05-23T23:36:27.951Z] -> Pinging Codecov [2023-05-23T23:36:27.951Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1462&commit=d8a8920d452ff20029c4225f8b1af9d3e8c170f9&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1462%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1462&job=&cmd_args= [2023-05-23T23:36:28.211Z] -> Uploading to [2023-05-23T23:36:28.211Z] https://storage.googleapis.com/codecov/v4/raw/2023-05-23/7E55EF52A471D76F132DFD9A03CDDE97/d8a8920d452ff20029c4225f8b1af9d3e8c170f9/ebacba45-0a2b-458e-8003-d93798e79b4a.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230523%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230523T233628Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=5f14fa915798c475c5e4e1d8d5c1fa3981d5b5924044693da8043ff1a2d6930f [2023-05-23T23:36:28.211Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-23T23:36:28.211Z] Dload Upload Total Spent Left Speed [2023-05-23T23:36:28.471Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 15151 0 0 100 15151 0 70799 --:--:-- --:--:-- --:--:-- 70799 [2023-05-23T23:36:28.471Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/d8a8920d452ff20029c4225f8b1af9d3e8c170f9 [Pipeline] } [2023-05-23T23:36:28.500Z] 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-05-23T23:36:30.289Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1462/archives ] [2023-05-23T23:36:30.289Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1462/archives [2023-05-23T23:36:30.289Z] total 16 [2023-05-23T23:36:30.289Z] drwxr-xr-x 3 root root 4096 May 23 23:22 . [2023-05-23T23:36:30.289Z] drwxrwxr-x 12 jenkins jenkins 4096 May 23 23:23 .. [2023-05-23T23:36:30.289Z] drwxr-xr-x 2 root root 4096 May 23 23:22 cost [2023-05-23T23:36:30.289Z] -rw-r--r-- 1 root root 86 May 23 23:22 cost.csv [2023-05-23T23:36:30.289Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1462/archives [2023-05-23T23:36:30.289Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1462/archives [2023-05-23T23:36:30.289Z] total 16 [2023-05-23T23:36:30.289Z] drwxr-xr-x 3 jenkins jenkins 4096 May 23 23:22 . [2023-05-23T23:36:30.289Z] drwxrwxr-x 12 jenkins jenkins 4096 May 23 23:23 .. [2023-05-23T23:36:30.289Z] drwxr-xr-x 2 jenkins jenkins 4096 May 23 23:22 cost [2023-05-23T23:36:30.289Z] -rw-r--r-- 1 jenkins jenkins 86 May 23 23:22 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-05-23T23:36:30.621Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-23T23:36:31.508Z] ---> package-listing.sh [2023-05-23T23:36:31.508Z] ++ facter osfamily [2023-05-23T23:36:31.508Z] ++ tr '[:upper:]' '[:lower:]' [2023-05-23T23:36:31.767Z] + OS_FAMILY=debian [2023-05-23T23:36:31.767Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1462 [2023-05-23T23:36:31.767Z] + START_PACKAGES=/tmp/packages_start.txt [2023-05-23T23:36:31.767Z] + END_PACKAGES=/tmp/packages_end.txt [2023-05-23T23:36:31.767Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-05-23T23:36:31.767Z] + PACKAGES=/tmp/packages_start.txt [2023-05-23T23:36:31.767Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1462 ']' [2023-05-23T23:36:31.767Z] + PACKAGES=/tmp/packages_end.txt [2023-05-23T23:36:31.767Z] + case "${OS_FAMILY}" in [2023-05-23T23:36:31.767Z] + dpkg -l [2023-05-23T23:36:31.767Z] + grep '^ii' [2023-05-23T23:36:31.767Z] + '[' -f /tmp/packages_start.txt ']' [2023-05-23T23:36:31.767Z] + '[' -f /tmp/packages_end.txt ']' [2023-05-23T23:36:31.767Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-05-23T23:36:31.767Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1462 ']' [2023-05-23T23:36:31.767Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1462/archives/ [2023-05-23T23:36:31.767Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1462/archives/ [Pipeline] echo [2023-05-23T23:36:31.802Z] 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-1462/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-05-23T23:36:32.094Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-23T23:36:32.471Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-23T23:36:32.471Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-23T23:36:32.620Z] prd-ubuntu20.04-docker-8c-8g-16611 does not seem to be running inside a container [2023-05-23T23:36:32.650Z] $ 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-1462/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-1462 -v /w/workspace/gexfoundry_device-sdk-go_PR-1462:/w/workspace/gexfoundry_device-sdk-go_PR-1462:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1462@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1462@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-05-23T23:36:32.816Z] $ docker top 823daa06d9c5d7ee56157f07a79a2f8151fe0779051f347273c34f0050fbc564 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-23T23:36:33.199Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-05-23T23:36:33.510Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-05-23T23:36:33.823Z] + ls /var/log/sa-host [2023-05-23T23:36:33.823Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-23T23:36:33.952Z] provisioning config files... [2023-05-23T23:36:33.961Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1462@tmp/config244771881283846805tmp [Pipeline] { [Pipeline] echo [2023-05-23T23:36:34.015Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-23T23:36:34.326Z] ---> create-netrc.sh [Pipeline] } [2023-05-23T23:36:34.354Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-05-23T23:36:34.759Z] ---> python-tools-install.sh [Pipeline] echo [2023-05-23T23:36:34.795Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-23T23:36:35.117Z] ---> sudo-logs.sh [2023-05-23T23:36:35.117Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-05-23T23:36:35.204Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-23T23:36:35.513Z] ---> job-cost.sh [2023-05-23T23:36:35.514Z] lf-activate-venv: SKIPPING [2023-05-23T23:36:35.514Z] DEBUG: total: 0.2199999988079071 [2023-05-23T23:36:35.514Z] INFO: Retrieving Stack Cost... [2023-05-23T23:36:35.775Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-05-23T23:36:36.348Z] INFO: Archiving Costs [Pipeline] echo [2023-05-23T23:36:36.382Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-23T23:36:36.694Z] ---> logs-deploy.sh [2023-05-23T23:36:36.694Z] lf-activate-venv: SKIPPING [2023-05-23T23:36:36.694Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1462/1 [2023-05-23T23:36:36.694Z] INFO: archiving workspace using pattern(s): [2023-05-23T23:36:37.632Z] Archives upload complete. [2023-05-23T23:36:37.632Z] INFO: archiving logs to Nexus