Pull request #1146 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of jinlinGuan for edgexfoundry/device-sdk-go Loading trusted files from base branch main at c4fb6f454a66f6ec4303bcc61530b9f99af08732 rather than f9d12fc9f4633fcc2600c286baef40311e3f37fa Obtained Jenkinsfile from c4fb6f454a66f6ec4303bcc61530b9f99af08732 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-ssh14043092793880602506.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision c72b16708d6eed9a08be464a432ce22db7d90667 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-ssh11637987465537585725.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 c72b16708d6eed9a08be464a432ce22db7d90667 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-1146/workspace@libs/edgex-global-pipelines/.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-1146/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh16603851025129009318.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision c72b16708d6eed9a08be464a432ce22db7d90667 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f c72b16708d6eed9a08be464a432ce22db7d90667 # timeout=10 Commit message: "Merge pull request #378 from ernestojeda/ubuntu-20-changes" > 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 shared 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-ssh3513096544577532391.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b3dada9287033e4e81bc68320e01fd57bef02650 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-1146/workspace@libs/lf-pipelines/.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-1146/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh1916371400237806960.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > 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 shared 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.17 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 [Pipeline] node Still waiting to schedule task Waiting for next available executor Running on prd-ubuntu20.04-docker-8c-8g-21773 in /w/workspace/gexfoundry_device-sdk-go_PR-1146 [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-1146 # 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 Merging remotes/origin/main commit c4fb6f454a66f6ec4303bcc61530b9f99af08732 into PR head commit f9d12fc9f4633fcc2600c286baef40311e3f37fa Merge succeeded, producing f9d12fc9f4633fcc2600c286baef40311e3f37fa Checking out Revision f9d12fc9f4633fcc2600c286baef40311e3f37fa (PR-1146) > 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/1146/head:refs/remotes/origin/PR-1146 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f9d12fc9f4633fcc2600c286baef40311e3f37fa # 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 c4fb6f454a66f6ec4303bcc61530b9f99af08732 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f9d12fc9f4633fcc2600c286baef40311e3f37fa # timeout=10 Commit message: "fix: Add missing Configuration interface method GetTelemetryInfo" First time build. Skipping changelog. > git rev-list --no-walk 012f45f45fe5138d4eb4a9008353d6b4ce11a629 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-04-22T10:28:20.319Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-04-22T10:28:20.379Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-04-22T10:28:20.400Z] ========================================================= [2022-04-22T10:28:20.400Z] EdgeX Global Pipelines Version Info [2022-04-22T10:28:20.400Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-04-22T10:28:21.153Z] ------------------- [2022-04-22T10:28:21.153Z] stable info: [2022-04-22T10:28:21.153Z] ------------------- [2022-04-22T10:28:21.153Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-04-22T10:28:21.153Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-04-22T10:28:21.153Z] Message: update stable to v1.0.221 [2022-04-22T10:28:21.726Z] ------------------- [2022-04-22T10:28:21.726Z] experimental info: [2022-04-22T10:28:21.726Z] ------------------- [2022-04-22T10:28:21.726Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-04-22T10:28:21.726Z] Commit SHA: e334d830fa8e8412d6042b94a77caa8dfa54c97b [2022-04-22T10:28:21.726Z] Message: update experimental to v1.0.223 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-04-22T10:28:21.860Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2022-04-22T10:28:21.875Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2022-04-22T10:28:21.893Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-04-22T10:28:21.911Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-04-22T10:28:21.930Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-04-22T10:28:21.948Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-04-22T10:28:21.965Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-04-22T10:28:21.978Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2022-04-22T10:28:21.987Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-04-22T10:28:21.996Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-04-22T10:28:22.005Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-04-22T10:28:22.014Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2022-04-22T10:28:22.023Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-04-22T10:28:22.032Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-04-22T10:28:22.047Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-04-22T10:28:22.065Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2022-04-22T10:28:22.084Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-04-22T10:28:22.104Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-04-22T10:28:22.122Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-04-22T10:28:22.138Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-04-22T10:28:22.154Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-04-22T10:28:22.171Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2022-04-22T10:28:22.190Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-04-22T10:28:22.212Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-04-22T10:28:22.228Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-04-22T10:28:22.242Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-04-22T10:28:22.256Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1146 [Pipeline] echo [2022-04-22T10:28:22.269Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1146 [Pipeline] echo [2022-04-22T10:28:22.282Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1146 [Pipeline] echo [2022-04-22T10:28:22.297Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f9d12fc9f4633fcc2600c286baef40311e3f37fa [Pipeline] echo [2022-04-22T10:28:22.310Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f9d12fc [Pipeline] echo [2022-04-22T10:28:22.325Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-22T10:28:22.371Z] provisioning config files... [2022-04-22T10:28:22.384Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1146@tmp/config9139749210123564486tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-22T10:28:22.695Z] ---> docker-login.sh [2022-04-22T10:28:22.696Z] nexus3.edgexfoundry.org:10001 [2022-04-22T10:28:22.957Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-22T10:28:22.957Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-22T10:28:22.957Z] Configure a credential helper to remove this warning. See [2022-04-22T10:28:22.957Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-22T10:28:22.957Z] [2022-04-22T10:28:22.957Z] Login Succeeded [2022-04-22T10:28:22.957Z] nexus3.edgexfoundry.org:10002 [2022-04-22T10:28:23.220Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-22T10:28:23.220Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-22T10:28:23.220Z] Configure a credential helper to remove this warning. See [2022-04-22T10:28:23.220Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-22T10:28:23.220Z] [2022-04-22T10:28:23.220Z] Login Succeeded [2022-04-22T10:28:23.220Z] nexus3.edgexfoundry.org:10003 [2022-04-22T10:28:23.220Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-22T10:28:23.220Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-22T10:28:23.220Z] Configure a credential helper to remove this warning. See [2022-04-22T10:28:23.220Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-22T10:28:23.220Z] [2022-04-22T10:28:23.220Z] Login Succeeded [2022-04-22T10:28:23.220Z] nexus3.edgexfoundry.org:10004 [2022-04-22T10:28:23.483Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-22T10:28:23.483Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-22T10:28:23.483Z] Configure a credential helper to remove this warning. See [2022-04-22T10:28:23.483Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-22T10:28:23.483Z] [2022-04-22T10:28:23.483Z] Login Succeeded [2022-04-22T10:28:23.483Z] docker.io [2022-04-22T10:28:23.483Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-22T10:28:24.060Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-22T10:28:24.060Z] Configure a credential helper to remove this warning. See [2022-04-22T10:28:24.060Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-22T10:28:24.060Z] [2022-04-22T10:28:24.060Z] Login Succeeded [2022-04-22T10:28:24.060Z] ---> docker-login.sh ends [Pipeline] } [2022-04-22T10:28:24.069Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-04-22T10:28:24.443Z] + git rev-list -1 --merges f9d12fc9f4633fcc2600c286baef40311e3f37fa~1..f9d12fc9f4633fcc2600c286baef40311e3f37fa [Pipeline] echo [2022-04-22T10:28:24.556Z] -----------> git rev-list -1 --merges f9d12fc9f4633fcc2600c286baef40311e3f37fa~1..f9d12fc9f4633fcc2600c286baef40311e3f37fa f9d12fc9f4633fcc2600c286baef40311e3f37fa [false] [Pipeline] sh [2022-04-22T10:28:24.850Z] + git log --format=format:%s -1 f9d12fc9f4633fcc2600c286baef40311e3f37fa [Pipeline] echo [2022-04-22T10:28:24.871Z] ========================================================= [2022-04-22T10:28:24.871Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-04-22T10:28:24.871Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-22T10:28:25.227Z] + git log --format=format:%s -1 f9d12fc9f4633fcc2600c286baef40311e3f37fa [Pipeline] echo [2022-04-22T10:28:25.243Z] [semverPrep] GIT_COMMIT: f9d12fc9f4633fcc2600c286baef40311e3f37fa, Commit Message: fix: Add missing Configuration interface method GetTelemetryInfo [Pipeline] echo [2022-04-22T10:28:25.254Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-04-22T10:28:25.641Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-22T10:28:25.641Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-04-22T10:28:25.641Z] + [ -e /tmp/ssh_known_hosts ] [2022-04-22T10:28:25.641Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-04-22T10:28:25.641Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-04-22T10:28:25.641Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-04-22T10:28:25.641Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-22T10:28:26.005Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-22T10:28:26.006Z] [2022-04-22T10:28:26.006Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-04-22T10:28:26.321Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-22T10:28:26.321Z] latest: Pulling from edgex-devops/git-semver [2022-04-22T10:28:26.321Z] a0d0a0d46f8b: Pulling fs layer [2022-04-22T10:28:26.321Z] 3e5f54012d9b: Pulling fs layer [2022-04-22T10:28:26.321Z] 4c7163046ea9: Pulling fs layer [2022-04-22T10:28:26.321Z] 0c2d73faf560: Pulling fs layer [2022-04-22T10:28:26.321Z] 3e5f54012d9b: Verifying Checksum [2022-04-22T10:28:26.321Z] a0d0a0d46f8b: Download complete [2022-04-22T10:28:26.321Z] 0c2d73faf560: Verifying Checksum [2022-04-22T10:28:26.321Z] 0c2d73faf560: Download complete [2022-04-22T10:28:26.321Z] 4c7163046ea9: Verifying Checksum [2022-04-22T10:28:26.321Z] 4c7163046ea9: Download complete [2022-04-22T10:28:26.584Z] a0d0a0d46f8b: Pull complete [2022-04-22T10:28:26.584Z] 3e5f54012d9b: Pull complete [2022-04-22T10:28:27.159Z] 4c7163046ea9: Pull complete [2022-04-22T10:28:27.159Z] 0c2d73faf560: Pull complete [2022-04-22T10:28:27.159Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-04-22T10:28:27.159Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-22T10:28:27.159Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-04-22T10:28:27.244Z] prd-ubuntu20.04-docker-8c-8g-21773 does not seem to be running inside a container [2022-04-22T10:28:27.295Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1146 -v /w/workspace/gexfoundry_device-sdk-go_PR-1146:/w/workspace/gexfoundry_device-sdk-go_PR-1146:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1146@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1146@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:10004/edgex-devops/git-semver:latest cat [2022-04-22T10:28:28.034Z] $ docker top d263855b357d18173426030e95da046725795c84273db7e2d189b7136ab22912 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-22T10:28:28.153Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-22T10:28:28.153Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-22T10:28:28.295Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-22T10:28:28.296Z] $ docker exec d263855b357d18173426030e95da046725795c84273db7e2d189b7136ab22912 ssh-agent [2022-04-22T10:28:28.429Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXgNbApL/agent.14 [2022-04-22T10:28:28.429Z] SSH_AGENT_PID=20 [2022-04-22T10:28:28.437Z] Running ssh-add (command line suppressed) [2022-04-22T10:28:28.558Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1146@tmp/private_key_1334576929588055071.key (/w/workspace/gexfoundry_device-sdk-go_PR-1146@tmp/private_key_1334576929588055071.key) [2022-04-22T10:28:28.577Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-22T10:28:28.868Z] + git tag --points-at HEAD [Pipeline] } [2022-04-22T10:28:28.880Z] $ docker exec --env ******** --env ******** d263855b357d18173426030e95da046725795c84273db7e2d189b7136ab22912 ssh-agent -k [2022-04-22T10:28:29.004Z] unset SSH_AUTH_SOCK; [2022-04-22T10:28:29.005Z] unset SSH_AGENT_PID; [2022-04-22T10:28:29.005Z] echo Agent pid 20 killed; [2022-04-22T10:28:29.021Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-04-22T10:28:29.045Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-22T10:28:29.045Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-22T10:28:29.189Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-22T10:28:29.190Z] $ docker exec d263855b357d18173426030e95da046725795c84273db7e2d189b7136ab22912 ssh-agent [2022-04-22T10:28:29.321Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXhpaikp/agent.53 [2022-04-22T10:28:29.321Z] SSH_AGENT_PID=59 [2022-04-22T10:28:29.328Z] Running ssh-add (command line suppressed) [2022-04-22T10:28:29.449Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1146@tmp/private_key_6306541823788773759.key (/w/workspace/gexfoundry_device-sdk-go_PR-1146@tmp/private_key_6306541823788773759.key) [2022-04-22T10:28:29.470Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-22T10:28:29.762Z] + git semver init [2022-04-22T10:28:29.762Z] # -> Open(): unable to determine branch for HEAD [2022-04-22T10:28:29.762Z] # $GIT_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1146/.git [2022-04-22T10:28:29.762Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-sdk-go_PR-1146 [2022-04-22T10:28:29.762Z] # $SEMVER_REMOTE_NAME = origin [2022-04-22T10:28:29.762Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-04-22T10:28:29.762Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-04-22T10:28:29.762Z] # $SEMVER_BRANCH = PR-1146 [2022-04-22T10:28:29.762Z] # $SEMVER_TEMP = /tmp/semver-520262379 [2022-04-22T10:28:29.762Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2022-04-22T10:28:31.153Z] # '/tmp/semver-520262379' -> '/w/workspace/gexfoundry_device-sdk-go_PR-1146/.semver' [2022-04-22T10:28:31.153Z] # -> Force: false [2022-04-22T10:28:31.153Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1146/.semver [Pipeline] } [2022-04-22T10:28:31.163Z] $ docker exec --env ******** --env ******** d263855b357d18173426030e95da046725795c84273db7e2d189b7136ab22912 ssh-agent -k [2022-04-22T10:28:31.287Z] unset SSH_AUTH_SOCK; [2022-04-22T10:28:31.288Z] unset SSH_AGENT_PID; [2022-04-22T10:28:31.288Z] echo Agent pid 59 killed; [2022-04-22T10:28:31.300Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-22T10:28:31.622Z] + git semver [Pipeline] } [2022-04-22T10:28:31.637Z] $ docker stop --time=1 d263855b357d18173426030e95da046725795c84273db7e2d189b7136ab22912 [2022-04-22T10:28:33.005Z] $ docker rm -f d263855b357d18173426030e95da046725795c84273db7e2d189b7136ab22912 [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-22T10:28:33.368Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-04-22T10:28:33.637Z] Stashed 1 file(s) [Pipeline] echo [2022-04-22T10:28:33.641Z] [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 [2022-04-22T10:28:33.791Z] provisioning config files... [2022-04-22T10:28:33.804Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1146@tmp/config3485498878022412523tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-22T10:28:34.112Z] ---> docker-login.sh [2022-04-22T10:28:34.112Z] nexus3.edgexfoundry.org:10001 [2022-04-22T10:28:34.112Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-22T10:28:34.112Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-22T10:28:34.112Z] Configure a credential helper to remove this warning. See [2022-04-22T10:28:34.112Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-22T10:28:34.112Z] [2022-04-22T10:28:34.112Z] Login Succeeded [2022-04-22T10:28:34.112Z] nexus3.edgexfoundry.org:10002 [2022-04-22T10:28:34.112Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-22T10:28:34.374Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-22T10:28:34.374Z] Configure a credential helper to remove this warning. See [2022-04-22T10:28:34.374Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-22T10:28:34.374Z] [2022-04-22T10:28:34.374Z] Login Succeeded [2022-04-22T10:28:34.374Z] nexus3.edgexfoundry.org:10003 [2022-04-22T10:28:34.374Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-22T10:28:34.374Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-22T10:28:34.374Z] Configure a credential helper to remove this warning. See [2022-04-22T10:28:34.374Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-22T10:28:34.374Z] [2022-04-22T10:28:34.374Z] Login Succeeded [2022-04-22T10:28:34.374Z] nexus3.edgexfoundry.org:10004 [2022-04-22T10:28:34.636Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-22T10:28:34.636Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-22T10:28:34.636Z] Configure a credential helper to remove this warning. See [2022-04-22T10:28:34.636Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-22T10:28:34.636Z] [2022-04-22T10:28:34.636Z] Login Succeeded [2022-04-22T10:28:34.636Z] docker.io [2022-04-22T10:28:34.636Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-22T10:28:35.211Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-22T10:28:35.211Z] Configure a credential helper to remove this warning. See [2022-04-22T10:28:35.211Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-22T10:28:35.211Z] [2022-04-22T10:28:35.211Z] Login Succeeded [2022-04-22T10:28:35.211Z] ---> docker-login.sh ends [Pipeline] } [2022-04-22T10:28:35.220Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-22T10:28:35.292Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-22T10:28:35.305Z] ========================================================= [2022-04-22T10:28:35.305Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-04-22T10:28:35.305Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-22T10:28:35.625Z] + 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.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-04-22T10:28:35.625Z] Sending build context to Docker daemon 9.616MB [2022-04-22T10:28:35.625Z] Step 1/11 : ARG BASE=golang:1.17-alpine3.15 [2022-04-22T10:28:35.625Z] Step 2/11 : FROM ${BASE} AS builder [2022-04-22T10:28:35.625Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-04-22T10:28:35.625Z] 59bf1c3509f3: Pulling fs layer [2022-04-22T10:28:35.625Z] 666ba61612fd: Pulling fs layer [2022-04-22T10:28:35.625Z] 8ed8ca486205: Pulling fs layer [2022-04-22T10:28:35.625Z] 4fe6c5a15a65: Pulling fs layer [2022-04-22T10:28:35.625Z] 22a0e8bec74d: Pulling fs layer [2022-04-22T10:28:35.625Z] 640e595b4fbd: Pulling fs layer [2022-04-22T10:28:35.625Z] 763cafe07f6e: Pulling fs layer [2022-04-22T10:28:35.625Z] 0c0b528cf693: Pulling fs layer [2022-04-22T10:28:35.625Z] 10935f4eaf8b: Pulling fs layer [2022-04-22T10:28:35.625Z] 4fe6c5a15a65: Waiting [2022-04-22T10:28:35.625Z] 22a0e8bec74d: Waiting [2022-04-22T10:28:35.625Z] 763cafe07f6e: Waiting [2022-04-22T10:28:35.625Z] 0c0b528cf693: Waiting [2022-04-22T10:28:35.625Z] 10935f4eaf8b: Waiting [2022-04-22T10:28:35.625Z] 640e595b4fbd: Waiting [2022-04-22T10:28:35.886Z] 8ed8ca486205: Verifying Checksum [2022-04-22T10:28:35.886Z] 8ed8ca486205: Download complete [2022-04-22T10:28:35.886Z] 666ba61612fd: Download complete [2022-04-22T10:28:35.886Z] 22a0e8bec74d: Download complete [2022-04-22T10:28:35.886Z] 640e595b4fbd: Verifying Checksum [2022-04-22T10:28:35.886Z] 640e595b4fbd: Download complete [2022-04-22T10:28:35.886Z] 59bf1c3509f3: Verifying Checksum [2022-04-22T10:28:35.886Z] 59bf1c3509f3: Download complete [2022-04-22T10:28:35.886Z] 763cafe07f6e: Verifying Checksum [2022-04-22T10:28:35.886Z] 763cafe07f6e: Download complete [2022-04-22T10:28:35.886Z] 0c0b528cf693: Verifying Checksum [2022-04-22T10:28:35.886Z] 0c0b528cf693: Download complete [2022-04-22T10:28:35.886Z] 59bf1c3509f3: Pull complete [2022-04-22T10:28:36.150Z] 666ba61612fd: Pull complete [2022-04-22T10:28:36.150Z] 8ed8ca486205: Pull complete [2022-04-22T10:28:36.730Z] 10935f4eaf8b: Verifying Checksum [2022-04-22T10:28:36.730Z] 10935f4eaf8b: Download complete [2022-04-22T10:28:36.730Z] 4fe6c5a15a65: Verifying Checksum [2022-04-22T10:28:36.730Z] 4fe6c5a15a65: Download complete [2022-04-22T10:28:40.940Z] 4fe6c5a15a65: Pull complete [2022-04-22T10:28:40.940Z] 22a0e8bec74d: Pull complete [2022-04-22T10:28:40.940Z] 640e595b4fbd: Pull complete [2022-04-22T10:28:40.940Z] 763cafe07f6e: Pull complete [2022-04-22T10:28:41.201Z] 0c0b528cf693: Pull complete [2022-04-22T10:28:43.759Z] 10935f4eaf8b: Pull complete [2022-04-22T10:28:43.759Z] Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 [2022-04-22T10:28:43.759Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-04-22T10:28:43.759Z] ---> 99d49a6021b9 [2022-04-22T10:28:43.759Z] Step 3/11 : ARG MAKE=make build [2022-04-22T10:28:45.145Z] ---> Running in 1bd9b87d14f2 [2022-04-22T10:28:45.145Z] Removing intermediate container 1bd9b87d14f2 [2022-04-22T10:28:45.145Z] ---> 1638ca23429a [2022-04-22T10:28:45.145Z] Step 4/11 : WORKDIR /device-sdk-go [2022-04-22T10:28:45.145Z] ---> Running in 9a6c7ad55445 [2022-04-22T10:28:45.408Z] Removing intermediate container 9a6c7ad55445 [2022-04-22T10:28:45.408Z] ---> 6929ee1450b9 [2022-04-22T10:28:45.408Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-04-22T10:28:45.408Z] ---> Running in 940ec73c8707 [2022-04-22T10:28:45.408Z] Removing intermediate container 940ec73c8707 [2022-04-22T10:28:45.408Z] ---> 0269e84446a8 [2022-04-22T10:28:45.408Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-22T10:28:45.408Z] ---> Running in cced58c885f0 [2022-04-22T10:28:45.978Z] Removing intermediate container cced58c885f0 [2022-04-22T10:28:45.978Z] ---> e1cc1a58b657 [2022-04-22T10:28:45.978Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-04-22T10:28:46.239Z] ---> Running in 5928a9270eee [2022-04-22T10:28:46.499Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-22T10:28:47.444Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-22T10:28:47.706Z] OK: 221 MiB in 52 packages [2022-04-22T10:28:47.968Z] Removing intermediate container 5928a9270eee [2022-04-22T10:28:47.968Z] ---> c02a0827fb06 [2022-04-22T10:28:47.968Z] Step 8/11 : COPY go.mod vendor* ./ [2022-04-22T10:28:48.228Z] ---> aafbff04580d [2022-04-22T10:28:48.228Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-22T10:28:48.228Z] ---> Running in e436c342ad24 [2022-04-22T10:28:48.757Z] Still waiting to schedule task [2022-04-22T10:28:48.757Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-04-22T10:29:06.342Z] Removing intermediate container e436c342ad24 [2022-04-22T10:29:06.342Z] ---> 7fd8f2131989 [2022-04-22T10:29:06.342Z] Step 10/11 : COPY . . [2022-04-22T10:29:06.342Z] ---> 0e0676a31d55 [2022-04-22T10:29:06.342Z] Step 11/11 : RUN ${MAKE} [2022-04-22T10:29:06.342Z] ---> Running in 27c3bc1c7de9 [2022-04-22T10:29:06.342Z] noop [2022-04-22T10:29:06.342Z] Removing intermediate container 27c3bc1c7de9 [2022-04-22T10:29:06.342Z] ---> eccd89847cfb [2022-04-22T10:29:06.342Z] Successfully built eccd89847cfb [2022-04-22T10:29:06.342Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-22T10:29:06.648Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-22T10:29:06.648Z] . [Pipeline] withDockerContainer [2022-04-22T10:29:06.718Z] prd-ubuntu20.04-docker-8c-8g-21773 does not seem to be running inside a container [2022-04-22T10:29:06.765Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1146 -v /w/workspace/gexfoundry_device-sdk-go_PR-1146:/w/workspace/gexfoundry_device-sdk-go_PR-1146:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1146@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1146@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 [2022-04-22T10:29:07.176Z] $ docker top f5c64dbac0546b6148ffc87ae909e2687875b815ec7d53e136afc4e2ff3dabf0 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-22T10:29:07.537Z] + go version [2022-04-22T10:29:07.537Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-04-22T10:29:07.555Z] $ docker stop --time=1 f5c64dbac0546b6148ffc87ae909e2687875b815ec7d53e136afc4e2ff3dabf0 [2022-04-22T10:29:08.911Z] $ docker rm -f f5c64dbac0546b6148ffc87ae909e2687875b815ec7d53e136afc4e2ff3dabf0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-22T10:29:09.319Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-22T10:29:09.319Z] . [Pipeline] withDockerContainer [2022-04-22T10:29:09.393Z] prd-ubuntu20.04-docker-8c-8g-21773 does not seem to be running inside a container [2022-04-22T10:29:09.437Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1146 -v /w/workspace/gexfoundry_device-sdk-go_PR-1146:/w/workspace/gexfoundry_device-sdk-go_PR-1146:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1146@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1146@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 [2022-04-22T10:29:09.825Z] $ docker top c47a317b56f9d76cd2ce880534003b70b00f8c482f68f4aeeb1bf74b174cecc8 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-22T10:29:10.196Z] + make test [2022-04-22T10:29:10.196Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-04-22T10:29:16.800Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-04-22T10:29:29.165Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-04-22T10:29:29.165Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-04-22T10:29:29.165Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-04-22T10:29:29.426Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.079s coverage: 23.3% of statements [2022-04-22T10:29:29.426Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-04-22T10:29:29.689Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.064s coverage: 27.6% of statements [2022-04-22T10:29:29.689Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.081s coverage: 78.9% of statements [2022-04-22T10:29:29.689Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.051s coverage: 10.8% of statements [2022-04-22T10:29:29.689Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.085s coverage: 60.0% of statements [2022-04-22T10:29:29.689Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-04-22T10:29:29.689Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-04-22T10:29:30.262Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.081s coverage: 34.8% of statements [2022-04-22T10:29:30.262Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-04-22T10:29:30.262Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.064s coverage: 86.1% of statements [2022-04-22T10:29:30.262Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-04-22T10:29:30.262Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-04-22T10:29:30.262Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.108s coverage: 65.1% of statements [2022-04-22T10:29:30.262Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.965s coverage: 89.2% of statements [2022-04-22T10:29:30.262Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-04-22T10:29:30.262Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.055s coverage: 4.7% of statements [2022-04-22T10:29:30.262Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-04-22T10:29:45.157Z] GO111MODULE=on go vet ./... [2022-04-22T10:29:50.429Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-22T10:29:50.429Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-22T10:29:50.429Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-04-22T10:29:50.443Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-04-22T10:29:50.466Z] $ docker stop --time=1 c47a317b56f9d76cd2ce880534003b70b00f8c482f68f4aeeb1bf74b174cecc8 [2022-04-22T10:29:52.721Z] $ docker rm -f c47a317b56f9d76cd2ce880534003b70b00f8c482f68f4aeeb1bf74b174cecc8 [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-22T10:29:53.220Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-04-22T10:29:53.289Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-04-22T10:29:54.316Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-04-22T10:29:54.608Z] + ls -al . [2022-04-22T10:29:54.608Z] total 296 [2022-04-22T10:29:54.608Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 22 10:29 . [2022-04-22T10:29:54.608Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 22 10:28 .. [2022-04-22T10:29:54.608Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 22 10:28 .dockerignore [2022-04-22T10:29:54.608Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 22 10:28 .git [2022-04-22T10:29:54.608Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 22 10:28 .github [2022-04-22T10:29:54.608Z] -rw-rw-r-- 1 jenkins jenkins 131 Apr 22 10:28 .gitignore [2022-04-22T10:29:54.608Z] -rw-rw-r-- 1 jenkins jenkins 42 Apr 22 10:28 .golangci.yml [2022-04-22T10:29:54.608Z] drwx------ 3 jenkins jenkins 4096 Apr 22 10:28 .semver [2022-04-22T10:29:54.608Z] -rw-rw-r-- 1 jenkins jenkins 26321 Apr 22 10:28 CHANGELOG.md [2022-04-22T10:29:54.608Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 22 10:28 GOVERNANCE.md [2022-04-22T10:29:54.608Z] -rw-rw-r-- 1 jenkins jenkins 880 Apr 22 10:28 Jenkinsfile [2022-04-22T10:29:54.608Z] -rw-rw-r-- 1 jenkins jenkins 11341 Apr 22 10:28 LICENSE [2022-04-22T10:29:54.608Z] -rw-rw-r-- 1 jenkins jenkins 2015 Apr 22 10:28 Makefile [2022-04-22T10:29:54.608Z] -rw-rw-r-- 1 jenkins jenkins 619 Apr 22 10:28 OWNERS.md [2022-04-22T10:29:54.608Z] -rw-rw-r-- 1 jenkins jenkins 4881 Apr 22 10:28 README.md [2022-04-22T10:29:54.608Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 22 10:28 VERSION [2022-04-22T10:29:54.608Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 22 10:28 bin [2022-04-22T10:29:54.608Z] -rw-r--r-- 1 jenkins jenkins 130819 Apr 22 10:29 coverage.out [2022-04-22T10:29:54.608Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 22 10:28 example [2022-04-22T10:29:54.608Z] -rw-rw-r-- 1 jenkins jenkins 3198 Apr 22 10:28 go.mod [2022-04-22T10:29:54.608Z] -rw-rw-r-- 1 jenkins jenkins 34607 Apr 22 10:28 go.sum [2022-04-22T10:29:54.608Z] drwxrwxr-x 15 jenkins jenkins 4096 Apr 22 10:28 internal [2022-04-22T10:29:54.608Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 22 10:28 openapi [2022-04-22T10:29:54.608Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 22 10:28 pkg [2022-04-22T10:29:54.608Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 22 10:28 snap [2022-04-22T10:29:54.608Z] -rw-rw-r-- 1 jenkins jenkins 222 Apr 22 10:28 version.go [Pipeline] isUnix [Pipeline] sh [2022-04-22T10:29:54.910Z] + 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=f9d12fc9f4633fcc2600c286baef40311e3f37fa --label arch=amd64 --label version=0.0.0 . [2022-04-22T10:29:54.910Z] Sending build context to Docker daemon 9.748MB [2022-04-22T10:29:54.910Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-04-22T10:29:54.910Z] Step 2/25 : FROM ${BASE} AS builder [2022-04-22T10:29:54.910Z] ---> eccd89847cfb [2022-04-22T10:29:54.910Z] Step 3/25 : ARG MAKE=make build [2022-04-22T10:29:55.170Z] ---> Running in d7e76113082d [2022-04-22T10:29:55.170Z] Removing intermediate container d7e76113082d [2022-04-22T10:29:55.170Z] ---> 1ec6b449cab8 [2022-04-22T10:29:55.170Z] Step 4/25 : WORKDIR /device-sdk-go [2022-04-22T10:29:55.170Z] ---> Running in d65fbdc08142 [2022-04-22T10:29:55.170Z] Removing intermediate container d65fbdc08142 [2022-04-22T10:29:55.170Z] ---> 48f18f66a56a [2022-04-22T10:29:55.170Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-04-22T10:29:55.170Z] ---> Running in 628d9d21ec26 [2022-04-22T10:29:55.430Z] Removing intermediate container 628d9d21ec26 [2022-04-22T10:29:55.430Z] ---> 9198525cb6c3 [2022-04-22T10:29:55.430Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-22T10:29:55.430Z] ---> Running in 2dbd941e727e [2022-04-22T10:29:56.000Z] Removing intermediate container 2dbd941e727e [2022-04-22T10:29:56.000Z] ---> e5cb13595c13 [2022-04-22T10:29:56.000Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-04-22T10:29:56.000Z] ---> Running in fc7e2ca3f9b9 [2022-04-22T10:29:56.261Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-22T10:29:57.204Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-22T10:29:57.465Z] OK: 221 MiB in 52 packages [2022-04-22T10:29:57.725Z] Removing intermediate container fc7e2ca3f9b9 [2022-04-22T10:29:57.725Z] ---> 1f93c2af3dd0 [2022-04-22T10:29:57.725Z] Step 8/25 : COPY go.mod vendor* ./ [2022-04-22T10:29:57.984Z] ---> 2fb015c01c39 [2022-04-22T10:29:57.984Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-22T10:29:57.984Z] ---> Running in 2428b45e5ffb [2022-04-22T10:29:58.555Z] Removing intermediate container 2428b45e5ffb [2022-04-22T10:29:58.555Z] ---> ac5569abf7c8 [2022-04-22T10:29:58.555Z] Step 10/25 : COPY . . [2022-04-22T10:29:59.125Z] ---> e64891b7a7cb [2022-04-22T10:29:59.125Z] Step 11/25 : RUN ${MAKE} [2022-04-22T10:29:59.125Z] ---> Running in 2ff640eff99c [2022-04-22T10:29:59.384Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2022-04-22T10:30:17.481Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-04-22T10:30:18.872Z] Removing intermediate container 2ff640eff99c [2022-04-22T10:30:18.872Z] ---> d3fbd39d40f5 [2022-04-22T10:30:18.872Z] Step 12/25 : FROM alpine:3.14 [2022-04-22T10:30:19.132Z] 3.14: Pulling from library/alpine [2022-04-22T10:30:19.391Z] 8663204ce13b: Pulling fs layer [2022-04-22T10:30:19.391Z] 8663204ce13b: Verifying Checksum [2022-04-22T10:30:19.391Z] 8663204ce13b: Download complete [2022-04-22T10:30:19.651Z] 8663204ce13b: Pull complete [2022-04-22T10:30:19.651Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-04-22T10:30:19.651Z] Status: Downloaded newer image for alpine:3.14 [2022-04-22T10:30:19.651Z] ---> e04c818066af [2022-04-22T10:30:19.651Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-04-22T10:30:19.651Z] ---> Running in 75ecb3c31bbd [2022-04-22T10:30:19.651Z] Removing intermediate container 75ecb3c31bbd [2022-04-22T10:30:19.651Z] ---> 0597f73db979 [2022-04-22T10:30:19.651Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-22T10:30:19.912Z] ---> Running in d684df823827 [2022-04-22T10:30:20.480Z] Removing intermediate container d684df823827 [2022-04-22T10:30:20.480Z] ---> 9a5fe1bb0862 [2022-04-22T10:30:20.481Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-04-22T10:30:20.481Z] ---> Running in bedd30670e08 [2022-04-22T10:30:20.739Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-04-22T10:30:21.675Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-04-22T10:30:21.935Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2022-04-22T10:30:21.935Z] (2/5) Installing libsodium (1.0.18-r0) [2022-04-22T10:30:21.935Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2022-04-22T10:30:22.196Z] (4/5) Installing libzmq (4.3.4-r0) [2022-04-22T10:30:22.196Z] (5/5) Installing zeromq (4.3.4-r0) [2022-04-22T10:30:22.196Z] Executing busybox-1.33.1-r7.trigger [2022-04-22T10:30:22.196Z] OK: 8 MiB in 19 packages [2022-04-22T10:30:22.765Z] Removing intermediate container bedd30670e08 [2022-04-22T10:30:22.765Z] ---> 490b6a64c558 [2022-04-22T10:30:22.765Z] Step 16/25 : WORKDIR / [2022-04-22T10:30:22.765Z] ---> Running in 12906482c984 [2022-04-22T10:30:22.765Z] Removing intermediate container 12906482c984 [2022-04-22T10:30:22.765Z] ---> 93dcc6d330bd [2022-04-22T10:30:22.765Z] Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-04-22T10:30:23.025Z] ---> 884c5043e04a [2022-04-22T10:30:23.025Z] Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-04-22T10:30:23.600Z] ---> 40116d9fb0b1 [2022-04-22T10:30:23.600Z] Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-04-22T10:30:23.865Z] ---> 498790ce0f40 [2022-04-22T10:30:23.865Z] Step 20/25 : EXPOSE 59999 [2022-04-22T10:30:23.865Z] ---> Running in fdd4b47acdc7 [2022-04-22T10:30:23.865Z] Removing intermediate container fdd4b47acdc7 [2022-04-22T10:30:23.865Z] ---> 4992e4aa3bff [2022-04-22T10:30:23.865Z] Step 21/25 : ENTRYPOINT ["/device-simple"] [2022-04-22T10:30:23.865Z] ---> Running in eaeece55fb1f [2022-04-22T10:30:24.126Z] Removing intermediate container eaeece55fb1f [2022-04-22T10:30:24.126Z] ---> 8e531767ff75 [2022-04-22T10:30:24.126Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-04-22T10:30:24.126Z] ---> Running in 5ca513f7a318 [2022-04-22T10:30:24.126Z] Removing intermediate container 5ca513f7a318 [2022-04-22T10:30:24.126Z] ---> 692fcc8cf555 [2022-04-22T10:30:24.126Z] Step 23/25 : LABEL arch=amd64 [2022-04-22T10:30:24.126Z] ---> Running in 8f8f05f35de5 [2022-04-22T10:30:24.386Z] Removing intermediate container 8f8f05f35de5 [2022-04-22T10:30:24.386Z] ---> d6d3922cdb9e [2022-04-22T10:30:24.386Z] Step 24/25 : LABEL git_sha=f9d12fc9f4633fcc2600c286baef40311e3f37fa [2022-04-22T10:30:24.386Z] ---> Running in 7d46d68e3e0a [2022-04-22T10:30:24.647Z] Removing intermediate container 7d46d68e3e0a [2022-04-22T10:30:24.647Z] ---> 7f27929a6364 [2022-04-22T10:30:24.647Z] Step 25/25 : LABEL version=0.0.0 [2022-04-22T10:30:24.647Z] ---> Running in f719a8b42315 [2022-04-22T10:30:24.647Z] Removing intermediate container f719a8b42315 [2022-04-22T10:30:24.647Z] ---> 2fd3386ccf05 [2022-04-22T10:30:24.647Z] [Warning] One or more build-args [ARCH] were not consumed [2022-04-22T10:30:24.647Z] Successfully built 2fd3386ccf05 [2022-04-22T10:30:24.647Z] Successfully tagged device-sdk-simple:latest [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] sh [2022-04-22T10:30:25.050Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-22T10:30:25.050Z] [2022-04-22T10:30:25.050Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-04-22T10:30:25.351Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-22T10:30:25.351Z] latest: Pulling from edgex-lftools-log-publisher [2022-04-22T10:30:25.351Z] 5eb5b503b376: Pulling fs layer [2022-04-22T10:30:25.351Z] 5c69ac0246d0: Pulling fs layer [2022-04-22T10:30:25.351Z] ec43610c2a17: Pulling fs layer [2022-04-22T10:30:25.351Z] 3a2ae6a8a46f: Pulling fs layer [2022-04-22T10:30:25.351Z] 33b1e0a273af: Pulling fs layer [2022-04-22T10:30:25.351Z] 5d3b04190fa2: Pulling fs layer [2022-04-22T10:30:25.351Z] 2f39f015ded8: Pulling fs layer [2022-04-22T10:30:25.351Z] 3a2ae6a8a46f: Waiting [2022-04-22T10:30:25.351Z] 33b1e0a273af: Waiting [2022-04-22T10:30:25.351Z] 5d3b04190fa2: Waiting [2022-04-22T10:30:25.351Z] 2f39f015ded8: Waiting [2022-04-22T10:30:25.612Z] 5c69ac0246d0: Download complete [2022-04-22T10:30:25.612Z] 3a2ae6a8a46f: Verifying Checksum [2022-04-22T10:30:25.612Z] 3a2ae6a8a46f: Download complete [2022-04-22T10:30:25.612Z] 33b1e0a273af: Verifying Checksum [2022-04-22T10:30:25.612Z] 33b1e0a273af: Download complete [2022-04-22T10:30:25.612Z] 5d3b04190fa2: Verifying Checksum [2022-04-22T10:30:25.612Z] 5d3b04190fa2: Download complete [2022-04-22T10:30:25.612Z] ec43610c2a17: Verifying Checksum [2022-04-22T10:30:25.612Z] ec43610c2a17: Download complete [2022-04-22T10:30:25.612Z] 5eb5b503b376: Verifying Checksum [2022-04-22T10:30:25.612Z] 5eb5b503b376: Download complete [2022-04-22T10:30:26.554Z] 2f39f015ded8: Download complete [2022-04-22T10:30:27.125Z] 5eb5b503b376: Pull complete [2022-04-22T10:30:27.385Z] 5c69ac0246d0: Pull complete [2022-04-22T10:30:27.957Z] ec43610c2a17: Pull complete [2022-04-22T10:30:27.957Z] 3a2ae6a8a46f: Pull complete [2022-04-22T10:30:28.527Z] 33b1e0a273af: Pull complete [2022-04-22T10:30:28.527Z] 5d3b04190fa2: Pull complete [2022-04-22T10:30:33.814Z] 2f39f015ded8: Pull complete [2022-04-22T10:30:33.814Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-04-22T10:30:33.814Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-22T10:30:33.814Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-04-22T10:30:33.882Z] prd-ubuntu20.04-docker-8c-8g-21773 does not seem to be running inside a container [2022-04-22T10:30:33.931Z] $ 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-1146 -v /w/workspace/gexfoundry_device-sdk-go_PR-1146:/w/workspace/gexfoundry_device-sdk-go_PR-1146:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1146@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1146@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 [2022-04-22T10:30:35.945Z] $ docker top 85db3626a73912004ef4953a2b6cfeaa6127450bc6f1aa05582e4dfa62d2646a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-22T10:30:36.377Z] ---> job-cost.sh [2022-04-22T10:30:36.377Z] lf-activate-venv: SKIPPING [2022-04-22T10:30:36.377Z] INFO: No Stack... [2022-04-22T10:30:36.637Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-22T10:30:37.210Z] INFO: Archiving Costs [Pipeline] sh [2022-04-22T10:30:37.505Z] + + cutcat -d, /w/workspace/gexfoundry_device-sdk-go_PR-1146/archives/cost.csv -f6 [2022-04-22T10:30:37.505Z] [Pipeline] lock [2022-04-22T10:30:37.525Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1146-3-stack-cost] [2022-04-22T10:30:37.532Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1146-3-stack-cost] did not exist. Created. [2022-04-22T10:30:37.532Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1146-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-22T10:30:37.901Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-04-22T10:30:37.969Z] Stashed 1 file(s) [Pipeline] } [2022-04-22T10:30:37.978Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1146-3-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-22T10:30:38.006Z] $ docker stop --time=1 85db3626a73912004ef4953a2b6cfeaa6127450bc6f1aa05582e4dfa62d2646a [2022-04-22T10:30:39.544Z] $ docker rm -f 85db3626a73912004ef4953a2b6cfeaa6127450bc6f1aa05582e4dfa62d2646a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-04-22T10:31:31.403Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-21775 in /w/workspace/gexfoundry_device-sdk-go_PR-1146 [Pipeline] { [Pipeline] ws [2022-04-22T10:31:31.420Z] Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout [2022-04-22T10:31:31.654Z] The recommended git tool is: git [2022-04-22T10:31:39.628Z] using credential edgex-jenkins-ssh [2022-04-22T10:31:39.655Z] Cloning the remote Git repository [2022-04-22T10:31:39.730Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2022-04-22T10:31:39.804Z] > git init /w/workspace/device-sdk-go/3 # timeout=10 [2022-04-22T10:31:39.882Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-04-22T10:31:39.882Z] > git --version # timeout=10 [2022-04-22T10:31:39.904Z] > git --version # 'git version 2.25.1' [2022-04-22T10:31:39.906Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-22T10:31:39.998Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-22T10:31:41.605Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-04-22T10:31:41.624Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-22T10:31:41.651Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-04-22T10:31:41.696Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-04-22T10:31:41.697Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-22T10:31:41.717Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1146/head:refs/remotes/origin/PR-1146 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-04-22T10:31:42.398Z] Merging remotes/origin/main commit c4fb6f454a66f6ec4303bcc61530b9f99af08732 into PR head commit f9d12fc9f4633fcc2600c286baef40311e3f37fa [2022-04-22T10:31:42.682Z] Merge succeeded, producing f9d12fc9f4633fcc2600c286baef40311e3f37fa [2022-04-22T10:31:42.682Z] Checking out Revision f9d12fc9f4633fcc2600c286baef40311e3f37fa (PR-1146) [2022-04-22T10:31:42.425Z] > git config core.sparsecheckout # timeout=10 [2022-04-22T10:31:42.459Z] > git checkout -f f9d12fc9f4633fcc2600c286baef40311e3f37fa # timeout=10 [2022-04-22T10:31:42.583Z] > git remote # timeout=10 [2022-04-22T10:31:42.610Z] > git config --get remote.origin.url # timeout=10 [2022-04-22T10:31:42.625Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-22T10:31:42.638Z] > git merge c4fb6f454a66f6ec4303bcc61530b9f99af08732 # timeout=10 [2022-04-22T10:31:42.667Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-04-22T10:31:42.696Z] > git config core.sparsecheckout # timeout=10 [2022-04-22T10:31:42.714Z] > git checkout -f f9d12fc9f4633fcc2600c286baef40311e3f37fa # timeout=10 [2022-04-22T10:31:47.035Z] Commit message: "fix: Add missing Configuration interface method GetTelemetryInfo" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-22T10:31:47.878Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-04-22T10:31:47.878Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-22T10:31:47.878Z] Dload Upload Total Spent Left Speed [2022-04-22T10:31:47.878Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 226k 0 --:--:-- --:--:-- --:--:-- 226k [Pipeline] sh [2022-04-22T10:31:48.443Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-04-22T10:31:48.792Z] + sudo tee /etc/docker/daemon.new [2022-04-22T10:31:48.792Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-04-22T10:31:48.792Z] { [2022-04-22T10:31:48.792Z] "registry-mirrors": [ [2022-04-22T10:31:48.792Z] "https://nexus3.edgexfoundry.org:10001" [2022-04-22T10:31:48.792Z] ], [2022-04-22T10:31:48.792Z] "bip": "10.250.0.254/24", [2022-04-22T10:31:48.792Z] "hosts": [ [2022-04-22T10:31:48.792Z] "tcp://0.0.0.0:5555", [2022-04-22T10:31:48.792Z] "unix:///var/run/docker.sock" [2022-04-22T10:31:48.792Z] ], [2022-04-22T10:31:48.792Z] "mtu": 1458, [2022-04-22T10:31:48.792Z] "selinux-enabled": true, [2022-04-22T10:31:48.792Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-04-22T10:31:48.792Z] } [Pipeline] sh [2022-04-22T10:31:49.148Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-04-22T10:31:49.510Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-22T10:32:07.869Z] provisioning config files... [2022-04-22T10:32:07.896Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/3@tmp/config8307985153723005797tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-22T10:32:08.318Z] ---> docker-login.sh [2022-04-22T10:32:08.318Z] nexus3.edgexfoundry.org:10001 [2022-04-22T10:32:08.926Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-22T10:32:09.525Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-22T10:32:09.525Z] Configure a credential helper to remove this warning. See [2022-04-22T10:32:09.525Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-22T10:32:09.525Z] [2022-04-22T10:32:09.525Z] Login Succeeded [2022-04-22T10:32:09.525Z] nexus3.edgexfoundry.org:10002 [2022-04-22T10:32:09.798Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-22T10:32:09.798Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-22T10:32:09.798Z] Configure a credential helper to remove this warning. See [2022-04-22T10:32:09.798Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-22T10:32:09.798Z] [2022-04-22T10:32:09.798Z] Login Succeeded [2022-04-22T10:32:09.798Z] nexus3.edgexfoundry.org:10003 [2022-04-22T10:32:10.404Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-22T10:32:10.404Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-22T10:32:10.404Z] Configure a credential helper to remove this warning. See [2022-04-22T10:32:10.404Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-22T10:32:10.404Z] [2022-04-22T10:32:10.404Z] Login Succeeded [2022-04-22T10:32:10.404Z] nexus3.edgexfoundry.org:10004 [2022-04-22T10:32:10.680Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-22T10:32:10.953Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-22T10:32:10.953Z] Configure a credential helper to remove this warning. See [2022-04-22T10:32:10.953Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-22T10:32:10.953Z] [2022-04-22T10:32:10.953Z] Login Succeeded [2022-04-22T10:32:10.953Z] docker.io [2022-04-22T10:32:11.225Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-22T10:32:11.817Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-22T10:32:11.817Z] Configure a credential helper to remove this warning. See [2022-04-22T10:32:11.817Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-22T10:32:11.817Z] [2022-04-22T10:32:11.817Z] Login Succeeded [2022-04-22T10:32:11.817Z] ---> docker-login.sh ends [Pipeline] } [2022-04-22T10:32:11.834Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-22T10:32:12.246Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-22T10:32:12.256Z] ========================================================= [2022-04-22T10:32:12.256Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-04-22T10:32:12.256Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-22T10:32:12.627Z] + 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.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-04-22T10:32:13.229Z] Sending build context to Docker daemon 5.228MB [2022-04-22T10:32:13.229Z] Step 1/11 : ARG BASE=golang:1.17-alpine3.15 [2022-04-22T10:32:13.229Z] Step 2/11 : FROM ${BASE} AS builder [2022-04-22T10:32:13.229Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-04-22T10:32:13.229Z] 9b3977197b4f: Pulling fs layer [2022-04-22T10:32:13.229Z] 1a89e8eeedd5: Pulling fs layer [2022-04-22T10:32:13.229Z] 94645a83ff95: Pulling fs layer [2022-04-22T10:32:13.229Z] 3f3a8bcf1eab: Pulling fs layer [2022-04-22T10:32:13.229Z] 0c92f367c5e7: Pulling fs layer [2022-04-22T10:32:13.229Z] f7c0051592d6: Pulling fs layer [2022-04-22T10:32:13.229Z] a227ed2f7395: Pulling fs layer [2022-04-22T10:32:13.229Z] 7b1c46037f91: Pulling fs layer [2022-04-22T10:32:13.229Z] f7c0051592d6: Waiting [2022-04-22T10:32:13.229Z] a227ed2f7395: Waiting [2022-04-22T10:32:13.229Z] 7b1c46037f91: Waiting [2022-04-22T10:32:13.229Z] 0c92f367c5e7: Waiting [2022-04-22T10:32:13.229Z] 3f3a8bcf1eab: Waiting [2022-04-22T10:32:13.229Z] 94645a83ff95: Download complete [2022-04-22T10:32:13.229Z] 1a89e8eeedd5: Verifying Checksum [2022-04-22T10:32:13.229Z] 1a89e8eeedd5: Download complete [2022-04-22T10:32:13.509Z] 0c92f367c5e7: Verifying Checksum [2022-04-22T10:32:13.509Z] 0c92f367c5e7: Download complete [2022-04-22T10:32:13.509Z] f7c0051592d6: Verifying Checksum [2022-04-22T10:32:13.509Z] f7c0051592d6: Download complete [2022-04-22T10:32:13.509Z] 9b3977197b4f: Download complete [2022-04-22T10:32:13.509Z] a227ed2f7395: Verifying Checksum [2022-04-22T10:32:13.509Z] a227ed2f7395: Download complete [2022-04-22T10:32:14.113Z] 9b3977197b4f: Pull complete [2022-04-22T10:32:14.718Z] 1a89e8eeedd5: Pull complete [2022-04-22T10:32:15.000Z] 94645a83ff95: Pull complete [2022-04-22T10:32:15.595Z] 7b1c46037f91: Download complete [2022-04-22T10:32:15.868Z] 3f3a8bcf1eab: Verifying Checksum [2022-04-22T10:32:15.868Z] 3f3a8bcf1eab: Download complete [2022-04-22T10:32:28.273Z] 3f3a8bcf1eab: Pull complete [2022-04-22T10:32:28.273Z] 0c92f367c5e7: Pull complete [2022-04-22T10:32:28.273Z] f7c0051592d6: Pull complete [2022-04-22T10:32:28.273Z] a227ed2f7395: Pull complete [2022-04-22T10:32:35.000Z] 7b1c46037f91: Pull complete [2022-04-22T10:32:35.000Z] Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe [2022-04-22T10:32:35.000Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-04-22T10:32:35.000Z] ---> f79e39bc4007 [2022-04-22T10:32:35.000Z] Step 3/11 : ARG MAKE=make build [2022-04-22T10:32:35.279Z] ---> Running in ab57b91949d2 [2022-04-22T10:32:35.553Z] Removing intermediate container ab57b91949d2 [2022-04-22T10:32:35.553Z] ---> a42e47f3502d [2022-04-22T10:32:35.553Z] Step 4/11 : WORKDIR /device-sdk-go [2022-04-22T10:32:35.828Z] ---> Running in 2cefc0d2a005 [2022-04-22T10:32:36.103Z] Removing intermediate container 2cefc0d2a005 [2022-04-22T10:32:36.103Z] ---> 029ddb0f8c0e [2022-04-22T10:32:36.103Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-04-22T10:32:36.103Z] ---> Running in 8c2c47682aa2 [2022-04-22T10:32:36.393Z] Removing intermediate container 8c2c47682aa2 [2022-04-22T10:32:36.393Z] ---> 687565107c22 [2022-04-22T10:32:36.393Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-22T10:32:36.393Z] ---> Running in f4a1cae805de [2022-04-22T10:32:38.384Z] Removing intermediate container f4a1cae805de [2022-04-22T10:32:38.384Z] ---> 43e1f9cf3d1d [2022-04-22T10:32:38.384Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-04-22T10:32:38.384Z] ---> Running in bac94997400e [2022-04-22T10:32:39.366Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-22T10:32:40.352Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-22T10:32:41.344Z] OK: 220 MiB in 52 packages [2022-04-22T10:32:41.948Z] Removing intermediate container bac94997400e [2022-04-22T10:32:41.948Z] ---> d5b8bb3489ea [2022-04-22T10:32:41.948Z] Step 8/11 : COPY go.mod vendor* ./ [2022-04-22T10:32:42.552Z] ---> c96de45c8a4f [2022-04-22T10:32:42.552Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-22T10:32:42.552Z] ---> Running in 2a58995e6733 [2022-04-22T10:33:29.604Z] Removing intermediate container 2a58995e6733 [2022-04-22T10:33:29.604Z] ---> a6faa4b485d5 [2022-04-22T10:33:29.604Z] Step 10/11 : COPY . . [2022-04-22T10:33:30.595Z] ---> a207e5010d16 [2022-04-22T10:33:30.595Z] Step 11/11 : RUN ${MAKE} [2022-04-22T10:33:30.595Z] ---> Running in f94ac0d87120 [2022-04-22T10:33:31.619Z] noop [2022-04-22T10:33:32.223Z] Removing intermediate container f94ac0d87120 [2022-04-22T10:33:32.223Z] ---> 4c4df04d00d3 [2022-04-22T10:33:32.223Z] Successfully built 4c4df04d00d3 [2022-04-22T10:33:32.223Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-22T10:33:32.575Z] + docker inspect -f . ci-base-image-arm64 [2022-04-22T10:33:32.575Z] . [Pipeline] withDockerContainer [2022-04-22T10:33:32.836Z] prd-ubuntu20.04-docker-arm64-4c-16g-21775 does not seem to be running inside a container [2022-04-22T10:33:32.932Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@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 [2022-04-22T10:33:34.439Z] $ docker top f277bb5512d04f9afe0f8158ad5caa49192dacf3d79b26a9a225fa52e9533509 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-22T10:33:35.392Z] + go version [2022-04-22T10:33:35.392Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-04-22T10:33:35.428Z] $ docker stop --time=1 f277bb5512d04f9afe0f8158ad5caa49192dacf3d79b26a9a225fa52e9533509 [2022-04-22T10:33:37.144Z] $ docker rm -f f277bb5512d04f9afe0f8158ad5caa49192dacf3d79b26a9a225fa52e9533509 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-22T10:33:37.771Z] + docker inspect -f . ci-base-image-arm64 [2022-04-22T10:33:37.771Z] . [Pipeline] withDockerContainer [2022-04-22T10:33:38.028Z] prd-ubuntu20.04-docker-arm64-4c-16g-21775 does not seem to be running inside a container [2022-04-22T10:33:38.132Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@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 [2022-04-22T10:33:39.520Z] $ docker top 330014f633876a1854e067bbaec8fe4fb3dc68a2006b7ccf122a957f4ba634d1 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-22T10:33:40.497Z] + make test [2022-04-22T10:33:40.497Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-04-22T10:34:12.902Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-04-22T10:36:04.877Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-04-22T10:36:04.877Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-04-22T10:36:04.877Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-04-22T10:36:06.342Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.386s coverage: 23.3% of statements [2022-04-22T10:36:06.342Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-04-22T10:36:06.342Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.269s coverage: 27.6% of statements [2022-04-22T10:36:06.342Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.340s coverage: 78.9% of statements [2022-04-22T10:36:06.342Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.280s coverage: 10.8% of statements [2022-04-22T10:36:13.105Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.430s coverage: 60.0% of statements [2022-04-22T10:36:13.105Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-04-22T10:36:13.105Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-04-22T10:36:15.762Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.447s coverage: 34.8% of statements [2022-04-22T10:36:15.762Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-04-22T10:36:15.762Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.325s coverage: 86.1% of statements [2022-04-22T10:36:15.762Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-04-22T10:36:15.762Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-04-22T10:36:17.761Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.554s coverage: 65.1% of statements [2022-04-22T10:36:20.417Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.215s coverage: 89.2% of statements [2022-04-22T10:36:20.417Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-04-22T10:36:23.041Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.246s coverage: 4.7% of statements [2022-04-22T10:36:23.041Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-04-22T10:36:24.025Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-04-22T10:36:24.025Z] GO111MODULE=on go vet ./... [2022-04-22T10:38:00.896Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-22T10:38:00.896Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-22T10:38:00.896Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-04-22T10:38:00.929Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-04-22T10:38:00.957Z] $ docker stop --time=1 330014f633876a1854e067bbaec8fe4fb3dc68a2006b7ccf122a957f4ba634d1 [2022-04-22T10:38:02.883Z] $ docker rm -f 330014f633876a1854e067bbaec8fe4fb3dc68a2006b7ccf122a957f4ba634d1 [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-22T10:38:04.366Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-04-22T10:38:04.391Z] Warning: overwriting stash ‘coverage-report’ [2022-04-22T10:38:05.167Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-22T10:38:05.581Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-04-22T10:38:05.925Z] + ls -al . [2022-04-22T10:38:05.925Z] total 292 [2022-04-22T10:38:05.925Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 22 10:37 . [2022-04-22T10:38:05.925Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 22 10:31 .. [2022-04-22T10:38:05.925Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 22 10:31 .dockerignore [2022-04-22T10:38:05.925Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 22 10:31 .git [2022-04-22T10:38:05.925Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 22 10:31 .github [2022-04-22T10:38:05.925Z] -rw-rw-r-- 1 jenkins jenkins 131 Apr 22 10:31 .gitignore [2022-04-22T10:38:05.925Z] -rw-rw-r-- 1 jenkins jenkins 42 Apr 22 10:31 .golangci.yml [2022-04-22T10:38:05.925Z] -rw-rw-r-- 1 jenkins jenkins 26321 Apr 22 10:31 CHANGELOG.md [2022-04-22T10:38:05.925Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 22 10:31 GOVERNANCE.md [2022-04-22T10:38:05.925Z] -rw-rw-r-- 1 jenkins jenkins 880 Apr 22 10:31 Jenkinsfile [2022-04-22T10:38:05.925Z] -rw-rw-r-- 1 jenkins jenkins 11341 Apr 22 10:31 LICENSE [2022-04-22T10:38:05.925Z] -rw-rw-r-- 1 jenkins jenkins 2015 Apr 22 10:31 Makefile [2022-04-22T10:38:05.925Z] -rw-rw-r-- 1 jenkins jenkins 619 Apr 22 10:31 OWNERS.md [2022-04-22T10:38:05.925Z] -rw-rw-r-- 1 jenkins jenkins 4881 Apr 22 10:31 README.md [2022-04-22T10:38:05.925Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 22 10:28 VERSION [2022-04-22T10:38:05.925Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 22 10:31 bin [2022-04-22T10:38:05.925Z] -rw-r--r-- 1 jenkins jenkins 130819 Apr 22 10:36 coverage.out [2022-04-22T10:38:05.925Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 22 10:31 example [2022-04-22T10:38:05.925Z] -rw-rw-r-- 1 jenkins jenkins 3198 Apr 22 10:31 go.mod [2022-04-22T10:38:05.925Z] -rw-rw-r-- 1 jenkins jenkins 34607 Apr 22 10:31 go.sum [2022-04-22T10:38:05.925Z] drwxrwxr-x 15 jenkins jenkins 4096 Apr 22 10:31 internal [2022-04-22T10:38:05.925Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 22 10:31 openapi [2022-04-22T10:38:05.925Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 22 10:31 pkg [2022-04-22T10:38:05.925Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 22 10:31 snap [2022-04-22T10:38:05.925Z] -rw-rw-r-- 1 jenkins jenkins 222 Apr 22 10:31 version.go [Pipeline] isUnix [Pipeline] sh [2022-04-22T10:38:06.279Z] + 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=f9d12fc9f4633fcc2600c286baef40311e3f37fa --label arch=arm64 --label version=0.0.0 . [2022-04-22T10:38:06.887Z] Sending build context to Docker daemon 5.36MB [2022-04-22T10:38:06.887Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-04-22T10:38:06.887Z] Step 2/25 : FROM ${BASE} AS builder [2022-04-22T10:38:06.887Z] ---> 4c4df04d00d3 [2022-04-22T10:38:06.887Z] Step 3/25 : ARG MAKE=make build [2022-04-22T10:38:06.887Z] ---> Running in b4de5192000c [2022-04-22T10:38:07.493Z] Removing intermediate container b4de5192000c [2022-04-22T10:38:07.493Z] ---> 16b89d75c8e5 [2022-04-22T10:38:07.493Z] Step 4/25 : WORKDIR /device-sdk-go [2022-04-22T10:38:07.493Z] ---> Running in 8435aae799f6 [2022-04-22T10:38:07.768Z] Removing intermediate container 8435aae799f6 [2022-04-22T10:38:07.768Z] ---> e8aa6743e777 [2022-04-22T10:38:07.768Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-04-22T10:38:07.768Z] ---> Running in cea62c3d6e16 [2022-04-22T10:38:08.051Z] Removing intermediate container cea62c3d6e16 [2022-04-22T10:38:08.051Z] ---> 3edf9f07a6e4 [2022-04-22T10:38:08.051Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-22T10:38:08.337Z] ---> Running in 48d562a140dc [2022-04-22T10:38:09.795Z] Removing intermediate container 48d562a140dc [2022-04-22T10:38:09.795Z] ---> 9455bce8bce4 [2022-04-22T10:38:09.795Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-04-22T10:38:10.069Z] ---> Running in e0c5f090cafd [2022-04-22T10:38:11.052Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-22T10:38:12.038Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-22T10:38:13.026Z] OK: 220 MiB in 52 packages [2022-04-22T10:38:13.626Z] Removing intermediate container e0c5f090cafd [2022-04-22T10:38:13.626Z] ---> 6164437e56b6 [2022-04-22T10:38:13.626Z] Step 8/25 : COPY go.mod vendor* ./ [2022-04-22T10:38:14.237Z] ---> dd22ec41056f [2022-04-22T10:38:14.237Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-22T10:38:14.237Z] ---> Running in 94057c0f3215 [2022-04-22T10:38:16.227Z] Removing intermediate container 94057c0f3215 [2022-04-22T10:38:16.227Z] ---> 574f268f0b13 [2022-04-22T10:38:16.227Z] Step 10/25 : COPY . . [2022-04-22T10:38:17.667Z] ---> 77bbadbb336d [2022-04-22T10:38:17.667Z] Step 11/25 : RUN ${MAKE} [2022-04-22T10:38:17.667Z] ---> Running in 9089d5f9a2c1 [2022-04-22T10:38:18.651Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2022-04-22T10:40:25.526Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-04-22T10:40:25.526Z] Removing intermediate container 9089d5f9a2c1 [2022-04-22T10:40:25.526Z] ---> 39b08f03f6e4 [2022-04-22T10:40:25.526Z] Step 12/25 : FROM alpine:3.14 [2022-04-22T10:40:25.526Z] 3.14: Pulling from library/alpine [2022-04-22T10:40:25.526Z] 455c02918c45: Pulling fs layer [2022-04-22T10:40:25.797Z] 455c02918c45: Verifying Checksum [2022-04-22T10:40:25.797Z] 455c02918c45: Download complete [2022-04-22T10:40:26.392Z] 455c02918c45: Pull complete [2022-04-22T10:40:26.392Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-04-22T10:40:26.392Z] Status: Downloaded newer image for alpine:3.14 [2022-04-22T10:40:26.392Z] ---> ac73e934f311 [2022-04-22T10:40:26.392Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-04-22T10:40:26.392Z] ---> Running in 3fbb2127499e [2022-04-22T10:40:26.665Z] Removing intermediate container 3fbb2127499e [2022-04-22T10:40:26.665Z] ---> e63bf37e0277 [2022-04-22T10:40:26.665Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-22T10:40:26.943Z] ---> Running in 2d08e962926b [2022-04-22T10:40:28.381Z] Removing intermediate container 2d08e962926b [2022-04-22T10:40:28.381Z] ---> 56dd0e488e97 [2022-04-22T10:40:28.381Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-04-22T10:40:28.654Z] ---> Running in 1db02a431054 [2022-04-22T10:40:29.629Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-04-22T10:40:30.619Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-04-22T10:40:31.221Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2022-04-22T10:40:31.221Z] (2/5) Installing libsodium (1.0.18-r0) [2022-04-22T10:40:31.494Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2022-04-22T10:40:31.494Z] (4/5) Installing libzmq (4.3.4-r0) [2022-04-22T10:40:31.766Z] (5/5) Installing zeromq (4.3.4-r0) [2022-04-22T10:40:31.766Z] Executing busybox-1.33.1-r7.trigger [2022-04-22T10:40:31.766Z] OK: 8 MiB in 19 packages [2022-04-22T10:40:32.753Z] Removing intermediate container 1db02a431054 [2022-04-22T10:40:32.753Z] ---> 63e76de7be39 [2022-04-22T10:40:32.753Z] Step 16/25 : WORKDIR / [2022-04-22T10:40:32.753Z] ---> Running in 8b16424c07d4 [2022-04-22T10:40:33.029Z] Removing intermediate container 8b16424c07d4 [2022-04-22T10:40:33.029Z] ---> 12eaa708d629 [2022-04-22T10:40:33.029Z] Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-04-22T10:40:33.628Z] ---> 2b751cba8263 [2022-04-22T10:40:33.628Z] Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-04-22T10:40:35.051Z] ---> e0c53b5aeac5 [2022-04-22T10:40:35.051Z] Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-04-22T10:40:35.655Z] ---> ecfbfc593c42 [2022-04-22T10:40:35.655Z] Step 20/25 : EXPOSE 59999 [2022-04-22T10:40:35.655Z] ---> Running in aca3d43c921f [2022-04-22T10:40:35.925Z] Removing intermediate container aca3d43c921f [2022-04-22T10:40:35.925Z] ---> b0a61a24abb8 [2022-04-22T10:40:35.925Z] Step 21/25 : ENTRYPOINT ["/device-simple"] [2022-04-22T10:40:35.925Z] ---> Running in 57533ecfdc80 [2022-04-22T10:40:36.195Z] Removing intermediate container 57533ecfdc80 [2022-04-22T10:40:36.195Z] ---> 17366b35c4ee [2022-04-22T10:40:36.195Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-04-22T10:40:36.195Z] ---> Running in f5913b5afe3c [2022-04-22T10:40:36.475Z] Removing intermediate container f5913b5afe3c [2022-04-22T10:40:36.475Z] ---> 38ee02e75358 [2022-04-22T10:40:36.475Z] Step 23/25 : LABEL arch=arm64 [2022-04-22T10:40:36.749Z] ---> Running in 8efd3ddf45df [2022-04-22T10:40:37.026Z] Removing intermediate container 8efd3ddf45df [2022-04-22T10:40:37.026Z] ---> 0361b5d99657 [2022-04-22T10:40:37.026Z] Step 24/25 : LABEL git_sha=f9d12fc9f4633fcc2600c286baef40311e3f37fa [2022-04-22T10:40:37.026Z] ---> Running in d9ad556a729f [2022-04-22T10:40:37.299Z] Removing intermediate container d9ad556a729f [2022-04-22T10:40:37.299Z] ---> 08a1de418985 [2022-04-22T10:40:37.299Z] Step 25/25 : LABEL version=0.0.0 [2022-04-22T10:40:37.299Z] ---> Running in 3554f2463164 [2022-04-22T10:40:37.570Z] Removing intermediate container 3554f2463164 [2022-04-22T10:40:37.570Z] ---> f46ac1914620 [2022-04-22T10:40:37.570Z] [Warning] One or more build-args [ARCH] were not consumed [2022-04-22T10:40:37.570Z] Successfully built f46ac1914620 [2022-04-22T10:40:37.570Z] Successfully tagged device-sdk-simple-arm64:latest [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] sh [2022-04-22T10:40:38.273Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-22T10:40:38.273Z] [2022-04-22T10:40:38.273Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-04-22T10:40:38.617Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-22T10:40:38.892Z] arm64: Pulling from edgex-lftools-log-publisher [2022-04-22T10:40:38.892Z] 8998bd30e6a1: Pulling fs layer [2022-04-22T10:40:38.892Z] 04944245beec: Pulling fs layer [2022-04-22T10:40:38.892Z] 699f458cf7ca: Pulling fs layer [2022-04-22T10:40:38.892Z] 765212b225bb: Pulling fs layer [2022-04-22T10:40:38.892Z] f23df028b6ca: Pulling fs layer [2022-04-22T10:40:38.892Z] d65c8cfc05b1: Pulling fs layer [2022-04-22T10:40:38.892Z] 2437ff75d9bd: Pulling fs layer [2022-04-22T10:40:38.892Z] 2437ff75d9bd: Waiting [2022-04-22T10:40:38.892Z] f23df028b6ca: Waiting [2022-04-22T10:40:38.892Z] d65c8cfc05b1: Waiting [2022-04-22T10:40:38.892Z] 765212b225bb: Waiting [2022-04-22T10:40:38.892Z] 04944245beec: Verifying Checksum [2022-04-22T10:40:38.892Z] 04944245beec: Download complete [2022-04-22T10:40:38.892Z] 765212b225bb: Download complete [2022-04-22T10:40:38.892Z] f23df028b6ca: Download complete [2022-04-22T10:40:38.892Z] d65c8cfc05b1: Verifying Checksum [2022-04-22T10:40:38.892Z] d65c8cfc05b1: Download complete [2022-04-22T10:40:39.167Z] 699f458cf7ca: Verifying Checksum [2022-04-22T10:40:39.167Z] 699f458cf7ca: Download complete [2022-04-22T10:40:39.443Z] 8998bd30e6a1: Verifying Checksum [2022-04-22T10:40:39.443Z] 8998bd30e6a1: Download complete [2022-04-22T10:40:42.067Z] 2437ff75d9bd: Verifying Checksum [2022-04-22T10:40:42.067Z] 2437ff75d9bd: Download complete [2022-04-22T10:40:44.046Z] 8998bd30e6a1: Pull complete [2022-04-22T10:40:44.317Z] 04944245beec: Pull complete [2022-04-22T10:40:45.742Z] 699f458cf7ca: Pull complete [2022-04-22T10:40:45.742Z] 765212b225bb: Pull complete [2022-04-22T10:40:46.759Z] f23df028b6ca: Pull complete [2022-04-22T10:40:47.038Z] d65c8cfc05b1: Pull complete [2022-04-22T10:41:02.120Z] 2437ff75d9bd: Pull complete [2022-04-22T10:41:02.120Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-04-22T10:41:02.120Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-22T10:41:02.120Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-04-22T10:41:02.346Z] prd-ubuntu20.04-docker-arm64-4c-16g-21775 does not seem to be running inside a container [2022-04-22T10:41:02.452Z] $ 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/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@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 [2022-04-22T10:41:05.176Z] $ docker top fbe3b73e0a0653e0ac1d6635dad445abd643aed6d7695d1def854bcf6291931d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-22T10:41:06.080Z] ---> job-cost.sh [2022-04-22T10:41:06.080Z] lf-activate-venv: SKIPPING [2022-04-22T10:41:06.080Z] INFO: No Stack... [2022-04-22T10:41:06.673Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-04-22T10:41:07.644Z] INFO: Archiving Costs [Pipeline] sh [2022-04-22T10:41:08.304Z] + cat /w/workspace/device-sdk-go/3/archives/cost.csv [2022-04-22T10:41:08.304Z] + cut -d, -f6 [Pipeline] lock [2022-04-22T10:41:08.369Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1146-3-stack-cost] [2022-04-22T10:41:08.375Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1146-3-stack-cost] did not exist. Created. [2022-04-22T10:41:08.375Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1146-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-22T10:41:09.053Z] /w/workspace/device-sdk-go/3@tmp/durable-2a5fd0fa/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-04-22T10:41:09.728Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-04-22T10:41:09.751Z] Warning: overwriting stash ‘stack-cost’ [2022-04-22T10:41:09.814Z] Stashed 1 file(s) [Pipeline] } [2022-04-22T10:41:09.819Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1146-3-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-22T10:41:09.845Z] $ docker stop --time=1 fbe3b73e0a0653e0ac1d6635dad445abd643aed6d7695d1def854bcf6291931d [2022-04-22T10:41:11.355Z] $ docker rm -f fbe3b73e0a0653e0ac1d6635dad445abd643aed6d7695d1def854bcf6291931d [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 [2022-04-22T10:41:11.854Z] provisioning config files... [2022-04-22T10:41:11.863Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1146@tmp/config4268414506282135431tmp [Pipeline] { [Pipeline] sh [2022-04-22T10:41:12.157Z] + set +x [2022-04-22T10:41:12.157Z] + curl -s https://codecov.io/bash [2022-04-22T10:41:12.157Z] + bash -s -- [2022-04-22T10:41:12.157Z] [2022-04-22T10:41:12.157Z] _____ _ [2022-04-22T10:41:12.157Z] / ____| | | [2022-04-22T10:41:12.157Z] | | ___ __| | ___ ___ _____ __ [2022-04-22T10:41:12.157Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-04-22T10:41:12.157Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-04-22T10:41:12.157Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-04-22T10:41:12.157Z] Bash-1.0.6 [2022-04-22T10:41:12.157Z] [2022-04-22T10:41:12.157Z] [2022-04-22T10:41:12.157Z] ==> git version 2.25.1 found [2022-04-22T10:41:12.157Z] ==> 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 [2022-04-22T10:41:12.157Z] Release-Date: 2020-01-08 [2022-04-22T10:41:12.157Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-04-22T10:41:12.157Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-04-22T10:41:12.157Z] ==> Jenkins CI detected. [2022-04-22T10:41:12.157Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1146 [2022-04-22T10:41:12.157Z] project root: . [2022-04-22T10:41:12.157Z] --> token set from env [2022-04-22T10:41:12.157Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-04-22T10:41:12.157Z] ==> Running gcov in . (disable via -X gcov) [2022-04-22T10:41:12.157Z] ==> Python coveragepy not found [2022-04-22T10:41:12.157Z] ==> Searching for coverage reports in: [2022-04-22T10:41:12.157Z] + . [2022-04-22T10:41:12.157Z] -> Found 1 reports [2022-04-22T10:41:12.157Z] ==> Detecting git/mercurial file structure [2022-04-22T10:41:12.157Z] ==> Reading reports [2022-04-22T10:41:12.157Z] + ./coverage.out bytes=130819 [2022-04-22T10:41:12.419Z] ==> Appending adjustments [2022-04-22T10:41:12.419Z] https://docs.codecov.io/docs/fixing-reports [2022-04-22T10:41:12.679Z] + Found adjustments [2022-04-22T10:41:12.679Z] ==> Gzipping contents [2022-04-22T10:41:12.679Z] 20K /tmp/codecov.xKkGtH.gz [2022-04-22T10:41:12.679Z] ==> Uploading reports [2022-04-22T10:41:12.679Z] url: https://codecov.io [2022-04-22T10:41:12.679Z] query: branch=PR-1146&commit=f9d12fc9f4633fcc2600c286baef40311e3f37fa&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1146%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1146&job=&cmd_args= [2022-04-22T10:41:12.679Z] -> Pinging Codecov [2022-04-22T10:41:12.679Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1146&commit=f9d12fc9f4633fcc2600c286baef40311e3f37fa&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1146%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1146&job=&cmd_args= [2022-04-22T10:41:12.940Z] -> Uploading to [2022-04-22T10:41:12.940Z] https://storage.googleapis.com/codecov/v4/raw/2022-04-22/7E55EF52A471D76F132DFD9A03CDDE97/f9d12fc9f4633fcc2600c286baef40311e3f37fa/b807e77c-000e-42ae-a406-6ab63c6dee22.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220422%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220422T104112Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=c88a55f2623674517c09f5be193198187d7f939a10f30b771bd99678f354b487 [2022-04-22T10:41:12.940Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-22T10:41:12.940Z] Dload Upload Total Spent Left Speed [2022-04-22T10:41:13.202Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16850 0 0 100 16850 0 76244 --:--:-- --:--:-- --:--:-- 76244 [2022-04-22T10:41:13.202Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/f9d12fc9f4633fcc2600c286baef40311e3f37fa [Pipeline] } [2022-04-22T10:41:13.210Z] 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 [2022-04-22T10:41:14.006Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1146/archives ] [2022-04-22T10:41:14.006Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1146/archives [2022-04-22T10:41:14.006Z] total 16 [2022-04-22T10:41:14.006Z] drwxr-xr-x 3 root root 4096 Apr 22 10:30 . [2022-04-22T10:41:14.006Z] drwxrwxr-x 12 jenkins jenkins 4096 Apr 22 10:30 .. [2022-04-22T10:41:14.006Z] drwxr-xr-x 2 root root 4096 Apr 22 10:30 cost [2022-04-22T10:41:14.006Z] -rw-r--r-- 1 root root 85 Apr 22 10:30 cost.csv [2022-04-22T10:41:14.006Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1146/archives [2022-04-22T10:41:14.006Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1146/archives [2022-04-22T10:41:14.006Z] total 16 [2022-04-22T10:41:14.006Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 22 10:30 . [2022-04-22T10:41:14.006Z] drwxrwxr-x 12 jenkins jenkins 4096 Apr 22 10:30 .. [2022-04-22T10:41:14.006Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 22 10:30 cost [2022-04-22T10:41:14.006Z] -rw-r--r-- 1 jenkins jenkins 85 Apr 22 10:30 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-04-22T10:41:14.301Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-22T10:41:15.166Z] ---> package-listing.sh [2022-04-22T10:41:15.166Z] ++ facter osfamily [2022-04-22T10:41:15.166Z] ++ tr '[:upper:]' '[:lower:]' [2022-04-22T10:41:15.428Z] + OS_FAMILY=debian [2022-04-22T10:41:15.428Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1146 [2022-04-22T10:41:15.428Z] + START_PACKAGES=/tmp/packages_start.txt [2022-04-22T10:41:15.428Z] + END_PACKAGES=/tmp/packages_end.txt [2022-04-22T10:41:15.428Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-04-22T10:41:15.428Z] + PACKAGES=/tmp/packages_start.txt [2022-04-22T10:41:15.428Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1146 ']' [2022-04-22T10:41:15.428Z] + PACKAGES=/tmp/packages_end.txt [2022-04-22T10:41:15.428Z] + case "${OS_FAMILY}" in [2022-04-22T10:41:15.428Z] + dpkg -l [2022-04-22T10:41:15.428Z] + grep '^ii' [2022-04-22T10:41:15.428Z] + '[' -f /tmp/packages_start.txt ']' [2022-04-22T10:41:15.428Z] + '[' -f /tmp/packages_end.txt ']' [2022-04-22T10:41:15.428Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-04-22T10:41:15.428Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1146 ']' [2022-04-22T10:41:15.428Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1146/archives/ [2022-04-22T10:41:15.428Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1146/archives/ [Pipeline] echo [2022-04-22T10:41:15.440Z] 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-1146/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-04-22T10:41:15.723Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-04-22T10:41:16.288Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-22T10:41:16.288Z] . [Pipeline] withDockerContainer [2022-04-22T10:41:16.365Z] prd-ubuntu20.04-docker-8c-8g-21773 does not seem to be running inside a container [2022-04-22T10:41:16.412Z] $ 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-1146/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-1146 -v /w/workspace/gexfoundry_device-sdk-go_PR-1146:/w/workspace/gexfoundry_device-sdk-go_PR-1146:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1146@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1146@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 [2022-04-22T10:41:16.641Z] $ docker top bbdc47e130bd435cb605eda6fe85b890bae2329c2d872fb93bb5702273f17f3f -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-22T10:41:16.979Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-04-22T10:41:17.271Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-04-22T10:41:17.571Z] + ls /var/log/sa-host [2022-04-22T10:41:17.571Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-22T10:41:17.810Z] provisioning config files... [2022-04-22T10:41:17.819Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1146@tmp/config6729770428821799565tmp [Pipeline] { [Pipeline] echo [2022-04-22T10:41:17.833Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-22T10:41:18.117Z] ---> create-netrc.sh [Pipeline] } [2022-04-22T10:41:18.125Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-04-22T10:41:18.460Z] ---> python-tools-install.sh [Pipeline] echo [2022-04-22T10:41:18.470Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-22T10:41:18.758Z] ---> sudo-logs.sh [2022-04-22T10:41:18.758Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-04-22T10:41:18.786Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-22T10:41:19.073Z] ---> job-cost.sh [2022-04-22T10:41:19.073Z] lf-activate-venv: SKIPPING [2022-04-22T10:41:19.073Z] DEBUG: total: 0.2199999988079071 [2022-04-22T10:41:19.073Z] INFO: Retrieving Stack Cost... [2022-04-22T10:41:20.012Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-22T10:41:20.583Z] INFO: Archiving Costs [Pipeline] echo [2022-04-22T10:41:20.598Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-22T10:41:20.879Z] ---> logs-deploy.sh [2022-04-22T10:41:20.879Z] lf-activate-venv: SKIPPING [2022-04-22T10:41:20.879Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1146/3 [2022-04-22T10:41:20.879Z] INFO: archiving workspace using pattern(s): [2022-04-22T10:41:21.826Z] Archives upload complete. [2022-04-22T10:41:21.826Z] INFO: archiving logs to Nexus