Pull request #1425 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from bef7e6d0673e0e6a9cfa0b0abf49804674033489+3feff72630b5a64f0b1c499fc37cf8ca79db70fa (311ee3047c0fc79a73ef42f81f1c0fa92c1a187a) 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-ssh1071842585770434698.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh17061034206928225111.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1425/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-1425/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3542769548609090146.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-1425/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12120810179066015364.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 # timeout=10 Commit message: "fix: bug with isLTS relying on env.GIT_BRANCH inside cd-management repo (#429)" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh7833577798547260694.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-1425/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-1425/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh15831134973106207971.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v3]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-8863 in /w/workspace/gexfoundry_device-sdk-go_PR-1425 [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-1425 # 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/1425/head:refs/remotes/origin/PR-1425 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 3feff72630b5a64f0b1c499fc37cf8ca79db70fa into PR head commit bef7e6d0673e0e6a9cfa0b0abf49804674033489 Merge succeeded, producing bef7e6d0673e0e6a9cfa0b0abf49804674033489 Checking out Revision bef7e6d0673e0e6a9cfa0b0abf49804674033489 (PR-1425) Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-messaging/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-04-18T05:00:13.365Z] Timeout set to expire in 6 hr 0 min [Pipeline] { > git config core.sparsecheckout # timeout=10 > git checkout -f bef7e6d0673e0e6a9cfa0b0abf49804674033489 # 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 3feff72630b5a64f0b1c499fc37cf8ca79db70fa # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f bef7e6d0673e0e6a9cfa0b0abf49804674033489 # timeout=10 [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-04-18T05:00:13.536Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-04-18T05:00:13.633Z] ========================================================= [2023-04-18T05:00:13.633Z] EdgeX Global Pipelines Version Info [2023-04-18T05:00:13.633Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-04-18T05:00:14.738Z] ------------------- [2023-04-18T05:00:14.738Z] stable info: [2023-04-18T05:00:14.738Z] ------------------- [2023-04-18T05:00:14.738Z] Commited By: Bill Mahoney bill.mahoney@intel.com [2023-04-18T05:00:14.738Z] Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [2023-04-18T05:00:14.738Z] Message: update stable to v1.0.248 [2023-04-18T05:00:14.997Z] ------------------- [2023-04-18T05:00:14.998Z] experimental info: [2023-04-18T05:00:14.998Z] ------------------- [2023-04-18T05:00:14.998Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-04-18T05:00:14.998Z] Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [2023-04-18T05:00:14.998Z] Message: update experimental to v1.0.248 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-04-18T05:00:15.302Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-04-18T05:00:15.342Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-04-18T05:00:15.382Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-04-18T05:00:15.424Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-04-18T05:00:15.460Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-04-18T05:00:15.501Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-04-18T05:00:15.539Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-04-18T05:00:15.581Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-04-18T05:00:15.623Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-04-18T05:00:15.661Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-04-18T05:00:15.698Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-04-18T05:00:15.739Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-04-18T05:00:15.788Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-04-18T05:00:15.827Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-04-18T05:00:15.868Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-04-18T05:00:15.911Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-04-18T05:00:15.953Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-04-18T05:00:15.989Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-04-18T05:00:16.032Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-04-18T05:00:16.071Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-04-18T05:00:16.108Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-04-18T05:00:16.150Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2023-04-18T05:00:16.194Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-04-18T05:00:16.283Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-04-18T05:00:16.321Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-04-18T05:00:16.360Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-04-18T05:00:16.401Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-04-18T05:00:16.442Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1425 [Pipeline] echo [2023-04-18T05:00:16.479Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1425 [Pipeline] echo [2023-04-18T05:00:16.526Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1425 [Pipeline] echo [2023-04-18T05:00:16.562Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = bef7e6d0673e0e6a9cfa0b0abf49804674033489 [Pipeline] echo [2023-04-18T05:00:16.603Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = bef7e6d [Pipeline] echo [2023-04-18T05:00:16.641Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-18T05:00:16.758Z] provisioning config files... [2023-04-18T05:00:16.792Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1425@tmp/config17356156972495303881tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-18T05:00:17.137Z] ---> docker-login.sh [2023-04-18T05:00:17.137Z] nexus3.edgexfoundry.org:10001 [2023-04-18T05:00:17.397Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T05:00:17.397Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T05:00:17.397Z] Configure a credential helper to remove this warning. See [2023-04-18T05:00:17.397Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T05:00:17.397Z] [2023-04-18T05:00:17.397Z] Login Succeeded [2023-04-18T05:00:17.397Z] nexus3.edgexfoundry.org:10002 [2023-04-18T05:00:17.397Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T05:00:17.657Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T05:00:17.657Z] Configure a credential helper to remove this warning. See [2023-04-18T05:00:17.657Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T05:00:17.657Z] [2023-04-18T05:00:17.657Z] Login Succeeded [2023-04-18T05:00:17.657Z] nexus3.edgexfoundry.org:10003 [2023-04-18T05:00:17.657Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T05:00:17.657Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T05:00:17.657Z] Configure a credential helper to remove this warning. See [2023-04-18T05:00:17.657Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T05:00:17.657Z] [2023-04-18T05:00:17.657Z] Login Succeeded [2023-04-18T05:00:17.657Z] nexus3.edgexfoundry.org:10004 [2023-04-18T05:00:17.657Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T05:00:17.917Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T05:00:17.917Z] Configure a credential helper to remove this warning. See [2023-04-18T05:00:17.917Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T05:00:17.917Z] [2023-04-18T05:00:17.917Z] Login Succeeded [2023-04-18T05:00:17.917Z] docker.io [2023-04-18T05:00:17.917Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T05:00:19.295Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T05:00:19.295Z] Configure a credential helper to remove this warning. See [2023-04-18T05:00:19.295Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T05:00:19.295Z] [2023-04-18T05:00:19.295Z] Login Succeeded [2023-04-18T05:00:19.295Z] ---> docker-login.sh ends [Pipeline] } [2023-04-18T05:00:19.321Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-04-18T05:00:19.902Z] + git rev-list -1 --merges bef7e6d0673e0e6a9cfa0b0abf49804674033489~1..bef7e6d0673e0e6a9cfa0b0abf49804674033489 [Pipeline] echo [2023-04-18T05:00:19.961Z] -----------> git rev-list -1 --merges bef7e6d0673e0e6a9cfa0b0abf49804674033489~1..bef7e6d0673e0e6a9cfa0b0abf49804674033489 bef7e6d0673e0e6a9cfa0b0abf49804674033489 [false] [Pipeline] sh [2023-04-18T05:00:20.270Z] + git log --format=format:%s -1 bef7e6d0673e0e6a9cfa0b0abf49804674033489 [Pipeline] echo [2023-04-18T05:00:20.301Z] ========================================================= [2023-04-18T05:00:20.301Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-04-18T05:00:20.301Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-18T05:00:20.709Z] + git log --format=format:%s -1 bef7e6d0673e0e6a9cfa0b0abf49804674033489 [Pipeline] echo [2023-04-18T05:00:20.739Z] [semverPrep] GIT_COMMIT: bef7e6d0673e0e6a9cfa0b0abf49804674033489, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-messaging/v3 [Pipeline] echo [2023-04-18T05:00:20.768Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-04-18T05:00:21.128Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-04-18T05:00:21.128Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-04-18T05:00:21.128Z] + [ -e /tmp/ssh_known_hosts ] [2023-04-18T05:00:21.128Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-04-18T05:00:21.128Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-04-18T05:00:21.128Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-04-18T05:00:21.128Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T05:00:21.538Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-18T05:00:21.538Z] [2023-04-18T05:00:21.538Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T05:00:21.918Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-18T05:00:21.918Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-04-18T05:00:21.918Z] b85a868b505f: Pulling fs layer [2023-04-18T05:00:21.918Z] e2be974225ed: Pulling fs layer [2023-04-18T05:00:21.918Z] 339a4e72a1f5: Pulling fs layer [2023-04-18T05:00:21.918Z] 988bab9f4d93: Pulling fs layer [2023-04-18T05:00:21.918Z] 1469e6f7b9e6: Pulling fs layer [2023-04-18T05:00:21.918Z] eaf3925da568: Pulling fs layer [2023-04-18T05:00:21.918Z] bab4dde63d76: Pulling fs layer [2023-04-18T05:00:21.918Z] bde34c3a00c8: Pulling fs layer [2023-04-18T05:00:21.918Z] b352a97aabf1: Pulling fs layer [2023-04-18T05:00:21.918Z] 4872d77fe225: Pulling fs layer [2023-04-18T05:00:21.918Z] 5851b861e8e6: Pulling fs layer [2023-04-18T05:00:21.918Z] bab4dde63d76: Waiting [2023-04-18T05:00:21.918Z] bde34c3a00c8: Waiting [2023-04-18T05:00:21.918Z] b352a97aabf1: Waiting [2023-04-18T05:00:21.918Z] 4872d77fe225: Waiting [2023-04-18T05:00:21.918Z] 5851b861e8e6: Waiting [2023-04-18T05:00:21.918Z] eaf3925da568: Waiting [2023-04-18T05:00:21.918Z] 1469e6f7b9e6: Waiting [2023-04-18T05:00:21.918Z] 988bab9f4d93: Waiting [2023-04-18T05:00:21.918Z] e2be974225ed: Verifying Checksum [2023-04-18T05:00:21.918Z] 988bab9f4d93: Verifying Checksum [2023-04-18T05:00:21.918Z] 988bab9f4d93: Download complete [2023-04-18T05:00:22.176Z] 339a4e72a1f5: Verifying Checksum [2023-04-18T05:00:22.176Z] 339a4e72a1f5: Download complete [2023-04-18T05:00:22.176Z] 1469e6f7b9e6: Verifying Checksum [2023-04-18T05:00:22.176Z] 1469e6f7b9e6: Download complete [2023-04-18T05:00:22.176Z] eaf3925da568: Download complete [2023-04-18T05:00:22.176Z] bde34c3a00c8: Verifying Checksum [2023-04-18T05:00:22.176Z] bde34c3a00c8: Download complete [2023-04-18T05:00:22.176Z] b85a868b505f: Verifying Checksum [2023-04-18T05:00:22.176Z] b85a868b505f: Download complete [2023-04-18T05:00:22.176Z] b352a97aabf1: Download complete [2023-04-18T05:00:22.176Z] 4872d77fe225: Download complete [2023-04-18T05:00:22.176Z] 5851b861e8e6: Download complete [2023-04-18T05:00:22.741Z] bab4dde63d76: Verifying Checksum [2023-04-18T05:00:22.741Z] bab4dde63d76: Download complete [2023-04-18T05:00:23.689Z] b85a868b505f: Pull complete [2023-04-18T05:00:23.689Z] e2be974225ed: Pull complete [2023-04-18T05:00:24.255Z] 339a4e72a1f5: Pull complete [2023-04-18T05:00:24.255Z] 988bab9f4d93: Pull complete [2023-04-18T05:00:24.514Z] 1469e6f7b9e6: Pull complete [2023-04-18T05:00:24.773Z] eaf3925da568: Pull complete [2023-04-18T05:00:26.676Z] bab4dde63d76: Pull complete [2023-04-18T05:00:26.676Z] bde34c3a00c8: Pull complete [2023-04-18T05:00:26.676Z] b352a97aabf1: Pull complete [2023-04-18T05:00:26.938Z] 4872d77fe225: Pull complete [2023-04-18T05:00:26.938Z] 5851b861e8e6: Pull complete [2023-04-18T05:00:26.938Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-04-18T05:00:26.938Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-18T05:00:26.938Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-18T05:00:27.169Z] prd-ubuntu20.04-docker-8c-8g-8863 does not seem to be running inside a container [2023-04-18T05:00:27.194Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1425 -v /w/workspace/gexfoundry_device-sdk-go_PR-1425:/w/workspace/gexfoundry_device-sdk-go_PR-1425:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1425@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1425@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-04-18T05:00:29.833Z] $ docker top 7f78ac715ba6210747192c38a433305e9f673846a610847d9215de6cd97f9eec -eo pid,comm [2023-04-18T05:00:29.895Z] 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-04-18T05:00:29.895Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-04-18T05:00:30.024Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-18T05:00:30.024Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-18T05:00:30.136Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-18T05:00:30.137Z] $ docker exec 7f78ac715ba6210747192c38a433305e9f673846a610847d9215de6cd97f9eec ssh-agent [2023-04-18T05:00:30.261Z] SSH_AUTH_SOCK=/tmp/ssh-5qdTX14BqBGW/agent.32 [2023-04-18T05:00:30.261Z] SSH_AGENT_PID=38 [2023-04-18T05:00:30.268Z] Running ssh-add (command line suppressed) [2023-04-18T05:00:30.380Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1425@tmp/private_key_5789320581080858434.key (/w/workspace/gexfoundry_device-sdk-go_PR-1425@tmp/private_key_5789320581080858434.key) [2023-04-18T05:00:30.401Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-18T05:00:30.732Z] + git tag --points-at HEAD [Pipeline] } [2023-04-18T05:00:30.756Z] $ docker exec --env ******** --env ******** 7f78ac715ba6210747192c38a433305e9f673846a610847d9215de6cd97f9eec ssh-agent -k [2023-04-18T05:00:30.866Z] unset SSH_AUTH_SOCK; [2023-04-18T05:00:30.867Z] unset SSH_AGENT_PID; [2023-04-18T05:00:30.867Z] echo Agent pid 38 killed; [2023-04-18T05:00:30.881Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-04-18T05:00:30.966Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-18T05:00:30.966Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-18T05:00:31.085Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-18T05:00:31.085Z] $ docker exec 7f78ac715ba6210747192c38a433305e9f673846a610847d9215de6cd97f9eec ssh-agent [2023-04-18T05:00:31.216Z] SSH_AUTH_SOCK=/tmp/ssh-emEXmUplU3zn/agent.71 [2023-04-18T05:00:31.216Z] SSH_AGENT_PID=77 [2023-04-18T05:00:31.220Z] Running ssh-add (command line suppressed) [2023-04-18T05:00:31.332Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1425@tmp/private_key_11847498656652948990.key (/w/workspace/gexfoundry_device-sdk-go_PR-1425@tmp/private_key_11847498656652948990.key) [2023-04-18T05:00:31.348Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-18T05:00:31.692Z] + git semver init [2023-04-18T05:00:31.955Z] 2023-04-18 05:00:31,917 [run_init] DEBUG init version:0.0.0 force:False [2023-04-18T05:00:31.955Z] 2023-04-18 05:00:31,917 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1425/.semver [2023-04-18T05:00:31.955Z] 2023-04-18 05:00:31,918 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1425/.semver [2023-04-18T05:00:31.955Z] 2023-04-18 05:00:31,918 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1425/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1425, universal_newlines=False, shell=None, istream=None) [2023-04-18T05:00:32.894Z] 2023-04-18 05:00:32,811 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1425/.git/info/exclude [2023-04-18T05:00:32.894Z] 2023-04-18 05:00:32,812 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1425/.semver/PR-1425 with force:False [2023-04-18T05:00:32.894Z] 2023-04-18 05:00:32,812 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1425/.semver/PR-1425 [2023-04-18T05:00:32.894Z] 2023-04-18 05:00:32,815 [execute] INFO git cat-file --batch-check [2023-04-18T05:00:32.894Z] 2023-04-18 05:00:32,815 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1425/.semver, universal_newlines=False, shell=None, istream=) [2023-04-18T05:00:32.894Z] 2023-04-18 05:00:32,824 [execute] INFO git cat-file --batch [2023-04-18T05:00:32.894Z] 2023-04-18 05:00:32,824 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1425/.semver, universal_newlines=False, shell=None, istream=) [2023-04-18T05:00:32.894Z] 2023-04-18 05:00:32,831 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1425/.semver/PR-1425 [2023-04-18T05:00:32.894Z] 0.0.0 [Pipeline] } [2023-04-18T05:00:32.919Z] $ docker exec --env ******** --env ******** 7f78ac715ba6210747192c38a433305e9f673846a610847d9215de6cd97f9eec ssh-agent -k [2023-04-18T05:00:33.040Z] unset SSH_AUTH_SOCK; [2023-04-18T05:00:33.041Z] unset SSH_AGENT_PID; [2023-04-18T05:00:33.041Z] echo Agent pid 77 killed; [2023-04-18T05:00:33.054Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-04-18T05:00:33.477Z] + git semver [Pipeline] } [2023-04-18T05:00:33.760Z] $ docker stop --time=1 7f78ac715ba6210747192c38a433305e9f673846a610847d9215de6cd97f9eec [2023-04-18T05:00:35.079Z] $ docker rm -f --volumes 7f78ac715ba6210747192c38a433305e9f673846a610847d9215de6cd97f9eec [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-18T05:00:35.478Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-04-18T05:00:35.740Z] Stashed 1 file(s) [Pipeline] echo [2023-04-18T05:00:35.756Z] [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-04-18T05:00:36.366Z] provisioning config files... [2023-04-18T05:00:36.377Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1425@tmp/config16279356714804541048tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-18T05:00:36.723Z] ---> docker-login.sh [2023-04-18T05:00:36.723Z] nexus3.edgexfoundry.org:10001 [2023-04-18T05:00:36.723Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T05:00:36.723Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T05:00:36.723Z] Configure a credential helper to remove this warning. See [2023-04-18T05:00:36.723Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T05:00:36.723Z] [2023-04-18T05:00:36.723Z] Login Succeeded [2023-04-18T05:00:36.723Z] nexus3.edgexfoundry.org:10002 [2023-04-18T05:00:36.723Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T05:00:36.723Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T05:00:36.723Z] Configure a credential helper to remove this warning. See [2023-04-18T05:00:36.723Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T05:00:36.723Z] [2023-04-18T05:00:36.723Z] Login Succeeded [2023-04-18T05:00:36.723Z] nexus3.edgexfoundry.org:10003 [2023-04-18T05:00:36.982Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T05:00:36.982Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T05:00:36.982Z] Configure a credential helper to remove this warning. See [2023-04-18T05:00:36.982Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T05:00:36.982Z] [2023-04-18T05:00:36.982Z] Login Succeeded [2023-04-18T05:00:36.982Z] nexus3.edgexfoundry.org:10004 [2023-04-18T05:00:36.982Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T05:00:36.982Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T05:00:36.982Z] Configure a credential helper to remove this warning. See [2023-04-18T05:00:36.982Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T05:00:36.982Z] [2023-04-18T05:00:36.982Z] Login Succeeded [2023-04-18T05:00:36.982Z] docker.io [2023-04-18T05:00:37.241Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T05:00:37.810Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T05:00:37.810Z] Configure a credential helper to remove this warning. See [2023-04-18T05:00:37.810Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T05:00:37.810Z] [2023-04-18T05:00:37.810Z] Login Succeeded [2023-04-18T05:00:37.810Z] ---> docker-login.sh ends [Pipeline] } [2023-04-18T05:00:37.842Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-04-18T05:00:38.090Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-18T05:00:38.126Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-18T05:00:38.156Z] ========================================================= [2023-04-18T05:00:38.156Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-04-18T05:00:38.156Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T05:00:38.623Z] + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-04-18T05:00:38.623Z] Sending build context to Docker daemon 10.98MB [2023-04-18T05:00:38.623Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-04-18T05:00:38.623Z] Step 2/10 : FROM ${BASE} AS builder [2023-04-18T05:00:38.886Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-04-18T05:00:38.886Z] 63b65145d645: Pulling fs layer [2023-04-18T05:00:38.886Z] a2d21d5440eb: Pulling fs layer [2023-04-18T05:00:38.886Z] 935e6c44a52c: Pulling fs layer [2023-04-18T05:00:38.886Z] 94cc34f8dd06: Pulling fs layer [2023-04-18T05:00:38.886Z] 30dea6a524f1: Pulling fs layer [2023-04-18T05:00:38.886Z] a2aff8979fd8: Pulling fs layer [2023-04-18T05:00:38.886Z] 6808be2612f2: Pulling fs layer [2023-04-18T05:00:38.886Z] f25807f1079a: Pulling fs layer [2023-04-18T05:00:38.886Z] 30dea6a524f1: Waiting [2023-04-18T05:00:38.886Z] a2aff8979fd8: Waiting [2023-04-18T05:00:38.886Z] 94cc34f8dd06: Waiting [2023-04-18T05:00:38.886Z] a2d21d5440eb: Verifying Checksum [2023-04-18T05:00:38.886Z] a2d21d5440eb: Download complete [2023-04-18T05:00:38.886Z] 94cc34f8dd06: Verifying Checksum [2023-04-18T05:00:38.886Z] 94cc34f8dd06: Download complete [2023-04-18T05:00:38.886Z] 30dea6a524f1: Verifying Checksum [2023-04-18T05:00:38.886Z] 30dea6a524f1: Download complete [2023-04-18T05:00:38.886Z] 63b65145d645: Verifying Checksum [2023-04-18T05:00:38.886Z] 63b65145d645: Download complete [2023-04-18T05:00:38.886Z] a2aff8979fd8: Verifying Checksum [2023-04-18T05:00:38.886Z] a2aff8979fd8: Download complete [2023-04-18T05:00:39.146Z] 63b65145d645: Pull complete [2023-04-18T05:00:39.146Z] a2d21d5440eb: Pull complete [2023-04-18T05:00:39.407Z] f25807f1079a: Verifying Checksum [2023-04-18T05:00:39.407Z] f25807f1079a: Download complete [2023-04-18T05:00:39.407Z] 935e6c44a52c: Verifying Checksum [2023-04-18T05:00:39.407Z] 935e6c44a52c: Download complete [2023-04-18T05:00:39.666Z] 6808be2612f2: Verifying Checksum [2023-04-18T05:00:39.666Z] 6808be2612f2: Download complete [2023-04-18T05:00:42.954Z] 935e6c44a52c: Pull complete [2023-04-18T05:00:42.955Z] 94cc34f8dd06: Pull complete [2023-04-18T05:00:42.955Z] 30dea6a524f1: Pull complete [2023-04-18T05:00:42.955Z] a2aff8979fd8: Pull complete [2023-04-18T05:00:45.485Z] 6808be2612f2: Pull complete [2023-04-18T05:00:46.423Z] f25807f1079a: Pull complete [2023-04-18T05:00:46.423Z] Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 [2023-04-18T05:00:46.423Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-04-18T05:00:46.423Z] ---> 3b553350e43f [2023-04-18T05:00:46.423Z] Step 3/10 : ARG MAKE=make build [2023-04-18T05:00:50.648Z] ---> Running in 1ed0ad7a5b47 [2023-04-18T05:00:50.648Z] Removing intermediate container 1ed0ad7a5b47 [2023-04-18T05:00:50.648Z] ---> 54c42a87c052 [2023-04-18T05:00:50.648Z] Step 4/10 : WORKDIR /device-sdk-go [2023-04-18T05:00:50.648Z] ---> Running in a0c4e12b4a6e [2023-04-18T05:00:50.648Z] Removing intermediate container a0c4e12b4a6e [2023-04-18T05:00:50.648Z] ---> 3feef09dcd63 [2023-04-18T05:00:50.648Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-04-18T05:00:50.648Z] ---> Running in 1fd097a3895f [2023-04-18T05:00:50.907Z] Removing intermediate container 1fd097a3895f [2023-04-18T05:00:50.907Z] ---> 8d93c4e06bfb [2023-04-18T05:00:50.907Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-04-18T05:00:50.907Z] ---> Running in 6c4f78feead4 [2023-04-18T05:00:51.166Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-18T05:00:51.166Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-18T05:00:51.182Z] Still waiting to schedule task [2023-04-18T05:00:51.182Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-8864’ is offline [2023-04-18T05:00:51.432Z] OK: 265 MiB in 53 packages [2023-04-18T05:00:51.690Z] Removing intermediate container 6c4f78feead4 [2023-04-18T05:00:51.690Z] ---> 322af3608955 [2023-04-18T05:00:51.690Z] Step 7/10 : COPY go.mod vendor* ./ [2023-04-18T05:00:51.950Z] ---> 7c0c122a5ede [2023-04-18T05:00:51.950Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-18T05:00:51.950Z] ---> Running in f1901463fb27 [2023-04-18T05:01:38.636Z] Removing intermediate container f1901463fb27 [2023-04-18T05:01:38.636Z] ---> 37676048da6f [2023-04-18T05:01:38.636Z] Step 9/10 : COPY . . [2023-04-18T05:01:38.636Z] ---> 75d825013108 [2023-04-18T05:01:38.636Z] Step 10/10 : RUN ${MAKE} [2023-04-18T05:01:38.636Z] ---> Running in 0d317ef9fbeb [2023-04-18T05:01:38.636Z] noop [2023-04-18T05:01:38.636Z] Removing intermediate container 0d317ef9fbeb [2023-04-18T05:01:38.636Z] ---> 9fe726392f27 [2023-04-18T05:01:38.636Z] Successfully built 9fe726392f27 [2023-04-18T05:01:38.636Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T05:01:39.076Z] + docker inspect -f . ci-base-image-x86_64 [2023-04-18T05:01:39.076Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-18T05:01:39.228Z] prd-ubuntu20.04-docker-8c-8g-8863 does not seem to be running inside a container [2023-04-18T05:01:39.250Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1425 -v /w/workspace/gexfoundry_device-sdk-go_PR-1425:/w/workspace/gexfoundry_device-sdk-go_PR-1425:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1425@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1425@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-04-18T05:01:39.612Z] $ docker top 01d35c56ef8177715a211e5a5e065b1888cd8a020cdcd75b250d52f675948469 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-18T05:01:40.001Z] + go version [2023-04-18T05:01:40.001Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-04-18T05:01:40.029Z] $ docker stop --time=1 01d35c56ef8177715a211e5a5e065b1888cd8a020cdcd75b250d52f675948469 [2023-04-18T05:01:41.294Z] $ docker rm -f --volumes 01d35c56ef8177715a211e5a5e065b1888cd8a020cdcd75b250d52f675948469 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T05:01:42.030Z] + docker inspect -f . ci-base-image-x86_64 [2023-04-18T05:01:42.030Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-18T05:01:42.193Z] prd-ubuntu20.04-docker-8c-8g-8863 does not seem to be running inside a container [2023-04-18T05:01:42.222Z] $ 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-1425 -v /w/workspace/gexfoundry_device-sdk-go_PR-1425:/w/workspace/gexfoundry_device-sdk-go_PR-1425:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1425@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1425@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-04-18T05:01:42.590Z] $ docker top d24a47fd9fdc9a9f8e1492eeded2e979f2ad105a6bd8baf0d1589e2e346f7f07 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-18T05:01:43.025Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1425 [Pipeline] fileExists [Pipeline] sh [2023-04-18T05:01:43.419Z] + make test [2023-04-18T05:01:43.419Z] go test -race -coverprofile=coverage.out ./... [2023-04-18T05:01:51.559Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-04-18T05:02:06.425Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-04-18T05:02:06.425Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-04-18T05:02:06.425Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-04-18T05:02:06.425Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-04-18T05:02:06.425Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-04-18T05:02:06.425Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.065s coverage: 27.6% of statements [2023-04-18T05:02:06.425Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-04-18T05:02:06.425Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-04-18T05:02:06.425Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.057s coverage: 80.2% of statements [2023-04-18T05:02:06.425Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.081s coverage: 86.0% of statements [2023-04-18T05:02:06.992Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-04-18T05:02:06.992Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-04-18T05:02:06.992Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.114s coverage: 77.5% of statements [2023-04-18T05:02:06.992Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-04-18T05:02:06.992Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-04-18T05:02:07.926Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-04-18T05:02:09.832Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.073s coverage: 14.6% of statements [2023-04-18T05:02:09.832Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.103s coverage: 68.5% of statements [2023-04-18T05:02:09.832Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.121s coverage: 89.2% of statements [2023-04-18T05:02:09.832Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.065s coverage: 5.5% of statements [2023-04-18T05:02:31.774Z] GO111MODULE=on go vet ./... [2023-04-18T05:02:35.055Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-04-18T05:02:35.056Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-04-18T05:02:35.056Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-04-18T05:02:35.094Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-04-18T05:02:35.120Z] $ docker stop --time=1 d24a47fd9fdc9a9f8e1492eeded2e979f2ad105a6bd8baf0d1589e2e346f7f07 [2023-04-18T05:02:38.724Z] $ docker rm -f --volumes d24a47fd9fdc9a9f8e1492eeded2e979f2ad105a6bd8baf0d1589e2e346f7f07 [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-18T05:02:39.311Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-04-18T05:02:39.386Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-04-18T05:02:39.987Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-04-18T05:02:40.300Z] + ls -al . [2023-04-18T05:02:40.300Z] total 272 [2023-04-18T05:02:40.300Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 18 05:01 . [2023-04-18T05:02:40.300Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 18 05:00 .. [2023-04-18T05:02:40.300Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 18 05:00 .dockerignore [2023-04-18T05:02:40.300Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 18 05:00 .git [2023-04-18T05:02:40.300Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 18 05:00 .github [2023-04-18T05:02:40.300Z] -rw-rw-r-- 1 jenkins jenkins 131 Apr 18 05:00 .gitignore [2023-04-18T05:02:40.300Z] -rw-rw-r-- 1 jenkins jenkins 42 Apr 18 05:00 .golangci.yml [2023-04-18T05:02:40.300Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 18 05:00 .semver [2023-04-18T05:02:40.300Z] -rw-rw-r-- 1 jenkins jenkins 31677 Apr 18 05:00 CHANGELOG.md [2023-04-18T05:02:40.300Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 18 05:00 GOVERNANCE.md [2023-04-18T05:02:40.300Z] -rw-rw-r-- 1 jenkins jenkins 885 Apr 18 05:00 Jenkinsfile [2023-04-18T05:02:40.300Z] -rw-rw-r-- 1 jenkins jenkins 11341 Apr 18 05:00 LICENSE [2023-04-18T05:02:40.300Z] -rw-rw-r-- 1 jenkins jenkins 1714 Apr 18 05:00 Makefile [2023-04-18T05:02:40.300Z] -rw-rw-r-- 1 jenkins jenkins 619 Apr 18 05:00 OWNERS.md [2023-04-18T05:02:40.300Z] -rw-rw-r-- 1 jenkins jenkins 4891 Apr 18 05:00 README.md [2023-04-18T05:02:40.300Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 18 05:00 VERSION [2023-04-18T05:02:40.300Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 18 05:00 bin [2023-04-18T05:02:40.300Z] -rw-r--r-- 1 jenkins jenkins 106121 Apr 18 05:02 coverage.out [2023-04-18T05:02:40.300Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 18 05:00 example [2023-04-18T05:02:40.300Z] -rw-rw-r-- 1 jenkins jenkins 3246 Apr 18 05:00 go.mod [2023-04-18T05:02:40.300Z] -rw-rw-r-- 1 jenkins jenkins 30896 Apr 18 05:00 go.sum [2023-04-18T05:02:40.300Z] drwxrwxr-x 12 jenkins jenkins 4096 Apr 18 05:00 internal [2023-04-18T05:02:40.300Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 18 05:00 openapi [2023-04-18T05:02:40.300Z] drwxrwxr-x 6 jenkins jenkins 4096 Apr 18 05:00 pkg [2023-04-18T05:02:40.300Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 18 05:00 snap [2023-04-18T05:02:40.300Z] -rw-rw-r-- 1 jenkins jenkins 222 Apr 18 05:00 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T05:02:40.683Z] + 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=bef7e6d0673e0e6a9cfa0b0abf49804674033489 --label arch=amd64 --label version=0.0.0 . [2023-04-18T05:02:40.683Z] Sending build context to Docker daemon 11.09MB [2023-04-18T05:02:40.683Z] Step 1/23 : ARG BASE=golang:1.20-alpine3.17 [2023-04-18T05:02:40.683Z] Step 2/23 : FROM ${BASE} AS builder [2023-04-18T05:02:40.683Z] ---> 9fe726392f27 [2023-04-18T05:02:40.683Z] Step 3/23 : ARG MAKE=make build [2023-04-18T05:02:40.942Z] ---> Running in 595725bba693 [2023-04-18T05:02:40.942Z] Removing intermediate container 595725bba693 [2023-04-18T05:02:40.942Z] ---> afb5b4e41bbf [2023-04-18T05:02:40.942Z] Step 4/23 : WORKDIR /device-sdk-go [2023-04-18T05:02:40.942Z] ---> Running in 4776c4d4430c [2023-04-18T05:02:41.202Z] Removing intermediate container 4776c4d4430c [2023-04-18T05:02:41.202Z] ---> ce76b0d33d99 [2023-04-18T05:02:41.202Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-04-18T05:02:41.202Z] ---> Running in ffda7df955dc [2023-04-18T05:02:41.202Z] Removing intermediate container ffda7df955dc [2023-04-18T05:02:41.202Z] ---> f70a7f655fa9 [2023-04-18T05:02:41.202Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-04-18T05:02:41.202Z] ---> Running in d63f5a122a4e [2023-04-18T05:02:41.460Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-18T05:02:41.718Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-18T05:02:41.718Z] OK: 265 MiB in 53 packages [2023-04-18T05:02:41.977Z] Removing intermediate container d63f5a122a4e [2023-04-18T05:02:41.977Z] ---> a621a507c97a [2023-04-18T05:02:41.977Z] Step 7/23 : COPY go.mod vendor* ./ [2023-04-18T05:02:42.236Z] ---> 7642b36c3c51 [2023-04-18T05:02:42.236Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-18T05:02:42.236Z] ---> Running in c145897ed55c [2023-04-18T05:02:43.219Z] Removing intermediate container c145897ed55c [2023-04-18T05:02:43.219Z] ---> 3e1fff144c62 [2023-04-18T05:02:43.219Z] Step 9/23 : COPY . . [2023-04-18T05:02:43.493Z] ---> b781be7dd4a4 [2023-04-18T05:02:43.493Z] Step 10/23 : RUN ${MAKE} [2023-04-18T05:02:43.751Z] ---> Running in a068396295bd [2023-04-18T05:02:44.009Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-04-18T05:03:05.916Z] Removing intermediate container a068396295bd [2023-04-18T05:03:05.916Z] ---> 20a786208640 [2023-04-18T05:03:05.916Z] Step 11/23 : FROM alpine:3.17 [2023-04-18T05:03:05.916Z] 3.17: Pulling from library/alpine [2023-04-18T05:03:05.916Z] f56be85fc22e: Pulling fs layer [2023-04-18T05:03:05.916Z] f56be85fc22e: Verifying Checksum [2023-04-18T05:03:05.916Z] f56be85fc22e: Download complete [2023-04-18T05:03:05.916Z] f56be85fc22e: Pull complete [2023-04-18T05:03:05.916Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-04-18T05:03:05.916Z] Status: Downloaded newer image for alpine:3.17 [2023-04-18T05:03:05.916Z] ---> 9ed4aefc74f6 [2023-04-18T05:03:05.916Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-04-18T05:03:05.916Z] ---> Running in 8d16857171d6 [2023-04-18T05:03:05.916Z] Removing intermediate container 8d16857171d6 [2023-04-18T05:03:05.916Z] ---> a3eacb1ebb2d [2023-04-18T05:03:05.916Z] Step 13/23 : RUN apk add --update --no-cache [2023-04-18T05:03:05.916Z] ---> Running in 11740be680e3 [2023-04-18T05:03:05.916Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-18T05:03:05.916Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-18T05:03:05.916Z] OK: 7 MiB in 15 packages [2023-04-18T05:03:05.916Z] Removing intermediate container 11740be680e3 [2023-04-18T05:03:05.916Z] ---> 1d6ea8abe083 [2023-04-18T05:03:05.916Z] Step 14/23 : WORKDIR / [2023-04-18T05:03:05.916Z] ---> Running in 5421f3162759 [2023-04-18T05:03:05.916Z] Removing intermediate container 5421f3162759 [2023-04-18T05:03:05.916Z] ---> c6eacd5b8a90 [2023-04-18T05:03:05.916Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-04-18T05:03:05.916Z] ---> cd497194ef5e [2023-04-18T05:03:05.916Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-04-18T05:03:06.846Z] ---> cafabd2241fa [2023-04-18T05:03:06.846Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-04-18T05:03:06.846Z] ---> fbe7a6f12b70 [2023-04-18T05:03:06.846Z] Step 18/23 : EXPOSE 59999 [2023-04-18T05:03:06.846Z] ---> Running in 39d76d618d96 [2023-04-18T05:03:06.846Z] Removing intermediate container 39d76d618d96 [2023-04-18T05:03:06.846Z] ---> a302b86b0ce6 [2023-04-18T05:03:06.846Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-04-18T05:03:06.846Z] ---> Running in 05fff8742008 [2023-04-18T05:03:07.105Z] Removing intermediate container 05fff8742008 [2023-04-18T05:03:07.105Z] ---> 56aa8ed6404c [2023-04-18T05:03:07.105Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-04-18T05:03:07.105Z] ---> Running in bdd96ed726b9 [2023-04-18T05:03:07.105Z] Removing intermediate container bdd96ed726b9 [2023-04-18T05:03:07.105Z] ---> 87f8a5075eb4 [2023-04-18T05:03:07.105Z] Step 21/23 : LABEL arch=amd64 [2023-04-18T05:03:07.105Z] ---> Running in 6950e917d588 [2023-04-18T05:03:07.105Z] Removing intermediate container 6950e917d588 [2023-04-18T05:03:07.105Z] ---> 3d64be231022 [2023-04-18T05:03:07.105Z] Step 22/23 : LABEL git_sha=bef7e6d0673e0e6a9cfa0b0abf49804674033489 [2023-04-18T05:03:07.105Z] ---> Running in 04df89713593 [2023-04-18T05:03:07.363Z] Removing intermediate container 04df89713593 [2023-04-18T05:03:07.363Z] ---> 9817c6b9a618 [2023-04-18T05:03:07.363Z] Step 23/23 : LABEL version=0.0.0 [2023-04-18T05:03:07.363Z] ---> Running in 64225055178b [2023-04-18T05:03:07.363Z] Removing intermediate container 64225055178b [2023-04-18T05:03:07.363Z] ---> 9acd9dd25999 [2023-04-18T05:03:07.363Z] [Warning] One or more build-args [ARCH] were not consumed [2023-04-18T05:03:07.363Z] Successfully built 9acd9dd25999 [2023-04-18T05:03:07.363Z] 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-04-18T05:03:08.215Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-18T05:03:08.215Z] [2023-04-18T05:03:08.215Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T05:03:08.587Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-18T05:03:08.587Z] latest: Pulling from edgex-lftools-log-publisher [2023-04-18T05:03:08.587Z] 5eb5b503b376: Pulling fs layer [2023-04-18T05:03:08.587Z] 5c69ac0246d0: Pulling fs layer [2023-04-18T05:03:08.587Z] ec43610c2a17: Pulling fs layer [2023-04-18T05:03:08.587Z] 3a2ae6a8a46f: Pulling fs layer [2023-04-18T05:03:08.587Z] 33b1e0a273af: Pulling fs layer [2023-04-18T05:03:08.587Z] 5d3b04190fa2: Pulling fs layer [2023-04-18T05:03:08.587Z] 2f39f015ded8: Pulling fs layer [2023-04-18T05:03:08.587Z] 33b1e0a273af: Waiting [2023-04-18T05:03:08.587Z] 5d3b04190fa2: Waiting [2023-04-18T05:03:08.587Z] 2f39f015ded8: Waiting [2023-04-18T05:03:08.587Z] 3a2ae6a8a46f: Waiting [2023-04-18T05:03:08.587Z] 5c69ac0246d0: Download complete [2023-04-18T05:03:08.587Z] 3a2ae6a8a46f: Verifying Checksum [2023-04-18T05:03:08.587Z] 3a2ae6a8a46f: Download complete [2023-04-18T05:03:08.587Z] 33b1e0a273af: Verifying Checksum [2023-04-18T05:03:08.587Z] 33b1e0a273af: Download complete [2023-04-18T05:03:08.587Z] ec43610c2a17: Verifying Checksum [2023-04-18T05:03:08.587Z] ec43610c2a17: Download complete [2023-04-18T05:03:08.587Z] 5d3b04190fa2: Verifying Checksum [2023-04-18T05:03:08.587Z] 5d3b04190fa2: Download complete [2023-04-18T05:03:08.848Z] 5eb5b503b376: Verifying Checksum [2023-04-18T05:03:08.848Z] 5eb5b503b376: Download complete [2023-04-18T05:03:09.414Z] 2f39f015ded8: Verifying Checksum [2023-04-18T05:03:09.414Z] 2f39f015ded8: Download complete [2023-04-18T05:03:09.979Z] 5eb5b503b376: Pull complete [2023-04-18T05:03:10.059Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-8867 in /w/workspace/gexfoundry_device-sdk-go_PR-1425 [Pipeline] { [Pipeline] ws [2023-04-18T05:03:10.116Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2023-04-18T05:03:10.197Z] The recommended git tool is: git [2023-04-18T05:03:10.241Z] 5c69ac0246d0: Pull complete [2023-04-18T05:03:10.805Z] ec43610c2a17: Pull complete [2023-04-18T05:03:10.805Z] 3a2ae6a8a46f: Pull complete [2023-04-18T05:03:11.064Z] 33b1e0a273af: Pull complete [2023-04-18T05:03:11.064Z] 5d3b04190fa2: Pull complete [2023-04-18T05:03:15.242Z] 2f39f015ded8: Pull complete [2023-04-18T05:03:15.242Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-04-18T05:03:15.242Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-18T05:03:15.242Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-18T05:03:15.461Z] prd-ubuntu20.04-docker-8c-8g-8863 does not seem to be running inside a container [2023-04-18T05:03:15.482Z] $ 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-1425 -v /w/workspace/gexfoundry_device-sdk-go_PR-1425:/w/workspace/gexfoundry_device-sdk-go_PR-1425:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1425@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1425@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-04-18T05:03:16.727Z] using credential edgex-jenkins-ssh [2023-04-18T05:03:16.745Z] Cloning the remote Git repository [2023-04-18T05:03:16.793Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-04-18T05:03:16.924Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2023-04-18T05:03:17.086Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-04-18T05:03:17.087Z] > git --version # timeout=10 [2023-04-18T05:03:17.108Z] > git --version # 'git version 2.25.1' [2023-04-18T05:03:17.111Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-18T05:03:17.285Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-04-18T05:03:19.052Z] $ docker top 05cf7f58ebb86682e01d4e5f0e963ff6b8e9056b00fbea88619a7d5c06b6cd28 -eo pid,comm [Pipeline] { [2023-04-18T05:03:19.013Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-04-18T05:03:19.031Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [Pipeline] libraryResource [Pipeline] sh [2023-04-18T05:03:19.486Z] ---> job-cost.sh [2023-04-18T05:03:19.486Z] lf-activate-venv: SKIPPING [2023-04-18T05:03:19.486Z] INFO: No Stack... [2023-04-18T05:03:19.744Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-04-18T05:03:20.005Z] INFO: Archiving Costs [Pipeline] sh [2023-04-18T05:03:20.315Z] + + catcut /w/workspace/gexfoundry_device-sdk-go_PR-1425/archives/cost.csv -d, [2023-04-18T05:03:20.315Z] -f6 [Pipeline] lock [2023-04-18T05:03:20.357Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1425-1-stack-cost] [2023-04-18T05:03:20.362Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1425-1-stack-cost] did not exist. Created. [2023-04-18T05:03:20.362Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1425-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-04-18T05:03:20.054Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-04-18T05:03:20.103Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-04-18T05:03:20.105Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-18T05:03:20.122Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1425/head:refs/remotes/origin/PR-1425 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-04-18T05:03:20.717Z] Merging remotes/origin/main commit 3feff72630b5a64f0b1c499fc37cf8ca79db70fa into PR head commit bef7e6d0673e0e6a9cfa0b0abf49804674033489 [2023-04-18T05:03:20.753Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-04-18T05:03:20.805Z] Stashed 1 file(s) [Pipeline] } [2023-04-18T05:03:20.833Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1425-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-04-18T05:03:20.908Z] $ docker stop --time=1 05cf7f58ebb86682e01d4e5f0e963ff6b8e9056b00fbea88619a7d5c06b6cd28 [2023-04-18T05:03:21.066Z] Merge succeeded, producing bef7e6d0673e0e6a9cfa0b0abf49804674033489 [2023-04-18T05:03:21.067Z] Checking out Revision bef7e6d0673e0e6a9cfa0b0abf49804674033489 (PR-1425) [2023-04-18T05:03:21.681Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-messaging/v3" [2023-04-18T05:03:21.732Z] > git --version # timeout=10 [2023-04-18T05:03:21.747Z] > git --version # 'git version 2.25.1' [2023-04-18T05:03:21.767Z] fatal: bad object 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [2023-04-18T05:03:20.731Z] > git config core.sparsecheckout # timeout=10 [2023-04-18T05:03:20.810Z] > git checkout -f bef7e6d0673e0e6a9cfa0b0abf49804674033489 # timeout=10 [2023-04-18T05:03:20.933Z] > git remote # timeout=10 [2023-04-18T05:03:20.956Z] > git config --get remote.origin.url # timeout=10 [2023-04-18T05:03:20.980Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-18T05:03:20.995Z] > git merge 3feff72630b5a64f0b1c499fc37cf8ca79db70fa # timeout=10 [2023-04-18T05:03:21.037Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-04-18T05:03:21.067Z] > git config core.sparsecheckout # timeout=10 [2023-04-18T05:03:21.084Z] > git checkout -f bef7e6d0673e0e6a9cfa0b0abf49804674033489 # timeout=10 [2023-04-18T05:03:22.074Z] $ docker rm -f --volumes 05cf7f58ebb86682e01d4e5f0e963ff6b8e9056b00fbea88619a7d5c06b6cd28 [2023-04-18T05:03:22.144Z] [2023-04-18T05:03:22.144Z] GitHub has been notified of this commit’s build result [2023-04-18T05:03:22.144Z] [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] withEnv [Pipeline] { [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-18T05:03:23.087Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-04-18T05:03:23.087Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-04-18T05:03:23.087Z] Dload Upload Total Spent Left Speed [2023-04-18T05:03:23.087Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 204k 0 --:--:-- --:--:-- --:--:-- 207k [Pipeline] sh [2023-04-18T05:03:23.767Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-04-18T05:03:24.134Z] + sudo+ tee /etc/docker/daemon.new [2023-04-18T05:03:24.135Z] sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-04-18T05:03:24.135Z] { [2023-04-18T05:03:24.135Z] "registry-mirrors": [ [2023-04-18T05:03:24.135Z] "https://nexus3.edgexfoundry.org:10001" [2023-04-18T05:03:24.135Z] ], [2023-04-18T05:03:24.135Z] "bip": "10.250.0.254/24", [2023-04-18T05:03:24.135Z] "hosts": [ [2023-04-18T05:03:24.135Z] "tcp://0.0.0.0:5555", [2023-04-18T05:03:24.135Z] "unix:///var/run/docker.sock" [2023-04-18T05:03:24.135Z] ], [2023-04-18T05:03:24.135Z] "mtu": 1458, [2023-04-18T05:03:24.135Z] "selinux-enabled": true, [2023-04-18T05:03:24.135Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-04-18T05:03:24.135Z] } [Pipeline] sh [2023-04-18T05:03:24.506Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-04-18T05:03:24.875Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-18T05:03:43.265Z] provisioning config files... [2023-04-18T05:03:43.302Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config10301389612643539412tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-18T05:03:43.726Z] ---> docker-login.sh [2023-04-18T05:03:43.726Z] nexus3.edgexfoundry.org:10001 [2023-04-18T05:03:44.336Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T05:03:44.336Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T05:03:44.336Z] Configure a credential helper to remove this warning. See [2023-04-18T05:03:44.336Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T05:03:44.336Z] [2023-04-18T05:03:44.336Z] Login Succeeded [2023-04-18T05:03:44.611Z] nexus3.edgexfoundry.org:10002 [2023-04-18T05:03:44.888Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T05:03:44.888Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T05:03:44.888Z] Configure a credential helper to remove this warning. See [2023-04-18T05:03:44.888Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T05:03:44.888Z] [2023-04-18T05:03:44.888Z] Login Succeeded [2023-04-18T05:03:44.888Z] nexus3.edgexfoundry.org:10003 [2023-04-18T05:03:45.166Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T05:03:45.449Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T05:03:45.449Z] Configure a credential helper to remove this warning. See [2023-04-18T05:03:45.450Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T05:03:45.450Z] [2023-04-18T05:03:45.450Z] Login Succeeded [2023-04-18T05:03:45.450Z] nexus3.edgexfoundry.org:10004 [2023-04-18T05:03:45.734Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T05:03:45.734Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T05:03:45.734Z] Configure a credential helper to remove this warning. See [2023-04-18T05:03:45.734Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T05:03:45.734Z] [2023-04-18T05:03:45.734Z] Login Succeeded [2023-04-18T05:03:45.734Z] docker.io [2023-04-18T05:03:46.017Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T05:03:46.292Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T05:03:46.292Z] Configure a credential helper to remove this warning. See [2023-04-18T05:03:46.292Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T05:03:46.292Z] [2023-04-18T05:03:46.292Z] Login Succeeded [2023-04-18T05:03:46.292Z] ---> docker-login.sh ends [Pipeline] } [2023-04-18T05:03:46.321Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-04-18T05:03:46.842Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-18T05:03:46.882Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-18T05:03:46.913Z] ========================================================= [2023-04-18T05:03:46.913Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-04-18T05:03:46.913Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T05:03:47.423Z] + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-04-18T05:03:48.045Z] Sending build context to Docker daemon 5.895MB [2023-04-18T05:03:48.045Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-04-18T05:03:48.045Z] Step 2/10 : FROM ${BASE} AS builder [2023-04-18T05:03:48.045Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-04-18T05:03:48.045Z] af6eaf76a39c: Pulling fs layer [2023-04-18T05:03:48.045Z] 55522c791124: Pulling fs layer [2023-04-18T05:03:48.045Z] ce5c4a1c91eb: Pulling fs layer [2023-04-18T05:03:48.045Z] 169dfbe0d373: Pulling fs layer [2023-04-18T05:03:48.045Z] e1ff8fa3b103: Pulling fs layer [2023-04-18T05:03:48.045Z] 52ebb69f0ebf: Pulling fs layer [2023-04-18T05:03:48.045Z] 5abe8eddf0d5: Pulling fs layer [2023-04-18T05:03:48.045Z] e1ff8fa3b103: Waiting [2023-04-18T05:03:48.045Z] 169dfbe0d373: Waiting [2023-04-18T05:03:48.045Z] 5abe8eddf0d5: Waiting [2023-04-18T05:03:48.045Z] 52ebb69f0ebf: Waiting [2023-04-18T05:03:48.332Z] 55522c791124: Download complete [2023-04-18T05:03:48.332Z] 169dfbe0d373: Verifying Checksum [2023-04-18T05:03:48.332Z] 169dfbe0d373: Download complete [2023-04-18T05:03:48.332Z] e1ff8fa3b103: Verifying Checksum [2023-04-18T05:03:48.332Z] e1ff8fa3b103: Download complete [2023-04-18T05:03:48.332Z] af6eaf76a39c: Verifying Checksum [2023-04-18T05:03:49.312Z] af6eaf76a39c: Pull complete [2023-04-18T05:03:49.591Z] 5abe8eddf0d5: Verifying Checksum [2023-04-18T05:03:49.591Z] 5abe8eddf0d5: Download complete [2023-04-18T05:03:49.865Z] 55522c791124: Pull complete [2023-04-18T05:03:50.901Z] ce5c4a1c91eb: Verifying Checksum [2023-04-18T05:03:50.901Z] ce5c4a1c91eb: Download complete [2023-04-18T05:03:50.901Z] 52ebb69f0ebf: Verifying Checksum [2023-04-18T05:03:50.901Z] 52ebb69f0ebf: Download complete [2023-04-18T05:04:03.298Z] ce5c4a1c91eb: Pull complete [2023-04-18T05:04:03.298Z] 169dfbe0d373: Pull complete [2023-04-18T05:04:03.298Z] e1ff8fa3b103: Pull complete [2023-04-18T05:04:08.664Z] 52ebb69f0ebf: Pull complete [2023-04-18T05:04:09.631Z] 5abe8eddf0d5: Pull complete [2023-04-18T05:04:09.631Z] Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f [2023-04-18T05:04:09.631Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-04-18T05:04:09.631Z] ---> 6cb57ee374ae [2023-04-18T05:04:09.631Z] Step 3/10 : ARG MAKE=make build [2023-04-18T05:04:11.591Z] ---> Running in 8c2cdd840eb0 [2023-04-18T05:04:12.192Z] Removing intermediate container 8c2cdd840eb0 [2023-04-18T05:04:12.192Z] ---> b0f42299eac8 [2023-04-18T05:04:12.192Z] Step 4/10 : WORKDIR /device-sdk-go [2023-04-18T05:04:12.192Z] ---> Running in 85b6cea10bf6 [2023-04-18T05:04:12.470Z] Removing intermediate container 85b6cea10bf6 [2023-04-18T05:04:12.470Z] ---> 47df878f3f49 [2023-04-18T05:04:12.470Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-04-18T05:04:12.751Z] ---> Running in 6384fc5b7765 [2023-04-18T05:04:13.023Z] Removing intermediate container 6384fc5b7765 [2023-04-18T05:04:13.023Z] ---> 1c636f0a1dd1 [2023-04-18T05:04:13.023Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-04-18T05:04:13.023Z] ---> Running in 9feb39c808bb [2023-04-18T05:04:14.461Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-04-18T05:04:15.049Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-04-18T05:04:16.015Z] OK: 263 MiB in 53 packages [2023-04-18T05:04:16.995Z] Removing intermediate container 9feb39c808bb [2023-04-18T05:04:16.995Z] ---> 8bff7513116c [2023-04-18T05:04:16.995Z] Step 7/10 : COPY go.mod vendor* ./ [2023-04-18T05:04:17.580Z] ---> 1bc23d0bc01a [2023-04-18T05:04:17.580Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-18T05:04:17.580Z] ---> Running in 1b4d49214892 [2023-04-18T05:05:25.503Z] Removing intermediate container 1b4d49214892 [2023-04-18T05:05:25.503Z] ---> 5bf6293f0096 [2023-04-18T05:05:25.503Z] Step 9/10 : COPY . . [2023-04-18T05:05:25.503Z] ---> 99259b9ab169 [2023-04-18T05:05:25.503Z] Step 10/10 : RUN ${MAKE} [2023-04-18T05:05:25.503Z] ---> Running in 5a93eed1a931 [2023-04-18T05:05:25.503Z] noop [2023-04-18T05:05:25.503Z] Removing intermediate container 5a93eed1a931 [2023-04-18T05:05:25.503Z] ---> 1dd7f2a565be [2023-04-18T05:05:25.503Z] Successfully built 1dd7f2a565be [2023-04-18T05:05:25.503Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T05:05:25.982Z] + docker inspect -f . ci-base-image-arm64 [2023-04-18T05:05:25.982Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-18T05:05:26.285Z] prd-ubuntu20.04-docker-arm64-4c-16g-8867 does not seem to be running inside a container [2023-04-18T05:05:26.356Z] $ 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 ******** ci-base-image-arm64 cat [2023-04-18T05:05:27.708Z] $ docker top 0a7acd9ad60f38ac600f1a9b61097ea15155e17e20a263755057ae3057b7c219 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-18T05:05:28.651Z] + go version [2023-04-18T05:05:28.651Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-04-18T05:05:28.678Z] $ docker stop --time=1 0a7acd9ad60f38ac600f1a9b61097ea15155e17e20a263755057ae3057b7c219 [2023-04-18T05:05:30.396Z] $ docker rm -f --volumes 0a7acd9ad60f38ac600f1a9b61097ea15155e17e20a263755057ae3057b7c219 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T05:05:31.297Z] + docker inspect -f . ci-base-image-arm64 [2023-04-18T05:05:31.297Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-18T05:05:31.565Z] prd-ubuntu20.04-docker-arm64-4c-16g-8867 does not seem to be running inside a container [2023-04-18T05:05:31.642Z] $ 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 ******** ci-base-image-arm64 cat [2023-04-18T05:05:32.898Z] $ docker top 456450b2051a50093690ef217b3b957a9a8b48970e3694b46e6e7a52dcc78547 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-18T05:05:33.822Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh [2023-04-18T05:05:34.545Z] + make test [2023-04-18T05:05:34.545Z] go test -race -coverprofile=coverage.out ./... [2023-04-18T05:06:21.431Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-04-18T05:08:43.142Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-04-18T05:08:43.142Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-04-18T05:08:43.142Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-04-18T05:08:43.142Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-04-18T05:08:43.142Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-04-18T05:08:55.489Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.243s coverage: 27.6% of statements [2023-04-18T05:08:56.454Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.305s coverage: 80.2% of statements [2023-04-18T05:09:08.785Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-04-18T05:09:08.785Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-04-18T05:09:08.785Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.401s coverage: 86.0% of statements [2023-04-18T05:09:13.051Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-04-18T05:09:13.051Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-04-18T05:09:13.320Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.503s coverage: 77.5% of statements [2023-04-18T05:09:16.681Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.299s coverage: 14.6% of statements [2023-04-18T05:09:19.287Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-04-18T05:09:19.287Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-04-18T05:09:19.557Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.502s coverage: 68.5% of statements [2023-04-18T05:09:21.515Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.486s coverage: 89.2% of statements [2023-04-18T05:09:24.882Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-04-18T05:09:25.153Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.279s coverage: 5.5% of statements [2023-04-18T05:09:26.123Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-04-18T05:09:26.123Z] GO111MODULE=on go vet ./... [2023-04-18T05:12:17.924Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-04-18T05:12:17.924Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-04-18T05:12:17.924Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-04-18T05:12:17.967Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-04-18T05:12:17.989Z] $ docker stop --time=1 456450b2051a50093690ef217b3b957a9a8b48970e3694b46e6e7a52dcc78547 [2023-04-18T05:12:19.943Z] $ docker rm -f --volumes 456450b2051a50093690ef217b3b957a9a8b48970e3694b46e6e7a52dcc78547 [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-18T05:12:21.841Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-04-18T05:12:21.878Z] Warning: overwriting stash ‘coverage-report’ [2023-04-18T05:12:22.582Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-18T05:12:23.178Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-04-18T05:12:23.531Z] + ls -al . [2023-04-18T05:12:23.531Z] total 268 [2023-04-18T05:12:23.531Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 18 05:05 . [2023-04-18T05:12:23.531Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 18 05:03 .. [2023-04-18T05:12:23.531Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 18 05:03 .dockerignore [2023-04-18T05:12:23.531Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 18 05:03 .git [2023-04-18T05:12:23.531Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 18 05:03 .github [2023-04-18T05:12:23.531Z] -rw-rw-r-- 1 jenkins jenkins 131 Apr 18 05:03 .gitignore [2023-04-18T05:12:23.531Z] -rw-rw-r-- 1 jenkins jenkins 42 Apr 18 05:03 .golangci.yml [2023-04-18T05:12:23.531Z] -rw-rw-r-- 1 jenkins jenkins 31677 Apr 18 05:03 CHANGELOG.md [2023-04-18T05:12:23.531Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 18 05:03 GOVERNANCE.md [2023-04-18T05:12:23.531Z] -rw-rw-r-- 1 jenkins jenkins 885 Apr 18 05:03 Jenkinsfile [2023-04-18T05:12:23.531Z] -rw-rw-r-- 1 jenkins jenkins 11341 Apr 18 05:03 LICENSE [2023-04-18T05:12:23.531Z] -rw-rw-r-- 1 jenkins jenkins 1714 Apr 18 05:03 Makefile [2023-04-18T05:12:23.531Z] -rw-rw-r-- 1 jenkins jenkins 619 Apr 18 05:03 OWNERS.md [2023-04-18T05:12:23.531Z] -rw-rw-r-- 1 jenkins jenkins 4891 Apr 18 05:03 README.md [2023-04-18T05:12:23.531Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 18 05:00 VERSION [2023-04-18T05:12:23.531Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 18 05:03 bin [2023-04-18T05:12:23.531Z] -rw-r--r-- 1 jenkins jenkins 106119 Apr 18 05:09 coverage.out [2023-04-18T05:12:23.531Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 18 05:03 example [2023-04-18T05:12:23.531Z] -rw-rw-r-- 1 jenkins jenkins 3246 Apr 18 05:03 go.mod [2023-04-18T05:12:23.531Z] -rw-rw-r-- 1 jenkins jenkins 30896 Apr 18 05:03 go.sum [2023-04-18T05:12:23.531Z] drwxrwxr-x 12 jenkins jenkins 4096 Apr 18 05:03 internal [2023-04-18T05:12:23.531Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 18 05:03 openapi [2023-04-18T05:12:23.531Z] drwxrwxr-x 6 jenkins jenkins 4096 Apr 18 05:03 pkg [2023-04-18T05:12:23.531Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 18 05:03 snap [2023-04-18T05:12:23.531Z] -rw-rw-r-- 1 jenkins jenkins 222 Apr 18 05:03 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T05:12:23.954Z] + 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=bef7e6d0673e0e6a9cfa0b0abf49804674033489 --label arch=arm64 --label version=0.0.0 . [2023-04-18T05:12:24.547Z] Sending build context to Docker daemon 6.002MB [2023-04-18T05:12:24.547Z] Step 1/23 : ARG BASE=golang:1.20-alpine3.17 [2023-04-18T05:12:24.547Z] Step 2/23 : FROM ${BASE} AS builder [2023-04-18T05:12:24.547Z] ---> 1dd7f2a565be [2023-04-18T05:12:24.547Z] Step 3/23 : ARG MAKE=make build [2023-04-18T05:12:24.547Z] ---> Running in 0dafadcb539e [2023-04-18T05:12:24.824Z] Removing intermediate container 0dafadcb539e [2023-04-18T05:12:24.824Z] ---> b52902206d41 [2023-04-18T05:12:24.824Z] Step 4/23 : WORKDIR /device-sdk-go [2023-04-18T05:12:25.099Z] ---> Running in 760dd4774d2a [2023-04-18T05:12:25.371Z] Removing intermediate container 760dd4774d2a [2023-04-18T05:12:25.371Z] ---> 93c3a4d5b0da [2023-04-18T05:12:25.371Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-04-18T05:12:25.371Z] ---> Running in d2c6b9092ad6 [2023-04-18T05:12:25.960Z] Removing intermediate container d2c6b9092ad6 [2023-04-18T05:12:25.960Z] ---> c3ef7feb86e8 [2023-04-18T05:12:25.960Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-04-18T05:12:25.960Z] ---> Running in 5ed8e6853b7e [2023-04-18T05:12:26.926Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-04-18T05:12:27.892Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-04-18T05:12:28.864Z] OK: 263 MiB in 53 packages [2023-04-18T05:12:29.837Z] Removing intermediate container 5ed8e6853b7e [2023-04-18T05:12:29.837Z] ---> 030cb56d4e14 [2023-04-18T05:12:29.837Z] Step 7/23 : COPY go.mod vendor* ./ [2023-04-18T05:12:30.429Z] ---> 490c8211220e [2023-04-18T05:12:30.429Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-18T05:12:30.429Z] ---> Running in bfe64e2191c7 [2023-04-18T05:12:33.024Z] Removing intermediate container bfe64e2191c7 [2023-04-18T05:12:33.024Z] ---> e3b396a0e51a [2023-04-18T05:12:33.024Z] Step 9/23 : COPY . . [2023-04-18T05:12:34.439Z] ---> eff5f88f6a4e [2023-04-18T05:12:34.439Z] Step 10/23 : RUN ${MAKE} [2023-04-18T05:12:37.081Z] ---> Running in 14b5bfc7f25d [2023-04-18T05:12:38.054Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-04-18T05:14:59.811Z] Removing intermediate container 14b5bfc7f25d [2023-04-18T05:14:59.811Z] ---> 05984dac135f [2023-04-18T05:14:59.811Z] Step 11/23 : FROM alpine:3.17 [2023-04-18T05:14:59.811Z] 3.17: Pulling from library/alpine [2023-04-18T05:14:59.811Z] c41833b44d91: Pulling fs layer [2023-04-18T05:14:59.811Z] c41833b44d91: Verifying Checksum [2023-04-18T05:14:59.811Z] c41833b44d91: Download complete [2023-04-18T05:14:59.811Z] c41833b44d91: Pull complete [2023-04-18T05:14:59.811Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-04-18T05:14:59.811Z] Status: Downloaded newer image for alpine:3.17 [2023-04-18T05:14:59.811Z] ---> 51e60588ff2c [2023-04-18T05:14:59.811Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-04-18T05:14:59.811Z] ---> Running in 1b01f0803c73 [2023-04-18T05:14:59.811Z] Removing intermediate container 1b01f0803c73 [2023-04-18T05:14:59.811Z] ---> 11aabd8e1e80 [2023-04-18T05:14:59.811Z] Step 13/23 : RUN apk add --update --no-cache [2023-04-18T05:14:59.811Z] ---> Running in 5673f1fe6e01 [2023-04-18T05:14:59.811Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-04-18T05:14:59.811Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-04-18T05:14:59.811Z] OK: 7 MiB in 15 packages [2023-04-18T05:14:59.811Z] Removing intermediate container 5673f1fe6e01 [2023-04-18T05:14:59.811Z] ---> fd61432a0609 [2023-04-18T05:14:59.811Z] Step 14/23 : WORKDIR / [2023-04-18T05:14:59.811Z] ---> Running in d030f6f6593a [2023-04-18T05:15:00.080Z] Removing intermediate container d030f6f6593a [2023-04-18T05:15:00.080Z] ---> 1e1b5a95b01e [2023-04-18T05:15:00.080Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-04-18T05:15:00.663Z] ---> 3d0c8367ed46 [2023-04-18T05:15:00.663Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-04-18T05:15:02.071Z] ---> e38641e83002 [2023-04-18T05:15:02.071Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-04-18T05:15:02.655Z] ---> f5fa491ab8e2 [2023-04-18T05:15:02.655Z] Step 18/23 : EXPOSE 59999 [2023-04-18T05:15:02.655Z] ---> Running in ea0e5dcd3dc6 [2023-04-18T05:15:02.925Z] Removing intermediate container ea0e5dcd3dc6 [2023-04-18T05:15:02.925Z] ---> 9df8dc3fafaa [2023-04-18T05:15:02.925Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-04-18T05:15:02.925Z] ---> Running in 4e345b8da055 [2023-04-18T05:15:03.192Z] Removing intermediate container 4e345b8da055 [2023-04-18T05:15:03.192Z] ---> 369016a27cca [2023-04-18T05:15:03.192Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-04-18T05:15:03.192Z] ---> Running in 95e8e1336e88 [2023-04-18T05:15:03.461Z] Removing intermediate container 95e8e1336e88 [2023-04-18T05:15:03.461Z] ---> 92eac922795d [2023-04-18T05:15:03.461Z] Step 21/23 : LABEL arch=arm64 [2023-04-18T05:15:03.731Z] ---> Running in 98b1f63907dc [2023-04-18T05:15:03.998Z] Removing intermediate container 98b1f63907dc [2023-04-18T05:15:03.998Z] ---> 3e83464a3108 [2023-04-18T05:15:03.998Z] Step 22/23 : LABEL git_sha=bef7e6d0673e0e6a9cfa0b0abf49804674033489 [2023-04-18T05:15:03.998Z] ---> Running in fff261ee517b [2023-04-18T05:15:04.265Z] Removing intermediate container fff261ee517b [2023-04-18T05:15:04.265Z] ---> aecd726a1ba5 [2023-04-18T05:15:04.265Z] Step 23/23 : LABEL version=0.0.0 [2023-04-18T05:15:04.265Z] ---> Running in 8118f2348ac0 [2023-04-18T05:15:04.534Z] Removing intermediate container 8118f2348ac0 [2023-04-18T05:15:04.534Z] ---> cad59b3eee38 [2023-04-18T05:15:04.534Z] [Warning] One or more build-args [ARCH] were not consumed [2023-04-18T05:15:04.802Z] Successfully built cad59b3eee38 [2023-04-18T05:15:04.802Z] 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-04-18T05:15:05.606Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-18T05:15:05.606Z] [2023-04-18T05:15:05.606Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T05:15:06.011Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-18T05:15:06.011Z] arm64: Pulling from edgex-lftools-log-publisher [2023-04-18T05:15:06.011Z] 8998bd30e6a1: Pulling fs layer [2023-04-18T05:15:06.011Z] 04944245beec: Pulling fs layer [2023-04-18T05:15:06.011Z] 699f458cf7ca: Pulling fs layer [2023-04-18T05:15:06.011Z] 765212b225bb: Pulling fs layer [2023-04-18T05:15:06.011Z] f23df028b6ca: Pulling fs layer [2023-04-18T05:15:06.011Z] d65c8cfc05b1: Pulling fs layer [2023-04-18T05:15:06.011Z] 2437ff75d9bd: Pulling fs layer [2023-04-18T05:15:06.011Z] f23df028b6ca: Waiting [2023-04-18T05:15:06.011Z] d65c8cfc05b1: Waiting [2023-04-18T05:15:06.011Z] 2437ff75d9bd: Waiting [2023-04-18T05:15:06.279Z] 04944245beec: Verifying Checksum [2023-04-18T05:15:06.279Z] 04944245beec: Download complete [2023-04-18T05:15:06.279Z] 765212b225bb: Verifying Checksum [2023-04-18T05:15:06.279Z] 765212b225bb: Download complete [2023-04-18T05:15:06.279Z] f23df028b6ca: Download complete [2023-04-18T05:15:06.279Z] d65c8cfc05b1: Verifying Checksum [2023-04-18T05:15:06.279Z] d65c8cfc05b1: Download complete [2023-04-18T05:15:06.548Z] 699f458cf7ca: Verifying Checksum [2023-04-18T05:15:06.548Z] 699f458cf7ca: Download complete [2023-04-18T05:15:06.817Z] 8998bd30e6a1: Verifying Checksum [2023-04-18T05:15:06.817Z] 8998bd30e6a1: Download complete [2023-04-18T05:15:08.775Z] 2437ff75d9bd: Verifying Checksum [2023-04-18T05:15:08.775Z] 2437ff75d9bd: Download complete [2023-04-18T05:15:10.724Z] 8998bd30e6a1: Pull complete [2023-04-18T05:15:10.994Z] 04944245beec: Pull complete [2023-04-18T05:15:14.344Z] 699f458cf7ca: Pull complete [2023-04-18T05:15:14.344Z] 765212b225bb: Pull complete [2023-04-18T05:15:14.927Z] f23df028b6ca: Pull complete [2023-04-18T05:15:14.927Z] d65c8cfc05b1: Pull complete [2023-04-18T05:15:27.238Z] 2437ff75d9bd: Pull complete [2023-04-18T05:15:27.238Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-04-18T05:15:27.238Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-18T05:15:27.238Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-18T05:15:27.559Z] prd-ubuntu20.04-docker-arm64-4c-16g-8867 does not seem to be running inside a container [2023-04-18T05:15:27.622Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-04-18T05:15:30.391Z] $ docker top d76606a907a521c482f5dac126b26ed3252e1f2fbc63d72ac64b7842bf51b969 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-18T05:15:31.321Z] ---> job-cost.sh [2023-04-18T05:15:31.321Z] lf-activate-venv: SKIPPING [2023-04-18T05:15:31.321Z] INFO: No Stack... [2023-04-18T05:15:31.589Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-04-18T05:15:32.555Z] INFO: Archiving Costs [Pipeline] sh [2023-04-18T05:15:33.216Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2023-04-18T05:15:33.216Z] + cut -d, -f6 [Pipeline] lock [2023-04-18T05:15:33.310Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1425-1-stack-cost] [2023-04-18T05:15:33.315Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1425-1-stack-cost] did not exist. Created. [2023-04-18T05:15:33.315Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1425-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-04-18T05:15:34.050Z] /w/workspace/device-sdk-go/1@tmp/durable-1bdcae1f/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-04-18T05:15:34.720Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-04-18T05:15:34.759Z] Warning: overwriting stash ‘stack-cost’ [2023-04-18T05:15:34.832Z] Stashed 1 file(s) [Pipeline] } [2023-04-18T05:15:34.847Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1425-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-04-18T05:15:34.913Z] $ docker stop --time=1 d76606a907a521c482f5dac126b26ed3252e1f2fbc63d72ac64b7842bf51b969 [2023-04-18T05:15:36.442Z] $ docker rm -f --volumes d76606a907a521c482f5dac126b26ed3252e1f2fbc63d72ac64b7842bf51b969 [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-04-18T05:15:37.420Z] provisioning config files... [2023-04-18T05:15:37.426Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1425@tmp/config12052266556926743750tmp [Pipeline] { [Pipeline] sh [2023-04-18T05:15:37.768Z] + set +x [2023-04-18T05:15:37.768Z] + curl -s https://codecov.io/bash [2023-04-18T05:15:37.768Z] + bash -s -- [2023-04-18T05:15:37.768Z] [2023-04-18T05:15:37.768Z] _____ _ [2023-04-18T05:15:37.768Z] / ____| | | [2023-04-18T05:15:37.768Z] | | ___ __| | ___ ___ _____ __ [2023-04-18T05:15:37.768Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-04-18T05:15:37.768Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-04-18T05:15:37.768Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-04-18T05:15:37.768Z] Bash-1.0.6 [2023-04-18T05:15:37.768Z] [2023-04-18T05:15:37.768Z] [2023-04-18T05:15:37.768Z] ==> git version 2.25.1 found [2023-04-18T05:15:37.768Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2023-04-18T05:15:37.768Z] Release-Date: 2020-01-08 [2023-04-18T05:15:37.768Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-04-18T05:15:37.768Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-04-18T05:15:37.768Z] ==> Jenkins CI detected. [2023-04-18T05:15:37.768Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1425 [2023-04-18T05:15:37.768Z] project root: . [2023-04-18T05:15:37.768Z] --> token set from env [2023-04-18T05:15:37.768Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-04-18T05:15:37.768Z] ==> Running gcov in . (disable via -X gcov) [2023-04-18T05:15:37.768Z] ==> Python coveragepy not found [2023-04-18T05:15:37.768Z] ==> Searching for coverage reports in: [2023-04-18T05:15:37.768Z] + . [2023-04-18T05:15:37.768Z] -> Found 1 reports [2023-04-18T05:15:37.768Z] ==> Detecting git/mercurial file structure [2023-04-18T05:15:37.768Z] ==> Reading reports [2023-04-18T05:15:37.768Z] + ./coverage.out bytes=106119 [2023-04-18T05:15:37.768Z] ==> Appending adjustments [2023-04-18T05:15:37.768Z] https://docs.codecov.io/docs/fixing-reports [2023-04-18T05:15:38.027Z] + Found adjustments [2023-04-18T05:15:38.027Z] ==> Gzipping contents [2023-04-18T05:15:38.286Z] 16K /tmp/codecov.6Eoo9K.gz [2023-04-18T05:15:38.286Z] ==> Uploading reports [2023-04-18T05:15:38.286Z] url: https://codecov.io [2023-04-18T05:15:38.286Z] query: branch=PR-1425&commit=bef7e6d0673e0e6a9cfa0b0abf49804674033489&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1425%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1425&job=&cmd_args= [2023-04-18T05:15:38.286Z] -> Pinging Codecov [2023-04-18T05:15:38.286Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1425&commit=bef7e6d0673e0e6a9cfa0b0abf49804674033489&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1425%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1425&job=&cmd_args= [2023-04-18T05:15:38.286Z] -> Uploading to [2023-04-18T05:15:38.286Z] https://storage.googleapis.com/codecov/v4/raw/2023-04-18/7E55EF52A471D76F132DFD9A03CDDE97/bef7e6d0673e0e6a9cfa0b0abf49804674033489/0f2e3dfa-98e6-4ca3-9996-39b257269857.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230418%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230418T051538Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=c6afc6ff1c04bdf4545128d27b060456fbfac39b97c31a50ffe0e130a8804bc4 [2023-04-18T05:15:38.286Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-04-18T05:15:38.286Z] Dload Upload Total Spent Left Speed [2023-04-18T05:15:38.545Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14998 0 0 100 14998 0 71419 --:--:-- --:--:-- --:--:-- 71080 100 14998 0 0 100 14998 0 62753 --:--:-- --:--:-- --:--:-- 62491 [2023-04-18T05:15:38.545Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/bef7e6d0673e0e6a9cfa0b0abf49804674033489 [Pipeline] } [2023-04-18T05:15:38.578Z] 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-04-18T05:15:40.368Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1425/archives ] [2023-04-18T05:15:40.368Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1425/archives [2023-04-18T05:15:40.368Z] total 16 [2023-04-18T05:15:40.368Z] drwxr-xr-x 3 root root 4096 Apr 18 05:03 . [2023-04-18T05:15:40.368Z] drwxrwxr-x 12 jenkins jenkins 4096 Apr 18 05:03 .. [2023-04-18T05:15:40.368Z] drwxr-xr-x 2 root root 4096 Apr 18 05:03 cost [2023-04-18T05:15:40.368Z] -rw-r--r-- 1 root root 86 Apr 18 05:03 cost.csv [2023-04-18T05:15:40.368Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1425/archives [2023-04-18T05:15:40.368Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1425/archives [2023-04-18T05:15:40.368Z] total 16 [2023-04-18T05:15:40.368Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 18 05:03 . [2023-04-18T05:15:40.368Z] drwxrwxr-x 12 jenkins jenkins 4096 Apr 18 05:03 .. [2023-04-18T05:15:40.368Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 18 05:03 cost [2023-04-18T05:15:40.368Z] -rw-r--r-- 1 jenkins jenkins 86 Apr 18 05:03 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-04-18T05:15:40.695Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-18T05:15:41.579Z] ---> package-listing.sh [2023-04-18T05:15:41.579Z] ++ facter osfamily [2023-04-18T05:15:41.579Z] ++ tr '[:upper:]' '[:lower:]' [2023-04-18T05:15:41.837Z] + OS_FAMILY=debian [2023-04-18T05:15:41.837Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1425 [2023-04-18T05:15:41.837Z] + START_PACKAGES=/tmp/packages_start.txt [2023-04-18T05:15:41.837Z] + END_PACKAGES=/tmp/packages_end.txt [2023-04-18T05:15:41.837Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-04-18T05:15:41.837Z] + PACKAGES=/tmp/packages_start.txt [2023-04-18T05:15:41.837Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1425 ']' [2023-04-18T05:15:41.837Z] + PACKAGES=/tmp/packages_end.txt [2023-04-18T05:15:41.837Z] + case "${OS_FAMILY}" in [2023-04-18T05:15:41.837Z] + dpkg -l [2023-04-18T05:15:41.837Z] + grep '^ii' [2023-04-18T05:15:41.837Z] + '[' -f /tmp/packages_start.txt ']' [2023-04-18T05:15:41.837Z] + '[' -f /tmp/packages_end.txt ']' [2023-04-18T05:15:41.837Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-04-18T05:15:41.838Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1425 ']' [2023-04-18T05:15:41.838Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1425/archives/ [2023-04-18T05:15:41.838Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1425/archives/ [Pipeline] echo [2023-04-18T05:15:41.870Z] 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-1425/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-04-18T05:15:42.162Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T05:15:42.777Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-18T05:15:42.777Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-18T05:15:42.914Z] prd-ubuntu20.04-docker-8c-8g-8863 does not seem to be running inside a container [2023-04-18T05:15:42.934Z] $ 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-1425/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-1425 -v /w/workspace/gexfoundry_device-sdk-go_PR-1425:/w/workspace/gexfoundry_device-sdk-go_PR-1425:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1425@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1425@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-04-18T05:15:43.117Z] $ docker top d8d4a856e2de9fc4ad4abfbc8cf75b8fa3c64b0e76ab755af0ba13bee96c56aa -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-18T05:15:43.510Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-04-18T05:15:43.814Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-04-18T05:15:44.122Z] + ls /var/log/sa-host [2023-04-18T05:15:44.122Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-18T05:15:44.259Z] provisioning config files... [2023-04-18T05:15:44.267Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1425@tmp/config3857379978792668727tmp [Pipeline] { [Pipeline] echo [2023-04-18T05:15:44.317Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-18T05:15:44.630Z] ---> create-netrc.sh [Pipeline] } [2023-04-18T05:15:44.659Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-04-18T05:15:45.054Z] ---> python-tools-install.sh [Pipeline] echo [2023-04-18T05:15:45.087Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-18T05:15:45.394Z] ---> sudo-logs.sh [2023-04-18T05:15:45.394Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-04-18T05:15:45.478Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-18T05:15:45.785Z] ---> job-cost.sh [2023-04-18T05:15:45.785Z] lf-activate-venv: SKIPPING [2023-04-18T05:15:45.785Z] DEBUG: total: 0.2199999988079071 [2023-04-18T05:15:45.785Z] INFO: Retrieving Stack Cost... [2023-04-18T05:15:46.045Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-04-18T05:15:46.613Z] INFO: Archiving Costs [Pipeline] echo [2023-04-18T05:15:46.645Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-18T05:15:46.953Z] ---> logs-deploy.sh [2023-04-18T05:15:46.953Z] lf-activate-venv: SKIPPING [2023-04-18T05:15:46.953Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1425/1 [2023-04-18T05:15:46.953Z] INFO: archiving workspace using pattern(s): [2023-04-18T05:15:47.888Z] Archives upload complete. [2023-04-18T05:15:47.888Z] INFO: archiving logs to Nexus