Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from fb18e0873d5fe4db098b1d5c7ad5fefef83ec76f+881f10918eb4e60f546b60d89ac5bea6bad2c109 (3406190e346465f6fa8c1d9fc6fe095158325b00) 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-ssh150609357136205312.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-ssh1486502868273365106.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-1288/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-1288/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16537149693855696167.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-ssh1530041324309054180.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-1288/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-1288/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh17578541608519247177.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/v2]] ========================================================= [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/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-4009’ Running on prd-ubuntu20.04-docker-8c-8g-4011 in /w/workspace/gexfoundry_device-sdk-go_PR-1288 [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-1288 # 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/1288/head:refs/remotes/origin/PR-1288 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 881f10918eb4e60f546b60d89ac5bea6bad2c109 into PR head commit fb18e0873d5fe4db098b1d5c7ad5fefef83ec76f Merge succeeded, producing d5411617c9a1071ee082d86be6d748fea9648b65 Checking out Revision d5411617c9a1071ee082d86be6d748fea9648b65 (PR-1288) > git config core.sparsecheckout # timeout=10 > git checkout -f fb18e0873d5fe4db098b1d5c7ad5fefef83ec76f # 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 881f10918eb4e60f546b60d89ac5bea6bad2c109 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d5411617c9a1071ee082d86be6d748fea9648b65 # timeout=10 Commit message: "Merge commit '881f10918eb4e60f546b60d89ac5bea6bad2c109' into HEAD" > git rev-list --no-walk fb18e0873d5fe4db098b1d5c7ad5fefef83ec76f # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-01-30T18:41:48.825Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-01-30T18:41:48.885Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-01-30T18:41:48.903Z] ========================================================= [2023-01-30T18:41:48.903Z] EdgeX Global Pipelines Version Info [2023-01-30T18:41:48.903Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-01-30T18:41:49.640Z] ------------------- [2023-01-30T18:41:49.640Z] stable info: [2023-01-30T18:41:49.640Z] ------------------- [2023-01-30T18:41:49.640Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-01-30T18:41:49.640Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-01-30T18:41:49.640Z] Message: update stable to v1.0.244 [2023-01-30T18:41:50.211Z] ------------------- [2023-01-30T18:41:50.211Z] experimental info: [2023-01-30T18:41:50.211Z] ------------------- [2023-01-30T18:41:50.211Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-01-30T18:41:50.211Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-01-30T18:41:50.211Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-01-30T18:41:50.374Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-01-30T18:41:50.386Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-01-30T18:41:50.404Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-01-30T18:41:50.421Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-01-30T18:41:50.439Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-01-30T18:41:50.457Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-01-30T18:41:50.472Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-01-30T18:41:50.485Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-01-30T18:41:50.497Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-01-30T18:41:50.507Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-01-30T18:41:50.516Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-01-30T18:41:50.525Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-01-30T18:41:50.534Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-01-30T18:41:50.543Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-01-30T18:41:50.553Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-01-30T18:41:50.566Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-01-30T18:41:50.583Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-01-30T18:41:50.593Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-01-30T18:41:50.605Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-01-30T18:41:50.617Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-01-30T18:41:50.630Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-01-30T18:41:50.648Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2023-01-30T18:41:50.665Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-01-30T18:41:50.680Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-01-30T18:41:50.692Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-01-30T18:41:50.704Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-01-30T18:41:50.719Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-01-30T18:41:50.732Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1288 [Pipeline] echo [2023-01-30T18:41:50.749Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1288 [Pipeline] echo [2023-01-30T18:41:50.761Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1288 [Pipeline] echo [2023-01-30T18:41:50.777Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d5411617c9a1071ee082d86be6d748fea9648b65 [Pipeline] echo [2023-01-30T18:41:50.789Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d541161 [Pipeline] echo [2023-01-30T18:41:50.803Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-30T18:41:50.848Z] provisioning config files... [2023-01-30T18:41:50.863Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1288@tmp/config14439829644037809058tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-30T18:41:51.164Z] ---> docker-login.sh [2023-01-30T18:41:51.164Z] nexus3.edgexfoundry.org:10001 [2023-01-30T18:41:51.425Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-30T18:41:51.425Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-30T18:41:51.425Z] Configure a credential helper to remove this warning. See [2023-01-30T18:41:51.425Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-30T18:41:51.425Z] [2023-01-30T18:41:51.425Z] Login Succeeded [2023-01-30T18:41:51.425Z] nexus3.edgexfoundry.org:10002 [2023-01-30T18:41:51.425Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-30T18:41:51.684Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-30T18:41:51.684Z] Configure a credential helper to remove this warning. See [2023-01-30T18:41:51.684Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-30T18:41:51.684Z] [2023-01-30T18:41:51.684Z] Login Succeeded [2023-01-30T18:41:51.684Z] nexus3.edgexfoundry.org:10003 [2023-01-30T18:41:51.684Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-30T18:41:51.684Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-30T18:41:51.684Z] Configure a credential helper to remove this warning. See [2023-01-30T18:41:51.684Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-30T18:41:51.684Z] [2023-01-30T18:41:51.684Z] Login Succeeded [2023-01-30T18:41:51.684Z] nexus3.edgexfoundry.org:10004 [2023-01-30T18:41:51.684Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-30T18:41:51.684Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-30T18:41:51.684Z] Configure a credential helper to remove this warning. See [2023-01-30T18:41:51.684Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-30T18:41:51.684Z] [2023-01-30T18:41:51.684Z] Login Succeeded [2023-01-30T18:41:51.684Z] docker.io [2023-01-30T18:41:51.944Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-30T18:41:51.944Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-30T18:41:51.944Z] Configure a credential helper to remove this warning. See [2023-01-30T18:41:51.944Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-30T18:41:51.944Z] [2023-01-30T18:41:51.944Z] Login Succeeded [2023-01-30T18:41:51.944Z] ---> docker-login.sh ends [Pipeline] } [2023-01-30T18:41:51.953Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-01-30T18:41:52.336Z] + git rev-list -1 --merges d5411617c9a1071ee082d86be6d748fea9648b65~1..d5411617c9a1071ee082d86be6d748fea9648b65 [Pipeline] echo [2023-01-30T18:41:52.376Z] -----------> git rev-list -1 --merges d5411617c9a1071ee082d86be6d748fea9648b65~1..d5411617c9a1071ee082d86be6d748fea9648b65 d5411617c9a1071ee082d86be6d748fea9648b65 [2023-01-30T18:41:52.376Z] d5411617c9a1071ee082d86be6d748fea9648b65 [false] [Pipeline] sh [2023-01-30T18:41:52.657Z] + git log --format=format:%s -1 d5411617c9a1071ee082d86be6d748fea9648b65 [Pipeline] echo [2023-01-30T18:41:52.674Z] ========================================================= [2023-01-30T18:41:52.674Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-01-30T18:41:52.674Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-30T18:41:53.012Z] + git log --format=format:%s -1 d5411617c9a1071ee082d86be6d748fea9648b65 [Pipeline] echo [2023-01-30T18:41:53.023Z] [semverPrep] GIT_COMMIT: d5411617c9a1071ee082d86be6d748fea9648b65, Commit Message: Merge commit '881f10918eb4e60f546b60d89ac5bea6bad2c109' into HEAD [Pipeline] echo [2023-01-30T18:41:53.032Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-01-30T18:41:53.390Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-01-30T18:41:53.390Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-01-30T18:41:53.390Z] + [ -e /tmp/ssh_known_hosts ] [2023-01-30T18:41:53.390Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-01-30T18:41:53.390Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-01-30T18:41:53.390Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-01-30T18:41:53.390Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-30T18:41:53.744Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-30T18:41:53.744Z] [2023-01-30T18:41:53.744Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-30T18:41:54.047Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-30T18:41:54.047Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-01-30T18:41:54.047Z] b85a868b505f: Pulling fs layer [2023-01-30T18:41:54.047Z] e2be974225ed: Pulling fs layer [2023-01-30T18:41:54.047Z] 339a4e72a1f5: Pulling fs layer [2023-01-30T18:41:54.047Z] 988bab9f4d93: Pulling fs layer [2023-01-30T18:41:54.047Z] 1469e6f7b9e6: Pulling fs layer [2023-01-30T18:41:54.047Z] eaf3925da568: Pulling fs layer [2023-01-30T18:41:54.047Z] bab4dde63d76: Pulling fs layer [2023-01-30T18:41:54.047Z] bde34c3a00c8: Pulling fs layer [2023-01-30T18:41:54.047Z] b352a97aabf1: Pulling fs layer [2023-01-30T18:41:54.047Z] 4872d77fe225: Pulling fs layer [2023-01-30T18:41:54.047Z] 5851b861e8e6: Pulling fs layer [2023-01-30T18:41:54.047Z] b352a97aabf1: Waiting [2023-01-30T18:41:54.047Z] 4872d77fe225: Waiting [2023-01-30T18:41:54.047Z] 5851b861e8e6: Waiting [2023-01-30T18:41:54.047Z] bde34c3a00c8: Waiting [2023-01-30T18:41:54.047Z] eaf3925da568: Waiting [2023-01-30T18:41:54.047Z] bab4dde63d76: Waiting [2023-01-30T18:41:54.047Z] 1469e6f7b9e6: Waiting [2023-01-30T18:41:54.047Z] e2be974225ed: Download complete [2023-01-30T18:41:54.047Z] 988bab9f4d93: Verifying Checksum [2023-01-30T18:41:54.047Z] 988bab9f4d93: Download complete [2023-01-30T18:41:54.312Z] 1469e6f7b9e6: Verifying Checksum [2023-01-30T18:41:54.312Z] 1469e6f7b9e6: Download complete [2023-01-30T18:41:54.312Z] eaf3925da568: Verifying Checksum [2023-01-30T18:41:54.312Z] eaf3925da568: Download complete [2023-01-30T18:41:54.312Z] 339a4e72a1f5: Verifying Checksum [2023-01-30T18:41:54.312Z] 339a4e72a1f5: Download complete [2023-01-30T18:41:54.312Z] bde34c3a00c8: Download complete [2023-01-30T18:41:54.312Z] b352a97aabf1: Download complete [2023-01-30T18:41:54.572Z] 4872d77fe225: Verifying Checksum [2023-01-30T18:41:54.572Z] 4872d77fe225: Download complete [2023-01-30T18:41:54.572Z] 5851b861e8e6: Verifying Checksum [2023-01-30T18:41:54.572Z] 5851b861e8e6: Download complete [2023-01-30T18:41:54.572Z] b85a868b505f: Verifying Checksum [2023-01-30T18:41:54.572Z] b85a868b505f: Download complete [2023-01-30T18:41:54.831Z] bab4dde63d76: Verifying Checksum [2023-01-30T18:41:54.831Z] bab4dde63d76: Download complete [2023-01-30T18:41:55.766Z] b85a868b505f: Pull complete [2023-01-30T18:41:55.766Z] e2be974225ed: Pull complete [2023-01-30T18:41:56.333Z] 339a4e72a1f5: Pull complete [2023-01-30T18:41:56.333Z] 988bab9f4d93: Pull complete [2023-01-30T18:41:56.593Z] 1469e6f7b9e6: Pull complete [2023-01-30T18:41:56.593Z] eaf3925da568: Pull complete [2023-01-30T18:41:58.493Z] bab4dde63d76: Pull complete [2023-01-30T18:41:58.493Z] bde34c3a00c8: Pull complete [2023-01-30T18:41:58.493Z] b352a97aabf1: Pull complete [2023-01-30T18:41:58.752Z] 4872d77fe225: Pull complete [2023-01-30T18:41:58.752Z] 5851b861e8e6: Pull complete [2023-01-30T18:41:58.752Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-01-30T18:41:58.752Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-30T18:41:58.752Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-30T18:41:58.833Z] prd-ubuntu20.04-docker-8c-8g-4011 does not seem to be running inside a container [2023-01-30T18:41:58.863Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1288 -v /w/workspace/gexfoundry_device-sdk-go_PR-1288:/w/workspace/gexfoundry_device-sdk-go_PR-1288:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1288@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1288@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-01-30T18:42:01.047Z] $ docker top 2080dab7a270d8d6d15f4c5632b480f7051e50f397fc4fe987fb4ed8bdd7638b -eo pid,comm [2023-01-30T18:42:01.100Z] 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-01-30T18:42:01.100Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-01-30T18:42:01.136Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-30T18:42:01.136Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-30T18:42:01.250Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-30T18:42:01.255Z] $ docker exec 2080dab7a270d8d6d15f4c5632b480f7051e50f397fc4fe987fb4ed8bdd7638b ssh-agent [2023-01-30T18:42:01.359Z] SSH_AUTH_SOCK=/tmp/ssh-iA0TL4ZX5mGB/agent.33 [2023-01-30T18:42:01.359Z] SSH_AGENT_PID=39 [2023-01-30T18:42:01.365Z] Running ssh-add (command line suppressed) [2023-01-30T18:42:01.459Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1288@tmp/private_key_7050165565033698514.key (/w/workspace/gexfoundry_device-sdk-go_PR-1288@tmp/private_key_7050165565033698514.key) [2023-01-30T18:42:01.470Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-30T18:42:01.756Z] + git tag --points-at HEAD [Pipeline] } [2023-01-30T18:42:01.776Z] $ docker exec --env ******** --env ******** 2080dab7a270d8d6d15f4c5632b480f7051e50f397fc4fe987fb4ed8bdd7638b ssh-agent -k [2023-01-30T18:42:01.874Z] unset SSH_AUTH_SOCK; [2023-01-30T18:42:01.874Z] unset SSH_AGENT_PID; [2023-01-30T18:42:01.874Z] echo Agent pid 39 killed; [2023-01-30T18:42:01.881Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-01-30T18:42:01.912Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-30T18:42:01.912Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-30T18:42:02.030Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-30T18:42:02.035Z] $ docker exec 2080dab7a270d8d6d15f4c5632b480f7051e50f397fc4fe987fb4ed8bdd7638b ssh-agent [2023-01-30T18:42:02.152Z] SSH_AUTH_SOCK=/tmp/ssh-t6pSlJCRYMIA/agent.71 [2023-01-30T18:42:02.152Z] SSH_AGENT_PID=77 [2023-01-30T18:42:02.157Z] Running ssh-add (command line suppressed) [2023-01-30T18:42:02.250Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1288@tmp/private_key_5056807448809566979.key (/w/workspace/gexfoundry_device-sdk-go_PR-1288@tmp/private_key_5056807448809566979.key) [2023-01-30T18:42:02.262Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-30T18:42:02.549Z] + git semver init [2023-01-30T18:42:02.808Z] 2023-01-30 18:42:02,723 [run_init] DEBUG init version:0.0.0 force:False [2023-01-30T18:42:02.808Z] 2023-01-30 18:42:02,724 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1288/.semver [2023-01-30T18:42:02.808Z] 2023-01-30 18:42:02,724 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1288/.semver [2023-01-30T18:42:02.809Z] 2023-01-30 18:42:02,725 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1288/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1288, universal_newlines=False, shell=None, istream=None) [2023-01-30T18:42:03.816Z] 2023-01-30 18:42:03,693 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1288/.git/info/exclude [2023-01-30T18:42:03.816Z] 2023-01-30 18:42:03,694 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1288/.semver/PR-1288 with force:False [2023-01-30T18:42:03.816Z] 2023-01-30 18:42:03,694 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1288/.semver/PR-1288 [2023-01-30T18:42:03.816Z] 2023-01-30 18:42:03,698 [execute] INFO git cat-file --batch-check [2023-01-30T18:42:03.816Z] 2023-01-30 18:42:03,698 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1288/.semver, universal_newlines=False, shell=None, istream=) [2023-01-30T18:42:03.816Z] 2023-01-30 18:42:03,704 [execute] INFO git cat-file --batch [2023-01-30T18:42:03.816Z] 2023-01-30 18:42:03,704 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1288/.semver, universal_newlines=False, shell=None, istream=) [2023-01-30T18:42:03.816Z] 2023-01-30 18:42:03,708 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1288/.semver/PR-1288 [2023-01-30T18:42:03.816Z] 0.0.0 [Pipeline] } [2023-01-30T18:42:03.829Z] $ docker exec --env ******** --env ******** 2080dab7a270d8d6d15f4c5632b480f7051e50f397fc4fe987fb4ed8bdd7638b ssh-agent -k [2023-01-30T18:42:03.923Z] unset SSH_AUTH_SOCK; [2023-01-30T18:42:03.926Z] unset SSH_AGENT_PID; [2023-01-30T18:42:03.926Z] echo Agent pid 77 killed; [2023-01-30T18:42:03.931Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-01-30T18:42:04.227Z] + git semver [Pipeline] } [2023-01-30T18:42:04.502Z] $ docker stop --time=1 2080dab7a270d8d6d15f4c5632b480f7051e50f397fc4fe987fb4ed8bdd7638b [2023-01-30T18:42:05.761Z] $ docker rm -f --volumes 2080dab7a270d8d6d15f4c5632b480f7051e50f397fc4fe987fb4ed8bdd7638b [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-30T18:42:06.085Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-01-30T18:42:06.265Z] Stashed 1 file(s) [Pipeline] echo [2023-01-30T18:42:06.269Z] [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-01-30T18:42:06.413Z] provisioning config files... [2023-01-30T18:42:06.421Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1288@tmp/config11475032845616360231tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-30T18:42:06.717Z] ---> docker-login.sh [2023-01-30T18:42:06.717Z] nexus3.edgexfoundry.org:10001 [2023-01-30T18:42:06.717Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-30T18:42:06.717Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-30T18:42:06.717Z] Configure a credential helper to remove this warning. See [2023-01-30T18:42:06.717Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-30T18:42:06.717Z] [2023-01-30T18:42:06.717Z] Login Succeeded [2023-01-30T18:42:06.717Z] nexus3.edgexfoundry.org:10002 [2023-01-30T18:42:06.717Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-30T18:42:06.717Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-30T18:42:06.717Z] Configure a credential helper to remove this warning. See [2023-01-30T18:42:06.717Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-30T18:42:06.717Z] [2023-01-30T18:42:06.717Z] Login Succeeded [2023-01-30T18:42:06.717Z] nexus3.edgexfoundry.org:10003 [2023-01-30T18:42:06.977Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-30T18:42:06.977Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-30T18:42:06.977Z] Configure a credential helper to remove this warning. See [2023-01-30T18:42:06.977Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-30T18:42:06.977Z] [2023-01-30T18:42:06.977Z] Login Succeeded [2023-01-30T18:42:06.977Z] nexus3.edgexfoundry.org:10004 [2023-01-30T18:42:06.977Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-30T18:42:06.977Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-30T18:42:06.977Z] Configure a credential helper to remove this warning. See [2023-01-30T18:42:06.977Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-30T18:42:06.977Z] [2023-01-30T18:42:06.977Z] Login Succeeded [2023-01-30T18:42:06.977Z] docker.io [2023-01-30T18:42:06.977Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-30T18:42:07.235Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-30T18:42:07.235Z] Configure a credential helper to remove this warning. See [2023-01-30T18:42:07.235Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-30T18:42:07.235Z] [2023-01-30T18:42:07.235Z] Login Succeeded [2023-01-30T18:42:07.235Z] ---> docker-login.sh ends [Pipeline] } [2023-01-30T18:42:07.242Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-01-30T18:42:07.338Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-30T18:42:07.357Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-30T18:42:07.364Z] ========================================================= [2023-01-30T18:42:07.364Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-01-30T18:42:07.364Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-30T18:42:07.670Z] + 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-01-30T18:42:07.670Z] Sending build context to Docker daemon 10.54MB [2023-01-30T18:42:07.670Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-01-30T18:42:07.670Z] Step 2/10 : FROM ${BASE} AS builder [2023-01-30T18:42:07.670Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-01-30T18:42:07.670Z] 213ec9aee27d: Pulling fs layer [2023-01-30T18:42:07.670Z] 4583459ba037: Pulling fs layer [2023-01-30T18:42:07.670Z] 93c1e223e6f2: Pulling fs layer [2023-01-30T18:42:07.670Z] 53926ce57604: Pulling fs layer [2023-01-30T18:42:07.670Z] 21b2b0c7a3f4: Pulling fs layer [2023-01-30T18:42:07.670Z] 22ff95d597cd: Pulling fs layer [2023-01-30T18:42:07.670Z] 12d6caf4c0d1: Pulling fs layer [2023-01-30T18:42:07.670Z] 96b7cbca73a9: Pulling fs layer [2023-01-30T18:42:07.670Z] a7acece74701: Pulling fs layer [2023-01-30T18:42:07.670Z] 22ff95d597cd: Waiting [2023-01-30T18:42:07.670Z] 12d6caf4c0d1: Waiting [2023-01-30T18:42:07.670Z] 96b7cbca73a9: Waiting [2023-01-30T18:42:07.670Z] 53926ce57604: Waiting [2023-01-30T18:42:07.670Z] 21b2b0c7a3f4: Waiting [2023-01-30T18:42:07.670Z] a7acece74701: Waiting [2023-01-30T18:42:07.932Z] 93c1e223e6f2: Download complete [2023-01-30T18:42:07.932Z] 4583459ba037: Verifying Checksum [2023-01-30T18:42:07.932Z] 4583459ba037: Download complete [2023-01-30T18:42:07.932Z] 21b2b0c7a3f4: Verifying Checksum [2023-01-30T18:42:07.932Z] 21b2b0c7a3f4: Download complete [2023-01-30T18:42:07.932Z] 22ff95d597cd: Download complete [2023-01-30T18:42:07.932Z] 213ec9aee27d: Verifying Checksum [2023-01-30T18:42:07.932Z] 213ec9aee27d: Download complete [2023-01-30T18:42:07.932Z] 12d6caf4c0d1: Verifying Checksum [2023-01-30T18:42:07.932Z] 12d6caf4c0d1: Download complete [2023-01-30T18:42:08.198Z] 213ec9aee27d: Pull complete [2023-01-30T18:42:08.198Z] 4583459ba037: Pull complete [2023-01-30T18:42:08.481Z] 93c1e223e6f2: Pull complete [2023-01-30T18:42:09.091Z] a7acece74701: Verifying Checksum [2023-01-30T18:42:09.091Z] a7acece74701: Download complete [2023-01-30T18:42:09.091Z] 53926ce57604: Verifying Checksum [2023-01-30T18:42:09.091Z] 53926ce57604: Download complete [2023-01-30T18:42:09.349Z] 96b7cbca73a9: Verifying Checksum [2023-01-30T18:42:09.349Z] 96b7cbca73a9: Download complete [2023-01-30T18:42:12.629Z] 53926ce57604: Pull complete [2023-01-30T18:42:12.629Z] 21b2b0c7a3f4: Pull complete [2023-01-30T18:42:12.629Z] 22ff95d597cd: Pull complete [2023-01-30T18:42:12.629Z] 12d6caf4c0d1: Pull complete [2023-01-30T18:42:14.529Z] 96b7cbca73a9: Pull complete [2023-01-30T18:42:15.095Z] a7acece74701: Pull complete [2023-01-30T18:42:15.095Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-01-30T18:42:15.095Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-01-30T18:42:15.095Z] ---> db6d94c90886 [2023-01-30T18:42:15.095Z] Step 3/10 : ARG MAKE=make build [2023-01-30T18:42:19.286Z] ---> Running in e8a38084dc73 [2023-01-30T18:42:19.286Z] Removing intermediate container e8a38084dc73 [2023-01-30T18:42:19.286Z] ---> 4561d9040bf1 [2023-01-30T18:42:19.286Z] Step 4/10 : WORKDIR /device-sdk-go [2023-01-30T18:42:19.286Z] ---> Running in c4e0bcf84071 [2023-01-30T18:42:19.286Z] Removing intermediate container c4e0bcf84071 [2023-01-30T18:42:19.286Z] ---> b9c9e9ed3988 [2023-01-30T18:42:19.286Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-01-30T18:42:19.286Z] ---> Running in 329cc7fcbd70 [2023-01-30T18:42:19.286Z] Removing intermediate container 329cc7fcbd70 [2023-01-30T18:42:19.286Z] ---> 0f1a743f96c9 [2023-01-30T18:42:19.286Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-01-30T18:42:19.286Z] ---> Running in 9bc4ccf9f038 [2023-01-30T18:42:19.545Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-30T18:42:19.804Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-30T18:42:20.063Z] OK: 211 MiB in 51 packages [2023-01-30T18:42:20.321Z] Removing intermediate container 9bc4ccf9f038 [2023-01-30T18:42:20.321Z] ---> 173b26f0799c [2023-01-30T18:42:20.321Z] Step 7/10 : COPY go.mod vendor* ./ [2023-01-30T18:42:20.321Z] ---> f7fddae51d76 [2023-01-30T18:42:20.321Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-30T18:42:20.321Z] ---> Running in ee7a88600e25 [2023-01-30T18:42:21.377Z] Still waiting to schedule task [2023-01-30T18:42:21.377Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-4010’ [2023-01-30T18:43:07.008Z] Removing intermediate container ee7a88600e25 [2023-01-30T18:43:07.008Z] ---> eb08c1c7ad49 [2023-01-30T18:43:07.008Z] Step 9/10 : COPY . . [2023-01-30T18:43:07.008Z] ---> ae053fd06c34 [2023-01-30T18:43:07.008Z] Step 10/10 : RUN ${MAKE} [2023-01-30T18:43:07.008Z] ---> Running in 46a65053710f [2023-01-30T18:43:07.008Z] noop [2023-01-30T18:43:07.008Z] Removing intermediate container 46a65053710f [2023-01-30T18:43:07.008Z] ---> 0ca1270bf6e5 [2023-01-30T18:43:07.008Z] Successfully built 0ca1270bf6e5 [2023-01-30T18:43:07.008Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-30T18:43:07.322Z] + docker inspect -f . ci-base-image-x86_64 [2023-01-30T18:43:07.322Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-30T18:43:07.396Z] prd-ubuntu20.04-docker-8c-8g-4011 does not seem to be running inside a container [2023-01-30T18:43:07.425Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1288 -v /w/workspace/gexfoundry_device-sdk-go_PR-1288:/w/workspace/gexfoundry_device-sdk-go_PR-1288:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1288@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1288@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 ******** ci-base-image-x86_64 cat [2023-01-30T18:43:07.753Z] $ docker top c5d134774975886e3fe51d6c3d294d99e6dfb8218f73a0e11b564a29ebbe66f6 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-30T18:43:08.089Z] + go version [2023-01-30T18:43:08.090Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-01-30T18:43:08.102Z] $ docker stop --time=1 c5d134774975886e3fe51d6c3d294d99e6dfb8218f73a0e11b564a29ebbe66f6 [2023-01-30T18:43:09.350Z] $ docker rm -f --volumes c5d134774975886e3fe51d6c3d294d99e6dfb8218f73a0e11b564a29ebbe66f6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-30T18:43:09.774Z] + docker inspect -f . ci-base-image-x86_64 [2023-01-30T18:43:09.774Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-30T18:43:09.867Z] prd-ubuntu20.04-docker-8c-8g-4011 does not seem to be running inside a container [2023-01-30T18:43:09.902Z] $ 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-1288 -v /w/workspace/gexfoundry_device-sdk-go_PR-1288:/w/workspace/gexfoundry_device-sdk-go_PR-1288:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1288@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1288@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 ******** ci-base-image-x86_64 cat [2023-01-30T18:43:10.217Z] $ docker top c2992bcdc91907bc02e60abfa0f8919fe35a0eebdf32fdac1868f6c6a53981fb -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-30T18:43:10.593Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1288 [Pipeline] fileExists [Pipeline] sh [2023-01-30T18:43:10.889Z] + make test [2023-01-30T18:43:10.890Z] go test -race -coverprofile=coverage.out ./... [2023-01-30T18:43:17.448Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-01-30T18:43:29.634Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-01-30T18:43:29.634Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-01-30T18:43:29.634Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-01-30T18:43:29.634Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-01-30T18:43:29.634Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-01-30T18:43:29.634Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.056s coverage: 27.6% of statements [2023-01-30T18:43:29.634Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.103s coverage: 78.9% of statements [2023-01-30T18:43:29.634Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] [2023-01-30T18:43:29.634Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.092s coverage: 73.6% of statements [2023-01-30T18:43:29.634Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-01-30T18:43:29.634Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-01-30T18:43:30.200Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.106s coverage: 60.6% of statements [2023-01-30T18:43:30.200Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-01-30T18:43:30.200Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [no test files] [2023-01-30T18:43:30.200Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-01-30T18:43:30.200Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/telemetry [no test files] [2023-01-30T18:43:30.200Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.102s coverage: 65.1% of statements [2023-01-30T18:43:30.200Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-01-30T18:43:30.200Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-01-30T18:43:30.200Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.755s coverage: 89.2% of statements [2023-01-30T18:43:30.200Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] [2023-01-30T18:43:30.200Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.056s coverage: 4.6% of statements [2023-01-30T18:43:30.200Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-01-30T18:43:45.063Z] 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-01-30T18:43:45.063Z] GO111MODULE=on go vet ./... [2023-01-30T18:43:46.436Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-01-30T18:43:46.436Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-01-30T18:43:46.436Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-01-30T18:43:46.707Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-01-30T18:43:46.719Z] $ docker stop --time=1 c2992bcdc91907bc02e60abfa0f8919fe35a0eebdf32fdac1868f6c6a53981fb [2023-01-30T18:43:50.030Z] $ docker rm -f --volumes c2992bcdc91907bc02e60abfa0f8919fe35a0eebdf32fdac1868f6c6a53981fb [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-30T18:43:50.518Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-01-30T18:43:50.578Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-01-30T18:43:51.023Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-01-30T18:43:51.311Z] + ls -al . [2023-01-30T18:43:51.311Z] total 272 [2023-01-30T18:43:51.311Z] drwxrwxr-x 11 jenkins jenkins 4096 Jan 30 18:43 . [2023-01-30T18:43:51.311Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 30 18:41 .. [2023-01-30T18:43:51.311Z] -rw-rw-r-- 1 jenkins jenkins 140 Jan 30 18:41 .dockerignore [2023-01-30T18:43:51.311Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 30 18:43 .git [2023-01-30T18:43:51.311Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 30 18:41 .github [2023-01-30T18:43:51.311Z] -rw-rw-r-- 1 jenkins jenkins 131 Jan 30 18:41 .gitignore [2023-01-30T18:43:51.311Z] -rw-rw-r-- 1 jenkins jenkins 42 Jan 30 18:41 .golangci.yml [2023-01-30T18:43:51.311Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 30 18:42 .semver [2023-01-30T18:43:51.311Z] -rw-rw-r-- 1 jenkins jenkins 31677 Jan 30 18:41 CHANGELOG.md [2023-01-30T18:43:51.311Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 30 18:41 GOVERNANCE.md [2023-01-30T18:43:51.311Z] -rw-rw-r-- 1 jenkins jenkins 880 Jan 30 18:41 Jenkinsfile [2023-01-30T18:43:51.311Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jan 30 18:41 LICENSE [2023-01-30T18:43:51.311Z] -rw-rw-r-- 1 jenkins jenkins 1679 Jan 30 18:41 Makefile [2023-01-30T18:43:51.311Z] -rw-rw-r-- 1 jenkins jenkins 619 Jan 30 18:41 OWNERS.md [2023-01-30T18:43:51.311Z] -rw-rw-r-- 1 jenkins jenkins 4891 Jan 30 18:41 README.md [2023-01-30T18:43:51.311Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 30 18:42 VERSION [2023-01-30T18:43:51.311Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 30 18:41 bin [2023-01-30T18:43:51.311Z] -rw-r--r-- 1 jenkins jenkins 100832 Jan 30 18:43 coverage.out [2023-01-30T18:43:51.311Z] drwxrwxr-x 5 jenkins jenkins 4096 Jan 30 18:41 example [2023-01-30T18:43:51.311Z] -rw-rw-r-- 1 jenkins jenkins 3307 Jan 30 18:41 go.mod [2023-01-30T18:43:51.311Z] -rw-rw-r-- 1 jenkins jenkins 34396 Jan 30 18:41 go.sum [2023-01-30T18:43:51.311Z] drwxrwxr-x 14 jenkins jenkins 4096 Jan 30 18:41 internal [2023-01-30T18:43:51.311Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 30 18:41 openapi [2023-01-30T18:43:51.311Z] drwxrwxr-x 6 jenkins jenkins 4096 Jan 30 18:41 pkg [2023-01-30T18:43:51.311Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 30 18:41 snap [2023-01-30T18:43:51.312Z] -rw-rw-r-- 1 jenkins jenkins 222 Jan 30 18:41 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-30T18:43:51.615Z] + docker build -t device-sdk-simple -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=d5411617c9a1071ee082d86be6d748fea9648b65 --label arch=amd64 --label version=0.0.0 . [2023-01-30T18:43:51.615Z] Sending build context to Docker daemon 10.64MB [2023-01-30T18:43:51.615Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2023-01-30T18:43:51.615Z] Step 2/23 : FROM ${BASE} AS builder [2023-01-30T18:43:51.615Z] ---> 0ca1270bf6e5 [2023-01-30T18:43:51.615Z] Step 3/23 : ARG MAKE=make build [2023-01-30T18:43:51.873Z] ---> Running in 51bb64d2a821 [2023-01-30T18:43:51.873Z] Removing intermediate container 51bb64d2a821 [2023-01-30T18:43:51.873Z] ---> 416d1f96b4c6 [2023-01-30T18:43:51.873Z] Step 4/23 : WORKDIR /device-sdk-go [2023-01-30T18:43:51.873Z] ---> Running in dfcbac61ba0c [2023-01-30T18:43:51.873Z] Removing intermediate container dfcbac61ba0c [2023-01-30T18:43:51.873Z] ---> 342dedc30726 [2023-01-30T18:43:51.873Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-01-30T18:43:52.133Z] ---> Running in 0d8dc046f22c [2023-01-30T18:43:52.133Z] Removing intermediate container 0d8dc046f22c [2023-01-30T18:43:52.133Z] ---> 9b70164d1a14 [2023-01-30T18:43:52.133Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-01-30T18:43:52.133Z] ---> Running in 194b714aac8a [2023-01-30T18:43:52.393Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-30T18:43:52.393Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-30T18:43:52.653Z] OK: 211 MiB in 51 packages [2023-01-30T18:43:53.222Z] Removing intermediate container 194b714aac8a [2023-01-30T18:43:53.222Z] ---> 70a5448cb1f1 [2023-01-30T18:43:53.222Z] Step 7/23 : COPY go.mod vendor* ./ [2023-01-30T18:43:53.222Z] ---> b8edcbe7e319 [2023-01-30T18:43:53.222Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-30T18:43:53.222Z] ---> Running in ae8242214272 [2023-01-30T18:43:53.793Z] Removing intermediate container ae8242214272 [2023-01-30T18:43:53.793Z] ---> 85680643b6cd [2023-01-30T18:43:53.793Z] Step 9/23 : COPY . . [2023-01-30T18:43:54.360Z] ---> e5412a19a29d [2023-01-30T18:43:54.360Z] Step 10/23 : RUN ${MAKE} [2023-01-30T18:43:54.360Z] ---> Running in 3c21232de1b6 [2023-01-30T18:43:54.619Z] 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-01-30T18:44:12.750Z] Removing intermediate container 3c21232de1b6 [2023-01-30T18:44:12.750Z] ---> 3c116811b847 [2023-01-30T18:44:12.750Z] Step 11/23 : FROM alpine:3.16 [2023-01-30T18:44:12.750Z] 3.16: Pulling from library/alpine [2023-01-30T18:44:12.750Z] ca7dd9ec2225: Pulling fs layer [2023-01-30T18:44:12.750Z] ca7dd9ec2225: Verifying Checksum [2023-01-30T18:44:12.750Z] ca7dd9ec2225: Download complete [2023-01-30T18:44:12.750Z] ca7dd9ec2225: Pull complete [2023-01-30T18:44:12.750Z] Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b [2023-01-30T18:44:12.750Z] Status: Downloaded newer image for alpine:3.16 [2023-01-30T18:44:12.750Z] ---> bfe296a52501 [2023-01-30T18:44:12.750Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-01-30T18:44:13.009Z] ---> Running in a76f2bb2a4e4 [2023-01-30T18:44:13.009Z] Removing intermediate container a76f2bb2a4e4 [2023-01-30T18:44:13.009Z] ---> 45e2e6315011 [2023-01-30T18:44:13.009Z] Step 13/23 : RUN apk add --update --no-cache [2023-01-30T18:44:13.009Z] ---> Running in a16b861cb642 [2023-01-30T18:44:13.268Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-30T18:44:13.526Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-30T18:44:13.784Z] OK: 6 MiB in 14 packages [2023-01-30T18:44:14.043Z] Removing intermediate container a16b861cb642 [2023-01-30T18:44:14.043Z] ---> 3aac31feccff [2023-01-30T18:44:14.043Z] Step 14/23 : WORKDIR / [2023-01-30T18:44:14.043Z] ---> Running in 2b43fdab5a9d [2023-01-30T18:44:14.043Z] Removing intermediate container 2b43fdab5a9d [2023-01-30T18:44:14.043Z] ---> e440182a9a72 [2023-01-30T18:44:14.043Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-01-30T18:44:14.043Z] ---> e06d04499aec [2023-01-30T18:44:14.043Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-01-30T18:44:14.977Z] ---> b971b55e75d3 [2023-01-30T18:44:14.977Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-01-30T18:44:14.977Z] ---> 8e4539f2d680 [2023-01-30T18:44:14.977Z] Step 18/23 : EXPOSE 59999 [2023-01-30T18:44:14.977Z] ---> Running in b3f4fa5d8504 [2023-01-30T18:44:14.977Z] Removing intermediate container b3f4fa5d8504 [2023-01-30T18:44:14.977Z] ---> 9e4609f07411 [2023-01-30T18:44:14.977Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-01-30T18:44:14.977Z] ---> Running in c3788bafb1fc [2023-01-30T18:44:15.236Z] Removing intermediate container c3788bafb1fc [2023-01-30T18:44:15.236Z] ---> f49444ce4964 [2023-01-30T18:44:15.236Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-01-30T18:44:15.236Z] ---> Running in 8692115a3815 [2023-01-30T18:44:15.236Z] Removing intermediate container 8692115a3815 [2023-01-30T18:44:15.236Z] ---> 428b71a66bee [2023-01-30T18:44:15.236Z] Step 21/23 : LABEL arch=amd64 [2023-01-30T18:44:15.236Z] ---> Running in 7394a5373ad7 [2023-01-30T18:44:15.236Z] Removing intermediate container 7394a5373ad7 [2023-01-30T18:44:15.236Z] ---> 68149bbc50ca [2023-01-30T18:44:15.236Z] Step 22/23 : LABEL git_sha=d5411617c9a1071ee082d86be6d748fea9648b65 [2023-01-30T18:44:15.236Z] ---> Running in 0e1213832834 [2023-01-30T18:44:15.494Z] Removing intermediate container 0e1213832834 [2023-01-30T18:44:15.494Z] ---> eceab16ff5b8 [2023-01-30T18:44:15.494Z] Step 23/23 : LABEL version=0.0.0 [2023-01-30T18:44:15.494Z] ---> Running in 868e80932066 [2023-01-30T18:44:15.494Z] Removing intermediate container 868e80932066 [2023-01-30T18:44:15.494Z] ---> fbfa70a37d86 [2023-01-30T18:44:15.494Z] [Warning] One or more build-args [ARCH] were not consumed [2023-01-30T18:44:15.494Z] Successfully built fbfa70a37d86 [2023-01-30T18:44:15.494Z] Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-30T18:44:15.914Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-30T18:44:15.914Z] [2023-01-30T18:44:15.914Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-30T18:44:16.208Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-30T18:44:16.208Z] latest: Pulling from edgex-lftools-log-publisher [2023-01-30T18:44:16.208Z] 5eb5b503b376: Pulling fs layer [2023-01-30T18:44:16.208Z] 5c69ac0246d0: Pulling fs layer [2023-01-30T18:44:16.208Z] ec43610c2a17: Pulling fs layer [2023-01-30T18:44:16.208Z] 3a2ae6a8a46f: Pulling fs layer [2023-01-30T18:44:16.208Z] 33b1e0a273af: Pulling fs layer [2023-01-30T18:44:16.208Z] 5d3b04190fa2: Pulling fs layer [2023-01-30T18:44:16.208Z] 2f39f015ded8: Pulling fs layer [2023-01-30T18:44:16.208Z] 5d3b04190fa2: Waiting [2023-01-30T18:44:16.208Z] 3a2ae6a8a46f: Waiting [2023-01-30T18:44:16.208Z] 33b1e0a273af: Waiting [2023-01-30T18:44:16.209Z] 2f39f015ded8: Waiting [2023-01-30T18:44:16.209Z] 5c69ac0246d0: Download complete [2023-01-30T18:44:16.209Z] 3a2ae6a8a46f: Download complete [2023-01-30T18:44:16.470Z] 33b1e0a273af: Verifying Checksum [2023-01-30T18:44:16.470Z] 33b1e0a273af: Download complete [2023-01-30T18:44:16.470Z] 5d3b04190fa2: Verifying Checksum [2023-01-30T18:44:16.470Z] 5d3b04190fa2: Download complete [2023-01-30T18:44:16.470Z] ec43610c2a17: Verifying Checksum [2023-01-30T18:44:16.470Z] ec43610c2a17: Download complete [2023-01-30T18:44:16.728Z] 5eb5b503b376: Verifying Checksum [2023-01-30T18:44:16.728Z] 5eb5b503b376: Download complete [2023-01-30T18:44:17.293Z] 2f39f015ded8: Verifying Checksum [2023-01-30T18:44:17.293Z] 2f39f015ded8: Download complete [2023-01-30T18:44:17.551Z] 5eb5b503b376: Pull complete [2023-01-30T18:44:17.808Z] 5c69ac0246d0: Pull complete [2023-01-30T18:44:18.067Z] ec43610c2a17: Pull complete [2023-01-30T18:44:18.325Z] 3a2ae6a8a46f: Pull complete [2023-01-30T18:44:18.325Z] 33b1e0a273af: Pull complete [2023-01-30T18:44:18.325Z] 5d3b04190fa2: Pull complete [2023-01-30T18:44:22.502Z] 2f39f015ded8: Pull complete [2023-01-30T18:44:22.502Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-01-30T18:44:22.502Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-30T18:44:22.502Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-30T18:44:22.587Z] prd-ubuntu20.04-docker-8c-8g-4011 does not seem to be running inside a container [2023-01-30T18:44:22.614Z] $ 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-1288 -v /w/workspace/gexfoundry_device-sdk-go_PR-1288:/w/workspace/gexfoundry_device-sdk-go_PR-1288:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1288@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1288@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-01-30T18:44:25.363Z] $ docker top 5ef1c079c844ef89700dcf46e0a408e1a972c946d50bc1d522d91f67d4a06347 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-30T18:44:25.730Z] ---> job-cost.sh [2023-01-30T18:44:25.730Z] lf-activate-venv: SKIPPING [2023-01-30T18:44:25.730Z] INFO: No Stack... [2023-01-30T18:44:25.989Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-01-30T18:44:26.559Z] INFO: Archiving Costs [Pipeline] sh [2023-01-30T18:44:26.846Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1288/archives/cost.csv [2023-01-30T18:44:26.846Z] + cut -d, -f6 [Pipeline] lock [2023-01-30T18:44:26.860Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1288-2-stack-cost] [2023-01-30T18:44:26.865Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1288-2-stack-cost] did not exist. Created. [2023-01-30T18:44:26.865Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1288-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-01-30T18:44:27.166Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-01-30T18:44:27.189Z] Stashed 1 file(s) [Pipeline] } [2023-01-30T18:44:27.194Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1288-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-01-30T18:44:27.212Z] $ docker stop --time=1 5ef1c079c844ef89700dcf46e0a408e1a972c946d50bc1d522d91f67d4a06347 [2023-01-30T18:44:28.370Z] $ docker rm -f --volumes 5ef1c079c844ef89700dcf46e0a408e1a972c946d50bc1d522d91f67d4a06347 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-01-30T18:44:48.481Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-4014 in /w/workspace/gexfoundry_device-sdk-go_PR-1288 [Pipeline] { [Pipeline] ws [2023-01-30T18:44:48.501Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2023-01-30T18:44:48.543Z] The recommended git tool is: git [2023-01-30T18:44:54.398Z] using credential edgex-jenkins-ssh [2023-01-30T18:44:54.414Z] Cloning the remote Git repository [2023-01-30T18:44:54.467Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-01-30T18:44:54.549Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2023-01-30T18:44:54.716Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-01-30T18:44:54.717Z] > git --version # timeout=10 [2023-01-30T18:44:54.738Z] > git --version # 'git version 2.25.1' [2023-01-30T18:44:54.740Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-30T18:44:54.818Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-01-30T18:44:56.672Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-01-30T18:44:56.698Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-01-30T18:44:58.417Z] Merging remotes/origin/main commit 881f10918eb4e60f546b60d89ac5bea6bad2c109 into PR head commit fb18e0873d5fe4db098b1d5c7ad5fefef83ec76f [2023-01-30T18:44:58.805Z] Merge succeeded, producing 5e6c4f06f7271691e1778228ef9a0bf29e468f5e [2023-01-30T18:44:58.806Z] Checking out Revision 5e6c4f06f7271691e1778228ef9a0bf29e468f5e (PR-1288) [2023-01-30T18:44:57.739Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-01-30T18:44:57.791Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-01-30T18:44:57.792Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-30T18:44:57.809Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1288/head:refs/remotes/origin/PR-1288 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-01-30T18:44:58.443Z] > git config core.sparsecheckout # timeout=10 [2023-01-30T18:44:58.467Z] > git checkout -f fb18e0873d5fe4db098b1d5c7ad5fefef83ec76f # timeout=10 [2023-01-30T18:44:58.599Z] > git remote # timeout=10 [2023-01-30T18:44:58.624Z] > git config --get remote.origin.url # timeout=10 [2023-01-30T18:44:58.646Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-30T18:44:58.663Z] > git merge 881f10918eb4e60f546b60d89ac5bea6bad2c109 # timeout=10 [2023-01-30T18:44:58.788Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-01-30T18:44:58.815Z] > git config core.sparsecheckout # timeout=10 [2023-01-30T18:44:58.831Z] > git checkout -f 5e6c4f06f7271691e1778228ef9a0bf29e468f5e # timeout=10 [2023-01-30T18:45:02.535Z] Commit message: "Merge commit '881f10918eb4e60f546b60d89ac5bea6bad2c109' into HEAD" [2023-01-30T18:45:02.553Z] > git rev-list --no-walk fb18e0873d5fe4db098b1d5c7ad5fefef83ec76f # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-30T18:45:03.679Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-01-30T18:45:03.679Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-01-30T18:45:03.679Z] Dload Upload Total Spent Left Speed [2023-01-30T18:45:03.679Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 87335 0 --:--:-- --:--:-- --:--:-- 87335 [Pipeline] sh [2023-01-30T18:45:04.385Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-01-30T18:45:04.740Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-01-30T18:45:04.740Z] + sudo tee /etc/docker/daemon.new [2023-01-30T18:45:04.740Z] { [2023-01-30T18:45:04.740Z] "registry-mirrors": [ [2023-01-30T18:45:04.740Z] "https://nexus3.edgexfoundry.org:10001" [2023-01-30T18:45:04.740Z] ], [2023-01-30T18:45:04.740Z] "bip": "10.250.0.254/24", [2023-01-30T18:45:04.740Z] "hosts": [ [2023-01-30T18:45:04.740Z] "tcp://0.0.0.0:5555", [2023-01-30T18:45:04.740Z] "unix:///var/run/docker.sock" [2023-01-30T18:45:04.740Z] ], [2023-01-30T18:45:04.740Z] "mtu": 1458, [2023-01-30T18:45:04.740Z] "selinux-enabled": true, [2023-01-30T18:45:04.740Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-01-30T18:45:04.740Z] } [Pipeline] sh [2023-01-30T18:45:05.081Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-01-30T18:45:05.414Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-30T18:45:23.704Z] provisioning config files... [2023-01-30T18:45:23.730Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config649069996507073918tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-30T18:45:24.086Z] ---> docker-login.sh [2023-01-30T18:45:24.086Z] nexus3.edgexfoundry.org:10001 [2023-01-30T18:45:24.681Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-30T18:45:24.681Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-30T18:45:24.681Z] Configure a credential helper to remove this warning. See [2023-01-30T18:45:24.681Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-30T18:45:24.681Z] [2023-01-30T18:45:24.681Z] Login Succeeded [2023-01-30T18:45:24.681Z] nexus3.edgexfoundry.org:10002 [2023-01-30T18:45:24.954Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-30T18:45:25.226Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-30T18:45:25.227Z] Configure a credential helper to remove this warning. See [2023-01-30T18:45:25.227Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-30T18:45:25.227Z] [2023-01-30T18:45:25.227Z] Login Succeeded [2023-01-30T18:45:25.227Z] nexus3.edgexfoundry.org:10003 [2023-01-30T18:45:25.498Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-30T18:45:25.498Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-30T18:45:25.498Z] Configure a credential helper to remove this warning. See [2023-01-30T18:45:25.498Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-30T18:45:25.498Z] [2023-01-30T18:45:25.498Z] Login Succeeded [2023-01-30T18:45:25.498Z] nexus3.edgexfoundry.org:10004 [2023-01-30T18:45:25.771Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-30T18:45:26.046Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-30T18:45:26.046Z] Configure a credential helper to remove this warning. See [2023-01-30T18:45:26.046Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-30T18:45:26.046Z] [2023-01-30T18:45:26.046Z] Login Succeeded [2023-01-30T18:45:26.046Z] docker.io [2023-01-30T18:45:26.323Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-30T18:45:26.597Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-30T18:45:26.597Z] Configure a credential helper to remove this warning. See [2023-01-30T18:45:26.597Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-30T18:45:26.597Z] [2023-01-30T18:45:26.597Z] Login Succeeded [2023-01-30T18:45:26.597Z] ---> docker-login.sh ends [Pipeline] } [2023-01-30T18:45:26.615Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-01-30T18:45:26.955Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-30T18:45:26.973Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-30T18:45:26.986Z] ========================================================= [2023-01-30T18:45:26.986Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-01-30T18:45:26.986Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-30T18:45:27.349Z] + 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-01-30T18:45:27.947Z] Sending build context to Docker daemon 5.694MB [2023-01-30T18:45:27.947Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-01-30T18:45:27.947Z] Step 2/10 : FROM ${BASE} AS builder [2023-01-30T18:45:27.947Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-01-30T18:45:27.947Z] 9b18e9b68314: Pulling fs layer [2023-01-30T18:45:27.947Z] 35d82f9e3411: Pulling fs layer [2023-01-30T18:45:27.947Z] e16973657156: Pulling fs layer [2023-01-30T18:45:27.947Z] fc693d55d65f: Pulling fs layer [2023-01-30T18:45:27.947Z] 7e9fc2657dce: Pulling fs layer [2023-01-30T18:45:27.947Z] dda99020689f: Pulling fs layer [2023-01-30T18:45:27.947Z] db1c61fa0a46: Pulling fs layer [2023-01-30T18:45:27.947Z] 891c053d2c06: Pulling fs layer [2023-01-30T18:45:27.947Z] dda99020689f: Waiting [2023-01-30T18:45:27.947Z] fc693d55d65f: Waiting [2023-01-30T18:45:27.947Z] db1c61fa0a46: Waiting [2023-01-30T18:45:27.947Z] 7e9fc2657dce: Waiting [2023-01-30T18:45:27.947Z] 891c053d2c06: Waiting [2023-01-30T18:45:28.220Z] e16973657156: Verifying Checksum [2023-01-30T18:45:28.220Z] e16973657156: Download complete [2023-01-30T18:45:28.220Z] 35d82f9e3411: Verifying Checksum [2023-01-30T18:45:28.220Z] 35d82f9e3411: Download complete [2023-01-30T18:45:28.220Z] 7e9fc2657dce: Verifying Checksum [2023-01-30T18:45:28.220Z] 7e9fc2657dce: Download complete [2023-01-30T18:45:28.220Z] dda99020689f: Verifying Checksum [2023-01-30T18:45:28.220Z] dda99020689f: Download complete [2023-01-30T18:45:28.220Z] 9b18e9b68314: Verifying Checksum [2023-01-30T18:45:28.220Z] 9b18e9b68314: Download complete [2023-01-30T18:45:29.213Z] 9b18e9b68314: Pull complete [2023-01-30T18:45:29.490Z] 891c053d2c06: Verifying Checksum [2023-01-30T18:45:29.490Z] 891c053d2c06: Download complete [2023-01-30T18:45:29.767Z] 35d82f9e3411: Pull complete [2023-01-30T18:45:30.039Z] e16973657156: Pull complete [2023-01-30T18:45:31.011Z] db1c61fa0a46: Verifying Checksum [2023-01-30T18:45:31.011Z] db1c61fa0a46: Download complete [2023-01-30T18:45:31.280Z] fc693d55d65f: Download complete [2023-01-30T18:45:43.602Z] fc693d55d65f: Pull complete [2023-01-30T18:45:43.602Z] 7e9fc2657dce: Pull complete [2023-01-30T18:45:43.602Z] dda99020689f: Pull complete [2023-01-30T18:45:48.960Z] db1c61fa0a46: Pull complete [2023-01-30T18:45:49.930Z] 891c053d2c06: Pull complete [2023-01-30T18:45:49.930Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-01-30T18:45:50.201Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-01-30T18:45:50.201Z] ---> f96f9c87975a [2023-01-30T18:45:50.201Z] Step 3/10 : ARG MAKE=make build [2023-01-30T18:45:52.171Z] ---> Running in a9a617aa337f [2023-01-30T18:45:52.444Z] Removing intermediate container a9a617aa337f [2023-01-30T18:45:52.444Z] ---> 424e84345fa2 [2023-01-30T18:45:52.444Z] Step 4/10 : WORKDIR /device-sdk-go [2023-01-30T18:45:52.716Z] ---> Running in d5d8cf790475 [2023-01-30T18:45:52.994Z] Removing intermediate container d5d8cf790475 [2023-01-30T18:45:52.994Z] ---> a0c4839bd289 [2023-01-30T18:45:52.994Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-01-30T18:45:52.994Z] ---> Running in cc6fadb5dd46 [2023-01-30T18:45:53.583Z] Removing intermediate container cc6fadb5dd46 [2023-01-30T18:45:53.583Z] ---> 7371322a409a [2023-01-30T18:45:53.583Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-01-30T18:45:53.583Z] ---> Running in 716a61651533 [2023-01-30T18:45:55.017Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-30T18:45:55.284Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-30T18:45:56.245Z] OK: 221 MiB in 51 packages [2023-01-30T18:45:57.212Z] Removing intermediate container 716a61651533 [2023-01-30T18:45:57.212Z] ---> 01fa9a568f59 [2023-01-30T18:45:57.212Z] Step 7/10 : COPY go.mod vendor* ./ [2023-01-30T18:45:57.810Z] ---> e191a43e8412 [2023-01-30T18:45:57.810Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-30T18:45:57.810Z] ---> Running in 78e67daaf3c1 [2023-01-30T18:47:19.490Z] Removing intermediate container 78e67daaf3c1 [2023-01-30T18:47:19.490Z] ---> 3bb81b0a089f [2023-01-30T18:47:19.490Z] Step 9/10 : COPY . . [2023-01-30T18:47:19.490Z] ---> 79c25f50c9b6 [2023-01-30T18:47:19.490Z] Step 10/10 : RUN ${MAKE} [2023-01-30T18:47:19.490Z] ---> Running in bc436f3fba0e [2023-01-30T18:47:19.490Z] noop [2023-01-30T18:47:19.490Z] Removing intermediate container bc436f3fba0e [2023-01-30T18:47:19.490Z] ---> 07a80541e82a [2023-01-30T18:47:19.490Z] Successfully built 07a80541e82a [2023-01-30T18:47:19.490Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-30T18:47:19.858Z] + docker inspect -f . ci-base-image-arm64 [2023-01-30T18:47:19.858Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-30T18:47:20.071Z] prd-ubuntu20.04-docker-arm64-4c-16g-4014 does not seem to be running inside a container [2023-01-30T18:47:20.153Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-01-30T18:47:21.436Z] $ docker top 651582b573fbb68b3f97598e17d3afbcdc84d8028639e6092f4a3fdd78c75c4e -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-30T18:47:22.295Z] + go version [2023-01-30T18:47:22.295Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-01-30T18:47:22.320Z] $ docker stop --time=1 651582b573fbb68b3f97598e17d3afbcdc84d8028639e6092f4a3fdd78c75c4e [2023-01-30T18:47:24.037Z] $ docker rm -f --volumes 651582b573fbb68b3f97598e17d3afbcdc84d8028639e6092f4a3fdd78c75c4e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-30T18:47:24.611Z] + docker inspect -f . ci-base-image-arm64 [2023-01-30T18:47:24.611Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-30T18:47:24.811Z] prd-ubuntu20.04-docker-arm64-4c-16g-4014 does not seem to be running inside a container [2023-01-30T18:47:24.889Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-01-30T18:47:26.176Z] $ docker top 26193fa497d99c89b074c8b118b7958cfc6ea02393d163d3e914fa0ac841e8da -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-30T18:47:27.045Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/2 [Pipeline] fileExists [Pipeline] sh [2023-01-30T18:47:27.710Z] + make test [2023-01-30T18:47:27.710Z] go test -race -coverprofile=coverage.out ./... [2023-01-30T18:48:06.630Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-01-30T18:50:28.378Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-01-30T18:50:28.378Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-01-30T18:50:28.378Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-01-30T18:50:28.378Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-01-30T18:50:28.378Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-01-30T18:50:32.675Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.240s coverage: 27.6% of statements [2023-01-30T18:50:34.621Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.284s coverage: 78.9% of statements [2023-01-30T18:50:34.621Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] [2023-01-30T18:50:38.874Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.394s coverage: 73.6% of statements [2023-01-30T18:50:38.874Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-01-30T18:50:38.874Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-01-30T18:50:41.469Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.686s coverage: 60.6% of statements [2023-01-30T18:50:41.469Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-01-30T18:50:41.469Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [no test files] [2023-01-30T18:50:41.469Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-01-30T18:50:41.469Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/telemetry [no test files] [2023-01-30T18:50:42.060Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.438s coverage: 65.1% of statements [2023-01-30T18:50:42.060Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-01-30T18:50:42.060Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-01-30T18:50:42.330Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 3.233s coverage: 89.2% of statements [2023-01-30T18:50:42.330Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] [2023-01-30T18:50:42.330Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.302s coverage: 4.6% of statements [2023-01-30T18:50:42.330Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-01-30T18:50:42.919Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-01-30T18:50:42.919Z] GO111MODULE=on go vet ./... [2023-01-30T18:52:34.676Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-01-30T18:52:34.676Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-01-30T18:52:34.676Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-01-30T18:52:34.698Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-01-30T18:52:34.715Z] $ docker stop --time=1 26193fa497d99c89b074c8b118b7958cfc6ea02393d163d3e914fa0ac841e8da [2023-01-30T18:52:37.866Z] $ docker rm -f --volumes 26193fa497d99c89b074c8b118b7958cfc6ea02393d163d3e914fa0ac841e8da [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-30T18:52:39.353Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-01-30T18:52:39.379Z] Warning: overwriting stash ‘coverage-report’ [2023-01-30T18:52:40.143Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-30T18:52:40.524Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-01-30T18:52:40.874Z] + ls -al . [2023-01-30T18:52:40.874Z] total 268 [2023-01-30T18:52:40.874Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 30 18:47 . [2023-01-30T18:52:40.874Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 30 18:44 .. [2023-01-30T18:52:40.874Z] -rw-rw-r-- 1 jenkins jenkins 140 Jan 30 18:44 .dockerignore [2023-01-30T18:52:40.874Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 30 18:44 .git [2023-01-30T18:52:40.874Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 30 18:44 .github [2023-01-30T18:52:40.874Z] -rw-rw-r-- 1 jenkins jenkins 131 Jan 30 18:44 .gitignore [2023-01-30T18:52:40.874Z] -rw-rw-r-- 1 jenkins jenkins 42 Jan 30 18:44 .golangci.yml [2023-01-30T18:52:40.874Z] -rw-rw-r-- 1 jenkins jenkins 31677 Jan 30 18:44 CHANGELOG.md [2023-01-30T18:52:40.874Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 30 18:44 GOVERNANCE.md [2023-01-30T18:52:40.874Z] -rw-rw-r-- 1 jenkins jenkins 880 Jan 30 18:44 Jenkinsfile [2023-01-30T18:52:40.874Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jan 30 18:44 LICENSE [2023-01-30T18:52:40.874Z] -rw-rw-r-- 1 jenkins jenkins 1679 Jan 30 18:44 Makefile [2023-01-30T18:52:40.874Z] -rw-rw-r-- 1 jenkins jenkins 619 Jan 30 18:44 OWNERS.md [2023-01-30T18:52:40.874Z] -rw-rw-r-- 1 jenkins jenkins 4891 Jan 30 18:44 README.md [2023-01-30T18:52:40.874Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 30 18:42 VERSION [2023-01-30T18:52:40.874Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 30 18:44 bin [2023-01-30T18:52:40.874Z] -rw-r--r-- 1 jenkins jenkins 100832 Jan 30 18:50 coverage.out [2023-01-30T18:52:40.874Z] drwxrwxr-x 5 jenkins jenkins 4096 Jan 30 18:44 example [2023-01-30T18:52:40.875Z] -rw-rw-r-- 1 jenkins jenkins 3307 Jan 30 18:44 go.mod [2023-01-30T18:52:40.875Z] -rw-rw-r-- 1 jenkins jenkins 34396 Jan 30 18:44 go.sum [2023-01-30T18:52:40.875Z] drwxrwxr-x 14 jenkins jenkins 4096 Jan 30 18:44 internal [2023-01-30T18:52:40.875Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 30 18:44 openapi [2023-01-30T18:52:40.875Z] drwxrwxr-x 6 jenkins jenkins 4096 Jan 30 18:44 pkg [2023-01-30T18:52:40.875Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 30 18:44 snap [2023-01-30T18:52:40.875Z] -rw-rw-r-- 1 jenkins jenkins 222 Jan 30 18:44 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-30T18:52:41.255Z] + 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=5e6c4f06f7271691e1778228ef9a0bf29e468f5e --label arch=arm64 --label version=0.0.0 . [2023-01-30T18:52:41.875Z] Sending build context to Docker daemon 5.796MB [2023-01-30T18:52:41.875Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2023-01-30T18:52:41.875Z] Step 2/23 : FROM ${BASE} AS builder [2023-01-30T18:52:41.875Z] ---> 07a80541e82a [2023-01-30T18:52:41.875Z] Step 3/23 : ARG MAKE=make build [2023-01-30T18:52:42.149Z] ---> Running in c71f7089ae88 [2023-01-30T18:52:42.419Z] Removing intermediate container c71f7089ae88 [2023-01-30T18:52:42.419Z] ---> a0c65877f2dc [2023-01-30T18:52:42.419Z] Step 4/23 : WORKDIR /device-sdk-go [2023-01-30T18:52:42.419Z] ---> Running in 46d6dc8524d4 [2023-01-30T18:52:42.696Z] Removing intermediate container 46d6dc8524d4 [2023-01-30T18:52:42.696Z] ---> 5e652e69dbaa [2023-01-30T18:52:42.696Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-01-30T18:52:42.967Z] ---> Running in 80bb3ae180ce [2023-01-30T18:52:43.239Z] Removing intermediate container 80bb3ae180ce [2023-01-30T18:52:43.239Z] ---> 3ec0d4f84361 [2023-01-30T18:52:43.239Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-01-30T18:52:43.239Z] ---> Running in f9455ba34914 [2023-01-30T18:52:44.210Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-30T18:52:44.797Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-30T18:52:45.768Z] OK: 221 MiB in 51 packages [2023-01-30T18:52:46.737Z] Removing intermediate container f9455ba34914 [2023-01-30T18:52:46.737Z] ---> 6192b3fe5d39 [2023-01-30T18:52:46.737Z] Step 7/23 : COPY go.mod vendor* ./ [2023-01-30T18:52:47.011Z] ---> 8ab8281c1eb8 [2023-01-30T18:52:47.011Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-30T18:52:47.279Z] ---> Running in 833f624d03a2 [2023-01-30T18:52:50.625Z] Removing intermediate container 833f624d03a2 [2023-01-30T18:52:50.625Z] ---> 5a5684d7ab5b [2023-01-30T18:52:50.625Z] Step 9/23 : COPY . . [2023-01-30T18:52:51.212Z] ---> 962ef8aa81a7 [2023-01-30T18:52:51.212Z] Step 10/23 : RUN ${MAKE} [2023-01-30T18:52:51.482Z] ---> Running in 77ac0b835177 [2023-01-30T18:52:52.446Z] 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-01-30T18:55:14.144Z] Removing intermediate container 77ac0b835177 [2023-01-30T18:55:14.144Z] ---> 727e696c5580 [2023-01-30T18:55:14.144Z] Step 11/23 : FROM alpine:3.16 [2023-01-30T18:55:14.144Z] 3.16: Pulling from library/alpine [2023-01-30T18:55:14.144Z] 6875df1f5354: Pulling fs layer [2023-01-30T18:55:14.144Z] 6875df1f5354: Verifying Checksum [2023-01-30T18:55:14.144Z] 6875df1f5354: Download complete [2023-01-30T18:55:14.144Z] 6875df1f5354: Pull complete [2023-01-30T18:55:14.144Z] Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b [2023-01-30T18:55:14.144Z] Status: Downloaded newer image for alpine:3.16 [2023-01-30T18:55:14.144Z] ---> 2b4661558fb8 [2023-01-30T18:55:14.144Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-01-30T18:55:14.144Z] ---> Running in 91cc0ab03f67 [2023-01-30T18:55:14.144Z] Removing intermediate container 91cc0ab03f67 [2023-01-30T18:55:14.144Z] ---> 4d9e949c498d [2023-01-30T18:55:14.144Z] Step 13/23 : RUN apk add --update --no-cache [2023-01-30T18:55:14.144Z] ---> Running in 120daa48f89e [2023-01-30T18:55:14.144Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-30T18:55:14.144Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-30T18:55:14.144Z] OK: 5 MiB in 14 packages [2023-01-30T18:55:14.144Z] Removing intermediate container 120daa48f89e [2023-01-30T18:55:14.144Z] ---> 82871755a24d [2023-01-30T18:55:14.144Z] Step 14/23 : WORKDIR / [2023-01-30T18:55:14.144Z] ---> Running in f452f217c06a [2023-01-30T18:55:14.144Z] Removing intermediate container f452f217c06a [2023-01-30T18:55:14.144Z] ---> dcabf36e920f [2023-01-30T18:55:14.144Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-01-30T18:55:14.144Z] ---> 33270d41caa2 [2023-01-30T18:55:14.144Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-01-30T18:55:14.144Z] ---> 84cb89b5bc21 [2023-01-30T18:55:14.144Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-01-30T18:55:14.144Z] ---> 115d1a5fed52 [2023-01-30T18:55:14.144Z] Step 18/23 : EXPOSE 59999 [2023-01-30T18:55:14.144Z] ---> Running in 612d606918db [2023-01-30T18:55:14.144Z] Removing intermediate container 612d606918db [2023-01-30T18:55:14.144Z] ---> 51a88c7bc0f2 [2023-01-30T18:55:14.144Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-01-30T18:55:14.144Z] ---> Running in c57b9ad13a07 [2023-01-30T18:55:14.144Z] Removing intermediate container c57b9ad13a07 [2023-01-30T18:55:14.144Z] ---> abdc26205bac [2023-01-30T18:55:14.144Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-01-30T18:55:14.144Z] ---> Running in 8fc915a32c1d [2023-01-30T18:55:14.144Z] Removing intermediate container 8fc915a32c1d [2023-01-30T18:55:14.144Z] ---> 2de1901f993c [2023-01-30T18:55:14.144Z] Step 21/23 : LABEL arch=arm64 [2023-01-30T18:55:14.144Z] ---> Running in f97a4bb583c1 [2023-01-30T18:55:14.144Z] Removing intermediate container f97a4bb583c1 [2023-01-30T18:55:14.144Z] ---> 686c2b89f623 [2023-01-30T18:55:14.144Z] Step 22/23 : LABEL git_sha=5e6c4f06f7271691e1778228ef9a0bf29e468f5e [2023-01-30T18:55:14.144Z] ---> Running in 5f52cb54c6ea [2023-01-30T18:55:14.144Z] Removing intermediate container 5f52cb54c6ea [2023-01-30T18:55:14.144Z] ---> ff9318f0f099 [2023-01-30T18:55:14.144Z] Step 23/23 : LABEL version=0.0.0 [2023-01-30T18:55:14.144Z] ---> Running in 7f79add1f0f5 [2023-01-30T18:55:14.144Z] Removing intermediate container 7f79add1f0f5 [2023-01-30T18:55:14.144Z] ---> b7f5954a9406 [2023-01-30T18:55:14.144Z] [Warning] One or more build-args [ARCH] were not consumed [2023-01-30T18:55:14.144Z] Successfully built b7f5954a9406 [2023-01-30T18:55:14.144Z] 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-01-30T18:55:14.553Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-30T18:55:14.553Z] [2023-01-30T18:55:14.553Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-30T18:55:14.897Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-30T18:55:15.170Z] arm64: Pulling from edgex-lftools-log-publisher [2023-01-30T18:55:15.170Z] 8998bd30e6a1: Pulling fs layer [2023-01-30T18:55:15.170Z] 04944245beec: Pulling fs layer [2023-01-30T18:55:15.170Z] 699f458cf7ca: Pulling fs layer [2023-01-30T18:55:15.170Z] 765212b225bb: Pulling fs layer [2023-01-30T18:55:15.170Z] f23df028b6ca: Pulling fs layer [2023-01-30T18:55:15.170Z] d65c8cfc05b1: Pulling fs layer [2023-01-30T18:55:15.170Z] 2437ff75d9bd: Pulling fs layer [2023-01-30T18:55:15.170Z] 765212b225bb: Waiting [2023-01-30T18:55:15.170Z] f23df028b6ca: Waiting [2023-01-30T18:55:15.170Z] d65c8cfc05b1: Waiting [2023-01-30T18:55:15.170Z] 2437ff75d9bd: Waiting [2023-01-30T18:55:15.170Z] 04944245beec: Verifying Checksum [2023-01-30T18:55:15.170Z] 04944245beec: Download complete [2023-01-30T18:55:15.170Z] 765212b225bb: Verifying Checksum [2023-01-30T18:55:15.170Z] 765212b225bb: Download complete [2023-01-30T18:55:15.170Z] f23df028b6ca: Download complete [2023-01-30T18:55:15.444Z] d65c8cfc05b1: Verifying Checksum [2023-01-30T18:55:15.444Z] d65c8cfc05b1: Download complete [2023-01-30T18:55:15.444Z] 699f458cf7ca: Verifying Checksum [2023-01-30T18:55:15.444Z] 699f458cf7ca: Download complete [2023-01-30T18:55:16.034Z] 8998bd30e6a1: Verifying Checksum [2023-01-30T18:55:16.034Z] 8998bd30e6a1: Download complete [2023-01-30T18:55:18.619Z] 2437ff75d9bd: Verifying Checksum [2023-01-30T18:55:18.619Z] 2437ff75d9bd: Download complete [2023-01-30T18:55:20.027Z] 8998bd30e6a1: Pull complete [2023-01-30T18:55:20.987Z] 04944245beec: Pull complete [2023-01-30T18:55:22.396Z] 699f458cf7ca: Pull complete [2023-01-30T18:55:22.396Z] 765212b225bb: Pull complete [2023-01-30T18:55:23.368Z] f23df028b6ca: Pull complete [2023-01-30T18:55:23.638Z] d65c8cfc05b1: Pull complete [2023-01-30T18:55:38.640Z] 2437ff75d9bd: Pull complete [2023-01-30T18:55:38.640Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-01-30T18:55:38.640Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-30T18:55:38.640Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-30T18:55:38.821Z] prd-ubuntu20.04-docker-arm64-4c-16g-4014 does not seem to be running inside a container [2023-01-30T18:55:38.886Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-01-30T18:55:41.714Z] $ docker top 1de44a8f52f15102c22674fec09f12d69c781955ba9f6bc2b4e113aa3f506948 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-30T18:55:42.231Z] ---> job-cost.sh [2023-01-30T18:55:42.496Z] lf-activate-venv: SKIPPING [2023-01-30T18:55:42.496Z] INFO: No Stack... [2023-01-30T18:55:43.076Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-01-30T18:55:43.657Z] INFO: Archiving Costs [Pipeline] sh [2023-01-30T18:55:43.976Z] + cat /w/workspace/device-sdk-go/2/archives/cost.csv [2023-01-30T18:55:43.976Z] + cut -d, -f6 [Pipeline] lock [2023-01-30T18:55:44.043Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1288-2-stack-cost] [2023-01-30T18:55:44.052Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1288-2-stack-cost] did not exist. Created. [2023-01-30T18:55:44.052Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1288-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-01-30T18:55:44.718Z] /w/workspace/device-sdk-go/2@tmp/durable-f997dd87/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-01-30T18:55:45.052Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-01-30T18:55:45.337Z] Warning: overwriting stash ‘stack-cost’ [2023-01-30T18:55:45.409Z] Stashed 1 file(s) [Pipeline] } [2023-01-30T18:55:45.416Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1288-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-01-30T18:55:45.439Z] $ docker stop --time=1 1de44a8f52f15102c22674fec09f12d69c781955ba9f6bc2b4e113aa3f506948 [2023-01-30T18:55:46.928Z] $ docker rm -f --volumes 1de44a8f52f15102c22674fec09f12d69c781955ba9f6bc2b4e113aa3f506948 [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-01-30T18:55:47.314Z] provisioning config files... [2023-01-30T18:55:47.322Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1288@tmp/config16261005910046605866tmp [Pipeline] { [Pipeline] sh [2023-01-30T18:55:47.633Z] + set +x [2023-01-30T18:55:47.633Z] + curl -s https://codecov.io/bash [2023-01-30T18:55:47.633Z] + bash -s -- [2023-01-30T18:55:47.633Z] [2023-01-30T18:55:47.633Z] _____ _ [2023-01-30T18:55:47.633Z] / ____| | | [2023-01-30T18:55:47.633Z] | | ___ __| | ___ ___ _____ __ [2023-01-30T18:55:47.633Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-01-30T18:55:47.633Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-01-30T18:55:47.633Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-01-30T18:55:47.633Z] Bash-1.0.6 [2023-01-30T18:55:47.633Z] [2023-01-30T18:55:47.633Z] [2023-01-30T18:55:47.633Z] ==> git version 2.25.1 found [2023-01-30T18:55:47.633Z] ==> 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-01-30T18:55:47.633Z] Release-Date: 2020-01-08 [2023-01-30T18:55:47.633Z] 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-01-30T18:55:47.633Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-01-30T18:55:47.633Z] ==> Jenkins CI detected. [2023-01-30T18:55:47.633Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1288 [2023-01-30T18:55:47.633Z] project root: . [2023-01-30T18:55:47.633Z] --> token set from env [2023-01-30T18:55:47.633Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-01-30T18:55:47.633Z] ==> Running gcov in . (disable via -X gcov) [2023-01-30T18:55:47.633Z] ==> Python coveragepy not found [2023-01-30T18:55:47.633Z] ==> Searching for coverage reports in: [2023-01-30T18:55:47.633Z] + . [2023-01-30T18:55:47.633Z] -> Found 1 reports [2023-01-30T18:55:47.633Z] ==> Detecting git/mercurial file structure [2023-01-30T18:55:47.633Z] ==> Reading reports [2023-01-30T18:55:47.633Z] + ./coverage.out bytes=100832 [2023-01-30T18:55:47.633Z] ==> Appending adjustments [2023-01-30T18:55:47.633Z] https://docs.codecov.io/docs/fixing-reports [2023-01-30T18:55:47.892Z] + Found adjustments [2023-01-30T18:55:48.151Z] ==> Gzipping contents [2023-01-30T18:55:48.151Z] 16K /tmp/codecov.JvBfco.gz [2023-01-30T18:55:48.151Z] ==> Uploading reports [2023-01-30T18:55:48.151Z] url: https://codecov.io [2023-01-30T18:55:48.151Z] query: branch=PR-1288&commit=d5411617c9a1071ee082d86be6d748fea9648b65&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1288%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1288&job=&cmd_args= [2023-01-30T18:55:48.151Z] -> Pinging Codecov [2023-01-30T18:55:48.151Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1288&commit=d5411617c9a1071ee082d86be6d748fea9648b65&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1288%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1288&job=&cmd_args= [2023-01-30T18:55:48.409Z] -> Uploading to [2023-01-30T18:55:48.409Z] https://storage.googleapis.com/codecov/v4/raw/2023-01-30/7E55EF52A471D76F132DFD9A03CDDE97/d5411617c9a1071ee082d86be6d748fea9648b65/82299dcd-02f6-4c97-a6c7-bed941f47a7c.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230130%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230130T185548Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=cd46d5ea51bf481a04135f387c8be2d19ea71e8a9bcd8d341c5befb90679338a [2023-01-30T18:55:48.409Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-01-30T18:55:48.409Z] Dload Upload Total Spent Left Speed [2023-01-30T18:55:48.668Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14731 0 0 100 14731 0 57996 --:--:-- --:--:-- --:--:-- 57768 100 14731 0 0 100 14731 0 57768 --:--:-- --:--:-- --:--:-- 57768 [2023-01-30T18:55:48.668Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/d5411617c9a1071ee082d86be6d748fea9648b65 [Pipeline] } [2023-01-30T18:55:48.676Z] 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-01-30T18:55:49.380Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1288/archives ] [2023-01-30T18:55:49.380Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1288/archives [2023-01-30T18:55:49.380Z] total 16 [2023-01-30T18:55:49.380Z] drwxr-xr-x 3 root root 4096 Jan 30 18:44 . [2023-01-30T18:55:49.380Z] drwxrwxr-x 12 jenkins jenkins 4096 Jan 30 18:44 .. [2023-01-30T18:55:49.380Z] drwxr-xr-x 2 root root 4096 Jan 30 18:44 cost [2023-01-30T18:55:49.380Z] -rw-r--r-- 1 root root 86 Jan 30 18:44 cost.csv [2023-01-30T18:55:49.380Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1288/archives [2023-01-30T18:55:49.380Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1288/archives [2023-01-30T18:55:49.380Z] total 16 [2023-01-30T18:55:49.380Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 30 18:44 . [2023-01-30T18:55:49.380Z] drwxrwxr-x 12 jenkins jenkins 4096 Jan 30 18:44 .. [2023-01-30T18:55:49.380Z] drwxr-xr-x 2 jenkins jenkins 4096 Jan 30 18:44 cost [2023-01-30T18:55:49.380Z] -rw-r--r-- 1 jenkins jenkins 86 Jan 30 18:44 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-01-30T18:55:49.669Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-30T18:55:50.525Z] ---> package-listing.sh [2023-01-30T18:55:50.525Z] ++ facter osfamily [2023-01-30T18:55:50.525Z] ++ tr '[:upper:]' '[:lower:]' [2023-01-30T18:55:50.785Z] + OS_FAMILY=debian [2023-01-30T18:55:50.785Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1288 [2023-01-30T18:55:50.785Z] + START_PACKAGES=/tmp/packages_start.txt [2023-01-30T18:55:50.785Z] + END_PACKAGES=/tmp/packages_end.txt [2023-01-30T18:55:50.785Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-01-30T18:55:50.785Z] + PACKAGES=/tmp/packages_start.txt [2023-01-30T18:55:50.785Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1288 ']' [2023-01-30T18:55:50.785Z] + PACKAGES=/tmp/packages_end.txt [2023-01-30T18:55:50.785Z] + case "${OS_FAMILY}" in [2023-01-30T18:55:50.785Z] + dpkg -l [2023-01-30T18:55:50.785Z] + grep '^ii' [2023-01-30T18:55:50.785Z] + '[' -f /tmp/packages_start.txt ']' [2023-01-30T18:55:50.785Z] + '[' -f /tmp/packages_end.txt ']' [2023-01-30T18:55:50.785Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-01-30T18:55:50.785Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1288 ']' [2023-01-30T18:55:50.785Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1288/archives/ [2023-01-30T18:55:50.785Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1288/archives/ [Pipeline] echo [2023-01-30T18:55:50.796Z] 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-1288/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-01-30T18:55:51.074Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-30T18:55:51.631Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-30T18:55:51.631Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-30T18:55:51.705Z] prd-ubuntu20.04-docker-8c-8g-4011 does not seem to be running inside a container [2023-01-30T18:55:51.733Z] $ 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-1288/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-1288 -v /w/workspace/gexfoundry_device-sdk-go_PR-1288:/w/workspace/gexfoundry_device-sdk-go_PR-1288:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1288@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1288@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-01-30T18:55:51.924Z] $ docker top 14fea6196b1d7de08003643ea9323547ec5d513a9da7ab29a133ccddb2af7a6f -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-30T18:55:52.271Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-01-30T18:55:52.556Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-01-30T18:55:52.841Z] + ls /var/log/sa-host [2023-01-30T18:55:52.841Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-30T18:55:52.920Z] provisioning config files... [2023-01-30T18:55:52.928Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1288@tmp/config11829452218601213381tmp [Pipeline] { [Pipeline] echo [2023-01-30T18:55:52.940Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-30T18:55:53.219Z] ---> create-netrc.sh [Pipeline] } [2023-01-30T18:55:53.226Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-01-30T18:55:53.557Z] ---> python-tools-install.sh [Pipeline] echo [2023-01-30T18:55:53.566Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-30T18:55:53.849Z] ---> sudo-logs.sh [2023-01-30T18:55:53.849Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-01-30T18:55:53.874Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-30T18:55:54.162Z] ---> job-cost.sh [2023-01-30T18:55:54.162Z] lf-activate-venv: SKIPPING [2023-01-30T18:55:54.162Z] DEBUG: total: 0.2199999988079071 [2023-01-30T18:55:54.162Z] INFO: Retrieving Stack Cost... [2023-01-30T18:55:54.420Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-01-30T18:55:54.988Z] INFO: Archiving Costs [Pipeline] echo [2023-01-30T18:55:55.005Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-30T18:55:55.292Z] ---> logs-deploy.sh [2023-01-30T18:55:55.292Z] lf-activate-venv: SKIPPING [2023-01-30T18:55:55.292Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1288/2 [2023-01-30T18:55:55.292Z] INFO: archiving workspace using pattern(s): [2023-01-30T18:55:56.252Z] Archives upload complete. [2023-01-30T18:55:56.252Z] INFO: archiving logs to Nexus