Pull request #1452 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 0a7abe49cd181cef7a5fd28261f27cd54c0c6f83+c2fb876fcd1e0284408ad645a921007a1ace85f5 (4fd5e6933fff680aadd0ce0a09665d47195f926a) 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-ssh10561393370257277685.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-ssh4534898333905402725.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-1452/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-1452/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7087932731331269126.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-1452/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1588111526823968397.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-ssh16761786027781610182.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-1452/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-1452/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh12994741409632833432.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-14624 in /w/workspace/gexfoundry_device-sdk-go_PR-1452 [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-1452 # 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/1452/head:refs/remotes/origin/PR-1452 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit c2fb876fcd1e0284408ad645a921007a1ace85f5 into PR head commit 0a7abe49cd181cef7a5fd28261f27cd54c0c6f83 Merge succeeded, producing 0a7abe49cd181cef7a5fd28261f27cd54c0c6f83 Checking out Revision 0a7abe49cd181cef7a5fd28261f27cd54c0c6f83 (PR-1452) 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-09T04:59:19.789Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) > git config core.sparsecheckout # timeout=10 > git checkout -f 0a7abe49cd181cef7a5fd28261f27cd54c0c6f83 # 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 c2fb876fcd1e0284408ad645a921007a1ace85f5 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0a7abe49cd181cef7a5fd28261f27cd54c0c6f83 # timeout=10 [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-05-09T04:59:19.968Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-05-09T04:59:20.070Z] ========================================================= [2023-05-09T04:59:20.070Z] EdgeX Global Pipelines Version Info [2023-05-09T04:59:20.070Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-05-09T04:59:22.264Z] ------------------- [2023-05-09T04:59:22.264Z] stable info: [2023-05-09T04:59:22.264Z] ------------------- [2023-05-09T04:59:22.264Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-05-09T04:59:22.264Z] Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd [2023-05-09T04:59:22.264Z] Message: update stable to v1.0.249 [2023-05-09T04:59:22.837Z] ------------------- [2023-05-09T04:59:22.837Z] experimental info: [2023-05-09T04:59:22.837Z] ------------------- [2023-05-09T04:59:22.837Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-05-09T04:59:22.837Z] Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd [2023-05-09T04:59:22.837Z] Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-05-09T04:59:23.144Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-05-09T04:59:23.186Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-05-09T04:59:23.230Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-05-09T04:59:23.275Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-05-09T04:59:23.319Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-05-09T04:59:23.361Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-05-09T04:59:23.403Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-05-09T04:59:23.447Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-05-09T04:59:23.488Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-05-09T04:59:23.530Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-05-09T04:59:23.574Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-05-09T04:59:23.616Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-05-09T04:59:23.658Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-05-09T04:59:23.703Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-05-09T04:59:23.749Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-05-09T04:59:23.793Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-05-09T04:59:23.836Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-05-09T04:59:23.883Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-05-09T04:59:23.927Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-05-09T04:59:23.967Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-05-09T04:59:24.010Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-05-09T04:59:24.062Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2023-05-09T04:59:24.102Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-05-09T04:59:24.145Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-05-09T04:59:24.184Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-05-09T04:59:24.224Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-05-09T04:59:24.272Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-05-09T04:59:24.312Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1452 [Pipeline] echo [2023-05-09T04:59:24.357Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1452 [Pipeline] echo [2023-05-09T04:59:24.399Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1452 [Pipeline] echo [2023-05-09T04:59:24.443Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 0a7abe49cd181cef7a5fd28261f27cd54c0c6f83 [Pipeline] echo [2023-05-09T04:59:24.482Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 0a7abe4 [Pipeline] echo [2023-05-09T04:59:24.532Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-09T04:59:24.652Z] provisioning config files... [2023-05-09T04:59:24.670Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1452@tmp/config13279712678291447376tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-09T04:59:25.018Z] ---> docker-login.sh [2023-05-09T04:59:25.018Z] nexus3.edgexfoundry.org:10001 [2023-05-09T04:59:25.278Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-09T04:59:25.278Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-09T04:59:25.278Z] Configure a credential helper to remove this warning. See [2023-05-09T04:59:25.278Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-09T04:59:25.278Z] [2023-05-09T04:59:25.278Z] Login Succeeded [2023-05-09T04:59:25.278Z] nexus3.edgexfoundry.org:10002 [2023-05-09T04:59:25.540Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-09T04:59:25.540Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-09T04:59:25.540Z] Configure a credential helper to remove this warning. See [2023-05-09T04:59:25.540Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-09T04:59:25.540Z] [2023-05-09T04:59:25.540Z] Login Succeeded [2023-05-09T04:59:25.540Z] nexus3.edgexfoundry.org:10003 [2023-05-09T04:59:25.540Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-09T04:59:25.540Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-09T04:59:25.540Z] Configure a credential helper to remove this warning. See [2023-05-09T04:59:25.540Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-09T04:59:25.540Z] [2023-05-09T04:59:25.540Z] Login Succeeded [2023-05-09T04:59:25.540Z] nexus3.edgexfoundry.org:10004 [2023-05-09T04:59:25.540Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-09T04:59:25.802Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-09T04:59:25.802Z] Configure a credential helper to remove this warning. See [2023-05-09T04:59:25.802Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-09T04:59:25.802Z] [2023-05-09T04:59:25.802Z] Login Succeeded [2023-05-09T04:59:25.802Z] docker.io [2023-05-09T04:59:25.802Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-09T04:59:26.064Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-09T04:59:26.064Z] Configure a credential helper to remove this warning. See [2023-05-09T04:59:26.064Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-09T04:59:26.064Z] [2023-05-09T04:59:26.064Z] Login Succeeded [2023-05-09T04:59:26.064Z] ---> docker-login.sh ends [Pipeline] } [2023-05-09T04:59:26.096Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-05-09T04:59:26.760Z] + git rev-list -1 --merges 0a7abe49cd181cef7a5fd28261f27cd54c0c6f83~1..0a7abe49cd181cef7a5fd28261f27cd54c0c6f83 [Pipeline] echo [2023-05-09T04:59:26.827Z] -----------> git rev-list -1 --merges 0a7abe49cd181cef7a5fd28261f27cd54c0c6f83~1..0a7abe49cd181cef7a5fd28261f27cd54c0c6f83 0a7abe49cd181cef7a5fd28261f27cd54c0c6f83 [false] [Pipeline] sh [2023-05-09T04:59:27.138Z] + git log --format=format:%s -1 0a7abe49cd181cef7a5fd28261f27cd54c0c6f83 [Pipeline] echo [2023-05-09T04:59:27.180Z] ========================================================= [2023-05-09T04:59:27.180Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-05-09T04:59:27.180Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-09T04:59:27.642Z] + git log --format=format:%s -1 0a7abe49cd181cef7a5fd28261f27cd54c0c6f83 [Pipeline] echo [2023-05-09T04:59:27.677Z] [semverPrep] GIT_COMMIT: 0a7abe49cd181cef7a5fd28261f27cd54c0c6f83, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3 [Pipeline] echo [2023-05-09T04:59:27.707Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-05-09T04:59:28.112Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-05-09T04:59:28.112Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-05-09T04:59:28.112Z] + [ -e /tmp/ssh_known_hosts ] [2023-05-09T04:59:28.112Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-05-09T04:59:28.112Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-05-09T04:59:28.112Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-05-09T04:59:28.112Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-09T04:59:28.610Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-09T04:59:28.610Z] [2023-05-09T04:59:28.610Z] 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-09T04:59:30.788Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-09T04:59:30.788Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-05-09T04:59:30.788Z] b85a868b505f: Pulling fs layer [2023-05-09T04:59:30.788Z] e2be974225ed: Pulling fs layer [2023-05-09T04:59:30.788Z] 339a4e72a1f5: Pulling fs layer [2023-05-09T04:59:30.788Z] 988bab9f4d93: Pulling fs layer [2023-05-09T04:59:30.788Z] 1469e6f7b9e6: Pulling fs layer [2023-05-09T04:59:30.788Z] eaf3925da568: Pulling fs layer [2023-05-09T04:59:30.788Z] bab4dde63d76: Pulling fs layer [2023-05-09T04:59:30.788Z] bde34c3a00c8: Pulling fs layer [2023-05-09T04:59:30.788Z] b352a97aabf1: Pulling fs layer [2023-05-09T04:59:30.788Z] 4872d77fe225: Pulling fs layer [2023-05-09T04:59:30.788Z] 5851b861e8e6: Pulling fs layer [2023-05-09T04:59:30.788Z] bab4dde63d76: Waiting [2023-05-09T04:59:30.788Z] bde34c3a00c8: Waiting [2023-05-09T04:59:30.788Z] 1469e6f7b9e6: Waiting [2023-05-09T04:59:30.788Z] b352a97aabf1: Waiting [2023-05-09T04:59:30.788Z] eaf3925da568: Waiting [2023-05-09T04:59:30.788Z] 5851b861e8e6: Waiting [2023-05-09T04:59:30.788Z] 988bab9f4d93: Waiting [2023-05-09T04:59:30.788Z] 4872d77fe225: Waiting [2023-05-09T04:59:30.788Z] e2be974225ed: Verifying Checksum [2023-05-09T04:59:30.788Z] e2be974225ed: Download complete [2023-05-09T04:59:30.788Z] 988bab9f4d93: Download complete [2023-05-09T04:59:32.943Z] 1469e6f7b9e6: Verifying Checksum [2023-05-09T04:59:32.943Z] 1469e6f7b9e6: Download complete [2023-05-09T04:59:32.943Z] eaf3925da568: Verifying Checksum [2023-05-09T04:59:32.943Z] 339a4e72a1f5: Verifying Checksum [2023-05-09T04:59:32.943Z] eaf3925da568: Download complete [2023-05-09T04:59:32.943Z] 339a4e72a1f5: Download complete [2023-05-09T04:59:32.943Z] bde34c3a00c8: Verifying Checksum [2023-05-09T04:59:32.943Z] bde34c3a00c8: Download complete [2023-05-09T04:59:32.943Z] b352a97aabf1: Download complete [2023-05-09T04:59:32.943Z] 4872d77fe225: Download complete [2023-05-09T04:59:32.943Z] 5851b861e8e6: Download complete [2023-05-09T04:59:32.943Z] b85a868b505f: Verifying Checksum [2023-05-09T04:59:32.943Z] b85a868b505f: Download complete [2023-05-09T04:59:33.202Z] bab4dde63d76: Verifying Checksum [2023-05-09T04:59:33.202Z] bab4dde63d76: Download complete [2023-05-09T04:59:34.138Z] b85a868b505f: Pull complete [2023-05-09T04:59:34.138Z] e2be974225ed: Pull complete [2023-05-09T04:59:34.705Z] 339a4e72a1f5: Pull complete [2023-05-09T04:59:34.705Z] 988bab9f4d93: Pull complete [2023-05-09T04:59:34.965Z] 1469e6f7b9e6: Pull complete [2023-05-09T04:59:35.223Z] eaf3925da568: Pull complete [2023-05-09T04:59:36.598Z] bab4dde63d76: Pull complete [2023-05-09T04:59:36.861Z] bde34c3a00c8: Pull complete [2023-05-09T04:59:36.861Z] b352a97aabf1: Pull complete [2023-05-09T04:59:36.861Z] 4872d77fe225: Pull complete [2023-05-09T04:59:37.121Z] 5851b861e8e6: Pull complete [2023-05-09T04:59:37.121Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-05-09T04:59:37.121Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-09T04:59:37.121Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-09T04:59:37.348Z] prd-ubuntu20.04-docker-8c-8g-14624 does not seem to be running inside a container [2023-05-09T04:59:37.382Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1452 -v /w/workspace/gexfoundry_device-sdk-go_PR-1452:/w/workspace/gexfoundry_device-sdk-go_PR-1452:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1452@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1452@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-05-09T04:59:39.463Z] $ docker top 67f609b3b5ab8f8e2c0f8a03836a311ae0c0de04434c2b823e05ea482f009ecc -eo pid,comm [2023-05-09T04:59:39.519Z] 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-09T04:59:39.519Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-05-09T04:59:39.648Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-09T04:59:39.648Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-09T04:59:39.757Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-09T04:59:39.762Z] $ docker exec 67f609b3b5ab8f8e2c0f8a03836a311ae0c0de04434c2b823e05ea482f009ecc ssh-agent [2023-05-09T04:59:39.871Z] SSH_AUTH_SOCK=/tmp/ssh-3Vnx4e87veRV/agent.32 [2023-05-09T04:59:39.871Z] SSH_AGENT_PID=38 [2023-05-09T04:59:39.878Z] Running ssh-add (command line suppressed) [2023-05-09T04:59:39.985Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1452@tmp/private_key_16117736848140273027.key (/w/workspace/gexfoundry_device-sdk-go_PR-1452@tmp/private_key_16117736848140273027.key) [2023-05-09T04:59:39.996Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-09T04:59:40.325Z] + git tag --points-at HEAD [Pipeline] } [2023-05-09T04:59:40.354Z] $ docker exec --env ******** --env ******** 67f609b3b5ab8f8e2c0f8a03836a311ae0c0de04434c2b823e05ea482f009ecc ssh-agent -k [2023-05-09T04:59:40.447Z] unset SSH_AUTH_SOCK; [2023-05-09T04:59:40.448Z] unset SSH_AGENT_PID; [2023-05-09T04:59:40.448Z] echo Agent pid 38 killed; [2023-05-09T04:59:40.455Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-05-09T04:59:40.547Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-09T04:59:40.547Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-09T04:59:40.651Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-09T04:59:40.657Z] $ docker exec 67f609b3b5ab8f8e2c0f8a03836a311ae0c0de04434c2b823e05ea482f009ecc ssh-agent [2023-05-09T04:59:40.767Z] SSH_AUTH_SOCK=/tmp/ssh-MyDDpW790k4r/agent.71 [2023-05-09T04:59:40.767Z] SSH_AGENT_PID=77 [2023-05-09T04:59:40.772Z] Running ssh-add (command line suppressed) [2023-05-09T04:59:40.902Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1452@tmp/private_key_1812295718823329348.key (/w/workspace/gexfoundry_device-sdk-go_PR-1452@tmp/private_key_1812295718823329348.key) [2023-05-09T04:59:40.916Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-09T04:59:41.249Z] + git semver init [2023-05-09T04:59:41.511Z] 2023-05-09 04:59:41,413 [run_init] DEBUG init version:0.0.0 force:False [2023-05-09T04:59:41.511Z] 2023-05-09 04:59:41,414 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1452/.semver [2023-05-09T04:59:41.511Z] 2023-05-09 04:59:41,415 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1452/.semver [2023-05-09T04:59:41.511Z] 2023-05-09 04:59:41,415 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1452/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1452, universal_newlines=False, shell=None, istream=None) [2023-05-09T04:59:42.453Z] 2023-05-09 04:59:42,296 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1452/.git/info/exclude [2023-05-09T04:59:42.453Z] 2023-05-09 04:59:42,297 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1452/.semver/PR-1452 with force:False [2023-05-09T04:59:42.453Z] 2023-05-09 04:59:42,297 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1452/.semver/PR-1452 [2023-05-09T04:59:42.453Z] 2023-05-09 04:59:42,301 [execute] INFO git cat-file --batch-check [2023-05-09T04:59:42.453Z] 2023-05-09 04:59:42,302 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1452/.semver, universal_newlines=False, shell=None, istream=) [2023-05-09T04:59:42.453Z] 2023-05-09 04:59:42,306 [execute] INFO git cat-file --batch [2023-05-09T04:59:42.453Z] 2023-05-09 04:59:42,307 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1452/.semver, universal_newlines=False, shell=None, istream=) [2023-05-09T04:59:42.454Z] 2023-05-09 04:59:42,311 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1452/.semver/PR-1452 [2023-05-09T04:59:42.454Z] 0.0.0 [Pipeline] } [2023-05-09T04:59:42.483Z] $ docker exec --env ******** --env ******** 67f609b3b5ab8f8e2c0f8a03836a311ae0c0de04434c2b823e05ea482f009ecc ssh-agent -k [2023-05-09T04:59:42.574Z] unset SSH_AUTH_SOCK; [2023-05-09T04:59:42.574Z] unset SSH_AGENT_PID; [2023-05-09T04:59:42.574Z] echo Agent pid 77 killed; [2023-05-09T04:59:42.580Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-05-09T04:59:43.027Z] + git semver [Pipeline] } [2023-05-09T04:59:43.315Z] $ docker stop --time=1 67f609b3b5ab8f8e2c0f8a03836a311ae0c0de04434c2b823e05ea482f009ecc [2023-05-09T04:59:44.609Z] $ docker rm -f --volumes 67f609b3b5ab8f8e2c0f8a03836a311ae0c0de04434c2b823e05ea482f009ecc [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-09T04:59:45.015Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-05-09T04:59:45.255Z] Stashed 1 file(s) [Pipeline] echo [2023-05-09T04:59:45.273Z] [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-09T04:59:45.936Z] provisioning config files... [2023-05-09T04:59:45.946Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1452@tmp/config11666718460104775510tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-09T04:59:46.337Z] ---> docker-login.sh [2023-05-09T04:59:46.338Z] nexus3.edgexfoundry.org:10001 [2023-05-09T04:59:46.338Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-09T04:59:46.338Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-09T04:59:46.338Z] Configure a credential helper to remove this warning. See [2023-05-09T04:59:46.338Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-09T04:59:46.338Z] [2023-05-09T04:59:46.338Z] Login Succeeded [2023-05-09T04:59:46.338Z] nexus3.edgexfoundry.org:10002 [2023-05-09T04:59:46.338Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-09T04:59:46.338Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-09T04:59:46.338Z] Configure a credential helper to remove this warning. See [2023-05-09T04:59:46.338Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-09T04:59:46.338Z] [2023-05-09T04:59:46.338Z] Login Succeeded [2023-05-09T04:59:46.338Z] nexus3.edgexfoundry.org:10003 [2023-05-09T04:59:46.601Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-09T04:59:46.601Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-09T04:59:46.601Z] Configure a credential helper to remove this warning. See [2023-05-09T04:59:46.601Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-09T04:59:46.601Z] [2023-05-09T04:59:46.601Z] Login Succeeded [2023-05-09T04:59:46.601Z] nexus3.edgexfoundry.org:10004 [2023-05-09T04:59:46.601Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-09T04:59:46.601Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-09T04:59:46.601Z] Configure a credential helper to remove this warning. See [2023-05-09T04:59:46.601Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-09T04:59:46.601Z] [2023-05-09T04:59:46.601Z] Login Succeeded [2023-05-09T04:59:46.601Z] docker.io [2023-05-09T04:59:46.601Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-09T04:59:46.862Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-09T04:59:46.862Z] Configure a credential helper to remove this warning. See [2023-05-09T04:59:46.862Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-09T04:59:46.862Z] [2023-05-09T04:59:46.862Z] Login Succeeded [2023-05-09T04:59:46.862Z] ---> docker-login.sh ends [Pipeline] } [2023-05-09T04:59:46.892Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-05-09T04:59:47.087Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-09T04:59:47.124Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-09T04:59:47.157Z] ========================================================= [2023-05-09T04:59:47.157Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-05-09T04:59:47.157Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-09T04:59:47.627Z] + 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-09T04:59:47.627Z] Sending build context to Docker daemon 11.08MB [2023-05-09T04:59:47.627Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-05-09T04:59:47.627Z] Step 2/10 : FROM ${BASE} AS builder [2023-05-09T04:59:47.627Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-05-09T04:59:47.627Z] f56be85fc22e: Pulling fs layer [2023-05-09T04:59:47.627Z] 85791d961cd3: Pulling fs layer [2023-05-09T04:59:47.627Z] d694b5ae8c79: Pulling fs layer [2023-05-09T04:59:47.627Z] 9f32a84ed3da: Pulling fs layer [2023-05-09T04:59:47.627Z] 4d19c01a9841: Pulling fs layer [2023-05-09T04:59:47.627Z] 9325e15d5711: Pulling fs layer [2023-05-09T04:59:47.627Z] 556b6ee489ea: Pulling fs layer [2023-05-09T04:59:47.627Z] c5a4b2cf53e6: Pulling fs layer [2023-05-09T04:59:47.627Z] 9f32a84ed3da: Waiting [2023-05-09T04:59:47.627Z] 556b6ee489ea: Waiting [2023-05-09T04:59:47.627Z] c5a4b2cf53e6: Waiting [2023-05-09T04:59:47.627Z] 9325e15d5711: Waiting [2023-05-09T04:59:47.627Z] 85791d961cd3: Verifying Checksum [2023-05-09T04:59:47.889Z] 9f32a84ed3da: Download complete [2023-05-09T04:59:47.889Z] 4d19c01a9841: Verifying Checksum [2023-05-09T04:59:47.889Z] 4d19c01a9841: Download complete [2023-05-09T04:59:47.889Z] f56be85fc22e: Verifying Checksum [2023-05-09T04:59:47.889Z] f56be85fc22e: Download complete [2023-05-09T04:59:47.889Z] 9325e15d5711: Verifying Checksum [2023-05-09T04:59:47.889Z] 9325e15d5711: Download complete [2023-05-09T04:59:47.889Z] f56be85fc22e: Pull complete [2023-05-09T04:59:48.151Z] 85791d961cd3: Pull complete [2023-05-09T04:59:48.412Z] c5a4b2cf53e6: Verifying Checksum [2023-05-09T04:59:48.412Z] c5a4b2cf53e6: Download complete [2023-05-09T04:59:48.412Z] d694b5ae8c79: Verifying Checksum [2023-05-09T04:59:48.412Z] d694b5ae8c79: Download complete [2023-05-09T04:59:48.672Z] 556b6ee489ea: Verifying Checksum [2023-05-09T04:59:48.672Z] 556b6ee489ea: Download complete [2023-05-09T04:59:51.956Z] d694b5ae8c79: Pull complete [2023-05-09T04:59:51.956Z] 9f32a84ed3da: Pull complete [2023-05-09T04:59:51.956Z] 4d19c01a9841: Pull complete [2023-05-09T04:59:51.956Z] 9325e15d5711: Pull complete [2023-05-09T04:59:53.855Z] 556b6ee489ea: Pull complete [2023-05-09T04:59:54.792Z] c5a4b2cf53e6: Pull complete [2023-05-09T04:59:54.792Z] Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b [2023-05-09T04:59:54.792Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-05-09T04:59:54.792Z] ---> c4be618373d6 [2023-05-09T04:59:54.792Z] Step 3/10 : ARG MAKE=make build [2023-05-09T04:59:59.016Z] ---> Running in 6ca114648189 [2023-05-09T04:59:59.016Z] Removing intermediate container 6ca114648189 [2023-05-09T04:59:59.016Z] ---> a01dbd326243 [2023-05-09T04:59:59.016Z] Step 4/10 : WORKDIR /device-sdk-go [2023-05-09T04:59:59.016Z] ---> Running in 42390ab593a2 [2023-05-09T04:59:59.016Z] Removing intermediate container 42390ab593a2 [2023-05-09T04:59:59.016Z] ---> 6c23fc0f8703 [2023-05-09T04:59:59.016Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-05-09T04:59:59.016Z] ---> Running in 18b05913868f [2023-05-09T04:59:59.016Z] Removing intermediate container 18b05913868f [2023-05-09T04:59:59.016Z] ---> 2ba68243a40a [2023-05-09T04:59:59.016Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-05-09T04:59:59.016Z] ---> Running in d41cdaa6bf1c [2023-05-09T04:59:59.016Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-09T04:59:59.274Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-09T04:59:59.274Z] OK: 265 MiB in 53 packages [2023-05-09T04:59:59.841Z] Removing intermediate container d41cdaa6bf1c [2023-05-09T04:59:59.841Z] ---> 8fb1b2f918a4 [2023-05-09T04:59:59.841Z] Step 7/10 : COPY go.mod vendor* ./ [2023-05-09T04:59:59.841Z] ---> 0cffe21467fe [2023-05-09T04:59:59.841Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-09T04:59:59.841Z] ---> Running in 22d0c33ee278 [2023-05-09T05:00:00.739Z] Still waiting to schedule task [2023-05-09T05:00:00.739Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-05-09T05:00:26.414Z] Removing intermediate container 22d0c33ee278 [2023-05-09T05:00:26.415Z] ---> e568e6a84bad [2023-05-09T05:00:26.415Z] Step 9/10 : COPY . . [2023-05-09T05:00:26.415Z] ---> ccb0133afcf1 [2023-05-09T05:00:26.415Z] Step 10/10 : RUN ${MAKE} [2023-05-09T05:00:26.415Z] ---> Running in 026e653c91d8 [2023-05-09T05:00:26.415Z] noop [2023-05-09T05:00:26.415Z] Removing intermediate container 026e653c91d8 [2023-05-09T05:00:26.415Z] ---> 676a4da7d858 [2023-05-09T05:00:26.415Z] Successfully built 676a4da7d858 [2023-05-09T05:00:26.415Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-09T05:00:26.872Z] + docker inspect -f . ci-base-image-x86_64 [2023-05-09T05:00:26.872Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-09T05:00:27.027Z] prd-ubuntu20.04-docker-8c-8g-14624 does not seem to be running inside a container [2023-05-09T05:00:27.061Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1452 -v /w/workspace/gexfoundry_device-sdk-go_PR-1452:/w/workspace/gexfoundry_device-sdk-go_PR-1452:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1452@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1452@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-05-09T05:00:27.634Z] $ docker top a9f7f84ae2a6af4635b9433c6b9b40bc8a1d3a365be8968761b83e66e9f0063c -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-09T05:00:28.025Z] + go version [2023-05-09T05:00:28.025Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-05-09T05:00:28.060Z] $ docker stop --time=1 a9f7f84ae2a6af4635b9433c6b9b40bc8a1d3a365be8968761b83e66e9f0063c [2023-05-09T05:00:29.298Z] $ docker rm -f --volumes a9f7f84ae2a6af4635b9433c6b9b40bc8a1d3a365be8968761b83e66e9f0063c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-09T05:00:30.038Z] + docker inspect -f . ci-base-image-x86_64 [2023-05-09T05:00:30.038Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-09T05:00:30.189Z] prd-ubuntu20.04-docker-8c-8g-14624 does not seem to be running inside a container [2023-05-09T05:00:30.221Z] $ 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-1452 -v /w/workspace/gexfoundry_device-sdk-go_PR-1452:/w/workspace/gexfoundry_device-sdk-go_PR-1452:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1452@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1452@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-05-09T05:00:30.558Z] $ docker top b9a5037233db461a06f5619cf44f5164f152e09b4df7601046d3204f09257d91 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-09T05:00:30.947Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1452 [Pipeline] fileExists [Pipeline] sh [2023-05-09T05:00:31.310Z] + make test [2023-05-09T05:00:31.310Z] go test -race -coverprofile=coverage.out ./... [2023-05-09T05:00:37.873Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-05-09T05:00:53.688Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-05-09T05:00:53.688Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-05-09T05:00:53.688Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-05-09T05:00:53.688Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-05-09T05:00:53.688Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-05-09T05:00:53.688Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.059s coverage: 27.6% of statements [2023-05-09T05:00:53.688Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-05-09T05:00:53.688Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-05-09T05:00:53.688Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.058s coverage: 80.2% of statements [2023-05-09T05:00:53.688Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.075s coverage: 86.0% of statements [2023-05-09T05:00:53.688Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-05-09T05:00:53.688Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-05-09T05:00:53.688Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.087s coverage: 77.5% of statements [2023-05-09T05:00:53.688Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-05-09T05:00:53.688Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-05-09T05:00:54.254Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-05-09T05:00:56.782Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.082s coverage: 14.6% of statements [2023-05-09T05:00:56.782Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.085s coverage: 68.5% of statements [2023-05-09T05:00:56.782Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.111s coverage: 89.2% of statements [2023-05-09T05:00:56.782Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.061s coverage: 5.5% of statements [2023-05-09T05:01:16.018Z] GO111MODULE=on go vet ./... [2023-05-09T05:01:17.390Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-05-09T05:01:17.391Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-05-09T05:01:17.391Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-05-09T05:01:17.428Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-05-09T05:01:17.464Z] $ docker stop --time=1 b9a5037233db461a06f5619cf44f5164f152e09b4df7601046d3204f09257d91 [2023-05-09T05:01:20.980Z] $ docker rm -f --volumes b9a5037233db461a06f5619cf44f5164f152e09b4df7601046d3204f09257d91 [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-09T05:01:21.559Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-05-09T05:01:21.666Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-05-09T05:01:22.362Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-05-09T05:01:22.678Z] + ls -al . [2023-05-09T05:01:22.678Z] total 272 [2023-05-09T05:01:22.678Z] drwxrwxr-x 11 jenkins jenkins 4096 May 9 05:00 . [2023-05-09T05:01:22.678Z] drwxrwxr-x 4 jenkins jenkins 4096 May 9 04:59 .. [2023-05-09T05:01:22.678Z] -rw-rw-r-- 1 jenkins jenkins 140 May 9 04:59 .dockerignore [2023-05-09T05:01:22.678Z] drwxrwxr-x 8 jenkins jenkins 4096 May 9 04:59 .git [2023-05-09T05:01:22.678Z] drwxrwxr-x 2 jenkins jenkins 4096 May 9 04:59 .github [2023-05-09T05:01:22.678Z] -rw-rw-r-- 1 jenkins jenkins 131 May 9 04:59 .gitignore [2023-05-09T05:01:22.678Z] -rw-rw-r-- 1 jenkins jenkins 42 May 9 04:59 .golangci.yml [2023-05-09T05:01:22.678Z] drwxr-xr-x 3 jenkins jenkins 4096 May 9 04:59 .semver [2023-05-09T05:01:22.678Z] -rw-rw-r-- 1 jenkins jenkins 31677 May 9 04:59 CHANGELOG.md [2023-05-09T05:01:22.678Z] -rw-rw-r-- 1 jenkins jenkins 677 May 9 04:59 GOVERNANCE.md [2023-05-09T05:01:22.678Z] -rw-rw-r-- 1 jenkins jenkins 885 May 9 04:59 Jenkinsfile [2023-05-09T05:01:22.678Z] -rw-rw-r-- 1 jenkins jenkins 11341 May 9 04:59 LICENSE [2023-05-09T05:01:22.678Z] -rw-rw-r-- 1 jenkins jenkins 1714 May 9 04:59 Makefile [2023-05-09T05:01:22.678Z] -rw-rw-r-- 1 jenkins jenkins 619 May 9 04:59 OWNERS.md [2023-05-09T05:01:22.678Z] -rw-rw-r-- 1 jenkins jenkins 4891 May 9 04:59 README.md [2023-05-09T05:01:22.678Z] -rw-rw-r-- 1 jenkins jenkins 5 May 9 04:59 VERSION [2023-05-09T05:01:22.678Z] drwxrwxr-x 2 jenkins jenkins 4096 May 9 04:59 bin [2023-05-09T05:01:22.678Z] -rw-r--r-- 1 jenkins jenkins 106119 May 9 05:00 coverage.out [2023-05-09T05:01:22.678Z] drwxrwxr-x 5 jenkins jenkins 4096 May 9 04:59 example [2023-05-09T05:01:22.678Z] -rw-rw-r-- 1 jenkins jenkins 3246 May 9 04:59 go.mod [2023-05-09T05:01:22.678Z] -rw-rw-r-- 1 jenkins jenkins 30781 May 9 04:59 go.sum [2023-05-09T05:01:22.678Z] drwxrwxr-x 12 jenkins jenkins 4096 May 9 04:59 internal [2023-05-09T05:01:22.678Z] drwxrwxr-x 3 jenkins jenkins 4096 May 9 04:59 openapi [2023-05-09T05:01:22.678Z] drwxrwxr-x 6 jenkins jenkins 4096 May 9 04:59 pkg [2023-05-09T05:01:22.678Z] drwxrwxr-x 4 jenkins jenkins 4096 May 9 04:59 snap [2023-05-09T05:01:22.678Z] -rw-rw-r-- 1 jenkins jenkins 222 May 9 04:59 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-09T05:01:23.082Z] + 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=0a7abe49cd181cef7a5fd28261f27cd54c0c6f83 --label arch=amd64 --label version=0.0.0 . [2023-05-09T05:01:23.082Z] Sending build context to Docker daemon 11.18MB [2023-05-09T05:01:23.082Z] Step 1/23 : ARG BASE=golang:1.20-alpine3.17 [2023-05-09T05:01:23.082Z] Step 2/23 : FROM ${BASE} AS builder [2023-05-09T05:01:23.082Z] ---> 676a4da7d858 [2023-05-09T05:01:23.082Z] Step 3/23 : ARG MAKE=make build [2023-05-09T05:01:23.348Z] ---> Running in 4b8ee0182f7a [2023-05-09T05:01:23.348Z] Removing intermediate container 4b8ee0182f7a [2023-05-09T05:01:23.348Z] ---> 3e11d94fba51 [2023-05-09T05:01:23.348Z] Step 4/23 : WORKDIR /device-sdk-go [2023-05-09T05:01:23.348Z] ---> Running in f15a1cf043c9 [2023-05-09T05:01:23.348Z] Removing intermediate container f15a1cf043c9 [2023-05-09T05:01:23.348Z] ---> 6b29f6977c69 [2023-05-09T05:01:23.348Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-05-09T05:01:23.607Z] ---> Running in 183ab85ae665 [2023-05-09T05:01:23.607Z] Removing intermediate container 183ab85ae665 [2023-05-09T05:01:23.607Z] ---> e33ea8995110 [2023-05-09T05:01:23.607Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-05-09T05:01:23.607Z] ---> Running in 54d50742b16a [2023-05-09T05:01:23.866Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-09T05:01:23.866Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-09T05:01:24.126Z] OK: 265 MiB in 53 packages [2023-05-09T05:01:24.385Z] Removing intermediate container 54d50742b16a [2023-05-09T05:01:24.385Z] ---> fc1587ece554 [2023-05-09T05:01:24.385Z] Step 7/23 : COPY go.mod vendor* ./ [2023-05-09T05:01:24.643Z] ---> 139af8bec96e [2023-05-09T05:01:24.643Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-09T05:01:24.643Z] ---> Running in 4bfea28c8197 [2023-05-09T05:01:25.210Z] Removing intermediate container 4bfea28c8197 [2023-05-09T05:01:25.210Z] ---> d2bff23e651f [2023-05-09T05:01:25.210Z] Step 9/23 : COPY . . [2023-05-09T05:01:25.776Z] ---> 78b0b997079e [2023-05-09T05:01:25.776Z] Step 10/23 : RUN ${MAKE} [2023-05-09T05:01:25.776Z] ---> Running in d5c2d307acca [2023-05-09T05:01:26.402Z] 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-09T05:01:42.850Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-14626 in /w/workspace/gexfoundry_device-sdk-go_PR-1452 [Pipeline] { [Pipeline] ws [2023-05-09T05:01:42.914Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2023-05-09T05:01:43.009Z] The recommended git tool is: git [2023-05-09T05:01:44.497Z] Removing intermediate container d5c2d307acca [2023-05-09T05:01:44.497Z] ---> 7ffe81b40a30 [2023-05-09T05:01:44.497Z] Step 11/23 : FROM alpine:3.17 [2023-05-09T05:01:44.497Z] 3.17: Pulling from library/alpine [2023-05-09T05:01:44.497Z] f56be85fc22e: Already exists [2023-05-09T05:01:44.497Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-05-09T05:01:44.497Z] Status: Downloaded newer image for alpine:3.17 [2023-05-09T05:01:44.497Z] ---> 9ed4aefc74f6 [2023-05-09T05:01:44.497Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-05-09T05:01:44.497Z] ---> Running in 47a891ccf1ab [2023-05-09T05:01:44.497Z] Removing intermediate container 47a891ccf1ab [2023-05-09T05:01:44.497Z] ---> 38e819b1e2bd [2023-05-09T05:01:44.497Z] Step 13/23 : RUN apk add --update --no-cache [2023-05-09T05:01:44.497Z] ---> Running in 8235f8c2a5e9 [2023-05-09T05:01:44.756Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-09T05:01:44.756Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-09T05:01:45.014Z] OK: 7 MiB in 15 packages [2023-05-09T05:01:45.289Z] Removing intermediate container 8235f8c2a5e9 [2023-05-09T05:01:45.289Z] ---> eeacc544c975 [2023-05-09T05:01:45.289Z] Step 14/23 : WORKDIR / [2023-05-09T05:01:45.547Z] ---> Running in 6fa0f41d097a [2023-05-09T05:01:45.806Z] Removing intermediate container 6fa0f41d097a [2023-05-09T05:01:45.806Z] ---> 494a4fd81020 [2023-05-09T05:01:45.806Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-05-09T05:01:46.068Z] ---> b8aad88a3d12 [2023-05-09T05:01:46.068Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-05-09T05:01:46.707Z] ---> 599a8eda96b3 [2023-05-09T05:01:46.707Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-05-09T05:01:47.279Z] ---> 837f345ff33a [2023-05-09T05:01:47.279Z] Step 18/23 : EXPOSE 59999 [2023-05-09T05:01:47.279Z] ---> Running in 61634114fdca [2023-05-09T05:01:47.538Z] Removing intermediate container 61634114fdca [2023-05-09T05:01:47.538Z] ---> cb422ee0702e [2023-05-09T05:01:47.538Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-05-09T05:01:47.538Z] ---> Running in cc96314eabd7 [2023-05-09T05:01:47.798Z] Removing intermediate container cc96314eabd7 [2023-05-09T05:01:47.798Z] ---> df2313089b73 [2023-05-09T05:01:47.798Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-05-09T05:01:48.057Z] ---> Running in f68472ce170d [2023-05-09T05:01:48.057Z] Removing intermediate container f68472ce170d [2023-05-09T05:01:48.057Z] ---> 0c8c166a2c7a [2023-05-09T05:01:48.057Z] Step 21/23 : LABEL arch=amd64 [2023-05-09T05:01:48.315Z] ---> Running in e736d7ff22ea [2023-05-09T05:01:48.573Z] Removing intermediate container e736d7ff22ea [2023-05-09T05:01:48.573Z] ---> cb9a45efec6e [2023-05-09T05:01:48.573Z] Step 22/23 : LABEL git_sha=0a7abe49cd181cef7a5fd28261f27cd54c0c6f83 [2023-05-09T05:01:48.573Z] ---> Running in 4124a6f6d35c [2023-05-09T05:01:48.822Z] using credential edgex-jenkins-ssh [2023-05-09T05:01:48.833Z] Removing intermediate container 4124a6f6d35c [2023-05-09T05:01:48.833Z] ---> ec9dcc767d05 [2023-05-09T05:01:48.833Z] Step 23/23 : LABEL version=0.0.0 [2023-05-09T05:01:48.833Z] ---> Running in 6f66ea015b3f [2023-05-09T05:01:48.839Z] Cloning the remote Git repository [2023-05-09T05:01:49.091Z] Removing intermediate container 6f66ea015b3f [2023-05-09T05:01:49.092Z] ---> 6abc8bde95b4 [2023-05-09T05:01:49.092Z] [Warning] One or more build-args [ARCH] were not consumed [2023-05-09T05:01:49.092Z] Successfully built 6abc8bde95b4 [2023-05-09T05:01:49.092Z] Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [2023-05-09T05:01:48.888Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-05-09T05:01:48.986Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2023-05-09T05:01:49.134Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-05-09T05:01:49.136Z] > git --version # timeout=10 [2023-05-09T05:01:49.158Z] > git --version # 'git version 2.25.1' [2023-05-09T05:01:49.160Z] using GIT_SSH to set credentials SSH Credentials for GitHub 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-09T05:01:49.960Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-09T05:01:49.961Z] [2023-05-09T05:01:49.961Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-09T05:01:50.335Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-09T05:01:50.336Z] latest: Pulling from edgex-lftools-log-publisher [2023-05-09T05:01:50.336Z] 5eb5b503b376: Pulling fs layer [2023-05-09T05:01:50.336Z] 5c69ac0246d0: Pulling fs layer [2023-05-09T05:01:50.336Z] ec43610c2a17: Pulling fs layer [2023-05-09T05:01:50.336Z] 3a2ae6a8a46f: Pulling fs layer [2023-05-09T05:01:50.336Z] 33b1e0a273af: Pulling fs layer [2023-05-09T05:01:50.336Z] 5d3b04190fa2: Pulling fs layer [2023-05-09T05:01:50.336Z] 2f39f015ded8: Pulling fs layer [2023-05-09T05:01:50.336Z] 3a2ae6a8a46f: Waiting [2023-05-09T05:01:50.336Z] 5d3b04190fa2: Waiting [2023-05-09T05:01:50.336Z] 33b1e0a273af: Waiting [2023-05-09T05:01:50.336Z] 2f39f015ded8: Waiting [2023-05-09T05:01:50.336Z] 5c69ac0246d0: Download complete [2023-05-09T05:01:50.336Z] 3a2ae6a8a46f: Verifying Checksum [2023-05-09T05:01:50.336Z] 3a2ae6a8a46f: Download complete [2023-05-09T05:01:49.326Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-05-09T05:01:50.594Z] ec43610c2a17: Verifying Checksum [2023-05-09T05:01:50.594Z] ec43610c2a17: Download complete [2023-05-09T05:01:50.594Z] 33b1e0a273af: Verifying Checksum [2023-05-09T05:01:50.594Z] 33b1e0a273af: Download complete [2023-05-09T05:01:50.594Z] 5d3b04190fa2: Download complete [2023-05-09T05:01:50.594Z] 5eb5b503b376: Verifying Checksum [2023-05-09T05:01:50.594Z] 5eb5b503b376: Download complete [2023-05-09T05:01:51.168Z] 2f39f015ded8: Verifying Checksum [2023-05-09T05:01:51.169Z] 2f39f015ded8: Download complete [2023-05-09T05:01:52.103Z] 5eb5b503b376: Pull complete [2023-05-09T05:01:52.103Z] 5c69ac0246d0: Pull complete [2023-05-09T05:01:52.362Z] ec43610c2a17: Pull complete [2023-05-09T05:01:52.362Z] 3a2ae6a8a46f: Pull complete [2023-05-09T05:01:52.620Z] 33b1e0a273af: Pull complete [2023-05-09T05:01:52.878Z] 5d3b04190fa2: Pull complete [2023-05-09T05:01:53.196Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-05-09T05:01:53.229Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-05-09T05:01:54.761Z] Merging remotes/origin/main commit c2fb876fcd1e0284408ad645a921007a1ace85f5 into PR head commit 0a7abe49cd181cef7a5fd28261f27cd54c0c6f83 [2023-05-09T05:01:54.152Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-05-09T05:01:54.191Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-05-09T05:01:54.192Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-09T05:01:54.208Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1452/head:refs/remotes/origin/PR-1452 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-05-09T05:01:54.784Z] > git config core.sparsecheckout # timeout=10 [2023-05-09T05:01:55.067Z] Merge succeeded, producing 0a7abe49cd181cef7a5fd28261f27cd54c0c6f83 [2023-05-09T05:01:55.067Z] Checking out Revision 0a7abe49cd181cef7a5fd28261f27cd54c0c6f83 (PR-1452) [2023-05-09T05:01:55.518Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3" [2023-05-09T05:01:55.563Z] > git --version # timeout=10 [2023-05-09T05:01:55.576Z] > git --version # 'git version 2.25.1' [2023-05-09T05:01:55.599Z] fatal: bad object 4fc256d9079ed2258907e613f84b1b8da264a4bd [2023-05-09T05:01:55.911Z] [2023-05-09T05:01:55.911Z] GitHub has been notified of this commit’s build result [2023-05-09T05:01:55.911Z] [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-09T05:01:54.855Z] > git checkout -f 0a7abe49cd181cef7a5fd28261f27cd54c0c6f83 # timeout=10 [2023-05-09T05:01:54.967Z] > git remote # timeout=10 [2023-05-09T05:01:54.988Z] > git config --get remote.origin.url # timeout=10 [2023-05-09T05:01:55.012Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-09T05:01:55.026Z] > git merge c2fb876fcd1e0284408ad645a921007a1ace85f5 # timeout=10 [2023-05-09T05:01:55.052Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-05-09T05:01:55.074Z] > git config core.sparsecheckout # timeout=10 [2023-05-09T05:01:55.086Z] > git checkout -f 0a7abe49cd181cef7a5fd28261f27cd54c0c6f83 # timeout=10 [2023-05-09T05:01:56.642Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-05-09T05:01:56.642Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-09T05:01:56.642Z] Dload Upload Total Spent Left Speed [2023-05-09T05:01:56.642Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 104k 0 --:--:-- --:--:-- --:--:-- 104k [Pipeline] sh [2023-05-09T05:01:57.074Z] 2f39f015ded8: Pull complete [2023-05-09T05:01:57.074Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-05-09T05:01:57.074Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-09T05:01:57.074Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-09T05:01:57.269Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [2023-05-09T05:01:57.310Z] prd-ubuntu20.04-docker-8c-8g-14624 does not seem to be running inside a container [2023-05-09T05:01:57.352Z] $ 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-1452 -v /w/workspace/gexfoundry_device-sdk-go_PR-1452:/w/workspace/gexfoundry_device-sdk-go_PR-1452:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1452@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1452@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-05-09T05:02:01.545Z] $ docker top 9581006a3ba13ad1dd037f7b695825abd9363ebfba7d03b4385f9ca21b64c885 -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] libraryResource [Pipeline] sh [2023-05-09T05:02:01.992Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-05-09T05:02:01.992Z] + sudo tee /etc/docker/daemon.new [2023-05-09T05:02:01.992Z] { [2023-05-09T05:02:01.992Z] "registry-mirrors": [ [2023-05-09T05:02:01.992Z] "https://nexus3.edgexfoundry.org:10001" [2023-05-09T05:02:01.992Z] ], [2023-05-09T05:02:01.992Z] "bip": "10.250.0.254/24", [2023-05-09T05:02:01.992Z] "hosts": [ [2023-05-09T05:02:01.992Z] "tcp://0.0.0.0:5555", [2023-05-09T05:02:01.992Z] "unix:///var/run/docker.sock" [2023-05-09T05:02:01.992Z] ], [2023-05-09T05:02:01.992Z] "mtu": 1458, [2023-05-09T05:02:01.992Z] "selinux-enabled": true, [2023-05-09T05:02:01.992Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-05-09T05:02:01.992Z] } [Pipeline] sh [2023-05-09T05:02:02.105Z] ---> job-cost.sh [2023-05-09T05:02:02.106Z] lf-activate-venv: SKIPPING [2023-05-09T05:02:02.106Z] INFO: No Stack... [2023-05-09T05:02:02.340Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [2023-05-09T05:02:02.365Z] INFO: Retrieving Pricing Info for: v3-standard-8 [Pipeline] sh [2023-05-09T05:02:02.685Z] + sudo service docker restart [2023-05-09T05:02:02.932Z] INFO: Archiving Costs [Pipeline] sh [2023-05-09T05:02:03.252Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1452/archives/cost.csv [2023-05-09T05:02:03.253Z] + cut -d, -f6 [Pipeline] lock [2023-05-09T05:02:03.326Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1452-1-stack-cost] [2023-05-09T05:02:03.331Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1452-1-stack-cost] did not exist. Created. [2023-05-09T05:02:03.331Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1452-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-05-09T05:02:03.801Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-05-09T05:02:03.871Z] Stashed 1 file(s) [Pipeline] } [2023-05-09T05:02:03.905Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1452-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-05-09T05:02:03.985Z] $ docker stop --time=1 9581006a3ba13ad1dd037f7b695825abd9363ebfba7d03b4385f9ca21b64c885 [2023-05-09T05:02:05.136Z] $ docker rm -f --volumes 9581006a3ba13ad1dd037f7b695825abd9363ebfba7d03b4385f9ca21b64c885 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-09T05:02:21.007Z] provisioning config files... [2023-05-09T05:02:21.035Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config14511322786458982496tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-09T05:02:21.427Z] ---> docker-login.sh [2023-05-09T05:02:21.427Z] nexus3.edgexfoundry.org:10001 [2023-05-09T05:02:22.020Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-09T05:02:22.020Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-09T05:02:22.020Z] Configure a credential helper to remove this warning. See [2023-05-09T05:02:22.020Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-09T05:02:22.020Z] [2023-05-09T05:02:22.020Z] Login Succeeded [2023-05-09T05:02:22.020Z] nexus3.edgexfoundry.org:10002 [2023-05-09T05:02:22.290Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-09T05:02:22.290Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-09T05:02:22.290Z] Configure a credential helper to remove this warning. See [2023-05-09T05:02:22.290Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-09T05:02:22.290Z] [2023-05-09T05:02:22.561Z] Login Succeeded [2023-05-09T05:02:22.561Z] nexus3.edgexfoundry.org:10003 [2023-05-09T05:02:22.561Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-09T05:02:22.831Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-09T05:02:22.831Z] Configure a credential helper to remove this warning. See [2023-05-09T05:02:22.831Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-09T05:02:22.831Z] [2023-05-09T05:02:22.831Z] Login Succeeded [2023-05-09T05:02:22.831Z] nexus3.edgexfoundry.org:10004 [2023-05-09T05:02:23.106Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-09T05:02:23.106Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-09T05:02:23.106Z] Configure a credential helper to remove this warning. See [2023-05-09T05:02:23.106Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-09T05:02:23.106Z] [2023-05-09T05:02:23.106Z] Login Succeeded [2023-05-09T05:02:23.106Z] docker.io [2023-05-09T05:02:23.380Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-09T05:02:23.650Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-09T05:02:23.650Z] Configure a credential helper to remove this warning. See [2023-05-09T05:02:23.650Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-09T05:02:23.650Z] [2023-05-09T05:02:23.650Z] Login Succeeded [2023-05-09T05:02:23.650Z] ---> docker-login.sh ends [Pipeline] } [2023-05-09T05:02:23.682Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-05-09T05:02:24.085Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-09T05:02:24.122Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-09T05:02:24.158Z] ========================================================= [2023-05-09T05:02:24.158Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-05-09T05:02:24.158Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-09T05:02:24.659Z] + 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-09T05:02:24.929Z] Sending build context to Docker daemon 5.946MB [2023-05-09T05:02:25.205Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-05-09T05:02:25.205Z] Step 2/10 : FROM ${BASE} AS builder [2023-05-09T05:02:25.205Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-05-09T05:02:25.205Z] c41833b44d91: Pulling fs layer [2023-05-09T05:02:25.205Z] ed15518f5707: Pulling fs layer [2023-05-09T05:02:25.205Z] feae8fd75edb: Pulling fs layer [2023-05-09T05:02:25.205Z] 242c74f7c9fa: Pulling fs layer [2023-05-09T05:02:25.205Z] 3cdef696dda3: Pulling fs layer [2023-05-09T05:02:25.205Z] 2ced38df9373: Pulling fs layer [2023-05-09T05:02:25.205Z] 58f1dce35555: Pulling fs layer [2023-05-09T05:02:25.205Z] 3cdef696dda3: Waiting [2023-05-09T05:02:25.205Z] 2ced38df9373: Waiting [2023-05-09T05:02:25.205Z] 58f1dce35555: Waiting [2023-05-09T05:02:25.205Z] 242c74f7c9fa: Waiting [2023-05-09T05:02:25.205Z] ed15518f5707: Verifying Checksum [2023-05-09T05:02:25.205Z] ed15518f5707: Download complete [2023-05-09T05:02:25.205Z] 242c74f7c9fa: Verifying Checksum [2023-05-09T05:02:25.205Z] 242c74f7c9fa: Download complete [2023-05-09T05:02:25.486Z] 3cdef696dda3: Verifying Checksum [2023-05-09T05:02:25.486Z] 3cdef696dda3: Download complete [2023-05-09T05:02:25.486Z] c41833b44d91: Download complete [2023-05-09T05:02:26.489Z] c41833b44d91: Pull complete [2023-05-09T05:02:26.761Z] 58f1dce35555: Verifying Checksum [2023-05-09T05:02:26.761Z] 58f1dce35555: Download complete [2023-05-09T05:02:27.358Z] ed15518f5707: Pull complete [2023-05-09T05:02:28.331Z] feae8fd75edb: Download complete [2023-05-09T05:02:28.331Z] 2ced38df9373: Verifying Checksum [2023-05-09T05:02:28.331Z] 2ced38df9373: Download complete [2023-05-09T05:02:40.674Z] feae8fd75edb: Pull complete [2023-05-09T05:02:40.674Z] 242c74f7c9fa: Pull complete [2023-05-09T05:02:40.674Z] 3cdef696dda3: Pull complete [2023-05-09T05:02:48.979Z] 2ced38df9373: Pull complete [2023-05-09T05:02:50.947Z] 58f1dce35555: Pull complete [2023-05-09T05:02:50.947Z] Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e [2023-05-09T05:02:50.947Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-05-09T05:02:50.947Z] ---> fadd8f120f05 [2023-05-09T05:02:50.947Z] Step 3/10 : ARG MAKE=make build [2023-05-09T05:02:51.923Z] ---> Running in 62186d7dcbf5 [2023-05-09T05:02:52.193Z] Removing intermediate container 62186d7dcbf5 [2023-05-09T05:02:52.193Z] ---> fd79fefebff6 [2023-05-09T05:02:52.193Z] Step 4/10 : WORKDIR /device-sdk-go [2023-05-09T05:02:52.193Z] ---> Running in ceb7ea176926 [2023-05-09T05:02:52.781Z] Removing intermediate container ceb7ea176926 [2023-05-09T05:02:52.781Z] ---> fdb566788ddb [2023-05-09T05:02:52.781Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-05-09T05:02:52.781Z] ---> Running in fa1c77e7c1f4 [2023-05-09T05:02:53.053Z] Removing intermediate container fa1c77e7c1f4 [2023-05-09T05:02:53.053Z] ---> 1acf286b31bc [2023-05-09T05:02:53.053Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-05-09T05:02:53.053Z] ---> Running in 52e4a1ba10cc [2023-05-09T05:02:54.475Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-09T05:02:55.064Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-09T05:02:56.482Z] OK: 263 MiB in 53 packages [2023-05-09T05:02:57.069Z] Removing intermediate container 52e4a1ba10cc [2023-05-09T05:02:57.069Z] ---> 0fefef598fed [2023-05-09T05:02:57.069Z] Step 7/10 : COPY go.mod vendor* ./ [2023-05-09T05:02:57.667Z] ---> 9c91bd904c8e [2023-05-09T05:02:57.667Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-09T05:02:57.667Z] ---> Running in c0e66c888134 [2023-05-09T05:04:05.597Z] Removing intermediate container c0e66c888134 [2023-05-09T05:04:05.597Z] ---> 6d849f3296cb [2023-05-09T05:04:05.597Z] Step 9/10 : COPY . . [2023-05-09T05:04:05.597Z] ---> e9dde4b369fa [2023-05-09T05:04:05.597Z] Step 10/10 : RUN ${MAKE} [2023-05-09T05:04:05.597Z] ---> Running in c0cbb31f51e0 [2023-05-09T05:04:05.597Z] noop [2023-05-09T05:04:05.597Z] Removing intermediate container c0cbb31f51e0 [2023-05-09T05:04:05.597Z] ---> 65ecc546bed3 [2023-05-09T05:04:05.597Z] Successfully built 65ecc546bed3 [2023-05-09T05:04:05.597Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-09T05:04:06.090Z] + docker inspect -f . ci-base-image-arm64 [2023-05-09T05:04:06.090Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-09T05:04:06.386Z] prd-ubuntu20.04-docker-arm64-4c-16g-14626 does not seem to be running inside a container [2023-05-09T05:04:06.458Z] $ 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-09T05:04:07.657Z] $ docker top 42880759ee8afcf9204cbbd4609fb31bb154aca3f3dc00571848e8ddb9a77bd9 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-09T05:04:08.549Z] + go version [2023-05-09T05:04:08.549Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-05-09T05:04:08.584Z] $ docker stop --time=1 42880759ee8afcf9204cbbd4609fb31bb154aca3f3dc00571848e8ddb9a77bd9 [2023-05-09T05:04:12.628Z] $ docker rm -f --volumes 42880759ee8afcf9204cbbd4609fb31bb154aca3f3dc00571848e8ddb9a77bd9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-09T05:04:13.501Z] + docker inspect -f . ci-base-image-arm64 [2023-05-09T05:04:13.501Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-09T05:04:13.768Z] prd-ubuntu20.04-docker-arm64-4c-16g-14626 does not seem to be running inside a container [2023-05-09T05:04:13.841Z] $ 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-09T05:04:15.068Z] $ docker top 0b0b20e806a5dce1f885ba7c4412b43eceb50de32cd15a6856d9f5bca377be7b -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-09T05:04:15.973Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh [2023-05-09T05:04:16.371Z] + make test [2023-05-09T05:04:16.643Z] go test -race -coverprofile=coverage.out ./... [2023-05-09T05:05:03.517Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-05-09T05:07:10.208Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-05-09T05:07:10.208Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-05-09T05:07:10.208Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-05-09T05:07:10.208Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-05-09T05:07:10.208Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-05-09T05:07:16.866Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.219s coverage: 27.6% of statements [2023-05-09T05:07:18.821Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.272s coverage: 80.2% of statements [2023-05-09T05:07:28.924Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-05-09T05:07:28.924Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-05-09T05:07:29.194Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.385s coverage: 86.0% of statements [2023-05-09T05:07:35.872Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-05-09T05:07:35.872Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-05-09T05:07:35.872Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.499s coverage: 77.5% of statements [2023-05-09T05:07:38.477Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.298s coverage: 14.6% of statements [2023-05-09T05:07:41.086Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-05-09T05:07:41.087Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-05-09T05:07:41.358Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.486s coverage: 68.5% of statements [2023-05-09T05:07:43.312Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.465s coverage: 89.2% of statements [2023-05-09T05:07:47.585Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-05-09T05:07:47.585Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.262s coverage: 5.5% of statements [2023-05-09T05:07:47.853Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-05-09T05:07:47.853Z] GO111MODULE=on go vet ./... [2023-05-09T05:10:24.671Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-05-09T05:10:24.671Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-05-09T05:10:24.671Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-05-09T05:10:24.712Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-05-09T05:10:24.737Z] $ docker stop --time=1 0b0b20e806a5dce1f885ba7c4412b43eceb50de32cd15a6856d9f5bca377be7b [2023-05-09T05:10:26.652Z] $ docker rm -f --volumes 0b0b20e806a5dce1f885ba7c4412b43eceb50de32cd15a6856d9f5bca377be7b [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-09T05:10:28.381Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-05-09T05:10:28.420Z] Warning: overwriting stash ‘coverage-report’ [2023-05-09T05:10:29.073Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-09T05:10:29.662Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-05-09T05:10:30.008Z] + ls -al . [2023-05-09T05:10:30.008Z] total 268 [2023-05-09T05:10:30.008Z] drwxrwxr-x 10 jenkins jenkins 4096 May 9 05:04 . [2023-05-09T05:10:30.008Z] drwxrwxr-x 4 jenkins jenkins 4096 May 9 05:01 .. [2023-05-09T05:10:30.008Z] -rw-rw-r-- 1 jenkins jenkins 140 May 9 05:01 .dockerignore [2023-05-09T05:10:30.008Z] drwxrwxr-x 8 jenkins jenkins 4096 May 9 05:01 .git [2023-05-09T05:10:30.008Z] drwxrwxr-x 2 jenkins jenkins 4096 May 9 05:01 .github [2023-05-09T05:10:30.008Z] -rw-rw-r-- 1 jenkins jenkins 131 May 9 05:01 .gitignore [2023-05-09T05:10:30.008Z] -rw-rw-r-- 1 jenkins jenkins 42 May 9 05:01 .golangci.yml [2023-05-09T05:10:30.008Z] -rw-rw-r-- 1 jenkins jenkins 31677 May 9 05:01 CHANGELOG.md [2023-05-09T05:10:30.008Z] -rw-rw-r-- 1 jenkins jenkins 677 May 9 05:01 GOVERNANCE.md [2023-05-09T05:10:30.008Z] -rw-rw-r-- 1 jenkins jenkins 885 May 9 05:01 Jenkinsfile [2023-05-09T05:10:30.008Z] -rw-rw-r-- 1 jenkins jenkins 11341 May 9 05:01 LICENSE [2023-05-09T05:10:30.008Z] -rw-rw-r-- 1 jenkins jenkins 1714 May 9 05:01 Makefile [2023-05-09T05:10:30.008Z] -rw-rw-r-- 1 jenkins jenkins 619 May 9 05:01 OWNERS.md [2023-05-09T05:10:30.008Z] -rw-rw-r-- 1 jenkins jenkins 4891 May 9 05:01 README.md [2023-05-09T05:10:30.008Z] -rw-rw-r-- 1 jenkins jenkins 5 May 9 04:59 VERSION [2023-05-09T05:10:30.008Z] drwxrwxr-x 2 jenkins jenkins 4096 May 9 05:01 bin [2023-05-09T05:10:30.008Z] -rw-r--r-- 1 jenkins jenkins 106117 May 9 05:07 coverage.out [2023-05-09T05:10:30.008Z] drwxrwxr-x 5 jenkins jenkins 4096 May 9 05:01 example [2023-05-09T05:10:30.008Z] -rw-rw-r-- 1 jenkins jenkins 3246 May 9 05:01 go.mod [2023-05-09T05:10:30.008Z] -rw-rw-r-- 1 jenkins jenkins 30781 May 9 05:01 go.sum [2023-05-09T05:10:30.008Z] drwxrwxr-x 12 jenkins jenkins 4096 May 9 05:01 internal [2023-05-09T05:10:30.008Z] drwxrwxr-x 3 jenkins jenkins 4096 May 9 05:01 openapi [2023-05-09T05:10:30.008Z] drwxrwxr-x 6 jenkins jenkins 4096 May 9 05:01 pkg [2023-05-09T05:10:30.008Z] drwxrwxr-x 4 jenkins jenkins 4096 May 9 05:01 snap [2023-05-09T05:10:30.008Z] -rw-rw-r-- 1 jenkins jenkins 222 May 9 05:01 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-09T05:10:30.431Z] + 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=0a7abe49cd181cef7a5fd28261f27cd54c0c6f83 --label arch=arm64 --label version=0.0.0 . [2023-05-09T05:10:31.018Z] Sending build context to Docker daemon 6.053MB [2023-05-09T05:10:31.018Z] Step 1/23 : ARG BASE=golang:1.20-alpine3.17 [2023-05-09T05:10:31.018Z] Step 2/23 : FROM ${BASE} AS builder [2023-05-09T05:10:31.018Z] ---> 65ecc546bed3 [2023-05-09T05:10:31.018Z] Step 3/23 : ARG MAKE=make build [2023-05-09T05:10:32.964Z] ---> Running in b2ae588e39c7 [2023-05-09T05:10:33.234Z] Removing intermediate container b2ae588e39c7 [2023-05-09T05:10:33.234Z] ---> 503e0213b2b7 [2023-05-09T05:10:33.234Z] Step 4/23 : WORKDIR /device-sdk-go [2023-05-09T05:10:33.234Z] ---> Running in afdbfa316d90 [2023-05-09T05:10:33.501Z] Removing intermediate container afdbfa316d90 [2023-05-09T05:10:33.501Z] ---> 3e138382faba [2023-05-09T05:10:33.501Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-05-09T05:10:33.501Z] ---> Running in d6c399a3db5e [2023-05-09T05:10:34.087Z] Removing intermediate container d6c399a3db5e [2023-05-09T05:10:34.087Z] ---> f756c8e161cb [2023-05-09T05:10:34.087Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-05-09T05:10:34.087Z] ---> Running in a47b4168b49d [2023-05-09T05:10:35.056Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-09T05:10:35.642Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-09T05:10:37.060Z] OK: 263 MiB in 53 packages [2023-05-09T05:10:38.028Z] Removing intermediate container a47b4168b49d [2023-05-09T05:10:38.028Z] ---> c4b7014b9003 [2023-05-09T05:10:38.028Z] Step 7/23 : COPY go.mod vendor* ./ [2023-05-09T05:10:38.301Z] ---> 697d74a6bb58 [2023-05-09T05:10:38.301Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-09T05:10:38.570Z] ---> Running in 1657b31b1d46 [2023-05-09T05:10:41.171Z] Removing intermediate container 1657b31b1d46 [2023-05-09T05:10:41.171Z] ---> da5616dd392b [2023-05-09T05:10:41.171Z] Step 9/23 : COPY . . [2023-05-09T05:10:42.603Z] ---> 33b128571ab7 [2023-05-09T05:10:42.603Z] Step 10/23 : RUN ${MAKE} [2023-05-09T05:10:42.603Z] ---> Running in dab20843e44e [2023-05-09T05:10:44.026Z] 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-09T05:13:05.759Z] Removing intermediate container dab20843e44e [2023-05-09T05:13:05.759Z] ---> c71b663c545a [2023-05-09T05:13:05.759Z] Step 11/23 : FROM alpine:3.17 [2023-05-09T05:13:05.759Z] 3.17: Pulling from library/alpine [2023-05-09T05:13:05.759Z] c41833b44d91: Already exists [2023-05-09T05:13:05.759Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-05-09T05:13:05.759Z] Status: Downloaded newer image for alpine:3.17 [2023-05-09T05:13:05.759Z] ---> 51e60588ff2c [2023-05-09T05:13:05.759Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-05-09T05:13:05.759Z] ---> Running in bbc2115f3dc6 [2023-05-09T05:13:05.759Z] Removing intermediate container bbc2115f3dc6 [2023-05-09T05:13:05.759Z] ---> f56acea57f5d [2023-05-09T05:13:05.759Z] Step 13/23 : RUN apk add --update --no-cache [2023-05-09T05:13:05.759Z] ---> Running in bf317757008b [2023-05-09T05:13:06.027Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-09T05:13:06.611Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-09T05:13:07.575Z] OK: 7 MiB in 15 packages [2023-05-09T05:13:08.542Z] Removing intermediate container bf317757008b [2023-05-09T05:13:08.542Z] ---> 2e054eecef0b [2023-05-09T05:13:08.542Z] Step 14/23 : WORKDIR / [2023-05-09T05:13:08.542Z] ---> Running in 9f6adc05a024 [2023-05-09T05:13:08.810Z] Removing intermediate container 9f6adc05a024 [2023-05-09T05:13:08.810Z] ---> fcecce646ef6 [2023-05-09T05:13:08.810Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-05-09T05:13:09.395Z] ---> e81d9cae5b15 [2023-05-09T05:13:09.395Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-05-09T05:13:10.807Z] ---> 6207e5c7e807 [2023-05-09T05:13:10.808Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-05-09T05:13:11.076Z] ---> 7741c4699008 [2023-05-09T05:13:11.076Z] Step 18/23 : EXPOSE 59999 [2023-05-09T05:13:11.344Z] ---> Running in 663cbf09bfb6 [2023-05-09T05:13:11.613Z] Removing intermediate container 663cbf09bfb6 [2023-05-09T05:13:11.613Z] ---> dfb4dbb1da7d [2023-05-09T05:13:11.613Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-05-09T05:13:11.613Z] ---> Running in 173c2808c445 [2023-05-09T05:13:11.892Z] Removing intermediate container 173c2808c445 [2023-05-09T05:13:11.892Z] ---> 5297423ee5f4 [2023-05-09T05:13:11.892Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-05-09T05:13:11.892Z] ---> Running in 3c1c70943180 [2023-05-09T05:13:12.477Z] Removing intermediate container 3c1c70943180 [2023-05-09T05:13:12.477Z] ---> 2f0dcefce02e [2023-05-09T05:13:12.477Z] Step 21/23 : LABEL arch=arm64 [2023-05-09T05:13:12.477Z] ---> Running in 50d8c467ed23 [2023-05-09T05:13:12.745Z] Removing intermediate container 50d8c467ed23 [2023-05-09T05:13:12.745Z] ---> 378e9b6784d9 [2023-05-09T05:13:12.745Z] Step 22/23 : LABEL git_sha=0a7abe49cd181cef7a5fd28261f27cd54c0c6f83 [2023-05-09T05:13:12.745Z] ---> Running in e57a988436cc [2023-05-09T05:13:13.013Z] Removing intermediate container e57a988436cc [2023-05-09T05:13:13.013Z] ---> c1849122de0c [2023-05-09T05:13:13.013Z] Step 23/23 : LABEL version=0.0.0 [2023-05-09T05:13:13.013Z] ---> Running in 3b5fcf5211c2 [2023-05-09T05:13:13.280Z] Removing intermediate container 3b5fcf5211c2 [2023-05-09T05:13:13.280Z] ---> 00023e7d821f [2023-05-09T05:13:13.280Z] [Warning] One or more build-args [ARCH] were not consumed [2023-05-09T05:13:13.280Z] Successfully built 00023e7d821f [2023-05-09T05:13:13.280Z] 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-09T05:13:14.091Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-09T05:13:14.091Z] [2023-05-09T05:13:14.091Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-09T05:13:14.568Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-09T05:13:14.568Z] arm64: Pulling from edgex-lftools-log-publisher [2023-05-09T05:13:14.568Z] 8998bd30e6a1: Pulling fs layer [2023-05-09T05:13:14.568Z] 04944245beec: Pulling fs layer [2023-05-09T05:13:14.568Z] 699f458cf7ca: Pulling fs layer [2023-05-09T05:13:14.568Z] 765212b225bb: Pulling fs layer [2023-05-09T05:13:14.568Z] f23df028b6ca: Pulling fs layer [2023-05-09T05:13:14.568Z] d65c8cfc05b1: Pulling fs layer [2023-05-09T05:13:14.568Z] 2437ff75d9bd: Pulling fs layer [2023-05-09T05:13:14.568Z] 765212b225bb: Waiting [2023-05-09T05:13:14.568Z] f23df028b6ca: Waiting [2023-05-09T05:13:14.568Z] d65c8cfc05b1: Waiting [2023-05-09T05:13:14.568Z] 2437ff75d9bd: Waiting [2023-05-09T05:13:14.568Z] 04944245beec: Verifying Checksum [2023-05-09T05:13:14.568Z] 04944245beec: Download complete [2023-05-09T05:13:14.849Z] 765212b225bb: Verifying Checksum [2023-05-09T05:13:14.849Z] 765212b225bb: Download complete [2023-05-09T05:13:14.849Z] f23df028b6ca: Verifying Checksum [2023-05-09T05:13:14.849Z] f23df028b6ca: Download complete [2023-05-09T05:13:14.849Z] d65c8cfc05b1: Verifying Checksum [2023-05-09T05:13:14.849Z] d65c8cfc05b1: Download complete [2023-05-09T05:13:14.849Z] 699f458cf7ca: Verifying Checksum [2023-05-09T05:13:14.849Z] 699f458cf7ca: Download complete [2023-05-09T05:13:15.449Z] 8998bd30e6a1: Verifying Checksum [2023-05-09T05:13:15.449Z] 8998bd30e6a1: Download complete [2023-05-09T05:13:17.467Z] 2437ff75d9bd: Verifying Checksum [2023-05-09T05:13:17.467Z] 2437ff75d9bd: Download complete [2023-05-09T05:13:19.453Z] 8998bd30e6a1: Pull complete [2023-05-09T05:13:20.037Z] 04944245beec: Pull complete [2023-05-09T05:13:21.445Z] 699f458cf7ca: Pull complete [2023-05-09T05:13:21.445Z] 765212b225bb: Pull complete [2023-05-09T05:13:22.029Z] f23df028b6ca: Pull complete [2023-05-09T05:13:22.297Z] d65c8cfc05b1: Pull complete [2023-05-09T05:13:37.289Z] 2437ff75d9bd: Pull complete [2023-05-09T05:13:37.289Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-05-09T05:13:37.289Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-09T05:13:37.289Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-09T05:13:37.623Z] prd-ubuntu20.04-docker-arm64-4c-16g-14626 does not seem to be running inside a container [2023-05-09T05:13:37.689Z] $ 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-09T05:13:40.442Z] $ docker top f86230ba6a41541ed68911c9279d433581a67f2f39a377a90b07632bd2d9349c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-09T05:13:41.361Z] ---> job-cost.sh [2023-05-09T05:13:41.361Z] lf-activate-venv: SKIPPING [2023-05-09T05:13:41.361Z] INFO: No Stack... [2023-05-09T05:13:41.946Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-05-09T05:13:42.905Z] INFO: Archiving Costs [Pipeline] sh [2023-05-09T05:13:43.564Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2023-05-09T05:13:43.564Z] + cut -d, -f6 [Pipeline] lock [2023-05-09T05:13:43.653Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1452-1-stack-cost] [2023-05-09T05:13:43.657Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1452-1-stack-cost] did not exist. Created. [2023-05-09T05:13:43.658Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1452-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-05-09T05:13:44.088Z] /w/workspace/device-sdk-go/1@tmp/durable-d63e0938/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-05-09T05:13:44.758Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-05-09T05:13:44.795Z] Warning: overwriting stash ‘stack-cost’ [2023-05-09T05:13:44.860Z] Stashed 1 file(s) [Pipeline] } [2023-05-09T05:13:44.876Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1452-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-05-09T05:13:44.955Z] $ docker stop --time=1 f86230ba6a41541ed68911c9279d433581a67f2f39a377a90b07632bd2d9349c [2023-05-09T05:13:46.414Z] $ docker rm -f --volumes f86230ba6a41541ed68911c9279d433581a67f2f39a377a90b07632bd2d9349c [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-09T05:13:47.427Z] provisioning config files... [2023-05-09T05:13:47.434Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1452@tmp/config807282952424424943tmp [Pipeline] { [Pipeline] sh [2023-05-09T05:13:47.768Z] + set +x [2023-05-09T05:13:47.768Z] + bash -s -- [2023-05-09T05:13:47.768Z] + curl -s https://codecov.io/bash [2023-05-09T05:13:47.768Z] [2023-05-09T05:13:47.768Z] _____ _ [2023-05-09T05:13:47.768Z] / ____| | | [2023-05-09T05:13:47.768Z] | | ___ __| | ___ ___ _____ __ [2023-05-09T05:13:47.768Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-05-09T05:13:47.768Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-05-09T05:13:47.768Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-05-09T05:13:47.768Z] Bash-1.0.6 [2023-05-09T05:13:47.768Z] [2023-05-09T05:13:47.768Z] [2023-05-09T05:13:47.768Z] ==> git version 2.25.1 found [2023-05-09T05:13:47.768Z] ==> 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-09T05:13:47.768Z] Release-Date: 2020-01-08 [2023-05-09T05:13:47.768Z] 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-09T05:13:47.768Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-05-09T05:13:47.768Z] ==> Jenkins CI detected. [2023-05-09T05:13:47.768Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1452 [2023-05-09T05:13:47.768Z] project root: . [2023-05-09T05:13:47.768Z] --> token set from env [2023-05-09T05:13:47.768Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-05-09T05:13:47.768Z] ==> Running gcov in . (disable via -X gcov) [2023-05-09T05:13:47.768Z] ==> Python coveragepy not found [2023-05-09T05:13:47.768Z] ==> Searching for coverage reports in: [2023-05-09T05:13:47.768Z] + . [2023-05-09T05:13:47.768Z] -> Found 1 reports [2023-05-09T05:13:47.768Z] ==> Detecting git/mercurial file structure [2023-05-09T05:13:47.768Z] ==> Reading reports [2023-05-09T05:13:47.768Z] + ./coverage.out bytes=106117 [2023-05-09T05:13:47.768Z] ==> Appending adjustments [2023-05-09T05:13:47.768Z] https://docs.codecov.io/docs/fixing-reports [2023-05-09T05:13:48.027Z] + Found adjustments [2023-05-09T05:13:48.027Z] ==> Gzipping contents [2023-05-09T05:13:48.027Z] 16K /tmp/codecov.spzUCt.gz [2023-05-09T05:13:48.027Z] ==> Uploading reports [2023-05-09T05:13:48.027Z] url: https://codecov.io [2023-05-09T05:13:48.027Z] query: branch=PR-1452&commit=0a7abe49cd181cef7a5fd28261f27cd54c0c6f83&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1452%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1452&job=&cmd_args= [2023-05-09T05:13:48.027Z] -> Pinging Codecov [2023-05-09T05:13:48.027Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1452&commit=0a7abe49cd181cef7a5fd28261f27cd54c0c6f83&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1452%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1452&job=&cmd_args= [2023-05-09T05:13:48.287Z] -> Uploading to [2023-05-09T05:13:48.287Z] https://storage.googleapis.com/codecov/v4/raw/2023-05-09/7E55EF52A471D76F132DFD9A03CDDE97/0a7abe49cd181cef7a5fd28261f27cd54c0c6f83/e57fd166-3002-4349-9cc8-b8be17a75519.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230509%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230509T051348Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=ee3ba4582552fe5c634dcc2500217cd66e539ad0bf361b79892d92ec932a62e3 [2023-05-09T05:13:48.287Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-09T05:13:48.287Z] Dload Upload Total Spent Left Speed [2023-05-09T05:13:49.227Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14993 0 0 100 14993 0 20370 --:--:-- --:--:-- --:--:-- 20370 [2023-05-09T05:13:49.227Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/0a7abe49cd181cef7a5fd28261f27cd54c0c6f83 [Pipeline] } [2023-05-09T05:13:49.255Z] 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-09T05:13:51.018Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1452/archives ] [2023-05-09T05:13:51.018Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1452/archives [2023-05-09T05:13:51.018Z] total 16 [2023-05-09T05:13:51.018Z] drwxr-xr-x 3 root root 4096 May 9 05:02 . [2023-05-09T05:13:51.018Z] drwxrwxr-x 12 jenkins jenkins 4096 May 9 05:02 .. [2023-05-09T05:13:51.018Z] drwxr-xr-x 2 root root 4096 May 9 05:02 cost [2023-05-09T05:13:51.018Z] -rw-r--r-- 1 root root 86 May 9 05:02 cost.csv [2023-05-09T05:13:51.018Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1452/archives [2023-05-09T05:13:51.018Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1452/archives [2023-05-09T05:13:51.018Z] total 16 [2023-05-09T05:13:51.018Z] drwxr-xr-x 3 jenkins jenkins 4096 May 9 05:02 . [2023-05-09T05:13:51.018Z] drwxrwxr-x 12 jenkins jenkins 4096 May 9 05:02 .. [2023-05-09T05:13:51.018Z] drwxr-xr-x 2 jenkins jenkins 4096 May 9 05:02 cost [2023-05-09T05:13:51.018Z] -rw-r--r-- 1 jenkins jenkins 86 May 9 05:02 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-05-09T05:13:51.353Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-09T05:13:52.233Z] ---> package-listing.sh [2023-05-09T05:13:52.233Z] ++ facter osfamily [2023-05-09T05:13:52.233Z] ++ tr '[:upper:]' '[:lower:]' [2023-05-09T05:13:52.491Z] + OS_FAMILY=debian [2023-05-09T05:13:52.491Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1452 [2023-05-09T05:13:52.491Z] + START_PACKAGES=/tmp/packages_start.txt [2023-05-09T05:13:52.491Z] + END_PACKAGES=/tmp/packages_end.txt [2023-05-09T05:13:52.491Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-05-09T05:13:52.491Z] + PACKAGES=/tmp/packages_start.txt [2023-05-09T05:13:52.491Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1452 ']' [2023-05-09T05:13:52.491Z] + PACKAGES=/tmp/packages_end.txt [2023-05-09T05:13:52.491Z] + case "${OS_FAMILY}" in [2023-05-09T05:13:52.491Z] + dpkg -l [2023-05-09T05:13:52.491Z] + grep '^ii' [2023-05-09T05:13:52.491Z] + '[' -f /tmp/packages_start.txt ']' [2023-05-09T05:13:52.491Z] + '[' -f /tmp/packages_end.txt ']' [2023-05-09T05:13:52.491Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-05-09T05:13:52.491Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1452 ']' [2023-05-09T05:13:52.491Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1452/archives/ [2023-05-09T05:13:52.491Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1452/archives/ [Pipeline] echo [2023-05-09T05:13:52.524Z] 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-1452/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-05-09T05:13:52.815Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-09T05:13:53.458Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-09T05:13:53.458Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-09T05:13:53.611Z] prd-ubuntu20.04-docker-8c-8g-14624 does not seem to be running inside a container [2023-05-09T05:13:53.639Z] $ 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-1452/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-1452 -v /w/workspace/gexfoundry_device-sdk-go_PR-1452:/w/workspace/gexfoundry_device-sdk-go_PR-1452:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1452@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1452@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-09T05:13:53.830Z] $ docker top 8b34d7ebe518a7153ccf3e2f21103eb23b3c23099c30449e5e667a3fce839106 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-09T05:13:54.214Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-05-09T05:13:54.521Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-05-09T05:13:54.832Z] + ls /var/log/sa-host [2023-05-09T05:13:54.832Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-09T05:13:54.978Z] provisioning config files... [2023-05-09T05:13:54.987Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1452@tmp/config5665342930995410960tmp [Pipeline] { [Pipeline] echo [2023-05-09T05:13:55.035Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-09T05:13:55.345Z] ---> create-netrc.sh [Pipeline] } [2023-05-09T05:13:55.377Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-05-09T05:13:55.778Z] ---> python-tools-install.sh [Pipeline] echo [2023-05-09T05:13:55.811Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-09T05:13:56.123Z] ---> sudo-logs.sh [2023-05-09T05:13:56.123Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-05-09T05:13:56.202Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-09T05:13:56.514Z] ---> job-cost.sh [2023-05-09T05:13:56.514Z] lf-activate-venv: SKIPPING [2023-05-09T05:13:56.514Z] DEBUG: total: 0.2199999988079071 [2023-05-09T05:13:56.514Z] INFO: Retrieving Stack Cost... [2023-05-09T05:13:56.773Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-05-09T05:13:57.342Z] INFO: Archiving Costs [Pipeline] echo [2023-05-09T05:13:57.379Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-09T05:13:57.686Z] ---> logs-deploy.sh [2023-05-09T05:13:57.686Z] lf-activate-venv: SKIPPING [2023-05-09T05:13:57.686Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1452/1 [2023-05-09T05:13:57.686Z] INFO: archiving workspace using pattern(s): [2023-05-09T05:13:58.623Z] Archives upload complete. [2023-05-09T05:13:58.623Z] INFO: archiving logs to Nexus