Pull request #1522 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from e355dc9d6b62edc20a730d862a6067ddd7d335f9+8a4e603c9daa9d98ee8f2e5896cc64fc9a451017 (87495b73f6f1511081b0aee72f3ba6a52a5ba1a8) 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-ssh16872283674173710672.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision e143027787c0ac28563f7e92b6cefc600d3b7107 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-ssh3111247496673891803.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 e143027787c0ac28563f7e92b6cefc600d3b7107 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-1522/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-1522/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3955295645751609650.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-1522/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14180509745505442642.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision e143027787c0ac28563f7e92b6cefc600d3b7107 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f e143027787c0ac28563f7e92b6cefc600d3b7107 # timeout=10 Commit message: "Merge pull request #442 from ernestojeda/golang-1.21" > 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-ssh18250515878799597511.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-1522/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-1522/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh4088326610099002358.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 e143027787c0ac28563f7e92b6cefc600d3b7107 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.21 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-8543’ Running on prd-ubuntu20.04-docker-8c-8g-8545 in /w/workspace/gexfoundry_device-sdk-go_PR-1522 [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-1522 # 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/1522/head:refs/remotes/origin/PR-1522 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 8a4e603c9daa9d98ee8f2e5896cc64fc9a451017 into PR head commit e355dc9d6b62edc20a730d862a6067ddd7d335f9 Merge succeeded, producing e355dc9d6b62edc20a730d862a6067ddd7d335f9 Checking out Revision e355dc9d6b62edc20a730d862a6067ddd7d335f9 (PR-1522) 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 e143027787c0ac28563f7e92b6cefc600d3b7107 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv > git config core.sparsecheckout # timeout=10 > git checkout -f e355dc9d6b62edc20a730d862a6067ddd7d335f9 # 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 8a4e603c9daa9d98ee8f2e5896cc64fc9a451017 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e355dc9d6b62edc20a730d862a6067ddd7d335f9 # timeout=10 [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-10-05T04:53:25.904Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-10-05T04:53:26.085Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-10-05T04:53:26.187Z] ========================================================= [2023-10-05T04:53:26.187Z] EdgeX Global Pipelines Version Info [2023-10-05T04:53:26.187Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-10-05T04:53:26.944Z] ------------------- [2023-10-05T04:53:26.945Z] stable info: [2023-10-05T04:53:26.945Z] ------------------- [2023-10-05T04:53:26.945Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-10-05T04:53:26.945Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-10-05T04:53:26.945Z] Message: update stable to v1.0.254 [2023-10-05T04:53:27.535Z] ------------------- [2023-10-05T04:53:27.535Z] experimental info: [2023-10-05T04:53:27.535Z] ------------------- [2023-10-05T04:53:27.535Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-10-05T04:53:27.535Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-10-05T04:53:27.535Z] Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-10-05T04:53:27.836Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-10-05T04:53:27.876Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-10-05T04:53:27.912Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-10-05T04:53:27.947Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-10-05T04:53:27.988Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-10-05T04:53:28.026Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2023-10-05T04:53:28.067Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-10-05T04:53:28.116Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-10-05T04:53:28.156Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-10-05T04:53:28.198Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-10-05T04:53:28.241Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-10-05T04:53:28.280Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-10-05T04:53:28.321Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-10-05T04:53:28.366Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-10-05T04:53:28.406Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-10-05T04:53:28.445Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-10-05T04:53:28.486Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-10-05T04:53:28.527Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-10-05T04:53:28.564Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-10-05T04:53:28.603Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-10-05T04:53:28.652Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-10-05T04:53:28.691Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2023-10-05T04:53:28.734Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-10-05T04:53:28.774Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-10-05T04:53:28.814Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-10-05T04:53:28.855Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-10-05T04:53:28.898Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-10-05T04:53:28.946Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1522 [Pipeline] echo [2023-10-05T04:53:28.988Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1522 [Pipeline] echo [2023-10-05T04:53:29.031Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1522 [Pipeline] echo [2023-10-05T04:53:29.068Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e355dc9d6b62edc20a730d862a6067ddd7d335f9 [Pipeline] echo [2023-10-05T04:53:29.109Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e355dc9 [Pipeline] echo [2023-10-05T04:53:29.150Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-05T04:53:29.255Z] provisioning config files... [2023-10-05T04:53:29.298Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1522@tmp/config8242113292511477548tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-05T04:53:29.637Z] ---> docker-login.sh [2023-10-05T04:53:29.637Z] nexus3.edgexfoundry.org:10001 [2023-10-05T04:53:29.899Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-05T04:53:29.899Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-05T04:53:29.899Z] Configure a credential helper to remove this warning. See [2023-10-05T04:53:29.899Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-05T04:53:29.899Z] [2023-10-05T04:53:29.899Z] Login Succeeded [2023-10-05T04:53:30.159Z] nexus3.edgexfoundry.org:10002 [2023-10-05T04:53:30.159Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-05T04:53:30.159Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-05T04:53:30.159Z] Configure a credential helper to remove this warning. See [2023-10-05T04:53:30.159Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-05T04:53:30.159Z] [2023-10-05T04:53:30.159Z] Login Succeeded [2023-10-05T04:53:30.159Z] nexus3.edgexfoundry.org:10003 [2023-10-05T04:53:30.159Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-05T04:53:30.159Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-05T04:53:30.159Z] Configure a credential helper to remove this warning. See [2023-10-05T04:53:30.159Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-05T04:53:30.159Z] [2023-10-05T04:53:30.159Z] Login Succeeded [2023-10-05T04:53:30.159Z] nexus3.edgexfoundry.org:10004 [2023-10-05T04:53:30.419Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-05T04:53:30.419Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-05T04:53:30.419Z] Configure a credential helper to remove this warning. See [2023-10-05T04:53:30.419Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-05T04:53:30.419Z] [2023-10-05T04:53:30.419Z] Login Succeeded [2023-10-05T04:53:30.419Z] docker.io [2023-10-05T04:53:30.419Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-05T04:53:30.679Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-05T04:53:30.679Z] Configure a credential helper to remove this warning. See [2023-10-05T04:53:30.679Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-05T04:53:30.679Z] [2023-10-05T04:53:30.679Z] Login Succeeded [2023-10-05T04:53:30.679Z] ---> docker-login.sh ends [Pipeline] } [2023-10-05T04:53:30.706Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-10-05T04:53:31.303Z] + git rev-list -1 --merges e355dc9d6b62edc20a730d862a6067ddd7d335f9~1..e355dc9d6b62edc20a730d862a6067ddd7d335f9 [Pipeline] echo [2023-10-05T04:53:31.364Z] -----------> git rev-list -1 --merges e355dc9d6b62edc20a730d862a6067ddd7d335f9~1..e355dc9d6b62edc20a730d862a6067ddd7d335f9 e355dc9d6b62edc20a730d862a6067ddd7d335f9 [false] [Pipeline] sh [2023-10-05T04:53:31.678Z] + git log --format=format:%s -1 e355dc9d6b62edc20a730d862a6067ddd7d335f9 [Pipeline] echo [2023-10-05T04:53:31.712Z] ========================================================= [2023-10-05T04:53:31.712Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-10-05T04:53:31.712Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-10-05T04:53:32.140Z] + git log --format=format:%s -1 e355dc9d6b62edc20a730d862a6067ddd7d335f9 [Pipeline] echo [2023-10-05T04:53:32.177Z] [semverPrep] GIT_COMMIT: e355dc9d6b62edc20a730d862a6067ddd7d335f9, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3 [Pipeline] echo [2023-10-05T04:53:32.209Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-10-05T04:53:32.583Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-10-05T04:53:32.583Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-10-05T04:53:32.583Z] + [ -e /tmp/ssh_known_hosts ] [2023-10-05T04:53:32.583Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-10-05T04:53:32.583Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-10-05T04:53:32.584Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-10-05T04:53:32.584Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-05T04:53:33.010Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-05T04:53:33.010Z] [2023-10-05T04:53:33.010Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-05T04:53:33.383Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-05T04:53:33.384Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-10-05T04:53:33.384Z] b85a868b505f: Pulling fs layer [2023-10-05T04:53:33.384Z] e2be974225ed: Pulling fs layer [2023-10-05T04:53:33.384Z] 339a4e72a1f5: Pulling fs layer [2023-10-05T04:53:33.384Z] 988bab9f4d93: Pulling fs layer [2023-10-05T04:53:33.384Z] 1469e6f7b9e6: Pulling fs layer [2023-10-05T04:53:33.384Z] eaf3925da568: Pulling fs layer [2023-10-05T04:53:33.384Z] bab4dde63d76: Pulling fs layer [2023-10-05T04:53:33.384Z] bde34c3a00c8: Pulling fs layer [2023-10-05T04:53:33.384Z] b352a97aabf1: Pulling fs layer [2023-10-05T04:53:33.384Z] 4872d77fe225: Pulling fs layer [2023-10-05T04:53:33.384Z] 5851b861e8e6: Pulling fs layer [2023-10-05T04:53:33.384Z] bde34c3a00c8: Waiting [2023-10-05T04:53:33.384Z] 4872d77fe225: Waiting [2023-10-05T04:53:33.384Z] b352a97aabf1: Waiting [2023-10-05T04:53:33.384Z] 5851b861e8e6: Waiting [2023-10-05T04:53:33.384Z] eaf3925da568: Waiting [2023-10-05T04:53:33.384Z] 988bab9f4d93: Waiting [2023-10-05T04:53:33.384Z] 1469e6f7b9e6: Waiting [2023-10-05T04:53:33.384Z] bab4dde63d76: Waiting [2023-10-05T04:53:33.384Z] e2be974225ed: Verifying Checksum [2023-10-05T04:53:33.384Z] e2be974225ed: Download complete [2023-10-05T04:53:33.384Z] 988bab9f4d93: Verifying Checksum [2023-10-05T04:53:33.384Z] 988bab9f4d93: Download complete [2023-10-05T04:53:33.643Z] 1469e6f7b9e6: Verifying Checksum [2023-10-05T04:53:33.643Z] 1469e6f7b9e6: Download complete [2023-10-05T04:53:33.643Z] 339a4e72a1f5: Verifying Checksum [2023-10-05T04:53:33.643Z] 339a4e72a1f5: Download complete [2023-10-05T04:53:33.643Z] eaf3925da568: Verifying Checksum [2023-10-05T04:53:33.643Z] eaf3925da568: Download complete [2023-10-05T04:53:33.643Z] bde34c3a00c8: Download complete [2023-10-05T04:53:33.643Z] b352a97aabf1: Download complete [2023-10-05T04:53:33.643Z] 4872d77fe225: Download complete [2023-10-05T04:53:33.643Z] 5851b861e8e6: Verifying Checksum [2023-10-05T04:53:33.643Z] 5851b861e8e6: Download complete [2023-10-05T04:53:33.643Z] b85a868b505f: Verifying Checksum [2023-10-05T04:53:33.643Z] b85a868b505f: Download complete [2023-10-05T04:53:33.902Z] bab4dde63d76: Verifying Checksum [2023-10-05T04:53:33.902Z] bab4dde63d76: Download complete [2023-10-05T04:53:34.839Z] b85a868b505f: Pull complete [2023-10-05T04:53:35.099Z] e2be974225ed: Pull complete [2023-10-05T04:53:35.667Z] 339a4e72a1f5: Pull complete [2023-10-05T04:53:35.667Z] 988bab9f4d93: Pull complete [2023-10-05T04:53:35.926Z] 1469e6f7b9e6: Pull complete [2023-10-05T04:53:35.926Z] eaf3925da568: Pull complete [2023-10-05T04:53:37.828Z] bab4dde63d76: Pull complete [2023-10-05T04:53:37.828Z] bde34c3a00c8: Pull complete [2023-10-05T04:53:37.828Z] b352a97aabf1: Pull complete [2023-10-05T04:53:37.828Z] 4872d77fe225: Pull complete [2023-10-05T04:53:38.088Z] 5851b861e8e6: Pull complete [2023-10-05T04:53:38.088Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-10-05T04:53:38.088Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-05T04:53:38.088Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-05T04:53:38.304Z] prd-ubuntu20.04-docker-8c-8g-8545 does not seem to be running inside a container [2023-10-05T04:53:38.305Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1522 -v /w/workspace/gexfoundry_device-sdk-go_PR-1522:/w/workspace/gexfoundry_device-sdk-go_PR-1522:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1522@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1522@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-10-05T04:53:41.531Z] $ docker top 4e080051b1895ab2ffbf5244310317b37773a812c48cc2d3e84a414eb40a3ef8 -eo pid,comm [2023-10-05T04:53:41.616Z] 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-10-05T04:53:41.616Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-10-05T04:53:41.743Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-05T04:53:41.743Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-05T04:53:41.863Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-05T04:53:41.842Z] $ docker exec 4e080051b1895ab2ffbf5244310317b37773a812c48cc2d3e84a414eb40a3ef8 ssh-agent [2023-10-05T04:53:41.983Z] SSH_AUTH_SOCK=/tmp/ssh-xXG6m8Y6OPzs/agent.33 [2023-10-05T04:53:41.983Z] SSH_AGENT_PID=39 [2023-10-05T04:53:41.990Z] Running ssh-add (command line suppressed) [2023-10-05T04:53:42.068Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1522@tmp/private_key_12277650529670006130.key (/w/workspace/gexfoundry_device-sdk-go_PR-1522@tmp/private_key_12277650529670006130.key) [2023-10-05T04:53:42.105Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-05T04:53:42.443Z] + git tag --points-at HEAD [Pipeline] } [2023-10-05T04:53:42.444Z] $ docker exec --env ******** --env ******** 4e080051b1895ab2ffbf5244310317b37773a812c48cc2d3e84a414eb40a3ef8 ssh-agent -k [2023-10-05T04:53:42.536Z] unset SSH_AUTH_SOCK; [2023-10-05T04:53:42.537Z] unset SSH_AGENT_PID; [2023-10-05T04:53:42.537Z] echo Agent pid 39 killed; [2023-10-05T04:53:42.570Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-10-05T04:53:42.657Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-05T04:53:42.657Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-05T04:53:42.755Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-05T04:53:42.734Z] $ docker exec 4e080051b1895ab2ffbf5244310317b37773a812c48cc2d3e84a414eb40a3ef8 ssh-agent [2023-10-05T04:53:42.854Z] SSH_AUTH_SOCK=/tmp/ssh-n5Kn9DfD7sEU/agent.72 [2023-10-05T04:53:42.854Z] SSH_AGENT_PID=78 [2023-10-05T04:53:42.859Z] Running ssh-add (command line suppressed) [2023-10-05T04:53:42.930Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1522@tmp/private_key_9708963558301670216.key (/w/workspace/gexfoundry_device-sdk-go_PR-1522@tmp/private_key_9708963558301670216.key) [2023-10-05T04:53:42.966Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-05T04:53:43.291Z] + git semver init [2023-10-05T04:53:43.553Z] 2023-10-05 04:53:43,437 [run_init] DEBUG init version:0.0.0 force:False [2023-10-05T04:53:43.553Z] 2023-10-05 04:53:43,438 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1522/.semver [2023-10-05T04:53:43.553Z] 2023-10-05 04:53:43,439 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1522/.semver [2023-10-05T04:53:43.553Z] 2023-10-05 04:53:43,439 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1522/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1522, universal_newlines=False, shell=None, istream=None) [2023-10-05T04:53:44.933Z] 2023-10-05 04:53:44,474 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1522/.git/info/exclude [2023-10-05T04:53:44.933Z] 2023-10-05 04:53:44,474 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1522/.semver/PR-1522 with force:False [2023-10-05T04:53:44.933Z] 2023-10-05 04:53:44,474 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1522/.semver/PR-1522 [2023-10-05T04:53:44.933Z] 2023-10-05 04:53:44,478 [execute] INFO git cat-file --batch-check [2023-10-05T04:53:44.933Z] 2023-10-05 04:53:44,478 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1522/.semver, universal_newlines=False, shell=None, istream=) [2023-10-05T04:53:44.933Z] 2023-10-05 04:53:44,483 [execute] INFO git cat-file --batch [2023-10-05T04:53:44.933Z] 2023-10-05 04:53:44,484 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1522/.semver, universal_newlines=False, shell=None, istream=) [2023-10-05T04:53:44.933Z] 2023-10-05 04:53:44,489 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1522/.semver/PR-1522 [2023-10-05T04:53:44.933Z] 0.0.0 [Pipeline] } [2023-10-05T04:53:44.936Z] $ docker exec --env ******** --env ******** 4e080051b1895ab2ffbf5244310317b37773a812c48cc2d3e84a414eb40a3ef8 ssh-agent -k [2023-10-05T04:53:45.037Z] unset SSH_AUTH_SOCK; [2023-10-05T04:53:45.037Z] unset SSH_AGENT_PID; [2023-10-05T04:53:45.037Z] echo Agent pid 78 killed; [2023-10-05T04:53:45.070Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-10-05T04:53:45.499Z] + git semver [Pipeline] } [2023-10-05T04:53:45.756Z] $ docker stop --time=1 4e080051b1895ab2ffbf5244310317b37773a812c48cc2d3e84a414eb40a3ef8 [2023-10-05T04:53:47.051Z] $ docker rm -f --volumes 4e080051b1895ab2ffbf5244310317b37773a812c48cc2d3e84a414eb40a3ef8 [Pipeline] // withDockerContainer [Pipeline] sh [2023-10-05T04:53:47.466Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-10-05T04:53:47.715Z] Stashed 1 file(s) [Pipeline] echo [2023-10-05T04:53:47.734Z] [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-10-05T04:53:48.333Z] provisioning config files... [2023-10-05T04:53:48.342Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1522@tmp/config13154194852474912582tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-05T04:53:48.694Z] ---> docker-login.sh [2023-10-05T04:53:48.694Z] nexus3.edgexfoundry.org:10001 [2023-10-05T04:53:48.694Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-05T04:53:48.694Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-05T04:53:48.694Z] Configure a credential helper to remove this warning. See [2023-10-05T04:53:48.694Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-05T04:53:48.694Z] [2023-10-05T04:53:48.694Z] Login Succeeded [2023-10-05T04:53:48.694Z] nexus3.edgexfoundry.org:10002 [2023-10-05T04:53:48.694Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-05T04:53:48.694Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-05T04:53:48.694Z] Configure a credential helper to remove this warning. See [2023-10-05T04:53:48.694Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-05T04:53:48.694Z] [2023-10-05T04:53:48.694Z] Login Succeeded [2023-10-05T04:53:48.694Z] nexus3.edgexfoundry.org:10003 [2023-10-05T04:53:48.956Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-05T04:53:48.956Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-05T04:53:48.956Z] Configure a credential helper to remove this warning. See [2023-10-05T04:53:48.956Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-05T04:53:48.956Z] [2023-10-05T04:53:48.956Z] Login Succeeded [2023-10-05T04:53:48.956Z] nexus3.edgexfoundry.org:10004 [2023-10-05T04:53:48.956Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-05T04:53:48.956Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-05T04:53:48.956Z] Configure a credential helper to remove this warning. See [2023-10-05T04:53:48.956Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-05T04:53:48.956Z] [2023-10-05T04:53:48.956Z] Login Succeeded [2023-10-05T04:53:48.956Z] docker.io [2023-10-05T04:53:48.956Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-05T04:53:49.214Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-05T04:53:49.214Z] Configure a credential helper to remove this warning. See [2023-10-05T04:53:49.214Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-05T04:53:49.214Z] [2023-10-05T04:53:49.214Z] Login Succeeded [2023-10-05T04:53:49.214Z] ---> docker-login.sh ends [Pipeline] } [2023-10-05T04:53:49.244Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-10-05T04:53:49.436Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-05T04:53:49.474Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-05T04:53:49.508Z] ========================================================= [2023-10-05T04:53:49.508Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2023-10-05T04:53:49.508Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-05T04:53:49.974Z] + 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.21-alpine --build-arg MAKE=echo noop --target=builder . [2023-10-05T04:53:49.974Z] Sending build context to Docker daemon 11.23MB [2023-10-05T04:53:49.974Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2023-10-05T04:53:49.974Z] Step 2/10 : FROM ${BASE} AS builder [2023-10-05T04:53:49.974Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2023-10-05T04:53:49.974Z] 7264a8db6415: Pulling fs layer [2023-10-05T04:53:49.974Z] c4d48a809fc2: Pulling fs layer [2023-10-05T04:53:49.974Z] 4f1c88b9dad5: Pulling fs layer [2023-10-05T04:53:49.974Z] ad3a456e5733: Pulling fs layer [2023-10-05T04:53:49.974Z] 33e27b845d1e: Pulling fs layer [2023-10-05T04:53:49.974Z] c68163c4e522: Pulling fs layer [2023-10-05T04:53:49.974Z] 50da416c3ac9: Pulling fs layer [2023-10-05T04:53:49.974Z] 23d2d4c4bb30: Pulling fs layer [2023-10-05T04:53:49.974Z] ad3a456e5733: Waiting [2023-10-05T04:53:49.974Z] 33e27b845d1e: Waiting [2023-10-05T04:53:49.974Z] c68163c4e522: Waiting [2023-10-05T04:53:49.974Z] 23d2d4c4bb30: Waiting [2023-10-05T04:53:49.974Z] 50da416c3ac9: Waiting [2023-10-05T04:53:49.974Z] c4d48a809fc2: Download complete [2023-10-05T04:53:49.974Z] ad3a456e5733: Verifying Checksum [2023-10-05T04:53:49.974Z] ad3a456e5733: Download complete [2023-10-05T04:53:50.234Z] 33e27b845d1e: Verifying Checksum [2023-10-05T04:53:50.234Z] 33e27b845d1e: Download complete [2023-10-05T04:53:50.234Z] 7264a8db6415: Verifying Checksum [2023-10-05T04:53:50.234Z] 7264a8db6415: Download complete [2023-10-05T04:53:50.234Z] c68163c4e522: Verifying Checksum [2023-10-05T04:53:50.234Z] c68163c4e522: Download complete [2023-10-05T04:53:50.234Z] 7264a8db6415: Pull complete [2023-10-05T04:53:50.493Z] c4d48a809fc2: Pull complete [2023-10-05T04:53:50.493Z] 23d2d4c4bb30: Verifying Checksum [2023-10-05T04:53:50.493Z] 23d2d4c4bb30: Download complete [2023-10-05T04:53:50.751Z] 4f1c88b9dad5: Verifying Checksum [2023-10-05T04:53:50.751Z] 4f1c88b9dad5: Download complete [2023-10-05T04:53:51.009Z] 50da416c3ac9: Verifying Checksum [2023-10-05T04:53:51.009Z] 50da416c3ac9: Download complete [2023-10-05T04:53:53.536Z] 4f1c88b9dad5: Pull complete [2023-10-05T04:53:53.536Z] ad3a456e5733: Pull complete [2023-10-05T04:53:53.794Z] 33e27b845d1e: Pull complete [2023-10-05T04:53:53.794Z] c68163c4e522: Pull complete [2023-10-05T04:53:56.325Z] 50da416c3ac9: Pull complete [2023-10-05T04:53:56.325Z] 23d2d4c4bb30: Pull complete [2023-10-05T04:53:56.325Z] Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c [2023-10-05T04:53:56.325Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2023-10-05T04:53:56.325Z] ---> 0786185ac409 [2023-10-05T04:53:56.325Z] Step 3/10 : ARG MAKE=make build [2023-10-05T04:54:01.622Z] ---> Running in cbbead756009 [2023-10-05T04:54:01.622Z] Removing intermediate container cbbead756009 [2023-10-05T04:54:01.622Z] ---> 34c038a8bd49 [2023-10-05T04:54:01.622Z] Step 4/10 : WORKDIR /device-sdk-go [2023-10-05T04:54:01.622Z] ---> Running in 051f871e4db1 [2023-10-05T04:54:01.622Z] Removing intermediate container 051f871e4db1 [2023-10-05T04:54:01.622Z] ---> 371a74810589 [2023-10-05T04:54:01.622Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-10-05T04:54:01.622Z] ---> Running in d39e44d81482 [2023-10-05T04:54:01.622Z] Removing intermediate container d39e44d81482 [2023-10-05T04:54:01.622Z] ---> 9f096952003e [2023-10-05T04:54:01.622Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-10-05T04:54:01.622Z] ---> Running in 136b48c18c7a [2023-10-05T04:54:01.622Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-10-05T04:54:01.622Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-10-05T04:54:01.880Z] OK: 264 MiB in 52 packages [2023-10-05T04:54:02.141Z] Removing intermediate container 136b48c18c7a [2023-10-05T04:54:02.141Z] ---> d3474f0845ae [2023-10-05T04:54:02.141Z] Step 7/10 : COPY go.mod vendor* ./ [2023-10-05T04:54:02.141Z] ---> f29faf6518d2 [2023-10-05T04:54:02.141Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-05T04:54:02.400Z] ---> Running in d5fce7975d84 [2023-10-05T04:54:03.144Z] Still waiting to schedule task [2023-10-05T04:54:03.144Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-8544’ [2023-10-05T04:54:41.116Z] Removing intermediate container d5fce7975d84 [2023-10-05T04:54:41.116Z] ---> 7b945ff70300 [2023-10-05T04:54:41.116Z] Step 9/10 : COPY . . [2023-10-05T04:54:41.116Z] ---> 7dec2cd9569b [2023-10-05T04:54:41.116Z] Step 10/10 : RUN ${MAKE} [2023-10-05T04:54:41.116Z] ---> Running in 529b7482e8a9 [2023-10-05T04:54:41.116Z] noop [2023-10-05T04:54:41.116Z] Removing intermediate container 529b7482e8a9 [2023-10-05T04:54:41.116Z] ---> 1d300a829f2f [2023-10-05T04:54:41.116Z] Successfully built 1d300a829f2f [2023-10-05T04:54:41.116Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-05T04:54:41.563Z] + docker inspect -f . ci-base-image-x86_64 [2023-10-05T04:54:41.563Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-05T04:54:41.711Z] prd-ubuntu20.04-docker-8c-8g-8545 does not seem to be running inside a container [2023-10-05T04:54:41.716Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1522 -v /w/workspace/gexfoundry_device-sdk-go_PR-1522:/w/workspace/gexfoundry_device-sdk-go_PR-1522:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1522@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1522@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-10-05T04:54:42.028Z] $ docker top 09a8238cfd07ce45c6240359dab7b01ad00109cd53a06de8b75f94ae391de9b8 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-05T04:54:42.448Z] + go version [2023-10-05T04:54:42.448Z] go version go1.21.0 linux/amd64 [Pipeline] } [2023-10-05T04:54:42.454Z] $ docker stop --time=1 09a8238cfd07ce45c6240359dab7b01ad00109cd53a06de8b75f94ae391de9b8 [2023-10-05T04:54:43.712Z] $ docker rm -f --volumes 09a8238cfd07ce45c6240359dab7b01ad00109cd53a06de8b75f94ae391de9b8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-05T04:54:44.458Z] + docker inspect -f . ci-base-image-x86_64 [2023-10-05T04:54:44.458Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-05T04:54:44.603Z] prd-ubuntu20.04-docker-8c-8g-8545 does not seem to be running inside a container [2023-10-05T04:54:44.607Z] $ 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-1522 -v /w/workspace/gexfoundry_device-sdk-go_PR-1522:/w/workspace/gexfoundry_device-sdk-go_PR-1522:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1522@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1522@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-10-05T04:54:44.933Z] $ docker top 37748545503ad7ec6e9b8813f90ef58e6ce1f2bc057c14a15765650f0c4c6845 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-05T04:54:45.350Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1522 [Pipeline] fileExists [Pipeline] sh [2023-10-05T04:54:45.706Z] + make test [2023-10-05T04:54:45.706Z] go test -race -coverprofile=coverage.out ./... [2023-10-05T04:54:52.270Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-10-05T04:55:07.144Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-10-05T04:55:07.144Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-10-05T04:55:07.144Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-10-05T04:55:07.144Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-10-05T04:55:07.145Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-10-05T04:55:07.145Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-10-05T04:55:07.145Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-10-05T04:55:07.145Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.045s coverage: 27.6% of statements [2023-10-05T04:55:07.145Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-10-05T04:55:07.145Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.058s coverage: 81.5% of statements [2023-10-05T04:55:07.145Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.061s coverage: 86.0% of statements [2023-10-05T04:55:08.079Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.075s coverage: 71.8% of statements [2023-10-05T04:55:08.079Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-10-05T04:55:08.079Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-10-05T04:55:08.079Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-10-05T04:55:11.369Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.047s coverage: 14.4% of statements [2023-10-05T04:55:11.369Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 2.858s coverage: 45.9% of statements [2023-10-05T04:55:11.369Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.073s coverage: 68.5% of statements [2023-10-05T04:55:11.369Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.093s coverage: 89.2% of statements [2023-10-05T04:55:11.369Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.045s coverage: 5.5% of statements [2023-10-05T04:55:33.467Z] GO111MODULE=on go vet ./... [2023-10-05T04:55:35.369Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-10-05T04:55:35.369Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-10-05T04:55:35.369Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-10-05T04:55:35.408Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-10-05T04:55:35.438Z] $ docker stop --time=1 37748545503ad7ec6e9b8813f90ef58e6ce1f2bc057c14a15765650f0c4c6845 [2023-10-05T04:55:38.957Z] $ docker rm -f --volumes 37748545503ad7ec6e9b8813f90ef58e6ce1f2bc057c14a15765650f0c4c6845 [Pipeline] // withDockerContainer [Pipeline] sh [2023-10-05T04:55:39.566Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-10-05T04:55:39.646Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-10-05T04:55:40.234Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-10-05T04:55:40.538Z] + ls -al . [2023-10-05T04:55:40.538Z] total 304 [2023-10-05T04:55:40.538Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 5 04:54 . [2023-10-05T04:55:40.538Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 5 04:53 .. [2023-10-05T04:55:40.538Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 5 04:53 .dockerignore [2023-10-05T04:55:40.538Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 5 04:55 .git [2023-10-05T04:55:40.538Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 5 04:53 .github [2023-10-05T04:55:40.538Z] -rw-rw-r-- 1 jenkins jenkins 137 Oct 5 04:53 .gitignore [2023-10-05T04:55:40.538Z] -rw-rw-r-- 1 jenkins jenkins 42 Oct 5 04:53 .golangci.yml [2023-10-05T04:55:40.538Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 5 04:53 .semver [2023-10-05T04:55:40.538Z] -rw-rw-r-- 1 jenkins jenkins 44878 Oct 5 04:53 CHANGELOG.md [2023-10-05T04:55:40.538Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 5 04:53 GOVERNANCE.md [2023-10-05T04:55:40.538Z] -rw-rw-r-- 1 jenkins jenkins 885 Oct 5 04:53 Jenkinsfile [2023-10-05T04:55:40.538Z] -rw-rw-r-- 1 jenkins jenkins 11341 Oct 5 04:53 LICENSE [2023-10-05T04:55:40.538Z] -rw-rw-r-- 1 jenkins jenkins 1842 Oct 5 04:53 Makefile [2023-10-05T04:55:40.538Z] -rw-rw-r-- 1 jenkins jenkins 619 Oct 5 04:53 OWNERS.md [2023-10-05T04:55:40.538Z] -rw-rw-r-- 1 jenkins jenkins 4933 Oct 5 04:53 README.md [2023-10-05T04:55:40.538Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 5 04:53 VERSION [2023-10-05T04:55:40.538Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 5 04:53 bin [2023-10-05T04:55:40.538Z] -rw-r--r-- 1 jenkins jenkins 122153 Oct 5 04:55 coverage.out [2023-10-05T04:55:40.538Z] drwxrwxr-x 5 jenkins jenkins 4096 Oct 5 04:53 example [2023-10-05T04:55:40.538Z] -rw-rw-r-- 1 jenkins jenkins 3723 Oct 5 04:53 go.mod [2023-10-05T04:55:40.538Z] -rw-rw-r-- 1 jenkins jenkins 34808 Oct 5 04:53 go.sum [2023-10-05T04:55:40.538Z] drwxrwxr-x 12 jenkins jenkins 4096 Oct 5 04:53 internal [2023-10-05T04:55:40.538Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 5 04:53 openapi [2023-10-05T04:55:40.538Z] drwxrwxr-x 6 jenkins jenkins 4096 Oct 5 04:53 pkg [2023-10-05T04:55:40.538Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 5 04:53 snap [2023-10-05T04:55:40.538Z] -rw-rw-r-- 1 jenkins jenkins 222 Oct 5 04:53 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-05T04:55:40.929Z] + 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=e355dc9d6b62edc20a730d862a6067ddd7d335f9 --label arch=amd64 --label version=0.0.0 . [2023-10-05T04:55:40.929Z] Sending build context to Docker daemon 11.35MB [2023-10-05T04:55:40.929Z] Step 1/23 : ARG BASE=golang:1.21-alpine3.18 [2023-10-05T04:55:40.929Z] Step 2/23 : FROM ${BASE} AS builder [2023-10-05T04:55:40.929Z] ---> 1d300a829f2f [2023-10-05T04:55:40.929Z] Step 3/23 : ARG MAKE=make build [2023-10-05T04:55:41.189Z] ---> Running in a1f70ddba654 [2023-10-05T04:55:41.189Z] Removing intermediate container a1f70ddba654 [2023-10-05T04:55:41.189Z] ---> df6e7be8b994 [2023-10-05T04:55:41.189Z] Step 4/23 : WORKDIR /device-sdk-go [2023-10-05T04:55:41.189Z] ---> Running in 0f7785a2f7f9 [2023-10-05T04:55:41.448Z] Removing intermediate container 0f7785a2f7f9 [2023-10-05T04:55:41.448Z] ---> 8cdd0a3db093 [2023-10-05T04:55:41.448Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-10-05T04:55:41.448Z] ---> Running in 670a8e8d6d47 [2023-10-05T04:55:41.448Z] Removing intermediate container 670a8e8d6d47 [2023-10-05T04:55:41.448Z] ---> ddf65a298d51 [2023-10-05T04:55:41.448Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-10-05T04:55:41.448Z] ---> Running in 5ee976c7013c [2023-10-05T04:55:41.707Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-10-05T04:55:41.707Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-10-05T04:55:41.967Z] OK: 264 MiB in 52 packages [2023-10-05T04:55:42.535Z] Removing intermediate container 5ee976c7013c [2023-10-05T04:55:42.535Z] ---> 50f454e2f9b8 [2023-10-05T04:55:42.535Z] Step 7/23 : COPY go.mod vendor* ./ [2023-10-05T04:55:42.535Z] ---> 1c15fa5127f5 [2023-10-05T04:55:42.535Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-05T04:55:42.535Z] ---> Running in 95d7d164eaa4 [2023-10-05T04:55:43.103Z] Removing intermediate container 95d7d164eaa4 [2023-10-05T04:55:43.103Z] ---> 12ec40a32f4e [2023-10-05T04:55:43.103Z] Step 9/23 : COPY . . [2023-10-05T04:55:43.677Z] ---> ca739342d6da [2023-10-05T04:55:43.677Z] Step 10/23 : RUN ${MAKE} [2023-10-05T04:55:43.677Z] ---> Running in 5122926b56fc [2023-10-05T04:55:43.938Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-10-05T04:56:05.876Z] Removing intermediate container 5122926b56fc [2023-10-05T04:56:05.876Z] ---> 25f8e408259f [2023-10-05T04:56:05.876Z] Step 11/23 : FROM alpine:3.18 [2023-10-05T04:56:05.876Z] 3.18: Pulling from library/alpine [2023-10-05T04:56:05.876Z] 96526aa774ef: Pulling fs layer [2023-10-05T04:56:05.876Z] 96526aa774ef: Verifying Checksum [2023-10-05T04:56:05.876Z] 96526aa774ef: Download complete [2023-10-05T04:56:05.876Z] 96526aa774ef: Pull complete [2023-10-05T04:56:05.876Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-10-05T04:56:05.876Z] Status: Downloaded newer image for alpine:3.18 [2023-10-05T04:56:05.876Z] ---> 8ca4688f4f35 [2023-10-05T04:56:05.876Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-10-05T04:56:05.876Z] ---> Running in ef0bb7080412 [2023-10-05T04:56:05.876Z] Removing intermediate container ef0bb7080412 [2023-10-05T04:56:05.876Z] ---> 1345a224483e [2023-10-05T04:56:05.876Z] Step 13/23 : RUN apk add --update --no-cache [2023-10-05T04:56:05.876Z] ---> Running in b023c322f8c8 [2023-10-05T04:56:05.876Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-10-05T04:56:05.876Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-10-05T04:56:05.876Z] OK: 7 MiB in 15 packages [2023-10-05T04:56:05.876Z] Removing intermediate container b023c322f8c8 [2023-10-05T04:56:05.876Z] ---> 53fc86754b16 [2023-10-05T04:56:05.876Z] Step 14/23 : WORKDIR / [2023-10-05T04:56:05.876Z] ---> Running in 0e5a4fcad499 [2023-10-05T04:56:05.876Z] Removing intermediate container 0e5a4fcad499 [2023-10-05T04:56:05.876Z] ---> 27dbdac6031c [2023-10-05T04:56:05.876Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-10-05T04:56:05.876Z] ---> 27d5f5e81da4 [2023-10-05T04:56:05.876Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-10-05T04:56:05.876Z] ---> 2a146af017c5 [2023-10-05T04:56:05.876Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-10-05T04:56:06.134Z] ---> becf2e3de93b [2023-10-05T04:56:06.134Z] Step 18/23 : EXPOSE 59999 [2023-10-05T04:56:06.134Z] ---> Running in 493fa59f6805 [2023-10-05T04:56:06.134Z] Removing intermediate container 493fa59f6805 [2023-10-05T04:56:06.134Z] ---> ec66987b6564 [2023-10-05T04:56:06.134Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-10-05T04:56:06.134Z] ---> Running in 8e3403e8c613 [2023-10-05T04:56:06.393Z] Removing intermediate container 8e3403e8c613 [2023-10-05T04:56:06.393Z] ---> 58bebe38f69e [2023-10-05T04:56:06.393Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-10-05T04:56:06.393Z] ---> Running in 6dfbc5747bf1 [2023-10-05T04:56:06.393Z] Removing intermediate container 6dfbc5747bf1 [2023-10-05T04:56:06.393Z] ---> 8172afddc054 [2023-10-05T04:56:06.393Z] Step 21/23 : LABEL arch=amd64 [2023-10-05T04:56:06.393Z] ---> Running in 94d2b46f4bbb [2023-10-05T04:56:06.393Z] Removing intermediate container 94d2b46f4bbb [2023-10-05T04:56:06.393Z] ---> 5851872f8633 [2023-10-05T04:56:06.393Z] Step 22/23 : LABEL git_sha=e355dc9d6b62edc20a730d862a6067ddd7d335f9 [2023-10-05T04:56:06.393Z] ---> Running in 66ce7a83fb5b [2023-10-05T04:56:06.652Z] Removing intermediate container 66ce7a83fb5b [2023-10-05T04:56:06.652Z] ---> 618929948691 [2023-10-05T04:56:06.652Z] Step 23/23 : LABEL version=0.0.0 [2023-10-05T04:56:06.653Z] ---> Running in b531d811990f [2023-10-05T04:56:06.912Z] Removing intermediate container b531d811990f [2023-10-05T04:56:06.912Z] ---> e089f6942b2f [2023-10-05T04:56:06.912Z] [Warning] One or more build-args [ARCH] were not consumed [2023-10-05T04:56:06.912Z] Successfully built e089f6942b2f [2023-10-05T04:56:06.912Z] 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-10-05T04:56:07.785Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-05T04:56:07.785Z] [2023-10-05T04:56:07.785Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-05T04:56:08.163Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-05T04:56:08.163Z] latest: Pulling from edgex-lftools-log-publisher [2023-10-05T04:56:08.163Z] 5eb5b503b376: Pulling fs layer [2023-10-05T04:56:08.163Z] 5c69ac0246d0: Pulling fs layer [2023-10-05T04:56:08.163Z] ec43610c2a17: Pulling fs layer [2023-10-05T04:56:08.163Z] 3a2ae6a8a46f: Pulling fs layer [2023-10-05T04:56:08.163Z] 33b1e0a273af: Pulling fs layer [2023-10-05T04:56:08.163Z] 5d3b04190fa2: Pulling fs layer [2023-10-05T04:56:08.163Z] 2f39f015ded8: Pulling fs layer [2023-10-05T04:56:08.163Z] 3a2ae6a8a46f: Waiting [2023-10-05T04:56:08.163Z] 33b1e0a273af: Waiting [2023-10-05T04:56:08.163Z] 5d3b04190fa2: Waiting [2023-10-05T04:56:08.163Z] 2f39f015ded8: Waiting [2023-10-05T04:56:08.163Z] 5c69ac0246d0: Download complete [2023-10-05T04:56:08.163Z] 3a2ae6a8a46f: Verifying Checksum [2023-10-05T04:56:08.163Z] 3a2ae6a8a46f: Download complete [2023-10-05T04:56:08.163Z] 33b1e0a273af: Verifying Checksum [2023-10-05T04:56:08.163Z] 33b1e0a273af: Download complete [2023-10-05T04:56:08.163Z] 5d3b04190fa2: Download complete [2023-10-05T04:56:08.163Z] ec43610c2a17: Verifying Checksum [2023-10-05T04:56:08.163Z] ec43610c2a17: Download complete [2023-10-05T04:56:08.427Z] 5eb5b503b376: Verifying Checksum [2023-10-05T04:56:08.427Z] 5eb5b503b376: Download complete [2023-10-05T04:56:09.001Z] 2f39f015ded8: Download complete [2023-10-05T04:56:09.570Z] 5eb5b503b376: Pull complete [2023-10-05T04:56:09.828Z] 5c69ac0246d0: Pull complete [2023-10-05T04:56:10.395Z] ec43610c2a17: Pull complete [2023-10-05T04:56:10.654Z] 3a2ae6a8a46f: Pull complete [2023-10-05T04:56:11.223Z] 33b1e0a273af: Pull complete [2023-10-05T04:56:11.223Z] 5d3b04190fa2: Pull complete [2023-10-05T04:56:15.407Z] 2f39f015ded8: Pull complete [2023-10-05T04:56:15.407Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-10-05T04:56:15.407Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-05T04:56:15.407Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-05T04:56:15.620Z] prd-ubuntu20.04-docker-8c-8g-8545 does not seem to be running inside a container [2023-10-05T04:56:15.658Z] $ 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-1522 -v /w/workspace/gexfoundry_device-sdk-go_PR-1522:/w/workspace/gexfoundry_device-sdk-go_PR-1522:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1522@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1522@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-10-05T04:56:20.082Z] $ docker top 773ce99e50c355202c646df3235eec544a9633f36fe87a6d03e186982a852b20 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-05T04:56:20.523Z] ---> job-cost.sh [2023-10-05T04:56:20.523Z] lf-activate-venv: SKIPPING [2023-10-05T04:56:20.523Z] INFO: No Stack... [2023-10-05T04:56:20.782Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-10-05T04:56:21.042Z] INFO: Archiving Costs [Pipeline] sh [2023-10-05T04:56:21.359Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1522/archives/cost.csv [2023-10-05T04:56:21.359Z] + cut -d, -f6 [Pipeline] lock [2023-10-05T04:56:21.401Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1522-1-stack-cost] [2023-10-05T04:56:21.408Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1522-1-stack-cost] did not exist. Created. [2023-10-05T04:56:21.408Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1522-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-10-05T04:56:21.812Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-10-05T04:56:21.866Z] Stashed 1 file(s) [Pipeline] } [2023-10-05T04:56:21.893Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1522-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-10-05T04:56:21.990Z] $ docker stop --time=1 773ce99e50c355202c646df3235eec544a9633f36fe87a6d03e186982a852b20 [2023-10-05T04:56:23.515Z] $ docker rm -f --volumes 773ce99e50c355202c646df3235eec544a9633f36fe87a6d03e186982a852b20 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-10-05T04:57:26.970Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-8546 in /w/workspace/gexfoundry_device-sdk-go_PR-1522 [Pipeline] { [Pipeline] ws [2023-10-05T04:57:27.025Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2023-10-05T04:57:27.111Z] The recommended git tool is: git [2023-10-05T04:57:31.935Z] using credential edgex-jenkins-ssh [2023-10-05T04:57:31.950Z] Cloning the remote Git repository [2023-10-05T04:57:31.991Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-10-05T04:57:32.078Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2023-10-05T04:57:32.214Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-10-05T04:57:32.215Z] > git --version # timeout=10 [2023-10-05T04:57:32.244Z] > git --version # 'git version 2.25.1' [2023-10-05T04:57:32.246Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-10-05T04:57:32.400Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-10-05T04:57:33.994Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-10-05T04:57:34.023Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-10-05T04:57:35.469Z] Merging remotes/origin/main commit 8a4e603c9daa9d98ee8f2e5896cc64fc9a451017 into PR head commit e355dc9d6b62edc20a730d862a6067ddd7d335f9 [2023-10-05T04:57:35.772Z] Merge succeeded, producing e355dc9d6b62edc20a730d862a6067ddd7d335f9 [2023-10-05T04:57:35.772Z] Checking out Revision e355dc9d6b62edc20a730d862a6067ddd7d335f9 (PR-1522) [2023-10-05T04:57:34.807Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-10-05T04:57:34.842Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-10-05T04:57:34.843Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-10-05T04:57:34.859Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1522/head:refs/remotes/origin/PR-1522 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-10-05T04:57:35.482Z] > git config core.sparsecheckout # timeout=10 [2023-10-05T04:57:35.547Z] > git checkout -f e355dc9d6b62edc20a730d862a6067ddd7d335f9 # timeout=10 [2023-10-05T04:57:35.655Z] > git remote # timeout=10 [2023-10-05T04:57:35.674Z] > git config --get remote.origin.url # timeout=10 [2023-10-05T04:57:35.707Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-10-05T04:57:35.720Z] > git merge 8a4e603c9daa9d98ee8f2e5896cc64fc9a451017 # timeout=10 [2023-10-05T04:57:35.748Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-10-05T04:57:35.774Z] > git config core.sparsecheckout # timeout=10 [2023-10-05T04:57:35.787Z] > git checkout -f e355dc9d6b62edc20a730d862a6067ddd7d335f9 # timeout=10 [2023-10-05T04:57:36.282Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3" [2023-10-05T04:57:36.327Z] > git --version # timeout=10 [2023-10-05T04:57:36.342Z] > git --version # 'git version 2.25.1' [2023-10-05T04:57:36.352Z] fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-10-05T04:57:37.459Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-10-05T04:57:37.460Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-10-05T04:57:37.460Z] Dload Upload Total Spent Left Speed [2023-10-05T04:57:37.460Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 79693 0 --:--:-- --:--:-- --:--:-- 79693 [Pipeline] sh [2023-10-05T04:57:38.230Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-10-05T04:57:38.579Z] + sudo tee /etc/docker/daemon.new [2023-10-05T04:57:38.579Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-10-05T04:57:38.579Z] { [2023-10-05T04:57:38.579Z] "registry-mirrors": [ [2023-10-05T04:57:38.579Z] "https://nexus3.edgexfoundry.org:10001" [2023-10-05T04:57:38.579Z] ], [2023-10-05T04:57:38.579Z] "bip": "10.250.0.254/24", [2023-10-05T04:57:38.579Z] "hosts": [ [2023-10-05T04:57:38.579Z] "tcp://0.0.0.0:5555", [2023-10-05T04:57:38.579Z] "unix:///var/run/docker.sock" [2023-10-05T04:57:38.579Z] ], [2023-10-05T04:57:38.579Z] "mtu": 1458, [2023-10-05T04:57:38.579Z] "selinux-enabled": true, [2023-10-05T04:57:38.579Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-10-05T04:57:38.579Z] } [Pipeline] sh [2023-10-05T04:57:38.930Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-10-05T04:57:39.268Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-05T04:58:01.425Z] provisioning config files... [2023-10-05T04:58:01.448Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config14245282133378530695tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-05T04:58:01.833Z] ---> docker-login.sh [2023-10-05T04:58:01.833Z] nexus3.edgexfoundry.org:10001 [2023-10-05T04:58:02.103Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-05T04:58:02.376Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-05T04:58:02.376Z] Configure a credential helper to remove this warning. See [2023-10-05T04:58:02.376Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-05T04:58:02.376Z] [2023-10-05T04:58:02.376Z] Login Succeeded [2023-10-05T04:58:02.376Z] nexus3.edgexfoundry.org:10002 [2023-10-05T04:58:02.646Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-05T04:58:02.916Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-05T04:58:02.916Z] Configure a credential helper to remove this warning. See [2023-10-05T04:58:02.916Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-05T04:58:02.916Z] [2023-10-05T04:58:02.916Z] Login Succeeded [2023-10-05T04:58:02.916Z] nexus3.edgexfoundry.org:10003 [2023-10-05T04:58:03.186Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-05T04:58:03.186Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-05T04:58:03.186Z] Configure a credential helper to remove this warning. See [2023-10-05T04:58:03.186Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-05T04:58:03.186Z] [2023-10-05T04:58:03.186Z] Login Succeeded [2023-10-05T04:58:03.186Z] nexus3.edgexfoundry.org:10004 [2023-10-05T04:58:03.456Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-05T04:58:03.456Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-05T04:58:03.456Z] Configure a credential helper to remove this warning. See [2023-10-05T04:58:03.456Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-05T04:58:03.456Z] [2023-10-05T04:58:03.456Z] Login Succeeded [2023-10-05T04:58:03.456Z] docker.io [2023-10-05T04:58:03.725Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-05T04:58:03.994Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-05T04:58:03.994Z] Configure a credential helper to remove this warning. See [2023-10-05T04:58:03.994Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-05T04:58:03.994Z] [2023-10-05T04:58:03.994Z] Login Succeeded [2023-10-05T04:58:03.994Z] ---> docker-login.sh ends [Pipeline] } [2023-10-05T04:58:04.024Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-10-05T04:58:04.406Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-05T04:58:04.445Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-05T04:58:04.481Z] ========================================================= [2023-10-05T04:58:04.481Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2023-10-05T04:58:04.481Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-05T04:58:04.992Z] + 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.21-alpine --build-arg MAKE=echo noop --target=builder . [2023-10-05T04:58:05.260Z] Sending build context to Docker daemon 6.006MB [2023-10-05T04:58:05.260Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2023-10-05T04:58:05.261Z] Step 2/10 : FROM ${BASE} AS builder [2023-10-05T04:58:07.209Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-10-05T04:58:07.209Z] 9fda8d8052c6: Pulling fs layer [2023-10-05T04:58:07.209Z] 5d54e960e981: Pulling fs layer [2023-10-05T04:58:07.209Z] c4a7e357bf2a: Pulling fs layer [2023-10-05T04:58:07.209Z] f0e02332f6b5: Pulling fs layer [2023-10-05T04:58:07.209Z] cefa15bbcfad: Pulling fs layer [2023-10-05T04:58:07.209Z] 17808c966233: Pulling fs layer [2023-10-05T04:58:07.209Z] f4c1fc716caa: Pulling fs layer [2023-10-05T04:58:07.209Z] cefa15bbcfad: Waiting [2023-10-05T04:58:07.209Z] 17808c966233: Waiting [2023-10-05T04:58:07.209Z] f4c1fc716caa: Waiting [2023-10-05T04:58:07.209Z] f0e02332f6b5: Waiting [2023-10-05T04:58:07.209Z] 5d54e960e981: Verifying Checksum [2023-10-05T04:58:07.209Z] 5d54e960e981: Download complete [2023-10-05T04:58:07.209Z] f0e02332f6b5: Verifying Checksum [2023-10-05T04:58:07.209Z] f0e02332f6b5: Download complete [2023-10-05T04:58:07.209Z] cefa15bbcfad: Verifying Checksum [2023-10-05T04:58:07.209Z] cefa15bbcfad: Download complete [2023-10-05T04:58:07.209Z] 9fda8d8052c6: Download complete [2023-10-05T04:58:07.798Z] f4c1fc716caa: Verifying Checksum [2023-10-05T04:58:07.798Z] f4c1fc716caa: Download complete [2023-10-05T04:58:08.068Z] 9fda8d8052c6: Pull complete [2023-10-05T04:58:08.661Z] 5d54e960e981: Pull complete [2023-10-05T04:58:09.061Z] c4a7e357bf2a: Verifying Checksum [2023-10-05T04:58:09.061Z] c4a7e357bf2a: Download complete [2023-10-05T04:58:10.053Z] 17808c966233: Verifying Checksum [2023-10-05T04:58:10.053Z] 17808c966233: Download complete [2023-10-05T04:58:22.903Z] c4a7e357bf2a: Pull complete [2023-10-05T04:58:22.903Z] f0e02332f6b5: Pull complete [2023-10-05T04:58:22.903Z] cefa15bbcfad: Pull complete [2023-10-05T04:58:28.283Z] 17808c966233: Pull complete [2023-10-05T04:58:29.699Z] f4c1fc716caa: Pull complete [2023-10-05T04:58:29.699Z] Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 [2023-10-05T04:58:29.699Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2023-10-05T04:58:29.699Z] ---> ea914061e18c [2023-10-05T04:58:29.699Z] Step 3/10 : ARG MAKE=make build [2023-10-05T04:58:30.660Z] ---> Running in 71cba8fa5352 [2023-10-05T04:58:30.935Z] Removing intermediate container 71cba8fa5352 [2023-10-05T04:58:30.935Z] ---> f7866eb44f93 [2023-10-05T04:58:30.935Z] Step 4/10 : WORKDIR /device-sdk-go [2023-10-05T04:58:30.935Z] ---> Running in 64479f4ddcf8 [2023-10-05T04:58:31.203Z] Removing intermediate container 64479f4ddcf8 [2023-10-05T04:58:31.203Z] ---> 252186ce8fc3 [2023-10-05T04:58:31.203Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-10-05T04:58:31.471Z] ---> Running in f5219da1af90 [2023-10-05T04:58:31.739Z] Removing intermediate container f5219da1af90 [2023-10-05T04:58:31.739Z] ---> 1428bfe87d0f [2023-10-05T04:58:31.739Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-10-05T04:58:31.739Z] ---> Running in 281213d94c93 [2023-10-05T04:58:33.152Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-10-05T04:58:33.152Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-10-05T04:58:34.110Z] OK: 266 MiB in 52 packages [2023-10-05T04:58:36.058Z] Removing intermediate container 281213d94c93 [2023-10-05T04:58:36.058Z] ---> 450e6ab2f3b0 [2023-10-05T04:58:36.058Z] Step 7/10 : COPY go.mod vendor* ./ [2023-10-05T04:58:36.058Z] ---> 0ba643c3ffd3 [2023-10-05T04:58:36.058Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-05T04:58:36.326Z] ---> Running in 15a9284e847c [2023-10-05T04:59:44.204Z] Removing intermediate container 15a9284e847c [2023-10-05T04:59:44.204Z] ---> 390e7292ad76 [2023-10-05T04:59:44.204Z] Step 9/10 : COPY . . [2023-10-05T04:59:44.204Z] ---> 2d0351da38bd [2023-10-05T04:59:44.204Z] Step 10/10 : RUN ${MAKE} [2023-10-05T04:59:44.204Z] ---> Running in 49b92e4fa2fd [2023-10-05T04:59:44.204Z] noop [2023-10-05T04:59:44.204Z] Removing intermediate container 49b92e4fa2fd [2023-10-05T04:59:44.204Z] ---> a32f23ca533d [2023-10-05T04:59:44.204Z] Successfully built a32f23ca533d [2023-10-05T04:59:44.204Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-05T04:59:44.679Z] + docker inspect -f . ci-base-image-arm64 [2023-10-05T04:59:44.679Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-05T04:59:44.948Z] prd-ubuntu20.04-docker-arm64-4c-16g-8546 does not seem to be running inside a container [2023-10-05T04:59:45.018Z] $ 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-10-05T04:59:46.152Z] $ docker top da3759f6f66aa6bbada436e5a059298f5aadd9fbd703be106cf8771e3f927653 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-05T04:59:47.014Z] + go version [2023-10-05T04:59:47.015Z] go version go1.21.0 linux/arm64 [Pipeline] } [2023-10-05T04:59:47.050Z] $ docker stop --time=1 da3759f6f66aa6bbada436e5a059298f5aadd9fbd703be106cf8771e3f927653 [2023-10-05T04:59:48.634Z] $ docker rm -f --volumes da3759f6f66aa6bbada436e5a059298f5aadd9fbd703be106cf8771e3f927653 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-05T04:59:49.451Z] + docker inspect -f . ci-base-image-arm64 [2023-10-05T04:59:49.451Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-05T04:59:49.706Z] prd-ubuntu20.04-docker-arm64-4c-16g-8546 does not seem to be running inside a container [2023-10-05T04:59:49.769Z] $ 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-10-05T04:59:50.915Z] $ docker top ee08e53fc292b3310c8e0fb68f5464d86984f6593f31bc8d9d727d25814c7943 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-05T04:59:51.463Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh [2023-10-05T04:59:51.851Z] + make test [2023-10-05T04:59:51.851Z] go test -race -coverprofile=coverage.out ./... [2023-10-05T05:00:24.381Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-10-05T05:02:03.412Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-10-05T05:02:03.412Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-10-05T05:02:03.412Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-10-05T05:02:03.412Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-10-05T05:02:03.412Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-10-05T05:02:03.412Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.255s coverage: 27.6% of statements [2023-10-05T05:02:11.617Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.266s coverage: 81.5% of statements [2023-10-05T05:02:19.837Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-10-05T05:02:19.837Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-10-05T05:02:20.806Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.483s coverage: 86.0% of statements [2023-10-05T05:02:25.056Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-10-05T05:02:27.011Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.549s coverage: 71.8% of statements [2023-10-05T05:02:30.357Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-10-05T05:02:30.357Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-10-05T05:02:30.357Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.295s coverage: 14.4% of statements [2023-10-05T05:02:30.357Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 3.847s coverage: 45.6% of statements [2023-10-05T05:02:31.765Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.480s coverage: 68.5% of statements [2023-10-05T05:02:35.116Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.442s coverage: 89.2% of statements [2023-10-05T05:02:35.116Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-10-05T05:02:36.072Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.226s coverage: 5.5% of statements [2023-10-05T05:02:37.049Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-10-05T05:02:37.049Z] GO111MODULE=on go vet ./... [2023-10-05T05:04:28.704Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-10-05T05:04:28.704Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-10-05T05:04:28.704Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-10-05T05:04:28.749Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-10-05T05:04:28.784Z] $ docker stop --time=1 ee08e53fc292b3310c8e0fb68f5464d86984f6593f31bc8d9d727d25814c7943 [2023-10-05T05:04:30.733Z] $ docker rm -f --volumes ee08e53fc292b3310c8e0fb68f5464d86984f6593f31bc8d9d727d25814c7943 [Pipeline] // withDockerContainer [Pipeline] sh [2023-10-05T05:04:32.305Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-10-05T05:04:32.339Z] Warning: overwriting stash ‘coverage-report’ [2023-10-05T05:04:32.887Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-10-05T05:04:33.473Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-10-05T05:04:33.816Z] + ls -al . [2023-10-05T05:04:33.817Z] total 300 [2023-10-05T05:04:33.817Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 5 04:59 . [2023-10-05T05:04:33.817Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 5 04:57 .. [2023-10-05T05:04:33.817Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 5 04:57 .dockerignore [2023-10-05T05:04:33.817Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 5 04:57 .git [2023-10-05T05:04:33.817Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 5 04:57 .github [2023-10-05T05:04:33.817Z] -rw-rw-r-- 1 jenkins jenkins 137 Oct 5 04:57 .gitignore [2023-10-05T05:04:33.817Z] -rw-rw-r-- 1 jenkins jenkins 42 Oct 5 04:57 .golangci.yml [2023-10-05T05:04:33.817Z] -rw-rw-r-- 1 jenkins jenkins 44878 Oct 5 04:57 CHANGELOG.md [2023-10-05T05:04:33.817Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 5 04:57 GOVERNANCE.md [2023-10-05T05:04:33.817Z] -rw-rw-r-- 1 jenkins jenkins 885 Oct 5 04:57 Jenkinsfile [2023-10-05T05:04:33.817Z] -rw-rw-r-- 1 jenkins jenkins 11341 Oct 5 04:57 LICENSE [2023-10-05T05:04:33.817Z] -rw-rw-r-- 1 jenkins jenkins 1842 Oct 5 04:57 Makefile [2023-10-05T05:04:33.817Z] -rw-rw-r-- 1 jenkins jenkins 619 Oct 5 04:57 OWNERS.md [2023-10-05T05:04:33.817Z] -rw-rw-r-- 1 jenkins jenkins 4933 Oct 5 04:57 README.md [2023-10-05T05:04:33.817Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 5 04:53 VERSION [2023-10-05T05:04:33.817Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 5 04:57 bin [2023-10-05T05:04:33.817Z] -rw-r--r-- 1 jenkins jenkins 122151 Oct 5 05:02 coverage.out [2023-10-05T05:04:33.817Z] drwxrwxr-x 5 jenkins jenkins 4096 Oct 5 04:57 example [2023-10-05T05:04:33.817Z] -rw-rw-r-- 1 jenkins jenkins 3723 Oct 5 04:57 go.mod [2023-10-05T05:04:33.817Z] -rw-rw-r-- 1 jenkins jenkins 34808 Oct 5 04:57 go.sum [2023-10-05T05:04:33.817Z] drwxrwxr-x 12 jenkins jenkins 4096 Oct 5 04:57 internal [2023-10-05T05:04:33.817Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 5 04:57 openapi [2023-10-05T05:04:33.817Z] drwxrwxr-x 6 jenkins jenkins 4096 Oct 5 04:57 pkg [2023-10-05T05:04:33.817Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 5 04:57 snap [2023-10-05T05:04:33.817Z] -rw-rw-r-- 1 jenkins jenkins 222 Oct 5 04:57 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-05T05:04:34.228Z] + 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=e355dc9d6b62edc20a730d862a6067ddd7d335f9 --label arch=arm64 --label version=0.0.0 . [2023-10-05T05:04:34.495Z] Sending build context to Docker daemon 6.129MB [2023-10-05T05:04:34.495Z] Step 1/23 : ARG BASE=golang:1.21-alpine3.18 [2023-10-05T05:04:34.495Z] Step 2/23 : FROM ${BASE} AS builder [2023-10-05T05:04:34.496Z] ---> a32f23ca533d [2023-10-05T05:04:34.496Z] Step 3/23 : ARG MAKE=make build [2023-10-05T05:04:34.763Z] ---> Running in f2ba098455a3 [2023-10-05T05:04:35.031Z] Removing intermediate container f2ba098455a3 [2023-10-05T05:04:35.031Z] ---> 7cbf22e16887 [2023-10-05T05:04:35.031Z] Step 4/23 : WORKDIR /device-sdk-go [2023-10-05T05:04:35.031Z] ---> Running in 3bb1e2bb506e [2023-10-05T05:04:35.617Z] Removing intermediate container 3bb1e2bb506e [2023-10-05T05:04:35.617Z] ---> 070626a8a353 [2023-10-05T05:04:35.617Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-10-05T05:04:35.617Z] ---> Running in f5cf11e86b4c [2023-10-05T05:04:35.891Z] Removing intermediate container f5cf11e86b4c [2023-10-05T05:04:35.891Z] ---> 158a841a6250 [2023-10-05T05:04:35.891Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-10-05T05:04:35.891Z] ---> Running in 82b2ecd7e9b0 [2023-10-05T05:04:36.847Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-10-05T05:04:37.112Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-10-05T05:04:38.080Z] OK: 266 MiB in 52 packages [2023-10-05T05:04:39.041Z] Removing intermediate container 82b2ecd7e9b0 [2023-10-05T05:04:39.041Z] ---> 9aeb1acd9dcc [2023-10-05T05:04:39.041Z] Step 7/23 : COPY go.mod vendor* ./ [2023-10-05T05:04:39.625Z] ---> 079d1895d5ec [2023-10-05T05:04:39.625Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-05T05:04:39.625Z] ---> Running in 7564c87d7836 [2023-10-05T05:04:41.668Z] Removing intermediate container 7564c87d7836 [2023-10-05T05:04:41.668Z] ---> b1c5716c42b4 [2023-10-05T05:04:41.668Z] Step 9/23 : COPY . . [2023-10-05T05:04:42.630Z] ---> c776ae7d85a4 [2023-10-05T05:04:42.630Z] Step 10/23 : RUN ${MAKE} [2023-10-05T05:04:42.630Z] ---> Running in fa56c2a0a793 [2023-10-05T05:04:43.591Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-10-05T05:06:35.306Z] Removing intermediate container fa56c2a0a793 [2023-10-05T05:06:35.306Z] ---> 5fa6e02817c7 [2023-10-05T05:06:35.306Z] Step 11/23 : FROM alpine:3.18 [2023-10-05T05:06:35.306Z] 3.18: Pulling from library/alpine [2023-10-05T05:06:35.306Z] 579b34f0a95b: Pulling fs layer [2023-10-05T05:06:35.306Z] 579b34f0a95b: Verifying Checksum [2023-10-05T05:06:35.306Z] 579b34f0a95b: Download complete [2023-10-05T05:06:35.306Z] 579b34f0a95b: Pull complete [2023-10-05T05:06:35.306Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-10-05T05:06:35.306Z] Status: Downloaded newer image for alpine:3.18 [2023-10-05T05:06:35.306Z] ---> 3cc203321400 [2023-10-05T05:06:35.306Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-10-05T05:06:35.306Z] ---> Running in 27e2e228b847 [2023-10-05T05:06:35.306Z] Removing intermediate container 27e2e228b847 [2023-10-05T05:06:35.306Z] ---> 7258016fb04b [2023-10-05T05:06:35.306Z] Step 13/23 : RUN apk add --update --no-cache [2023-10-05T05:06:35.306Z] ---> Running in 041752b715cb [2023-10-05T05:06:35.306Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-10-05T05:06:35.306Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-10-05T05:06:35.306Z] OK: 8 MiB in 15 packages [2023-10-05T05:06:35.306Z] Removing intermediate container 041752b715cb [2023-10-05T05:06:35.306Z] ---> 31f45ee59503 [2023-10-05T05:06:35.306Z] Step 14/23 : WORKDIR / [2023-10-05T05:06:35.306Z] ---> Running in 7fe5b563a060 [2023-10-05T05:06:35.306Z] Removing intermediate container 7fe5b563a060 [2023-10-05T05:06:35.306Z] ---> fb8cefe4358f [2023-10-05T05:06:35.306Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-10-05T05:06:35.306Z] ---> 55bed917c964 [2023-10-05T05:06:35.306Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-10-05T05:06:35.306Z] ---> a5d9ceea19af [2023-10-05T05:06:35.306Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-10-05T05:06:35.306Z] ---> 74053ce9c1c2 [2023-10-05T05:06:35.306Z] Step 18/23 : EXPOSE 59999 [2023-10-05T05:06:35.306Z] ---> Running in a88524f9831a [2023-10-05T05:06:35.306Z] Removing intermediate container a88524f9831a [2023-10-05T05:06:35.306Z] ---> b1f3bd8f5cc8 [2023-10-05T05:06:35.306Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-10-05T05:06:35.306Z] ---> Running in afd13c69188a [2023-10-05T05:06:35.306Z] Removing intermediate container afd13c69188a [2023-10-05T05:06:35.306Z] ---> 510c963c1128 [2023-10-05T05:06:35.306Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-10-05T05:06:35.306Z] ---> Running in bc71195dfdd8 [2023-10-05T05:06:35.306Z] Removing intermediate container bc71195dfdd8 [2023-10-05T05:06:35.306Z] ---> b42d719a4825 [2023-10-05T05:06:35.306Z] Step 21/23 : LABEL arch=arm64 [2023-10-05T05:06:35.306Z] ---> Running in 5759b00c52da [2023-10-05T05:06:35.306Z] Removing intermediate container 5759b00c52da [2023-10-05T05:06:35.306Z] ---> ab6dc5a16844 [2023-10-05T05:06:35.306Z] Step 22/23 : LABEL git_sha=e355dc9d6b62edc20a730d862a6067ddd7d335f9 [2023-10-05T05:06:35.306Z] ---> Running in fc9a1f1f0e80 [2023-10-05T05:06:35.306Z] Removing intermediate container fc9a1f1f0e80 [2023-10-05T05:06:35.306Z] ---> 641f1e4c2beb [2023-10-05T05:06:35.306Z] Step 23/23 : LABEL version=0.0.0 [2023-10-05T05:06:35.306Z] ---> Running in 7645e100f86a [2023-10-05T05:06:35.306Z] Removing intermediate container 7645e100f86a [2023-10-05T05:06:35.306Z] ---> 7cabb1967058 [2023-10-05T05:06:35.306Z] [Warning] One or more build-args [ARCH] were not consumed [2023-10-05T05:06:35.306Z] Successfully built 7cabb1967058 [2023-10-05T05:06:35.306Z] 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-10-05T05:06:36.118Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-10-05T05:06:36.118Z] [2023-10-05T05:06:36.118Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-05T05:06:36.540Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-10-05T05:06:36.540Z] arm64: Pulling from edgex-lftools-log-publisher [2023-10-05T05:06:36.540Z] 8998bd30e6a1: Pulling fs layer [2023-10-05T05:06:36.540Z] 04944245beec: Pulling fs layer [2023-10-05T05:06:36.540Z] 699f458cf7ca: Pulling fs layer [2023-10-05T05:06:36.540Z] 765212b225bb: Pulling fs layer [2023-10-05T05:06:36.540Z] f23df028b6ca: Pulling fs layer [2023-10-05T05:06:36.540Z] d65c8cfc05b1: Pulling fs layer [2023-10-05T05:06:36.540Z] 2437ff75d9bd: Pulling fs layer [2023-10-05T05:06:36.540Z] 765212b225bb: Waiting [2023-10-05T05:06:36.540Z] f23df028b6ca: Waiting [2023-10-05T05:06:36.540Z] d65c8cfc05b1: Waiting [2023-10-05T05:06:36.540Z] 2437ff75d9bd: Waiting [2023-10-05T05:06:36.823Z] 04944245beec: Verifying Checksum [2023-10-05T05:06:36.823Z] 04944245beec: Download complete [2023-10-05T05:06:36.823Z] 765212b225bb: Verifying Checksum [2023-10-05T05:06:36.823Z] 765212b225bb: Download complete [2023-10-05T05:06:36.823Z] f23df028b6ca: Verifying Checksum [2023-10-05T05:06:36.823Z] f23df028b6ca: Download complete [2023-10-05T05:06:36.823Z] d65c8cfc05b1: Verifying Checksum [2023-10-05T05:06:36.823Z] d65c8cfc05b1: Download complete [2023-10-05T05:06:36.823Z] 699f458cf7ca: Verifying Checksum [2023-10-05T05:06:36.823Z] 699f458cf7ca: Download complete [2023-10-05T05:06:37.437Z] 8998bd30e6a1: Verifying Checksum [2023-10-05T05:06:37.437Z] 8998bd30e6a1: Download complete [2023-10-05T05:06:39.421Z] 2437ff75d9bd: Verifying Checksum [2023-10-05T05:06:39.421Z] 2437ff75d9bd: Download complete [2023-10-05T05:06:41.366Z] 8998bd30e6a1: Pull complete [2023-10-05T05:06:41.946Z] 04944245beec: Pull complete [2023-10-05T05:06:43.354Z] 699f458cf7ca: Pull complete [2023-10-05T05:06:43.354Z] 765212b225bb: Pull complete [2023-10-05T05:06:43.939Z] f23df028b6ca: Pull complete [2023-10-05T05:06:44.208Z] d65c8cfc05b1: Pull complete [2023-10-05T05:06:59.194Z] 2437ff75d9bd: Pull complete [2023-10-05T05:06:59.194Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-10-05T05:06:59.194Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-10-05T05:06:59.194Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-05T05:06:59.515Z] prd-ubuntu20.04-docker-arm64-4c-16g-8546 does not seem to be running inside a container [2023-10-05T05:06:59.583Z] $ 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-10-05T05:07:02.161Z] $ docker top e5054c41e84c9c4a4cbaac1005cb1d86573f9677e1c6e8e94816d75cd8fa938a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-05T05:07:03.051Z] ---> job-cost.sh [2023-10-05T05:07:03.051Z] lf-activate-venv: SKIPPING [2023-10-05T05:07:03.051Z] INFO: No Stack... [2023-10-05T05:07:03.628Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-10-05T05:07:04.208Z] INFO: Archiving Costs [Pipeline] sh [2023-10-05T05:07:04.544Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2023-10-05T05:07:04.544Z] + cut -d, -f6 [Pipeline] lock [2023-10-05T05:07:04.894Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1522-1-stack-cost] [2023-10-05T05:07:04.899Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1522-1-stack-cost] did not exist. Created. [2023-10-05T05:07:04.899Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1522-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-10-05T05:07:05.621Z] /w/workspace/device-sdk-go/1@tmp/durable-5c1e6901/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-10-05T05:07:05.963Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-10-05T05:07:05.997Z] Warning: overwriting stash ‘stack-cost’ [2023-10-05T05:07:06.071Z] Stashed 1 file(s) [Pipeline] } [2023-10-05T05:07:06.086Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1522-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-10-05T05:07:06.159Z] $ docker stop --time=1 e5054c41e84c9c4a4cbaac1005cb1d86573f9677e1c6e8e94816d75cd8fa938a [2023-10-05T05:07:07.652Z] $ docker rm -f --volumes e5054c41e84c9c4a4cbaac1005cb1d86573f9677e1c6e8e94816d75cd8fa938a [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-10-05T05:07:08.674Z] provisioning config files... [2023-10-05T05:07:08.680Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1522@tmp/config5317929438565285405tmp [Pipeline] { [Pipeline] sh [2023-10-05T05:07:09.009Z] + set +x [2023-10-05T05:07:09.009Z] + + bash -s -- [2023-10-05T05:07:09.009Z] curl -s https://codecov.io/bash [2023-10-05T05:07:09.009Z] [2023-10-05T05:07:09.009Z] _____ _ [2023-10-05T05:07:09.009Z] / ____| | | [2023-10-05T05:07:09.009Z] | | ___ __| | ___ ___ _____ __ [2023-10-05T05:07:09.009Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-10-05T05:07:09.009Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-10-05T05:07:09.009Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-10-05T05:07:09.009Z] Bash-1.0.6 [2023-10-05T05:07:09.009Z] [2023-10-05T05:07:09.009Z] [2023-10-05T05:07:09.009Z] ==> git version 2.25.1 found [2023-10-05T05:07:09.009Z] ==> 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-10-05T05:07:09.009Z] Release-Date: 2020-01-08 [2023-10-05T05:07:09.009Z] 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-10-05T05:07:09.009Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-10-05T05:07:09.009Z] ==> Jenkins CI detected. [2023-10-05T05:07:09.009Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1522 [2023-10-05T05:07:09.009Z] project root: . [2023-10-05T05:07:09.009Z] --> token set from env [2023-10-05T05:07:09.009Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-10-05T05:07:09.009Z] ==> Running gcov in . (disable via -X gcov) [2023-10-05T05:07:09.009Z] ==> Python coveragepy not found [2023-10-05T05:07:09.009Z] ==> Searching for coverage reports in: [2023-10-05T05:07:09.009Z] + . [2023-10-05T05:07:09.009Z] -> Found 1 reports [2023-10-05T05:07:09.009Z] ==> Detecting git/mercurial file structure [2023-10-05T05:07:09.271Z] ==> Reading reports [2023-10-05T05:07:09.271Z] + ./coverage.out bytes=122151 [2023-10-05T05:07:09.271Z] ==> Appending adjustments [2023-10-05T05:07:09.271Z] https://docs.codecov.io/docs/fixing-reports [2023-10-05T05:07:09.528Z] + Found adjustments [2023-10-05T05:07:09.528Z] ==> Gzipping contents [2023-10-05T05:07:09.528Z] 20K /tmp/codecov.r9sd9P.gz [2023-10-05T05:07:09.528Z] ==> Uploading reports [2023-10-05T05:07:09.528Z] url: https://codecov.io [2023-10-05T05:07:09.528Z] query: branch=PR-1522&commit=e355dc9d6b62edc20a730d862a6067ddd7d335f9&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1522%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1522&job=&cmd_args= [2023-10-05T05:07:09.528Z] -> Pinging Codecov [2023-10-05T05:07:09.528Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1522&commit=e355dc9d6b62edc20a730d862a6067ddd7d335f9&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1522%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1522&job=&cmd_args= [2023-10-05T05:07:09.787Z] -> Uploading to [2023-10-05T05:07:09.787Z] https://storage.googleapis.com/codecov/v4/raw/2023-10-05/7E55EF52A471D76F132DFD9A03CDDE97/e355dc9d6b62edc20a730d862a6067ddd7d335f9/c4c6945e-b6f5-4972-8d7d-e83e0d4376b6.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231005%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231005T050709Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=58006073299467cc5c8e903dc7f74db325bcd7be11905224d16171c0ea18fd88 [2023-10-05T05:07:09.787Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-10-05T05:07:09.787Z] Dload Upload Total Spent Left Speed [2023-10-05T05:07:10.046Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16754 0 0 100 16754 0 64937 --:--:-- --:--:-- --:--:-- 64937 [2023-10-05T05:07:10.046Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/e355dc9d6b62edc20a730d862a6067ddd7d335f9 [Pipeline] } [2023-10-05T05:07:10.076Z] 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-10-05T05:07:11.832Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1522/archives ] [2023-10-05T05:07:11.832Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1522/archives [2023-10-05T05:07:11.832Z] total 16 [2023-10-05T05:07:11.832Z] drwxr-xr-x 3 root root 4096 Oct 5 04:56 . [2023-10-05T05:07:11.832Z] drwxrwxr-x 12 jenkins jenkins 4096 Oct 5 04:56 .. [2023-10-05T05:07:11.832Z] drwxr-xr-x 2 root root 4096 Oct 5 04:56 cost [2023-10-05T05:07:11.832Z] -rw-r--r-- 1 root root 86 Oct 5 04:56 cost.csv [2023-10-05T05:07:11.832Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1522/archives [2023-10-05T05:07:11.832Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1522/archives [2023-10-05T05:07:11.832Z] total 16 [2023-10-05T05:07:11.832Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 5 04:56 . [2023-10-05T05:07:11.832Z] drwxrwxr-x 12 jenkins jenkins 4096 Oct 5 04:56 .. [2023-10-05T05:07:11.832Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 5 04:56 cost [2023-10-05T05:07:11.832Z] -rw-r--r-- 1 jenkins jenkins 86 Oct 5 04:56 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-10-05T05:07:12.157Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-05T05:07:13.036Z] ---> package-listing.sh [2023-10-05T05:07:13.036Z] ++ facter osfamily [2023-10-05T05:07:13.036Z] ++ tr '[:upper:]' '[:lower:]' [2023-10-05T05:07:13.295Z] + OS_FAMILY=debian [2023-10-05T05:07:13.295Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1522 [2023-10-05T05:07:13.295Z] + START_PACKAGES=/tmp/packages_start.txt [2023-10-05T05:07:13.295Z] + END_PACKAGES=/tmp/packages_end.txt [2023-10-05T05:07:13.295Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-10-05T05:07:13.295Z] + PACKAGES=/tmp/packages_start.txt [2023-10-05T05:07:13.295Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1522 ']' [2023-10-05T05:07:13.295Z] + PACKAGES=/tmp/packages_end.txt [2023-10-05T05:07:13.295Z] + case "${OS_FAMILY}" in [2023-10-05T05:07:13.295Z] + dpkg -l [2023-10-05T05:07:13.295Z] + grep '^ii' [2023-10-05T05:07:13.295Z] + '[' -f /tmp/packages_start.txt ']' [2023-10-05T05:07:13.295Z] + '[' -f /tmp/packages_end.txt ']' [2023-10-05T05:07:13.295Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-10-05T05:07:13.295Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1522 ']' [2023-10-05T05:07:13.295Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1522/archives/ [2023-10-05T05:07:13.295Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1522/archives/ [Pipeline] echo [2023-10-05T05:07:13.328Z] 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-1522/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-10-05T05:07:13.621Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-05T05:07:14.242Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-05T05:07:14.242Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-05T05:07:14.372Z] prd-ubuntu20.04-docker-8c-8g-8545 does not seem to be running inside a container [2023-10-05T05:07:14.389Z] $ 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-1522/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-1522 -v /w/workspace/gexfoundry_device-sdk-go_PR-1522:/w/workspace/gexfoundry_device-sdk-go_PR-1522:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1522@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1522@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-10-05T05:07:14.606Z] $ docker top 16d9ee91af854156dd085580fb15058f94485490e53d3a299e6dc2d9c97da627 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-05T05:07:15.014Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-10-05T05:07:15.321Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-10-05T05:07:15.630Z] + ls /var/log/sa-host [2023-10-05T05:07:15.631Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-05T05:07:15.774Z] provisioning config files... [2023-10-05T05:07:15.781Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1522@tmp/config2172394089298020788tmp [Pipeline] { [Pipeline] echo [2023-10-05T05:07:15.834Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-05T05:07:16.144Z] ---> create-netrc.sh [Pipeline] } [2023-10-05T05:07:16.172Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-10-05T05:07:16.586Z] ---> python-tools-install.sh [Pipeline] echo [2023-10-05T05:07:16.618Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-05T05:07:16.931Z] ---> sudo-logs.sh [2023-10-05T05:07:16.931Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-10-05T05:07:17.018Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-05T05:07:17.326Z] ---> job-cost.sh [2023-10-05T05:07:17.326Z] lf-activate-venv: SKIPPING [2023-10-05T05:07:17.326Z] DEBUG: total: 0.2199999988079071 [2023-10-05T05:07:17.326Z] INFO: Retrieving Stack Cost... [2023-10-05T05:07:23.893Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-10-05T05:07:23.893Z] INFO: Archiving Costs [Pipeline] echo [2023-10-05T05:07:23.932Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-05T05:07:24.241Z] ---> logs-deploy.sh [2023-10-05T05:07:24.241Z] lf-activate-venv: SKIPPING [2023-10-05T05:07:24.241Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1522/1 [2023-10-05T05:07:24.241Z] INFO: archiving workspace using pattern(s): [2023-10-05T05:07:25.178Z] Archives upload complete. [2023-10-05T05:07:25.178Z] INFO: archiving logs to Nexus