Pull request #1446 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from dbe9d5e0872a60535a4ad0e83d3d5546e8bba869+41beedf42db0c4239d13182dec900f5915327502 (bf1fe6e5480be9ed11160710972b07219d43895c) 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-ssh6812740588465728775.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh17886477067278002286.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1446/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-1446/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7679487828360382932.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-1446/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10487534444298661092.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 # timeout=10 Commit message: "fix: bug with isLTS relying on env.GIT_BRANCH inside cd-management repo (#429)" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh12813733321344931971.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-1446/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-1446/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh13883742044830282288.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v3]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-12523 in /w/workspace/gexfoundry_device-sdk-go_PR-1446 [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-1446 # 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/1446/head:refs/remotes/origin/PR-1446 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 41beedf42db0c4239d13182dec900f5915327502 into PR head commit dbe9d5e0872a60535a4ad0e83d3d5546e8bba869 Merge succeeded, producing dbe9d5e0872a60535a4ad0e83d3d5546e8bba869 Checking out Revision dbe9d5e0872a60535a4ad0e83d3d5546e8bba869 (PR-1446) Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { > git config core.sparsecheckout # timeout=10 > git checkout -f dbe9d5e0872a60535a4ad0e83d3d5546e8bba869 # 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 41beedf42db0c4239d13182dec900f5915327502 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f dbe9d5e0872a60535a4ad0e83d3d5546e8bba869 # timeout=10 [Pipeline] timeout [2023-05-03T01:43:36.668Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-05-03T01:43:36.862Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-05-03T01:43:36.969Z] ========================================================= [2023-05-03T01:43:36.969Z] EdgeX Global Pipelines Version Info [2023-05-03T01:43:36.969Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-05-03T01:43:37.679Z] ------------------- [2023-05-03T01:43:37.680Z] stable info: [2023-05-03T01:43:37.680Z] ------------------- [2023-05-03T01:43:37.680Z] Commited By: Bill Mahoney bill.mahoney@intel.com [2023-05-03T01:43:37.680Z] Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [2023-05-03T01:43:37.680Z] Message: update stable to v1.0.248 [2023-05-03T01:43:38.750Z] ------------------- [2023-05-03T01:43:38.750Z] experimental info: [2023-05-03T01:43:38.750Z] ------------------- [2023-05-03T01:43:38.750Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-05-03T01:43:38.750Z] Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd [2023-05-03T01:43:38.750Z] Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-05-03T01:43:41.686Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-05-03T01:43:41.730Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-05-03T01:43:41.776Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-05-03T01:43:41.821Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-05-03T01:43:41.870Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-05-03T01:43:41.914Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-05-03T01:43:41.958Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-05-03T01:43:42.005Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-05-03T01:43:42.052Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-05-03T01:43:42.101Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-05-03T01:43:42.143Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-05-03T01:43:42.188Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-05-03T01:43:42.236Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-05-03T01:43:42.282Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-05-03T01:43:42.346Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-05-03T01:43:42.393Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-05-03T01:43:42.440Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-05-03T01:43:42.489Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-05-03T01:43:42.538Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-05-03T01:43:42.586Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-05-03T01:43:42.629Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-05-03T01:43:42.679Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2023-05-03T01:43:42.724Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-05-03T01:43:42.762Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-05-03T01:43:42.810Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-05-03T01:43:42.864Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-05-03T01:43:42.910Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-05-03T01:43:42.957Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1446 [Pipeline] echo [2023-05-03T01:43:43.001Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1446 [Pipeline] echo [2023-05-03T01:43:43.045Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1446 [Pipeline] echo [2023-05-03T01:43:43.092Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = dbe9d5e0872a60535a4ad0e83d3d5546e8bba869 [Pipeline] echo [2023-05-03T01:43:43.152Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = dbe9d5e [Pipeline] echo [2023-05-03T01:43:43.195Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-03T01:43:43.321Z] provisioning config files... [2023-05-03T01:43:43.334Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1446@tmp/config9466206643380853045tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-03T01:43:43.683Z] ---> docker-login.sh [2023-05-03T01:43:43.683Z] nexus3.edgexfoundry.org:10001 [2023-05-03T01:43:43.962Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-03T01:43:43.962Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-03T01:43:43.962Z] Configure a credential helper to remove this warning. See [2023-05-03T01:43:43.962Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-03T01:43:43.962Z] [2023-05-03T01:43:43.962Z] Login Succeeded [2023-05-03T01:43:43.962Z] nexus3.edgexfoundry.org:10002 [2023-05-03T01:43:43.962Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-03T01:43:43.962Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-03T01:43:43.962Z] Configure a credential helper to remove this warning. See [2023-05-03T01:43:43.962Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-03T01:43:43.962Z] [2023-05-03T01:43:43.962Z] Login Succeeded [2023-05-03T01:43:43.962Z] nexus3.edgexfoundry.org:10003 [2023-05-03T01:43:44.228Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-03T01:43:44.228Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-03T01:43:44.228Z] Configure a credential helper to remove this warning. See [2023-05-03T01:43:44.228Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-03T01:43:44.228Z] [2023-05-03T01:43:44.228Z] Login Succeeded [2023-05-03T01:43:44.228Z] nexus3.edgexfoundry.org:10004 [2023-05-03T01:43:44.228Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-03T01:43:44.228Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-03T01:43:44.228Z] Configure a credential helper to remove this warning. See [2023-05-03T01:43:44.228Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-03T01:43:44.228Z] [2023-05-03T01:43:44.228Z] Login Succeeded [2023-05-03T01:43:44.228Z] docker.io [2023-05-03T01:43:44.487Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-03T01:43:44.487Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-03T01:43:44.487Z] Configure a credential helper to remove this warning. See [2023-05-03T01:43:44.487Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-03T01:43:44.487Z] [2023-05-03T01:43:44.487Z] Login Succeeded [2023-05-03T01:43:44.487Z] ---> docker-login.sh ends [Pipeline] } [2023-05-03T01:43:44.514Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-05-03T01:43:45.192Z] + git rev-list -1 --merges dbe9d5e0872a60535a4ad0e83d3d5546e8bba869~1..dbe9d5e0872a60535a4ad0e83d3d5546e8bba869 [Pipeline] echo [2023-05-03T01:43:45.258Z] -----------> git rev-list -1 --merges dbe9d5e0872a60535a4ad0e83d3d5546e8bba869~1..dbe9d5e0872a60535a4ad0e83d3d5546e8bba869 dbe9d5e0872a60535a4ad0e83d3d5546e8bba869 [false] [Pipeline] sh [2023-05-03T01:43:45.579Z] + git log --format=format:%s -1 dbe9d5e0872a60535a4ad0e83d3d5546e8bba869 [Pipeline] echo [2023-05-03T01:43:45.613Z] ========================================================= [2023-05-03T01:43:45.613Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-05-03T01:43:45.613Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-03T01:43:46.089Z] + git log --format=format:%s -1 dbe9d5e0872a60535a4ad0e83d3d5546e8bba869 [Pipeline] echo [2023-05-03T01:43:46.127Z] [semverPrep] GIT_COMMIT: dbe9d5e0872a60535a4ad0e83d3d5546e8bba869, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3 [Pipeline] echo [2023-05-03T01:43:46.165Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-05-03T01:43:46.579Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-05-03T01:43:46.579Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-05-03T01:43:46.579Z] + [ -e /tmp/ssh_known_hosts ] [2023-05-03T01:43:46.579Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-05-03T01:43:46.579Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-05-03T01:43:46.579Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-05-03T01:43:46.579Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-03T01:43:47.050Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-03T01:43:47.051Z] [2023-05-03T01:43:47.051Z] 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-03T01:43:47.438Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-03T01:43:47.439Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-05-03T01:43:47.439Z] b85a868b505f: Pulling fs layer [2023-05-03T01:43:47.439Z] e2be974225ed: Pulling fs layer [2023-05-03T01:43:47.439Z] 339a4e72a1f5: Pulling fs layer [2023-05-03T01:43:47.439Z] 988bab9f4d93: Pulling fs layer [2023-05-03T01:43:47.439Z] 1469e6f7b9e6: Pulling fs layer [2023-05-03T01:43:47.439Z] 988bab9f4d93: Waiting [2023-05-03T01:43:47.439Z] eaf3925da568: Pulling fs layer [2023-05-03T01:43:47.439Z] 1469e6f7b9e6: Waiting [2023-05-03T01:43:47.439Z] bab4dde63d76: Pulling fs layer [2023-05-03T01:43:47.439Z] bde34c3a00c8: Pulling fs layer [2023-05-03T01:43:47.439Z] b352a97aabf1: Pulling fs layer [2023-05-03T01:43:47.439Z] bde34c3a00c8: Waiting [2023-05-03T01:43:47.439Z] eaf3925da568: Waiting [2023-05-03T01:43:47.439Z] b352a97aabf1: Waiting [2023-05-03T01:43:47.439Z] bab4dde63d76: Waiting [2023-05-03T01:43:47.439Z] 4872d77fe225: Pulling fs layer [2023-05-03T01:43:47.439Z] 5851b861e8e6: Pulling fs layer [2023-05-03T01:43:47.439Z] 4872d77fe225: Waiting [2023-05-03T01:43:47.439Z] 5851b861e8e6: Waiting [2023-05-03T01:43:47.439Z] e2be974225ed: Download complete [2023-05-03T01:43:47.439Z] 988bab9f4d93: Verifying Checksum [2023-05-03T01:43:47.439Z] 988bab9f4d93: Download complete [2023-05-03T01:43:47.439Z] 1469e6f7b9e6: Verifying Checksum [2023-05-03T01:43:47.439Z] 1469e6f7b9e6: Download complete [2023-05-03T01:43:47.439Z] eaf3925da568: Download complete [2023-05-03T01:43:47.439Z] 339a4e72a1f5: Verifying Checksum [2023-05-03T01:43:47.439Z] 339a4e72a1f5: Download complete [2023-05-03T01:43:47.698Z] bde34c3a00c8: Verifying Checksum [2023-05-03T01:43:47.698Z] bde34c3a00c8: Download complete [2023-05-03T01:43:47.698Z] b352a97aabf1: Download complete [2023-05-03T01:43:47.698Z] 4872d77fe225: Verifying Checksum [2023-05-03T01:43:47.698Z] 4872d77fe225: Download complete [2023-05-03T01:43:47.698Z] 5851b861e8e6: Verifying Checksum [2023-05-03T01:43:47.698Z] 5851b861e8e6: Download complete [2023-05-03T01:43:47.698Z] b85a868b505f: Verifying Checksum [2023-05-03T01:43:47.698Z] b85a868b505f: Download complete [2023-05-03T01:43:47.957Z] bab4dde63d76: Verifying Checksum [2023-05-03T01:43:48.894Z] b85a868b505f: Pull complete [2023-05-03T01:43:49.154Z] e2be974225ed: Pull complete [2023-05-03T01:43:49.724Z] 339a4e72a1f5: Pull complete [2023-05-03T01:43:49.724Z] 988bab9f4d93: Pull complete [2023-05-03T01:43:50.004Z] 1469e6f7b9e6: Pull complete [2023-05-03T01:43:50.004Z] eaf3925da568: Pull complete [2023-05-03T01:43:51.910Z] bab4dde63d76: Pull complete [2023-05-03T01:43:51.910Z] bde34c3a00c8: Pull complete [2023-05-03T01:43:51.910Z] b352a97aabf1: Pull complete [2023-05-03T01:43:52.169Z] 4872d77fe225: Pull complete [2023-05-03T01:43:52.429Z] 5851b861e8e6: Pull complete [2023-05-03T01:43:52.429Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-05-03T01:43:52.429Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-03T01:43:52.429Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-03T01:43:52.675Z] prd-ubuntu20.04-docker-8c-8g-12523 does not seem to be running inside a container [2023-05-03T01:43:52.722Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1446 -v /w/workspace/gexfoundry_device-sdk-go_PR-1446:/w/workspace/gexfoundry_device-sdk-go_PR-1446:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1446@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1446@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-03T01:43:59.142Z] $ docker top b7693c55d8bebace0d76da0b85c7b5b45a41e7c755a68bbfbd7dcfa5732bdc46 -eo pid,comm [2023-05-03T01:43:59.226Z] 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-03T01:43:59.226Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-05-03T01:43:59.391Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-03T01:43:59.391Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-03T01:43:59.533Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-03T01:43:59.536Z] $ docker exec b7693c55d8bebace0d76da0b85c7b5b45a41e7c755a68bbfbd7dcfa5732bdc46 ssh-agent [2023-05-03T01:43:59.667Z] SSH_AUTH_SOCK=/tmp/ssh-C3lkIFKgCmYz/agent.14 [2023-05-03T01:43:59.667Z] SSH_AGENT_PID=21 [2023-05-03T01:43:59.675Z] Running ssh-add (command line suppressed) [2023-05-03T01:43:59.784Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1446@tmp/private_key_11213604722013319599.key (/w/workspace/gexfoundry_device-sdk-go_PR-1446@tmp/private_key_11213604722013319599.key) [2023-05-03T01:43:59.802Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-03T01:44:00.140Z] + git tag --points-at HEAD [Pipeline] } [2023-05-03T01:44:00.164Z] $ docker exec --env ******** --env ******** b7693c55d8bebace0d76da0b85c7b5b45a41e7c755a68bbfbd7dcfa5732bdc46 ssh-agent -k [2023-05-03T01:44:00.284Z] unset SSH_AUTH_SOCK; [2023-05-03T01:44:00.284Z] unset SSH_AGENT_PID; [2023-05-03T01:44:00.284Z] echo Agent pid 21 killed; [2023-05-03T01:44:00.299Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-05-03T01:44:00.401Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-03T01:44:00.401Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-03T01:44:00.510Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-03T01:44:00.514Z] $ docker exec b7693c55d8bebace0d76da0b85c7b5b45a41e7c755a68bbfbd7dcfa5732bdc46 ssh-agent [2023-05-03T01:44:00.625Z] SSH_AUTH_SOCK=/tmp/ssh-4F5fdPVLgnu2/agent.71 [2023-05-03T01:44:00.625Z] SSH_AGENT_PID=77 [2023-05-03T01:44:00.632Z] Running ssh-add (command line suppressed) [2023-05-03T01:44:00.722Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1446@tmp/private_key_2703538644918406568.key (/w/workspace/gexfoundry_device-sdk-go_PR-1446@tmp/private_key_2703538644918406568.key) [2023-05-03T01:44:00.739Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-03T01:44:01.073Z] + git semver init [2023-05-03T01:44:01.645Z] 2023-05-03 01:44:01,342 [run_init] DEBUG init version:0.0.0 force:False [2023-05-03T01:44:01.645Z] 2023-05-03 01:44:01,343 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1446/.semver [2023-05-03T01:44:01.645Z] 2023-05-03 01:44:01,344 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1446/.semver [2023-05-03T01:44:01.645Z] 2023-05-03 01:44:01,345 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1446/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1446, universal_newlines=False, shell=None, istream=None) [2023-05-03T01:44:02.586Z] 2023-05-03 01:44:02,441 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1446/.git/info/exclude [2023-05-03T01:44:02.586Z] 2023-05-03 01:44:02,442 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1446/.semver/PR-1446 with force:False [2023-05-03T01:44:02.586Z] 2023-05-03 01:44:02,442 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1446/.semver/PR-1446 [2023-05-03T01:44:02.586Z] 2023-05-03 01:44:02,447 [execute] INFO git cat-file --batch-check [2023-05-03T01:44:02.586Z] 2023-05-03 01:44:02,447 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1446/.semver, universal_newlines=False, shell=None, istream=) [2023-05-03T01:44:02.586Z] 2023-05-03 01:44:02,454 [execute] INFO git cat-file --batch [2023-05-03T01:44:02.586Z] 2023-05-03 01:44:02,454 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1446/.semver, universal_newlines=False, shell=None, istream=) [2023-05-03T01:44:02.586Z] 2023-05-03 01:44:02,459 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1446/.semver/PR-1446 [2023-05-03T01:44:02.586Z] 0.0.0 [Pipeline] } [2023-05-03T01:44:02.614Z] $ docker exec --env ******** --env ******** b7693c55d8bebace0d76da0b85c7b5b45a41e7c755a68bbfbd7dcfa5732bdc46 ssh-agent -k [2023-05-03T01:44:02.724Z] unset SSH_AUTH_SOCK; [2023-05-03T01:44:02.725Z] unset SSH_AGENT_PID; [2023-05-03T01:44:02.725Z] echo Agent pid 77 killed; [2023-05-03T01:44:02.735Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-05-03T01:44:03.178Z] + git semver [Pipeline] } [2023-05-03T01:44:03.464Z] $ docker stop --time=1 b7693c55d8bebace0d76da0b85c7b5b45a41e7c755a68bbfbd7dcfa5732bdc46 [2023-05-03T01:44:04.801Z] $ docker rm -f --volumes b7693c55d8bebace0d76da0b85c7b5b45a41e7c755a68bbfbd7dcfa5732bdc46 [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-03T01:44:05.207Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-05-03T01:44:05.494Z] Stashed 1 file(s) [Pipeline] echo [2023-05-03T01:44:05.513Z] [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-03T01:44:06.194Z] provisioning config files... [2023-05-03T01:44:06.202Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1446@tmp/config17228821772718340451tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-03T01:44:06.597Z] ---> docker-login.sh [2023-05-03T01:44:06.598Z] nexus3.edgexfoundry.org:10001 [2023-05-03T01:44:06.598Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-03T01:44:06.598Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-03T01:44:06.598Z] Configure a credential helper to remove this warning. See [2023-05-03T01:44:06.598Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-03T01:44:06.598Z] [2023-05-03T01:44:06.598Z] Login Succeeded [2023-05-03T01:44:06.598Z] nexus3.edgexfoundry.org:10002 [2023-05-03T01:44:06.598Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-03T01:44:06.598Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-03T01:44:06.598Z] Configure a credential helper to remove this warning. See [2023-05-03T01:44:06.598Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-03T01:44:06.598Z] [2023-05-03T01:44:06.598Z] Login Succeeded [2023-05-03T01:44:06.598Z] nexus3.edgexfoundry.org:10003 [2023-05-03T01:44:06.856Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-03T01:44:06.856Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-03T01:44:06.856Z] Configure a credential helper to remove this warning. See [2023-05-03T01:44:06.856Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-03T01:44:06.856Z] [2023-05-03T01:44:06.856Z] Login Succeeded [2023-05-03T01:44:06.856Z] nexus3.edgexfoundry.org:10004 [2023-05-03T01:44:06.856Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-03T01:44:06.856Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-03T01:44:06.856Z] Configure a credential helper to remove this warning. See [2023-05-03T01:44:06.856Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-03T01:44:06.856Z] [2023-05-03T01:44:06.856Z] Login Succeeded [2023-05-03T01:44:06.856Z] docker.io [2023-05-03T01:44:06.856Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-03T01:44:07.116Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-03T01:44:07.116Z] Configure a credential helper to remove this warning. See [2023-05-03T01:44:07.116Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-03T01:44:07.116Z] [2023-05-03T01:44:07.116Z] Login Succeeded [2023-05-03T01:44:07.116Z] ---> docker-login.sh ends [Pipeline] } [2023-05-03T01:44:07.148Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-05-03T01:44:07.572Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-03T01:44:07.613Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-03T01:44:07.646Z] ========================================================= [2023-05-03T01:44:07.646Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-05-03T01:44:07.646Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-03T01:44:08.137Z] + 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-03T01:44:08.138Z] Sending build context to Docker daemon 11.05MB [2023-05-03T01:44:08.138Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-05-03T01:44:08.138Z] Step 2/10 : FROM ${BASE} AS builder [2023-05-03T01:44:08.138Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-05-03T01:44:08.138Z] f56be85fc22e: Pulling fs layer [2023-05-03T01:44:08.138Z] 85791d961cd3: Pulling fs layer [2023-05-03T01:44:08.138Z] d694b5ae8c79: Pulling fs layer [2023-05-03T01:44:08.138Z] 9f32a84ed3da: Pulling fs layer [2023-05-03T01:44:08.138Z] 4d19c01a9841: Pulling fs layer [2023-05-03T01:44:08.138Z] 9325e15d5711: Pulling fs layer [2023-05-03T01:44:08.138Z] 556b6ee489ea: Pulling fs layer [2023-05-03T01:44:08.138Z] c5a4b2cf53e6: Pulling fs layer [2023-05-03T01:44:08.138Z] 9f32a84ed3da: Waiting [2023-05-03T01:44:08.138Z] c5a4b2cf53e6: Waiting [2023-05-03T01:44:08.138Z] 556b6ee489ea: Waiting [2023-05-03T01:44:08.138Z] 4d19c01a9841: Waiting [2023-05-03T01:44:08.138Z] 9325e15d5711: Waiting [2023-05-03T01:44:08.400Z] 85791d961cd3: Verifying Checksum [2023-05-03T01:44:08.400Z] 85791d961cd3: Download complete [2023-05-03T01:44:08.400Z] 9f32a84ed3da: Verifying Checksum [2023-05-03T01:44:08.400Z] 9f32a84ed3da: Download complete [2023-05-03T01:44:08.400Z] 4d19c01a9841: Verifying Checksum [2023-05-03T01:44:08.400Z] 4d19c01a9841: Download complete [2023-05-03T01:44:08.400Z] f56be85fc22e: Download complete [2023-05-03T01:44:08.400Z] 9325e15d5711: Verifying Checksum [2023-05-03T01:44:08.400Z] 9325e15d5711: Download complete [2023-05-03T01:44:08.400Z] f56be85fc22e: Pull complete [2023-05-03T01:44:08.659Z] 85791d961cd3: Pull complete [2023-05-03T01:44:08.918Z] c5a4b2cf53e6: Verifying Checksum [2023-05-03T01:44:08.919Z] c5a4b2cf53e6: Download complete [2023-05-03T01:44:09.177Z] d694b5ae8c79: Verifying Checksum [2023-05-03T01:44:09.177Z] d694b5ae8c79: Download complete [2023-05-03T01:44:09.434Z] 556b6ee489ea: Verifying Checksum [2023-05-03T01:44:09.434Z] 556b6ee489ea: Download complete [2023-05-03T01:44:12.726Z] d694b5ae8c79: Pull complete [2023-05-03T01:44:12.985Z] 9f32a84ed3da: Pull complete [2023-05-03T01:44:13.243Z] 4d19c01a9841: Pull complete [2023-05-03T01:44:13.503Z] 9325e15d5711: Pull complete [2023-05-03T01:44:16.790Z] 556b6ee489ea: Pull complete [2023-05-03T01:44:17.727Z] c5a4b2cf53e6: Pull complete [2023-05-03T01:44:17.727Z] Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b [2023-05-03T01:44:17.987Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-05-03T01:44:17.987Z] ---> c4be618373d6 [2023-05-03T01:44:17.987Z] Step 3/10 : ARG MAKE=make build [2023-05-03T01:44:20.997Z] Still waiting to schedule task [2023-05-03T01:44:20.998Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-05-03T01:44:24.556Z] ---> Running in b72c717ade36 [2023-05-03T01:44:24.556Z] Removing intermediate container b72c717ade36 [2023-05-03T01:44:24.556Z] ---> bc74645af498 [2023-05-03T01:44:24.556Z] Step 4/10 : WORKDIR /device-sdk-go [2023-05-03T01:44:24.556Z] ---> Running in 23b863d60f11 [2023-05-03T01:44:24.556Z] Removing intermediate container 23b863d60f11 [2023-05-03T01:44:24.556Z] ---> 27fa54646d59 [2023-05-03T01:44:24.556Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-05-03T01:44:24.556Z] ---> Running in 5ba696f78782 [2023-05-03T01:44:24.556Z] Removing intermediate container 5ba696f78782 [2023-05-03T01:44:24.556Z] ---> c4cb4beb5f31 [2023-05-03T01:44:24.556Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-05-03T01:44:24.556Z] ---> Running in 558b5e097c06 [2023-05-03T01:44:24.556Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-03T01:44:24.556Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-03T01:44:24.814Z] OK: 265 MiB in 53 packages [2023-05-03T01:44:25.072Z] Removing intermediate container 558b5e097c06 [2023-05-03T01:44:25.072Z] ---> dc66a666771d [2023-05-03T01:44:25.072Z] Step 7/10 : COPY go.mod vendor* ./ [2023-05-03T01:44:25.331Z] ---> 635609264097 [2023-05-03T01:44:25.331Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-03T01:44:25.331Z] ---> Running in eaa69ae7b00a [2023-05-03T01:44:58.968Z] Removing intermediate container eaa69ae7b00a [2023-05-03T01:44:58.968Z] ---> 1482bc5df8d8 [2023-05-03T01:44:58.968Z] Step 9/10 : COPY . . [2023-05-03T01:44:58.968Z] ---> 4a948e5381cd [2023-05-03T01:44:58.968Z] Step 10/10 : RUN ${MAKE} [2023-05-03T01:44:58.968Z] ---> Running in 2e06d574508c [2023-05-03T01:44:58.968Z] noop [2023-05-03T01:44:58.968Z] Removing intermediate container 2e06d574508c [2023-05-03T01:44:58.968Z] ---> ce0247577fad [2023-05-03T01:44:58.968Z] Successfully built ce0247577fad [2023-05-03T01:44:58.968Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-03T01:44:59.533Z] + docker inspect -f . ci-base-image-x86_64 [2023-05-03T01:44:59.533Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-03T01:44:59.709Z] prd-ubuntu20.04-docker-8c-8g-12523 does not seem to be running inside a container [2023-05-03T01:44:59.738Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1446 -v /w/workspace/gexfoundry_device-sdk-go_PR-1446:/w/workspace/gexfoundry_device-sdk-go_PR-1446:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1446@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1446@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-03T01:45:00.063Z] $ docker top f61d0aeafa9ba1bdd6869f41d5b66869c08c7748bd0ef50411b6fb8eb39f9b5b -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-03T01:45:00.447Z] + go version [2023-05-03T01:45:00.447Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-05-03T01:45:00.478Z] $ docker stop --time=1 f61d0aeafa9ba1bdd6869f41d5b66869c08c7748bd0ef50411b6fb8eb39f9b5b [2023-05-03T01:45:01.728Z] $ docker rm -f --volumes f61d0aeafa9ba1bdd6869f41d5b66869c08c7748bd0ef50411b6fb8eb39f9b5b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-03T01:45:02.605Z] + docker inspect -f . ci-base-image-x86_64 [2023-05-03T01:45:02.605Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-03T01:45:02.765Z] prd-ubuntu20.04-docker-8c-8g-12523 does not seem to be running inside a container [2023-05-03T01:45:02.800Z] $ 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-1446 -v /w/workspace/gexfoundry_device-sdk-go_PR-1446:/w/workspace/gexfoundry_device-sdk-go_PR-1446:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1446@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1446@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-03T01:45:03.170Z] $ docker top 6e0b0a2813f7b93d43aa62cdac8940d42f8543e1655f2c053a3825d761b1f645 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-03T01:45:03.579Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1446 [Pipeline] fileExists [Pipeline] sh [2023-05-03T01:45:03.952Z] + make test [2023-05-03T01:45:03.952Z] go test -race -coverprofile=coverage.out ./... [2023-05-03T01:45:10.512Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-05-03T01:45:25.377Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-05-03T01:45:25.377Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-05-03T01:45:25.377Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-05-03T01:45:25.377Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-05-03T01:45:25.377Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-05-03T01:45:25.634Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.065s coverage: 27.6% of statements [2023-05-03T01:45:25.634Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.082s coverage: 80.2% of statements [2023-05-03T01:45:25.634Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-05-03T01:45:25.634Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-05-03T01:45:25.891Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.076s coverage: 86.0% of statements [2023-05-03T01:45:26.823Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-05-03T01:45:26.823Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-05-03T01:45:26.823Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.108s coverage: 77.5% of statements [2023-05-03T01:45:26.823Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-05-03T01:45:26.823Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-05-03T01:45:27.761Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-05-03T01:45:30.289Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.070s coverage: 14.6% of statements [2023-05-03T01:45:30.289Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.091s coverage: 68.5% of statements [2023-05-03T01:45:30.289Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.110s coverage: 89.2% of statements [2023-05-03T01:45:30.289Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.051s coverage: 5.5% of statements [2023-05-03T01:45:53.421Z] GO111MODULE=on go vet ./... [2023-05-03T01:45:53.935Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-05-03T01:45:53.935Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-05-03T01:45:53.935Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-05-03T01:45:54.384Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-05-03T01:45:54.419Z] $ docker stop --time=1 6e0b0a2813f7b93d43aa62cdac8940d42f8543e1655f2c053a3825d761b1f645 [2023-05-03T01:45:58.345Z] $ docker rm -f --volumes 6e0b0a2813f7b93d43aa62cdac8940d42f8543e1655f2c053a3825d761b1f645 [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-03T01:45:58.919Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-05-03T01:45:59.016Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-05-03T01:45:59.637Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-05-03T01:45:59.955Z] + ls -al . [2023-05-03T01:45:59.955Z] total 272 [2023-05-03T01:45:59.955Z] drwxrwxr-x 11 jenkins jenkins 4096 May 3 01:45 . [2023-05-03T01:45:59.955Z] drwxrwxr-x 4 jenkins jenkins 4096 May 3 01:43 .. [2023-05-03T01:45:59.955Z] -rw-rw-r-- 1 jenkins jenkins 140 May 3 01:43 .dockerignore [2023-05-03T01:45:59.955Z] drwxrwxr-x 8 jenkins jenkins 4096 May 3 01:44 .git [2023-05-03T01:45:59.955Z] drwxrwxr-x 2 jenkins jenkins 4096 May 3 01:43 .github [2023-05-03T01:45:59.955Z] -rw-rw-r-- 1 jenkins jenkins 131 May 3 01:43 .gitignore [2023-05-03T01:45:59.955Z] -rw-rw-r-- 1 jenkins jenkins 42 May 3 01:43 .golangci.yml [2023-05-03T01:45:59.955Z] drwxr-xr-x 3 jenkins jenkins 4096 May 3 01:44 .semver [2023-05-03T01:45:59.955Z] -rw-rw-r-- 1 jenkins jenkins 31677 May 3 01:43 CHANGELOG.md [2023-05-03T01:45:59.955Z] -rw-rw-r-- 1 jenkins jenkins 677 May 3 01:43 GOVERNANCE.md [2023-05-03T01:45:59.955Z] -rw-rw-r-- 1 jenkins jenkins 885 May 3 01:43 Jenkinsfile [2023-05-03T01:45:59.955Z] -rw-rw-r-- 1 jenkins jenkins 11341 May 3 01:43 LICENSE [2023-05-03T01:45:59.955Z] -rw-rw-r-- 1 jenkins jenkins 1714 May 3 01:43 Makefile [2023-05-03T01:45:59.955Z] -rw-rw-r-- 1 jenkins jenkins 619 May 3 01:43 OWNERS.md [2023-05-03T01:45:59.955Z] -rw-rw-r-- 1 jenkins jenkins 4891 May 3 01:43 README.md [2023-05-03T01:45:59.955Z] -rw-rw-r-- 1 jenkins jenkins 5 May 3 01:44 VERSION [2023-05-03T01:45:59.955Z] drwxrwxr-x 2 jenkins jenkins 4096 May 3 01:43 bin [2023-05-03T01:45:59.955Z] -rw-r--r-- 1 jenkins jenkins 106119 May 3 01:45 coverage.out [2023-05-03T01:45:59.955Z] drwxrwxr-x 5 jenkins jenkins 4096 May 3 01:43 example [2023-05-03T01:45:59.955Z] -rw-rw-r-- 1 jenkins jenkins 3246 May 3 01:43 go.mod [2023-05-03T01:45:59.955Z] -rw-rw-r-- 1 jenkins jenkins 30781 May 3 01:43 go.sum [2023-05-03T01:45:59.955Z] drwxrwxr-x 12 jenkins jenkins 4096 May 3 01:43 internal [2023-05-03T01:45:59.955Z] drwxrwxr-x 3 jenkins jenkins 4096 May 3 01:43 openapi [2023-05-03T01:45:59.955Z] drwxrwxr-x 6 jenkins jenkins 4096 May 3 01:43 pkg [2023-05-03T01:45:59.955Z] drwxrwxr-x 4 jenkins jenkins 4096 May 3 01:43 snap [2023-05-03T01:45:59.955Z] -rw-rw-r-- 1 jenkins jenkins 222 May 3 01:43 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-03T01:46:00.520Z] + 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=dbe9d5e0872a60535a4ad0e83d3d5546e8bba869 --label arch=amd64 --label version=0.0.0 . [2023-05-03T01:46:00.520Z] Sending build context to Docker daemon 11.16MB [2023-05-03T01:46:00.520Z] Step 1/23 : ARG BASE=golang:1.20-alpine3.17 [2023-05-03T01:46:00.520Z] Step 2/23 : FROM ${BASE} AS builder [2023-05-03T01:46:00.520Z] ---> ce0247577fad [2023-05-03T01:46:00.520Z] Step 3/23 : ARG MAKE=make build [2023-05-03T01:46:00.778Z] ---> Running in 69a4b77f04bb [2023-05-03T01:46:00.778Z] Removing intermediate container 69a4b77f04bb [2023-05-03T01:46:00.778Z] ---> 8cf7e341d2d8 [2023-05-03T01:46:00.778Z] Step 4/23 : WORKDIR /device-sdk-go [2023-05-03T01:46:00.778Z] ---> Running in 0165a586a47a [2023-05-03T01:46:00.778Z] Removing intermediate container 0165a586a47a [2023-05-03T01:46:00.778Z] ---> 961e09707147 [2023-05-03T01:46:00.778Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-05-03T01:46:01.036Z] ---> Running in 22492fa5f907 [2023-05-03T01:46:01.036Z] Removing intermediate container 22492fa5f907 [2023-05-03T01:46:01.036Z] ---> 1b652d8d36f3 [2023-05-03T01:46:01.036Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-05-03T01:46:01.036Z] ---> Running in fd3f76e0f07b [2023-05-03T01:46:01.294Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-03T01:46:01.294Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-03T01:46:01.553Z] OK: 265 MiB in 53 packages [2023-05-03T01:46:02.183Z] Removing intermediate container fd3f76e0f07b [2023-05-03T01:46:02.183Z] ---> b7ff14d7ced8 [2023-05-03T01:46:02.183Z] Step 7/23 : COPY go.mod vendor* ./ [2023-05-03T01:46:02.183Z] ---> 336123e9def8 [2023-05-03T01:46:02.183Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-03T01:46:02.183Z] ---> Running in 0704e6a6ced5 [2023-05-03T01:46:05.587Z] Removing intermediate container 0704e6a6ced5 [2023-05-03T01:46:05.587Z] ---> 24976be96a5a [2023-05-03T01:46:05.587Z] Step 9/23 : COPY . . [2023-05-03T01:46:05.849Z] ---> 7a769fcf00db [2023-05-03T01:46:05.849Z] Step 10/23 : RUN ${MAKE} [2023-05-03T01:46:05.849Z] ---> Running in ef647bb015a6 [2023-05-03T01:46:06.419Z] 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-03T01:46:28.357Z] Removing intermediate container ef647bb015a6 [2023-05-03T01:46:28.357Z] ---> e39546b35d59 [2023-05-03T01:46:28.357Z] Step 11/23 : FROM alpine:3.17 [2023-05-03T01:46:28.357Z] 3.17: Pulling from library/alpine [2023-05-03T01:46:28.357Z] f56be85fc22e: Already exists [2023-05-03T01:46:28.357Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-05-03T01:46:28.357Z] Status: Downloaded newer image for alpine:3.17 [2023-05-03T01:46:28.357Z] ---> 9ed4aefc74f6 [2023-05-03T01:46:28.357Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-05-03T01:46:28.357Z] ---> Running in 42146aa33ee6 [2023-05-03T01:46:28.357Z] Removing intermediate container 42146aa33ee6 [2023-05-03T01:46:28.357Z] ---> 8bae779ba5a6 [2023-05-03T01:46:28.357Z] Step 13/23 : RUN apk add --update --no-cache [2023-05-03T01:46:28.357Z] ---> Running in 4f3b89ec6073 [2023-05-03T01:46:28.357Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-03T01:46:28.357Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-03T01:46:28.357Z] OK: 7 MiB in 15 packages [2023-05-03T01:46:28.357Z] Removing intermediate container 4f3b89ec6073 [2023-05-03T01:46:28.357Z] ---> 857eb74a7d37 [2023-05-03T01:46:28.357Z] Step 14/23 : WORKDIR / [2023-05-03T01:46:28.357Z] ---> Running in 9ea99dc78606 [2023-05-03T01:46:28.357Z] Removing intermediate container 9ea99dc78606 [2023-05-03T01:46:28.357Z] ---> 7f9e1c30cc97 [2023-05-03T01:46:28.357Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-05-03T01:46:28.357Z] ---> 54962802b396 [2023-05-03T01:46:28.357Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-05-03T01:46:28.357Z] ---> 73350bae1dc9 [2023-05-03T01:46:28.357Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-05-03T01:46:28.357Z] ---> 7e2727dbe77c [2023-05-03T01:46:28.357Z] Step 18/23 : EXPOSE 59999 [2023-05-03T01:46:28.357Z] ---> Running in ddb93448ef50 [2023-05-03T01:46:28.357Z] Removing intermediate container ddb93448ef50 [2023-05-03T01:46:28.357Z] ---> 9dcd34fc341e [2023-05-03T01:46:28.357Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-05-03T01:46:28.357Z] ---> Running in 57899ed6988d [2023-05-03T01:46:28.357Z] Removing intermediate container 57899ed6988d [2023-05-03T01:46:28.357Z] ---> b0e96ac8b802 [2023-05-03T01:46:28.357Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-05-03T01:46:28.357Z] ---> Running in 07f34e64ee3f [2023-05-03T01:46:28.357Z] Removing intermediate container 07f34e64ee3f [2023-05-03T01:46:28.357Z] ---> ef2784b13931 [2023-05-03T01:46:28.357Z] Step 21/23 : LABEL arch=amd64 [2023-05-03T01:46:28.357Z] ---> Running in 0921a5526079 [2023-05-03T01:46:28.357Z] Removing intermediate container 0921a5526079 [2023-05-03T01:46:28.357Z] ---> d4d655908d52 [2023-05-03T01:46:28.357Z] Step 22/23 : LABEL git_sha=dbe9d5e0872a60535a4ad0e83d3d5546e8bba869 [2023-05-03T01:46:28.357Z] ---> Running in 30afd1c8abeb [2023-05-03T01:46:28.357Z] Removing intermediate container 30afd1c8abeb [2023-05-03T01:46:28.357Z] ---> d4323578b9b5 [2023-05-03T01:46:28.357Z] Step 23/23 : LABEL version=0.0.0 [2023-05-03T01:46:28.357Z] ---> Running in 521a46bfbf26 [2023-05-03T01:46:28.357Z] Removing intermediate container 521a46bfbf26 [2023-05-03T01:46:28.357Z] ---> cec1ad3b7bfa [2023-05-03T01:46:28.357Z] [Warning] One or more build-args [ARCH] were not consumed [2023-05-03T01:46:28.357Z] Successfully built cec1ad3b7bfa [2023-05-03T01:46:28.357Z] Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-03T01:46:29.319Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-03T01:46:29.320Z] [2023-05-03T01:46:29.320Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-03T01:46:29.698Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-03T01:46:29.698Z] latest: Pulling from edgex-lftools-log-publisher [2023-05-03T01:46:29.698Z] 5eb5b503b376: Pulling fs layer [2023-05-03T01:46:29.698Z] 5c69ac0246d0: Pulling fs layer [2023-05-03T01:46:29.698Z] ec43610c2a17: Pulling fs layer [2023-05-03T01:46:29.698Z] 3a2ae6a8a46f: Pulling fs layer [2023-05-03T01:46:29.698Z] 33b1e0a273af: Pulling fs layer [2023-05-03T01:46:29.698Z] 5d3b04190fa2: Pulling fs layer [2023-05-03T01:46:29.698Z] 2f39f015ded8: Pulling fs layer [2023-05-03T01:46:29.698Z] 3a2ae6a8a46f: Waiting [2023-05-03T01:46:29.698Z] 33b1e0a273af: Waiting [2023-05-03T01:46:29.698Z] 2f39f015ded8: Waiting [2023-05-03T01:46:29.698Z] 5d3b04190fa2: Waiting [2023-05-03T01:46:29.698Z] 5c69ac0246d0: Download complete [2023-05-03T01:46:29.698Z] 3a2ae6a8a46f: Verifying Checksum [2023-05-03T01:46:29.698Z] 3a2ae6a8a46f: Download complete [2023-05-03T01:46:29.698Z] 33b1e0a273af: Verifying Checksum [2023-05-03T01:46:29.698Z] 33b1e0a273af: Download complete [2023-05-03T01:46:29.698Z] 5d3b04190fa2: Verifying Checksum [2023-05-03T01:46:29.698Z] 5d3b04190fa2: Download complete [2023-05-03T01:46:29.698Z] ec43610c2a17: Verifying Checksum [2023-05-03T01:46:29.698Z] ec43610c2a17: Download complete [2023-05-03T01:46:29.957Z] 5eb5b503b376: Verifying Checksum [2023-05-03T01:46:29.957Z] 5eb5b503b376: Download complete [2023-05-03T01:46:30.523Z] 2f39f015ded8: Verifying Checksum [2023-05-03T01:46:30.523Z] 2f39f015ded8: Download complete [2023-05-03T01:46:31.089Z] 5eb5b503b376: Pull complete [2023-05-03T01:46:31.347Z] 5c69ac0246d0: Pull complete [2023-05-03T01:46:31.604Z] ec43610c2a17: Pull complete [2023-05-03T01:46:31.604Z] 3a2ae6a8a46f: Pull complete [2023-05-03T01:46:31.861Z] 33b1e0a273af: Pull complete [2023-05-03T01:46:31.861Z] 5d3b04190fa2: Pull complete [2023-05-03T01:46:36.045Z] 2f39f015ded8: Pull complete [2023-05-03T01:46:36.045Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-05-03T01:46:36.045Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-03T01:46:36.045Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-03T01:46:36.255Z] prd-ubuntu20.04-docker-8c-8g-12523 does not seem to be running inside a container [2023-05-03T01:46:36.280Z] $ 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-1446 -v /w/workspace/gexfoundry_device-sdk-go_PR-1446:/w/workspace/gexfoundry_device-sdk-go_PR-1446:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1446@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1446@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-03T01:46:41.485Z] $ docker top 66a91d2c50234e3d1320f746920630bc80fac7fd38dfd217de236e32b0d1bf1a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-03T01:46:41.926Z] ---> job-cost.sh [2023-05-03T01:46:41.926Z] lf-activate-venv: SKIPPING [2023-05-03T01:46:41.926Z] INFO: No Stack... [2023-05-03T01:46:42.183Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-05-03T01:46:42.440Z] INFO: Archiving Costs [Pipeline] sh [2023-05-03T01:46:42.753Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1446/archives/cost.csv [2023-05-03T01:46:42.753Z] + cut -d, -f6 [Pipeline] lock [2023-05-03T01:46:42.789Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1446-1-stack-cost] [2023-05-03T01:46:42.800Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1446-1-stack-cost] did not exist. Created. [2023-05-03T01:46:42.800Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1446-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-05-03T01:46:43.193Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-05-03T01:46:43.252Z] Stashed 1 file(s) [Pipeline] } [2023-05-03T01:46:43.284Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1446-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-05-03T01:46:43.365Z] $ docker stop --time=1 66a91d2c50234e3d1320f746920630bc80fac7fd38dfd217de236e32b0d1bf1a [2023-05-03T01:46:44.515Z] $ docker rm -f --volumes 66a91d2c50234e3d1320f746920630bc80fac7fd38dfd217de236e32b0d1bf1a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-05-03T01:47:57.327Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-12525 in /w/workspace/gexfoundry_device-sdk-go_PR-1446 [Pipeline] { [Pipeline] ws [2023-05-03T01:47:57.386Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2023-05-03T01:47:57.478Z] The recommended git tool is: git [2023-05-03T01:48:03.895Z] using credential edgex-jenkins-ssh [2023-05-03T01:48:03.914Z] Cloning the remote Git repository [2023-05-03T01:48:03.969Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-05-03T01:48:04.089Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2023-05-03T01:48:04.291Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-05-03T01:48:04.293Z] > git --version # timeout=10 [2023-05-03T01:48:04.317Z] > git --version # 'git version 2.25.1' [2023-05-03T01:48:04.321Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-03T01:48:04.508Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-05-03T01:48:06.402Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-05-03T01:48:06.443Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-05-03T01:48:07.522Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-05-03T01:48:07.570Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-05-03T01:48:07.572Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-03T01:48:07.589Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1446/head:refs/remotes/origin/PR-1446 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-05-03T01:48:08.241Z] Merging remotes/origin/main commit 41beedf42db0c4239d13182dec900f5915327502 into PR head commit dbe9d5e0872a60535a4ad0e83d3d5546e8bba869 [2023-05-03T01:48:08.620Z] Merge succeeded, producing dbe9d5e0872a60535a4ad0e83d3d5546e8bba869 [2023-05-03T01:48:08.621Z] Checking out Revision dbe9d5e0872a60535a4ad0e83d3d5546e8bba869 (PR-1446) [2023-05-03T01:48:08.262Z] > git config core.sparsecheckout # timeout=10 [2023-05-03T01:48:08.367Z] > git checkout -f dbe9d5e0872a60535a4ad0e83d3d5546e8bba869 # timeout=10 [2023-05-03T01:48:08.498Z] > git remote # timeout=10 [2023-05-03T01:48:08.519Z] > git config --get remote.origin.url # timeout=10 [2023-05-03T01:48:08.551Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-03T01:48:08.567Z] > git merge 41beedf42db0c4239d13182dec900f5915327502 # timeout=10 [2023-05-03T01:48:08.597Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-05-03T01:48:08.624Z] > git config core.sparsecheckout # timeout=10 [2023-05-03T01:48:08.649Z] > git checkout -f dbe9d5e0872a60535a4ad0e83d3d5546e8bba869 # timeout=10 [2023-05-03T01:48:09.262Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3" [2023-05-03T01:48:09.321Z] > git --version # timeout=10 [2023-05-03T01:48:09.333Z] > git --version # 'git version 2.25.1' [2023-05-03T01:48:09.347Z] fatal: bad object 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-03T01:48:10.460Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-05-03T01:48:10.461Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-03T01:48:10.461Z] Dload Upload Total Spent Left Speed [2023-05-03T01:48:10.461Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 207k 0 --:--:-- --:--:-- --:--:-- 207k [Pipeline] sh [2023-05-03T01:48:11.165Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-05-03T01:48:11.533Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-05-03T01:48:11.533Z] + sudo tee /etc/docker/daemon.new [2023-05-03T01:48:11.533Z] { [2023-05-03T01:48:11.533Z] "registry-mirrors": [ [2023-05-03T01:48:11.533Z] "https://nexus3.edgexfoundry.org:10001" [2023-05-03T01:48:11.533Z] ], [2023-05-03T01:48:11.533Z] "bip": "10.250.0.254/24", [2023-05-03T01:48:11.533Z] "hosts": [ [2023-05-03T01:48:11.533Z] "tcp://0.0.0.0:5555", [2023-05-03T01:48:11.533Z] "unix:///var/run/docker.sock" [2023-05-03T01:48:11.533Z] ], [2023-05-03T01:48:11.533Z] "mtu": 1458, [2023-05-03T01:48:11.533Z] "selinux-enabled": true, [2023-05-03T01:48:11.533Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-05-03T01:48:11.533Z] } [Pipeline] sh [2023-05-03T01:48:11.896Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-05-03T01:48:12.275Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-03T01:48:30.670Z] provisioning config files... [2023-05-03T01:48:30.712Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config15072579794391793149tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-03T01:48:31.136Z] ---> docker-login.sh [2023-05-03T01:48:31.136Z] nexus3.edgexfoundry.org:10001 [2023-05-03T01:48:31.729Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-03T01:48:32.000Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-03T01:48:32.000Z] Configure a credential helper to remove this warning. See [2023-05-03T01:48:32.000Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-03T01:48:32.000Z] [2023-05-03T01:48:32.000Z] Login Succeeded [2023-05-03T01:48:32.000Z] nexus3.edgexfoundry.org:10002 [2023-05-03T01:48:32.273Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-03T01:48:32.273Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-03T01:48:32.273Z] Configure a credential helper to remove this warning. See [2023-05-03T01:48:32.273Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-03T01:48:32.273Z] [2023-05-03T01:48:32.273Z] Login Succeeded [2023-05-03T01:48:32.273Z] nexus3.edgexfoundry.org:10003 [2023-05-03T01:48:32.545Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-03T01:48:32.819Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-03T01:48:32.819Z] Configure a credential helper to remove this warning. See [2023-05-03T01:48:32.819Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-03T01:48:32.819Z] [2023-05-03T01:48:32.819Z] Login Succeeded [2023-05-03T01:48:32.819Z] nexus3.edgexfoundry.org:10004 [2023-05-03T01:48:33.090Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-03T01:48:33.090Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-03T01:48:33.090Z] Configure a credential helper to remove this warning. See [2023-05-03T01:48:33.090Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-03T01:48:33.090Z] [2023-05-03T01:48:33.090Z] Login Succeeded [2023-05-03T01:48:33.090Z] docker.io [2023-05-03T01:48:33.363Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-03T01:48:33.634Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-03T01:48:33.634Z] Configure a credential helper to remove this warning. See [2023-05-03T01:48:33.634Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-03T01:48:33.634Z] [2023-05-03T01:48:33.634Z] Login Succeeded [2023-05-03T01:48:33.634Z] ---> docker-login.sh ends [Pipeline] } [2023-05-03T01:48:33.672Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-05-03T01:48:34.136Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-03T01:48:34.173Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-03T01:48:34.207Z] ========================================================= [2023-05-03T01:48:34.207Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-05-03T01:48:34.207Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-03T01:48:34.735Z] + 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-03T01:48:35.335Z] Sending build context to Docker daemon 5.933MB [2023-05-03T01:48:35.335Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-05-03T01:48:35.335Z] Step 2/10 : FROM ${BASE} AS builder [2023-05-03T01:48:35.642Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-05-03T01:48:35.642Z] c41833b44d91: Pulling fs layer [2023-05-03T01:48:35.642Z] ed15518f5707: Pulling fs layer [2023-05-03T01:48:35.642Z] feae8fd75edb: Pulling fs layer [2023-05-03T01:48:35.642Z] 242c74f7c9fa: Pulling fs layer [2023-05-03T01:48:35.642Z] 3cdef696dda3: Pulling fs layer [2023-05-03T01:48:35.642Z] 2ced38df9373: Pulling fs layer [2023-05-03T01:48:35.642Z] 58f1dce35555: Pulling fs layer [2023-05-03T01:48:35.642Z] 242c74f7c9fa: Waiting [2023-05-03T01:48:35.642Z] 3cdef696dda3: Waiting [2023-05-03T01:48:35.642Z] 2ced38df9373: Waiting [2023-05-03T01:48:35.642Z] 58f1dce35555: Waiting [2023-05-03T01:48:35.642Z] ed15518f5707: Verifying Checksum [2023-05-03T01:48:35.642Z] ed15518f5707: Download complete [2023-05-03T01:48:35.642Z] 242c74f7c9fa: Verifying Checksum [2023-05-03T01:48:35.642Z] 242c74f7c9fa: Download complete [2023-05-03T01:48:35.642Z] 3cdef696dda3: Verifying Checksum [2023-05-03T01:48:35.642Z] 3cdef696dda3: Download complete [2023-05-03T01:48:35.642Z] c41833b44d91: Verifying Checksum [2023-05-03T01:48:35.642Z] c41833b44d91: Download complete [2023-05-03T01:48:37.086Z] 58f1dce35555: Verifying Checksum [2023-05-03T01:48:37.086Z] 58f1dce35555: Download complete [2023-05-03T01:48:38.082Z] feae8fd75edb: Verifying Checksum [2023-05-03T01:48:38.083Z] feae8fd75edb: Download complete [2023-05-03T01:48:38.357Z] c41833b44d91: Pull complete [2023-05-03T01:48:38.357Z] 2ced38df9373: Verifying Checksum [2023-05-03T01:48:38.357Z] 2ced38df9373: Download complete [2023-05-03T01:48:38.630Z] ed15518f5707: Pull complete [2023-05-03T01:48:53.881Z] feae8fd75edb: Pull complete [2023-05-03T01:48:53.881Z] 242c74f7c9fa: Pull complete [2023-05-03T01:48:53.881Z] 3cdef696dda3: Pull complete [2023-05-03T01:48:58.182Z] 2ced38df9373: Pull complete [2023-05-03T01:49:00.787Z] 58f1dce35555: Pull complete [2023-05-03T01:49:00.787Z] Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e [2023-05-03T01:49:00.787Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-05-03T01:49:00.787Z] ---> fadd8f120f05 [2023-05-03T01:49:00.787Z] Step 3/10 : ARG MAKE=make build [2023-05-03T01:49:02.761Z] ---> Running in 72cd7ad6de5d [2023-05-03T01:49:03.041Z] Removing intermediate container 72cd7ad6de5d [2023-05-03T01:49:03.041Z] ---> 16451934f58b [2023-05-03T01:49:03.041Z] Step 4/10 : WORKDIR /device-sdk-go [2023-05-03T01:49:03.041Z] ---> Running in fab9d353f427 [2023-05-03T01:49:03.630Z] Removing intermediate container fab9d353f427 [2023-05-03T01:49:03.630Z] ---> ae195b21be2b [2023-05-03T01:49:03.630Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-05-03T01:49:03.630Z] ---> Running in 2cfd9d3491e6 [2023-05-03T01:49:03.901Z] Removing intermediate container 2cfd9d3491e6 [2023-05-03T01:49:03.901Z] ---> 3eea5a580433 [2023-05-03T01:49:03.901Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-05-03T01:49:04.170Z] ---> Running in 1d72d3352e9f [2023-05-03T01:49:05.596Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-03T01:49:06.187Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-03T01:49:07.622Z] OK: 263 MiB in 53 packages [2023-05-03T01:49:08.211Z] Removing intermediate container 1d72d3352e9f [2023-05-03T01:49:08.211Z] ---> e1d2f8e33ee1 [2023-05-03T01:49:08.211Z] Step 7/10 : COPY go.mod vendor* ./ [2023-05-03T01:49:08.812Z] ---> a206dfb49bd6 [2023-05-03T01:49:08.812Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-03T01:49:09.083Z] ---> Running in ddf77aa76d93 [2023-05-03T01:50:30.845Z] Removing intermediate container ddf77aa76d93 [2023-05-03T01:50:30.845Z] ---> a9f5aaf6d74c [2023-05-03T01:50:30.845Z] Step 9/10 : COPY . . [2023-05-03T01:50:30.845Z] ---> cd6b84e85773 [2023-05-03T01:50:30.845Z] Step 10/10 : RUN ${MAKE} [2023-05-03T01:50:30.845Z] ---> Running in 74087f037906 [2023-05-03T01:50:30.845Z] noop [2023-05-03T01:50:30.845Z] Removing intermediate container 74087f037906 [2023-05-03T01:50:30.845Z] ---> 014231b29f2f [2023-05-03T01:50:30.845Z] Successfully built 014231b29f2f [2023-05-03T01:50:30.845Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-03T01:50:31.343Z] + docker inspect -f . ci-base-image-arm64 [2023-05-03T01:50:31.344Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-03T01:50:31.671Z] prd-ubuntu20.04-docker-arm64-4c-16g-12525 does not seem to be running inside a container [2023-05-03T01:50:31.755Z] $ 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-03T01:50:33.172Z] $ docker top 4e1b875e7c9c7cd2b3a565f3de4e4d21be23d7f4a75437ef8795d5be129f1952 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-03T01:50:34.117Z] + go version [2023-05-03T01:50:34.117Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-05-03T01:50:34.145Z] $ docker stop --time=1 4e1b875e7c9c7cd2b3a565f3de4e4d21be23d7f4a75437ef8795d5be129f1952 [2023-05-03T01:50:35.911Z] $ docker rm -f --volumes 4e1b875e7c9c7cd2b3a565f3de4e4d21be23d7f4a75437ef8795d5be129f1952 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-03T01:50:36.835Z] + docker inspect -f . ci-base-image-arm64 [2023-05-03T01:50:36.835Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-03T01:50:37.111Z] prd-ubuntu20.04-docker-arm64-4c-16g-12525 does not seem to be running inside a container [2023-05-03T01:50:37.181Z] $ 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-03T01:50:38.464Z] $ docker top ead0baf2431ea936dd8ae8f2d7b07bac31e7e58dd7cac56d4d206ba83ad0213d -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-03T01:50:39.411Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh [2023-05-03T01:50:40.139Z] + make test [2023-05-03T01:50:40.139Z] go test -race -coverprofile=coverage.out ./... [2023-05-03T01:51:39.269Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-05-03T01:54:01.070Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-05-03T01:54:01.070Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-05-03T01:54:01.070Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-05-03T01:54:01.070Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-05-03T01:54:01.070Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-05-03T01:54:06.428Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.221s coverage: 27.6% of statements [2023-05-03T01:54:08.378Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.289s coverage: 80.2% of statements [2023-05-03T01:54:20.726Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-05-03T01:54:20.726Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-05-03T01:54:20.726Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.464s coverage: 86.0% of statements [2023-05-03T01:54:25.006Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-05-03T01:54:25.006Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-05-03T01:54:25.274Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.472s coverage: 77.5% of statements [2023-05-03T01:54:28.807Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.284s coverage: 14.6% of statements [2023-05-03T01:54:31.399Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-05-03T01:54:31.399Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-05-03T01:54:31.399Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.457s coverage: 68.5% of statements [2023-05-03T01:54:32.826Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.465s coverage: 89.2% of statements [2023-05-03T01:54:36.184Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-05-03T01:54:36.455Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.285s coverage: 5.5% of statements [2023-05-03T01:54:37.423Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-05-03T01:54:37.423Z] GO111MODULE=on go vet ./... [2023-05-03T01:57:14.184Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-05-03T01:57:14.184Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-05-03T01:57:14.184Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-05-03T01:57:14.226Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-05-03T01:57:14.254Z] $ docker stop --time=1 ead0baf2431ea936dd8ae8f2d7b07bac31e7e58dd7cac56d4d206ba83ad0213d [2023-05-03T01:57:16.249Z] $ docker rm -f --volumes ead0baf2431ea936dd8ae8f2d7b07bac31e7e58dd7cac56d4d206ba83ad0213d [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-03T01:57:18.067Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-05-03T01:57:18.104Z] Warning: overwriting stash ‘coverage-report’ [2023-05-03T01:57:18.721Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-03T01:57:19.332Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-05-03T01:57:19.681Z] + ls -al . [2023-05-03T01:57:19.681Z] total 268 [2023-05-03T01:57:19.681Z] drwxrwxr-x 10 jenkins jenkins 4096 May 3 01:50 . [2023-05-03T01:57:19.681Z] drwxrwxr-x 4 jenkins jenkins 4096 May 3 01:48 .. [2023-05-03T01:57:19.681Z] -rw-rw-r-- 1 jenkins jenkins 140 May 3 01:48 .dockerignore [2023-05-03T01:57:19.681Z] drwxrwxr-x 8 jenkins jenkins 4096 May 3 01:48 .git [2023-05-03T01:57:19.681Z] drwxrwxr-x 2 jenkins jenkins 4096 May 3 01:48 .github [2023-05-03T01:57:19.681Z] -rw-rw-r-- 1 jenkins jenkins 131 May 3 01:48 .gitignore [2023-05-03T01:57:19.681Z] -rw-rw-r-- 1 jenkins jenkins 42 May 3 01:48 .golangci.yml [2023-05-03T01:57:19.681Z] -rw-rw-r-- 1 jenkins jenkins 31677 May 3 01:48 CHANGELOG.md [2023-05-03T01:57:19.681Z] -rw-rw-r-- 1 jenkins jenkins 677 May 3 01:48 GOVERNANCE.md [2023-05-03T01:57:19.681Z] -rw-rw-r-- 1 jenkins jenkins 885 May 3 01:48 Jenkinsfile [2023-05-03T01:57:19.681Z] -rw-rw-r-- 1 jenkins jenkins 11341 May 3 01:48 LICENSE [2023-05-03T01:57:19.681Z] -rw-rw-r-- 1 jenkins jenkins 1714 May 3 01:48 Makefile [2023-05-03T01:57:19.681Z] -rw-rw-r-- 1 jenkins jenkins 619 May 3 01:48 OWNERS.md [2023-05-03T01:57:19.681Z] -rw-rw-r-- 1 jenkins jenkins 4891 May 3 01:48 README.md [2023-05-03T01:57:19.681Z] -rw-rw-r-- 1 jenkins jenkins 5 May 3 01:44 VERSION [2023-05-03T01:57:19.681Z] drwxrwxr-x 2 jenkins jenkins 4096 May 3 01:48 bin [2023-05-03T01:57:19.681Z] -rw-r--r-- 1 jenkins jenkins 106119 May 3 01:54 coverage.out [2023-05-03T01:57:19.681Z] drwxrwxr-x 5 jenkins jenkins 4096 May 3 01:48 example [2023-05-03T01:57:19.681Z] -rw-rw-r-- 1 jenkins jenkins 3246 May 3 01:48 go.mod [2023-05-03T01:57:19.681Z] -rw-rw-r-- 1 jenkins jenkins 30781 May 3 01:48 go.sum [2023-05-03T01:57:19.681Z] drwxrwxr-x 12 jenkins jenkins 4096 May 3 01:48 internal [2023-05-03T01:57:19.681Z] drwxrwxr-x 3 jenkins jenkins 4096 May 3 01:48 openapi [2023-05-03T01:57:19.681Z] drwxrwxr-x 6 jenkins jenkins 4096 May 3 01:48 pkg [2023-05-03T01:57:19.681Z] drwxrwxr-x 4 jenkins jenkins 4096 May 3 01:48 snap [2023-05-03T01:57:19.681Z] -rw-rw-r-- 1 jenkins jenkins 222 May 3 01:48 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-03T01:57:20.118Z] + 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=dbe9d5e0872a60535a4ad0e83d3d5546e8bba869 --label arch=arm64 --label version=0.0.0 . [2023-05-03T01:57:20.392Z] Sending build context to Docker daemon 6.04MB [2023-05-03T01:57:20.661Z] Step 1/23 : ARG BASE=golang:1.20-alpine3.17 [2023-05-03T01:57:20.661Z] Step 2/23 : FROM ${BASE} AS builder [2023-05-03T01:57:20.661Z] ---> 014231b29f2f [2023-05-03T01:57:20.661Z] Step 3/23 : ARG MAKE=make build [2023-05-03T01:57:20.661Z] ---> Running in 101b7a2b16f1 [2023-05-03T01:57:20.930Z] Removing intermediate container 101b7a2b16f1 [2023-05-03T01:57:20.930Z] ---> 27974eebdabb [2023-05-03T01:57:20.930Z] Step 4/23 : WORKDIR /device-sdk-go [2023-05-03T01:57:21.199Z] ---> Running in 0095ff17b781 [2023-05-03T01:57:21.469Z] Removing intermediate container 0095ff17b781 [2023-05-03T01:57:21.469Z] ---> 64b32759c0c7 [2023-05-03T01:57:21.469Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-05-03T01:57:21.469Z] ---> Running in 7987e4a7a13f [2023-05-03T01:57:21.743Z] Removing intermediate container 7987e4a7a13f [2023-05-03T01:57:21.743Z] ---> f9203f57e9cf [2023-05-03T01:57:21.743Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-05-03T01:57:22.013Z] ---> Running in 3c0948703c6a [2023-05-03T01:57:23.065Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-03T01:57:23.683Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-03T01:57:25.132Z] OK: 263 MiB in 53 packages [2023-05-03T01:57:26.124Z] Removing intermediate container 3c0948703c6a [2023-05-03T01:57:26.124Z] ---> f9d870932f7d [2023-05-03T01:57:26.124Z] Step 7/23 : COPY go.mod vendor* ./ [2023-05-03T01:57:26.720Z] ---> 5d1d35b57e49 [2023-05-03T01:57:26.720Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-03T01:57:26.720Z] ---> Running in bf9b755423c7 [2023-05-03T01:57:29.334Z] Removing intermediate container bf9b755423c7 [2023-05-03T01:57:29.334Z] ---> 71253a608c5e [2023-05-03T01:57:29.334Z] Step 9/23 : COPY . . [2023-05-03T01:57:30.755Z] ---> 4ed27f81f6a1 [2023-05-03T01:57:30.755Z] Step 10/23 : RUN ${MAKE} [2023-05-03T01:57:30.755Z] ---> Running in d8fde609b691 [2023-05-03T01:57:32.210Z] 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-03T01:59:53.924Z] Removing intermediate container d8fde609b691 [2023-05-03T01:59:53.924Z] ---> 7aeb41d28fc8 [2023-05-03T01:59:53.924Z] Step 11/23 : FROM alpine:3.17 [2023-05-03T01:59:53.924Z] 3.17: Pulling from library/alpine [2023-05-03T01:59:53.924Z] c41833b44d91: Already exists [2023-05-03T01:59:53.924Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-05-03T01:59:53.924Z] Status: Downloaded newer image for alpine:3.17 [2023-05-03T01:59:53.924Z] ---> 51e60588ff2c [2023-05-03T01:59:53.924Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-05-03T01:59:53.924Z] ---> Running in 419e11bfbffc [2023-05-03T01:59:53.924Z] Removing intermediate container 419e11bfbffc [2023-05-03T01:59:53.924Z] ---> 7dd54d54a36e [2023-05-03T01:59:53.924Z] Step 13/23 : RUN apk add --update --no-cache [2023-05-03T01:59:53.924Z] ---> Running in dd84891681bc [2023-05-03T01:59:53.924Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-03T01:59:53.924Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-03T01:59:53.924Z] OK: 7 MiB in 15 packages [2023-05-03T01:59:53.924Z] Removing intermediate container dd84891681bc [2023-05-03T01:59:53.924Z] ---> 62dfd4e714f4 [2023-05-03T01:59:53.924Z] Step 14/23 : WORKDIR / [2023-05-03T01:59:53.924Z] ---> Running in 736c3e8365f4 [2023-05-03T01:59:53.924Z] Removing intermediate container 736c3e8365f4 [2023-05-03T01:59:53.924Z] ---> bff06bbc0e78 [2023-05-03T01:59:53.924Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-05-03T01:59:53.924Z] ---> cbdb34d59a18 [2023-05-03T01:59:53.924Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-05-03T01:59:53.924Z] ---> bc302ebb4af3 [2023-05-03T01:59:53.924Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-05-03T01:59:53.924Z] ---> 1932972b60c6 [2023-05-03T01:59:53.924Z] Step 18/23 : EXPOSE 59999 [2023-05-03T01:59:53.924Z] ---> Running in dd625db6268c [2023-05-03T01:59:53.924Z] Removing intermediate container dd625db6268c [2023-05-03T01:59:53.924Z] ---> 569dd801a523 [2023-05-03T01:59:53.924Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-05-03T01:59:53.924Z] ---> Running in 6b213026d279 [2023-05-03T01:59:53.924Z] Removing intermediate container 6b213026d279 [2023-05-03T01:59:53.924Z] ---> a82f0e341c83 [2023-05-03T01:59:53.924Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-05-03T01:59:53.924Z] ---> Running in 70f332ea7e98 [2023-05-03T01:59:53.924Z] Removing intermediate container 70f332ea7e98 [2023-05-03T01:59:53.924Z] ---> c84093b2a0ee [2023-05-03T01:59:53.924Z] Step 21/23 : LABEL arch=arm64 [2023-05-03T01:59:53.924Z] ---> Running in 01f69e00df76 [2023-05-03T01:59:53.924Z] Removing intermediate container 01f69e00df76 [2023-05-03T01:59:53.924Z] ---> 0abc4f05f89e [2023-05-03T01:59:53.924Z] Step 22/23 : LABEL git_sha=dbe9d5e0872a60535a4ad0e83d3d5546e8bba869 [2023-05-03T01:59:53.924Z] ---> Running in b9588850d762 [2023-05-03T01:59:53.924Z] Removing intermediate container b9588850d762 [2023-05-03T01:59:53.924Z] ---> 2051fe3a5150 [2023-05-03T01:59:53.924Z] Step 23/23 : LABEL version=0.0.0 [2023-05-03T01:59:53.924Z] ---> Running in 0d1ff4884ec0 [2023-05-03T01:59:53.924Z] Removing intermediate container 0d1ff4884ec0 [2023-05-03T01:59:53.924Z] ---> 85cec79c007e [2023-05-03T01:59:53.924Z] [Warning] One or more build-args [ARCH] were not consumed [2023-05-03T01:59:53.924Z] Successfully built 85cec79c007e [2023-05-03T01:59:53.924Z] 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-03T01:59:54.743Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-03T01:59:54.743Z] [2023-05-03T01:59:54.743Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-03T01:59:55.149Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-03T01:59:55.149Z] arm64: Pulling from edgex-lftools-log-publisher [2023-05-03T01:59:55.149Z] 8998bd30e6a1: Pulling fs layer [2023-05-03T01:59:55.149Z] 04944245beec: Pulling fs layer [2023-05-03T01:59:55.149Z] 699f458cf7ca: Pulling fs layer [2023-05-03T01:59:55.149Z] 765212b225bb: Pulling fs layer [2023-05-03T01:59:55.149Z] f23df028b6ca: Pulling fs layer [2023-05-03T01:59:55.149Z] d65c8cfc05b1: Pulling fs layer [2023-05-03T01:59:55.149Z] 2437ff75d9bd: Pulling fs layer [2023-05-03T01:59:55.149Z] 765212b225bb: Waiting [2023-05-03T01:59:55.149Z] f23df028b6ca: Waiting [2023-05-03T01:59:55.149Z] d65c8cfc05b1: Waiting [2023-05-03T01:59:55.149Z] 2437ff75d9bd: Waiting [2023-05-03T01:59:55.418Z] 04944245beec: Verifying Checksum [2023-05-03T01:59:55.418Z] 04944245beec: Download complete [2023-05-03T01:59:55.418Z] 765212b225bb: Verifying Checksum [2023-05-03T01:59:55.418Z] 765212b225bb: Download complete [2023-05-03T01:59:55.418Z] f23df028b6ca: Verifying Checksum [2023-05-03T01:59:55.418Z] f23df028b6ca: Download complete [2023-05-03T01:59:55.418Z] d65c8cfc05b1: Verifying Checksum [2023-05-03T01:59:55.418Z] d65c8cfc05b1: Download complete [2023-05-03T01:59:55.418Z] 699f458cf7ca: Verifying Checksum [2023-05-03T01:59:55.418Z] 699f458cf7ca: Download complete [2023-05-03T01:59:56.005Z] 8998bd30e6a1: Verifying Checksum [2023-05-03T01:59:56.005Z] 8998bd30e6a1: Download complete [2023-05-03T01:59:57.962Z] 2437ff75d9bd: Verifying Checksum [2023-05-03T01:59:57.962Z] 2437ff75d9bd: Download complete [2023-05-03T02:00:00.542Z] 8998bd30e6a1: Pull complete [2023-05-03T02:00:01.127Z] 04944245beec: Pull complete [2023-05-03T02:00:02.543Z] 699f458cf7ca: Pull complete [2023-05-03T02:00:02.543Z] 765212b225bb: Pull complete [2023-05-03T02:00:03.130Z] f23df028b6ca: Pull complete [2023-05-03T02:00:03.399Z] d65c8cfc05b1: Pull complete [2023-05-03T02:00:18.417Z] 2437ff75d9bd: Pull complete [2023-05-03T02:00:18.417Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-05-03T02:00:18.417Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-03T02:00:18.417Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-03T02:00:18.750Z] prd-ubuntu20.04-docker-arm64-4c-16g-12525 does not seem to be running inside a container [2023-05-03T02:00:18.809Z] $ 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-03T02:00:21.475Z] $ docker top 762bebfa17d246d4a1b0e16d18d84b6afacc1a9bd2a32a3fdf08bebdaf864ddc -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-03T02:00:22.394Z] ---> job-cost.sh [2023-05-03T02:00:22.394Z] lf-activate-venv: SKIPPING [2023-05-03T02:00:22.394Z] INFO: No Stack... [2023-05-03T02:00:22.974Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-05-03T02:00:23.933Z] INFO: Archiving Costs [Pipeline] sh [2023-05-03T02:00:24.596Z] + cut -d, -f6 [2023-05-03T02:00:24.596Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [Pipeline] lock [2023-05-03T02:00:24.690Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1446-1-stack-cost] [2023-05-03T02:00:24.695Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1446-1-stack-cost] did not exist. Created. [2023-05-03T02:00:24.695Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1446-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-05-03T02:00:25.427Z] /w/workspace/device-sdk-go/1@tmp/durable-f38d6564/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-05-03T02:00:26.116Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-05-03T02:00:26.147Z] Warning: overwriting stash ‘stack-cost’ [2023-05-03T02:00:26.208Z] Stashed 1 file(s) [Pipeline] } [2023-05-03T02:00:26.224Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1446-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-05-03T02:00:26.306Z] $ docker stop --time=1 762bebfa17d246d4a1b0e16d18d84b6afacc1a9bd2a32a3fdf08bebdaf864ddc [2023-05-03T02:00:27.824Z] $ docker rm -f --volumes 762bebfa17d246d4a1b0e16d18d84b6afacc1a9bd2a32a3fdf08bebdaf864ddc [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-03T02:00:28.837Z] provisioning config files... [2023-05-03T02:00:28.846Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1446@tmp/config3193831464164127659tmp [Pipeline] { [Pipeline] sh [2023-05-03T02:00:29.178Z] + set +x [2023-05-03T02:00:29.179Z] + curl -s https://codecov.io/bash [2023-05-03T02:00:29.179Z] + bash -s -- [2023-05-03T02:00:29.179Z] [2023-05-03T02:00:29.179Z] _____ _ [2023-05-03T02:00:29.179Z] / ____| | | [2023-05-03T02:00:29.179Z] | | ___ __| | ___ ___ _____ __ [2023-05-03T02:00:29.179Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-05-03T02:00:29.179Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-05-03T02:00:29.179Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-05-03T02:00:29.179Z] Bash-1.0.6 [2023-05-03T02:00:29.179Z] [2023-05-03T02:00:29.179Z] [2023-05-03T02:00:29.179Z] ==> git version 2.25.1 found [2023-05-03T02:00:29.179Z] ==> 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-03T02:00:29.179Z] Release-Date: 2020-01-08 [2023-05-03T02:00:29.179Z] 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-03T02:00:29.179Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-05-03T02:00:29.179Z] ==> Jenkins CI detected. [2023-05-03T02:00:29.179Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1446 [2023-05-03T02:00:29.179Z] project root: . [2023-05-03T02:00:29.179Z] --> token set from env [2023-05-03T02:00:29.179Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-05-03T02:00:29.179Z] ==> Running gcov in . (disable via -X gcov) [2023-05-03T02:00:29.179Z] ==> Python coveragepy not found [2023-05-03T02:00:29.179Z] ==> Searching for coverage reports in: [2023-05-03T02:00:29.179Z] + . [2023-05-03T02:00:29.179Z] -> Found 1 reports [2023-05-03T02:00:29.179Z] ==> Detecting git/mercurial file structure [2023-05-03T02:00:29.179Z] ==> Reading reports [2023-05-03T02:00:29.179Z] + ./coverage.out bytes=106119 [2023-05-03T02:00:29.179Z] ==> Appending adjustments [2023-05-03T02:00:29.179Z] https://docs.codecov.io/docs/fixing-reports [2023-05-03T02:00:29.437Z] + Found adjustments [2023-05-03T02:00:29.437Z] ==> Gzipping contents [2023-05-03T02:00:29.437Z] 16K /tmp/codecov.rHtdWP.gz [2023-05-03T02:00:29.437Z] ==> Uploading reports [2023-05-03T02:00:29.437Z] url: https://codecov.io [2023-05-03T02:00:29.437Z] query: branch=PR-1446&commit=dbe9d5e0872a60535a4ad0e83d3d5546e8bba869&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1446%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1446&job=&cmd_args= [2023-05-03T02:00:29.437Z] -> Pinging Codecov [2023-05-03T02:00:29.437Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1446&commit=dbe9d5e0872a60535a4ad0e83d3d5546e8bba869&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1446%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1446&job=&cmd_args= [2023-05-03T02:00:29.695Z] -> Uploading to [2023-05-03T02:00:29.695Z] https://storage.googleapis.com/codecov/v4/raw/2023-05-03/7E55EF52A471D76F132DFD9A03CDDE97/dbe9d5e0872a60535a4ad0e83d3d5546e8bba869/1ed83e8b-4177-4128-8178-e248849be68d.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230503%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230503T020029Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=485aea5acb7052738e9dd10404988612d7f3bc9a32daf2f37348fe1d3e0b8aaf [2023-05-03T02:00:29.695Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-03T02:00:29.695Z] Dload Upload Total Spent Left Speed [2023-05-03T02:00:29.953Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14999 0 0 100 14999 0 65785 --:--:-- --:--:-- --:--:-- 65785 [2023-05-03T02:00:29.953Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/dbe9d5e0872a60535a4ad0e83d3d5546e8bba869 [Pipeline] } [2023-05-03T02:00:29.979Z] 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-03T02:00:31.732Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1446/archives ] [2023-05-03T02:00:31.732Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1446/archives [2023-05-03T02:00:31.732Z] total 16 [2023-05-03T02:00:31.732Z] drwxr-xr-x 3 root root 4096 May 3 01:46 . [2023-05-03T02:00:31.732Z] drwxrwxr-x 12 jenkins jenkins 4096 May 3 01:46 .. [2023-05-03T02:00:31.732Z] drwxr-xr-x 2 root root 4096 May 3 01:46 cost [2023-05-03T02:00:31.732Z] -rw-r--r-- 1 root root 86 May 3 01:46 cost.csv [2023-05-03T02:00:31.732Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1446/archives [2023-05-03T02:00:31.732Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1446/archives [2023-05-03T02:00:31.732Z] total 16 [2023-05-03T02:00:31.732Z] drwxr-xr-x 3 jenkins jenkins 4096 May 3 01:46 . [2023-05-03T02:00:31.732Z] drwxrwxr-x 12 jenkins jenkins 4096 May 3 01:46 .. [2023-05-03T02:00:31.732Z] drwxr-xr-x 2 jenkins jenkins 4096 May 3 01:46 cost [2023-05-03T02:00:31.732Z] -rw-r--r-- 1 jenkins jenkins 86 May 3 01:46 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-05-03T02:00:32.054Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-03T02:00:32.931Z] ---> package-listing.sh [2023-05-03T02:00:32.931Z] ++ facter osfamily [2023-05-03T02:00:32.931Z] ++ tr '[:upper:]' '[:lower:]' [2023-05-03T02:00:33.210Z] + OS_FAMILY=debian [2023-05-03T02:00:33.210Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1446 [2023-05-03T02:00:33.210Z] + START_PACKAGES=/tmp/packages_start.txt [2023-05-03T02:00:33.210Z] + END_PACKAGES=/tmp/packages_end.txt [2023-05-03T02:00:33.210Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-05-03T02:00:33.210Z] + PACKAGES=/tmp/packages_start.txt [2023-05-03T02:00:33.210Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1446 ']' [2023-05-03T02:00:33.210Z] + PACKAGES=/tmp/packages_end.txt [2023-05-03T02:00:33.210Z] + case "${OS_FAMILY}" in [2023-05-03T02:00:33.210Z] + dpkg -l [2023-05-03T02:00:33.210Z] + grep '^ii' [2023-05-03T02:00:33.210Z] + '[' -f /tmp/packages_start.txt ']' [2023-05-03T02:00:33.210Z] + '[' -f /tmp/packages_end.txt ']' [2023-05-03T02:00:33.210Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-05-03T02:00:33.210Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1446 ']' [2023-05-03T02:00:33.210Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1446/archives/ [2023-05-03T02:00:33.210Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1446/archives/ [Pipeline] echo [2023-05-03T02:00:33.239Z] 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-1446/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-05-03T02:00:33.532Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-03T02:00:34.157Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-03T02:00:34.157Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-03T02:00:34.287Z] prd-ubuntu20.04-docker-8c-8g-12523 does not seem to be running inside a container [2023-05-03T02:00:34.314Z] $ 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-1446/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-1446 -v /w/workspace/gexfoundry_device-sdk-go_PR-1446:/w/workspace/gexfoundry_device-sdk-go_PR-1446:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1446@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1446@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-03T02:00:34.695Z] $ docker top 466bf17fa5cd8720311de5212b0320b6e9adeba3c42d036e62134aa8f1e08082 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-03T02:00:35.086Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-05-03T02:00:35.391Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-05-03T02:00:35.703Z] + ls /var/log/sa-host [2023-05-03T02:00:35.703Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-03T02:00:35.830Z] provisioning config files... [2023-05-03T02:00:35.838Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1446@tmp/config6792737688838962841tmp [Pipeline] { [Pipeline] echo [2023-05-03T02:00:35.892Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-03T02:00:36.200Z] ---> create-netrc.sh [Pipeline] } [2023-05-03T02:00:36.231Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-05-03T02:00:36.655Z] ---> python-tools-install.sh [Pipeline] echo [2023-05-03T02:00:36.687Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-03T02:00:37.001Z] ---> sudo-logs.sh [2023-05-03T02:00:37.002Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-05-03T02:00:37.102Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-03T02:00:37.409Z] ---> job-cost.sh [2023-05-03T02:00:37.409Z] lf-activate-venv: SKIPPING [2023-05-03T02:00:37.409Z] DEBUG: total: 0.2199999988079071 [2023-05-03T02:00:37.409Z] INFO: Retrieving Stack Cost... [2023-05-03T02:00:37.674Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-05-03T02:00:38.242Z] INFO: Archiving Costs [Pipeline] echo [2023-05-03T02:00:38.278Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-03T02:00:38.594Z] ---> logs-deploy.sh [2023-05-03T02:00:38.594Z] lf-activate-venv: SKIPPING [2023-05-03T02:00:38.594Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1446/1 [2023-05-03T02:00:38.594Z] INFO: archiving workspace using pattern(s): [2023-05-03T02:00:39.559Z] Archives upload complete. [2023-05-03T02:00:39.559Z] INFO: archiving logs to Nexus