Pull request #1365 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of hahattan for edgexfoundry/device-sdk-go Obtained Jenkinsfile from ed4ff57612811b3ad779c872ae09ec9f69159b45+23e758ba57e1012933f954ab76dd88bf8d98992d (572ec04b1e42494e816aa0d4e74e089432872b5b) 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-ssh905695695153742238.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh10012054303507422195.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1365/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-1365/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10192165393959659129.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh2549722964681419555.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-1365/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-1365/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh18019258402313282266.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v3]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-8770 in /w/workspace/gexfoundry_device-sdk-go_PR-1365 [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-1365 # 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/1365/head:refs/remotes/origin/PR-1365 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 23e758ba57e1012933f954ab76dd88bf8d98992d into PR head commit ed4ff57612811b3ad779c872ae09ec9f69159b45 Merge succeeded, producing ed4ff57612811b3ad779c872ae09ec9f69159b45 Checking out Revision ed4ff57612811b3ad779c872ae09ec9f69159b45 (PR-1365) > git config core.sparsecheckout # timeout=10 > git checkout -f ed4ff57612811b3ad779c872ae09ec9f69159b45 # 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 23e758ba57e1012933f954ab76dd88bf8d98992d # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ed4ff57612811b3ad779c872ae09ec9f69159b45 # timeout=10 Commit message: "Merge branch 'main' into ProtocolProperties-change" > git rev-list --no-walk a824c2b4ab4cf9aa298586464bec58cc60cf7400 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-03-08T08:38:03.208Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-03-08T08:38:03.270Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-03-08T08:38:03.293Z] ========================================================= [2023-03-08T08:38:03.293Z] EdgeX Global Pipelines Version Info [2023-03-08T08:38:03.293Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-03-08T08:38:03.999Z] ------------------- [2023-03-08T08:38:03.999Z] stable info: [2023-03-08T08:38:03.999Z] ------------------- [2023-03-08T08:38:03.999Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-03-08T08:38:03.999Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-03-08T08:38:03.999Z] Message: update stable to v1.0.244 [2023-03-08T08:38:04.571Z] ------------------- [2023-03-08T08:38:04.571Z] experimental info: [2023-03-08T08:38:04.571Z] ------------------- [2023-03-08T08:38:04.571Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-03-08T08:38:04.571Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-03-08T08:38:04.571Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-03-08T08:38:04.716Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-03-08T08:38:04.731Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-03-08T08:38:04.749Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-03-08T08:38:04.766Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-03-08T08:38:04.780Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-03-08T08:38:04.792Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-03-08T08:38:04.803Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-03-08T08:38:04.816Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-03-08T08:38:04.828Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-03-08T08:38:04.840Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-03-08T08:38:04.853Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-03-08T08:38:04.864Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-03-08T08:38:04.874Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-03-08T08:38:04.891Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-03-08T08:38:04.909Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-03-08T08:38:04.926Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-03-08T08:38:04.943Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-03-08T08:38:04.958Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-03-08T08:38:04.968Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-03-08T08:38:04.979Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-03-08T08:38:04.993Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-03-08T08:38:05.004Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2023-03-08T08:38:05.016Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-03-08T08:38:05.029Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-03-08T08:38:05.041Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-03-08T08:38:05.058Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-03-08T08:38:05.068Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-03-08T08:38:05.077Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1365 [Pipeline] echo [2023-03-08T08:38:05.085Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1365 [Pipeline] echo [2023-03-08T08:38:05.093Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1365 [Pipeline] echo [2023-03-08T08:38:05.106Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ed4ff57612811b3ad779c872ae09ec9f69159b45 [Pipeline] echo [2023-03-08T08:38:05.116Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ed4ff57 [Pipeline] echo [2023-03-08T08:38:05.129Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-08T08:38:05.169Z] provisioning config files... [2023-03-08T08:38:05.182Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1365@tmp/config16451097652067601149tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-08T08:38:05.487Z] ---> docker-login.sh [2023-03-08T08:38:05.487Z] nexus3.edgexfoundry.org:10001 [2023-03-08T08:38:05.751Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-08T08:38:05.751Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-08T08:38:05.751Z] Configure a credential helper to remove this warning. See [2023-03-08T08:38:05.751Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-08T08:38:05.751Z] [2023-03-08T08:38:05.751Z] Login Succeeded [2023-03-08T08:38:05.751Z] nexus3.edgexfoundry.org:10002 [2023-03-08T08:38:05.751Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-08T08:38:05.751Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-08T08:38:05.751Z] Configure a credential helper to remove this warning. See [2023-03-08T08:38:05.751Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-08T08:38:05.751Z] [2023-03-08T08:38:05.751Z] Login Succeeded [2023-03-08T08:38:05.751Z] nexus3.edgexfoundry.org:10003 [2023-03-08T08:38:06.010Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-08T08:38:06.010Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-08T08:38:06.010Z] Configure a credential helper to remove this warning. See [2023-03-08T08:38:06.010Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-08T08:38:06.010Z] [2023-03-08T08:38:06.010Z] Login Succeeded [2023-03-08T08:38:06.010Z] nexus3.edgexfoundry.org:10004 [2023-03-08T08:38:06.010Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-08T08:38:06.010Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-08T08:38:06.010Z] Configure a credential helper to remove this warning. See [2023-03-08T08:38:06.010Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-08T08:38:06.010Z] [2023-03-08T08:38:06.010Z] Login Succeeded [2023-03-08T08:38:06.010Z] docker.io [2023-03-08T08:38:06.011Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-08T08:38:06.270Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-08T08:38:06.270Z] Configure a credential helper to remove this warning. See [2023-03-08T08:38:06.270Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-08T08:38:06.270Z] [2023-03-08T08:38:06.270Z] Login Succeeded [2023-03-08T08:38:06.270Z] ---> docker-login.sh ends [Pipeline] } [2023-03-08T08:38:06.277Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-03-08T08:38:06.650Z] + git rev-list -1 --merges ed4ff57612811b3ad779c872ae09ec9f69159b45~1..ed4ff57612811b3ad779c872ae09ec9f69159b45 [Pipeline] echo [2023-03-08T08:38:06.695Z] -----------> git rev-list -1 --merges ed4ff57612811b3ad779c872ae09ec9f69159b45~1..ed4ff57612811b3ad779c872ae09ec9f69159b45 ed4ff57612811b3ad779c872ae09ec9f69159b45 [2023-03-08T08:38:06.695Z] ed4ff57612811b3ad779c872ae09ec9f69159b45 [false] [Pipeline] sh [2023-03-08T08:38:06.983Z] + git log --format=format:%s -1 ed4ff57612811b3ad779c872ae09ec9f69159b45 [Pipeline] echo [2023-03-08T08:38:06.997Z] ========================================================= [2023-03-08T08:38:06.997Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-03-08T08:38:06.997Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-08T08:38:07.314Z] + git log --format=format:%s -1 ed4ff57612811b3ad779c872ae09ec9f69159b45 [Pipeline] echo [2023-03-08T08:38:07.326Z] [semverPrep] GIT_COMMIT: ed4ff57612811b3ad779c872ae09ec9f69159b45, Commit Message: Merge branch 'main' into ProtocolProperties-change [Pipeline] echo [2023-03-08T08:38:07.338Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-03-08T08:38:07.679Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-08T08:38:07.679Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-03-08T08:38:07.679Z] + [ -e /tmp/ssh_known_hosts ] [2023-03-08T08:38:07.679Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-03-08T08:38:07.679Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-03-08T08:38:07.679Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-03-08T08:38:07.679Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-08T08:38:08.066Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-08T08:38:08.066Z] [2023-03-08T08:38:08.066Z] 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-08T08:38:08.370Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-08T08:38:08.370Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-03-08T08:38:08.370Z] b85a868b505f: Pulling fs layer [2023-03-08T08:38:08.370Z] e2be974225ed: Pulling fs layer [2023-03-08T08:38:08.370Z] 339a4e72a1f5: Pulling fs layer [2023-03-08T08:38:08.370Z] 988bab9f4d93: Pulling fs layer [2023-03-08T08:38:08.370Z] 1469e6f7b9e6: Pulling fs layer [2023-03-08T08:38:08.370Z] eaf3925da568: Pulling fs layer [2023-03-08T08:38:08.370Z] bab4dde63d76: Pulling fs layer [2023-03-08T08:38:08.370Z] bde34c3a00c8: Pulling fs layer [2023-03-08T08:38:08.370Z] b352a97aabf1: Pulling fs layer [2023-03-08T08:38:08.370Z] 4872d77fe225: Pulling fs layer [2023-03-08T08:38:08.370Z] 5851b861e8e6: Pulling fs layer [2023-03-08T08:38:08.370Z] 1469e6f7b9e6: Waiting [2023-03-08T08:38:08.370Z] eaf3925da568: Waiting [2023-03-08T08:38:08.370Z] 988bab9f4d93: Waiting [2023-03-08T08:38:08.370Z] bab4dde63d76: Waiting [2023-03-08T08:38:08.370Z] bde34c3a00c8: Waiting [2023-03-08T08:38:08.370Z] b352a97aabf1: Waiting [2023-03-08T08:38:08.370Z] 4872d77fe225: Waiting [2023-03-08T08:38:08.370Z] 5851b861e8e6: Waiting [2023-03-08T08:38:08.370Z] e2be974225ed: Download complete [2023-03-08T08:38:08.370Z] 988bab9f4d93: Download complete [2023-03-08T08:38:08.629Z] 339a4e72a1f5: Verifying Checksum [2023-03-08T08:38:08.629Z] 339a4e72a1f5: Download complete [2023-03-08T08:38:08.629Z] 1469e6f7b9e6: Verifying Checksum [2023-03-08T08:38:08.629Z] 1469e6f7b9e6: Download complete [2023-03-08T08:38:08.629Z] eaf3925da568: Download complete [2023-03-08T08:38:08.629Z] bde34c3a00c8: Verifying Checksum [2023-03-08T08:38:08.629Z] bde34c3a00c8: Download complete [2023-03-08T08:38:08.629Z] b352a97aabf1: Verifying Checksum [2023-03-08T08:38:08.629Z] b352a97aabf1: Download complete [2023-03-08T08:38:08.629Z] 4872d77fe225: Verifying Checksum [2023-03-08T08:38:08.629Z] 4872d77fe225: Download complete [2023-03-08T08:38:08.629Z] 5851b861e8e6: Download complete [2023-03-08T08:38:08.891Z] b85a868b505f: Download complete [2023-03-08T08:38:09.152Z] bab4dde63d76: Verifying Checksum [2023-03-08T08:38:09.152Z] bab4dde63d76: Download complete [2023-03-08T08:38:10.088Z] b85a868b505f: Pull complete [2023-03-08T08:38:10.347Z] e2be974225ed: Pull complete [2023-03-08T08:38:10.914Z] 339a4e72a1f5: Pull complete [2023-03-08T08:38:10.914Z] 988bab9f4d93: Pull complete [2023-03-08T08:38:11.173Z] 1469e6f7b9e6: Pull complete [2023-03-08T08:38:11.173Z] eaf3925da568: Pull complete [2023-03-08T08:38:13.078Z] bab4dde63d76: Pull complete [2023-03-08T08:38:13.078Z] bde34c3a00c8: Pull complete [2023-03-08T08:38:13.078Z] b352a97aabf1: Pull complete [2023-03-08T08:38:13.336Z] 4872d77fe225: Pull complete [2023-03-08T08:38:13.336Z] 5851b861e8e6: Pull complete [2023-03-08T08:38:13.336Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-03-08T08:38:13.336Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-08T08:38:13.336Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-08T08:38:13.430Z] prd-ubuntu20.04-docker-8c-8g-8770 does not seem to be running inside a container [2023-03-08T08:38:13.503Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1365 -v /w/workspace/gexfoundry_device-sdk-go_PR-1365:/w/workspace/gexfoundry_device-sdk-go_PR-1365:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1365@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1365@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-03-08T08:38:16.142Z] $ docker top 37edc4cfd4fd5c18a94bf4141e0a731cd31a2ffc0f41430d657932827827b502 -eo pid,comm [2023-03-08T08:38:16.197Z] 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-08T08:38:16.197Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-08T08:38:16.229Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-08T08:38:16.229Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-08T08:38:16.335Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-08T08:38:16.338Z] $ docker exec 37edc4cfd4fd5c18a94bf4141e0a731cd31a2ffc0f41430d657932827827b502 ssh-agent [2023-03-08T08:38:16.445Z] SSH_AUTH_SOCK=/tmp/ssh-qar31GJRdc8W/agent.32 [2023-03-08T08:38:16.445Z] SSH_AGENT_PID=38 [2023-03-08T08:38:16.451Z] Running ssh-add (command line suppressed) [2023-03-08T08:38:16.550Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1365@tmp/private_key_4111367826346331610.key (/w/workspace/gexfoundry_device-sdk-go_PR-1365@tmp/private_key_4111367826346331610.key) [2023-03-08T08:38:16.564Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-08T08:38:16.853Z] + git tag --points-at HEAD [Pipeline] } [2023-03-08T08:38:16.873Z] $ docker exec --env ******** --env ******** 37edc4cfd4fd5c18a94bf4141e0a731cd31a2ffc0f41430d657932827827b502 ssh-agent -k [2023-03-08T08:38:16.979Z] unset SSH_AUTH_SOCK; [2023-03-08T08:38:16.980Z] unset SSH_AGENT_PID; [2023-03-08T08:38:16.980Z] echo Agent pid 38 killed; [2023-03-08T08:38:16.989Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-03-08T08:38:17.015Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-08T08:38:17.015Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-08T08:38:17.131Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-08T08:38:17.134Z] $ docker exec 37edc4cfd4fd5c18a94bf4141e0a731cd31a2ffc0f41430d657932827827b502 ssh-agent [2023-03-08T08:38:17.242Z] SSH_AUTH_SOCK=/tmp/ssh-SiNzZuVqnAdG/agent.69 [2023-03-08T08:38:17.242Z] SSH_AGENT_PID=75 [2023-03-08T08:38:17.247Z] Running ssh-add (command line suppressed) [2023-03-08T08:38:17.350Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1365@tmp/private_key_11495230117305596415.key (/w/workspace/gexfoundry_device-sdk-go_PR-1365@tmp/private_key_11495230117305596415.key) [2023-03-08T08:38:17.365Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-08T08:38:17.657Z] + git semver init [2023-03-08T08:38:17.924Z] 2023-03-08 08:38:17,826 [run_init] DEBUG init version:0.0.0 force:False [2023-03-08T08:38:17.924Z] 2023-03-08 08:38:17,827 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1365/.semver [2023-03-08T08:38:17.924Z] 2023-03-08 08:38:17,827 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1365/.semver [2023-03-08T08:38:17.924Z] 2023-03-08 08:38:17,827 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1365/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1365, universal_newlines=False, shell=None, istream=None) [2023-03-08T08:38:18.860Z] 2023-03-08 08:38:18,710 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1365/.git/info/exclude [2023-03-08T08:38:18.860Z] 2023-03-08 08:38:18,710 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1365/.semver/PR-1365 with force:False [2023-03-08T08:38:18.860Z] 2023-03-08 08:38:18,711 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1365/.semver/PR-1365 [2023-03-08T08:38:18.860Z] 2023-03-08 08:38:18,714 [execute] INFO git cat-file --batch-check [2023-03-08T08:38:18.860Z] 2023-03-08 08:38:18,714 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1365/.semver, universal_newlines=False, shell=None, istream=) [2023-03-08T08:38:18.860Z] 2023-03-08 08:38:18,719 [execute] INFO git cat-file --batch [2023-03-08T08:38:18.860Z] 2023-03-08 08:38:18,719 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1365/.semver, universal_newlines=False, shell=None, istream=) [2023-03-08T08:38:18.860Z] 2023-03-08 08:38:18,724 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1365/.semver/PR-1365 [2023-03-08T08:38:18.860Z] 0.0.0 [Pipeline] } [2023-03-08T08:38:18.870Z] $ docker exec --env ******** --env ******** 37edc4cfd4fd5c18a94bf4141e0a731cd31a2ffc0f41430d657932827827b502 ssh-agent -k [2023-03-08T08:38:18.976Z] unset SSH_AUTH_SOCK; [2023-03-08T08:38:18.976Z] unset SSH_AGENT_PID; [2023-03-08T08:38:18.976Z] echo Agent pid 75 killed; [2023-03-08T08:38:18.984Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-08T08:38:19.304Z] + git semver [Pipeline] } [2023-03-08T08:38:19.577Z] $ docker stop --time=1 37edc4cfd4fd5c18a94bf4141e0a731cd31a2ffc0f41430d657932827827b502 [2023-03-08T08:38:20.873Z] $ docker rm -f --volumes 37edc4cfd4fd5c18a94bf4141e0a731cd31a2ffc0f41430d657932827827b502 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-08T08:38:21.205Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-03-08T08:38:21.416Z] Stashed 1 file(s) [Pipeline] echo [2023-03-08T08:38:21.419Z] [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-08T08:38:21.544Z] provisioning config files... [2023-03-08T08:38:21.551Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1365@tmp/config17257811532403277454tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-08T08:38:21.636Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-8769 in /w/workspace/gexfoundry_device-sdk-go_PR-1365 [Pipeline] { [Pipeline] ws [2023-03-08T08:38:21.648Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2023-03-08T08:38:21.683Z] The recommended git tool is: git [2023-03-08T08:38:21.850Z] ---> docker-login.sh [2023-03-08T08:38:21.850Z] nexus3.edgexfoundry.org:10001 [2023-03-08T08:38:21.850Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-08T08:38:21.850Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-08T08:38:21.850Z] Configure a credential helper to remove this warning. See [2023-03-08T08:38:21.850Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-08T08:38:21.850Z] [2023-03-08T08:38:21.850Z] Login Succeeded [2023-03-08T08:38:21.850Z] nexus3.edgexfoundry.org:10002 [2023-03-08T08:38:21.850Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-08T08:38:21.850Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-08T08:38:21.850Z] Configure a credential helper to remove this warning. See [2023-03-08T08:38:21.850Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-08T08:38:21.850Z] [2023-03-08T08:38:21.850Z] Login Succeeded [2023-03-08T08:38:21.850Z] nexus3.edgexfoundry.org:10003 [2023-03-08T08:38:22.108Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-08T08:38:22.108Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-08T08:38:22.108Z] Configure a credential helper to remove this warning. See [2023-03-08T08:38:22.108Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-08T08:38:22.108Z] [2023-03-08T08:38:22.108Z] Login Succeeded [2023-03-08T08:38:22.108Z] nexus3.edgexfoundry.org:10004 [2023-03-08T08:38:22.108Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-08T08:38:22.108Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-08T08:38:22.108Z] Configure a credential helper to remove this warning. See [2023-03-08T08:38:22.108Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-08T08:38:22.108Z] [2023-03-08T08:38:22.108Z] Login Succeeded [2023-03-08T08:38:22.108Z] docker.io [2023-03-08T08:38:22.108Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-08T08:38:22.367Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-08T08:38:22.367Z] Configure a credential helper to remove this warning. See [2023-03-08T08:38:22.367Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-08T08:38:22.367Z] [2023-03-08T08:38:22.367Z] Login Succeeded [2023-03-08T08:38:22.367Z] ---> docker-login.sh ends [Pipeline] } [2023-03-08T08:38:22.375Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-08T08:38:22.436Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-08T08:38:22.453Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-08T08:38:22.465Z] ========================================================= [2023-03-08T08:38:22.465Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-03-08T08:38:22.465Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-08T08:38:22.783Z] + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-03-08T08:38:22.783Z] Sending build context to Docker daemon 10.69MB [2023-03-08T08:38:22.783Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-03-08T08:38:22.783Z] Step 2/10 : FROM ${BASE} AS builder [2023-03-08T08:38:23.043Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-03-08T08:38:23.043Z] 213ec9aee27d: Pulling fs layer [2023-03-08T08:38:23.043Z] 4583459ba037: Pulling fs layer [2023-03-08T08:38:23.043Z] 93c1e223e6f2: Pulling fs layer [2023-03-08T08:38:23.043Z] 53926ce57604: Pulling fs layer [2023-03-08T08:38:23.043Z] 21b2b0c7a3f4: Pulling fs layer [2023-03-08T08:38:23.043Z] 22ff95d597cd: Pulling fs layer [2023-03-08T08:38:23.043Z] 12d6caf4c0d1: Pulling fs layer [2023-03-08T08:38:23.043Z] 53926ce57604: Waiting [2023-03-08T08:38:23.043Z] 21b2b0c7a3f4: Waiting [2023-03-08T08:38:23.043Z] 22ff95d597cd: Waiting [2023-03-08T08:38:23.043Z] 96b7cbca73a9: Pulling fs layer [2023-03-08T08:38:23.043Z] a7acece74701: Pulling fs layer [2023-03-08T08:38:23.043Z] 96b7cbca73a9: Waiting [2023-03-08T08:38:23.043Z] a7acece74701: Waiting [2023-03-08T08:38:23.043Z] 93c1e223e6f2: Verifying Checksum [2023-03-08T08:38:23.043Z] 93c1e223e6f2: Download complete [2023-03-08T08:38:23.043Z] 4583459ba037: Download complete [2023-03-08T08:38:23.043Z] 21b2b0c7a3f4: Download complete [2023-03-08T08:38:23.043Z] 22ff95d597cd: Verifying Checksum [2023-03-08T08:38:23.043Z] 22ff95d597cd: Download complete [2023-03-08T08:38:23.043Z] 213ec9aee27d: Verifying Checksum [2023-03-08T08:38:23.043Z] 213ec9aee27d: Download complete [2023-03-08T08:38:23.043Z] 12d6caf4c0d1: Verifying Checksum [2023-03-08T08:38:23.043Z] 12d6caf4c0d1: Download complete [2023-03-08T08:38:23.043Z] 213ec9aee27d: Pull complete [2023-03-08T08:38:23.305Z] 4583459ba037: Pull complete [2023-03-08T08:38:23.305Z] 93c1e223e6f2: Pull complete [2023-03-08T08:38:23.564Z] a7acece74701: Verifying Checksum [2023-03-08T08:38:23.564Z] a7acece74701: Download complete [2023-03-08T08:38:23.822Z] 96b7cbca73a9: Verifying Checksum [2023-03-08T08:38:23.822Z] 96b7cbca73a9: Download complete [2023-03-08T08:38:23.822Z] 53926ce57604: Verifying Checksum [2023-03-08T08:38:23.822Z] 53926ce57604: Download complete [2023-03-08T08:38:28.013Z] 53926ce57604: Pull complete [2023-03-08T08:38:28.013Z] 21b2b0c7a3f4: Pull complete [2023-03-08T08:38:28.013Z] 22ff95d597cd: Pull complete [2023-03-08T08:38:28.013Z] 12d6caf4c0d1: Pull complete [2023-03-08T08:38:28.252Z] using credential edgex-jenkins-ssh [2023-03-08T08:38:28.275Z] Cloning the remote Git repository [2023-03-08T08:38:28.343Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-03-08T08:38:28.434Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2023-03-08T08:38:28.647Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-03-08T08:38:28.648Z] > git --version # timeout=10 [2023-03-08T08:38:28.681Z] > git --version # 'git version 2.25.1' [2023-03-08T08:38:28.684Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-08T08:38:28.759Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-08T08:38:29.912Z] 96b7cbca73a9: Pull complete [2023-03-08T08:38:30.480Z] a7acece74701: Pull complete [2023-03-08T08:38:30.480Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-03-08T08:38:30.480Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-03-08T08:38:30.480Z] ---> db6d94c90886 [2023-03-08T08:38:30.480Z] Step 3/10 : ARG MAKE=make build [2023-03-08T08:38:31.409Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-03-08T08:38:31.435Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-08T08:38:32.777Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-03-08T08:38:32.852Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-03-08T08:38:32.853Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-08T08:38:32.872Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1365/head:refs/remotes/origin/PR-1365 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-03-08T08:38:33.594Z] Merging remotes/origin/main commit 23e758ba57e1012933f954ab76dd88bf8d98992d into PR head commit ed4ff57612811b3ad779c872ae09ec9f69159b45 [2023-03-08T08:38:33.894Z] Merge succeeded, producing ed4ff57612811b3ad779c872ae09ec9f69159b45 [2023-03-08T08:38:33.895Z] Checking out Revision ed4ff57612811b3ad779c872ae09ec9f69159b45 (PR-1365) [2023-03-08T08:38:33.618Z] > git config core.sparsecheckout # timeout=10 [2023-03-08T08:38:33.644Z] > git checkout -f ed4ff57612811b3ad779c872ae09ec9f69159b45 # timeout=10 [2023-03-08T08:38:33.785Z] > git remote # timeout=10 [2023-03-08T08:38:33.805Z] > git config --get remote.origin.url # timeout=10 [2023-03-08T08:38:33.826Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-08T08:38:33.843Z] > git merge 23e758ba57e1012933f954ab76dd88bf8d98992d # timeout=10 [2023-03-08T08:38:33.872Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-03-08T08:38:33.902Z] > git config core.sparsecheckout # timeout=10 [2023-03-08T08:38:33.922Z] > git checkout -f ed4ff57612811b3ad779c872ae09ec9f69159b45 # timeout=10 [2023-03-08T08:38:35.755Z] ---> Running in f654d5446ef1 [2023-03-08T08:38:35.755Z] Removing intermediate container f654d5446ef1 [2023-03-08T08:38:35.755Z] ---> 2e0eebf184fe [2023-03-08T08:38:35.755Z] Step 4/10 : WORKDIR /device-sdk-go [2023-03-08T08:38:35.755Z] ---> Running in 314b84078c89 [2023-03-08T08:38:35.755Z] Removing intermediate container 314b84078c89 [2023-03-08T08:38:35.755Z] ---> 82dac9927b2e [2023-03-08T08:38:35.755Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-03-08T08:38:35.755Z] ---> Running in af4781c4ffbb [2023-03-08T08:38:35.755Z] Removing intermediate container af4781c4ffbb [2023-03-08T08:38:35.755Z] ---> e6d4568186b5 [2023-03-08T08:38:35.755Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-03-08T08:38:35.755Z] ---> Running in fab8606fce24 [2023-03-08T08:38:36.013Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-08T08:38:36.271Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-03-08T08:38:36.528Z] OK: 211 MiB in 51 packages [2023-03-08T08:38:36.787Z] Removing intermediate container fab8606fce24 [2023-03-08T08:38:36.787Z] ---> 12837bd3b6e1 [2023-03-08T08:38:36.787Z] Step 7/10 : COPY go.mod vendor* ./ [2023-03-08T08:38:36.787Z] ---> 69b951fff2b2 [2023-03-08T08:38:36.787Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-08T08:38:37.046Z] ---> Running in 05203f77b0ca [2023-03-08T08:38:37.632Z] Commit message: "Merge branch 'main' into ProtocolProperties-change" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-08T08:38:38.559Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-03-08T08:38:38.559Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-08T08:38:38.559Z] Dload Upload Total Spent Left Speed [2023-03-08T08:38:38.559Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 59863 0 --:--:-- --:--:-- --:--:-- 59863 [Pipeline] sh [2023-03-08T08:38:39.233Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-03-08T08:38:39.577Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-03-08T08:38:39.577Z] + sudo tee /etc/docker/daemon.new [2023-03-08T08:38:39.577Z] { [2023-03-08T08:38:39.577Z] "registry-mirrors": [ [2023-03-08T08:38:39.577Z] "https://nexus3.edgexfoundry.org:10001" [2023-03-08T08:38:39.577Z] ], [2023-03-08T08:38:39.577Z] "bip": "10.250.0.254/24", [2023-03-08T08:38:39.577Z] "hosts": [ [2023-03-08T08:38:39.577Z] "tcp://0.0.0.0:5555", [2023-03-08T08:38:39.577Z] "unix:///var/run/docker.sock" [2023-03-08T08:38:39.577Z] ], [2023-03-08T08:38:39.577Z] "mtu": 1458, [2023-03-08T08:38:39.577Z] "selinux-enabled": true, [2023-03-08T08:38:39.577Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-03-08T08:38:39.577Z] } [Pipeline] sh [2023-03-08T08:38:39.919Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-03-08T08:38:40.267Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-08T08:38:58.613Z] provisioning config files... [2023-03-08T08:38:58.649Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config3891980407375406750tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-08T08:38:59.029Z] ---> docker-login.sh [2023-03-08T08:38:59.029Z] nexus3.edgexfoundry.org:10001 [2023-03-08T08:38:59.624Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-08T08:38:59.624Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-08T08:38:59.624Z] Configure a credential helper to remove this warning. See [2023-03-08T08:38:59.624Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-08T08:38:59.624Z] [2023-03-08T08:38:59.624Z] Login Succeeded [2023-03-08T08:38:59.624Z] nexus3.edgexfoundry.org:10002 [2023-03-08T08:38:59.897Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-08T08:39:00.169Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-08T08:39:00.169Z] Configure a credential helper to remove this warning. See [2023-03-08T08:39:00.169Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-08T08:39:00.169Z] [2023-03-08T08:39:00.169Z] Login Succeeded [2023-03-08T08:39:00.169Z] nexus3.edgexfoundry.org:10003 [2023-03-08T08:39:00.445Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-08T08:39:00.445Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-08T08:39:00.445Z] Configure a credential helper to remove this warning. See [2023-03-08T08:39:00.445Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-08T08:39:00.445Z] [2023-03-08T08:39:00.445Z] Login Succeeded [2023-03-08T08:39:00.445Z] nexus3.edgexfoundry.org:10004 [2023-03-08T08:39:00.727Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-08T08:39:01.001Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-08T08:39:01.001Z] Configure a credential helper to remove this warning. See [2023-03-08T08:39:01.001Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-08T08:39:01.001Z] [2023-03-08T08:39:01.001Z] Login Succeeded [2023-03-08T08:39:01.001Z] docker.io [2023-03-08T08:39:01.276Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-08T08:39:01.557Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-08T08:39:01.557Z] Configure a credential helper to remove this warning. See [2023-03-08T08:39:01.557Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-08T08:39:01.557Z] [2023-03-08T08:39:01.557Z] Login Succeeded [2023-03-08T08:39:01.557Z] ---> docker-login.sh ends [Pipeline] } [2023-03-08T08:39:01.579Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-08T08:39:01.871Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-08T08:39:01.889Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-08T08:39:01.903Z] ========================================================= [2023-03-08T08:39:01.903Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-03-08T08:39:01.903Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-08T08:39:02.271Z] + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-03-08T08:39:02.864Z] Sending build context to Docker daemon 5.765MB [2023-03-08T08:39:02.864Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-03-08T08:39:02.864Z] Step 2/10 : FROM ${BASE} AS builder [2023-03-08T08:39:03.156Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-03-08T08:39:03.156Z] 9b18e9b68314: Pulling fs layer [2023-03-08T08:39:03.156Z] 35d82f9e3411: Pulling fs layer [2023-03-08T08:39:03.156Z] e16973657156: Pulling fs layer [2023-03-08T08:39:03.156Z] fc693d55d65f: Pulling fs layer [2023-03-08T08:39:03.156Z] 7e9fc2657dce: Pulling fs layer [2023-03-08T08:39:03.156Z] dda99020689f: Pulling fs layer [2023-03-08T08:39:03.156Z] db1c61fa0a46: Pulling fs layer [2023-03-08T08:39:03.156Z] 891c053d2c06: Pulling fs layer [2023-03-08T08:39:03.156Z] fc693d55d65f: Waiting [2023-03-08T08:39:03.156Z] 7e9fc2657dce: Waiting [2023-03-08T08:39:03.156Z] dda99020689f: Waiting [2023-03-08T08:39:03.156Z] db1c61fa0a46: Waiting [2023-03-08T08:39:03.156Z] 891c053d2c06: Waiting [2023-03-08T08:39:03.156Z] e16973657156: Verifying Checksum [2023-03-08T08:39:03.156Z] e16973657156: Download complete [2023-03-08T08:39:03.156Z] 35d82f9e3411: Verifying Checksum [2023-03-08T08:39:03.156Z] 35d82f9e3411: Download complete [2023-03-08T08:39:03.156Z] 7e9fc2657dce: Download complete [2023-03-08T08:39:03.428Z] dda99020689f: Verifying Checksum [2023-03-08T08:39:03.428Z] dda99020689f: Download complete [2023-03-08T08:39:03.428Z] 9b18e9b68314: Verifying Checksum [2023-03-08T08:39:03.428Z] 9b18e9b68314: Download complete [2023-03-08T08:39:04.874Z] 9b18e9b68314: Pull complete [2023-03-08T08:39:04.874Z] 891c053d2c06: Verifying Checksum [2023-03-08T08:39:04.874Z] 891c053d2c06: Download complete [2023-03-08T08:39:05.479Z] 35d82f9e3411: Pull complete [2023-03-08T08:39:05.750Z] e16973657156: Pull complete [2023-03-08T08:39:06.721Z] db1c61fa0a46: Verifying Checksum [2023-03-08T08:39:06.721Z] db1c61fa0a46: Download complete [2023-03-08T08:39:07.334Z] fc693d55d65f: Verifying Checksum [2023-03-08T08:39:07.334Z] fc693d55d65f: Download complete [2023-03-08T08:39:09.135Z] Removing intermediate container 05203f77b0ca [2023-03-08T08:39:09.135Z] ---> eb2f05ffd49d [2023-03-08T08:39:09.135Z] Step 9/10 : COPY . . [2023-03-08T08:39:09.135Z] ---> c7ca9e560dd4 [2023-03-08T08:39:09.135Z] Step 10/10 : RUN ${MAKE} [2023-03-08T08:39:09.135Z] ---> Running in 97fd248b38ad [2023-03-08T08:39:09.135Z] noop [2023-03-08T08:39:09.135Z] Removing intermediate container 97fd248b38ad [2023-03-08T08:39:09.135Z] ---> 3183185a2516 [2023-03-08T08:39:09.135Z] Successfully built 3183185a2516 [2023-03-08T08:39:09.135Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-08T08:39:09.451Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-08T08:39:09.451Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-08T08:39:09.513Z] prd-ubuntu20.04-docker-8c-8g-8770 does not seem to be running inside a container [2023-03-08T08:39:09.547Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1365 -v /w/workspace/gexfoundry_device-sdk-go_PR-1365:/w/workspace/gexfoundry_device-sdk-go_PR-1365:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1365@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1365@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-08T08:39:09.859Z] $ docker top 65b407c073c973ad2d9b0313ec064acfc110677fe18c87b10d52d0aa50dca8d0 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-08T08:39:10.184Z] + go version [2023-03-08T08:39:10.184Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-03-08T08:39:10.202Z] $ docker stop --time=1 65b407c073c973ad2d9b0313ec064acfc110677fe18c87b10d52d0aa50dca8d0 [2023-03-08T08:39:11.475Z] $ docker rm -f --volumes 65b407c073c973ad2d9b0313ec064acfc110677fe18c87b10d52d0aa50dca8d0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-08T08:39:11.848Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-08T08:39:11.848Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-08T08:39:11.917Z] prd-ubuntu20.04-docker-8c-8g-8770 does not seem to be running inside a container [2023-03-08T08:39:11.958Z] $ 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-1365 -v /w/workspace/gexfoundry_device-sdk-go_PR-1365:/w/workspace/gexfoundry_device-sdk-go_PR-1365:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1365@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1365@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-08T08:39:12.323Z] $ docker top ee98cc7f537a5f8e27ff2a94a9cf5fa7f2c372b294b891b5cafcaf93e1ddbb3f -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-08T08:39:12.651Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1365 [Pipeline] fileExists [Pipeline] sh [2023-03-08T08:39:12.947Z] + make test [2023-03-08T08:39:12.947Z] go test -race -coverprofile=coverage.out ./... [2023-03-08T08:39:19.507Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-03-08T08:39:25.806Z] fc693d55d65f: Pull complete [2023-03-08T08:39:25.806Z] 7e9fc2657dce: Pull complete [2023-03-08T08:39:25.806Z] dda99020689f: Pull complete [2023-03-08T08:39:34.057Z] db1c61fa0a46: Pull complete [2023-03-08T08:39:34.368Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-03-08T08:39:34.368Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-03-08T08:39:34.368Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-03-08T08:39:34.368Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-03-08T08:39:34.368Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-03-08T08:39:34.368Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.076s coverage: 27.6% of statements [2023-03-08T08:39:34.368Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.101s coverage: 78.9% of statements [2023-03-08T08:39:34.368Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] [2023-03-08T08:39:34.368Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.116s coverage: 86.0% of statements [2023-03-08T08:39:34.368Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-03-08T08:39:34.368Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-03-08T08:39:34.368Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.100s coverage: 75.4% of statements [2023-03-08T08:39:34.368Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-03-08T08:39:36.268Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.078s coverage: 15.3% of statements [2023-03-08T08:39:36.268Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-03-08T08:39:36.268Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.106s coverage: 65.2% of statements [2023-03-08T08:39:36.268Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-03-08T08:39:36.268Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-03-08T08:39:36.268Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.751s coverage: 89.2% of statements [2023-03-08T08:39:36.268Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] [2023-03-08T08:39:36.268Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.056s coverage: 5.4% of statements [2023-03-08T08:39:36.268Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-03-08T08:39:36.678Z] 891c053d2c06: Pull complete [2023-03-08T08:39:36.678Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-03-08T08:39:36.678Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-03-08T08:39:36.678Z] ---> f96f9c87975a [2023-03-08T08:39:36.678Z] Step 3/10 : ARG MAKE=make build [2023-03-08T08:39:38.644Z] ---> Running in 01c1e21f1a8c [2023-03-08T08:39:39.236Z] Removing intermediate container 01c1e21f1a8c [2023-03-08T08:39:39.236Z] ---> c97dd96b9adb [2023-03-08T08:39:39.236Z] Step 4/10 : WORKDIR /device-sdk-go [2023-03-08T08:39:39.236Z] ---> Running in 631912571c27 [2023-03-08T08:39:39.840Z] Removing intermediate container 631912571c27 [2023-03-08T08:39:39.840Z] ---> bfab3146c88c [2023-03-08T08:39:39.840Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-03-08T08:39:39.840Z] ---> Running in 497ad6ee7274 [2023-03-08T08:39:40.111Z] Removing intermediate container 497ad6ee7274 [2023-03-08T08:39:40.111Z] ---> fef582b912bb [2023-03-08T08:39:40.111Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-03-08T08:39:40.407Z] ---> Running in a664839c5874 [2023-03-08T08:39:43.020Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-08T08:39:43.293Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-03-08T08:39:44.731Z] OK: 221 MiB in 51 packages [2023-03-08T08:39:45.717Z] Removing intermediate container a664839c5874 [2023-03-08T08:39:45.717Z] ---> c9288f1bad7f [2023-03-08T08:39:45.717Z] Step 7/10 : COPY go.mod vendor* ./ [2023-03-08T08:39:46.311Z] ---> 1860b4eebb1c [2023-03-08T08:39:46.311Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-08T08:39:46.584Z] ---> Running in 3b4eb45f05d4 [2023-03-08T08:39:51.130Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2023-03-08T08:39:51.388Z] GO111MODULE=on go vet ./... [2023-03-08T08:39:55.571Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-08T08:39:55.571Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-08T08:39:55.571Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-08T08:39:55.584Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-08T08:39:55.606Z] $ docker stop --time=1 ee98cc7f537a5f8e27ff2a94a9cf5fa7f2c372b294b891b5cafcaf93e1ddbb3f [2023-03-08T08:39:58.957Z] $ docker rm -f --volumes ee98cc7f537a5f8e27ff2a94a9cf5fa7f2c372b294b891b5cafcaf93e1ddbb3f [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-08T08:39:59.423Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-08T08:39:59.504Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-03-08T08:39:59.920Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-08T08:40:00.211Z] + ls -al . [2023-03-08T08:40:00.211Z] total 280 [2023-03-08T08:40:00.211Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 8 08:39 . [2023-03-08T08:40:00.211Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 8 08:37 .. [2023-03-08T08:40:00.211Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 8 08:37 .dockerignore [2023-03-08T08:40:00.211Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 8 08:39 .git [2023-03-08T08:40:00.211Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 8 08:37 .github [2023-03-08T08:40:00.211Z] -rw-rw-r-- 1 jenkins jenkins 131 Mar 8 08:37 .gitignore [2023-03-08T08:40:00.211Z] -rw-rw-r-- 1 jenkins jenkins 42 Mar 8 08:37 .golangci.yml [2023-03-08T08:40:00.211Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 8 08:38 .semver [2023-03-08T08:40:00.211Z] -rw-rw-r-- 1 jenkins jenkins 31677 Mar 8 08:37 CHANGELOG.md [2023-03-08T08:40:00.211Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 8 08:37 GOVERNANCE.md [2023-03-08T08:40:00.211Z] -rw-rw-r-- 1 jenkins jenkins 885 Mar 8 08:37 Jenkinsfile [2023-03-08T08:40:00.211Z] -rw-rw-r-- 1 jenkins jenkins 11341 Mar 8 08:37 LICENSE [2023-03-08T08:40:00.211Z] -rw-rw-r-- 1 jenkins jenkins 1679 Mar 8 08:37 Makefile [2023-03-08T08:40:00.211Z] -rw-rw-r-- 1 jenkins jenkins 619 Mar 8 08:37 OWNERS.md [2023-03-08T08:40:00.211Z] -rw-rw-r-- 1 jenkins jenkins 4891 Mar 8 08:37 README.md [2023-03-08T08:40:00.211Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 8 08:38 VERSION [2023-03-08T08:40:00.211Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 8 08:37 bin [2023-03-08T08:40:00.211Z] -rw-r--r-- 1 jenkins jenkins 111565 Mar 8 08:39 coverage.out [2023-03-08T08:40:00.211Z] drwxrwxr-x 5 jenkins jenkins 4096 Mar 8 08:37 example [2023-03-08T08:40:00.211Z] -rw-rw-r-- 1 jenkins jenkins 3266 Mar 8 08:37 go.mod [2023-03-08T08:40:00.211Z] -rw-rw-r-- 1 jenkins jenkins 30839 Mar 8 08:37 go.sum [2023-03-08T08:40:00.211Z] drwxrwxr-x 13 jenkins jenkins 4096 Mar 8 08:37 internal [2023-03-08T08:40:00.211Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 8 08:37 openapi [2023-03-08T08:40:00.211Z] drwxrwxr-x 6 jenkins jenkins 4096 Mar 8 08:37 pkg [2023-03-08T08:40:00.211Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 8 08:37 snap [2023-03-08T08:40:00.211Z] -rw-rw-r-- 1 jenkins jenkins 222 Mar 8 08:37 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-08T08:40:00.513Z] + 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=ed4ff57612811b3ad779c872ae09ec9f69159b45 --label arch=amd64 --label version=0.0.0 . [2023-03-08T08:40:00.513Z] Sending build context to Docker daemon 10.8MB [2023-03-08T08:40:00.513Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2023-03-08T08:40:00.513Z] Step 2/23 : FROM ${BASE} AS builder [2023-03-08T08:40:00.513Z] ---> 3183185a2516 [2023-03-08T08:40:00.513Z] Step 3/23 : ARG MAKE=make build [2023-03-08T08:40:00.773Z] ---> Running in b5488e4afb28 [2023-03-08T08:40:00.773Z] Removing intermediate container b5488e4afb28 [2023-03-08T08:40:00.773Z] ---> 61ca1fe99d38 [2023-03-08T08:40:00.773Z] Step 4/23 : WORKDIR /device-sdk-go [2023-03-08T08:40:00.773Z] ---> Running in d27959d02c08 [2023-03-08T08:40:00.773Z] Removing intermediate container d27959d02c08 [2023-03-08T08:40:00.773Z] ---> 59f5c8f29fcd [2023-03-08T08:40:00.773Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-03-08T08:40:00.773Z] ---> Running in 0831eb0bb833 [2023-03-08T08:40:01.032Z] Removing intermediate container 0831eb0bb833 [2023-03-08T08:40:01.032Z] ---> 4536a9d4db11 [2023-03-08T08:40:01.032Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-03-08T08:40:01.032Z] ---> Running in 76ddf4d4c927 [2023-03-08T08:40:01.291Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-08T08:40:01.291Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-03-08T08:40:01.552Z] OK: 211 MiB in 51 packages [2023-03-08T08:40:01.815Z] Removing intermediate container 76ddf4d4c927 [2023-03-08T08:40:01.815Z] ---> c2d65745d303 [2023-03-08T08:40:01.815Z] Step 7/23 : COPY go.mod vendor* ./ [2023-03-08T08:40:02.075Z] ---> b4a1e99009cb [2023-03-08T08:40:02.075Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-08T08:40:02.075Z] ---> Running in f6d0e1d25965 [2023-03-08T08:40:03.014Z] Removing intermediate container f6d0e1d25965 [2023-03-08T08:40:03.014Z] ---> a07d911b6ce8 [2023-03-08T08:40:03.014Z] Step 9/23 : COPY . . [2023-03-08T08:40:03.272Z] ---> fb77f098f25a [2023-03-08T08:40:03.272Z] Step 10/23 : RUN ${MAKE} [2023-03-08T08:40:03.272Z] ---> Running in d7a343971600 [2023-03-08T08:40:03.530Z] 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-08T08:40:25.453Z] Removing intermediate container d7a343971600 [2023-03-08T08:40:25.453Z] ---> 76d4dcbb447b [2023-03-08T08:40:25.453Z] Step 11/23 : FROM alpine:3.16 [2023-03-08T08:40:25.453Z] 3.16: Pulling from library/alpine [2023-03-08T08:40:25.453Z] ef5531b6e74e: Pulling fs layer [2023-03-08T08:40:25.453Z] ef5531b6e74e: Verifying Checksum [2023-03-08T08:40:25.453Z] ef5531b6e74e: Download complete [2023-03-08T08:40:25.453Z] ef5531b6e74e: Pull complete [2023-03-08T08:40:25.453Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-03-08T08:40:25.453Z] Status: Downloaded newer image for alpine:3.16 [2023-03-08T08:40:25.453Z] ---> dfd21b5a31f5 [2023-03-08T08:40:25.453Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-03-08T08:40:25.453Z] ---> Running in c93ae86d774d [2023-03-08T08:40:25.453Z] Removing intermediate container c93ae86d774d [2023-03-08T08:40:25.453Z] ---> a73e77e87fdf [2023-03-08T08:40:25.453Z] Step 13/23 : RUN apk add --update --no-cache [2023-03-08T08:40:25.453Z] ---> Running in 01e9fff30263 [2023-03-08T08:40:25.453Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-08T08:40:25.453Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-03-08T08:40:25.453Z] OK: 6 MiB in 14 packages [2023-03-08T08:40:25.453Z] Removing intermediate container 01e9fff30263 [2023-03-08T08:40:25.453Z] ---> 1b2c90a50fe1 [2023-03-08T08:40:25.453Z] Step 14/23 : WORKDIR / [2023-03-08T08:40:25.453Z] ---> Running in 25402b174c14 [2023-03-08T08:40:25.453Z] Removing intermediate container 25402b174c14 [2023-03-08T08:40:25.453Z] ---> bf164a891d42 [2023-03-08T08:40:25.453Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-03-08T08:40:25.453Z] ---> b6b5c8fa80bd [2023-03-08T08:40:25.453Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-03-08T08:40:25.453Z] ---> 98f634431388 [2023-03-08T08:40:25.453Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-03-08T08:40:25.453Z] ---> 037e1d36511b [2023-03-08T08:40:25.453Z] Step 18/23 : EXPOSE 59999 [2023-03-08T08:40:25.453Z] ---> Running in a2d69fb1a7dd [2023-03-08T08:40:25.453Z] Removing intermediate container a2d69fb1a7dd [2023-03-08T08:40:25.453Z] ---> fb86eb2d9147 [2023-03-08T08:40:25.453Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-03-08T08:40:25.453Z] ---> Running in 8f775a1f9d53 [2023-03-08T08:40:25.453Z] Removing intermediate container 8f775a1f9d53 [2023-03-08T08:40:25.453Z] ---> b1a8933956c4 [2023-03-08T08:40:25.453Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-03-08T08:40:25.453Z] ---> Running in 42dedab11bc4 [2023-03-08T08:40:25.453Z] Removing intermediate container 42dedab11bc4 [2023-03-08T08:40:25.453Z] ---> 1086859db075 [2023-03-08T08:40:25.453Z] Step 21/23 : LABEL arch=amd64 [2023-03-08T08:40:25.453Z] ---> Running in 749bb8062c07 [2023-03-08T08:40:25.711Z] Removing intermediate container 749bb8062c07 [2023-03-08T08:40:25.711Z] ---> 312f36989b47 [2023-03-08T08:40:25.711Z] Step 22/23 : LABEL git_sha=ed4ff57612811b3ad779c872ae09ec9f69159b45 [2023-03-08T08:40:25.711Z] ---> Running in fa6fba2dbefb [2023-03-08T08:40:25.711Z] Removing intermediate container fa6fba2dbefb [2023-03-08T08:40:25.711Z] ---> 525f48308537 [2023-03-08T08:40:25.711Z] Step 23/23 : LABEL version=0.0.0 [2023-03-08T08:40:25.711Z] ---> Running in b2af1593c0de [2023-03-08T08:40:25.711Z] Removing intermediate container b2af1593c0de [2023-03-08T08:40:25.711Z] ---> ed3c01c28a87 [2023-03-08T08:40:25.711Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-08T08:40:25.711Z] Successfully built ed3c01c28a87 [2023-03-08T08:40:25.711Z] 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-08T08:40:26.136Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-08T08:40:26.136Z] [2023-03-08T08:40:26.136Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-08T08:40:26.432Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-08T08:40:26.432Z] latest: Pulling from edgex-lftools-log-publisher [2023-03-08T08:40:26.432Z] 5eb5b503b376: Pulling fs layer [2023-03-08T08:40:26.432Z] 5c69ac0246d0: Pulling fs layer [2023-03-08T08:40:26.432Z] ec43610c2a17: Pulling fs layer [2023-03-08T08:40:26.432Z] 3a2ae6a8a46f: Pulling fs layer [2023-03-08T08:40:26.432Z] 33b1e0a273af: Pulling fs layer [2023-03-08T08:40:26.432Z] 5d3b04190fa2: Pulling fs layer [2023-03-08T08:40:26.432Z] 2f39f015ded8: Pulling fs layer [2023-03-08T08:40:26.432Z] 3a2ae6a8a46f: Waiting [2023-03-08T08:40:26.432Z] 2f39f015ded8: Waiting [2023-03-08T08:40:26.432Z] 33b1e0a273af: Waiting [2023-03-08T08:40:26.432Z] 5c69ac0246d0: Verifying Checksum [2023-03-08T08:40:26.432Z] 5c69ac0246d0: Download complete [2023-03-08T08:40:26.432Z] 3a2ae6a8a46f: Download complete [2023-03-08T08:40:26.692Z] 33b1e0a273af: Verifying Checksum [2023-03-08T08:40:26.692Z] 33b1e0a273af: Download complete [2023-03-08T08:40:26.692Z] 5d3b04190fa2: Verifying Checksum [2023-03-08T08:40:26.692Z] 5d3b04190fa2: Download complete [2023-03-08T08:40:26.692Z] ec43610c2a17: Verifying Checksum [2023-03-08T08:40:26.692Z] ec43610c2a17: Download complete [2023-03-08T08:40:26.692Z] 5eb5b503b376: Verifying Checksum [2023-03-08T08:40:26.692Z] 5eb5b503b376: Download complete [2023-03-08T08:40:28.065Z] 5eb5b503b376: Pull complete [2023-03-08T08:40:28.065Z] 5c69ac0246d0: Pull complete [2023-03-08T08:40:28.323Z] ec43610c2a17: Pull complete [2023-03-08T08:40:28.580Z] 3a2ae6a8a46f: Pull complete [2023-03-08T08:40:28.839Z] 33b1e0a273af: Pull complete [2023-03-08T08:40:28.839Z] 5d3b04190fa2: Pull complete [2023-03-08T08:40:33.024Z] 2f39f015ded8: Pull complete [2023-03-08T08:40:33.024Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-03-08T08:40:33.024Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-08T08:40:33.024Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-08T08:40:33.104Z] prd-ubuntu20.04-docker-8c-8g-8770 does not seem to be running inside a container [2023-03-08T08:40:33.144Z] $ 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-1365 -v /w/workspace/gexfoundry_device-sdk-go_PR-1365:/w/workspace/gexfoundry_device-sdk-go_PR-1365:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1365@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1365@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-08T08:40:36.540Z] $ docker top ac035aca56dfd3ce652a44b003ddac2adcce3263801b3011ac8bb9a20f7a939b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-08T08:40:36.915Z] ---> job-cost.sh [2023-03-08T08:40:36.915Z] lf-activate-venv: SKIPPING [2023-03-08T08:40:36.915Z] INFO: No Stack... [2023-03-08T08:40:37.176Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-08T08:40:37.435Z] INFO: Archiving Costs [Pipeline] sh [2023-03-08T08:40:37.725Z] + + catcut /w/workspace/gexfoundry_device-sdk-go_PR-1365/archives/cost.csv -d, [2023-03-08T08:40:37.725Z] -f6 [Pipeline] lock [2023-03-08T08:40:37.738Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1365-2-stack-cost] [2023-03-08T08:40:37.747Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1365-2-stack-cost] did not exist. Created. [2023-03-08T08:40:37.747Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1365-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-08T08:40:38.051Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-03-08T08:40:38.084Z] Stashed 1 file(s) [Pipeline] } [2023-03-08T08:40:38.091Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1365-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-08T08:40:38.116Z] $ docker stop --time=1 ac035aca56dfd3ce652a44b003ddac2adcce3263801b3011ac8bb9a20f7a939b [2023-03-08T08:40:39.269Z] $ docker rm -f --volumes ac035aca56dfd3ce652a44b003ddac2adcce3263801b3011ac8bb9a20f7a939b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-08T08:41:08.346Z] Removing intermediate container 3b4eb45f05d4 [2023-03-08T08:41:08.346Z] ---> 3005c2f5f958 [2023-03-08T08:41:08.346Z] Step 9/10 : COPY . . [2023-03-08T08:41:08.346Z] ---> 0f1a27bad592 [2023-03-08T08:41:08.346Z] Step 10/10 : RUN ${MAKE} [2023-03-08T08:41:08.346Z] ---> Running in 3e73220c6d86 [2023-03-08T08:41:08.346Z] noop [2023-03-08T08:41:08.346Z] Removing intermediate container 3e73220c6d86 [2023-03-08T08:41:08.346Z] ---> 24d6710d6711 [2023-03-08T08:41:08.346Z] Successfully built 24d6710d6711 [2023-03-08T08:41:08.346Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-08T08:41:08.725Z] + docker inspect -f . ci-base-image-arm64 [2023-03-08T08:41:08.725Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-08T08:41:08.946Z] prd-ubuntu20.04-docker-arm64-4c-16g-8769 does not seem to be running inside a container [2023-03-08T08:41:09.027Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-08T08:41:10.435Z] $ docker top c998ab94236a9c368b36804632a5a0a454cce026795d29a38207c3d5633b50c3 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-08T08:41:11.302Z] + go version [2023-03-08T08:41:11.302Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-03-08T08:41:11.326Z] $ docker stop --time=1 c998ab94236a9c368b36804632a5a0a454cce026795d29a38207c3d5633b50c3 [2023-03-08T08:41:13.031Z] $ docker rm -f --volumes c998ab94236a9c368b36804632a5a0a454cce026795d29a38207c3d5633b50c3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-08T08:41:13.588Z] + docker inspect -f . ci-base-image-arm64 [2023-03-08T08:41:13.588Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-08T08:41:13.803Z] prd-ubuntu20.04-docker-arm64-4c-16g-8769 does not seem to be running inside a container [2023-03-08T08:41:13.887Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-08T08:41:15.256Z] $ docker top cd41289e98edc4d3cf188457b0cd1406ed242e60e8417c0e4acec7396227a3f1 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-08T08:41:16.141Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/2 [Pipeline] fileExists [Pipeline] sh [2023-03-08T08:41:16.820Z] + make test [2023-03-08T08:41:16.820Z] go test -race -coverprofile=coverage.out ./... [2023-03-08T08:42:03.718Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-03-08T08:44:10.459Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-03-08T08:44:10.459Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-03-08T08:44:10.459Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-03-08T08:44:10.459Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-03-08T08:44:10.459Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-03-08T08:44:12.415Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.279s coverage: 27.6% of statements [2023-03-08T08:44:14.375Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.360s coverage: 78.9% of statements [2023-03-08T08:44:14.375Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] [2023-03-08T08:44:19.732Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.433s coverage: 86.0% of statements [2023-03-08T08:44:19.732Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-03-08T08:44:19.732Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-03-08T08:44:21.707Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.615s coverage: 75.4% of statements [2023-03-08T08:44:21.707Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-03-08T08:44:21.707Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.354s coverage: 15.3% of statements [2023-03-08T08:44:21.707Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-03-08T08:44:22.676Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.476s coverage: 65.2% of statements [2023-03-08T08:44:22.676Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-03-08T08:44:22.676Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-03-08T08:44:28.043Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 3.236s coverage: 89.2% of statements [2023-03-08T08:44:28.043Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] [2023-03-08T08:44:28.043Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.307s coverage: 5.4% of statements [2023-03-08T08:44:28.043Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-03-08T08:44:28.043Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-03-08T08:44:28.043Z] GO111MODULE=on go vet ./... [2023-03-08T08:46:19.772Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-08T08:46:19.772Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-08T08:46:19.772Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-08T08:46:19.796Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-08T08:46:19.813Z] $ docker stop --time=1 cd41289e98edc4d3cf188457b0cd1406ed242e60e8417c0e4acec7396227a3f1 [2023-03-08T08:46:21.802Z] $ docker rm -f --volumes cd41289e98edc4d3cf188457b0cd1406ed242e60e8417c0e4acec7396227a3f1 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-08T08:46:23.420Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-08T08:46:23.439Z] Warning: overwriting stash ‘coverage-report’ [2023-03-08T08:46:24.224Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-08T08:46:24.620Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-08T08:46:24.956Z] + ls -al . [2023-03-08T08:46:24.956Z] total 276 [2023-03-08T08:46:24.956Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 8 08:41 . [2023-03-08T08:46:24.956Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 8 08:38 .. [2023-03-08T08:46:24.956Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 8 08:38 .dockerignore [2023-03-08T08:46:24.956Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 8 08:38 .git [2023-03-08T08:46:24.956Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 8 08:38 .github [2023-03-08T08:46:24.956Z] -rw-rw-r-- 1 jenkins jenkins 131 Mar 8 08:38 .gitignore [2023-03-08T08:46:24.956Z] -rw-rw-r-- 1 jenkins jenkins 42 Mar 8 08:38 .golangci.yml [2023-03-08T08:46:24.956Z] -rw-rw-r-- 1 jenkins jenkins 31677 Mar 8 08:38 CHANGELOG.md [2023-03-08T08:46:24.956Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 8 08:38 GOVERNANCE.md [2023-03-08T08:46:24.956Z] -rw-rw-r-- 1 jenkins jenkins 885 Mar 8 08:38 Jenkinsfile [2023-03-08T08:46:24.956Z] -rw-rw-r-- 1 jenkins jenkins 11341 Mar 8 08:38 LICENSE [2023-03-08T08:46:24.956Z] -rw-rw-r-- 1 jenkins jenkins 1679 Mar 8 08:38 Makefile [2023-03-08T08:46:24.956Z] -rw-rw-r-- 1 jenkins jenkins 619 Mar 8 08:38 OWNERS.md [2023-03-08T08:46:24.956Z] -rw-rw-r-- 1 jenkins jenkins 4891 Mar 8 08:38 README.md [2023-03-08T08:46:24.956Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 8 08:38 VERSION [2023-03-08T08:46:24.956Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 8 08:38 bin [2023-03-08T08:46:24.956Z] -rw-r--r-- 1 jenkins jenkins 111565 Mar 8 08:44 coverage.out [2023-03-08T08:46:24.956Z] drwxrwxr-x 5 jenkins jenkins 4096 Mar 8 08:38 example [2023-03-08T08:46:24.956Z] -rw-rw-r-- 1 jenkins jenkins 3266 Mar 8 08:38 go.mod [2023-03-08T08:46:24.956Z] -rw-rw-r-- 1 jenkins jenkins 30839 Mar 8 08:38 go.sum [2023-03-08T08:46:24.956Z] drwxrwxr-x 13 jenkins jenkins 4096 Mar 8 08:38 internal [2023-03-08T08:46:24.956Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 8 08:38 openapi [2023-03-08T08:46:24.956Z] drwxrwxr-x 6 jenkins jenkins 4096 Mar 8 08:38 pkg [2023-03-08T08:46:24.956Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 8 08:38 snap [2023-03-08T08:46:24.956Z] -rw-rw-r-- 1 jenkins jenkins 222 Mar 8 08:38 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-08T08:46:25.305Z] + 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=ed4ff57612811b3ad779c872ae09ec9f69159b45 --label arch=arm64 --label version=0.0.0 . [2023-03-08T08:46:25.897Z] Sending build context to Docker daemon 5.877MB [2023-03-08T08:46:25.897Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2023-03-08T08:46:25.897Z] Step 2/23 : FROM ${BASE} AS builder [2023-03-08T08:46:25.897Z] ---> 24d6710d6711 [2023-03-08T08:46:25.897Z] Step 3/23 : ARG MAKE=make build [2023-03-08T08:46:26.168Z] ---> Running in c42b5c655108 [2023-03-08T08:46:26.439Z] Removing intermediate container c42b5c655108 [2023-03-08T08:46:26.439Z] ---> 53d160e1886f [2023-03-08T08:46:26.439Z] Step 4/23 : WORKDIR /device-sdk-go [2023-03-08T08:46:26.439Z] ---> Running in a948874e272b [2023-03-08T08:46:27.029Z] Removing intermediate container a948874e272b [2023-03-08T08:46:27.029Z] ---> 3e9b4ef8a9e5 [2023-03-08T08:46:27.029Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-03-08T08:46:27.029Z] ---> Running in fca40a127259 [2023-03-08T08:46:27.299Z] Removing intermediate container fca40a127259 [2023-03-08T08:46:27.299Z] ---> aeb33968ae99 [2023-03-08T08:46:27.299Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-03-08T08:46:27.299Z] ---> Running in 5b1805e7f2a0 [2023-03-08T08:46:28.736Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-08T08:46:29.006Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-03-08T08:46:30.424Z] OK: 221 MiB in 51 packages [2023-03-08T08:46:31.393Z] Removing intermediate container 5b1805e7f2a0 [2023-03-08T08:46:31.393Z] ---> b274e70af251 [2023-03-08T08:46:31.393Z] Step 7/23 : COPY go.mod vendor* ./ [2023-03-08T08:46:31.984Z] ---> 55b685a4e5e3 [2023-03-08T08:46:31.984Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-08T08:46:31.984Z] ---> Running in 8381dbe5a899 [2023-03-08T08:46:35.360Z] Removing intermediate container 8381dbe5a899 [2023-03-08T08:46:35.360Z] ---> e16e7c4b09df [2023-03-08T08:46:35.360Z] Step 9/23 : COPY . . [2023-03-08T08:46:36.909Z] ---> 15dc62c2d54a [2023-03-08T08:46:36.909Z] Step 10/23 : RUN ${MAKE} [2023-03-08T08:46:36.909Z] ---> Running in f1eb7b6f7a7b [2023-03-08T08:46:38.400Z] 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-08T08:49:30.627Z] Removing intermediate container f1eb7b6f7a7b [2023-03-08T08:49:30.627Z] ---> 3be69598cd65 [2023-03-08T08:49:30.627Z] Step 11/23 : FROM alpine:3.16 [2023-03-08T08:49:30.627Z] 3.16: Pulling from library/alpine [2023-03-08T08:49:30.627Z] 3760b48202b3: Pulling fs layer [2023-03-08T08:49:30.627Z] 3760b48202b3: Verifying Checksum [2023-03-08T08:49:30.627Z] 3760b48202b3: Download complete [2023-03-08T08:49:30.627Z] 3760b48202b3: Pull complete [2023-03-08T08:49:30.627Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-03-08T08:49:30.627Z] Status: Downloaded newer image for alpine:3.16 [2023-03-08T08:49:30.627Z] ---> 4c81e5bf8899 [2023-03-08T08:49:30.627Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-03-08T08:49:30.627Z] ---> Running in 41e3deefeec2 [2023-03-08T08:49:30.627Z] Removing intermediate container 41e3deefeec2 [2023-03-08T08:49:30.627Z] ---> f44f7871cda1 [2023-03-08T08:49:30.627Z] Step 13/23 : RUN apk add --update --no-cache [2023-03-08T08:49:30.627Z] ---> Running in 85ca748c2bad [2023-03-08T08:49:30.627Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-08T08:49:30.627Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-03-08T08:49:30.627Z] OK: 5 MiB in 14 packages [2023-03-08T08:49:30.627Z] Removing intermediate container 85ca748c2bad [2023-03-08T08:49:30.627Z] ---> 155980f78b0e [2023-03-08T08:49:30.627Z] Step 14/23 : WORKDIR / [2023-03-08T08:49:30.627Z] ---> Running in ce2effb3fbae [2023-03-08T08:49:30.627Z] Removing intermediate container ce2effb3fbae [2023-03-08T08:49:30.627Z] ---> 3713e880d310 [2023-03-08T08:49:30.627Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-03-08T08:49:30.627Z] ---> 073cf3653a4d [2023-03-08T08:49:30.627Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-03-08T08:49:30.627Z] ---> c7dec8b22ed9 [2023-03-08T08:49:30.627Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-03-08T08:49:30.627Z] ---> debf457c26f3 [2023-03-08T08:49:30.627Z] Step 18/23 : EXPOSE 59999 [2023-03-08T08:49:30.627Z] ---> Running in d6651a7863a8 [2023-03-08T08:49:30.627Z] Removing intermediate container d6651a7863a8 [2023-03-08T08:49:30.627Z] ---> e3b96d7f96fd [2023-03-08T08:49:30.627Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-03-08T08:49:30.627Z] ---> Running in ba666b43566e [2023-03-08T08:49:30.627Z] Removing intermediate container ba666b43566e [2023-03-08T08:49:30.627Z] ---> c78e05cbae87 [2023-03-08T08:49:30.627Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-03-08T08:49:30.627Z] ---> Running in 47305a8cc69a [2023-03-08T08:49:30.627Z] Removing intermediate container 47305a8cc69a [2023-03-08T08:49:30.627Z] ---> 719b95c0c0f1 [2023-03-08T08:49:30.627Z] Step 21/23 : LABEL arch=arm64 [2023-03-08T08:49:30.627Z] ---> Running in 6bb7919cc461 [2023-03-08T08:49:30.627Z] Removing intermediate container 6bb7919cc461 [2023-03-08T08:49:30.627Z] ---> 5d76fd7c9082 [2023-03-08T08:49:30.627Z] Step 22/23 : LABEL git_sha=ed4ff57612811b3ad779c872ae09ec9f69159b45 [2023-03-08T08:49:30.627Z] ---> Running in faf2e99eadd3 [2023-03-08T08:49:30.627Z] Removing intermediate container faf2e99eadd3 [2023-03-08T08:49:30.627Z] ---> 98dacde3a718 [2023-03-08T08:49:30.627Z] Step 23/23 : LABEL version=0.0.0 [2023-03-08T08:49:30.627Z] ---> Running in 75e873d74e58 [2023-03-08T08:49:30.627Z] Removing intermediate container 75e873d74e58 [2023-03-08T08:49:30.627Z] ---> eec07fdc1a71 [2023-03-08T08:49:30.627Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-08T08:49:30.627Z] Successfully built eec07fdc1a71 [2023-03-08T08:49:30.627Z] 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-08T08:49:31.099Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-08T08:49:31.099Z] [2023-03-08T08:49:31.099Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-08T08:49:31.453Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-08T08:49:31.725Z] arm64: Pulling from edgex-lftools-log-publisher [2023-03-08T08:49:31.725Z] 8998bd30e6a1: Pulling fs layer [2023-03-08T08:49:31.725Z] 04944245beec: Pulling fs layer [2023-03-08T08:49:31.725Z] 699f458cf7ca: Pulling fs layer [2023-03-08T08:49:31.725Z] 765212b225bb: Pulling fs layer [2023-03-08T08:49:31.725Z] f23df028b6ca: Pulling fs layer [2023-03-08T08:49:31.725Z] d65c8cfc05b1: Pulling fs layer [2023-03-08T08:49:31.725Z] 2437ff75d9bd: Pulling fs layer [2023-03-08T08:49:31.725Z] 765212b225bb: Waiting [2023-03-08T08:49:31.725Z] d65c8cfc05b1: Waiting [2023-03-08T08:49:31.725Z] f23df028b6ca: Waiting [2023-03-08T08:49:31.725Z] 2437ff75d9bd: Waiting [2023-03-08T08:49:31.725Z] 04944245beec: Verifying Checksum [2023-03-08T08:49:31.725Z] 04944245beec: Download complete [2023-03-08T08:49:31.725Z] 765212b225bb: Download complete [2023-03-08T08:49:31.999Z] f23df028b6ca: Verifying Checksum [2023-03-08T08:49:31.999Z] f23df028b6ca: Download complete [2023-03-08T08:49:31.999Z] d65c8cfc05b1: Verifying Checksum [2023-03-08T08:49:31.999Z] d65c8cfc05b1: Download complete [2023-03-08T08:49:31.999Z] 699f458cf7ca: Verifying Checksum [2023-03-08T08:49:31.999Z] 699f458cf7ca: Download complete [2023-03-08T08:49:32.598Z] 8998bd30e6a1: Verifying Checksum [2023-03-08T08:49:32.598Z] 8998bd30e6a1: Download complete [2023-03-08T08:49:35.201Z] 2437ff75d9bd: Verifying Checksum [2023-03-08T08:49:35.201Z] 2437ff75d9bd: Download complete [2023-03-08T08:49:36.622Z] 8998bd30e6a1: Pull complete [2023-03-08T08:49:37.212Z] 04944245beec: Pull complete [2023-03-08T08:49:38.637Z] 699f458cf7ca: Pull complete [2023-03-08T08:49:38.906Z] 765212b225bb: Pull complete [2023-03-08T08:49:39.876Z] f23df028b6ca: Pull complete [2023-03-08T08:49:40.145Z] d65c8cfc05b1: Pull complete [2023-03-08T08:49:55.200Z] 2437ff75d9bd: Pull complete [2023-03-08T08:49:55.200Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-03-08T08:49:55.200Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-08T08:49:55.200Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-08T08:49:55.424Z] prd-ubuntu20.04-docker-arm64-4c-16g-8769 does not seem to be running inside a container [2023-03-08T08:49:55.509Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-03-08T08:49:58.880Z] $ docker top 55270ea715eb02ed8c2fb16999d32029809e8e8d77abddbdc6f330f045d1d2ac -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-08T08:49:59.782Z] ---> job-cost.sh [2023-03-08T08:49:59.782Z] lf-activate-venv: SKIPPING [2023-03-08T08:49:59.782Z] INFO: No Stack... [2023-03-08T08:50:00.369Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-03-08T08:50:00.960Z] INFO: Archiving Costs [Pipeline] sh [2023-03-08T08:50:01.888Z] + cat /w/workspace/device-sdk-go/2/archives/cost.csv [2023-03-08T08:50:01.888Z] + cut -d, -f6 [Pipeline] lock [2023-03-08T08:50:01.924Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1365-2-stack-cost] [2023-03-08T08:50:01.930Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1365-2-stack-cost] did not exist. Created. [2023-03-08T08:50:01.930Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1365-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-08T08:50:02.608Z] /w/workspace/device-sdk-go/2@tmp/durable-5a8c3b50/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-03-08T08:50:03.289Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-03-08T08:50:03.314Z] Warning: overwriting stash ‘stack-cost’ [2023-03-08T08:50:03.397Z] Stashed 1 file(s) [Pipeline] } [2023-03-08T08:50:03.406Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1365-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-08T08:50:03.428Z] $ docker stop --time=1 55270ea715eb02ed8c2fb16999d32029809e8e8d77abddbdc6f330f045d1d2ac [2023-03-08T08:50:05.140Z] $ docker rm -f --volumes 55270ea715eb02ed8c2fb16999d32029809e8e8d77abddbdc6f330f045d1d2ac [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-08T08:50:05.601Z] provisioning config files... [2023-03-08T08:50:05.608Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1365@tmp/config11674435300519914282tmp [Pipeline] { [Pipeline] sh [2023-03-08T08:50:05.896Z] + set +x [2023-03-08T08:50:05.896Z] + curl -s https://codecov.io/bash [2023-03-08T08:50:05.896Z] + bash -s -- [2023-03-08T08:50:05.896Z] [2023-03-08T08:50:05.896Z] _____ _ [2023-03-08T08:50:05.896Z] / ____| | | [2023-03-08T08:50:05.896Z] | | ___ __| | ___ ___ _____ __ [2023-03-08T08:50:05.896Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-03-08T08:50:05.896Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-03-08T08:50:05.896Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-03-08T08:50:05.896Z] Bash-1.0.6 [2023-03-08T08:50:05.896Z] [2023-03-08T08:50:05.896Z] [2023-03-08T08:50:05.896Z] ==> git version 2.25.1 found [2023-03-08T08:50:05.896Z] ==> 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-08T08:50:05.896Z] Release-Date: 2020-01-08 [2023-03-08T08:50:05.896Z] 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-08T08:50:05.896Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-03-08T08:50:05.896Z] ==> Jenkins CI detected. [2023-03-08T08:50:05.896Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1365 [2023-03-08T08:50:05.896Z] project root: . [2023-03-08T08:50:05.896Z] --> token set from env [2023-03-08T08:50:05.896Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-03-08T08:50:05.896Z] ==> Running gcov in . (disable via -X gcov) [2023-03-08T08:50:05.896Z] ==> Python coveragepy not found [2023-03-08T08:50:05.896Z] ==> Searching for coverage reports in: [2023-03-08T08:50:05.896Z] + . [2023-03-08T08:50:05.896Z] -> Found 1 reports [2023-03-08T08:50:05.896Z] ==> Detecting git/mercurial file structure [2023-03-08T08:50:05.896Z] ==> Reading reports [2023-03-08T08:50:05.896Z] + ./coverage.out bytes=111565 [2023-03-08T08:50:05.896Z] ==> Appending adjustments [2023-03-08T08:50:05.896Z] https://docs.codecov.io/docs/fixing-reports [2023-03-08T08:50:06.464Z] + Found adjustments [2023-03-08T08:50:06.465Z] ==> Gzipping contents [2023-03-08T08:50:06.465Z] 16K /tmp/codecov.AU7qyG.gz [2023-03-08T08:50:06.465Z] ==> Uploading reports [2023-03-08T08:50:06.465Z] url: https://codecov.io [2023-03-08T08:50:06.465Z] query: branch=PR-1365&commit=ed4ff57612811b3ad779c872ae09ec9f69159b45&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1365%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1365&job=&cmd_args= [2023-03-08T08:50:06.465Z] -> Pinging Codecov [2023-03-08T08:50:06.465Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1365&commit=ed4ff57612811b3ad779c872ae09ec9f69159b45&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1365%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1365&job=&cmd_args= [2023-03-08T08:50:06.465Z] -> Uploading to [2023-03-08T08:50:06.465Z] https://storage.googleapis.com/codecov/v4/raw/2023-03-08/7E55EF52A471D76F132DFD9A03CDDE97/ed4ff57612811b3ad779c872ae09ec9f69159b45/d53b20e2-2d39-4e53-a30c-a7f5c8ae826d.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230308%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230308T085006Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=04876062499a1d51ff8ad2874268810cf298a7096d04ccfc2e3706fe9b5a6e7f [2023-03-08T08:50:06.465Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-08T08:50:06.465Z] Dload Upload Total Spent Left Speed [2023-03-08T08:50:06.724Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 15436 0 0 100 15436 0 471k --:--:-- --:--:-- --:--:-- 456k 100 15436 0 0 100 15436 0 63785 --:--:-- --:--:-- --:--:-- 63522 [2023-03-08T08:50:06.724Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/ed4ff57612811b3ad779c872ae09ec9f69159b45 [Pipeline] } [2023-03-08T08:50:06.732Z] 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-08T08:50:07.476Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1365/archives ] [2023-03-08T08:50:07.476Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1365/archives [2023-03-08T08:50:07.476Z] total 16 [2023-03-08T08:50:07.476Z] drwxr-xr-x 3 root root 4096 Mar 8 08:40 . [2023-03-08T08:50:07.476Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 8 08:40 .. [2023-03-08T08:50:07.476Z] drwxr-xr-x 2 root root 4096 Mar 8 08:40 cost [2023-03-08T08:50:07.476Z] -rw-r--r-- 1 root root 86 Mar 8 08:40 cost.csv [2023-03-08T08:50:07.476Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1365/archives [2023-03-08T08:50:07.476Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1365/archives [2023-03-08T08:50:07.476Z] total 16 [2023-03-08T08:50:07.476Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 8 08:40 . [2023-03-08T08:50:07.476Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 8 08:40 .. [2023-03-08T08:50:07.476Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 8 08:40 cost [2023-03-08T08:50:07.476Z] -rw-r--r-- 1 jenkins jenkins 86 Mar 8 08:40 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-03-08T08:50:07.765Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-08T08:50:08.621Z] ---> package-listing.sh [2023-03-08T08:50:08.621Z] ++ facter osfamily [2023-03-08T08:50:08.621Z] ++ tr '[:upper:]' '[:lower:]' [2023-03-08T08:50:08.880Z] + OS_FAMILY=debian [2023-03-08T08:50:08.880Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1365 [2023-03-08T08:50:08.880Z] + START_PACKAGES=/tmp/packages_start.txt [2023-03-08T08:50:08.880Z] + END_PACKAGES=/tmp/packages_end.txt [2023-03-08T08:50:08.880Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-03-08T08:50:08.880Z] + PACKAGES=/tmp/packages_start.txt [2023-03-08T08:50:08.880Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1365 ']' [2023-03-08T08:50:08.880Z] + PACKAGES=/tmp/packages_end.txt [2023-03-08T08:50:08.880Z] + case "${OS_FAMILY}" in [2023-03-08T08:50:08.880Z] + dpkg -l [2023-03-08T08:50:08.880Z] + grep '^ii' [2023-03-08T08:50:08.880Z] + '[' -f /tmp/packages_start.txt ']' [2023-03-08T08:50:08.880Z] + '[' -f /tmp/packages_end.txt ']' [2023-03-08T08:50:08.880Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-03-08T08:50:08.880Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1365 ']' [2023-03-08T08:50:08.880Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1365/archives/ [2023-03-08T08:50:08.880Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1365/archives/ [Pipeline] echo [2023-03-08T08:50:08.891Z] 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-1365/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-03-08T08:50:09.168Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-08T08:50:09.729Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-08T08:50:09.730Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-08T08:50:09.798Z] prd-ubuntu20.04-docker-8c-8g-8770 does not seem to be running inside a container [2023-03-08T08:50:09.841Z] $ 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-1365/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-1365 -v /w/workspace/gexfoundry_device-sdk-go_PR-1365:/w/workspace/gexfoundry_device-sdk-go_PR-1365:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1365@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1365@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-08T08:50:10.039Z] $ docker top 68346295c426f98c47c3bdaa479041e7ef0246d7f94cf827db07db245e24f423 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-08T08:50:10.364Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-03-08T08:50:10.652Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-03-08T08:50:10.935Z] + ls /var/log/sa-host [2023-03-08T08:50:10.935Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-08T08:50:11.085Z] provisioning config files... [2023-03-08T08:50:11.094Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1365@tmp/config15732215778429508918tmp [Pipeline] { [Pipeline] echo [2023-03-08T08:50:11.108Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-08T08:50:11.387Z] ---> create-netrc.sh [Pipeline] } [2023-03-08T08:50:11.395Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-03-08T08:50:11.726Z] ---> python-tools-install.sh [Pipeline] echo [2023-03-08T08:50:11.734Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-08T08:50:12.018Z] ---> sudo-logs.sh [2023-03-08T08:50:12.018Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-03-08T08:50:12.053Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-08T08:50:12.340Z] ---> job-cost.sh [2023-03-08T08:50:12.340Z] lf-activate-venv: SKIPPING [2023-03-08T08:50:12.340Z] DEBUG: total: 0.2199999988079071 [2023-03-08T08:50:12.340Z] INFO: Retrieving Stack Cost... [2023-03-08T08:50:12.599Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-08T08:50:13.168Z] INFO: Archiving Costs [Pipeline] echo [2023-03-08T08:50:13.181Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-08T08:50:13.468Z] ---> logs-deploy.sh [2023-03-08T08:50:13.468Z] lf-activate-venv: SKIPPING [2023-03-08T08:50:13.468Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1365/2 [2023-03-08T08:50:13.468Z] INFO: archiving workspace using pattern(s): [2023-03-08T08:50:14.400Z] Archives upload complete. [2023-03-08T08:50:14.400Z] INFO: archiving logs to Nexus