Pull request #1394 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of vli11 for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 81658ed8760a2d6fb3f51ecd7b021f076fdecae6+4c78050fc70b733cd627e11bc3f887100bb2ef6f (04482bf6928a67ce9bbe440f7854a2924578c1b7) 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-ssh1538799831188050011.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a 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-ssh6753663586520710991.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 66200e8eedfc470904d6b329e562ec5b45423d6a The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1394/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > 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 > 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-1394/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15750155699916739425.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > 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 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-ssh11769104728766460445.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1394/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags 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-1394/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh3399373636689559999.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 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 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v3]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-4619 in /w/workspace/gexfoundry_device-sdk-go_PR-1394 [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-1394 # 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/1394/head:refs/remotes/origin/PR-1394 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 4c78050fc70b733cd627e11bc3f887100bb2ef6f into PR head commit 81658ed8760a2d6fb3f51ecd7b021f076fdecae6 Merge succeeded, producing 81658ed8760a2d6fb3f51ecd7b021f076fdecae6 Checking out Revision 81658ed8760a2d6fb3f51ecd7b021f076fdecae6 (PR-1394) > git config core.sparsecheckout # timeout=10 > git checkout -f 81658ed8760a2d6fb3f51ecd7b021f076fdecae6 # 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 4c78050fc70b733cd627e11bc3f887100bb2ef6f # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 81658ed8760a2d6fb3f51ecd7b021f076fdecae6 # timeout=10 Commit message: "fix: fixed feedback comments" > git rev-list --no-walk 31715d779ea18ad9748946d550caeaa2c7135f2d # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-03-20T18:25:17.698Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-03-20T18:25:17.734Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-03-20T18:25:17.746Z] ========================================================= [2023-03-20T18:25:17.746Z] EdgeX Global Pipelines Version Info [2023-03-20T18:25:17.746Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-03-20T18:25:18.439Z] ------------------- [2023-03-20T18:25:18.439Z] stable info: [2023-03-20T18:25:18.439Z] ------------------- [2023-03-20T18:25:18.439Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-03-20T18:25:18.439Z] Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a [2023-03-20T18:25:18.439Z] Message: update stable to v1.0.245 [2023-03-20T18:25:19.012Z] ------------------- [2023-03-20T18:25:19.012Z] experimental info: [2023-03-20T18:25:19.012Z] ------------------- [2023-03-20T18:25:19.012Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-03-20T18:25:19.012Z] Commit SHA: eb5041bb0874f6b7cdca3e6793e1ef87c0289dce [2023-03-20T18:25:19.012Z] Message: update experimental to v1.0.246 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-03-20T18:25:19.235Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-03-20T18:25:19.301Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-03-20T18:25:19.309Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-03-20T18:25:19.317Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-03-20T18:25:19.325Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-03-20T18:25:19.333Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-03-20T18:25:19.341Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-03-20T18:25:19.349Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-03-20T18:25:19.357Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-03-20T18:25:19.375Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-03-20T18:25:19.390Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-03-20T18:25:19.404Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-03-20T18:25:19.414Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-03-20T18:25:19.425Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-03-20T18:25:19.443Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-03-20T18:25:19.459Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-03-20T18:25:19.470Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-03-20T18:25:19.481Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-03-20T18:25:19.492Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-03-20T18:25:19.503Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-03-20T18:25:19.514Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-03-20T18:25:19.522Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2023-03-20T18:25:19.533Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-03-20T18:25:19.543Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-03-20T18:25:19.551Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-03-20T18:25:19.559Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-03-20T18:25:19.567Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-03-20T18:25:19.575Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1394 [Pipeline] echo [2023-03-20T18:25:19.583Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1394 [Pipeline] echo [2023-03-20T18:25:19.591Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1394 [Pipeline] echo [2023-03-20T18:25:19.609Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 81658ed8760a2d6fb3f51ecd7b021f076fdecae6 [Pipeline] echo [2023-03-20T18:25:19.620Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 81658ed [Pipeline] echo [2023-03-20T18:25:19.633Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-20T18:25:19.672Z] provisioning config files... [2023-03-20T18:25:19.689Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1394@tmp/config751318004335751315tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-20T18:25:20.000Z] ---> docker-login.sh [2023-03-20T18:25:20.000Z] nexus3.edgexfoundry.org:10001 [2023-03-20T18:25:20.260Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-20T18:25:20.260Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-20T18:25:20.260Z] Configure a credential helper to remove this warning. See [2023-03-20T18:25:20.260Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-20T18:25:20.260Z] [2023-03-20T18:25:20.260Z] Login Succeeded [2023-03-20T18:25:20.260Z] nexus3.edgexfoundry.org:10002 [2023-03-20T18:25:20.260Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-20T18:25:20.520Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-20T18:25:20.520Z] Configure a credential helper to remove this warning. See [2023-03-20T18:25:20.520Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-20T18:25:20.520Z] [2023-03-20T18:25:20.520Z] Login Succeeded [2023-03-20T18:25:20.520Z] nexus3.edgexfoundry.org:10003 [2023-03-20T18:25:20.520Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-20T18:25:20.520Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-20T18:25:20.520Z] Configure a credential helper to remove this warning. See [2023-03-20T18:25:20.520Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-20T18:25:20.520Z] [2023-03-20T18:25:20.520Z] Login Succeeded [2023-03-20T18:25:20.520Z] nexus3.edgexfoundry.org:10004 [2023-03-20T18:25:20.520Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-20T18:25:20.520Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-20T18:25:20.520Z] Configure a credential helper to remove this warning. See [2023-03-20T18:25:20.520Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-20T18:25:20.520Z] [2023-03-20T18:25:20.520Z] Login Succeeded [2023-03-20T18:25:20.520Z] docker.io [2023-03-20T18:25:20.780Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-20T18:25:21.040Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-20T18:25:21.040Z] Configure a credential helper to remove this warning. See [2023-03-20T18:25:21.040Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-20T18:25:21.040Z] [2023-03-20T18:25:21.040Z] Login Succeeded [2023-03-20T18:25:21.040Z] ---> docker-login.sh ends [Pipeline] } [2023-03-20T18:25:21.048Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-03-20T18:25:21.430Z] + git rev-list -1 --merges 81658ed8760a2d6fb3f51ecd7b021f076fdecae6~1..81658ed8760a2d6fb3f51ecd7b021f076fdecae6 [Pipeline] echo [2023-03-20T18:25:21.478Z] -----------> git rev-list -1 --merges 81658ed8760a2d6fb3f51ecd7b021f076fdecae6~1..81658ed8760a2d6fb3f51ecd7b021f076fdecae6 81658ed8760a2d6fb3f51ecd7b021f076fdecae6 [false] [Pipeline] sh [2023-03-20T18:25:21.766Z] + git log --format=format:%s -1 81658ed8760a2d6fb3f51ecd7b021f076fdecae6 [Pipeline] echo [2023-03-20T18:25:21.780Z] ========================================================= [2023-03-20T18:25:21.780Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-03-20T18:25:21.780Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-20T18:25:22.105Z] + git log --format=format:%s -1 81658ed8760a2d6fb3f51ecd7b021f076fdecae6 [Pipeline] echo [2023-03-20T18:25:22.115Z] [semverPrep] GIT_COMMIT: 81658ed8760a2d6fb3f51ecd7b021f076fdecae6, Commit Message: fix: fixed feedback comments [Pipeline] echo [2023-03-20T18:25:22.122Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-03-20T18:25:22.474Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-20T18:25:22.474Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-03-20T18:25:22.474Z] + [ -e /tmp/ssh_known_hosts ] [2023-03-20T18:25:22.474Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-03-20T18:25:22.474Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-03-20T18:25:22.474Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-03-20T18:25:22.474Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-20T18:25:22.811Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-20T18:25:22.811Z] [2023-03-20T18:25:22.811Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-20T18:25:23.109Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-20T18:25:23.109Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-03-20T18:25:23.109Z] b85a868b505f: Pulling fs layer [2023-03-20T18:25:23.109Z] e2be974225ed: Pulling fs layer [2023-03-20T18:25:23.109Z] 339a4e72a1f5: Pulling fs layer [2023-03-20T18:25:23.109Z] 988bab9f4d93: Pulling fs layer [2023-03-20T18:25:23.109Z] 1469e6f7b9e6: Pulling fs layer [2023-03-20T18:25:23.109Z] eaf3925da568: Pulling fs layer [2023-03-20T18:25:23.109Z] bab4dde63d76: Pulling fs layer [2023-03-20T18:25:23.109Z] bde34c3a00c8: Pulling fs layer [2023-03-20T18:25:23.109Z] b352a97aabf1: Pulling fs layer [2023-03-20T18:25:23.109Z] 4872d77fe225: Pulling fs layer [2023-03-20T18:25:23.109Z] 5851b861e8e6: Pulling fs layer [2023-03-20T18:25:23.109Z] 988bab9f4d93: Waiting [2023-03-20T18:25:23.109Z] 1469e6f7b9e6: Waiting [2023-03-20T18:25:23.109Z] eaf3925da568: Waiting [2023-03-20T18:25:23.109Z] bab4dde63d76: Waiting [2023-03-20T18:25:23.109Z] bde34c3a00c8: Waiting [2023-03-20T18:25:23.109Z] b352a97aabf1: Waiting [2023-03-20T18:25:23.109Z] 4872d77fe225: Waiting [2023-03-20T18:25:23.109Z] 5851b861e8e6: Waiting [2023-03-20T18:25:23.109Z] e2be974225ed: Download complete [2023-03-20T18:25:23.109Z] 988bab9f4d93: Verifying Checksum [2023-03-20T18:25:23.109Z] 988bab9f4d93: Download complete [2023-03-20T18:25:23.368Z] 1469e6f7b9e6: Verifying Checksum [2023-03-20T18:25:23.368Z] 1469e6f7b9e6: Download complete [2023-03-20T18:25:23.368Z] eaf3925da568: Verifying Checksum [2023-03-20T18:25:23.368Z] eaf3925da568: Download complete [2023-03-20T18:25:23.368Z] 339a4e72a1f5: Verifying Checksum [2023-03-20T18:25:23.368Z] 339a4e72a1f5: Download complete [2023-03-20T18:25:23.368Z] bde34c3a00c8: Download complete [2023-03-20T18:25:23.368Z] b352a97aabf1: Download complete [2023-03-20T18:25:23.368Z] 4872d77fe225: Download complete [2023-03-20T18:25:23.368Z] 5851b861e8e6: Verifying Checksum [2023-03-20T18:25:23.368Z] 5851b861e8e6: Download complete [2023-03-20T18:25:23.368Z] b85a868b505f: Verifying Checksum [2023-03-20T18:25:23.368Z] b85a868b505f: Download complete [2023-03-20T18:25:23.628Z] bab4dde63d76: Verifying Checksum [2023-03-20T18:25:23.628Z] bab4dde63d76: Download complete [2023-03-20T18:25:24.566Z] b85a868b505f: Pull complete [2023-03-20T18:25:24.566Z] e2be974225ed: Pull complete [2023-03-20T18:25:25.133Z] 339a4e72a1f5: Pull complete [2023-03-20T18:25:25.133Z] 988bab9f4d93: Pull complete [2023-03-20T18:25:25.413Z] 1469e6f7b9e6: Pull complete [2023-03-20T18:25:25.413Z] eaf3925da568: Pull complete [2023-03-20T18:25:27.345Z] bab4dde63d76: Pull complete [2023-03-20T18:25:27.345Z] bde34c3a00c8: Pull complete [2023-03-20T18:25:27.345Z] b352a97aabf1: Pull complete [2023-03-20T18:25:27.345Z] 4872d77fe225: Pull complete [2023-03-20T18:25:27.345Z] 5851b861e8e6: Pull complete [2023-03-20T18:25:27.345Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-03-20T18:25:27.345Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-20T18:25:27.345Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-20T18:25:27.434Z] prd-ubuntu20.04-docker-8c-8g-4619 does not seem to be running inside a container [2023-03-20T18:25:27.467Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1394 -v /w/workspace/gexfoundry_device-sdk-go_PR-1394:/w/workspace/gexfoundry_device-sdk-go_PR-1394:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1394@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1394@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-03-20T18:25:29.578Z] $ docker top 874257939f9ecbd8d2f93cbb299c0971f2c7df7a864235e4ff6eb87cdd62f92a -eo pid,comm [2023-03-20T18:25:29.631Z] 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-03-20T18:25:29.631Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-20T18:25:29.663Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-20T18:25:29.663Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-20T18:25:29.778Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-20T18:25:29.786Z] $ docker exec 874257939f9ecbd8d2f93cbb299c0971f2c7df7a864235e4ff6eb87cdd62f92a ssh-agent [2023-03-20T18:25:29.890Z] SSH_AUTH_SOCK=/tmp/ssh-vM6yhKlL2ueh/agent.32 [2023-03-20T18:25:29.890Z] SSH_AGENT_PID=39 [2023-03-20T18:25:29.895Z] Running ssh-add (command line suppressed) [2023-03-20T18:25:30.002Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1394@tmp/private_key_8163056122600147181.key (/w/workspace/gexfoundry_device-sdk-go_PR-1394@tmp/private_key_8163056122600147181.key) [2023-03-20T18:25:30.011Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-20T18:25:30.299Z] + git tag --points-at HEAD [Pipeline] } [2023-03-20T18:25:30.315Z] $ docker exec --env ******** --env ******** 874257939f9ecbd8d2f93cbb299c0971f2c7df7a864235e4ff6eb87cdd62f92a ssh-agent -k [2023-03-20T18:25:30.413Z] unset SSH_AUTH_SOCK; [2023-03-20T18:25:30.414Z] unset SSH_AGENT_PID; [2023-03-20T18:25:30.414Z] echo Agent pid 39 killed; [2023-03-20T18:25:30.419Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-03-20T18:25:30.439Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-20T18:25:30.439Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-20T18:25:30.547Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-20T18:25:30.554Z] $ docker exec 874257939f9ecbd8d2f93cbb299c0971f2c7df7a864235e4ff6eb87cdd62f92a ssh-agent [2023-03-20T18:25:30.661Z] SSH_AUTH_SOCK=/tmp/ssh-0ZcJmEwgk2jf/agent.71 [2023-03-20T18:25:30.661Z] SSH_AGENT_PID=77 [2023-03-20T18:25:30.665Z] Running ssh-add (command line suppressed) [2023-03-20T18:25:30.779Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1394@tmp/private_key_1296862785592713114.key (/w/workspace/gexfoundry_device-sdk-go_PR-1394@tmp/private_key_1296862785592713114.key) [2023-03-20T18:25:30.789Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-20T18:25:31.078Z] + git semver init [2023-03-20T18:25:31.338Z] 2023-03-20 18:25:31,250 [run_init] DEBUG init version:0.0.0 force:False [2023-03-20T18:25:31.338Z] 2023-03-20 18:25:31,251 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1394/.semver [2023-03-20T18:25:31.338Z] 2023-03-20 18:25:31,251 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1394/.semver [2023-03-20T18:25:31.338Z] 2023-03-20 18:25:31,251 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1394/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1394, universal_newlines=False, shell=None, istream=None) [2023-03-20T18:25:32.274Z] 2023-03-20 18:25:32,115 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1394/.git/info/exclude [2023-03-20T18:25:32.274Z] 2023-03-20 18:25:32,115 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1394/.semver/PR-1394 with force:False [2023-03-20T18:25:32.274Z] 2023-03-20 18:25:32,115 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1394/.semver/PR-1394 [2023-03-20T18:25:32.274Z] 2023-03-20 18:25:32,120 [execute] INFO git cat-file --batch-check [2023-03-20T18:25:32.274Z] 2023-03-20 18:25:32,120 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1394/.semver, universal_newlines=False, shell=None, istream=) [2023-03-20T18:25:32.274Z] 2023-03-20 18:25:32,126 [execute] INFO git cat-file --batch [2023-03-20T18:25:32.274Z] 2023-03-20 18:25:32,126 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1394/.semver, universal_newlines=False, shell=None, istream=) [2023-03-20T18:25:32.274Z] 2023-03-20 18:25:32,130 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1394/.semver/PR-1394 [2023-03-20T18:25:32.274Z] 0.0.0 [Pipeline] } [2023-03-20T18:25:32.289Z] $ docker exec --env ******** --env ******** 874257939f9ecbd8d2f93cbb299c0971f2c7df7a864235e4ff6eb87cdd62f92a ssh-agent -k [2023-03-20T18:25:32.371Z] unset SSH_AUTH_SOCK; [2023-03-20T18:25:32.372Z] unset SSH_AGENT_PID; [2023-03-20T18:25:32.372Z] echo Agent pid 77 killed; [2023-03-20T18:25:32.378Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-20T18:25:32.674Z] + git semver [Pipeline] } [2023-03-20T18:25:32.955Z] $ docker stop --time=1 874257939f9ecbd8d2f93cbb299c0971f2c7df7a864235e4ff6eb87cdd62f92a [2023-03-20T18:25:34.227Z] $ docker rm -f --volumes 874257939f9ecbd8d2f93cbb299c0971f2c7df7a864235e4ff6eb87cdd62f92a [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-20T18:25:34.558Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-03-20T18:25:34.755Z] Stashed 1 file(s) [Pipeline] echo [2023-03-20T18:25:34.758Z] [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-03-20T18:25:34.916Z] provisioning config files... [2023-03-20T18:25:34.925Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1394@tmp/config8673227881426903909tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-20T18:25:35.215Z] ---> docker-login.sh [2023-03-20T18:25:35.215Z] nexus3.edgexfoundry.org:10001 [2023-03-20T18:25:35.215Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-20T18:25:35.215Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-20T18:25:35.215Z] Configure a credential helper to remove this warning. See [2023-03-20T18:25:35.215Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-20T18:25:35.215Z] [2023-03-20T18:25:35.215Z] Login Succeeded [2023-03-20T18:25:35.215Z] nexus3.edgexfoundry.org:10002 [2023-03-20T18:25:35.215Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-20T18:25:35.215Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-20T18:25:35.215Z] Configure a credential helper to remove this warning. See [2023-03-20T18:25:35.215Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-20T18:25:35.215Z] [2023-03-20T18:25:35.215Z] Login Succeeded [2023-03-20T18:25:35.215Z] nexus3.edgexfoundry.org:10003 [2023-03-20T18:25:35.474Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-20T18:25:35.474Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-20T18:25:35.474Z] Configure a credential helper to remove this warning. See [2023-03-20T18:25:35.474Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-20T18:25:35.474Z] [2023-03-20T18:25:35.474Z] Login Succeeded [2023-03-20T18:25:35.474Z] nexus3.edgexfoundry.org:10004 [2023-03-20T18:25:35.474Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-20T18:25:35.474Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-20T18:25:35.474Z] Configure a credential helper to remove this warning. See [2023-03-20T18:25:35.474Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-20T18:25:35.474Z] [2023-03-20T18:25:35.474Z] Login Succeeded [2023-03-20T18:25:35.474Z] docker.io [2023-03-20T18:25:35.733Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-20T18:25:35.733Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-20T18:25:35.733Z] Configure a credential helper to remove this warning. See [2023-03-20T18:25:35.733Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-20T18:25:35.733Z] [2023-03-20T18:25:35.733Z] Login Succeeded [2023-03-20T18:25:35.733Z] ---> docker-login.sh ends [Pipeline] } [2023-03-20T18:25:35.740Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-20T18:25:35.807Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-20T18:25:35.824Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-20T18:25:35.835Z] ========================================================= [2023-03-20T18:25:35.835Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-03-20T18:25:35.835Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-20T18:25:36.148Z] + 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-03-20T18:25:36.148Z] Sending build context to Docker daemon 10.77MB [2023-03-20T18:25:36.148Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-03-20T18:25:36.148Z] Step 2/10 : FROM ${BASE} AS builder [2023-03-20T18:25:36.148Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-03-20T18:25:36.148Z] 63b65145d645: Pulling fs layer [2023-03-20T18:25:36.148Z] a2d21d5440eb: Pulling fs layer [2023-03-20T18:25:36.148Z] 935e6c44a52c: Pulling fs layer [2023-03-20T18:25:36.148Z] 94cc34f8dd06: Pulling fs layer [2023-03-20T18:25:36.148Z] 30dea6a524f1: Pulling fs layer [2023-03-20T18:25:36.148Z] a2aff8979fd8: Pulling fs layer [2023-03-20T18:25:36.148Z] 6808be2612f2: Pulling fs layer [2023-03-20T18:25:36.148Z] f25807f1079a: Pulling fs layer [2023-03-20T18:25:36.148Z] 30dea6a524f1: Waiting [2023-03-20T18:25:36.148Z] f25807f1079a: Waiting [2023-03-20T18:25:36.148Z] a2aff8979fd8: Waiting [2023-03-20T18:25:36.148Z] 6808be2612f2: Waiting [2023-03-20T18:25:36.148Z] 94cc34f8dd06: Waiting [2023-03-20T18:25:36.148Z] a2d21d5440eb: Download complete [2023-03-20T18:25:36.410Z] 94cc34f8dd06: Verifying Checksum [2023-03-20T18:25:36.410Z] 94cc34f8dd06: Download complete [2023-03-20T18:25:36.410Z] 30dea6a524f1: Verifying Checksum [2023-03-20T18:25:36.410Z] 30dea6a524f1: Download complete [2023-03-20T18:25:36.410Z] 63b65145d645: Verifying Checksum [2023-03-20T18:25:36.410Z] 63b65145d645: Download complete [2023-03-20T18:25:36.410Z] a2aff8979fd8: Verifying Checksum [2023-03-20T18:25:36.410Z] a2aff8979fd8: Download complete [2023-03-20T18:25:36.680Z] 63b65145d645: Pull complete [2023-03-20T18:25:36.680Z] a2d21d5440eb: Pull complete [2023-03-20T18:25:36.951Z] f25807f1079a: Verifying Checksum [2023-03-20T18:25:36.951Z] f25807f1079a: Download complete [2023-03-20T18:25:37.209Z] 935e6c44a52c: Verifying Checksum [2023-03-20T18:25:37.210Z] 935e6c44a52c: Download complete [2023-03-20T18:25:37.470Z] 6808be2612f2: Verifying Checksum [2023-03-20T18:25:37.470Z] 6808be2612f2: Download complete [2023-03-20T18:25:40.757Z] 935e6c44a52c: Pull complete [2023-03-20T18:25:40.757Z] 94cc34f8dd06: Pull complete [2023-03-20T18:25:40.757Z] 30dea6a524f1: Pull complete [2023-03-20T18:25:40.757Z] a2aff8979fd8: Pull complete [2023-03-20T18:25:42.661Z] 6808be2612f2: Pull complete [2023-03-20T18:25:43.598Z] f25807f1079a: Pull complete [2023-03-20T18:25:43.598Z] Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 [2023-03-20T18:25:43.598Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-03-20T18:25:43.598Z] ---> 3b553350e43f [2023-03-20T18:25:43.598Z] Step 3/10 : ARG MAKE=make build [2023-03-20T18:25:46.889Z] ---> Running in 0d68f28521a5 [2023-03-20T18:25:46.889Z] Removing intermediate container 0d68f28521a5 [2023-03-20T18:25:46.889Z] ---> 1f816d1eafec [2023-03-20T18:25:46.889Z] Step 4/10 : WORKDIR /device-sdk-go [2023-03-20T18:25:46.889Z] ---> Running in 02ae9ca3f5b8 [2023-03-20T18:25:47.147Z] Removing intermediate container 02ae9ca3f5b8 [2023-03-20T18:25:47.147Z] ---> 409529694699 [2023-03-20T18:25:47.147Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-03-20T18:25:47.147Z] ---> Running in 5c4eab6d9c87 [2023-03-20T18:25:47.147Z] Removing intermediate container 5c4eab6d9c87 [2023-03-20T18:25:47.147Z] ---> 338cbe15daaa [2023-03-20T18:25:47.147Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-03-20T18:25:47.147Z] ---> Running in 41db1e0f8077 [2023-03-20T18:25:47.407Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-20T18:25:47.665Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-20T18:25:47.924Z] OK: 265 MiB in 53 packages [2023-03-20T18:25:48.182Z] Removing intermediate container 41db1e0f8077 [2023-03-20T18:25:48.182Z] ---> 95f9de03be80 [2023-03-20T18:25:48.182Z] Step 7/10 : COPY go.mod vendor* ./ [2023-03-20T18:25:48.182Z] ---> 8d48eeccc499 [2023-03-20T18:25:48.182Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-20T18:25:48.182Z] ---> Running in a87e50ffe150 [2023-03-20T18:25:49.872Z] Still waiting to schedule task [2023-03-20T18:25:49.872Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-4618’ [2023-03-20T18:26:20.271Z] Removing intermediate container a87e50ffe150 [2023-03-20T18:26:20.271Z] ---> ac2ebf69adde [2023-03-20T18:26:20.271Z] Step 9/10 : COPY . . [2023-03-20T18:26:20.271Z] ---> 4815d15ffcff [2023-03-20T18:26:20.271Z] Step 10/10 : RUN ${MAKE} [2023-03-20T18:26:20.271Z] ---> Running in 6373edabc391 [2023-03-20T18:26:20.271Z] noop [2023-03-20T18:26:20.271Z] Removing intermediate container 6373edabc391 [2023-03-20T18:26:20.271Z] ---> 509210d9e1b5 [2023-03-20T18:26:20.271Z] Successfully built 509210d9e1b5 [2023-03-20T18:26:20.271Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-20T18:26:20.573Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-20T18:26:20.573Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-20T18:26:20.651Z] prd-ubuntu20.04-docker-8c-8g-4619 does not seem to be running inside a container [2023-03-20T18:26:20.692Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1394 -v /w/workspace/gexfoundry_device-sdk-go_PR-1394:/w/workspace/gexfoundry_device-sdk-go_PR-1394:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1394@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1394@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-20T18:26:21.002Z] $ docker top 65b9603e3d522b0ee086784fc30995f853f6befcdc33eb9fc587cb3a37316a3c -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-20T18:26:21.339Z] + go version [2023-03-20T18:26:21.339Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-03-20T18:26:21.353Z] $ docker stop --time=1 65b9603e3d522b0ee086784fc30995f853f6befcdc33eb9fc587cb3a37316a3c [2023-03-20T18:26:22.658Z] $ docker rm -f --volumes 65b9603e3d522b0ee086784fc30995f853f6befcdc33eb9fc587cb3a37316a3c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-20T18:26:23.053Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-20T18:26:23.053Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-20T18:26:23.124Z] prd-ubuntu20.04-docker-8c-8g-4619 does not seem to be running inside a container [2023-03-20T18:26:23.164Z] $ 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-1394 -v /w/workspace/gexfoundry_device-sdk-go_PR-1394:/w/workspace/gexfoundry_device-sdk-go_PR-1394:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1394@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1394@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-20T18:26:23.519Z] $ docker top 7301af6490f0c270468283bac20942467eae42008561fe4ef915c55105a2f11d -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-20T18:26:23.860Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1394 [Pipeline] fileExists [Pipeline] sh [2023-03-20T18:26:24.154Z] + make test [2023-03-20T18:26:24.154Z] go test -race -coverprofile=coverage.out ./... [2023-03-20T18:26:30.709Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-03-20T18:26:45.637Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-03-20T18:26:45.637Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-03-20T18:26:45.637Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-03-20T18:26:45.637Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-03-20T18:26:45.637Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-03-20T18:26:45.637Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.058s coverage: 27.6% of statements [2023-03-20T18:26:45.637Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-03-20T18:26:45.637Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-03-20T18:26:45.637Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.061s coverage: 78.9% of statements [2023-03-20T18:26:45.637Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.075s coverage: 86.0% of statements [2023-03-20T18:26:45.637Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-03-20T18:26:45.637Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.096s coverage: 75.9% of statements [2023-03-20T18:26:45.637Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-03-20T18:26:45.637Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-03-20T18:26:45.637Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-03-20T18:26:46.203Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-03-20T18:26:48.739Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.077s coverage: 15.2% of statements [2023-03-20T18:26:48.739Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.073s coverage: 65.7% of statements [2023-03-20T18:26:48.739Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.110s coverage: 89.2% of statements [2023-03-20T18:26:48.739Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.063s coverage: 5.5% of statements [2023-03-20T18:27:10.685Z] GO111MODULE=on go vet ./... [2023-03-20T18:27:12.585Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-20T18:27:12.845Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-20T18:27:12.845Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-20T18:27:12.856Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-20T18:27:12.870Z] $ docker stop --time=1 7301af6490f0c270468283bac20942467eae42008561fe4ef915c55105a2f11d [2023-03-20T18:27:16.576Z] $ docker rm -f --volumes 7301af6490f0c270468283bac20942467eae42008561fe4ef915c55105a2f11d [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-20T18:27:17.075Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-20T18:27:17.138Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-03-20T18:27:17.566Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-20T18:27:17.847Z] + ls -al . [2023-03-20T18:27:17.847Z] total 276 [2023-03-20T18:27:17.847Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 20 18:26 . [2023-03-20T18:27:17.847Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 20 18:25 .. [2023-03-20T18:27:17.847Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 20 18:25 .dockerignore [2023-03-20T18:27:17.847Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 20 18:25 .git [2023-03-20T18:27:17.847Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 20 18:25 .github [2023-03-20T18:27:17.847Z] -rw-rw-r-- 1 jenkins jenkins 131 Mar 20 18:25 .gitignore [2023-03-20T18:27:17.847Z] -rw-rw-r-- 1 jenkins jenkins 42 Mar 20 18:25 .golangci.yml [2023-03-20T18:27:17.847Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 20 18:25 .semver [2023-03-20T18:27:17.847Z] -rw-rw-r-- 1 jenkins jenkins 31677 Mar 20 18:25 CHANGELOG.md [2023-03-20T18:27:17.847Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 20 18:25 GOVERNANCE.md [2023-03-20T18:27:17.847Z] -rw-rw-r-- 1 jenkins jenkins 885 Mar 20 18:25 Jenkinsfile [2023-03-20T18:27:17.847Z] -rw-rw-r-- 1 jenkins jenkins 11341 Mar 20 18:25 LICENSE [2023-03-20T18:27:17.847Z] -rw-rw-r-- 1 jenkins jenkins 1714 Mar 20 18:25 Makefile [2023-03-20T18:27:17.847Z] -rw-rw-r-- 1 jenkins jenkins 619 Mar 20 18:25 OWNERS.md [2023-03-20T18:27:17.847Z] -rw-rw-r-- 1 jenkins jenkins 4891 Mar 20 18:25 README.md [2023-03-20T18:27:17.847Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 20 18:25 VERSION [2023-03-20T18:27:17.847Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 20 18:25 bin [2023-03-20T18:27:17.847Z] -rw-r--r-- 1 jenkins jenkins 109537 Mar 20 18:26 coverage.out [2023-03-20T18:27:17.847Z] drwxrwxr-x 5 jenkins jenkins 4096 Mar 20 18:25 example [2023-03-20T18:27:17.847Z] -rw-rw-r-- 1 jenkins jenkins 3291 Mar 20 18:25 go.mod [2023-03-20T18:27:17.847Z] -rw-rw-r-- 1 jenkins jenkins 30841 Mar 20 18:25 go.sum [2023-03-20T18:27:17.847Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 20 18:25 internal [2023-03-20T18:27:17.847Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 20 18:25 openapi [2023-03-20T18:27:17.847Z] drwxrwxr-x 6 jenkins jenkins 4096 Mar 20 18:25 pkg [2023-03-20T18:27:17.847Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 20 18:25 snap [2023-03-20T18:27:17.847Z] -rw-rw-r-- 1 jenkins jenkins 222 Mar 20 18:25 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-20T18:27:18.275Z] + 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=81658ed8760a2d6fb3f51ecd7b021f076fdecae6 --label arch=amd64 --label version=0.0.0 . [2023-03-20T18:27:18.275Z] Sending build context to Docker daemon 10.88MB [2023-03-20T18:27:18.275Z] Step 1/23 : ARG BASE=golang:1.20-alpine3.17 [2023-03-20T18:27:18.275Z] Step 2/23 : FROM ${BASE} AS builder [2023-03-20T18:27:18.275Z] ---> 509210d9e1b5 [2023-03-20T18:27:18.275Z] Step 3/23 : ARG MAKE=make build [2023-03-20T18:27:18.535Z] ---> Running in 28e746d12795 [2023-03-20T18:27:18.535Z] Removing intermediate container 28e746d12795 [2023-03-20T18:27:18.535Z] ---> 98974dbf45f3 [2023-03-20T18:27:18.535Z] Step 4/23 : WORKDIR /device-sdk-go [2023-03-20T18:27:18.535Z] ---> Running in 83e0b2dc463e [2023-03-20T18:27:18.535Z] Removing intermediate container 83e0b2dc463e [2023-03-20T18:27:18.535Z] ---> 3f67a2c861b7 [2023-03-20T18:27:18.535Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-03-20T18:27:18.535Z] ---> Running in 5d4e7de2ddfb [2023-03-20T18:27:18.793Z] Removing intermediate container 5d4e7de2ddfb [2023-03-20T18:27:18.793Z] ---> 15642a2f4151 [2023-03-20T18:27:18.793Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-03-20T18:27:18.793Z] ---> Running in 5437e5ede173 [2023-03-20T18:27:19.051Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-20T18:27:19.051Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-20T18:27:19.308Z] OK: 265 MiB in 53 packages [2023-03-20T18:27:19.566Z] Removing intermediate container 5437e5ede173 [2023-03-20T18:27:19.566Z] ---> 2cdde92363f6 [2023-03-20T18:27:19.566Z] Step 7/23 : COPY go.mod vendor* ./ [2023-03-20T18:27:19.826Z] ---> 47d760f4bcb4 [2023-03-20T18:27:19.826Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-20T18:27:19.826Z] ---> Running in 6dc8e7bb66f6 [2023-03-20T18:27:20.765Z] Removing intermediate container 6dc8e7bb66f6 [2023-03-20T18:27:20.765Z] ---> 09f090333be6 [2023-03-20T18:27:20.765Z] Step 9/23 : COPY . . [2023-03-20T18:27:21.332Z] ---> 6474d7091c42 [2023-03-20T18:27:21.332Z] Step 10/23 : RUN ${MAKE} [2023-03-20T18:27:21.332Z] ---> Running in e348ba2f29fb [2023-03-20T18:27:21.591Z] 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-03-20T18:27:43.520Z] Removing intermediate container e348ba2f29fb [2023-03-20T18:27:43.520Z] ---> 649eeb2b1948 [2023-03-20T18:27:43.520Z] Step 11/23 : FROM alpine:3.17 [2023-03-20T18:27:43.520Z] 3.17: Pulling from library/alpine [2023-03-20T18:27:43.520Z] 63b65145d645: Already exists [2023-03-20T18:27:43.520Z] Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 [2023-03-20T18:27:43.520Z] Status: Downloaded newer image for alpine:3.17 [2023-03-20T18:27:43.520Z] ---> b2aa39c304c2 [2023-03-20T18:27:43.520Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-03-20T18:27:43.520Z] ---> Running in 08e4853cd165 [2023-03-20T18:27:43.520Z] Removing intermediate container 08e4853cd165 [2023-03-20T18:27:43.520Z] ---> e90fff40d682 [2023-03-20T18:27:43.520Z] Step 13/23 : RUN apk add --update --no-cache [2023-03-20T18:27:43.520Z] ---> Running in 0a49521a8ef8 [2023-03-20T18:27:43.520Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-20T18:27:43.520Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-20T18:27:43.520Z] OK: 7 MiB in 15 packages [2023-03-20T18:27:43.520Z] Removing intermediate container 0a49521a8ef8 [2023-03-20T18:27:43.520Z] ---> 0004b3d2ef60 [2023-03-20T18:27:43.520Z] Step 14/23 : WORKDIR / [2023-03-20T18:27:43.520Z] ---> Running in 34278897d4b7 [2023-03-20T18:27:43.520Z] Removing intermediate container 34278897d4b7 [2023-03-20T18:27:43.520Z] ---> 01324a10639e [2023-03-20T18:27:43.520Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-03-20T18:27:43.520Z] ---> c67760153cc8 [2023-03-20T18:27:43.520Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-03-20T18:27:43.520Z] ---> bf5750d12c24 [2023-03-20T18:27:43.520Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-03-20T18:27:43.520Z] ---> 02296869d542 [2023-03-20T18:27:43.520Z] Step 18/23 : EXPOSE 59999 [2023-03-20T18:27:43.520Z] ---> Running in beb735d539b8 [2023-03-20T18:27:43.520Z] Removing intermediate container beb735d539b8 [2023-03-20T18:27:43.520Z] ---> b5f8abe61ce9 [2023-03-20T18:27:43.520Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-03-20T18:27:43.520Z] ---> Running in 39ba45750b82 [2023-03-20T18:27:43.520Z] Removing intermediate container 39ba45750b82 [2023-03-20T18:27:43.520Z] ---> 8ef5adcad12c [2023-03-20T18:27:43.520Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-03-20T18:27:43.520Z] ---> Running in 5e2b6f229ae2 [2023-03-20T18:27:43.778Z] Removing intermediate container 5e2b6f229ae2 [2023-03-20T18:27:43.778Z] ---> c041f70c6950 [2023-03-20T18:27:43.778Z] Step 21/23 : LABEL arch=amd64 [2023-03-20T18:27:43.778Z] ---> Running in 251702c4e8f5 [2023-03-20T18:27:43.778Z] Removing intermediate container 251702c4e8f5 [2023-03-20T18:27:43.778Z] ---> 5be27bd511d4 [2023-03-20T18:27:43.778Z] Step 22/23 : LABEL git_sha=81658ed8760a2d6fb3f51ecd7b021f076fdecae6 [2023-03-20T18:27:43.778Z] ---> Running in afb48481bd19 [2023-03-20T18:27:43.778Z] Removing intermediate container afb48481bd19 [2023-03-20T18:27:43.778Z] ---> 9090296fad77 [2023-03-20T18:27:43.778Z] Step 23/23 : LABEL version=0.0.0 [2023-03-20T18:27:44.037Z] ---> Running in 967039cb0322 [2023-03-20T18:27:44.037Z] Removing intermediate container 967039cb0322 [2023-03-20T18:27:44.037Z] ---> 559cdb9111c5 [2023-03-20T18:27:44.037Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-20T18:27:44.037Z] Successfully built 559cdb9111c5 [2023-03-20T18:27:44.037Z] 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-03-20T18:27:44.442Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-20T18:27:44.443Z] [2023-03-20T18:27:44.443Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-20T18:27:44.747Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-20T18:27:44.747Z] latest: Pulling from edgex-lftools-log-publisher [2023-03-20T18:27:44.747Z] 5eb5b503b376: Pulling fs layer [2023-03-20T18:27:44.747Z] 5c69ac0246d0: Pulling fs layer [2023-03-20T18:27:44.747Z] ec43610c2a17: Pulling fs layer [2023-03-20T18:27:44.747Z] 3a2ae6a8a46f: Pulling fs layer [2023-03-20T18:27:44.747Z] 33b1e0a273af: Pulling fs layer [2023-03-20T18:27:44.747Z] 5d3b04190fa2: Pulling fs layer [2023-03-20T18:27:44.747Z] 2f39f015ded8: Pulling fs layer [2023-03-20T18:27:44.747Z] 33b1e0a273af: Waiting [2023-03-20T18:27:44.747Z] 5d3b04190fa2: Waiting [2023-03-20T18:27:44.747Z] 2f39f015ded8: Waiting [2023-03-20T18:27:44.747Z] 3a2ae6a8a46f: Waiting [2023-03-20T18:27:44.747Z] 5c69ac0246d0: Verifying Checksum [2023-03-20T18:27:44.747Z] 5c69ac0246d0: Download complete [2023-03-20T18:27:44.747Z] 3a2ae6a8a46f: Download complete [2023-03-20T18:27:45.006Z] 33b1e0a273af: Verifying Checksum [2023-03-20T18:27:45.006Z] 33b1e0a273af: Download complete [2023-03-20T18:27:45.006Z] 5d3b04190fa2: Verifying Checksum [2023-03-20T18:27:45.006Z] 5d3b04190fa2: Download complete [2023-03-20T18:27:45.006Z] ec43610c2a17: Verifying Checksum [2023-03-20T18:27:45.006Z] ec43610c2a17: Download complete [2023-03-20T18:27:45.006Z] 5eb5b503b376: Verifying Checksum [2023-03-20T18:27:45.006Z] 5eb5b503b376: Download complete [2023-03-20T18:27:45.939Z] 2f39f015ded8: Verifying Checksum [2023-03-20T18:27:45.939Z] 2f39f015ded8: Download complete [2023-03-20T18:27:46.197Z] 5eb5b503b376: Pull complete [2023-03-20T18:27:46.455Z] 5c69ac0246d0: Pull complete [2023-03-20T18:27:47.021Z] ec43610c2a17: Pull complete [2023-03-20T18:27:47.021Z] 3a2ae6a8a46f: Pull complete [2023-03-20T18:27:47.021Z] 33b1e0a273af: Pull complete [2023-03-20T18:27:47.279Z] 5d3b04190fa2: Pull complete [2023-03-20T18:27:51.460Z] 2f39f015ded8: Pull complete [2023-03-20T18:27:51.460Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-03-20T18:27:51.460Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-20T18:27:51.460Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-20T18:27:51.548Z] prd-ubuntu20.04-docker-8c-8g-4619 does not seem to be running inside a container [2023-03-20T18:27:51.576Z] $ 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-1394 -v /w/workspace/gexfoundry_device-sdk-go_PR-1394:/w/workspace/gexfoundry_device-sdk-go_PR-1394:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1394@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1394@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-20T18:27:54.975Z] $ docker top 0923d2f1a1770469bcdf3d79a83e25b636ef19a22616e01980fd90b5bb20cab3 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-20T18:27:55.350Z] ---> job-cost.sh [2023-03-20T18:27:55.350Z] lf-activate-venv: SKIPPING [2023-03-20T18:27:55.350Z] INFO: No Stack... [2023-03-20T18:27:55.608Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-20T18:27:55.866Z] INFO: Archiving Costs [Pipeline] sh [2023-03-20T18:27:56.150Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1394/archives/cost.csv [2023-03-20T18:27:56.150Z] + cut -d, -f6 [Pipeline] lock [2023-03-20T18:27:56.162Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1394-2-stack-cost] [2023-03-20T18:27:56.171Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1394-2-stack-cost] did not exist. Created. [2023-03-20T18:27:56.171Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1394-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-20T18:27:56.467Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-03-20T18:27:56.496Z] Stashed 1 file(s) [Pipeline] } [2023-03-20T18:27:56.502Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1394-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-20T18:27:56.523Z] $ docker stop --time=1 0923d2f1a1770469bcdf3d79a83e25b636ef19a22616e01980fd90b5bb20cab3 [2023-03-20T18:27:57.676Z] $ docker rm -f --volumes 0923d2f1a1770469bcdf3d79a83e25b636ef19a22616e01980fd90b5bb20cab3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-20T18:29:15.546Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-4620 in /w/workspace/gexfoundry_device-sdk-go_PR-1394 [Pipeline] { [Pipeline] ws [2023-03-20T18:29:15.559Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2023-03-20T18:29:15.596Z] The recommended git tool is: git [2023-03-20T18:29:22.177Z] using credential edgex-jenkins-ssh [2023-03-20T18:29:22.202Z] Cloning the remote Git repository [2023-03-20T18:29:22.267Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-03-20T18:29:22.373Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2023-03-20T18:29:22.527Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-03-20T18:29:22.528Z] > git --version # timeout=10 [2023-03-20T18:29:22.547Z] > git --version # 'git version 2.25.1' [2023-03-20T18:29:22.550Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-20T18:29:22.707Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-20T18:29:24.283Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-03-20T18:29:24.308Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-20T18:29:25.282Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-03-20T18:29:25.328Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-03-20T18:29:25.329Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-20T18:29:25.346Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1394/head:refs/remotes/origin/PR-1394 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-03-20T18:29:26.003Z] Merging remotes/origin/main commit 4c78050fc70b733cd627e11bc3f887100bb2ef6f into PR head commit 81658ed8760a2d6fb3f51ecd7b021f076fdecae6 [2023-03-20T18:29:26.328Z] Merge succeeded, producing 81658ed8760a2d6fb3f51ecd7b021f076fdecae6 [2023-03-20T18:29:26.328Z] Checking out Revision 81658ed8760a2d6fb3f51ecd7b021f076fdecae6 (PR-1394) [2023-03-20T18:29:26.023Z] > git config core.sparsecheckout # timeout=10 [2023-03-20T18:29:26.109Z] > git checkout -f 81658ed8760a2d6fb3f51ecd7b021f076fdecae6 # timeout=10 [2023-03-20T18:29:26.223Z] > git remote # timeout=10 [2023-03-20T18:29:26.244Z] > git config --get remote.origin.url # timeout=10 [2023-03-20T18:29:26.263Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-20T18:29:26.278Z] > git merge 4c78050fc70b733cd627e11bc3f887100bb2ef6f # timeout=10 [2023-03-20T18:29:26.304Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-03-20T18:29:26.337Z] > git config core.sparsecheckout # timeout=10 [2023-03-20T18:29:26.349Z] > git checkout -f 81658ed8760a2d6fb3f51ecd7b021f076fdecae6 # timeout=10 [2023-03-20T18:29:29.858Z] Commit message: "fix: fixed feedback comments" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-20T18:29:30.802Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-03-20T18:29:30.802Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-20T18:29:30.802Z] Dload Upload Total Spent Left Speed [2023-03-20T18:29:30.802Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 83339 0 --:--:-- --:--:-- --:--:-- 83339 [Pipeline] sh [2023-03-20T18:29:31.441Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-03-20T18:29:31.773Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-03-20T18:29:31.773Z] + sudo tee /etc/docker/daemon.new [2023-03-20T18:29:31.773Z] { [2023-03-20T18:29:31.773Z] "registry-mirrors": [ [2023-03-20T18:29:31.773Z] "https://nexus3.edgexfoundry.org:10001" [2023-03-20T18:29:31.773Z] ], [2023-03-20T18:29:31.773Z] "bip": "10.250.0.254/24", [2023-03-20T18:29:31.773Z] "hosts": [ [2023-03-20T18:29:31.773Z] "tcp://0.0.0.0:5555", [2023-03-20T18:29:31.773Z] "unix:///var/run/docker.sock" [2023-03-20T18:29:31.773Z] ], [2023-03-20T18:29:31.773Z] "mtu": 1458, [2023-03-20T18:29:31.773Z] "selinux-enabled": true, [2023-03-20T18:29:31.773Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-03-20T18:29:31.773Z] } [Pipeline] sh [2023-03-20T18:29:32.104Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-03-20T18:29:32.439Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-20T18:29:50.707Z] provisioning config files... [2023-03-20T18:29:50.732Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config4748310563737402108tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-20T18:29:51.079Z] ---> docker-login.sh [2023-03-20T18:29:51.079Z] nexus3.edgexfoundry.org:10001 [2023-03-20T18:29:51.348Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-20T18:29:51.945Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-20T18:29:51.945Z] Configure a credential helper to remove this warning. See [2023-03-20T18:29:51.945Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-20T18:29:51.945Z] [2023-03-20T18:29:51.945Z] Login Succeeded [2023-03-20T18:29:51.945Z] nexus3.edgexfoundry.org:10002 [2023-03-20T18:29:51.945Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-20T18:29:52.217Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-20T18:29:52.217Z] Configure a credential helper to remove this warning. See [2023-03-20T18:29:52.217Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-20T18:29:52.217Z] [2023-03-20T18:29:52.217Z] Login Succeeded [2023-03-20T18:29:52.217Z] nexus3.edgexfoundry.org:10003 [2023-03-20T18:29:52.217Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-20T18:29:52.485Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-20T18:29:52.485Z] Configure a credential helper to remove this warning. See [2023-03-20T18:29:52.485Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-20T18:29:52.485Z] [2023-03-20T18:29:52.485Z] Login Succeeded [2023-03-20T18:29:52.485Z] nexus3.edgexfoundry.org:10004 [2023-03-20T18:29:52.753Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-20T18:29:52.753Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-20T18:29:52.753Z] Configure a credential helper to remove this warning. See [2023-03-20T18:29:52.753Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-20T18:29:52.753Z] [2023-03-20T18:29:52.753Z] Login Succeeded [2023-03-20T18:29:52.753Z] docker.io [2023-03-20T18:29:53.023Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-20T18:29:53.294Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-20T18:29:53.294Z] Configure a credential helper to remove this warning. See [2023-03-20T18:29:53.294Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-20T18:29:53.294Z] [2023-03-20T18:29:53.294Z] Login Succeeded [2023-03-20T18:29:53.294Z] ---> docker-login.sh ends [Pipeline] } [2023-03-20T18:29:53.309Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-20T18:29:53.577Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-20T18:29:53.589Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-20T18:29:53.599Z] ========================================================= [2023-03-20T18:29:53.599Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-03-20T18:29:53.599Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-20T18:29:53.946Z] + 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-03-20T18:29:54.545Z] Sending build context to Docker daemon 5.81MB [2023-03-20T18:29:54.545Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-03-20T18:29:54.545Z] Step 2/10 : FROM ${BASE} AS builder [2023-03-20T18:29:54.545Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-03-20T18:29:54.545Z] af6eaf76a39c: Pulling fs layer [2023-03-20T18:29:54.545Z] 55522c791124: Pulling fs layer [2023-03-20T18:29:54.545Z] ce5c4a1c91eb: Pulling fs layer [2023-03-20T18:29:54.545Z] 169dfbe0d373: Pulling fs layer [2023-03-20T18:29:54.545Z] e1ff8fa3b103: Pulling fs layer [2023-03-20T18:29:54.545Z] 52ebb69f0ebf: Pulling fs layer [2023-03-20T18:29:54.545Z] 5abe8eddf0d5: Pulling fs layer [2023-03-20T18:29:54.545Z] 169dfbe0d373: Waiting [2023-03-20T18:29:54.545Z] e1ff8fa3b103: Waiting [2023-03-20T18:29:54.545Z] 52ebb69f0ebf: Waiting [2023-03-20T18:29:54.546Z] 5abe8eddf0d5: Waiting [2023-03-20T18:29:54.546Z] 55522c791124: Verifying Checksum [2023-03-20T18:29:54.546Z] 55522c791124: Download complete [2023-03-20T18:29:54.546Z] 169dfbe0d373: Verifying Checksum [2023-03-20T18:29:54.546Z] 169dfbe0d373: Download complete [2023-03-20T18:29:54.820Z] e1ff8fa3b103: Verifying Checksum [2023-03-20T18:29:54.820Z] af6eaf76a39c: Verifying Checksum [2023-03-20T18:29:54.820Z] af6eaf76a39c: Download complete [2023-03-20T18:29:55.832Z] af6eaf76a39c: Pull complete [2023-03-20T18:29:55.832Z] 5abe8eddf0d5: Verifying Checksum [2023-03-20T18:29:55.832Z] 5abe8eddf0d5: Download complete [2023-03-20T18:29:56.423Z] 55522c791124: Pull complete [2023-03-20T18:29:57.401Z] ce5c4a1c91eb: Verifying Checksum [2023-03-20T18:29:57.401Z] ce5c4a1c91eb: Download complete [2023-03-20T18:29:57.401Z] 52ebb69f0ebf: Verifying Checksum [2023-03-20T18:29:57.401Z] 52ebb69f0ebf: Download complete [2023-03-20T18:30:09.783Z] ce5c4a1c91eb: Pull complete [2023-03-20T18:30:09.783Z] 169dfbe0d373: Pull complete [2023-03-20T18:30:09.783Z] e1ff8fa3b103: Pull complete [2023-03-20T18:30:15.145Z] 52ebb69f0ebf: Pull complete [2023-03-20T18:30:17.740Z] 5abe8eddf0d5: Pull complete [2023-03-20T18:30:17.740Z] Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f [2023-03-20T18:30:17.740Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-03-20T18:30:17.740Z] ---> 6cb57ee374ae [2023-03-20T18:30:17.740Z] Step 3/10 : ARG MAKE=make build [2023-03-20T18:30:19.173Z] ---> Running in cdce55e855e4 [2023-03-20T18:30:19.760Z] Removing intermediate container cdce55e855e4 [2023-03-20T18:30:19.760Z] ---> dd9a3ad147a4 [2023-03-20T18:30:19.760Z] Step 4/10 : WORKDIR /device-sdk-go [2023-03-20T18:30:19.760Z] ---> Running in 4f07c9e92f27 [2023-03-20T18:30:20.030Z] Removing intermediate container 4f07c9e92f27 [2023-03-20T18:30:20.030Z] ---> 9e0a65265583 [2023-03-20T18:30:20.030Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-03-20T18:30:20.030Z] ---> Running in fc1c6f91e129 [2023-03-20T18:30:20.300Z] Removing intermediate container fc1c6f91e129 [2023-03-20T18:30:20.300Z] ---> 121bde598dee [2023-03-20T18:30:20.300Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-03-20T18:30:20.572Z] ---> Running in caa25e78c78e [2023-03-20T18:30:21.540Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-20T18:30:22.129Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-20T18:30:23.553Z] OK: 263 MiB in 53 packages [2023-03-20T18:30:24.145Z] Removing intermediate container caa25e78c78e [2023-03-20T18:30:24.145Z] ---> 89196a7def58 [2023-03-20T18:30:24.145Z] Step 7/10 : COPY go.mod vendor* ./ [2023-03-20T18:30:26.739Z] ---> e932b5a9ef2c [2023-03-20T18:30:26.739Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-20T18:30:26.739Z] ---> Running in b2890bdfa81c [2023-03-20T18:31:34.663Z] Removing intermediate container b2890bdfa81c [2023-03-20T18:31:34.663Z] ---> f053037d24c3 [2023-03-20T18:31:34.663Z] Step 9/10 : COPY . . [2023-03-20T18:31:34.663Z] ---> eda9ab2df5fa [2023-03-20T18:31:34.663Z] Step 10/10 : RUN ${MAKE} [2023-03-20T18:31:34.663Z] ---> Running in f66e0e70c322 [2023-03-20T18:31:34.663Z] noop [2023-03-20T18:31:35.248Z] Removing intermediate container f66e0e70c322 [2023-03-20T18:31:35.248Z] ---> a4a71e1c1431 [2023-03-20T18:31:35.516Z] Successfully built a4a71e1c1431 [2023-03-20T18:31:35.516Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-20T18:31:35.871Z] + docker inspect -f . ci-base-image-arm64 [2023-03-20T18:31:35.871Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-20T18:31:36.095Z] prd-ubuntu20.04-docker-arm64-4c-16g-4620 does not seem to be running inside a container [2023-03-20T18:31:36.170Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-20T18:31:37.434Z] $ docker top 2e1a157e6843b564a74bc7708417c2b6e5ce594b1cbe02595ad8d6ccdc54f5c2 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-20T18:31:38.292Z] + go version [2023-03-20T18:31:38.293Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-03-20T18:31:38.319Z] $ docker stop --time=1 2e1a157e6843b564a74bc7708417c2b6e5ce594b1cbe02595ad8d6ccdc54f5c2 [2023-03-20T18:31:39.965Z] $ docker rm -f --volumes 2e1a157e6843b564a74bc7708417c2b6e5ce594b1cbe02595ad8d6ccdc54f5c2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-20T18:31:40.503Z] + docker inspect -f . ci-base-image-arm64 [2023-03-20T18:31:40.503Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-20T18:31:40.700Z] prd-ubuntu20.04-docker-arm64-4c-16g-4620 does not seem to be running inside a container [2023-03-20T18:31:40.787Z] $ 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/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-20T18:31:42.068Z] $ docker top 24bd7e335fb289b78a714e96e8753c9cdda34a5e9787979e93bdc18da3f0bdd8 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-20T18:31:42.899Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/2 [Pipeline] fileExists [Pipeline] sh [2023-03-20T18:31:43.551Z] + make test [2023-03-20T18:31:43.551Z] go test -race -coverprofile=coverage.out ./... [2023-03-20T18:32:30.423Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-03-20T18:34:52.137Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-03-20T18:34:52.137Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-03-20T18:34:52.137Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-03-20T18:34:52.137Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-03-20T18:34:52.137Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-03-20T18:34:52.718Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.198s coverage: 27.6% of statements [2023-03-20T18:34:54.127Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.268s coverage: 78.9% of statements [2023-03-20T18:35:04.191Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-03-20T18:35:04.191Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-03-20T18:35:04.191Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.373s coverage: 86.0% of statements [2023-03-20T18:35:08.449Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-03-20T18:35:08.449Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-03-20T18:35:09.031Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.483s coverage: 75.9% of statements [2023-03-20T18:35:11.610Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.289s coverage: 15.2% of statements [2023-03-20T18:35:14.209Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-03-20T18:35:14.209Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-03-20T18:35:14.209Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.434s coverage: 65.7% of statements [2023-03-20T18:35:16.162Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.461s coverage: 89.2% of statements [2023-03-20T18:35:19.502Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-03-20T18:35:19.502Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.251s coverage: 5.5% of statements [2023-03-20T18:35:19.773Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-03-20T18:35:19.773Z] GO111MODULE=on go vet ./... [2023-03-20T18:37:56.545Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-20T18:37:56.545Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-20T18:37:56.545Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-20T18:37:56.565Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-20T18:37:56.581Z] $ docker stop --time=1 24bd7e335fb289b78a714e96e8753c9cdda34a5e9787979e93bdc18da3f0bdd8 [2023-03-20T18:37:58.549Z] $ docker rm -f --volumes 24bd7e335fb289b78a714e96e8753c9cdda34a5e9787979e93bdc18da3f0bdd8 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-20T18:38:00.264Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-20T18:38:00.289Z] Warning: overwriting stash ‘coverage-report’ [2023-03-20T18:38:01.078Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-20T18:38:01.479Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-20T18:38:01.807Z] + ls -al . [2023-03-20T18:38:01.808Z] total 272 [2023-03-20T18:38:01.808Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 20 18:31 . [2023-03-20T18:38:01.808Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 20 18:29 .. [2023-03-20T18:38:01.808Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 20 18:29 .dockerignore [2023-03-20T18:38:01.808Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 20 18:29 .git [2023-03-20T18:38:01.808Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 20 18:29 .github [2023-03-20T18:38:01.808Z] -rw-rw-r-- 1 jenkins jenkins 131 Mar 20 18:29 .gitignore [2023-03-20T18:38:01.808Z] -rw-rw-r-- 1 jenkins jenkins 42 Mar 20 18:29 .golangci.yml [2023-03-20T18:38:01.808Z] -rw-rw-r-- 1 jenkins jenkins 31677 Mar 20 18:29 CHANGELOG.md [2023-03-20T18:38:01.808Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 20 18:29 GOVERNANCE.md [2023-03-20T18:38:01.808Z] -rw-rw-r-- 1 jenkins jenkins 885 Mar 20 18:29 Jenkinsfile [2023-03-20T18:38:01.808Z] -rw-rw-r-- 1 jenkins jenkins 11341 Mar 20 18:29 LICENSE [2023-03-20T18:38:01.808Z] -rw-rw-r-- 1 jenkins jenkins 1714 Mar 20 18:29 Makefile [2023-03-20T18:38:01.808Z] -rw-rw-r-- 1 jenkins jenkins 619 Mar 20 18:29 OWNERS.md [2023-03-20T18:38:01.808Z] -rw-rw-r-- 1 jenkins jenkins 4891 Mar 20 18:29 README.md [2023-03-20T18:38:01.808Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 20 18:25 VERSION [2023-03-20T18:38:01.808Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 20 18:29 bin [2023-03-20T18:38:01.808Z] -rw-r--r-- 1 jenkins jenkins 109537 Mar 20 18:35 coverage.out [2023-03-20T18:38:01.808Z] drwxrwxr-x 5 jenkins jenkins 4096 Mar 20 18:29 example [2023-03-20T18:38:01.808Z] -rw-rw-r-- 1 jenkins jenkins 3291 Mar 20 18:29 go.mod [2023-03-20T18:38:01.808Z] -rw-rw-r-- 1 jenkins jenkins 30841 Mar 20 18:29 go.sum [2023-03-20T18:38:01.808Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 20 18:29 internal [2023-03-20T18:38:01.808Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 20 18:29 openapi [2023-03-20T18:38:01.808Z] drwxrwxr-x 6 jenkins jenkins 4096 Mar 20 18:29 pkg [2023-03-20T18:38:01.808Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 20 18:29 snap [2023-03-20T18:38:01.808Z] -rw-rw-r-- 1 jenkins jenkins 222 Mar 20 18:29 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-20T18:38:02.189Z] + 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=81658ed8760a2d6fb3f51ecd7b021f076fdecae6 --label arch=arm64 --label version=0.0.0 . [2023-03-20T18:38:02.793Z] Sending build context to Docker daemon 5.92MB [2023-03-20T18:38:02.793Z] Step 1/23 : ARG BASE=golang:1.20-alpine3.17 [2023-03-20T18:38:02.793Z] Step 2/23 : FROM ${BASE} AS builder [2023-03-20T18:38:02.793Z] ---> a4a71e1c1431 [2023-03-20T18:38:02.793Z] Step 3/23 : ARG MAKE=make build [2023-03-20T18:38:05.415Z] ---> Running in 139fa960f033 [2023-03-20T18:38:05.415Z] Removing intermediate container 139fa960f033 [2023-03-20T18:38:05.415Z] ---> 0bb66dd2853d [2023-03-20T18:38:05.415Z] Step 4/23 : WORKDIR /device-sdk-go [2023-03-20T18:38:05.415Z] ---> Running in 63950a70a6a7 [2023-03-20T18:38:05.683Z] Removing intermediate container 63950a70a6a7 [2023-03-20T18:38:05.683Z] ---> 43c87bca70f8 [2023-03-20T18:38:05.683Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-03-20T18:38:05.683Z] ---> Running in 120c52e430c4 [2023-03-20T18:38:05.950Z] Removing intermediate container 120c52e430c4 [2023-03-20T18:38:05.950Z] ---> 5bf827e62dd5 [2023-03-20T18:38:05.950Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-03-20T18:38:06.218Z] ---> Running in 75196b0b0371 [2023-03-20T18:38:07.179Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-20T18:38:08.141Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-20T18:38:09.550Z] OK: 263 MiB in 53 packages [2023-03-20T18:38:10.134Z] Removing intermediate container 75196b0b0371 [2023-03-20T18:38:10.134Z] ---> a74ef50e6b0a [2023-03-20T18:38:10.134Z] Step 7/23 : COPY go.mod vendor* ./ [2023-03-20T18:38:10.743Z] ---> c7e1e9085af8 [2023-03-20T18:38:10.743Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-20T18:38:10.743Z] ---> Running in 3f3470597d65 [2023-03-20T18:38:14.107Z] Removing intermediate container 3f3470597d65 [2023-03-20T18:38:14.107Z] ---> 3eb24d9ec074 [2023-03-20T18:38:14.107Z] Step 9/23 : COPY . . [2023-03-20T18:38:15.066Z] ---> 487171e9c1e0 [2023-03-20T18:38:15.066Z] Step 10/23 : RUN ${MAKE} [2023-03-20T18:38:15.066Z] ---> Running in 4a19ad8293c1 [2023-03-20T18:38:16.024Z] 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-03-20T18:40:37.733Z] Removing intermediate container 4a19ad8293c1 [2023-03-20T18:40:37.733Z] ---> 4e8f3772958c [2023-03-20T18:40:37.733Z] Step 11/23 : FROM alpine:3.17 [2023-03-20T18:40:37.733Z] 3.17: Pulling from library/alpine [2023-03-20T18:40:37.733Z] af6eaf76a39c: Already exists [2023-03-20T18:40:37.733Z] Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 [2023-03-20T18:40:37.733Z] Status: Downloaded newer image for alpine:3.17 [2023-03-20T18:40:37.733Z] ---> d74e625d9115 [2023-03-20T18:40:37.733Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-03-20T18:40:37.733Z] ---> Running in 44cc87bb6aad [2023-03-20T18:40:37.733Z] Removing intermediate container 44cc87bb6aad [2023-03-20T18:40:37.733Z] ---> cb44e7be5296 [2023-03-20T18:40:37.733Z] Step 13/23 : RUN apk add --update --no-cache [2023-03-20T18:40:37.733Z] ---> Running in 504abb1e24bf [2023-03-20T18:40:38.698Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-20T18:40:39.282Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-20T18:40:40.701Z] OK: 7 MiB in 15 packages [2023-03-20T18:40:41.289Z] Removing intermediate container 504abb1e24bf [2023-03-20T18:40:41.289Z] ---> 237a408e40b8 [2023-03-20T18:40:41.289Z] Step 14/23 : WORKDIR / [2023-03-20T18:40:41.289Z] ---> Running in 95bf618df19b [2023-03-20T18:40:41.876Z] Removing intermediate container 95bf618df19b [2023-03-20T18:40:41.876Z] ---> 9c254dbd8284 [2023-03-20T18:40:41.876Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-03-20T18:40:42.463Z] ---> 3139563b22e7 [2023-03-20T18:40:42.463Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-03-20T18:40:43.877Z] ---> b7835d8e7bd0 [2023-03-20T18:40:43.877Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-03-20T18:40:44.147Z] ---> f0879462e50b [2023-03-20T18:40:44.147Z] Step 18/23 : EXPOSE 59999 [2023-03-20T18:40:44.418Z] ---> Running in 3035a7b1fe24 [2023-03-20T18:40:44.685Z] Removing intermediate container 3035a7b1fe24 [2023-03-20T18:40:44.685Z] ---> cf0e278edd12 [2023-03-20T18:40:44.685Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-03-20T18:40:44.685Z] ---> Running in 5cd0f1c7c5b8 [2023-03-20T18:40:44.953Z] Removing intermediate container 5cd0f1c7c5b8 [2023-03-20T18:40:44.953Z] ---> a10ee0a9ae2b [2023-03-20T18:40:44.953Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-03-20T18:40:45.222Z] ---> Running in f1f13b909396 [2023-03-20T18:40:45.499Z] Removing intermediate container f1f13b909396 [2023-03-20T18:40:45.499Z] ---> d5ac1c13ea78 [2023-03-20T18:40:45.499Z] Step 21/23 : LABEL arch=arm64 [2023-03-20T18:40:45.499Z] ---> Running in 4aba3ae9af32 [2023-03-20T18:40:45.766Z] Removing intermediate container 4aba3ae9af32 [2023-03-20T18:40:45.766Z] ---> 84315f56dcb3 [2023-03-20T18:40:45.766Z] Step 22/23 : LABEL git_sha=81658ed8760a2d6fb3f51ecd7b021f076fdecae6 [2023-03-20T18:40:45.766Z] ---> Running in 8a9ab04ebc08 [2023-03-20T18:40:46.035Z] Removing intermediate container 8a9ab04ebc08 [2023-03-20T18:40:46.035Z] ---> 89a23b75dea6 [2023-03-20T18:40:46.035Z] Step 23/23 : LABEL version=0.0.0 [2023-03-20T18:40:46.302Z] ---> Running in 414b3f28e67c [2023-03-20T18:40:46.569Z] Removing intermediate container 414b3f28e67c [2023-03-20T18:40:46.569Z] ---> 49087554061e [2023-03-20T18:40:46.569Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-20T18:40:46.569Z] Successfully built 49087554061e [2023-03-20T18:40:46.569Z] 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-03-20T18:40:46.973Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-20T18:40:46.973Z] [2023-03-20T18:40:46.973Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-20T18:40:47.307Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-20T18:40:47.579Z] arm64: Pulling from edgex-lftools-log-publisher [2023-03-20T18:40:47.579Z] 8998bd30e6a1: Pulling fs layer [2023-03-20T18:40:47.579Z] 04944245beec: Pulling fs layer [2023-03-20T18:40:47.579Z] 699f458cf7ca: Pulling fs layer [2023-03-20T18:40:47.579Z] 765212b225bb: Pulling fs layer [2023-03-20T18:40:47.579Z] f23df028b6ca: Pulling fs layer [2023-03-20T18:40:47.579Z] d65c8cfc05b1: Pulling fs layer [2023-03-20T18:40:47.579Z] 2437ff75d9bd: Pulling fs layer [2023-03-20T18:40:47.579Z] f23df028b6ca: Waiting [2023-03-20T18:40:47.579Z] d65c8cfc05b1: Waiting [2023-03-20T18:40:47.579Z] 765212b225bb: Waiting [2023-03-20T18:40:47.579Z] 04944245beec: Download complete [2023-03-20T18:40:47.579Z] 765212b225bb: Verifying Checksum [2023-03-20T18:40:47.579Z] 765212b225bb: Download complete [2023-03-20T18:40:47.849Z] f23df028b6ca: Verifying Checksum [2023-03-20T18:40:47.849Z] f23df028b6ca: Download complete [2023-03-20T18:40:47.849Z] d65c8cfc05b1: Verifying Checksum [2023-03-20T18:40:47.849Z] d65c8cfc05b1: Download complete [2023-03-20T18:40:47.849Z] 699f458cf7ca: Verifying Checksum [2023-03-20T18:40:47.849Z] 699f458cf7ca: Download complete [2023-03-20T18:40:48.440Z] 8998bd30e6a1: Verifying Checksum [2023-03-20T18:40:48.440Z] 8998bd30e6a1: Download complete [2023-03-20T18:40:50.399Z] 2437ff75d9bd: Verifying Checksum [2023-03-20T18:40:50.399Z] 2437ff75d9bd: Download complete [2023-03-20T18:40:52.342Z] 8998bd30e6a1: Pull complete [2023-03-20T18:40:52.933Z] 04944245beec: Pull complete [2023-03-20T18:40:54.349Z] 699f458cf7ca: Pull complete [2023-03-20T18:40:54.349Z] 765212b225bb: Pull complete [2023-03-20T18:40:55.314Z] f23df028b6ca: Pull complete [2023-03-20T18:40:55.314Z] d65c8cfc05b1: Pull complete [2023-03-20T18:41:10.314Z] 2437ff75d9bd: Pull complete [2023-03-20T18:41:10.314Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-03-20T18:41:10.314Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-20T18:41:10.314Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-20T18:41:10.507Z] prd-ubuntu20.04-docker-arm64-4c-16g-4620 does not seem to be running inside a container [2023-03-20T18:41:10.581Z] $ 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/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-03-20T18:41:13.385Z] $ docker top aa0ef5058fa342bf9994fca5cb2db2985adb0e9e10b94acc94763a4f52b610cd -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-20T18:41:14.252Z] ---> job-cost.sh [2023-03-20T18:41:14.252Z] lf-activate-venv: SKIPPING [2023-03-20T18:41:14.252Z] INFO: No Stack... [2023-03-20T18:41:14.841Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-03-20T18:41:15.809Z] INFO: Archiving Costs [Pipeline] sh [2023-03-20T18:41:16.470Z] + + cutcat -d, /w/workspace/device-sdk-go/2/archives/cost.csv -f6 [2023-03-20T18:41:16.470Z] [Pipeline] lock [2023-03-20T18:41:16.540Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1394-2-stack-cost] [2023-03-20T18:41:16.547Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1394-2-stack-cost] did not exist. Created. [2023-03-20T18:41:16.547Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1394-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-20T18:41:17.224Z] /w/workspace/device-sdk-go/2@tmp/durable-432a3f9a/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-03-20T18:41:17.884Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-03-20T18:41:17.908Z] Warning: overwriting stash ‘stack-cost’ [2023-03-20T18:41:17.976Z] Stashed 1 file(s) [Pipeline] } [2023-03-20T18:41:17.987Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1394-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-20T18:41:18.007Z] $ docker stop --time=1 aa0ef5058fa342bf9994fca5cb2db2985adb0e9e10b94acc94763a4f52b610cd [2023-03-20T18:41:19.558Z] $ docker rm -f --volumes aa0ef5058fa342bf9994fca5cb2db2985adb0e9e10b94acc94763a4f52b610cd [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-03-20T18:41:19.983Z] provisioning config files... [2023-03-20T18:41:19.991Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1394@tmp/config4907274829126158699tmp [Pipeline] { [Pipeline] sh [2023-03-20T18:41:20.275Z] + set +x [2023-03-20T18:41:20.276Z] + curl -s https://codecov.io/bash [2023-03-20T18:41:20.276Z] + bash -s -- [2023-03-20T18:41:20.276Z] [2023-03-20T18:41:20.276Z] _____ _ [2023-03-20T18:41:20.276Z] / ____| | | [2023-03-20T18:41:20.276Z] | | ___ __| | ___ ___ _____ __ [2023-03-20T18:41:20.276Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-03-20T18:41:20.276Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-03-20T18:41:20.276Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-03-20T18:41:20.276Z] Bash-1.0.6 [2023-03-20T18:41:20.276Z] [2023-03-20T18:41:20.276Z] [2023-03-20T18:41:20.276Z] ==> git version 2.25.1 found [2023-03-20T18:41:20.276Z] ==> 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-03-20T18:41:20.276Z] Release-Date: 2020-01-08 [2023-03-20T18:41:20.276Z] 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-03-20T18:41:20.276Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-03-20T18:41:20.276Z] ==> Jenkins CI detected. [2023-03-20T18:41:20.276Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1394 [2023-03-20T18:41:20.276Z] project root: . [2023-03-20T18:41:20.276Z] --> token set from env [2023-03-20T18:41:20.276Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-03-20T18:41:20.276Z] ==> Running gcov in . (disable via -X gcov) [2023-03-20T18:41:20.276Z] ==> Python coveragepy not found [2023-03-20T18:41:20.276Z] ==> Searching for coverage reports in: [2023-03-20T18:41:20.276Z] + . [2023-03-20T18:41:20.276Z] -> Found 1 reports [2023-03-20T18:41:20.276Z] ==> Detecting git/mercurial file structure [2023-03-20T18:41:20.535Z] ==> Reading reports [2023-03-20T18:41:20.535Z] + ./coverage.out bytes=109537 [2023-03-20T18:41:20.535Z] ==> Appending adjustments [2023-03-20T18:41:20.535Z] https://docs.codecov.io/docs/fixing-reports [2023-03-20T18:41:20.794Z] + Found adjustments [2023-03-20T18:41:20.794Z] ==> Gzipping contents [2023-03-20T18:41:20.794Z] 16K /tmp/codecov.pHjw3M.gz [2023-03-20T18:41:20.794Z] ==> Uploading reports [2023-03-20T18:41:20.794Z] url: https://codecov.io [2023-03-20T18:41:20.794Z] query: branch=PR-1394&commit=81658ed8760a2d6fb3f51ecd7b021f076fdecae6&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1394%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1394&job=&cmd_args= [2023-03-20T18:41:20.794Z] -> Pinging Codecov [2023-03-20T18:41:20.794Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1394&commit=81658ed8760a2d6fb3f51ecd7b021f076fdecae6&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1394%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1394&job=&cmd_args= [2023-03-20T18:41:20.794Z] -> Uploading to [2023-03-20T18:41:20.794Z] https://storage.googleapis.com/codecov/v4/raw/2023-03-20/7E55EF52A471D76F132DFD9A03CDDE97/81658ed8760a2d6fb3f51ecd7b021f076fdecae6/446b856d-d2b8-4f00-8696-9bf9f839f289.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230320%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230320T184120Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=3d7b2175b8b8bfd6df1f8693c6f7567589d84b67738f5464e6a8fc540a08c698 [2023-03-20T18:41:20.794Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-20T18:41:20.794Z] Dload Upload Total Spent Left Speed [2023-03-20T18:41:21.312Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 15211 0 0 100 15211 0 74931 --:--:-- --:--:-- --:--:-- 74563 100 15211 0 0 100 15211 0 53749 --:--:-- --:--:-- --:--:-- 53559 [2023-03-20T18:41:21.312Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/81658ed8760a2d6fb3f51ecd7b021f076fdecae6 [Pipeline] } [2023-03-20T18:41:21.319Z] 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-03-20T18:41:21.987Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1394/archives ] [2023-03-20T18:41:21.987Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1394/archives [2023-03-20T18:41:21.987Z] total 16 [2023-03-20T18:41:21.987Z] drwxr-xr-x 3 root root 4096 Mar 20 18:27 . [2023-03-20T18:41:21.987Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 20 18:27 .. [2023-03-20T18:41:21.987Z] drwxr-xr-x 2 root root 4096 Mar 20 18:27 cost [2023-03-20T18:41:21.987Z] -rw-r--r-- 1 root root 86 Mar 20 18:27 cost.csv [2023-03-20T18:41:21.987Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1394/archives [2023-03-20T18:41:21.987Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1394/archives [2023-03-20T18:41:21.987Z] total 16 [2023-03-20T18:41:21.987Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 20 18:27 . [2023-03-20T18:41:21.987Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 20 18:27 .. [2023-03-20T18:41:21.987Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 20 18:27 cost [2023-03-20T18:41:21.987Z] -rw-r--r-- 1 jenkins jenkins 86 Mar 20 18:27 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-03-20T18:41:22.280Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-20T18:41:23.138Z] ---> package-listing.sh [2023-03-20T18:41:23.138Z] ++ facter osfamily [2023-03-20T18:41:23.138Z] ++ tr '[:upper:]' '[:lower:]' [2023-03-20T18:41:23.400Z] + OS_FAMILY=debian [2023-03-20T18:41:23.400Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1394 [2023-03-20T18:41:23.400Z] + START_PACKAGES=/tmp/packages_start.txt [2023-03-20T18:41:23.400Z] + END_PACKAGES=/tmp/packages_end.txt [2023-03-20T18:41:23.400Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-03-20T18:41:23.400Z] + PACKAGES=/tmp/packages_start.txt [2023-03-20T18:41:23.400Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1394 ']' [2023-03-20T18:41:23.400Z] + PACKAGES=/tmp/packages_end.txt [2023-03-20T18:41:23.400Z] + case "${OS_FAMILY}" in [2023-03-20T18:41:23.400Z] + dpkg -l [2023-03-20T18:41:23.400Z] + grep '^ii' [2023-03-20T18:41:23.400Z] + '[' -f /tmp/packages_start.txt ']' [2023-03-20T18:41:23.400Z] + '[' -f /tmp/packages_end.txt ']' [2023-03-20T18:41:23.400Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-03-20T18:41:23.400Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1394 ']' [2023-03-20T18:41:23.400Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1394/archives/ [2023-03-20T18:41:23.400Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1394/archives/ [Pipeline] echo [2023-03-20T18:41:23.410Z] 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-1394/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-03-20T18:41:23.686Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-20T18:41:24.239Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-20T18:41:24.239Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-20T18:41:24.312Z] prd-ubuntu20.04-docker-8c-8g-4619 does not seem to be running inside a container [2023-03-20T18:41:24.346Z] $ 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-1394/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-1394 -v /w/workspace/gexfoundry_device-sdk-go_PR-1394:/w/workspace/gexfoundry_device-sdk-go_PR-1394:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1394@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1394@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-20T18:41:24.534Z] $ docker top 235c67d4b4c36f2edd28737c3ce5ec15991b2f85b85dc017aab1ea631406c67e -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-20T18:41:24.863Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-03-20T18:41:25.149Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-03-20T18:41:25.435Z] + ls /var/log/sa-host [2023-03-20T18:41:25.435Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-20T18:41:25.583Z] provisioning config files... [2023-03-20T18:41:25.592Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1394@tmp/config17679822104214379839tmp [Pipeline] { [Pipeline] echo [2023-03-20T18:41:25.602Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-20T18:41:25.886Z] ---> create-netrc.sh [Pipeline] } [2023-03-20T18:41:25.893Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-03-20T18:41:26.225Z] ---> python-tools-install.sh [Pipeline] echo [2023-03-20T18:41:26.233Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-20T18:41:26.514Z] ---> sudo-logs.sh [2023-03-20T18:41:26.514Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-03-20T18:41:26.541Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-20T18:41:26.825Z] ---> job-cost.sh [2023-03-20T18:41:26.825Z] lf-activate-venv: SKIPPING [2023-03-20T18:41:26.825Z] DEBUG: total: 0.2199999988079071 [2023-03-20T18:41:26.825Z] INFO: Retrieving Stack Cost... [2023-03-20T18:41:27.393Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-20T18:41:27.960Z] INFO: Archiving Costs [Pipeline] echo [2023-03-20T18:41:27.971Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-20T18:41:28.253Z] ---> logs-deploy.sh [2023-03-20T18:41:28.253Z] lf-activate-venv: SKIPPING [2023-03-20T18:41:28.253Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1394/2 [2023-03-20T18:41:28.253Z] INFO: archiving workspace using pattern(s): [2023-03-20T18:41:29.188Z] Archives upload complete. [2023-03-20T18:41:29.188Z] INFO: archiving logs to Nexus