Pull request #1345 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of hahattan for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 6905a34b550db74fa7bee656b07304e99fd1342f+b4dcd90c517d60267da088e4e26fcccd6a523ed6 (7f2ce27106b11cfb3ffefb94fce18107117f6902) 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-ssh15016075162584772183.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-ssh11523016587882510096.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1345/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1345/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh783629183831903397.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-ssh16006617372813888956.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1345/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1345/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh15390067211222400357.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-8140 in /w/workspace/gexfoundry_device-sdk-go_PR-1345 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/gexfoundry_device-sdk-go_PR-1345 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1345/head:refs/remotes/origin/PR-1345 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit b4dcd90c517d60267da088e4e26fcccd6a523ed6 into PR head commit 6905a34b550db74fa7bee656b07304e99fd1342f Merge succeeded, producing 6905a34b550db74fa7bee656b07304e99fd1342f Checking out Revision 6905a34b550db74fa7bee656b07304e99fd1342f (PR-1345) > git config core.sparsecheckout # timeout=10 > git checkout -f 6905a34b550db74fa7bee656b07304e99fd1342f # 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 b4dcd90c517d60267da088e4e26fcccd6a523ed6 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6905a34b550db74fa7bee656b07304e99fd1342f # timeout=10 Commit message: "refactor!: address PR requested changes" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-03-03T02:09:46.778Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-03-03T02:09:46.845Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-03-03T02:09:46.863Z] ========================================================= [2023-03-03T02:09:46.863Z] EdgeX Global Pipelines Version Info [2023-03-03T02:09:46.863Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 1066856259239db1f5b18b8cd1860e9b4d9d0dff # timeout=10 [2023-03-03T02:09:47.579Z] ------------------- [2023-03-03T02:09:47.579Z] stable info: [2023-03-03T02:09:47.579Z] ------------------- [2023-03-03T02:09:47.579Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-03-03T02:09:47.579Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-03-03T02:09:47.579Z] Message: update stable to v1.0.244 [2023-03-03T02:09:48.152Z] ------------------- [2023-03-03T02:09:48.152Z] experimental info: [2023-03-03T02:09:48.152Z] ------------------- [2023-03-03T02:09:48.152Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-03-03T02:09:48.152Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-03-03T02:09:48.152Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-03-03T02:09:48.320Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-03-03T02:09:48.335Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-03-03T02:09:48.353Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-03-03T02:09:48.364Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-03-03T02:09:48.384Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-03-03T02:09:48.406Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-03-03T02:09:48.423Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-03-03T02:09:48.439Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-03-03T02:09:48.454Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-03-03T02:09:48.467Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-03-03T02:09:48.479Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-03-03T02:09:48.494Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-03-03T02:09:48.509Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-03-03T02:09:48.524Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-03-03T02:09:48.545Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-03-03T02:09:48.566Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-03-03T02:09:48.585Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-03-03T02:09:48.605Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-03-03T02:09:48.619Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-03-03T02:09:48.636Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-03-03T02:09:48.645Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-03-03T02:09:48.656Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2023-03-03T02:09:48.671Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-03-03T02:09:48.687Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-03-03T02:09:48.703Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-03-03T02:09:48.718Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-03-03T02:09:48.735Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-03-03T02:09:48.749Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1345 [Pipeline] echo [2023-03-03T02:09:48.759Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1345 [Pipeline] echo [2023-03-03T02:09:48.772Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1345 [Pipeline] echo [2023-03-03T02:09:48.787Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6905a34b550db74fa7bee656b07304e99fd1342f [Pipeline] echo [2023-03-03T02:09:48.798Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6905a34 [Pipeline] echo [2023-03-03T02:09:48.815Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-03T02:09:48.861Z] provisioning config files... [2023-03-03T02:09:48.874Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1345@tmp/config777035691308458503tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-03T02:09:49.177Z] ---> docker-login.sh [2023-03-03T02:09:49.177Z] nexus3.edgexfoundry.org:10001 [2023-03-03T02:09:49.439Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-03T02:09:49.439Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-03T02:09:49.439Z] Configure a credential helper to remove this warning. See [2023-03-03T02:09:49.439Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-03T02:09:49.439Z] [2023-03-03T02:09:49.439Z] Login Succeeded [2023-03-03T02:09:49.439Z] nexus3.edgexfoundry.org:10002 [2023-03-03T02:09:49.439Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-03T02:09:49.700Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-03T02:09:49.700Z] Configure a credential helper to remove this warning. See [2023-03-03T02:09:49.700Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-03T02:09:49.700Z] [2023-03-03T02:09:49.700Z] Login Succeeded [2023-03-03T02:09:49.700Z] nexus3.edgexfoundry.org:10003 [2023-03-03T02:09:49.700Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-03T02:09:49.700Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-03T02:09:49.700Z] Configure a credential helper to remove this warning. See [2023-03-03T02:09:49.700Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-03T02:09:49.700Z] [2023-03-03T02:09:49.700Z] Login Succeeded [2023-03-03T02:09:49.700Z] nexus3.edgexfoundry.org:10004 [2023-03-03T02:09:49.700Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-03T02:09:49.960Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-03T02:09:49.960Z] Configure a credential helper to remove this warning. See [2023-03-03T02:09:49.960Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-03T02:09:49.960Z] [2023-03-03T02:09:49.960Z] Login Succeeded [2023-03-03T02:09:49.960Z] docker.io [2023-03-03T02:09:49.960Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-03T02:09:50.220Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-03T02:09:50.220Z] Configure a credential helper to remove this warning. See [2023-03-03T02:09:50.220Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-03T02:09:50.220Z] [2023-03-03T02:09:50.220Z] Login Succeeded [2023-03-03T02:09:50.220Z] ---> docker-login.sh ends [Pipeline] } [2023-03-03T02:09:50.227Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-03-03T02:09:50.589Z] + git rev-list -1 --merges 6905a34b550db74fa7bee656b07304e99fd1342f~1..6905a34b550db74fa7bee656b07304e99fd1342f [Pipeline] echo [2023-03-03T02:09:50.640Z] -----------> git rev-list -1 --merges 6905a34b550db74fa7bee656b07304e99fd1342f~1..6905a34b550db74fa7bee656b07304e99fd1342f 6905a34b550db74fa7bee656b07304e99fd1342f [false] [Pipeline] sh [2023-03-03T02:09:50.934Z] + git log --format=format:%s -1 6905a34b550db74fa7bee656b07304e99fd1342f [Pipeline] echo [2023-03-03T02:09:50.950Z] ========================================================= [2023-03-03T02:09:50.950Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-03-03T02:09:50.950Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-03T02:09:51.286Z] + git log --format=format:%s -1 6905a34b550db74fa7bee656b07304e99fd1342f [Pipeline] echo [2023-03-03T02:09:51.299Z] [semverPrep] GIT_COMMIT: 6905a34b550db74fa7bee656b07304e99fd1342f, Commit Message: refactor!: address PR requested changes [Pipeline] echo [2023-03-03T02:09:51.309Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-03-03T02:09:51.675Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-03T02:09:51.675Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-03-03T02:09:51.675Z] + [ -e /tmp/ssh_known_hosts ] [2023-03-03T02:09:51.675Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-03-03T02:09:51.675Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-03-03T02:09:51.675Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-03-03T02:09:51.675Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-03T02:09:52.084Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-03T02:09:52.084Z] [2023-03-03T02:09:52.084Z] 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-03T02:09:52.395Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-03T02:09:52.395Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-03-03T02:09:52.395Z] b85a868b505f: Pulling fs layer [2023-03-03T02:09:52.395Z] e2be974225ed: Pulling fs layer [2023-03-03T02:09:52.395Z] 339a4e72a1f5: Pulling fs layer [2023-03-03T02:09:52.395Z] 988bab9f4d93: Pulling fs layer [2023-03-03T02:09:52.395Z] 1469e6f7b9e6: Pulling fs layer [2023-03-03T02:09:52.395Z] eaf3925da568: Pulling fs layer [2023-03-03T02:09:52.395Z] bab4dde63d76: Pulling fs layer [2023-03-03T02:09:52.395Z] bde34c3a00c8: Pulling fs layer [2023-03-03T02:09:52.395Z] b352a97aabf1: Pulling fs layer [2023-03-03T02:09:52.395Z] 4872d77fe225: Pulling fs layer [2023-03-03T02:09:52.395Z] 5851b861e8e6: Pulling fs layer [2023-03-03T02:09:52.395Z] 5851b861e8e6: Waiting [2023-03-03T02:09:52.395Z] 4872d77fe225: Waiting [2023-03-03T02:09:52.395Z] bde34c3a00c8: Waiting [2023-03-03T02:09:52.395Z] 1469e6f7b9e6: Waiting [2023-03-03T02:09:52.395Z] 988bab9f4d93: Waiting [2023-03-03T02:09:52.395Z] eaf3925da568: Waiting [2023-03-03T02:09:52.395Z] b352a97aabf1: Waiting [2023-03-03T02:09:52.395Z] e2be974225ed: Verifying Checksum [2023-03-03T02:09:52.395Z] e2be974225ed: Download complete [2023-03-03T02:09:52.395Z] 988bab9f4d93: Verifying Checksum [2023-03-03T02:09:52.395Z] 988bab9f4d93: Download complete [2023-03-03T02:09:52.655Z] 1469e6f7b9e6: Verifying Checksum [2023-03-03T02:09:52.655Z] 1469e6f7b9e6: Download complete [2023-03-03T02:09:52.655Z] eaf3925da568: Verifying Checksum [2023-03-03T02:09:52.655Z] eaf3925da568: Download complete [2023-03-03T02:09:52.655Z] 339a4e72a1f5: Verifying Checksum [2023-03-03T02:09:52.655Z] 339a4e72a1f5: Download complete [2023-03-03T02:09:52.655Z] bde34c3a00c8: Verifying Checksum [2023-03-03T02:09:52.655Z] bde34c3a00c8: Download complete [2023-03-03T02:09:52.655Z] b352a97aabf1: Download complete [2023-03-03T02:09:52.655Z] 4872d77fe225: Verifying Checksum [2023-03-03T02:09:52.655Z] 4872d77fe225: Download complete [2023-03-03T02:09:52.655Z] 5851b861e8e6: Download complete [2023-03-03T02:09:52.655Z] b85a868b505f: Verifying Checksum [2023-03-03T02:09:52.655Z] b85a868b505f: Download complete [2023-03-03T02:09:52.914Z] bab4dde63d76: Verifying Checksum [2023-03-03T02:09:52.914Z] bab4dde63d76: Download complete [2023-03-03T02:09:54.295Z] b85a868b505f: Pull complete [2023-03-03T02:09:54.295Z] e2be974225ed: Pull complete [2023-03-03T02:09:54.865Z] 339a4e72a1f5: Pull complete [2023-03-03T02:09:54.865Z] 988bab9f4d93: Pull complete [2023-03-03T02:09:55.124Z] 1469e6f7b9e6: Pull complete [2023-03-03T02:09:55.124Z] eaf3925da568: Pull complete [2023-03-03T02:09:57.031Z] bab4dde63d76: Pull complete [2023-03-03T02:09:57.031Z] bde34c3a00c8: Pull complete [2023-03-03T02:09:57.293Z] b352a97aabf1: Pull complete [2023-03-03T02:09:57.293Z] 4872d77fe225: Pull complete [2023-03-03T02:09:57.293Z] 5851b861e8e6: Pull complete [2023-03-03T02:09:57.293Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-03-03T02:09:57.293Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-03T02:09:57.293Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-03T02:09:57.388Z] prd-ubuntu20.04-docker-8c-8g-8140 does not seem to be running inside a container [2023-03-03T02:09:57.462Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1345 -v /w/workspace/gexfoundry_device-sdk-go_PR-1345:/w/workspace/gexfoundry_device-sdk-go_PR-1345:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1345@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1345@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-03-03T02:09:58.959Z] $ docker top fa3b553a2ee1ec0f62eb5308fa4627ff69e31e716e6a96589909e0a4e5bc9349 -eo pid,comm [2023-03-03T02:09:59.017Z] 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-03T02:09:59.017Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-03T02:09:59.071Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-03T02:09:59.072Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-03T02:09:59.196Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-03T02:09:59.197Z] $ docker exec fa3b553a2ee1ec0f62eb5308fa4627ff69e31e716e6a96589909e0a4e5bc9349 ssh-agent [2023-03-03T02:09:59.318Z] SSH_AUTH_SOCK=/tmp/ssh-4IGsa3akT9vj/agent.32 [2023-03-03T02:09:59.318Z] SSH_AGENT_PID=38 [2023-03-03T02:09:59.325Z] Running ssh-add (command line suppressed) [2023-03-03T02:09:59.439Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1345@tmp/private_key_983583987568361243.key (/w/workspace/gexfoundry_device-sdk-go_PR-1345@tmp/private_key_983583987568361243.key) [2023-03-03T02:09:59.455Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-03T02:09:59.746Z] + git tag --points-at HEAD [Pipeline] } [2023-03-03T02:09:59.762Z] $ docker exec --env ******** --env ******** fa3b553a2ee1ec0f62eb5308fa4627ff69e31e716e6a96589909e0a4e5bc9349 ssh-agent -k [2023-03-03T02:09:59.865Z] unset SSH_AUTH_SOCK; [2023-03-03T02:09:59.865Z] unset SSH_AGENT_PID; [2023-03-03T02:09:59.865Z] echo Agent pid 38 killed; [2023-03-03T02:09:59.877Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-03-03T02:09:59.898Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-03T02:09:59.898Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-03T02:10:00.015Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-03T02:10:00.016Z] $ docker exec fa3b553a2ee1ec0f62eb5308fa4627ff69e31e716e6a96589909e0a4e5bc9349 ssh-agent [2023-03-03T02:10:00.144Z] SSH_AUTH_SOCK=/tmp/ssh-eUMNSrBfxhYE/agent.70 [2023-03-03T02:10:00.144Z] SSH_AGENT_PID=76 [2023-03-03T02:10:00.150Z] Running ssh-add (command line suppressed) [2023-03-03T02:10:00.250Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1345@tmp/private_key_10754283651865108201.key (/w/workspace/gexfoundry_device-sdk-go_PR-1345@tmp/private_key_10754283651865108201.key) [2023-03-03T02:10:00.267Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-03T02:10:00.555Z] + git semver init [2023-03-03T02:10:00.815Z] 2023-03-03 02:10:00,748 [run_init] DEBUG init version:0.0.0 force:False [2023-03-03T02:10:00.815Z] 2023-03-03 02:10:00,748 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1345/.semver [2023-03-03T02:10:00.815Z] 2023-03-03 02:10:00,749 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1345/.semver [2023-03-03T02:10:00.815Z] 2023-03-03 02:10:00,749 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1345/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1345, universal_newlines=False, shell=None, istream=None) [2023-03-03T02:10:01.761Z] 2023-03-03 02:10:01,749 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1345/.git/info/exclude [2023-03-03T02:10:01.761Z] 2023-03-03 02:10:01,749 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1345/.semver/PR-1345 with force:False [2023-03-03T02:10:01.761Z] 2023-03-03 02:10:01,749 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1345/.semver/PR-1345 [2023-03-03T02:10:01.761Z] 2023-03-03 02:10:01,754 [execute] INFO git cat-file --batch-check [2023-03-03T02:10:01.761Z] 2023-03-03 02:10:01,755 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1345/.semver, universal_newlines=False, shell=None, istream=) [2023-03-03T02:10:02.022Z] 2023-03-03 02:10:01,762 [execute] INFO git cat-file --batch [2023-03-03T02:10:02.022Z] 2023-03-03 02:10:01,762 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1345/.semver, universal_newlines=False, shell=None, istream=) [2023-03-03T02:10:02.022Z] 2023-03-03 02:10:01,767 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1345/.semver/PR-1345 [2023-03-03T02:10:02.022Z] 0.0.0 [Pipeline] } [2023-03-03T02:10:02.030Z] $ docker exec --env ******** --env ******** fa3b553a2ee1ec0f62eb5308fa4627ff69e31e716e6a96589909e0a4e5bc9349 ssh-agent -k [2023-03-03T02:10:02.116Z] unset SSH_AUTH_SOCK; [2023-03-03T02:10:02.116Z] unset SSH_AGENT_PID; [2023-03-03T02:10:02.116Z] echo Agent pid 76 killed; [2023-03-03T02:10:02.127Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-03T02:10:02.426Z] + git semver [Pipeline] } [2023-03-03T02:10:02.697Z] $ docker stop --time=1 fa3b553a2ee1ec0f62eb5308fa4627ff69e31e716e6a96589909e0a4e5bc9349 [2023-03-03T02:10:03.982Z] $ docker rm -f --volumes fa3b553a2ee1ec0f62eb5308fa4627ff69e31e716e6a96589909e0a4e5bc9349 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-03T02:10:04.320Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-03-03T02:10:04.514Z] Stashed 1 file(s) [Pipeline] echo [2023-03-03T02:10:04.518Z] [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-03T02:10:04.673Z] provisioning config files... [2023-03-03T02:10:04.682Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1345@tmp/config10180870843158868799tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-03T02:10:04.977Z] ---> docker-login.sh [2023-03-03T02:10:04.977Z] nexus3.edgexfoundry.org:10001 [2023-03-03T02:10:04.977Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-03T02:10:04.977Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-03T02:10:04.977Z] Configure a credential helper to remove this warning. See [2023-03-03T02:10:04.977Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-03T02:10:04.977Z] [2023-03-03T02:10:04.977Z] Login Succeeded [2023-03-03T02:10:04.977Z] nexus3.edgexfoundry.org:10002 [2023-03-03T02:10:04.977Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-03T02:10:04.977Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-03T02:10:04.977Z] Configure a credential helper to remove this warning. See [2023-03-03T02:10:04.977Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-03T02:10:04.977Z] [2023-03-03T02:10:04.977Z] Login Succeeded [2023-03-03T02:10:04.977Z] nexus3.edgexfoundry.org:10003 [2023-03-03T02:10:05.236Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-03T02:10:05.236Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-03T02:10:05.236Z] Configure a credential helper to remove this warning. See [2023-03-03T02:10:05.236Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-03T02:10:05.236Z] [2023-03-03T02:10:05.236Z] Login Succeeded [2023-03-03T02:10:05.236Z] nexus3.edgexfoundry.org:10004 [2023-03-03T02:10:05.236Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-03T02:10:05.236Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-03T02:10:05.236Z] Configure a credential helper to remove this warning. See [2023-03-03T02:10:05.236Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-03T02:10:05.236Z] [2023-03-03T02:10:05.236Z] Login Succeeded [2023-03-03T02:10:05.236Z] docker.io [2023-03-03T02:10:05.496Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-03T02:10:05.756Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-03T02:10:05.756Z] Configure a credential helper to remove this warning. See [2023-03-03T02:10:05.756Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-03T02:10:05.756Z] [2023-03-03T02:10:05.756Z] Login Succeeded [2023-03-03T02:10:05.756Z] ---> docker-login.sh ends [Pipeline] } [2023-03-03T02:10:05.762Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-03T02:10:05.831Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-03T02:10:05.848Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-03T02:10:05.859Z] ========================================================= [2023-03-03T02:10:05.859Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-03-03T02:10:05.859Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-03T02:10:06.173Z] + 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-03T02:10:06.173Z] Sending build context to Docker daemon 10.8MB [2023-03-03T02:10:06.173Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-03-03T02:10:06.173Z] Step 2/10 : FROM ${BASE} AS builder [2023-03-03T02:10:06.173Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-03-03T02:10:06.173Z] 213ec9aee27d: Pulling fs layer [2023-03-03T02:10:06.173Z] 4583459ba037: Pulling fs layer [2023-03-03T02:10:06.173Z] 93c1e223e6f2: Pulling fs layer [2023-03-03T02:10:06.173Z] 53926ce57604: Pulling fs layer [2023-03-03T02:10:06.173Z] 21b2b0c7a3f4: Pulling fs layer [2023-03-03T02:10:06.173Z] 22ff95d597cd: Pulling fs layer [2023-03-03T02:10:06.173Z] 12d6caf4c0d1: Pulling fs layer [2023-03-03T02:10:06.173Z] 96b7cbca73a9: Pulling fs layer [2023-03-03T02:10:06.173Z] a7acece74701: Pulling fs layer [2023-03-03T02:10:06.173Z] 53926ce57604: Waiting [2023-03-03T02:10:06.173Z] 21b2b0c7a3f4: Waiting [2023-03-03T02:10:06.173Z] 96b7cbca73a9: Waiting [2023-03-03T02:10:06.173Z] 22ff95d597cd: Waiting [2023-03-03T02:10:06.173Z] 12d6caf4c0d1: Waiting [2023-03-03T02:10:06.173Z] a7acece74701: Waiting [2023-03-03T02:10:06.433Z] 93c1e223e6f2: Verifying Checksum [2023-03-03T02:10:06.433Z] 93c1e223e6f2: Download complete [2023-03-03T02:10:06.433Z] 4583459ba037: Download complete [2023-03-03T02:10:06.433Z] 21b2b0c7a3f4: Verifying Checksum [2023-03-03T02:10:06.433Z] 21b2b0c7a3f4: Download complete [2023-03-03T02:10:06.433Z] 22ff95d597cd: Verifying Checksum [2023-03-03T02:10:06.433Z] 22ff95d597cd: Download complete [2023-03-03T02:10:06.433Z] 213ec9aee27d: Verifying Checksum [2023-03-03T02:10:06.433Z] 12d6caf4c0d1: Download complete [2023-03-03T02:10:06.433Z] 213ec9aee27d: Pull complete [2023-03-03T02:10:06.697Z] 4583459ba037: Pull complete [2023-03-03T02:10:06.697Z] 93c1e223e6f2: Pull complete [2023-03-03T02:10:06.959Z] a7acece74701: Verifying Checksum [2023-03-03T02:10:06.959Z] a7acece74701: Download complete [2023-03-03T02:10:07.218Z] 96b7cbca73a9: Download complete [2023-03-03T02:10:07.218Z] 53926ce57604: Verifying Checksum [2023-03-03T02:10:07.218Z] 53926ce57604: Download complete [2023-03-03T02:10:11.422Z] 53926ce57604: Pull complete [2023-03-03T02:10:11.422Z] 21b2b0c7a3f4: Pull complete [2023-03-03T02:10:11.422Z] 22ff95d597cd: Pull complete [2023-03-03T02:10:11.422Z] 12d6caf4c0d1: Pull complete [2023-03-03T02:10:13.956Z] 96b7cbca73a9: Pull complete [2023-03-03T02:10:14.524Z] a7acece74701: Pull complete [2023-03-03T02:10:14.524Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-03-03T02:10:14.524Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-03-03T02:10:14.524Z] ---> db6d94c90886 [2023-03-03T02:10:14.524Z] Step 3/10 : ARG MAKE=make build [2023-03-03T02:10:16.501Z] ---> Running in fa30e9fcca32 [2023-03-03T02:10:16.501Z] Removing intermediate container fa30e9fcca32 [2023-03-03T02:10:16.501Z] ---> 260773526cf3 [2023-03-03T02:10:16.501Z] Step 4/10 : WORKDIR /device-sdk-go [2023-03-03T02:10:16.501Z] ---> Running in 3d76b2e6f095 [2023-03-03T02:10:16.501Z] Removing intermediate container 3d76b2e6f095 [2023-03-03T02:10:16.501Z] ---> c24eb8d77322 [2023-03-03T02:10:16.501Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-03-03T02:10:16.501Z] ---> Running in dca7ea9409c0 [2023-03-03T02:10:16.501Z] Removing intermediate container dca7ea9409c0 [2023-03-03T02:10:16.501Z] ---> ed8a6fbb137d [2023-03-03T02:10:16.501Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-03-03T02:10:16.760Z] ---> Running in 4eba58ef065a [2023-03-03T02:10:17.019Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-03T02:10:17.019Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-03-03T02:10:17.278Z] OK: 211 MiB in 51 packages [2023-03-03T02:10:17.849Z] Removing intermediate container 4eba58ef065a [2023-03-03T02:10:17.849Z] ---> 8aea54d9647c [2023-03-03T02:10:17.849Z] Step 7/10 : COPY go.mod vendor* ./ [2023-03-03T02:10:17.849Z] ---> d5d26999e83b [2023-03-03T02:10:17.849Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-03T02:10:17.849Z] ---> Running in d7e9f00503a3 [2023-03-03T02:10:19.624Z] Still waiting to schedule task [2023-03-03T02:10:19.625Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-03-03T02:10:49.955Z] Removing intermediate container d7e9f00503a3 [2023-03-03T02:10:49.955Z] ---> e86b1cc33581 [2023-03-03T02:10:49.955Z] Step 9/10 : COPY . . [2023-03-03T02:10:49.955Z] ---> 38653601a338 [2023-03-03T02:10:49.955Z] Step 10/10 : RUN ${MAKE} [2023-03-03T02:10:49.955Z] ---> Running in fc05688b926a [2023-03-03T02:10:49.955Z] noop [2023-03-03T02:10:49.955Z] Removing intermediate container fc05688b926a [2023-03-03T02:10:49.955Z] ---> dbdf3d758b76 [2023-03-03T02:10:49.955Z] Successfully built dbdf3d758b76 [2023-03-03T02:10:49.955Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-03T02:10:50.270Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-03T02:10:50.270Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-03T02:10:50.335Z] prd-ubuntu20.04-docker-8c-8g-8140 does not seem to be running inside a container [2023-03-03T02:10:50.364Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1345 -v /w/workspace/gexfoundry_device-sdk-go_PR-1345:/w/workspace/gexfoundry_device-sdk-go_PR-1345:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1345@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1345@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-03T02:10:50.754Z] $ docker top 86521484ddb57a52329fc714532336a7384c628f5fe62ac54e38aaf8458bfa5b -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-03T02:10:51.096Z] + go version [2023-03-03T02:10:51.096Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-03-03T02:10:51.107Z] $ docker stop --time=1 86521484ddb57a52329fc714532336a7384c628f5fe62ac54e38aaf8458bfa5b [2023-03-03T02:10:52.425Z] $ docker rm -f --volumes 86521484ddb57a52329fc714532336a7384c628f5fe62ac54e38aaf8458bfa5b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-03T02:10:52.836Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-03T02:10:52.836Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-03T02:10:52.906Z] prd-ubuntu20.04-docker-8c-8g-8140 does not seem to be running inside a container [2023-03-03T02:10:52.931Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/gexfoundry_device-sdk-go_PR-1345 -v /w/workspace/gexfoundry_device-sdk-go_PR-1345:/w/workspace/gexfoundry_device-sdk-go_PR-1345:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1345@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1345@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-03T02:10:53.324Z] $ docker top e4b58975310ae0f96d59c05095dda788cc5ae542b77e676ad38e32c994c2a340 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-03T02:10:53.676Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1345 [Pipeline] fileExists [Pipeline] sh [2023-03-03T02:10:53.968Z] + make test [2023-03-03T02:10:53.969Z] go test -race -coverprofile=coverage.out ./... [2023-03-03T02:11:00.536Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-03-03T02:11:15.417Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-03-03T02:11:15.417Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-03-03T02:11:15.417Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-03-03T02:11:15.417Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-03-03T02:11:15.417Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-03-03T02:11:15.417Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.067s coverage: 27.6% of statements [2023-03-03T02:11:15.417Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.065s coverage: 78.9% of statements [2023-03-03T02:11:15.417Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.101s coverage: 86.0% of statements [2023-03-03T02:11:15.417Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-03-03T02:11:15.417Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-03-03T02:11:15.417Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.098s coverage: 75.0% of statements [2023-03-03T02:11:15.417Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-03-03T02:11:17.977Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.071s coverage: 15.3% of statements [2023-03-03T02:11:17.977Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-03-03T02:11:17.977Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.120s coverage: 65.2% of statements [2023-03-03T02:11:17.977Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-03-03T02:11:17.977Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-03-03T02:11:17.977Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.730s coverage: 89.2% of statements [2023-03-03T02:11:17.977Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.065s coverage: 4.7% of statements [2023-03-03T02:11:17.977Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-03-03T02:11:36.053Z] 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-03T02:11:36.053Z] GO111MODULE=on go vet ./... [2023-03-03T02:11:36.987Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-03T02:11:37.245Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-03T02:11:37.245Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-03T02:11:37.260Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-03T02:11:37.270Z] $ docker stop --time=1 e4b58975310ae0f96d59c05095dda788cc5ae542b77e676ad38e32c994c2a340 [2023-03-03T02:11:39.347Z] $ docker rm -f --volumes e4b58975310ae0f96d59c05095dda788cc5ae542b77e676ad38e32c994c2a340 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-03T02:11:39.865Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-03T02:11:39.931Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-03-03T02:11:40.473Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-03T02:11:40.754Z] + ls -al . [2023-03-03T02:11:40.754Z] total 280 [2023-03-03T02:11:40.754Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 3 02:10 . [2023-03-03T02:11:40.754Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 3 02:09 .. [2023-03-03T02:11:40.754Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 3 02:09 .dockerignore [2023-03-03T02:11:40.754Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 3 02:11 .git [2023-03-03T02:11:40.754Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 3 02:09 .github [2023-03-03T02:11:40.754Z] -rw-rw-r-- 1 jenkins jenkins 131 Mar 3 02:09 .gitignore [2023-03-03T02:11:40.754Z] -rw-rw-r-- 1 jenkins jenkins 42 Mar 3 02:09 .golangci.yml [2023-03-03T02:11:40.754Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 3 02:10 .semver [2023-03-03T02:11:40.754Z] -rw-rw-r-- 1 jenkins jenkins 31677 Mar 3 02:09 CHANGELOG.md [2023-03-03T02:11:40.754Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 3 02:09 GOVERNANCE.md [2023-03-03T02:11:40.754Z] -rw-rw-r-- 1 jenkins jenkins 885 Mar 3 02:09 Jenkinsfile [2023-03-03T02:11:40.754Z] -rw-rw-r-- 1 jenkins jenkins 11341 Mar 3 02:09 LICENSE [2023-03-03T02:11:40.754Z] -rw-rw-r-- 1 jenkins jenkins 1679 Mar 3 02:09 Makefile [2023-03-03T02:11:40.754Z] -rw-rw-r-- 1 jenkins jenkins 619 Mar 3 02:09 OWNERS.md [2023-03-03T02:11:40.754Z] -rw-rw-r-- 1 jenkins jenkins 4891 Mar 3 02:09 README.md [2023-03-03T02:11:40.754Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 3 02:10 VERSION [2023-03-03T02:11:40.754Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 3 02:09 bin [2023-03-03T02:11:40.754Z] -rw-r--r-- 1 jenkins jenkins 110996 Mar 3 02:11 coverage.out [2023-03-03T02:11:40.754Z] drwxrwxr-x 5 jenkins jenkins 4096 Mar 3 02:09 example [2023-03-03T02:11:40.754Z] -rw-rw-r-- 1 jenkins jenkins 3266 Mar 3 02:09 go.mod [2023-03-03T02:11:40.754Z] -rw-rw-r-- 1 jenkins jenkins 30840 Mar 3 02:09 go.sum [2023-03-03T02:11:40.754Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 3 02:09 internal [2023-03-03T02:11:40.754Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 3 02:09 openapi [2023-03-03T02:11:40.754Z] drwxrwxr-x 6 jenkins jenkins 4096 Mar 3 02:09 pkg [2023-03-03T02:11:40.754Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 3 02:09 snap [2023-03-03T02:11:40.754Z] -rw-rw-r-- 1 jenkins jenkins 222 Mar 3 02:09 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-03T02:11:41.059Z] + 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=6905a34b550db74fa7bee656b07304e99fd1342f --label arch=amd64 --label version=0.0.0 . [2023-03-03T02:11:41.059Z] Sending build context to Docker daemon 10.92MB [2023-03-03T02:11:41.059Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2023-03-03T02:11:41.059Z] Step 2/23 : FROM ${BASE} AS builder [2023-03-03T02:11:41.059Z] ---> dbdf3d758b76 [2023-03-03T02:11:41.059Z] Step 3/23 : ARG MAKE=make build [2023-03-03T02:11:41.319Z] ---> Running in eacbe9a3bcb1 [2023-03-03T02:11:41.319Z] Removing intermediate container eacbe9a3bcb1 [2023-03-03T02:11:41.319Z] ---> dd479ba2f6cf [2023-03-03T02:11:41.319Z] Step 4/23 : WORKDIR /device-sdk-go [2023-03-03T02:11:41.319Z] ---> Running in 1e3a06d6309e [2023-03-03T02:11:41.578Z] Removing intermediate container 1e3a06d6309e [2023-03-03T02:11:41.578Z] ---> 7471ae32f891 [2023-03-03T02:11:41.578Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-03-03T02:11:41.578Z] ---> Running in 97d2a5537412 [2023-03-03T02:11:41.578Z] Removing intermediate container 97d2a5537412 [2023-03-03T02:11:41.578Z] ---> eb8a3cb8cd58 [2023-03-03T02:11:41.578Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-03-03T02:11:41.578Z] ---> Running in 5f81aeeb859e [2023-03-03T02:11:41.836Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-03T02:11:42.095Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-03-03T02:11:42.361Z] OK: 211 MiB in 51 packages [2023-03-03T02:11:42.928Z] Removing intermediate container 5f81aeeb859e [2023-03-03T02:11:42.928Z] ---> a3f8a9f35769 [2023-03-03T02:11:42.928Z] Step 7/23 : COPY go.mod vendor* ./ [2023-03-03T02:11:42.928Z] ---> 71e0c9b5bd6b [2023-03-03T02:11:42.928Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-03T02:11:42.928Z] ---> Running in 1e26e7c1297d [2023-03-03T02:11:43.866Z] Removing intermediate container 1e26e7c1297d [2023-03-03T02:11:43.866Z] ---> dc2e94a28a7c [2023-03-03T02:11:43.866Z] Step 9/23 : COPY . . [2023-03-03T02:11:44.434Z] ---> efa245e77f51 [2023-03-03T02:11:44.434Z] Step 10/23 : RUN ${MAKE} [2023-03-03T02:11:44.434Z] ---> Running in 074ff1340a08 [2023-03-03T02:11:44.691Z] 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-03T02:11:54.333Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-8141 in /w/workspace/gexfoundry_device-sdk-go_PR-1345 [Pipeline] { [Pipeline] ws [2023-03-03T02:11:54.345Z] Running in /w/workspace/device-sdk-go/4 [Pipeline] { [Pipeline] checkout [2023-03-03T02:11:54.374Z] The recommended git tool is: git [2023-03-03T02:11:59.007Z] using credential edgex-jenkins-ssh [2023-03-03T02:11:59.029Z] Cloning the remote Git repository [2023-03-03T02:11:59.074Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-03-03T02:11:59.147Z] > git init /w/workspace/device-sdk-go/4 # timeout=10 [2023-03-03T02:11:59.281Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-03-03T02:11:59.282Z] > git --version # timeout=10 [2023-03-03T02:11:59.300Z] > git --version # 'git version 2.25.1' [2023-03-03T02:11:59.302Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-03T02:11:59.363Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-03T02:12:01.813Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-03-03T02:12:01.839Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-03T02:12:02.663Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-03-03T02:12:02.706Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-03-03T02:12:02.707Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-03T02:12:02.721Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1345/head:refs/remotes/origin/PR-1345 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-03-03T02:12:03.451Z] Merging remotes/origin/main commit b4dcd90c517d60267da088e4e26fcccd6a523ed6 into PR head commit 6905a34b550db74fa7bee656b07304e99fd1342f [2023-03-03T02:12:03.653Z] Merge succeeded, producing 6905a34b550db74fa7bee656b07304e99fd1342f [2023-03-03T02:12:03.653Z] Checking out Revision 6905a34b550db74fa7bee656b07304e99fd1342f (PR-1345) [2023-03-03T02:12:03.471Z] > git config core.sparsecheckout # timeout=10 [2023-03-03T02:12:03.491Z] > git checkout -f 6905a34b550db74fa7bee656b07304e99fd1342f # timeout=10 [2023-03-03T02:12:03.584Z] > git remote # timeout=10 [2023-03-03T02:12:03.599Z] > git config --get remote.origin.url # timeout=10 [2023-03-03T02:12:03.611Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-03T02:12:03.622Z] > git merge b4dcd90c517d60267da088e4e26fcccd6a523ed6 # timeout=10 [2023-03-03T02:12:03.643Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-03-03T02:12:03.663Z] > git config core.sparsecheckout # timeout=10 [2023-03-03T02:12:03.672Z] > git checkout -f 6905a34b550db74fa7bee656b07304e99fd1342f # timeout=10 [2023-03-03T02:12:06.625Z] Removing intermediate container 074ff1340a08 [2023-03-03T02:12:06.625Z] ---> b0b9e206e63b [2023-03-03T02:12:06.625Z] Step 11/23 : FROM alpine:3.16 [2023-03-03T02:12:06.625Z] 3.16: Pulling from library/alpine [2023-03-03T02:12:06.625Z] ef5531b6e74e: Pulling fs layer [2023-03-03T02:12:06.625Z] ef5531b6e74e: Verifying Checksum [2023-03-03T02:12:06.625Z] ef5531b6e74e: Download complete [2023-03-03T02:12:06.625Z] ef5531b6e74e: Pull complete [2023-03-03T02:12:06.625Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-03-03T02:12:06.625Z] Status: Downloaded newer image for alpine:3.16 [2023-03-03T02:12:06.625Z] ---> dfd21b5a31f5 [2023-03-03T02:12:06.625Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-03-03T02:12:06.625Z] ---> Running in cd0de1f6cc46 [2023-03-03T02:12:06.625Z] Removing intermediate container cd0de1f6cc46 [2023-03-03T02:12:06.625Z] ---> fe7694f030e6 [2023-03-03T02:12:06.625Z] Step 13/23 : RUN apk add --update --no-cache [2023-03-03T02:12:06.625Z] ---> Running in f9f09ae72308 [2023-03-03T02:12:06.625Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-03T02:12:06.625Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-03-03T02:12:06.625Z] OK: 6 MiB in 14 packages [2023-03-03T02:12:06.625Z] Removing intermediate container f9f09ae72308 [2023-03-03T02:12:06.625Z] ---> 7cdf9f66b2e6 [2023-03-03T02:12:06.625Z] Step 14/23 : WORKDIR / [2023-03-03T02:12:06.625Z] ---> Running in 04a008b96b7c [2023-03-03T02:12:06.625Z] Removing intermediate container 04a008b96b7c [2023-03-03T02:12:06.625Z] ---> f6a3ac5c172b [2023-03-03T02:12:06.625Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-03-03T02:12:06.625Z] ---> 8cea683bab08 [2023-03-03T02:12:06.625Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-03-03T02:12:07.108Z] Commit message: "refactor!: address PR requested changes" [2023-03-03T02:12:07.193Z] ---> 92921254bd09 [2023-03-03T02:12:07.193Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-03-03T02:12:07.193Z] ---> e947c969d420 [2023-03-03T02:12:07.193Z] Step 18/23 : EXPOSE 59999 [2023-03-03T02:12:07.452Z] ---> Running in d6f97ac549f1 [2023-03-03T02:12:07.452Z] Removing intermediate container d6f97ac549f1 [2023-03-03T02:12:07.452Z] ---> 7d5d8653d2bc [2023-03-03T02:12:07.452Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-03-03T02:12:07.452Z] ---> Running in fc966072b5b2 [2023-03-03T02:12:07.452Z] Removing intermediate container fc966072b5b2 [2023-03-03T02:12:07.452Z] ---> 3e80e210bdd5 [2023-03-03T02:12:07.452Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-03T02:12:07.709Z] ---> Running in 5e1b580793bc [2023-03-03T02:12:07.709Z] Removing intermediate container 5e1b580793bc [2023-03-03T02:12:07.709Z] ---> a1d74de19c5c [2023-03-03T02:12:07.709Z] Step 21/23 : LABEL arch=amd64 [2023-03-03T02:12:07.709Z] ---> Running in 79227c79cc51 [2023-03-03T02:12:07.709Z] Removing intermediate container 79227c79cc51 [2023-03-03T02:12:07.709Z] ---> b5bc18f9e415 [2023-03-03T02:12:07.709Z] Step 22/23 : LABEL git_sha=6905a34b550db74fa7bee656b07304e99fd1342f [2023-03-03T02:12:07.968Z] ---> Running in fb6267315113 [2023-03-03T02:12:07.968Z] Removing intermediate container fb6267315113 [2023-03-03T02:12:07.968Z] ---> 912385a0a6bf [2023-03-03T02:12:07.968Z] Step 23/23 : LABEL version=0.0.0 [2023-03-03T02:12:07.968Z] ---> Running in bf7bc69ccc3c [2023-03-03T02:12:07.968Z] Removing intermediate container bf7bc69ccc3c [2023-03-03T02:12:07.968Z] ---> eaf1373e11bc [2023-03-03T02:12:07.968Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-03T02:12:07.968Z] Successfully built eaf1373e11bc [2023-03-03T02:12:07.968Z] Successfully tagged device-sdk-simple:latest [2023-03-03T02:12:08.049Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-03-03T02:12:08.049Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-03T02:12:08.049Z] Dload Upload Total Spent Left Speed [2023-03-03T02:12:08.049Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 82 12751 82 10503 0 0 73964 0 --:--:-- --:--:-- --:--:-- 73447 100 12751 100 12751 0 0 88548 0 --:--:-- --:--:-- --:--:-- 88548 [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 [Pipeline] sh [2023-03-03T02:12:08.671Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-03T02:12:08.671Z] [2023-03-03T02:12:08.671Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-03T02:12:08.750Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-03-03T02:12:08.974Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-03T02:12:08.974Z] latest: Pulling from edgex-lftools-log-publisher [2023-03-03T02:12:08.974Z] 5eb5b503b376: Pulling fs layer [2023-03-03T02:12:08.974Z] 5c69ac0246d0: Pulling fs layer [2023-03-03T02:12:08.974Z] ec43610c2a17: Pulling fs layer [2023-03-03T02:12:08.974Z] 3a2ae6a8a46f: Pulling fs layer [2023-03-03T02:12:08.974Z] 33b1e0a273af: Pulling fs layer [2023-03-03T02:12:08.974Z] 5d3b04190fa2: Pulling fs layer [2023-03-03T02:12:08.974Z] 2f39f015ded8: Pulling fs layer [2023-03-03T02:12:08.974Z] 33b1e0a273af: Waiting [2023-03-03T02:12:08.974Z] 5d3b04190fa2: Waiting [2023-03-03T02:12:08.974Z] 2f39f015ded8: Waiting [2023-03-03T02:12:08.974Z] 3a2ae6a8a46f: Waiting [2023-03-03T02:12:08.974Z] 5c69ac0246d0: Verifying Checksum [2023-03-03T02:12:08.974Z] 5c69ac0246d0: Download complete [2023-03-03T02:12:08.974Z] 3a2ae6a8a46f: Verifying Checksum [2023-03-03T02:12:08.974Z] 3a2ae6a8a46f: Download complete [2023-03-03T02:12:08.974Z] 33b1e0a273af: Verifying Checksum [2023-03-03T02:12:08.974Z] 33b1e0a273af: Download complete [2023-03-03T02:12:09.071Z] + sudo tee /etc/docker/daemon.new [2023-03-03T02:12:09.071Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-03-03T02:12:09.071Z] { [2023-03-03T02:12:09.071Z] "registry-mirrors": [ [2023-03-03T02:12:09.071Z] "https://nexus3.edgexfoundry.org:10001" [2023-03-03T02:12:09.071Z] ], [2023-03-03T02:12:09.071Z] "bip": "10.250.0.254/24", [2023-03-03T02:12:09.071Z] "hosts": [ [2023-03-03T02:12:09.071Z] "tcp://0.0.0.0:5555", [2023-03-03T02:12:09.071Z] "unix:///var/run/docker.sock" [2023-03-03T02:12:09.071Z] ], [2023-03-03T02:12:09.071Z] "mtu": 1458, [2023-03-03T02:12:09.071Z] "selinux-enabled": true, [2023-03-03T02:12:09.071Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-03-03T02:12:09.071Z] } [Pipeline] sh [2023-03-03T02:12:09.233Z] 5d3b04190fa2: Verifying Checksum [2023-03-03T02:12:09.233Z] 5d3b04190fa2: Download complete [2023-03-03T02:12:09.233Z] ec43610c2a17: Verifying Checksum [2023-03-03T02:12:09.233Z] 5eb5b503b376: Verifying Checksum [2023-03-03T02:12:09.233Z] 5eb5b503b376: Download complete [2023-03-03T02:12:09.392Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-03-03T02:12:09.712Z] + sudo service docker restart [2023-03-03T02:12:09.799Z] 2f39f015ded8: Download complete [2023-03-03T02:12:10.366Z] 5eb5b503b376: Pull complete [2023-03-03T02:12:10.625Z] 5c69ac0246d0: Pull complete [2023-03-03T02:12:10.885Z] ec43610c2a17: Pull complete [2023-03-03T02:12:10.885Z] 3a2ae6a8a46f: Pull complete [2023-03-03T02:12:11.144Z] 33b1e0a273af: Pull complete [2023-03-03T02:12:11.144Z] 5d3b04190fa2: Pull complete [2023-03-03T02:12:15.330Z] 2f39f015ded8: Pull complete [2023-03-03T02:12:15.330Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-03-03T02:12:15.330Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-03T02:12:15.330Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-03T02:12:15.408Z] prd-ubuntu20.04-docker-8c-8g-8140 does not seem to be running inside a container [2023-03-03T02:12:15.436Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-sdk-go_PR-1345 -v /w/workspace/gexfoundry_device-sdk-go_PR-1345:/w/workspace/gexfoundry_device-sdk-go_PR-1345:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1345@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1345@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-03T02:12:17.253Z] $ docker top 3042d9e7c25b3f482d7e0291d3b9e58241dc2ac432b1c11f3265ae6fcabb083a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-03T02:12:17.652Z] ---> job-cost.sh [2023-03-03T02:12:17.652Z] lf-activate-venv: SKIPPING [2023-03-03T02:12:17.652Z] INFO: No Stack... [2023-03-03T02:12:17.910Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-03T02:12:18.481Z] INFO: Archiving Costs [Pipeline] sh [2023-03-03T02:12:18.770Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1345/archives/cost.csv [2023-03-03T02:12:18.770Z] + cut -d, -f6 [Pipeline] lock [2023-03-03T02:12:18.787Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1345-4-stack-cost] [2023-03-03T02:12:18.793Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1345-4-stack-cost] did not exist. Created. [2023-03-03T02:12:18.793Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1345-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-03T02:12:19.093Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-03-03T02:12:19.116Z] Stashed 1 file(s) [Pipeline] } [2023-03-03T02:12:19.124Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1345-4-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-03T02:12:19.142Z] $ docker stop --time=1 3042d9e7c25b3f482d7e0291d3b9e58241dc2ac432b1c11f3265ae6fcabb083a [2023-03-03T02:12:20.303Z] $ docker rm -f --volumes 3042d9e7c25b3f482d7e0291d3b9e58241dc2ac432b1c11f3265ae6fcabb083a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-03T02:12:27.956Z] provisioning config files... [2023-03-03T02:12:27.978Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/4@tmp/config15370472936285528332tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-03T02:12:28.317Z] ---> docker-login.sh [2023-03-03T02:12:28.317Z] nexus3.edgexfoundry.org:10001 [2023-03-03T02:12:28.584Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-03T02:12:28.853Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-03T02:12:28.853Z] Configure a credential helper to remove this warning. See [2023-03-03T02:12:28.853Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-03T02:12:28.853Z] [2023-03-03T02:12:28.853Z] Login Succeeded [2023-03-03T02:12:28.853Z] nexus3.edgexfoundry.org:10002 [2023-03-03T02:12:29.119Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-03T02:12:29.119Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-03T02:12:29.119Z] Configure a credential helper to remove this warning. See [2023-03-03T02:12:29.119Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-03T02:12:29.119Z] [2023-03-03T02:12:29.119Z] Login Succeeded [2023-03-03T02:12:29.387Z] nexus3.edgexfoundry.org:10003 [2023-03-03T02:12:29.387Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-03T02:12:29.655Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-03T02:12:29.655Z] Configure a credential helper to remove this warning. See [2023-03-03T02:12:29.655Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-03T02:12:29.655Z] [2023-03-03T02:12:29.655Z] Login Succeeded [2023-03-03T02:12:29.655Z] nexus3.edgexfoundry.org:10004 [2023-03-03T02:12:29.655Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-03T02:12:29.925Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-03T02:12:29.925Z] Configure a credential helper to remove this warning. See [2023-03-03T02:12:29.925Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-03T02:12:29.925Z] [2023-03-03T02:12:29.925Z] Login Succeeded [2023-03-03T02:12:29.925Z] docker.io [2023-03-03T02:12:30.193Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-03T02:12:30.458Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-03T02:12:30.458Z] Configure a credential helper to remove this warning. See [2023-03-03T02:12:30.458Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-03T02:12:30.458Z] [2023-03-03T02:12:30.458Z] Login Succeeded [2023-03-03T02:12:30.458Z] ---> docker-login.sh ends [Pipeline] } [2023-03-03T02:12:30.470Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-03T02:12:30.688Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-03T02:12:30.706Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-03T02:12:30.717Z] ========================================================= [2023-03-03T02:12:30.717Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-03-03T02:12:30.717Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-03T02:12:31.052Z] + 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-03T02:12:31.318Z] Sending build context to Docker daemon 5.895MB [2023-03-03T02:12:31.586Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-03-03T02:12:31.587Z] Step 2/10 : FROM ${BASE} AS builder [2023-03-03T02:12:31.587Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-03-03T02:12:31.587Z] 9b18e9b68314: Pulling fs layer [2023-03-03T02:12:31.587Z] 35d82f9e3411: Pulling fs layer [2023-03-03T02:12:31.587Z] e16973657156: Pulling fs layer [2023-03-03T02:12:31.587Z] fc693d55d65f: Pulling fs layer [2023-03-03T02:12:31.587Z] 7e9fc2657dce: Pulling fs layer [2023-03-03T02:12:31.587Z] dda99020689f: Pulling fs layer [2023-03-03T02:12:31.587Z] db1c61fa0a46: Pulling fs layer [2023-03-03T02:12:31.587Z] fc693d55d65f: Waiting [2023-03-03T02:12:31.587Z] 891c053d2c06: Pulling fs layer [2023-03-03T02:12:31.587Z] dda99020689f: Waiting [2023-03-03T02:12:31.587Z] db1c61fa0a46: Waiting [2023-03-03T02:12:31.587Z] 891c053d2c06: Waiting [2023-03-03T02:12:31.587Z] 7e9fc2657dce: Waiting [2023-03-03T02:12:31.587Z] e16973657156: Verifying Checksum [2023-03-03T02:12:31.587Z] e16973657156: Download complete [2023-03-03T02:12:31.587Z] 35d82f9e3411: Download complete [2023-03-03T02:12:31.587Z] 7e9fc2657dce: Verifying Checksum [2023-03-03T02:12:31.587Z] 7e9fc2657dce: Download complete [2023-03-03T02:12:31.587Z] dda99020689f: Download complete [2023-03-03T02:12:31.587Z] 9b18e9b68314: Download complete [2023-03-03T02:12:32.569Z] 9b18e9b68314: Pull complete [2023-03-03T02:12:32.569Z] 891c053d2c06: Verifying Checksum [2023-03-03T02:12:32.569Z] 891c053d2c06: Download complete [2023-03-03T02:12:33.188Z] 35d82f9e3411: Pull complete [2023-03-03T02:12:33.457Z] e16973657156: Pull complete [2023-03-03T02:12:33.725Z] db1c61fa0a46: Verifying Checksum [2023-03-03T02:12:33.725Z] db1c61fa0a46: Download complete [2023-03-03T02:12:34.308Z] fc693d55d65f: Verifying Checksum [2023-03-03T02:12:34.308Z] fc693d55d65f: Download complete [2023-03-03T02:12:44.379Z] fc693d55d65f: Pull complete [2023-03-03T02:12:44.379Z] 7e9fc2657dce: Pull complete [2023-03-03T02:12:44.646Z] dda99020689f: Pull complete [2023-03-03T02:12:52.705Z] db1c61fa0a46: Pull complete [2023-03-03T02:12:52.970Z] 891c053d2c06: Pull complete [2023-03-03T02:12:52.970Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-03-03T02:12:52.970Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-03-03T02:12:52.970Z] ---> f96f9c87975a [2023-03-03T02:12:52.970Z] Step 3/10 : ARG MAKE=make build [2023-03-03T02:12:55.015Z] ---> Running in bcf5b75e7b39 [2023-03-03T02:12:55.015Z] Removing intermediate container bcf5b75e7b39 [2023-03-03T02:12:55.015Z] ---> 32e3e08617d1 [2023-03-03T02:12:55.015Z] Step 4/10 : WORKDIR /device-sdk-go [2023-03-03T02:12:55.015Z] ---> Running in 59bb9d76c1db [2023-03-03T02:12:55.295Z] Removing intermediate container 59bb9d76c1db [2023-03-03T02:12:55.295Z] ---> 8f6d0eca6902 [2023-03-03T02:12:55.295Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-03-03T02:12:55.295Z] ---> Running in 74d236b907fc [2023-03-03T02:12:55.880Z] Removing intermediate container 74d236b907fc [2023-03-03T02:12:55.880Z] ---> f5f42759132f [2023-03-03T02:12:55.880Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-03-03T02:12:55.880Z] ---> Running in f6b0ff91cec5 [2023-03-03T02:12:56.837Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-03T02:12:57.103Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-03-03T02:12:58.064Z] OK: 221 MiB in 51 packages [2023-03-03T02:12:58.651Z] Removing intermediate container f6b0ff91cec5 [2023-03-03T02:12:58.651Z] ---> 73f8e07ba90b [2023-03-03T02:12:58.651Z] Step 7/10 : COPY go.mod vendor* ./ [2023-03-03T02:12:59.234Z] ---> dfddb8e5e1da [2023-03-03T02:12:59.234Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-03T02:12:59.504Z] ---> Running in 35dc1f8aa90a [2023-03-03T02:14:07.412Z] Removing intermediate container 35dc1f8aa90a [2023-03-03T02:14:07.412Z] ---> e633a0fe664a [2023-03-03T02:14:07.412Z] Step 9/10 : COPY . . [2023-03-03T02:14:07.412Z] ---> 19f59037399a [2023-03-03T02:14:07.412Z] Step 10/10 : RUN ${MAKE} [2023-03-03T02:14:07.412Z] ---> Running in 3373b4f7c9c6 [2023-03-03T02:14:07.412Z] noop [2023-03-03T02:14:07.412Z] Removing intermediate container 3373b4f7c9c6 [2023-03-03T02:14:07.412Z] ---> 434ebf2cf3e3 [2023-03-03T02:14:07.412Z] Successfully built 434ebf2cf3e3 [2023-03-03T02:14:07.412Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-03T02:14:07.761Z] + docker inspect -f . ci-base-image-arm64 [2023-03-03T02:14:07.761Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-03T02:14:07.943Z] prd-ubuntu20.04-docker-arm64-4c-16g-8141 does not seem to be running inside a container [2023-03-03T02:14:08.007Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-03T02:14:09.183Z] $ docker top 90dc3ccc0d1d11612bd831529aee507c6062d7a1dc949518ae19822f7d4e0b0f -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-03T02:14:10.002Z] + go version [2023-03-03T02:14:10.002Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-03-03T02:14:10.027Z] $ docker stop --time=1 90dc3ccc0d1d11612bd831529aee507c6062d7a1dc949518ae19822f7d4e0b0f [2023-03-03T02:14:11.600Z] $ docker rm -f --volumes 90dc3ccc0d1d11612bd831529aee507c6062d7a1dc949518ae19822f7d4e0b0f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-03T02:14:12.132Z] + docker inspect -f . ci-base-image-arm64 [2023-03-03T02:14:12.132Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-03T02:14:12.302Z] prd-ubuntu20.04-docker-arm64-4c-16g-8141 does not seem to be running inside a container [2023-03-03T02:14:12.363Z] $ 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/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-03T02:14:13.478Z] $ docker top 11a5ff3b0123cace50d06799190d0e88f09de7a89f74f34e4c0e8f62a7601d94 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-03T02:14:13.970Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/4 [Pipeline] fileExists [Pipeline] sh [2023-03-03T02:14:14.300Z] + make test [2023-03-03T02:14:14.300Z] go test -race -coverprofile=coverage.out ./... [2023-03-03T02:14:46.505Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-03-03T02:16:38.153Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-03-03T02:16:38.153Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-03-03T02:16:38.153Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-03-03T02:16:38.153Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-03-03T02:16:38.153Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-03-03T02:16:38.153Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.534s coverage: 27.6% of statements [2023-03-03T02:16:38.153Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.435s coverage: 78.9% of statements [2023-03-03T02:16:43.527Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.417s coverage: 86.0% of statements [2023-03-03T02:16:43.527Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-03-03T02:16:43.527Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-03-03T02:16:44.937Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.450s coverage: 75.0% of statements [2023-03-03T02:16:44.937Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-03-03T02:16:45.902Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.518s coverage: 15.3% of statements [2023-03-03T02:16:45.902Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-03-03T02:16:46.875Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.469s coverage: 65.2% of statements [2023-03-03T02:16:46.875Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-03-03T02:16:46.875Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-03-03T02:16:49.506Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 3.680s coverage: 89.2% of statements [2023-03-03T02:16:49.506Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.318s coverage: 4.7% of statements [2023-03-03T02:16:49.506Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-03-03T02:16:50.099Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-03-03T02:16:50.099Z] GO111MODULE=on go vet ./... [2023-03-03T02:18:26.766Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-03T02:18:26.766Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-03T02:18:26.766Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-03T02:18:26.786Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-03T02:18:26.800Z] $ docker stop --time=1 11a5ff3b0123cace50d06799190d0e88f09de7a89f74f34e4c0e8f62a7601d94 [2023-03-03T02:18:28.687Z] $ docker rm -f --volumes 11a5ff3b0123cace50d06799190d0e88f09de7a89f74f34e4c0e8f62a7601d94 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-03T02:18:30.019Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-03T02:18:30.038Z] Warning: overwriting stash ‘coverage-report’ [2023-03-03T02:18:30.625Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-03T02:18:31.009Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-03T02:18:31.331Z] + ls -al . [2023-03-03T02:18:31.331Z] total 276 [2023-03-03T02:18:31.331Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 3 02:14 . [2023-03-03T02:18:31.331Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 3 02:11 .. [2023-03-03T02:18:31.331Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 3 02:12 .dockerignore [2023-03-03T02:18:31.331Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 3 02:12 .git [2023-03-03T02:18:31.331Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 3 02:12 .github [2023-03-03T02:18:31.331Z] -rw-rw-r-- 1 jenkins jenkins 131 Mar 3 02:12 .gitignore [2023-03-03T02:18:31.331Z] -rw-rw-r-- 1 jenkins jenkins 42 Mar 3 02:12 .golangci.yml [2023-03-03T02:18:31.331Z] -rw-rw-r-- 1 jenkins jenkins 31677 Mar 3 02:12 CHANGELOG.md [2023-03-03T02:18:31.331Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 3 02:12 GOVERNANCE.md [2023-03-03T02:18:31.331Z] -rw-rw-r-- 1 jenkins jenkins 885 Mar 3 02:12 Jenkinsfile [2023-03-03T02:18:31.331Z] -rw-rw-r-- 1 jenkins jenkins 11341 Mar 3 02:12 LICENSE [2023-03-03T02:18:31.331Z] -rw-rw-r-- 1 jenkins jenkins 1679 Mar 3 02:12 Makefile [2023-03-03T02:18:31.331Z] -rw-rw-r-- 1 jenkins jenkins 619 Mar 3 02:12 OWNERS.md [2023-03-03T02:18:31.331Z] -rw-rw-r-- 1 jenkins jenkins 4891 Mar 3 02:12 README.md [2023-03-03T02:18:31.331Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 3 02:10 VERSION [2023-03-03T02:18:31.331Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 3 02:12 bin [2023-03-03T02:18:31.331Z] -rw-r--r-- 1 jenkins jenkins 110996 Mar 3 02:16 coverage.out [2023-03-03T02:18:31.331Z] drwxrwxr-x 5 jenkins jenkins 4096 Mar 3 02:12 example [2023-03-03T02:18:31.331Z] -rw-rw-r-- 1 jenkins jenkins 3266 Mar 3 02:12 go.mod [2023-03-03T02:18:31.331Z] -rw-rw-r-- 1 jenkins jenkins 30840 Mar 3 02:12 go.sum [2023-03-03T02:18:31.331Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 3 02:12 internal [2023-03-03T02:18:31.331Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 3 02:12 openapi [2023-03-03T02:18:31.331Z] drwxrwxr-x 6 jenkins jenkins 4096 Mar 3 02:12 pkg [2023-03-03T02:18:31.331Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 3 02:12 snap [2023-03-03T02:18:31.331Z] -rw-rw-r-- 1 jenkins jenkins 222 Mar 3 02:12 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-03T02:18:31.674Z] + 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=6905a34b550db74fa7bee656b07304e99fd1342f --label arch=arm64 --label version=0.0.0 . [2023-03-03T02:18:32.264Z] Sending build context to Docker daemon 6.006MB [2023-03-03T02:18:32.264Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2023-03-03T02:18:32.264Z] Step 2/23 : FROM ${BASE} AS builder [2023-03-03T02:18:32.264Z] ---> 434ebf2cf3e3 [2023-03-03T02:18:32.264Z] Step 3/23 : ARG MAKE=make build [2023-03-03T02:18:32.264Z] ---> Running in 2de18c6de900 [2023-03-03T02:18:32.531Z] Removing intermediate container 2de18c6de900 [2023-03-03T02:18:32.531Z] ---> c85bbba482f0 [2023-03-03T02:18:32.531Z] Step 4/23 : WORKDIR /device-sdk-go [2023-03-03T02:18:32.801Z] ---> Running in 035fc765830b [2023-03-03T02:18:33.068Z] Removing intermediate container 035fc765830b [2023-03-03T02:18:33.068Z] ---> ad703ad0683c [2023-03-03T02:18:33.068Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-03-03T02:18:33.068Z] ---> Running in cc767a8959ee [2023-03-03T02:18:33.433Z] Removing intermediate container cc767a8959ee [2023-03-03T02:18:33.433Z] ---> 665d6d80786d [2023-03-03T02:18:33.433Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-03-03T02:18:33.433Z] ---> Running in 6776bbb08b84 [2023-03-03T02:18:34.496Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-03T02:18:34.765Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-03-03T02:18:35.743Z] OK: 221 MiB in 51 packages [2023-03-03T02:18:36.717Z] Removing intermediate container 6776bbb08b84 [2023-03-03T02:18:36.717Z] ---> 308d2df971be [2023-03-03T02:18:36.717Z] Step 7/23 : COPY go.mod vendor* ./ [2023-03-03T02:18:38.666Z] ---> 7f550dc96c99 [2023-03-03T02:18:38.666Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-03T02:18:38.666Z] ---> Running in 65fb153a644d [2023-03-03T02:18:41.256Z] Removing intermediate container 65fb153a644d [2023-03-03T02:18:41.256Z] ---> 896d3aab4577 [2023-03-03T02:18:41.256Z] Step 9/23 : COPY . . [2023-03-03T02:18:43.207Z] ---> 10ee4228d10c [2023-03-03T02:18:43.207Z] Step 10/23 : RUN ${MAKE} [2023-03-03T02:18:43.207Z] ---> Running in 1eefd420ba05 [2023-03-03T02:18:43.791Z] 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-03T02:20:50.487Z] Removing intermediate container 1eefd420ba05 [2023-03-03T02:20:50.487Z] ---> f2fe66a81a85 [2023-03-03T02:20:50.487Z] Step 11/23 : FROM alpine:3.16 [2023-03-03T02:20:50.487Z] 3.16: Pulling from library/alpine [2023-03-03T02:20:50.487Z] 3760b48202b3: Pulling fs layer [2023-03-03T02:20:50.487Z] 3760b48202b3: Verifying Checksum [2023-03-03T02:20:50.487Z] 3760b48202b3: Download complete [2023-03-03T02:20:50.487Z] 3760b48202b3: Pull complete [2023-03-03T02:20:50.487Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-03-03T02:20:50.487Z] Status: Downloaded newer image for alpine:3.16 [2023-03-03T02:20:50.487Z] ---> 4c81e5bf8899 [2023-03-03T02:20:50.487Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-03-03T02:20:50.487Z] ---> Running in a3961f0796ee [2023-03-03T02:20:50.487Z] Removing intermediate container a3961f0796ee [2023-03-03T02:20:50.487Z] ---> 837e8d8922f9 [2023-03-03T02:20:50.487Z] Step 13/23 : RUN apk add --update --no-cache [2023-03-03T02:20:50.487Z] ---> Running in 1f2b6e2c60d1 [2023-03-03T02:20:50.487Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-03T02:20:50.487Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-03-03T02:20:50.487Z] OK: 5 MiB in 14 packages [2023-03-03T02:20:50.487Z] Removing intermediate container 1f2b6e2c60d1 [2023-03-03T02:20:50.487Z] ---> 19676c098a82 [2023-03-03T02:20:50.487Z] Step 14/23 : WORKDIR / [2023-03-03T02:20:50.487Z] ---> Running in f685dfb4d972 [2023-03-03T02:20:50.487Z] Removing intermediate container f685dfb4d972 [2023-03-03T02:20:50.487Z] ---> f3eeca27f776 [2023-03-03T02:20:50.487Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-03-03T02:20:50.487Z] ---> 48a32e4ce521 [2023-03-03T02:20:50.487Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-03-03T02:20:50.487Z] ---> 61790b0a272a [2023-03-03T02:20:50.487Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-03-03T02:20:50.487Z] ---> ebaec5e0f5fa [2023-03-03T02:20:50.487Z] Step 18/23 : EXPOSE 59999 [2023-03-03T02:20:50.487Z] ---> Running in 93841a21d39d [2023-03-03T02:20:50.487Z] Removing intermediate container 93841a21d39d [2023-03-03T02:20:50.487Z] ---> 4f9a46111562 [2023-03-03T02:20:50.487Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-03-03T02:20:50.487Z] ---> Running in 8d666fe0ac3b [2023-03-03T02:20:50.487Z] Removing intermediate container 8d666fe0ac3b [2023-03-03T02:20:50.487Z] ---> d100b4b33fdf [2023-03-03T02:20:50.487Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-03-03T02:20:50.487Z] ---> Running in bc677f281ad4 [2023-03-03T02:20:50.487Z] Removing intermediate container bc677f281ad4 [2023-03-03T02:20:50.487Z] ---> 3c9b6040d548 [2023-03-03T02:20:50.487Z] Step 21/23 : LABEL arch=arm64 [2023-03-03T02:20:50.487Z] ---> Running in 69e0a4dd2c1c [2023-03-03T02:20:50.487Z] Removing intermediate container 69e0a4dd2c1c [2023-03-03T02:20:50.487Z] ---> 0f0d09243f14 [2023-03-03T02:20:50.487Z] Step 22/23 : LABEL git_sha=6905a34b550db74fa7bee656b07304e99fd1342f [2023-03-03T02:20:50.487Z] ---> Running in 3cc1424c4544 [2023-03-03T02:20:50.487Z] Removing intermediate container 3cc1424c4544 [2023-03-03T02:20:50.487Z] ---> a59dad9b0bc6 [2023-03-03T02:20:50.487Z] Step 23/23 : LABEL version=0.0.0 [2023-03-03T02:20:50.487Z] ---> Running in 2e109fbdc024 [2023-03-03T02:20:50.487Z] Removing intermediate container 2e109fbdc024 [2023-03-03T02:20:50.487Z] ---> 79b35d792ba7 [2023-03-03T02:20:50.487Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-03T02:20:50.487Z] Successfully built 79b35d792ba7 [2023-03-03T02:20:50.487Z] 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-03T02:20:50.908Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-03T02:20:50.908Z] [2023-03-03T02:20:50.908Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-03T02:20:51.233Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-03T02:20:51.233Z] arm64: Pulling from edgex-lftools-log-publisher [2023-03-03T02:20:51.233Z] 8998bd30e6a1: Pulling fs layer [2023-03-03T02:20:51.233Z] 04944245beec: Pulling fs layer [2023-03-03T02:20:51.233Z] 699f458cf7ca: Pulling fs layer [2023-03-03T02:20:51.233Z] 765212b225bb: Pulling fs layer [2023-03-03T02:20:51.233Z] f23df028b6ca: Pulling fs layer [2023-03-03T02:20:51.233Z] d65c8cfc05b1: Pulling fs layer [2023-03-03T02:20:51.233Z] 2437ff75d9bd: Pulling fs layer [2023-03-03T02:20:51.233Z] 765212b225bb: Waiting [2023-03-03T02:20:51.233Z] f23df028b6ca: Waiting [2023-03-03T02:20:51.233Z] d65c8cfc05b1: Waiting [2023-03-03T02:20:51.233Z] 2437ff75d9bd: Waiting [2023-03-03T02:20:51.507Z] 04944245beec: Verifying Checksum [2023-03-03T02:20:51.507Z] 04944245beec: Download complete [2023-03-03T02:20:51.507Z] 765212b225bb: Download complete [2023-03-03T02:20:51.507Z] f23df028b6ca: Verifying Checksum [2023-03-03T02:20:51.507Z] f23df028b6ca: Download complete [2023-03-03T02:20:51.507Z] d65c8cfc05b1: Verifying Checksum [2023-03-03T02:20:51.507Z] d65c8cfc05b1: Download complete [2023-03-03T02:20:51.778Z] 699f458cf7ca: Verifying Checksum [2023-03-03T02:20:51.778Z] 699f458cf7ca: Download complete [2023-03-03T02:20:52.045Z] 8998bd30e6a1: Verifying Checksum [2023-03-03T02:20:52.045Z] 8998bd30e6a1: Download complete [2023-03-03T02:20:54.621Z] 2437ff75d9bd: Verifying Checksum [2023-03-03T02:20:54.621Z] 2437ff75d9bd: Download complete [2023-03-03T02:20:56.030Z] 8998bd30e6a1: Pull complete [2023-03-03T02:20:56.298Z] 04944245beec: Pull complete [2023-03-03T02:20:57.718Z] 699f458cf7ca: Pull complete [2023-03-03T02:20:57.718Z] 765212b225bb: Pull complete [2023-03-03T02:20:58.307Z] f23df028b6ca: Pull complete [2023-03-03T02:20:58.573Z] d65c8cfc05b1: Pull complete [2023-03-03T02:21:13.611Z] 2437ff75d9bd: Pull complete [2023-03-03T02:21:13.611Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-03-03T02:21:13.611Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-03T02:21:13.611Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-03T02:21:13.801Z] prd-ubuntu20.04-docker-arm64-4c-16g-8141 does not seem to be running inside a container [2023-03-03T02:21:13.867Z] $ 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/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-03-03T02:21:16.367Z] $ docker top 4e320268783530c1059365f4efb484b9de0f009538d346dbbd7f2a2f52c43d58 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-03T02:21:16.901Z] ---> job-cost.sh [2023-03-03T02:21:17.171Z] lf-activate-venv: SKIPPING [2023-03-03T02:21:17.171Z] INFO: No Stack... [2023-03-03T02:21:17.764Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-03-03T02:21:18.342Z] INFO: Archiving Costs [Pipeline] sh [2023-03-03T02:21:18.666Z] + cat /w/workspace/device-sdk-go/4/archives/cost.csv [2023-03-03T02:21:18.666Z] + cut -d, -f6 [Pipeline] lock [2023-03-03T02:21:18.727Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1345-4-stack-cost] [2023-03-03T02:21:18.736Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1345-4-stack-cost] did not exist. Created. [2023-03-03T02:21:18.736Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1345-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-03T02:21:19.071Z] /w/workspace/device-sdk-go/4@tmp/durable-1ba01840/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-03-03T02:21:19.396Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-03-03T02:21:19.420Z] Warning: overwriting stash ‘stack-cost’ [2023-03-03T02:21:19.479Z] Stashed 1 file(s) [Pipeline] } [2023-03-03T02:21:19.488Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1345-4-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-03T02:21:19.501Z] $ docker stop --time=1 4e320268783530c1059365f4efb484b9de0f009538d346dbbd7f2a2f52c43d58 [2023-03-03T02:21:20.942Z] $ docker rm -f --volumes 4e320268783530c1059365f4efb484b9de0f009538d346dbbd7f2a2f52c43d58 [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-03T02:21:21.316Z] provisioning config files... [2023-03-03T02:21:21.324Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1345@tmp/config5099115114466552905tmp [Pipeline] { [Pipeline] sh [2023-03-03T02:21:21.621Z] + set +x [2023-03-03T02:21:21.621Z] + curl -s https://codecov.io/bash [2023-03-03T02:21:21.621Z] + bash -s -- [2023-03-03T02:21:21.621Z] [2023-03-03T02:21:21.621Z] _____ _ [2023-03-03T02:21:21.621Z] / ____| | | [2023-03-03T02:21:21.621Z] | | ___ __| | ___ ___ _____ __ [2023-03-03T02:21:21.621Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-03-03T02:21:21.621Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-03-03T02:21:21.621Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-03-03T02:21:21.621Z] Bash-1.0.6 [2023-03-03T02:21:21.622Z] [2023-03-03T02:21:21.622Z] [2023-03-03T02:21:21.622Z] ==> git version 2.25.1 found [2023-03-03T02:21:21.622Z] ==> 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-03T02:21:21.622Z] Release-Date: 2020-01-08 [2023-03-03T02:21:21.622Z] 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-03T02:21:21.622Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-03-03T02:21:21.622Z] ==> Jenkins CI detected. [2023-03-03T02:21:21.622Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1345 [2023-03-03T02:21:21.622Z] project root: . [2023-03-03T02:21:21.622Z] --> token set from env [2023-03-03T02:21:21.622Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-03-03T02:21:21.622Z] ==> Running gcov in . (disable via -X gcov) [2023-03-03T02:21:21.622Z] ==> Python coveragepy not found [2023-03-03T02:21:21.622Z] ==> Searching for coverage reports in: [2023-03-03T02:21:21.622Z] + . [2023-03-03T02:21:21.622Z] -> Found 1 reports [2023-03-03T02:21:21.622Z] ==> Detecting git/mercurial file structure [2023-03-03T02:21:21.884Z] ==> Reading reports [2023-03-03T02:21:21.884Z] + ./coverage.out bytes=110996 [2023-03-03T02:21:21.884Z] ==> Appending adjustments [2023-03-03T02:21:21.884Z] https://docs.codecov.io/docs/fixing-reports [2023-03-03T02:21:22.146Z] + Found adjustments [2023-03-03T02:21:22.146Z] ==> Gzipping contents [2023-03-03T02:21:22.146Z] 16K /tmp/codecov.Nt0Srh.gz [2023-03-03T02:21:22.146Z] ==> Uploading reports [2023-03-03T02:21:22.146Z] url: https://codecov.io [2023-03-03T02:21:22.146Z] query: branch=PR-1345&commit=6905a34b550db74fa7bee656b07304e99fd1342f&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1345%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1345&job=&cmd_args= [2023-03-03T02:21:22.146Z] -> Pinging Codecov [2023-03-03T02:21:22.146Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1345&commit=6905a34b550db74fa7bee656b07304e99fd1342f&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1345%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1345&job=&cmd_args= [2023-03-03T02:21:22.146Z] -> Uploading to [2023-03-03T02:21:22.146Z] https://storage.googleapis.com/codecov/v4/raw/2023-03-03/7E55EF52A471D76F132DFD9A03CDDE97/6905a34b550db74fa7bee656b07304e99fd1342f/19be55df-dbe1-4d56-905a-97a99b5bdac8.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230303%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230303T022122Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=e02764e5771ae8b81fc4b8a0091b7dbaa22b0401c7d26ef3be44af7403b8d2b8 [2023-03-03T02:21:22.146Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-03T02:21:22.146Z] Dload Upload Total Spent Left Speed [2023-03-03T02:21:22.408Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 15441 0 0 100 15441 0 50133 --:--:-- --:--:-- --:--:-- 50133 [2023-03-03T02:21:22.409Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/6905a34b550db74fa7bee656b07304e99fd1342f [Pipeline] } [2023-03-03T02:21:22.417Z] 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-03T02:21:23.153Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1345/archives ] [2023-03-03T02:21:23.153Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1345/archives [2023-03-03T02:21:23.153Z] total 16 [2023-03-03T02:21:23.153Z] drwxr-xr-x 3 root root 4096 Mar 3 02:12 . [2023-03-03T02:21:23.153Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 3 02:12 .. [2023-03-03T02:21:23.153Z] drwxr-xr-x 2 root root 4096 Mar 3 02:12 cost [2023-03-03T02:21:23.153Z] -rw-r--r-- 1 root root 86 Mar 3 02:12 cost.csv [2023-03-03T02:21:23.153Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1345/archives [2023-03-03T02:21:23.153Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1345/archives [2023-03-03T02:21:23.153Z] total 16 [2023-03-03T02:21:23.153Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 3 02:12 . [2023-03-03T02:21:23.153Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 3 02:12 .. [2023-03-03T02:21:23.153Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 3 02:12 cost [2023-03-03T02:21:23.153Z] -rw-r--r-- 1 jenkins jenkins 86 Mar 3 02:12 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-03-03T02:21:23.450Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-03T02:21:24.319Z] ---> package-listing.sh [2023-03-03T02:21:24.320Z] ++ facter osfamily [2023-03-03T02:21:24.320Z] ++ tr '[:upper:]' '[:lower:]' [2023-03-03T02:21:24.581Z] + OS_FAMILY=debian [2023-03-03T02:21:24.581Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1345 [2023-03-03T02:21:24.581Z] + START_PACKAGES=/tmp/packages_start.txt [2023-03-03T02:21:24.581Z] + END_PACKAGES=/tmp/packages_end.txt [2023-03-03T02:21:24.581Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-03-03T02:21:24.581Z] + PACKAGES=/tmp/packages_start.txt [2023-03-03T02:21:24.581Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1345 ']' [2023-03-03T02:21:24.581Z] + PACKAGES=/tmp/packages_end.txt [2023-03-03T02:21:24.581Z] + case "${OS_FAMILY}" in [2023-03-03T02:21:24.581Z] + dpkg -l [2023-03-03T02:21:24.581Z] + grep '^ii' [2023-03-03T02:21:24.581Z] + '[' -f /tmp/packages_start.txt ']' [2023-03-03T02:21:24.581Z] + '[' -f /tmp/packages_end.txt ']' [2023-03-03T02:21:24.581Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-03-03T02:21:24.581Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1345 ']' [2023-03-03T02:21:24.581Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1345/archives/ [2023-03-03T02:21:24.581Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1345/archives/ [Pipeline] echo [2023-03-03T02:21:24.799Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-sdk-go_PR-1345/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-03-03T02:21:25.088Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-03T02:21:25.655Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-03T02:21:25.655Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-03T02:21:25.719Z] prd-ubuntu20.04-docker-8c-8g-8140 does not seem to be running inside a container [2023-03-03T02:21:25.759Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-sdk-go_PR-1345/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-sdk-go_PR-1345 -v /w/workspace/gexfoundry_device-sdk-go_PR-1345:/w/workspace/gexfoundry_device-sdk-go_PR-1345:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1345@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1345@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-03T02:21:26.072Z] $ docker top 9bd429f098da5095a21f4d915c475db9d92dc04281dd46562df4672af1f43abf -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-03T02:21:26.426Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-03-03T02:21:26.724Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-03-03T02:21:27.017Z] + ls /var/log/sa-host [2023-03-03T02:21:27.017Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-03T02:21:27.189Z] provisioning config files... [2023-03-03T02:21:27.197Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1345@tmp/config11545044414639960355tmp [Pipeline] { [Pipeline] echo [2023-03-03T02:21:27.211Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-03T02:21:27.498Z] ---> create-netrc.sh [Pipeline] } [2023-03-03T02:21:27.506Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-03-03T02:21:27.857Z] ---> python-tools-install.sh [Pipeline] echo [2023-03-03T02:21:27.868Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-03T02:21:28.173Z] ---> sudo-logs.sh [2023-03-03T02:21:28.173Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-03-03T02:21:28.208Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-03T02:21:28.501Z] ---> job-cost.sh [2023-03-03T02:21:28.501Z] lf-activate-venv: SKIPPING [2023-03-03T02:21:28.501Z] DEBUG: total: 0.2199999988079071 [2023-03-03T02:21:28.501Z] INFO: Retrieving Stack Cost... [2023-03-03T02:21:29.074Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-03T02:21:29.340Z] INFO: Archiving Costs [Pipeline] echo [2023-03-03T02:21:29.354Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-03T02:21:29.640Z] ---> logs-deploy.sh [2023-03-03T02:21:29.640Z] lf-activate-venv: SKIPPING [2023-03-03T02:21:29.640Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1345/4 [2023-03-03T02:21:29.640Z] INFO: archiving workspace using pattern(s): [2023-03-03T02:21:30.577Z] Archives upload complete. [2023-03-03T02:21:30.577Z] INFO: archiving logs to Nexus