Pull request #1391 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 weichou1229 for edgexfoundry/device-sdk-go Loading trusted files from base branch main at c61610bbbff1187c8ac68f5c7e0a10add7b75ddb rather than 10d5e12624f46d0f30520b79e9c1be0698a93a7a Obtained Jenkinsfile from c61610bbbff1187c8ac68f5c7e0a10add7b75ddb 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-ssh9468545325375765828.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh7066970408847787277.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1391/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-1391/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12143403123857413021.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh16053114231789960986.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-1391/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-1391/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh13515942232254528126.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v3]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task ‘prd-centos7-blackbox-4c-2g-4488’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-8c-8g-4692’ is offline Running on prd-ubuntu20.04-docker-8c-8g-4693 in /w/workspace/gexfoundry_device-sdk-go_PR-1391 [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-1391 # 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/1391/head:refs/remotes/origin/PR-1391 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit c61610bbbff1187c8ac68f5c7e0a10add7b75ddb into PR head commit 10d5e12624f46d0f30520b79e9c1be0698a93a7a Merge succeeded, producing a9fa5472a78347dda8fa8fb152341454378a28e1 Checking out Revision a9fa5472a78347dda8fa8fb152341454378a28e1 (PR-1391) > git config core.sparsecheckout # timeout=10 > git checkout -f 10d5e12624f46d0f30520b79e9c1be0698a93a7a # 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 c61610bbbff1187c8ac68f5c7e0a10add7b75ddb # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a9fa5472a78347dda8fa8fb152341454378a28e1 # timeout=10 Commit message: "Merge commit 'c61610bbbff1187c8ac68f5c7e0a10add7b75ddb' into HEAD" > git rev-list --no-walk 8f5fed348107c326f39d28688835643cfeecd7b7 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-03-21T01:37:34.621Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-03-21T01:37:34.673Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-03-21T01:37:34.687Z] ========================================================= [2023-03-21T01:37:34.687Z] EdgeX Global Pipelines Version Info [2023-03-21T01:37:34.687Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-03-21T01:37:35.404Z] ------------------- [2023-03-21T01:37:35.404Z] stable info: [2023-03-21T01:37:35.404Z] ------------------- [2023-03-21T01:37:35.404Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-03-21T01:37:35.404Z] Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a [2023-03-21T01:37:35.404Z] Message: update stable to v1.0.245 [2023-03-21T01:37:35.973Z] ------------------- [2023-03-21T01:37:35.973Z] experimental info: [2023-03-21T01:37:35.973Z] ------------------- [2023-03-21T01:37:35.973Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-03-21T01:37:35.973Z] Commit SHA: eb5041bb0874f6b7cdca3e6793e1ef87c0289dce [2023-03-21T01:37:35.973Z] Message: update experimental to v1.0.246 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-03-21T01:37:36.158Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-03-21T01:37:36.170Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-03-21T01:37:36.186Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-03-21T01:37:36.195Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-03-21T01:37:36.207Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-03-21T01:37:36.220Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-03-21T01:37:36.230Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-03-21T01:37:36.241Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-03-21T01:37:36.253Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-03-21T01:37:36.270Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-03-21T01:37:36.286Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-03-21T01:37:36.298Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-03-21T01:37:36.308Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-03-21T01:37:36.321Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-03-21T01:37:36.336Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-03-21T01:37:36.346Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-03-21T01:37:36.355Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-03-21T01:37:36.366Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-03-21T01:37:36.377Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-03-21T01:37:36.390Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-03-21T01:37:36.401Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-03-21T01:37:36.412Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2023-03-21T01:37:36.423Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-03-21T01:37:36.435Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-03-21T01:37:36.448Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-03-21T01:37:36.458Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-03-21T01:37:36.469Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-03-21T01:37:36.482Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1391 [Pipeline] echo [2023-03-21T01:37:36.496Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1391 [Pipeline] echo [2023-03-21T01:37:36.512Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1391 [Pipeline] echo [2023-03-21T01:37:36.525Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a9fa5472a78347dda8fa8fb152341454378a28e1 [Pipeline] echo [2023-03-21T01:37:36.537Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a9fa547 [Pipeline] echo [2023-03-21T01:37:36.549Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-21T01:37:36.590Z] provisioning config files... [2023-03-21T01:37:36.606Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1391@tmp/config13345721478077724094tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-21T01:37:36.903Z] ---> docker-login.sh [2023-03-21T01:37:36.903Z] nexus3.edgexfoundry.org:10001 [2023-03-21T01:37:37.164Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T01:37:37.426Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T01:37:37.426Z] Configure a credential helper to remove this warning. See [2023-03-21T01:37:37.426Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T01:37:37.426Z] [2023-03-21T01:37:37.426Z] Login Succeeded [2023-03-21T01:37:37.426Z] nexus3.edgexfoundry.org:10002 [2023-03-21T01:37:37.426Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T01:37:37.426Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T01:37:37.426Z] Configure a credential helper to remove this warning. See [2023-03-21T01:37:37.426Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T01:37:37.426Z] [2023-03-21T01:37:37.426Z] Login Succeeded [2023-03-21T01:37:37.426Z] nexus3.edgexfoundry.org:10003 [2023-03-21T01:37:37.426Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T01:37:37.686Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T01:37:37.686Z] Configure a credential helper to remove this warning. See [2023-03-21T01:37:37.686Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T01:37:37.686Z] [2023-03-21T01:37:37.686Z] Login Succeeded [2023-03-21T01:37:37.686Z] nexus3.edgexfoundry.org:10004 [2023-03-21T01:37:37.686Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T01:37:37.686Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T01:37:37.686Z] Configure a credential helper to remove this warning. See [2023-03-21T01:37:37.686Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T01:37:37.686Z] [2023-03-21T01:37:37.686Z] Login Succeeded [2023-03-21T01:37:37.686Z] docker.io [2023-03-21T01:37:37.686Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T01:37:37.947Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T01:37:37.947Z] Configure a credential helper to remove this warning. See [2023-03-21T01:37:37.947Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T01:37:37.947Z] [2023-03-21T01:37:37.947Z] Login Succeeded [2023-03-21T01:37:37.947Z] ---> docker-login.sh ends [Pipeline] } [2023-03-21T01:37:37.954Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-03-21T01:37:38.318Z] + git rev-list -1 --merges a9fa5472a78347dda8fa8fb152341454378a28e1~1..a9fa5472a78347dda8fa8fb152341454378a28e1 [Pipeline] echo [2023-03-21T01:37:38.361Z] -----------> git rev-list -1 --merges a9fa5472a78347dda8fa8fb152341454378a28e1~1..a9fa5472a78347dda8fa8fb152341454378a28e1 a9fa5472a78347dda8fa8fb152341454378a28e1 [2023-03-21T01:37:38.361Z] a9fa5472a78347dda8fa8fb152341454378a28e1 [false] [Pipeline] sh [2023-03-21T01:37:38.651Z] + git log --format=format:%s -1 a9fa5472a78347dda8fa8fb152341454378a28e1 [Pipeline] echo [2023-03-21T01:37:38.666Z] ========================================================= [2023-03-21T01:37:38.666Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-03-21T01:37:38.666Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-21T01:37:38.995Z] + git log --format=format:%s -1 a9fa5472a78347dda8fa8fb152341454378a28e1 [Pipeline] echo [2023-03-21T01:37:39.005Z] [semverPrep] GIT_COMMIT: a9fa5472a78347dda8fa8fb152341454378a28e1, Commit Message: Merge commit 'c61610bbbff1187c8ac68f5c7e0a10add7b75ddb' into HEAD [Pipeline] echo [2023-03-21T01:37:39.012Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-03-21T01:37:39.346Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-21T01:37:39.346Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-03-21T01:37:39.346Z] + [ -e /tmp/ssh_known_hosts ] [2023-03-21T01:37:39.346Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-03-21T01:37:39.346Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-03-21T01:37:39.346Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-03-21T01:37:39.346Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T01:37:39.692Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-21T01:37:39.692Z] [2023-03-21T01:37:39.692Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T01:37:39.989Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-21T01:37:39.989Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-03-21T01:37:39.989Z] b85a868b505f: Pulling fs layer [2023-03-21T01:37:39.989Z] e2be974225ed: Pulling fs layer [2023-03-21T01:37:39.989Z] 339a4e72a1f5: Pulling fs layer [2023-03-21T01:37:39.989Z] 988bab9f4d93: Pulling fs layer [2023-03-21T01:37:39.989Z] 1469e6f7b9e6: Pulling fs layer [2023-03-21T01:37:39.989Z] eaf3925da568: Pulling fs layer [2023-03-21T01:37:39.989Z] bab4dde63d76: Pulling fs layer [2023-03-21T01:37:39.989Z] bde34c3a00c8: Pulling fs layer [2023-03-21T01:37:39.989Z] b352a97aabf1: Pulling fs layer [2023-03-21T01:37:39.989Z] 4872d77fe225: Pulling fs layer [2023-03-21T01:37:39.989Z] 5851b861e8e6: Pulling fs layer [2023-03-21T01:37:39.989Z] 988bab9f4d93: Waiting [2023-03-21T01:37:39.989Z] 1469e6f7b9e6: Waiting [2023-03-21T01:37:39.989Z] eaf3925da568: Waiting [2023-03-21T01:37:39.989Z] bab4dde63d76: Waiting [2023-03-21T01:37:39.989Z] bde34c3a00c8: Waiting [2023-03-21T01:37:39.989Z] 5851b861e8e6: Waiting [2023-03-21T01:37:39.989Z] 4872d77fe225: Waiting [2023-03-21T01:37:39.989Z] b352a97aabf1: Waiting [2023-03-21T01:37:39.989Z] e2be974225ed: Download complete [2023-03-21T01:37:39.989Z] 988bab9f4d93: Download complete [2023-03-21T01:37:40.248Z] 1469e6f7b9e6: Verifying Checksum [2023-03-21T01:37:40.248Z] 1469e6f7b9e6: Download complete [2023-03-21T01:37:40.248Z] eaf3925da568: Download complete [2023-03-21T01:37:40.248Z] 339a4e72a1f5: Verifying Checksum [2023-03-21T01:37:40.248Z] 339a4e72a1f5: Download complete [2023-03-21T01:37:40.248Z] bde34c3a00c8: Verifying Checksum [2023-03-21T01:37:40.248Z] bde34c3a00c8: Download complete [2023-03-21T01:37:40.248Z] b352a97aabf1: Verifying Checksum [2023-03-21T01:37:40.248Z] b352a97aabf1: Download complete [2023-03-21T01:37:40.248Z] 4872d77fe225: Verifying Checksum [2023-03-21T01:37:40.248Z] 4872d77fe225: Download complete [2023-03-21T01:37:40.248Z] 5851b861e8e6: Verifying Checksum [2023-03-21T01:37:40.248Z] 5851b861e8e6: Download complete [2023-03-21T01:37:40.248Z] b85a868b505f: Verifying Checksum [2023-03-21T01:37:40.248Z] b85a868b505f: Download complete [2023-03-21T01:37:40.506Z] bab4dde63d76: Verifying Checksum [2023-03-21T01:37:40.506Z] bab4dde63d76: Download complete [2023-03-21T01:37:41.883Z] b85a868b505f: Pull complete [2023-03-21T01:37:41.883Z] e2be974225ed: Pull complete [2023-03-21T01:37:42.461Z] 339a4e72a1f5: Pull complete [2023-03-21T01:37:42.461Z] 988bab9f4d93: Pull complete [2023-03-21T01:37:42.720Z] 1469e6f7b9e6: Pull complete [2023-03-21T01:37:42.720Z] eaf3925da568: Pull complete [2023-03-21T01:37:44.625Z] bab4dde63d76: Pull complete [2023-03-21T01:37:44.625Z] bde34c3a00c8: Pull complete [2023-03-21T01:37:44.625Z] b352a97aabf1: Pull complete [2023-03-21T01:37:44.883Z] 4872d77fe225: Pull complete [2023-03-21T01:37:44.883Z] 5851b861e8e6: Pull complete [2023-03-21T01:37:44.883Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-03-21T01:37:44.883Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-21T01:37:44.883Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-21T01:37:44.976Z] prd-ubuntu20.04-docker-8c-8g-4693 does not seem to be running inside a container [2023-03-21T01:37:45.012Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1391 -v /w/workspace/gexfoundry_device-sdk-go_PR-1391:/w/workspace/gexfoundry_device-sdk-go_PR-1391:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1391@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1391@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-03-21T01:37:49.096Z] $ docker top 08196cd44815734782b864a5215b178094e4966ba0944b7a56814136f858d46c -eo pid,comm [2023-03-21T01:37:49.298Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-03-21T01:37:49.298Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-21T01:37:49.327Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-21T01:37:49.327Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-21T01:37:49.444Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-21T01:37:49.458Z] $ docker exec 08196cd44815734782b864a5215b178094e4966ba0944b7a56814136f858d46c ssh-agent [2023-03-21T01:37:49.561Z] SSH_AUTH_SOCK=/tmp/ssh-wRDeIx7aU9M1/agent.14 [2023-03-21T01:37:49.561Z] SSH_AGENT_PID=20 [2023-03-21T01:37:49.567Z] Running ssh-add (command line suppressed) [2023-03-21T01:37:49.667Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1391@tmp/private_key_2146813223710386183.key (/w/workspace/gexfoundry_device-sdk-go_PR-1391@tmp/private_key_2146813223710386183.key) [2023-03-21T01:37:49.682Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-21T01:37:49.969Z] + git tag --points-at HEAD [Pipeline] } [2023-03-21T01:37:49.991Z] $ docker exec --env ******** --env ******** 08196cd44815734782b864a5215b178094e4966ba0944b7a56814136f858d46c ssh-agent -k [2023-03-21T01:37:50.096Z] unset SSH_AUTH_SOCK; [2023-03-21T01:37:50.097Z] unset SSH_AGENT_PID; [2023-03-21T01:37:50.098Z] echo Agent pid 20 killed; [2023-03-21T01:37:50.105Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-03-21T01:37:50.139Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-21T01:37:50.139Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-21T01:37:50.263Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-21T01:37:50.271Z] $ docker exec 08196cd44815734782b864a5215b178094e4966ba0944b7a56814136f858d46c ssh-agent [2023-03-21T01:37:50.370Z] SSH_AUTH_SOCK=/tmp/ssh-Ztzldf0YN9Pf/agent.69 [2023-03-21T01:37:50.370Z] SSH_AGENT_PID=75 [2023-03-21T01:37:50.374Z] Running ssh-add (command line suppressed) [2023-03-21T01:37:50.490Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1391@tmp/private_key_11262640144250314956.key (/w/workspace/gexfoundry_device-sdk-go_PR-1391@tmp/private_key_11262640144250314956.key) [2023-03-21T01:37:50.498Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-21T01:37:50.788Z] + git semver init [2023-03-21T01:37:51.048Z] 2023-03-21 01:37:50,970 [run_init] DEBUG init version:0.0.0 force:False [2023-03-21T01:37:51.048Z] 2023-03-21 01:37:50,971 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1391/.semver [2023-03-21T01:37:51.048Z] 2023-03-21 01:37:50,971 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1391/.semver [2023-03-21T01:37:51.048Z] 2023-03-21 01:37:50,972 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1391/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1391, universal_newlines=False, shell=None, istream=None) [2023-03-21T01:37:51.988Z] 2023-03-21 01:37:51,806 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1391/.git/info/exclude [2023-03-21T01:37:51.988Z] 2023-03-21 01:37:51,806 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1391/.semver/PR-1391 with force:False [2023-03-21T01:37:51.988Z] 2023-03-21 01:37:51,806 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1391/.semver/PR-1391 [2023-03-21T01:37:51.988Z] 2023-03-21 01:37:51,810 [execute] INFO git cat-file --batch-check [2023-03-21T01:37:51.988Z] 2023-03-21 01:37:51,810 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1391/.semver, universal_newlines=False, shell=None, istream=) [2023-03-21T01:37:51.988Z] 2023-03-21 01:37:51,817 [execute] INFO git cat-file --batch [2023-03-21T01:37:51.988Z] 2023-03-21 01:37:51,818 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1391/.semver, universal_newlines=False, shell=None, istream=) [2023-03-21T01:37:51.988Z] 2023-03-21 01:37:51,823 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1391/.semver/PR-1391 [2023-03-21T01:37:51.988Z] 0.0.0 [Pipeline] } [2023-03-21T01:37:52.003Z] $ docker exec --env ******** --env ******** 08196cd44815734782b864a5215b178094e4966ba0944b7a56814136f858d46c ssh-agent -k [2023-03-21T01:37:52.106Z] unset SSH_AUTH_SOCK; [2023-03-21T01:37:52.107Z] unset SSH_AGENT_PID; [2023-03-21T01:37:52.107Z] echo Agent pid 75 killed; [2023-03-21T01:37:52.112Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-21T01:37:52.429Z] + git semver [Pipeline] } [2023-03-21T01:37:52.706Z] $ docker stop --time=1 08196cd44815734782b864a5215b178094e4966ba0944b7a56814136f858d46c [2023-03-21T01:37:54.000Z] $ docker rm -f --volumes 08196cd44815734782b864a5215b178094e4966ba0944b7a56814136f858d46c [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-21T01:37:54.334Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-03-21T01:37:54.540Z] Stashed 1 file(s) [Pipeline] echo [2023-03-21T01:37:54.544Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-21T01:37:54.687Z] provisioning config files... [2023-03-21T01:37:54.699Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1391@tmp/config1365045419802575553tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-21T01:37:54.996Z] ---> docker-login.sh [2023-03-21T01:37:54.996Z] nexus3.edgexfoundry.org:10001 [2023-03-21T01:37:54.996Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T01:37:54.996Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T01:37:54.996Z] Configure a credential helper to remove this warning. See [2023-03-21T01:37:54.996Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T01:37:54.996Z] [2023-03-21T01:37:54.996Z] Login Succeeded [2023-03-21T01:37:54.996Z] nexus3.edgexfoundry.org:10002 [2023-03-21T01:37:54.996Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T01:37:54.996Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T01:37:54.996Z] Configure a credential helper to remove this warning. See [2023-03-21T01:37:54.996Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T01:37:54.996Z] [2023-03-21T01:37:54.996Z] Login Succeeded [2023-03-21T01:37:54.996Z] nexus3.edgexfoundry.org:10003 [2023-03-21T01:37:55.256Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T01:37:55.256Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T01:37:55.256Z] Configure a credential helper to remove this warning. See [2023-03-21T01:37:55.256Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T01:37:55.256Z] [2023-03-21T01:37:55.256Z] Login Succeeded [2023-03-21T01:37:55.256Z] nexus3.edgexfoundry.org:10004 [2023-03-21T01:37:55.256Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T01:37:55.256Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T01:37:55.256Z] Configure a credential helper to remove this warning. See [2023-03-21T01:37:55.256Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T01:37:55.256Z] [2023-03-21T01:37:55.256Z] Login Succeeded [2023-03-21T01:37:55.256Z] docker.io [2023-03-21T01:37:55.516Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T01:37:55.516Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T01:37:55.516Z] Configure a credential helper to remove this warning. See [2023-03-21T01:37:55.516Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T01:37:55.516Z] [2023-03-21T01:37:55.516Z] Login Succeeded [2023-03-21T01:37:55.516Z] ---> docker-login.sh ends [Pipeline] } [2023-03-21T01:37:55.524Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-21T01:37:55.603Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-21T01:37:55.620Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-21T01:37:55.629Z] ========================================================= [2023-03-21T01:37:55.629Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-03-21T01:37:55.629Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T01:37:55.946Z] + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-03-21T01:37:55.946Z] Sending build context to Docker daemon 10.82MB [2023-03-21T01:37:55.946Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-03-21T01:37:55.946Z] Step 2/10 : FROM ${BASE} AS builder [2023-03-21T01:37:55.946Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-03-21T01:37:55.946Z] 63b65145d645: Pulling fs layer [2023-03-21T01:37:55.946Z] a2d21d5440eb: Pulling fs layer [2023-03-21T01:37:55.946Z] 935e6c44a52c: Pulling fs layer [2023-03-21T01:37:55.946Z] 94cc34f8dd06: Pulling fs layer [2023-03-21T01:37:55.946Z] 30dea6a524f1: Pulling fs layer [2023-03-21T01:37:55.946Z] a2aff8979fd8: Pulling fs layer [2023-03-21T01:37:55.946Z] 6808be2612f2: Pulling fs layer [2023-03-21T01:37:55.946Z] f25807f1079a: Pulling fs layer [2023-03-21T01:37:55.946Z] 6808be2612f2: Waiting [2023-03-21T01:37:55.946Z] f25807f1079a: Waiting [2023-03-21T01:37:55.946Z] 30dea6a524f1: Waiting [2023-03-21T01:37:55.946Z] 94cc34f8dd06: Waiting [2023-03-21T01:37:56.229Z] a2d21d5440eb: Verifying Checksum [2023-03-21T01:37:56.229Z] a2d21d5440eb: Download complete [2023-03-21T01:37:56.229Z] 94cc34f8dd06: Verifying Checksum [2023-03-21T01:37:56.229Z] 94cc34f8dd06: Download complete [2023-03-21T01:37:56.229Z] 30dea6a524f1: Verifying Checksum [2023-03-21T01:37:56.229Z] 30dea6a524f1: Download complete [2023-03-21T01:37:56.229Z] 63b65145d645: Verifying Checksum [2023-03-21T01:37:56.229Z] 63b65145d645: Download complete [2023-03-21T01:37:56.229Z] a2aff8979fd8: Verifying Checksum [2023-03-21T01:37:56.229Z] a2aff8979fd8: Download complete [2023-03-21T01:37:56.495Z] 63b65145d645: Pull complete [2023-03-21T01:37:56.495Z] a2d21d5440eb: Pull complete [2023-03-21T01:37:56.758Z] f25807f1079a: Verifying Checksum [2023-03-21T01:37:56.758Z] f25807f1079a: Download complete [2023-03-21T01:37:56.758Z] 935e6c44a52c: Verifying Checksum [2023-03-21T01:37:56.758Z] 935e6c44a52c: Download complete [2023-03-21T01:37:57.017Z] 6808be2612f2: Download complete [2023-03-21T01:38:00.302Z] 935e6c44a52c: Pull complete [2023-03-21T01:38:00.302Z] 94cc34f8dd06: Pull complete [2023-03-21T01:38:00.302Z] 30dea6a524f1: Pull complete [2023-03-21T01:38:00.560Z] a2aff8979fd8: Pull complete [2023-03-21T01:38:03.095Z] 6808be2612f2: Pull complete [2023-03-21T01:38:03.664Z] f25807f1079a: Pull complete [2023-03-21T01:38:03.664Z] Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 [2023-03-21T01:38:03.664Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-03-21T01:38:03.664Z] ---> 3b553350e43f [2023-03-21T01:38:03.664Z] Step 3/10 : ARG MAKE=make build [2023-03-21T01:38:09.657Z] Still waiting to schedule task [2023-03-21T01:38:09.657Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-03-21T01:38:11.796Z] ---> Running in adca95c8fdb9 [2023-03-21T01:38:11.796Z] Removing intermediate container adca95c8fdb9 [2023-03-21T01:38:11.796Z] ---> 8123e207026e [2023-03-21T01:38:11.796Z] Step 4/10 : WORKDIR /device-sdk-go [2023-03-21T01:38:11.796Z] ---> Running in c0b0a9e83214 [2023-03-21T01:38:11.796Z] Removing intermediate container c0b0a9e83214 [2023-03-21T01:38:11.796Z] ---> 982f60b5d63b [2023-03-21T01:38:11.796Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-03-21T01:38:11.796Z] ---> Running in a255616074d7 [2023-03-21T01:38:11.796Z] Removing intermediate container a255616074d7 [2023-03-21T01:38:11.796Z] ---> 1f7f855917c4 [2023-03-21T01:38:11.796Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-03-21T01:38:11.796Z] ---> Running in cb3de04a59ad [2023-03-21T01:38:11.796Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-21T01:38:11.796Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-21T01:38:11.796Z] OK: 265 MiB in 53 packages [2023-03-21T01:38:11.796Z] Removing intermediate container cb3de04a59ad [2023-03-21T01:38:11.796Z] ---> 5cf4a4906949 [2023-03-21T01:38:11.796Z] Step 7/10 : COPY go.mod vendor* ./ [2023-03-21T01:38:12.057Z] ---> 08637b72a926 [2023-03-21T01:38:12.057Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-21T01:38:12.057Z] ---> Running in 49038fd922f2 [2023-03-21T01:38:58.751Z] Removing intermediate container 49038fd922f2 [2023-03-21T01:38:58.751Z] ---> c7bc1125f276 [2023-03-21T01:38:58.751Z] Step 9/10 : COPY . . [2023-03-21T01:38:58.751Z] ---> cb725b7e66f5 [2023-03-21T01:38:58.752Z] Step 10/10 : RUN ${MAKE} [2023-03-21T01:38:58.752Z] ---> Running in 25d34de529d0 [2023-03-21T01:38:58.752Z] noop [2023-03-21T01:38:58.752Z] Removing intermediate container 25d34de529d0 [2023-03-21T01:38:58.752Z] ---> c1344377bf66 [2023-03-21T01:38:58.752Z] Successfully built c1344377bf66 [2023-03-21T01:38:58.752Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T01:38:59.060Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-21T01:38:59.060Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-21T01:38:59.136Z] prd-ubuntu20.04-docker-8c-8g-4693 does not seem to be running inside a container [2023-03-21T01:38:59.170Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1391 -v /w/workspace/gexfoundry_device-sdk-go_PR-1391:/w/workspace/gexfoundry_device-sdk-go_PR-1391:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1391@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1391@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-21T01:38:59.522Z] $ docker top d0da4d44ee19742ac61a20aefbbc6ba3cc054335f8d926611ae03b360295eff9 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-21T01:38:59.858Z] + go version [2023-03-21T01:38:59.858Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-03-21T01:38:59.872Z] $ docker stop --time=1 d0da4d44ee19742ac61a20aefbbc6ba3cc054335f8d926611ae03b360295eff9 [2023-03-21T01:39:01.131Z] $ docker rm -f --volumes d0da4d44ee19742ac61a20aefbbc6ba3cc054335f8d926611ae03b360295eff9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T01:39:01.520Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-21T01:39:01.520Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-21T01:39:01.589Z] prd-ubuntu20.04-docker-8c-8g-4693 does not seem to be running inside a container [2023-03-21T01:39:01.617Z] $ 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-1391 -v /w/workspace/gexfoundry_device-sdk-go_PR-1391:/w/workspace/gexfoundry_device-sdk-go_PR-1391:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1391@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1391@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-21T01:39:01.940Z] $ docker top efa4dbf1a12a97ccc13e3585d80cdb4b2d59ff43be28b116519d452d1e767b00 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-21T01:39:02.282Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1391 [Pipeline] fileExists [Pipeline] sh [2023-03-21T01:39:02.575Z] + make test [2023-03-21T01:39:02.575Z] go test -race -coverprofile=coverage.out ./... [2023-03-21T01:39:09.139Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-03-21T01:39:21.330Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-03-21T01:39:21.330Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-03-21T01:39:21.330Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-03-21T01:39:21.330Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-03-21T01:39:21.330Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-03-21T01:39:21.330Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.059s coverage: 27.6% of statements [2023-03-21T01:39:21.330Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-03-21T01:39:21.330Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-03-21T01:39:21.331Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.070s coverage: 78.9% of statements [2023-03-21T01:39:21.331Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.080s coverage: 86.0% of statements [2023-03-21T01:39:21.590Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-03-21T01:39:21.591Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.101s coverage: 77.6% of statements [2023-03-21T01:39:22.524Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-03-21T01:39:22.524Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-03-21T01:39:22.524Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-03-21T01:39:22.789Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-03-21T01:39:25.320Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.054s coverage: 14.9% of statements [2023-03-21T01:39:25.320Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.070s coverage: 65.7% of statements [2023-03-21T01:39:25.320Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.116s coverage: 89.2% of statements [2023-03-21T01:39:25.320Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.057s coverage: 5.6% of statements [2023-03-21T01:39:43.389Z] GO111MODULE=on go vet ./... [2023-03-21T01:39:46.681Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-21T01:39:46.681Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-21T01:39:46.939Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-21T01:39:46.951Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-21T01:39:46.964Z] $ docker stop --time=1 efa4dbf1a12a97ccc13e3585d80cdb4b2d59ff43be28b116519d452d1e767b00 [2023-03-21T01:39:51.584Z] $ docker rm -f --volumes efa4dbf1a12a97ccc13e3585d80cdb4b2d59ff43be28b116519d452d1e767b00 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-21T01:39:52.083Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-21T01:39:52.146Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-03-21T01:39:52.657Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-21T01:39:52.938Z] + ls -al . [2023-03-21T01:39:52.938Z] total 276 [2023-03-21T01:39:52.938Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 21 01:39 . [2023-03-21T01:39:52.938Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 21 01:37 .. [2023-03-21T01:39:52.938Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 21 01:37 .dockerignore [2023-03-21T01:39:52.938Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 21 01:37 .git [2023-03-21T01:39:52.938Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 21 01:37 .github [2023-03-21T01:39:52.938Z] -rw-rw-r-- 1 jenkins jenkins 131 Mar 21 01:37 .gitignore [2023-03-21T01:39:52.938Z] -rw-rw-r-- 1 jenkins jenkins 42 Mar 21 01:37 .golangci.yml [2023-03-21T01:39:52.938Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 21 01:37 .semver [2023-03-21T01:39:52.938Z] -rw-rw-r-- 1 jenkins jenkins 31677 Mar 21 01:37 CHANGELOG.md [2023-03-21T01:39:52.938Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 21 01:37 GOVERNANCE.md [2023-03-21T01:39:52.938Z] -rw-rw-r-- 1 jenkins jenkins 885 Mar 21 01:37 Jenkinsfile [2023-03-21T01:39:52.938Z] -rw-rw-r-- 1 jenkins jenkins 11341 Mar 21 01:37 LICENSE [2023-03-21T01:39:52.938Z] -rw-rw-r-- 1 jenkins jenkins 1714 Mar 21 01:37 Makefile [2023-03-21T01:39:52.938Z] -rw-rw-r-- 1 jenkins jenkins 619 Mar 21 01:37 OWNERS.md [2023-03-21T01:39:52.938Z] -rw-rw-r-- 1 jenkins jenkins 4891 Mar 21 01:37 README.md [2023-03-21T01:39:52.938Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 21 01:37 VERSION [2023-03-21T01:39:52.938Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 21 01:37 bin [2023-03-21T01:39:52.938Z] -rw-r--r-- 1 jenkins jenkins 108610 Mar 21 01:39 coverage.out [2023-03-21T01:39:52.938Z] drwxrwxr-x 5 jenkins jenkins 4096 Mar 21 01:37 example [2023-03-21T01:39:52.938Z] -rw-rw-r-- 1 jenkins jenkins 3291 Mar 21 01:37 go.mod [2023-03-21T01:39:52.938Z] -rw-rw-r-- 1 jenkins jenkins 30841 Mar 21 01:37 go.sum [2023-03-21T01:39:52.939Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 21 01:37 internal [2023-03-21T01:39:52.939Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 01:37 openapi [2023-03-21T01:39:52.939Z] drwxrwxr-x 6 jenkins jenkins 4096 Mar 21 01:37 pkg [2023-03-21T01:39:52.939Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 21 01:37 snap [2023-03-21T01:39:52.939Z] -rw-rw-r-- 1 jenkins jenkins 222 Mar 21 01:37 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T01:39:53.250Z] + 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=a9fa5472a78347dda8fa8fb152341454378a28e1 --label arch=amd64 --label version=0.0.0 . [2023-03-21T01:39:53.250Z] Sending build context to Docker daemon 10.93MB [2023-03-21T01:39:53.250Z] Step 1/23 : ARG BASE=golang:1.20-alpine3.17 [2023-03-21T01:39:53.250Z] Step 2/23 : FROM ${BASE} AS builder [2023-03-21T01:39:53.250Z] ---> c1344377bf66 [2023-03-21T01:39:53.250Z] Step 3/23 : ARG MAKE=make build [2023-03-21T01:39:53.510Z] ---> Running in bc93b4b0c5b3 [2023-03-21T01:39:53.510Z] Removing intermediate container bc93b4b0c5b3 [2023-03-21T01:39:53.510Z] ---> 8a39950fed3b [2023-03-21T01:39:53.510Z] Step 4/23 : WORKDIR /device-sdk-go [2023-03-21T01:39:53.510Z] ---> Running in 05490ea1f0a4 [2023-03-21T01:39:53.769Z] Removing intermediate container 05490ea1f0a4 [2023-03-21T01:39:53.769Z] ---> e40d13efa8be [2023-03-21T01:39:53.769Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-03-21T01:39:53.769Z] ---> Running in c41094caeec4 [2023-03-21T01:39:53.769Z] Removing intermediate container c41094caeec4 [2023-03-21T01:39:53.769Z] ---> e2edea823473 [2023-03-21T01:39:53.769Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-03-21T01:39:53.769Z] ---> Running in 8671fc8b8394 [2023-03-21T01:39:54.029Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-21T01:39:54.288Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-21T01:39:54.544Z] OK: 265 MiB in 53 packages [2023-03-21T01:39:54.802Z] Removing intermediate container 8671fc8b8394 [2023-03-21T01:39:54.802Z] ---> a56ae3274e95 [2023-03-21T01:39:54.802Z] Step 7/23 : COPY go.mod vendor* ./ [2023-03-21T01:39:54.802Z] ---> a91ded406d9c [2023-03-21T01:39:54.802Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-21T01:39:54.802Z] ---> Running in a2e0fa669b6d [2023-03-21T01:39:55.744Z] Removing intermediate container a2e0fa669b6d [2023-03-21T01:39:55.744Z] ---> 1ba31194e7a4 [2023-03-21T01:39:55.744Z] Step 9/23 : COPY . . [2023-03-21T01:39:56.310Z] ---> 5297e5590952 [2023-03-21T01:39:56.310Z] Step 10/23 : RUN ${MAKE} [2023-03-21T01:39:56.310Z] ---> Running in cc46880e75c2 [2023-03-21T01:39:56.587Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-03-21T01:40:18.505Z] Removing intermediate container cc46880e75c2 [2023-03-21T01:40:18.505Z] ---> 1bcb57a4dd18 [2023-03-21T01:40:18.505Z] Step 11/23 : FROM alpine:3.17 [2023-03-21T01:40:18.505Z] 3.17: Pulling from library/alpine [2023-03-21T01:40:18.505Z] 63b65145d645: Already exists [2023-03-21T01:40:18.505Z] Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 [2023-03-21T01:40:18.505Z] Status: Downloaded newer image for alpine:3.17 [2023-03-21T01:40:18.505Z] ---> b2aa39c304c2 [2023-03-21T01:40:18.505Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-03-21T01:40:18.505Z] ---> Running in 7362a616c3c6 [2023-03-21T01:40:18.505Z] Removing intermediate container 7362a616c3c6 [2023-03-21T01:40:18.505Z] ---> 542389468926 [2023-03-21T01:40:18.505Z] Step 13/23 : RUN apk add --update --no-cache [2023-03-21T01:40:18.505Z] ---> Running in b7d3b3c78cca [2023-03-21T01:40:18.505Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-21T01:40:18.505Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-21T01:40:18.505Z] OK: 7 MiB in 15 packages [2023-03-21T01:40:18.505Z] Removing intermediate container b7d3b3c78cca [2023-03-21T01:40:18.505Z] ---> a9e049ac13d5 [2023-03-21T01:40:18.505Z] Step 14/23 : WORKDIR / [2023-03-21T01:40:18.505Z] ---> Running in 3791d7adc673 [2023-03-21T01:40:18.505Z] Removing intermediate container 3791d7adc673 [2023-03-21T01:40:18.505Z] ---> 59a751636b6c [2023-03-21T01:40:18.505Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-03-21T01:40:18.505Z] ---> 6fb789457052 [2023-03-21T01:40:18.505Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-03-21T01:40:18.505Z] ---> b9ab4cbf4279 [2023-03-21T01:40:18.505Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-03-21T01:40:18.505Z] ---> 11dec0c4406f [2023-03-21T01:40:18.505Z] Step 18/23 : EXPOSE 59999 [2023-03-21T01:40:18.505Z] ---> Running in 515738bf9a70 [2023-03-21T01:40:18.505Z] Removing intermediate container 515738bf9a70 [2023-03-21T01:40:18.505Z] ---> a5554edeb5a7 [2023-03-21T01:40:18.505Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-03-21T01:40:18.505Z] ---> Running in f3ffad67f91b [2023-03-21T01:40:18.505Z] Removing intermediate container f3ffad67f91b [2023-03-21T01:40:18.505Z] ---> 95ffd3019400 [2023-03-21T01:40:18.505Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-03-21T01:40:18.505Z] ---> Running in ba633ce1dd66 [2023-03-21T01:40:18.505Z] Removing intermediate container ba633ce1dd66 [2023-03-21T01:40:18.505Z] ---> 63701811b0fc [2023-03-21T01:40:18.505Z] Step 21/23 : LABEL arch=amd64 [2023-03-21T01:40:18.505Z] ---> Running in b62adb7f4da0 [2023-03-21T01:40:18.505Z] Removing intermediate container b62adb7f4da0 [2023-03-21T01:40:18.505Z] ---> 116ad7435318 [2023-03-21T01:40:18.505Z] Step 22/23 : LABEL git_sha=a9fa5472a78347dda8fa8fb152341454378a28e1 [2023-03-21T01:40:18.505Z] ---> Running in 5acdd5f8a1f9 [2023-03-21T01:40:18.505Z] Removing intermediate container 5acdd5f8a1f9 [2023-03-21T01:40:18.505Z] ---> cb515cb7a461 [2023-03-21T01:40:18.505Z] Step 23/23 : LABEL version=0.0.0 [2023-03-21T01:40:18.505Z] ---> Running in 67ec468374fd [2023-03-21T01:40:18.505Z] Removing intermediate container 67ec468374fd [2023-03-21T01:40:18.505Z] ---> 384cf5ff93d0 [2023-03-21T01:40:18.505Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-21T01:40:18.505Z] Successfully built 384cf5ff93d0 [2023-03-21T01:40:18.505Z] Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T01:40:18.925Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-21T01:40:18.925Z] [2023-03-21T01:40:18.925Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T01:40:19.224Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-21T01:40:19.224Z] latest: Pulling from edgex-lftools-log-publisher [2023-03-21T01:40:19.224Z] 5eb5b503b376: Pulling fs layer [2023-03-21T01:40:19.224Z] 5c69ac0246d0: Pulling fs layer [2023-03-21T01:40:19.224Z] ec43610c2a17: Pulling fs layer [2023-03-21T01:40:19.224Z] 3a2ae6a8a46f: Pulling fs layer [2023-03-21T01:40:19.224Z] 33b1e0a273af: Pulling fs layer [2023-03-21T01:40:19.224Z] 5d3b04190fa2: Pulling fs layer [2023-03-21T01:40:19.224Z] 2f39f015ded8: Pulling fs layer [2023-03-21T01:40:19.224Z] 3a2ae6a8a46f: Waiting [2023-03-21T01:40:19.224Z] 33b1e0a273af: Waiting [2023-03-21T01:40:19.224Z] 2f39f015ded8: Waiting [2023-03-21T01:40:19.224Z] 5d3b04190fa2: Waiting [2023-03-21T01:40:19.224Z] 5c69ac0246d0: Verifying Checksum [2023-03-21T01:40:19.224Z] 5c69ac0246d0: Download complete [2023-03-21T01:40:19.485Z] 3a2ae6a8a46f: Verifying Checksum [2023-03-21T01:40:19.485Z] 3a2ae6a8a46f: Download complete [2023-03-21T01:40:19.485Z] 33b1e0a273af: Verifying Checksum [2023-03-21T01:40:19.485Z] 33b1e0a273af: Download complete [2023-03-21T01:40:19.485Z] ec43610c2a17: Verifying Checksum [2023-03-21T01:40:19.485Z] ec43610c2a17: Download complete [2023-03-21T01:40:19.485Z] 5d3b04190fa2: Verifying Checksum [2023-03-21T01:40:19.485Z] 5d3b04190fa2: Download complete [2023-03-21T01:40:19.745Z] 5eb5b503b376: Verifying Checksum [2023-03-21T01:40:19.745Z] 5eb5b503b376: Download complete [2023-03-21T01:40:20.311Z] 2f39f015ded8: Download complete [2023-03-21T01:40:20.884Z] 5eb5b503b376: Pull complete [2023-03-21T01:40:21.142Z] 5c69ac0246d0: Pull complete [2023-03-21T01:40:21.404Z] ec43610c2a17: Pull complete [2023-03-21T01:40:21.404Z] 3a2ae6a8a46f: Pull complete [2023-03-21T01:40:21.661Z] 33b1e0a273af: Pull complete [2023-03-21T01:40:21.661Z] 5d3b04190fa2: Pull complete [2023-03-21T01:40:25.845Z] 2f39f015ded8: Pull complete [2023-03-21T01:40:25.845Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-03-21T01:40:25.845Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-21T01:40:25.845Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-21T01:40:25.939Z] prd-ubuntu20.04-docker-8c-8g-4693 does not seem to be running inside a container [2023-03-21T01:40:25.976Z] $ 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-1391 -v /w/workspace/gexfoundry_device-sdk-go_PR-1391:/w/workspace/gexfoundry_device-sdk-go_PR-1391:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1391@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1391@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-21T01:40:30.934Z] $ docker top d672aa2aca315f1c35913e88602e0f9f1719600aa08d5515af14a58c2a87ff1a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-21T01:40:31.302Z] ---> job-cost.sh [2023-03-21T01:40:31.302Z] lf-activate-venv: SKIPPING [2023-03-21T01:40:31.302Z] INFO: No Stack... [2023-03-21T01:40:31.560Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-21T01:40:31.819Z] INFO: Archiving Costs [Pipeline] sh [2023-03-21T01:40:32.104Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1391/archives/cost.csv [2023-03-21T01:40:32.104Z] + cut -d, -f6 [Pipeline] lock [2023-03-21T01:40:32.116Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1391-8-stack-cost] [2023-03-21T01:40:32.125Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1391-8-stack-cost] did not exist. Created. [2023-03-21T01:40:32.125Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1391-8-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-21T01:40:32.429Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-03-21T01:40:32.457Z] Stashed 1 file(s) [Pipeline] } [2023-03-21T01:40:32.468Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1391-8-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-21T01:40:32.491Z] $ docker stop --time=1 d672aa2aca315f1c35913e88602e0f9f1719600aa08d5515af14a58c2a87ff1a [2023-03-21T01:40:33.635Z] $ docker rm -f --volumes d672aa2aca315f1c35913e88602e0f9f1719600aa08d5515af14a58c2a87ff1a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-21T01:41:07.350Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-4695 in /w/workspace/gexfoundry_device-sdk-go_PR-1391 [Pipeline] { [Pipeline] ws [2023-03-21T01:41:07.362Z] Running in /w/workspace/device-sdk-go/8 [Pipeline] { [Pipeline] checkout [2023-03-21T01:41:07.402Z] The recommended git tool is: git [2023-03-21T01:41:13.224Z] using credential edgex-jenkins-ssh [2023-03-21T01:41:13.245Z] Cloning the remote Git repository [2023-03-21T01:41:13.303Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-03-21T01:41:13.421Z] > git init /w/workspace/device-sdk-go/8 # timeout=10 [2023-03-21T01:41:13.613Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-03-21T01:41:13.614Z] > git --version # timeout=10 [2023-03-21T01:41:13.644Z] > git --version # 'git version 2.25.1' [2023-03-21T01:41:13.648Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-21T01:41:13.816Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-21T01:41:15.585Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-03-21T01:41:15.611Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-21T01:41:17.334Z] Merging remotes/origin/main commit c61610bbbff1187c8ac68f5c7e0a10add7b75ddb into PR head commit 10d5e12624f46d0f30520b79e9c1be0698a93a7a [2023-03-21T01:41:16.574Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-03-21T01:41:16.617Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-03-21T01:41:16.619Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-21T01:41:16.637Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1391/head:refs/remotes/origin/PR-1391 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-03-21T01:41:17.357Z] > git config core.sparsecheckout # timeout=10 [2023-03-21T01:41:17.447Z] > git checkout -f 10d5e12624f46d0f30520b79e9c1be0698a93a7a # timeout=10 [2023-03-21T01:41:17.566Z] > git remote # timeout=10 [2023-03-21T01:41:17.589Z] > git config --get remote.origin.url # timeout=10 [2023-03-21T01:41:17.747Z] Merge succeeded, producing f1f7d342704ea4458ea9a005ed8ffaaf4c404fd3 [2023-03-21T01:41:17.748Z] Checking out Revision f1f7d342704ea4458ea9a005ed8ffaaf4c404fd3 (PR-1391) [2023-03-21T01:41:17.606Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-21T01:41:17.623Z] > git merge c61610bbbff1187c8ac68f5c7e0a10add7b75ddb # timeout=10 [2023-03-21T01:41:17.731Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-03-21T01:41:17.757Z] > git config core.sparsecheckout # timeout=10 [2023-03-21T01:41:17.773Z] > git checkout -f f1f7d342704ea4458ea9a005ed8ffaaf4c404fd3 # timeout=10 [2023-03-21T01:41:21.332Z] Commit message: "Merge commit 'c61610bbbff1187c8ac68f5c7e0a10add7b75ddb' into HEAD" [2023-03-21T01:41:21.346Z] > git rev-list --no-walk 8f5fed348107c326f39d28688835643cfeecd7b7 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-21T01:41:22.536Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-03-21T01:41:22.536Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-21T01:41:22.536Z] Dload Upload Total Spent Left Speed [2023-03-21T01:41:22.536Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 214k 0 --:--:-- --:--:-- --:--:-- 214k [Pipeline] sh [2023-03-21T01:41:23.298Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-03-21T01:41:23.627Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-03-21T01:41:23.627Z] + sudo tee /etc/docker/daemon.new [2023-03-21T01:41:23.627Z] { [2023-03-21T01:41:23.627Z] "registry-mirrors": [ [2023-03-21T01:41:23.627Z] "https://nexus3.edgexfoundry.org:10001" [2023-03-21T01:41:23.627Z] ], [2023-03-21T01:41:23.627Z] "bip": "10.250.0.254/24", [2023-03-21T01:41:23.627Z] "hosts": [ [2023-03-21T01:41:23.627Z] "tcp://0.0.0.0:5555", [2023-03-21T01:41:23.627Z] "unix:///var/run/docker.sock" [2023-03-21T01:41:23.627Z] ], [2023-03-21T01:41:23.627Z] "mtu": 1458, [2023-03-21T01:41:23.627Z] "selinux-enabled": true, [2023-03-21T01:41:23.627Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-03-21T01:41:23.627Z] } [Pipeline] sh [2023-03-21T01:41:23.960Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-03-21T01:41:24.292Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-21T01:41:42.558Z] provisioning config files... [2023-03-21T01:41:42.587Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/8@tmp/config6890290974261154961tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-21T01:41:42.945Z] ---> docker-login.sh [2023-03-21T01:41:42.945Z] nexus3.edgexfoundry.org:10001 [2023-03-21T01:41:43.551Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T01:41:43.824Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T01:41:43.824Z] Configure a credential helper to remove this warning. See [2023-03-21T01:41:43.824Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T01:41:43.824Z] [2023-03-21T01:41:43.824Z] Login Succeeded [2023-03-21T01:41:43.824Z] nexus3.edgexfoundry.org:10002 [2023-03-21T01:41:44.092Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T01:41:44.092Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T01:41:44.092Z] Configure a credential helper to remove this warning. See [2023-03-21T01:41:44.092Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T01:41:44.092Z] [2023-03-21T01:41:44.092Z] Login Succeeded [2023-03-21T01:41:44.092Z] nexus3.edgexfoundry.org:10003 [2023-03-21T01:41:44.363Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T01:41:44.363Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T01:41:44.363Z] Configure a credential helper to remove this warning. See [2023-03-21T01:41:44.363Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T01:41:44.363Z] [2023-03-21T01:41:44.363Z] Login Succeeded [2023-03-21T01:41:44.634Z] nexus3.edgexfoundry.org:10004 [2023-03-21T01:41:44.907Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T01:41:44.907Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T01:41:44.907Z] Configure a credential helper to remove this warning. See [2023-03-21T01:41:44.907Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T01:41:44.907Z] [2023-03-21T01:41:44.907Z] Login Succeeded [2023-03-21T01:41:44.907Z] docker.io [2023-03-21T01:41:45.176Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T01:41:45.448Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T01:41:45.448Z] Configure a credential helper to remove this warning. See [2023-03-21T01:41:45.448Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T01:41:45.448Z] [2023-03-21T01:41:45.448Z] Login Succeeded [2023-03-21T01:41:45.448Z] ---> docker-login.sh ends [Pipeline] } [2023-03-21T01:41:45.462Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-21T01:41:45.746Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-21T01:41:45.760Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-21T01:41:45.770Z] ========================================================= [2023-03-21T01:41:45.770Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-03-21T01:41:45.770Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T01:41:46.116Z] + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-03-21T01:41:47.088Z] Sending build context to Docker daemon 5.841MB [2023-03-21T01:41:47.088Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-03-21T01:41:47.088Z] Step 2/10 : FROM ${BASE} AS builder [2023-03-21T01:41:47.088Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-03-21T01:41:47.088Z] af6eaf76a39c: Pulling fs layer [2023-03-21T01:41:47.088Z] 55522c791124: Pulling fs layer [2023-03-21T01:41:47.088Z] ce5c4a1c91eb: Pulling fs layer [2023-03-21T01:41:47.088Z] 169dfbe0d373: Pulling fs layer [2023-03-21T01:41:47.088Z] e1ff8fa3b103: Pulling fs layer [2023-03-21T01:41:47.088Z] 52ebb69f0ebf: Pulling fs layer [2023-03-21T01:41:47.088Z] 5abe8eddf0d5: Pulling fs layer [2023-03-21T01:41:47.088Z] 169dfbe0d373: Waiting [2023-03-21T01:41:47.088Z] e1ff8fa3b103: Waiting [2023-03-21T01:41:47.088Z] 52ebb69f0ebf: Waiting [2023-03-21T01:41:47.088Z] 5abe8eddf0d5: Waiting [2023-03-21T01:41:47.088Z] 55522c791124: Verifying Checksum [2023-03-21T01:41:47.088Z] 55522c791124: Download complete [2023-03-21T01:41:47.088Z] 169dfbe0d373: Verifying Checksum [2023-03-21T01:41:47.088Z] 169dfbe0d373: Download complete [2023-03-21T01:41:47.088Z] e1ff8fa3b103: Verifying Checksum [2023-03-21T01:41:47.088Z] e1ff8fa3b103: Download complete [2023-03-21T01:41:47.088Z] af6eaf76a39c: Verifying Checksum [2023-03-21T01:41:47.088Z] af6eaf76a39c: Download complete [2023-03-21T01:41:48.090Z] af6eaf76a39c: Pull complete [2023-03-21T01:41:48.359Z] 5abe8eddf0d5: Verifying Checksum [2023-03-21T01:41:48.359Z] 5abe8eddf0d5: Download complete [2023-03-21T01:41:48.629Z] 55522c791124: Pull complete [2023-03-21T01:41:50.052Z] ce5c4a1c91eb: Download complete [2023-03-21T01:41:50.052Z] 52ebb69f0ebf: Verifying Checksum [2023-03-21T01:41:50.052Z] 52ebb69f0ebf: Download complete [2023-03-21T01:42:02.393Z] ce5c4a1c91eb: Pull complete [2023-03-21T01:42:02.393Z] 169dfbe0d373: Pull complete [2023-03-21T01:42:02.393Z] e1ff8fa3b103: Pull complete [2023-03-21T01:42:07.756Z] 52ebb69f0ebf: Pull complete [2023-03-21T01:42:10.361Z] 5abe8eddf0d5: Pull complete [2023-03-21T01:42:10.361Z] Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f [2023-03-21T01:42:10.361Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-03-21T01:42:10.361Z] ---> 6cb57ee374ae [2023-03-21T01:42:10.361Z] Step 3/10 : ARG MAKE=make build [2023-03-21T01:42:12.336Z] ---> Running in 58c7809436bb [2023-03-21T01:42:12.336Z] Removing intermediate container 58c7809436bb [2023-03-21T01:42:12.336Z] ---> 25dce70e8bed [2023-03-21T01:42:12.336Z] Step 4/10 : WORKDIR /device-sdk-go [2023-03-21T01:42:12.336Z] ---> Running in ca6b157e338b [2023-03-21T01:42:12.606Z] Removing intermediate container ca6b157e338b [2023-03-21T01:42:12.606Z] ---> 93600d294511 [2023-03-21T01:42:12.606Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-03-21T01:42:12.606Z] ---> Running in ed52c9ca04bf [2023-03-21T01:42:13.198Z] Removing intermediate container ed52c9ca04bf [2023-03-21T01:42:13.198Z] ---> 05de6b881f06 [2023-03-21T01:42:13.198Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-03-21T01:42:13.198Z] ---> Running in f4a11890f60f [2023-03-21T01:42:14.624Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-21T01:42:14.892Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-21T01:42:16.306Z] OK: 263 MiB in 53 packages [2023-03-21T01:42:17.272Z] Removing intermediate container f4a11890f60f [2023-03-21T01:42:17.272Z] ---> 65574737c34f [2023-03-21T01:42:17.272Z] Step 7/10 : COPY go.mod vendor* ./ [2023-03-21T01:42:17.860Z] ---> e02d51113925 [2023-03-21T01:42:17.860Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-21T01:42:18.128Z] ---> Running in 144674528c63 [2023-03-21T01:43:39.797Z] Removing intermediate container 144674528c63 [2023-03-21T01:43:39.797Z] ---> 51df85ac4276 [2023-03-21T01:43:39.797Z] Step 9/10 : COPY . . [2023-03-21T01:43:39.797Z] ---> 65a560a6d021 [2023-03-21T01:43:39.797Z] Step 10/10 : RUN ${MAKE} [2023-03-21T01:43:39.797Z] ---> Running in 8de20fa33d1f [2023-03-21T01:43:39.797Z] noop [2023-03-21T01:43:39.797Z] Removing intermediate container 8de20fa33d1f [2023-03-21T01:43:39.797Z] ---> 89de8dd802ea [2023-03-21T01:43:39.797Z] Successfully built 89de8dd802ea [2023-03-21T01:43:39.797Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T01:43:40.153Z] + docker inspect -f . ci-base-image-arm64 [2023-03-21T01:43:40.153Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-21T01:43:40.374Z] prd-ubuntu20.04-docker-arm64-4c-16g-4695 does not seem to be running inside a container [2023-03-21T01:43:40.443Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/8 -v /w/workspace/device-sdk-go/8:/w/workspace/device-sdk-go/8:rw,z -v /w/workspace/device-sdk-go/8@tmp:/w/workspace/device-sdk-go/8@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-21T01:43:41.705Z] $ docker top aac0d86c8042a3a5e2a0adc7c5a411d4ea9ce51ee0783d3ae4dfaf8eca5d70b4 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-21T01:43:42.567Z] + go version [2023-03-21T01:43:42.567Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-03-21T01:43:42.591Z] $ docker stop --time=1 aac0d86c8042a3a5e2a0adc7c5a411d4ea9ce51ee0783d3ae4dfaf8eca5d70b4 [2023-03-21T01:43:47.391Z] $ docker rm -f --volumes aac0d86c8042a3a5e2a0adc7c5a411d4ea9ce51ee0783d3ae4dfaf8eca5d70b4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T01:43:47.938Z] + docker inspect -f . ci-base-image-arm64 [2023-03-21T01:43:47.938Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-21T01:43:48.123Z] prd-ubuntu20.04-docker-arm64-4c-16g-4695 does not seem to be running inside a container [2023-03-21T01:43:48.189Z] $ 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/8 -v /w/workspace/device-sdk-go/8:/w/workspace/device-sdk-go/8:rw,z -v /w/workspace/device-sdk-go/8@tmp:/w/workspace/device-sdk-go/8@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-21T01:43:49.428Z] $ docker top 181ca8d75376804254af84e483e07512d451ce337093863418665f730e19e636 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-21T01:43:50.255Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/8 [Pipeline] fileExists [Pipeline] sh [2023-03-21T01:43:50.896Z] + make test [2023-03-21T01:43:50.896Z] go test -race -coverprofile=coverage.out ./... [2023-03-21T01:44:37.758Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-03-21T01:46:59.479Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-03-21T01:46:59.479Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-03-21T01:46:59.479Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-03-21T01:46:59.479Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-03-21T01:46:59.479Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-03-21T01:47:06.135Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.230s coverage: 27.6% of statements [2023-03-21T01:47:10.390Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.248s coverage: 78.9% of statements [2023-03-21T01:47:22.710Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-03-21T01:47:22.710Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-03-21T01:47:22.977Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.334s coverage: 86.0% of statements [2023-03-21T01:47:31.187Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-03-21T01:47:31.187Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.446s coverage: 77.6% of statements [2023-03-21T01:47:34.553Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-03-21T01:47:37.133Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-03-21T01:47:37.133Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-03-21T01:47:38.103Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.318s coverage: 14.9% of statements [2023-03-21T01:47:38.103Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.409s coverage: 65.7% of statements [2023-03-21T01:47:40.810Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.425s coverage: 89.2% of statements [2023-03-21T01:47:42.235Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-03-21T01:47:42.527Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.236s coverage: 5.6% of statements [2023-03-21T01:47:43.533Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-03-21T01:47:43.533Z] GO111MODULE=on go vet ./... [2023-03-21T01:50:20.279Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-21T01:50:20.279Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-21T01:50:20.279Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-21T01:50:20.296Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-21T01:50:20.310Z] $ docker stop --time=1 181ca8d75376804254af84e483e07512d451ce337093863418665f730e19e636 [2023-03-21T01:50:25.115Z] $ docker rm -f --volumes 181ca8d75376804254af84e483e07512d451ce337093863418665f730e19e636 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-21T01:50:26.690Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-21T01:50:26.703Z] Warning: overwriting stash ‘coverage-report’ [2023-03-21T01:50:27.248Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-21T01:50:27.645Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-21T01:50:27.955Z] + ls -al . [2023-03-21T01:50:27.955Z] total 272 [2023-03-21T01:50:27.955Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 21 01:43 . [2023-03-21T01:50:27.955Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 21 01:41 .. [2023-03-21T01:50:27.955Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 21 01:41 .dockerignore [2023-03-21T01:50:27.955Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 21 01:41 .git [2023-03-21T01:50:27.955Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 21 01:41 .github [2023-03-21T01:50:27.955Z] -rw-rw-r-- 1 jenkins jenkins 131 Mar 21 01:41 .gitignore [2023-03-21T01:50:27.955Z] -rw-rw-r-- 1 jenkins jenkins 42 Mar 21 01:41 .golangci.yml [2023-03-21T01:50:27.955Z] -rw-rw-r-- 1 jenkins jenkins 31677 Mar 21 01:41 CHANGELOG.md [2023-03-21T01:50:27.955Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 21 01:41 GOVERNANCE.md [2023-03-21T01:50:27.955Z] -rw-rw-r-- 1 jenkins jenkins 885 Mar 21 01:41 Jenkinsfile [2023-03-21T01:50:27.955Z] -rw-rw-r-- 1 jenkins jenkins 11341 Mar 21 01:41 LICENSE [2023-03-21T01:50:27.955Z] -rw-rw-r-- 1 jenkins jenkins 1714 Mar 21 01:41 Makefile [2023-03-21T01:50:27.955Z] -rw-rw-r-- 1 jenkins jenkins 619 Mar 21 01:41 OWNERS.md [2023-03-21T01:50:27.955Z] -rw-rw-r-- 1 jenkins jenkins 4891 Mar 21 01:41 README.md [2023-03-21T01:50:27.955Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 21 01:37 VERSION [2023-03-21T01:50:27.955Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 21 01:41 bin [2023-03-21T01:50:27.955Z] -rw-r--r-- 1 jenkins jenkins 108609 Mar 21 01:47 coverage.out [2023-03-21T01:50:27.955Z] drwxrwxr-x 5 jenkins jenkins 4096 Mar 21 01:41 example [2023-03-21T01:50:27.955Z] -rw-rw-r-- 1 jenkins jenkins 3291 Mar 21 01:41 go.mod [2023-03-21T01:50:27.955Z] -rw-rw-r-- 1 jenkins jenkins 30841 Mar 21 01:41 go.sum [2023-03-21T01:50:27.955Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 21 01:41 internal [2023-03-21T01:50:27.955Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 01:41 openapi [2023-03-21T01:50:27.955Z] drwxrwxr-x 6 jenkins jenkins 4096 Mar 21 01:41 pkg [2023-03-21T01:50:27.955Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 21 01:41 snap [2023-03-21T01:50:27.955Z] -rw-rw-r-- 1 jenkins jenkins 222 Mar 21 01:41 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T01:50:28.293Z] + 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=f1f7d342704ea4458ea9a005ed8ffaaf4c404fd3 --label arch=arm64 --label version=0.0.0 . [2023-03-21T01:50:28.874Z] Sending build context to Docker daemon 5.951MB [2023-03-21T01:50:28.874Z] Step 1/23 : ARG BASE=golang:1.20-alpine3.17 [2023-03-21T01:50:28.874Z] Step 2/23 : FROM ${BASE} AS builder [2023-03-21T01:50:28.874Z] ---> 89de8dd802ea [2023-03-21T01:50:28.874Z] Step 3/23 : ARG MAKE=make build [2023-03-21T01:50:28.874Z] ---> Running in 04df528ac835 [2023-03-21T01:50:29.140Z] Removing intermediate container 04df528ac835 [2023-03-21T01:50:29.140Z] ---> 1218906afa16 [2023-03-21T01:50:29.140Z] Step 4/23 : WORKDIR /device-sdk-go [2023-03-21T01:50:29.140Z] ---> Running in d94bf372ff7f [2023-03-21T01:50:29.723Z] Removing intermediate container d94bf372ff7f [2023-03-21T01:50:29.723Z] ---> 591a7e7fc623 [2023-03-21T01:50:29.723Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-03-21T01:50:29.723Z] ---> Running in cddfec054b1c [2023-03-21T01:50:29.988Z] Removing intermediate container cddfec054b1c [2023-03-21T01:50:29.988Z] ---> fe20c2ca7ac4 [2023-03-21T01:50:29.988Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-03-21T01:50:29.988Z] ---> Running in dd81cc10b100 [2023-03-21T01:50:30.943Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-21T01:50:31.524Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-21T01:50:32.484Z] OK: 263 MiB in 53 packages [2023-03-21T01:50:33.440Z] Removing intermediate container dd81cc10b100 [2023-03-21T01:50:33.440Z] ---> 775be654d83c [2023-03-21T01:50:33.440Z] Step 7/23 : COPY go.mod vendor* ./ [2023-03-21T01:50:33.707Z] ---> 9b4fe0daa8f3 [2023-03-21T01:50:33.707Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-21T01:50:33.707Z] ---> Running in ae641d21b1fd [2023-03-21T01:50:39.044Z] Removing intermediate container ae641d21b1fd [2023-03-21T01:50:39.044Z] ---> 357f073bf032 [2023-03-21T01:50:39.044Z] Step 9/23 : COPY . . [2023-03-21T01:50:40.000Z] ---> 17a5ad2543f8 [2023-03-21T01:50:40.000Z] Step 10/23 : RUN ${MAKE} [2023-03-21T01:50:40.000Z] ---> Running in 8b44791c5321 [2023-03-21T01:50:40.956Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-03-21T01:53:02.618Z] Removing intermediate container 8b44791c5321 [2023-03-21T01:53:02.618Z] ---> cac7a7d1c2ef [2023-03-21T01:53:02.618Z] Step 11/23 : FROM alpine:3.17 [2023-03-21T01:53:02.618Z] 3.17: Pulling from library/alpine [2023-03-21T01:53:02.618Z] af6eaf76a39c: Already exists [2023-03-21T01:53:02.618Z] Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 [2023-03-21T01:53:02.618Z] Status: Downloaded newer image for alpine:3.17 [2023-03-21T01:53:02.618Z] ---> d74e625d9115 [2023-03-21T01:53:02.618Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-03-21T01:53:02.618Z] ---> Running in 75643411c6c6 [2023-03-21T01:53:02.618Z] Removing intermediate container 75643411c6c6 [2023-03-21T01:53:02.618Z] ---> 9192693a7be3 [2023-03-21T01:53:02.618Z] Step 13/23 : RUN apk add --update --no-cache [2023-03-21T01:53:02.618Z] ---> Running in 07796e093401 [2023-03-21T01:53:02.618Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-21T01:53:02.618Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-21T01:53:02.618Z] OK: 7 MiB in 15 packages [2023-03-21T01:53:02.618Z] Removing intermediate container 07796e093401 [2023-03-21T01:53:02.618Z] ---> a96f8d0db16e [2023-03-21T01:53:02.618Z] Step 14/23 : WORKDIR / [2023-03-21T01:53:02.618Z] ---> Running in 70420bc87e9c [2023-03-21T01:53:02.618Z] Removing intermediate container 70420bc87e9c [2023-03-21T01:53:02.618Z] ---> a3d3c3c0fbe1 [2023-03-21T01:53:02.618Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-03-21T01:53:02.618Z] ---> ef21a53a2ca5 [2023-03-21T01:53:02.618Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-03-21T01:53:02.618Z] ---> 66c18c616f8b [2023-03-21T01:53:02.618Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-03-21T01:53:02.618Z] ---> 4e3285cbeb47 [2023-03-21T01:53:02.618Z] Step 18/23 : EXPOSE 59999 [2023-03-21T01:53:02.618Z] ---> Running in 9916b1e8cd54 [2023-03-21T01:53:02.618Z] Removing intermediate container 9916b1e8cd54 [2023-03-21T01:53:02.618Z] ---> 66b44c37b90a [2023-03-21T01:53:02.618Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-03-21T01:53:02.618Z] ---> Running in 6e1f96501d25 [2023-03-21T01:53:02.618Z] Removing intermediate container 6e1f96501d25 [2023-03-21T01:53:02.618Z] ---> 7b1847333b85 [2023-03-21T01:53:02.618Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-03-21T01:53:02.618Z] ---> Running in 94767f55d404 [2023-03-21T01:53:02.618Z] Removing intermediate container 94767f55d404 [2023-03-21T01:53:02.618Z] ---> 6a558932f7fa [2023-03-21T01:53:02.618Z] Step 21/23 : LABEL arch=arm64 [2023-03-21T01:53:02.618Z] ---> Running in 3097724b3611 [2023-03-21T01:53:02.618Z] Removing intermediate container 3097724b3611 [2023-03-21T01:53:02.618Z] ---> e37b269bf4ab [2023-03-21T01:53:02.618Z] Step 22/23 : LABEL git_sha=f1f7d342704ea4458ea9a005ed8ffaaf4c404fd3 [2023-03-21T01:53:02.618Z] ---> Running in 78b7208448ac [2023-03-21T01:53:02.618Z] Removing intermediate container 78b7208448ac [2023-03-21T01:53:02.618Z] ---> 3949ad6108ca [2023-03-21T01:53:02.618Z] Step 23/23 : LABEL version=0.0.0 [2023-03-21T01:53:02.618Z] ---> Running in f13d43762c5d [2023-03-21T01:53:02.618Z] Removing intermediate container f13d43762c5d [2023-03-21T01:53:02.618Z] ---> 9fc5addb5a66 [2023-03-21T01:53:02.618Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-21T01:53:02.618Z] Successfully built 9fc5addb5a66 [2023-03-21T01:53:02.618Z] Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T01:53:03.032Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-21T01:53:03.033Z] [2023-03-21T01:53:03.033Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T01:53:03.360Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-21T01:53:03.360Z] arm64: Pulling from edgex-lftools-log-publisher [2023-03-21T01:53:03.360Z] 8998bd30e6a1: Pulling fs layer [2023-03-21T01:53:03.360Z] 04944245beec: Pulling fs layer [2023-03-21T01:53:03.360Z] 699f458cf7ca: Pulling fs layer [2023-03-21T01:53:03.360Z] 765212b225bb: Pulling fs layer [2023-03-21T01:53:03.360Z] f23df028b6ca: Pulling fs layer [2023-03-21T01:53:03.360Z] d65c8cfc05b1: Pulling fs layer [2023-03-21T01:53:03.360Z] 2437ff75d9bd: Pulling fs layer [2023-03-21T01:53:03.360Z] 765212b225bb: Waiting [2023-03-21T01:53:03.360Z] f23df028b6ca: Waiting [2023-03-21T01:53:03.360Z] d65c8cfc05b1: Waiting [2023-03-21T01:53:03.360Z] 2437ff75d9bd: Waiting [2023-03-21T01:53:03.627Z] 04944245beec: Verifying Checksum [2023-03-21T01:53:03.627Z] 04944245beec: Download complete [2023-03-21T01:53:03.627Z] 765212b225bb: Verifying Checksum [2023-03-21T01:53:03.627Z] 765212b225bb: Download complete [2023-03-21T01:53:03.627Z] f23df028b6ca: Verifying Checksum [2023-03-21T01:53:03.627Z] f23df028b6ca: Download complete [2023-03-21T01:53:03.627Z] d65c8cfc05b1: Verifying Checksum [2023-03-21T01:53:03.627Z] d65c8cfc05b1: Download complete [2023-03-21T01:53:03.896Z] 699f458cf7ca: Verifying Checksum [2023-03-21T01:53:03.896Z] 699f458cf7ca: Download complete [2023-03-21T01:53:04.163Z] 8998bd30e6a1: Download complete [2023-03-21T01:53:06.104Z] 2437ff75d9bd: Verifying Checksum [2023-03-21T01:53:06.104Z] 2437ff75d9bd: Download complete [2023-03-21T01:53:08.041Z] 8998bd30e6a1: Pull complete [2023-03-21T01:53:08.307Z] 04944245beec: Pull complete [2023-03-21T01:53:09.711Z] 699f458cf7ca: Pull complete [2023-03-21T01:53:09.711Z] 765212b225bb: Pull complete [2023-03-21T01:53:10.291Z] f23df028b6ca: Pull complete [2023-03-21T01:53:10.558Z] d65c8cfc05b1: Pull complete [2023-03-21T01:53:22.853Z] 2437ff75d9bd: Pull complete [2023-03-21T01:53:22.853Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-03-21T01:53:22.853Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-21T01:53:22.853Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-21T01:53:23.041Z] prd-ubuntu20.04-docker-arm64-4c-16g-4695 does not seem to be running inside a container [2023-03-21T01:53:23.110Z] $ 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/8 -v /w/workspace/device-sdk-go/8:/w/workspace/device-sdk-go/8:rw,z -v /w/workspace/device-sdk-go/8@tmp:/w/workspace/device-sdk-go/8@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-03-21T01:53:25.624Z] $ docker top 1bced78e357dff959d9a0fdad439701337d14bb9ddceaceff5234dc03f12e3cc -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-21T01:53:26.468Z] ---> job-cost.sh [2023-03-21T01:53:26.468Z] lf-activate-venv: SKIPPING [2023-03-21T01:53:26.468Z] INFO: No Stack... [2023-03-21T01:53:26.734Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-03-21T01:53:27.693Z] INFO: Archiving Costs [Pipeline] sh [2023-03-21T01:53:28.329Z] + cat /w/workspace/device-sdk-go/8/archives/cost.csv [2023-03-21T01:53:28.329Z] + cut -d, -f6 [Pipeline] lock [2023-03-21T01:53:28.397Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1391-8-stack-cost] [2023-03-21T01:53:28.404Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1391-8-stack-cost] did not exist. Created. [2023-03-21T01:53:28.404Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1391-8-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-21T01:53:29.056Z] /w/workspace/device-sdk-go/8@tmp/durable-cf293ab9/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-03-21T01:53:29.388Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-03-21T01:53:29.674Z] Warning: overwriting stash ‘stack-cost’ [2023-03-21T01:53:29.728Z] Stashed 1 file(s) [Pipeline] } [2023-03-21T01:53:29.735Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1391-8-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-21T01:53:29.753Z] $ docker stop --time=1 1bced78e357dff959d9a0fdad439701337d14bb9ddceaceff5234dc03f12e3cc [2023-03-21T01:53:31.229Z] $ docker rm -f --volumes 1bced78e357dff959d9a0fdad439701337d14bb9ddceaceff5234dc03f12e3cc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2023-03-21T01:53:31.617Z] provisioning config files... [2023-03-21T01:53:31.625Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1391@tmp/config11784326727860239419tmp [Pipeline] { [Pipeline] sh [2023-03-21T01:53:31.917Z] + set +x [2023-03-21T01:53:31.917Z] + curl -s https://codecov.io/bash [2023-03-21T01:53:31.917Z] + bash -s -- [2023-03-21T01:53:31.917Z] [2023-03-21T01:53:31.917Z] _____ _ [2023-03-21T01:53:31.917Z] / ____| | | [2023-03-21T01:53:31.917Z] | | ___ __| | ___ ___ _____ __ [2023-03-21T01:53:31.917Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-03-21T01:53:31.917Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-03-21T01:53:31.917Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-03-21T01:53:31.917Z] Bash-1.0.6 [2023-03-21T01:53:31.917Z] [2023-03-21T01:53:31.917Z] [2023-03-21T01:53:31.917Z] ==> git version 2.25.1 found [2023-03-21T01:53:31.917Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2023-03-21T01:53:31.917Z] Release-Date: 2020-01-08 [2023-03-21T01:53:31.917Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-03-21T01:53:31.917Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-03-21T01:53:31.917Z] ==> Jenkins CI detected. [2023-03-21T01:53:31.917Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1391 [2023-03-21T01:53:31.917Z] project root: . [2023-03-21T01:53:31.917Z] --> token set from env [2023-03-21T01:53:31.917Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-03-21T01:53:31.917Z] ==> Running gcov in . (disable via -X gcov) [2023-03-21T01:53:31.917Z] ==> Python coveragepy not found [2023-03-21T01:53:31.917Z] ==> Searching for coverage reports in: [2023-03-21T01:53:31.917Z] + . [2023-03-21T01:53:31.917Z] -> Found 1 reports [2023-03-21T01:53:31.917Z] ==> Detecting git/mercurial file structure [2023-03-21T01:53:31.917Z] ==> Reading reports [2023-03-21T01:53:31.917Z] + ./coverage.out bytes=108609 [2023-03-21T01:53:32.176Z] ==> Appending adjustments [2023-03-21T01:53:32.176Z] https://docs.codecov.io/docs/fixing-reports [2023-03-21T01:53:32.435Z] + Found adjustments [2023-03-21T01:53:32.435Z] ==> Gzipping contents [2023-03-21T01:53:32.435Z] 16K /tmp/codecov.v2SB5x.gz [2023-03-21T01:53:32.435Z] ==> Uploading reports [2023-03-21T01:53:32.435Z] url: https://codecov.io [2023-03-21T01:53:32.435Z] query: branch=PR-1391&commit=a9fa5472a78347dda8fa8fb152341454378a28e1&build=8&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1391%2F8%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1391&job=&cmd_args= [2023-03-21T01:53:32.435Z] -> Pinging Codecov [2023-03-21T01:53:32.435Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1391&commit=a9fa5472a78347dda8fa8fb152341454378a28e1&build=8&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1391%2F8%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1391&job=&cmd_args= [2023-03-21T01:53:32.435Z] -> Uploading to [2023-03-21T01:53:32.435Z] https://storage.googleapis.com/codecov/v4/raw/2023-03-21/7E55EF52A471D76F132DFD9A03CDDE97/a9fa5472a78347dda8fa8fb152341454378a28e1/a22c4825-bf5c-4bc3-b5a8-2ccfbf6dc11a.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230321%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230321T015332Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=2b8ba6153550fa953afebef713c7abd8202f8a27b4b2f37e76429ee9e4c362fd [2023-03-21T01:53:32.435Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-21T01:53:32.435Z] Dload Upload Total Spent Left Speed [2023-03-21T01:53:32.694Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 15099 0 0 100 15099 0 60396 --:--:-- --:--:-- --:--:-- 60396 [2023-03-21T01:53:32.694Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/a9fa5472a78347dda8fa8fb152341454378a28e1 [Pipeline] } [2023-03-21T01:53:32.700Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-03-21T01:53:33.415Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1391/archives ] [2023-03-21T01:53:33.415Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1391/archives [2023-03-21T01:53:33.415Z] total 16 [2023-03-21T01:53:33.415Z] drwxr-xr-x 3 root root 4096 Mar 21 01:40 . [2023-03-21T01:53:33.415Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 21 01:40 .. [2023-03-21T01:53:33.415Z] drwxr-xr-x 2 root root 4096 Mar 21 01:40 cost [2023-03-21T01:53:33.415Z] -rw-r--r-- 1 root root 86 Mar 21 01:40 cost.csv [2023-03-21T01:53:33.415Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1391/archives [2023-03-21T01:53:33.415Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1391/archives [2023-03-21T01:53:33.415Z] total 16 [2023-03-21T01:53:33.415Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 21 01:40 . [2023-03-21T01:53:33.415Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 21 01:40 .. [2023-03-21T01:53:33.415Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 21 01:40 cost [2023-03-21T01:53:33.415Z] -rw-r--r-- 1 jenkins jenkins 86 Mar 21 01:40 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-03-21T01:53:33.705Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-21T01:53:34.570Z] ---> package-listing.sh [2023-03-21T01:53:34.570Z] ++ facter osfamily [2023-03-21T01:53:34.570Z] ++ tr '[:upper:]' '[:lower:]' [2023-03-21T01:53:34.830Z] + OS_FAMILY=debian [2023-03-21T01:53:34.830Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1391 [2023-03-21T01:53:34.830Z] + START_PACKAGES=/tmp/packages_start.txt [2023-03-21T01:53:34.830Z] + END_PACKAGES=/tmp/packages_end.txt [2023-03-21T01:53:34.830Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-03-21T01:53:34.830Z] + PACKAGES=/tmp/packages_start.txt [2023-03-21T01:53:34.830Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1391 ']' [2023-03-21T01:53:34.830Z] + PACKAGES=/tmp/packages_end.txt [2023-03-21T01:53:34.830Z] + case "${OS_FAMILY}" in [2023-03-21T01:53:34.830Z] + dpkg -l [2023-03-21T01:53:34.830Z] + grep '^ii' [2023-03-21T01:53:34.830Z] + '[' -f /tmp/packages_start.txt ']' [2023-03-21T01:53:34.830Z] + '[' -f /tmp/packages_end.txt ']' [2023-03-21T01:53:34.830Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-03-21T01:53:34.830Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1391 ']' [2023-03-21T01:53:34.830Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1391/archives/ [2023-03-21T01:53:34.830Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1391/archives/ [Pipeline] echo [2023-03-21T01:53:34.842Z] 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-1391/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-03-21T01:53:35.119Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T01:53:35.683Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-21T01:53:35.683Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-21T01:53:35.756Z] prd-ubuntu20.04-docker-8c-8g-4693 does not seem to be running inside a container [2023-03-21T01:53:35.786Z] $ 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-1391/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-1391 -v /w/workspace/gexfoundry_device-sdk-go_PR-1391:/w/workspace/gexfoundry_device-sdk-go_PR-1391:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1391@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1391@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-21T01:53:35.989Z] $ docker top 367c2b460aaf90e96ff24464b5b56c353a60d955d7cccbdc8350787daf44a74a -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-21T01:53:36.335Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-03-21T01:53:36.621Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-03-21T01:53:36.907Z] + ls /var/log/sa-host [2023-03-21T01:53:36.907Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-21T01:53:36.968Z] provisioning config files... [2023-03-21T01:53:36.975Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1391@tmp/config10178573101681305260tmp [Pipeline] { [Pipeline] echo [2023-03-21T01:53:36.990Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-21T01:53:37.272Z] ---> create-netrc.sh [Pipeline] } [2023-03-21T01:53:37.280Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-03-21T01:53:37.602Z] ---> python-tools-install.sh [Pipeline] echo [2023-03-21T01:53:37.612Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-21T01:53:37.897Z] ---> sudo-logs.sh [2023-03-21T01:53:37.897Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-03-21T01:53:37.919Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-21T01:53:38.200Z] ---> job-cost.sh [2023-03-21T01:53:38.200Z] lf-activate-venv: SKIPPING [2023-03-21T01:53:38.200Z] DEBUG: total: 0.2199999988079071 [2023-03-21T01:53:38.200Z] INFO: Retrieving Stack Cost... [2023-03-21T01:53:38.768Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-21T01:53:39.027Z] INFO: Archiving Costs [Pipeline] echo [2023-03-21T01:53:39.037Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-21T01:53:39.317Z] ---> logs-deploy.sh [2023-03-21T01:53:39.317Z] lf-activate-venv: SKIPPING [2023-03-21T01:53:39.317Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1391/8 [2023-03-21T01:53:39.317Z] INFO: archiving workspace using pattern(s): [2023-03-21T01:53:40.254Z] Archives upload complete. [2023-03-21T01:53:40.254Z] INFO: archiving logs to Nexus