Pull request #1345 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 hahattan for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 915ebad1e9b02ad812ee33781662f71824c92794+b7afc2aba7a1c5861c6c21c42b42dc1283ea5949 (9b36b3041b8b37b44a61cb664c81404c9da163f3) 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-ssh11897651539383439093.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh4642165709072705837.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-1345/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-1345/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh382417654344310571.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > 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-ssh12303429559800801529.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-1345/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-1345/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh5224737799551675223.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.18 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-7340’ Running on prd-ubuntu20.04-docker-8c-8g-7343 in /w/workspace/gexfoundry_device-sdk-go_PR-1345 [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-1345 # 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/1345/head:refs/remotes/origin/PR-1345 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit b7afc2aba7a1c5861c6c21c42b42dc1283ea5949 into PR head commit 915ebad1e9b02ad812ee33781662f71824c92794 Merge succeeded, producing 915ebad1e9b02ad812ee33781662f71824c92794 Checking out Revision 915ebad1e9b02ad812ee33781662f71824c92794 (PR-1345) > git config core.sparsecheckout # timeout=10 > git checkout -f 915ebad1e9b02ad812ee33781662f71824c92794 # 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 b7afc2aba7a1c5861c6c21c42b42dc1283ea5949 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 915ebad1e9b02ad812ee33781662f71824c92794 # timeout=10 Commit message: "refactor!: address PR request changes" First time build. Skipping changelog. > git rev-list --no-walk bb66b8c204369bdfdebca585240405043febbe36 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-02-24T06:18:02.970Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-02-24T06:18:03.031Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-02-24T06:18:03.051Z] ========================================================= [2023-02-24T06:18:03.052Z] EdgeX Global Pipelines Version Info [2023-02-24T06:18:03.052Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-02-24T06:18:03.769Z] ------------------- [2023-02-24T06:18:03.769Z] stable info: [2023-02-24T06:18:03.769Z] ------------------- [2023-02-24T06:18:03.769Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-02-24T06:18:03.769Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-24T06:18:03.769Z] Message: update stable to v1.0.244 [2023-02-24T06:18:04.339Z] ------------------- [2023-02-24T06:18:04.339Z] experimental info: [2023-02-24T06:18:04.339Z] ------------------- [2023-02-24T06:18:04.339Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-02-24T06:18:04.339Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-24T06:18:04.339Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-02-24T06:18:04.498Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-02-24T06:18:04.512Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-02-24T06:18:04.524Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-02-24T06:18:04.538Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-02-24T06:18:04.550Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-02-24T06:18:04.560Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-02-24T06:18:04.570Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-02-24T06:18:04.582Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-02-24T06:18:04.593Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-02-24T06:18:04.605Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-02-24T06:18:04.619Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-02-24T06:18:04.629Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-02-24T06:18:04.646Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-02-24T06:18:04.656Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-02-24T06:18:04.668Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-02-24T06:18:04.681Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-02-24T06:18:04.694Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-02-24T06:18:04.705Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-02-24T06:18:04.719Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-02-24T06:18:04.738Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-02-24T06:18:04.754Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-02-24T06:18:04.763Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2023-02-24T06:18:04.777Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-02-24T06:18:04.789Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-02-24T06:18:04.800Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-02-24T06:18:04.812Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-02-24T06:18:04.830Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-02-24T06:18:04.848Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1345 [Pipeline] echo [2023-02-24T06:18:04.858Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1345 [Pipeline] echo [2023-02-24T06:18:04.872Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1345 [Pipeline] echo [2023-02-24T06:18:04.887Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 915ebad1e9b02ad812ee33781662f71824c92794 [Pipeline] echo [2023-02-24T06:18:04.899Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 915ebad [Pipeline] echo [2023-02-24T06:18:04.915Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-24T06:18:04.951Z] provisioning config files... [2023-02-24T06:18:04.963Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1345@tmp/config18135191010055623055tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-24T06:18:05.268Z] ---> docker-login.sh [2023-02-24T06:18:05.268Z] nexus3.edgexfoundry.org:10001 [2023-02-24T06:18:05.535Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-24T06:18:05.535Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-24T06:18:05.535Z] Configure a credential helper to remove this warning. See [2023-02-24T06:18:05.535Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-24T06:18:05.535Z] [2023-02-24T06:18:05.535Z] Login Succeeded [2023-02-24T06:18:05.535Z] nexus3.edgexfoundry.org:10002 [2023-02-24T06:18:05.535Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-24T06:18:05.535Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-24T06:18:05.535Z] Configure a credential helper to remove this warning. See [2023-02-24T06:18:05.535Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-24T06:18:05.535Z] [2023-02-24T06:18:05.535Z] Login Succeeded [2023-02-24T06:18:05.797Z] nexus3.edgexfoundry.org:10003 [2023-02-24T06:18:05.797Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-24T06:18:05.797Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-24T06:18:05.797Z] Configure a credential helper to remove this warning. See [2023-02-24T06:18:05.797Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-24T06:18:05.797Z] [2023-02-24T06:18:05.797Z] Login Succeeded [2023-02-24T06:18:05.797Z] nexus3.edgexfoundry.org:10004 [2023-02-24T06:18:05.797Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-24T06:18:05.797Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-24T06:18:05.797Z] Configure a credential helper to remove this warning. See [2023-02-24T06:18:05.797Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-24T06:18:05.797Z] [2023-02-24T06:18:05.797Z] Login Succeeded [2023-02-24T06:18:05.797Z] docker.io [2023-02-24T06:18:06.057Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-24T06:18:06.321Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-24T06:18:06.321Z] Configure a credential helper to remove this warning. See [2023-02-24T06:18:06.321Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-24T06:18:06.321Z] [2023-02-24T06:18:06.321Z] Login Succeeded [2023-02-24T06:18:06.321Z] ---> docker-login.sh ends [Pipeline] } [2023-02-24T06:18:06.329Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-02-24T06:18:06.707Z] + git rev-list -1 --merges 915ebad1e9b02ad812ee33781662f71824c92794~1..915ebad1e9b02ad812ee33781662f71824c92794 [Pipeline] echo [2023-02-24T06:18:06.755Z] -----------> git rev-list -1 --merges 915ebad1e9b02ad812ee33781662f71824c92794~1..915ebad1e9b02ad812ee33781662f71824c92794 915ebad1e9b02ad812ee33781662f71824c92794 [false] [Pipeline] sh [2023-02-24T06:18:07.053Z] + git log --format=format:%s -1 915ebad1e9b02ad812ee33781662f71824c92794 [Pipeline] echo [2023-02-24T06:18:07.069Z] ========================================================= [2023-02-24T06:18:07.069Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-02-24T06:18:07.069Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-24T06:18:07.390Z] + git log --format=format:%s -1 915ebad1e9b02ad812ee33781662f71824c92794 [Pipeline] echo [2023-02-24T06:18:07.402Z] [semverPrep] GIT_COMMIT: 915ebad1e9b02ad812ee33781662f71824c92794, Commit Message: refactor!: address PR request changes [Pipeline] echo [2023-02-24T06:18:07.410Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-02-24T06:18:07.786Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-02-24T06:18:07.786Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-02-24T06:18:07.786Z] + [ -e /tmp/ssh_known_hosts ] [2023-02-24T06:18:07.786Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-02-24T06:18:07.786Z] + + sudo tee -a /etc/ssh/ssh_known_hosts [2023-02-24T06:18:07.786Z] echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-02-24T06:18:07.786Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-24T06:18:08.197Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-24T06:18:08.197Z] [2023-02-24T06:18:08.197Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-24T06:18:08.506Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-24T06:18:08.506Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-02-24T06:18:08.506Z] b85a868b505f: Pulling fs layer [2023-02-24T06:18:08.506Z] e2be974225ed: Pulling fs layer [2023-02-24T06:18:08.506Z] 339a4e72a1f5: Pulling fs layer [2023-02-24T06:18:08.506Z] 988bab9f4d93: Pulling fs layer [2023-02-24T06:18:08.506Z] 1469e6f7b9e6: Pulling fs layer [2023-02-24T06:18:08.506Z] eaf3925da568: Pulling fs layer [2023-02-24T06:18:08.506Z] bab4dde63d76: Pulling fs layer [2023-02-24T06:18:08.506Z] bde34c3a00c8: Pulling fs layer [2023-02-24T06:18:08.506Z] b352a97aabf1: Pulling fs layer [2023-02-24T06:18:08.506Z] 4872d77fe225: Pulling fs layer [2023-02-24T06:18:08.506Z] 5851b861e8e6: Pulling fs layer [2023-02-24T06:18:08.506Z] bab4dde63d76: Waiting [2023-02-24T06:18:08.506Z] bde34c3a00c8: Waiting [2023-02-24T06:18:08.506Z] 4872d77fe225: Waiting [2023-02-24T06:18:08.506Z] b352a97aabf1: Waiting [2023-02-24T06:18:08.506Z] 988bab9f4d93: Waiting [2023-02-24T06:18:08.506Z] eaf3925da568: Waiting [2023-02-24T06:18:08.506Z] 5851b861e8e6: Waiting [2023-02-24T06:18:08.506Z] e2be974225ed: Download complete [2023-02-24T06:18:08.506Z] 988bab9f4d93: Download complete [2023-02-24T06:18:08.771Z] 339a4e72a1f5: Verifying Checksum [2023-02-24T06:18:08.771Z] 339a4e72a1f5: Download complete [2023-02-24T06:18:08.771Z] 1469e6f7b9e6: Verifying Checksum [2023-02-24T06:18:08.771Z] 1469e6f7b9e6: Download complete [2023-02-24T06:18:08.771Z] eaf3925da568: Verifying Checksum [2023-02-24T06:18:08.771Z] eaf3925da568: Download complete [2023-02-24T06:18:08.771Z] bde34c3a00c8: Verifying Checksum [2023-02-24T06:18:08.771Z] bde34c3a00c8: Download complete [2023-02-24T06:18:08.771Z] b352a97aabf1: Verifying Checksum [2023-02-24T06:18:08.771Z] b352a97aabf1: Download complete [2023-02-24T06:18:09.030Z] 4872d77fe225: Verifying Checksum [2023-02-24T06:18:09.030Z] 4872d77fe225: Download complete [2023-02-24T06:18:09.030Z] 5851b861e8e6: Verifying Checksum [2023-02-24T06:18:09.030Z] 5851b861e8e6: Download complete [2023-02-24T06:18:09.030Z] b85a868b505f: Verifying Checksum [2023-02-24T06:18:09.030Z] b85a868b505f: Download complete [2023-02-24T06:18:09.288Z] bab4dde63d76: Verifying Checksum [2023-02-24T06:18:09.288Z] bab4dde63d76: Download complete [2023-02-24T06:18:10.221Z] b85a868b505f: Pull complete [2023-02-24T06:18:10.479Z] e2be974225ed: Pull complete [2023-02-24T06:18:10.738Z] 339a4e72a1f5: Pull complete [2023-02-24T06:18:10.997Z] 988bab9f4d93: Pull complete [2023-02-24T06:18:11.255Z] 1469e6f7b9e6: Pull complete [2023-02-24T06:18:11.255Z] eaf3925da568: Pull complete [2023-02-24T06:18:13.160Z] bab4dde63d76: Pull complete [2023-02-24T06:18:13.160Z] bde34c3a00c8: Pull complete [2023-02-24T06:18:13.160Z] b352a97aabf1: Pull complete [2023-02-24T06:18:13.160Z] 4872d77fe225: Pull complete [2023-02-24T06:18:13.160Z] 5851b861e8e6: Pull complete [2023-02-24T06:18:13.419Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-02-24T06:18:13.419Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-24T06:18:13.419Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-24T06:18:13.519Z] prd-ubuntu20.04-docker-8c-8g-7343 does not seem to be running inside a container [2023-02-24T06:18:13.595Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1345 -v /w/workspace/gexfoundry_device-sdk-go_PR-1345:/w/workspace/gexfoundry_device-sdk-go_PR-1345:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1345@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1345@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-02-24T06:18:14.992Z] $ docker top 712ad2dafe95e842f23b49629e1b494aa1df5ac1e0394af35efd71c69048e06b -eo pid,comm [2023-02-24T06:18:15.052Z] 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-02-24T06:18:15.052Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-02-24T06:18:15.090Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-24T06:18:15.090Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-24T06:18:15.205Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-24T06:18:15.207Z] $ docker exec 712ad2dafe95e842f23b49629e1b494aa1df5ac1e0394af35efd71c69048e06b ssh-agent [2023-02-24T06:18:15.325Z] SSH_AUTH_SOCK=/tmp/ssh-oKKxqfv1znVl/agent.32 [2023-02-24T06:18:15.325Z] SSH_AGENT_PID=38 [2023-02-24T06:18:15.332Z] Running ssh-add (command line suppressed) [2023-02-24T06:18:15.422Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1345@tmp/private_key_10905109447120120936.key (/w/workspace/gexfoundry_device-sdk-go_PR-1345@tmp/private_key_10905109447120120936.key) [2023-02-24T06:18:15.437Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-24T06:18:15.721Z] + git tag --points-at HEAD [Pipeline] } [2023-02-24T06:18:15.732Z] $ docker exec --env ******** --env ******** 712ad2dafe95e842f23b49629e1b494aa1df5ac1e0394af35efd71c69048e06b ssh-agent -k [2023-02-24T06:18:15.835Z] unset SSH_AUTH_SOCK; [2023-02-24T06:18:15.836Z] unset SSH_AGENT_PID; [2023-02-24T06:18:15.836Z] echo Agent pid 38 killed; [2023-02-24T06:18:15.848Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-02-24T06:18:15.874Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-24T06:18:15.874Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-24T06:18:15.997Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-24T06:18:15.998Z] $ docker exec 712ad2dafe95e842f23b49629e1b494aa1df5ac1e0394af35efd71c69048e06b ssh-agent [2023-02-24T06:18:16.123Z] SSH_AUTH_SOCK=/tmp/ssh-05s2MQqagzLo/agent.70 [2023-02-24T06:18:16.123Z] SSH_AGENT_PID=76 [2023-02-24T06:18:16.129Z] Running ssh-add (command line suppressed) [2023-02-24T06:18:16.241Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1345@tmp/private_key_4715436183741942413.key (/w/workspace/gexfoundry_device-sdk-go_PR-1345@tmp/private_key_4715436183741942413.key) [2023-02-24T06:18:16.257Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-24T06:18:16.546Z] + git semver init [2023-02-24T06:18:16.806Z] 2023-02-24 06:18:16,733 [run_init] DEBUG init version:0.0.0 force:False [2023-02-24T06:18:16.806Z] 2023-02-24 06:18:16,734 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1345/.semver [2023-02-24T06:18:16.806Z] 2023-02-24 06:18:16,735 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1345/.semver [2023-02-24T06:18:16.806Z] 2023-02-24 06:18:16,735 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1345/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1345, universal_newlines=False, shell=None, istream=None) [2023-02-24T06:18:17.747Z] 2023-02-24 06:18:17,700 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1345/.git/info/exclude [2023-02-24T06:18:17.747Z] 2023-02-24 06:18:17,701 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1345/.semver/PR-1345 with force:False [2023-02-24T06:18:17.747Z] 2023-02-24 06:18:17,701 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1345/.semver/PR-1345 [2023-02-24T06:18:17.747Z] 2023-02-24 06:18:17,705 [execute] INFO git cat-file --batch-check [2023-02-24T06:18:17.747Z] 2023-02-24 06:18:17,705 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1345/.semver, universal_newlines=False, shell=None, istream=) [2023-02-24T06:18:17.747Z] 2023-02-24 06:18:17,711 [execute] INFO git cat-file --batch [2023-02-24T06:18:17.747Z] 2023-02-24 06:18:17,712 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1345/.semver, universal_newlines=False, shell=None, istream=) [2023-02-24T06:18:17.747Z] 2023-02-24 06:18:17,717 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1345/.semver/PR-1345 [2023-02-24T06:18:17.747Z] 0.0.0 [Pipeline] } [2023-02-24T06:18:17.755Z] $ docker exec --env ******** --env ******** 712ad2dafe95e842f23b49629e1b494aa1df5ac1e0394af35efd71c69048e06b ssh-agent -k [2023-02-24T06:18:17.855Z] unset SSH_AUTH_SOCK; [2023-02-24T06:18:17.855Z] unset SSH_AGENT_PID; [2023-02-24T06:18:17.855Z] echo Agent pid 76 killed; [2023-02-24T06:18:17.866Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-02-24T06:18:18.174Z] + git semver [Pipeline] } [2023-02-24T06:18:18.445Z] $ docker stop --time=1 712ad2dafe95e842f23b49629e1b494aa1df5ac1e0394af35efd71c69048e06b [2023-02-24T06:18:19.785Z] $ docker rm -f --volumes 712ad2dafe95e842f23b49629e1b494aa1df5ac1e0394af35efd71c69048e06b [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-24T06:18:20.122Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-02-24T06:18:20.322Z] Stashed 1 file(s) [Pipeline] echo [2023-02-24T06:18:20.326Z] [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-02-24T06:18:20.488Z] provisioning config files... [2023-02-24T06:18:20.499Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1345@tmp/config10478806450582379789tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-24T06:18:20.797Z] ---> docker-login.sh [2023-02-24T06:18:20.797Z] nexus3.edgexfoundry.org:10001 [2023-02-24T06:18:20.797Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-24T06:18:20.797Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-24T06:18:20.797Z] Configure a credential helper to remove this warning. See [2023-02-24T06:18:20.797Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-24T06:18:20.797Z] [2023-02-24T06:18:20.797Z] Login Succeeded [2023-02-24T06:18:20.797Z] nexus3.edgexfoundry.org:10002 [2023-02-24T06:18:20.797Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-24T06:18:20.797Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-24T06:18:20.797Z] Configure a credential helper to remove this warning. See [2023-02-24T06:18:20.797Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-24T06:18:20.797Z] [2023-02-24T06:18:20.797Z] Login Succeeded [2023-02-24T06:18:20.797Z] nexus3.edgexfoundry.org:10003 [2023-02-24T06:18:21.056Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-24T06:18:21.056Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-24T06:18:21.056Z] Configure a credential helper to remove this warning. See [2023-02-24T06:18:21.056Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-24T06:18:21.056Z] [2023-02-24T06:18:21.056Z] Login Succeeded [2023-02-24T06:18:21.056Z] nexus3.edgexfoundry.org:10004 [2023-02-24T06:18:21.056Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-24T06:18:21.057Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-24T06:18:21.057Z] Configure a credential helper to remove this warning. See [2023-02-24T06:18:21.057Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-24T06:18:21.057Z] [2023-02-24T06:18:21.057Z] Login Succeeded [2023-02-24T06:18:21.057Z] docker.io [2023-02-24T06:18:21.315Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-24T06:18:21.315Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-24T06:18:21.315Z] Configure a credential helper to remove this warning. See [2023-02-24T06:18:21.315Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-24T06:18:21.315Z] [2023-02-24T06:18:21.315Z] Login Succeeded [2023-02-24T06:18:21.315Z] ---> docker-login.sh ends [Pipeline] } [2023-02-24T06:18:21.323Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-24T06:18:21.376Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-24T06:18:21.387Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-24T06:18:21.394Z] ========================================================= [2023-02-24T06:18:21.394Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-02-24T06:18:21.394Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-24T06:18:21.702Z] + 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.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-02-24T06:18:21.702Z] Sending build context to Docker daemon 10.72MB [2023-02-24T06:18:21.702Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-02-24T06:18:21.702Z] Step 2/10 : FROM ${BASE} AS builder [2023-02-24T06:18:21.702Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-02-24T06:18:21.702Z] 213ec9aee27d: Pulling fs layer [2023-02-24T06:18:21.702Z] 4583459ba037: Pulling fs layer [2023-02-24T06:18:21.702Z] 93c1e223e6f2: Pulling fs layer [2023-02-24T06:18:21.702Z] 53926ce57604: Pulling fs layer [2023-02-24T06:18:21.702Z] 21b2b0c7a3f4: Pulling fs layer [2023-02-24T06:18:21.702Z] 22ff95d597cd: Pulling fs layer [2023-02-24T06:18:21.702Z] 12d6caf4c0d1: Pulling fs layer [2023-02-24T06:18:21.702Z] 96b7cbca73a9: Pulling fs layer [2023-02-24T06:18:21.702Z] a7acece74701: Pulling fs layer [2023-02-24T06:18:21.702Z] 53926ce57604: Waiting [2023-02-24T06:18:21.702Z] 21b2b0c7a3f4: Waiting [2023-02-24T06:18:21.702Z] 96b7cbca73a9: Waiting [2023-02-24T06:18:21.702Z] 22ff95d597cd: Waiting [2023-02-24T06:18:21.702Z] a7acece74701: Waiting [2023-02-24T06:18:21.702Z] 12d6caf4c0d1: Waiting [2023-02-24T06:18:21.702Z] 93c1e223e6f2: Download complete [2023-02-24T06:18:21.702Z] 4583459ba037: Verifying Checksum [2023-02-24T06:18:21.702Z] 4583459ba037: Download complete [2023-02-24T06:18:21.964Z] 21b2b0c7a3f4: Verifying Checksum [2023-02-24T06:18:21.964Z] 21b2b0c7a3f4: Download complete [2023-02-24T06:18:21.964Z] 22ff95d597cd: Verifying Checksum [2023-02-24T06:18:21.964Z] 22ff95d597cd: Download complete [2023-02-24T06:18:21.964Z] 213ec9aee27d: Download complete [2023-02-24T06:18:21.964Z] 12d6caf4c0d1: Verifying Checksum [2023-02-24T06:18:21.964Z] 12d6caf4c0d1: Download complete [2023-02-24T06:18:21.964Z] 213ec9aee27d: Pull complete [2023-02-24T06:18:22.235Z] 4583459ba037: Pull complete [2023-02-24T06:18:22.235Z] 93c1e223e6f2: Pull complete [2023-02-24T06:18:22.496Z] a7acece74701: Verifying Checksum [2023-02-24T06:18:22.496Z] a7acece74701: Download complete [2023-02-24T06:18:22.756Z] 53926ce57604: Download complete [2023-02-24T06:18:22.756Z] 96b7cbca73a9: Verifying Checksum [2023-02-24T06:18:22.756Z] 96b7cbca73a9: Download complete [2023-02-24T06:18:26.945Z] 53926ce57604: Pull complete [2023-02-24T06:18:26.945Z] 21b2b0c7a3f4: Pull complete [2023-02-24T06:18:26.945Z] 22ff95d597cd: Pull complete [2023-02-24T06:18:26.945Z] 12d6caf4c0d1: Pull complete [2023-02-24T06:18:28.322Z] 96b7cbca73a9: Pull complete [2023-02-24T06:18:29.256Z] a7acece74701: Pull complete [2023-02-24T06:18:29.256Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-02-24T06:18:29.256Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-02-24T06:18:29.256Z] ---> db6d94c90886 [2023-02-24T06:18:29.256Z] Step 3/10 : ARG MAKE=make build [2023-02-24T06:18:30.634Z] ---> Running in 265aa03d2211 [2023-02-24T06:18:30.896Z] Removing intermediate container 265aa03d2211 [2023-02-24T06:18:30.896Z] ---> 8bf6192ea3af [2023-02-24T06:18:30.896Z] Step 4/10 : WORKDIR /device-sdk-go [2023-02-24T06:18:30.896Z] ---> Running in 686ba2a94c36 [2023-02-24T06:18:30.896Z] Removing intermediate container 686ba2a94c36 [2023-02-24T06:18:30.896Z] ---> a838c5a2dbcd [2023-02-24T06:18:30.896Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-02-24T06:18:30.896Z] ---> Running in 3e4c8ef08d0b [2023-02-24T06:18:31.155Z] Removing intermediate container 3e4c8ef08d0b [2023-02-24T06:18:31.155Z] ---> 361458de54f2 [2023-02-24T06:18:31.155Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-02-24T06:18:31.155Z] ---> Running in a14a2f1420ef [2023-02-24T06:18:31.414Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-24T06:18:31.673Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-24T06:18:31.932Z] OK: 211 MiB in 51 packages [2023-02-24T06:18:32.193Z] Removing intermediate container a14a2f1420ef [2023-02-24T06:18:32.193Z] ---> 75bbaff75ee3 [2023-02-24T06:18:32.193Z] Step 7/10 : COPY go.mod vendor* ./ [2023-02-24T06:18:32.193Z] ---> c6c0c6c65a43 [2023-02-24T06:18:32.193Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-24T06:18:32.193Z] ---> Running in 9b136aafad17 [2023-02-24T06:18:35.445Z] Still waiting to schedule task [2023-02-24T06:18:35.445Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-7342’ is offline [2023-02-24T06:19:04.273Z] Removing intermediate container 9b136aafad17 [2023-02-24T06:19:04.273Z] ---> 934f69533ae6 [2023-02-24T06:19:04.273Z] Step 9/10 : COPY . . [2023-02-24T06:19:04.273Z] ---> 6c019abcb0dc [2023-02-24T06:19:04.273Z] Step 10/10 : RUN ${MAKE} [2023-02-24T06:19:04.273Z] ---> Running in 65b13da6cb67 [2023-02-24T06:19:04.273Z] noop [2023-02-24T06:19:04.273Z] Removing intermediate container 65b13da6cb67 [2023-02-24T06:19:04.273Z] ---> b01328f720b2 [2023-02-24T06:19:04.273Z] Successfully built b01328f720b2 [2023-02-24T06:19:04.273Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-24T06:19:04.575Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-24T06:19:04.575Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-24T06:19:04.644Z] prd-ubuntu20.04-docker-8c-8g-7343 does not seem to be running inside a container [2023-02-24T06:19:04.670Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1345 -v /w/workspace/gexfoundry_device-sdk-go_PR-1345:/w/workspace/gexfoundry_device-sdk-go_PR-1345:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1345@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1345@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 ******** ci-base-image-x86_64 cat [2023-02-24T06:19:05.059Z] $ docker top 75567fa67e7aad18f65247e48ec6c61f55751afa5d806d3605e3910b31211e6d -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-24T06:19:05.402Z] + go version [2023-02-24T06:19:05.402Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-02-24T06:19:05.412Z] $ docker stop --time=1 75567fa67e7aad18f65247e48ec6c61f55751afa5d806d3605e3910b31211e6d [2023-02-24T06:19:06.690Z] $ docker rm -f --volumes 75567fa67e7aad18f65247e48ec6c61f55751afa5d806d3605e3910b31211e6d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-24T06:19:07.078Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-24T06:19:07.078Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-24T06:19:07.148Z] prd-ubuntu20.04-docker-8c-8g-7343 does not seem to be running inside a container [2023-02-24T06:19:07.174Z] $ 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-1345 -v /w/workspace/gexfoundry_device-sdk-go_PR-1345:/w/workspace/gexfoundry_device-sdk-go_PR-1345:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1345@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1345@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 ******** ci-base-image-x86_64 cat [2023-02-24T06:19:07.515Z] $ docker top 73f157692287ab470b97aa15faf48a5eb8fdcce63d45d6e56148ae98a0de0dba -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-24T06:19:07.863Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1345 [Pipeline] fileExists [Pipeline] sh [2023-02-24T06:19:08.159Z] + make test [2023-02-24T06:19:08.159Z] go test -race -coverprofile=coverage.out ./... [2023-02-24T06:19:14.718Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-02-24T06:19:26.913Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-02-24T06:19:26.913Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-02-24T06:19:26.913Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-02-24T06:19:26.913Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-02-24T06:19:26.913Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-02-24T06:19:27.479Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.061s coverage: 27.6% of statements [2023-02-24T06:19:27.479Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.070s coverage: 78.9% of statements [2023-02-24T06:19:27.479Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.112s coverage: 86.0% of statements [2023-02-24T06:19:27.479Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-02-24T06:19:27.479Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-02-24T06:19:27.736Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.107s coverage: 74.7% of statements [2023-02-24T06:19:27.736Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-02-24T06:19:31.021Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.065s coverage: 15.5% of statements [2023-02-24T06:19:31.021Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-02-24T06:19:31.021Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.113s coverage: 65.2% of statements [2023-02-24T06:19:31.021Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-02-24T06:19:31.022Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-02-24T06:19:31.022Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.721s coverage: 89.2% of statements [2023-02-24T06:19:31.022Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.058s coverage: 4.7% of statements [2023-02-24T06:19:31.022Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-02-24T06:19:45.887Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2023-02-24T06:19:45.887Z] GO111MODULE=on go vet ./... [2023-02-24T06:19:47.789Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-02-24T06:19:47.789Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-02-24T06:19:47.789Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-02-24T06:19:47.806Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-02-24T06:19:47.818Z] $ docker stop --time=1 73f157692287ab470b97aa15faf48a5eb8fdcce63d45d6e56148ae98a0de0dba [2023-02-24T06:19:49.960Z] $ docker rm -f --volumes 73f157692287ab470b97aa15faf48a5eb8fdcce63d45d6e56148ae98a0de0dba [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-24T06:19:50.438Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-02-24T06:19:50.493Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-02-24T06:19:51.036Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-02-24T06:19:51.317Z] + ls -al . [2023-02-24T06:19:51.317Z] total 284 [2023-02-24T06:19:51.317Z] drwxrwxr-x 11 jenkins jenkins 4096 Feb 24 06:19 . [2023-02-24T06:19:51.317Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 24 06:17 .. [2023-02-24T06:19:51.317Z] -rw-rw-r-- 1 jenkins jenkins 140 Feb 24 06:17 .dockerignore [2023-02-24T06:19:51.317Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 24 06:19 .git [2023-02-24T06:19:51.317Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 24 06:17 .github [2023-02-24T06:19:51.317Z] -rw-rw-r-- 1 jenkins jenkins 131 Feb 24 06:17 .gitignore [2023-02-24T06:19:51.317Z] -rw-rw-r-- 1 jenkins jenkins 42 Feb 24 06:17 .golangci.yml [2023-02-24T06:19:51.317Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 24 06:18 .semver [2023-02-24T06:19:51.317Z] -rw-rw-r-- 1 jenkins jenkins 31677 Feb 24 06:17 CHANGELOG.md [2023-02-24T06:19:51.317Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 24 06:17 GOVERNANCE.md [2023-02-24T06:19:51.317Z] -rw-rw-r-- 1 jenkins jenkins 885 Feb 24 06:17 Jenkinsfile [2023-02-24T06:19:51.317Z] -rw-rw-r-- 1 jenkins jenkins 11341 Feb 24 06:17 LICENSE [2023-02-24T06:19:51.317Z] -rw-rw-r-- 1 jenkins jenkins 1679 Feb 24 06:17 Makefile [2023-02-24T06:19:51.317Z] -rw-rw-r-- 1 jenkins jenkins 619 Feb 24 06:17 OWNERS.md [2023-02-24T06:19:51.317Z] -rw-rw-r-- 1 jenkins jenkins 4891 Feb 24 06:17 README.md [2023-02-24T06:19:51.317Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 24 06:18 VERSION [2023-02-24T06:19:51.317Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 24 06:17 bin [2023-02-24T06:19:51.317Z] -rw-r--r-- 1 jenkins jenkins 110798 Feb 24 06:19 coverage.out [2023-02-24T06:19:51.317Z] drwxrwxr-x 5 jenkins jenkins 4096 Feb 24 06:17 example [2023-02-24T06:19:51.317Z] -rw-rw-r-- 1 jenkins jenkins 3278 Feb 24 06:17 go.mod [2023-02-24T06:19:51.317Z] -rw-rw-r-- 1 jenkins jenkins 32794 Feb 24 06:17 go.sum [2023-02-24T06:19:51.317Z] drwxrwxr-x 12 jenkins jenkins 4096 Feb 24 06:17 internal [2023-02-24T06:19:51.317Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 24 06:17 openapi [2023-02-24T06:19:51.317Z] drwxrwxr-x 6 jenkins jenkins 4096 Feb 24 06:17 pkg [2023-02-24T06:19:51.317Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 24 06:17 snap [2023-02-24T06:19:51.317Z] -rw-rw-r-- 1 jenkins jenkins 222 Feb 24 06:17 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-24T06:19:51.615Z] + 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=915ebad1e9b02ad812ee33781662f71824c92794 --label arch=amd64 --label version=0.0.0 . [2023-02-24T06:19:51.615Z] Sending build context to Docker daemon 10.84MB [2023-02-24T06:19:51.615Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2023-02-24T06:19:51.615Z] Step 2/23 : FROM ${BASE} AS builder [2023-02-24T06:19:51.615Z] ---> b01328f720b2 [2023-02-24T06:19:51.615Z] Step 3/23 : ARG MAKE=make build [2023-02-24T06:19:51.615Z] ---> Running in 9ce017a95d9e [2023-02-24T06:19:51.873Z] Removing intermediate container 9ce017a95d9e [2023-02-24T06:19:51.874Z] ---> fd6dd0bdf3be [2023-02-24T06:19:51.874Z] Step 4/23 : WORKDIR /device-sdk-go [2023-02-24T06:19:51.874Z] ---> Running in d48b218adff9 [2023-02-24T06:19:51.874Z] Removing intermediate container d48b218adff9 [2023-02-24T06:19:51.874Z] ---> 8ae53dc52a77 [2023-02-24T06:19:51.874Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-02-24T06:19:51.874Z] ---> Running in f80d9854da48 [2023-02-24T06:19:52.130Z] Removing intermediate container f80d9854da48 [2023-02-24T06:19:52.130Z] ---> b01fd4ff0971 [2023-02-24T06:19:52.130Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-02-24T06:19:52.130Z] ---> Running in 4a955945e66f [2023-02-24T06:19:52.390Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-24T06:19:52.390Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-24T06:19:52.656Z] OK: 211 MiB in 51 packages [2023-02-24T06:19:53.231Z] Removing intermediate container 4a955945e66f [2023-02-24T06:19:53.231Z] ---> 0ba89af5a884 [2023-02-24T06:19:53.231Z] Step 7/23 : COPY go.mod vendor* ./ [2023-02-24T06:19:53.231Z] ---> c12c89bf132b [2023-02-24T06:19:53.231Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-24T06:19:53.231Z] ---> Running in 9408baf64fd9 [2023-02-24T06:19:54.187Z] Removing intermediate container 9408baf64fd9 [2023-02-24T06:19:54.187Z] ---> bf5994578a72 [2023-02-24T06:19:54.187Z] Step 9/23 : COPY . . [2023-02-24T06:19:54.804Z] ---> b7fee351f430 [2023-02-24T06:19:54.804Z] Step 10/23 : RUN ${MAKE} [2023-02-24T06:19:54.804Z] ---> Running in 21db3e016b03 [2023-02-24T06:19:54.804Z] 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-02-24T06:20:10.947Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-7344 in /w/workspace/gexfoundry_device-sdk-go_PR-1345 [Pipeline] { [Pipeline] ws [2023-02-24T06:20:10.962Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2023-02-24T06:20:10.993Z] The recommended git tool is: git [2023-02-24T06:20:12.977Z] Removing intermediate container 21db3e016b03 [2023-02-24T06:20:12.977Z] ---> 30985a8c020e [2023-02-24T06:20:12.977Z] Step 11/23 : FROM alpine:3.16 [2023-02-24T06:20:12.977Z] 3.16: Pulling from library/alpine [2023-02-24T06:20:12.977Z] ef5531b6e74e: Pulling fs layer [2023-02-24T06:20:13.236Z] ef5531b6e74e: Download complete [2023-02-24T06:20:13.236Z] ef5531b6e74e: Pull complete [2023-02-24T06:20:13.495Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-02-24T06:20:13.495Z] Status: Downloaded newer image for alpine:3.16 [2023-02-24T06:20:13.495Z] ---> dfd21b5a31f5 [2023-02-24T06:20:13.495Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-02-24T06:20:13.495Z] ---> Running in 74b111ff62d7 [2023-02-24T06:20:13.495Z] Removing intermediate container 74b111ff62d7 [2023-02-24T06:20:13.495Z] ---> 9df9c8121515 [2023-02-24T06:20:13.495Z] Step 13/23 : RUN apk add --update --no-cache [2023-02-24T06:20:13.495Z] ---> Running in 44bf82e50d5f [2023-02-24T06:20:13.756Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-24T06:20:14.014Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-24T06:20:14.273Z] OK: 6 MiB in 14 packages [2023-02-24T06:20:14.533Z] Removing intermediate container 44bf82e50d5f [2023-02-24T06:20:14.533Z] ---> f88a1268d7c1 [2023-02-24T06:20:14.533Z] Step 14/23 : WORKDIR / [2023-02-24T06:20:14.533Z] ---> Running in 13e0cd395a85 [2023-02-24T06:20:14.533Z] Removing intermediate container 13e0cd395a85 [2023-02-24T06:20:14.533Z] ---> 5d09a0aa8c82 [2023-02-24T06:20:14.533Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-02-24T06:20:14.792Z] ---> 5da26d82e24b [2023-02-24T06:20:14.792Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-02-24T06:20:15.385Z] ---> 6050352330cc [2023-02-24T06:20:15.385Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-02-24T06:20:15.643Z] ---> 6c9e9595dda3 [2023-02-24T06:20:15.643Z] Step 18/23 : EXPOSE 59999 [2023-02-24T06:20:15.643Z] ---> Running in 48b346de9c5b [2023-02-24T06:20:15.643Z] Removing intermediate container 48b346de9c5b [2023-02-24T06:20:15.643Z] ---> d50643df0ed8 [2023-02-24T06:20:15.643Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-02-24T06:20:15.643Z] ---> Running in 1dd1147757c7 [2023-02-24T06:20:15.643Z] Removing intermediate container 1dd1147757c7 [2023-02-24T06:20:15.643Z] ---> 09cd4e53ad57 [2023-02-24T06:20:15.643Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-02-24T06:20:15.821Z] using credential edgex-jenkins-ssh [2023-02-24T06:20:15.841Z] Cloning the remote Git repository [2023-02-24T06:20:15.902Z] ---> Running in 87bd49398d02 [2023-02-24T06:20:15.902Z] Removing intermediate container 87bd49398d02 [2023-02-24T06:20:15.902Z] ---> 1d1a7bbfa460 [2023-02-24T06:20:15.902Z] Step 21/23 : LABEL arch=amd64 [2023-02-24T06:20:15.902Z] ---> Running in ec23418a5d12 [2023-02-24T06:20:15.902Z] Removing intermediate container ec23418a5d12 [2023-02-24T06:20:15.902Z] ---> 94e2281e86f7 [2023-02-24T06:20:15.902Z] Step 22/23 : LABEL git_sha=915ebad1e9b02ad812ee33781662f71824c92794 [2023-02-24T06:20:15.902Z] ---> Running in c3feb2f25478 [2023-02-24T06:20:15.886Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-02-24T06:20:16.161Z] Removing intermediate container c3feb2f25478 [2023-02-24T06:20:16.161Z] ---> d494ac2ab917 [2023-02-24T06:20:16.161Z] Step 23/23 : LABEL version=0.0.0 [2023-02-24T06:20:16.161Z] ---> Running in c2fe135f9e06 [2023-02-24T06:20:16.162Z] Removing intermediate container c2fe135f9e06 [2023-02-24T06:20:16.162Z] ---> d5c1ed1f4400 [2023-02-24T06:20:16.162Z] [Warning] One or more build-args [ARCH] were not consumed [2023-02-24T06:20:16.162Z] Successfully built d5c1ed1f4400 [2023-02-24T06:20:16.162Z] 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-02-24T06:20:16.601Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-24T06:20:16.601Z] [2023-02-24T06:20:16.601Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-24T06:20:16.903Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-24T06:20:16.903Z] latest: Pulling from edgex-lftools-log-publisher [2023-02-24T06:20:16.903Z] 5eb5b503b376: Pulling fs layer [2023-02-24T06:20:16.903Z] 5c69ac0246d0: Pulling fs layer [2023-02-24T06:20:16.903Z] ec43610c2a17: Pulling fs layer [2023-02-24T06:20:16.903Z] 3a2ae6a8a46f: Pulling fs layer [2023-02-24T06:20:16.903Z] 33b1e0a273af: Pulling fs layer [2023-02-24T06:20:16.904Z] 5d3b04190fa2: Pulling fs layer [2023-02-24T06:20:16.904Z] 2f39f015ded8: Pulling fs layer [2023-02-24T06:20:16.904Z] 33b1e0a273af: Waiting [2023-02-24T06:20:16.904Z] 5d3b04190fa2: Waiting [2023-02-24T06:20:16.904Z] 3a2ae6a8a46f: Waiting [2023-02-24T06:20:16.904Z] 5c69ac0246d0: Verifying Checksum [2023-02-24T06:20:16.904Z] 5c69ac0246d0: Download complete [2023-02-24T06:20:16.904Z] 3a2ae6a8a46f: Verifying Checksum [2023-02-24T06:20:16.904Z] 3a2ae6a8a46f: Download complete [2023-02-24T06:20:17.163Z] ec43610c2a17: Verifying Checksum [2023-02-24T06:20:17.163Z] ec43610c2a17: Download complete [2023-02-24T06:20:17.163Z] 33b1e0a273af: Verifying Checksum [2023-02-24T06:20:17.163Z] 33b1e0a273af: Download complete [2023-02-24T06:20:17.163Z] 5d3b04190fa2: Verifying Checksum [2023-02-24T06:20:17.163Z] 5d3b04190fa2: Download complete [2023-02-24T06:20:17.163Z] 5eb5b503b376: Verifying Checksum [2023-02-24T06:20:17.163Z] 5eb5b503b376: Download complete [2023-02-24T06:20:18.097Z] 2f39f015ded8: Verifying Checksum [2023-02-24T06:20:18.097Z] 2f39f015ded8: Download complete [2023-02-24T06:20:18.354Z] 5eb5b503b376: Pull complete [2023-02-24T06:20:15.954Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2023-02-24T06:20:18.611Z] 5c69ac0246d0: Pull complete [2023-02-24T06:20:18.871Z] ec43610c2a17: Pull complete [2023-02-24T06:20:19.130Z] 3a2ae6a8a46f: Pull complete [2023-02-24T06:20:19.387Z] 33b1e0a273af: Pull complete [2023-02-24T06:20:19.387Z] 5d3b04190fa2: Pull complete [2023-02-24T06:20:18.521Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-02-24T06:20:18.522Z] > git --version # timeout=10 [2023-02-24T06:20:18.542Z] > git --version # 'git version 2.25.1' [2023-02-24T06:20:18.543Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-24T06:20:18.594Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-24T06:20:20.172Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-02-24T06:20:20.193Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-24T06:20:20.955Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-02-24T06:20:21.001Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-02-24T06:20:21.002Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-24T06:20:21.016Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1345/head:refs/remotes/origin/PR-1345 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-02-24T06:20:21.738Z] Merging remotes/origin/main commit b7afc2aba7a1c5861c6c21c42b42dc1283ea5949 into PR head commit 915ebad1e9b02ad812ee33781662f71824c92794 [2023-02-24T06:20:21.956Z] Merge succeeded, producing 915ebad1e9b02ad812ee33781662f71824c92794 [2023-02-24T06:20:21.957Z] Checking out Revision 915ebad1e9b02ad812ee33781662f71824c92794 (PR-1345) [2023-02-24T06:20:21.758Z] > git config core.sparsecheckout # timeout=10 [2023-02-24T06:20:21.776Z] > git checkout -f 915ebad1e9b02ad812ee33781662f71824c92794 # timeout=10 [2023-02-24T06:20:21.871Z] > git remote # timeout=10 [2023-02-24T06:20:21.884Z] > git config --get remote.origin.url # timeout=10 [2023-02-24T06:20:21.900Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-24T06:20:21.911Z] > git merge b7afc2aba7a1c5861c6c21c42b42dc1283ea5949 # timeout=10 [2023-02-24T06:20:21.933Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-02-24T06:20:21.964Z] > git config core.sparsecheckout # timeout=10 [2023-02-24T06:20:21.977Z] > git checkout -f 915ebad1e9b02ad812ee33781662f71824c92794 # timeout=10 [2023-02-24T06:20:23.580Z] 2f39f015ded8: Pull complete [2023-02-24T06:20:23.580Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-02-24T06:20:23.580Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-24T06:20:23.580Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-24T06:20:23.663Z] prd-ubuntu20.04-docker-8c-8g-7343 does not seem to be running inside a container [2023-02-24T06:20:23.696Z] $ 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-1345 -v /w/workspace/gexfoundry_device-sdk-go_PR-1345:/w/workspace/gexfoundry_device-sdk-go_PR-1345:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1345@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1345@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-02-24T06:20:25.419Z] Commit message: "refactor!: address PR request changes" [2023-02-24T06:20:25.649Z] $ docker top a39f9af05312a704cf7b217706fe79a827ed491c21ba2fd80cb2c0d6857e2d28 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-24T06:20:25.884Z] [2023-02-24T06:20:25.884Z] GitHub has been notified of this commit’s build result [2023-02-24T06:20:25.884Z] [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-24T06:20:26.049Z] ---> job-cost.sh [2023-02-24T06:20:26.049Z] lf-activate-venv: SKIPPING [2023-02-24T06:20:26.049Z] INFO: No Stack... [2023-02-24T06:20:26.308Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-24T06:20:26.388Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-02-24T06:20:26.388Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-24T06:20:26.388Z] Dload Upload Total Spent Left Speed [2023-02-24T06:20:26.388Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 75005 0 --:--:-- --:--:-- --:--:-- 75005 [Pipeline] sh [2023-02-24T06:20:26.875Z] INFO: Archiving Costs [Pipeline] sh [2023-02-24T06:20:27.111Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-02-24T06:20:27.165Z] + + cut -d, -f6 [2023-02-24T06:20:27.165Z] cat /w/workspace/gexfoundry_device-sdk-go_PR-1345/archives/cost.csv [Pipeline] lock [2023-02-24T06:20:27.181Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1345-2-stack-cost] [2023-02-24T06:20:27.189Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1345-2-stack-cost] did not exist. Created. [2023-02-24T06:20:27.189Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1345-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-24T06:20:27.431Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-02-24T06:20:27.432Z] + sudo tee /etc/docker/daemon.new [2023-02-24T06:20:27.432Z] { [2023-02-24T06:20:27.432Z] "registry-mirrors": [ [2023-02-24T06:20:27.432Z] "https://nexus3.edgexfoundry.org:10001" [2023-02-24T06:20:27.432Z] ], [2023-02-24T06:20:27.432Z] "bip": "10.250.0.254/24", [2023-02-24T06:20:27.432Z] "hosts": [ [2023-02-24T06:20:27.432Z] "tcp://0.0.0.0:5555", [2023-02-24T06:20:27.432Z] "unix:///var/run/docker.sock" [2023-02-24T06:20:27.432Z] ], [2023-02-24T06:20:27.432Z] "mtu": 1458, [2023-02-24T06:20:27.432Z] "selinux-enabled": true, [2023-02-24T06:20:27.432Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-02-24T06:20:27.432Z] } [Pipeline] sh [2023-02-24T06:20:27.491Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-02-24T06:20:27.532Z] Stashed 1 file(s) [Pipeline] } [2023-02-24T06:20:27.537Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1345-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-24T06:20:27.551Z] $ docker stop --time=1 a39f9af05312a704cf7b217706fe79a827ed491c21ba2fd80cb2c0d6857e2d28 [2023-02-24T06:20:27.769Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [2023-02-24T06:20:28.701Z] $ docker rm -f --volumes a39f9af05312a704cf7b217706fe79a827ed491c21ba2fd80cb2c0d6857e2d28 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] sh [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-02-24T06:20:29.073Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-24T06:20:47.332Z] provisioning config files... [2023-02-24T06:20:47.356Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config3603596170296231949tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-24T06:20:47.703Z] ---> docker-login.sh [2023-02-24T06:20:47.703Z] nexus3.edgexfoundry.org:10001 [2023-02-24T06:20:47.969Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-24T06:20:48.236Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-24T06:20:48.236Z] Configure a credential helper to remove this warning. See [2023-02-24T06:20:48.236Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-24T06:20:48.236Z] [2023-02-24T06:20:48.236Z] Login Succeeded [2023-02-24T06:20:48.236Z] nexus3.edgexfoundry.org:10002 [2023-02-24T06:20:48.504Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-24T06:20:48.504Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-24T06:20:48.504Z] Configure a credential helper to remove this warning. See [2023-02-24T06:20:48.504Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-24T06:20:48.504Z] [2023-02-24T06:20:48.504Z] Login Succeeded [2023-02-24T06:20:48.504Z] nexus3.edgexfoundry.org:10003 [2023-02-24T06:20:48.771Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-24T06:20:49.038Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-24T06:20:49.038Z] Configure a credential helper to remove this warning. See [2023-02-24T06:20:49.038Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-24T06:20:49.038Z] [2023-02-24T06:20:49.038Z] Login Succeeded [2023-02-24T06:20:49.038Z] nexus3.edgexfoundry.org:10004 [2023-02-24T06:20:49.038Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-24T06:20:49.306Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-24T06:20:49.306Z] Configure a credential helper to remove this warning. See [2023-02-24T06:20:49.306Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-24T06:20:49.306Z] [2023-02-24T06:20:49.306Z] Login Succeeded [2023-02-24T06:20:49.306Z] docker.io [2023-02-24T06:20:49.573Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-24T06:20:49.838Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-24T06:20:49.838Z] Configure a credential helper to remove this warning. See [2023-02-24T06:20:49.838Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-24T06:20:49.838Z] [2023-02-24T06:20:49.838Z] Login Succeeded [2023-02-24T06:20:49.838Z] ---> docker-login.sh ends [Pipeline] } [2023-02-24T06:20:49.852Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-24T06:20:50.094Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-24T06:20:50.107Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-24T06:20:50.118Z] ========================================================= [2023-02-24T06:20:50.118Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-02-24T06:20:50.118Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-24T06:20:50.449Z] + 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.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-02-24T06:20:50.716Z] Sending build context to Docker daemon 5.832MB [2023-02-24T06:20:50.988Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-02-24T06:20:50.988Z] Step 2/10 : FROM ${BASE} AS builder [2023-02-24T06:20:50.988Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-02-24T06:20:50.988Z] 9b18e9b68314: Pulling fs layer [2023-02-24T06:20:50.988Z] 35d82f9e3411: Pulling fs layer [2023-02-24T06:20:50.988Z] e16973657156: Pulling fs layer [2023-02-24T06:20:50.988Z] fc693d55d65f: Pulling fs layer [2023-02-24T06:20:50.988Z] 7e9fc2657dce: Pulling fs layer [2023-02-24T06:20:50.988Z] dda99020689f: Pulling fs layer [2023-02-24T06:20:50.988Z] db1c61fa0a46: Pulling fs layer [2023-02-24T06:20:50.988Z] 891c053d2c06: Pulling fs layer [2023-02-24T06:20:50.988Z] 7e9fc2657dce: Waiting [2023-02-24T06:20:50.988Z] db1c61fa0a46: Waiting [2023-02-24T06:20:50.988Z] 891c053d2c06: Waiting [2023-02-24T06:20:50.988Z] fc693d55d65f: Waiting [2023-02-24T06:20:50.988Z] dda99020689f: Waiting [2023-02-24T06:20:50.988Z] e16973657156: Verifying Checksum [2023-02-24T06:20:50.988Z] e16973657156: Download complete [2023-02-24T06:20:50.988Z] 35d82f9e3411: Download complete [2023-02-24T06:20:50.988Z] 7e9fc2657dce: Verifying Checksum [2023-02-24T06:20:50.988Z] 7e9fc2657dce: Download complete [2023-02-24T06:20:51.258Z] dda99020689f: Verifying Checksum [2023-02-24T06:20:51.258Z] dda99020689f: Download complete [2023-02-24T06:20:51.258Z] 9b18e9b68314: Verifying Checksum [2023-02-24T06:20:51.258Z] 9b18e9b68314: Download complete [2023-02-24T06:20:52.245Z] 9b18e9b68314: Pull complete [2023-02-24T06:20:52.245Z] 891c053d2c06: Verifying Checksum [2023-02-24T06:20:52.245Z] 891c053d2c06: Download complete [2023-02-24T06:20:52.516Z] 35d82f9e3411: Pull complete [2023-02-24T06:20:52.788Z] e16973657156: Pull complete [2023-02-24T06:20:53.381Z] db1c61fa0a46: Verifying Checksum [2023-02-24T06:20:53.381Z] db1c61fa0a46: Download complete [2023-02-24T06:20:53.967Z] fc693d55d65f: Verifying Checksum [2023-02-24T06:20:53.967Z] fc693d55d65f: Download complete [2023-02-24T06:21:06.293Z] fc693d55d65f: Pull complete [2023-02-24T06:21:06.293Z] 7e9fc2657dce: Pull complete [2023-02-24T06:21:06.293Z] dda99020689f: Pull complete [2023-02-24T06:21:11.659Z] db1c61fa0a46: Pull complete [2023-02-24T06:21:13.080Z] 891c053d2c06: Pull complete [2023-02-24T06:21:13.080Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-02-24T06:21:13.080Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-02-24T06:21:13.080Z] ---> f96f9c87975a [2023-02-24T06:21:13.080Z] Step 3/10 : ARG MAKE=make build [2023-02-24T06:21:15.028Z] ---> Running in 13e902d28ba2 [2023-02-24T06:21:15.028Z] Removing intermediate container 13e902d28ba2 [2023-02-24T06:21:15.028Z] ---> f68d6965f12d [2023-02-24T06:21:15.028Z] Step 4/10 : WORKDIR /device-sdk-go [2023-02-24T06:21:15.296Z] ---> Running in 49f74f758799 [2023-02-24T06:21:15.565Z] Removing intermediate container 49f74f758799 [2023-02-24T06:21:15.565Z] ---> 84c5ae05038d [2023-02-24T06:21:15.565Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-02-24T06:21:15.565Z] ---> Running in 5f279476000c [2023-02-24T06:21:15.835Z] Removing intermediate container 5f279476000c [2023-02-24T06:21:15.835Z] ---> f07b523bd3ef [2023-02-24T06:21:15.835Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-02-24T06:21:16.103Z] ---> Running in af8da257d6a0 [2023-02-24T06:21:17.064Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-24T06:21:17.332Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-24T06:21:18.298Z] OK: 221 MiB in 51 packages [2023-02-24T06:21:18.886Z] Removing intermediate container af8da257d6a0 [2023-02-24T06:21:18.886Z] ---> f18a7faeeecc [2023-02-24T06:21:18.886Z] Step 7/10 : COPY go.mod vendor* ./ [2023-02-24T06:21:19.474Z] ---> f8c3df5781fa [2023-02-24T06:21:19.475Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-24T06:21:19.475Z] ---> Running in 8cdb4041ed2b [2023-02-24T06:22:27.355Z] Removing intermediate container 8cdb4041ed2b [2023-02-24T06:22:27.355Z] ---> a40162dc2f82 [2023-02-24T06:22:27.355Z] Step 9/10 : COPY . . [2023-02-24T06:22:27.355Z] ---> 9104b0a69f89 [2023-02-24T06:22:27.355Z] Step 10/10 : RUN ${MAKE} [2023-02-24T06:22:27.355Z] ---> Running in 1a1dcf7aca1a [2023-02-24T06:22:27.355Z] noop [2023-02-24T06:22:27.355Z] Removing intermediate container 1a1dcf7aca1a [2023-02-24T06:22:27.355Z] ---> be2b5c61aff6 [2023-02-24T06:22:27.355Z] Successfully built be2b5c61aff6 [2023-02-24T06:22:27.355Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-24T06:22:27.710Z] + docker inspect -f . ci-base-image-arm64 [2023-02-24T06:22:27.710Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-24T06:22:27.919Z] prd-ubuntu20.04-docker-arm64-4c-16g-7344 does not seem to be running inside a container [2023-02-24T06:22:27.986Z] $ 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 ******** ci-base-image-arm64 cat [2023-02-24T06:22:29.179Z] $ docker top df0e5e161c4401649a418f24be15eb508d1891516e2986529f797a2aa6c356bf -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-24T06:22:29.995Z] + go version [2023-02-24T06:22:29.995Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-02-24T06:22:30.014Z] $ docker stop --time=1 df0e5e161c4401649a418f24be15eb508d1891516e2986529f797a2aa6c356bf [2023-02-24T06:22:31.633Z] $ docker rm -f --volumes df0e5e161c4401649a418f24be15eb508d1891516e2986529f797a2aa6c356bf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-24T06:22:32.171Z] + docker inspect -f . ci-base-image-arm64 [2023-02-24T06:22:32.171Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-24T06:22:32.343Z] prd-ubuntu20.04-docker-arm64-4c-16g-7344 does not seem to be running inside a container [2023-02-24T06:22:32.409Z] $ 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 ******** ci-base-image-arm64 cat [2023-02-24T06:22:33.589Z] $ docker top 70c74f29b12ae41cfe2b29f0a84c058084fba63e5dcb390a86910d5b822cd76b -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-24T06:22:34.089Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/2 [Pipeline] fileExists [Pipeline] sh [2023-02-24T06:22:34.691Z] + make test [2023-02-24T06:22:34.691Z] go test -race -coverprofile=coverage.out ./... [2023-02-24T06:23:06.934Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-02-24T06:24:58.596Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-02-24T06:24:58.596Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-02-24T06:24:58.596Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-02-24T06:24:58.596Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-02-24T06:24:58.596Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-02-24T06:25:01.211Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.258s coverage: 27.6% of statements [2023-02-24T06:25:04.812Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.975s coverage: 78.9% of statements [2023-02-24T06:25:11.061Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.539s coverage: 86.0% of statements [2023-02-24T06:25:11.061Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-02-24T06:25:11.061Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-02-24T06:25:12.484Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.819s coverage: 74.7% of statements [2023-02-24T06:25:12.484Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-02-24T06:25:12.484Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.370s coverage: 15.5% of statements [2023-02-24T06:25:12.484Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-02-24T06:25:13.457Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.463s coverage: 65.2% of statements [2023-02-24T06:25:13.457Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-02-24T06:25:13.457Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-02-24T06:25:18.973Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 3.085s coverage: 89.2% of statements [2023-02-24T06:25:18.973Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.259s coverage: 4.7% of statements [2023-02-24T06:25:18.973Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-02-24T06:25:18.973Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-02-24T06:25:18.973Z] GO111MODULE=on go vet ./... [2023-02-24T06:26:55.706Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-02-24T06:26:55.706Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-02-24T06:26:55.977Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-02-24T06:26:56.270Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-02-24T06:26:56.286Z] $ docker stop --time=1 70c74f29b12ae41cfe2b29f0a84c058084fba63e5dcb390a86910d5b822cd76b [2023-02-24T06:26:58.320Z] $ docker rm -f --volumes 70c74f29b12ae41cfe2b29f0a84c058084fba63e5dcb390a86910d5b822cd76b [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-24T06:26:59.599Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-02-24T06:26:59.621Z] Warning: overwriting stash ‘coverage-report’ [2023-02-24T06:27:00.208Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-24T06:27:00.636Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-02-24T06:27:00.971Z] + ls -al . [2023-02-24T06:27:00.971Z] total 280 [2023-02-24T06:27:00.971Z] drwxrwxr-x 10 jenkins jenkins 4096 Feb 24 06:22 . [2023-02-24T06:27:00.971Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 24 06:20 .. [2023-02-24T06:27:00.971Z] -rw-rw-r-- 1 jenkins jenkins 140 Feb 24 06:20 .dockerignore [2023-02-24T06:27:00.971Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 24 06:20 .git [2023-02-24T06:27:00.971Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 24 06:20 .github [2023-02-24T06:27:00.971Z] -rw-rw-r-- 1 jenkins jenkins 131 Feb 24 06:20 .gitignore [2023-02-24T06:27:00.971Z] -rw-rw-r-- 1 jenkins jenkins 42 Feb 24 06:20 .golangci.yml [2023-02-24T06:27:00.971Z] -rw-rw-r-- 1 jenkins jenkins 31677 Feb 24 06:20 CHANGELOG.md [2023-02-24T06:27:00.971Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 24 06:20 GOVERNANCE.md [2023-02-24T06:27:00.971Z] -rw-rw-r-- 1 jenkins jenkins 885 Feb 24 06:20 Jenkinsfile [2023-02-24T06:27:00.971Z] -rw-rw-r-- 1 jenkins jenkins 11341 Feb 24 06:20 LICENSE [2023-02-24T06:27:00.971Z] -rw-rw-r-- 1 jenkins jenkins 1679 Feb 24 06:20 Makefile [2023-02-24T06:27:00.971Z] -rw-rw-r-- 1 jenkins jenkins 619 Feb 24 06:20 OWNERS.md [2023-02-24T06:27:00.971Z] -rw-rw-r-- 1 jenkins jenkins 4891 Feb 24 06:20 README.md [2023-02-24T06:27:00.971Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 24 06:18 VERSION [2023-02-24T06:27:00.971Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 24 06:20 bin [2023-02-24T06:27:00.971Z] -rw-r--r-- 1 jenkins jenkins 110798 Feb 24 06:25 coverage.out [2023-02-24T06:27:00.971Z] drwxrwxr-x 5 jenkins jenkins 4096 Feb 24 06:20 example [2023-02-24T06:27:00.971Z] -rw-rw-r-- 1 jenkins jenkins 3278 Feb 24 06:20 go.mod [2023-02-24T06:27:00.971Z] -rw-rw-r-- 1 jenkins jenkins 32794 Feb 24 06:20 go.sum [2023-02-24T06:27:00.971Z] drwxrwxr-x 12 jenkins jenkins 4096 Feb 24 06:20 internal [2023-02-24T06:27:00.971Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 24 06:20 openapi [2023-02-24T06:27:00.971Z] drwxrwxr-x 6 jenkins jenkins 4096 Feb 24 06:20 pkg [2023-02-24T06:27:00.971Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 24 06:20 snap [2023-02-24T06:27:00.971Z] -rw-rw-r-- 1 jenkins jenkins 222 Feb 24 06:20 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-24T06:27:01.316Z] + 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=915ebad1e9b02ad812ee33781662f71824c92794 --label arch=arm64 --label version=0.0.0 . [2023-02-24T06:27:02.280Z] Sending build context to Docker daemon 5.943MB [2023-02-24T06:27:02.280Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2023-02-24T06:27:02.280Z] Step 2/23 : FROM ${BASE} AS builder [2023-02-24T06:27:02.280Z] ---> be2b5c61aff6 [2023-02-24T06:27:02.280Z] Step 3/23 : ARG MAKE=make build [2023-02-24T06:27:02.548Z] ---> Running in f8dfaf86f928 [2023-02-24T06:27:02.815Z] Removing intermediate container f8dfaf86f928 [2023-02-24T06:27:02.815Z] ---> 83ffe1fb0dda [2023-02-24T06:27:02.815Z] Step 4/23 : WORKDIR /device-sdk-go [2023-02-24T06:27:02.815Z] ---> Running in a13ccfb238aa [2023-02-24T06:27:03.085Z] Removing intermediate container a13ccfb238aa [2023-02-24T06:27:03.085Z] ---> 6f6753843fb4 [2023-02-24T06:27:03.085Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-02-24T06:27:03.085Z] ---> Running in 6487e811cdf3 [2023-02-24T06:27:03.358Z] Removing intermediate container 6487e811cdf3 [2023-02-24T06:27:03.358Z] ---> c15456308af7 [2023-02-24T06:27:03.358Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-02-24T06:27:03.358Z] ---> Running in 2d88e545e0c8 [2023-02-24T06:27:04.771Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-24T06:27:04.771Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-24T06:27:05.738Z] OK: 221 MiB in 51 packages [2023-02-24T06:27:06.701Z] Removing intermediate container 2d88e545e0c8 [2023-02-24T06:27:06.701Z] ---> 7af39ce697f7 [2023-02-24T06:27:06.701Z] Step 7/23 : COPY go.mod vendor* ./ [2023-02-24T06:27:07.285Z] ---> c97196e5abd2 [2023-02-24T06:27:07.285Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-24T06:27:07.285Z] ---> Running in d5432d9ba886 [2023-02-24T06:27:09.861Z] Removing intermediate container d5432d9ba886 [2023-02-24T06:27:09.861Z] ---> ef2e83ec1809 [2023-02-24T06:27:09.861Z] Step 9/23 : COPY . . [2023-02-24T06:27:11.272Z] ---> 09e761bf29a7 [2023-02-24T06:27:11.272Z] Step 10/23 : RUN ${MAKE} [2023-02-24T06:27:11.272Z] ---> Running in 92b9132d5f4a [2023-02-24T06:27:12.230Z] 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-02-24T06:29:18.891Z] Removing intermediate container 92b9132d5f4a [2023-02-24T06:29:18.891Z] ---> af054e617177 [2023-02-24T06:29:18.891Z] Step 11/23 : FROM alpine:3.16 [2023-02-24T06:29:18.891Z] 3.16: Pulling from library/alpine [2023-02-24T06:29:18.891Z] 3760b48202b3: Pulling fs layer [2023-02-24T06:29:18.891Z] 3760b48202b3: Verifying Checksum [2023-02-24T06:29:18.891Z] 3760b48202b3: Pull complete [2023-02-24T06:29:18.891Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-02-24T06:29:18.891Z] Status: Downloaded newer image for alpine:3.16 [2023-02-24T06:29:18.891Z] ---> 4c81e5bf8899 [2023-02-24T06:29:18.891Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-02-24T06:29:18.891Z] ---> Running in e30d08c3d76d [2023-02-24T06:29:18.891Z] Removing intermediate container e30d08c3d76d [2023-02-24T06:29:18.891Z] ---> 350aad426696 [2023-02-24T06:29:18.891Z] Step 13/23 : RUN apk add --update --no-cache [2023-02-24T06:29:18.891Z] ---> Running in af623e173d65 [2023-02-24T06:29:18.891Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-24T06:29:18.891Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-24T06:29:18.891Z] OK: 5 MiB in 14 packages [2023-02-24T06:29:18.891Z] Removing intermediate container af623e173d65 [2023-02-24T06:29:18.891Z] ---> 599f1715f11e [2023-02-24T06:29:18.891Z] Step 14/23 : WORKDIR / [2023-02-24T06:29:18.891Z] ---> Running in c2d50f813e6c [2023-02-24T06:29:18.891Z] Removing intermediate container c2d50f813e6c [2023-02-24T06:29:18.891Z] ---> 1f604d8d35c0 [2023-02-24T06:29:18.891Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-02-24T06:29:18.891Z] ---> b53834b6dbd6 [2023-02-24T06:29:18.891Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-02-24T06:29:18.891Z] ---> f5344567ffb6 [2023-02-24T06:29:18.891Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-02-24T06:29:18.891Z] ---> bac5d20bf4ec [2023-02-24T06:29:18.891Z] Step 18/23 : EXPOSE 59999 [2023-02-24T06:29:18.891Z] ---> Running in 09778742b079 [2023-02-24T06:29:18.891Z] Removing intermediate container 09778742b079 [2023-02-24T06:29:18.891Z] ---> 37791123042c [2023-02-24T06:29:18.891Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-02-24T06:29:18.891Z] ---> Running in c96da633e375 [2023-02-24T06:29:18.891Z] Removing intermediate container c96da633e375 [2023-02-24T06:29:18.891Z] ---> cbb964ce3502 [2023-02-24T06:29:18.891Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-02-24T06:29:18.891Z] ---> Running in 68fa24e46395 [2023-02-24T06:29:18.891Z] Removing intermediate container 68fa24e46395 [2023-02-24T06:29:18.891Z] ---> ab380d1a7393 [2023-02-24T06:29:18.891Z] Step 21/23 : LABEL arch=arm64 [2023-02-24T06:29:18.891Z] ---> Running in cb3ab8535e1a [2023-02-24T06:29:19.159Z] Removing intermediate container cb3ab8535e1a [2023-02-24T06:29:19.159Z] ---> 3a8ffbef6ae8 [2023-02-24T06:29:19.159Z] Step 22/23 : LABEL git_sha=915ebad1e9b02ad812ee33781662f71824c92794 [2023-02-24T06:29:19.159Z] ---> Running in b4bc81552850 [2023-02-24T06:29:19.427Z] Removing intermediate container b4bc81552850 [2023-02-24T06:29:19.427Z] ---> a614ef67b718 [2023-02-24T06:29:19.427Z] Step 23/23 : LABEL version=0.0.0 [2023-02-24T06:29:19.427Z] ---> Running in ede879d84170 [2023-02-24T06:29:19.694Z] Removing intermediate container ede879d84170 [2023-02-24T06:29:19.694Z] ---> 5209fa0dac99 [2023-02-24T06:29:19.694Z] [Warning] One or more build-args [ARCH] were not consumed [2023-02-24T06:29:19.959Z] Successfully built 5209fa0dac99 [2023-02-24T06:29:19.959Z] 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-02-24T06:29:20.388Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-24T06:29:20.388Z] [2023-02-24T06:29:20.388Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-24T06:29:20.717Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-24T06:29:20.717Z] arm64: Pulling from edgex-lftools-log-publisher [2023-02-24T06:29:20.717Z] 8998bd30e6a1: Pulling fs layer [2023-02-24T06:29:20.717Z] 04944245beec: Pulling fs layer [2023-02-24T06:29:20.717Z] 699f458cf7ca: Pulling fs layer [2023-02-24T06:29:20.717Z] 765212b225bb: Pulling fs layer [2023-02-24T06:29:20.717Z] f23df028b6ca: Pulling fs layer [2023-02-24T06:29:20.717Z] d65c8cfc05b1: Pulling fs layer [2023-02-24T06:29:20.717Z] 2437ff75d9bd: Pulling fs layer [2023-02-24T06:29:20.717Z] 765212b225bb: Waiting [2023-02-24T06:29:20.717Z] d65c8cfc05b1: Waiting [2023-02-24T06:29:20.717Z] 2437ff75d9bd: Waiting [2023-02-24T06:29:20.717Z] f23df028b6ca: Waiting [2023-02-24T06:29:20.982Z] 04944245beec: Verifying Checksum [2023-02-24T06:29:20.982Z] 04944245beec: Download complete [2023-02-24T06:29:20.982Z] 765212b225bb: Verifying Checksum [2023-02-24T06:29:20.982Z] 765212b225bb: Download complete [2023-02-24T06:29:20.982Z] f23df028b6ca: Download complete [2023-02-24T06:29:20.982Z] d65c8cfc05b1: Verifying Checksum [2023-02-24T06:29:20.982Z] d65c8cfc05b1: Download complete [2023-02-24T06:29:21.253Z] 699f458cf7ca: Verifying Checksum [2023-02-24T06:29:21.253Z] 699f458cf7ca: Download complete [2023-02-24T06:29:21.520Z] 8998bd30e6a1: Verifying Checksum [2023-02-24T06:29:21.520Z] 8998bd30e6a1: Download complete [2023-02-24T06:29:24.116Z] 2437ff75d9bd: Verifying Checksum [2023-02-24T06:29:24.116Z] 2437ff75d9bd: Download complete [2023-02-24T06:29:25.524Z] 8998bd30e6a1: Pull complete [2023-02-24T06:29:26.106Z] 04944245beec: Pull complete [2023-02-24T06:29:27.514Z] 699f458cf7ca: Pull complete [2023-02-24T06:29:27.514Z] 765212b225bb: Pull complete [2023-02-24T06:29:28.477Z] f23df028b6ca: Pull complete [2023-02-24T06:29:28.477Z] d65c8cfc05b1: Pull complete [2023-02-24T06:29:43.463Z] 2437ff75d9bd: Pull complete [2023-02-24T06:29:43.463Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-02-24T06:29:43.463Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-24T06:29:43.463Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-24T06:29:43.640Z] prd-ubuntu20.04-docker-arm64-4c-16g-7344 does not seem to be running inside a container [2023-02-24T06:29:43.702Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-02-24T06:29:46.297Z] $ docker top dbdb59b11326606069647220bb99422e7d53d8ee451d088b1d083befba55e550 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-24T06:29:47.133Z] ---> job-cost.sh [2023-02-24T06:29:47.133Z] lf-activate-venv: SKIPPING [2023-02-24T06:29:47.133Z] INFO: No Stack... [2023-02-24T06:29:47.398Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-02-24T06:29:48.363Z] INFO: Archiving Costs [Pipeline] sh [2023-02-24T06:29:48.997Z] + cat /w/workspace/device-sdk-go/2/archives/cost.csv [2023-02-24T06:29:48.997Z] + cut -d, -f6 [Pipeline] lock [2023-02-24T06:29:49.028Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1345-2-stack-cost] [2023-02-24T06:29:49.034Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1345-2-stack-cost] did not exist. Created. [2023-02-24T06:29:49.034Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1345-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-24T06:29:49.684Z] /w/workspace/device-sdk-go/2@tmp/durable-b41ceb68/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-02-24T06:29:50.015Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-02-24T06:29:50.299Z] Warning: overwriting stash ‘stack-cost’ [2023-02-24T06:29:50.352Z] Stashed 1 file(s) [Pipeline] } [2023-02-24T06:29:50.361Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1345-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-24T06:29:50.375Z] $ docker stop --time=1 dbdb59b11326606069647220bb99422e7d53d8ee451d088b1d083befba55e550 [2023-02-24T06:29:51.847Z] $ docker rm -f --volumes dbdb59b11326606069647220bb99422e7d53d8ee451d088b1d083befba55e550 [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-02-24T06:29:52.230Z] provisioning config files... [2023-02-24T06:29:52.236Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1345@tmp/config2215148262187558678tmp [Pipeline] { [Pipeline] sh [2023-02-24T06:29:52.532Z] + set +x [2023-02-24T06:29:52.532Z] + curl -s https://codecov.io/bash [2023-02-24T06:29:52.532Z] + bash -s -- [2023-02-24T06:29:52.532Z] [2023-02-24T06:29:52.532Z] _____ _ [2023-02-24T06:29:52.532Z] / ____| | | [2023-02-24T06:29:52.532Z] | | ___ __| | ___ ___ _____ __ [2023-02-24T06:29:52.532Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-02-24T06:29:52.532Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-02-24T06:29:52.532Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-02-24T06:29:52.532Z] Bash-1.0.6 [2023-02-24T06:29:52.532Z] [2023-02-24T06:29:52.532Z] [2023-02-24T06:29:52.532Z] ==> git version 2.25.1 found [2023-02-24T06:29:52.532Z] ==> 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-02-24T06:29:52.532Z] Release-Date: 2020-01-08 [2023-02-24T06:29:52.532Z] 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-02-24T06:29:52.532Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-02-24T06:29:52.532Z] ==> Jenkins CI detected. [2023-02-24T06:29:52.532Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1345 [2023-02-24T06:29:52.532Z] project root: . [2023-02-24T06:29:52.532Z] --> token set from env [2023-02-24T06:29:52.532Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-02-24T06:29:52.532Z] ==> Running gcov in . (disable via -X gcov) [2023-02-24T06:29:52.532Z] ==> Python coveragepy not found [2023-02-24T06:29:52.532Z] ==> Searching for coverage reports in: [2023-02-24T06:29:52.532Z] + . [2023-02-24T06:29:52.532Z] -> Found 1 reports [2023-02-24T06:29:52.532Z] ==> Detecting git/mercurial file structure [2023-02-24T06:29:52.532Z] ==> Reading reports [2023-02-24T06:29:52.532Z] + ./coverage.out bytes=110798 [2023-02-24T06:29:52.532Z] ==> Appending adjustments [2023-02-24T06:29:52.532Z] https://docs.codecov.io/docs/fixing-reports [2023-02-24T06:29:52.791Z] + Found adjustments [2023-02-24T06:29:52.791Z] ==> Gzipping contents [2023-02-24T06:29:52.791Z] 16K /tmp/codecov.wxBUxz.gz [2023-02-24T06:29:53.050Z] ==> Uploading reports [2023-02-24T06:29:53.050Z] url: https://codecov.io [2023-02-24T06:29:53.050Z] query: branch=PR-1345&commit=915ebad1e9b02ad812ee33781662f71824c92794&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1345%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1345&job=&cmd_args= [2023-02-24T06:29:53.050Z] -> Pinging Codecov [2023-02-24T06:29:53.050Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1345&commit=915ebad1e9b02ad812ee33781662f71824c92794&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1345%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1345&job=&cmd_args= [2023-02-24T06:29:53.050Z] -> Uploading to [2023-02-24T06:29:53.050Z] https://storage.googleapis.com/codecov/v4/raw/2023-02-24/7E55EF52A471D76F132DFD9A03CDDE97/915ebad1e9b02ad812ee33781662f71824c92794/46065523-fcad-4316-a9e0-aeadb468b74f.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230224%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230224T062952Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=0362d499afa4bc7954626352cc284be98d48fc24a2498d8948c62bebcf47cb59 [2023-02-24T06:29:53.050Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-24T06:29:53.050Z] Dload Upload Total Spent Left Speed [2023-02-24T06:29:53.310Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 15378 0 0 100 15378 0 48974 --:--:-- --:--:-- --:--:-- 48819 [2023-02-24T06:29:53.310Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/915ebad1e9b02ad812ee33781662f71824c92794 [Pipeline] } [2023-02-24T06:29:53.318Z] 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-02-24T06:29:54.071Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1345/archives ] [2023-02-24T06:29:54.071Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1345/archives [2023-02-24T06:29:54.071Z] total 16 [2023-02-24T06:29:54.071Z] drwxr-xr-x 3 root root 4096 Feb 24 06:20 . [2023-02-24T06:29:54.071Z] drwxrwxr-x 12 jenkins jenkins 4096 Feb 24 06:20 .. [2023-02-24T06:29:54.071Z] drwxr-xr-x 2 root root 4096 Feb 24 06:20 cost [2023-02-24T06:29:54.071Z] -rw-r--r-- 1 root root 86 Feb 24 06:20 cost.csv [2023-02-24T06:29:54.071Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1345/archives [2023-02-24T06:29:54.071Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1345/archives [2023-02-24T06:29:54.071Z] total 16 [2023-02-24T06:29:54.071Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 24 06:20 . [2023-02-24T06:29:54.071Z] drwxrwxr-x 12 jenkins jenkins 4096 Feb 24 06:20 .. [2023-02-24T06:29:54.071Z] drwxr-xr-x 2 jenkins jenkins 4096 Feb 24 06:20 cost [2023-02-24T06:29:54.071Z] -rw-r--r-- 1 jenkins jenkins 86 Feb 24 06:20 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-02-24T06:29:54.362Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-24T06:29:55.217Z] ---> package-listing.sh [2023-02-24T06:29:55.217Z] ++ facter osfamily [2023-02-24T06:29:55.217Z] ++ tr '[:upper:]' '[:lower:]' [2023-02-24T06:29:55.476Z] + OS_FAMILY=debian [2023-02-24T06:29:55.476Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1345 [2023-02-24T06:29:55.476Z] + START_PACKAGES=/tmp/packages_start.txt [2023-02-24T06:29:55.476Z] + END_PACKAGES=/tmp/packages_end.txt [2023-02-24T06:29:55.476Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-02-24T06:29:55.476Z] + PACKAGES=/tmp/packages_start.txt [2023-02-24T06:29:55.476Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1345 ']' [2023-02-24T06:29:55.476Z] + PACKAGES=/tmp/packages_end.txt [2023-02-24T06:29:55.476Z] + case "${OS_FAMILY}" in [2023-02-24T06:29:55.476Z] + dpkg -l [2023-02-24T06:29:55.476Z] + grep '^ii' [2023-02-24T06:29:55.476Z] + '[' -f /tmp/packages_start.txt ']' [2023-02-24T06:29:55.476Z] + '[' -f /tmp/packages_end.txt ']' [2023-02-24T06:29:55.476Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-02-24T06:29:55.476Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1345 ']' [2023-02-24T06:29:55.476Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1345/archives/ [2023-02-24T06:29:55.476Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1345/archives/ [Pipeline] echo [2023-02-24T06:29:55.487Z] 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-1345/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-02-24T06:29:55.766Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-24T06:29:56.329Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-24T06:29:56.329Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-24T06:29:56.404Z] prd-ubuntu20.04-docker-8c-8g-7343 does not seem to be running inside a container [2023-02-24T06:29:56.433Z] $ 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-1345/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-1345 -v /w/workspace/gexfoundry_device-sdk-go_PR-1345:/w/workspace/gexfoundry_device-sdk-go_PR-1345:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1345@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1345@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-lftools-log-publisher:latest cat [2023-02-24T06:29:56.637Z] $ docker top 4e7e93961eb58e276fd533a4c9bc0ed1a4000b8c61c9799d119fab6975267d7d -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-24T06:29:56.982Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-02-24T06:29:57.270Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-02-24T06:29:57.556Z] + ls /var/log/sa-host [2023-02-24T06:29:57.556Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-24T06:29:57.703Z] provisioning config files... [2023-02-24T06:29:57.710Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1345@tmp/config2656815222625707006tmp [Pipeline] { [Pipeline] echo [2023-02-24T06:29:57.721Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-24T06:29:58.010Z] ---> create-netrc.sh [Pipeline] } [2023-02-24T06:29:58.018Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-02-24T06:29:58.346Z] ---> python-tools-install.sh [Pipeline] echo [2023-02-24T06:29:58.355Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-24T06:29:58.640Z] ---> sudo-logs.sh [2023-02-24T06:29:58.640Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-02-24T06:29:58.669Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-24T06:29:58.967Z] ---> job-cost.sh [2023-02-24T06:29:58.967Z] lf-activate-venv: SKIPPING [2023-02-24T06:29:58.967Z] DEBUG: total: 0.2199999988079071 [2023-02-24T06:29:58.967Z] INFO: Retrieving Stack Cost... [2023-02-24T06:29:59.534Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-24T06:29:59.794Z] INFO: Archiving Costs [Pipeline] echo [2023-02-24T06:29:59.808Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-24T06:30:00.090Z] ---> logs-deploy.sh [2023-02-24T06:30:00.090Z] lf-activate-venv: SKIPPING [2023-02-24T06:30:00.090Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1345/2 [2023-02-24T06:30:00.090Z] INFO: archiving workspace using pattern(s): [2023-02-24T06:30:01.041Z] Archives upload complete. [2023-02-24T06:30:01.041Z] INFO: archiving logs to Nexus